@nulogy/components 8.14.2 → 8.14.4

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 +1 -0
  2. package/dist/main.module.js +1 -0
  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 +2 -2
  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 +11 -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
@@ -1,28 +1,29 @@
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 _Form: () => JSX.Element;
6
+ export declare const _Form: () => React.JSX.Element;
6
7
  export declare const WithoutTitle: {
7
- (): JSX.Element;
8
+ (): React.JSX.Element;
8
9
  story: {
9
10
  name: string;
10
11
  };
11
12
  };
12
13
  export declare const WithFormSections: {
13
- (): JSX.Element;
14
+ (): React.JSX.Element;
14
15
  story: {
15
16
  name: string;
16
17
  };
17
18
  };
18
19
  export declare const WithFormSectionsWithoutTitles: {
19
- (): JSX.Element;
20
+ (): React.JSX.Element;
20
21
  story: {
21
22
  name: string;
22
23
  };
23
24
  };
24
25
  export declare const DemoForm: {
25
- (): JSX.Element;
26
+ (): React.JSX.Element;
26
27
  story: {
27
28
  name: string;
28
29
  };
@@ -26,5 +26,5 @@ declare const Icon: import("styled-components").StyledComponent<React.ForwardRef
26
26
  focusable?: boolean;
27
27
  style?: React.CSSProperties;
28
28
  }, never>;
29
- export declare const InlineIcon: (props: IconProps) => JSX.Element;
29
+ export declare const InlineIcon: (props: IconProps) => React.JSX.Element;
30
30
  export default Icon;
@@ -1,39 +1,40 @@
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 BasicIcon: {
6
- (): JSX.Element;
7
+ (): React.JSX.Element;
7
8
  story: {
8
9
  name: string;
9
10
  };
10
11
  };
11
12
  export declare const _InlineIcon: {
12
- (): JSX.Element;
13
+ (): React.JSX.Element;
13
14
  story: {
14
15
  name: string;
15
16
  };
16
17
  };
17
18
  export declare const WithAColor: {
18
- (): JSX.Element;
19
+ (): React.JSX.Element;
19
20
  story: {
20
21
  name: string;
21
22
  };
22
23
  };
23
24
  export declare const WithASize: {
24
- (): JSX.Element;
25
+ (): React.JSX.Element;
25
26
  story: {
26
27
  name: string;
27
28
  };
28
29
  };
29
30
  export declare const WithAddedMargin: {
30
- (): JSX.Element;
31
+ (): React.JSX.Element;
31
32
  story: {
32
33
  name: string;
33
34
  };
34
35
  };
