@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.
Files changed (58) hide show
  1. package/dist/fm/222.js +1 -1
  2. package/dist/fm/222.js.map +1 -1
  3. package/dist/fm/467.js +1 -1
  4. package/dist/fm/467.js.map +1 -1
  5. package/dist/fm/626.js +1 -1
  6. package/dist/fm/626.js.map +1 -1
  7. package/dist/fm/985.js +1 -1
  8. package/dist/fm/985.js.map +1 -1
  9. package/dist/fm/@mf-types/compiled-types/Avatar/Avatar.d.ts +1 -1
  10. package/dist/fm/@mf-types/compiled-types/Badge/Badge.d.ts +1 -1
  11. package/dist/fm/@mf-types/compiled-types/CodeSnippet/CodeSnippet.d.ts +1 -1
  12. package/dist/fm/@mf-types/compiled-types/CollapsibleContainer/CollapsibleContainer.d.ts +1 -33
  13. package/dist/fm/@mf-types/compiled-types/Container/Container.d.ts +1 -27
  14. package/dist/fm/@mf-types/compiled-types/Divider/Divider.d.ts +1 -1
  15. package/dist/fm/@mf-types/compiled-types/Hcaptcha/Hcaptcha.d.ts +1 -1
  16. package/dist/fm/@mf-types/compiled-types/HybridField/HybridField.d.ts +1 -18
  17. package/dist/fm/@mf-types/compiled-types/Icon/Icon.d.ts +2 -2
  18. package/dist/fm/@mf-types/compiled-types/Image/Image.d.ts +1 -7
  19. package/dist/fm/@mf-types/compiled-types/Recaptcha/Recaptcha.d.ts +1 -1
  20. package/dist/fm/@mf-types/compiled-types/RecaptchaV2/RecaptchaV2.d.ts +1 -17
  21. package/dist/fm/@mf-types/compiled-types/Tooltip/Tooltip.d.ts +2 -2
  22. package/dist/fm/@mf-types/compiled-types/Turnstile/Turnstile.d.ts +1 -12
  23. package/dist/fm/@mf-types/compiled-types/UploadFile/UploadFile.d.ts +1 -1
  24. package/dist/fm/@mf-types/compiled-types/UserAttribute/UserAttribute.d.ts +1 -1
  25. package/dist/fm/@mf-types/compiled-types/UserAuthMethod/UserAuthMethod.d.ts +1 -12
  26. package/dist/fm/__federation_expose_componentClasses.js +1 -1
  27. package/dist/fm/__federation_expose_componentClasses.js.map +1 -1
  28. package/dist/fm/__federation_expose_components.js +1 -1
  29. package/dist/fm/__federation_expose_theme.js +1 -1
  30. package/dist/fm/__federation_expose_theme.js.map +1 -1
  31. package/dist/fm/flowComponents.js +1 -1
  32. package/dist/fm/flowComponents.js.map +1 -1
  33. package/dist/fm/main.js +1 -1
  34. package/dist/fm/main.js.map +1 -1
  35. package/dist/fm/mf-manifest.json +1 -1
  36. package/dist/fm/mf-stats.json +1 -1
  37. package/dist/index.cjs.js +16920 -16987
  38. package/dist/index.d.ts +118 -235
  39. package/dist/index.esm.js +7 -12
  40. package/dist/types/Avatar/Avatar.d.ts +1 -1
  41. package/dist/types/Badge/Badge.d.ts +1 -1
  42. package/dist/types/CodeSnippet/CodeSnippet.d.ts +1 -1
  43. package/dist/types/CollapsibleContainer/CollapsibleContainer.d.ts +1 -33
  44. package/dist/types/Container/Container.d.ts +1 -27
  45. package/dist/types/CssVarImage/CssVarImage.d.ts +1 -7
  46. package/dist/types/Divider/Divider.d.ts +1 -1
  47. package/dist/types/Hcaptcha/Hcaptcha.d.ts +1 -1
  48. package/dist/types/HybridField/HybridField.d.ts +1 -18
  49. package/dist/types/Icon/Icon.d.ts +2 -2
  50. package/dist/types/Image/Image.d.ts +1 -7
  51. package/dist/types/Recaptcha/Recaptcha.d.ts +1 -1
  52. package/dist/types/RecaptchaV2/RecaptchaV2.d.ts +1 -17
  53. package/dist/types/Tooltip/Tooltip.d.ts +2 -2
  54. package/dist/types/Turnstile/Turnstile.d.ts +1 -12
  55. package/dist/types/UploadFile/UploadFile.d.ts +1 -1
  56. package/dist/types/UserAttribute/UserAttribute.d.ts +1 -1
  57. package/dist/types/UserAuthMethod/UserAuthMethod.d.ts +1 -12
  58. package/package.json +4 -4
