Skip to content

Commit 3d01948

Browse files
authored
fix(*): Updated react dependencies to latest version
2 parents 1809b08 + a9d0fcb commit 3d01948

File tree

6 files changed

+717
-688
lines changed

6 files changed

+717
-688
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dist-ssr
1515
# Angular
1616
.angular
1717
.firebase
18+
packages/angular/src/version.ts
1819

1920
# Next.js
2021
.next

examples/nextjs-ssr/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
"@firebase-oss/ui-translations": "workspace:*",
2020
"firebase": "^11.10.0",
2121
"next": "15.1.7",
22-
"react": "19.1.1",
23-
"react-dom": "19.1.1",
22+
"react": "19.2.1",
23+
"react-dom": "19.2.1",
2424
"server-only": "^0.0.1"
2525
},
2626
"devDependencies": {
2727
"@tailwindcss/postcss": "^4.0.6",
2828
"@types/node": "^20",
29-
"@types/react": "19.1.16",
30-
"@types/react-dom": "19.1.9",
29+
"@types/react": "19.2.7",
30+
"@types/react-dom": "19.2.3",
3131
"vite": "catalog:",
3232
"postcss": "^8.5.2",
3333
"postcss-load-config": "^6.0.1",

packages/angular/generate-logos.ts

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,15 @@ import { Component, input } from "@angular/core";
9393
${cleanedSvg}
9494
\`,
9595
})
96+
/**
97+
* The ${componentName} logo SVG component.
98+
*/
9699
export class ${componentName}LogoComponent {
100+
/** The width of the logo. */
97101
width = input<string | number>("1em");
102+
/** The height of the logo. */
98103
height = input<string | number>("1em");
104+
/** Optional additional CSS class names. */
99105
className = input<string>("");
100106
}
101107
`;
@@ -143,14 +149,31 @@ async function generateLogoComponents(): Promise<void> {
143149
}
144150

145151
// Generate an index file to export all components
146-
const indexContent = brandDirectories
152+
const indexContent = `/**
153+
* Copyright 2025 Google LLC
154+
*
155+
* Licensed under the Apache License, Version 2.0 (the "License");
156+
* you may not use this file except in compliance with the License.
157+
* You may obtain a copy of the License at
158+
*
159+
* http://www.apache.org/licenses/LICENSE-2.0
160+
*
161+
* Unless required by applicable law or agreed to in writing, software
162+
* distributed under the License is distributed on an "AS IS" BASIS,
163+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
164+
* See the License for the specific language governing permissions and
165+
* limitations under the License.
166+
*/
167+
168+
${brandDirectories
147169
.map((brandDir) => {
148170
const brandName = brandDir.name;
149171
const componentName = toPascalCase(brandName);
150172
const fileName = toKebabCase(brandName);
151173
return `export { ${componentName}LogoComponent } from './${fileName}';`;
152174
})
153-
.join("\n");
175+
.join("\n")}
176+
`;
154177

155178
const indexPath = join(ANGULAR_LOGOS_DIR, "index.ts");
156179
await writeFile(indexPath, indexContent, "utf-8");

packages/angular/src/lib/components/logos/github.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { Component, input } from "@angular/core";
3030
`,
3131
})
3232
/**
33-
* The GitHub logo SVG component.
33+
* The Github logo SVG component.
3434
*/
3535
export class GithubLogoComponent {
3636
/** The width of the logo. */

0 commit comments

Comments
 (0)