@passflow/react 0.26.2 → 0.27.0
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 +16 -0
- package/README.md +72 -0
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +95 -94
- package/dist/index.es.js.map +1 -1
- package/dist/src/components/flow/consent/index.d.cts +1 -11
- package/dist/src/components/flow/consent/index.d.ts +1 -11
- package/dist/src/components/flow/consent/index.d.ts.map +1 -1
- package/dist/src/components/flow/device-verify/index.d.cts +1 -8
- package/dist/src/components/flow/device-verify/index.d.ts +1 -8
- package/dist/src/components/flow/device-verify/index.d.ts.map +1 -1
- package/dist/src/components/flow/two-factor-setup/index.d.ts.map +1 -1
- package/dist/src/components/flow/two-factor-setup-magic-link/index.d.cts +0 -13
- package/dist/src/components/flow/two-factor-setup-magic-link/index.d.ts +0 -13
- package/dist/src/components/flow/two-factor-setup-magic-link/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/forgot-password/forgot-password-success.d.cts +1 -1
- package/dist/src/components/form/forgot-password/forgot-password-success.d.ts +1 -1
- package/dist/src/components/form/forgot-password/forgot-password-success.d.ts.map +1 -1
- package/dist/src/components/form/forgot-password/forgot-password.d.ts.map +1 -1
- package/dist/src/components/form/reset-password/index.d.ts.map +1 -1
- package/dist/src/components/form/signin/index.d.ts.map +1 -1
- package/dist/src/components/form/signup/index.d.ts.map +1 -1
- package/dist/src/components/form/two-factor-verify/two-factor-verify-form.d.ts.map +1 -1
- package/dist/src/components/form/verify-challenge/verify-challenge-magic-link.d.ts.map +1 -1
- package/dist/src/components/form/verify-challenge/verify-challenge-otp.d.ts.map +1 -1
- package/dist/src/components/provider/passflow-provider.d.ts.map +1 -1
- package/dist/src/components/provider/upgrade-provider.d.ts.map +1 -1
- package/dist/src/components/ui/fields/field-otp.d.cts +3 -5
- package/dist/src/components/ui/fields/field-otp.d.ts +3 -5
- package/dist/src/components/ui/fields/field-otp.d.ts.map +1 -1
- package/dist/src/components/ui/login-button/use-shadcn-theme.d.cts +1 -1
- package/dist/src/components/ui/login-button/use-shadcn-theme.d.ts +1 -1
- package/dist/src/components/ui/login-button/use-shadcn-theme.d.ts.map +1 -1
- package/dist/src/hocs/index.d.cts +1 -0
- package/dist/src/hocs/index.d.ts +1 -0
- package/dist/src/hocs/index.d.ts.map +1 -1
- package/dist/src/hocs/with-error.d.ts.map +1 -1
- package/dist/src/hocs/with-hydration.d.cts +8 -0
- package/dist/src/hocs/with-hydration.d.ts +8 -0
- package/dist/src/hocs/with-hydration.d.ts.map +1 -0
- package/dist/src/hooks/use-app-settings.d.ts.map +1 -1
- package/dist/src/hooks/use-isomorphic-layout-effect.d.cts +7 -0
- package/dist/src/hooks/use-isomorphic-layout-effect.d.ts +7 -0
- package/dist/src/hooks/use-isomorphic-layout-effect.d.ts.map +1 -0
- package/dist/src/hooks/use-trusted-devices.d.ts.map +1 -1
- package/dist/src/hooks/use-two-factor-status.d.ts.map +1 -1
- package/dist/src/hooks/use-user-passkeys.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,13 +1,3 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
|
-
|
|
3
|
-
* OIDC consent controller, mounted by the host app on `/web/consent`.
|
|
4
|
-
*
|
|
5
|
-
* Standalone by design: it needs no PassflowProvider. The staged request is
|
|
6
|
-
* addressed by `consent_challenge_id` on the URL and read with a same-origin
|
|
7
|
-
* cookie, so there is no SDK client, no app settings lookup, and no token to
|
|
8
|
-
* hold — which is also why mounting it inside the provider would be actively
|
|
9
|
-
* wrong, since the provider's session-exchange probe would fire against a
|
|
10
|
-
* challenge that is waiting for a human decision.
|
|
11
|
-
*/
|
|
12
|
-
export declare const ConsentFlow: FC;
|
|
2
|
+
export declare const ConsentFlow: FC<{}>;
|
|
13
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,13 +1,3 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
|
-
|
|
3
|
-
* OIDC consent controller, mounted by the host app on `/web/consent`.
|
|
4
|
-
*
|
|
5
|
-
* Standalone by design: it needs no PassflowProvider. The staged request is
|
|
6
|
-
* addressed by `consent_challenge_id` on the URL and read with a same-origin
|
|
7
|
-
* cookie, so there is no SDK client, no app settings lookup, and no token to
|
|
8
|
-
* hold — which is also why mounting it inside the provider would be actively
|
|
9
|
-
* wrong, since the provider's session-exchange probe would fire against a
|
|
10
|
-
* challenge that is waiting for a human decision.
|
|
11
|
-
*/
|
|
12
|
-
export declare const ConsentFlow: FC;
|
|
2
|
+
export declare const ConsentFlow: FC<{}>;
|
|
13
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/consent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/consent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAuBhC,eAAO,MAAM,WAAW,QAAmC,CAAC"}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import type { 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;
|
|
2
|
+
export declare const DeviceVerifyFlow: FC<{}>;
|
|
10
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import type { 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;
|
|
2
|
+
export declare const DeviceVerifyFlow: FC<{}>;
|
|
10
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/device-verify/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/device-verify/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAgChC,eAAO,MAAM,gBAAgB,QAAwC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/two-factor-setup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/two-factor-setup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGnD,OAAO,oBAAoB,CAAC;AAE5B,MAAM,MAAM,uBAAuB,GAAG;IACpC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAmDF,eAAO,MAAM,kBAAkB,6BAA0C,CAAC"}
|
|
@@ -22,19 +22,6 @@ export type TwoFactorSetupMagicLinkFlowProps = {
|
|
|
22
22
|
/** Path to sign-in page (default: /signin) */
|
|
23
23
|
signInPath?: string;
|
|
24
24
|
};
|
|
25
|
-
/**
|
|
26
|
-
* Flow component for magic link 2FA setup
|
|
27
|
-
*
|
|
28
|
-
* This component:
|
|
29
|
-
* 1. Takes the token from its `token` prop, or from the URL
|
|
30
|
-
* 2. Validates token via useTwoFactorSetupMagicLink hook
|
|
31
|
-
* 3. Shows loading state during validation
|
|
32
|
-
* 4. Shows error UI if validation fails
|
|
33
|
-
* 5. Renders TwoFactorSetupForm if validation succeeds
|
|
34
|
-
* 6. Redirects to sign-in after successful setup
|
|
35
|
-
*
|
|
36
|
-
* Route: /two-factor-setup-magic-link/:token
|
|
37
|
-
*/
|
|
38
25
|
export declare const TwoFactorSetupMagicLinkFlow: FC<TwoFactorSetupMagicLinkFlowProps>;
|
|
39
26
|
export {};
|
|
40
27
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -22,19 +22,6 @@ export type TwoFactorSetupMagicLinkFlowProps = {
|
|
|
22
22
|
/** Path to sign-in page (default: /signin) */
|
|
23
23
|
signInPath?: string;
|
|
24
24
|
};
|
|
25
|
-
/**
|
|
26
|
-
* Flow component for magic link 2FA setup
|
|
27
|
-
*
|
|
28
|
-
* This component:
|
|
29
|
-
* 1. Takes the token from its `token` prop, or from the URL
|
|
30
|
-
* 2. Validates token via useTwoFactorSetupMagicLink hook
|
|
31
|
-
* 3. Shows loading state during validation
|
|
32
|
-
* 4. Shows error UI if validation fails
|
|
33
|
-
* 5. Renders TwoFactorSetupForm if validation succeeds
|
|
34
|
-
* 6. Redirects to sign-in after successful setup
|
|
35
|
-
*
|
|
36
|
-
* Route: /two-factor-setup-magic-link/:token
|
|
37
|
-
*/
|
|
38
25
|
export declare const TwoFactorSetupMagicLinkFlow: FC<TwoFactorSetupMagicLinkFlowProps>;
|
|
39
26
|
export {};
|
|
40
27
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/two-factor-setup-magic-link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/two-factor-setup-magic-link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC,OAAO,EAAE,KAAK,gCAAgC,EAA6C,MAAM,SAAS,CAAC;AAS3G,OAAO,oBAAoB,CAAC;AAE5B;;GAEG;AACH,KAAK,cAAc,GAAG,WAAW,CAAC,gCAAgC,CAAC,OAAO,CAAC,CAAC,CAAC;AAE7E;;GAEG;AACH,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,mCAAmC;IACnC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC1C,sDAAsD;IACtD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,8CAA8C;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAwHF,eAAO,MAAM,2BAA2B,sCAAmD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/two-factor-verify/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/flow/two-factor-verify/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAUhC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAInD,OAAO,oBAAoB,CAAC;AAE5B,MAAM,MAAM,wBAAwB,GAAG;IACrC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AA0EF,eAAO,MAAM,mBAAmB,8BAA2C,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ForgotPasswordSuccess:
|
|
1
|
+
export declare const ForgotPasswordSuccess: import("react").FC<object>;
|
|
2
2
|
//# sourceMappingURL=forgot-password-success.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ForgotPasswordSuccess:
|
|
1
|
+
export declare const ForgotPasswordSuccess: import("react").FC<object>;
|
|
2
2
|
//# sourceMappingURL=forgot-password-success.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forgot-password-success.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/forgot-password/forgot-password-success.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"forgot-password-success.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/forgot-password/forgot-password-success.tsx"],"names":[],"mappings":"AAOA,OAAO,oBAAoB,CAAC;AAyE5B,eAAO,MAAM,qBAAqB,4BAA6C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forgot-password.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/forgot-password/forgot-password.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,EAAW,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"forgot-password.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/forgot-password/forgot-password.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,EAAW,MAAM,OAAO,CAAC;AAkBzC,OAAO,oBAAoB,CAAC;AAO5B,KAAK,eAAe,GAAG;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACpC,CAAC;AAsMF,eAAO,MAAM,cAAc,qBAAsC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/reset-password/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/reset-password/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAQhC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,OAAO,oBAAoB,CAAC;AAM5B,KAAK,cAAc,GAAG;IACpB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,+DAA+D;IAC/D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AA+HF,eAAO,MAAM,aAAa,oBAAqC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/signin/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAehC,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAkDrE,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,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,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;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/signin/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAehC,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAkDrE,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,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,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;AAkRF,eAAO,MAAM,UAAU,aAAkC,CAAC;AAE1D,eAAO,MAAM,MAAM,wDAA8C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/signup/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAehC,OAAO,KAAK,EAAiB,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAqDpF,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,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/signup/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAehC,OAAO,KAAK,EAAiB,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAqDpF,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,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAoOF,eAAO,MAAM,UAAU,aAAkC,CAAC;AAE1D,eAAO,MAAM,MAAM,wDAA8C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"two-factor-verify-form.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/two-factor-verify/two-factor-verify-form.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAA+B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"two-factor-verify-form.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/two-factor-verify/two-factor-verify-form.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAA+B,MAAM,OAAO,CAAC;AAM7D,OAAO,oBAAoB,CAAC;AAE5B,KAAK,wBAAwB,GAAG;IAC9B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,2HAA2H;IAC3H,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,GAAG,cAAc,KAAK,IAAI,CAAC;IACrD,qDAAqD;IACrD,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,oEAAoE;IACpE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,8GAA8G;IAC9G,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAoFF,eAAO,MAAM,mBAAmB,8BAA2C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-challenge-magic-link.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/verify-challenge/verify-challenge-magic-link.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,EAAwC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"verify-challenge-magic-link.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/verify-challenge/verify-challenge-magic-link.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,EAAwC,MAAM,OAAO,CAAC;AAQtE,OAAO,oBAAoB,CAAC;AA2L5B,KAAK,6BAA6B,GAAG;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AA2BF,eAAO,MAAM,wBAAwB,mCAAgD,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":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"verify-challenge-otp.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/verify-challenge/verify-challenge-otp.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAKnD,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;IAC1C,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAkGF,eAAO,MAAM,kBAAkB,yBAA0C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"passflow-provider.d.ts","sourceRoot":"","sources":["../../../../src/components/provider/passflow-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,cAAc,EAMpB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAiE,MAAM,OAAO,CAAC;AACtH,OAAO,EAAmB,KAAK,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AASpG,OAAO,EAKL,KAAK,OAAO,EAEZ,KAAK,gBAAgB,EAKrB,KAAK,UAAU,EAEhB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"passflow-provider.d.ts","sourceRoot":"","sources":["../../../../src/components/provider/passflow-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,cAAc,EAMpB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAA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CAAyC;IACzC,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC/B;;;;;;;;;;;OAWG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,YAAY,GAAG,IAAI,CAAC;CACnE,CAAC;AAsHF,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAyYpD,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { FC, Ref } from 'react';
|
|
2
1
|
export type FieldOtpCharset = 'numeric' | 'alphanumeric';
|
|
3
2
|
export type FieldOtpState = 'default' | 'error' | 'disabled';
|
|
4
3
|
type FieldOtpBaseProps = {
|
|
@@ -19,8 +18,6 @@ type FieldOtpBaseProps = {
|
|
|
19
18
|
/** Id of the element that describes it, such as the error message. */
|
|
20
19
|
describedBy?: string;
|
|
21
20
|
autoFocus?: boolean;
|
|
22
|
-
/** The one real `<input>`, so a screen can return focus to it after the field was locked. */
|
|
23
|
-
ref?: Ref<HTMLInputElement>;
|
|
24
21
|
};
|
|
25
22
|
/**
|
|
26
23
|
* The code field is named either by a visible label it draws itself (`label`),
|
|
@@ -43,8 +40,9 @@ export type FieldOtpProps = FieldOtpBaseProps & ({
|
|
|
43
40
|
* autofill, password managers and pasting a whole code all work. The boxes are
|
|
44
41
|
* a drawing of its value, hidden from assistive technology. With `label` the
|
|
45
42
|
* field draws its own visible label above the boxes; with `labelledBy` it is
|
|
46
|
-
* named by a prompt the screen already shows.
|
|
43
|
+
* named by a prompt the screen already shows. Its ref is the real `<input>`,
|
|
44
|
+
* so a screen can return focus to it after the field was locked.
|
|
47
45
|
*/
|
|
48
|
-
export declare const FieldOtp:
|
|
46
|
+
export declare const FieldOtp: import("react").ForwardRefExoticComponent<FieldOtpProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
49
47
|
export {};
|
|
50
48
|
//# sourceMappingURL=field-otp.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { FC, Ref } from 'react';
|
|
2
1
|
export type FieldOtpCharset = 'numeric' | 'alphanumeric';
|
|
3
2
|
export type FieldOtpState = 'default' | 'error' | 'disabled';
|
|
4
3
|
type FieldOtpBaseProps = {
|
|
@@ -19,8 +18,6 @@ type FieldOtpBaseProps = {
|
|
|
19
18
|
/** Id of the element that describes it, such as the error message. */
|
|
20
19
|
describedBy?: string;
|
|
21
20
|
autoFocus?: boolean;
|
|
22
|
-
/** The one real `<input>`, so a screen can return focus to it after the field was locked. */
|
|
23
|
-
ref?: Ref<HTMLInputElement>;
|
|
24
21
|
};
|
|
25
22
|
/**
|
|
26
23
|
* The code field is named either by a visible label it draws itself (`label`),
|
|
@@ -43,8 +40,9 @@ export type FieldOtpProps = FieldOtpBaseProps & ({
|
|
|
43
40
|
* autofill, password managers and pasting a whole code all work. The boxes are
|
|
44
41
|
* a drawing of its value, hidden from assistive technology. With `label` the
|
|
45
42
|
* field draws its own visible label above the boxes; with `labelledBy` it is
|
|
46
|
-
* named by a prompt the screen already shows.
|
|
43
|
+
* named by a prompt the screen already shows. Its ref is the real `<input>`,
|
|
44
|
+
* so a screen can return focus to it after the field was locked.
|
|
47
45
|
*/
|
|
48
|
-
export declare const FieldOtp:
|
|
46
|
+
export declare const FieldOtp: import("react").ForwardRefExoticComponent<FieldOtpProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
49
47
|
export {};
|
|
50
48
|
//# sourceMappingURL=field-otp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-otp.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/fields/field-otp.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"field-otp.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/fields/field-otp.tsx"],"names":[],"mappings":"AAGA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AAEzB,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,cAAc,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,CAAC;AAE7D,KAAK,iBAAiB,GAAG;IACvB,wEAAwE;IACxE,EAAE,EAAE,MAAM,CAAC;IACX,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,4DAA4D;IAC5D,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,wDAAwD;IACxD,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,2FAA2F;IAC3F,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,+FAA+F;IAC/F,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAC3C,CACI;IACE,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,KAAK,CAAC;CACpB,GACD;IACE,oGAAoG;IACpG,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CACJ,CAAC;AAsBJ;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,4GA4DnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-shadcn-theme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/login-button/use-shadcn-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"use-shadcn-theme.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/login-button/use-shadcn-theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC;;;;;GAKG;AACH,eAAO,MAAM,cAAc,QAAS,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,OAAO,KAAG,IA+BrF,CAAC"}
|
package/dist/src/hocs/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hocs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hocs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-error.d.ts","sourceRoot":"","sources":["../../../src/hocs/with-error.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAc,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,mBAAmB,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"with-error.d.ts","sourceRoot":"","sources":["../../../src/hocs/with-error.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAc,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,mBAAmB,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAI/E,KAAK,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,mBAAmB,GAAG,aAAa,CAAC;AAMzE,eAAO,MAAM,SAAS,GACnB,CAAC,SAAS,SAAS,aAAa,aAAa,CAAC,CAAC,CAAC,kBAAkB,aAAa,CAAC,MAAM,CAAC,aAChF,CAAC,uCA8CR,CAAC;eAEW,SAAS"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ComponentType, FC } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Renders `Component` only once the page has hydrated. The URL and the session exist only in the browser, so a screen
|
|
4
|
+
* that reads either during render renders nothing on the server and in the hydration render, and its content from
|
|
5
|
+
* the next render. A render that is not a hydration shows the screen at once.
|
|
6
|
+
*/
|
|
7
|
+
export declare const withHydration: <P extends object>(Component: ComponentType<P>) => FC<P>;
|
|
8
|
+
//# sourceMappingURL=with-hydration.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ComponentType, FC } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Renders `Component` only once the page has hydrated. The URL and the session exist only in the browser, so a screen
|
|
4
|
+
* that reads either during render renders nothing on the server and in the hydration render, and its content from
|
|
5
|
+
* the next render. A render that is not a hydration shows the screen at once.
|
|
6
|
+
*/
|
|
7
|
+
export declare const withHydration: <P extends object>(Component: ComponentType<P>) => FC<P>;
|
|
8
|
+
//# sourceMappingURL=with-hydration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-hydration.d.ts","sourceRoot":"","sources":["../../../src/hocs/with-hydration.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG/C;;;;GAIG;AACH,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,MAAM,aAAa,aAAa,CAAC,CAAC,CAAC,KAAG,EAAE,CAAC,CAAC,CAQjF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-app-settings.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-app-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-app-settings.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-app-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAC;AAOtH,MAAM,MAAM,mBAAmB,GAAG,MAAM;IACtC,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,cAAc,EAAE,8BAA8B,GAAG,IAAI,CAAC;IACtD,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACvC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,sBAAsB,EAAE,OAAO,CAAC;IAChC,aAAa,CAAC,EAAE,gBAAgB,CAAC;CAClC,CAAC;AAMF,eAAO,MAAM,cAAc,EAAE,mBAoK5B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { useLayoutEffect } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* A layout effect in the browser and a plain effect on the server, where a layout effect does nothing and React 18
|
|
4
|
+
* warns about it. Neither runs during a server render.
|
|
5
|
+
*/
|
|
6
|
+
export declare const useIsomorphicLayoutEffect: typeof useLayoutEffect;
|
|
7
|
+
//# sourceMappingURL=use-isomorphic-layout-effect.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { useLayoutEffect } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* A layout effect in the browser and a plain effect on the server, where a layout effect does nothing and React 18
|
|
4
|
+
* warns about it. Neither runs during a server render.
|
|
5
|
+
*/
|
|
6
|
+
export declare const useIsomorphicLayoutEffect: typeof useLayoutEffect;
|
|
7
|
+
//# sourceMappingURL=use-isomorphic-layout-effect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-isomorphic-layout-effect.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-isomorphic-layout-effect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,eAAe,EAAE,MAAM,OAAO,CAAC;AAEnD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,wBAA8D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-trusted-devices.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-trusted-devices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-trusted-devices.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-trusted-devices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAK7D,MAAM,MAAM,sBAAsB,GAAG,MAAM;IACzC,oFAAoF;IACpF,IAAI,EAAE,sBAAsB,EAAE,CAAC;IAC/B,OAAO,EAAE,MAAM,OAAO,CAAC,sBAAsB,EAAE,GAAG,IAAI,CAAC,CAAC;IACxD;;;;;OAKG;IACH,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC/C,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,sBA2D/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-two-factor-status.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-two-factor-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-two-factor-status.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-two-factor-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAK9D,MAAM,MAAM,uBAAuB,GAAG,MAAM;IAC1C,IAAI,EAAE,uBAAuB,GAAG,IAAI,CAAC;IACrC,OAAO,EAAE,MAAM,OAAO,CAAC,uBAAuB,GAAG,IAAI,CAAC,CAAC;IACvD,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,uBAoChC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-user-passkeys.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-user-passkeys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-user-passkeys.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-user-passkeys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAK1D,MAAM,MAAM,oBAAoB,GAAG,MAAM;IACvC,IAAI,EAAE,mBAAmB,EAAE,CAAC;IAC5B,iBAAiB,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7D,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACvE,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,oBAqF7B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@passflow/react",
|
|
3
3
|
"description": "Passflow React UI Kit",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.27.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@passflow/core": "^0.32.
|
|
54
|
+
"@passflow/core": "^0.32.1",
|
|
55
55
|
"@radix-ui/react-dialog": "^1.3.1",
|
|
56
56
|
"@radix-ui/react-popover": "^1.3.1",
|
|
57
57
|
"@simplewebauthn/browser": "^14.0.0",
|