@descope/flow-components 3.1.1 → 3.1.3
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/119.js +1 -1
- package/dist/fm/119.js.map +1 -1
- 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/985.js +1 -1
- package/dist/fm/985.js.map +1 -1
- package/dist/fm/@mf-types/compiled-types/Avatar/Avatar.d.ts +1 -1
- package/dist/fm/@mf-types/compiled-types/Badge/Badge.d.ts +1 -1
- package/dist/fm/@mf-types/compiled-types/CodeSnippet/CodeSnippet.d.ts +1 -1
- package/dist/fm/@mf-types/compiled-types/CollapsibleContainer/CollapsibleContainer.d.ts +33 -1
- package/dist/fm/@mf-types/compiled-types/Container/Container.d.ts +27 -1
- package/dist/fm/@mf-types/compiled-types/Divider/Divider.d.ts +1 -1
- package/dist/fm/@mf-types/compiled-types/Grid/Columns/gridJsxTypes.d.ts +11 -0
- package/dist/fm/@mf-types/compiled-types/Hcaptcha/Hcaptcha.d.ts +1 -1
- package/dist/fm/@mf-types/compiled-types/HybridField/HybridField.d.ts +18 -1
- package/dist/fm/@mf-types/compiled-types/Image/Image.d.ts +7 -1
- package/dist/fm/@mf-types/compiled-types/Recaptcha/Recaptcha.d.ts +1 -1
- package/dist/fm/@mf-types/compiled-types/Tooltip/Tooltip.d.ts +2 -2
- package/dist/fm/@mf-types/compiled-types/Turnstile/Turnstile.d.ts +12 -1
- package/dist/fm/@mf-types/compiled-types/UploadFile/UploadFile.d.ts +1 -1
- package/dist/fm/@mf-types/compiled-types/UserAttribute/UserAttribute.d.ts +1 -1
- package/dist/fm/@mf-types/compiled-types/UserAuthMethod/UserAuthMethod.d.ts +12 -1
- package/dist/fm/@mf-types/componentClasses.d.ts +2 -0
- package/dist/fm/@mf-types/components.d.ts +2 -0
- package/dist/fm/@mf-types/theme.d.ts +2 -0
- package/dist/fm/@mf-types.d.ts +3 -0
- package/dist/fm/@mf-types.zip +0 -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 +1 -1
- package/dist/fm/mf-stats.json +1 -1
- package/dist/index.d.ts +223 -122
- package/dist/types/Avatar/Avatar.d.ts +1 -1
- package/dist/types/Badge/Badge.d.ts +1 -1
- package/dist/types/CodeSnippet/CodeSnippet.d.ts +1 -1
- package/dist/types/CollapsibleContainer/CollapsibleContainer.d.ts +33 -1
- package/dist/types/Container/Container.d.ts +27 -1
- package/dist/types/CssVarImage/CssVarImage.d.ts +7 -1
- package/dist/types/Divider/Divider.d.ts +1 -1
- package/dist/types/Hcaptcha/Hcaptcha.d.ts +1 -1
- package/dist/types/HybridField/HybridField.d.ts +18 -1
- package/dist/types/Image/Image.d.ts +7 -1
- package/dist/types/Recaptcha/Recaptcha.d.ts +1 -1
- package/dist/types/Tooltip/Tooltip.d.ts +2 -2
- package/dist/types/Turnstile/Turnstile.d.ts +12 -1
- package/dist/types/UploadFile/UploadFile.d.ts +1 -1
- package/dist/types/UserAttribute/UserAttribute.d.ts +1 -1
- package/dist/types/UserAuthMethod/UserAuthMethod.d.ts +12 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -77,6 +77,7 @@ declare const HoneypotClass: ComponentClass;
|
|
|
77
77
|
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
78
|
type ComponentSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
79
79
|
type TextAlign = 'left' | 'right' | 'center';
|
|
80
|
+
type FlexAlignment = 'start' | 'center' | 'end';
|
|
80
81
|
type HTMLInputAttrs = Omit<React.JSX.IntrinsicElements['input'], 'size'>;
|
|
81
82
|
type DescopeInputExtraProps = {
|
|
82
83
|
'full-width'?: boolean;
|
|
@@ -124,11 +125,11 @@ declare const Switch: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "r
|
|
|
124
125
|
type BooleanType = {
|
|
125
126
|
type: 'switch' | 'checkbox';
|
|
126
127
|
};
|
|
127
|
-
type Props$
|
|
128
|
-
declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$
|
|
128
|
+
type Props$O = React.ComponentProps<typeof Checkbox> & React.ComponentProps<typeof Switch> & BooleanType;
|
|
129
|
+
declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$O, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
129
130
|
|
|
130
131
|
type TooltipPosition = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'start' | 'start-top' | 'start-bottom' | 'end' | 'end-top' | 'end-bottom';
|
|
131
|
-
type Props$
|
|
132
|
+
type Props$N = {
|
|
132
133
|
text?: string;
|
|
133
134
|
position?: TooltipPosition;
|
|
134
135
|
hoverDelay?: number;
|
|
@@ -139,18 +140,18 @@ type Props$K = {
|
|
|
139
140
|
children?: React.ReactNode;
|
|
140
141
|
};
|
|
141
142
|
declare module 'react' {
|
|
142
|
-
interface HTMLAttributes<_T> {
|
|
143
|
+
interface HTMLAttributes<T, _T = unknown> {
|
|
143
144
|
slot?: string;
|
|
144
145
|
}
|
|
145
146
|
}
|
|
146
147
|
declare global {
|
|
147
148
|
namespace React.JSX {
|
|
148
149
|
interface IntrinsicElements {
|
|
149
|
-
'descope-tooltip': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
150
|
+
'descope-tooltip': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$N;
|
|
150
151
|
}
|
|
151
152
|
}
|
|
152
153
|
}
|
|
153
|
-
declare const Tooltip: React.ForwardRefExoticComponent<
|
|
154
|
+
declare const Tooltip: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement, unknown> & Props$N & React.RefAttributes<HTMLElement>>;
|
|
154
155
|
|
|
155
156
|
interface ITooltip {
|
|
156
157
|
hasTooltip?: boolean;
|
|
@@ -187,18 +188,43 @@ declare const Button: React.ForwardRefExoticComponent<Omit<React.ClassAttributes
|
|
|
187
188
|
'data-name'?: string;
|
|
188
189
|
} & ITooltip, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
189
190
|
|
|
190
|
-
type Props$
|
|
191
|
+
type Props$M = {
|
|
191
192
|
digits?: number;
|
|
192
193
|
};
|
|
193
194
|
declare global {
|
|
194
195
|
namespace React.JSX {
|
|
195
196
|
interface IntrinsicElements {
|
|
196
|
-
'descope-passcode': DescopeInputProps & Props$
|
|
197
|
+
'descope-passcode': DescopeInputProps & Props$M;
|
|
197
198
|
}
|
|
198
199
|
}
|
|
199
200
|
}
|
|
200
|
-
declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
201
|
+
declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$M, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
201
202
|
|
|
203
|
+
type Never$1<T extends Record<string, any>> = {
|
|
204
|
+
[K in keyof T]: never;
|
|
205
|
+
};
|
|
206
|
+
type SpaceBetween$1 = '0' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '14' | '16' | '20' | '24' | '28' | '32';
|
|
207
|
+
type Flex$1 = {
|
|
208
|
+
align?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
209
|
+
justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
210
|
+
spaceBetween?: SpaceBetween$1;
|
|
211
|
+
};
|
|
212
|
+
type ContainerAlignment$1 = {
|
|
213
|
+
'horizontal-alignment'?: FlexAlignment | 'space-between';
|
|
214
|
+
'vertical-alignment'?: FlexAlignment;
|
|
215
|
+
'space-between'?: 'sm' | 'md' | 'lg';
|
|
216
|
+
};
|
|
217
|
+
type Props$L = {
|
|
218
|
+
direction?: 'row' | 'column';
|
|
219
|
+
shadow?: 'md' | 'lg' | 'xl' | '2xl';
|
|
220
|
+
borderRadius?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
221
|
+
paddingX?: string;
|
|
222
|
+
paddingY?: string;
|
|
223
|
+
background?: string;
|
|
224
|
+
backgroundImageUrl?: string;
|
|
225
|
+
width?: string;
|
|
226
|
+
variant?: string;
|
|
227
|
+
} & ((Flex$1 & Never$1<ContainerAlignment$1>) | (ContainerAlignment$1 & Never$1<Flex$1>));
|
|
202
228
|
declare global {
|
|
203
229
|
namespace React.JSX {
|
|
204
230
|
interface IntrinsicElements {
|
|
@@ -206,9 +232,9 @@ declare global {
|
|
|
206
232
|
}
|
|
207
233
|
}
|
|
208
234
|
}
|
|
209
|
-
declare const Container$1: React.ForwardRefExoticComponent<
|
|
235
|
+
declare const Container$1: React.ForwardRefExoticComponent<(Props$L & React.HTMLAttributes<HTMLDivElement, unknown>) & React.RefAttributes<HTMLDivElement>>;
|
|
210
236
|
|
|
211
|
-
type Props$
|
|
237
|
+
type Props$K = {
|
|
212
238
|
vertical?: boolean;
|
|
213
239
|
italic?: boolean;
|
|
214
240
|
variant?: TypographyVariants;
|
|
@@ -218,15 +244,15 @@ type Props$I = {
|
|
|
218
244
|
declare global {
|
|
219
245
|
namespace React.JSX {
|
|
220
246
|
interface IntrinsicElements {
|
|
221
|
-
'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$
|
|
247
|
+
'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$K, 'children'>;
|
|
222
248
|
}
|
|
223
249
|
}
|
|
224
250
|
}
|
|
225
|
-
declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<
|
|
251
|
+
declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement, unknown>, HTMLDivElement>, "size"> & Props$K, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
226
252
|
|
|
227
253
|
declare const ReactComponent: (props: SVGProps) => React.JSX.Element;
|
|
228
254
|
|
|
229
|
-
type Props$
|
|
255
|
+
type Props$J = {
|
|
230
256
|
width?: string;
|
|
231
257
|
height?: string;
|
|
232
258
|
alt?: string;
|
|
@@ -236,15 +262,21 @@ type Props$H = {
|
|
|
236
262
|
declare global {
|
|
237
263
|
namespace React.JSX {
|
|
238
264
|
interface IntrinsicElements {
|
|
239
|
-
'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
265
|
+
'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$J;
|
|
240
266
|
}
|
|
241
267
|
}
|
|
242
268
|
}
|
|
243
|
-
declare const Image: React.ForwardRefExoticComponent<
|
|
269
|
+
declare const Image: React.ForwardRefExoticComponent<{
|
|
270
|
+
width?: string;
|
|
271
|
+
height?: string;
|
|
272
|
+
alt?: string;
|
|
273
|
+
src: string;
|
|
274
|
+
'src-dark'?: string;
|
|
275
|
+
} & ITooltip & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>>;
|
|
244
276
|
|
|
245
277
|
declare const Input: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
246
278
|
|
|
247
|
-
type Props$
|
|
279
|
+
type Props$I = {
|
|
248
280
|
href?: string | undefined;
|
|
249
281
|
italic?: boolean;
|
|
250
282
|
variant?: TypographyVariants;
|
|
@@ -256,7 +288,7 @@ type Props$G = {
|
|
|
256
288
|
declare global {
|
|
257
289
|
namespace React.JSX {
|
|
258
290
|
interface IntrinsicElements {
|
|
259
|
-
'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$
|
|
291
|
+
'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$I, 'children'>;
|
|
260
292
|
}
|
|
261
293
|
}
|
|
262
294
|
}
|
|
@@ -270,12 +302,12 @@ declare const Link: React.ForwardRefExoticComponent<{
|
|
|
270
302
|
children?: React.ReactNode;
|
|
271
303
|
} & ITooltip & React.RefAttributes<HTMLAnchorElement>>;
|
|
272
304
|
|
|
273
|
-
type Props$
|
|
305
|
+
type Props$H = {
|
|
274
306
|
variant?: 'linear' | 'radial';
|
|
275
307
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
276
308
|
color?: Mode;
|
|
277
309
|
};
|
|
278
|
-
type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
310
|
+
type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$H>;
|
|
279
311
|
declare global {
|
|
280
312
|
namespace React.JSX {
|
|
281
313
|
interface IntrinsicElements {
|
|
@@ -284,22 +316,22 @@ declare global {
|
|
|
284
316
|
}
|
|
285
317
|
}
|
|
286
318
|
}
|
|
287
|
-
declare const Loader: React.ForwardRefExoticComponent<Props$
|
|
319
|
+
declare const Loader: React.ForwardRefExoticComponent<Props$H & React.RefAttributes<HTMLDivElement>>;
|
|
288
320
|
|
|
289
|
-
type Props$
|
|
321
|
+
type Props$G = {
|
|
290
322
|
width?: string;
|
|
291
323
|
height?: string;
|
|
292
324
|
};
|
|
293
325
|
declare global {
|
|
294
326
|
namespace React.JSX {
|
|
295
327
|
interface IntrinsicElements {
|
|
296
|
-
'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
328
|
+
'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$G>;
|
|
297
329
|
}
|
|
298
330
|
}
|
|
299
331
|
}
|
|
300
|
-
declare const Logo: React.ForwardRefExoticComponent<Props$
|
|
332
|
+
declare const Logo: React.ForwardRefExoticComponent<Props$G & React.RefAttributes<HTMLDivElement>>;
|
|
301
333
|
|
|
302
|
-
type Props$
|
|
334
|
+
type Props$F = {
|
|
303
335
|
'password-label'?: string;
|
|
304
336
|
'password-placeholder'?: string;
|
|
305
337
|
'confirm-label'?: string;
|
|
@@ -326,11 +358,11 @@ type Props$D = {
|
|
|
326
358
|
declare global {
|
|
327
359
|
namespace React.JSX {
|
|
328
360
|
interface IntrinsicElements {
|
|
329
|
-
'descope-new-password': DescopeInputProps & Props$
|
|
361
|
+
'descope-new-password': DescopeInputProps & Props$F;
|
|
330
362
|
}
|
|
331
363
|
}
|
|
332
364
|
}
|
|
333
|
-
declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
365
|
+
declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$F, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
334
366
|
|
|
335
367
|
declare global {
|
|
336
368
|
namespace React.JSX {
|
|
@@ -350,7 +382,7 @@ declare global {
|
|
|
350
382
|
}
|
|
351
383
|
declare const Password: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
352
384
|
|
|
353
|
-
type Props$
|
|
385
|
+
type Props$E = {
|
|
354
386
|
variant: 'countrySelection' | 'inputBox';
|
|
355
387
|
'default-code'?: string;
|
|
356
388
|
'phone-input-placeholder'?: string;
|
|
@@ -359,9 +391,9 @@ type Props$C = {
|
|
|
359
391
|
'format-value'?: boolean;
|
|
360
392
|
'strict-validation'?: boolean;
|
|
361
393
|
} & DescopeInputProps;
|
|
362
|
-
declare const Phone: React.ForwardRefExoticComponent<Omit<Props$
|
|
394
|
+
declare const Phone: React.ForwardRefExoticComponent<Omit<Props$E, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
363
395
|
|
|
364
|
-
type Props$
|
|
396
|
+
type Props$D = {
|
|
365
397
|
children?: React.JSX.Element[];
|
|
366
398
|
data?: string | Record<string, string>[];
|
|
367
399
|
};
|
|
@@ -374,9 +406,9 @@ declare global {
|
|
|
374
406
|
}
|
|
375
407
|
}
|
|
376
408
|
}
|
|
377
|
-
declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
409
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$D, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
378
410
|
|
|
379
|
-
type Props$
|
|
411
|
+
type Props$C = {
|
|
380
412
|
italic?: boolean;
|
|
381
413
|
variant?: string;
|
|
382
414
|
mode?: string;
|
|
@@ -388,8 +420,8 @@ type Props$A = {
|
|
|
388
420
|
declare global {
|
|
389
421
|
namespace React.JSX {
|
|
390
422
|
interface IntrinsicElements {
|
|
391
|
-
'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
392
|
-
'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
423
|
+
'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$C;
|
|
424
|
+
'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$C & {
|
|
393
425
|
readonly?: boolean;
|
|
394
426
|
};
|
|
395
427
|
}
|
|
@@ -425,7 +457,7 @@ declare global {
|
|
|
425
457
|
}
|
|
426
458
|
declare const TextField: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
427
459
|
|
|
428
|
-
type Props$
|
|
460
|
+
type Props$B = {
|
|
429
461
|
width?: string;
|
|
430
462
|
height?: string;
|
|
431
463
|
component?: 'code' | 'text';
|
|
@@ -438,7 +470,7 @@ type Props$z = {
|
|
|
438
470
|
declare global {
|
|
439
471
|
namespace React.JSX {
|
|
440
472
|
interface IntrinsicElements {
|
|
441
|
-
'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
473
|
+
'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$B>;
|
|
442
474
|
}
|
|
443
475
|
}
|
|
444
476
|
}
|
|
@@ -453,26 +485,26 @@ declare const TOTPImage: React.ForwardRefExoticComponent<{
|
|
|
453
485
|
'hide-when-empty'?: boolean;
|
|
454
486
|
} & ITooltip & React.RefAttributes<HTMLDivElement>>;
|
|
455
487
|
|
|
456
|
-
type Props$
|
|
457
|
-
declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$
|
|
488
|
+
type Props$A = Omit<React.ComponentProps<typeof Link>, 'href'>;
|
|
489
|
+
declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$A, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
458
490
|
|
|
459
|
-
type Props$
|
|
491
|
+
type Props$z = {
|
|
460
492
|
width?: string;
|
|
461
493
|
height?: string;
|
|
462
494
|
};
|
|
463
495
|
declare global {
|
|
464
496
|
namespace React.JSX {
|
|
465
497
|
interface IntrinsicElements {
|
|
466
|
-
'descope-notp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
498
|
+
'descope-notp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$z>;
|
|
467
499
|
}
|
|
468
500
|
}
|
|
469
501
|
}
|
|
470
|
-
declare const NOTPImage: React.ForwardRefExoticComponent<Props$
|
|
502
|
+
declare const NOTPImage: React.ForwardRefExoticComponent<Props$z & React.RefAttributes<HTMLDivElement>>;
|
|
471
503
|
|
|
472
|
-
type Props$
|
|
473
|
-
declare const NOTPLink: React.ForwardRefExoticComponent<Omit<Props$
|
|
504
|
+
type Props$y = Omit<React.ComponentProps<typeof Link>, 'href'>;
|
|
505
|
+
declare const NOTPLink: React.ForwardRefExoticComponent<Omit<Props$y, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
474
506
|
|
|
475
|
-
type Props$
|
|
507
|
+
type Props$x = {
|
|
476
508
|
title?: string;
|
|
477
509
|
description?: string;
|
|
478
510
|
icon?: string;
|
|
@@ -491,13 +523,13 @@ type Props$v = {
|
|
|
491
523
|
declare global {
|
|
492
524
|
namespace React.JSX {
|
|
493
525
|
interface IntrinsicElements {
|
|
494
|
-
'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
526
|
+
'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$x;
|
|
495
527
|
}
|
|
496
528
|
}
|
|
497
529
|
}
|
|
498
|
-
declare const UploadFile: React.ForwardRefExoticComponent<
|
|
530
|
+
declare const UploadFile: React.ForwardRefExoticComponent<Props$x & React.HTMLAttributes<HTMLDivElement, unknown> & React.RefAttributes<HTMLDivElement>>;
|
|
499
531
|
|
|
500
|
-
type Props$
|
|
532
|
+
type Props$w = {
|
|
501
533
|
enabled?: boolean;
|
|
502
534
|
'site-key'?: string;
|
|
503
535
|
enterprise?: boolean;
|
|
@@ -516,13 +548,13 @@ declare global {
|
|
|
516
548
|
}
|
|
517
549
|
namespace React.JSX {
|
|
518
550
|
interface IntrinsicElements {
|
|
519
|
-
'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
551
|
+
'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$w;
|
|
520
552
|
}
|
|
521
553
|
}
|
|
522
554
|
}
|
|
523
|
-
declare const Recaptcha: React.ForwardRefExoticComponent<
|
|
555
|
+
declare const Recaptcha: React.ForwardRefExoticComponent<Props$w & React.HTMLAttributes<HTMLDivElement, unknown> & React.RefAttributes<HTMLDivElement>>;
|
|
524
556
|
|
|
525
|
-
type Props$
|
|
557
|
+
type Props$v = {
|
|
526
558
|
connector?: string;
|
|
527
559
|
enterprise?: boolean;
|
|
528
560
|
action?: string;
|
|
@@ -537,16 +569,16 @@ type Props$t = {
|
|
|
537
569
|
width?: string;
|
|
538
570
|
height?: string;
|
|
539
571
|
};
|
|
540
|
-
declare const RecaptchaV2: React.ForwardRefExoticComponent<Props$
|
|
572
|
+
declare const RecaptchaV2: React.ForwardRefExoticComponent<Props$v & React.HTMLAttributes<HTMLDivElement, any> & React.RefAttributes<HTMLDivElement>>;
|
|
541
573
|
|
|
542
|
-
type Props$
|
|
574
|
+
type Props$u = DescopeInputProps & {
|
|
543
575
|
'default-value'?: string;
|
|
544
576
|
'allow-deselect'?: boolean;
|
|
545
577
|
};
|
|
546
578
|
declare global {
|
|
547
579
|
namespace React.JSX {
|
|
548
580
|
interface IntrinsicElements {
|
|
549
|
-
'descope-button-selection-group': Props$
|
|
581
|
+
'descope-button-selection-group': Props$u;
|
|
550
582
|
'descope-button-selection-group-item': React.JSX.IntrinsicElements['span'] & {
|
|
551
583
|
value: string;
|
|
552
584
|
children: string;
|
|
@@ -572,10 +604,10 @@ type SingleSelectType = {
|
|
|
572
604
|
layout?: 'horizontal' | 'vertical';
|
|
573
605
|
'label-type'?: LabelType;
|
|
574
606
|
};
|
|
575
|
-
type Props$
|
|
576
|
-
declare const SingleSelect: React.ForwardRefExoticComponent<Omit<Props$
|
|
607
|
+
type Props$t = Omit<React.ComponentProps<typeof ButtonSelectionGroup>, 'allow-deselect'> & SingleSelectType;
|
|
608
|
+
declare const SingleSelect: React.ForwardRefExoticComponent<Omit<Props$t, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
577
609
|
|
|
578
|
-
type Props$
|
|
610
|
+
type Props$s = DescopeInputProps & {
|
|
579
611
|
'default-value'?: string;
|
|
580
612
|
'item-label-path'?: string;
|
|
581
613
|
'item-value-path'?: string;
|
|
@@ -583,7 +615,7 @@ type Props$q = DescopeInputProps & {
|
|
|
583
615
|
declare global {
|
|
584
616
|
namespace React.JSX {
|
|
585
617
|
interface IntrinsicElements {
|
|
586
|
-
'descope-combobox': Props$
|
|
618
|
+
'descope-combobox': Props$s;
|
|
587
619
|
}
|
|
588
620
|
}
|
|
589
621
|
}
|
|
@@ -605,7 +637,7 @@ type Column = {
|
|
|
605
637
|
resizable: boolean;
|
|
606
638
|
};
|
|
607
639
|
};
|
|
608
|
-
type Props$
|
|
640
|
+
type Props$r = {
|
|
609
641
|
identifier: any;
|
|
610
642
|
children?: React.JSX.Element[];
|
|
611
643
|
size?: Omit<ComponentSize, 'xl'>;
|
|
@@ -621,7 +653,7 @@ declare global {
|
|
|
621
653
|
}
|
|
622
654
|
}
|
|
623
655
|
}
|
|
624
|
-
declare const Grid: React.ForwardRefExoticComponent<Props$
|
|
656
|
+
declare const Grid: React.ForwardRefExoticComponent<Props$r & React.RefAttributes<HTMLInputElement>>;
|
|
625
657
|
|
|
626
658
|
type ColumnProps = {
|
|
627
659
|
sortable?: boolean;
|
|
@@ -642,7 +674,7 @@ declare const GridTextColumn: React.ForwardRefExoticComponent<ColumnProps & Reac
|
|
|
642
674
|
|
|
643
675
|
declare const GridItemDetailsColumn: React.ForwardRefExoticComponent<ColumnProps & React.RefAttributes<HTMLInputElement>>;
|
|
644
676
|
|
|
645
|
-
type Props$
|
|
677
|
+
type Props$q = {
|
|
646
678
|
mode?: string;
|
|
647
679
|
size?: string;
|
|
648
680
|
bordered?: boolean;
|
|
@@ -651,11 +683,11 @@ type Props$o = {
|
|
|
651
683
|
declare global {
|
|
652
684
|
namespace React.JSX {
|
|
653
685
|
interface IntrinsicElements {
|
|
654
|
-
'descope-badge': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
686
|
+
'descope-badge': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$q;
|
|
655
687
|
}
|
|
656
688
|
}
|
|
657
689
|
}
|
|
658
|
-
declare const Badge: React.ForwardRefExoticComponent<
|
|
690
|
+
declare const Badge: React.ForwardRefExoticComponent<Props$q & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>>;
|
|
659
691
|
|
|
660
692
|
declare global {
|
|
661
693
|
namespace React.JSX {
|
|
@@ -664,12 +696,12 @@ declare global {
|
|
|
664
696
|
}
|
|
665
697
|
}
|
|
666
698
|
}
|
|
667
|
-
type Props$
|
|
699
|
+
type Props$p = {
|
|
668
700
|
opened?: boolean;
|
|
669
701
|
};
|
|
670
|
-
declare const Modal: React.ForwardRefExoticComponent<Props$
|
|
702
|
+
declare const Modal: React.ForwardRefExoticComponent<Props$p & React.RefAttributes<HTMLDivElement>>;
|
|
671
703
|
|
|
672
|
-
type Props$
|
|
704
|
+
type Props$o = DescopeInputProps & {
|
|
673
705
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
674
706
|
'min-items-selection'?: number;
|
|
675
707
|
'max-items-selection'?: number;
|
|
@@ -677,7 +709,7 @@ type Props$m = DescopeInputProps & {
|
|
|
677
709
|
declare global {
|
|
678
710
|
namespace React.JSX {
|
|
679
711
|
interface IntrinsicElements {
|
|
680
|
-
'descope-button-multi-selection-group': Props$
|
|
712
|
+
'descope-button-multi-selection-group': Props$o & {
|
|
681
713
|
'default-values'?: string;
|
|
682
714
|
};
|
|
683
715
|
'descope-button-selection-group-item': React.JSX.IntrinsicElements['span'] & {
|
|
@@ -704,16 +736,16 @@ type MultiSelectType = {
|
|
|
704
736
|
'max-items-selection'?: number;
|
|
705
737
|
'label-type'?: string;
|
|
706
738
|
};
|
|
707
|
-
type Props$
|
|
739
|
+
type Props$n = Omit<React.ComponentProps<typeof ButtonMultiSelectionGroup>, 'default-values'> & MultiSelectType & {
|
|
708
740
|
'default-values'?: string[];
|
|
709
741
|
};
|
|
710
|
-
declare const MultiSelect: React.ForwardRefExoticComponent<Omit<Props$
|
|
742
|
+
declare const MultiSelect: React.ForwardRefExoticComponent<Omit<Props$n, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
711
743
|
|
|
712
744
|
type Item$3 = {
|
|
713
745
|
label: string;
|
|
714
746
|
value: string;
|
|
715
747
|
};
|
|
716
|
-
type Props$
|
|
748
|
+
type Props$m = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'helper-text' | 'data-errormessage-pattern-mismatch' | 'data-errormessage-value-missing'> & {
|
|
717
749
|
'label-value'?: string;
|
|
718
750
|
'label-attr'?: string;
|
|
719
751
|
'button-label'?: string;
|
|
@@ -725,20 +757,20 @@ type Props$k = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'h
|
|
|
725
757
|
declare global {
|
|
726
758
|
namespace React.JSX {
|
|
727
759
|
interface IntrinsicElements {
|
|
728
|
-
'descope-mappings-field': Omit<Props$
|
|
760
|
+
'descope-mappings-field': Omit<Props$m, 'default-values' | 'options'> & {
|
|
729
761
|
'default-values'?: string;
|
|
730
762
|
options?: string;
|
|
731
763
|
};
|
|
732
764
|
}
|
|
733
765
|
}
|
|
734
766
|
}
|
|
735
|
-
declare const MappingsField: React.ForwardRefExoticComponent<Omit<Props$
|
|
767
|
+
declare const MappingsField: React.ForwardRefExoticComponent<Omit<Props$m, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
736
768
|
|
|
737
769
|
type Item$2 = {
|
|
738
770
|
label: string;
|
|
739
771
|
value: string;
|
|
740
772
|
};
|
|
741
|
-
type Props$
|
|
773
|
+
type Props$l = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'helper-text' | 'data-errormessage-pattern-mismatch' | 'data-errormessage-value-missing'> & {
|
|
742
774
|
'label-value'?: string;
|
|
743
775
|
'label-attr'?: string;
|
|
744
776
|
'label-group'?: string;
|
|
@@ -750,13 +782,13 @@ type Props$j = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'h
|
|
|
750
782
|
declare global {
|
|
751
783
|
namespace React.JSX {
|
|
752
784
|
interface IntrinsicElements {
|
|
753
|
-
'descope-saml-group-mappings': Omit<Props$
|
|
785
|
+
'descope-saml-group-mappings': Omit<Props$l, 'options'> & {
|
|
754
786
|
options?: string;
|
|
755
787
|
};
|
|
756
788
|
}
|
|
757
789
|
}
|
|
758
790
|
}
|
|
759
|
-
declare const SAMLGroupMappings: React.ForwardRefExoticComponent<Omit<Props$
|
|
791
|
+
declare const SAMLGroupMappings: React.ForwardRefExoticComponent<Omit<Props$l, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
760
792
|
|
|
761
793
|
declare global {
|
|
762
794
|
namespace React.JSX {
|
|
@@ -768,9 +800,20 @@ declare global {
|
|
|
768
800
|
}
|
|
769
801
|
}
|
|
770
802
|
}
|
|
771
|
-
declare const UserAuthMethod: React.ForwardRefExoticComponent<
|
|
803
|
+
declare const UserAuthMethod: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement, unknown> & {
|
|
804
|
+
label?: string;
|
|
805
|
+
'button-label'?: string;
|
|
806
|
+
fulfilled?: boolean;
|
|
807
|
+
'full-width'?: boolean;
|
|
808
|
+
methodIcon?: string;
|
|
809
|
+
methodIconDark?: string;
|
|
810
|
+
buttonIcon?: string;
|
|
811
|
+
buttonIconDark?: string;
|
|
812
|
+
fulfilledButtonIcon?: string;
|
|
813
|
+
fulfilledButtonIconDark?: string;
|
|
814
|
+
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
772
815
|
|
|
773
|
-
type Props$
|
|
816
|
+
type Props$k = {
|
|
774
817
|
'badge-tooltip-text'?: string;
|
|
775
818
|
'badge-label'?: string;
|
|
776
819
|
value?: string;
|
|
@@ -786,13 +829,13 @@ type Props$i = {
|
|
|
786
829
|
declare global {
|
|
787
830
|
namespace React.JSX {
|
|
788
831
|
interface IntrinsicElements {
|
|
789
|
-
'descope-user-attribute': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
832
|
+
'descope-user-attribute': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$k;
|
|
790
833
|
}
|
|
791
834
|
}
|
|
792
835
|
}
|
|
793
|
-
declare const UserAttribute: React.ForwardRefExoticComponent<
|
|
836
|
+
declare const UserAttribute: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement, unknown> & Props$k, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
794
837
|
|
|
795
|
-
type Props$
|
|
838
|
+
type Props$j = {
|
|
796
839
|
img?: string;
|
|
797
840
|
'display-name'?: string;
|
|
798
841
|
size?: string;
|
|
@@ -801,26 +844,26 @@ type Props$h = {
|
|
|
801
844
|
declare global {
|
|
802
845
|
namespace React.JSX {
|
|
803
846
|
interface IntrinsicElements {
|
|
804
|
-
'descope-avatar': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
847
|
+
'descope-avatar': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$j;
|
|
805
848
|
}
|
|
806
849
|
}
|
|
807
850
|
}
|
|
808
|
-
declare const Avatar: React.ForwardRefExoticComponent<
|
|
851
|
+
declare const Avatar: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement, unknown> & Props$j, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
809
852
|
|
|
810
|
-
type Props$
|
|
853
|
+
type Props$i = {
|
|
811
854
|
lang?: 'xml' | 'html' | 'javascript' | 'css' | 'json';
|
|
812
855
|
inline?: boolean;
|
|
813
856
|
};
|
|
814
857
|
declare global {
|
|
815
858
|
namespace React.JSX {
|
|
816
859
|
interface IntrinsicElements {
|
|
817
|
-
'descope-code-snippet': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
860
|
+
'descope-code-snippet': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$i;
|
|
818
861
|
}
|
|
819
862
|
}
|
|
820
863
|
}
|
|
821
|
-
declare const CodeSnippet: React.ForwardRefExoticComponent<
|
|
864
|
+
declare const CodeSnippet: React.ForwardRefExoticComponent<Props$i & React.HTMLAttributes<HTMLElement, unknown> & React.RefAttributes<HTMLElement>>;
|
|
822
865
|
|
|
823
|
-
type Props$
|
|
866
|
+
type Props$h = {
|
|
824
867
|
emptyState?: React.ReactNode;
|
|
825
868
|
children?: React.ReactNode[];
|
|
826
869
|
variant?: 'list' | 'tiles';
|
|
@@ -828,26 +871,26 @@ type Props$f = {
|
|
|
828
871
|
declare global {
|
|
829
872
|
namespace React.JSX {
|
|
830
873
|
interface IntrinsicElements {
|
|
831
|
-
'descope-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
874
|
+
'descope-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$h>;
|
|
832
875
|
}
|
|
833
876
|
}
|
|
834
877
|
}
|
|
835
|
-
declare const List: React.ForwardRefExoticComponent<Props$
|
|
878
|
+
declare const List: React.ForwardRefExoticComponent<Props$h & React.RefAttributes<HTMLDivElement>>;
|
|
836
879
|
|
|
837
|
-
type Props$
|
|
880
|
+
type Props$g = {
|
|
838
881
|
variant?: 'row' | 'tile';
|
|
839
882
|
children?: React.ReactNode;
|
|
840
883
|
};
|
|
841
884
|
declare global {
|
|
842
885
|
namespace React.JSX {
|
|
843
886
|
interface IntrinsicElements {
|
|
844
|
-
'descope-list-item': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
887
|
+
'descope-list-item': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$g>;
|
|
845
888
|
}
|
|
846
889
|
}
|
|
847
890
|
}
|
|
848
|
-
declare const ListItem: React.ForwardRefExoticComponent<Props$
|
|
891
|
+
declare const ListItem: React.ForwardRefExoticComponent<Props$g & React.RefAttributes<HTMLDivElement>>;
|
|
849
892
|
|
|
850
|
-
type Props$
|
|
893
|
+
type Props$f = {
|
|
851
894
|
emptyState?: React.ReactNode;
|
|
852
895
|
variant?: 'list' | 'tiles' | 'custom';
|
|
853
896
|
data?: any[];
|
|
@@ -856,18 +899,18 @@ type Props$d = {
|
|
|
856
899
|
declare global {
|
|
857
900
|
namespace React.JSX {
|
|
858
901
|
interface IntrinsicElements {
|
|
859
|
-
'descope-apps-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
902
|
+
'descope-apps-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$f>;
|
|
860
903
|
}
|
|
861
904
|
}
|
|
862
905
|
}
|
|
863
|
-
declare const AppsList: React.ForwardRefExoticComponent<Props$
|
|
906
|
+
declare const AppsList: React.ForwardRefExoticComponent<Props$f & React.RefAttributes<HTMLDivElement>>;
|
|
864
907
|
|
|
865
908
|
type Item$1 = {
|
|
866
909
|
desc: string;
|
|
867
910
|
id: string;
|
|
868
911
|
required?: boolean;
|
|
869
912
|
};
|
|
870
|
-
type Props$
|
|
913
|
+
type Props$e = {
|
|
871
914
|
variant?: 'checkbox' | 'switch';
|
|
872
915
|
data?: Item$1[];
|
|
873
916
|
readonly?: boolean;
|
|
@@ -876,17 +919,17 @@ type Props$c = {
|
|
|
876
919
|
declare global {
|
|
877
920
|
namespace React.JSX {
|
|
878
921
|
interface IntrinsicElements {
|
|
879
|
-
'descope-scopes-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
922
|
+
'descope-scopes-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$e>;
|
|
880
923
|
}
|
|
881
924
|
}
|
|
882
925
|
}
|
|
883
|
-
declare const ScopesList: React.ForwardRefExoticComponent<Props$
|
|
926
|
+
declare const ScopesList: React.ForwardRefExoticComponent<Props$e & React.RefAttributes<HTMLDivElement>>;
|
|
884
927
|
|
|
885
928
|
type Question$1 = {
|
|
886
929
|
id: string;
|
|
887
930
|
text: string;
|
|
888
931
|
};
|
|
889
|
-
type Props$
|
|
932
|
+
type Props$d = {
|
|
890
933
|
questions?: Question$1[];
|
|
891
934
|
readonly?: boolean;
|
|
892
935
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -901,17 +944,17 @@ type Props$b = {
|
|
|
901
944
|
declare global {
|
|
902
945
|
namespace React.JSX {
|
|
903
946
|
interface IntrinsicElements {
|
|
904
|
-
'descope-security-questions-setup': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
947
|
+
'descope-security-questions-setup': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$d>;
|
|
905
948
|
}
|
|
906
949
|
}
|
|
907
950
|
}
|
|
908
|
-
declare const SecurityQuestionsSetup: React.ForwardRefExoticComponent<Props$
|
|
951
|
+
declare const SecurityQuestionsSetup: React.ForwardRefExoticComponent<Props$d & React.RefAttributes<HTMLDivElement>>;
|
|
909
952
|
|
|
910
953
|
type Question = {
|
|
911
954
|
id: string;
|
|
912
955
|
text: string;
|
|
913
956
|
};
|
|
914
|
-
type Props$
|
|
957
|
+
type Props$c = {
|
|
915
958
|
questions?: Question[];
|
|
916
959
|
readonly?: boolean;
|
|
917
960
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -925,23 +968,23 @@ type Props$a = {
|
|
|
925
968
|
declare global {
|
|
926
969
|
namespace React.JSX {
|
|
927
970
|
interface IntrinsicElements {
|
|
928
|
-
'descope-security-questions-verify': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
971
|
+
'descope-security-questions-verify': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$c>;
|
|
929
972
|
}
|
|
930
973
|
}
|
|
931
974
|
}
|
|
932
|
-
declare const SecurityQuestionsVerify: React.ForwardRefExoticComponent<Props$
|
|
975
|
+
declare const SecurityQuestionsVerify: React.ForwardRefExoticComponent<Props$c & React.RefAttributes<HTMLDivElement>>;
|
|
933
976
|
|
|
934
|
-
type Props$
|
|
977
|
+
type Props$b = {
|
|
935
978
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
936
979
|
};
|
|
937
980
|
declare global {
|
|
938
981
|
namespace React.JSX {
|
|
939
982
|
interface IntrinsicElements {
|
|
940
|
-
'descope-third-party-app-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
983
|
+
'descope-third-party-app-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$b>;
|
|
941
984
|
}
|
|
942
985
|
}
|
|
943
986
|
}
|
|
944
|
-
declare const ThirdPartyAppLogo: React.ForwardRefExoticComponent<Props$
|
|
987
|
+
declare const ThirdPartyAppLogo: React.ForwardRefExoticComponent<Props$b & React.RefAttributes<HTMLDivElement>>;
|
|
945
988
|
|
|
946
989
|
declare global {
|
|
947
990
|
namespace React.JSX {
|
|
@@ -952,7 +995,7 @@ declare global {
|
|
|
952
995
|
}
|
|
953
996
|
declare const DateField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "external-input">, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
954
997
|
|
|
955
|
-
type Props$
|
|
998
|
+
type Props$a = {
|
|
956
999
|
variant?: 'countrySelection' | 'inputBox';
|
|
957
1000
|
'default-code'?: string;
|
|
958
1001
|
'phone-input-label'?: string;
|
|
@@ -973,13 +1016,30 @@ type Props$8 = {
|
|
|
973
1016
|
declare global {
|
|
974
1017
|
namespace React.JSX {
|
|
975
1018
|
interface IntrinsicElements {
|
|
976
|
-
'descope-hybrid-field': React.DetailedHTMLProps<React.HTMLAttributes<HTMLInputElement>, HTMLInputElement> & PropsToAttrs<Props$
|
|
1019
|
+
'descope-hybrid-field': React.DetailedHTMLProps<React.HTMLAttributes<HTMLInputElement>, HTMLInputElement> & PropsToAttrs<Props$a>;
|
|
977
1020
|
}
|
|
978
1021
|
}
|
|
979
1022
|
}
|
|
980
|
-
declare const HybridField: React.ForwardRefExoticComponent<
|
|
1023
|
+
declare const HybridField: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement, unknown> & {
|
|
1024
|
+
variant?: "countrySelection" | "inputBox";
|
|
1025
|
+
'default-code'?: string;
|
|
1026
|
+
'phone-input-label'?: string;
|
|
1027
|
+
'phone-input-placeholder'?: string;
|
|
1028
|
+
'restrict-countries'?: string;
|
|
1029
|
+
'full-width'?: boolean;
|
|
1030
|
+
bordered?: boolean;
|
|
1031
|
+
label?: string;
|
|
1032
|
+
placeholder?: string;
|
|
1033
|
+
size?: ComponentSize;
|
|
1034
|
+
'helper-text'?: string;
|
|
1035
|
+
'data-errormessage-pattern-mismatch-email'?: string;
|
|
1036
|
+
'data-errormessage-value-missing-email'?: string;
|
|
1037
|
+
'data-errormessage-value-missing-phone'?: string;
|
|
1038
|
+
'label-type'?: LabelType;
|
|
1039
|
+
'external-input'?: boolean;
|
|
1040
|
+
} & HTMLInputAttrs & DescopeInputExtraProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
981
1041
|
|
|
982
|
-
type Props$
|
|
1042
|
+
type Props$9 = {
|
|
983
1043
|
mode?: string;
|
|
984
1044
|
variant?: string;
|
|
985
1045
|
bordered?: boolean;
|
|
@@ -991,13 +1051,13 @@ type Props$7 = {
|
|
|
991
1051
|
declare global {
|
|
992
1052
|
namespace React.JSX {
|
|
993
1053
|
interface IntrinsicElements {
|
|
994
|
-
'descope-alert': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
1054
|
+
'descope-alert': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$9;
|
|
995
1055
|
}
|
|
996
1056
|
}
|
|
997
1057
|
}
|
|
998
|
-
declare const Alert: React.ForwardRefExoticComponent<Props$
|
|
1058
|
+
declare const Alert: React.ForwardRefExoticComponent<Props$9 & React.RefAttributes<HTMLElement>>;
|
|
999
1059
|
|
|
1000
|
-
type Props$
|
|
1060
|
+
type Props$8 = {
|
|
1001
1061
|
'data-connector-id'?: string;
|
|
1002
1062
|
'connector-template'?: string;
|
|
1003
1063
|
'min-search-length'?: number;
|
|
@@ -1006,18 +1066,18 @@ type Props$6 = {
|
|
|
1006
1066
|
declare global {
|
|
1007
1067
|
namespace React.JSX {
|
|
1008
1068
|
interface IntrinsicElements {
|
|
1009
|
-
'descope-address-field': Omit<DescopeInputProps, 'external-input'> & Props$
|
|
1069
|
+
'descope-address-field': Omit<DescopeInputProps, 'external-input'> & Props$8;
|
|
1010
1070
|
}
|
|
1011
1071
|
}
|
|
1012
1072
|
}
|
|
1013
|
-
declare const AddressField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "external-input"> & Props$
|
|
1073
|
+
declare const AddressField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "external-input"> & Props$8, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1014
1074
|
|
|
1015
1075
|
type CountrySubdivisionCityValue = {
|
|
1016
1076
|
country?: string;
|
|
1017
1077
|
subdivision?: string;
|
|
1018
1078
|
city?: string;
|
|
1019
1079
|
};
|
|
1020
|
-
type Props$
|
|
1080
|
+
type Props$7 = {
|
|
1021
1081
|
'hide-country'?: boolean;
|
|
1022
1082
|
'hide-subdivision'?: boolean;
|
|
1023
1083
|
'hide-city'?: boolean;
|
|
@@ -1037,13 +1097,13 @@ type Props$5 = {
|
|
|
1037
1097
|
declare global {
|
|
1038
1098
|
namespace React.JSX {
|
|
1039
1099
|
interface IntrinsicElements {
|
|
1040
|
-
'descope-country-subdivision-city-field': Omit<DescopeInputProps, 'external-input' | 'value'> & Props$
|
|
1100
|
+
'descope-country-subdivision-city-field': Omit<DescopeInputProps, 'external-input' | 'value'> & Props$7;
|
|
1041
1101
|
}
|
|
1042
1102
|
}
|
|
1043
1103
|
}
|
|
1044
|
-
declare const CountrySubdivisionCityField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "value" | "external-input"> & Props$
|
|
1104
|
+
declare const CountrySubdivisionCityField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "value" | "external-input"> & Props$7, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1045
1105
|
|
|
1046
|
-
type Props$
|
|
1106
|
+
type Props$6 = React.JSX.IntrinsicElements['button'] & {
|
|
1047
1107
|
variant?: string;
|
|
1048
1108
|
color?: string;
|
|
1049
1109
|
size?: string;
|
|
@@ -1057,7 +1117,7 @@ type Props$4 = React.JSX.IntrinsicElements['button'] & {
|
|
|
1057
1117
|
declare global {
|
|
1058
1118
|
namespace React.JSX {
|
|
1059
1119
|
interface IntrinsicElements {
|
|
1060
|
-
'descope-timer-button': React.DetailedHTMLProps<React.HTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & Props$
|
|
1120
|
+
'descope-timer-button': React.DetailedHTMLProps<React.HTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & Props$6;
|
|
1061
1121
|
}
|
|
1062
1122
|
}
|
|
1063
1123
|
}
|
|
@@ -1073,6 +1133,37 @@ declare const TimerButton: React.ForwardRefExoticComponent<Omit<React.ClassAttri
|
|
|
1073
1133
|
'timer-paused'?: boolean;
|
|
1074
1134
|
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1075
1135
|
|
|
1136
|
+
type Never<T extends Record<string, any>> = {
|
|
1137
|
+
[K in keyof T]: never;
|
|
1138
|
+
};
|
|
1139
|
+
type SpaceBetween = '0' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '14' | '16' | '20' | '24' | '28' | '32';
|
|
1140
|
+
type Flex = {
|
|
1141
|
+
spaceBetween?: SpaceBetween;
|
|
1142
|
+
};
|
|
1143
|
+
type ContainerAlignment = {
|
|
1144
|
+
'horizontal-alignment'?: FlexAlignment | 'space-between';
|
|
1145
|
+
'vertical-alignment'?: FlexAlignment;
|
|
1146
|
+
'space-between'?: 'sm' | 'md' | 'lg';
|
|
1147
|
+
};
|
|
1148
|
+
type Props$5 = {
|
|
1149
|
+
shadow?: 'md' | 'lg' | 'xl' | '2xl';
|
|
1150
|
+
borderRadius?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
1151
|
+
paddingX?: string;
|
|
1152
|
+
paddingY?: string;
|
|
1153
|
+
background?: string;
|
|
1154
|
+
backgroundImageUrl?: string;
|
|
1155
|
+
width?: string;
|
|
1156
|
+
collapsible?: boolean;
|
|
1157
|
+
'icon-position'?: 'right' | 'left';
|
|
1158
|
+
'fill-title'?: boolean;
|
|
1159
|
+
border?: boolean;
|
|
1160
|
+
text?: string;
|
|
1161
|
+
'icon-name'?: string;
|
|
1162
|
+
collapsed?: boolean;
|
|
1163
|
+
'text-align'?: 'left' | 'right' | 'center';
|
|
1164
|
+
'text-variant'?: 'body1' | 'body2' | 'subtitle1' | 'h1' | 'h2' | 'h3' | 'subtitle2';
|
|
1165
|
+
'text-mode'?: 'primary' | 'secondary' | 'error' | 'success';
|
|
1166
|
+
} & ((Flex & Never<ContainerAlignment>) | (ContainerAlignment & Never<Flex>));
|
|
1076
1167
|
declare global {
|
|
1077
1168
|
namespace React.JSX {
|
|
1078
1169
|
interface IntrinsicElements {
|
|
@@ -1080,9 +1171,19 @@ declare global {
|
|
|
1080
1171
|
}
|
|
1081
1172
|
}
|
|
1082
1173
|
}
|
|
1083
|
-
declare const Container: React.ForwardRefExoticComponent<
|
|
1174
|
+
declare const Container: React.ForwardRefExoticComponent<(Props$5 & React.HTMLAttributes<HTMLDivElement, unknown>) & React.RefAttributes<HTMLDivElement>>;
|
|
1084
1175
|
|
|
1085
|
-
|
|
1176
|
+
type Props$4 = {
|
|
1177
|
+
connector?: string;
|
|
1178
|
+
action?: string;
|
|
1179
|
+
textLabel?: string;
|
|
1180
|
+
textVariant?: TypographyVariants;
|
|
1181
|
+
textMode?: Mode;
|
|
1182
|
+
textAlign?: TextAlign;
|
|
1183
|
+
readonly?: boolean;
|
|
1184
|
+
'full-width'?: boolean;
|
|
1185
|
+
};
|
|
1186
|
+
declare const Turnstile: React.ForwardRefExoticComponent<Props$4 & React.HTMLAttributes<HTMLDivElement, unknown> & React.RefAttributes<HTMLDivElement>>;
|
|
1086
1187
|
|
|
1087
1188
|
type Item = {
|
|
1088
1189
|
value: string;
|
|
@@ -1114,7 +1215,7 @@ type Props$2 = {
|
|
|
1114
1215
|
connector?: string;
|
|
1115
1216
|
enabled?: boolean;
|
|
1116
1217
|
};
|
|
1117
|
-
declare const Hcaptcha: React.ForwardRefExoticComponent<
|
|
1218
|
+
declare const Hcaptcha: React.ForwardRefExoticComponent<Props$2 & React.HTMLAttributes<HTMLDivElement, unknown> & React.RefAttributes<HTMLDivElement>>;
|
|
1118
1219
|
|
|
1119
1220
|
type Props$1 = {
|
|
1120
1221
|
emptyState?: React.ReactNode;
|