@asgardeo/react 0.6.2 → 0.6.3
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/dist/cjs/index.js +824 -945
- package/dist/cjs/index.js.map +4 -4
- package/dist/components/presentation/SignIn/component-driven/BaseSignIn.d.ts +12 -4
- package/dist/components/presentation/SignIn/component-driven/SignInOptionFactory.d.ts +0 -1
- package/dist/components/presentation/SignIn/non-component-driven/BaseSignIn.d.ts +12 -0
- package/dist/components/presentation/SignUp/BaseSignUp.d.ts +12 -0
- package/dist/components/presentation/SignUp/BaseSignUp.styles.d.ts +0 -1
- package/dist/index.js +649 -770
- package/dist/index.js.map +4 -4
- package/package.json +3 -3
- package/dist/components/presentation/SignIn/non-component-driven/BaseSignIn.styles.d.ts +0 -52
|
@@ -42,10 +42,6 @@ export interface BaseSignInRenderProps {
|
|
|
42
42
|
* Loading state
|
|
43
43
|
*/
|
|
44
44
|
isLoading: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Current error message
|
|
47
|
-
*/
|
|
48
|
-
error: string | null;
|
|
49
45
|
/**
|
|
50
46
|
* Flow components
|
|
51
47
|
*/
|
|
@@ -141,6 +137,18 @@ export interface BaseSignInProps {
|
|
|
141
137
|
* Render props function for custom UI
|
|
142
138
|
*/
|
|
143
139
|
children?: (props: BaseSignInRenderProps) => ReactNode;
|
|
140
|
+
/**
|
|
141
|
+
* Whether to show the title.
|
|
142
|
+
*/
|
|
143
|
+
showTitle?: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Whether to show the subtitle.
|
|
146
|
+
*/
|
|
147
|
+
showSubtitle?: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* Whether to show the logo.
|
|
150
|
+
*/
|
|
151
|
+
showLogo?: boolean;
|
|
144
152
|
}
|
|
145
153
|
/**
|
|
146
154
|
* Base SignIn component that provides generic authentication flow.
|
|
@@ -22,7 +22,6 @@ import { EmbeddedFlowComponent } from '@asgardeo/browser';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const renderSignInComponents: (components: EmbeddedFlowComponent[], formValues: Record<string, string>, touchedFields: Record<string, boolean>, formErrors: Record<string, string>, isLoading: boolean, isFormValid: boolean, onInputChange: (name: string, value: string) => void, options?: {
|
|
24
24
|
buttonClassName?: string;
|
|
25
|
-
error?: string | null;
|
|
26
25
|
inputClassName?: string;
|
|
27
26
|
onInputBlur?: (name: string) => void;
|
|
28
27
|
onSubmit?: (component: EmbeddedFlowComponent, data?: Record<string, any>) => void;
|
|
@@ -81,6 +81,18 @@ export interface BaseSignInProps {
|
|
|
81
81
|
* Theme variant for the component.
|
|
82
82
|
*/
|
|
83
83
|
variant?: CardProps['variant'];
|
|
84
|
+
/**
|
|
85
|
+
* Whether to show the title.
|
|
86
|
+
*/
|
|
87
|
+
showTitle?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Whether to show the subtitle.
|
|
90
|
+
*/
|
|
91
|
+
showSubtitle?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Whether to show the logo.
|
|
94
|
+
*/
|
|
95
|
+
showLogo?: boolean;
|
|
84
96
|
}
|
|
85
97
|
/**
|
|
86
98
|
* Base SignIn component that provides native authentication flow.
|
|
@@ -149,6 +149,18 @@ export interface BaseSignUpProps {
|
|
|
149
149
|
* Render props function for custom UI
|
|
150
150
|
*/
|
|
151
151
|
children?: (props: BaseSignUpRenderProps) => ReactNode;
|
|
152
|
+
/**
|
|
153
|
+
* Whether to show the title.
|
|
154
|
+
*/
|
|
155
|
+
showTitle?: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Whether to show the subtitle.
|
|
158
|
+
*/
|
|
159
|
+
showSubtitle?: boolean;
|
|
160
|
+
/**
|
|
161
|
+
* Whether to show the logo.
|
|
162
|
+
*/
|
|
163
|
+
showLogo?: boolean;
|
|
152
164
|
}
|
|
153
165
|
/**
|
|
154
166
|
* Base SignUp component that provides embedded sign-up flow.
|