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