@descope/flow-components 2.0.405 → 2.0.407

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/index.cjs.js CHANGED
@@ -295,8 +295,11 @@ const NOTPLink = React__default.default.forwardRef(({ ...props }, ref) => {
295
295
  /* eslint-disable @typescript-eslint/no-unused-vars */
296
296
  const UploadFile = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-upload-file", { ref: ref, ...props }));
297
297
 
298
+ const defaultText$1 = 'This site is protected by reCAPTCHA and the Google [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms) apply.';
299
+ const Recaptcha = React__default.default.forwardRef(({ variant, textLabel = defaultText$1, textVariant = 'body1', textMode = 'primary', textAlign = 'left', 'full-width': fullWidth, readOnly, ...props }, ref) => (React__default.default.createElement("descope-recaptcha", { ref: ref, ...props, "full-width": fullWidth }, variant === 'text' ? (React__default.default.createElement("descope-enriched-text", { "full-width": fullWidth, readonly: readOnly, variant: textVariant, mode: textMode, "text-align": textAlign }, textLabel)) : null)));
300
+
298
301
  const defaultText = 'This site is protected by reCAPTCHA and the Google [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms) apply.';
299
- const Recaptcha = React__default.default.forwardRef(({ variant, textLabel = defaultText, textVariant = 'body1', textMode = 'primary', textAlign = 'left', 'full-width': fullWidth, readOnly, ...props }, ref) => (React__default.default.createElement("descope-recaptcha", { ref: ref, ...props, "full-width": fullWidth }, variant === 'text' ? (React__default.default.createElement("descope-enriched-text", { "full-width": fullWidth, readonly: readOnly, variant: textVariant, mode: textMode, "text-align": textAlign }, textLabel)) : null)));
302
+ const RecaptchaV2 = React__default.default.forwardRef(({ textLabel = defaultText, textVariant = 'body1', textMode = 'primary', textAlign = 'left', 'full-width': fullWidth, readOnly, connector, enterprise, action, ...props }, ref) => (React__default.default.createElement("descope-enriched-text", { ref: ref, "full-width": fullWidth, readonly: readOnly, variant: textVariant, mode: textMode, "text-align": textAlign, ...props }, textLabel)));
300
303
 
301
304
  const ButtonSelectionGroup = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-button-selection-group", { ...props, ref: ref }));
302
305
  ButtonSelectionGroup.defaultProps = {
@@ -526,6 +529,7 @@ exports.NumberField = NumberField;
526
529
  exports.Password = Password;
527
530
  exports.Phone = Phone;
528
531
  exports.Recaptcha = Recaptcha;
532
+ exports.RecaptchaV2 = RecaptchaV2;
529
533
  exports.SAMLGroupMappings = SAMLGroupMappings;
530
534
  exports.ScopesList = ScopesList;
531
535
  exports.SecurityQuestionsSetup = SecurityQuestionsSetup;
package/dist/index.d.ts CHANGED
@@ -51,8 +51,8 @@ declare const Switch: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "r
51
51
  type BooleanType = {
52
52
  type: 'switch' | 'checkbox';
53
53
  };
54
- type Props$D = React.ComponentProps<typeof Checkbox> & React.ComponentProps<typeof Switch> & BooleanType;
55
- declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$D, "ref"> & React.RefAttributes<HTMLInputElement>>;
54
+ type Props$E = React.ComponentProps<typeof Checkbox> & React.ComponentProps<typeof Switch> & BooleanType;
55
+ declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$E, "ref"> & React.RefAttributes<HTMLInputElement>>;
56
56
 
57
57
  declare global {
58
58
  namespace JSX {
@@ -66,17 +66,17 @@ declare global {
66
66
  }
67
67
  declare const Button: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLButtonElement>>;
68
68
 
69
- type Props$C = {
69
+ type Props$D = {
70
70
  digits?: number;
71
71
  };
72
72
  declare global {
73
73
  namespace JSX {
74
74
  interface IntrinsicElements {
75
- 'descope-passcode': DescopeInputProps & Props$C;
75
+ 'descope-passcode': DescopeInputProps & Props$D;
76
76
  }
77
77
  }
78
78
  }
79
- declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$C, "ref"> & React.RefAttributes<HTMLInputElement>>;
79
+ declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$D, "ref"> & React.RefAttributes<HTMLInputElement>>;
80
80
 
81
81
  type Never<T extends Record<string, any>> = {
82
82
  [K in keyof T]: never;
@@ -92,7 +92,7 @@ type ContainerAlignment = {
92
92
  'vertical-alignment'?: FlexAlignment;
93
93
  'space-between'?: 'sm' | 'md' | 'lg';
94
94
  };
95
- type Props$B = {
95
+ type Props$C = {
96
96
  direction?: 'row' | 'column';
97
97
  shadow?: 'md' | 'lg' | 'xl' | '2xl';
98
98
  'border-radius'?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
@@ -109,9 +109,9 @@ declare global {
109
109
  }
110
110
  }
111
111
  }
112
- declare const Container: React.ForwardRefExoticComponent<(Props$B & React.HTMLAttributes<HTMLDivElement>) & React.RefAttributes<HTMLDivElement>>;
112
+ declare const Container: React.ForwardRefExoticComponent<(Props$C & React.HTMLAttributes<HTMLDivElement>) & React.RefAttributes<HTMLDivElement>>;
113
113
 
114
- type Props$A = {
114
+ type Props$B = {
115
115
  vertical?: boolean;
116
116
  italic?: boolean;
117
117
  variant?: TypographyVariants;
@@ -121,15 +121,15 @@ type Props$A = {
121
121
  declare global {
122
122
  namespace JSX {
123
123
  interface IntrinsicElements {
124
- 'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$A, 'children'>;
124
+ 'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$B, 'children'>;
125
125
  }
126
126
  }
127
127
  }
128
- declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<any, "size"> & Props$A, "ref"> & React.RefAttributes<HTMLDivElement>>;
128
+ declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<any, "size"> & Props$B, "ref"> & React.RefAttributes<HTMLDivElement>>;
129
129
 
130
130
  declare const ReactComponent: (props: SVGProps<SVGSVGElement>) => JSX.Element;
131
131
 
132
- type Props$z = {
132
+ type Props$A = {
133
133
  width?: string;
134
134
  height?: string;
135
135
  alt?: string;
@@ -138,15 +138,15 @@ type Props$z = {
138
138
  declare global {
139
139
  namespace JSX {
140
140
  interface IntrinsicElements {
141
- 'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$z;
141
+ 'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$A;
142
142
  }
143
143
  }
144
144
  }
145
- declare const Image: React.ForwardRefExoticComponent<Props$z & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
145
+ declare const Image: React.ForwardRefExoticComponent<Props$A & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
146
146
 
147
147
  declare const Input: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
148
148
 
149
- type Props$y = {
149
+ type Props$z = {
150
150
  href?: string | undefined;
151
151
  italic?: boolean;
152
152
  variant?: TypographyVariants;
@@ -158,18 +158,18 @@ type Props$y = {
158
158
  declare global {
159
159
  namespace JSX {
160
160
  interface IntrinsicElements {
161
- 'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$y, 'children'>;
161
+ 'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$z, 'children'>;
162
162
  }
163
163
  }
164
164
  }
165
- declare const Link: React.ForwardRefExoticComponent<Props$y & React.RefAttributes<HTMLAnchorElement>>;
165
+ declare const Link: React.ForwardRefExoticComponent<Props$z & React.RefAttributes<HTMLAnchorElement>>;
166
166
 
167
- type Props$x = {
167
+ type Props$y = {
168
168
  variant?: 'linear' | 'radial';
169
169
  size?: 'xs' | 'sm' | 'md' | 'lg';
170
170
  color?: Mode;
171
171
  };
172
- type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$x>;
172
+ type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$y>;
173
173
  declare global {
174
174
  namespace JSX {
175
175
  interface IntrinsicElements {
@@ -178,22 +178,22 @@ declare global {
178
178
  }
179
179
  }
180
180
  }
181
- declare const Loader: React.ForwardRefExoticComponent<Props$x & React.RefAttributes<HTMLDivElement>>;
181
+ declare const Loader: React.ForwardRefExoticComponent<Props$y & React.RefAttributes<HTMLDivElement>>;
182
182
 
183
- type Props$w = {
183
+ type Props$x = {
184
184
  width?: string;
185
185
  height?: string;
186
186
  };
187
187
  declare global {
188
188
  namespace JSX {
189
189
  interface IntrinsicElements {
190
- 'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$w>;
190
+ 'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$x>;
191
191
  }
192
192
  }
193
193
  }
194
- declare const Logo: React.ForwardRefExoticComponent<Props$w & React.RefAttributes<HTMLDivElement>>;
194
+ declare const Logo: React.ForwardRefExoticComponent<Props$x & React.RefAttributes<HTMLDivElement>>;
195
195
 
196
- type Props$v = {
196
+ type Props$w = {
197
197
  'password-label'?: string;
198
198
  'password-placeholder'?: string;
199
199
  'confirm-label'?: string;
@@ -219,11 +219,11 @@ type Props$v = {
219
219
  declare global {
220
220
  namespace JSX {
221
221
  interface IntrinsicElements {
222
- 'descope-new-password': DescopeInputProps & Props$v;
222
+ 'descope-new-password': DescopeInputProps & Props$w;
223
223
  }
224
224
  }
225
225
  }
226
- declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$v, "ref"> & React.RefAttributes<HTMLInputElement>>;
226
+ declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$w, "ref"> & React.RefAttributes<HTMLInputElement>>;
227
227
 
228
228
  declare global {
229
229
  namespace JSX {
@@ -243,16 +243,16 @@ declare global {
243
243
  }
244
244
  declare const Password: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
245
245
 
246
- type Props$u = {
246
+ type Props$v = {
247
247
  variant: 'countrySelection' | 'inputBox';
248
248
  'default-code'?: string;
249
249
  'phone-input-placeholder'?: string;
250
250
  'country-input-placeholder'?: string;
251
251
  'restrict-countries'?: string;
252
252
  } & DescopeInputProps;
253
- declare const Phone: React.ForwardRefExoticComponent<Omit<Props$u, "ref"> & React.RefAttributes<HTMLInputElement>>;
253
+ declare const Phone: React.ForwardRefExoticComponent<Omit<Props$v, "ref"> & React.RefAttributes<HTMLInputElement>>;
254
254
 
255
- type Props$t = {
255
+ type Props$u = {
256
256
  children?: JSX.Element[];
257
257
  data?: string | Record<string, string>[];
258
258
  };
@@ -265,9 +265,9 @@ declare global {
265
265
  }
266
266
  }
267
267
  }
268
- declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$t, "ref"> & React.RefAttributes<HTMLInputElement>>;
268
+ declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$u, "ref"> & React.RefAttributes<HTMLInputElement>>;
269
269
 
270
- type Props$s = {
270
+ type Props$t = {
271
271
  italic?: boolean;
272
272
  variant?: string;
273
273
  mode?: string;
@@ -279,14 +279,14 @@ type Props$s = {
279
279
  declare global {
280
280
  namespace JSX {
281
281
  interface IntrinsicElements {
282
- 'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$s;
283
- 'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$s & {
282
+ 'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$t;
283
+ 'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$t & {
284
284
  readonly?: boolean;
285
285
  };
286
286
  }
287
287
  }
288
288
  }
289
- declare const Text: React.ForwardRefExoticComponent<Omit<Props$s & {
289
+ declare const Text: React.ForwardRefExoticComponent<Omit<Props$t & {
290
290
  typography?: TypographyVariants;
291
291
  } & Omit<React.HTMLProps<HTMLSpanElement>, "mode">, "ref"> & React.RefAttributes<HTMLElement>>;
292
292
 
@@ -308,39 +308,39 @@ declare global {
308
308
  }
309
309
  declare const TextField: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
310
310
 
311
- type Props$r = {
311
+ type Props$s = {
312
312
  width?: string;
313
313
  height?: string;
314
314
  };
315
315
  declare global {
316
316
  namespace JSX {
317
317
  interface IntrinsicElements {
318
- 'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$r>;
318
+ 'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$s>;
319
319
  }
320
320
  }
321
321
  }
322
- declare const TOTPImage: React.ForwardRefExoticComponent<Props$r & React.RefAttributes<HTMLDivElement>>;
322
+ declare const TOTPImage: React.ForwardRefExoticComponent<Props$s & React.RefAttributes<HTMLDivElement>>;
323
323
 
324
- type Props$q = Omit<React.ComponentProps<typeof Link>, 'href'>;
325
- declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$q, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
324
+ type Props$r = Omit<React.ComponentProps<typeof Link>, 'href'>;
325
+ declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$r, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
326
326
 
327
- type Props$p = {
327
+ type Props$q = {
328
328
  width?: string;
329
329
  height?: string;
330
330
  };
331
331
  declare global {
332
332
  namespace JSX {
333
333
  interface IntrinsicElements {
334
- 'descope-notp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$p>;
334
+ 'descope-notp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$q>;
335
335
  }
336
336
  }
337
337
  }
338
- declare const NOTPImage: React.ForwardRefExoticComponent<Props$p & React.RefAttributes<HTMLDivElement>>;
338
+ declare const NOTPImage: React.ForwardRefExoticComponent<Props$q & React.RefAttributes<HTMLDivElement>>;
339
339
 
340
- type Props$o = Omit<React.ComponentProps<typeof Link>, 'href'>;
341
- declare const NOTPLink: React.ForwardRefExoticComponent<Omit<Props$o, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
340
+ type Props$p = Omit<React.ComponentProps<typeof Link>, 'href'>;
341
+ declare const NOTPLink: React.ForwardRefExoticComponent<Omit<Props$p, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
342
342
 
343
- type Props$n = {
343
+ type Props$o = {
344
344
  title?: string;
345
345
  description?: string;
346
346
  icon?: string;
@@ -359,13 +359,13 @@ type Props$n = {
359
359
  declare global {
360
360
  namespace JSX {
361
361
  interface IntrinsicElements {
362
- 'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$n;
362
+ 'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$o;
363
363
  }
364
364
  }
365
365
  }
366
- declare const UploadFile: React.ForwardRefExoticComponent<Props$n & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
366
+ declare const UploadFile: React.ForwardRefExoticComponent<Props$o & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
367
367
 
368
- type Props$m = {
368
+ type Props$n = {
369
369
  enabled?: boolean;
370
370
  'site-key'?: string;
371
371
  enterprise?: boolean;
@@ -384,11 +384,24 @@ declare global {
384
384
  }
385
385
  namespace JSX {
386
386
  interface IntrinsicElements {
387
- 'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$m;
387
+ 'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$n;
388
388
  }
389
389
  }
390
390
  }
391
- declare const Recaptcha: React.ForwardRefExoticComponent<Props$m & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
391
+ declare const Recaptcha: React.ForwardRefExoticComponent<Props$n & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
392
+
393
+ type Props$m = {
394
+ connector?: string;
395
+ enterprise?: boolean;
396
+ action?: string;
397
+ textLabel?: string;
398
+ textVariant?: TypographyVariants;
399
+ textMode?: Mode;
400
+ textAlign?: TextAlign;
401
+ 'full-width'?: boolean;
402
+ readOnly?: boolean;
403
+ };
404
+ declare const RecaptchaV2: React.ForwardRefExoticComponent<Props$m & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
392
405
 
393
406
  type Props$l = DescopeInputProps & {
394
407
  'default-value'?: string;
@@ -872,4 +885,4 @@ declare global {
872
885
  }
873
886
  declare const Alert: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLElement>>;
874
887
 
875
- export { Alert, AppsList, Avatar, Badge, Boolean, Button, Checkbox, Code, CodeSnippet, ComboBox, Container, DateField, Divider, Grid, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, HybridField, Image, Input, Link, List, ListItem, Loader, Logo, MappingsField, Modal, MultiSelect, NOTPImage, NOTPLink, NewPassword, NumberField, Password, Phone, Recaptcha, SAMLGroupMappings, ScopesList, SecurityQuestionsSetup, SecurityQuestionsVerify, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, ThirdPartyAppLogo, UploadFile, UserAttribute, UserAuthMethod, ReactComponent as apple, ReactComponent as authenticator, ReactComponent as discord, ReactComponent as edit, ReactComponent as facebook, ReactComponent as fingerprint, ReactComponent as github, ReactComponent as gitlab, ReactComponent as google, ReactComponent as linkedin, ReactComponent as microsoft, ReactComponent as passkey, ReactComponent as password, ReactComponent as plus, ReactComponent as reload, ReactComponent as slack, ReactComponent as sso, ReactComponent as whatsapp };
888
+ export { Alert, AppsList, Avatar, Badge, Boolean, Button, Checkbox, Code, CodeSnippet, ComboBox, Container, DateField, Divider, Grid, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, HybridField, Image, Input, Link, List, ListItem, Loader, Logo, MappingsField, Modal, MultiSelect, NOTPImage, NOTPLink, NewPassword, NumberField, Password, Phone, Recaptcha, RecaptchaV2, SAMLGroupMappings, ScopesList, SecurityQuestionsSetup, SecurityQuestionsVerify, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, ThirdPartyAppLogo, UploadFile, UserAttribute, UserAuthMethod, ReactComponent as apple, ReactComponent as authenticator, ReactComponent as discord, ReactComponent as edit, ReactComponent as facebook, ReactComponent as fingerprint, ReactComponent as github, ReactComponent as gitlab, ReactComponent as google, ReactComponent as linkedin, ReactComponent as microsoft, ReactComponent as passkey, ReactComponent as password, ReactComponent as plus, ReactComponent as reload, ReactComponent as slack, ReactComponent as sso, ReactComponent as whatsapp };
package/dist/index.esm.js CHANGED
@@ -289,8 +289,11 @@ const NOTPLink = React.forwardRef(({ ...props }, ref) => {
289
289
  /* eslint-disable @typescript-eslint/no-unused-vars */
290
290
  const UploadFile = React.forwardRef((props, ref) => React.createElement("descope-upload-file", { ref: ref, ...props }));
291
291
 
292
+ const defaultText$1 = 'This site is protected by reCAPTCHA and the Google [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms) apply.';
293
+ const Recaptcha = React.forwardRef(({ variant, textLabel = defaultText$1, textVariant = 'body1', textMode = 'primary', textAlign = 'left', 'full-width': fullWidth, readOnly, ...props }, ref) => (React.createElement("descope-recaptcha", { ref: ref, ...props, "full-width": fullWidth }, variant === 'text' ? (React.createElement("descope-enriched-text", { "full-width": fullWidth, readonly: readOnly, variant: textVariant, mode: textMode, "text-align": textAlign }, textLabel)) : null)));
294
+
292
295
  const defaultText = 'This site is protected by reCAPTCHA and the Google [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms) apply.';
293
- const Recaptcha = React.forwardRef(({ variant, textLabel = defaultText, textVariant = 'body1', textMode = 'primary', textAlign = 'left', 'full-width': fullWidth, readOnly, ...props }, ref) => (React.createElement("descope-recaptcha", { ref: ref, ...props, "full-width": fullWidth }, variant === 'text' ? (React.createElement("descope-enriched-text", { "full-width": fullWidth, readonly: readOnly, variant: textVariant, mode: textMode, "text-align": textAlign }, textLabel)) : null)));
296
+ const RecaptchaV2 = React.forwardRef(({ textLabel = defaultText, textVariant = 'body1', textMode = 'primary', textAlign = 'left', 'full-width': fullWidth, readOnly, connector, enterprise, action, ...props }, ref) => (React.createElement("descope-enriched-text", { ref: ref, "full-width": fullWidth, readonly: readOnly, variant: textVariant, mode: textMode, "text-align": textAlign, ...props }, textLabel)));
294
297
 
295
298
  const ButtonSelectionGroup = React.forwardRef((props, ref) => React.createElement("descope-button-selection-group", { ...props, ref: ref }));
296
299
  ButtonSelectionGroup.defaultProps = {
@@ -484,4 +487,4 @@ HybridField.defaultProps = {
484
487
 
485
488
  const Alert = React.forwardRef(({ children, ...props }, ref) => (React.createElement("descope-alert", { ...props, ref: ref }, children)));
486
489
 
487
- export { Alert, AppsList, Avatar, Badge, Boolean, Button, Checkbox, Code, CodeSnippet, ComboBox, Container, DateField, Divider, Grid, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, HybridField, Image, Input, Link, List, ListItem, Loader, Logo, MappingsField, Modal, MultiSelect, NOTPImage, NOTPLink, NewPassword, NumberField, Password, Phone, Recaptcha, SAMLGroupMappings, ScopesList, SecurityQuestionsSetup, SecurityQuestionsVerify, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, ThirdPartyAppLogo, UploadFile, UserAttribute, UserAuthMethod, apple, authenticator, discord, edit, facebook, fingerprint, github, gitlab, google, linkedin, microsoft, passkey, password, plus, reload, slack, sso, whatsapp };
490
+ export { Alert, AppsList, Avatar, Badge, Boolean, Button, Checkbox, Code, CodeSnippet, ComboBox, Container, DateField, Divider, Grid, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, HybridField, Image, Input, Link, List, ListItem, Loader, Logo, MappingsField, Modal, MultiSelect, NOTPImage, NOTPLink, NewPassword, NumberField, Password, Phone, Recaptcha, RecaptchaV2, SAMLGroupMappings, ScopesList, SecurityQuestionsSetup, SecurityQuestionsVerify, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, ThirdPartyAppLogo, UploadFile, UserAttribute, UserAuthMethod, apple, authenticator, discord, edit, facebook, fingerprint, github, gitlab, google, linkedin, microsoft, passkey, password, plus, reload, slack, sso, whatsapp };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "2.0.405",
3
+ "version": "2.0.407",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",