@descope/flow-components 3.14.4 → 3.14.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fm/222.js +1 -1
- package/dist/fm/222.js.map +1 -1
- package/dist/fm/467.js +1 -1
- package/dist/fm/467.js.map +1 -1
- package/dist/fm/{537.js → 663.js} +2 -2
- package/dist/fm/663.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/components.d.ts +1 -0
- package/dist/fm/@mf-types/compiled-types/theme.d.ts +1 -0
- package/dist/fm/__federation_expose_componentClasses.js +1 -1
- package/dist/fm/__federation_expose_componentClasses.js.map +1 -1
- package/dist/fm/__federation_expose_components.js +1 -1
- package/dist/fm/__federation_expose_theme.js +1 -1
- package/dist/fm/__federation_expose_theme.js.map +1 -1
- package/dist/fm/flowComponents.js +1 -1
- package/dist/fm/flowComponents.js.map +1 -1
- package/dist/fm/main.js +1 -1
- package/dist/fm/main.js.map +1 -1
- package/dist/fm/mf-manifest.json +2 -2
- package/dist/fm/mf-stats.json +2 -2
- package/dist/index.cjs.js +29 -0
- package/dist/index.d.ts +162 -141
- package/dist/index.esm.js +1 -1
- package/dist/types/components.d.ts +1 -0
- package/dist/types/theme.d.ts +1 -0
- package/package.json +2 -2
- package/dist/fm/537.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -131,11 +131,11 @@ declare const Switch: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "r
|
|
|
131
131
|
type BooleanType = {
|
|
132
132
|
type: 'switch' | 'checkbox';
|
|
133
133
|
};
|
|
134
|
-
type Props$
|
|
135
|
-
declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$
|
|
134
|
+
type Props$S = React.ComponentProps<typeof Checkbox> & React.ComponentProps<typeof Switch> & BooleanType;
|
|
135
|
+
declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$S, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
136
136
|
|
|
137
137
|
type TooltipPosition = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'start' | 'start-top' | 'start-bottom' | 'end' | 'end-top' | 'end-bottom';
|
|
138
|
-
type Props$
|
|
138
|
+
type Props$R = {
|
|
139
139
|
text?: string;
|
|
140
140
|
position?: TooltipPosition;
|
|
141
141
|
hoverDelay?: number;
|
|
@@ -153,11 +153,11 @@ declare module 'react' {
|
|
|
153
153
|
declare global {
|
|
154
154
|
namespace React.JSX {
|
|
155
155
|
interface IntrinsicElements {
|
|
156
|
-
'descope-tooltip': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
156
|
+
'descope-tooltip': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$R;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
declare const Tooltip: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement, unknown> & Props$
|
|
160
|
+
declare const Tooltip: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement, unknown> & Props$R & React.RefAttributes<HTMLElement>>;
|
|
161
161
|
|
|
162
162
|
interface ITooltip {
|
|
163
163
|
hasTooltip?: boolean;
|
|
@@ -194,17 +194,17 @@ declare const Button: React.ForwardRefExoticComponent<Omit<React.ClassAttributes
|
|
|
194
194
|
'data-name'?: string;
|
|
195
195
|
} & ITooltip, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
196
196
|
|
|
197
|
-
type Props$
|
|
197
|
+
type Props$Q = {
|
|
198
198
|
digits?: number;
|
|
199
199
|
};
|
|
200
200
|
declare global {
|
|
201
201
|
namespace React.JSX {
|
|
202
202
|
interface IntrinsicElements {
|
|
203
|
-
'descope-passcode': DescopeInputProps & Props$
|
|
203
|
+
'descope-passcode': DescopeInputProps & Props$Q;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
207
|
+
declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$Q, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
208
208
|
|
|
209
209
|
type Never$1<T extends Record<string, any>> = {
|
|
210
210
|
[K in keyof T]: never;
|
|
@@ -220,7 +220,7 @@ type ContainerAlignment$1 = {
|
|
|
220
220
|
'vertical-alignment'?: FlexAlignment;
|
|
221
221
|
'space-between'?: 'sm' | 'md' | 'lg';
|
|
222
222
|
};
|
|
223
|
-
type Props$
|
|
223
|
+
type Props$P = {
|
|
224
224
|
direction?: 'row' | 'column';
|
|
225
225
|
shadow?: 'md' | 'lg' | 'xl' | '2xl';
|
|
226
226
|
borderRadius?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
@@ -238,9 +238,9 @@ declare global {
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
-
declare const Container$1: React.ForwardRefExoticComponent<(Props$
|
|
241
|
+
declare const Container$1: React.ForwardRefExoticComponent<(Props$P & React.HTMLAttributes<HTMLDivElement, unknown>) & React.RefAttributes<HTMLDivElement>>;
|
|
242
242
|
|
|
243
|
-
type Props$
|
|
243
|
+
type Props$O = {
|
|
244
244
|
vertical?: boolean;
|
|
245
245
|
italic?: boolean;
|
|
246
246
|
variant?: TypographyVariants;
|
|
@@ -250,15 +250,15 @@ type Props$N = {
|
|
|
250
250
|
declare global {
|
|
251
251
|
namespace React.JSX {
|
|
252
252
|
interface IntrinsicElements {
|
|
253
|
-
'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$
|
|
253
|
+
'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$O, 'children'>;
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
|
-
declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement, unknown>, HTMLDivElement>, "size"> & Props$
|
|
257
|
+
declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement, unknown>, HTMLDivElement>, "size"> & Props$O, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
258
258
|
|
|
259
259
|
declare const ReactComponent: (props: SVGProps) => React.JSX.Element;
|
|
260
260
|
|
|
261
|
-
type Props$
|
|
261
|
+
type Props$N = {
|
|
262
262
|
width?: string;
|
|
263
263
|
height?: string;
|
|
264
264
|
alt?: string;
|
|
@@ -268,7 +268,7 @@ type Props$M = {
|
|
|
268
268
|
declare global {
|
|
269
269
|
namespace React.JSX {
|
|
270
270
|
interface IntrinsicElements {
|
|
271
|
-
'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
271
|
+
'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$N;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
}
|
|
@@ -282,7 +282,7 @@ declare const Image: React.ForwardRefExoticComponent<{
|
|
|
282
282
|
|
|
283
283
|
declare const Input: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
284
284
|
|
|
285
|
-
type Props$
|
|
285
|
+
type Props$M = {
|
|
286
286
|
href?: string | undefined;
|
|
287
287
|
italic?: boolean;
|
|
288
288
|
variant?: TypographyVariants;
|
|
@@ -294,7 +294,7 @@ type Props$L = {
|
|
|
294
294
|
declare global {
|
|
295
295
|
namespace React.JSX {
|
|
296
296
|
interface IntrinsicElements {
|
|
297
|
-
'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$
|
|
297
|
+
'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$M, 'children'>;
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
}
|
|
@@ -308,12 +308,12 @@ declare const Link: React.ForwardRefExoticComponent<{
|
|
|
308
308
|
children?: React.ReactNode;
|
|
309
309
|
} & ITooltip & React.RefAttributes<HTMLAnchorElement>>;
|
|
310
310
|
|
|
311
|
-
type Props$
|
|
311
|
+
type Props$L = {
|
|
312
312
|
variant?: 'linear' | 'radial';
|
|
313
313
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
314
314
|
color?: Mode;
|
|
315
315
|
};
|
|
316
|
-
type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
316
|
+
type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$L>;
|
|
317
317
|
declare global {
|
|
318
318
|
namespace React.JSX {
|
|
319
319
|
interface IntrinsicElements {
|
|
@@ -322,22 +322,22 @@ declare global {
|
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
declare const Loader: React.ForwardRefExoticComponent<Props$
|
|
325
|
+
declare const Loader: React.ForwardRefExoticComponent<Props$L & React.RefAttributes<HTMLDivElement>>;
|
|
326
326
|
|
|
327
|
-
type Props$
|
|
327
|
+
type Props$K = {
|
|
328
328
|
width?: string;
|
|
329
329
|
height?: string;
|
|
330
330
|
};
|
|
331
331
|
declare global {
|
|
332
332
|
namespace React.JSX {
|
|
333
333
|
interface IntrinsicElements {
|
|
334
|
-
'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
334
|
+
'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$K>;
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
}
|
|
338
|
-
declare const Logo: React.ForwardRefExoticComponent<Props$
|
|
338
|
+
declare const Logo: React.ForwardRefExoticComponent<Props$K & React.RefAttributes<HTMLDivElement>>;
|
|
339
339
|
|
|
340
|
-
type Props$
|
|
340
|
+
type Props$J = {
|
|
341
341
|
'password-label'?: string;
|
|
342
342
|
'password-placeholder'?: string;
|
|
343
343
|
'confirm-label'?: string;
|
|
@@ -370,11 +370,11 @@ type Props$I = {
|
|
|
370
370
|
declare global {
|
|
371
371
|
namespace React.JSX {
|
|
372
372
|
interface IntrinsicElements {
|
|
373
|
-
'descope-new-password': DescopeInputProps & Props$
|
|
373
|
+
'descope-new-password': DescopeInputProps & Props$J;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
|
-
declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
377
|
+
declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$J, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
378
378
|
|
|
379
379
|
declare global {
|
|
380
380
|
namespace React.JSX {
|
|
@@ -394,7 +394,7 @@ declare global {
|
|
|
394
394
|
}
|
|
395
395
|
declare const Password: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
396
396
|
|
|
397
|
-
type Props$
|
|
397
|
+
type Props$I = {
|
|
398
398
|
variant: 'countrySelection' | 'inputBox';
|
|
399
399
|
'default-code'?: string;
|
|
400
400
|
'phone-input-placeholder'?: string;
|
|
@@ -403,9 +403,9 @@ type Props$H = {
|
|
|
403
403
|
'format-value'?: boolean;
|
|
404
404
|
'strict-validation'?: boolean;
|
|
405
405
|
} & DescopeInputProps;
|
|
406
|
-
declare const Phone: React.ForwardRefExoticComponent<Omit<Props$
|
|
406
|
+
declare const Phone: React.ForwardRefExoticComponent<Omit<Props$I, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
407
407
|
|
|
408
|
-
type Props$
|
|
408
|
+
type Props$H = {
|
|
409
409
|
children?: React.JSX.Element[];
|
|
410
410
|
data?: string | Record<string, string>[];
|
|
411
411
|
};
|
|
@@ -418,9 +418,9 @@ declare global {
|
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
421
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$H, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
422
422
|
|
|
423
|
-
type Props$
|
|
423
|
+
type Props$G = {
|
|
424
424
|
italic?: boolean;
|
|
425
425
|
variant?: string;
|
|
426
426
|
mode?: string;
|
|
@@ -432,8 +432,8 @@ type Props$F = {
|
|
|
432
432
|
declare global {
|
|
433
433
|
namespace React.JSX {
|
|
434
434
|
interface IntrinsicElements {
|
|
435
|
-
'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
436
|
-
'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
435
|
+
'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$G;
|
|
436
|
+
'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$G & {
|
|
437
437
|
readonly?: boolean;
|
|
438
438
|
};
|
|
439
439
|
}
|
|
@@ -469,7 +469,7 @@ declare global {
|
|
|
469
469
|
}
|
|
470
470
|
declare const TextField: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
471
471
|
|
|
472
|
-
type Props$
|
|
472
|
+
type Props$F = {
|
|
473
473
|
width?: string;
|
|
474
474
|
height?: string;
|
|
475
475
|
component?: 'code' | 'text';
|
|
@@ -482,7 +482,7 @@ type Props$E = {
|
|
|
482
482
|
declare global {
|
|
483
483
|
namespace React.JSX {
|
|
484
484
|
interface IntrinsicElements {
|
|
485
|
-
'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
485
|
+
'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$F>;
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
488
|
}
|
|
@@ -497,26 +497,26 @@ declare const TOTPImage: React.ForwardRefExoticComponent<{
|
|
|
497
497
|
'hide-when-empty'?: boolean;
|
|
498
498
|
} & ITooltip & React.RefAttributes<HTMLDivElement>>;
|
|
499
499
|
|
|
500
|
-
type Props$
|
|
501
|
-
declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$
|
|
500
|
+
type Props$E = Omit<React.ComponentProps<typeof Link>, 'href'>;
|
|
501
|
+
declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$E, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
502
502
|
|
|
503
|
-
type Props$
|
|
503
|
+
type Props$D = {
|
|
504
504
|
width?: string;
|
|
505
505
|
height?: string;
|
|
506
506
|
};
|
|
507
507
|
declare global {
|
|
508
508
|
namespace React.JSX {
|
|
509
509
|
interface IntrinsicElements {
|
|
510
|
-
'descope-notp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
510
|
+
'descope-notp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$D>;
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
declare const NOTPImage: React.ForwardRefExoticComponent<Props$
|
|
514
|
+
declare const NOTPImage: React.ForwardRefExoticComponent<Props$D & React.RefAttributes<HTMLDivElement>>;
|
|
515
515
|
|
|
516
|
-
type Props$
|
|
517
|
-
declare const NOTPLink: React.ForwardRefExoticComponent<Omit<Props$
|
|
516
|
+
type Props$C = Omit<React.ComponentProps<typeof Link>, 'href'>;
|
|
517
|
+
declare const NOTPLink: React.ForwardRefExoticComponent<Omit<Props$C, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
518
518
|
|
|
519
|
-
type Props$
|
|
519
|
+
type Props$B = {
|
|
520
520
|
title?: string;
|
|
521
521
|
description?: string;
|
|
522
522
|
icon?: string;
|
|
@@ -535,13 +535,13 @@ type Props$A = {
|
|
|
535
535
|
declare global {
|
|
536
536
|
namespace React.JSX {
|
|
537
537
|
interface IntrinsicElements {
|
|
538
|
-
'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
538
|
+
'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$B;
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
declare const UploadFile: React.ForwardRefExoticComponent<Props$
|
|
542
|
+
declare const UploadFile: React.ForwardRefExoticComponent<Props$B & React.HTMLAttributes<HTMLDivElement, unknown> & React.RefAttributes<HTMLDivElement>>;
|
|
543
543
|
|
|
544
|
-
type Props$
|
|
544
|
+
type Props$A = {
|
|
545
545
|
enabled?: boolean;
|
|
546
546
|
'site-key'?: string;
|
|
547
547
|
enterprise?: boolean;
|
|
@@ -560,13 +560,13 @@ declare global {
|
|
|
560
560
|
}
|
|
561
561
|
namespace React.JSX {
|
|
562
562
|
interface IntrinsicElements {
|
|
563
|
-
'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement, any>, HTMLElement> & Props$
|
|
563
|
+
'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement, any>, HTMLElement> & Props$A;
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
-
declare const Recaptcha: React.ForwardRefExoticComponent<Props$
|
|
567
|
+
declare const Recaptcha: React.ForwardRefExoticComponent<Props$A & React.HTMLAttributes<HTMLDivElement, any> & React.RefAttributes<HTMLDivElement>>;
|
|
568
568
|
|
|
569
|
-
type Props$
|
|
569
|
+
type Props$z = {
|
|
570
570
|
connector?: string;
|
|
571
571
|
enterprise?: boolean;
|
|
572
572
|
action?: string;
|
|
@@ -581,16 +581,16 @@ type Props$y = {
|
|
|
581
581
|
width?: string;
|
|
582
582
|
height?: string;
|
|
583
583
|
};
|
|
584
|
-
declare const RecaptchaV2: React.ForwardRefExoticComponent<Props$
|
|
584
|
+
declare const RecaptchaV2: React.ForwardRefExoticComponent<Props$z & React.HTMLAttributes<HTMLDivElement, any> & React.RefAttributes<HTMLDivElement>>;
|
|
585
585
|
|
|
586
|
-
type Props$
|
|
586
|
+
type Props$y = DescopeInputProps & {
|
|
587
587
|
'default-value'?: string;
|
|
588
588
|
'allow-deselect'?: boolean;
|
|
589
589
|
};
|
|
590
590
|
declare global {
|
|
591
591
|
namespace React.JSX {
|
|
592
592
|
interface IntrinsicElements {
|
|
593
|
-
'descope-button-selection-group': Props$
|
|
593
|
+
'descope-button-selection-group': Props$y;
|
|
594
594
|
'descope-button-selection-group-item': React.JSX.IntrinsicElements['span'] & {
|
|
595
595
|
value: string;
|
|
596
596
|
children: string;
|
|
@@ -616,10 +616,10 @@ type SingleSelectType = {
|
|
|
616
616
|
layout?: 'horizontal' | 'vertical';
|
|
617
617
|
'label-type'?: LabelType;
|
|
618
618
|
};
|
|
619
|
-
type Props$
|
|
620
|
-
declare const SingleSelect: React.ForwardRefExoticComponent<Omit<Props$
|
|
619
|
+
type Props$x = Omit<React.ComponentProps<typeof ButtonSelectionGroup>, 'allow-deselect'> & SingleSelectType;
|
|
620
|
+
declare const SingleSelect: React.ForwardRefExoticComponent<Omit<Props$x, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
621
621
|
|
|
622
|
-
type Props$
|
|
622
|
+
type Props$w = DescopeInputProps & {
|
|
623
623
|
'default-value'?: string;
|
|
624
624
|
'item-label-path'?: string;
|
|
625
625
|
'item-value-path'?: string;
|
|
@@ -627,7 +627,7 @@ type Props$v = DescopeInputProps & {
|
|
|
627
627
|
declare global {
|
|
628
628
|
namespace React.JSX {
|
|
629
629
|
interface IntrinsicElements {
|
|
630
|
-
'descope-combobox': Props$
|
|
630
|
+
'descope-combobox': Props$w;
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
633
|
}
|
|
@@ -649,7 +649,7 @@ type Column = {
|
|
|
649
649
|
resizable: boolean;
|
|
650
650
|
};
|
|
651
651
|
};
|
|
652
|
-
type Props$
|
|
652
|
+
type Props$v = {
|
|
653
653
|
identifier: any;
|
|
654
654
|
children?: React.JSX.Element[];
|
|
655
655
|
size?: Omit<ComponentSize, 'xl'>;
|
|
@@ -665,7 +665,7 @@ declare global {
|
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
|
-
declare const Grid: React.ForwardRefExoticComponent<Props$
|
|
668
|
+
declare const Grid: React.ForwardRefExoticComponent<Props$v & React.RefAttributes<HTMLInputElement>>;
|
|
669
669
|
|
|
670
670
|
type ColumnProps = {
|
|
671
671
|
sortable?: boolean;
|
|
@@ -686,7 +686,7 @@ declare const GridTextColumn: React.ForwardRefExoticComponent<ColumnProps & Reac
|
|
|
686
686
|
|
|
687
687
|
declare const GridItemDetailsColumn: React.ForwardRefExoticComponent<ColumnProps & React.RefAttributes<HTMLInputElement>>;
|
|
688
688
|
|
|
689
|
-
type Props$
|
|
689
|
+
type Props$u = {
|
|
690
690
|
mode?: string;
|
|
691
691
|
size?: string;
|
|
692
692
|
bordered?: boolean;
|
|
@@ -697,11 +697,11 @@ type Props$t = {
|
|
|
697
697
|
declare global {
|
|
698
698
|
namespace React.JSX {
|
|
699
699
|
interface IntrinsicElements {
|
|
700
|
-
'descope-badge': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
700
|
+
'descope-badge': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$u;
|
|
701
701
|
}
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
|
-
declare const Badge: React.ForwardRefExoticComponent<Props$
|
|
704
|
+
declare const Badge: React.ForwardRefExoticComponent<Props$u & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>>;
|
|
705
705
|
|
|
706
706
|
declare global {
|
|
707
707
|
namespace React.JSX {
|
|
@@ -710,12 +710,12 @@ declare global {
|
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
|
-
type Props$
|
|
713
|
+
type Props$t = {
|
|
714
714
|
opened?: boolean;
|
|
715
715
|
};
|
|
716
|
-
declare const Modal: React.ForwardRefExoticComponent<Props$
|
|
716
|
+
declare const Modal: React.ForwardRefExoticComponent<Props$t & React.RefAttributes<HTMLDivElement>>;
|
|
717
717
|
|
|
718
|
-
type Props$
|
|
718
|
+
type Props$s = DescopeInputProps & {
|
|
719
719
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
720
720
|
'min-items-selection'?: number;
|
|
721
721
|
'max-items-selection'?: number;
|
|
@@ -723,7 +723,7 @@ type Props$r = DescopeInputProps & {
|
|
|
723
723
|
declare global {
|
|
724
724
|
namespace React.JSX {
|
|
725
725
|
interface IntrinsicElements {
|
|
726
|
-
'descope-button-multi-selection-group': Props$
|
|
726
|
+
'descope-button-multi-selection-group': Props$s & {
|
|
727
727
|
'default-values'?: string;
|
|
728
728
|
};
|
|
729
729
|
'descope-button-selection-group-item': React.JSX.IntrinsicElements['span'] & {
|
|
@@ -750,16 +750,16 @@ type MultiSelectType = {
|
|
|
750
750
|
'max-items-selection'?: number;
|
|
751
751
|
'label-type'?: string;
|
|
752
752
|
};
|
|
753
|
-
type Props$
|
|
753
|
+
type Props$r = Omit<React.ComponentProps<typeof ButtonMultiSelectionGroup>, 'default-values'> & MultiSelectType & {
|
|
754
754
|
'default-values'?: string[];
|
|
755
755
|
};
|
|
756
|
-
declare const MultiSelect: React.ForwardRefExoticComponent<Omit<Props$
|
|
756
|
+
declare const MultiSelect: React.ForwardRefExoticComponent<Omit<Props$r, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
757
757
|
|
|
758
758
|
type Item$3 = {
|
|
759
759
|
label: string;
|
|
760
760
|
value: string;
|
|
761
761
|
};
|
|
762
|
-
type Props$
|
|
762
|
+
type Props$q = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'helper-text' | 'data-errormessage-pattern-mismatch' | 'data-errormessage-value-missing'> & {
|
|
763
763
|
'label-value'?: string;
|
|
764
764
|
'label-attr'?: string;
|
|
765
765
|
'button-label'?: string;
|
|
@@ -771,20 +771,20 @@ type Props$p = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'h
|
|
|
771
771
|
declare global {
|
|
772
772
|
namespace React.JSX {
|
|
773
773
|
interface IntrinsicElements {
|
|
774
|
-
'descope-mappings-field': Omit<Props$
|
|
774
|
+
'descope-mappings-field': Omit<Props$q, 'default-values' | 'options'> & {
|
|
775
775
|
'default-values'?: string;
|
|
776
776
|
options?: string;
|
|
777
777
|
};
|
|
778
778
|
}
|
|
779
779
|
}
|
|
780
780
|
}
|
|
781
|
-
declare const MappingsField: React.ForwardRefExoticComponent<Omit<Props$
|
|
781
|
+
declare const MappingsField: React.ForwardRefExoticComponent<Omit<Props$q, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
782
782
|
|
|
783
783
|
type Item$2 = {
|
|
784
784
|
label: string;
|
|
785
785
|
value: string;
|
|
786
786
|
};
|
|
787
|
-
type Props$
|
|
787
|
+
type Props$p = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'helper-text' | 'data-errormessage-pattern-mismatch' | 'data-errormessage-value-missing'> & {
|
|
788
788
|
'label-value'?: string;
|
|
789
789
|
'label-attr'?: string;
|
|
790
790
|
'label-group'?: string;
|
|
@@ -796,19 +796,19 @@ type Props$o = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'h
|
|
|
796
796
|
declare global {
|
|
797
797
|
namespace React.JSX {
|
|
798
798
|
interface IntrinsicElements {
|
|
799
|
-
'descope-saml-group-mappings': Omit<Props$
|
|
799
|
+
'descope-saml-group-mappings': Omit<Props$p, 'options'> & {
|
|
800
800
|
options?: string;
|
|
801
801
|
};
|
|
802
802
|
}
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
|
-
declare const SAMLGroupMappings: React.ForwardRefExoticComponent<Omit<Props$
|
|
805
|
+
declare const SAMLGroupMappings: React.ForwardRefExoticComponent<Omit<Props$p, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
806
806
|
|
|
807
807
|
type DataEntry = string[] | {
|
|
808
808
|
label?: string;
|
|
809
809
|
options?: string[];
|
|
810
810
|
};
|
|
811
|
-
type Props$
|
|
811
|
+
type Props$o = {
|
|
812
812
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
813
813
|
disabled?: boolean;
|
|
814
814
|
readonly?: boolean;
|
|
@@ -826,13 +826,13 @@ type Props$n = {
|
|
|
826
826
|
declare global {
|
|
827
827
|
namespace React.JSX {
|
|
828
828
|
interface IntrinsicElements {
|
|
829
|
-
'descope-multi-line-mappings': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Omit<Props$
|
|
829
|
+
'descope-multi-line-mappings': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Omit<Props$o, 'data'> & {
|
|
830
830
|
data?: string;
|
|
831
831
|
};
|
|
832
832
|
}
|
|
833
833
|
}
|
|
834
834
|
}
|
|
835
|
-
declare const MultiLineMappings: React.ForwardRefExoticComponent<Props$
|
|
835
|
+
declare const MultiLineMappings: React.ForwardRefExoticComponent<Props$o & React.RefAttributes<HTMLElement>>;
|
|
836
836
|
|
|
837
837
|
type SsoConfiguration = {
|
|
838
838
|
id: string;
|
|
@@ -841,7 +841,7 @@ type SsoConfiguration = {
|
|
|
841
841
|
link?: string;
|
|
842
842
|
authType?: string;
|
|
843
843
|
};
|
|
844
|
-
type Props$
|
|
844
|
+
type Props$n = {
|
|
845
845
|
label?: string;
|
|
846
846
|
'create-button-label'?: string;
|
|
847
847
|
'full-width'?: boolean;
|
|
@@ -865,11 +865,11 @@ type Props$m = {
|
|
|
865
865
|
declare global {
|
|
866
866
|
namespace React.JSX {
|
|
867
867
|
interface IntrinsicElements {
|
|
868
|
-
'descope-multi-sso': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
868
|
+
'descope-multi-sso': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$n>;
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
871
|
}
|
|
872
|
-
declare const MultiSso: React.ForwardRefExoticComponent<Props$
|
|
872
|
+
declare const MultiSso: React.ForwardRefExoticComponent<Props$n & React.RefAttributes<HTMLDivElement>>;
|
|
873
873
|
|
|
874
874
|
declare global {
|
|
875
875
|
namespace React.JSX {
|
|
@@ -894,7 +894,7 @@ declare const UserAuthMethod: React.ForwardRefExoticComponent<Omit<React.ClassAt
|
|
|
894
894
|
fulfilledButtonIconDark?: string;
|
|
895
895
|
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
896
896
|
|
|
897
|
-
type Props$
|
|
897
|
+
type Props$m = {
|
|
898
898
|
'badge-tooltip-text'?: string;
|
|
899
899
|
'badge-label'?: string;
|
|
900
900
|
value?: string;
|
|
@@ -910,13 +910,13 @@ type Props$l = {
|
|
|
910
910
|
declare global {
|
|
911
911
|
namespace React.JSX {
|
|
912
912
|
interface IntrinsicElements {
|
|
913
|
-
'descope-user-attribute': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
913
|
+
'descope-user-attribute': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$m;
|
|
914
914
|
}
|
|
915
915
|
}
|
|
916
916
|
}
|
|
917
|
-
declare const UserAttribute: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement, unknown> & Props$
|
|
917
|
+
declare const UserAttribute: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement, unknown> & Props$m, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
918
918
|
|
|
919
|
-
type Props$
|
|
919
|
+
type Props$l = {
|
|
920
920
|
img?: string;
|
|
921
921
|
'display-name'?: string;
|
|
922
922
|
size?: string;
|
|
@@ -925,26 +925,26 @@ type Props$k = {
|
|
|
925
925
|
declare global {
|
|
926
926
|
namespace React.JSX {
|
|
927
927
|
interface IntrinsicElements {
|
|
928
|
-
'descope-avatar': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
928
|
+
'descope-avatar': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$l;
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
931
|
}
|
|
932
|
-
declare const Avatar: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement, unknown> & Props$
|
|
932
|
+
declare const Avatar: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement, unknown> & Props$l, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
933
933
|
|
|
934
|
-
type Props$
|
|
934
|
+
type Props$k = {
|
|
935
935
|
lang?: 'xml' | 'html' | 'javascript' | 'css' | 'json';
|
|
936
936
|
inline?: boolean;
|
|
937
937
|
};
|
|
938
938
|
declare global {
|
|
939
939
|
namespace React.JSX {
|
|
940
940
|
interface IntrinsicElements {
|
|
941
|
-
'descope-code-snippet': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
941
|
+
'descope-code-snippet': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$k;
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
944
|
}
|
|
945
|
-
declare const CodeSnippet: React.ForwardRefExoticComponent<Props$
|
|
945
|
+
declare const CodeSnippet: React.ForwardRefExoticComponent<Props$k & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>>;
|
|
946
946
|
|
|
947
|
-
type Props$
|
|
947
|
+
type Props$j = {
|
|
948
948
|
emptyState?: React.ReactNode;
|
|
949
949
|
children?: React.ReactNode[];
|
|
950
950
|
variant?: 'list' | 'tiles';
|
|
@@ -952,26 +952,26 @@ type Props$i = {
|
|
|
952
952
|
declare global {
|
|
953
953
|
namespace React.JSX {
|
|
954
954
|
interface IntrinsicElements {
|
|
955
|
-
'descope-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
955
|
+
'descope-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$j>;
|
|
956
956
|
}
|
|
957
957
|
}
|
|
958
958
|
}
|
|
959
|
-
declare const List: React.ForwardRefExoticComponent<Props$
|
|
959
|
+
declare const List: React.ForwardRefExoticComponent<Props$j & React.RefAttributes<HTMLDivElement>>;
|
|
960
960
|
|
|
961
|
-
type Props$
|
|
961
|
+
type Props$i = {
|
|
962
962
|
variant?: 'row' | 'tile';
|
|
963
963
|
children?: React.ReactNode;
|
|
964
964
|
};
|
|
965
965
|
declare global {
|
|
966
966
|
namespace React.JSX {
|
|
967
967
|
interface IntrinsicElements {
|
|
968
|
-
'descope-list-item': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
968
|
+
'descope-list-item': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$i>;
|
|
969
969
|
}
|
|
970
970
|
}
|
|
971
971
|
}
|
|
972
|
-
declare const ListItem: React.ForwardRefExoticComponent<Props$
|
|
972
|
+
declare const ListItem: React.ForwardRefExoticComponent<Props$i & React.RefAttributes<HTMLDivElement>>;
|
|
973
973
|
|
|
974
|
-
type Props$
|
|
974
|
+
type Props$h = {
|
|
975
975
|
emptyState?: React.ReactNode;
|
|
976
976
|
variant?: 'list' | 'tiles' | 'custom';
|
|
977
977
|
data?: any[];
|
|
@@ -980,18 +980,18 @@ type Props$g = {
|
|
|
980
980
|
declare global {
|
|
981
981
|
namespace React.JSX {
|
|
982
982
|
interface IntrinsicElements {
|
|
983
|
-
'descope-apps-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
983
|
+
'descope-apps-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$h>;
|
|
984
984
|
}
|
|
985
985
|
}
|
|
986
986
|
}
|
|
987
|
-
declare const AppsList: React.ForwardRefExoticComponent<Props$
|
|
987
|
+
declare const AppsList: React.ForwardRefExoticComponent<Props$h & React.RefAttributes<HTMLDivElement>>;
|
|
988
988
|
|
|
989
989
|
type Item$1 = {
|
|
990
990
|
desc: string;
|
|
991
991
|
id: string;
|
|
992
992
|
required?: boolean;
|
|
993
993
|
};
|
|
994
|
-
type Props$
|
|
994
|
+
type Props$g = {
|
|
995
995
|
variant?: 'checkbox' | 'switch';
|
|
996
996
|
data?: Item$1[];
|
|
997
997
|
readonly?: boolean;
|
|
@@ -1000,17 +1000,17 @@ type Props$f = {
|
|
|
1000
1000
|
declare global {
|
|
1001
1001
|
namespace React.JSX {
|
|
1002
1002
|
interface IntrinsicElements {
|
|
1003
|
-
'descope-scopes-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
1003
|
+
'descope-scopes-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$g>;
|
|
1004
1004
|
}
|
|
1005
1005
|
}
|
|
1006
1006
|
}
|
|
1007
|
-
declare const ScopesList: React.ForwardRefExoticComponent<Props$
|
|
1007
|
+
declare const ScopesList: React.ForwardRefExoticComponent<Props$g & React.RefAttributes<HTMLDivElement>>;
|
|
1008
1008
|
|
|
1009
1009
|
type Question$1 = {
|
|
1010
1010
|
id: string;
|
|
1011
1011
|
text: string;
|
|
1012
1012
|
};
|
|
1013
|
-
type Props$
|
|
1013
|
+
type Props$f = {
|
|
1014
1014
|
questions?: Question$1[];
|
|
1015
1015
|
readonly?: boolean;
|
|
1016
1016
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -1025,17 +1025,17 @@ type Props$e = {
|
|
|
1025
1025
|
declare global {
|
|
1026
1026
|
namespace React.JSX {
|
|
1027
1027
|
interface IntrinsicElements {
|
|
1028
|
-
'descope-security-questions-setup': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
1028
|
+
'descope-security-questions-setup': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$f>;
|
|
1029
1029
|
}
|
|
1030
1030
|
}
|
|
1031
1031
|
}
|
|
1032
|
-
declare const SecurityQuestionsSetup: React.ForwardRefExoticComponent<Props$
|
|
1032
|
+
declare const SecurityQuestionsSetup: React.ForwardRefExoticComponent<Props$f & React.RefAttributes<HTMLDivElement>>;
|
|
1033
1033
|
|
|
1034
1034
|
type Question = {
|
|
1035
1035
|
id: string;
|
|
1036
1036
|
text: string;
|
|
1037
1037
|
};
|
|
1038
|
-
type Props$
|
|
1038
|
+
type Props$e = {
|
|
1039
1039
|
questions?: Question[];
|
|
1040
1040
|
readonly?: boolean;
|
|
1041
1041
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -1049,23 +1049,23 @@ type Props$d = {
|
|
|
1049
1049
|
declare global {
|
|
1050
1050
|
namespace React.JSX {
|
|
1051
1051
|
interface IntrinsicElements {
|
|
1052
|
-
'descope-security-questions-verify': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
1052
|
+
'descope-security-questions-verify': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$e>;
|
|
1053
1053
|
}
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
1056
|
-
declare const SecurityQuestionsVerify: React.ForwardRefExoticComponent<Props$
|
|
1056
|
+
declare const SecurityQuestionsVerify: React.ForwardRefExoticComponent<Props$e & React.RefAttributes<HTMLDivElement>>;
|
|
1057
1057
|
|
|
1058
|
-
type Props$
|
|
1058
|
+
type Props$d = {
|
|
1059
1059
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
1060
1060
|
};
|
|
1061
1061
|
declare global {
|
|
1062
1062
|
namespace React.JSX {
|
|
1063
1063
|
interface IntrinsicElements {
|
|
1064
|
-
'descope-third-party-app-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
1064
|
+
'descope-third-party-app-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$d>;
|
|
1065
1065
|
}
|
|
1066
1066
|
}
|
|
1067
1067
|
}
|
|
1068
|
-
declare const ThirdPartyAppLogo: React.ForwardRefExoticComponent<Props$
|
|
1068
|
+
declare const ThirdPartyAppLogo: React.ForwardRefExoticComponent<Props$d & React.RefAttributes<HTMLDivElement>>;
|
|
1069
1069
|
|
|
1070
1070
|
declare global {
|
|
1071
1071
|
namespace React.JSX {
|
|
@@ -1086,7 +1086,7 @@ declare global {
|
|
|
1086
1086
|
}
|
|
1087
1087
|
declare const MonthDayField: React.ForwardRefExoticComponent<Omit<MonthDayFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1088
1088
|
|
|
1089
|
-
type Props$
|
|
1089
|
+
type Props$c = {
|
|
1090
1090
|
variant?: 'countrySelection' | 'inputBox';
|
|
1091
1091
|
'default-code'?: string;
|
|
1092
1092
|
'phone-input-label'?: string;
|
|
@@ -1107,7 +1107,7 @@ type Props$b = {
|
|
|
1107
1107
|
declare global {
|
|
1108
1108
|
namespace React.JSX {
|
|
1109
1109
|
interface IntrinsicElements {
|
|
1110
|
-
'descope-hybrid-field': React.DetailedHTMLProps<React.HTMLAttributes<HTMLInputElement>, HTMLInputElement> & PropsToAttrs<Props$
|
|
1110
|
+
'descope-hybrid-field': React.DetailedHTMLProps<React.HTMLAttributes<HTMLInputElement>, HTMLInputElement> & PropsToAttrs<Props$c>;
|
|
1111
1111
|
}
|
|
1112
1112
|
}
|
|
1113
1113
|
}
|
|
@@ -1130,7 +1130,7 @@ declare const HybridField: React.ForwardRefExoticComponent<Omit<React.ClassAttri
|
|
|
1130
1130
|
'external-input'?: boolean;
|
|
1131
1131
|
} & HTMLInputAttrs & DescopeInputExtraProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1132
1132
|
|
|
1133
|
-
type Props$
|
|
1133
|
+
type Props$b = {
|
|
1134
1134
|
mode?: string;
|
|
1135
1135
|
variant?: string;
|
|
1136
1136
|
bordered?: boolean;
|
|
@@ -1142,13 +1142,13 @@ type Props$a = {
|
|
|
1142
1142
|
declare global {
|
|
1143
1143
|
namespace React.JSX {
|
|
1144
1144
|
interface IntrinsicElements {
|
|
1145
|
-
'descope-alert': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
1145
|
+
'descope-alert': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$b;
|
|
1146
1146
|
}
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
|
-
declare const Alert: React.ForwardRefExoticComponent<Props$
|
|
1149
|
+
declare const Alert: React.ForwardRefExoticComponent<Props$b & React.RefAttributes<HTMLElement>>;
|
|
1150
1150
|
|
|
1151
|
-
type Props$
|
|
1151
|
+
type Props$a = {
|
|
1152
1152
|
'data-connector-id'?: string;
|
|
1153
1153
|
'connector-template'?: string;
|
|
1154
1154
|
'min-search-length'?: number;
|
|
@@ -1157,18 +1157,18 @@ type Props$9 = {
|
|
|
1157
1157
|
declare global {
|
|
1158
1158
|
namespace React.JSX {
|
|
1159
1159
|
interface IntrinsicElements {
|
|
1160
|
-
'descope-address-field': Omit<DescopeInputProps, 'external-input'> & Props$
|
|
1160
|
+
'descope-address-field': Omit<DescopeInputProps, 'external-input'> & Props$a;
|
|
1161
1161
|
}
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
|
-
declare const AddressField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "external-input"> & Props$
|
|
1164
|
+
declare const AddressField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "external-input"> & Props$a, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1165
1165
|
|
|
1166
1166
|
type CountrySubdivisionCityValue = {
|
|
1167
1167
|
country?: string;
|
|
1168
1168
|
subdivision?: string;
|
|
1169
1169
|
city?: string;
|
|
1170
1170
|
};
|
|
1171
|
-
type Props$
|
|
1171
|
+
type Props$9 = {
|
|
1172
1172
|
'hide-country'?: boolean;
|
|
1173
1173
|
'hide-subdivision'?: boolean;
|
|
1174
1174
|
'hide-city'?: boolean;
|
|
@@ -1188,13 +1188,13 @@ type Props$8 = {
|
|
|
1188
1188
|
declare global {
|
|
1189
1189
|
namespace React.JSX {
|
|
1190
1190
|
interface IntrinsicElements {
|
|
1191
|
-
'descope-country-subdivision-city-field': Omit<DescopeInputProps, 'external-input' | 'value'> & Props$
|
|
1191
|
+
'descope-country-subdivision-city-field': Omit<DescopeInputProps, 'external-input' | 'value'> & Props$9;
|
|
1192
1192
|
}
|
|
1193
1193
|
}
|
|
1194
1194
|
}
|
|
1195
|
-
declare const CountrySubdivisionCityField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "value" | "external-input"> & Props$
|
|
1195
|
+
declare const CountrySubdivisionCityField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "value" | "external-input"> & Props$9, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1196
1196
|
|
|
1197
|
-
type Props$
|
|
1197
|
+
type Props$8 = React.JSX.IntrinsicElements['button'] & {
|
|
1198
1198
|
variant?: string;
|
|
1199
1199
|
color?: string;
|
|
1200
1200
|
size?: string;
|
|
@@ -1210,7 +1210,7 @@ type Props$7 = React.JSX.IntrinsicElements['button'] & {
|
|
|
1210
1210
|
declare global {
|
|
1211
1211
|
namespace React.JSX {
|
|
1212
1212
|
interface IntrinsicElements {
|
|
1213
|
-
'descope-timer-button': React.DetailedHTMLProps<React.HTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & Props$
|
|
1213
|
+
'descope-timer-button': React.DetailedHTMLProps<React.HTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & Props$8;
|
|
1214
1214
|
}
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
@@ -1240,7 +1240,7 @@ type ContainerAlignment = {
|
|
|
1240
1240
|
'vertical-alignment'?: FlexAlignment;
|
|
1241
1241
|
'space-between'?: 'sm' | 'md' | 'lg';
|
|
1242
1242
|
};
|
|
1243
|
-
type Props$
|
|
1243
|
+
type Props$7 = {
|
|
1244
1244
|
shadow?: 'md' | 'lg' | 'xl' | '2xl';
|
|
1245
1245
|
borderRadius?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
1246
1246
|
paddingX?: string;
|
|
@@ -1266,9 +1266,9 @@ declare global {
|
|
|
1266
1266
|
}
|
|
1267
1267
|
}
|
|
1268
1268
|
}
|
|
1269
|
-
declare const Container: React.ForwardRefExoticComponent<(Props$
|
|
1269
|
+
declare const Container: React.ForwardRefExoticComponent<(Props$7 & React.HTMLAttributes<HTMLDivElement, unknown>) & React.RefAttributes<HTMLDivElement>>;
|
|
1270
1270
|
|
|
1271
|
-
type Props$
|
|
1271
|
+
type Props$6 = {
|
|
1272
1272
|
connector?: string;
|
|
1273
1273
|
action?: string;
|
|
1274
1274
|
textLabel?: string;
|
|
@@ -1278,12 +1278,12 @@ type Props$5 = {
|
|
|
1278
1278
|
readonly?: boolean;
|
|
1279
1279
|
'full-width'?: boolean;
|
|
1280
1280
|
};
|
|
1281
|
-
declare const Turnstile: React.ForwardRefExoticComponent<Props$
|
|
1281
|
+
declare const Turnstile: React.ForwardRefExoticComponent<Props$6 & React.HTMLAttributes<HTMLDivElement, unknown> & React.RefAttributes<HTMLDivElement>>;
|
|
1282
1282
|
|
|
1283
1283
|
type Item = {
|
|
1284
1284
|
value: string;
|
|
1285
1285
|
};
|
|
1286
|
-
type Props$
|
|
1286
|
+
type Props$5 = {
|
|
1287
1287
|
variant?: string;
|
|
1288
1288
|
mode?: string;
|
|
1289
1289
|
'text-align': TextAlign;
|
|
@@ -1293,26 +1293,26 @@ type Props$4 = {
|
|
|
1293
1293
|
declare global {
|
|
1294
1294
|
namespace React.JSX {
|
|
1295
1295
|
interface IntrinsicElements {
|
|
1296
|
-
'descope-recovery-codes': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
1296
|
+
'descope-recovery-codes': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$5>;
|
|
1297
1297
|
}
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
1300
|
-
declare const RecoveryCodesList: React.ForwardRefExoticComponent<Props$
|
|
1300
|
+
declare const RecoveryCodesList: React.ForwardRefExoticComponent<Props$5 & React.RefAttributes<HTMLDivElement>>;
|
|
1301
1301
|
|
|
1302
1302
|
declare global {
|
|
1303
1303
|
namespace React.JSX {
|
|
1304
1304
|
interface IntrinsicElements {
|
|
1305
|
-
'descope-hcaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
1305
|
+
'descope-hcaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$4;
|
|
1306
1306
|
}
|
|
1307
1307
|
}
|
|
1308
1308
|
}
|
|
1309
|
-
type Props$
|
|
1309
|
+
type Props$4 = {
|
|
1310
1310
|
connector?: string;
|
|
1311
1311
|
enabled?: boolean;
|
|
1312
1312
|
};
|
|
1313
|
-
declare const Hcaptcha: React.ForwardRefExoticComponent<Props$
|
|
1313
|
+
declare const Hcaptcha: React.ForwardRefExoticComponent<Props$4 & React.HTMLAttributes<HTMLDivElement, unknown> & React.RefAttributes<HTMLDivElement>>;
|
|
1314
1314
|
|
|
1315
|
-
type Props$
|
|
1315
|
+
type Props$3 = {
|
|
1316
1316
|
emptyState?: React.ReactNode;
|
|
1317
1317
|
size?: string;
|
|
1318
1318
|
data?: any[];
|
|
@@ -1321,11 +1321,11 @@ type Props$2 = {
|
|
|
1321
1321
|
declare global {
|
|
1322
1322
|
namespace React.JSX {
|
|
1323
1323
|
interface IntrinsicElements {
|
|
1324
|
-
'descope-outbound-apps': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
1324
|
+
'descope-outbound-apps': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$3>;
|
|
1325
1325
|
}
|
|
1326
1326
|
}
|
|
1327
1327
|
}
|
|
1328
|
-
declare const OutboundApps: React.ForwardRefExoticComponent<Props$
|
|
1328
|
+
declare const OutboundApps: React.ForwardRefExoticComponent<Props$3 & React.RefAttributes<HTMLDivElement>>;
|
|
1329
1329
|
|
|
1330
1330
|
declare global {
|
|
1331
1331
|
namespace React.JSX {
|
|
@@ -1360,7 +1360,7 @@ type Device = {
|
|
|
1360
1360
|
deviceType: 'desktop' | 'mobile' | 'tablet' | 'unknown';
|
|
1361
1361
|
lastLoginDate: number;
|
|
1362
1362
|
};
|
|
1363
|
-
type Props$
|
|
1363
|
+
type Props$2 = {
|
|
1364
1364
|
emptyState?: React.ReactNode;
|
|
1365
1365
|
data?: Device[];
|
|
1366
1366
|
format?: string;
|
|
@@ -1374,11 +1374,11 @@ type Props$1 = {
|
|
|
1374
1374
|
declare global {
|
|
1375
1375
|
namespace React.JSX {
|
|
1376
1376
|
interface IntrinsicElements {
|
|
1377
|
-
'descope-trusted-devices': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
1377
|
+
'descope-trusted-devices': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$2>;
|
|
1378
1378
|
}
|
|
1379
1379
|
}
|
|
1380
1380
|
}
|
|
1381
|
-
declare const TrustedDevices: React.ForwardRefExoticComponent<Props$
|
|
1381
|
+
declare const TrustedDevices: React.ForwardRefExoticComponent<Props$2 & React.RefAttributes<HTMLDivElement>>;
|
|
1382
1382
|
|
|
1383
1383
|
declare global {
|
|
1384
1384
|
namespace React.JSX {
|
|
@@ -1398,7 +1398,7 @@ declare const TenantSelector: React.ForwardRefExoticComponent<{
|
|
|
1398
1398
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
1399
1399
|
|
|
1400
1400
|
type Position = 'top-start' | 'top-end' | 'top-center' | 'bottom-start' | 'bottom-end' | 'bottom-center';
|
|
1401
|
-
type Props = {
|
|
1401
|
+
type Props$1 = {
|
|
1402
1402
|
position?: Position;
|
|
1403
1403
|
attachment?: React.ReactElement<React.HTMLAttributes<HTMLElement>>;
|
|
1404
1404
|
offsetX?: number;
|
|
@@ -1415,7 +1415,7 @@ declare global {
|
|
|
1415
1415
|
}
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
|
-
declare const Attachment: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>>;
|
|
1418
|
+
declare const Attachment: React.ForwardRefExoticComponent<Props$1 & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>>;
|
|
1419
1419
|
|
|
1420
1420
|
declare const LastAuthBadge: React.ForwardRefExoticComponent<Omit<Omit<{
|
|
1421
1421
|
position?: "top-start" | "top-end" | "bottom-start" | "bottom-end" | "top-center" | "bottom-center";
|
|
@@ -1466,6 +1466,26 @@ declare const UserPasskeys: React.ForwardRefExoticComponent<React.HTMLAttributes
|
|
|
1466
1466
|
data?: Passkey[] | string;
|
|
1467
1467
|
} & React.RefAttributes<HTMLElement>>;
|
|
1468
1468
|
|
|
1469
|
+
type Props = DescopeInputProps & {
|
|
1470
|
+
layout?: 'horizontal' | 'vertical';
|
|
1471
|
+
};
|
|
1472
|
+
declare global {
|
|
1473
|
+
namespace React.JSX {
|
|
1474
|
+
interface IntrinsicElements {
|
|
1475
|
+
'descope-radio-group': Props & {
|
|
1476
|
+
'default-value'?: string;
|
|
1477
|
+
};
|
|
1478
|
+
'descope-radio-button': React.JSX.IntrinsicElements['span'] & {
|
|
1479
|
+
value: string;
|
|
1480
|
+
children: string;
|
|
1481
|
+
};
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
declare const RadioGroup: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & {
|
|
1486
|
+
layout?: "horizontal" | "vertical";
|
|
1487
|
+
} & MultiSelectProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1488
|
+
|
|
1469
1489
|
interface IComponentThemeManager {
|
|
1470
1490
|
currentThemeName: string;
|
|
1471
1491
|
currentTheme: Theme;
|
|
@@ -1509,8 +1529,9 @@ type Theme = {
|
|
|
1509
1529
|
buttonSelectionGroupItem: Record<string, any>;
|
|
1510
1530
|
buttonMultiSelectionGroup: Record<string, any>;
|
|
1511
1531
|
tooltip: Record<string, any>;
|
|
1532
|
+
radioGroup: Record<string, any>;
|
|
1512
1533
|
};
|
|
1513
1534
|
};
|
|
1514
1535
|
|
|
1515
|
-
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, MonthDayField, MonthDayFieldClass, MonthDayFieldPickerClass, MultiLineMappings, MultiLineMappingsClass, MultiSelect, MultiSelectComboBoxClass, MultiSso, MultiSsoClass, 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, UserPasskeys, UserPasskeysClass, 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 };
|
|
1536
|
+
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, MonthDayField, MonthDayFieldClass, MonthDayFieldPickerClass, MultiLineMappings, MultiLineMappingsClass, MultiSelect, MultiSelectComboBoxClass, MultiSso, MultiSsoClass, NOTPImage, NOTPLink, NewPassword, NewPasswordClass, NotificationClass, NotpImageClass, NumberField, NumberFieldClass, OutboundAppButton, OutboundAppButtonClass, OutboundApps, OutboundAppsClass, PasscodeClass, Password, PasswordClass, Phone, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroup, 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, UserPasskeys, UserPasskeysClass, 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 };
|
|
1516
1537
|
export type { Theme };
|