@asgardeo/react 0.6.2 → 0.6.4

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.
@@ -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.
@@ -29,7 +29,6 @@ declare const useStyles: (theme: Theme, colorScheme: string) => {
29
29
  header: string;
30
30
  title: string;
31
31
  subtitle: string;
32
- messagesContainer: string;
33
32
  messageItem: string;
34
33
  errorContainer: string;
35
34
  contentContainer: string;