package/dist/index.esm.js CHANGED
@@ -146,12 +146,12 @@ var icons = /*#__PURE__*/Object.freeze({
146
146
  whatsapp: whatsapp
147
147
  });
148
148
 
149
- const Icon = ({ icon, noColor, ...props }) => {
149
+ function Icon({ icon, noColor, ...props }) {
150
150
  if (icons[icon]) {
151
151
  return (React.createElement("descope-icon", { src: icons[icon], ...(noColor && { 'st-fill': 'currentColor' }), ...props }));
152
152
  }
153
153
  return React.createElement("descope-icon", { "fill-color": noColor, src: icon, ...props });
154
- };
154
+ }
155
155
 
156
156
  const Tooltip = React.forwardRef(({ text, hideDelay = 0, hoverDelay = 0, children, readonly, staticDisplay, ...props }, ref) => (React.createElement("descope-tooltip", { text: text, "hide-delay": hideDelay, "hover-delay": hoverDelay, readonly: readonly, "static-display": staticDisplay, ref: ref, ...props }, children)));
157
157
 
@@ -226,7 +226,6 @@ const Container$1 = React.forwardRef(({ background, justify, paddingX, paddingY,
226
226
  spaceBetween
227
227
  }))
228
228
  };
229
- // eslint-disable-next-line react/jsx-props-no-spreading
230
229
  return React.createElement("descope-container", { ...mergedProps, ref: ref });
231
230
  });
232
231
 
@@ -377,14 +376,13 @@ const NOTPLink = React.forwardRef(({ ...props }, ref) => {
377
376
  return React.createElement(Link, { ref: ref, ...readyProps });
378
377
  });
379
378
 
380
- /* eslint-disable @typescript-eslint/no-unused-vars */
381
- const UploadFile = React.forwardRef(({ icon, ...props }, ref) => React.createElement("descope-upload-file", { ref: ref, ...props }, icon && React.createElement(Icon, { slot: "icon", icon: icon, "src-dark": icon })));
379
+ const UploadFile = React.forwardRef(({ icon, ...props }, ref) => (React.createElement("descope-upload-file", { ref: ref, ...props }, icon && React.createElement(Icon, { slot: "icon", icon: icon, "src-dark": icon }))));
382
380
 
383
381
  const defaultText$2 = 'This site is protected by reCAPTCHA and the Google [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms) apply.';
384
382
  const Recaptcha = React.forwardRef(({ variant, textLabel = defaultText$2, textVariant = 'body1', textMode = 'primary', textAlign = 'left', 'full-width': fullWidth, readOnly, ...props }, ref) => (React.createElement("descope-recaptcha", { ref: ref, ...props, "full-width": fullWidth }, variant === 'text' ? (React.createElement("descope-enriched-text", { "full-width": fullWidth, readonly: readOnly, variant: textVariant, mode: textMode, "text-align": textAlign }, textLabel)) : null)));
385
383
 
386
384
  const defaultText$1 = 'This site is protected by reCAPTCHA and the Google [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms) apply.';
