@nulogy/components 8.14.3 → 8.14.5

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 (140) hide show
  1. package/dist/main.js +20 -11
  2. package/dist/main.module.js +20 -11
  3. package/dist/src/Alert/Alert.d.ts +2 -1
  4. package/dist/src/Alert/Alert.story.d.ts +8 -7
  5. package/dist/src/Alert/CloseButton.d.ts +2 -1
  6. package/dist/src/AsyncSelect/AsyncSelect.story.d.ts +7 -6
  7. package/dist/src/Banner/Banner.d.ts +2 -2
  8. package/dist/src/Banner/Banner.story.d.ts +7 -6
  9. package/dist/src/Box/Box.story.d.ts +13 -12
  10. package/dist/src/BrandedNavBar/BrandLogoContainer.d.ts +1 -1
  11. package/dist/src/BrandedNavBar/EnvironmentBanner.d.ts +1 -1
  12. package/dist/src/BrandedNavBar/MenuTrigger.d.ts +1 -1
  13. package/dist/src/BrandedNavBar/MenuTriggerButton.d.ts +1 -1
  14. package/dist/src/BrandedNavBar/NavBar.d.ts +2 -1
  15. package/dist/src/BrandedNavBar/NavBar.story.d.ts +15 -14
  16. package/dist/src/BrandedNavBar/NavBarDropdownMenu.d.ts +1 -17
  17. package/dist/src/BrandedNavBar/NulogyLogo.d.ts +2 -1
  18. package/dist/src/BrandedNavBar/NulogyLogoContainer.d.ts +2 -1
  19. package/dist/src/BrandedNavBar/SmallNavBar.story.d.ts +9 -8
  20. package/dist/src/BrandedNavBar/SubMenuTrigger.d.ts +1 -1
  21. package/dist/src/BrandedNavBar/SubMenuTriggerButton.d.ts +1 -1
  22. package/dist/src/Branding/Branding.d.ts +2 -1
  23. package/dist/src/Branding/Branding.story.d.ts +2 -1
  24. package/dist/src/Breadcrumbs/Breadcrumbs.story.d.ts +5 -4
  25. package/dist/src/Button/Button.story.d.ts +10 -9
  26. package/dist/src/Button/CloseButton.d.ts +1 -1
  27. package/dist/src/Button/ControlIcon.d.ts +2 -2
  28. package/dist/src/Button/ControlIcon.story.d.ts +4 -3
  29. package/dist/src/Button/IconicButton.story.d.ts +16 -15
  30. package/dist/src/ButtonGroup/ButtonGroup.story.d.ts +6 -5
  31. package/dist/src/Card/Card.story.d.ts +4 -3
  32. package/dist/src/Checkbox/Checkbox.story.d.ts +13 -12
  33. package/dist/src/Checkbox/CheckboxGroup.story.d.ts +7 -6
  34. package/dist/src/DatePicker/DatePicker.story.d.ts +9 -8
  35. package/dist/src/DateRange/DateRange.story.d.ts +14 -13
  36. package/dist/src/Divider/Divider.d.ts +2 -1
  37. package/dist/src/Divider/Divider.story.d.ts +3 -2
  38. package/dist/src/DropdownMenu/DropdownButton.d.ts +1 -1
  39. package/dist/src/DropdownMenu/DropdownMenu.story.d.ts +12 -11
  40. package/dist/src/FieldLabel/FieldLabel.d.ts +2 -1
  41. package/dist/src/FieldLabel/FieldLabel.story.d.ts +6 -5
  42. package/dist/src/FieldLabel/MaybeFieldLabel.d.ts +2 -1
  43. package/dist/src/FieldLabel/RequirementText.d.ts +2 -1
  44. package/dist/src/Flex/Flex.story.d.ts +21 -20
  45. package/dist/src/Form/Form.d.ts +1 -1
  46. package/dist/src/Form/Form.story.d.ts +6 -5
  47. package/dist/src/Icon/Icon.d.ts +1 -1
  48. package/dist/src/Icon/Icon.story.d.ts +7 -6
  49. package/dist/src/Input/Input.story.d.ts +11 -10
  50. package/dist/src/Input/Prefix.d.ts +2 -1
  51. package/dist/src/Input/Suffix.d.ts +2 -1
  52. package/dist/src/Layout/ApplicationFrame.d.ts +1 -1
  53. package/dist/src/Layout/ApplicationFrame.story.d.ts +2 -1
  54. package/dist/src/Layout/Header.story.d.ts +9 -8
  55. package/dist/src/Layout/Page.story.d.ts +6 -5
  56. package/dist/src/Layout/Sidebar.story.d.ts +8 -7
  57. package/dist/src/Link/Link.d.ts +1 -1
  58. package/dist/src/Link/Link.story.d.ts +9 -8
  59. package/dist/src/List/List.story.d.ts +6 -5
  60. package/dist/src/LoadingAnimation/LoadingAnimation.story.d.ts +5 -4
  61. package/dist/src/Modal/Modal.story.d.ts +12 -11
  62. package/dist/src/Modal/ModalCloseButton.d.ts +1 -1
  63. package/dist/src/NavBar/DesktopMenu.d.ts +2 -1
  64. package/dist/src/NavBar/MenuTrigger.d.ts +2 -1
  65. package/dist/src/NavBar/MobileMenu.d.ts +2 -1
  66. package/dist/src/NavBar/NavBar.d.ts +3 -3
  67. package/dist/src/NavBar/NavBar.story.d.ts +13 -12
  68. package/dist/src/NavBar/NavBarDropdownMenu.d.ts +1 -1
  69. package/dist/src/NavBar/SmallNavBar.d.ts +1 -1
  70. package/dist/src/NavBar/SubMenuTrigger.d.ts +2 -1
  71. package/dist/src/NavBarSearch/NavBarSearch.d.ts +2 -1
  72. package/dist/src/Overlay/Overlay.story.d.ts +3 -2
  73. package/dist/src/Pagination/NextButton.d.ts +2 -1
  74. package/dist/src/Pagination/Pagination.story.d.ts +5 -4
  75. package/dist/src/Pagination/PreviousButton.d.ts +2 -1
  76. package/dist/src/Radio/Radio.story.d.ts +9 -8
  77. package/dist/src/Radio/RadioGroup.d.ts +2 -1
  78. package/dist/src/Radio/RadioGroup.story.d.ts +7 -6
  79. package/dist/src/RangeContainer/RangeContainer.story.d.ts +2 -1
  80. package/dist/src/Select/Select.d.ts +1 -1
  81. package/dist/src/Select/Select.story.d.ts +23 -22
  82. package/dist/src/Select/SelectComponents.d.ts +8 -7
  83. package/dist/src/Select/SelectOption.d.ts +2 -1
  84. package/dist/src/SortingTable/SortingTable.story.d.ts +1 -1
  85. package/dist/src/StatusIndicator/StatusIndicator.story.d.ts +11 -10
  86. package/dist/src/Summary/Summary.story.d.ts +3 -2
  87. package/dist/src/Summary/SummaryDivider.d.ts +2 -1
  88. package/dist/src/Switcher/Switch.d.ts +1 -1
  89. package/dist/src/Switcher/Switcher.story.d.ts +5 -4
  90. package/dist/src/Table/BaseTable.story.d.ts +12 -11
  91. package/dist/src/Table/SortingColumnHeader.d.ts +2 -1
  92. package/dist/src/Table/SortingColumnHeader.story.d.ts +2 -1
  93. package/dist/src/Table/StatefulTable.d.ts +2 -2
  94. package/dist/src/Table/Table.d.ts +3 -2
  95. package/dist/src/Table/Table.story.d.ts +4 -3
  96. package/dist/src/Table/TableBody.d.ts +2 -1
  97. package/dist/src/Table/TableFoot.d.ts +2 -1
  98. package/dist/src/Table/TableWithCustomSorting.story.d.ts +2 -1
  99. package/dist/src/Table/TableWithExpandableRows.story.d.ts +3 -2
  100. package/dist/src/Table/TableWithFiltering.story.d.ts +3 -2
  101. package/dist/src/Table/TableWithSelectableRows.story.d.ts +3 -2
  102. package/dist/src/Table/TableWithServerSidePagination.story.d.ts +2 -1
  103. package/dist/src/Tabs/TabScrollIndicators.d.ts +1 -1
  104. package/dist/src/Tabs/Tabs.d.ts +2 -2
  105. package/dist/src/Tabs/Tabs.story.d.ts +12 -11
  106. package/dist/src/Textarea/StyledTextarea.d.ts +1 -1
  107. package/dist/src/Textarea/Textarea.story.d.ts +11 -10
  108. package/dist/src/TimePicker/TimePicker.story.d.ts +12 -11
  109. package/dist/src/TimePicker/TimePickerInput.d.ts +13 -9
  110. package/dist/src/TimeRange/TimeRange.d.ts +2 -2
  111. package/dist/src/TimeRange/TimeRange.story.d.ts +6 -5
  112. package/dist/src/Toast/Toast.d.ts +2 -1
  113. package/dist/src/Toast/Toast.story.d.ts +8 -7
  114. package/dist/src/ToastContainer/ToastContainer.d.ts +2 -1
  115. package/dist/src/ToastContainer/ToastContainer.story.d.ts +2 -1
  116. package/dist/src/Toggle/Toggle.d.ts +1 -1
  117. package/dist/src/Toggle/Toggle.story.d.ts +11 -10
  118. package/dist/src/Tokens/Tokens.story.d.ts +10 -9
  119. package/dist/src/Tooltip/Tooltip.story.d.ts +12 -10
  120. package/dist/src/TruncatedText/MaybeTooltip.d.ts +2 -1
  121. package/dist/src/TruncatedText/TruncatedText.d.ts +3 -2
  122. package/dist/src/TruncatedText/TruncatedText.story.d.ts +9 -8
  123. package/dist/src/TruncatedText/TruncatedTextFillWidth.d.ts +2 -1
  124. package/dist/src/TruncatedText/TruncatedTextMaxCharacters.d.ts +2 -1
  125. package/dist/src/Type/Headings.story.d.ts +6 -5
  126. package/dist/src/Type/Text.story.d.ts +7 -6
  127. package/dist/src/Type/Typography.story.d.ts +2 -1
  128. package/dist/src/Validation/InlineValidation.story.d.ts +5 -4
  129. package/dist/src/Validation/mapErrorsToList.d.ts +2 -1
  130. package/dist/src/VisualTests/Select.story.d.ts +7 -6
  131. package/dist/src/VisualTests/WithSpace.story.d.ts +19 -18
  132. package/dist/src/pages/ErrorPage.story.d.ts +4 -3
  133. package/dist/src/pages/LoginPage.story.d.ts +6 -5
  134. package/dist/src/utils/DeprecatedComponent.d.ts +2 -1
  135. package/dist/src/utils/DetectOutsideClick.d.ts +1 -1
  136. package/dist/src/utils/PreventBodyElementScrolling.d.ts +1 -1
  137. package/dist/src/utils/ScrollIndicators.d.ts +1 -1
  138. package/dist/src/utils/useWindowDimension.story.d.ts +2 -1
  139. package/dist/src/utils/withWindowDimensions.d.ts +2 -1
  140. package/package.json +6 -6
