@descope/flow-components 3.9.1 → 3.10.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/dist/fm/222.js +1 -1
- package/dist/fm/222.js.map +1 -1
- package/dist/fm/467.js +1 -1
- package/dist/fm/467.js.map +1 -1
- package/dist/fm/741.js +2 -0
- package/dist/fm/741.js.map +1 -0
- package/dist/fm/985.js +1 -1
- package/dist/fm/985.js.map +1 -1
- package/dist/fm/@mf-types/compiled-types/MultiLineMappings/MultiLineMappings.d.ts +31 -0
- package/dist/fm/@mf-types/compiled-types/MultiLineMappings/index.d.ts +1 -0
- package/dist/fm/@mf-types/compiled-types/NewPassword/NewPassword.d.ts +4 -0
- package/dist/fm/@mf-types/compiled-types/componentClasses.d.ts +1 -0
- package/dist/fm/@mf-types/compiled-types/components.d.ts +1 -0
- package/dist/fm/__federation_expose_componentClasses.js +1 -1
- package/dist/fm/__federation_expose_componentClasses.js.map +1 -1
- package/dist/fm/__federation_expose_components.js +1 -1
- package/dist/fm/__federation_expose_theme.js +1 -1
- package/dist/fm/__federation_expose_theme.js.map +1 -1
- package/dist/fm/flowComponents.js +1 -1
- package/dist/fm/flowComponents.js.map +1 -1
- package/dist/fm/main.js +1 -1
- package/dist/fm/main.js.map +1 -1
- package/dist/fm/mf-manifest.json +2 -2
- package/dist/fm/mf-stats.json +2 -2
- package/dist/index.cjs.js +130 -19
- package/dist/index.d.ts +109 -74
- package/dist/index.esm.js +56 -13
- package/dist/types/MultiLineMappings/MultiLineMappings.d.ts +31 -0
- package/dist/types/MultiLineMappings/index.d.ts +1 -0
- package/dist/types/NewPassword/NewPassword.d.ts +4 -0
- package/dist/types/componentClasses.d.ts +1 -0
- package/dist/types/components.d.ts +1 -0
- package/package.json +2 -2
- package/dist/fm/477.js +0 -2
- package/dist/fm/477.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ declare const NotificationClass: ComponentClass;
|
|
|
43
43
|
declare const GridClass: ComponentClass;
|
|
44
44
|
declare const BadgeClass: ComponentClass;
|
|
45
45
|
declare const MultiSelectComboBoxClass: ComponentClass;
|
|
46
|
+
declare const MultiLineMappingsClass: ComponentClass;
|
|
46
47
|
declare const AvatarClass: ComponentClass;
|
|
47
48
|
declare const UserAttributeClass: ComponentClass;
|
|
48
49
|
declare const UserAuthMethodClass: ComponentClass;
|
|
@@ -126,11 +127,11 @@ declare const Switch: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "r
|
|
|
126
127
|
type BooleanType = {
|
|
127
128
|
type: 'switch' | 'checkbox';
|
|
128
129
|
};
|
|
129
|
-
type Props$
|
|
130
|
-
declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$
|
|
130
|
+
type Props$Q = React.ComponentProps<typeof Checkbox> & React.ComponentProps<typeof Switch> & BooleanType;
|
|
131
|
+
declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$Q, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
131
132
|
|
|
132
133
|
type TooltipPosition = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'start' | 'start-top' | 'start-bottom' | 'end' | 'end-top' | 'end-bottom';
|
|
133
|
-
type Props$
|
|
134
|
+
type Props$P = {
|
|
134
135
|
text?: string;
|
|
135
136
|
position?: TooltipPosition;
|
|
136
137
|
hoverDelay?: number;
|
|
@@ -148,11 +149,11 @@ declare module 'react' {
|
|
|
148
149
|
declare global {
|
|
149
150
|
namespace React.JSX {
|
|
150
151
|
interface IntrinsicElements {
|
|
151
|
-
'descope-tooltip': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
152
|
+
'descope-tooltip': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$P;
|
|
152
153
|
}
|
|
153
154
|
}
|
|
154
155
|
}
|
|
155
|
-
declare const Tooltip: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement, unknown> & Props$
|
|
156
|
+
declare const Tooltip: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement, unknown> & Props$P & React.RefAttributes<HTMLElement>>;
|
|
156
157
|
|
|
157
158
|
interface ITooltip {
|
|
158
159
|
hasTooltip?: boolean;
|
|
@@ -189,17 +190,17 @@ declare const Button: React.ForwardRefExoticComponent<Omit<React.ClassAttributes
|
|
|
189
190
|
'data-name'?: string;
|
|
190
191
|
} & ITooltip, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
191
192
|
|
|
192
|
-
type Props$
|
|
193
|
+
type Props$O = {
|
|
193
194
|
digits?: number;
|
|
194
195
|
};
|
|
195
196
|
declare global {
|
|
196
197
|
namespace React.JSX {
|
|
197
198
|
interface IntrinsicElements {
|
|
198
|
-
'descope-passcode': DescopeInputProps & Props$
|
|
199
|
+
'descope-passcode': DescopeInputProps & Props$O;
|
|
199
200
|
}
|
|
200
201
|
}
|
|
201
202
|
}
|
|
202
|
-
declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
203
|
+
declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$O, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
203
204
|
|
|
204
205
|
type Never$1<T extends Record<string, any>> = {
|
|
205
206
|
[K in keyof T]: never;
|
|
@@ -215,7 +216,7 @@ type ContainerAlignment$1 = {
|
|
|
215
216
|
'vertical-alignment'?: FlexAlignment;
|
|
216
217
|
'space-between'?: 'sm' | 'md' | 'lg';
|
|
217
218
|
};
|
|
218
|
-
type Props$
|
|
219
|
+
type Props$N = {
|
|
219
220
|
direction?: 'row' | 'column';
|
|
220
221
|
shadow?: 'md' | 'lg' | 'xl' | '2xl';
|
|
221
222
|
borderRadius?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
@@ -233,9 +234,9 @@ declare global {
|
|
|
233
234
|
}
|
|
234
235
|
}
|
|
235
236
|
}
|
|
236
|
-
declare const Container$1: React.ForwardRefExoticComponent<(Props$
|
|
237
|
+
declare const Container$1: React.ForwardRefExoticComponent<(Props$N & React.HTMLAttributes<HTMLDivElement, unknown>) & React.RefAttributes<HTMLDivElement>>;
|
|
237
238
|
|
|
238
|
-
type Props$
|
|
239
|
+
type Props$M = {
|
|
239
240
|
vertical?: boolean;
|
|
240
241
|
italic?: boolean;
|
|
241
242
|
variant?: TypographyVariants;
|
|
@@ -245,15 +246,15 @@ type Props$L = {
|
|
|
245
246
|
declare global {
|
|
246
247
|
namespace React.JSX {
|
|
247
248
|
interface IntrinsicElements {
|
|
248
|
-
'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$
|
|
249
|
+
'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$M, 'children'>;
|
|
249
250
|
}
|
|
250
251
|
}
|
|
251
252
|
}
|
|
252
|
-
declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement, unknown>, HTMLDivElement>, "size"> & Props$
|
|
253
|
+
declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement, unknown>, HTMLDivElement>, "size"> & Props$M, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
253
254
|
|
|
254
255
|
declare const ReactComponent: (props: SVGProps) => React.JSX.Element;
|
|
255
256
|
|
|
256
|
-
type Props$
|
|
257
|
+
type Props$L = {
|
|
257
258
|
width?: string;
|
|
258
259
|
height?: string;
|
|
259
260
|
alt?: string;
|
|
@@ -263,7 +264,7 @@ type Props$K = {
|
|
|
263
264
|
declare global {
|
|
264
265
|
namespace React.JSX {
|
|
265
266
|
interface IntrinsicElements {
|
|
266
|
-
'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
267
|
+
'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$L;
|
|
267
268
|
}
|
|
268
269
|
}
|
|
269
270
|
}
|
|
@@ -277,7 +278,7 @@ declare const Image: React.ForwardRefExoticComponent<{
|
|
|
277
278
|
|
|
278
279
|
declare const Input: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
279
280
|
|
|
280
|
-
type Props$
|
|
281
|
+
type Props$K = {
|
|
281
282
|
href?: string | undefined;
|
|
282
283
|
italic?: boolean;
|
|
283
284
|
variant?: TypographyVariants;
|
|
@@ -289,7 +290,7 @@ type Props$J = {
|
|
|
289
290
|
declare global {
|
|
290
291
|
namespace React.JSX {
|
|
291
292
|
interface IntrinsicElements {
|
|
292
|
-
'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$
|
|
293
|
+
'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$K, 'children'>;
|
|
293
294
|
}
|
|
294
295
|
}
|
|
295
296
|
}
|
|
@@ -303,12 +304,12 @@ declare const Link: React.ForwardRefExoticComponent<{
|
|
|
303
304
|
children?: React.ReactNode;
|
|
304
305
|
} & ITooltip & React.RefAttributes<HTMLAnchorElement>>;
|
|
305
306
|
|
|
306
|
-
type Props$
|
|
307
|
+
type Props$J = {
|
|
307
308
|
variant?: 'linear' | 'radial';
|
|
308
309
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
309
310
|
color?: Mode;
|
|
310
311
|
};
|
|
311
|
-
type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
312
|
+
type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$J>;
|
|
312
313
|
declare global {
|
|
313
314
|
namespace React.JSX {
|
|
314
315
|
interface IntrinsicElements {
|
|
@@ -317,22 +318,22 @@ declare global {
|
|
|
317
318
|
}
|
|
318
319
|
}
|
|
319
320
|
}
|
|
320
|
-
declare const Loader: React.ForwardRefExoticComponent<Props$
|
|
321
|
+
declare const Loader: React.ForwardRefExoticComponent<Props$J & React.RefAttributes<HTMLDivElement>>;
|
|
321
322
|
|
|
322
|
-
type Props$
|
|
323
|
+
type Props$I = {
|
|
323
324
|
width?: string;
|
|
324
325
|
height?: string;
|
|
325
326
|
};
|
|
326
327
|
declare global {
|
|
327
328
|
namespace React.JSX {
|
|
328
329
|
interface IntrinsicElements {
|
|
329
|
-
'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
330
|
+
'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$I>;
|
|
330
331
|
}
|
|
331
332
|
}
|
|
332
333
|
}
|
|
333
|
-
declare const Logo: React.ForwardRefExoticComponent<Props$
|
|
334
|
+
declare const Logo: React.ForwardRefExoticComponent<Props$I & React.RefAttributes<HTMLDivElement>>;
|
|
334
335
|
|
|
335
|
-
type Props$
|
|
336
|
+
type Props$H = {
|
|
336
337
|
'password-label'?: string;
|
|
337
338
|
'password-placeholder'?: string;
|
|
338
339
|
'confirm-label'?: string;
|
|
@@ -354,18 +355,22 @@ type Props$G = {
|
|
|
354
355
|
'data-password-policy-message-number'?: string;
|
|
355
356
|
'data-password-policy-message-nonalphanumeric'?: string;
|
|
356
357
|
'data-password-policy-message-passwordstrength'?: string;
|
|
358
|
+
'data-password-policy-message-disallowedchars'?: string;
|
|
359
|
+
'data-password-policy-message-disallowemail'?: string;
|
|
357
360
|
'data-password-policy-value-minlength'?: string;
|
|
361
|
+
'data-password-policy-value-disallowedchars'?: string;
|
|
362
|
+
'data-password-policy-value-email'?: string;
|
|
358
363
|
'st-policy-preview-background-color'?: string;
|
|
359
364
|
'st-policy-preview-padding'?: string;
|
|
360
365
|
};
|
|
361
366
|
declare global {
|
|
362
367
|
namespace React.JSX {
|
|
363
368
|
interface IntrinsicElements {
|
|
364
|
-
'descope-new-password': DescopeInputProps & Props$
|
|
369
|
+
'descope-new-password': DescopeInputProps & Props$H;
|
|
365
370
|
}
|
|
366
371
|
}
|
|
367
372
|
}
|
|
368
|
-
declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
373
|
+
declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$H, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
369
374
|
|
|
370
375
|
declare global {
|
|
371
376
|
namespace React.JSX {
|
|
@@ -385,7 +390,7 @@ declare global {
|
|
|
385
390
|
}
|
|
386
391
|
declare const Password: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
387
392
|
|
|
388
|
-
type Props$
|
|
393
|
+
type Props$G = {
|
|
389
394
|
variant: 'countrySelection' | 'inputBox';
|
|
390
395
|
'default-code'?: string;
|
|
391
396
|
'phone-input-placeholder'?: string;
|
|
@@ -394,9 +399,9 @@ type Props$F = {
|
|
|
394
399
|
'format-value'?: boolean;
|
|
395
400
|
'strict-validation'?: boolean;
|
|
396
401
|
} & DescopeInputProps;
|
|
397
|
-
declare const Phone: React.ForwardRefExoticComponent<Omit<Props$
|
|
402
|
+
declare const Phone: React.ForwardRefExoticComponent<Omit<Props$G, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
398
403
|
|
|
399
|
-
type Props$
|
|
404
|
+
type Props$F = {
|
|
400
405
|
children?: React.JSX.Element[];
|
|
401
406
|
data?: string | Record<string, string>[];
|
|
402
407
|
};
|
|
@@ -409,9 +414,9 @@ declare global {
|
|
|
409
414
|
}
|
|
410
415
|
}
|
|
411
416
|
}
|
|
412
|
-
declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
417
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$F, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
413
418
|
|
|
414
|
-
type Props$
|
|
419
|
+
type Props$E = {
|
|
415
420
|
italic?: boolean;
|
|
416
421
|
variant?: string;
|
|
417
422
|
mode?: string;
|
|
@@ -423,8 +428,8 @@ type Props$D = {
|
|
|
423
428
|
declare global {
|
|
424
429
|
namespace React.JSX {
|
|
425
430
|
interface IntrinsicElements {
|
|
426
|
-
'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
427
|
-
'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
431
|
+
'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$E;
|
|
432
|
+
'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$E & {
|
|
428
433
|
readonly?: boolean;
|
|
429
434
|
};
|
|
430
435
|
}
|
|
@@ -460,7 +465,7 @@ declare global {
|
|
|
460
465
|
}
|
|
461
466
|
declare const TextField: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
462
467
|
|
|
463
|
-
type Props$
|
|
468
|
+
type Props$D = {
|
|
464
469
|
width?: string;
|
|
465
470
|
height?: string;
|
|
466
471
|
component?: 'code' | 'text';
|
|
@@ -473,7 +478,7 @@ type Props$C = {
|
|
|
473
478
|
declare global {
|
|
474
479
|
namespace React.JSX {
|
|
475
480
|
interface IntrinsicElements {
|
|
476
|
-
'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
481
|
+
'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$D>;
|
|
477
482
|
}
|
|
478
483
|
}
|
|
479
484
|
}
|
|
@@ -488,26 +493,26 @@ declare const TOTPImage: React.ForwardRefExoticComponent<{
|
|
|
488
493
|
'hide-when-empty'?: boolean;
|
|
489
494
|
} & ITooltip & React.RefAttributes<HTMLDivElement>>;
|
|
490
495
|
|
|
491
|
-
type Props$
|
|
492
|
-
declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$
|
|
496
|
+
type Props$C = Omit<React.ComponentProps<typeof Link>, 'href'>;
|
|
497
|
+
declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$C, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
493
498
|
|
|
494
|
-
type Props$
|
|
499
|
+
type Props$B = {
|
|
495
500
|
width?: string;
|
|
496
501
|
height?: string;
|
|
497
502
|
};
|
|
498
503
|
declare global {
|
|
499
504
|
namespace React.JSX {
|
|
500
505
|
interface IntrinsicElements {
|
|
501
|
-
'descope-notp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
506
|
+
'descope-notp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$B>;
|
|
502
507
|
}
|
|
503
508
|
}
|
|
504
509
|
}
|
|
505
|
-
declare const NOTPImage: React.ForwardRefExoticComponent<Props$
|
|
510
|
+
declare const NOTPImage: React.ForwardRefExoticComponent<Props$B & React.RefAttributes<HTMLDivElement>>;
|
|
506
511
|
|
|
507
|
-
type Props$
|
|
508
|
-
declare const NOTPLink: React.ForwardRefExoticComponent<Omit<Props$
|
|
512
|
+
type Props$A = Omit<React.ComponentProps<typeof Link>, 'href'>;
|
|
513
|
+
declare const NOTPLink: React.ForwardRefExoticComponent<Omit<Props$A, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
509
514
|
|
|
510
|
-
type Props$
|
|
515
|
+
type Props$z = {
|
|
511
516
|
title?: string;
|
|
512
517
|
description?: string;
|
|
513
518
|
icon?: string;
|
|
@@ -526,13 +531,13 @@ type Props$y = {
|
|
|
526
531
|
declare global {
|
|
527
532
|
namespace React.JSX {
|
|
528
533
|
interface IntrinsicElements {
|
|
529
|
-
'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
534
|
+
'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$z;
|
|
530
535
|
}
|
|
531
536
|
}
|
|
532
537
|
}
|
|
533
|
-
declare const UploadFile: React.ForwardRefExoticComponent<Props$
|
|
538
|
+
declare const UploadFile: React.ForwardRefExoticComponent<Props$z & React.HTMLAttributes<HTMLDivElement, unknown> & React.RefAttributes<HTMLDivElement>>;
|
|
534
539
|
|
|
535
|
-
type Props$
|
|
540
|
+
type Props$y = {
|
|
536
541
|
enabled?: boolean;
|
|
537
542
|
'site-key'?: string;
|
|
538
543
|
enterprise?: boolean;
|
|
@@ -551,13 +556,13 @@ declare global {
|
|
|
551
556
|
}
|
|
552
557
|
namespace React.JSX {
|
|
553
558
|
interface IntrinsicElements {
|
|
554
|
-
'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement, any>, HTMLElement> & Props$
|
|
559
|
+
'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement, any>, HTMLElement> & Props$y;
|
|
555
560
|
}
|
|
556
561
|
}
|
|
557
562
|
}
|
|
558
|
-
declare const Recaptcha: React.ForwardRefExoticComponent<Props$
|
|
563
|
+
declare const Recaptcha: React.ForwardRefExoticComponent<Props$y & React.HTMLAttributes<HTMLDivElement, any> & React.RefAttributes<HTMLDivElement>>;
|
|
559
564
|
|
|
560
|
-
type Props$
|
|
565
|
+
type Props$x = {
|
|
561
566
|
connector?: string;
|
|
562
567
|
enterprise?: boolean;
|
|
563
568
|
action?: string;
|
|
@@ -572,16 +577,16 @@ type Props$w = {
|
|
|
572
577
|
width?: string;
|
|
573
578
|
height?: string;
|
|
574
579
|
};
|
|
575
|
-
declare const RecaptchaV2: React.ForwardRefExoticComponent<Props$
|
|
580
|
+
declare const RecaptchaV2: React.ForwardRefExoticComponent<Props$x & React.HTMLAttributes<HTMLDivElement, any> & React.RefAttributes<HTMLDivElement>>;
|
|
576
581
|
|
|
577
|
-
type Props$
|
|
582
|
+
type Props$w = DescopeInputProps & {
|
|
578
583
|
'default-value'?: string;
|
|
579
584
|
'allow-deselect'?: boolean;
|
|
580
585
|
};
|
|
581
586
|
declare global {
|
|
582
587
|
namespace React.JSX {
|
|
583
588
|
interface IntrinsicElements {
|
|
584
|
-
'descope-button-selection-group': Props$
|
|
589
|
+
'descope-button-selection-group': Props$w;
|
|
585
590
|
'descope-button-selection-group-item': React.JSX.IntrinsicElements['span'] & {
|
|
586
591
|
value: string;
|
|
587
592
|
children: string;
|
|
@@ -607,10 +612,10 @@ type SingleSelectType = {
|
|
|
607
612
|
layout?: 'horizontal' | 'vertical';
|
|
608
613
|
'label-type'?: LabelType;
|
|
609
614
|
};
|
|
610
|
-
type Props$
|
|
611
|
-
declare const SingleSelect: React.ForwardRefExoticComponent<Omit<Props$
|
|
615
|
+
type Props$v = Omit<React.ComponentProps<typeof ButtonSelectionGroup>, 'allow-deselect'> & SingleSelectType;
|
|
616
|
+
declare const SingleSelect: React.ForwardRefExoticComponent<Omit<Props$v, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
612
617
|
|
|
613
|
-
type Props$
|
|
618
|
+
type Props$u = DescopeInputProps & {
|
|
614
619
|
'default-value'?: string;
|
|
615
620
|
'item-label-path'?: string;
|
|
616
621
|
'item-value-path'?: string;
|
|
@@ -618,7 +623,7 @@ type Props$t = DescopeInputProps & {
|
|
|
618
623
|
declare global {
|
|
619
624
|
namespace React.JSX {
|
|
620
625
|
interface IntrinsicElements {
|
|
621
|
-
'descope-combobox': Props$
|
|
626
|
+
'descope-combobox': Props$u;
|
|
622
627
|
}
|
|
623
628
|
}
|
|
624
629
|
}
|
|
@@ -640,7 +645,7 @@ type Column = {
|
|
|
640
645
|
resizable: boolean;
|
|
641
646
|
};
|
|
642
647
|
};
|
|
643
|
-
type Props$
|
|
648
|
+
type Props$t = {
|
|
644
649
|
identifier: any;
|
|
645
650
|
children?: React.JSX.Element[];
|
|
646
651
|
size?: Omit<ComponentSize, 'xl'>;
|
|
@@ -656,7 +661,7 @@ declare global {
|
|
|
656
661
|
}
|
|
657
662
|
}
|
|
658
663
|
}
|
|
659
|
-
declare const Grid: React.ForwardRefExoticComponent<Props$
|
|
664
|
+
declare const Grid: React.ForwardRefExoticComponent<Props$t & React.RefAttributes<HTMLInputElement>>;
|
|
660
665
|
|
|
661
666
|
type ColumnProps = {
|
|
662
667
|
sortable?: boolean;
|
|
@@ -677,7 +682,7 @@ declare const GridTextColumn: React.ForwardRefExoticComponent<ColumnProps & Reac
|
|
|
677
682
|
|
|
678
683
|
declare const GridItemDetailsColumn: React.ForwardRefExoticComponent<ColumnProps & React.RefAttributes<HTMLInputElement>>;
|
|
679
684
|
|
|
680
|
-
type Props$
|
|
685
|
+
type Props$s = {
|
|
681
686
|
mode?: string;
|
|
682
687
|
size?: string;
|
|
683
688
|
bordered?: boolean;
|
|
@@ -688,11 +693,11 @@ type Props$r = {
|
|
|
688
693
|
declare global {
|
|
689
694
|
namespace React.JSX {
|
|
690
695
|
interface IntrinsicElements {
|
|
691
|
-
'descope-badge': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
696
|
+
'descope-badge': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$s;
|
|
692
697
|
}
|
|
693
698
|
}
|
|
694
699
|
}
|
|
695
|
-
declare const Badge: React.ForwardRefExoticComponent<Props$
|
|
700
|
+
declare const Badge: React.ForwardRefExoticComponent<Props$s & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>>;
|
|
696
701
|
|
|
697
702
|
declare global {
|
|
698
703
|
namespace React.JSX {
|
|
@@ -701,12 +706,12 @@ declare global {
|
|
|
701
706
|
}
|
|
702
707
|
}
|
|
703
708
|
}
|
|
704
|
-
type Props$
|
|
709
|
+
type Props$r = {
|
|
705
710
|
opened?: boolean;
|
|
706
711
|
};
|
|
707
|
-
declare const Modal: React.ForwardRefExoticComponent<Props$
|
|
712
|
+
declare const Modal: React.ForwardRefExoticComponent<Props$r & React.RefAttributes<HTMLDivElement>>;
|
|
708
713
|
|
|
709
|
-
type Props$
|
|
714
|
+
type Props$q = DescopeInputProps & {
|
|
710
715
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
711
716
|
'min-items-selection'?: number;
|
|
712
717
|
'max-items-selection'?: number;
|
|
@@ -714,7 +719,7 @@ type Props$p = DescopeInputProps & {
|
|
|
714
719
|
declare global {
|
|
715
720
|
namespace React.JSX {
|
|
716
721
|
interface IntrinsicElements {
|
|
717
|
-
'descope-button-multi-selection-group': Props$
|
|
722
|
+
'descope-button-multi-selection-group': Props$q & {
|
|
718
723
|
'default-values'?: string;
|
|
719
724
|
};
|
|
720
725
|
'descope-button-selection-group-item': React.JSX.IntrinsicElements['span'] & {
|
|
@@ -741,16 +746,16 @@ type MultiSelectType = {
|
|
|
741
746
|
'max-items-selection'?: number;
|
|
742
747
|
'label-type'?: string;
|
|
743
748
|
};
|
|
744
|
-
type Props$
|
|
749
|
+
type Props$p = Omit<React.ComponentProps<typeof ButtonMultiSelectionGroup>, 'default-values'> & MultiSelectType & {
|
|
745
750
|
'default-values'?: string[];
|
|
746
751
|
};
|
|
747
|
-
declare const MultiSelect: React.ForwardRefExoticComponent<Omit<Props$
|
|
752
|
+
declare const MultiSelect: React.ForwardRefExoticComponent<Omit<Props$p, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
748
753
|
|
|
749
754
|
type Item$3 = {
|
|
750
755
|
label: string;
|
|
751
756
|
value: string;
|
|
752
757
|
};
|
|
753
|
-
type Props$
|
|
758
|
+
type Props$o = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'helper-text' | 'data-errormessage-pattern-mismatch' | 'data-errormessage-value-missing'> & {
|
|
754
759
|
'label-value'?: string;
|
|
755
760
|
'label-attr'?: string;
|
|
756
761
|
'button-label'?: string;
|
|
@@ -762,20 +767,20 @@ type Props$n = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'h
|
|
|
762
767
|
declare global {
|
|
763
768
|
namespace React.JSX {
|
|
764
769
|
interface IntrinsicElements {
|
|
765
|
-
'descope-mappings-field': Omit<Props$
|
|
770
|
+
'descope-mappings-field': Omit<Props$o, 'default-values' | 'options'> & {
|
|
766
771
|
'default-values'?: string;
|
|
767
772
|
options?: string;
|
|
768
773
|
};
|
|
769
774
|
}
|
|
770
775
|
}
|
|
771
776
|
}
|
|
772
|
-
declare const MappingsField: React.ForwardRefExoticComponent<Omit<Props$
|
|
777
|
+
declare const MappingsField: React.ForwardRefExoticComponent<Omit<Props$o, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
773
778
|
|
|
774
779
|
type Item$2 = {
|
|
775
780
|
label: string;
|
|
776
781
|
value: string;
|
|
777
782
|
};
|
|
778
|
-
type Props$
|
|
783
|
+
type Props$n = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'helper-text' | 'data-errormessage-pattern-mismatch' | 'data-errormessage-value-missing'> & {
|
|
779
784
|
'label-value'?: string;
|
|
780
785
|
'label-attr'?: string;
|
|
781
786
|
'label-group'?: string;
|
|
@@ -787,13 +792,43 @@ type Props$m = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'h
|
|
|
787
792
|
declare global {
|
|
788
793
|
namespace React.JSX {
|
|
789
794
|
interface IntrinsicElements {
|
|
790
|
-
'descope-saml-group-mappings': Omit<Props$
|
|
795
|
+
'descope-saml-group-mappings': Omit<Props$n, 'options'> & {
|
|
791
796
|
options?: string;
|
|
792
797
|
};
|
|
793
798
|
}
|
|
794
799
|
}
|
|
795
800
|
}
|
|
796
|
-
declare const SAMLGroupMappings: React.ForwardRefExoticComponent<Omit<Props$
|
|
801
|
+
declare const SAMLGroupMappings: React.ForwardRefExoticComponent<Omit<Props$n, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
802
|
+
|
|
803
|
+
type DataEntry = string[] | {
|
|
804
|
+
label?: string;
|
|
805
|
+
options?: string[];
|
|
806
|
+
};
|
|
807
|
+
type Props$m = {
|
|
808
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
809
|
+
disabled?: boolean;
|
|
810
|
+
readonly?: boolean;
|
|
811
|
+
'full-width'?: boolean;
|
|
812
|
+
'max-rows'?: number;
|
|
813
|
+
'first-label'?: string;
|
|
814
|
+
'second-label'?: string;
|
|
815
|
+
'first-placeholder'?: string;
|
|
816
|
+
'second-placeholder'?: string;
|
|
817
|
+
'first-value-key'?: string;
|
|
818
|
+
'second-value-key'?: string;
|
|
819
|
+
'merge-rows'?: boolean;
|
|
820
|
+
data?: Record<string, DataEntry>;
|
|
821
|
+
};
|
|
822
|
+
declare global {
|
|
823
|
+
namespace React.JSX {
|
|
824
|
+
interface IntrinsicElements {
|
|
825
|
+
'descope-multi-line-mappings': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Omit<Props$m, 'data'> & {
|
|
826
|
+
data?: string;
|
|
827
|
+
};
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
declare const MultiLineMappings: React.ForwardRefExoticComponent<Props$m & React.RefAttributes<HTMLElement>>;
|
|
797
832
|
|
|
798
833
|
declare global {
|
|
799
834
|
namespace React.JSX {
|
|
@@ -1386,5 +1421,5 @@ type Theme = {
|
|
|
1386
1421
|
};
|
|
1387
1422
|
};
|
|
1388
1423
|
|
|
1389
|
-
export { AddressField, AddressFieldClass, Alert, AlertClass, AppsList, AppsListClass, Attachment, AttachmentClass, Avatar, AvatarClass, Badge, BadgeClass, Boolean, Button, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, Checkbox, CheckboxClass, Code, CodeSnippet, CodeSnippetClass, Container as CollapsibleContainer, CollapsibleContainerClass, ComboBox, ComboBoxClass, Container$1 as Container, ContainerClass, CountrySubdivisionCityField, CountrySubdivisionCityFieldClass, DateField, DateFieldClass, Divider, DividerClass, EmailFieldClass, EnrichedTextClass, Grid, GridClass, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, Hcaptcha, HcaptchaClass, Honeypot, HoneypotClass, HybridField, HybridFieldClass, IconClass, Image, ImageClass, Input, LastAuthBadge, Link, LinkClass, List, ListClass, ListItem, Loader, LoaderLinearClass, LoaderRadialClass, Logo, LogoClass, MappingsField, MappingsFieldClass, Modal, ModalClass, MultiSelect, MultiSelectComboBoxClass, NOTPImage, NOTPLink, NewPassword, NewPasswordClass, NotificationClass, NotpImageClass, NumberField, NumberFieldClass, OutboundAppButton, OutboundAppButtonClass, OutboundApps, OutboundAppsClass, PasscodeClass, Password, PasswordClass, Phone, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, Recaptcha, RecaptchaClass, RecaptchaV2, RecoveryCodesClass, RecoveryCodesList, SAMLGroupMappings, SamlGroupMappingsClass, ScopesList, ScopesListClass, SecurityQuestionsSetup, SecurityQuestionsSetupClass, SecurityQuestionsVerify, SecurityQuestionsVerifyClass, Select, SingleSelect, Switch, SwitchToggleClass, TOTPImage, TOTPLink, TenantSelector, Text, TextAreaClass, TextClass, TextField, TextFieldClass, Textarea, ThirdPartyAppLogo, ThirdPartyAppLogoClass, TimerButton, TimerButtonClass, Tooltip, TooltipClass, TotpImageClass, TrustedDevices, TrustedDevicesClass, Turnstile, UploadFile, UploadFileClass, UserAttribute, UserAttributeClass, UserAuthMethod, UserAuthMethodClass, ReactComponent as apple, ReactComponent as authenticator, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, ReactComponent as discord, ReactComponent as edit, ReactComponent as facebook, ReactComponent as fingerprint, genColor, ReactComponent as github, ReactComponent as gitlab, globalsThemeToStyle, ReactComponent as google, ReactComponent as linkedin, ReactComponent as lock, ReactComponent as microsoft, ReactComponent as passkey, ReactComponent as password, ReactComponent as plus, ReactComponent as reload, ReactComponent as sessiontoken, ReactComponent as slack, ReactComponent as sso, themeToStyle, themeVars, ReactComponent as whatsapp };
|
|
1424
|
+
export { AddressField, AddressFieldClass, Alert, AlertClass, AppsList, AppsListClass, Attachment, AttachmentClass, Avatar, AvatarClass, Badge, BadgeClass, Boolean, Button, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, Checkbox, CheckboxClass, Code, CodeSnippet, CodeSnippetClass, Container as CollapsibleContainer, CollapsibleContainerClass, ComboBox, ComboBoxClass, Container$1 as Container, ContainerClass, CountrySubdivisionCityField, CountrySubdivisionCityFieldClass, DateField, DateFieldClass, Divider, DividerClass, EmailFieldClass, EnrichedTextClass, Grid, GridClass, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, Hcaptcha, HcaptchaClass, Honeypot, HoneypotClass, HybridField, HybridFieldClass, IconClass, Image, ImageClass, Input, LastAuthBadge, Link, LinkClass, List, ListClass, ListItem, Loader, LoaderLinearClass, LoaderRadialClass, Logo, LogoClass, MappingsField, MappingsFieldClass, Modal, ModalClass, MultiLineMappings, MultiLineMappingsClass, MultiSelect, MultiSelectComboBoxClass, NOTPImage, NOTPLink, NewPassword, NewPasswordClass, NotificationClass, NotpImageClass, NumberField, NumberFieldClass, OutboundAppButton, OutboundAppButtonClass, OutboundApps, OutboundAppsClass, PasscodeClass, Password, PasswordClass, Phone, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, Recaptcha, RecaptchaClass, RecaptchaV2, RecoveryCodesClass, RecoveryCodesList, SAMLGroupMappings, SamlGroupMappingsClass, ScopesList, ScopesListClass, SecurityQuestionsSetup, SecurityQuestionsSetupClass, SecurityQuestionsVerify, SecurityQuestionsVerifyClass, Select, SingleSelect, Switch, SwitchToggleClass, TOTPImage, TOTPLink, TenantSelector, Text, TextAreaClass, TextClass, TextField, TextFieldClass, Textarea, ThirdPartyAppLogo, ThirdPartyAppLogoClass, TimerButton, TimerButtonClass, Tooltip, TooltipClass, TotpImageClass, TrustedDevices, TrustedDevicesClass, Turnstile, UploadFile, UploadFileClass, UserAttribute, UserAttributeClass, UserAuthMethod, UserAuthMethodClass, ReactComponent as apple, ReactComponent as authenticator, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, ReactComponent as discord, ReactComponent as edit, ReactComponent as facebook, ReactComponent as fingerprint, genColor, ReactComponent as github, ReactComponent as gitlab, globalsThemeToStyle, ReactComponent as google, ReactComponent as linkedin, ReactComponent as lock, ReactComponent as microsoft, ReactComponent as passkey, ReactComponent as password, ReactComponent as plus, ReactComponent as reload, ReactComponent as sessiontoken, ReactComponent as slack, ReactComponent as sso, themeToStyle, themeVars, ReactComponent as whatsapp };
|
|
1390
1425
|
export type { Theme };
|