387
- const RecaptchaV2 = React.forwardRef(({ textLabel = defaultText$1, textVariant = 'body1', textMode = 'primary', textAlign = 'left', 'full-width': fullWidth, readOnly, connector, enterprise, action, variant = 'text', src, width, height, ...props }, ref) => {
385
+ const RecaptchaV2 = React.forwardRef(({ textLabel = defaultText$1, textVariant = 'body1', textMode = 'primary', textAlign = 'left', 'full-width': fullWidth, readOnly, connector: _connector, enterprise: _enterprise, action: _action, variant = 'text', src, width, height, ...props }, ref) => {
388
386
  if (variant === 'image') {
389
387
  return (React.createElement("descope-image", { ref: ref, "full-width": fullWidth, "st-width": width, "st-height": height, src: src, ...props }));
390
388
  }
@@ -577,12 +575,11 @@ const Container = React.forwardRef(({ background, paddingX, paddingY, shadow, wi
577
575
  spaceBetween
578
576
  })
579
577
  };
580
- // eslint-disable-next-line react/jsx-props-no-spreading
581
578
  return React.createElement("descope-collapsible-container", { ...mergedProps, ref: ref });
582
579
  });
583
580
 
584
581
  const defaultText = 'This site is protected by turnstile and the Cloudflare [Privacy Policy](https://www.cloudflare.com/privacypolicy/) and [Terms of Service](https://www.cloudflare.com/terms/) apply.';
585
- const Turnstile = React.forwardRef(({ textLabel = defaultText, textVariant = 'body1', textMode = 'primary', textAlign = 'left', 'full-width': fullWidth, connector, ...props }, ref) => (React.createElement("descope-enriched-text", { ref: ref, "full-width": fullWidth, variant: textVariant, mode: textMode, "text-align": textAlign, ...props }, textLabel)));
582
+ const Turnstile = React.forwardRef(({ textLabel = defaultText, textVariant = 'body1', textMode = 'primary', textAlign = 'left', 'full-width': fullWidth, connector: _connector, ...props }, ref) => (React.createElement("descope-enriched-text", { ref: ref, "full-width": fullWidth, variant: textVariant, mode: textMode, "text-align": textAlign, ...props }, textLabel)));
586
583
 
587
584
  const RecoveryCodesList = React.forwardRef(({ data, ...props }, ref) => (React.createElement("descope-recovery-codes", { data: data ? JSON.stringify(data) : undefined, ...props, ref: ref })));
588
585
 
@@ -599,10 +596,8 @@ const OutboundAppButton = React.forwardRef(({ children, label, iconSrc, iconFill
599
596
  const TrustedDevices = React.forwardRef(({ emptyState, data, ...props }, ref) => (React.createElement("descope-trusted-devices", { data: data ? JSON.stringify(data) : undefined, ...props, ref: ref },
600
597
  React.createElement("div", { slot: "empty-state" }, emptyState))));
601
598
 
602
- const Honeypot = React.forwardRef((props, ref) => {
603
- return (React.createElement("descope-ponyhot", { ref: ref },
604
- React.createElement("input", { ...props })));
605
- });
599
+ const Honeypot = React.forwardRef((props, ref) => (React.createElement("descope-ponyhot", { ref: ref },
600
+ React.createElement("input", { ...props }))));
606
601
 
607
602
  const TenantSelector = React.forwardRef((props, ref) => (React.createElement(ComboBox, { "item-label-path": "data-name", "item-value-path": "data-id", ...props, ref: ref })));
608
603
 
@@ -12,5 +12,5 @@ declare global {
12
12
  }
13
13
  }
14
14
  }
15
- declare const Avatar: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Props, "ref"> & React.RefAttributes<HTMLButtonElement>>;
15
+ declare const Avatar: React.ForwardRefExoticComponent<any>;
16
16
  export default Avatar;
@@ -12,5 +12,5 @@ declare global {
12
12
  }
13
13
  }
14
14
  }
15
- declare const Badge: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
15
+ declare const Badge: React.ForwardRefExoticComponent<any>;
16
16
  export default Badge;
@@ -10,5 +10,5 @@ declare global {
10
10
  }
11
11
  }
12
12
  }
