@descope/flow-components 2.0.628 → 2.1.1
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/532.js +1 -0
- package/dist/fm/575.js +1 -1
- package/dist/fm/84.js +46 -46
- package/dist/fm/@mf-types/compiled-types/TrustedDevices/TrustedDevices.d.ts +28 -0
- package/dist/fm/@mf-types/compiled-types/TrustedDevices/index.d.ts +1 -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/@mf-types.zip +0 -0
- package/dist/fm/__federation_expose_componentClasses.js +1 -1
- package/dist/fm/__federation_expose_components.js +1 -1
- package/dist/fm/__federation_expose_theme.js +1 -1
- package/dist/fm/flowComponents.js +1 -1
- package/dist/fm/main.js +1 -1
- package/dist/fm/mf-manifest.json +2 -2
- package/dist/fm/mf-stats.json +2 -2
- package/dist/index.cjs.js +2270 -1688
- package/dist/index.d.ts +155 -128
- package/dist/index.esm.js +6 -2
- package/dist/types/TrustedDevices/TrustedDevices.d.ts +28 -0
- package/dist/types/TrustedDevices/index.d.ts +1 -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/179.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -69,6 +69,7 @@ declare const RecoveryCodesListClass: ComponentClass;
|
|
|
69
69
|
declare const HcaptchaClass: ComponentClass;
|
|
70
70
|
declare const OutboundAppsClass: ComponentClass;
|
|
71
71
|
declare const OutboundAppButtonClass: ComponentClass;
|
|
72
|
+
declare const TrustedDevicesClass: ComponentClass;
|
|
72
73
|
|
|
73
74
|
type KebabCase<S extends string> = S extends `${infer First}${infer Rest}` ? Rest extends Uncapitalize<Rest> ? `${Uncapitalize<First>}${KebabCase<Rest>}` : `${Uncapitalize<First>}-${KebabCase<Rest>}` : S;
|
|
74
75
|
type ComponentSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -121,8 +122,8 @@ declare const Switch: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "r
|
|
|
121
122
|
type BooleanType = {
|
|
122
123
|
type: 'switch' | 'checkbox';
|
|
123
124
|
};
|
|
124
|
-
type Props$
|
|
125
|
-
declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$
|
|
125
|
+
type Props$M = React.ComponentProps<typeof Checkbox> & React.ComponentProps<typeof Switch> & BooleanType;
|
|
126
|
+
declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$M, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
126
127
|
|
|
127
128
|
declare global {
|
|
128
129
|
namespace React.JSX {
|
|
@@ -147,17 +148,17 @@ declare const Button: React.ForwardRefExoticComponent<Omit<React.ClassAttributes
|
|
|
147
148
|
'data-name'?: string;
|
|
148
149
|
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
149
150
|
|
|
150
|
-
type Props$
|
|
151
|
+
type Props$L = {
|
|
151
152
|
digits?: number;
|
|
152
153
|
};
|
|
153
154
|
declare global {
|
|
154
155
|
namespace React.JSX {
|
|
155
156
|
interface IntrinsicElements {
|
|
156
|
-
'descope-passcode': DescopeInputProps & Props$
|
|
157
|
+
'descope-passcode': DescopeInputProps & Props$L;
|
|
157
158
|
}
|
|
158
159
|
}
|
|
159
160
|
}
|
|
160
|
-
declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
161
|
+
declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$L, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
161
162
|
|
|
162
163
|
type Never$1<T extends Record<string, any>> = {
|
|
163
164
|
[K in keyof T]: never;
|
|
@@ -173,7 +174,7 @@ type ContainerAlignment$1 = {
|
|
|
173
174
|
'vertical-alignment'?: FlexAlignment;
|
|
174
175
|
'space-between'?: 'sm' | 'md' | 'lg';
|
|
175
176
|
};
|
|
176
|
-
type Props$
|
|
177
|
+
type Props$K = {
|
|
177
178
|
direction?: 'row' | 'column';
|
|
178
179
|
shadow?: 'md' | 'lg' | 'xl' | '2xl';
|
|
179
180
|
borderRadius?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
@@ -191,9 +192,9 @@ declare global {
|
|
|
191
192
|
}
|
|
192
193
|
}
|
|
193
194
|
}
|
|
194
|
-
declare const Container$1: React.ForwardRefExoticComponent<(Props$
|
|
195
|
+
declare const Container$1: React.ForwardRefExoticComponent<(Props$K & React.HTMLAttributes<HTMLDivElement>) & React.RefAttributes<HTMLDivElement>>;
|
|
195
196
|
|
|
196
|
-
type Props$
|
|
197
|
+
type Props$J = {
|
|
197
198
|
vertical?: boolean;
|
|
198
199
|
italic?: boolean;
|
|
199
200
|
variant?: TypographyVariants;
|
|
@@ -203,15 +204,15 @@ type Props$I = {
|
|
|
203
204
|
declare global {
|
|
204
205
|
namespace React.JSX {
|
|
205
206
|
interface IntrinsicElements {
|
|
206
|
-
'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$
|
|
207
|
+
'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$J, 'children'>;
|
|
207
208
|
}
|
|
208
209
|
}
|
|
209
210
|
}
|
|
210
|
-
declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "size"> & Props$
|
|
211
|
+
declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "size"> & Props$J, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
211
212
|
|
|
212
213
|
declare const ReactComponent: (props: SVGProps) => React.JSX.Element;
|
|
213
214
|
|
|
214
|
-
type Props$
|
|
215
|
+
type Props$I = {
|
|
215
216
|
width?: string;
|
|
216
217
|
height?: string;
|
|
217
218
|
alt?: string;
|
|
@@ -221,15 +222,15 @@ type Props$H = {
|
|
|
221
222
|
declare global {
|
|
222
223
|
namespace React.JSX {
|
|
223
224
|
interface IntrinsicElements {
|
|
224
|
-
'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
225
|
+
'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$I;
|
|
225
226
|
}
|
|
226
227
|
}
|
|
227
228
|
}
|
|
228
|
-
declare const Image: React.ForwardRefExoticComponent<Props$
|
|
229
|
+
declare const Image: React.ForwardRefExoticComponent<Props$I & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
229
230
|
|
|
230
231
|
declare const Input: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
231
232
|
|
|
232
|
-
type Props$
|
|
233
|
+
type Props$H = {
|
|
233
234
|
href?: string | undefined;
|
|
234
235
|
italic?: boolean;
|
|
235
236
|
variant?: TypographyVariants;
|
|
@@ -241,18 +242,18 @@ type Props$G = {
|
|
|
241
242
|
declare global {
|
|
242
243
|
namespace React.JSX {
|
|
243
244
|
interface IntrinsicElements {
|
|
244
|
-
'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$
|
|
245
|
+
'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$H, 'children'>;
|
|
245
246
|
}
|
|
246
247
|
}
|
|
247
248
|
}
|
|
248
|
-
declare const Link: React.ForwardRefExoticComponent<Props$
|
|
249
|
+
declare const Link: React.ForwardRefExoticComponent<Props$H & React.RefAttributes<HTMLAnchorElement>>;
|
|
249
250
|
|
|
250
|
-
type Props$
|
|
251
|
+
type Props$G = {
|
|
251
252
|
variant?: 'linear' | 'radial';
|
|
252
253
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
253
254
|
color?: Mode;
|
|
254
255
|
};
|
|
255
|
-
type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
256
|
+
type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$G>;
|
|
256
257
|
declare global {
|
|
257
258
|
namespace React.JSX {
|
|
258
259
|
interface IntrinsicElements {
|
|
@@ -261,22 +262,22 @@ declare global {
|
|
|
261
262
|
}
|
|
262
263
|
}
|
|
263
264
|
}
|
|
264
|
-
declare const Loader: React.ForwardRefExoticComponent<Props$
|
|
265
|
+
declare const Loader: React.ForwardRefExoticComponent<Props$G & React.RefAttributes<HTMLDivElement>>;
|
|
265
266
|
|
|
266
|
-
type Props$
|
|
267
|
+
type Props$F = {
|
|
267
268
|
width?: string;
|
|
268
269
|
height?: string;
|
|
269
270
|
};
|
|
270
271
|
declare global {
|
|
271
272
|
namespace React.JSX {
|
|
272
273
|
interface IntrinsicElements {
|
|
273
|
-
'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
274
|
+
'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$F>;
|
|
274
275
|
}
|
|
275
276
|
}
|
|
276
277
|
}
|
|
277
|
-
declare const Logo: React.ForwardRefExoticComponent<Props$
|
|
278
|
+
declare const Logo: React.ForwardRefExoticComponent<Props$F & React.RefAttributes<HTMLDivElement>>;
|
|
278
279
|
|
|
279
|
-
type Props$
|
|
280
|
+
type Props$E = {
|
|
280
281
|
'password-label'?: string;
|
|
281
282
|
'password-placeholder'?: string;
|
|
282
283
|
'confirm-label'?: string;
|
|
@@ -303,11 +304,11 @@ type Props$D = {
|
|
|
303
304
|
declare global {
|
|
304
305
|
namespace React.JSX {
|
|
305
306
|
interface IntrinsicElements {
|
|
306
|
-
'descope-new-password': DescopeInputProps & Props$
|
|
307
|
+
'descope-new-password': DescopeInputProps & Props$E;
|
|
307
308
|
}
|
|
308
309
|
}
|
|
309
310
|
}
|
|
310
|
-
declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
311
|
+
declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$E, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
311
312
|
|
|
312
313
|
declare global {
|
|
313
314
|
namespace React.JSX {
|
|
@@ -327,7 +328,7 @@ declare global {
|
|
|
327
328
|
}
|
|
328
329
|
declare const Password: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
329
330
|
|
|
330
|
-
type Props$
|
|
331
|
+
type Props$D = {
|
|
331
332
|
variant: 'countrySelection' | 'inputBox';
|
|
332
333
|
'default-code'?: string;
|
|
333
334
|
'phone-input-placeholder'?: string;
|
|
@@ -336,9 +337,9 @@ type Props$C = {
|
|
|
336
337
|
'format-value'?: boolean;
|
|
337
338
|
'strict-validation'?: boolean;
|
|
338
339
|
} & DescopeInputProps;
|
|
339
|
-
declare const Phone: React.ForwardRefExoticComponent<Omit<Props$
|
|
340
|
+
declare const Phone: React.ForwardRefExoticComponent<Omit<Props$D, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
340
341
|
|
|
341
|
-
type Props$
|
|
342
|
+
type Props$C = {
|
|
342
343
|
children?: React.JSX.Element[];
|
|
343
344
|
data?: string | Record<string, string>[];
|
|
344
345
|
};
|
|
@@ -351,9 +352,9 @@ declare global {
|
|
|
351
352
|
}
|
|
352
353
|
}
|
|
353
354
|
}
|
|
354
|
-
declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
355
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$C, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
355
356
|
|
|
356
|
-
type Props$
|
|
357
|
+
type Props$B = {
|
|
357
358
|
italic?: boolean;
|
|
358
359
|
variant?: string;
|
|
359
360
|
mode?: string;
|
|
@@ -365,14 +366,14 @@ type Props$A = {
|
|
|
365
366
|
declare global {
|
|
366
367
|
namespace React.JSX {
|
|
367
368
|
interface IntrinsicElements {
|
|
368
|
-
'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
369
|
-
'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
369
|
+
'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$B;
|
|
370
|
+
'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$B & {
|
|
370
371
|
readonly?: boolean;
|
|
371
372
|
};
|
|
372
373
|
}
|
|
373
374
|
}
|
|
374
375
|
}
|
|
375
|
-
declare const Text: React.ForwardRefExoticComponent<Omit<Props$
|
|
376
|
+
declare const Text: React.ForwardRefExoticComponent<Omit<Props$B & {
|
|
376
377
|
typography?: TypographyVariants;
|
|
377
378
|
} & Omit<React.HTMLProps<HTMLSpanElement>, "mode">, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
378
379
|
|
|
@@ -394,39 +395,39 @@ declare global {
|
|
|
394
395
|
}
|
|
395
396
|
declare const TextField: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
396
397
|
|
|
397
|
-
type Props$
|
|
398
|
+
type Props$A = {
|
|
398
399
|
width?: string;
|
|
399
400
|
height?: string;
|
|
400
401
|
};
|
|
401
402
|
declare global {
|
|
402
403
|
namespace React.JSX {
|
|
403
404
|
interface IntrinsicElements {
|
|
404
|
-
'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
405
|
+
'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$A>;
|
|
405
406
|
}
|
|
406
407
|
}
|
|
407
408
|
}
|
|
408
|
-
declare const TOTPImage: React.ForwardRefExoticComponent<Props$
|
|
409
|
+
declare const TOTPImage: React.ForwardRefExoticComponent<Props$A & React.RefAttributes<HTMLDivElement>>;
|
|
409
410
|
|
|
410
|
-
type Props$
|
|
411
|
-
declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$
|
|
411
|
+
type Props$z = Omit<React.ComponentProps<typeof Link>, 'href'>;
|
|
412
|
+
declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$z, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
412
413
|
|
|
413
|
-
type Props$
|
|
414
|
+
type Props$y = {
|
|
414
415
|
width?: string;
|
|
415
416
|
height?: string;
|
|
416
417
|
};
|
|
417
418
|
declare global {
|
|
418
419
|
namespace React.JSX {
|
|
419
420
|
interface IntrinsicElements {
|
|
420
|
-
'descope-notp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
421
|
+
'descope-notp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$y>;
|
|
421
422
|
}
|
|
422
423
|
}
|
|
423
424
|
}
|
|
424
|
-
declare const NOTPImage: React.ForwardRefExoticComponent<Props$
|
|
425
|
+
declare const NOTPImage: React.ForwardRefExoticComponent<Props$y & React.RefAttributes<HTMLDivElement>>;
|
|
425
426
|
|
|
426
|
-
type Props$
|
|
427
|
-
declare const NOTPLink: React.ForwardRefExoticComponent<Omit<Props$
|
|
427
|
+
type Props$x = Omit<React.ComponentProps<typeof Link>, 'href'>;
|
|
428
|
+
declare const NOTPLink: React.ForwardRefExoticComponent<Omit<Props$x, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
428
429
|
|
|
429
|
-
type Props$
|
|
430
|
+
type Props$w = {
|
|
430
431
|
title?: string;
|
|
431
432
|
description?: string;
|
|
432
433
|
icon?: string;
|
|
@@ -445,13 +446,13 @@ type Props$v = {
|
|
|
445
446
|
declare global {
|
|
446
447
|
namespace React.JSX {
|
|
447
448
|
interface IntrinsicElements {
|
|
448
|
-
'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
449
|
+
'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$w;
|
|
449
450
|
}
|
|
450
451
|
}
|
|
451
452
|
}
|
|
452
|
-
declare const UploadFile: React.ForwardRefExoticComponent<Props$
|
|
453
|
+
declare const UploadFile: React.ForwardRefExoticComponent<Props$w & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
453
454
|
|
|
454
|
-
type Props$
|
|
455
|
+
type Props$v = {
|
|
455
456
|
enabled?: boolean;
|
|
456
457
|
'site-key'?: string;
|
|
457
458
|
enterprise?: boolean;
|
|
@@ -470,13 +471,13 @@ declare global {
|
|
|
470
471
|
}
|
|
471
472
|
namespace React.JSX {
|
|
472
473
|
interface IntrinsicElements {
|
|
473
|
-
'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
474
|
+
'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$v;
|
|
474
475
|
}
|
|
475
476
|
}
|
|
476
477
|
}
|
|
477
|
-
declare const Recaptcha: React.ForwardRefExoticComponent<Props$
|
|
478
|
+
declare const Recaptcha: React.ForwardRefExoticComponent<Props$v & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
478
479
|
|
|
479
|
-
type Props$
|
|
480
|
+
type Props$u = {
|
|
480
481
|
connector?: string;
|
|
481
482
|
enterprise?: boolean;
|
|
482
483
|
action?: string;
|
|
@@ -491,16 +492,16 @@ type Props$t = {
|
|
|
491
492
|
width?: string;
|
|
492
493
|
height?: string;
|
|
493
494
|
};
|
|
494
|
-
declare const RecaptchaV2: React.ForwardRefExoticComponent<Props$
|
|
495
|
+
declare const RecaptchaV2: React.ForwardRefExoticComponent<Props$u & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
495
496
|
|
|
496
|
-
type Props$
|
|
497
|
+
type Props$t = DescopeInputProps & {
|
|
497
498
|
'default-value'?: string;
|
|
498
499
|
'allow-deselect'?: boolean;
|
|
499
500
|
};
|
|
500
501
|
declare global {
|
|
501
502
|
namespace React.JSX {
|
|
502
503
|
interface IntrinsicElements {
|
|
503
|
-
'descope-button-selection-group': Props$
|
|
504
|
+
'descope-button-selection-group': Props$t;
|
|
504
505
|
'descope-button-selection-group-item': React.JSX.IntrinsicElements['span'] & {
|
|
505
506
|
value: string;
|
|
506
507
|
children: string;
|
|
@@ -526,10 +527,10 @@ type SingleSelectType = {
|
|
|
526
527
|
layout?: 'horizontal' | 'vertical';
|
|
527
528
|
'label-type'?: LabelType;
|
|
528
529
|
};
|
|
529
|
-
type Props$
|
|
530
|
-
declare const SingleSelect: React.ForwardRefExoticComponent<Omit<Props$
|
|
530
|
+
type Props$s = Omit<React.ComponentProps<typeof ButtonSelectionGroup>, 'allow-deselect'> & SingleSelectType;
|
|
531
|
+
declare const SingleSelect: React.ForwardRefExoticComponent<Omit<Props$s, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
531
532
|
|
|
532
|
-
type Props$
|
|
533
|
+
type Props$r = DescopeInputProps & {
|
|
533
534
|
'default-value'?: string;
|
|
534
535
|
'item-label-path'?: string;
|
|
535
536
|
'item-value-path'?: string;
|
|
@@ -537,7 +538,7 @@ type Props$q = DescopeInputProps & {
|
|
|
537
538
|
declare global {
|
|
538
539
|
namespace React.JSX {
|
|
539
540
|
interface IntrinsicElements {
|
|
540
|
-
'descope-combobox': Props$
|
|
541
|
+
'descope-combobox': Props$r;
|
|
541
542
|
}
|
|
542
543
|
}
|
|
543
544
|
}
|
|
@@ -559,7 +560,7 @@ type Column = {
|
|
|
559
560
|
resizable: boolean;
|
|
560
561
|
};
|
|
561
562
|
};
|
|
562
|
-
type Props$
|
|
563
|
+
type Props$q = {
|
|
563
564
|
identifier: any;
|
|
564
565
|
children?: React.JSX.Element[];
|
|
565
566
|
size?: Omit<ComponentSize, 'xl'>;
|
|
@@ -575,7 +576,7 @@ declare global {
|
|
|
575
576
|
}
|
|
576
577
|
}
|
|
577
578
|
}
|
|
578
|
-
declare const Grid: React.ForwardRefExoticComponent<Props$
|
|
579
|
+
declare const Grid: React.ForwardRefExoticComponent<Props$q & React.RefAttributes<HTMLInputElement>>;
|
|
579
580
|
|
|
580
581
|
type ColumnProps = {
|
|
581
582
|
sortable?: boolean;
|
|
@@ -624,7 +625,7 @@ declare global {
|
|
|
624
625
|
}
|
|
625
626
|
declare const GridItemDetailsColumn: React.ForwardRefExoticComponent<ColumnProps & React.RefAttributes<HTMLInputElement>>;
|
|
626
627
|
|
|
627
|
-
type Props$
|
|
628
|
+
type Props$p = {
|
|
628
629
|
mode?: string;
|
|
629
630
|
size?: string;
|
|
630
631
|
bordered?: boolean;
|
|
@@ -633,11 +634,11 @@ type Props$o = {
|
|
|
633
634
|
declare global {
|
|
634
635
|
namespace React.JSX {
|
|
635
636
|
interface IntrinsicElements {
|
|
636
|
-
'descope-badge': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
637
|
+
'descope-badge': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$p;
|
|
637
638
|
}
|
|
638
639
|
}
|
|
639
640
|
}
|
|
640
|
-
declare const Badge: React.ForwardRefExoticComponent<Props$
|
|
641
|
+
declare const Badge: React.ForwardRefExoticComponent<Props$p & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
641
642
|
|
|
642
643
|
declare global {
|
|
643
644
|
namespace React.JSX {
|
|
@@ -646,12 +647,12 @@ declare global {
|
|
|
646
647
|
}
|
|
647
648
|
}
|
|
648
649
|
}
|
|
649
|
-
type Props$
|
|
650
|
+
type Props$o = {
|
|
650
651
|
opened?: boolean;
|
|
651
652
|
};
|
|
652
|
-
declare const Modal: React.ForwardRefExoticComponent<Props$
|
|
653
|
+
declare const Modal: React.ForwardRefExoticComponent<Props$o & React.RefAttributes<HTMLDivElement>>;
|
|
653
654
|
|
|
654
|
-
type Props$
|
|
655
|
+
type Props$n = DescopeInputProps & {
|
|
655
656
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
656
657
|
'min-items-selection'?: number;
|
|
657
658
|
'max-items-selection'?: number;
|
|
@@ -659,7 +660,7 @@ type Props$m = DescopeInputProps & {
|
|
|
659
660
|
declare global {
|
|
660
661
|
namespace React.JSX {
|
|
661
662
|
interface IntrinsicElements {
|
|
662
|
-
'descope-button-multi-selection-group': Props$
|
|
663
|
+
'descope-button-multi-selection-group': Props$n & {
|
|
663
664
|
'default-values'?: string;
|
|
664
665
|
};
|
|
665
666
|
'descope-button-selection-group-item': React.JSX.IntrinsicElements['span'] & {
|
|
@@ -686,16 +687,16 @@ type MultiSelectType = {
|
|
|
686
687
|
'max-items-selection'?: number;
|
|
687
688
|
'label-type'?: string;
|
|
688
689
|
};
|
|
689
|
-
type Props$
|
|
690
|
+
type Props$m = Omit<React.ComponentProps<typeof ButtonMultiSelectionGroup>, 'default-values'> & MultiSelectType & {
|
|
690
691
|
'default-values'?: string[];
|
|
691
692
|
};
|
|
692
|
-
declare const MultiSelect: React.ForwardRefExoticComponent<Omit<Props$
|
|
693
|
+
declare const MultiSelect: React.ForwardRefExoticComponent<Omit<Props$m, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
693
694
|
|
|
694
695
|
type Item$3 = {
|
|
695
696
|
label: string;
|
|
696
697
|
value: string;
|
|
697
698
|
};
|
|
698
|
-
type Props$
|
|
699
|
+
type Props$l = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'helper-text' | 'data-errormessage-pattern-mismatch' | 'data-errormessage-value-missing'> & {
|
|
699
700
|
'label-value'?: string;
|
|
700
701
|
'label-attr'?: string;
|
|
701
702
|
'button-label'?: string;
|
|
@@ -707,20 +708,20 @@ type Props$k = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'h
|
|
|
707
708
|
declare global {
|
|
708
709
|
namespace React.JSX {
|
|
709
710
|
interface IntrinsicElements {
|
|
710
|
-
'descope-mappings-field': Omit<Props$
|
|
711
|
+
'descope-mappings-field': Omit<Props$l, 'default-values' | 'options'> & {
|
|
711
712
|
'default-values'?: string;
|
|
712
713
|
options?: string;
|
|
713
714
|
};
|
|
714
715
|
}
|
|
715
716
|
}
|
|
716
717
|
}
|
|
717
|
-
declare const MappingsField: React.ForwardRefExoticComponent<Omit<Props$
|
|
718
|
+
declare const MappingsField: React.ForwardRefExoticComponent<Omit<Props$l, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
718
719
|
|
|
719
720
|
type Item$2 = {
|
|
720
721
|
label: string;
|
|
721
722
|
value: string;
|
|
722
723
|
};
|
|
723
|
-
type Props$
|
|
724
|
+
type Props$k = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'helper-text' | 'data-errormessage-pattern-mismatch' | 'data-errormessage-value-missing'> & {
|
|
724
725
|
'label-value'?: string;
|
|
725
726
|
'label-attr'?: string;
|
|
726
727
|
'label-group'?: string;
|
|
@@ -732,13 +733,13 @@ type Props$j = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'h
|
|
|
732
733
|
declare global {
|
|
733
734
|
namespace React.JSX {
|
|
734
735
|
interface IntrinsicElements {
|
|
735
|
-
'descope-saml-group-mappings': Omit<Props$
|
|
736
|
+
'descope-saml-group-mappings': Omit<Props$k, 'options'> & {
|
|
736
737
|
options?: string;
|
|
737
738
|
};
|
|
738
739
|
}
|
|
739
740
|
}
|
|
740
741
|
}
|
|
741
|
-
declare const SAMLGroupMappings: React.ForwardRefExoticComponent<Omit<Props$
|
|
742
|
+
declare const SAMLGroupMappings: React.ForwardRefExoticComponent<Omit<Props$k, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
742
743
|
|
|
743
744
|
declare global {
|
|
744
745
|
namespace React.JSX {
|
|
@@ -759,7 +760,7 @@ declare const UserAuthMethod: React.ForwardRefExoticComponent<Omit<React.ClassAt
|
|
|
759
760
|
buttonIcon?: string;
|
|
760
761
|
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
761
762
|
|
|
762
|
-
type Props$
|
|
763
|
+
type Props$j = {
|
|
763
764
|
'badge-tooltip-text'?: string;
|
|
764
765
|
'badge-label'?: string;
|
|
765
766
|
value?: string;
|
|
@@ -771,13 +772,13 @@ type Props$i = {
|
|
|
771
772
|
declare global {
|
|
772
773
|
namespace React.JSX {
|
|
773
774
|
interface IntrinsicElements {
|
|
774
|
-
'descope-user-attribute': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
775
|
+
'descope-user-attribute': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$j;
|
|
775
776
|
}
|
|
776
777
|
}
|
|
777
778
|
}
|
|
778
|
-
declare const UserAttribute: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Props$
|
|
779
|
+
declare const UserAttribute: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Props$j, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
779
780
|
|
|
780
|
-
type Props$
|
|
781
|
+
type Props$i = {
|
|
781
782
|
img?: string;
|
|
782
783
|
'display-name'?: string;
|
|
783
784
|
size?: string;
|
|
@@ -786,26 +787,26 @@ type Props$h = {
|
|
|
786
787
|
declare global {
|
|
787
788
|
namespace React.JSX {
|
|
788
789
|
interface IntrinsicElements {
|
|
789
|
-
'descope-avatar': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
790
|
+
'descope-avatar': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$i;
|
|
790
791
|
}
|
|
791
792
|
}
|
|
792
793
|
}
|
|
793
|
-
declare const Avatar: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Props$
|
|
794
|
+
declare const Avatar: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Props$i, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
794
795
|
|
|
795
|
-
type Props$
|
|
796
|
+
type Props$h = {
|
|
796
797
|
lang?: 'xml' | 'html' | 'javascript' | 'css' | 'json';
|
|
797
798
|
inline?: boolean;
|
|
798
799
|
};
|
|
799
800
|
declare global {
|
|
800
801
|
namespace React.JSX {
|
|
801
802
|
interface IntrinsicElements {
|
|
802
|
-
'descope-code-snippet': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
803
|
+
'descope-code-snippet': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$h;
|
|
803
804
|
}
|
|
804
805
|
}
|
|
805
806
|
}
|
|
806
|
-
declare const CodeSnippet: React.ForwardRefExoticComponent<Props$
|
|
807
|
+
declare const CodeSnippet: React.ForwardRefExoticComponent<Props$h & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
807
808
|
|
|
808
|
-
type Props$
|
|
809
|
+
type Props$g = {
|
|
809
810
|
emptyState?: React.ReactNode;
|
|
810
811
|
children?: React.ReactNode[];
|
|
811
812
|
variant?: 'list' | 'tiles';
|
|
@@ -813,26 +814,26 @@ type Props$f = {
|
|
|
813
814
|
declare global {
|
|
814
815
|
namespace React.JSX {
|
|
815
816
|
interface IntrinsicElements {
|
|
816
|
-
'descope-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
817
|
+
'descope-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$g>;
|
|
817
818
|
}
|
|
818
819
|
}
|
|
819
820
|
}
|
|
820
|
-
declare const List: React.ForwardRefExoticComponent<Props$
|
|
821
|
+
declare const List: React.ForwardRefExoticComponent<Props$g & React.RefAttributes<HTMLDivElement>>;
|
|
821
822
|
|
|
822
|
-
type Props$
|
|
823
|
+
type Props$f = {
|
|
823
824
|
variant?: 'row' | 'tile';
|
|
824
825
|
children?: React.ReactNode;
|
|
825
826
|
};
|
|
826
827
|
declare global {
|
|
827
828
|
namespace React.JSX {
|
|
828
829
|
interface IntrinsicElements {
|
|
829
|
-
'descope-list-item': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
830
|
+
'descope-list-item': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$f>;
|
|
830
831
|
}
|
|
831
832
|
}
|
|
832
833
|
}
|
|
833
|
-
declare const ListItem: React.ForwardRefExoticComponent<Props$
|
|
834
|
+
declare const ListItem: React.ForwardRefExoticComponent<Props$f & React.RefAttributes<HTMLDivElement>>;
|
|
834
835
|
|
|
835
|
-
type Props$
|
|
836
|
+
type Props$e = {
|
|
836
837
|
emptyState?: React.ReactNode;
|
|
837
838
|
variant?: 'list' | 'tiles';
|
|
838
839
|
data?: any[];
|
|
@@ -841,18 +842,18 @@ type Props$d = {
|
|
|
841
842
|
declare global {
|
|
842
843
|
namespace React.JSX {
|
|
843
844
|
interface IntrinsicElements {
|
|
844
|
-
'descope-apps-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
845
|
+
'descope-apps-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$e>;
|
|
845
846
|
}
|
|
846
847
|
}
|
|
847
848
|
}
|
|
848
|
-
declare const AppsList: React.ForwardRefExoticComponent<Props$
|
|
849
|
+
declare const AppsList: React.ForwardRefExoticComponent<Props$e & React.RefAttributes<HTMLDivElement>>;
|
|
849
850
|
|
|
850
851
|
type Item$1 = {
|
|
851
852
|
desc: string;
|
|
852
853
|
id: string;
|
|
853
854
|
required?: boolean;
|
|
854
855
|
};
|
|
855
|
-
type Props$
|
|
856
|
+
type Props$d = {
|
|
856
857
|
variant?: 'checkbox' | 'switch';
|
|
857
858
|
data?: Item$1[];
|
|
858
859
|
readonly?: boolean;
|
|
@@ -861,17 +862,17 @@ type Props$c = {
|
|
|
861
862
|
declare global {
|
|
862
863
|
namespace React.JSX {
|
|
863
864
|
interface IntrinsicElements {
|
|
864
|
-
'descope-scopes-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
865
|
+
'descope-scopes-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$d>;
|
|
865
866
|
}
|
|
866
867
|
}
|
|
867
868
|
}
|
|
868
|
-
declare const ScopesList: React.ForwardRefExoticComponent<Props$
|
|
869
|
+
declare const ScopesList: React.ForwardRefExoticComponent<Props$d & React.RefAttributes<HTMLDivElement>>;
|
|
869
870
|
|
|
870
871
|
type Question$1 = {
|
|
871
872
|
id: string;
|
|
872
873
|
text: string;
|
|
873
874
|
};
|
|
874
|
-
type Props$
|
|
875
|
+
type Props$c = {
|
|
875
876
|
questions?: Question$1[];
|
|
876
877
|
readonly?: boolean;
|
|
877
878
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -886,17 +887,17 @@ type Props$b = {
|
|
|
886
887
|
declare global {
|
|
887
888
|
namespace React.JSX {
|
|
888
889
|
interface IntrinsicElements {
|
|
889
|
-
'descope-security-questions-setup': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
890
|
+
'descope-security-questions-setup': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$c>;
|
|
890
891
|
}
|
|
891
892
|
}
|
|
892
893
|
}
|
|
893
|
-
declare const SecurityQuestionsSetup: React.ForwardRefExoticComponent<Props$
|
|
894
|
+
declare const SecurityQuestionsSetup: React.ForwardRefExoticComponent<Props$c & React.RefAttributes<HTMLDivElement>>;
|
|
894
895
|
|
|
895
896
|
type Question = {
|
|
896
897
|
id: string;
|
|
897
898
|
text: string;
|
|
898
899
|
};
|
|
899
|
-
type Props$
|
|
900
|
+
type Props$b = {
|
|
900
901
|
questions?: Question[];
|
|
901
902
|
readonly?: boolean;
|
|
902
903
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -910,23 +911,23 @@ type Props$a = {
|
|
|
910
911
|
declare global {
|
|
911
912
|
namespace React.JSX {
|
|
912
913
|
interface IntrinsicElements {
|
|
913
|
-
'descope-security-questions-verify': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
914
|
+
'descope-security-questions-verify': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$b>;
|
|
914
915
|
}
|
|
915
916
|
}
|
|
916
917
|
}
|
|
917
|
-
declare const SecurityQuestionsVerify: React.ForwardRefExoticComponent<Props$
|
|
918
|
+
declare const SecurityQuestionsVerify: React.ForwardRefExoticComponent<Props$b & React.RefAttributes<HTMLDivElement>>;
|
|
918
919
|
|
|
919
|
-
type Props$
|
|
920
|
+
type Props$a = {
|
|
920
921
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
921
922
|
};
|
|
922
923
|
declare global {
|
|
923
924
|
namespace React.JSX {
|
|
924
925
|
interface IntrinsicElements {
|
|
925
|
-
'descope-third-party-app-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
926
|
+
'descope-third-party-app-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$a>;
|
|
926
927
|
}
|
|
927
928
|
}
|
|
928
929
|
}
|
|
929
|
-
declare const ThirdPartyAppLogo: React.ForwardRefExoticComponent<Props$
|
|
930
|
+
declare const ThirdPartyAppLogo: React.ForwardRefExoticComponent<Props$a & React.RefAttributes<HTMLDivElement>>;
|
|
930
931
|
|
|
931
932
|
declare global {
|
|
932
933
|
namespace React.JSX {
|
|
@@ -937,7 +938,7 @@ declare global {
|
|
|
937
938
|
}
|
|
938
939
|
declare const DateField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "external-input">, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
939
940
|
|
|
940
|
-
type Props$
|
|
941
|
+
type Props$9 = {
|
|
941
942
|
variant?: 'countrySelection' | 'inputBox';
|
|
942
943
|
'default-code'?: string;
|
|
943
944
|
'phone-input-label'?: string;
|
|
@@ -958,7 +959,7 @@ type Props$8 = {
|
|
|
958
959
|
declare global {
|
|
959
960
|
namespace React.JSX {
|
|
960
961
|
interface IntrinsicElements {
|
|
961
|
-
'descope-hybrid-field': React.DetailedHTMLProps<React.HTMLAttributes<HTMLInputElement>, HTMLInputElement> & PropsToAttrs<Props$
|
|
962
|
+
'descope-hybrid-field': React.DetailedHTMLProps<React.HTMLAttributes<HTMLInputElement>, HTMLInputElement> & PropsToAttrs<Props$9>;
|
|
962
963
|
}
|
|
963
964
|
}
|
|
964
965
|
}
|
|
@@ -981,7 +982,7 @@ declare const HybridField: React.ForwardRefExoticComponent<Omit<React.ClassAttri
|
|
|
981
982
|
'external-input'?: boolean;
|
|
982
983
|
} & HTMLInputAttrs & DescopeInputExtraProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
983
984
|
|
|
984
|
-
type Props$
|
|
985
|
+
type Props$8 = {
|
|
985
986
|
mode?: string;
|
|
986
987
|
variant?: string;
|
|
987
988
|
bordered?: boolean;
|
|
@@ -993,13 +994,13 @@ type Props$7 = {
|
|
|
993
994
|
declare global {
|
|
994
995
|
namespace React.JSX {
|
|
995
996
|
interface IntrinsicElements {
|
|
996
|
-
'descope-alert': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
997
|
+
'descope-alert': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$8;
|
|
997
998
|
}
|
|
998
999
|
}
|
|
999
1000
|
}
|
|
1000
|
-
declare const Alert: React.ForwardRefExoticComponent<Props$
|
|
1001
|
+
declare const Alert: React.ForwardRefExoticComponent<Props$8 & React.RefAttributes<HTMLElement>>;
|
|
1001
1002
|
|
|
1002
|
-
type Props$
|
|
1003
|
+
type Props$7 = {
|
|
1003
1004
|
'data-connector-id'?: string;
|
|
1004
1005
|
'connector-template'?: string;
|
|
1005
1006
|
'min-search-length'?: number;
|
|
@@ -1008,13 +1009,13 @@ type Props$6 = {
|
|
|
1008
1009
|
declare global {
|
|
1009
1010
|
namespace React.JSX {
|
|
1010
1011
|
interface IntrinsicElements {
|
|
1011
|
-
'descope-address-field': Omit<DescopeInputProps, 'external-input'> & Props$
|
|
1012
|
+
'descope-address-field': Omit<DescopeInputProps, 'external-input'> & Props$7;
|
|
1012
1013
|
}
|
|
1013
1014
|
}
|
|
1014
1015
|
}
|
|
1015
|
-
declare const AddressField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "external-input"> & Props$
|
|
1016
|
+
declare const AddressField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "external-input"> & Props$7, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1016
1017
|
|
|
1017
|
-
type Props$
|
|
1018
|
+
type Props$6 = React.JSX.IntrinsicElements['button'] & {
|
|
1018
1019
|
variant?: string;
|
|
1019
1020
|
color?: string;
|
|
1020
1021
|
size?: string;
|
|
@@ -1028,7 +1029,7 @@ type Props$5 = React.JSX.IntrinsicElements['button'] & {
|
|
|
1028
1029
|
declare global {
|
|
1029
1030
|
namespace React.JSX {
|
|
1030
1031
|
interface IntrinsicElements {
|
|
1031
|
-
'descope-timer-button': React.DetailedHTMLProps<React.HTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & Props$
|
|
1032
|
+
'descope-timer-button': React.DetailedHTMLProps<React.HTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & Props$6;
|
|
1032
1033
|
}
|
|
1033
1034
|
}
|
|
1034
1035
|
}
|
|
@@ -1056,7 +1057,7 @@ type ContainerAlignment = {
|
|
|
1056
1057
|
'vertical-alignment'?: FlexAlignment;
|
|
1057
1058
|
'space-between'?: 'sm' | 'md' | 'lg';
|
|
1058
1059
|
};
|
|
1059
|
-
type Props$
|
|
1060
|
+
type Props$5 = {
|
|
1060
1061
|
shadow?: 'md' | 'lg' | 'xl' | '2xl';
|
|
1061
1062
|
borderRadius?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
1062
1063
|
paddingX?: string;
|
|
@@ -1082,9 +1083,9 @@ declare global {
|
|
|
1082
1083
|
}
|
|
1083
1084
|
}
|
|
1084
1085
|
}
|
|
1085
|
-
declare const Container: React.ForwardRefExoticComponent<(Props$
|
|
1086
|
+
declare const Container: React.ForwardRefExoticComponent<(Props$5 & React.HTMLAttributes<HTMLDivElement>) & React.RefAttributes<HTMLDivElement>>;
|
|
1086
1087
|
|
|
1087
|
-
type Props$
|
|
1088
|
+
type Props$4 = {
|
|
1088
1089
|
connector?: string;
|
|
1089
1090
|
action?: string;
|
|
1090
1091
|
textLabel?: string;
|
|
@@ -1094,12 +1095,12 @@ type Props$3 = {
|
|
|
1094
1095
|
readonly?: boolean;
|
|
1095
1096
|
'full-width'?: boolean;
|
|
1096
1097
|
};
|
|
1097
|
-
declare const Turnstile: React.ForwardRefExoticComponent<Props$
|
|
1098
|
+
declare const Turnstile: React.ForwardRefExoticComponent<Props$4 & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1098
1099
|
|
|
1099
1100
|
type Item = {
|
|
1100
1101
|
value: string;
|
|
1101
1102
|
};
|
|
1102
|
-
type Props$
|
|
1103
|
+
type Props$3 = {
|
|
1103
1104
|
variant?: string;
|
|
1104
1105
|
mode?: string;
|
|
1105
1106
|
'text-align': TextAlign;
|
|
@@ -1109,26 +1110,26 @@ type Props$2 = {
|
|
|
1109
1110
|
declare global {
|
|
1110
1111
|
namespace React.JSX {
|
|
1111
1112
|
interface IntrinsicElements {
|
|
1112
|
-
'descope-recovery-codes': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
1113
|
+
'descope-recovery-codes': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$3>;
|
|
1113
1114
|
}
|
|
1114
1115
|
}
|
|
1115
1116
|
}
|
|
1116
|
-
declare const RecoveryCodesList: React.ForwardRefExoticComponent<Props$
|
|
1117
|
+
declare const RecoveryCodesList: React.ForwardRefExoticComponent<Props$3 & React.RefAttributes<HTMLDivElement>>;
|
|
1117
1118
|
|
|
1118
1119
|
declare global {
|
|
1119
1120
|
namespace React.JSX {
|
|
1120
1121
|
interface IntrinsicElements {
|
|
1121
|
-
'descope-hcaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
1122
|
+
'descope-hcaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$2;
|
|
1122
1123
|
}
|
|
1123
1124
|
}
|
|
1124
1125
|
}
|
|
1125
|
-
type Props$
|
|
1126
|
+
type Props$2 = {
|
|
1126
1127
|
connector?: string;
|
|
1127
1128
|
enabled?: boolean;
|
|
1128
1129
|
};
|
|
1129
|
-
declare const Hcaptcha: React.ForwardRefExoticComponent<Props$
|
|
1130
|
+
declare const Hcaptcha: React.ForwardRefExoticComponent<Props$2 & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1130
1131
|
|
|
1131
|
-
type Props = {
|
|
1132
|
+
type Props$1 = {
|
|
1132
1133
|
emptyState?: React.ReactNode;
|
|
1133
1134
|
size?: string;
|
|
1134
1135
|
data?: any[];
|
|
@@ -1137,11 +1138,11 @@ type Props = {
|
|
|
1137
1138
|
declare global {
|
|
1138
1139
|
namespace React.JSX {
|
|
1139
1140
|
interface IntrinsicElements {
|
|
1140
|
-
'descope-outbound-apps': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props>;
|
|
1141
|
+
'descope-outbound-apps': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$1>;
|
|
1141
1142
|
}
|
|
1142
1143
|
}
|
|
1143
1144
|
}
|
|
1144
|
-
declare const OutboundApps: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
1145
|
+
declare const OutboundApps: React.ForwardRefExoticComponent<Props$1 & React.RefAttributes<HTMLDivElement>>;
|
|
1145
1146
|
|
|
1146
1147
|
declare global {
|
|
1147
1148
|
namespace React.JSX {
|
|
@@ -1170,6 +1171,32 @@ declare const OutboundAppButton: React.ForwardRefExoticComponent<Omit<React.Clas
|
|
|
1170
1171
|
'data-name'?: string;
|
|
1171
1172
|
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1172
1173
|
|
|
1174
|
+
type Device = {
|
|
1175
|
+
id: string;
|
|
1176
|
+
name: string;
|
|
1177
|
+
deviceType: 'desktop' | 'mobile' | 'tablet' | 'unknown';
|
|
1178
|
+
lastLoginDate: number;
|
|
1179
|
+
};
|
|
1180
|
+
type Props = {
|
|
1181
|
+
emptyState?: React.ReactNode;
|
|
1182
|
+
data?: Device[];
|
|
1183
|
+
format?: string;
|
|
1184
|
+
readonly?: boolean;
|
|
1185
|
+
'full-width'?: boolean;
|
|
1186
|
+
'hide-actions'?: boolean;
|
|
1187
|
+
'remove-device-label'?: string;
|
|
1188
|
+
'current-device-label'?: string;
|
|
1189
|
+
'last-login-label'?: string;
|
|
1190
|
+
};
|
|
1191
|
+
declare global {
|
|
1192
|
+
namespace React.JSX {
|
|
1193
|
+
interface IntrinsicElements {
|
|
1194
|
+
'descope-trusted-devices': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props>;
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
declare const TrustedDevices: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
1199
|
+
|
|
1173
1200
|
interface IComponentThemeManager {
|
|
1174
1201
|
currentThemeName: string;
|
|
1175
1202
|
currentTheme: Theme;
|
|
@@ -1215,4 +1242,4 @@ type Theme = {
|
|
|
1215
1242
|
};
|
|
1216
1243
|
};
|
|
1217
1244
|
|
|
1218
|
-
export { AddressField, AddressFieldClass, Alert, AlertClass, AppsList, AppsListClass, 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, DateField, DateFieldClass, Divider, DividerClass, EmailFieldClass, EnrichedTextClass, Grid, GridClass, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, Hcaptcha, HcaptchaClass, HybridField, HybridFieldClass, IconClass, Image, ImageClass, Input, 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, RecoveryCodesList, RecoveryCodesListClass, SAMLGroupMappings, SamlGroupMappingsClass, ScopesList, ScopesListClass, SecurityQuestionsSetup, SecurityQuestionsSetupClass, SecurityQuestionsVerify, SecurityQuestionsVerifyClass, Select, SingleSelect, Switch, SwitchToggleClass, TOTPImage, TOTPLink, Text, TextAreaClass, TextClass, TextField, TextFieldClass, Textarea, type Theme, ThirdPartyAppLogo, ThirdPartyAppLogoClass, TimerButton, TimerButtonClass, TotpImageClass, 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 slack, ReactComponent as sso, themeToStyle, themeVars, ReactComponent as whatsapp };
|
|
1245
|
+
export { AddressField, AddressFieldClass, Alert, AlertClass, AppsList, AppsListClass, 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, DateField, DateFieldClass, Divider, DividerClass, EmailFieldClass, EnrichedTextClass, Grid, GridClass, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, Hcaptcha, HcaptchaClass, HybridField, HybridFieldClass, IconClass, Image, ImageClass, Input, 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, RecoveryCodesList, RecoveryCodesListClass, SAMLGroupMappings, SamlGroupMappingsClass, ScopesList, ScopesListClass, SecurityQuestionsSetup, SecurityQuestionsSetupClass, SecurityQuestionsVerify, SecurityQuestionsVerifyClass, Select, SingleSelect, Switch, SwitchToggleClass, TOTPImage, TOTPLink, Text, TextAreaClass, TextClass, TextField, TextFieldClass, Textarea, type Theme, ThirdPartyAppLogo, ThirdPartyAppLogoClass, TimerButton, TimerButtonClass, 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 slack, ReactComponent as sso, themeToStyle, themeVars, ReactComponent as whatsapp };
|