35
36
  export declare const WithAccessibilityTitle: {
36
- (): JSX.Element;
37
+ (): React.JSX.Element;
37
38
  story: {
38
39
  name: string;
39
40
  };
@@ -1,53 +1,54 @@
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 _Input: () => JSX.Element;
6
+ export declare const _Input: () => React.JSX.Element;
6
7
  export declare const WithAllProps: {
7
- (): JSX.Element;
8
+ (): React.JSX.Element;
8
9
  story: {
9
10
  name: string;
10
11
  };
11
12
  };
12
- export declare const WithDifferentSizes: () => JSX.Element;
13
+ export declare const WithDifferentSizes: () => React.JSX.Element;
13
14
  export declare const SetToDisabled: {
14
- (): JSX.Element;
15
+ (): React.JSX.Element;
15
16
  story: {
16
17
  name: string;
17
18
  };
18
19
  };
19
20
  export declare const WithErrorMessage: {
20
- (): JSX.Element;
21
+ (): React.JSX.Element;
21
22
  story: {
22
23
  name: string;
23
24
  };
24
25
  };
25
26
  export declare const WithErrorList: {
26
- (): JSX.Element;
27
+ (): React.JSX.Element;
27
28
  story: {
28
29
  name: string;
29
30
  };
30
31
  };
31
32
  export declare const WithCustomId: {
32
- (): JSX.Element;
33
+ (): React.JSX.Element;
33
34
  story: {
34
35
  name: string;
35
36
  };
36
37
  };
37
38
  export declare const SetToRequired: {
38
- (): JSX.Element;
39
+ (): React.JSX.Element;
39
40
  story: {
40
41
  name: string;
41
42
  };
42
43
  };
43
44
  export declare const WithAAffixPrefixAndSuffix: {
44
- (): JSX.Element;
45
+ (): React.JSX.Element;
45
46
  story: {
46
47
  name: string;
47
48
  };
48
49
  };
49
50
  export declare const UsingRefToControlFocus: {
50
- (): JSX.Element;
51
+ (): React.JSX.Element;
51
52
  story: {
52
53
  name: string;
53
54
  };
@@ -1,7 +1,8 @@
1
+ import React from "react";
1
2
  import { TextProps } from "../Type/Text";
2
3
  type PrefixProps = TextProps & {
3
4
  prefix?: string;
4
5
  prefixWidth?: string;
5
6
  };
6
- declare const Prefix: ({ prefix, prefixWidth, ...props }: PrefixProps) => JSX.Element;
7
+ declare const Prefix: ({ prefix, prefixWidth, ...props }: PrefixProps) => React.JSX.Element;
7
8
  export default Prefix;
@@ -1,10 +1,11 @@
1
+ import React from "react";
1
2
  import { TextProps } from "../Type/Text";
2
3
  type SuffixProps = TextProps & {
3
4
  suffix?: string;
4
5
  suffixWidth?: string;
5
6
  };
6
7
  declare const Suffix: {
7
- ({ suffix, suffixWidth, ...props }: SuffixProps): JSX.Element;
8
+ ({ suffix, suffixWidth, ...props }: SuffixProps): React.JSX.Element;
8
9
  defaultProps: {
9
10
  suffix: any;
10
11
  children: any;
@@ -5,5 +5,5 @@ type ApplicationFrameProps = FlexProps & {
5
5
  environment?: string;
6
6
  children?: React.ReactNode;
7
7
  };
8
- declare const ApplicationFrame: ({ navBar, children, environment, ...props }: ApplicationFrameProps) => JSX.Element;
8
+ declare const ApplicationFrame: ({ navBar, children, environment, ...props }: ApplicationFrameProps) => React.JSX.Element;
9
9
  export default ApplicationFrame;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  declare const _default: {
2
3
  title: string;
3
4
  parameters: {
@@ -5,4 +6,4 @@ declare const _default: {
5
6
  };
6
7
  };
7
8
  export default _default;
8
- export declare const _ApplicationFrame: () => JSX.Element;
9
+ export declare const _ApplicationFrame: () => React.JSX.Element;
@@ -1,11 +1,12 @@
1
- export declare const Default: () => JSX.Element;
2
- export declare const WithActions: () => JSX.Element;
3
- export declare const WithSubTitle: () => JSX.Element;
4
- export declare const WithContent: () => JSX.Element;
5
- export declare const WithSummary: () => JSX.Element;
6
- export declare const WithAnUndecoratedBackground: () => JSX.Element;
7
- export declare const WithCustomBackground: () => JSX.Element;
8
- export declare const WithEverything: () => JSX.Element;
1
+ import React from "react";
2
+ export declare const Default: () => React.JSX.Element;
3
+ export declare const WithActions: () => React.JSX.Element;
4
+ export declare const WithSubTitle: () => React.JSX.Element;
5
+ export declare const WithContent: () => React.JSX.Element;
6
+ export declare const WithSummary: () => React.JSX.Element;
7
+ export declare const WithAnUndecoratedBackground: () => React.JSX.Element;
8
+ export declare const WithCustomBackground: () => React.JSX.Element;
9
+ export declare const WithEverything: () => React.JSX.Element;
9
10
  declare const _default: {
10
11
  title: string;
11
12
  parameters: {
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  declare const _default: {
2
3
  title: string;
3
4
  parameters: {
@@ -5,8 +6,8 @@ declare const _default: {
5
6
  };
6
7
  };
7
8
  export default _default;
8
- export declare const _Page: () => JSX.Element;
9
- export declare const NoPageTitle: () => JSX.Element;
10
- export declare const NoBreadcrumbs: () => JSX.Element;
11
- export declare const NoBackground: () => JSX.Element;
12
- export declare const WithFullHeight: () => JSX.Element;
9
+ export declare const _Page: () => React.JSX.Element;
10
+ export declare const NoPageTitle: () => React.JSX.Element;
11
+ export declare const NoBreadcrumbs: () => React.JSX.Element;
12
+ export declare const NoBackground: () => React.JSX.Element;
13
+ export declare const WithFullHeight: () => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  declare const _default: {
2
3
  title: string;
3
4
  parameters: {
@@ -8,10 +9,10 @@ declare const _default: {
8
9
  };
9
10
  };
10
11
  export default _default;
11
- export declare const _Sidebar: () => JSX.Element;
12
- export declare const WithoutOverlay: () => JSX.Element;
13
- export declare const OpenByDefault: () => JSX.Element;
14
- export declare const WithCustomOffset: () => JSX.Element;
15
- export declare const DontCloseOnOutsideClick: () => JSX.Element;
16
- export declare const WithoutCloseButton: () => JSX.Element;
17
- export declare const WithALongTitle: () => JSX.Element;
12
+ export declare const _Sidebar: () => React.JSX.Element;
13
+ export declare const WithoutOverlay: () => React.JSX.Element;
14
+ export declare const OpenByDefault: () => React.JSX.Element;
15
+ export declare const WithCustomOffset: () => React.JSX.Element;
16
+ export declare const DontCloseOnOutsideClick: () => React.JSX.Element;
17
+ export declare const WithoutCloseButton: () => React.JSX.Element;
18
+ export declare const WithALongTitle: () => React.JSX.Element;
@@ -1,12 +1,12 @@
1
1
  import React from "react";
2
2
  import { StyledProps } from "../StyledProps";
3
3
  import { ComponentSize } from "../NDSProvider/ComponentSizeContext";
4
- export type LinkProps = React.ComponentPropsWithRef<"a"> & StyledProps & {
4
+ export type LinkProps = React.ComponentPropsWithRef<"a"> & Partial<StyledProps> & {
5
5
  underline?: boolean;
6
6
  hover?: string;
7
7
  size?: ComponentSize;
8
8
  to?: string;
9
9
  as?: React.ElementType | string;
10
10
  };
11
- declare const Link: React.ForwardRefExoticComponent<Pick<LinkProps, "p" | "slot" | "style" | "title" | "key" | "download" | "href" | "hrefLang" | "media" | "ping" | "rel" | "target" | "type" | "referrerPolicy" | "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" | "size" | "py" | "px" | "underline" | "as" | "border" | "borderX" | "borderY" | "borderWidth" | "borderTopWidth" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopStyle" | "borderBottomStyle" | "borderLeftStyle" | "borderRightStyle" | "borderColor" | "borderTopColor" | "borderBottomColor" | "borderLeftColor" | "borderRightColor" | "borderRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "boxShadow" | "bg" | "backgroundColor" | "opacity" | "cursor" | "width" | "height" | "minWidth" | "minHeight" | "maxWidth" | "maxHeight" | "display" | "verticalAlign" | "overflow" | "overflowX" | "overflowY" | "m" | "margin" | "mt" | "marginTop" | "mr" | "marginRight" | "mb" | "marginBottom" | "ml" | "marginLeft" | "mx" | "marginX" | "my" | "marginY" | "padding" | "pt" | "paddingTop" | "pr" | "paddingRight" | "pb" | "paddingBottom" | "pl" | "paddingLeft" | "paddingX" | "paddingY" | "whiteSpace" | "textOverflow" | "transform" | "transition" | "transitionProperty" | "transitonDuration" | "transitionTimingFunction" | "transitionDelay" | "fontFamily" | "fontSize" | "fontWeight" | "lineHeight" | "letterSpacing" | "fontStyle" | "textAlign" | "visibility" | "alignItems" | "alignContent" | "justifyItems" | "justifyContent" | "flexWrap" | "flexDirection" | "flex" | "flexGrow" | "flexShrink" | "flexBasis" | "justifySelf" | "alignSelf" | "order" | "hover" | "to"> & React.RefAttributes<HTMLLinkElement>>;
11
+ declare const Link: React.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & React.RefAttributes<HTMLLinkElement>>;
12
12
  export default Link;
@@ -1,41 +1,42 @@
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 _Link: {
6
- (): JSX.Element;
7
+ (): React.JSX.Element;
7
8
  story: {
8
9
  name: string;
9
10
  };
10
11
  };
11
12
  export declare const WithCustomFontSize: {
12
- (): JSX.Element;
13
+ (): React.JSX.Element;
13
14
  story: {
14
15
  name: string;
15
16
  };
16
17
  };
17
18
  export declare const WithoutUnderline: {
18
- (): JSX.Element;
19
+ (): React.JSX.Element;
19
20
  story: {
20
21
  name: string;
21
22
  };
22
23
  };
23
24
  export declare const WithADifferentColor: {
24
- (): JSX.Element;
25
+ (): React.JSX.Element;
25
26
  story: {
26
27
  name: string;
27
28
  };
28
29
  };
29
- export declare const WithADifferentFontSize: () => JSX.Element;
30
- export declare const WithDifferentSizes: () => JSX.Element;
30
+ export declare const WithADifferentFontSize: () => React.JSX.Element;
31
+ export declare const WithDifferentSizes: () => React.JSX.Element;
31
32
  export declare const AsAButton: {
32
- (): JSX.Element;
33
+ (): React.JSX.Element;
33
34
  story: {
34
35
  name: string;
35
36
  };
36
37
  };
37
38
  export declare const _ReactRouterLink: {
38
- (): JSX.Element;
39
+ (): React.JSX.Element;
39
40
  story: {
40
41
  name: string;
41
42
  };
@@ -1,28 +1,29 @@
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 _List: () => JSX.Element;
6
+ export declare const _List: () => React.JSX.Element;
6
7
  export declare const WithCustomColour: {
7
- (): JSX.Element;
8
+ (): React.JSX.Element;
8
9
  story: {
9
10
  name: string;
10
11
  };
11
12
  };
12
13
  export declare const WithCustomFontSizeAndLineHeight: {
13
- (): JSX.Element;
14
+ (): React.JSX.Element;
14
15
  story: {
15
16
  name: string;
16
17
  };
17
18
  };
18
19
  export declare const WithCompactSpacing: {
19
- (): JSX.Element;
20
+ (): React.JSX.Element;
20
21
  story: {
21
22
  name: string;
22
23
  };
23
24
  };
24
25
  export declare const WithLeftAlignment: {
25
- (): JSX.Element;
26
+ (): React.JSX.Element;
26
27
  story: {
27
28
  name: string;
28
29
  };
@@ -1,17 +1,18 @@
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 Active: () => JSX.Element;
6
- export declare const Inactive: () => JSX.Element;
6
+ export declare const Active: () => React.JSX.Element;
7
+ export declare const Inactive: () => React.JSX.Element;
7
8
  export declare const PageExampleActive: {
8
- (): JSX.Element;
9
+ (): React.JSX.Element;
9
10
  story: {
10
11
  name: string;
11
12
  };
12
13
  };
13
14
  export declare const PageExampleInactive: {
14
- (): JSX.Element;
15
+ (): React.JSX.Element;
15
16
  story: {
16
17
  name: string;
17
18
  };
@@ -1,64 +1,65 @@
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 _Modal: () => JSX.Element;
6
+ export declare const _Modal: () => React.JSX.Element;
6
7
  export declare const WithCloseButton: {
7
- (): JSX.Element;
8
+ (): React.JSX.Element;
8
9
  story: {
9
10
  name: string;
10
11
  };
11
12
  };
12
13
  export declare const WithScrollingContent: {
13
- (): JSX.Element;
14
+ (): React.JSX.Element;
14
15
  story: {
15
16
  name: string;
16
17
  };
17
18
  };
18
19
  export declare const WithScrollingContentWithoutFooterContent: {
19
- (): JSX.Element;
20
+ (): React.JSX.Element;
20
21
  story: {
21
22
  name: string;
22
23
  };
23
24
  };
24
25
  export declare const WithNoTitle: {
25
- (): JSX.Element;
26
+ (): React.JSX.Element;
26
27
  story: {
27
28
  name: string;
28
29
  };
29
30
  };
30
31
  export declare const WithNoFooterContent: {
31
- (): JSX.Element;
32
+ (): React.JSX.Element;
32
33
  story: {
33
34
  name: string;
34
35
  };
35
36
  };
36
37
  export declare const WithCustomMaxWidth: {
37
- (): JSX.Element;
38
+ (): React.JSX.Element;
38
39
  story: {
39
40
  name: string;
40
41
  };
41
42
  };
42
43
  export declare const WithSelect: {
43
- (): JSX.Element;
44
+ (): React.JSX.Element;
44
45
  story: {
45
46
  name: string;
46
47
  };
47
48
  };
48
49
  export declare const WithSelectAndScrollingContent: {
49
- (): JSX.Element;
50
+ (): React.JSX.Element;
50
51
  story: {
51
52
  name: string;
52
53
  };
53
54
  };
54
55
  export declare const WithParentSelector: {
55
- (): JSX.Element;
56
+ (): React.JSX.Element;
56
57
  story: {
57
58
  name: string;
58
59
  };
59
60
  };
60
61
  export declare const ExampleControlledModal: {
61
- (): JSX.Element;
62
+ (): React.JSX.Element;
62
63
  story: {
63
64
  name: string;
64
65
  };
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const ModalCloseButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<unknown>>, import("styled-components").DefaultTheme, {}, never>;
2
+ declare const ModalCloseButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<unknown>>, import("styled-components").DefaultTheme, {}, never>;
3
3
  export default ModalCloseButton;
@@ -1,10 +1,11 @@
1
+ import React from "react";
1
2
  import PropTypes from "prop-types";
2
3
  declare const DesktopMenu: import("styled-components").StyledComponent<{
3
4
  ({ menuData, themeColorObject, ...props }: {
4
5
  [x: string]: any;
5
6
  menuData: any;
6
7
  themeColorObject: any;
7
- }): JSX.Element;
8
+ }): React.JSX.Element;
8
9
  propTypes: {
9
10
  menuData: PropTypes.Requireable<PropTypes.InferProps<{}>[]>;
10
11
  themeColorObject: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import PropTypes from "prop-types";
2
3
  export type MenuTriggerProps = {
3
4
  name?: string;
@@ -8,7 +9,7 @@ export type MenuTriggerProps = {
8
9
  menuData?: any[];
9
10
  };
10
11
  declare const MenuTrigger: {
11
- (props: any): JSX.Element;
12
+ (props: any): React.JSX.Element;
12
13
  propTypes: {
13
14
  name: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
14
15
  "aria-label": PropTypes.Requireable<string>;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import PropTypes from "prop-types";
2
3
  declare const MobileMenu: import("styled-components").StyledComponent<{
3
4
  ({ menuData, closeMenu, subtext, includeSubtext, themeColorObject, ...props }: {
@@ -7,7 +8,7 @@ declare const MobileMenu: import("styled-components").StyledComponent<{
7
8
  subtext: any;
8
9
  includeSubtext: any;
9
10
  themeColorObject: any;
10
- }): JSX.Element;
11
+ }): React.JSX.Element;
11
12
  propTypes: {
12
13
  menuData: PropTypes.Requireable<PropTypes.InferProps<{
13
14
  primaryMenu: PropTypes.Requireable<PropTypes.InferProps<{}>[]>;
@@ -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;