@raystack/frontier 0.117.0 → 0.117.2
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/admin/dist/index.js +165 -164
- package/admin/dist/index.mjs +165 -164
- package/client/dist/index.d.ts +10 -3
- package/client/dist/index.js +2227 -2165
- package/client/dist/index.mjs +1636 -1574
- package/package.json +1 -1
package/client/dist/index.d.ts
CHANGED
|
@@ -59,9 +59,11 @@ type SignInViewProps = ComponentPropsWithRef<'div'> & AuthContainerProps & {
|
|
|
59
59
|
title?: string;
|
|
60
60
|
excludes?: string[];
|
|
61
61
|
footer?: boolean;
|
|
62
|
+
/** Send no flow intent, so the server falls back to create-or-get. */
|
|
63
|
+
disableIntent?: boolean;
|
|
62
64
|
error?: AuthRejection;
|
|
63
65
|
};
|
|
64
|
-
declare const SignInView: ({ logo, title, excludes, footer, error, ...props }: SignInViewProps) => react_jsx_runtime.JSX.Element;
|
|
66
|
+
declare const SignInView: ({ logo, title, excludes, footer, disableIntent, error, ...props }: SignInViewProps) => react_jsx_runtime.JSX.Element;
|
|
65
67
|
|
|
66
68
|
type ConsentLabel = ReactNode | ((documents: ConsentDocument[]) => ReactNode);
|
|
67
69
|
|
|
@@ -70,9 +72,13 @@ type SignUpViewProps = ComponentPropsWithRef<'div'> & AuthContainerProps & {
|
|
|
70
72
|
title?: string;
|
|
71
73
|
excludes?: string[];
|
|
72
74
|
consentLabel?: ConsentLabel;
|
|
75
|
+
/** Send no flow intent, so the server falls back to create-or-get. */
|
|
76
|
+
disableIntent?: boolean;
|
|
77
|
+
/** Tooltip shown on the disabled sign-up buttons until consent is given. */
|
|
78
|
+
disabledContentMessage?: string;
|
|
73
79
|
error?: AuthRejection;
|
|
74
80
|
};
|
|
75
|
-
declare const SignUpView: ({ logo, title, excludes, consentLabel, error, ...props }: SignUpViewProps) => react_jsx_runtime.JSX.Element;
|
|
81
|
+
declare const SignUpView: ({ logo, title, excludes, consentLabel, disableIntent, disabledContentMessage, error, ...props }: SignUpViewProps) => react_jsx_runtime.JSX.Element;
|
|
76
82
|
|
|
77
83
|
type MagicLinkViewProps = ComponentPropsWithRef<'div'> & AuthContainerProps & {
|
|
78
84
|
logo?: ReactNode;
|
|
@@ -82,9 +88,10 @@ type MagicLinkViewProps = ComponentPropsWithRef<'div'> & AuthContainerProps & {
|
|
|
82
88
|
intent?: FlowIntent;
|
|
83
89
|
acceptedDocumentIds?: string[];
|
|
84
90
|
disabled?: boolean;
|
|
91
|
+
disabledMessage?: string;
|
|
85
92
|
onActivate?: () => void;
|
|
86
93
|
};
|
|
87
|
-
declare const MagicLinkView: ({ logo, title, open, inline, intent, acceptedDocumentIds, disabled, onActivate, ...props }: MagicLinkViewProps) => react_jsx_runtime.JSX.Element;
|
|
94
|
+
declare const MagicLinkView: ({ logo, title, open, inline, intent, acceptedDocumentIds, disabled, disabledMessage, onActivate, ...props }: MagicLinkViewProps) => react_jsx_runtime.JSX.Element;
|
|
88
95
|
|
|
89
96
|
type MagicLinkVerifyViewProps = ComponentPropsWithRef<'div'> & AuthContainerProps & {
|
|
90
97
|
logo?: ReactNode;
|