13
- declare const CodeSnippet: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
13
+ declare const CodeSnippet: React.ForwardRefExoticComponent<any>;
14
14
  export default CodeSnippet;
@@ -1,36 +1,4 @@
1
1
  import React from 'react';
2
- import { FlexAlignment } from '../types';
3
- type Never<T extends Record<string, any>> = {
4
- [K in keyof T]: never;
5
- };
6
- 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';
7
- type Flex = {
8
- spaceBetween?: SpaceBetween;
9
- };
10
- type ContainerAlignment = {
11
- 'horizontal-alignment'?: FlexAlignment | 'space-between';
12
- 'vertical-alignment'?: FlexAlignment;
13
- 'space-between'?: 'sm' | 'md' | 'lg';
14
- };
15
- type Props = {
16
- shadow?: 'md' | 'lg' | 'xl' | '2xl';
17
- borderRadius?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
18
- paddingX?: string;
19
- paddingY?: string;
20
- background?: string;
21
- backgroundImageUrl?: string;
22
- width?: string;
23
- collapsible?: boolean;
24
- 'icon-position'?: 'right' | 'left';
25
- 'fill-title'?: boolean;
26
- border?: boolean;
27
- text?: string;
28
- 'icon-name'?: string;
29
- collapsed?: boolean;
30
- 'text-align'?: 'left' | 'right' | 'center';
31
- 'text-variant'?: 'body1' | 'body2' | 'subtitle1' | 'h1' | 'h2' | 'h3' | 'subtitle2';
32
- 'text-mode'?: 'primary' | 'secondary' | 'error' | 'success';
33
- } & ((Flex & Never<ContainerAlignment>) | (ContainerAlignment & Never<Flex>));
34
2
  declare global {
35
3
  namespace React.JSX {
36
4
  interface IntrinsicElements {
@@ -38,5 +6,5 @@ declare global {
38
6
  }
39
7
  }
40
8
  }
41
- declare const Container: React.ForwardRefExoticComponent<(Props & React.HTMLAttributes<HTMLDivElement>) & React.RefAttributes<HTMLDivElement>>;
9
+ declare const Container: React.ForwardRefExoticComponent<any>;
42
10
  export default Container;
@@ -1,30 +1,4 @@
1
1
  import React from 'react';
2
- import { FlexAlignment } from '../types';
3
- type Never<T extends Record<string, any>> = {
4
- [K in keyof T]: never;
5
- };
6
- 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';
7
- type Flex = {
8
- align?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';
9
- justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
10
- spaceBetween?: SpaceBetween;
11
- };
12
- type ContainerAlignment = {
13
- 'horizontal-alignment'?: FlexAlignment | 'space-between';
14
- 'vertical-alignment'?: FlexAlignment;
15
- 'space-between'?: 'sm' | 'md' | 'lg';
16
- };
17
- type Props = {
18
- direction?: 'row' | 'column';
19
- shadow?: 'md' | 'lg' | 'xl' | '2xl';
20
- borderRadius?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
21
- paddingX?: string;
22
- paddingY?: string;
23
- background?: string;
24
- backgroundImageUrl?: string;
25
- width?: string;
26
- variant?: string;
27
- } & ((Flex & Never<ContainerAlignment>) | (ContainerAlignment & Never<Flex>));
28
2
  declare global {
29
3
  namespace React.JSX {
30
4
  interface IntrinsicElements {
@@ -32,5 +6,5 @@ declare global {
32
6
  }
33
7
  }
34
8
  }
35
- declare const Container: React.ForwardRefExoticComponent<(Props & React.HTMLAttributes<HTMLDivElement>) & React.RefAttributes<HTMLDivElement>>;
9
+ declare const Container: React.ForwardRefExoticComponent<any>;
36
10
  export default Container;
@@ -1,9 +1,3 @@
1
1
  import React from 'react';
2
- type Props = {
3
- varName: string;
4
- fallback?: string;
5
- width?: number;
6
- height?: number;
7
- };
8
- declare const CssVarImage: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLImageElement> & React.RefAttributes<HTMLDivElement>>;
2
+ declare const CssVarImage: React.ForwardRefExoticComponent<any>;
9
3
  export default CssVarImage;
@@ -14,5 +14,5 @@ declare global {
14
14
  }
15
15
  }
16
16
  }
