Skip to content

Commit cd763ce

Browse files
authored
feat(*): Added updated dependencies for Invertase packages
2 parents 089fe1c + d7ae6ad commit cd763ce

File tree

324 files changed

+5706
-1073
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

324 files changed

+5706
-1073
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ dist-ssr
1414

1515
# Angular
1616
.angular
17+
.firebase
1718

1819
# Next.js
1920
.next

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ Packages have been created for both `React` and `Angular`. For now, they're only
2222
```json
2323
{
2424
"dependencies": {
25-
"@firebase-ui/react": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-react-0.0.1.tgz",
26-
"@firebase-ui/core": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-core-0.0.1.tgz",
27-
"@firebase-ui/styles": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-styles-0.0.1.tgz",
28-
"@firebase-ui/translations": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-translations-0.0.1.tgz"
25+
"@invertase/firebaseui-react": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-react-0.0.1.tgz",
26+
"@invertase/firebaseui-core": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-core-0.0.1.tgz",
27+
"@invertase/firebaseui-styles": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-styles-0.0.1.tgz",
28+
"@invertase/firebaseui-translations": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-translations-0.0.1.tgz"
2929
}
3030
}
3131
```
@@ -41,10 +41,10 @@ FirebaseUI for Angular depends on the [AngularFire](https://github.com/angular/a
4141
{
4242
"dependencies": {
4343
"@angular/fire": "^19.1.0",
44-
"@firebase-ui/angular": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-angular-0.0.1.tgz",
45-
"@firebase-ui/core": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-core-0.0.1.tgz",
46-
"@firebase-ui/styles": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-styles-0.0.1.tgz",
47-
"@firebase-ui/translations": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-translations-0.0.1.tgz"
44+
"@invertase/firebaseui-angular": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-angular-0.0.1.tgz",
45+
"@invertase/firebaseui-core": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-core-0.0.1.tgz",
46+
"@invertase/firebaseui-styles": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-styles-0.0.1.tgz",
47+
"@invertase/firebaseui-translations": "https://github.com/firebase/firebaseui-web/raw/refs/heads/v7-alpha/releases/firebase-ui-translations-0.0.1.tgz"
4848
}
4949
}
5050
```
@@ -63,10 +63,10 @@ import { initializeApp } from 'firebase/app';
6363
const app = initializeApp({ ... });
6464
```
6565

66-
Next, setup and configure FirebaseUI, import the `initializeUI` function from `@firebase-ui/core`:
66+
Next, setup and configure FirebaseUI, import the `initializeUI` function from `@invertase/firebaseui-core`:
6767

6868
```ts
69-
import { initializeUI } from "@firebase-ui/core";
69+
import { initializeUI } from "@invertase/firebaseui-core";
7070

7171
const ui = initializeUI();
7272
```
@@ -82,8 +82,8 @@ FirebaseUI for React requires that your application be wrapped in the `ConfigPro
8282

8383
```tsx
8484
import { initializeApp } from 'firebase/app';
85-
import { initializeUI } from "@firebase-ui/core";
86-
import { ConfigProvider } from '@firebase-ui/react';
85+
import { initializeUI } from "@invertase/firebaseui-core";
86+
import { ConfigProvider } from '@invertase/firebaseui-react';
8787

8888
const app = initializeApp({ .. });
8989
const ui = initializeUI({ app });
@@ -107,8 +107,8 @@ FirebaseUI depends on [AngularFire](https://github.com/angular/angularfire) bein
107107
```tsx
108108
import { provideFirebaseApp, initializeApp } from '@angular/fire/app';
109109
import { provideAuth, getAuth } from '@angular/fire/auth';
110-
import { provideFirebaseUI } from '@firebase-ui/angular';
111-
import { initializeUI } from '@firebase-ui/core';
110+
import { provideFirebaseUI } from '@invertase/firebaseui-angular';
111+
import { initializeUI } from '@invertase/firebaseui-core';
112112

113113
export const appConfig: ApplicationConfig = {
114114
providers: [
@@ -127,17 +127,17 @@ export const appConfig: ApplicationConfig = {
127127

128128
Next, import the CSS styles for the FirebaseUI project.
129129

130-
If you are using [TailwindCSS](https://tailwindcss.com/), import the base CSS from the `@firebase-ui/styles` package after your Tailwind import:
130+
If you are using [TailwindCSS](https://tailwindcss.com/), import the base CSS from the `@invertase/firebaseui-styles` package after your Tailwind import:
131131

132132
```css
133133
@import "tailwindcss";
134-
@import "@firebase-ui/styles/tailwind";
134+
@import "@invertase/firebaseui-styles/tailwind";
135135
```
136136

137137
If you are not using Tailwind, import the distributable CSS in your project:
138138

139139
```css
140-
@import "@firebase-ui/styles";
140+
@import "@invertase/firebaseui-styles";
141141
```
142142

143143
To learn more about theming, view the [theming](#theming) section.
@@ -154,7 +154,7 @@ Allows users to sign in with an email and password:
154154
<summary>React</summary>
155155

156156
```tsx
157-
import { SignInAuthScreen } from "@firebase-ui/react";
157+
import { SignInAuthScreen } from "@invertase/firebaseui-react";
158158

159159
function App() {
160160
return <SignInAuthScreen />;
@@ -166,7 +166,7 @@ Props: `onForgotPasswordClick` / `onRegisterClick`
166166
Additionally, allow the user to sign in with an OAuth provider by providing children:
167167

168168
```tsx
169-
import { SignInAuthScreen, GoogleSignInButton } from "@firebase-ui/react";
169+
import { SignInAuthScreen, GoogleSignInButton } from "@invertase/firebaseui-react";
170170

171171
function App() {
172172
return (
@@ -183,7 +183,7 @@ function App() {
183183
<summary>Angular</summary>
184184

185185
```tsx
186-
import { SignUpAuthScreenComponent } from "@firebase-ui/angular";
186+
import { SignUpAuthScreenComponent } from "@invertase/firebaseui-angular";
187187

188188
@Component({
189189
selector: "app-root",
@@ -257,7 +257,7 @@ The default values are based on the [TailwindCSS](https://tailwindcss.com/docs/t
257257

258258
## FirebaseUI Core Integration
259259

260-
`@firebase-ui/core` is a framework-agnostic layer that manages the complete lifecycle of Firebase Authentication flows. It exposes a reactive store via nanostores that can be wrapped and adapted into any JavaScript framework such as React, Angular, Vue, Svelte, or SolidJS to name a few.
260+
`@invertase/firebaseui-core` is a framework-agnostic layer that manages the complete lifecycle of Firebase Authentication flows. It exposes a reactive store via nanostores that can be wrapped and adapted into any JavaScript framework such as React, Angular, Vue, Svelte, or SolidJS to name a few.
261261

262262
### What FirebaseUI Core Provides
263263

@@ -278,7 +278,7 @@ The default values are based on the [TailwindCSS](https://tailwindcss.com/docs/t
278278
Call initializeUI() with your Firebase app and configuration options:
279279

280280
```js
281-
import { initializeUI } from '@firebase-ui/core';
281+
import { initializeUI } from '@invertase/firebaseui-core';
282282

283283
const ui = initializeUI({
284284
app: firebaseApp,
@@ -459,7 +459,7 @@ uiStore.subscribe((ui) => {
459459
You can pass one or more translations to support localized strings.
460460

461461
```js
462-
import { english } from "@firebase-ui/translations";
462+
import { english } from "@invertase/firebaseui-translations";
463463

464464
initializeUI({
465465
app,
@@ -484,7 +484,7 @@ const customFr = {
484484
To use a string at runtime (e.g., in an error message):
485485

486486
```js
487-
import { getTranslation } from "@firebase-ui/core";
487+
import { getTranslation } from "@invertase/firebaseui-core";
488488

489489
const message = getTranslation(config, "errors", "unknownError");
490490
```
@@ -507,7 +507,7 @@ Validates a sign-in or sign-up form using email and password.
507507
- _password_: Must be at least 8 characters.
508508

509509
```js
510-
import { createEmailFormSchema } from "@firebase-ui/core";
510+
import { createEmailFormSchema } from "@invertase/firebaseui-core";
511511

512512
const schema = createEmailFormSchema(translations);
513513
```

examples/angular/.firebaserc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "fir-ui-2025"
4+
}
5+
}

examples/angular/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ yarn-error.log
3636
/libpeerconnection.log
3737
testem.log
3838
/typings
39+
.firebase
3940

4041
# System files
4142
.DS_Store

examples/angular/firebase.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hosting": {
3+
"site": "fir-ui-2025-angular",
4+
"public": "dist/angular-ssr/browser",
5+
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
6+
}
7+
}

examples/angular/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"name": "angular-example",
33
"version": "0.0.0",
4-
"type": "module",
54
"scripts": {
65
"ng": "ng",
76
"start": "ng serve",
87
"build": "ng build",
9-
"build:lib": "ng build angular",
10-
"build:local": "pnpm run build:lib && cd projects/angular && pnpm pack",
8+
"build:lib": "ng build firebaseui-angular",
9+
"build:local": "pnpm run build:lib && cd projects/firebaseui-angular && pnpm pack",
1110
"watch": "ng build --watch --configuration development",
1211
"test": "vitest run",
1312
"test:watch": "vitest",
@@ -18,7 +17,8 @@
1817
"lint": "eslint . --ext .ts",
1918
"lint:fix": "eslint . --ext .ts --fix",
2019
"format": "prettier --write \"src/**/*.{ts,html,css,scss}\"",
21-
"format:check": "prettier --check \"src/**/*.{ts,html,css,scss}\""
20+
"format:check": "prettier --check \"src/**/*.{ts,html,css,scss}\"",
21+
"deploy": "pnpm run build && firebase deploy --only hosting:fir-ui-2025-angular"
2222
},
2323
"dependencies": {
2424
"@angular/animations": "^20.2.2",
@@ -32,10 +32,10 @@
3232
"@angular/platform-server": "^20.2.2",
3333
"@angular/router": "^20.2.2",
3434
"@angular/ssr": "^20.2.2",
35-
"@firebase-ui/angular": "workspace:*",
36-
"@firebase-ui/core": "workspace:*",
37-
"@firebase-ui/styles": "workspace:*",
38-
"@firebase-ui/translations": "workspace:*",
35+
"@invertase/firebaseui-angular": "0.0.3",
36+
"@invertase/firebaseui-core": "0.0.3",
37+
"@invertase/firebaseui-styles": "0.0.7",
38+
"@invertase/firebaseui-translations": "0.0.4",
3939
"@tailwindcss/postcss": "^4.0.6",
4040
"express": "^4.18.2",
4141
"postcss": "^8.5.2",
@@ -52,9 +52,9 @@
5252
"@tanstack/angular-form": "^0.42.0",
5353
"@types/express": "^4.17.17",
5454
"@types/node": "^20.19.0",
55-
"eslint": "^9.22.0",
5655
"@typescript-eslint/eslint-plugin": "^8.43.0",
5756
"@typescript-eslint/parser": "^8.43.0",
57+
"eslint": "^9.22.0",
5858
"eslint-config-prettier": "^9.1.0",
5959
"firebase": "^11",
6060
"vitest": "^3.2.0",
@@ -65,6 +65,6 @@
6565
"nanostores": "^0.11.3",
6666
"ng-packagr": "^20.2.0",
6767
"prettier": "^3.1.1",
68-
"typescript": "~5.9.2"
68+
"typescript": "^5.9.2"
6969
}
7070
}

examples/angular/src/app/app.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import { provideClientHydration, withEventReplay } from "@angular/platform-brows
2222

2323
import { provideFirebaseApp, initializeApp } from "@angular/fire/app";
2424
import { provideAuth, getAuth, connectAuthEmulator } from "@angular/fire/auth";
25-
import { provideFirebaseUI, provideFirebaseUIPolicies } from "@firebase-ui/angular";
26-
import { initializeUI } from "@firebase-ui/core";
25+
import { provideFirebaseUI, provideFirebaseUIPolicies } from "@invertase/firebaseui-angular";
26+
import { initializeUI } from "@invertase/firebaseui-core";
2727

2828
const firebaseConfig = {
2929
apiKey: "AIzaSyCvMftIUCD9lUQ3BzIrimfSfBbCUQYZf-I",

examples/angular/src/app/auth/email-link-oauth/email-link-oauth.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { Component, type OnInit, inject } from "@angular/core";
1818
import { CommonModule } from "@angular/common";
1919
import { Router, RouterModule } from "@angular/router";
2020
import { Auth, type User, authState } from "@angular/fire/auth";
21-
import { EmailLinkAuthScreenComponent, GoogleSignInButtonComponent } from "@firebase-ui/angular";
21+
import { EmailLinkAuthScreenComponent, GoogleSignInButtonComponent } from "@invertase/firebaseui-angular";
2222

2323
@Component({
2424
selector: "app-email-link-oauth",

examples/angular/src/app/auth/email-link/email-link.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { Component, type OnInit, inject } from "@angular/core";
1818
import { CommonModule } from "@angular/common";
1919
import { Router, RouterModule } from "@angular/router";
2020
import { Auth, type User, authState } from "@angular/fire/auth";
21-
import { EmailLinkAuthScreenComponent } from "@firebase-ui/angular";
21+
import { EmailLinkAuthScreenComponent } from "@invertase/firebaseui-angular";
2222

2323
@Component({
2424
selector: "app-email-link",

examples/angular/src/app/auth/forgot-password/forgot-password.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { Component, type OnInit, inject } from "@angular/core";
1818
import { CommonModule } from "@angular/common";
1919
import { Router, RouterModule } from "@angular/router";
2020
import { Auth, type User, authState } from "@angular/fire/auth";
21-
import { ForgotPasswordAuthScreenComponent } from "@firebase-ui/angular";
21+
import { ForgotPasswordAuthScreenComponent } from "@invertase/firebaseui-angular";
2222

2323
@Component({
2424
selector: "app-forgot-password",

0 commit comments

Comments
 (0)