@descope/flow-components 3.1.13 → 3.2.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/222.js +1 -1
- package/dist/fm/222.js.map +1 -1
- package/dist/fm/467.js +2 -2
- package/dist/fm/467.js.LICENSE.txt +1 -1
- package/dist/fm/467.js.map +1 -1
- package/dist/fm/477.js +2 -0
- package/dist/fm/477.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/Attachment/Attachment.d.ts +21 -0
- package/dist/fm/@mf-types/compiled-types/Attachment/index.d.ts +1 -0
- package/dist/fm/@mf-types/compiled-types/Badge/Badge.d.ts +3 -1
- package/dist/fm/@mf-types/compiled-types/LastAuthBadge/LastAuthBadge.d.ts +10 -0
- package/dist/fm/@mf-types/compiled-types/LastAuthBadge/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 +2 -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 +806 -515
- package/dist/index.d.ts +166 -134
- package/dist/index.esm.js +13 -3
- package/dist/types/Attachment/Attachment.d.ts +21 -0
- package/dist/types/Attachment/index.d.ts +1 -0
- package/dist/types/Badge/Badge.d.ts +3 -1
- package/dist/types/LastAuthBadge/LastAuthBadge.d.ts +10 -0
- package/dist/types/LastAuthBadge/index.d.ts +1 -0
- package/dist/types/componentClasses.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/package.json +3 -3
- package/dist/fm/119.js +0 -2
- package/dist/fm/119.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ declare const OutboundAppButtonClass: ComponentClass;
|
|
|
73
73
|
declare const TrustedDevicesClass: ComponentClass;
|
|
74
74
|
declare const TooltipClass: ComponentClass;
|
|
75
75
|
declare const HoneypotClass: ComponentClass;
|
|
76
|
+
declare const AttachmentClass: ComponentClass;
|
|
76
77
|
|
|
77
78
|
type KebabCase<S extends string> = S extends `${infer First}${infer Rest}` ? Rest extends Uncapitalize<Rest> ? `${Uncapitalize<First>}${KebabCase<Rest>}` : `${Uncapitalize<First>}-${KebabCase<Rest>}` : S;
|
|
78
79
|
type ComponentSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -125,11 +126,11 @@ declare const Switch: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "r
|
|
|
125
126
|
type BooleanType = {
|
|
126
127
|
type: 'switch' | 'checkbox';
|
|
127
128
|
};
|
|
128
|
-
type Props$
|
|
129
|
-
declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$
|
|
129
|
+
type Props$P = React.ComponentProps<typeof Checkbox> & React.ComponentProps<typeof Switch> & BooleanType;
|
|
130
|
+
declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$P, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
130
131
|
|
|
131
132
|
type TooltipPosition = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'start' | 'start-top' | 'start-bottom' | 'end' | 'end-top' | 'end-bottom';
|
|
132
|
-
type Props$
|
|
133
|
+
type Props$O = {
|
|
133
134
|
text?: string;
|
|
134
135
|
position?: TooltipPosition;
|
|
135
136
|
hoverDelay?: number;
|
|
@@ -147,11 +148,11 @@ declare module 'react' {
|
|
|
147
148
|
declare global {
|
|
148
149
|
namespace React.JSX {
|
|
149
150
|
interface IntrinsicElements {
|
|
150
|
-
'descope-tooltip': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
151
|
+
'descope-tooltip': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$O;
|
|
151
152
|
}
|
|
152
153
|
}
|
|
153
154
|
}
|
|
154
|
-
declare const Tooltip: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement, unknown> & Props$
|
|
155
|
+
declare const Tooltip: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement, unknown> & Props$O & React.RefAttributes<HTMLElement>>;
|
|
155
156
|
|
|
156
157
|
interface ITooltip {
|
|
157
158
|
hasTooltip?: boolean;
|
|
@@ -188,17 +189,17 @@ declare const Button: React.ForwardRefExoticComponent<Omit<React.ClassAttributes
|
|
|
188
189
|
'data-name'?: string;
|
|
189
190
|
} & ITooltip, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
190
191
|
|
|
191
|
-
type Props$
|
|
192
|
+
type Props$N = {
|
|
192
193
|
digits?: number;
|
|
193
194
|
};
|
|
194
195
|
declare global {
|
|
195
196
|
namespace React.JSX {
|
|
196
197
|
interface IntrinsicElements {
|
|
197
|
-
'descope-passcode': DescopeInputProps & Props$
|
|
198
|
+
'descope-passcode': DescopeInputProps & Props$N;
|
|
198
199
|
}
|
|
199
200
|
}
|
|
200
201
|
}
|
|
201
|
-
declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
202
|
+
declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$N, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
202
203
|
|
|
203
204
|
type Never$1<T extends Record<string, any>> = {
|
|
204
205
|
[K in keyof T]: never;
|
|
@@ -214,7 +215,7 @@ type ContainerAlignment$1 = {
|
|
|
214
215
|
'vertical-alignment'?: FlexAlignment;
|
|
215
216
|
'space-between'?: 'sm' | 'md' | 'lg';
|
|
216
217
|
};
|
|
217
|
-
type Props$
|
|
218
|
+
type Props$M = {
|
|
218
219
|
direction?: 'row' | 'column';
|
|
219
220
|
shadow?: 'md' | 'lg' | 'xl' | '2xl';
|
|
220
221
|
borderRadius?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
@@ -232,9 +233,9 @@ declare global {
|
|
|
232
233
|
}
|
|
233
234
|
}
|
|
234
235
|
}
|
|
235
|
-
declare const Container$1: React.ForwardRefExoticComponent<(Props$
|
|
236
|
+
declare const Container$1: React.ForwardRefExoticComponent<(Props$M & React.HTMLAttributes<HTMLDivElement, unknown>) & React.RefAttributes<HTMLDivElement>>;
|
|
236
237
|
|
|
237
|
-
type Props$
|
|
238
|
+
type Props$L = {
|
|
238
239
|
vertical?: boolean;
|
|
239
240
|
italic?: boolean;
|
|
240
241
|
variant?: TypographyVariants;
|
|
@@ -244,15 +245,15 @@ type Props$K = {
|
|
|
244
245
|
declare global {
|
|
245
246
|
namespace React.JSX {
|
|
246
247
|
interface IntrinsicElements {
|
|
247
|
-
'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$
|
|
248
|
+
'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$L, 'children'>;
|
|
248
249
|
}
|
|
249
250
|
}
|
|
250
251
|
}
|
|
251
|
-
declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement, unknown>, HTMLDivElement>, "size"> & Props$
|
|
252
|
+
declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement, unknown>, HTMLDivElement>, "size"> & Props$L, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
252
253
|
|
|
253
254
|
declare const ReactComponent: (props: SVGProps) => React.JSX.Element;
|
|
254
255
|
|
|
255
|
-
type Props$
|
|
256
|
+
type Props$K = {
|
|
256
257
|
width?: string;
|
|
257
258
|
height?: string;
|
|
258
259
|
alt?: string;
|
|
@@ -262,7 +263,7 @@ type Props$J = {
|
|
|
262
263
|
declare global {
|
|
263
264
|
namespace React.JSX {
|
|
264
265
|
interface IntrinsicElements {
|
|
265
|
-
'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
266
|
+
'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$K;
|
|
266
267
|
}
|
|
267
268
|
}
|
|
268
269
|
}
|
|
@@ -276,7 +277,7 @@ declare const Image: React.ForwardRefExoticComponent<{
|
|
|
276
277
|
|
|
277
278
|
declare const Input: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
278
279
|
|
|
279
|
-
type Props$
|
|
280
|
+
type Props$J = {
|
|
280
281
|
href?: string | undefined;
|
|
281
282
|
italic?: boolean;
|
|
282
283
|
variant?: TypographyVariants;
|
|
@@ -288,7 +289,7 @@ type Props$I = {
|
|
|
288
289
|
declare global {
|
|
289
290
|
namespace React.JSX {
|
|
290
291
|
interface IntrinsicElements {
|
|
291
|
-
'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$
|
|
292
|
+
'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$J, 'children'>;
|
|
292
293
|
}
|
|
293
294
|
}
|
|
294
295
|
}
|
|
@@ -302,12 +303,12 @@ declare const Link: React.ForwardRefExoticComponent<{
|
|
|
302
303
|
children?: React.ReactNode;
|
|
303
304
|
} & ITooltip & React.RefAttributes<HTMLAnchorElement>>;
|
|
304
305
|
|
|
305
|
-
type Props$
|
|
306
|
+
type Props$I = {
|
|
306
307
|
variant?: 'linear' | 'radial';
|
|
307
308
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
308
309
|
color?: Mode;
|
|
309
310
|
};
|
|
310
|
-
type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
311
|
+
type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$I>;
|
|
311
312
|
declare global {
|
|
312
313
|
namespace React.JSX {
|
|
313
314
|
interface IntrinsicElements {
|
|
@@ -316,22 +317,22 @@ declare global {
|
|
|
316
317
|
}
|
|
317
318
|
}
|
|
318
319
|
}
|
|
319
|
-
declare const Loader: React.ForwardRefExoticComponent<Props$
|
|
320
|
+
declare const Loader: React.ForwardRefExoticComponent<Props$I & React.RefAttributes<HTMLDivElement>>;
|
|
320
321
|
|
|
321
|
-
type Props$
|
|
322
|
+
type Props$H = {
|
|
322
323
|
width?: string;
|
|
323
324
|
height?: string;
|
|
324
325
|
};
|
|
325
326
|
declare global {
|
|
326
327
|
namespace React.JSX {
|
|
327
328
|
interface IntrinsicElements {
|
|
328
|
-
'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
329
|
+
'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$H>;
|
|
329
330
|
}
|
|
330
331
|
}
|
|
331
332
|
}
|
|
332
|
-
declare const Logo: React.ForwardRefExoticComponent<Props$
|
|
333
|
+
declare const Logo: React.ForwardRefExoticComponent<Props$H & React.RefAttributes<HTMLDivElement>>;
|
|
333
334
|
|
|
334
|
-
type Props$
|
|
335
|
+
type Props$G = {
|
|
335
336
|
'password-label'?: string;
|
|
336
337
|
'password-placeholder'?: string;
|
|
337
338
|
'confirm-label'?: string;
|
|
@@ -358,11 +359,11 @@ type Props$F = {
|
|
|
358
359
|
declare global {
|
|
359
360
|
namespace React.JSX {
|
|
360
361
|
interface IntrinsicElements {
|
|
361
|
-
'descope-new-password': DescopeInputProps & Props$
|
|
362
|
+
'descope-new-password': DescopeInputProps & Props$G;
|
|
362
363
|
}
|
|
363
364
|
}
|
|
364
365
|
}
|
|
365
|
-
declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
366
|
+
declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$G, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
366
367
|
|
|
367
368
|
declare global {
|
|
368
369
|
namespace React.JSX {
|
|
@@ -382,7 +383,7 @@ declare global {
|
|
|
382
383
|
}
|
|
383
384
|
declare const Password: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
384
385
|
|
|
385
|
-
type Props$
|
|
386
|
+
type Props$F = {
|
|
386
387
|
variant: 'countrySelection' | 'inputBox';
|
|
387
388
|
'default-code'?: string;
|
|
388
389
|
'phone-input-placeholder'?: string;
|
|
@@ -391,9 +392,9 @@ type Props$E = {
|
|
|
391
392
|
'format-value'?: boolean;
|
|
392
393
|
'strict-validation'?: boolean;
|
|
393
394
|
} & DescopeInputProps;
|
|
394
|
-
declare const Phone: React.ForwardRefExoticComponent<Omit<Props$
|
|
395
|
+
declare const Phone: React.ForwardRefExoticComponent<Omit<Props$F, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
395
396
|
|
|
396
|
-
type Props$
|
|
397
|
+
type Props$E = {
|
|
397
398
|
children?: React.JSX.Element[];
|
|
398
399
|
data?: string | Record<string, string>[];
|
|
399
400
|
};
|
|
@@ -406,9 +407,9 @@ declare global {
|
|
|
406
407
|
}
|
|
407
408
|
}
|
|
408
409
|
}
|
|
409
|
-
declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
410
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$E, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
410
411
|
|
|
411
|
-
type Props$
|
|
412
|
+
type Props$D = {
|
|
412
413
|
italic?: boolean;
|
|
413
414
|
variant?: string;
|
|
414
415
|
mode?: string;
|
|
@@ -420,8 +421,8 @@ type Props$C = {
|
|
|
420
421
|
declare global {
|
|
421
422
|
namespace React.JSX {
|
|
422
423
|
interface IntrinsicElements {
|
|
423
|
-
'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
424
|
-
'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
424
|
+
'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$D;
|
|
425
|
+
'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$D & {
|
|
425
426
|
readonly?: boolean;
|
|
426
427
|
};
|
|
427
428
|
}
|
|
@@ -457,7 +458,7 @@ declare global {
|
|
|
457
458
|
}
|
|
458
459
|
declare const TextField: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
459
460
|
|
|
460
|
-
type Props$
|
|
461
|
+
type Props$C = {
|
|
461
462
|
width?: string;
|
|
462
463
|
height?: string;
|
|
463
464
|
component?: 'code' | 'text';
|
|
@@ -470,7 +471,7 @@ type Props$B = {
|
|
|
470
471
|
declare global {
|
|
471
472
|
namespace React.JSX {
|
|
472
473
|
interface IntrinsicElements {
|
|
473
|
-
'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
474
|
+
'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$C>;
|
|
474
475
|
}
|
|
475
476
|
}
|
|
476
477
|
}
|
|
@@ -485,26 +486,26 @@ declare const TOTPImage: React.ForwardRefExoticComponent<{
|
|
|
485
486
|
'hide-when-empty'?: boolean;
|
|
486
487
|
} & ITooltip & React.RefAttributes<HTMLDivElement>>;
|
|
487
488
|
|
|
488
|
-
type Props$
|
|
489
|
-
declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$
|
|
489
|
+
type Props$B = Omit<React.ComponentProps<typeof Link>, 'href'>;
|
|
490
|
+
declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$B, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
490
491
|
|
|
491
|
-
type Props$
|
|
492
|
+
type Props$A = {
|
|
492
493
|
width?: string;
|
|
493
494
|
height?: string;
|
|
494
495
|
};
|
|
495
496
|
declare global {
|
|
496
497
|
namespace React.JSX {
|
|
497
498
|
interface IntrinsicElements {
|
|
498
|
-
'descope-notp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
499
|
+
'descope-notp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$A>;
|
|
499
500
|
}
|
|
500
501
|
}
|
|
501
502
|
}
|
|
502
|
-
declare const NOTPImage: React.ForwardRefExoticComponent<Props$
|
|
503
|
+
declare const NOTPImage: React.ForwardRefExoticComponent<Props$A & React.RefAttributes<HTMLDivElement>>;
|
|
503
504
|
|
|
504
|
-
type Props$
|
|
505
|
-
declare const NOTPLink: React.ForwardRefExoticComponent<Omit<Props$
|
|
505
|
+
type Props$z = Omit<React.ComponentProps<typeof Link>, 'href'>;
|
|
506
|
+
declare const NOTPLink: React.ForwardRefExoticComponent<Omit<Props$z, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
506
507
|
|
|
507
|
-
type Props$
|
|
508
|
+
type Props$y = {
|
|
508
509
|
title?: string;
|
|
509
510
|
description?: string;
|
|
510
511
|
icon?: string;
|
|
@@ -523,13 +524,13 @@ type Props$x = {
|
|
|
523
524
|
declare global {
|
|
524
525
|
namespace React.JSX {
|
|
525
526
|
interface IntrinsicElements {
|
|
526
|
-
'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
527
|
+
'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$y;
|
|
527
528
|
}
|
|
528
529
|
}
|
|
529
530
|
}
|
|
530
|
-
declare const UploadFile: React.ForwardRefExoticComponent<Props$
|
|
531
|
+
declare const UploadFile: React.ForwardRefExoticComponent<Props$y & React.HTMLAttributes<HTMLDivElement, unknown> & React.RefAttributes<HTMLDivElement>>;
|
|
531
532
|
|
|
532
|
-
type Props$
|
|
533
|
+
type Props$x = {
|
|
533
534
|
enabled?: boolean;
|
|
534
535
|
'site-key'?: string;
|
|
535
536
|
enterprise?: boolean;
|
|
@@ -548,13 +549,13 @@ declare global {
|
|
|
548
549
|
}
|
|
549
550
|
namespace React.JSX {
|
|
550
551
|
interface IntrinsicElements {
|
|
551
|
-
'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
552
|
+
'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$x;
|
|
552
553
|
}
|
|
553
554
|
}
|
|
554
555
|
}
|
|
555
|
-
declare const Recaptcha: React.ForwardRefExoticComponent<Props$
|
|
556
|
+
declare const Recaptcha: React.ForwardRefExoticComponent<Props$x & React.HTMLAttributes<HTMLDivElement, unknown> & React.RefAttributes<HTMLDivElement>>;
|
|
556
557
|
|
|
557
|
-
type Props$
|
|
558
|
+
type Props$w = {
|
|
558
559
|
connector?: string;
|
|
559
560
|
enterprise?: boolean;
|
|
560
561
|
action?: string;
|
|
@@ -569,16 +570,16 @@ type Props$v = {
|
|
|
569
570
|
width?: string;
|
|
570
571
|
height?: string;
|
|
571
572
|
};
|
|
572
|
-
declare const RecaptchaV2: React.ForwardRefExoticComponent<Props$
|
|
573
|
+
declare const RecaptchaV2: React.ForwardRefExoticComponent<Props$w & React.HTMLAttributes<HTMLDivElement, any> & React.RefAttributes<HTMLDivElement>>;
|
|
573
574
|
|
|
574
|
-
type Props$
|
|
575
|
+
type Props$v = DescopeInputProps & {
|
|
575
576
|
'default-value'?: string;
|
|
576
577
|
'allow-deselect'?: boolean;
|
|
577
578
|
};
|
|
578
579
|
declare global {
|
|
579
580
|
namespace React.JSX {
|
|
580
581
|
interface IntrinsicElements {
|
|
581
|
-
'descope-button-selection-group': Props$
|
|
582
|
+
'descope-button-selection-group': Props$v;
|
|
582
583
|
'descope-button-selection-group-item': React.JSX.IntrinsicElements['span'] & {
|
|
583
584
|
value: string;
|
|
584
585
|
children: string;
|
|
@@ -604,10 +605,10 @@ type SingleSelectType = {
|
|
|
604
605
|
layout?: 'horizontal' | 'vertical';
|
|
605
606
|
'label-type'?: LabelType;
|
|
606
607
|
};
|
|
607
|
-
type Props$
|
|
608
|
-
declare const SingleSelect: React.ForwardRefExoticComponent<Omit<Props$
|
|
608
|
+
type Props$u = Omit<React.ComponentProps<typeof ButtonSelectionGroup>, 'allow-deselect'> & SingleSelectType;
|
|
609
|
+
declare const SingleSelect: React.ForwardRefExoticComponent<Omit<Props$u, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
609
610
|
|
|
610
|
-
type Props$
|
|
611
|
+
type Props$t = DescopeInputProps & {
|
|
611
612
|
'default-value'?: string;
|
|
612
613
|
'item-label-path'?: string;
|
|
613
614
|
'item-value-path'?: string;
|
|
@@ -615,7 +616,7 @@ type Props$s = DescopeInputProps & {
|
|
|
615
616
|
declare global {
|
|
616
617
|
namespace React.JSX {
|
|
617
618
|
interface IntrinsicElements {
|
|
618
|
-
'descope-combobox': Props$
|
|
619
|
+
'descope-combobox': Props$t;
|
|
619
620
|
}
|
|
620
621
|
}
|
|
621
622
|
}
|
|
@@ -637,7 +638,7 @@ type Column = {
|
|
|
637
638
|
resizable: boolean;
|
|
638
639
|
};
|
|
639
640
|
};
|
|
640
|
-
type Props$
|
|
641
|
+
type Props$s = {
|
|
641
642
|
identifier: any;
|
|
642
643
|
children?: React.JSX.Element[];
|
|
643
644
|
size?: Omit<ComponentSize, 'xl'>;
|
|
@@ -653,7 +654,7 @@ declare global {
|
|
|
653
654
|
}
|
|
654
655
|
}
|
|
655
656
|
}
|
|
656
|
-
declare const Grid: React.ForwardRefExoticComponent<Props$
|
|
657
|
+
declare const Grid: React.ForwardRefExoticComponent<Props$s & React.RefAttributes<HTMLInputElement>>;
|
|
657
658
|
|
|
658
659
|
type ColumnProps = {
|
|
659
660
|
sortable?: boolean;
|
|
@@ -674,20 +675,22 @@ declare const GridTextColumn: React.ForwardRefExoticComponent<ColumnProps & Reac
|
|
|
674
675
|
|
|
675
676
|
declare const GridItemDetailsColumn: React.ForwardRefExoticComponent<ColumnProps & React.RefAttributes<HTMLInputElement>>;
|
|
676
677
|
|
|
677
|
-
type Props$
|
|
678
|
+
type Props$r = {
|
|
678
679
|
mode?: string;
|
|
679
680
|
size?: string;
|
|
680
681
|
bordered?: boolean;
|
|
681
|
-
'full-width'
|
|
682
|
+
'full-width'?: boolean;
|
|
683
|
+
variant?: string;
|
|
684
|
+
shrinkToIndicator?: boolean;
|
|
682
685
|
};
|
|
683
686
|
declare global {
|
|
684
687
|
namespace React.JSX {
|
|
685
688
|
interface IntrinsicElements {
|
|
686
|
-
'descope-badge': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
689
|
+
'descope-badge': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$r;
|
|
687
690
|
}
|
|
688
691
|
}
|
|
689
692
|
}
|
|
690
|
-
declare const Badge: React.ForwardRefExoticComponent<Props$
|
|
693
|
+
declare const Badge: React.ForwardRefExoticComponent<Props$r & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>>;
|
|
691
694
|
|
|
692
695
|
declare global {
|
|
693
696
|
namespace React.JSX {
|
|
@@ -696,12 +699,12 @@ declare global {
|
|
|
696
699
|
}
|
|
697
700
|
}
|
|
698
701
|
}
|
|
699
|
-
type Props$
|
|
702
|
+
type Props$q = {
|
|
700
703
|
opened?: boolean;
|
|
701
704
|
};
|
|
702
|
-
declare const Modal: React.ForwardRefExoticComponent<Props$
|
|
705
|
+
declare const Modal: React.ForwardRefExoticComponent<Props$q & React.RefAttributes<HTMLDivElement>>;
|
|
703
706
|
|
|
704
|
-
type Props$
|
|
707
|
+
type Props$p = DescopeInputProps & {
|
|
705
708
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
706
709
|
'min-items-selection'?: number;
|
|
707
710
|
'max-items-selection'?: number;
|
|
@@ -709,7 +712,7 @@ type Props$o = DescopeInputProps & {
|
|
|
709
712
|
declare global {
|
|
710
713
|
namespace React.JSX {
|
|
711
714
|
interface IntrinsicElements {
|
|
712
|
-
'descope-button-multi-selection-group': Props$
|
|
715
|
+
'descope-button-multi-selection-group': Props$p & {
|
|
713
716
|
'default-values'?: string;
|
|
714
717
|
};
|
|
715
718
|
'descope-button-selection-group-item': React.JSX.IntrinsicElements['span'] & {
|
|
@@ -736,16 +739,16 @@ type MultiSelectType = {
|
|
|
736
739
|
'max-items-selection'?: number;
|
|
737
740
|
'label-type'?: string;
|
|
738
741
|
};
|
|
739
|
-
type Props$
|
|
742
|
+
type Props$o = Omit<React.ComponentProps<typeof ButtonMultiSelectionGroup>, 'default-values'> & MultiSelectType & {
|
|
740
743
|
'default-values'?: string[];
|
|
741
744
|
};
|
|
742
|
-
declare const MultiSelect: React.ForwardRefExoticComponent<Omit<Props$
|
|
745
|
+
declare const MultiSelect: React.ForwardRefExoticComponent<Omit<Props$o, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
743
746
|
|
|
744
747
|
type Item$3 = {
|
|
745
748
|
label: string;
|
|
746
749
|
value: string;
|
|
747
750
|
};
|
|
748
|
-
type Props$
|
|
751
|
+
type Props$n = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'helper-text' | 'data-errormessage-pattern-mismatch' | 'data-errormessage-value-missing'> & {
|
|
749
752
|
'label-value'?: string;
|
|
750
753
|
'label-attr'?: string;
|
|
751
754
|
'button-label'?: string;
|
|
@@ -757,20 +760,20 @@ type Props$m = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'h
|
|
|
757
760
|
declare global {
|
|
758
761
|
namespace React.JSX {
|
|
759
762
|
interface IntrinsicElements {
|
|
760
|
-
'descope-mappings-field': Omit<Props$
|
|
763
|
+
'descope-mappings-field': Omit<Props$n, 'default-values' | 'options'> & {
|
|
761
764
|
'default-values'?: string;
|
|
762
765
|
options?: string;
|
|
763
766
|
};
|
|
764
767
|
}
|
|
765
768
|
}
|
|
766
769
|
}
|
|
767
|
-
declare const MappingsField: React.ForwardRefExoticComponent<Omit<Props$
|
|
770
|
+
declare const MappingsField: React.ForwardRefExoticComponent<Omit<Props$n, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
768
771
|
|
|
769
772
|
type Item$2 = {
|
|
770
773
|
label: string;
|
|
771
774
|
value: string;
|
|
772
775
|
};
|
|
773
|
-
type Props$
|
|
776
|
+
type Props$m = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'helper-text' | 'data-errormessage-pattern-mismatch' | 'data-errormessage-value-missing'> & {
|
|
774
777
|
'label-value'?: string;
|
|
775
778
|
'label-attr'?: string;
|
|
776
779
|
'label-group'?: string;
|
|
@@ -782,13 +785,13 @@ type Props$l = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'h
|
|
|
782
785
|
declare global {
|
|
783
786
|
namespace React.JSX {
|
|
784
787
|
interface IntrinsicElements {
|
|
785
|
-
'descope-saml-group-mappings': Omit<Props$
|
|
788
|
+
'descope-saml-group-mappings': Omit<Props$m, 'options'> & {
|
|
786
789
|
options?: string;
|
|
787
790
|
};
|
|
788
791
|
}
|
|
789
792
|
}
|
|
790
793
|
}
|
|
791
|
-
declare const SAMLGroupMappings: React.ForwardRefExoticComponent<Omit<Props$
|
|
794
|
+
declare const SAMLGroupMappings: React.ForwardRefExoticComponent<Omit<Props$m, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
792
795
|
|
|
793
796
|
declare global {
|
|
794
797
|
namespace React.JSX {
|
|
@@ -813,7 +816,7 @@ declare const UserAuthMethod: React.ForwardRefExoticComponent<Omit<React.ClassAt
|
|
|
813
816
|
fulfilledButtonIconDark?: string;
|
|
814
817
|
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
815
818
|
|
|
816
|
-
type Props$
|
|
819
|
+
type Props$l = {
|
|
817
820
|
'badge-tooltip-text'?: string;
|
|
818
821
|
'badge-label'?: string;
|
|
819
822
|
value?: string;
|
|
@@ -829,13 +832,13 @@ type Props$k = {
|
|
|
829
832
|
declare global {
|
|
830
833
|
namespace React.JSX {
|
|
831
834
|
interface IntrinsicElements {
|
|
832
|
-
'descope-user-attribute': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
835
|
+
'descope-user-attribute': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$l;
|
|
833
836
|
}
|
|
834
837
|
}
|
|
835
838
|
}
|
|
836
|
-
declare const UserAttribute: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement, unknown> & Props$
|
|
839
|
+
declare const UserAttribute: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement, unknown> & Props$l, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
837
840
|
|
|
838
|
-
type Props$
|
|
841
|
+
type Props$k = {
|
|
839
842
|
img?: string;
|
|
840
843
|
'display-name'?: string;
|
|
841
844
|
size?: string;
|
|
@@ -844,26 +847,26 @@ type Props$j = {
|
|
|
844
847
|
declare global {
|
|
845
848
|
namespace React.JSX {
|
|
846
849
|
interface IntrinsicElements {
|
|
847
|
-
'descope-avatar': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
850
|
+
'descope-avatar': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$k;
|
|
848
851
|
}
|
|
849
852
|
}
|
|
850
853
|
}
|
|
851
|
-
declare const Avatar: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement, unknown> & Props$
|
|
854
|
+
declare const Avatar: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement, unknown> & Props$k, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
852
855
|
|
|
853
|
-
type Props$
|
|
856
|
+
type Props$j = {
|
|
854
857
|
lang?: 'xml' | 'html' | 'javascript' | 'css' | 'json';
|
|
855
858
|
inline?: boolean;
|
|
856
859
|
};
|
|
857
860
|
declare global {
|
|
858
861
|
namespace React.JSX {
|
|
859
862
|
interface IntrinsicElements {
|
|
860
|
-
'descope-code-snippet': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
863
|
+
'descope-code-snippet': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$j;
|
|
861
864
|
}
|
|
862
865
|
}
|
|
863
866
|
}
|
|
864
|
-
declare const CodeSnippet: React.ForwardRefExoticComponent<Props$
|
|
867
|
+
declare const CodeSnippet: React.ForwardRefExoticComponent<Props$j & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>>;
|
|
865
868
|
|
|
866
|
-
type Props$
|
|
869
|
+
type Props$i = {
|
|
867
870
|
emptyState?: React.ReactNode;
|
|
868
871
|
children?: React.ReactNode[];
|
|
869
872
|
variant?: 'list' | 'tiles';
|
|
@@ -871,26 +874,26 @@ type Props$h = {
|
|
|
871
874
|
declare global {
|
|
872
875
|
namespace React.JSX {
|
|
873
876
|
interface IntrinsicElements {
|
|
874
|
-
'descope-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
877
|
+
'descope-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$i>;
|
|
875
878
|
}
|
|
876
879
|
}
|
|
877
880
|
}
|
|
878
|
-
declare const List: React.ForwardRefExoticComponent<Props$
|
|
881
|
+
declare const List: React.ForwardRefExoticComponent<Props$i & React.RefAttributes<HTMLDivElement>>;
|
|
879
882
|
|
|
880
|
-
type Props$
|
|
883
|
+
type Props$h = {
|
|
881
884
|
variant?: 'row' | 'tile';
|
|
882
885
|
children?: React.ReactNode;
|
|
883
886
|
};
|
|
884
887
|
declare global {
|
|
885
888
|
namespace React.JSX {
|
|
886
889
|
interface IntrinsicElements {
|
|
887
|
-
'descope-list-item': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
890
|
+
'descope-list-item': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$h>;
|
|
888
891
|
}
|
|
889
892
|
}
|
|
890
893
|
}
|
|
891
|
-
declare const ListItem: React.ForwardRefExoticComponent<Props$
|
|
894
|
+
declare const ListItem: React.ForwardRefExoticComponent<Props$h & React.RefAttributes<HTMLDivElement>>;
|
|
892
895
|
|
|
893
|
-
type Props$
|
|
896
|
+
type Props$g = {
|
|
894
897
|
emptyState?: React.ReactNode;
|
|
895
898
|
variant?: 'list' | 'tiles' | 'custom';
|
|
896
899
|
data?: any[];
|
|
@@ -899,18 +902,18 @@ type Props$f = {
|
|
|
899
902
|
declare global {
|
|
900
903
|
namespace React.JSX {
|
|
901
904
|
interface IntrinsicElements {
|
|
902
|
-
'descope-apps-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
905
|
+
'descope-apps-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$g>;
|
|
903
906
|
}
|
|
904
907
|
}
|
|
905
908
|
}
|
|
906
|
-
declare const AppsList: React.ForwardRefExoticComponent<Props$
|
|
909
|
+
declare const AppsList: React.ForwardRefExoticComponent<Props$g & React.RefAttributes<HTMLDivElement>>;
|
|
907
910
|
|
|
908
911
|
type Item$1 = {
|
|
909
912
|
desc: string;
|
|
910
913
|
id: string;
|
|
911
914
|
required?: boolean;
|
|
912
915
|
};
|
|
913
|
-
type Props$
|
|
916
|
+
type Props$f = {
|
|
914
917
|
variant?: 'checkbox' | 'switch';
|
|
915
918
|
data?: Item$1[];
|
|
916
919
|
readonly?: boolean;
|
|
@@ -919,17 +922,17 @@ type Props$e = {
|
|
|
919
922
|
declare global {
|
|
920
923
|
namespace React.JSX {
|
|
921
924
|
interface IntrinsicElements {
|
|
922
|
-
'descope-scopes-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
925
|
+
'descope-scopes-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$f>;
|
|
923
926
|
}
|
|
924
927
|
}
|
|
925
928
|
}
|
|
926
|
-
declare const ScopesList: React.ForwardRefExoticComponent<Props$
|
|
929
|
+
declare const ScopesList: React.ForwardRefExoticComponent<Props$f & React.RefAttributes<HTMLDivElement>>;
|
|
927
930
|
|
|
928
931
|
type Question$1 = {
|
|
929
932
|
id: string;
|
|
930
933
|
text: string;
|
|
931
934
|
};
|
|
932
|
-
type Props$
|
|
935
|
+
type Props$e = {
|
|
933
936
|
questions?: Question$1[];
|
|
934
937
|
readonly?: boolean;
|
|
935
938
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -944,17 +947,17 @@ type Props$d = {
|
|
|
944
947
|
declare global {
|
|
945
948
|
namespace React.JSX {
|
|
946
949
|
interface IntrinsicElements {
|
|
947
|
-
'descope-security-questions-setup': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
950
|
+
'descope-security-questions-setup': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$e>;
|
|
948
951
|
}
|
|
949
952
|
}
|
|
950
953
|
}
|
|
951
|
-
declare const SecurityQuestionsSetup: React.ForwardRefExoticComponent<Props$
|
|
954
|
+
declare const SecurityQuestionsSetup: React.ForwardRefExoticComponent<Props$e & React.RefAttributes<HTMLDivElement>>;
|
|
952
955
|
|
|
953
956
|
type Question = {
|
|
954
957
|
id: string;
|
|
955
958
|
text: string;
|
|
956
959
|
};
|
|
957
|
-
type Props$
|
|
960
|
+
type Props$d = {
|
|
958
961
|
questions?: Question[];
|
|
959
962
|
readonly?: boolean;
|
|
960
963
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -968,23 +971,23 @@ type Props$c = {
|
|
|
968
971
|
declare global {
|
|
969
972
|
namespace React.JSX {
|
|
970
973
|
interface IntrinsicElements {
|
|
971
|
-
'descope-security-questions-verify': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
974
|
+
'descope-security-questions-verify': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$d>;
|
|
972
975
|
}
|
|
973
976
|
}
|
|
974
977
|
}
|
|
975
|
-
declare const SecurityQuestionsVerify: React.ForwardRefExoticComponent<Props$
|
|
978
|
+
declare const SecurityQuestionsVerify: React.ForwardRefExoticComponent<Props$d & React.RefAttributes<HTMLDivElement>>;
|
|
976
979
|
|
|
977
|
-
type Props$
|
|
980
|
+
type Props$c = {
|
|
978
981
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
979
982
|
};
|
|
980
983
|
declare global {
|
|
981
984
|
namespace React.JSX {
|
|
982
985
|
interface IntrinsicElements {
|
|
983
|
-
'descope-third-party-app-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
986
|
+
'descope-third-party-app-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$c>;
|
|
984
987
|
}
|
|
985
988
|
}
|
|
986
989
|
}
|
|
987
|
-
declare const ThirdPartyAppLogo: React.ForwardRefExoticComponent<Props$
|
|
990
|
+
declare const ThirdPartyAppLogo: React.ForwardRefExoticComponent<Props$c & React.RefAttributes<HTMLDivElement>>;
|
|
988
991
|
|
|
989
992
|
declare global {
|
|
990
993
|
namespace React.JSX {
|
|
@@ -995,7 +998,7 @@ declare global {
|
|
|
995
998
|
}
|
|
996
999
|
declare const DateField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "external-input">, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
997
1000
|
|
|
998
|
-
type Props$
|
|
1001
|
+
type Props$b = {
|
|
999
1002
|
variant?: 'countrySelection' | 'inputBox';
|
|
1000
1003
|
'default-code'?: string;
|
|
1001
1004
|
'phone-input-label'?: string;
|
|
@@ -1016,7 +1019,7 @@ type Props$a = {
|
|
|
1016
1019
|
declare global {
|
|
1017
1020
|
namespace React.JSX {
|
|
1018
1021
|
interface IntrinsicElements {
|
|
1019
|
-
'descope-hybrid-field': React.DetailedHTMLProps<React.HTMLAttributes<HTMLInputElement>, HTMLInputElement> & PropsToAttrs<Props$
|
|
1022
|
+
'descope-hybrid-field': React.DetailedHTMLProps<React.HTMLAttributes<HTMLInputElement>, HTMLInputElement> & PropsToAttrs<Props$b>;
|
|
1020
1023
|
}
|
|
1021
1024
|
}
|
|
1022
1025
|
}
|
|
@@ -1039,7 +1042,7 @@ declare const HybridField: React.ForwardRefExoticComponent<Omit<React.ClassAttri
|
|
|
1039
1042
|
'external-input'?: boolean;
|
|
1040
1043
|
} & HTMLInputAttrs & DescopeInputExtraProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1041
1044
|
|
|
1042
|
-
type Props$
|
|
1045
|
+
type Props$a = {
|
|
1043
1046
|
mode?: string;
|
|
1044
1047
|
variant?: string;
|
|
1045
1048
|
bordered?: boolean;
|
|
@@ -1051,13 +1054,13 @@ type Props$9 = {
|
|
|
1051
1054
|
declare global {
|
|
1052
1055
|
namespace React.JSX {
|
|
1053
1056
|
interface IntrinsicElements {
|
|
1054
|
-
'descope-alert': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
1057
|
+
'descope-alert': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$a;
|
|
1055
1058
|
}
|
|
1056
1059
|
}
|
|
1057
1060
|
}
|
|
1058
|
-
declare const Alert: React.ForwardRefExoticComponent<Props$
|
|
1061
|
+
declare const Alert: React.ForwardRefExoticComponent<Props$a & React.RefAttributes<HTMLElement>>;
|
|
1059
1062
|
|
|
1060
|
-
type Props$
|
|
1063
|
+
type Props$9 = {
|
|
1061
1064
|
'data-connector-id'?: string;
|
|
1062
1065
|
'connector-template'?: string;
|
|
1063
1066
|
'min-search-length'?: number;
|
|
@@ -1066,18 +1069,18 @@ type Props$8 = {
|
|
|
1066
1069
|
declare global {
|
|
1067
1070
|
namespace React.JSX {
|
|
1068
1071
|
interface IntrinsicElements {
|
|
1069
|
-
'descope-address-field': Omit<DescopeInputProps, 'external-input'> & Props$
|
|
1072
|
+
'descope-address-field': Omit<DescopeInputProps, 'external-input'> & Props$9;
|
|
1070
1073
|
}
|
|
1071
1074
|
}
|
|
1072
1075
|
}
|
|
1073
|
-
declare const AddressField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "external-input"> & Props$
|
|
1076
|
+
declare const AddressField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "external-input"> & Props$9, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1074
1077
|
|
|
1075
1078
|
type CountrySubdivisionCityValue = {
|
|
1076
1079
|
country?: string;
|
|
1077
1080
|
subdivision?: string;
|
|
1078
1081
|
city?: string;
|
|
1079
1082
|
};
|
|
1080
|
-
type Props$
|
|
1083
|
+
type Props$8 = {
|
|
1081
1084
|
'hide-country'?: boolean;
|
|
1082
1085
|
'hide-subdivision'?: boolean;
|
|
1083
1086
|
'hide-city'?: boolean;
|
|
@@ -1097,13 +1100,13 @@ type Props$7 = {
|
|
|
1097
1100
|
declare global {
|
|
1098
1101
|
namespace React.JSX {
|
|
1099
1102
|
interface IntrinsicElements {
|
|
1100
|
-
'descope-country-subdivision-city-field': Omit<DescopeInputProps, 'external-input' | 'value'> & Props$
|
|
1103
|
+
'descope-country-subdivision-city-field': Omit<DescopeInputProps, 'external-input' | 'value'> & Props$8;
|
|
1101
1104
|
}
|
|
1102
1105
|
}
|
|
1103
1106
|
}
|
|
1104
|
-
declare const CountrySubdivisionCityField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "value" | "external-input"> & Props$
|
|
1107
|
+
declare const CountrySubdivisionCityField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "value" | "external-input"> & Props$8, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1105
1108
|
|
|
1106
|
-
type Props$
|
|
1109
|
+
type Props$7 = React.JSX.IntrinsicElements['button'] & {
|
|
1107
1110
|
variant?: string;
|
|
1108
1111
|
color?: string;
|
|
1109
1112
|
size?: string;
|
|
@@ -1117,7 +1120,7 @@ type Props$6 = React.JSX.IntrinsicElements['button'] & {
|
|
|
1117
1120
|
declare global {
|
|
1118
1121
|
namespace React.JSX {
|
|
1119
1122
|
interface IntrinsicElements {
|
|
1120
|
-
'descope-timer-button': React.DetailedHTMLProps<React.HTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & Props$
|
|
1123
|
+
'descope-timer-button': React.DetailedHTMLProps<React.HTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & Props$7;
|
|
1121
1124
|
}
|
|
1122
1125
|
}
|
|
1123
1126
|
}
|
|
@@ -1145,7 +1148,7 @@ type ContainerAlignment = {
|
|
|
1145
1148
|
'vertical-alignment'?: FlexAlignment;
|
|
1146
1149
|
'space-between'?: 'sm' | 'md' | 'lg';
|
|
1147
1150
|
};
|
|
1148
|
-
type Props$
|
|
1151
|
+
type Props$6 = {
|
|
1149
1152
|
shadow?: 'md' | 'lg' | 'xl' | '2xl';
|
|
1150
1153
|
borderRadius?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
1151
1154
|
paddingX?: string;
|
|
@@ -1171,9 +1174,9 @@ declare global {
|
|
|
1171
1174
|
}
|
|
1172
1175
|
}
|
|
1173
1176
|
}
|
|
1174
|
-
declare const Container: React.ForwardRefExoticComponent<(Props$
|
|
1177
|
+
declare const Container: React.ForwardRefExoticComponent<(Props$6 & React.HTMLAttributes<HTMLDivElement, unknown>) & React.RefAttributes<HTMLDivElement>>;
|
|
1175
1178
|
|
|
1176
|
-
type Props$
|
|
1179
|
+
type Props$5 = {
|
|
1177
1180
|
connector?: string;
|
|
1178
1181
|
action?: string;
|
|
1179
1182
|
textLabel?: string;
|
|
@@ -1183,12 +1186,12 @@ type Props$4 = {
|
|
|
1183
1186
|
readonly?: boolean;
|
|
1184
1187
|
'full-width'?: boolean;
|
|
1185
1188
|
};
|
|
1186
|
-
declare const Turnstile: React.ForwardRefExoticComponent<Props$
|
|
1189
|
+
declare const Turnstile: React.ForwardRefExoticComponent<Props$5 & React.HTMLAttributes<HTMLDivElement, unknown> & React.RefAttributes<HTMLDivElement>>;
|
|
1187
1190
|
|
|
1188
1191
|
type Item = {
|
|
1189
1192
|
value: string;
|
|
1190
1193
|
};
|
|
1191
|
-
type Props$
|
|
1194
|
+
type Props$4 = {
|
|
1192
1195
|
variant?: string;
|
|
1193
1196
|
mode?: string;
|
|
1194
1197
|
'text-align': TextAlign;
|
|
@@ -1198,26 +1201,26 @@ type Props$3 = {
|
|
|
1198
1201
|
declare global {
|
|
1199
1202
|
namespace React.JSX {
|
|
1200
1203
|
interface IntrinsicElements {
|
|
1201
|
-
'descope-recovery-codes': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
1204
|
+
'descope-recovery-codes': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$4>;
|
|
1202
1205
|
}
|
|
1203
1206
|
}
|
|
1204
1207
|
}
|
|
1205
|
-
declare const RecoveryCodesList: React.ForwardRefExoticComponent<Props$
|
|
1208
|
+
declare const RecoveryCodesList: React.ForwardRefExoticComponent<Props$4 & React.RefAttributes<HTMLDivElement>>;
|
|
1206
1209
|
|
|
1207
1210
|
declare global {
|
|
1208
1211
|
namespace React.JSX {
|
|
1209
1212
|
interface IntrinsicElements {
|
|
1210
|
-
'descope-hcaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
1213
|
+
'descope-hcaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$3;
|
|
1211
1214
|
}
|
|
1212
1215
|
}
|
|
1213
1216
|
}
|
|
1214
|
-
type Props$
|
|
1217
|
+
type Props$3 = {
|
|
1215
1218
|
connector?: string;
|
|
1216
1219
|
enabled?: boolean;
|
|
1217
1220
|
};
|
|
1218
|
-
declare const Hcaptcha: React.ForwardRefExoticComponent<Props$
|
|
1221
|
+
declare const Hcaptcha: React.ForwardRefExoticComponent<Props$3 & React.HTMLAttributes<HTMLDivElement, unknown> & React.RefAttributes<HTMLDivElement>>;
|
|
1219
1222
|
|
|
1220
|
-
type Props$
|
|
1223
|
+
type Props$2 = {
|
|
1221
1224
|
emptyState?: React.ReactNode;
|
|
1222
1225
|
size?: string;
|
|
1223
1226
|
data?: any[];
|
|
@@ -1226,11 +1229,11 @@ type Props$1 = {
|
|
|
1226
1229
|
declare global {
|
|
1227
1230
|
namespace React.JSX {
|
|
1228
1231
|
interface IntrinsicElements {
|
|
1229
|
-
'descope-outbound-apps': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
1232
|
+
'descope-outbound-apps': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$2>;
|
|
1230
1233
|
}
|
|
1231
1234
|
}
|
|
1232
1235
|
}
|
|
1233
|
-
declare const OutboundApps: React.ForwardRefExoticComponent<Props$
|
|
1236
|
+
declare const OutboundApps: React.ForwardRefExoticComponent<Props$2 & React.RefAttributes<HTMLDivElement>>;
|
|
1234
1237
|
|
|
1235
1238
|
declare global {
|
|
1236
1239
|
namespace React.JSX {
|
|
@@ -1265,7 +1268,7 @@ type Device = {
|
|
|
1265
1268
|
deviceType: 'desktop' | 'mobile' | 'tablet' | 'unknown';
|
|
1266
1269
|
lastLoginDate: number;
|
|
1267
1270
|
};
|
|
1268
|
-
type Props = {
|
|
1271
|
+
type Props$1 = {
|
|
1269
1272
|
emptyState?: React.ReactNode;
|
|
1270
1273
|
data?: Device[];
|
|
1271
1274
|
format?: string;
|
|
@@ -1279,11 +1282,11 @@ type Props = {
|
|
|
1279
1282
|
declare global {
|
|
1280
1283
|
namespace React.JSX {
|
|
1281
1284
|
interface IntrinsicElements {
|
|
1282
|
-
'descope-trusted-devices': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props>;
|
|
1285
|
+
'descope-trusted-devices': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$1>;
|
|
1283
1286
|
}
|
|
1284
1287
|
}
|
|
1285
1288
|
}
|
|
1286
|
-
declare const TrustedDevices: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
1289
|
+
declare const TrustedDevices: React.ForwardRefExoticComponent<Props$1 & React.RefAttributes<HTMLDivElement>>;
|
|
1287
1290
|
|
|
1288
1291
|
declare global {
|
|
1289
1292
|
namespace React.JSX {
|
|
@@ -1302,6 +1305,35 @@ declare const TenantSelector: React.ForwardRefExoticComponent<{
|
|
|
1302
1305
|
children?: React.JSX.Element[];
|
|
1303
1306
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
1304
1307
|
|
|
1308
|
+
type Position = 'top-start' | 'top-end' | 'top-center' | 'bottom-start' | 'bottom-end' | 'bottom-center';
|
|
1309
|
+
type Props = {
|
|
1310
|
+
position?: Position;
|
|
1311
|
+
attachment?: React.ReactElement<React.HTMLAttributes<HTMLElement>>;
|
|
1312
|
+
offsetX?: number;
|
|
1313
|
+
offsetY?: number;
|
|
1314
|
+
};
|
|
1315
|
+
declare global {
|
|
1316
|
+
namespace React.JSX {
|
|
1317
|
+
interface IntrinsicElements {
|
|
1318
|
+
'descope-attachment': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
1319
|
+
position?: Position;
|
|
1320
|
+
offsetX?: number;
|
|
1321
|
+
offsetY?: number;
|
|
1322
|
+
};
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
declare const Attachment: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>>;
|
|
1327
|
+
|
|
1328
|
+
declare const LastAuthBadge: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
1329
|
+
position?: "top-start" | "top-end" | "bottom-start" | "bottom-end" | "top-center" | "bottom-center";
|
|
1330
|
+
attachment?: React.ReactElement<React.HTMLAttributes<HTMLElement>>;
|
|
1331
|
+
offsetX?: number;
|
|
1332
|
+
offsetY?: number;
|
|
1333
|
+
} & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>, "attachment"> & {
|
|
1334
|
+
badgeLabel: string;
|
|
1335
|
+
} & React.HTMLAttributes<HTMLElement, unknown>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
1336
|
+
|
|
1305
1337
|
interface IComponentThemeManager {
|
|
1306
1338
|
currentThemeName: string;
|
|
1307
1339
|
currentTheme: Theme;
|
|
@@ -1348,5 +1380,5 @@ type Theme = {
|
|
|
1348
1380
|
};
|
|
1349
1381
|
};
|
|
1350
1382
|
|
|
1351
|
-
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, CountrySubdivisionCityField, CountrySubdivisionCityFieldClass, DateField, DateFieldClass, Divider, DividerClass, EmailFieldClass, EnrichedTextClass, Grid, GridClass, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, Hcaptcha, HcaptchaClass, Honeypot, HoneypotClass, 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, 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 };
|
|
1383
|
+
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 };
|
|
1352
1384
|
export type { Theme };
|