@telefonica/mistica 15.19.0 → 15.20.1

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 (95) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/accordion.d.ts +2 -2
  3. package/dist/avatar.d.ts +2 -2
  4. package/dist/badge.d.ts +1 -1
  5. package/dist/button-fixed-footer-layout.d.ts +1 -1
  6. package/dist/button-group.d.ts +2 -2
  7. package/dist/button-layout.d.ts +2 -2
  8. package/dist/button.d.ts +2 -2
  9. package/dist/callout.d.ts +1 -1
  10. package/dist/card.d.ts +1 -1
  11. package/dist/checkbox.d.ts +1 -1
  12. package/dist/chip.d.ts +3 -3
  13. package/dist/circle.d.ts +1 -1
  14. package/dist/community/blocks.d.ts +7 -7
  15. package/dist/counter.d.ts +2 -2
  16. package/dist/credit-card-expiration-field.d.ts +2 -2
  17. package/dist/credit-card-fields.d.ts +2 -2
  18. package/dist/credit-card-number-field.d.ts +2 -2
  19. package/dist/cvv-field.d.ts +2 -2
  20. package/dist/date-field.d.ts +2 -2
  21. package/dist/date-time-field.d.ts +2 -2
  22. package/dist/date-time-picker.d.ts +2 -2
  23. package/dist/decimal-field.d.ts +2 -2
  24. package/dist/dialog.js +72 -70
  25. package/dist/divider.d.ts +2 -4
  26. package/dist/double-field.d.ts +2 -2
  27. package/dist/email-field.d.ts +2 -2
  28. package/dist/empty-state-card.d.ts +1 -1
  29. package/dist/empty-state.d.ts +1 -1
  30. package/dist/fade-in.d.ts +1 -1
  31. package/dist/feedback.d.ts +6 -6
  32. package/dist/fixed-to-top.d.ts +1 -1
  33. package/dist/focus-trap.d.ts +1 -1
  34. package/dist/form.d.ts +1 -1
  35. package/dist/grid-layout.d.ts +1 -1
  36. package/dist/header.d.ts +4 -4
  37. package/dist/iban-field.d.ts +2 -2
  38. package/dist/icon-button.d.ts +2 -2
  39. package/dist/icons/icon-amex.d.ts +2 -2
  40. package/dist/icons/icon-chevron.d.ts +1 -1
  41. package/dist/icons/icon-cvv-amex.d.ts +2 -2
  42. package/dist/icons/icon-cvv-visa-mc.d.ts +2 -2
  43. package/dist/icons/icon-mastercard.d.ts +2 -2
  44. package/dist/icons/icon-visa.d.ts +2 -2
  45. package/dist/inline.d.ts +1 -1
  46. package/dist/integer-field.d.ts +1 -1
  47. package/dist/list.d.ts +3 -3
  48. package/dist/loading-bar.d.ts +2 -2
  49. package/dist/master-detail-layout.d.ts +1 -1
  50. package/dist/menu.d.ts +4 -4
  51. package/dist/month-field.d.ts +2 -2
  52. package/dist/mosaic.d.ts +3 -3
  53. package/dist/navigation-bar.d.ts +5 -5
  54. package/dist/navigation-breadcrumbs.d.ts +3 -2
  55. package/dist/navigation-breadcrumbs.js +8 -7
  56. package/dist/negative-box.d.ts +1 -1
  57. package/dist/nestable-context.d.ts +5 -5
  58. package/dist/overlay.d.ts +1 -1
  59. package/dist/package-version.js +1 -1
  60. package/dist/password-field.d.ts +2 -2
  61. package/dist/phone-number-field.d.ts +2 -2
  62. package/dist/placeholder.d.ts +2 -2
  63. package/dist/popover.d.ts +1 -1
  64. package/dist/portal.d.ts +1 -1
  65. package/dist/progress-bar.d.ts +2 -2
  66. package/dist/radio-button.d.ts +2 -2
  67. package/dist/responsive-layout.d.ts +5 -5
  68. package/dist/screen-reader-only.d.ts +1 -1
  69. package/dist/screen-size-context-provider.d.ts +1 -1
  70. package/dist/select.d.ts +1 -1
  71. package/dist/snackbar.js +18 -20
  72. package/dist/spinner.d.ts +1 -1
  73. package/dist/stack.d.ts +1 -1
  74. package/dist/stacking-group.d.ts +1 -1
  75. package/dist/stepper.d.ts +2 -2
  76. package/dist/switch-component.d.ts +1 -1
  77. package/dist/tab-focus.d.ts +1 -1
  78. package/dist/tabs.d.ts +1 -1
  79. package/dist/tag.d.ts +3 -3
  80. package/dist/text-field-base.d.ts +4 -4
  81. package/dist/text-field-components.d.ts +3 -3
  82. package/dist/text-link.d.ts +1 -1
  83. package/dist/text.d.ts +11 -11
  84. package/dist/theme-context-provider.d.ts +1 -1
  85. package/dist/theme-variant-context.d.ts +1 -1
  86. package/dist/timer.d.ts +3 -3
  87. package/dist/tooltip.d.ts +2 -2
  88. package/dist/utils/aspect-ratio-support.d.ts +1 -1
  89. package/dist/utils/document-visibility.d.ts +1 -1
  90. package/dist-es/dialog.js +72 -70
  91. package/dist-es/navigation-breadcrumbs.js +18 -17
  92. package/dist-es/package-version.js +1 -1
  93. package/dist-es/snackbar.js +21 -23
  94. package/dist-es/style.css +1 -1
  95. package/package.json +3 -3