17
- declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "size"> & Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
+ declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<any, "size"> & Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
18
  export default Divider;
@@ -10,5 +10,5 @@ type Props = {
10
10
  connector?: string;
11
11
  enabled?: boolean;
12
12
  };
13
- declare const Hcaptcha: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
13
+ declare const Hcaptcha: React.ForwardRefExoticComponent<any>;
14
14
  export default Hcaptcha;
@@ -25,22 +25,5 @@ declare global {
25
25
  }
26
26
  }
27
27
  }
28
- declare const HybridField: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
29
- variant?: "countrySelection" | "inputBox";
30
- 'default-code'?: string;
31
- 'phone-input-label'?: string;
32
- 'phone-input-placeholder'?: string;
33
- 'restrict-countries'?: string;
34
- 'full-width'?: boolean;
35
- bordered?: boolean;
36
- label?: string;
37
- placeholder?: string;
38
- size?: ComponentSize;
39
- 'helper-text'?: string;
40
- 'data-errormessage-pattern-mismatch-email'?: string;
41
- 'data-errormessage-value-missing-email'?: string;
42
- 'data-errormessage-value-missing-phone'?: string;
43
- 'label-type'?: LabelType;
44
- 'external-input'?: boolean;
45
- } & import("../types").HTMLInputAttrs & import("../types").DescopeInputExtraProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
28
+ declare const HybridField: React.ForwardRefExoticComponent<any>;
46
29
  export default HybridField;
@@ -8,8 +8,8 @@ declare global {
8
8
  }
9
9
  }
10
10
  }
11
- declare const Icon: ({ icon, noColor, ...props }: React.JSX.IntrinsicElements["img"] & {
11
+ declare function Icon({ icon, noColor, ...props }: React.JSX.IntrinsicElements['img'] & {
12
12
  icon?: string;
13
13
  noColor?: boolean;
14
- }) => React.JSX.Element;
14
+ }): React.JSX.Element;
15
15
  export default Icon;
@@ -14,11 +14,5 @@ declare global {
14
14
  }
15
15
  }
16
16
  }
17
- declare const Image: React.ForwardRefExoticComponent<{
18
- width?: string;
19
- height?: string;
20
- alt?: string;
21
- src: string;
22
- 'src-dark'?: string;
23
- } & ITooltip & React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
17
+ declare const Image: React.ForwardRefExoticComponent<any>;
24
18
  export default Image;
@@ -23,5 +23,5 @@ declare global {
23
23
  }
24
24
  }
25
25
  }
26
- declare const Recaptcha: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
26
+ declare const Recaptcha: React.ForwardRefExoticComponent<any>;
27
27
  export default Recaptcha;
@@ -1,19 +1,3 @@
1
1
  import React from 'react';
2
- import { CaptchaVariants, Mode, TextAlign, TypographyVariants } from '../types';
3
- type Props = {
4
- connector?: string;
5
- enterprise?: boolean;
6
- action?: string;
7
- textLabel?: string;
8
- textVariant?: TypographyVariants;
9
- textMode?: Mode;
10
- textAlign?: TextAlign;
11
- 'full-width'?: boolean;
12
- readOnly?: boolean;
13
- variant?: CaptchaVariants;
14
- src?: string;
15
- width?: string;
16
- height?: string;
17
- };
18
- declare const RecaptchaV2: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
2
+ declare const RecaptchaV2: React.ForwardRefExoticComponent<any>;
19
3
  export default RecaptchaV2;
@@ -11,7 +11,7 @@ type Props = {
11
11
  children?: React.ReactNode;
12
12
  };
13
13
  declare module 'react' {
14
- interface HTMLAttributes<T> {
14
+ interface HTMLAttributes<_T> {
15
15
  slot?: string;
16
16
  }
17
17
  }
@@ -22,7 +22,7 @@ declare global {
22
22
  }
23
23
  }
