@descope/flow-components 2.0.397 → 2.0.399
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/index.cjs.js +3 -0
- package/dist/index.d.ts +124 -140
- package/dist/index.esm.js +3 -1
- package/package.json +5 -5
package/dist/index.cjs.js
CHANGED
|
@@ -488,6 +488,9 @@ HybridField.defaultProps = {
|
|
|
488
488
|
size: 'md'
|
|
489
489
|
};
|
|
490
490
|
|
|
491
|
+
const Alert = React__default.default.forwardRef(({ children, ...props }, ref) => (React__default.default.createElement("descope-alert", { ...props, ref: ref }, children)));
|
|
492
|
+
|
|
493
|
+
exports.Alert = Alert;
|
|
491
494
|
exports.AppsList = AppsList;
|
|
492
495
|
exports.Avatar = Avatar;
|
|
493
496
|
exports.Badge = Badge;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import React, { SVGProps } from 'react';
|
|
3
2
|
export * from '@descope/web-components-ui';
|
|
4
3
|
|
|
@@ -52,8 +51,8 @@ declare const Switch: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "r
|
|
|
52
51
|
type BooleanType = {
|
|
53
52
|
type: 'switch' | 'checkbox';
|
|
54
53
|
};
|
|
55
|
-
type Props$
|
|
56
|
-
declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$
|
|
54
|
+
type Props$D = React.ComponentProps<typeof Checkbox> & React.ComponentProps<typeof Switch> & BooleanType;
|
|
55
|
+
declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$D, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
57
56
|
|
|
58
57
|
declare global {
|
|
59
58
|
namespace JSX {
|
|
@@ -65,27 +64,19 @@ declare global {
|
|
|
65
64
|
}
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
|
-
declare const Button: React.ForwardRefExoticComponent<Omit<
|
|
69
|
-
variant?: string;
|
|
70
|
-
color?: string;
|
|
71
|
-
size?: string;
|
|
72
|
-
loading?: boolean;
|
|
73
|
-
startIcon?: string;
|
|
74
|
-
startIconColorText?: boolean;
|
|
75
|
-
'full-width'?: boolean;
|
|
76
|
-
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
67
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
77
68
|
|
|
78
|
-
type Props$
|
|
69
|
+
type Props$C = {
|
|
79
70
|
digits?: number;
|
|
80
71
|
};
|
|
81
72
|
declare global {
|
|
82
73
|
namespace JSX {
|
|
83
74
|
interface IntrinsicElements {
|
|
84
|
-
'descope-passcode': DescopeInputProps & Props$
|
|
75
|
+
'descope-passcode': DescopeInputProps & Props$C;
|
|
85
76
|
}
|
|
86
77
|
}
|
|
87
78
|
}
|
|
88
|
-
declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
79
|
+
declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$C, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
89
80
|
|
|
90
81
|
type Never<T extends Record<string, any>> = {
|
|
91
82
|
[K in keyof T]: never;
|
|
@@ -101,7 +92,7 @@ type ContainerAlignment = {
|
|
|
101
92
|
'vertical-alignment'?: FlexAlignment;
|
|
102
93
|
'space-between'?: 'sm' | 'md' | 'lg';
|
|
103
94
|
};
|
|
104
|
-
type Props$
|
|
95
|
+
type Props$B = {
|
|
105
96
|
direction?: 'row' | 'column';
|
|
106
97
|
shadow?: 'md' | 'lg' | 'xl' | '2xl';
|
|
107
98
|
'border-radius'?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
@@ -118,9 +109,9 @@ declare global {
|
|
|
118
109
|
}
|
|
119
110
|
}
|
|
120
111
|
}
|
|
121
|
-
declare const Container: React.ForwardRefExoticComponent<(Props$
|
|
112
|
+
declare const Container: React.ForwardRefExoticComponent<(Props$B & React.HTMLAttributes<HTMLDivElement>) & React.RefAttributes<HTMLDivElement>>;
|
|
122
113
|
|
|
123
|
-
type Props$
|
|
114
|
+
type Props$A = {
|
|
124
115
|
vertical?: boolean;
|
|
125
116
|
italic?: boolean;
|
|
126
117
|
variant?: TypographyVariants;
|
|
@@ -130,15 +121,15 @@ type Props$z = {
|
|
|
130
121
|
declare global {
|
|
131
122
|
namespace JSX {
|
|
132
123
|
interface IntrinsicElements {
|
|
133
|
-
'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$
|
|
124
|
+
'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$A, 'children'>;
|
|
134
125
|
}
|
|
135
126
|
}
|
|
136
127
|
}
|
|
137
|
-
declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<
|
|
128
|
+
declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<any, "size"> & Props$A, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
138
129
|
|
|
139
130
|
declare const ReactComponent: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
140
131
|
|
|
141
|
-
type Props$
|
|
132
|
+
type Props$z = {
|
|
142
133
|
width?: string;
|
|
143
134
|
height?: string;
|
|
144
135
|
alt?: string;
|
|
@@ -147,15 +138,15 @@ type Props$y = {
|
|
|
147
138
|
declare global {
|
|
148
139
|
namespace JSX {
|
|
149
140
|
interface IntrinsicElements {
|
|
150
|
-
'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
141
|
+
'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$z;
|
|
151
142
|
}
|
|
152
143
|
}
|
|
153
144
|
}
|
|
154
|
-
declare const Image: React.ForwardRefExoticComponent<Props$
|
|
145
|
+
declare const Image: React.ForwardRefExoticComponent<Props$z & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
155
146
|
|
|
156
147
|
declare const Input: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
157
148
|
|
|
158
|
-
type Props$
|
|
149
|
+
type Props$y = {
|
|
159
150
|
href?: string | undefined;
|
|
160
151
|
italic?: boolean;
|
|
161
152
|
variant?: TypographyVariants;
|
|
@@ -167,18 +158,18 @@ type Props$x = {
|
|
|
167
158
|
declare global {
|
|
168
159
|
namespace JSX {
|
|
169
160
|
interface IntrinsicElements {
|
|
170
|
-
'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$
|
|
161
|
+
'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$y, 'children'>;
|
|
171
162
|
}
|
|
172
163
|
}
|
|
173
164
|
}
|
|
174
|
-
declare const Link: React.ForwardRefExoticComponent<Props$
|
|
165
|
+
declare const Link: React.ForwardRefExoticComponent<Props$y & React.RefAttributes<HTMLAnchorElement>>;
|
|
175
166
|
|
|
176
|
-
type Props$
|
|
167
|
+
type Props$x = {
|
|
177
168
|
variant?: 'linear' | 'radial';
|
|
178
169
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
179
170
|
color?: Mode;
|
|
180
171
|
};
|
|
181
|
-
type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
172
|
+
type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$x>;
|
|
182
173
|
declare global {
|
|
183
174
|
namespace JSX {
|
|
184
175
|
interface IntrinsicElements {
|
|
@@ -187,22 +178,22 @@ declare global {
|
|
|
187
178
|
}
|
|
188
179
|
}
|
|
189
180
|
}
|
|
190
|
-
declare const Loader: React.ForwardRefExoticComponent<Props$
|
|
181
|
+
declare const Loader: React.ForwardRefExoticComponent<Props$x & React.RefAttributes<HTMLDivElement>>;
|
|
191
182
|
|
|
192
|
-
type Props$
|
|
183
|
+
type Props$w = {
|
|
193
184
|
width?: string;
|
|
194
185
|
height?: string;
|
|
195
186
|
};
|
|
196
187
|
declare global {
|
|
197
188
|
namespace JSX {
|
|
198
189
|
interface IntrinsicElements {
|
|
199
|
-
'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
190
|
+
'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$w>;
|
|
200
191
|
}
|
|
201
192
|
}
|
|
202
193
|
}
|
|
203
|
-
declare const Logo: React.ForwardRefExoticComponent<Props$
|
|
194
|
+
declare const Logo: React.ForwardRefExoticComponent<Props$w & React.RefAttributes<HTMLDivElement>>;
|
|
204
195
|
|
|
205
|
-
type Props$
|
|
196
|
+
type Props$v = {
|
|
206
197
|
'password-label'?: string;
|
|
207
198
|
'password-placeholder'?: string;
|
|
208
199
|
'confirm-label'?: string;
|
|
@@ -228,11 +219,11 @@ type Props$u = {
|
|
|
228
219
|
declare global {
|
|
229
220
|
namespace JSX {
|
|
230
221
|
interface IntrinsicElements {
|
|
231
|
-
'descope-new-password': DescopeInputProps & Props$
|
|
222
|
+
'descope-new-password': DescopeInputProps & Props$v;
|
|
232
223
|
}
|
|
233
224
|
}
|
|
234
225
|
}
|
|
235
|
-
declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
226
|
+
declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$v, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
236
227
|
|
|
237
228
|
declare global {
|
|
238
229
|
namespace JSX {
|
|
@@ -252,16 +243,16 @@ declare global {
|
|
|
252
243
|
}
|
|
253
244
|
declare const Password: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
254
245
|
|
|
255
|
-
type Props$
|
|
246
|
+
type Props$u = {
|
|
256
247
|
variant: 'countrySelection' | 'inputBox';
|
|
257
248
|
'default-code'?: string;
|
|
258
249
|
'phone-input-placeholder'?: string;
|
|
259
250
|
'country-input-placeholder'?: string;
|
|
260
251
|
'restrict-countries'?: string;
|
|
261
252
|
} & DescopeInputProps;
|
|
262
|
-
declare const Phone: React.ForwardRefExoticComponent<Omit<Props$
|
|
253
|
+
declare const Phone: React.ForwardRefExoticComponent<Omit<Props$u, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
263
254
|
|
|
264
|
-
type Props$
|
|
255
|
+
type Props$t = {
|
|
265
256
|
children?: JSX.Element[];
|
|
266
257
|
data?: string | Record<string, string>[];
|
|
267
258
|
};
|
|
@@ -274,9 +265,9 @@ declare global {
|
|
|
274
265
|
}
|
|
275
266
|
}
|
|
276
267
|
}
|
|
277
|
-
declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$
|
|
268
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$t, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
278
269
|
|
|
279
|
-
type Props$
|
|
270
|
+
type Props$s = {
|
|
280
271
|
italic?: boolean;
|
|
281
272
|
variant?: string;
|
|
282
273
|
mode?: string;
|
|
@@ -288,14 +279,14 @@ type Props$r = {
|
|
|
288
279
|
declare global {
|
|
289
280
|
namespace JSX {
|
|
290
281
|
interface IntrinsicElements {
|
|
291
|
-
'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
292
|
-
'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
282
|
+
'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$s;
|
|
283
|
+
'descope-enriched-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$s & {
|
|
293
284
|
readonly?: boolean;
|
|
294
285
|
};
|
|
295
286
|
}
|
|
296
287
|
}
|
|
297
288
|
}
|
|
298
|
-
declare const Text: React.ForwardRefExoticComponent<Omit<Props$
|
|
289
|
+
declare const Text: React.ForwardRefExoticComponent<Omit<Props$s & {
|
|
299
290
|
typography?: TypographyVariants;
|
|
300
291
|
} & Omit<React.HTMLProps<HTMLSpanElement>, "mode">, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
301
292
|
|
|
@@ -317,39 +308,39 @@ declare global {
|
|
|
317
308
|
}
|
|
318
309
|
declare const TextField: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
319
310
|
|
|
320
|
-
type Props$
|
|
311
|
+
type Props$r = {
|
|
321
312
|
width?: string;
|
|
322
313
|
height?: string;
|
|
323
314
|
};
|
|
324
315
|
declare global {
|
|
325
316
|
namespace JSX {
|
|
326
317
|
interface IntrinsicElements {
|
|
327
|
-
'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
318
|
+
'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$r>;
|
|
328
319
|
}
|
|
329
320
|
}
|
|
330
321
|
}
|
|
331
|
-
declare const TOTPImage: React.ForwardRefExoticComponent<Props$
|
|
322
|
+
declare const TOTPImage: React.ForwardRefExoticComponent<Props$r & React.RefAttributes<HTMLDivElement>>;
|
|
332
323
|
|
|
333
|
-
type Props$
|
|
334
|
-
declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$
|
|
324
|
+
type Props$q = Omit<React.ComponentProps<typeof Link>, 'href'>;
|
|
325
|
+
declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$q, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
335
326
|
|
|
336
|
-
type Props$
|
|
327
|
+
type Props$p = {
|
|
337
328
|
width?: string;
|
|
338
329
|
height?: string;
|
|
339
330
|
};
|
|
340
331
|
declare global {
|
|
341
332
|
namespace JSX {
|
|
342
333
|
interface IntrinsicElements {
|
|
343
|
-
'descope-notp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
334
|
+
'descope-notp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$p>;
|
|
344
335
|
}
|
|
345
336
|
}
|
|
346
337
|
}
|
|
347
|
-
declare const NOTPImage: React.ForwardRefExoticComponent<Props$
|
|
338
|
+
declare const NOTPImage: React.ForwardRefExoticComponent<Props$p & React.RefAttributes<HTMLDivElement>>;
|
|
348
339
|
|
|
349
|
-
type Props$
|
|
350
|
-
declare const NOTPLink: React.ForwardRefExoticComponent<Omit<Props$
|
|
340
|
+
type Props$o = Omit<React.ComponentProps<typeof Link>, 'href'>;
|
|
341
|
+
declare const NOTPLink: React.ForwardRefExoticComponent<Omit<Props$o, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
351
342
|
|
|
352
|
-
type Props$
|
|
343
|
+
type Props$n = {
|
|
353
344
|
title?: string;
|
|
354
345
|
description?: string;
|
|
355
346
|
icon?: string;
|
|
@@ -368,13 +359,13 @@ type Props$m = {
|
|
|
368
359
|
declare global {
|
|
369
360
|
namespace JSX {
|
|
370
361
|
interface IntrinsicElements {
|
|
371
|
-
'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
362
|
+
'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$n;
|
|
372
363
|
}
|
|
373
364
|
}
|
|
374
365
|
}
|
|
375
|
-
declare const UploadFile: React.ForwardRefExoticComponent<Props$
|
|
366
|
+
declare const UploadFile: React.ForwardRefExoticComponent<Props$n & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
376
367
|
|
|
377
|
-
type Props$
|
|
368
|
+
type Props$m = {
|
|
378
369
|
enabled?: boolean;
|
|
379
370
|
'site-key'?: string;
|
|
380
371
|
enterprise?: boolean;
|
|
@@ -393,20 +384,20 @@ declare global {
|
|
|
393
384
|
}
|
|
394
385
|
namespace JSX {
|
|
395
386
|
interface IntrinsicElements {
|
|
396
|
-
'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
387
|
+
'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$m;
|
|
397
388
|
}
|
|
398
389
|
}
|
|
399
390
|
}
|
|
400
|
-
declare const Recaptcha: React.ForwardRefExoticComponent<Props$
|
|
391
|
+
declare const Recaptcha: React.ForwardRefExoticComponent<Props$m & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
401
392
|
|
|
402
|
-
type Props$
|
|
393
|
+
type Props$l = DescopeInputProps & {
|
|
403
394
|
'default-value'?: string;
|
|
404
395
|
'allow-deselect'?: boolean;
|
|
405
396
|
};
|
|
406
397
|
declare global {
|
|
407
398
|
namespace JSX {
|
|
408
399
|
interface IntrinsicElements {
|
|
409
|
-
'descope-button-selection-group': Props$
|
|
400
|
+
'descope-button-selection-group': Props$l;
|
|
410
401
|
'descope-button-selection-group-item': JSX.IntrinsicElements['span'] & {
|
|
411
402
|
value: string;
|
|
412
403
|
children: string;
|
|
@@ -432,10 +423,10 @@ type SingleSelectType = {
|
|
|
432
423
|
layout?: 'horizontal' | 'vertical';
|
|
433
424
|
'label-type'?: LabelType;
|
|
434
425
|
};
|
|
435
|
-
type Props$
|
|
436
|
-
declare const SingleSelect: React.ForwardRefExoticComponent<Omit<Props$
|
|
426
|
+
type Props$k = Omit<React.ComponentProps<typeof ButtonSelectionGroup>, 'allow-deselect'> & SingleSelectType;
|
|
427
|
+
declare const SingleSelect: React.ForwardRefExoticComponent<Omit<Props$k, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
437
428
|
|
|
438
|
-
type Props$
|
|
429
|
+
type Props$j = DescopeInputProps & {
|
|
439
430
|
'default-value'?: string;
|
|
440
431
|
'item-label-path'?: string;
|
|
441
432
|
'item-value-path'?: string;
|
|
@@ -443,7 +434,7 @@ type Props$i = DescopeInputProps & {
|
|
|
443
434
|
declare global {
|
|
444
435
|
namespace JSX {
|
|
445
436
|
interface IntrinsicElements {
|
|
446
|
-
'descope-combobox': Props$
|
|
437
|
+
'descope-combobox': Props$j;
|
|
447
438
|
}
|
|
448
439
|
}
|
|
449
440
|
}
|
|
@@ -465,7 +456,7 @@ type Column = {
|
|
|
465
456
|
resizable: boolean;
|
|
466
457
|
};
|
|
467
458
|
};
|
|
468
|
-
type Props$
|
|
459
|
+
type Props$i = {
|
|
469
460
|
identifier: any;
|
|
470
461
|
children?: JSX.Element[];
|
|
471
462
|
size?: Omit<ComponentSize, 'xl'>;
|
|
@@ -481,7 +472,7 @@ declare global {
|
|
|
481
472
|
}
|
|
482
473
|
}
|
|
483
474
|
}
|
|
484
|
-
declare const Grid: React.ForwardRefExoticComponent<Props$
|
|
475
|
+
declare const Grid: React.ForwardRefExoticComponent<Props$i & React.RefAttributes<HTMLInputElement>>;
|
|
485
476
|
|
|
486
477
|
type ColumnProps = {
|
|
487
478
|
sortable?: boolean;
|
|
@@ -530,7 +521,7 @@ declare global {
|
|
|
530
521
|
}
|
|
531
522
|
declare const GridItemDetailsColumn: React.ForwardRefExoticComponent<ColumnProps & React.RefAttributes<HTMLInputElement>>;
|
|
532
523
|
|
|
533
|
-
type Props$
|
|
524
|
+
type Props$h = {
|
|
534
525
|
mode?: string;
|
|
535
526
|
size?: string;
|
|
536
527
|
bordered?: boolean;
|
|
@@ -539,11 +530,11 @@ type Props$g = {
|
|
|
539
530
|
declare global {
|
|
540
531
|
namespace JSX {
|
|
541
532
|
interface IntrinsicElements {
|
|
542
|
-
'descope-badge': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
533
|
+
'descope-badge': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$h;
|
|
543
534
|
}
|
|
544
535
|
}
|
|
545
536
|
}
|
|
546
|
-
declare const Badge: React.ForwardRefExoticComponent<Props$
|
|
537
|
+
declare const Badge: React.ForwardRefExoticComponent<Props$h & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
547
538
|
|
|
548
539
|
declare global {
|
|
549
540
|
namespace JSX {
|
|
@@ -552,12 +543,12 @@ declare global {
|
|
|
552
543
|
}
|
|
553
544
|
}
|
|
554
545
|
}
|
|
555
|
-
type Props$
|
|
546
|
+
type Props$g = {
|
|
556
547
|
opened?: boolean;
|
|
557
548
|
};
|
|
558
|
-
declare const Modal: React.ForwardRefExoticComponent<Props$
|
|
549
|
+
declare const Modal: React.ForwardRefExoticComponent<Props$g & React.RefAttributes<HTMLDivElement>>;
|
|
559
550
|
|
|
560
|
-
type Props$
|
|
551
|
+
type Props$f = DescopeInputProps & {
|
|
561
552
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
562
553
|
'min-items-selection'?: number;
|
|
563
554
|
'max-items-selection'?: number;
|
|
@@ -565,7 +556,7 @@ type Props$e = DescopeInputProps & {
|
|
|
565
556
|
declare global {
|
|
566
557
|
namespace JSX {
|
|
567
558
|
interface IntrinsicElements {
|
|
568
|
-
'descope-button-multi-selection-group': Props$
|
|
559
|
+
'descope-button-multi-selection-group': Props$f & {
|
|
569
560
|
'default-values'?: string;
|
|
570
561
|
};
|
|
571
562
|
'descope-button-selection-group-item': JSX.IntrinsicElements['span'] & {
|
|
@@ -592,16 +583,16 @@ type MultiSelectType = {
|
|
|
592
583
|
'max-items-selection'?: number;
|
|
593
584
|
'label-type'?: string;
|
|
594
585
|
};
|
|
595
|
-
type Props$
|
|
586
|
+
type Props$e = Omit<React.ComponentProps<typeof ButtonMultiSelectionGroup>, 'default-values'> & MultiSelectType & {
|
|
596
587
|
'default-values'?: string[];
|
|
597
588
|
};
|
|
598
|
-
declare const MultiSelect: React.ForwardRefExoticComponent<Omit<Props$
|
|
589
|
+
declare const MultiSelect: React.ForwardRefExoticComponent<Omit<Props$e, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
599
590
|
|
|
600
591
|
type Item$2 = {
|
|
601
592
|
label: string;
|
|
602
593
|
value: string;
|
|
603
594
|
};
|
|
604
|
-
type Props$
|
|
595
|
+
type Props$d = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'helper-text' | 'data-errormessage-pattern-mismatch' | 'data-errormessage-value-missing'> & {
|
|
605
596
|
'label-value'?: string;
|
|
606
597
|
'label-attr'?: string;
|
|
607
598
|
'button-label'?: string;
|
|
@@ -613,20 +604,20 @@ type Props$c = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'h
|
|
|
613
604
|
declare global {
|
|
614
605
|
namespace JSX {
|
|
615
606
|
interface IntrinsicElements {
|
|
616
|
-
'descope-mappings-field': Omit<Props$
|
|
607
|
+
'descope-mappings-field': Omit<Props$d, 'default-values' | 'options'> & {
|
|
617
608
|
'default-values'?: string;
|
|
618
609
|
options?: string;
|
|
619
610
|
};
|
|
620
611
|
}
|
|
621
612
|
}
|
|
622
613
|
}
|
|
623
|
-
declare const MappingsField: React.ForwardRefExoticComponent<Omit<Props$
|
|
614
|
+
declare const MappingsField: React.ForwardRefExoticComponent<Omit<Props$d, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
624
615
|
|
|
625
616
|
type Item$1 = {
|
|
626
617
|
label: string;
|
|
627
618
|
value: string;
|
|
628
619
|
};
|
|
629
|
-
type Props$
|
|
620
|
+
type Props$c = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'helper-text' | 'data-errormessage-pattern-mismatch' | 'data-errormessage-value-missing'> & {
|
|
630
621
|
'label-value'?: string;
|
|
631
622
|
'label-attr'?: string;
|
|
632
623
|
'label-group'?: string;
|
|
@@ -638,13 +629,13 @@ type Props$b = Omit<DescopeInputProps, 'bordered' | 'label' | 'placeholder' | 'h
|
|
|
638
629
|
declare global {
|
|
639
630
|
namespace JSX {
|
|
640
631
|
interface IntrinsicElements {
|
|
641
|
-
'descope-saml-group-mappings': Omit<Props$
|
|
632
|
+
'descope-saml-group-mappings': Omit<Props$c, 'options'> & {
|
|
642
633
|
options?: string;
|
|
643
634
|
};
|
|
644
635
|
}
|
|
645
636
|
}
|
|
646
637
|
}
|
|
647
|
-
declare const SAMLGroupMappings: React.ForwardRefExoticComponent<Omit<Props$
|
|
638
|
+
declare const SAMLGroupMappings: React.ForwardRefExoticComponent<Omit<Props$c, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
648
639
|
|
|
649
640
|
declare global {
|
|
650
641
|
namespace JSX {
|
|
@@ -656,16 +647,9 @@ declare global {
|
|
|
656
647
|
}
|
|
657
648
|
}
|
|
658
649
|
}
|
|
659
|
-
declare const UserAuthMethod: React.ForwardRefExoticComponent<Omit<
|
|
660
|
-
label?: string;
|
|
661
|
-
'button-label'?: string;
|
|
662
|
-
fulfilled?: boolean;
|
|
663
|
-
'full-width'?: boolean;
|
|
664
|
-
methodIcon?: string;
|
|
665
|
-
buttonIcon?: string;
|
|
666
|
-
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
650
|
+
declare const UserAuthMethod: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
667
651
|
|
|
668
|
-
type Props$
|
|
652
|
+
type Props$b = {
|
|
669
653
|
'badge-tooltip-text'?: string;
|
|
670
654
|
'badge-label'?: string;
|
|
671
655
|
value?: string;
|
|
@@ -677,13 +661,13 @@ type Props$a = {
|
|
|
677
661
|
declare global {
|
|
678
662
|
namespace JSX {
|
|
679
663
|
interface IntrinsicElements {
|
|
680
|
-
'descope-user-attribute': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
664
|
+
'descope-user-attribute': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$b;
|
|
681
665
|
}
|
|
682
666
|
}
|
|
683
667
|
}
|
|
684
|
-
declare const UserAttribute: React.ForwardRefExoticComponent<Omit<
|
|
668
|
+
declare const UserAttribute: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
685
669
|
|
|
686
|
-
type Props$
|
|
670
|
+
type Props$a = {
|
|
687
671
|
img?: string;
|
|
688
672
|
'display-name'?: string;
|
|
689
673
|
size?: string;
|
|
@@ -692,26 +676,26 @@ type Props$9 = {
|
|
|
692
676
|
declare global {
|
|
693
677
|
namespace JSX {
|
|
694
678
|
interface IntrinsicElements {
|
|
695
|
-
'descope-avatar': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
679
|
+
'descope-avatar': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$a;
|
|
696
680
|
}
|
|
697
681
|
}
|
|
698
682
|
}
|
|
699
|
-
declare const Avatar: React.ForwardRefExoticComponent<Omit<
|
|
683
|
+
declare const Avatar: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
700
684
|
|
|
701
|
-
type Props$
|
|
685
|
+
type Props$9 = {
|
|
702
686
|
lang?: 'xml' | 'html' | 'javascript' | 'css' | 'json';
|
|
703
687
|
inline?: boolean;
|
|
704
688
|
};
|
|
705
689
|
declare global {
|
|
706
690
|
namespace JSX {
|
|
707
691
|
interface IntrinsicElements {
|
|
708
|
-
'descope-code-snippet': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$
|
|
692
|
+
'descope-code-snippet': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$9;
|
|
709
693
|
}
|
|
710
694
|
}
|
|
711
695
|
}
|
|
712
|
-
declare const CodeSnippet: React.ForwardRefExoticComponent<Props$
|
|
696
|
+
declare const CodeSnippet: React.ForwardRefExoticComponent<Props$9 & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
713
697
|
|
|
714
|
-
type Props$
|
|
698
|
+
type Props$8 = {
|
|
715
699
|
emptyState?: React.ReactNode;
|
|
716
700
|
children?: React.ReactNode[];
|
|
717
701
|
variant?: 'list' | 'tiles';
|
|
@@ -719,26 +703,26 @@ type Props$7 = {
|
|
|
719
703
|
declare global {
|
|
720
704
|
namespace JSX {
|
|
721
705
|
interface IntrinsicElements {
|
|
722
|
-
'descope-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
706
|
+
'descope-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$8>;
|
|
723
707
|
}
|
|
724
708
|
}
|
|
725
709
|
}
|
|
726
|
-
declare const List: React.ForwardRefExoticComponent<Props$
|
|
710
|
+
declare const List: React.ForwardRefExoticComponent<Props$8 & React.RefAttributes<HTMLDivElement>>;
|
|
727
711
|
|
|
728
|
-
type Props$
|
|
712
|
+
type Props$7 = {
|
|
729
713
|
variant?: 'row' | 'tile';
|
|
730
714
|
children?: React.ReactNode;
|
|
731
715
|
};
|
|
732
716
|
declare global {
|
|
733
717
|
namespace JSX {
|
|
734
718
|
interface IntrinsicElements {
|
|
735
|
-
'descope-list-item': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
719
|
+
'descope-list-item': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$7>;
|
|
736
720
|
}
|
|
737
721
|
}
|
|
738
722
|
}
|
|
739
|
-
declare const ListItem: React.ForwardRefExoticComponent<Props$
|
|
723
|
+
declare const ListItem: React.ForwardRefExoticComponent<Props$7 & React.RefAttributes<HTMLDivElement>>;
|
|
740
724
|
|
|
741
|
-
type Props$
|
|
725
|
+
type Props$6 = {
|
|
742
726
|
emptyState?: React.ReactNode;
|
|
743
727
|
variant?: 'list' | 'tiles';
|
|
744
728
|
data?: any[];
|
|
@@ -747,18 +731,18 @@ type Props$5 = {
|
|
|
747
731
|
declare global {
|
|
748
732
|
namespace JSX {
|
|
749
733
|
interface IntrinsicElements {
|
|
750
|
-
'descope-apps-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
734
|
+
'descope-apps-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$6>;
|
|
751
735
|
}
|
|
752
736
|
}
|
|
753
737
|
}
|
|
754
|
-
declare const AppsList: React.ForwardRefExoticComponent<Props$
|
|
738
|
+
declare const AppsList: React.ForwardRefExoticComponent<Props$6 & React.RefAttributes<HTMLDivElement>>;
|
|
755
739
|
|
|
756
740
|
type Item = {
|
|
757
741
|
desc: string;
|
|
758
742
|
id: string;
|
|
759
743
|
required?: boolean;
|
|
760
744
|
};
|
|
761
|
-
type Props$
|
|
745
|
+
type Props$5 = {
|
|
762
746
|
variant?: 'checkbox' | 'switch';
|
|
763
747
|
data?: Item[];
|
|
764
748
|
readonly?: boolean;
|
|
@@ -767,17 +751,17 @@ type Props$4 = {
|
|
|
767
751
|
declare global {
|
|
768
752
|
namespace JSX {
|
|
769
753
|
interface IntrinsicElements {
|
|
770
|
-
'descope-scopes-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
754
|
+
'descope-scopes-list': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$5>;
|
|
771
755
|
}
|
|
772
756
|
}
|
|
773
757
|
}
|
|
774
|
-
declare const ScopesList: React.ForwardRefExoticComponent<Props$
|
|
758
|
+
declare const ScopesList: React.ForwardRefExoticComponent<Props$5 & React.RefAttributes<HTMLDivElement>>;
|
|
775
759
|
|
|
776
760
|
type Question$1 = {
|
|
777
761
|
id: string;
|
|
778
762
|
text: string;
|
|
779
763
|
};
|
|
780
|
-
type Props$
|
|
764
|
+
type Props$4 = {
|
|
781
765
|
questions?: Question$1[];
|
|
782
766
|
readonly?: boolean;
|
|
783
767
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -792,17 +776,17 @@ type Props$3 = {
|
|
|
792
776
|
declare global {
|
|
793
777
|
namespace JSX {
|
|
794
778
|
interface IntrinsicElements {
|
|
795
|
-
'descope-security-questions-setup': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
779
|
+
'descope-security-questions-setup': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$4>;
|
|
796
780
|
}
|
|
797
781
|
}
|
|
798
782
|
}
|
|
799
|
-
declare const SecurityQuestionsSetup: React.ForwardRefExoticComponent<Props$
|
|
783
|
+
declare const SecurityQuestionsSetup: React.ForwardRefExoticComponent<Props$4 & React.RefAttributes<HTMLDivElement>>;
|
|
800
784
|
|
|
801
785
|
type Question = {
|
|
802
786
|
id: string;
|
|
803
787
|
text: string;
|
|
804
788
|
};
|
|
805
|
-
type Props$
|
|
789
|
+
type Props$3 = {
|
|
806
790
|
questions?: Question[];
|
|
807
791
|
readonly?: boolean;
|
|
808
792
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -816,23 +800,23 @@ type Props$2 = {
|
|
|
816
800
|
declare global {
|
|
817
801
|
namespace JSX {
|
|
818
802
|
interface IntrinsicElements {
|
|
819
|
-
'descope-security-questions-verify': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
803
|
+
'descope-security-questions-verify': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$3>;
|
|
820
804
|
}
|
|
821
805
|
}
|
|
822
806
|
}
|
|
823
|
-
declare const SecurityQuestionsVerify: React.ForwardRefExoticComponent<Props$
|
|
807
|
+
declare const SecurityQuestionsVerify: React.ForwardRefExoticComponent<Props$3 & React.RefAttributes<HTMLDivElement>>;
|
|
824
808
|
|
|
825
|
-
type Props$
|
|
809
|
+
type Props$2 = {
|
|
826
810
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
827
811
|
};
|
|
828
812
|
declare global {
|
|
829
813
|
namespace JSX {
|
|
830
814
|
interface IntrinsicElements {
|
|
831
|
-
'descope-third-party-app-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$
|
|
815
|
+
'descope-third-party-app-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$2>;
|
|
832
816
|
}
|
|
833
817
|
}
|
|
834
818
|
}
|
|
835
|
-
declare const ThirdPartyAppLogo: React.ForwardRefExoticComponent<Props$
|
|
819
|
+
declare const ThirdPartyAppLogo: React.ForwardRefExoticComponent<Props$2 & React.RefAttributes<HTMLDivElement>>;
|
|
836
820
|
|
|
837
821
|
declare global {
|
|
838
822
|
namespace JSX {
|
|
@@ -843,7 +827,7 @@ declare global {
|
|
|
843
827
|
}
|
|
844
828
|
declare const DateField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "external-input">, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
845
829
|
|
|
846
|
-
type Props = {
|
|
830
|
+
type Props$1 = {
|
|
847
831
|
variant?: 'countrySelection' | 'inputBox';
|
|
848
832
|
'default-code'?: string;
|
|
849
833
|
'phone-input-label'?: string;
|
|
@@ -864,27 +848,27 @@ type Props = {
|
|
|
864
848
|
declare global {
|
|
865
849
|
namespace JSX {
|
|
866
850
|
interface IntrinsicElements {
|
|
867
|
-
'descope-hybrid-field': React.DetailedHTMLProps<React.HTMLAttributes<HTMLInputElement>, HTMLInputElement> & PropsToAttrs<Props>;
|
|
851
|
+
'descope-hybrid-field': React.DetailedHTMLProps<React.HTMLAttributes<HTMLInputElement>, HTMLInputElement> & PropsToAttrs<Props$1>;
|
|
868
852
|
}
|
|
869
853
|
}
|
|
870
854
|
}
|
|
871
|
-
declare const HybridField: React.ForwardRefExoticComponent<Omit<
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
'restrict-countries'?: string;
|
|
877
|
-
'full-width'?: boolean;
|
|
855
|
+
declare const HybridField: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
856
|
+
|
|
857
|
+
type Props = {
|
|
858
|
+
mode?: string;
|
|
859
|
+
variant?: string;
|
|
878
860
|
bordered?: boolean;
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
}
|
|
861
|
+
children?: string;
|
|
862
|
+
'full-width'?: boolean;
|
|
863
|
+
'link-target-blank'?: boolean;
|
|
864
|
+
};
|
|
865
|
+
declare global {
|
|
866
|
+
namespace JSX {
|
|
867
|
+
interface IntrinsicElements {
|
|
868
|
+
'descope-alert': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props;
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
declare const Alert: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLElement>>;
|
|
889
873
|
|
|
890
|
-
export { AppsList, Avatar, Badge, Boolean, Button, Checkbox, Code, CodeSnippet, ComboBox, Container, DateField, Divider, Grid, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, HybridField, Image, Input, Link, List, ListItem, Loader, Logo, MappingsField, Modal, MultiSelect, NOTPImage, NOTPLink, NewPassword, NumberField, Password, Phone, Recaptcha, SAMLGroupMappings, ScopesList, SecurityQuestionsSetup, SecurityQuestionsVerify, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, ThirdPartyAppLogo, UploadFile, UserAttribute, UserAuthMethod, ReactComponent as apple, ReactComponent as authenticator, ReactComponent as discord, ReactComponent as edit, ReactComponent as facebook, ReactComponent as fingerprint, ReactComponent as github, ReactComponent as gitlab, ReactComponent as google, ReactComponent as linkedin, ReactComponent as microsoft, ReactComponent as passkey, ReactComponent as password, ReactComponent as plus, ReactComponent as reload, ReactComponent as slack, ReactComponent as sso, ReactComponent as whatsapp };
|
|
874
|
+
export { Alert, AppsList, Avatar, Badge, Boolean, Button, Checkbox, Code, CodeSnippet, ComboBox, Container, DateField, Divider, Grid, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, HybridField, Image, Input, Link, List, ListItem, Loader, Logo, MappingsField, Modal, MultiSelect, NOTPImage, NOTPLink, NewPassword, NumberField, Password, Phone, Recaptcha, SAMLGroupMappings, ScopesList, SecurityQuestionsSetup, SecurityQuestionsVerify, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, ThirdPartyAppLogo, UploadFile, UserAttribute, UserAuthMethod, ReactComponent as apple, ReactComponent as authenticator, ReactComponent as discord, ReactComponent as edit, ReactComponent as facebook, ReactComponent as fingerprint, ReactComponent as github, ReactComponent as gitlab, ReactComponent as google, ReactComponent as linkedin, ReactComponent as microsoft, ReactComponent as passkey, ReactComponent as password, ReactComponent as plus, ReactComponent as reload, ReactComponent as slack, ReactComponent as sso, ReactComponent as whatsapp };
|
package/dist/index.esm.js
CHANGED
|
@@ -482,4 +482,6 @@ HybridField.defaultProps = {
|
|
|
482
482
|
size: 'md'
|
|
483
483
|
};
|
|
484
484
|
|
|
485
|
-
|
|
485
|
+
const Alert = React.forwardRef(({ children, ...props }, ref) => (React.createElement("descope-alert", { ...props, ref: ref }, children)));
|
|
486
|
+
|
|
487
|
+
export { Alert, AppsList, Avatar, Badge, Boolean, Button, Checkbox, Code, CodeSnippet, ComboBox, Container, DateField, Divider, Grid, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, HybridField, Image, Input, Link, List, ListItem, Loader, Logo, MappingsField, Modal, MultiSelect, NOTPImage, NOTPLink, NewPassword, NumberField, Password, Phone, Recaptcha, SAMLGroupMappings, ScopesList, SecurityQuestionsSetup, SecurityQuestionsVerify, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, ThirdPartyAppLogo, UploadFile, UserAttribute, UserAuthMethod, apple, authenticator, discord, edit, facebook, fingerprint, github, gitlab, google, linkedin, microsoft, passkey, password, plus, reload, slack, sso, whatsapp };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/flow-components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.399",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@testing-library/user-event": "14.5.2",
|
|
58
58
|
"@types/color": "^4.0.0",
|
|
59
59
|
"@types/jest": "^29.0.0",
|
|
60
|
-
"@types/react": "^
|
|
60
|
+
"@types/react": "^19.0.0",
|
|
61
61
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
62
62
|
"@typescript-eslint/parser": "^7.0.0",
|
|
63
63
|
"autoprefixer": "^10.4.8",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"postcss": "^8.4.14",
|
|
88
88
|
"prettier": "2.8.8",
|
|
89
89
|
"pretty-quick": "^4.0.0",
|
|
90
|
-
"react": "^
|
|
91
|
-
"react-dom": "^
|
|
90
|
+
"react": "^19.0.0",
|
|
91
|
+
"react-dom": "^19.0.0",
|
|
92
92
|
"rollup": "^4.0.0",
|
|
93
93
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
94
94
|
"rollup-plugin-copy": "^3.4.0",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"typescript": "^5.0.0"
|
|
103
103
|
},
|
|
104
104
|
"dependencies": {
|
|
105
|
-
"@descope/web-components-ui": "1.0.
|
|
105
|
+
"@descope/web-components-ui": "1.0.416"
|
|
106
106
|
},
|
|
107
107
|
"peerDependencies": {
|
|
108
108
|
"react": ">=17"
|