@@ -11,7 +11,7 @@ export declare const BrandingLink: ({ to, href, children, ...props }: {
11
11
  to: any;
12
12
  href: any;
13
13
  children: any;
14
- }) => JSX.Element;
14
+ }) => React.JSX.Element;
15
15
  export declare const MenuDataPropTypes: {
16
16
  primaryMenu: PropTypes.Requireable<unknown[]>;
17
17
  secondaryMenu: PropTypes.Requireable<unknown[]>;
@@ -30,7 +30,7 @@ export declare const pixelDigitsFrom: (pixelString: any) => number;
30
30
  export declare const MenuIcon: {
31
31
  ({ isOpen }: {
32
32
  isOpen: any;
33
- }): JSX.Element;
33
+ }): React.JSX.Element;
34
34
  propTypes: {
35
35
  isOpen: PropTypes.Requireable<boolean>;
36
36
  };
@@ -39,7 +39,7 @@ export declare const MenuIcon: {
39
39
  };
40
40
  };
41
41
  declare const NavBar: {
42
- (props: any): JSX.Element;
42
+ (props: any): React.JSX.Element;
43
43
  propTypes: {
44
44
  menuData: PropTypes.Requireable<PropTypes.InferProps<{
45
45
  primaryMenu: PropTypes.Requireable<unknown[]>;
@@ -1,75 +1,76 @@
1
+ import React from "react";
1
2
  declare const _default: {
2
3
  title: string;
3
4
  };
4
5
  export default _default;
5
6
  export declare const _NavBar: {
6
- (): JSX.Element;
7
+ (): React.JSX.Element;
7
8
  story: {
8
9
  name: string;
9
10
  };
10
11
  };
11
12
  export declare const WithoutSearch: {
12
- (): JSX.Element;
13
+ (): React.JSX.Element;
13
14
  story: {
14
15
  name: string;
15
16
  };
16
17
  };
17
18
  export declare const WithoutSecondaryMenu: {
18
- (): JSX.Element;
19
+ (): React.JSX.Element;
19
20
  story: {
20
21
  name: string;
21
22
  };
22
23
  };
23
24
  export declare const WithoutSearchAndSecondaryMenu: {
24
- (): JSX.Element;
25
+ (): React.JSX.Element;
25
26
  story: {
26
27
  name: string;
27
28
  };
28
29
  };
29
30
  export declare const WithoutSearchAndPrimaryMenu: {
30
- (): JSX.Element;
31
+ (): React.JSX.Element;
31
32
  story: {
32
33
  name: string;
33
34
  };
34
35
  };
35
36
  export declare const WithBrandingOnly: {
36
- (): JSX.Element;
37
+ (): React.JSX.Element;
37
38
  story: {
38
39
  name: string;
39
40
  };
40
41
  };
41
42
  export declare const WithCustomLinkComponents: {
42
- (): JSX.Element;
43
+ (): React.JSX.Element;
43
44
  story: {
44
45
  name: string;
45
46
  };
46
47
  };
47
48
  export declare const WithTextInTheMenu: {
48
- (): JSX.Element;
49
+ (): React.JSX.Element;
49
50
  story: {
50
51
  name: string;
51
52
  };
52
53
  };
53
54
  export declare const WithSubtext: {
54
- (): JSX.Element;
55
+ (): React.JSX.Element;
55
56
  story: {
56
57
  name: string;
57
58
  };
58
59
  };
59
60
  export declare const WithAlternativeBrandingLink: {
60
- (): JSX.Element;
61
+ (): React.JSX.Element;
61
62
  story: {
62
63
  name: string;
63
64
  };
64
65
  };
65
66
  export declare const WithAlternateThemeColor: {
66
- (): JSX.Element;
67
+ (): React.JSX.Element;
67
68
  story: {
68
69
  name: string;
69
70
  };
70
71
  };
71
72
  export declare const WithReactRouter: {
72
- (): JSX.Element;
73
+ (): React.JSX.Element;
73
74
  story: {
74
75
  name: string;
75
76
  };
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
- declare const NavBarDropdownMenu: React.JSXElementConstructor<import("../utils").WithMenuStateProps>;
2
+ declare const NavBarDropdownMenu: React.JSXElementConstructor<any>;
3
3
  export default NavBarDropdownMenu;
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
- declare const SmallNavBar: React.JSXElementConstructor<import("../utils").WithMenuStateProps>;
2
+ declare const SmallNavBar: React.JSXElementConstructor<any>;
3
3
  export default SmallNavBar;
@@ -1,6 +1,7 @@
1
+ import React from "react";
1
2
  import PropTypes from "prop-types";
2
3
  declare const SubMenuTrigger: {
3
- (props: any): JSX.Element;
4
+ (props: any): React.JSX.Element;
4
5
  propTypes: {
5
6
  name: PropTypes.Validator<string>;
6
7
  menuData: PropTypes.Requireable<PropTypes.InferProps<{}>[]>;
@@ -4,7 +4,7 @@ declare const NavBarSearch: import("styled-components").StyledComponent<{
4
4
  [x: string]: any;
5
5
  name: any;
6
6
  onSubmit: any;
7
- }): JSX.Element;
7
+ }): React.JSX.Element;
8
8
  propTypes: {
9
9
  name: PropTypes.Requireable<string>;
10
10
  onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
@@ -14,4 +14,5 @@ declare const NavBarSearch: import("styled-components").StyledComponent<{
14
14
  onSubmit: () => void;
15
15
  };
16
16
  }, import("styled-components").DefaultTheme, {}, never>;
17
+ import React from "react";
17
18
  import PropTypes from "prop-types";
@@ -1,11 +1,12 @@
1
+ import React from "react";
1
2
  declare const _default: {
2
3
  title: string;
3
4
  };
4
5
  export default _default;
5
6
  export declare const LightDefault: {
6
- (): JSX.Element;
7
+ (): React.JSX.Element;
7
8
  story: {
8
9
  name: string;
9
10
  };
10
11
  };
11
- export declare const Dark: () => JSX.Element;
12
+ export declare const Dark: () => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import PropTypes from "prop-types";
2
3
  declare const NextButton: {
3
4
  ({ disabled, onClick, label, "aria-label": ariaLabel }: {
@@ -5,7 +6,7 @@ declare const NextButton: {
5
6
  onClick: any;
6
7
  label: any;
7
8
  "aria-label": any;
8
- }): JSX.Element;
9
+ }): React.JSX.Element;
9
10
  propTypes: {
10
11
  disabled: PropTypes.Requireable<boolean>;
11
12
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -1,22 +1,23 @@
1
+ import React from "react";
1
2
  declare const _default: {
2
3
  title: string;
3
4
  };
4
5
  export default _default;
5
- export declare const _Pagination: () => JSX.Element;
6
+ export declare const _Pagination: () => React.JSX.Element;
6
7
  export declare const OnTheFirstPage: {
7
- (): JSX.Element;
8
+ (): React.JSX.Element;
8
9
  story: {
9
10
  name: string;
10
11
  };
11
12
  };
12
13
  export declare const OnTheLastPage: {
13
- (): JSX.Element;
14
+ (): React.JSX.Element;
14
15
  story: {
15
16
  name: string;
16
17
  };
17
18
  };
18
19
  export declare const WithLessThan5Pages: {
19
- (): JSX.Element;
20
+ (): React.JSX.Element;
20
21
  story: {
21
22
  name: string;
22
23
  };
@@ -1,6 +1,7 @@
1
+ import React from "react";
1
2
  import PropTypes from "prop-types";
2
3
  declare const PreviousButton: {
3
- ({ disabled, onClick, label, "aria-label": ariaLabel }: any): JSX.Element;
4
+ ({ disabled, onClick, label, "aria-label": ariaLabel }: any): React.JSX.Element;
4
5
  propTypes: {
5
6
  disabled: PropTypes.Requireable<boolean>;
6
7
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -1,36 +1,37 @@
1
+ import React from "react";
1
2
  declare const _default: {
2
3
  title: string;
3
4
  };
4
5
  export default _default;
5
- export declare const _Radio: () => JSX.Element;
6
+ export declare const _Radio: () => React.JSX.Element;
6
7
  export declare const SetToDefaultChecked: {
7
- (): JSX.Element;
8
+ (): React.JSX.Element;
8
9
  story: {
9
10
  name: string;
10
11
  };
11
12
  };
12
13
  export declare const SetToDisabled: {
13
- (): JSX.Element;
14
+ (): React.JSX.Element;
14
15
  story: {
15
16
  name: string;
16
17
  };
17
18
  };
18
- export declare const WithDifferentSizes: () => JSX.Element;
19
+ export declare const WithDifferentSizes: () => React.JSX.Element;
19
20
  export declare const SetToError: {
20
- (): JSX.Element;
21
+ (): React.JSX.Element;
21
22
  story: {
22
23
  name: string;
23
24
  };
24
25
  };
25
26
  export declare const SetToRequired: {
26
- (): JSX.Element;
27
+ (): React.JSX.Element;
27
28
  story: {
28
29
  name: string;
29
30
  };
30
31
  };
31
- export declare const Controlled: () => JSX.Element;
32
+ export declare const Controlled: () => React.JSX.Element;
32
33
  export declare const UsingRefToControlFocus: {
33
- (): JSX.Element;
34
+ (): React.JSX.Element;
34
35
  story: {
35
36
  name: string;
36
37
  };
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  interface RadioGroupProps {
2
3
  className?: string;
3
4
  id?: string;
@@ -12,7 +13,7 @@ interface RadioGroupProps {
12
13
  disabled?: boolean;
13
14
  }
14
15
  declare const RadioGroup: {
15
- ({ className, id, errorMessage, errorList, labelText, helpText, requirementText, ...props }: RadioGroupProps): JSX.Element;
16
+ ({ className, id, errorMessage, errorList, labelText, helpText, requirementText, ...props }: RadioGroupProps): React.JSX.Element;
16
17
  defaultProps: {
17
18
  errorMessage: any;
18
19
  errorList: any;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  declare const _default: {
2
3
  title: string;
3
4
  parameters: {
@@ -8,13 +9,13 @@ declare const _default: {
8
9
  };
9
10
  export default _default;
10
11
  export declare const _RadioGroup: {
11
- (): JSX.Element;
12
+ (): React.JSX.Element;
12
13
  story: {
13
14
  name: string;
14
15
  };
15
16
  };
16
17
  export declare const RadioGroupWithAllProps: {
17
- (): JSX.Element;
18
+ (): React.JSX.Element;
18
19
  story: {
19
20
  name: string;
20
21
  };
@@ -25,21 +26,21 @@ export declare const RadioGroupWithAllProps: {
25
26
  };
26
27
  };
27
28
  export declare const WithErrorMessage: {
28
- (): JSX.Element;
29
+ (): React.JSX.Element;
29
30
  story: {
30
31
  name: string;
31
32
  };
32
33
  };
33
34
  export declare const WithErrorList: {
34
- (): JSX.Element;
35
+ (): React.JSX.Element;
35
36
  story: {
36
37
  name: string;
37
38
  };
38
39
  };
39
40
  export declare const SetToDisabled: {
40
- (): JSX.Element;
41
+ (): React.JSX.Element;
41
42
  story: {
42
43
  name: string;
43
44
  };
44
45
  };
45
- export declare const Controlled: () => JSX.Element;
46
+ export declare const Controlled: () => React.JSX.Element;
@@ -1,9 +1,10 @@
1
+ import React from "react";
1
2
  declare const _default: {
2
3
  title: string;
3
4
  };
4
5
  export default _default;
5
6
  export declare const _RangeContainer: {
6
- (): JSX.Element;
7
+ (): React.JSX.Element;
7
8
  story: {
8
9
  name: string;
9
10
  };
@@ -70,6 +70,6 @@ export declare const SelectDefaultProps: {
70
70
  components: any;
71
71
  closeMenuOnSelect: boolean;
72
72
  };
73
- declare const ReactSelect: React.ForwardRefExoticComponent<Pick<SelectProps, keyof SelectProps> & React.RefAttributes<unknown>>;
73
+ declare const ReactSelect: React.ForwardRefExoticComponent<Omit<SelectProps, "ref"> & React.RefAttributes<unknown>>;
74
74
  export declare const getOption: (options: any, value: any) => any;
75
75
  export default ReactSelect;
@@ -1,111 +1,112 @@
1
+ import React from "react";
1
2
  declare const _default: {
2
3
  title: string;
3
4
  };
4
5
  export default _default;
5
- export declare const _Select: () => JSX.Element;
6
- export declare const WithDifferentSizes: () => JSX.Element;
6
+ export declare const _Select: () => React.JSX.Element;
7
+ export declare const WithDifferentSizes: () => React.JSX.Element;
7
8
  export declare const WithABlankValue: {
8
- (): JSX.Element;
9
+ (): React.JSX.Element;
9
10
  story: {
10
11
  name: string;
11
12
  };
12
13
  };
13
14
  export declare const WithAnOptionSelected: {
14
- (): JSX.Element;
15
+ (): React.JSX.Element;
15
16
  story: {
16
17
  name: string;
17
18
  };
18
19
  };
19
20
  export declare const WithState: {
20
- (): JSX.Element;
21
+ (): React.JSX.Element;
21
22
  story: {
22
23
  name: string;
23
24
  };
24
25
  };
25
26
  export declare const SetToDisabled: {
26
- (): JSX.Element;
27
+ (): React.JSX.Element;
27
28
  story: {
28
29
  name: string;
29
30
  };
30
31
  };
31
32
  export declare const WithErrorMessage: {
32
- (): JSX.Element;
33
+ (): React.JSX.Element;
33
34
  story: {
34
35
  name: string;
35
36
  };
36
37
  };
37
38
  export declare const WithErrorList: {
38
- (): JSX.Element;
39
+ (): React.JSX.Element;
39
40
  story: {
40
41
  name: string;
41
42
  };
42
43
  };
43
44
  export declare const Required: {
44
- (): JSX.Element;
45
+ (): React.JSX.Element;
45
46
  story: {
46
47
  name: string;
47
48
  };
48
49
  };
49
50
  export declare const WithHelpText: {
50
- (): JSX.Element;
51
+ (): React.JSX.Element;
51
52
  story: {
52
53
  name: string;
53
54
  };
54
55
  };
55
56
  export declare const WithCustomId: {
56
- (): JSX.Element;
57
+ (): React.JSX.Element;
57
58
  story: {
58
59
  name: string;
59
60
  };
60
61
  };
61
62
  export declare const WithSmallerMaxHeight: {
62
- (): JSX.Element;
63
+ (): React.JSX.Element;
63
64
  story: {
64
65
  name: string;
65
66
  };
66
67
  };
67
68
  export declare const WithWrappingText: {
68
- (): JSX.Element;
69
+ (): React.JSX.Element;
69
70
  story: {
70
71
  name: string;
71
72
  };
72
73
  };
73
74
  export declare const WithMultiselect: {
74
- (props: any): JSX.Element;
75
+ (props: any): React.JSX.Element;
75
76
  story: {
76
77
  name: string;
77
78
  };
78
79
  };
79
80
  export declare const WithCloseMenuOnSelectTurnedOff: {
80
- (): JSX.Element;
81
+ (): React.JSX.Element;
81
82
  story: {
82
83
  name: string;
83
84
  };
84
85
  };
85
86
  export declare const TestMultiselectOverflow: {
86
- (): JSX.Element;
87
+ (): React.JSX.Element;
87
88
  story: {
88
89
  name: string;
89
90
  };
90
91
  };
91
92
  export declare const WithFixedPositioning: {
92
- (): JSX.Element;
93
+ (): React.JSX.Element;
93
94
  story: {
94
95
  name: string;
95
96
  };
96
97
  };
97
- export declare const WithFetchedOptions: () => JSX.Element;
98
+ export declare const WithFetchedOptions: () => React.JSX.Element;
98
99
  export declare const WithCustomOptionComponent: {
99
- (): JSX.Element;
100
+ (): React.JSX.Element;
100
101
  story: {
101
102
  name: string;
102
103
  };
103
104
  };
104
105
  export declare const UsingRefToControlFocus: {
105
- (): JSX.Element;
106
+ (): React.JSX.Element;
106
107
  story: {
107
108
  name: string;
108
109
  };
109
110
  };
110
- export declare const WithCustomProps: () => JSX.Element;
111
- export declare const WithTopMenuPlacement: () => JSX.Element;
111
+ export declare const WithCustomProps: () => React.JSX.Element;
112
+ export declare const WithTopMenuPlacement: () => React.JSX.Element;
@@ -1,7 +1,8 @@
1
- export declare const SelectControl: (props: any) => JSX.Element;
2
- export declare const SelectMultiValue: (props: any) => JSX.Element;
3
- export declare const SelectClearIndicator: (props: any) => JSX.Element;
4
- export declare const SelectDropdownIndicator: (props: any) => JSX.Element;
5
- export declare const SelectMenu: (props: any) => JSX.Element;
6
- export declare const SelectContainer: (props: any) => JSX.Element;
7
- export declare const SelectInput: (props: any) => JSX.Element;
1
+ import React from "react";
2
+ export declare const SelectControl: (props: any) => React.JSX.Element;
3
+ export declare const SelectMultiValue: (props: any) => React.JSX.Element;
4
+ export declare const SelectClearIndicator: (props: any) => React.JSX.Element;
5
+ export declare const SelectDropdownIndicator: (props: any) => React.JSX.Element;
6
+ export declare const SelectMenu: (props: any) => React.JSX.Element;
7
+ export declare const SelectContainer: (props: any) => React.JSX.Element;
8
+ export declare const SelectInput: (props: any) => React.JSX.Element;
@@ -1 +1,2 @@
1
- export declare const SelectOption: (props: any) => JSX.Element;
1
+ import React from "react";
2
+ export declare const SelectOption: (props: any) => React.JSX.Element;
@@ -22,4 +22,4 @@ declare const _default: {
22
22
  }>;
23
23
  };
24
24
  export default _default;
25
- export declare const _SortingTable: () => JSX.Element;
25
+ export declare const _SortingTable: () => React.JSX.Element;
@@ -1,23 +1,24 @@
1
+ import React from "react";
1
2
  declare const _default: {
2
3
  title: string;
3
4
  };
4
5
  export default _default;
5
- export declare const All: () => JSX.Element;
6
- export declare const Neutral: () => JSX.Element;
7
- export declare const Dark: () => JSX.Element;
8
- export declare const Quiet: () => JSX.Element;
9
- export declare const Informative: () => JSX.Element;
10
- export declare const Success: () => JSX.Element;
11
- export declare const Warning: () => JSX.Element;
12
- export declare const Danger: () => JSX.Element;
6
+ export declare const All: () => React.JSX.Element;
7
+ export declare const Neutral: () => React.JSX.Element;
8
+ export declare const Dark: () => React.JSX.Element;
9
+ export declare const Quiet: () => React.JSX.Element;
10
+ export declare const Informative: () => React.JSX.Element;
11
+ export declare const Success: () => React.JSX.Element;
12
+ export declare const Warning: () => React.JSX.Element;
13
+ export declare const Danger: () => React.JSX.Element;
13
14
  export declare const FollowingText: {
14
- (): JSX.Element;
15
+ (): React.JSX.Element;
15
16
  story: {
16
17
  name: string;
17
18
  };
18
19
  };
19
20
  export declare const InsideFlex: {
20
- (): JSX.Element;
21
+ (): React.JSX.Element;
21
22
  story: {
22
23
  name: string;
23
24
  };
@@ -1,5 +1,6 @@
1
- export declare function Default(): JSX.Element;
2
- export declare function WithMainInfoOnly(): JSX.Element;
1
+ import React from "react";
2
+ export declare function Default(): React.JSX.Element;
3
+ export declare function WithMainInfoOnly(): React.JSX.Element;
3
4
  declare const _default: {
4
5
  title: string;
5
6
  };
@@ -1,2 +1,3 @@
1
- declare const SummaryDivider: (props: any) => JSX.Element;
1
+ import React from "react";
2
+ declare const SummaryDivider: (props: any) => React.JSX.Element;
2
3
  export default SummaryDivider;
@@ -5,5 +5,5 @@ export type SwitchProps = Omit<React.ComponentPropsWithRef<"button">, "value"> &
5
5
  selected?: boolean;
6
6
  size?: ComponentSize;
7
7
  };
8
- declare const Switch: React.ForwardRefExoticComponent<Pick<SwitchProps, "form" | "slot" | "style" | "title" | "key" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "selected" | "size"> & React.RefAttributes<HTMLButtonElement>>;
8
+ declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
9
9
  export default Switch;
@@ -1,7 +1,8 @@
1
- export declare const WithSelectedValue: () => JSX.Element;
2
- export declare const WithDifferentSizes: () => JSX.Element;
3
- export declare const WithOtherInteractiveElements: () => JSX.Element;
4
- export declare const WithContent: () => JSX.Element;
1
+ import React from "react";
2
+ export declare const WithSelectedValue: () => React.JSX.Element;
3
+ export declare const WithDifferentSizes: () => React.JSX.Element;
4
+ export declare const WithOtherInteractiveElements: () => React.JSX.Element;
5
+ export declare const WithContent: () => React.JSX.Element;
5
6
  declare const _default: {
6
7
  title: string;
7
8
  };