@descope/flow-components 2.0.195 → 2.0.197

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 CHANGED
@@ -276,6 +276,19 @@ const SingleSelect = React__default.default.forwardRef(({ variant, data, allowCl
276
276
  return (React__default.default.createElement(ComboBox, { "clear-button-visible": allowClearValue, "item-label-path": "data-name", "item-value-path": "data-id", ...props, ref: ref }, data?.map(({ label, value }) => (React__default.default.createElement("span", { "data-name": label, "data-id": value, key: value }, label)))));
277
277
  });
278
278
 
279
+ const Grid = React__default.default.forwardRef(({ ...props }, ref) => (React__default.default.createElement("descope-grid", { ...props, ref: ref })));
280
+
281
+ const GridCustomColumn = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-grid-custom-column", { ...props, ref: ref }));
282
+
283
+ const GridSelectionColumn = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-grid-selection-column", { ...props, ref: ref }));
284
+
285
+ const GridTextColumn = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-grid-text-column", { ...props, ref: ref }));
286
+
287
+ const Badge = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-badge", { ...props, ref: ref }));
288
+
289
+ const Modal = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-modal", { ...props, ref: ref }));
290
+
291
+ exports.Badge = Badge;
279
292
  exports.Boolean = Boolean;
280
293
  exports.Button = Button;
281
294
  exports.Checkbox = Checkbox;
@@ -283,11 +296,16 @@ exports.Code = Code;
283
296
  exports.ComboBox = ComboBox;
284
297
  exports.Container = Container;
285
298
  exports.Divider = Divider;
299
+ exports.Grid = Grid;
300
+ exports.GridCustomColumn = GridCustomColumn;
301
+ exports.GridSelectionColumn = GridSelectionColumn;
302
+ exports.GridTextColumn = GridTextColumn;
286
303
  exports.Image = Image;
287
304
  exports.Input = Input;
288
305
  exports.Link = Link;
289
306
  exports.Loader = Loader;
290
307
  exports.Logo = Logo;
308
+ exports.Modal = Modal;
291
309
  exports.NewPassword = NewPassword;
292
310
  exports.NumberField = NumberField;
293
311
  exports.Password = Password;
package/dist/index.d.ts CHANGED
@@ -44,8 +44,8 @@ declare const Switch: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "r
44
44
  type BooleanType = {
45
45
  type: 'switch' | 'checkbox';
46
46
  };
47
- type Props$i = React.ComponentProps<typeof Checkbox> & React.ComponentProps<typeof Switch> & BooleanType;
48
- declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$i, "ref"> & React.RefAttributes<HTMLInputElement>>;
47
+ type Props$l = React.ComponentProps<typeof Checkbox> & React.ComponentProps<typeof Switch> & BooleanType;
48
+ declare const Boolean: React.ForwardRefExoticComponent<Omit<Props$l, "ref"> & React.RefAttributes<HTMLInputElement>>;
49
49
 
50
50
  declare global {
51
51
  namespace JSX {
@@ -67,17 +67,17 @@ declare const Button: React.ForwardRefExoticComponent<Omit<React.ClassAttributes
67
67
  'full-width'?: boolean;
68
68
  }, "ref"> & React.RefAttributes<HTMLButtonElement>>;
69
69
 
70
- type Props$h = {
70
+ type Props$k = {
71
71
  digits?: number;
72
72
  };
73
73
  declare global {
74
74
  namespace JSX {
75
75
  interface IntrinsicElements {
76
- 'descope-passcode': DescopeInputProps & Props$h;
76
+ 'descope-passcode': DescopeInputProps & Props$k;
77
77
  }
78
78
  }
79
79
  }
80
- declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$h, "ref"> & React.RefAttributes<HTMLInputElement>>;
80
+ declare const Code: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$k, "ref"> & React.RefAttributes<HTMLInputElement>>;
81
81
 
82
82
  type Never<T extends Record<string, any>> = {
83
83
  [K in keyof T]: never;
@@ -93,7 +93,7 @@ type ContainerAlignment = {
93
93
  'vertical-alignment'?: FlexAlignment;
94
94
  'space-between'?: 'sm' | 'md' | 'lg';
95
95
  };
96
- type Props$g = {
96
+ type Props$j = {
97
97
  direction?: 'row' | 'column';
98
98
  shadow?: 'md' | 'lg' | 'xl' | '2xl';
99
99
  'border-radius'?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
@@ -109,9 +109,9 @@ declare global {
109
109
  }
110
110
  }
111
111
  }
112
- declare const Container: React.ForwardRefExoticComponent<(Props$g & React.HTMLAttributes<HTMLDivElement>) & React.RefAttributes<HTMLDivElement>>;
112
+ declare const Container: React.ForwardRefExoticComponent<(Props$j & React.HTMLAttributes<HTMLDivElement>) & React.RefAttributes<HTMLDivElement>>;
113
113
 
114
- type Props$f = {
114
+ type Props$i = {
115
115
  vertical?: boolean;
116
116
  italic?: boolean;
117
117
  variant?: TypographyVariants;
@@ -121,11 +121,11 @@ type Props$f = {
121
121
  declare global {
122
122
  namespace JSX {
123
123
  interface IntrinsicElements {
124
- 'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$f, 'children'>;
124
+ 'descope-divider': React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & Omit<Props$i, 'children'>;
125
125
  }
126
126
  }
127
127
  }
128
- declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "size"> & Props$f, "ref"> & React.RefAttributes<HTMLDivElement>>;
128
+ declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "size"> & Props$i, "ref"> & React.RefAttributes<HTMLDivElement>>;
129
129
 
130
130
  declare const _default$b: ({ noColor }: {
131
131
  noColor: any;
@@ -175,7 +175,7 @@ declare const _default: ({ noColor }: {
175
175
  noColor: any;
176
176
  }) => React.JSX.Element;
177
177
 
178
- type Props$e = {
178
+ type Props$h = {
179
179
  width?: string;
180
180
  height?: string;
181
181
  alt?: string;
@@ -184,15 +184,15 @@ type Props$e = {
184
184
  declare global {
185
185
  namespace JSX {
186
186
  interface IntrinsicElements {
187
- 'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$e;
187
+ 'descope-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$h;
188
188
  }
189
189
  }
190
190
  }
191
- declare const Image: React.ForwardRefExoticComponent<Props$e & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
191
+ declare const Image: React.ForwardRefExoticComponent<Props$h & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
192
192
 
193
193
  declare const Input: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
194
194
 
195
- type Props$d = {
195
+ type Props$g = {
196
196
  href?: string | undefined;
197
197
  italic?: boolean;
198
198
  variant?: TypographyVariants;
@@ -204,18 +204,18 @@ type Props$d = {
204
204
  declare global {
205
205
  namespace JSX {
206
206
  interface IntrinsicElements {
207
- 'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$d, 'children'>;
207
+ 'descope-link': React.DetailedHTMLProps<React.HTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement> & Omit<Props$g, 'children'>;
208
208
  }
209
209
  }
210
210
  }
211
- declare const Link: React.ForwardRefExoticComponent<Props$d & React.RefAttributes<HTMLAnchorElement>>;
211
+ declare const Link: React.ForwardRefExoticComponent<Props$g & React.RefAttributes<HTMLAnchorElement>>;
212
212
 
213
- type Props$c = {
213
+ type Props$f = {
214
214
  variant?: 'linear' | 'radial';
215
215
  size?: 'xs' | 'sm' | 'md' | 'lg';
216
216
  color?: Mode;
217
217
  };
218
- type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$c>;
218
+ type LoaderType = React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$f>;
219
219
  declare global {
220
220
  namespace JSX {
221
221
  interface IntrinsicElements {
@@ -224,22 +224,22 @@ declare global {
224
224
  }
225
225
  }
226
226
  }
227
- declare const Loader: React.ForwardRefExoticComponent<Props$c & React.RefAttributes<HTMLDivElement>>;
227
+ declare const Loader: React.ForwardRefExoticComponent<Props$f & React.RefAttributes<HTMLDivElement>>;
228
228
 
229
- type Props$b = {
229
+ type Props$e = {
230
230
  width?: string;
231
231
  height?: string;
232
232
  };
233
233
  declare global {
234
234
  namespace JSX {
235
235
  interface IntrinsicElements {
236
- 'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$b>;
236
+ 'descope-logo': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$e>;
237
237
  }
238
238
  }
239
239
  }
240
- declare const Logo: React.ForwardRefExoticComponent<Props$b & React.RefAttributes<HTMLDivElement>>;
240
+ declare const Logo: React.ForwardRefExoticComponent<Props$e & React.RefAttributes<HTMLDivElement>>;
241
241
 
242
- type Props$a = {
242
+ type Props$d = {
243
243
  'password-label'?: string;
244
244
  'password-placeholder'?: string;
245
245
  'confirm-label'?: string;
@@ -249,11 +249,11 @@ type Props$a = {
249
249
  declare global {
250
250
  namespace JSX {
251
251
  interface IntrinsicElements {
252
- 'descope-new-password': DescopeInputProps & Props$a;
252
+ 'descope-new-password': DescopeInputProps & Props$d;
253
253
  }
254
254
  }
255
255
  }
256
- declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$a, "ref"> & React.RefAttributes<HTMLInputElement>>;
256
+ declare const NewPassword: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$d, "ref"> & React.RefAttributes<HTMLInputElement>>;
257
257
 
258
258
  declare global {
259
259
  namespace JSX {
@@ -273,16 +273,16 @@ declare global {
273
273
  }
274
274
  declare const Password: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
275
275
 
276
- type Props$9 = {
276
+ type Props$c = {
277
277
  variant: 'countrySelection' | 'inputBox';
278
278
  'default-code'?: string;
279
279
  'phone-input-placeholder'?: string;
280
280
  'country-input-placeholder'?: string;
281
281
  'restrict-countries'?: string;
282
282
  } & DescopeInputProps;
283
- declare const Phone: React.ForwardRefExoticComponent<Omit<Props$9, "ref"> & React.RefAttributes<HTMLInputElement>>;
283
+ declare const Phone: React.ForwardRefExoticComponent<Omit<Props$c, "ref"> & React.RefAttributes<HTMLInputElement>>;
284
284
 
285
- type Props$8 = {
285
+ type Props$b = {
286
286
  children?: JSX.Element[];
287
287
  };
288
288
  declare global {
@@ -292,9 +292,9 @@ declare global {
292
292
  }
293
293
  }
294
294
  }
295
- declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$8, "ref"> & React.RefAttributes<HTMLInputElement>>;
295
+ declare const Select: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & DescopeInputExtraProps & Props$b, "ref"> & React.RefAttributes<HTMLInputElement>>;
296
296
 
297
- type Props$7 = {
297
+ type Props$a = {
298
298
  italic?: boolean;
299
299
  variant?: string;
300
300
  mode?: string;
@@ -304,11 +304,11 @@ type Props$7 = {
304
304
  declare global {
305
305
  namespace JSX {
306
306
  interface IntrinsicElements {
307
- 'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$7;
307
+ 'descope-text': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$a;
308
308
  }
309
309
  }
310
310
  }
311
- declare const Text: React.ForwardRefExoticComponent<Omit<Props$7 & {
311
+ declare const Text: React.ForwardRefExoticComponent<Omit<Props$a & {
312
312
  typography?: TypographyVariants;
313
313
  } & Omit<React.HTMLProps<HTMLSpanElement>, "mode">, "ref"> & React.RefAttributes<HTMLElement>>;
314
314
 
@@ -330,23 +330,23 @@ declare global {
330
330
  }
331
331
  declare const TextField: React.ForwardRefExoticComponent<Omit<DescopeInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
332
332
 
333
- type Props$6 = {
333
+ type Props$9 = {
334
334
  width?: string;
335
335
  height?: string;
336
336
  };
337
337
  declare global {
338
338
  namespace JSX {
339
339
  interface IntrinsicElements {
340
- 'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$6>;
340
+ 'descope-totp-image': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & PropsToAttrs<Props$9>;
341
341
  }
342
342
  }
343
343
  }
344
- declare const TOTPImage: React.ForwardRefExoticComponent<Props$6 & React.RefAttributes<HTMLDivElement>>;
344
+ declare const TOTPImage: React.ForwardRefExoticComponent<Props$9 & React.RefAttributes<HTMLDivElement>>;
345
345
 
346
- type Props$5 = Omit<React.ComponentProps<typeof Link>, 'href'>;
347
- declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$5, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
346
+ type Props$8 = Omit<React.ComponentProps<typeof Link>, 'href'>;
347
+ declare const TOTPLink: React.ForwardRefExoticComponent<Omit<Props$8, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
348
348
 
349
- type Props$4 = {
349
+ type Props$7 = {
350
350
  title?: string;
351
351
  description?: string;
352
352
  icon?: string;
@@ -365,13 +365,13 @@ type Props$4 = {
365
365
  declare global {
366
366
  namespace JSX {
367
367
  interface IntrinsicElements {
368
- 'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$4;
368
+ 'descope-upload-file': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$7;
369
369
  }
370
370
  }
371
371
  }
372
- declare const UploadFile: React.ForwardRefExoticComponent<Props$4 & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
372
+ declare const UploadFile: React.ForwardRefExoticComponent<Props$7 & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
373
373
 
374
- type Props$3 = {
374
+ type Props$6 = {
375
375
  enabled?: boolean;
376
376
  'site-key'?: string;
377
377
  enterprise?: boolean;
@@ -383,20 +383,20 @@ declare global {
383
383
  }
384
384
  namespace JSX {
385
385
  interface IntrinsicElements {
386
- 'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$3;
386
+ 'descope-recaptcha': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$6;
387
387
  }
388
388
  }
389
389
  }
390
- declare const Recaptcha: React.ForwardRefExoticComponent<Props$3 & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
390
+ declare const Recaptcha: React.ForwardRefExoticComponent<Props$6 & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
391
391
 
392
- type Props$2 = DescopeInputProps & {
392
+ type Props$5 = DescopeInputProps & {
393
393
  'default-value'?: string;
394
394
  'allow-deselect'?: boolean;
395
395
  };
396
396
  declare global {
397
397
  namespace JSX {
398
398
  interface IntrinsicElements {
399
- 'descope-button-selection-group': Props$2;
399
+ 'descope-button-selection-group': Props$5;
400
400
  'descope-button-selection-group-item': JSX.IntrinsicElements['span'] & {
401
401
  value: string;
402
402
  children: string;
@@ -420,10 +420,10 @@ type SingleSelectType = {
420
420
  data?: Item[];
421
421
  allowClearValue?: boolean;
422
422
  };
423
- type Props$1 = Omit<React.ComponentProps<typeof ButtonSelectionGroup>, 'allow-deselect'> & SingleSelectType;
424
- declare const SingleSelect: React.ForwardRefExoticComponent<Omit<Props$1, "ref"> & React.RefAttributes<HTMLInputElement>>;
423
+ type Props$4 = Omit<React.ComponentProps<typeof ButtonSelectionGroup>, 'allow-deselect'> & SingleSelectType;
424
+ declare const SingleSelect: React.ForwardRefExoticComponent<Omit<Props$4, "ref"> & React.RefAttributes<HTMLInputElement>>;
425
425
 
426
- type Props = DescopeInputProps & {
426
+ type Props$3 = DescopeInputProps & {
427
427
  'default-value'?: string;
428
428
  'item-label-path'?: string;
429
429
  'item-value-path'?: string;
@@ -431,7 +431,7 @@ type Props = DescopeInputProps & {
431
431
  declare global {
432
432
  namespace JSX {
433
433
  interface IntrinsicElements {
434
- 'descope-combobox': Props;
434
+ 'descope-combobox': Props$3;
435
435
  }
436
436
  }
437
437
  }
@@ -443,4 +443,97 @@ declare const ComboBox: React.ForwardRefExoticComponent<Omit<HTMLInputAttrs & De
443
443
  children?: JSX.Element[];
444
444
  }, "ref"> & React.RefAttributes<HTMLInputElement>>;
445
445
 
446
- export { Boolean, Button, Checkbox, Code, ComboBox, Container, Divider, Image, Input, Link, Loader, Logo, NewPassword, NumberField, Password, Phone, Recaptcha, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, UploadFile, _default$b as apple, _default$2 as discord, _default$a as facebook, _default$8 as fingerprint, _default$6 as github, _default$5 as gitlab, _default$4 as google, _default$1 as linkedin, _default$3 as microsoft, _default$7 as passkey, _default$9 as slack, _default as sso };
446
+ type Column = {
447
+ path: '';
448
+ header: string;
449
+ type: 'selection' | 'text';
450
+ attrs: {
451
+ frozen: boolean;
452
+ 'auto-width': boolean;
453
+ resizable: boolean;
454
+ };
455
+ };
456
+ type Props$2 = {
457
+ identifier: any;
458
+ children?: JSX.Element[];
459
+ size?: Omit<ComponentSize, 'xl'>;
460
+ bordered?: boolean;
461
+ columns?: Column[];
462
+ 'column-reordering-allowed'?: boolean;
463
+ data?: Record<string, any>;
464
+ };
465
+ declare global {
466
+ namespace JSX {
467
+ interface IntrinsicElements {
468
+ 'descope-grid': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
469
+ }
470
+ }
471
+ }
472
+ declare const Grid: React.ForwardRefExoticComponent<Props$2 & React.RefAttributes<HTMLInputElement>>;
473
+
474
+ type ColumnProps = {
475
+ sortable?: boolean;
476
+ path: string;
477
+ header: string;
478
+ resizable?: boolean;
479
+ 'auto-width?': boolean;
480
+ frozen?: boolean;
481
+ };
482
+
483
+ declare global {
484
+ namespace JSX {
485
+ interface IntrinsicElements {
486
+ 'descope-grid-custom-column': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
487
+ }
488
+ }
489
+ }
490
+ declare const GridCustomColumn: React.ForwardRefExoticComponent<ColumnProps & {
491
+ children: JSX.Element[];
492
+ } & React.RefAttributes<HTMLInputElement>>;
493
+
494
+ declare global {
495
+ namespace JSX {
496
+ interface IntrinsicElements {
497
+ 'descope-grid-selection-column': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
498
+ }
499
+ }
500
+ }
501
+ declare const GridSelectionColumn: React.ForwardRefExoticComponent<ColumnProps & React.RefAttributes<HTMLInputElement>>;
502
+
503
+ declare global {
504
+ namespace JSX {
505
+ interface IntrinsicElements {
506
+ 'descope-grid-text-column': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
507
+ }
508
+ }
509
+ }
510
+ declare const GridTextColumn: React.ForwardRefExoticComponent<ColumnProps & React.RefAttributes<HTMLInputElement>>;
511
+
512
+ type Props$1 = {
513
+ mode?: string;
514
+ size?: string;
515
+ bordered?: boolean;
516
+ 'full-width': boolean;
517
+ };
518
+ declare global {
519
+ namespace JSX {
520
+ interface IntrinsicElements {
521
+ 'descope-badge': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Props$1;
522
+ }
523
+ }
524
+ }
525
+ declare const Badge: React.ForwardRefExoticComponent<Props$1 & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
526
+
527
+ declare global {
528
+ namespace JSX {
529
+ interface IntrinsicElements {
530
+ 'descope-modal': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
531
+ }
532
+ }
533
+ }
534
+ type Props = {
535
+ opened?: boolean;
536
+ };
537
+ declare const Modal: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
538
+
539
+ export { Badge, Boolean, Button, Checkbox, Code, ComboBox, Container, Divider, Grid, GridCustomColumn, GridSelectionColumn, GridTextColumn, Image, Input, Link, Loader, Logo, Modal, NewPassword, NumberField, Password, Phone, Recaptcha, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, UploadFile, _default$b as apple, _default$2 as discord, _default$a as facebook, _default$8 as fingerprint, _default$6 as github, _default$5 as gitlab, _default$4 as google, _default$1 as linkedin, _default$3 as microsoft, _default$7 as passkey, _default$9 as slack, _default as sso };
package/dist/index.esm.js CHANGED
@@ -270,4 +270,16 @@ const SingleSelect = React.forwardRef(({ variant, data, allowClearValue, ...prop
270
270
  return (React.createElement(ComboBox, { "clear-button-visible": allowClearValue, "item-label-path": "data-name", "item-value-path": "data-id", ...props, ref: ref }, data?.map(({ label, value }) => (React.createElement("span", { "data-name": label, "data-id": value, key: value }, label)))));
271
271
  });
272
272
 
273
- export { Boolean, Button, Checkbox, Code, ComboBox, Container, Divider, Image, Input, Link, Loader, Logo, NewPassword, NumberField, Password, Phone, Recaptcha, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, UploadFile, apple, discord, facebook, fingerprint, github, gitlab, google, linkedin, microsoft, passkey, slack, sso };
273
+ const Grid = React.forwardRef(({ ...props }, ref) => (React.createElement("descope-grid", { ...props, ref: ref })));
274
+
275
+ const GridCustomColumn = React.forwardRef((props, ref) => React.createElement("descope-grid-custom-column", { ...props, ref: ref }));
276
+
277
+ const GridSelectionColumn = React.forwardRef((props, ref) => React.createElement("descope-grid-selection-column", { ...props, ref: ref }));
278
+
279
+ const GridTextColumn = React.forwardRef((props, ref) => React.createElement("descope-grid-text-column", { ...props, ref: ref }));
280
+
281
+ const Badge = React.forwardRef((props, ref) => React.createElement("descope-badge", { ...props, ref: ref }));
282
+
283
+ const Modal = React.forwardRef((props, ref) => React.createElement("descope-modal", { ...props, ref: ref }));
284
+
285
+ export { Badge, Boolean, Button, Checkbox, Code, ComboBox, Container, Divider, Grid, GridCustomColumn, GridSelectionColumn, GridTextColumn, Image, Input, Link, Loader, Logo, Modal, NewPassword, NumberField, Password, Phone, Recaptcha, Select, SingleSelect, Switch, TOTPImage, TOTPLink, Text, TextField, Textarea, UploadFile, apple, discord, facebook, fingerprint, github, gitlab, google, linkedin, microsoft, passkey, slack, sso };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "2.0.195",
3
+ "version": "2.0.197",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -100,7 +100,7 @@
100
100
  "rollup-plugin-dts": "^6.0.0"
101
101
  },
102
102
  "dependencies": {
103
- "@descope/web-components-ui": "1.0.243"
103
+ "@descope/web-components-ui": "1.0.248"
104
104
  },
105
105
  "peerDependencies": {
106
106
  "react": ">=17"