package/dist/form.d.ts CHANGED
@@ -12,5 +12,5 @@ type FormProps = {
12
12
  onValidationErrors?: (errors: FormErrors) => void;
13
13
  className?: string;
14
14
  };
15
- declare const Form: React.FC<FormProps>;
15
+ declare const Form: ({ children, className, onSubmit, initialValues, autoJump, onValidationErrors, id: idProp, }: FormProps) => JSX.Element;
16
16
  export default Form;
@@ -44,5 +44,5 @@ type PropsTemplate8 = {
44
44
  children: React.ReactNode;
45
45
  };
46
46
  type Props = CommonProps & ExclusifyUnion<PropsChildren | PropsTemplate6plus6 | PropsTemplate8plus4 | PropsTemplate4plus6 | PropsTemplate5plus4 | PropsTemplate3plus9 | PropsTemplate10 | PropsTemplate8>;
47
- declare const GridLayout: React.FC<Props>;
47
+ declare const GridLayout: ({ dataAttributes, template, left, right, verticalSpace, collapseBreakpoint, children, }: Props) => JSX.Element;
48
48
  export default GridLayout;
package/dist/header.d.ts CHANGED
@@ -45,14 +45,14 @@ type HeaderProps = {
45
45
  */
46
46
  isErrorAmount?: boolean;
47
47
  };
48
- export declare const Header: React.FC<HeaderProps>;
48
+ export declare const Header: ({ headline, pretitle, pretitleAs, title, titleAs, description, dataAttributes, small, preamount, amount, button, subtitle, isErrorAmount, secondaryButton, }: HeaderProps) => JSX.Element;
49
49
  type MainSectionHeaderProps = {
50
50
  title: string;
51
51
  titleAs?: HeadingType;
52
52
  description?: string;
53
53
  button?: RendersNullableElement<typeof ButtonPrimary> | RendersNullableElement<typeof ButtonSecondary>;
54
54
  };
