@passflow/react 0.7.1 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/README.md +27 -17
- package/dist/index.cjs.js +2 -34
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +123 -7308
- package/dist/index.es.js.map +1 -1
- package/dist/src/components/error/index.d.ts.map +1 -1
- package/dist/src/components/flow/device-verify/index.d.ts +10 -0
- package/dist/src/components/flow/device-verify/index.d.ts.map +1 -0
- package/dist/src/components/flow/device-verify/screen.d.ts +4 -0
- package/dist/src/components/flow/device-verify/screen.d.ts.map +1 -0
- package/dist/src/components/flow/index.d.ts +1 -0
- package/dist/src/components/flow/index.d.ts.map +1 -1
- package/dist/src/components/flow/passflow/index.d.ts.map +1 -1
- package/dist/src/components/flow/two-factor-verify/index.d.ts.map +1 -1
- package/dist/src/components/form/cli-auth/index.d.ts +8 -0
- package/dist/src/components/form/cli-auth/index.d.ts.map +1 -0
- package/dist/src/components/form/cli-auth/screen.d.ts +5 -0
- package/dist/src/components/form/cli-auth/screen.d.ts.map +1 -0
- package/dist/src/components/form/cli-browser-auth/index.d.ts.map +1 -1
- package/dist/src/components/form/cli-qr-auth/index.d.ts.map +1 -1
- package/dist/src/components/form/forgot-password/forgot-password-success.d.ts.map +1 -1
- package/dist/src/components/form/index.d.ts +0 -1
- package/dist/src/components/form/index.d.ts.map +1 -1
- package/dist/src/components/form/invitation-join/index.d.ts.map +1 -1
- package/dist/src/components/form/signin/index.d.ts +2 -2
- package/dist/src/components/form/signin/index.d.ts.map +1 -1
- package/dist/src/components/form/signup/index.d.ts +2 -2
- package/dist/src/components/form/signup/index.d.ts.map +1 -1
- package/dist/src/components/form/verify-challenge/verify-challenge-otp-redirect.d.ts.map +1 -1
- package/dist/src/components/form/verify-challenge/verify-challenge-otp.d.ts.map +1 -1
- package/dist/src/components/form/wrapper/index.d.ts +1 -12
- package/dist/src/components/form/wrapper/index.d.ts.map +1 -1
- package/dist/src/components/provider/passflow-provider.d.ts +22 -0
- package/dist/src/components/provider/passflow-provider.d.ts.map +1 -1
- package/dist/src/components/ui/country-flag/index.d.ts +7 -0
- package/dist/src/components/ui/country-flag/index.d.ts.map +1 -0
- package/dist/src/components/ui/country-flag/positions.d.ts +245 -0
- package/dist/src/components/ui/country-flag/positions.d.ts.map +1 -0
- package/dist/src/components/ui/fields/field-phone.d.ts +1 -1
- package/dist/src/components/ui/fields/field-phone.d.ts.map +1 -1
- package/dist/src/components/ui/icon/index.d.ts +3 -1
- package/dist/src/components/ui/icon/index.d.ts.map +1 -1
- package/dist/src/components/ui/index.d.ts +2 -0
- package/dist/src/components/ui/index.d.ts.map +1 -1
- package/dist/src/components/ui/login-screen/code-entry.d.ts +4 -0
- package/dist/src/components/ui/login-screen/code-entry.d.ts.map +1 -0
- package/dist/src/components/ui/login-screen/credentials.d.ts +4 -0
- package/dist/src/components/ui/login-screen/credentials.d.ts.map +1 -0
- package/dist/src/components/ui/login-screen/device-approval.d.ts +4 -0
- package/dist/src/components/ui/login-screen/device-approval.d.ts.map +1 -0
- package/dist/src/components/ui/login-screen/general-error.d.ts +4 -0
- package/dist/src/components/ui/login-screen/general-error.d.ts.map +1 -0
- package/dist/src/components/ui/login-screen/index.d.ts +4 -0
- package/dist/src/components/ui/login-screen/index.d.ts.map +1 -0
- package/dist/src/components/ui/login-screen/invitation.d.ts +4 -0
- package/dist/src/components/ui/login-screen/invitation.d.ts.map +1 -0
- package/dist/src/components/ui/login-screen/login-screen.d.ts +4 -0
- package/dist/src/components/ui/login-screen/login-screen.d.ts.map +1 -0
- package/dist/src/components/ui/login-screen/passkey-progress.d.ts +4 -0
- package/dist/src/components/ui/login-screen/passkey-progress.d.ts.map +1 -0
- package/dist/src/components/ui/login-screen/shared.d.ts +15 -0
- package/dist/src/components/ui/login-screen/shared.d.ts.map +1 -0
- package/dist/src/components/ui/login-screen/shell.d.ts +13 -0
- package/dist/src/components/ui/login-screen/shell.d.ts.map +1 -0
- package/dist/src/components/ui/login-screen/status.d.ts +4 -0
- package/dist/src/components/ui/login-screen/status.d.ts.map +1 -0
- package/dist/src/components/ui/login-screen/types.d.ts +153 -0
- package/dist/src/components/ui/login-screen/types.d.ts.map +1 -0
- package/dist/src/components/ui/switch/index.d.ts +1 -0
- package/dist/src/components/ui/switch/index.d.ts.map +1 -1
- package/dist/src/hooks/index.d.ts +1 -0
- package/dist/src/hooks/index.d.ts.map +1 -1
- package/dist/src/hooks/use-app-settings.d.ts.map +1 -1
- package/dist/src/hooks/use-device-verify.d.ts +79 -0
- package/dist/src/hooks/use-device-verify.d.ts.map +1 -0
- package/dist/src/hooks/use-join-invite.d.ts.map +1 -1
- package/dist/src/hooks/use-passwordless-complete.d.ts.map +1 -1
- package/dist/src/hooks/use-signin.d.ts +3 -2
- package/dist/src/hooks/use-signin.d.ts.map +1 -1
- package/dist/src/hooks/use-signup.d.ts +3 -2
- package/dist/src/hooks/use-signup.d.ts.map +1 -1
- package/dist/src/types/auth-errors.d.ts +8 -0
- package/dist/src/types/auth-errors.d.ts.map +1 -0
- package/dist/src/types/device-errors.d.ts +91 -0
- package/dist/src/types/device-errors.d.ts.map +1 -0
- package/dist/src/types/index.d.ts +2 -0
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/utils/auth-error.d.ts +7 -0
- package/dist/src/utils/auth-error.d.ts.map +1 -0
- package/dist/src/utils/classify-device-error.d.ts +35 -0
- package/dist/src/utils/classify-device-error.d.ts.map +1 -0
- package/dist/src/utils/index.d.ts +3 -0
- package/dist/src/utils/index.d.ts.map +1 -1
- package/dist/src/utils/invitation-auth-chrome.d.ts +8 -0
- package/dist/src/utils/invitation-auth-chrome.d.ts.map +1 -0
- package/dist/src/utils/login-theme.d.ts +8 -0
- package/dist/src/utils/login-theme.d.ts.map +1 -0
- package/dist/style.css +2 -1
- package/package.json +17 -9
- package/dist/playwright/fixture/index.d.ts +0 -3
- package/dist/playwright/fixture/index.d.ts.map +0 -1
- package/dist/playwright/playwright.config.d.ts +0 -10
- package/dist/playwright/playwright.config.d.ts.map +0 -1
- package/dist/playwright/tests/invitation-flow.spec.d.ts +0 -2
- package/dist/playwright/tests/invitation-flow.spec.d.ts.map +0 -1
- package/dist/playwright/tests/signin.spec.d.ts +0 -2
- package/dist/playwright/tests/signin.spec.d.ts.map +0 -1
- package/dist/playwright/tests/signup.spec.d.ts +0 -2
- package/dist/playwright/tests/signup.spec.d.ts.map +0 -1
- package/dist/playwright/tests/validate.spec.d.ts +0 -2
- package/dist/playwright/tests/validate.spec.d.ts.map +0 -1
- package/dist/src/app.d.ts +0 -5
- package/dist/src/app.d.ts.map +0 -1
- package/dist/src/main.d.ts +0 -1
- package/dist/src/main.d.ts.map +0 -1
- package/dist/src/test/setup.d.ts +0 -1
- package/dist/src/test/setup.d.ts.map +0 -1
- package/dist/src/test/utils/render.d.ts +0 -4
- package/dist/src/test/utils/render.d.ts.map +0 -1
- package/dist/src/test/utils/test-passflow.d.ts +0 -6
- package/dist/src/test/utils/test-passflow.d.ts.map +0 -1
- package/dist/vite.svg +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/error/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/error/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,MAAM,MAAM,MAAM,GAAG;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAIF,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,MAAM,CAyBrC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* RFC 8628 device verification controller.
|
|
4
|
+
*
|
|
5
|
+
* The server selects consent, full-login, or passkey mode. This component owns
|
|
6
|
+
* the state transition and automatic passkey attempt; the Storybook-backed
|
|
7
|
+
* LoginScreen owns every visual state.
|
|
8
|
+
*/
|
|
9
|
+
export declare const DeviceVerifyFlow: FC;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/device-verify/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAgB9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screen.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/device-verify/screen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC3E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AA0CtE,eAAO,MAAM,yBAAyB,GAAI,QAAQ,oBAAoB,KAAG,gBAAgB,GAAG,IAiK3F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/flow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,2BAA2B,EAAE,KAAK,gCAAgC,EAAE,MAAM,+BAA+B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/flow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,2BAA2B,EAAE,KAAK,gCAAgC,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/passflow/index.tsx"],"names":[],"mappings":"AAgBA,OAAO,oBAAoB,CAAC;AAI5B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAInD,MAAM,MAAM,aAAa,GAAG;IAC1B,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,oBAAoB,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/passflow/index.tsx"],"names":[],"mappings":"AAgBA,OAAO,oBAAoB,CAAC;AAI5B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAInD,MAAM,MAAM,aAAa,GAAG;IAC1B,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,oBAAoB,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAwMF,eAAO,MAAM,YAAY,8DAA6C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/two-factor-verify/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/two-factor-verify/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,oBAAoB,CAAC;AAE5B,KAAK,wBAAwB,GAAG;IAC9B,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAwG5D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/cli-auth/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,KAAK,cAAc,EAA0B,MAAM,UAAU,CAAC;AAEvE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,cAAc,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAG9C,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { LoginScreenProps } from '../../ui';
|
|
2
|
+
import { UseCLIAuthProps } from '../../../hooks/use-cli-auth';
|
|
3
|
+
export type CLIAuthSurface = 'browser' | 'qr';
|
|
4
|
+
export declare const getCLILoginScreenProps: (cli: UseCLIAuthProps, surface: CLIAuthSurface) => LoginScreenProps;
|
|
5
|
+
//# sourceMappingURL=screen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screen.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/cli-auth/screen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,IAAI,CAAC;AAe9C,eAAO,MAAM,sBAAsB,GAAI,KAAK,eAAe,EAAE,SAAS,cAAc,KAAG,gBAkFtF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/cli-browser-auth/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/cli-browser-auth/index.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,cAAc,mDAAgD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/cli-qr-auth/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/cli-qr-auth/index.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,SAAS,mDAA2C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forgot-password-success.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/forgot-password/forgot-password-success.tsx"],"names":[],"mappings":"AAMA,OAAO,oBAAoB,CAAC;AAW5B,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"forgot-password-success.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/forgot-password/forgot-password-success.tsx"],"names":[],"mappings":"AAMA,OAAO,oBAAoB,CAAC;AAW5B,eAAO,MAAM,qBAAqB,mBAuDjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/form/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/form/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAElC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/invitation-join/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/invitation-join/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAElD,MAAM,MAAM,mBAAmB,GAAG;IAChC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AA2EF,eAAO,MAAM,cAAc,0DAAgD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SuccessAuthRedirect } from '../../../types';
|
|
2
|
-
import {
|
|
2
|
+
import { FC } from 'react';
|
|
3
3
|
export type TSignIn = {
|
|
4
4
|
successAuthRedirect?: SuccessAuthRedirect;
|
|
5
5
|
relyingPartyId?: string;
|
|
@@ -11,5 +11,5 @@ export type TSignIn = {
|
|
|
11
11
|
twoFactorVerifyPath?: string;
|
|
12
12
|
};
|
|
13
13
|
export declare const SignInForm: FC<TSignIn>;
|
|
14
|
-
export declare const SignIn: (props: TSignIn) =>
|
|
14
|
+
export declare const SignIn: (props: TSignIn) => import("react").JSX.Element | null;
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/signin/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/signin/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAwBnD,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAqChC,MAAM,MAAM,OAAO,GAAG;IACpB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,OAAO,CA4LlC,CAAC;AAEF,eAAO,MAAM,MAAM,wDAAwC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as React, FC } from 'react';
|
|
2
1
|
import { SuccessAuthRedirect } from '../../../types';
|
|
2
|
+
import { FC } from 'react';
|
|
3
3
|
export type TSignUp = {
|
|
4
4
|
successAuthRedirect?: SuccessAuthRedirect;
|
|
5
5
|
relyingPartyId?: string;
|
|
@@ -9,5 +9,5 @@ export type TSignUp = {
|
|
|
9
9
|
verifyMagicLinkPath?: string;
|
|
10
10
|
};
|
|
11
11
|
export declare const SignUpForm: FC<TSignUp>;
|
|
12
|
-
export declare const SignUp: (props: TSignUp) =>
|
|
12
|
+
export declare const SignUp: (props: TSignUp) => import("react").JSX.Element | null;
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/signup/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/signup/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAiB,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAwBlE,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AA0ChC,MAAM,MAAM,OAAO,GAAG;IACpB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,OAAO,CAoKlC,CAAC;AAEF,eAAO,MAAM,MAAM,wDAAwC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-challenge-otp-redirect.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/verify-challenge/verify-challenge-otp-redirect.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,KAAK,+BAA+B,GAAG;IACrC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,6BAA6B,+BAA+B,
|
|
1
|
+
{"version":3,"file":"verify-challenge-otp-redirect.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/verify-challenge/verify-challenge-otp-redirect.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,KAAK,+BAA+B,GAAG;IACrC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,6BAA6B,+BAA+B,6BA4CtG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-challenge-otp.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/verify-challenge/verify-challenge-otp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGnD,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,oBAAoB,CAAC;AAG5B,KAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;CAC3C,CAAC;AAgBF,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"verify-challenge-otp.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/verify-challenge/verify-challenge-otp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGnD,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,oBAAoB,CAAC;AAG5B,KAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;CAC3C,CAAC;AAgBF,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,mBAAmB,CAwEtD,CAAC"}
|
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
type TWrapper = PropsWithChildren & {
|
|
3
|
-
iconId?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
subtitle?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
customCss?: string;
|
|
8
|
-
customLogo?: string;
|
|
9
|
-
removeBranding?: boolean;
|
|
10
|
-
};
|
|
11
|
-
export declare const Wrapper: FC<TWrapper>;
|
|
12
|
-
export {};
|
|
1
|
+
export { LoginScreenShell as Wrapper, type LoginScreenShellProps as TWrapper } from '../../ui/login-screen/shell';
|
|
13
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/wrapper/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/wrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,KAAK,qBAAqB,IAAI,QAAQ,EAAE,MAAM,oCAAoC,CAAC"}
|
|
@@ -18,6 +18,28 @@ type PassflowProviderProps = PassflowConfig & {
|
|
|
18
18
|
* the bundled login-app was doing pre-SDK-migration.)
|
|
19
19
|
*/
|
|
20
20
|
export declare const readParentChallengeIdFromURL: () => string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Has the OIDC interceptor already taken ownership of the post-login navigation?
|
|
23
|
+
*
|
|
24
|
+
* A credential form MUST NOT navigate after a successful login when this is
|
|
25
|
+
* true. Two navigations do not queue — the second cancels the first, and the
|
|
26
|
+
* first is the one that completes the OIDC flow:
|
|
27
|
+
*
|
|
28
|
+
* 1. The interceptor calls `window.location.assign(redirect_url)` to hand the
|
|
29
|
+
* authorization code back to the RP (a CLI's `127.0.0.1:<port>/callback`,
|
|
30
|
+
* a web RP's `redirect_uri`, …).
|
|
31
|
+
* 2. `window.location.assign` does not halt script execution, so the form's
|
|
32
|
+
* success handler keeps running and sets `window.location.href` to the
|
|
33
|
+
* app's default post-login page.
|
|
34
|
+
* 3. The browser drops the in-flight request from (1) and goes to (2).
|
|
35
|
+
*
|
|
36
|
+
* Whether (1) has already been delivered when (2) lands is pure scheduling, so
|
|
37
|
+
* this presents as a flake rather than a clean break. Measured against the CLI
|
|
38
|
+
* loopback flow (RFC 8252 §7.3): roughly a third of real browser sign-ins had
|
|
39
|
+
* the GET to the CLI's loopback port aborted mid-flight, and the CLI then sat
|
|
40
|
+
* waiting for a callback that had already been cancelled until it timed out.
|
|
41
|
+
*/
|
|
42
|
+
export declare const hasFollowedOIDCRedirect: () => boolean;
|
|
21
43
|
/**
|
|
22
44
|
* Parent-challenge metadata returned by GET /oidc/requests/{id}.
|
|
23
45
|
* Subset used by the SDK's exchange-on-mount probe.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"passflow-provider.d.ts","sourceRoot":"","sources":["../../../../src/components/provider/passflow-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EAGrB,KAAK,UAAU,EAIhB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAiE,MAAM,OAAO,CAAC;AACtH,OAAO,oBAAoB,CAAC;AAE5B,KAAK,qBAAqB,GAAG,cAAc,GAAG;IAC5C,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB,CAAC;AAsBF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,4BAA4B,QAAO,MAAM,GAAG,SAQxD,CAAC;
|
|
1
|
+
{"version":3,"file":"passflow-provider.d.ts","sourceRoot":"","sources":["../../../../src/components/provider/passflow-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EAGrB,KAAK,UAAU,EAIhB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAiE,MAAM,OAAO,CAAC;AACtH,OAAO,oBAAoB,CAAC;AAE5B,KAAK,qBAAqB,GAAG,cAAc,GAAG;IAC5C,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB,CAAC;AAsBF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,4BAA4B,QAAO,MAAM,GAAG,SAQxD,CAAC;AAiCF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,uBAAuB,QAAO,OAA+B,CAAC;AAiJ3E;;;GAGG;AACH,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,KAAK,aAAa,GAAG,MAAM,GAAG,YAAY,GAAG,kBAAkB,GAAG,mBAAmB,CAAC;AA+NtF;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,mBAAmB,yCAE9B,CAAC;AAEH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAsItD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/country-flag/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAiB,EAAE,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,aAAa,CAAC;AAErB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAkBF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA4B5C,CAAC"}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
export declare const COUNTRY_FLAG_POSITIONS: {
|
|
2
|
+
readonly ad: "-48px -27px";
|
|
3
|
+
readonly ae: "-72px -27px";
|
|
4
|
+
readonly af: "-96px -27px";
|
|
5
|
+
readonly ag: "-120px -27px";
|
|
6
|
+
readonly ai: "-144px -27px";
|
|
7
|
+
readonly al: "-168px -27px";
|
|
8
|
+
readonly am: "-192px -27px";
|
|
9
|
+
readonly an: "-216px -27px";
|
|
10
|
+
readonly ao: "-240px -27px";
|
|
11
|
+
readonly aq: "-264px -27px";
|
|
12
|
+
readonly ar: "-288px -27px";
|
|
13
|
+
readonly as: "-312px -27px";
|
|
14
|
+
readonly at: "-336px -27px";
|
|
15
|
+
readonly au: "-360px -27px";
|
|
16
|
+
readonly aw: "-384px -27px";
|
|
17
|
+
readonly ax: "-0px -51px";
|
|
18
|
+
readonly az: "-24px -51px";
|
|
19
|
+
readonly ba: "-48px -51px";
|
|
20
|
+
readonly bb: "-72px -51px";
|
|
21
|
+
readonly bd: "-96px -51px";
|
|
22
|
+
readonly be: "-120px -51px";
|
|
23
|
+
readonly bf: "-144px -51px";
|
|
24
|
+
readonly bg: "-168px -51px";
|
|
25
|
+
readonly bh: "-192px -51px";
|
|
26
|
+
readonly bi: "-216px -51px";
|
|
27
|
+
readonly bj: "-240px -51px";
|
|
28
|
+
readonly bl: "-264px -51px";
|
|
29
|
+
readonly bm: "-288px -51px";
|
|
30
|
+
readonly bn: "-312px -51px";
|
|
31
|
+
readonly bo: "-336px -51px";
|
|
32
|
+
readonly br: "-360px -51px";
|
|
33
|
+
readonly bs: "-384px -51px";
|
|
34
|
+
readonly bt: "-0px -75px";
|
|
35
|
+
readonly bw: "-24px -75px";
|
|
36
|
+
readonly by: "-48px -75px";
|
|
37
|
+
readonly bz: "-72px -75px";
|
|
38
|
+
readonly ca: "-96px -75px";
|
|
39
|
+
readonly cc: "-120px -75px";
|
|
40
|
+
readonly cd: "-144px -75px";
|
|
41
|
+
readonly cf: "-168px -75px";
|
|
42
|
+
readonly cg: "-192px -75px";
|
|
43
|
+
readonly ch: "-216px -75px";
|
|
44
|
+
readonly ci: "-240px -75px";
|
|
45
|
+
readonly ck: "-264px -75px";
|
|
46
|
+
readonly cl: "-288px -75px";
|
|
47
|
+
readonly cm: "-312px -75px";
|
|
48
|
+
readonly cn: "-336px -75px";
|
|
49
|
+
readonly co: "-360px -75px";
|
|
50
|
+
readonly cr: "-384px -75px";
|
|
51
|
+
readonly cu: "-0px -99px";
|
|
52
|
+
readonly cv: "-24px -99px";
|
|
53
|
+
readonly cw: "-48px -99px";
|
|
54
|
+
readonly cx: "-72px -99px";
|
|
55
|
+
readonly cy: "-96px -99px";
|
|
56
|
+
readonly cz: "-120px -99px";
|
|
57
|
+
readonly de: "-144px -99px";
|
|
58
|
+
readonly dj: "-168px -99px";
|
|
59
|
+
readonly dk: "-192px -99px";
|
|
60
|
+
readonly dm: "-216px -99px";
|
|
61
|
+
readonly do: "-240px -99px";
|
|
62
|
+
readonly dz: "-264px -99px";
|
|
63
|
+
readonly ec: "-288px -99px";
|
|
64
|
+
readonly ee: "-312px -99px";
|
|
65
|
+
readonly eg: "-336px -99px";
|
|
66
|
+
readonly eh: "-360px -99px";
|
|
67
|
+
readonly er: "-384px -99px";
|
|
68
|
+
readonly es: "-0px -123px";
|
|
69
|
+
readonly et: "-24px -123px";
|
|
70
|
+
readonly eu: "-48px -123px";
|
|
71
|
+
readonly fi: "-72px -123px";
|
|
72
|
+
readonly fj: "-96px -123px";
|
|
73
|
+
readonly fk: "-120px -123px";
|
|
74
|
+
readonly fm: "-144px -123px";
|
|
75
|
+
readonly fo: "-168px -123px";
|
|
76
|
+
readonly fr: "-192px -123px";
|
|
77
|
+
readonly ga: "-216px -123px";
|
|
78
|
+
readonly gb: "-240px -123px";
|
|
79
|
+
readonly gd: "-264px -123px";
|
|
80
|
+
readonly ge: "-288px -123px";
|
|
81
|
+
readonly gg: "-312px -123px";
|
|
82
|
+
readonly gh: "-336px -123px";
|
|
83
|
+
readonly gi: "-360px -123px";
|
|
84
|
+
readonly gl: "-384px -123px";
|
|
85
|
+
readonly gm: "-0px -147px";
|
|
86
|
+
readonly gn: "-24px -147px";
|
|
87
|
+
readonly gq: "-48px -147px";
|
|
88
|
+
readonly gr: "-72px -147px";
|
|
89
|
+
readonly gs: "-96px -147px";
|
|
90
|
+
readonly gt: "-120px -147px";
|
|
91
|
+
readonly gu: "-144px -147px";
|
|
92
|
+
readonly gw: "-168px -147px";
|
|
93
|
+
readonly gy: "-192px -147px";
|
|
94
|
+
readonly hk: "-216px -147px";
|
|
95
|
+
readonly hn: "-240px -147px";
|
|
96
|
+
readonly hr: "-264px -147px";
|
|
97
|
+
readonly ht: "-288px -147px";
|
|
98
|
+
readonly hu: "-312px -147px";
|
|
99
|
+
readonly ic: "-336px -147px";
|
|
100
|
+
readonly id: "-360px -147px";
|
|
101
|
+
readonly ie: "-384px -147px";
|
|
102
|
+
readonly il: "-0px -171px";
|
|
103
|
+
readonly im: "-24px -171px";
|
|
104
|
+
readonly in: "-48px -171px";
|
|
105
|
+
readonly iq: "-72px -171px";
|
|
106
|
+
readonly ir: "-96px -171px";
|
|
107
|
+
readonly is: "-120px -171px";
|
|
108
|
+
readonly it: "-144px -171px";
|
|
109
|
+
readonly je: "-168px -171px";
|
|
110
|
+
readonly jm: "-192px -171px";
|
|
111
|
+
readonly jo: "-216px -171px";
|
|
112
|
+
readonly jp: "-240px -171px";
|
|
113
|
+
readonly ke: "-264px -171px";
|
|
114
|
+
readonly kg: "-288px -171px";
|
|
115
|
+
readonly kh: "-312px -171px";
|
|
116
|
+
readonly ki: "-336px -171px";
|
|
117
|
+
readonly xk: "-144px 3px";
|
|
118
|
+
readonly km: "-360px -171px";
|
|
119
|
+
readonly kn: "-384px -171px";
|
|
120
|
+
readonly kp: "-0px -195px";
|
|
121
|
+
readonly kr: "-24px -195px";
|
|
122
|
+
readonly kw: "-48px -195px";
|
|
123
|
+
readonly ky: "-72px -195px";
|
|
124
|
+
readonly kz: "-96px -195px";
|
|
125
|
+
readonly la: "-120px -195px";
|
|
126
|
+
readonly lb: "-144px -195px";
|
|
127
|
+
readonly lc: "-168px -195px";
|
|
128
|
+
readonly li: "-192px -195px";
|
|
129
|
+
readonly lk: "-216px -195px";
|
|
130
|
+
readonly lr: "-240px -195px";
|
|
131
|
+
readonly ls: "-264px -195px";
|
|
132
|
+
readonly lt: "-288px -195px";
|
|
133
|
+
readonly lu: "-312px -195px";
|
|
134
|
+
readonly lv: "-336px -195px";
|
|
135
|
+
readonly ly: "-360px -195px";
|
|
136
|
+
readonly ma: "-384px -195px";
|
|
137
|
+
readonly mc: "-0px -219px";
|
|
138
|
+
readonly md: "-24px -219px";
|
|
139
|
+
readonly me: "-48px -219px";
|
|
140
|
+
readonly mf: "-72px -219px";
|
|
141
|
+
readonly mg: "-96px -219px";
|
|
142
|
+
readonly mh: "-120px -219px";
|
|
143
|
+
readonly mk: "-144px -219px";
|
|
144
|
+
readonly ml: "-168px -219px";
|
|
145
|
+
readonly mm: "-192px -219px";
|
|
146
|
+
readonly mn: "-216px -219px";
|
|
147
|
+
readonly mo: "-240px -219px";
|
|
148
|
+
readonly mp: "-264px -219px";
|
|
149
|
+
readonly mq: "-288px -219px";
|
|
150
|
+
readonly mr: "-312px -219px";
|
|
151
|
+
readonly ms: "-336px -219px";
|
|
152
|
+
readonly mt: "-360px -219px";
|
|
153
|
+
readonly mu: "-384px -219px";
|
|
154
|
+
readonly mv: "-0px -243px";
|
|
155
|
+
readonly mw: "-24px -243px";
|
|
156
|
+
readonly mx: "-48px -243px";
|
|
157
|
+
readonly my: "-72px -243px";
|
|
158
|
+
readonly mz: "-96px -243px";
|
|
159
|
+
readonly na: "-120px -243px";
|
|
160
|
+
readonly nc: "-144px -243px";
|
|
161
|
+
readonly ne: "-168px -243px";
|
|
162
|
+
readonly nf: "-192px -243px";
|
|
163
|
+
readonly ng: "-216px -243px";
|
|
164
|
+
readonly ni: "-240px -243px";
|
|
165
|
+
readonly nl: "-264px -243px";
|
|
166
|
+
readonly no: "-288px -243px";
|
|
167
|
+
readonly np: "-312px -243px";
|
|
168
|
+
readonly nr: "-336px -243px";
|
|
169
|
+
readonly nu: "-360px -243px";
|
|
170
|
+
readonly nz: "-384px -243px";
|
|
171
|
+
readonly om: "-0px -267px";
|
|
172
|
+
readonly pa: "-24px -267px";
|
|
173
|
+
readonly pe: "-48px -267px";
|
|
174
|
+
readonly pf: "-72px -267px";
|
|
175
|
+
readonly pg: "-96px -267px";
|
|
176
|
+
readonly ph: "-120px -267px";
|
|
177
|
+
readonly pk: "-192px -267px";
|
|
178
|
+
readonly pl: "-216px -267px";
|
|
179
|
+
readonly pn: "-240px -267px";
|
|
180
|
+
readonly pr: "-264px -267px";
|
|
181
|
+
readonly ps: "-288px -267px";
|
|
182
|
+
readonly pt: "-312px -267px";
|
|
183
|
+
readonly pw: "-336px -267px";
|
|
184
|
+
readonly py: "-360px -267px";
|
|
185
|
+
readonly qa: "-384px -267px";
|
|
186
|
+
readonly ro: "-0px -291px";
|
|
187
|
+
readonly rs: "-24px -291px";
|
|
188
|
+
readonly ru: "-48px -291px";
|
|
189
|
+
readonly rw: "-72px -291px";
|
|
190
|
+
readonly sa: "-96px -291px";
|
|
191
|
+
readonly sb: "-120px -291px";
|
|
192
|
+
readonly sc: "-144px -291px";
|
|
193
|
+
readonly sd: "-168px -291px";
|
|
194
|
+
readonly se: "-192px -291px";
|
|
195
|
+
readonly sg: "-216px -291px";
|
|
196
|
+
readonly sh: "-240px -291px";
|
|
197
|
+
readonly si: "-264px -291px";
|
|
198
|
+
readonly sk: "-288px -291px";
|
|
199
|
+
readonly sl: "-312px -291px";
|
|
200
|
+
readonly sm: "-336px -291px";
|
|
201
|
+
readonly sn: "-360px -291px";
|
|
202
|
+
readonly so: "-384px -291px";
|
|
203
|
+
readonly sr: "-0px -315px";
|
|
204
|
+
readonly ss: "-24px -315px";
|
|
205
|
+
readonly st: "-48px -315px";
|
|
206
|
+
readonly sv: "-72px -315px";
|
|
207
|
+
readonly sy: "-96px -315px";
|
|
208
|
+
readonly sz: "-120px -315px";
|
|
209
|
+
readonly tc: "-144px -315px";
|
|
210
|
+
readonly td: "-168px -315px";
|
|
211
|
+
readonly tf: "-192px -315px";
|
|
212
|
+
readonly tg: "-216px -315px";
|
|
213
|
+
readonly th: "-240px -315px";
|
|
214
|
+
readonly tj: "-264px -315px";
|
|
215
|
+
readonly tk: "-288px -315px";
|
|
216
|
+
readonly tl: "-312px -315px";
|
|
217
|
+
readonly tm: "-336px -315px";
|
|
218
|
+
readonly tn: "-360px -315px";
|
|
219
|
+
readonly to: "-384px -315px";
|
|
220
|
+
readonly tr: "-0px -339px";
|
|
221
|
+
readonly tt: "-24px -339px";
|
|
222
|
+
readonly tv: "-48px -339px";
|
|
223
|
+
readonly tw: "-72px -339px";
|
|
224
|
+
readonly tz: "-96px -339px";
|
|
225
|
+
readonly ua: "-120px -339px";
|
|
226
|
+
readonly ug: "-144px -339px";
|
|
227
|
+
readonly us: "-168px -339px";
|
|
228
|
+
readonly uy: "-192px -339px";
|
|
229
|
+
readonly uz: "-216px -339px";
|
|
230
|
+
readonly va: "-240px -339px";
|
|
231
|
+
readonly vc: "-264px -339px";
|
|
232
|
+
readonly ve: "-288px -339px";
|
|
233
|
+
readonly vg: "-312px -339px";
|
|
234
|
+
readonly vi: "-336px -339px";
|
|
235
|
+
readonly vn: "-360px -339px";
|
|
236
|
+
readonly vu: "-384px -339px";
|
|
237
|
+
readonly wf: "-0px -363px";
|
|
238
|
+
readonly ws: "-24px -363px";
|
|
239
|
+
readonly ye: "-48px -363px";
|
|
240
|
+
readonly za: "-96px -363px";
|
|
241
|
+
readonly zm: "-120px -363px";
|
|
242
|
+
readonly zw: "-144px -363px";
|
|
243
|
+
};
|
|
244
|
+
export type SupportedCountryFlag = keyof typeof COUNTRY_FLAG_POSITIONS;
|
|
245
|
+
//# sourceMappingURL=positions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"positions.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/country-flag/positions.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkPzB,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,sBAAsB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeEvent, FC, InputHTMLAttributes } from 'react';
|
|
2
2
|
type TFieldPhone = InputHTMLAttributes<HTMLInputElement> & {
|
|
3
3
|
id: string;
|
|
4
|
-
onChange: (
|
|
4
|
+
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
5
5
|
isError?: boolean;
|
|
6
6
|
className?: string;
|
|
7
7
|
ref?: null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-phone.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/fields/field-phone.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"field-phone.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/fields/field-phone.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,EAAE,EACP,KAAK,mBAAmB,EAMzB,MAAM,OAAO,CAAC;AAIf,OAAO,oBAAoB,CAAC;AAC5B,OAAO,qCAAqC,CAAC;AAG7C,KAAK,WAAW,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,GAAG;IACzD,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACzD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,WAAW,CAuNtC,CAAC"}
|
|
@@ -3,7 +3,9 @@ type TIcon = {
|
|
|
3
3
|
id: string;
|
|
4
4
|
size: 'small' | 'medium' | 'big' | 'large';
|
|
5
5
|
className?: string;
|
|
6
|
+
decorative?: boolean;
|
|
7
|
+
matchTextColor?: boolean;
|
|
6
8
|
};
|
|
7
|
-
export declare const Icon: ({ type, id, size, className }: TIcon) => JSX.Element;
|
|
9
|
+
export declare const Icon: ({ type, id, size, className, decorative, matchTextColor }: TIcon) => JSX.Element;
|
|
8
10
|
export {};
|
|
9
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/icon/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/icon/index.tsx"],"names":[],"mappings":"AAGA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,aAAa,CAAC;AA0CrB,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAMF,eAAO,MAAM,IAAI,GAAI,2DAAgF,KAAK,gBA+EzG,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { CountryFlag, type CountryFlagProps } from './country-flag';
|
|
1
2
|
export { Icon } from './icon';
|
|
2
3
|
export { Button } from './button';
|
|
3
4
|
export * from './fields';
|
|
@@ -6,4 +7,5 @@ export { Link } from './link';
|
|
|
6
7
|
export { Switch } from './switch';
|
|
7
8
|
export * from './popover';
|
|
8
9
|
export * from './dialog';
|
|
10
|
+
export * from './login-screen';
|
|
9
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-entry.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/login-screen/code-entry.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;AAK3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAoDlD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/login-screen/credentials.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAYhC,OAAO,KAAK,EAAE,qBAAqB,EAA0B,MAAM,SAAS,CAAC;AAqB7E,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAsXtD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device-approval.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/login-screen/device-approval.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAmD5D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"general-error.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/login-screen/general-error.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAgBxD,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { LoginScreen } from './login-screen';
|
|
2
|
+
export { LoginAlert } from './shared';
|
|
3
|
+
export type { LoginScreenProps, LoginScreenState, LoginScreenChrome, LoginCredentialsState, LoginCredentialsValues, LoginIdentityMethod, LoginMethodConfig, LoginCodeEntryState, LoginPasskeyProgressState, LoginDeviceApprovalState, LoginInvitationState, LoginGeneralErrorState, LoginStatusState, LoginScreenNotice as LoginScreenNoticeProps, LoginScreenLink, } from './types';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/login-screen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,YAAY,EACV,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,wBAAwB,EACxB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB,IAAI,sBAAsB,EAC3C,eAAe,GAChB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invitation.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/login-screen/invitation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAuDpD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login-screen.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/login-screen/login-screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAShC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAyC5C,CAAC"}
|