24
24
  }
25
- declare const Tooltip: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & Props & React.RefAttributes<HTMLElement>>;
25
+ declare const Tooltip: React.ForwardRefExoticComponent<any>;
26
26
  export default Tooltip;
27
27
  export interface ITooltip {
28
28
  hasTooltip?: boolean;
@@ -1,14 +1,3 @@
1
1
  import React from 'react';
2
- import { Mode, TextAlign, TypographyVariants } from '../types';
3
- type Props = {
4
- connector?: string;
5
- action?: string;
6
- textLabel?: string;
7
- textVariant?: TypographyVariants;
8
- textMode?: Mode;
9
- textAlign?: TextAlign;
10
- readonly?: boolean;
11
- 'full-width'?: boolean;
12
- };
13
- declare const Turnstile: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
2
+ declare const Turnstile: React.ForwardRefExoticComponent<any>;
14
3
  export default Turnstile;
@@ -23,5 +23,5 @@ declare global {
23
23
  }
24
24
  }
25
25
  }
26
- declare const UploadFile: React.ForwardRefExoticComponent<Props & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
26
+ declare const UploadFile: React.ForwardRefExoticComponent<any>;
27
27
  export default UploadFile;
@@ -19,5 +19,5 @@ declare global {
19
19
  }
20
20
  }
21
21
  }
22
- declare const UserAttribute: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Props, "ref"> & React.RefAttributes<HTMLButtonElement>>;
22
+ declare const UserAttribute: React.ForwardRefExoticComponent<any>;
23
23
  export default UserAttribute;
@@ -9,16 +9,5 @@ declare global {
9
9
  }
10
10
  }
11
11
  }
12
- declare const UserAuthMethod: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
13
- label?: string;
14
- 'button-label'?: string;
15
- fulfilled?: boolean;
16
- 'full-width'?: boolean;
17
- methodIcon?: string;
18
- methodIconDark?: string;
19
- buttonIcon?: string;
20
- buttonIconDark?: string;
21
- fulfilledButtonIcon?: string;
22
- fulfilledButtonIconDark?: string;
23
- }, "ref"> & React.RefAttributes<HTMLButtonElement>>;
12
+ declare const UserAuthMethod: React.ForwardRefExoticComponent<any>;
24
13
  export default UserAuthMethod;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/flow-components",
3
- "version": "2.3.3",
3
+ "version": "3.0.0",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -53,7 +53,7 @@
53
53
  "@typescript-eslint/parser": "^8.0.0",
54
54
  "autoprefixer": "^10.4.8",
55
55
  "babel-jest": "30.2.0",
56
- "eslint": "8.57.1",
56
+ "eslint": "10.0.0",
57
57
  "eslint-config-airbnb": "^19.0.4",
58
58
  "eslint-config-airbnb-typescript": "18.0.0",
59
59
  "eslint-config-prettier": "10.1.8",
@@ -96,7 +96,7 @@
96
96
  "webpack-dev-server": "5.2.3"
97
97
  },
98
98
  "dependencies": {
99
- "@descope/web-components-ui": "2.3.3"
99
+ "@descope/web-components-ui": "3.0.0"
100
100
  },
101
101
  "peerDependencies": {
102
102
  "react": ">= 18"
@@ -139,7 +139,7 @@
139
139
  "dev": "nx dev flow-components",
140
140
  "dev-server": "FEDERATION_IP=127.0.0.1 NODE_ENV=development webpack serve --mode development --port 4444",
141
141
  "test": "exit 0",
142
- "lint": "eslint src/**/*.* --fix",
142
+ "lint": "eslint --no-warn-ignored --fix 'src/**/*.{ts,tsx,js,jsx}'",
143
143
  "format": "prettier . -w --ignore-path .gitignore",
144
144
  "format-lint": "pretty-quick --staged --ignore-path .gitignore && lint-staged"
145
145
  }