55
- export declare const MainSectionHeader: React.FC<MainSectionHeaderProps>;
55
+ export declare const MainSectionHeader: ({ title, titleAs, description, button, }: MainSectionHeaderProps) => JSX.Element;
56
56
  type HeaderLayoutProps = {
57
57
  isInverse?: boolean;
58
58
  breadcrumbs?: RendersNullableElement<typeof NavigationBreadcrumbs>;
@@ -68,11 +68,11 @@ type HeaderLayoutProps = {
68
68
  bleed?: boolean;
69
69
  noPaddingY?: boolean;
70
70
  };
71
- export declare const HeaderLayout: React.FC<HeaderLayoutProps>;
71
+ export declare const HeaderLayout: ({ isInverse, breadcrumbs, header, extra, sideBySideExtraOnDesktop, dataAttributes, bleed, noPaddingY, }: HeaderLayoutProps) => JSX.Element;
72
72
  type MainSectionHeaderLayoutProps = {
73
73
  isInverse?: boolean;
74
74
  children: RendersElement<typeof MainSectionHeader>;
75
75
  dataAttributes?: DataAttributes;
76
76
  };
77
- export declare const MainSectionHeaderLayout: React.FC<MainSectionHeaderLayoutProps>;
77
+ export declare const MainSectionHeaderLayout: ({ isInverse, children, dataAttributes, }: MainSectionHeaderLayoutProps) => JSX.Element;
78
78
  export {};
@@ -1,9 +1,9 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  import type { CommonFormFieldProps } from './text-field-base';
3
3
  export interface IbanFieldProps extends CommonFormFieldProps {
4
4
  onChangeValue?: (value: string, rawValue: string) => void;
5
5
  prefix?: string;
6
6
  getSuggestions?: (value: string) => Array<string>;
7
7
  }
8
- declare const IbanField: React.FC<IbanFieldProps>;
8
+ declare const IbanField: ({ disabled, error, helperText, name, optional, validate: customValidate, onChange, onChangeValue, onBlur, value, defaultValue, dataAttributes, ...rest }: IbanFieldProps) => JSX.Element;
9
9
  export default IbanField;
@@ -80,7 +80,7 @@ interface BaseProps {
80
80
  role?: string;
81
81
  }
82
82
  interface IconButtonBaseProps {
83
- Icon: React.FC<IconProps>;
83
+ Icon: (props: IconProps) => JSX.Element;
84
84
  type?: IconButtonType;
85
85
  backgroundType?: IconButtonBackgroundType;
86
86
  }
@@ -93,7 +93,7 @@ export declare const RawIconButton: React.ForwardRefExoticComponent<(IconButtonP
93
93
  export declare const InternalIconButton: React.ForwardRefExoticComponent<ExclusifyUnion<DeprecatedProps | (IconButtonProps & InternalIconButtonBaseProps)> & React.RefAttributes<TouchableElement>>;
94
94
  export declare const IconButton: React.ForwardRefExoticComponent<ExclusifyUnion<DeprecatedProps | IconButtonProps> & React.RefAttributes<TouchableElement>>;
95
95
  type ToggleStateProps = {
96
- Icon: React.FC<IconProps>;
96
+ Icon: (props: IconProps) => JSX.Element;
97
97
  type?: IconButtonType;
98
98
  backgroundType?: IconButtonBackgroundType;
99
99
  } & AriaProps;
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  type Props = {
3
3
  role?: string;
4
4
  size?: number | string;
5
5
  };
6
- declare const IconAmex: React.FC<Props>;
6
+ declare const IconAmex: ({ role, size }: Props) => JSX.Element;
7
7
  export default IconAmex;
@@ -8,5 +8,5 @@ type Props = {
8
8
  direction?: Direction;
9
9
  transitionDuration?: number;
10
10
  };
11
- declare const IconChevron: React.FC<Props>;
11
+ declare const IconChevron: ({ size, color, className, style, transitionDuration, direction, }: Props) => JSX.Element;
12
12
  export default IconChevron;
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  type Props = {
3
3
  role?: string;
4
4
  size?: number | string;
5
5
  color?: string;
6
6
  };
7
- declare const IconCvvAmex: React.FC<Props>;
7
+ declare const IconCvvAmex: ({ role, size, color }: Props) => JSX.Element;
8
8
  export default IconCvvAmex;
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  type Props = {
3
3
  role?: string;
4
4
  size?: number | string;
5
5
  color?: string;
6
6
  };
7
- declare const IconCvvVisaMc: React.FC<Props>;
7
+ declare const IconCvvVisaMc: ({ role, size, color }: Props) => JSX.Element;
8
8
  export default IconCvvVisaMc;
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  type Props = {
3
3
  role?: string;
4
4
  size?: number | string;
5
5
  };
6
- declare const IconMastercard: React.FC<Props>;
6
+ declare const IconMastercard: ({ role, size }: Props) => JSX.Element;
7
7
  export default IconMastercard;
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  type Props = {
3
3
  role?: string;
4
4
  size?: number | string;
5
5
  };
6
- declare const IconVisa: React.FC<Props>;
6
+ declare const IconVisa: ({ role, size }: Props) => JSX.Element;
7
7
  export default IconVisa;
package/dist/inline.d.ts CHANGED
@@ -13,5 +13,5 @@ type Props = {
13
13
  dataAttributes?: DataAttributes;
14
14
  wrap?: boolean;
15
15
  };
16
- declare const Inline: React.FC<Props>;
16
+ declare const Inline: ({ space, className, children, role, alignItems, "aria-labelledby": ariaLabelledBy, fullWidth, wrap, dataAttributes, }: Props) => JSX.Element;
17
17
  export default Inline;
@@ -8,5 +8,5 @@ export declare const IntegerInput: ({ inputRef, value, defaultValue, type, ...re
8
8
  export interface IntegerFieldProps extends CommonFormFieldProps {
9
9
  onChangeValue?: (value: string, rawValue: string) => void;
10
10
  }
11
- declare const IntegerField: React.FC<IntegerFieldProps>;
11
+ declare const IntegerField: ({ disabled, error, helperText, name, optional, validate: validateProp, onChange, onChangeValue, onBlur, value, defaultValue, dataAttributes, ...rest }: IntegerFieldProps) => JSX.Element;
12
12
  export default IntegerField;
package/dist/list.d.ts CHANGED
@@ -36,7 +36,7 @@ interface ContentProps extends CommonProps {
36
36
  /** This id is to link the title with the related control */
37
37
  labelId?: string;
38
38
  }
39
- export declare const Content: React.FC<ContentProps>;
39
+ export declare const Content: ({ withChevron, headline, headlineRef, extraRef, title, titleAs, titleLinesMax, subtitle, subtitleLinesMax, description, descriptionLinesMax, detail, asset, danger, badge, right, rightRef, extra, labelId, disabled, control, }: ContentProps) => JSX.Element;
40
40
  type ControlProps = {
41
41
  name?: string;
42
42
  value?: boolean;
@@ -91,7 +91,7 @@ type RowListProps = {
91
91
  role?: string;
92
92
  dataAttributes?: DataAttributes;
93
93
  };
94
- export declare const RowList: React.FC<RowListProps>;
94
+ export declare const RowList: ({ children, ariaLabelledby, role, dataAttributes, }: RowListProps) => JSX.Element;
95
95
  type CommonBoxedRowProps = {
96
96
  danger: true;
97
97
  isInverse?: false;
@@ -110,5 +110,5 @@ type BoxedRowListProps = {
110
110
  role?: string;
111
111
  dataAttributes?: DataAttributes;
112
112
  };
113
- export declare const BoxedRowList: React.FC<BoxedRowListProps>;
113
+ export declare const BoxedRowList: ({ children, ariaLabelledby, role, dataAttributes, }: BoxedRowListProps) => JSX.Element;
114
114
  export {};
@@ -1,9 +1,9 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  import type { DataAttributes } from './utils/types';
3
3
  type Props = {
4
4
  visible: boolean;
5
5
  children?: void;
6
6
  dataAttributes?: DataAttributes;
7
7
  };
8
- declare const LoadingBar: React.FC<Props>;
8
+ declare const LoadingBar: ({ visible, dataAttributes }: Props) => JSX.Element;
9
9
  export default LoadingBar;
@@ -5,5 +5,5 @@ type Props = {
5
5
  detail?: React.ReactNode;
6
6
  children?: void;
7
7
  };
8
- declare const MasterDetailLayout: React.FC<Props>;
8
+ declare const MasterDetailLayout: ({ isOpen, master, detail }: Props) => JSX.Element;
9
9
  export default MasterDetailLayout;
package/dist/menu.d.ts CHANGED
@@ -3,7 +3,7 @@ import type { ExclusifyUnion } from './utils/utility-types';
3
3
  import type { DataAttributes, IconProps } from './utils/types';
4
4
  interface MenuItemBaseProps {
5
5
  label: string;
6
- Icon?: React.FC<IconProps>;
6
+ Icon?: (props: IconProps) => JSX.Element;
7
7
  destructive?: boolean;
8
8
  disabled?: boolean;
9
9
  onPress: (item: number) => void;
@@ -17,11 +17,11 @@ interface MenuItemWithControlProps extends MenuItemBaseProps {
17
17
  checked?: boolean;
18
18
  }
19
19
  type MenuItemProps = ExclusifyUnion<MenuItemWithControlProps | MenuItemWithoutControlProps>;
20
- export declare const MenuItem: React.FC<MenuItemProps>;
20
+ export declare const MenuItem: ({ label, Icon, destructive, disabled, onPress, controlType, checked, }: MenuItemProps) => JSX.Element;
21
21
  type MenuSectionProps = {
22
22
  children?: React.ReactNode;
23
23
  };
24
- export declare const MenuSection: React.FC<MenuSectionProps>;
24
+ export declare const MenuSection: ({ children }: MenuSectionProps) => JSX.Element;
25
25
  type MenuRenderProps = {
26
26
  ref: (element: HTMLElement | null) => void;
27
27
  className: string;
@@ -40,5 +40,5 @@ export type MenuProps = {
40
40
  position?: 'left' | 'right';
41
41
  dataAttributes?: DataAttributes;
42
42
  };
43
- export declare const Menu: React.FC<MenuProps>;
43
+ export declare const Menu: ({ renderTarget, renderMenu, width, position, dataAttributes, }: MenuProps) => JSX.Element;
44
44
  export {};
@@ -1,9 +1,9 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  import type { CommonFormFieldProps } from './text-field-base';
3
3
  export interface DateFieldProps extends CommonFormFieldProps {
4
4
  onChangeValue?: (value: string, rawValue: string) => void;
5
5
  min?: Date;
6
6
  max?: Date;
7
7
  }
8
- declare const DateField: React.FC<DateFieldProps>;
8
+ declare const DateField: ({ disabled, error, helperText, name, optional, validate: validateProp, onChange, onChangeValue: onChangeValueProp, onBlur, value, defaultValue, min, max, dataAttributes, ...rest }: DateFieldProps) => JSX.Element;
9
9
  export default DateField;
package/dist/mosaic.d.ts CHANGED
@@ -6,10 +6,10 @@ type HorizontalMosaicProps = {
6
6
  free?: boolean;
7
7
  dataAttributes?: DataAttributes;
8
8
  };
9
- export declare const HorizontalMosaic: React.FC<HorizontalMosaicProps>;
10
- type Props = {
9
+ export declare const HorizontalMosaic: ({ items, withBullets, free, dataAttributes, }: HorizontalMosaicProps) => JSX.Element;
10
+ type VerticalMosaicProps = {
11
11
  items: ReadonlyArray<React.ReactElement>;
12
12
  dataAttributes?: DataAttributes;
13
13
  };
14
- export declare const VerticalMosaic: React.FC<Props>;
14
+ export declare const VerticalMosaic: ({ items, dataAttributes }: VerticalMosaicProps) => JSX.Element;
15
15
  export {};
@@ -33,7 +33,7 @@ type MainNavigationBarPropsBase = {
33
33
  large?: boolean;
34
34
  };
35
35
  type MainNavigationBarProps = MainNavigationBarPropsBase;
36
- export declare const MainNavigationBar: React.FC<MainNavigationBarProps>;
36
+ export declare const MainNavigationBar: ({ sections, selectedIndex, right, variant, isInverse, topFixed, withBorder, burgerMenuExtra, logo, large, }: MainNavigationBarProps) => JSX.Element;
37
37
  interface NavigationBarCommonProps {
38
38
  /** @deprecated Use variant instead */
39
39
  isInverse?: boolean;
@@ -54,7 +54,7 @@ interface NavigationBarNotFixedProps extends NavigationBarCommonProps {
54
54
  paddingX?: number;
55
55
  }
56
56
  type NavigationBarProps = NavigationBarTopFixedProps | NavigationBarNotFixedProps;
57
- export declare const NavigationBar: React.FC<NavigationBarProps>;
57
+ export declare const NavigationBar: ({ onBack, title, titleAs, right, variant, isInverse, topFixed, paddingX, withBorder, }: NavigationBarProps) => JSX.Element;
58
58
  type FunnelNavigationBarProps = {
59
59
  variant?: Variant;
60
60
  /** @deprecated Use variant instead */
@@ -65,11 +65,11 @@ type FunnelNavigationBarProps = {
65
65
  children?: undefined;
66
66
  withBorder?: boolean;
67
67
  };
68
- export declare const FunnelNavigationBar: React.FC<FunnelNavigationBarProps>;
68
+ export declare const FunnelNavigationBar: ({ logo, right, variant, isInverse, topFixed, withBorder, }: FunnelNavigationBarProps) => JSX.Element;
69
69
  type NavigationBarActionGroupProps = {
70
70
  children: React.ReactNode;
71
71
  };
72
- export declare const NavigationBarActionGroup: React.FC<NavigationBarActionGroupProps>;
72
+ export declare const NavigationBarActionGroup: ({ children }: NavigationBarActionGroupProps) => JSX.Element;
73
73
  type NavigationBarActionProps = TouchableProps;
74
- export declare const NavigationBarAction: React.FC<NavigationBarActionProps>;
74
+ export declare const NavigationBarAction: ({ children, ...touchableProps }: NavigationBarActionProps) => JSX.Element;
75
75
  export {};
@@ -2,17 +2,18 @@
2
2
  * Figma: https://www.figma.com/file/BctaFHf0PVPX2uwRSl8taf/Breadcrumbs?node-id=2%3A61
3
3
  * Accessibility: https://www.w3.org/WAI/ARIA/apg/example-index/breadcrumb/index.html
4
4
  */
5
- import * as React from 'react';
5
+ /// <reference types="react" />
6
6
  import type { DataAttributes } from './utils/types';
7
7
  export type NavigationBreadcrumbsProps = {
8
8
  title: string;
9
9
  breadcrumbs: ReadonlyArray<{
10
10
  readonly title: string;
11
11
  readonly url: string;
12
+ onNavigate?: () => void;
12
13
  }>;
13
14
  children?: void;
14
15
  dataAttributes?: DataAttributes;
15
16
  'aria-label'?: string;
16
17
  };
17
- declare const NavigationBreadcrumbs: React.FC<NavigationBreadcrumbsProps>;
18
+ declare const NavigationBreadcrumbs: ({ title, breadcrumbs, dataAttributes, "aria-label": ariaLabel, }: NavigationBreadcrumbsProps) => JSX.Element;
18
19
  export default NavigationBreadcrumbs;
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "default", {
7
7
  enumerable: true,
8
8
  get: function() {
9
- return D;
9
+ return S;
10
10
  }
11
11
  });
12
12
  const _jsxruntime = require("react/jsx-runtime");
@@ -73,7 +73,7 @@ function _object_spread_props(target, source) {
73
73
  }
74
74
  return target;
75
75
  }
76
- const N = " / ", b = (param)=>{
76
+ const b = " / ", B = (param)=>{
77
77
  let { title: s, breadcrumbs: n, dataAttributes: c, "aria-label": m = "Breadcrumb" } = param;
78
78
  const i = (0, _themevariantcontext.useIsInverseVariant)();
79
79
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("nav", _object_spread_props(_object_spread({
@@ -82,8 +82,8 @@ const N = " / ", b = (param)=>{
82
82
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)("ol", {
83
83
  className: _navigationbreadcrumbscssmistica.list,
84
84
  children: [
85
- n.map((param, u)=>{
86
- let { title: a, url: d } = param;
85
+ n.map((param, p)=>{
86
+ let { title: a, url: d, onNavigate: u } = param;
87
87
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)("li", {
88
88
  className: _navigationbreadcrumbscssmistica.listItem,
89
89
  children: [
@@ -95,6 +95,7 @@ const N = " / ", b = (param)=>{
95
95
  color: i ? _skincontractcssmistica.vars.colors.textPrimaryInverse : _skincontractcssmistica.vars.colors.textPrimary
96
96
  },
97
97
  className: _navigationbreadcrumbscssmistica.link,
98
+ onNavigate: u,
98
99
  children: a
99
100
  })
100
101
  }),
@@ -102,11 +103,11 @@ const N = " / ", b = (param)=>{
102
103
  role: "presentation",
103
104
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text1, {
104
105
  regular: !0,
105
- children: N
106
+ children: b
106
107
  })
107
108
  })
108
109
  ]
109
- }, u);
110
+ }, p);
110
111
  }),
111
112
  /* @__PURE__ */ (0, _jsxruntime.jsx)("li", {
112
113
  className: _navigationbreadcrumbscssmistica.listItem,
@@ -127,4 +128,4 @@ const N = " / ", b = (param)=>{
127
128
  ]
128
129
  })
129
130
  }));
130
- }, D = b;
131
+ }, S = B;
@@ -4,5 +4,5 @@ type Props = {
4
4
  right?: boolean;
5
5
  left?: boolean;
6
6
  };
7
- declare const NegativeBox: React.FC<Props>;
7
+ declare const NegativeBox: ({ left, right, children }: Props) => JSX.Element;
8
8
  export default NegativeBox;
@@ -3,13 +3,13 @@ type ProviderProps = {
3
3
  children: React.ReactNode;
4
4
  };
5
5
  export type NestableContext<Value> = {
6
- Getter: React.FC<{
6
+ Getter: (props: {
7
7
  children: (value: Value) => React.ReactNode;
8
- }>;
9
- Provider: React.FC<ProviderProps>;
10
- Setter: React.FC<{
8
+ }) => JSX.Element;
9
+ Provider: (props: ProviderProps) => JSX.Element;
10
+ Setter: (props: {
11
11
  value: Value;
12
- }>;
12
+ }) => null;
13
13
  useValue: () => Value;
14
14
  useSetValue: (value: Value) => void;
15
15
  };
package/dist/overlay.d.ts CHANGED
@@ -8,5 +8,5 @@ type Props = {
8
8
  disableScroll?: boolean;
9
9
  dataAttributes?: DataAttributes;
10
10
  };
11
- declare const Overlay: React.FC<Props>;
11
+ declare const Overlay: ({ onPress, children, className, style, disableScroll, dataAttributes, }: Props) => JSX.Element;
12
12
  export default Overlay;
@@ -8,4 +8,4 @@ Object.defineProperty(exports, "PACKAGE_VERSION", {
8
8
  return o;
9
9
  }
10
10
  });
11
- const o = "15.19.0";
11
+ const o = "15.20.1";
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  import type { CommonFormFieldProps } from './text-field-base';
3
3
  export interface PasswordFieldProps extends CommonFormFieldProps {
4
4
  onChangeValue?: (value: string, rawValue: string) => void;
5
5
  }
6
- declare const PasswordField: React.FC<PasswordFieldProps>;
6
+ declare const PasswordField: ({ disabled, error, helperText, name, optional, validate, onChange, onChangeValue, onBlur, value, autoComplete, defaultValue, dataAttributes, ...rest }: PasswordFieldProps) => JSX.Element;
7
7
  export default PasswordField;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  import type { CommonFormFieldProps } from './text-field-base';
3
3
  export interface PhoneNumberFieldProps extends CommonFormFieldProps {
4
4
  onChangeValue?: (value: string, rawValue: string) => void;
@@ -6,5 +6,5 @@ export interface PhoneNumberFieldProps extends CommonFormFieldProps {
6
6
  getSuggestions?: (value: string) => Array<string>;
7
7
  e164?: boolean;
8
8
  }
9
- declare const PhoneNumberField: React.FC<PhoneNumberFieldProps>;
9
+ declare const PhoneNumberField: ({ disabled, error, helperText, name, optional, validate, onChange, onChangeValue, onBlur, value, defaultValue, e164, dataAttributes, ...rest }: PhoneNumberFieldProps) => JSX.Element;
10
10
  export default PhoneNumberField;
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
1
+ /// <reference types="react" />
2
2
  type PlaceholderProps = {
3
3
  width?: string | number;
4
4
  height?: string | number;
5
5
  children?: void;
6
6
  };
7
- export declare const Placeholder: React.FC<PlaceholderProps>;
7
+ export declare const Placeholder: ({ width, height }: PlaceholderProps) => JSX.Element;
8
8
  export {};
package/dist/popover.d.ts CHANGED
@@ -16,5 +16,5 @@ type Props = {
16
16
  extra?: React.ReactNode;
17
17
  dataAttributes?: DataAttributes;
18
18
  };
19
- declare const Popover: React.FC<Props>;
19
+ declare const Popover: ({ open, extra, children, onClose, closeButtonLabel, dataAttributes, trackingEvent, title, description, asset, ...props }: Props) => JSX.Element;
20
20
  export default Popover;
package/dist/portal.d.ts CHANGED
@@ -11,5 +11,5 @@ type Props = {
11
11
  children: React.ReactNode;
12
12
  className?: string;
13
13
  };
14
- export declare const Portal: React.FC<Props>;
14
+ export declare const Portal: ({ children, className }: Props) => JSX.Element | null;
15
15
  export {};
@@ -10,7 +10,7 @@ type ProgressBarProps = {
10
10
  dataAttributes?: DataAttributes;
11
11
  reverse?: boolean;
12
12
  };
13
- export declare const ProgressBar: React.FC<ProgressBarProps>;
13
+ export declare const ProgressBar: ({ progressPercent, color, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-hidden": ariaHidden, dataAttributes, reverse, }: ProgressBarProps) => JSX.Element;
14
14
  type ProgressBarSteppedProps = {
15
15
  steps: number;
16
16
  currentStep?: number;
@@ -20,5 +20,5 @@ type ProgressBarSteppedProps = {
20
20
  'aria-labelledby'?: string;
21
21
  'aria-hidden'?: React.HTMLAttributes<HTMLDivElement>['aria-hidden'];
22
22
  };
23
- export declare const ProgressBarStepped: React.FC<ProgressBarSteppedProps>;
23
+ export declare const ProgressBarStepped: ({ steps, currentStep, color, dataAttributes, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-hidden": ariaHidden, }: ProgressBarSteppedProps) => JSX.Element;
24
24
  export {};
@@ -32,7 +32,7 @@ type PropsChildren = {
32
32
  'aria-label'?: string;
33
33
  'aria-labelledby'?: string;
34
34
  };
35
- declare const RadioButton: React.FC<PropsRender | PropsChildren>;
35
+ declare const RadioButton: ({ value, id, dataAttributes, "aria-labelledby": ariaLabelledby, "aria-label": ariaLabel, ...rest }: PropsRender | PropsChildren) => JSX.Element;
36
36
  type RadioGroupProps = {
37
37
  name: string;
38
38
  disabled?: boolean;
@@ -43,5 +43,5 @@ type RadioGroupProps = {
43
43
  onChange?: (value: string) => void;
44
44
  dataAttributes?: DataAttributes;
45
45
  };
46
- export declare const RadioGroup: React.FC<RadioGroupProps>;
46
+ export declare const RadioGroup: (props: RadioGroupProps) => JSX.Element;
47
47
  export default RadioButton;
@@ -10,14 +10,14 @@ type Props = {
10
10
  backgroundColor?: string;
11
11
  dataAttributes?: DataAttributes;
12
12
  };
13
- export declare const InternalResponsiveLayout: React.FC<Props & {
13
+ export declare const InternalResponsiveLayout: ({ children, isInverse, variant, backgroundColor, className, fullWidth, dataAttributes, shouldExpandWhenNested, innerDivClassName, }: Props & {
14
14
  shouldExpandWhenNested?: boolean | 'desktop';
15
15
  innerDivClassName?: string;
16
- }>;
17
- declare const ResponsiveLayout: React.FC<Props>;
18
- export declare const ResetResponsiveLayout: React.FC<{
16
+ }) => JSX.Element;
17
+ declare const ResponsiveLayout: ({ children, ...props }: Props) => JSX.Element;
18
+ export declare const ResetResponsiveLayout: ({ children, skipMobile, skipDesktop, }: {
19
19
  children: React.ReactNode;
20
20
  skipMobile?: boolean;
21
21
  skipDesktop?: boolean;
22
- }>;
22
+ }) => JSX.Element;
23
23
  export default ResponsiveLayout;
@@ -4,5 +4,5 @@ type Props = {
4
4
  children: React.ReactNode;
5
5
  dataAttributes?: DataAttributes;
6
6
  };
7
- declare const ScreenReaderOnly: React.FC<Props>;
7
+ declare const ScreenReaderOnly: ({ children, dataAttributes }: Props) => JSX.Element;
8
8
  export default ScreenReaderOnly;
@@ -2,5 +2,5 @@ import * as React from 'react';
2
2
  type Props = {
3
3
  children: React.ReactNode;
4
4
  };
5
- declare const ScreenSizeContextProvider: React.FC<Props>;
5
+ declare const ScreenSizeContextProvider: ({ children }: Props) => JSX.Element;
6
6
  export default ScreenSizeContextProvider;
package/dist/select.d.ts CHANGED
@@ -21,5 +21,5 @@ export type SelectProps = {
21
21
  native?: boolean;
22
22
  children?: void;
23
23
  };
24
- declare const Select: React.FC<SelectProps>;
24
+ declare const Select: ({ id, label, helperText: helperTextProp, value: valueProp, defaultValue, onChangeValue: onChangeValueProp, name, fullWidth, options, optional, disabled: disabledProp, error: errorProp, onBlur, autoFocus, native, }: SelectProps) => JSX.Element;
25
25
  export default Select;