@cloudoperators/juno-ui-components 2.36.0 → 2.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/build/index.js +1607 -1595
  2. package/build/src/components/AppShell/AppShell.component.d.ts +6 -6
  3. package/build/src/components/AppShell/AppShell.component.d.ts.map +1 -1
  4. package/build/src/components/BreadcrumbItem/BreadcrumbItem.component.d.ts +1 -1
  5. package/build/src/components/BreadcrumbItem/BreadcrumbItem.component.d.ts.map +1 -1
  6. package/build/src/components/Button/Button.component.d.ts +1 -1
  7. package/build/src/components/Button/Button.component.d.ts.map +1 -1
  8. package/build/src/components/Button/Button.stories.d.ts +8 -0
  9. package/build/src/components/Button/Button.stories.d.ts.map +1 -1
  10. package/build/src/components/ButtonRow/ButtonRow.stories.d.ts +0 -1
  11. package/build/src/components/ButtonRow/ButtonRow.stories.d.ts.map +1 -1
  12. package/build/src/components/Checkbox/Checkbox.component.d.ts +5 -5
  13. package/build/src/components/Checkbox/Checkbox.component.d.ts.map +1 -1
  14. package/build/src/components/CheckboxGroup/CheckboxGroup.component.d.ts +7 -8
  15. package/build/src/components/CheckboxGroup/CheckboxGroup.component.d.ts.map +1 -1
  16. package/build/src/components/CheckboxGroup/CheckboxGroup.stories.d.ts +7 -0
  17. package/build/src/components/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
  18. package/build/src/components/CodeBlock/CodeBlock.component.d.ts +4 -4
  19. package/build/src/components/CodeBlock/CodeBlock.component.d.ts.map +1 -1
  20. package/build/src/components/CodeBlock/CodeBlock.stories.d.ts +5 -0
  21. package/build/src/components/CodeBlock/CodeBlock.stories.d.ts.map +1 -1
  22. package/build/src/components/ComboBox/ComboBox.component.d.ts +7 -8
  23. package/build/src/components/ComboBox/ComboBox.component.d.ts.map +1 -1
  24. package/build/src/components/Container/Container.stories.d.ts +5 -0
  25. package/build/src/components/Container/Container.stories.d.ts.map +1 -1
  26. package/build/src/components/ContentContainer/ContentContainer.component.d.ts +3 -3
  27. package/build/src/components/ContentContainer/ContentContainer.component.d.ts.map +1 -1
  28. package/build/src/components/ContentHeading/ContentHeading.component.d.ts +3 -3
  29. package/build/src/components/ContentHeading/ContentHeading.component.d.ts.map +1 -1
  30. package/build/src/components/DataGrid/DataGrid.component.d.ts +1 -1
  31. package/build/src/components/DataGrid/DataGrid.component.d.ts.map +1 -1
  32. package/build/src/components/DataGrid/DataGrid.stories.d.ts +5 -0
  33. package/build/src/components/DataGrid/DataGrid.stories.d.ts.map +1 -1
  34. package/build/src/components/DataGridCell/DataGridCell.component.d.ts +1 -1
  35. package/build/src/components/DataGridCell/DataGridCell.component.d.ts.map +1 -1
  36. package/build/src/components/DataGridCell/DataGridCell.stories.d.ts +5 -0
  37. package/build/src/components/DataGridCell/DataGridCell.stories.d.ts.map +1 -1
  38. package/build/src/components/DataGridCheckboxCell/DataGridCheckboxCell.stories.d.ts +0 -5
  39. package/build/src/components/DataGridCheckboxCell/DataGridCheckboxCell.stories.d.ts.map +1 -1
  40. package/build/src/components/DataGridFoot/DataGridFoot.component.d.ts +1 -1
  41. package/build/src/components/DataGridFoot/DataGridFoot.component.d.ts.map +1 -1
  42. package/build/src/components/DataGridFoot/DataGridFoot.stories.d.ts +5 -0
  43. package/build/src/components/DataGridFoot/DataGridFoot.stories.d.ts.map +1 -1
  44. package/build/src/components/DataGridHeadCell/DataGridHeadCell.component.d.ts +1 -1
  45. package/build/src/components/DataGridHeadCell/DataGridHeadCell.component.d.ts.map +1 -1
  46. package/build/src/components/DataGridHeadCell/DataGridHeadCell.stories.d.ts +5 -0
  47. package/build/src/components/DataGridHeadCell/DataGridHeadCell.stories.d.ts.map +1 -1
  48. package/build/src/components/DataGridRow/DataGridRow.component.d.ts +1 -1
  49. package/build/src/components/DataGridRow/DataGridRow.component.d.ts.map +1 -1
  50. package/build/src/components/DataGridRow/DataGridRow.stories.d.ts +5 -0
  51. package/build/src/components/DataGridRow/DataGridRow.stories.d.ts.map +1 -1
  52. package/build/src/components/DataGridToolbar/DataGridToolbar.component.d.ts +2 -2
  53. package/build/src/components/DataGridToolbar/DataGridToolbar.component.d.ts.map +1 -1
  54. package/build/src/components/DataGridToolbar/DataGridToolbar.stories.d.ts +10 -4
  55. package/build/src/components/DataGridToolbar/DataGridToolbar.stories.d.ts.map +1 -1
  56. package/build/src/components/DateTimePicker/DateTimePicker.component.d.ts +21 -40
  57. package/build/src/components/DateTimePicker/DateTimePicker.component.d.ts.map +1 -1
  58. package/build/src/components/FormHint/FormHint.component.d.ts +1 -1
  59. package/build/src/components/FormHint/FormHint.component.d.ts.map +1 -1
  60. package/build/src/components/FormattedText/FormattedText.stories.d.ts +5 -0
  61. package/build/src/components/FormattedText/FormattedText.stories.d.ts.map +1 -1
  62. package/build/src/components/Icon/Icon.component.d.ts +1 -1
  63. package/build/src/components/Icon/Icon.component.d.ts.map +1 -1
  64. package/build/src/components/IntroBox/IntroBox.component.d.ts +4 -6
  65. package/build/src/components/IntroBox/IntroBox.component.d.ts.map +1 -1
  66. package/build/src/components/JsonViewer/JsonViewer.component.d.ts +3 -1
  67. package/build/src/components/JsonViewer/JsonViewer.component.d.ts.map +1 -1
  68. package/build/src/components/MainContainer/MainContainer.stories.d.ts +5 -0
  69. package/build/src/components/MainContainer/MainContainer.stories.d.ts.map +1 -1
  70. package/build/src/components/MainTabs/MainTabs.component.d.ts +2 -6
  71. package/build/src/components/MainTabs/MainTabs.component.d.ts.map +1 -1
  72. package/build/src/components/MainTabs/MainTabs.stories.d.ts +5 -0
  73. package/build/src/components/MainTabs/MainTabs.stories.d.ts.map +1 -1
  74. package/build/src/components/Modal/Modal.component.d.ts +5 -6
  75. package/build/src/components/Modal/Modal.component.d.ts.map +1 -1
  76. package/build/src/components/Modal/Modal.stories.d.ts +5 -0
  77. package/build/src/components/Modal/Modal.stories.d.ts.map +1 -1
  78. package/build/src/components/ModalFooter/ModalFooter.component.d.ts +5 -5
  79. package/build/src/components/ModalFooter/ModalFooter.component.d.ts.map +1 -1
  80. package/build/src/components/NativeSelect/NativeSelect.component.d.ts +3 -3
  81. package/build/src/components/NativeSelect/NativeSelect.component.d.ts.map +1 -1
  82. package/build/src/components/Navigation/Navigation.component.d.ts +7 -10
  83. package/build/src/components/Navigation/Navigation.component.d.ts.map +1 -1
  84. package/build/src/components/Navigation/Navigation.stories.d.ts +11 -4
  85. package/build/src/components/Navigation/Navigation.stories.d.ts.map +1 -1
  86. package/build/src/components/NavigationItem/NavigationItem.component.d.ts +3 -5
  87. package/build/src/components/NavigationItem/NavigationItem.component.d.ts.map +1 -1
  88. package/build/src/components/PageFooter/PageFooter.stories.d.ts +5 -0
  89. package/build/src/components/PageFooter/PageFooter.stories.d.ts.map +1 -1
  90. package/build/src/components/PageHeader/PageHeader.component.d.ts +5 -5
  91. package/build/src/components/PageHeader/PageHeader.component.d.ts.map +1 -1
  92. package/build/src/components/PageHeader/PageHeader.stories.d.ts.map +1 -1
  93. package/build/src/components/Pagination/Pagination.stories.d.ts.map +1 -1
  94. package/build/src/components/Panel/Panel.component.d.ts +2 -2
  95. package/build/src/components/Panel/Panel.component.d.ts.map +1 -1
  96. package/build/src/components/PanelBody/PanelBody.component.d.ts +2 -2
  97. package/build/src/components/PanelBody/PanelBody.component.d.ts.map +1 -1
  98. package/build/src/components/Pill/Pill.component.d.ts +2 -2
  99. package/build/src/components/Pill/Pill.component.d.ts.map +1 -1
  100. package/build/src/components/Pill/Pill.stories.d.ts +16 -1
  101. package/build/src/components/Pill/Pill.stories.d.ts.map +1 -1
  102. package/build/src/components/PopupMenu/PopupMenu.component.d.ts +8 -8
  103. package/build/src/components/PopupMenu/PopupMenu.component.d.ts.map +1 -1
  104. package/build/src/components/PopupMenu/PopupMenu.stories.d.ts.map +1 -1
  105. package/build/src/components/Radio/Radio.component.d.ts +5 -7
  106. package/build/src/components/Radio/Radio.component.d.ts.map +1 -1
  107. package/build/src/components/RadioGroup/RadioGroup.component.d.ts +6 -6
  108. package/build/src/components/RadioGroup/RadioGroup.component.d.ts.map +1 -1
  109. package/build/src/components/RadioGroup/RadioGroup.stories.d.ts +7 -0
  110. package/build/src/components/RadioGroup/RadioGroup.stories.d.ts.map +1 -1
  111. package/build/src/components/SearchInput/SearchInput.component.d.ts +6 -6
  112. package/build/src/components/SearchInput/SearchInput.component.d.ts.map +1 -1
  113. package/build/src/components/SecretText/SecretText.component.d.ts +6 -8
  114. package/build/src/components/SecretText/SecretText.component.d.ts.map +1 -1
  115. package/build/src/components/Select/Select.component.d.ts +8 -8
  116. package/build/src/components/Select/Select.component.d.ts.map +1 -1
  117. package/build/src/components/SelectOption/SelectOption.stories.d.ts +8 -1
  118. package/build/src/components/SelectOption/SelectOption.stories.d.ts.map +1 -1
  119. package/build/src/components/SideNavigation/SideNavigation.component.d.ts +4 -7
  120. package/build/src/components/SideNavigation/SideNavigation.component.d.ts.map +1 -1
  121. package/build/src/components/SideNavigationItem/SideNavigationItem.component.d.ts +2 -2
  122. package/build/src/components/SideNavigationItem/SideNavigationItem.component.d.ts.map +1 -1
  123. package/build/src/components/Spinner/Spinner.component.d.ts +1 -1
  124. package/build/src/components/Spinner/Spinner.component.d.ts.map +1 -1
  125. package/build/src/components/Stack/Stack.component.d.ts +1 -1
  126. package/build/src/components/Stack/Stack.component.d.ts.map +1 -1
  127. package/build/src/components/Stack/Stack.stories.d.ts +5 -0
  128. package/build/src/components/Stack/Stack.stories.d.ts.map +1 -1
  129. package/build/src/components/StyleProvider/StyleProvider.component.d.ts +3 -3
  130. package/build/src/components/StyleProvider/StyleProvider.component.d.ts.map +1 -1
  131. package/build/src/components/Switch/Switch.component.d.ts +4 -4
  132. package/build/src/components/Switch/Switch.component.d.ts.map +1 -1
  133. package/build/src/components/Tab/Tab.component.d.ts +1 -1
  134. package/build/src/components/Tab/Tab.component.d.ts.map +1 -1
  135. package/build/src/components/Tab/Tab.stories.d.ts +5 -0
  136. package/build/src/components/Tab/Tab.stories.d.ts.map +1 -1
  137. package/build/src/components/TabList/TabList.component.d.ts +1 -2
  138. package/build/src/components/TabList/TabList.component.d.ts.map +1 -1
  139. package/build/src/components/TabList/TabList.stories.d.ts +6 -1
  140. package/build/src/components/TabList/TabList.stories.d.ts.map +1 -1
  141. package/build/src/components/TabNavigation/TabNavigation.component.d.ts +4 -7
  142. package/build/src/components/TabNavigation/TabNavigation.component.d.ts.map +1 -1
  143. package/build/src/components/TabNavigationItem/TabNavigationItem.component.d.ts +1 -1
  144. package/build/src/components/TabPanel/TabPanel.component.d.ts +1 -1
  145. package/build/src/components/TabPanel/TabPanel.component.d.ts.map +1 -1
  146. package/build/src/components/TabPanel/TabPanel.stories.d.ts +5 -0
  147. package/build/src/components/TabPanel/TabPanel.stories.d.ts.map +1 -1
  148. package/build/src/components/Tabs/Tabs.component.d.ts +2 -6
  149. package/build/src/components/Tabs/Tabs.component.d.ts.map +1 -1
  150. package/build/src/components/Tabs/Tabs.stories.d.ts +5 -0
  151. package/build/src/components/Tabs/Tabs.stories.d.ts.map +1 -1
  152. package/build/src/components/TextInput/TextInput.component.d.ts +6 -6
  153. package/build/src/components/TextInput/TextInput.component.d.ts.map +1 -1
  154. package/build/src/components/Textarea/Textarea.component.d.ts +6 -6
  155. package/build/src/components/Textarea/Textarea.component.d.ts.map +1 -1
  156. package/build/src/components/ThemeToggle/ThemeToggle.component.d.ts +1 -1
  157. package/build/src/components/ThemeToggle/ThemeToggle.component.d.ts.map +1 -1
  158. package/build/src/components/Toast/Toast.component.d.ts +1 -1
  159. package/build/src/components/Toast/Toast.component.d.ts.map +1 -1
  160. package/build/src/components/TopNavigation/TopNavigation.component.d.ts +4 -7
  161. package/build/src/components/TopNavigation/TopNavigation.component.d.ts.map +1 -1
  162. package/build/src/components/TopNavigationItem/TopNavigationItem.component.d.ts +2 -2
  163. package/build/src/components/TopNavigationItem/TopNavigationItem.component.d.ts.map +1 -1
  164. package/build/src/{components → deprecated_js}/ContextMenu/ContextMenu.component.d.ts +1 -1
  165. package/build/src/deprecated_js/ContextMenu/ContextMenu.component.d.ts.map +1 -0
  166. package/build/src/{components → deprecated_js}/ContextMenu/ContextMenu.stories.d.ts +1 -1
  167. package/build/src/deprecated_js/ContextMenu/ContextMenu.stories.d.ts.map +1 -0
  168. package/build/src/deprecated_js/ContextMenu/ContextMenu.test.d.ts.map +1 -0
  169. package/build/src/deprecated_js/ContextMenu/index.d.ts.map +1 -0
  170. package/build/src/deprecated_js/Menu/Menu.component.d.ts.map +1 -0
  171. package/build/src/{components → deprecated_js}/Menu/Menu.stories.d.ts +1 -1
  172. package/build/src/deprecated_js/Menu/Menu.stories.d.ts.map +1 -0
  173. package/build/src/deprecated_js/Menu/Menu.test.d.ts.map +1 -0
  174. package/build/src/deprecated_js/Menu/index.d.ts.map +1 -0
  175. package/build/src/{components → deprecated_js}/MenuItem/MenuItem.component.d.ts +1 -1
  176. package/build/src/deprecated_js/MenuItem/MenuItem.component.d.ts.map +1 -0
  177. package/build/src/deprecated_js/MenuItem/MenuItem.stories.d.ts.map +1 -0
  178. package/build/src/deprecated_js/MenuItem/MenuItem.test.d.ts.map +1 -0
  179. package/build/src/deprecated_js/MenuItem/index.d.ts.map +1 -0
  180. package/build/src/deprecated_js/MenuSection/MenuSection.component.d.ts.map +1 -0
  181. package/build/src/deprecated_js/MenuSection/MenuSection.stories.d.ts.map +1 -0
  182. package/build/src/deprecated_js/MenuSection/MenuSection.test.d.ts.map +1 -0
  183. package/build/src/deprecated_js/MenuSection/index.d.ts.map +1 -0
  184. package/build/src/index.d.ts +5 -4
  185. package/build/src/index.d.ts.map +1 -1
  186. package/build/style.css +1 -1
  187. package/package.json +1 -1
  188. package/build/src/components/ContextMenu/ContextMenu.component.d.ts.map +0 -1
  189. package/build/src/components/ContextMenu/ContextMenu.stories.d.ts.map +0 -1
  190. package/build/src/components/ContextMenu/ContextMenu.test.d.ts.map +0 -1
  191. package/build/src/components/ContextMenu/index.d.ts.map +0 -1
  192. package/build/src/components/Menu/Menu.component.d.ts.map +0 -1
  193. package/build/src/components/Menu/Menu.stories.d.ts.map +0 -1
  194. package/build/src/components/Menu/Menu.test.d.ts.map +0 -1
  195. package/build/src/components/Menu/index.d.ts.map +0 -1
  196. package/build/src/components/MenuItem/MenuItem.component.d.ts.map +0 -1
  197. package/build/src/components/MenuItem/MenuItem.stories.d.ts.map +0 -1
  198. package/build/src/components/MenuItem/MenuItem.test.d.ts.map +0 -1
  199. package/build/src/components/MenuItem/index.d.ts.map +0 -1
  200. package/build/src/components/MenuSection/MenuSection.component.d.ts.map +0 -1
  201. package/build/src/components/MenuSection/MenuSection.stories.d.ts.map +0 -1
  202. package/build/src/components/MenuSection/MenuSection.test.d.ts.map +0 -1
  203. package/build/src/components/MenuSection/index.d.ts.map +0 -1
  204. /package/build/src/{components → deprecated_js}/ContextMenu/ContextMenu.test.d.ts +0 -0
  205. /package/build/src/{components → deprecated_js}/ContextMenu/index.d.ts +0 -0
  206. /package/build/src/{components → deprecated_js}/Menu/Menu.component.d.ts +0 -0
  207. /package/build/src/{components → deprecated_js}/Menu/Menu.test.d.ts +0 -0
  208. /package/build/src/{components → deprecated_js}/Menu/index.d.ts +0 -0
  209. /package/build/src/{components → deprecated_js}/MenuItem/MenuItem.stories.d.ts +0 -0
  210. /package/build/src/{components → deprecated_js}/MenuItem/MenuItem.test.d.ts +0 -0
  211. /package/build/src/{components → deprecated_js}/MenuItem/index.d.ts +0 -0
  212. /package/build/src/{components → deprecated_js}/MenuSection/MenuSection.component.d.ts +0 -0
  213. /package/build/src/{components → deprecated_js}/MenuSection/MenuSection.stories.d.ts +0 -0
  214. /package/build/src/{components → deprecated_js}/MenuSection/MenuSection.test.d.ts +0 -0
  215. /package/build/src/{components → deprecated_js}/MenuSection/index.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridRow.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridRow/DataGridRow.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAQzC,eAAO,MAAM,WAAW,yFAuBvB,CAAA;AAID,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAK5E,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,GAAG,IAAI,CAAA;IACtD,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CAGnB"}
1
+ {"version":3,"file":"DataGridRow.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridRow/DataGridRow.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAQzC,eAAO,MAAM,WAAW,yFAuBvB,CAAA;AAID,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAK5E,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CAGnB"}
@@ -12,6 +12,11 @@ declare const _default: {
12
12
  };
13
13
  children: {
14
14
  control: boolean;
15
+ table: {
16
+ type: {
17
+ summary: string;
18
+ };
19
+ };
15
20
  };
16
21
  };
17
22
  decorators: ((story: StoryFunction) => React.JSX.Element)[];
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridRow.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridRow/DataGridRow.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAY,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAI3D,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA;;;;;;;;;;;;;;yBAef,aAAa;;;;;;;;;AAbpC,wBAqBC;AAUD,UAAU,aAAa;IACrB,KAAK,EAAE,aAAa,EAAE,CAAA;CACvB;AAED,eAAO,MAAM,OAAO;iCAZkB,aAAa;;;;;;;;;;;CA0BlD,CAAA"}
1
+ {"version":3,"file":"DataGridRow.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridRow/DataGridRow.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAY,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAI3D,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA;;;;;;;;;;;;;;;;;;;yBAkBf,aAAa;;;;;;;;;AAhBpC,wBAwBC;AAUD,UAAU,aAAa;IACrB,KAAK,EAAE,aAAa,EAAE,CAAA;CACvB;AAED,eAAO,MAAM,OAAO;iCAZkB,aAAa;;;;;;;;;;;CA0BlD,CAAA"}
@@ -3,9 +3,9 @@ import { default as React } from 'react';
3
3
  export declare const DataGridToolbar: React.FC<DataGridToolbarProps>;
4
4
  export interface DataGridToolbarProps extends React.HTMLAttributes<HTMLDivElement> {
5
5
  /** Pass an optional SearchInput component */
6
- search?: JSX.Element;
6
+ search?: React.ReactElement;
7
7
  /** Children to render in the DataGridToolbar */
8
- children?: JSX.Element | null;
8
+ children?: React.ReactNode;
9
9
  /** Add a classname */
10
10
  className?: string;
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridToolbar.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridToolbar/DataGridToolbar.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAezB,mOAAmO;AACnO,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAO1D,CAAA;AAED,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChF,6CAA6C;IAC7C,MAAM,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IACpB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,IAAI,CAAA;IAC7B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
1
+ {"version":3,"file":"DataGridToolbar.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridToolbar/DataGridToolbar.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAezB,mOAAmO;AACnO,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAO1D,CAAA;AAED,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChF,6CAA6C;IAC7C,MAAM,CAAC,EAAE,KAAK,CAAC,YAAY,CAAA;IAC3B,gDAAgD;IAChD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -5,13 +5,19 @@ declare const _default: {
5
5
  component: React.FC<DataGridToolbarProps>;
6
6
  argTypes: {
7
7
  children: {
8
- control: {
9
- type: string;
8
+ control: boolean;
9
+ table: {
10
+ type: {
11
+ summary: string;
12
+ };
10
13
  };
11
14
  };
12
15
  search: {
13
- control: {
14
- type: string;
16
+ control: boolean;
17
+ table: {
18
+ type: {
19
+ summary: string;
20
+ };
15
21
  };
16
22
  };
17
23
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridToolbar.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridToolbar/DataGridToolbar.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAmB,oBAAoB,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;AAE/D,wBAWC;AAQD,eAAO,MAAM,OAAO;mBANI,oBAAoB;;;;;;;;;CAkB3C,CAAA"}
1
+ {"version":3,"file":"DataGridToolbar.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridToolbar/DataGridToolbar.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAmB,oBAAoB,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;;;;AAE/D,wBAiBC;AAQD,eAAO,MAAM,OAAO;mBANI,oBAAoB;;;;;;;;;CAkB3C,CAAA"}
@@ -1,13 +1,10 @@
1
- import { default as React } from 'react';
1
+ import { default as React, ReactNode } from 'react';
2
2
  import { default as flatpickr } from 'flatpickr';
3
3
  import { DateOption, DateLimit } from 'flatpickr/dist/types/options';
4
- import { CustomLocale } from 'flatpickr/dist/types/locale';
4
+ import { key as LocaleKey, CustomLocale } from 'flatpickr/dist/types/locale';
5
5
  /** A all-purpose date and time picker component. Highly configurable, based on Flatpickr. */
6
6
  export declare const DateTimePicker: React.FC<DateTimePickerProps>;
7
7
  type DateChangeHandler = (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void;
8
- type LegacyEventHandler = (...args: unknown[]) => any;
9
- type BackwardCompatibleDateChangeHandler = DateChangeHandler | LegacyEventHandler;
10
- type DateTimePickerDate = DateOption | DateOption[] | string | unknown[] | object | number;
11
8
  export interface DateTimePickerProps extends Omit<React.HTMLAttributes<HTMLInputElement>, "defaultValue" | "onFocus" | "onBlur" | "onChange"> {
12
9
  /** Whether the DateTimePicker input element allows direct user keyboard input. Default is `false`. */
13
10
  allowInput?: boolean;
@@ -23,23 +20,20 @@ export interface DateTimePickerProps extends Omit<React.HTMLAttributes<HTMLInput
23
20
  dateFormat?: string;
24
21
  /**
25
22
  * Sets the default date of the DateTimePicker. Same as `value`, only here for compatibility with the original Flatpickr library. If both `value` and `defaultDate` are being passed, `value` will win. Date Objects, timestamps, ISO date strings, chronological date strings `YYYY-MM-DD HH:MM` (must be compatible to current `dateFormat`), and the shortcut `today` are all accepted.
26
- * Some prop types have been deprecated: Use DateOption and DateOption[] for future compatibility
27
23
  */
28
- defaultDate?: DateTimePickerDate;
24
+ defaultDate?: string | number | Date | DateOption[];
29
25
  /** The initial value of the hour input element. Only effective if time is enabled. Note this will only set the hour input element to the value specified. Setting this options will not set a selected value on the DateTimePicker. */
30
26
  defaultHour?: number;
31
27
  /** The initial value of the minute input element. Only effective if time is enabled. Note this will only set the minute input element to the value specified. Setting this options will not set a selected value on the DateTimePicker. */
32
28
  defaultMinute?: number;
33
29
  /**
34
30
  * Same as value, defaultDate
35
- * Some prop types have been deprecated: Use DateOption and DateOption[] for future compatibility
36
31
  */
37
- defaultValue?: DateTimePickerDate;
32
+ defaultValue?: string | number | Date | DateOption[];
38
33
  /**
39
34
  * Pass an array of dates, date strings, date ranges or functions to disable dates. More on disabling dates: https://flatpickr.js.org/examples/#disabling-specific-dates
40
- * Some prop types have been deprecated: Use DateLimit<DateOption>[] for future compatibility
41
35
  */
42
- disable?: DateLimit<DateOption>[] | unknown[];
36
+ disable?: DateLimit<DateOption>[];
43
37
  /** Whether the DateTimePicker is disabled */
44
38
  disabled?: boolean;
45
39
  /** Whether to show seconds when showing a time picker. */
@@ -47,9 +41,9 @@ export interface DateTimePickerProps extends Omit<React.HTMLAttributes<HTMLInput
47
41
  /** Whether to show a time picker. */
48
42
  enableTime?: boolean;
49
43
  /** A text to render when the DateTimePicker has an error or could not be validated. */
50
- errortext?: React.ReactNode;
44
+ errortext?: ReactNode;
51
45
  /** A helptext to render to explain meaning and significance of the DateTimePicker. */
52
- helptext?: React.ReactNode;
46
+ helptext?: ReactNode;
53
47
  /** The step for the hour input. Only has an effect when a time picker is enabled via `enableTime`. */
54
48
  hourIncrement?: number;
55
49
  /** The id of the DateTimePicker input element. If none is passed, an automatically generated id will be used. */
@@ -60,19 +54,16 @@ export interface DateTimePickerProps extends Omit<React.HTMLAttributes<HTMLInput
60
54
  label?: string;
61
55
  /**
62
56
  * Localization string or object. Can be used to set starting day of the week, e.g. Mondays instead of Sundays. More on localization: https://flatpickr.js.org/localization/
63
- * Some prop types have been deprecated: Use LocaleKey and Partial<CustomLocale> for future compatibility
64
57
  */
65
- locale?: Partial<CustomLocale> | string | object;
58
+ locale?: LocaleKey | Partial<CustomLocale>;
66
59
  /**
67
60
  * The maximum / latest date a user can select (inclusive).
68
- * Some prop types have been deprecated: Use DateOption for future compatibility
69
61
  */
70
- maxDate?: DateOption | string | unknown[] | object | number;
62
+ maxDate?: DateOption;
71
63
  /**
72
64
  * The minimum / earliest date a user can select (inclusive).
73
- * Some prop types have been deprecated: Use DateOption for future compatibility
74
65
  */
75
- minDate?: DateOption | string | unknown[] | object | number;
66
+ minDate?: DateOption;
76
67
  /** The step for the minute input. Only has an effect when a time picker is enabled via `enableTime`. */
77
68
  minuteIncrement?: number;
78
69
  /** The mode of the Datepicker. */
@@ -85,49 +76,40 @@ export interface DateTimePickerProps extends Omit<React.HTMLAttributes<HTMLInput
85
76
  noCalendar?: boolean;
86
77
  /**
87
78
  * A handler to be executed when the DateTimePicker input element looses focus.
88
- * Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
89
79
  */
90
- onBlur?: BackwardCompatibleDateChangeHandler;
80
+ onBlur?: DateChangeHandler;
91
81
  /**
92
82
  * A handler to be executed when the selected date(s), date range or time changes
93
- * Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
94
83
  */
95
- onChange?: BackwardCompatibleDateChangeHandler;
84
+ onChange?: DateChangeHandler;
96
85
  /**
97
86
  * A handler to be executed when the DateTimePicker value is reset by clicking the clear icon. The onChnage handler will be fired in this event too, onClear is more specific.
98
- * Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
99
87
  */
100
- onClear?: BackwardCompatibleDateChangeHandler;
88
+ onClear?: DateChangeHandler;
101
89
  /**
102
90
  * A handler to be executed when the DateTimePicker calendar closes
103
- * Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
104
91
  */
105
- onClose?: BackwardCompatibleDateChangeHandler;
92
+ onClose?: DateChangeHandler;
106
93
  /**
107
94
  * A handler to be executed when the DateTimePicker input element receives focus.
108
- * Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
109
95
  */
110
- onFocus?: BackwardCompatibleDateChangeHandler;
96
+ onFocus?: DateChangeHandler;
111
97
  /**
112
98
  * A handler to be executed when the selected month changes
113
- * Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
114
99
  */
115
- onMonthChange?: BackwardCompatibleDateChangeHandler;
100
+ onMonthChange?: DateChangeHandler;
116
101
  /**
117
102
  * A handler to be executed when the DateTimePicker calendar opens
118
- * Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
119
103
  */
120
- onOpen?: BackwardCompatibleDateChangeHandler;
104
+ onOpen?: DateChangeHandler;
121
105
  /**
122
106
  * A handler to be executed when the DateTimePicker component is ready
123
- * Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
124
107
  */
125
- onReady?: BackwardCompatibleDateChangeHandler;
108
+ onReady?: DateChangeHandler;
126
109
  /**
127
110
  * A handler to be executed when the selected year changes
128
- * Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
129
111
  */
130
- onYearChange?: BackwardCompatibleDateChangeHandler;
112
+ onYearChange?: DateChangeHandler;
131
113
  /** The placeholder of the DateTimePicker input element */
132
114
  placeholder?: string;
133
115
  /** Whether the DateTimePicker should be marked as required. Requires a `Label` to be set. */
@@ -137,16 +119,15 @@ export interface DateTimePickerProps extends Omit<React.HTMLAttributes<HTMLInput
137
119
  /** The number of months to show in the date picker */
138
120
  showMonths?: number;
139
121
  /** A text to render when the DateTimePicker was successfully validated */
140
- successtext?: React.ReactNode;
122
+ successtext?: ReactNode;
141
123
  /** Displays time picker in 24 hour mode without AM/PM selection when enabled. Requires `enableTime` to be set, too. Default is `false`. */
142
124
  time_24hr?: boolean;
143
125
  /** Whether the DateTimePicker has been successfully validated */
144
126
  valid?: boolean;
145
127
  /**
146
128
  * The value of the datepicker. Date Objects, timestamps, ISO date strings, chronological date strings `YYYY-MM-DD HH:MM` (must be compatible to current `dateFormat`), and the shortcut `today` are all accepted.
147
- * Some prop types have been deprecated: Use DateOption and DateOption[] for future compatibility
148
129
  */
149
- value?: DateOption | DateOption[] | string | unknown[] | object | number;
130
+ value?: string | number | Date | DateOption[];
150
131
  /** Whether to render week numbers. Default is `false`. */
151
132
  weekNumbers?: boolean;
152
133
  /** The width of the datepicker input. Either 'full' (default) or 'auto'. */
@@ -1 +1 @@
1
- {"version":3,"file":"DateTimePicker.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DateTimePicker/DateTimePicker.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsD,MAAM,OAAO,CAAA;AAC1E,OAAO,SAAS,MAAM,WAAW,CAAA;AAIjC,OAAO,EAAW,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAC7E,OAAO,EAAoB,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE5E,OAAO,uBAAuB,CAAA;AA2E9B,6FAA6F;AAE7F,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAkbxD,CAAA;AAGD,KAAK,iBAAiB,GAAG,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,SAAS,CAAC,QAAQ,KAAK,IAAI,CAAA;AAGlG,KAAK,kBAAkB,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,GAAG,CAAA;AAErD,KAAK,mCAAmC,GAAG,iBAAiB,GAAG,kBAAkB,CAAA;AAEjF,KAAK,kBAAkB,GAAG,UAAU,GAAG,UAAU,EAAE,GAAG,MAAM,GAAG,OAAO,EAAE,GAAG,MAAM,GAAG,MAAM,CAAA;AAE1F,M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DAAsD;IACtD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,0EAA0E;IAC1E,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,2IAA2I;IAC3I,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,iEAAiE;IACjE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;;OAGG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,UAAU,EAAE,GAAG,MAAM,GAAG,OAAO,EAAE,GAAG,MAAM,GAAG,MAAM,CAAA;IACxE,0DAA0D;IAC1D,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,6KAA6K;IAC7K,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B"}
1
+ {"version":3,"file":"DateTimePicker.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DateTimePicker/DateTimePicker.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAA+C,SAAS,EAAE,MAAM,OAAO,CAAA;AACrF,OAAO,SAAS,MAAM,WAAW,CAAA;AAIjC,OAAO,EAAW,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAC7E,OAAO,EAAE,GAAG,IAAI,SAAS,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE5E,OAAO,uBAAuB,CAAA;AA2E9B,6FAA6F;AAE7F,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAkbxD,CAAA;AAGD,KAAK,iBAAiB,GAAG,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,SAAS,CAAC,QAAQ,KAAK,IAAI,CAAA;AAElG,MAAM,WAAW,mBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,cAAc,GAAG,SAAS,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AEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,UAAU,EAAE,CAAA;IAC7C,0DAA0D;IAC1D,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,6KAA6K;IAC7K,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B"}
@@ -10,7 +10,7 @@ export interface FormHintProps extends React.HTMLAttributes<HTMLDivElement> {
10
10
  * The text to render as a hint for a form element.
11
11
  * Overridden by children, if provided.
12
12
  */
13
- text?: ReactNode | string;
13
+ text?: ReactNode;
14
14
  /**
15
15
  * The variant of the hint ("help", "error", or "success") determining its appearance.
16
16
  */
@@ -1 +1 @@
1
- {"version":3,"file":"FormHint.component.d.ts","sourceRoot":"","sources":["../../../../src/components/FormHint/FormHint.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOxC,KAAK,eAAe,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAA;AAEnD,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IAEzB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,CAAA;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAaD;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAqB5C,CAAA"}
1
+ {"version":3,"file":"FormHint.component.d.ts","sourceRoot":"","sources":["../../../../src/components/FormHint/FormHint.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOxC,KAAK,eAAe,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAA;AAEnD,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,CAAA;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAaD;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAqB5C,CAAA"}
@@ -6,6 +6,11 @@ declare const _default: {
6
6
  argTypes: {
7
7
  children: {
8
8
  control: boolean;
9
+ table: {
10
+ type: {
11
+ summary: string;
12
+ };
13
+ };
9
14
  };
10
15
  };
11
16
  parameters: {
@@ -1 +1 @@
1
- {"version":3,"file":"FormattedText.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/FormattedText/FormattedText.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;;;;;;;;;;;;;;;;;AAG9D,wBAgBC;AAqJD,eAAO,MAAM,KAAK;mBAnJM,kBAAkB;;;;;;;;;CA+JzC,CAAA"}
1
+ {"version":3,"file":"FormattedText.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/FormattedText/FormattedText.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;;;;;;;;;;;;;;;;;;;;;;AAG9D,wBAmBC;AAqJD,eAAO,MAAM,KAAK;mBAnJM,kBAAkB;;;;;;;;;CA+JzC,CAAA"}
@@ -62,6 +62,6 @@ export interface IconProps extends Omit<React.HTMLProps<HTMLAnchorElement> | Rea
62
62
  className?: string;
63
63
  href?: string;
64
64
  disabled?: boolean;
65
- onClick?: React.MouseEventHandler<EventTarget>;
65
+ onClick?: React.MouseEventHandler<HTMLButtonElement>;
66
66
  }
67
67
  //# sourceMappingURL=Icon.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.component.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/Icon.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAgC,MAAM,OAAO,CAAA;AAuFpD,oBAAY,cAAc;IAExB,UAAU,eAAe;IAEzB,aAAa,kBAAkB;IAE/B,SAAS,cAAc;IAEvB,iBAAiB,sBAAsB;IAEvC,iBAAiB,sBAAsB;IAEvC,IAAI,SAAS;IAEb,aAAa,kBAAkB;IAE/B,MAAM,WAAW;IAEjB,KAAK,UAAU;IAEf,WAAW,gBAAgB;IAE3B,WAAW,gBAAgB;IAE3B,YAAY,iBAAiB;IAE7B,KAAK,UAAU;IAEf,OAAO,YAAY;IAEnB,WAAW,gBAAgB;IAE3B,MAAM,WAAW;IAEjB,SAAS,cAAc;IAEvB,OAAO,YAAY;IAEnB,aAAa,kBAAkB;IAE/B,WAAW,gBAAgB;IAE3B,GAAG,QAAQ;IAEX,QAAQ,aAAa;IAErB,IAAI,SAAS;IAEb,KAAK,UAAU;IAEf,YAAY,iBAAiB;IAE7B,SAAS,cAAc;IAEvB,UAAU,eAAe;IAEzB,UAAU,eAAe;IAEzB,SAAS,cAAc;IAEvB,KAAK,UAAU;IAEf,IAAI,SAAS;IAEb,IAAI,SAAS;IAEb,IAAI,SAAS;IAEb,cAAc,mBAAmB;IAEjC,YAAY,iBAAiB;IAE7B,QAAQ,aAAa;IAErB,UAAU,eAAe;IAEzB,gBAAgB,qBAAqB;IAErC,aAAa,kBAAkB;IAE/B,SAAS,cAAc;IAEvB,KAAK,UAAU;IAEf,MAAM,WAAW;IAEjB,WAAW,gBAAgB;IAE3B,cAAc,mBAAmB;IAEjC,YAAY,iBAAiB;IAE7B,gBAAgB,qBAAqB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default as React } from 'react';
2
2
  export interface IntroBoxProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
3
3
  /** Pass an optional title */
4
- title?: string | null;
4
+ title?: string;
5
5
  /** Pass a string of text to be rendered as contents. Alternatively, contents can be passed as children (see below) */
6
- text?: string | null;
6
+ text?: string;
7
7
  /** Pass a custom class */
8
8
  variant?: "default" | "hero";
9
9
  /** optional "hero" flavor image for hero variant. Specify as css bg image string pointing to an image in your app (see template app for an example). Will always be positioned top and right */
10
- heroImage?: string | null;
10
+ heroImage?: string;
11
11
  /** Pass a custom class */
12
12
  className?: string;
13
- /** Pass child nodes to be rendered as contents */
13
+ /** Pass child nodes to be rendered as content */
14
14
  children?: React.ReactNode;
15
- /** For additional props*/
16
- [key: string]: any;
17
15
  }
18
16
  /**
19
17
  * An Introbox holds generally important information to help understand the contents, purpose, or state of a whole page or view, or individual sections on longer pages.
@@ -1 +1 @@
1
- {"version":3,"file":"IntroBox.component.d.ts","sourceRoot":"","sources":["../../../../src/components/IntroBox/IntroBox.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAoDzB,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACxF,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,sHAAsH;IACtH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,0BAA0B;IAC1B,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IAC5B,gMAAgM;IAChM,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kDAAkD;IAClD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,0BAA0B;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB;AAED;;;EAGE;AACF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA0B5C,CAAA"}
1
+ {"version":3,"file":"IntroBox.component.d.ts","sourceRoot":"","sources":["../../../../src/components/IntroBox/IntroBox.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAoDzB,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACxF,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sHAAsH;IACtH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0BAA0B;IAC1B,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IAC5B,gMAAgM;IAChM,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED;;;EAGE;AACF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA0B5C,CAAA"}
@@ -16,6 +16,8 @@ export interface JsonViewerProps extends Omit<React.HTMLProps<HTMLDivElement>, "
16
16
  showRoot?: boolean;
17
17
  /** dark, light or map of colors
18
18
  *
19
+ * @param dark dark theme
20
+ * @param light light theme
19
21
  * @param base00 background
20
22
  * @param base01 NOT used
21
23
  * @param base02 border, NaN,null, undefined background
@@ -33,7 +35,7 @@ export interface JsonViewerProps extends Omit<React.HTMLProps<HTMLDivElement>, "
33
35
  * @param base0E collapsed icon, types: "boolean"
34
36
  * @param base0F copy icon, type "integer"
35
37
  */
36
- theme?: themes.JsonViewerTheme | ThemeType | null;
38
+ theme?: themes.JsonViewerTheme | ThemeType;
37
39
  /** expanded can be true|false or a number. The number denotes the hierarchy level to which the object is expanded. */
38
40
  expanded?: boolean | number;
39
41
  truncate?: boolean | number;
@@ -1 +1 @@
1
- {"version":3,"file":"JsonViewer.component.d.ts","sourceRoot":"","sources":["../../../../src/components/JsonViewer/JsonViewer.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAElC,OAAO,EAAsC,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AA0B3F,eAAO,MAAM,iBAAiB,UAAW,OAAO,KAAG,kBAiBlD,CAAA;AA4SD,qDAAqD;AACrD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqDhD,CAAA;AAED,KAAK,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;AAEjC,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpF,oCAAoC;IAEpC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mBAAmB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;;;;;;;;;;;;;;OAkBG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,eAAe,GAAG,SAAS,GAAG,IAAI,CAAA;IACjD,sHAAsH;IACtH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAE3B,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAE3B,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
1
+ {"version":3,"file":"JsonViewer.component.d.ts","sourceRoot":"","sources":["../../../../src/components/JsonViewer/JsonViewer.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAElC,OAAO,EAAsC,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AA0B3F,eAAO,MAAM,iBAAiB,UAAW,OAAO,KAAG,kBAiBlD,CAAA;AA4SD,qDAAqD;AACrD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqDhD,CAAA;AAED,KAAK,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;AAEjC,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpF,oCAAoC;IAEpC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mBAAmB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,eAAe,GAAG,SAAS,CAAA;IAC1C,sHAAsH;IACtH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAE3B,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAE3B,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -6,6 +6,11 @@ declare const _default: {
6
6
  argTypes: {
7
7
  children: {
8
8
  control: boolean;
9
+ table: {
10
+ type: {
11
+ summary: string;
12
+ };
13
+ };
9
14
  };
10
15
  };
11
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"MainContainer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/MainContainer/MainContainer.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAiB,kBAAkB,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;AAE3D,wBAQC;AAID,eAAO,MAAM,IAAI;mBAFO,kBAAkB;;;;;;;;;CAezC,CAAA"}
1
+ {"version":3,"file":"MainContainer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/MainContainer/MainContainer.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAiB,kBAAkB,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;AAE3D,wBAWC;AAID,eAAO,MAAM,IAAI;mBAFO,kBAAkB;;;;;;;;;CAezC,CAAA"}
@@ -1,21 +1,17 @@
1
1
  import { default as React } from 'react';
2
- import { TabListProps } from '../TabList/TabList.component';
3
- import { TabPanelProps } from '../TabPanel/TabPanel.component';
4
2
  /**
5
3
  Main Tabs are used at the top of the content area when using the tabs to switch the complete content area content. If you only want to have tabs for parts of the content use 'Tabs' instead and place them in the part of the content where the tabbed content should live. You will probably want to use a 'Container' inside the TabPanels to get nice padding.
6
4
  */
7
5
  export declare const MainTabs: React.FC<MainTabsProps>;
8
- export type OnSelectHander = (value: number) => void;
9
- export type MainTabElement = React.ReactElement<TabListProps> | React.ReactElement<TabPanelProps> | MainTabElement[] | null | undefined;
10
6
  export interface MainTabsProps extends Omit<React.HTMLAttributes<HTMLElement>, "onSelect"> {
11
7
  /** All the child elements of MainTabs: Tab(s) inside a TabList and TabPanel(s) */
12
- children?: MainTabElement;
8
+ children?: React.ReactNode;
13
9
  /** The index of the Tab to be selected by default in "Uncontrolled Mode" (default) where Tabs handle their state internally. Do not use in "Controlled Mode".*/
14
10
  defaultIndex?: number;
15
11
  /** The index of the Tab to be selected by default. This enables "Controlled Mode" where the developer takes over control of the Tabs state and behaviour. Requires onSelect to be set.*/
16
12
  selectedIndex?: number;
17
13
  /** Handler required in "Controlled Mode" */
18
- onSelect?: OnSelectHander;
14
+ onSelect?: (value: number) => void;
19
15
  /** Add a custom className to the whole Tabs construct */
20
16
  className?: string;
21
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MainTabs.component.d.ts","sourceRoot":"","sources":["../../../../src/components/MainTabs/MainTabs.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAE9D;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAoB5C,CAAA;AAGD,MAAM,MAAM,cAAc,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;AAEpD,MAAM,MAAM,cAAc,GACtB,KAAK,CAAC,YAAY,CAAC,YAAY,CAAC,GAChC,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC,GACjC,cAAc,EAAE,GAChB,IAAI,GACJ,SAAS,CAAA;AAEb,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC;IACxF,kFAAkF;IAClF,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB,gKAAgK;IAChK,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,yLAAyL;IACzL,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
1
+ {"version":3,"file":"MainTabs.component.d.ts","sourceRoot":"","sources":["../../../../src/components/MainTabs/MainTabs.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAoB5C,CAAA;AAED,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC;IACxF,kFAAkF;IAClF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,gKAAgK;IAChK,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,yLAAyL;IACzL,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,4CAA4C;IAE5C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -7,6 +7,11 @@ declare const _default: {
7
7
  argTypes: {
8
8
  children: {
9
9
  control: boolean;
10
+ table: {
11
+ type: {
12
+ summary: string;
13
+ };
14
+ };
10
15
  };
11
16
  tabs: {
12
17
  table: {
@@ -1 +1 @@
1
- {"version":3,"file":"MainTabs.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/MainTabs/MainTabs.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAKlD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;;;;;;;;;;;;;;;;;;;;AAE/C,wBAkBC;AASD,UAAU,aAAa;IACrB,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAA;IACpC,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,CAAA;CAC/C;AAuBD,KAAK,eAAe,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;AAG9C,UAAU,uBAAuB;IAC/B,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAA;IACrC,SAAS,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,CAAA;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,eAAe,CAAA;CAC3B;AAED,eAAO,MAAM,OAAO;2CA3C4B,aAAa;;;;;CAsD5D,CAAA;AAED,eAAO,MAAM,UAAU;oEA5C4D,uBAAuB;;;;;;;CA6DzG,CAAA"}
1
+ {"version":3,"file":"MainTabs.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/MainTabs/MainTabs.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAKlD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAE/C,wBAqBC;AASD,UAAU,aAAa;IACrB,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAA;IACpC,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,CAAA;CAC/C;AAuBD,KAAK,eAAe,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;AAG9C,UAAU,uBAAuB;IAC/B,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAA;IACrC,SAAS,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,CAAA;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,eAAe,CAAA;CAC3B;AAED,eAAO,MAAM,OAAO;2CA3C4B,aAAa;;;;;CAsD5D,CAAA;AAED,eAAO,MAAM,UAAU;oEA5C4D,uBAAuB;;;;;;;CA6DzG,CAAA"}
@@ -15,7 +15,6 @@ To make the modal less intrusive and effectively un-modal it, pass `closeOnBackd
15
15
  */
16
16
  export declare const Modal: React.FC<ModalProps>;
17
17
  type ModalSize = "small" | "large";
18
- type CancelEventHandler = (event: React.MouseEvent<EventTarget, MouseEvent> | KeyboardEvent) => void;
19
18
  export interface ModalProps extends Omit<React.HTMLProps<HTMLDivElement>, "size"> {
20
19
  /** The aria-label of the modal. Use only if the modal does NOT have a `title` or `heading`. */
21
20
  ariaLabel?: string;
@@ -30,15 +29,15 @@ export interface ModalProps extends Omit<React.HTMLProps<HTMLDivElement>, "size"
30
29
  /** Pass a label for the cancel button. Defaults to "Cancel" */
31
30
  cancelButtonLabel?: string;
32
31
  /** Pass an Icon name to show on the confirming action button */
33
- confirmButtonIcon?: KnownIcons | null;
32
+ confirmButtonIcon?: KnownIcons;
34
33
  /** Pass an icon name to show on the cancelling button */
35
- cancelButtonIcon?: KnownIcons | null;
34
+ cancelButtonIcon?: KnownIcons;
36
35
  /** Whether the modal will be open */
37
36
  open?: boolean;
38
37
  /** The children of the modal. These will be rendered as the modal content. To render custom buttons at the bottom, see `modalFooter` below.*/
39
38
  children?: React.ReactNode;
40
39
  /** Optional. Pass a `<ModalFooter />` component with custom content as required. Will default to using the `<ModalFooter/>` component internally. */
41
- modalFooter?: JSX.Element | null;
40
+ modalFooter?: React.ReactElement;
42
41
  /** Whether the modal can be closed using an "X"-Button at the top right. Defaults to true. */
43
42
  closeable?: boolean;
44
43
  /** Pass to remove default padding from the content area of the modal */
@@ -46,9 +45,9 @@ export interface ModalProps extends Omit<React.HTMLProps<HTMLDivElement>, "size"
46
45
  /** Custom className to add to the modal */
47
46
  className?: string;
48
47
  /** A handler to execute once the modal is confirmed by clicking the confrim button if exists. Note that we do not close the modal automatically. */
49
- onConfirm?: React.MouseEventHandler<EventTarget> | null;
48
+ onConfirm?: React.MouseEventHandler<HTMLElement>;
50
49
  /** A handler to execute once the modal is cancelled or dismissed using the x-Close button, Cancel-button or pressing ESC */
51
- onCancel?: CancelEventHandler;
50
+ onCancel?: (event: React.MouseEvent<HTMLElement> | KeyboardEvent) => void;
52
51
  /** Whether the modal should be closed when the backdrop is clicked. Essentially 'un-modals' the modal. */
53
52
  closeOnBackdropClick?: boolean;
54
53
  /** Whether the modal can be closed by hitting the ESC key */
@@ -1 +1 @@
1
- {"version":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DAAyD;IACzD,gBAAgB,CAAC,EAAE,UAAU,CAAA;IAC7B,qCAAqC;IACrC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,8IAA8I;IAC9I,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,qJAAqJ;IACrJ,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAA;IAChC,8FAA8F;IAC9F,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,wEAAwE;IACxE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oJAAoJ;IACpJ,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAChD,6HAA6H;IAE7H,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,GAAG,aAAa,KAAK,IAAI,CAAA;IACzE,0GAA0G;IAC1G,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,6DAA6D;IAC7D,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,sMAAsM;IACtM,YAAY,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,CAAA;CACjD"}
@@ -18,6 +18,11 @@ declare const _default: {
18
18
  };
19
19
  modalFooter: {
20
20
  control: boolean;
21
+ table: {
22
+ type: {
23
+ summary: string;
24
+ };
25
+ };
21
26
  };
22
27
  };
23
28
  parameters: {
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/Modal.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAA;AACvC,OAAO,EAAS,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAiCrD,KAAK,aAAa,GAAG;IACnB,cAAc,EAAE,OAAO,CAAA;CACxB,GAAG,UAAU,CAAA;AAEd,KAAK,aAAa,GAAG,MAAM,KAAK,C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AED,eAAO,MAAM,eAAe;0CA7DmB,aAAa;;;;;CAmE3D,CAAA;AAED,eAAO,MAAM,cAAc;0CArEoB,aAAa;;;;;;;;CA8E3D,CAAA;AAED,eAAO,MAAM,YAAY;0CAhFsB,aAAa;;;;;;CAwF3D,CAAA;AAED,eAAO,MAAM,oBAAoB;0CA1Fc,aAAa;;;;;;CAiG3D,CAAA;AAED,eAAO,MAAM,KAAK;0CAnG6B,aAAa;;;;;;;CAyH3D,CAAA;AAED,eAAO,MAAM,iBAAiB;0CA3HiB,aAAa;;;;;;;CA+I3D,CAAA;AAED,eAAO,MAAM,iBAAiB;0CAjJiB,aAAa;;;;;;CAgK3D,CAAA;AAED,eAAO,MAAM,mBAAmB;0CAlKe,aAAa;;;;;;CA0L3D,CAAA;AAED,eAAO,MAAM,oBAAoB;0CA5Lc,aAAa;;;;;;;;CA0O3D,CAAA"}
@@ -8,21 +8,21 @@ Can alternatively render all custom children as passed.
8
8
  */
9
9
  export declare const ModalFooter: React.FC<ModalFooterProps>;
10
10
  export interface ModalFooterProps extends React.HTMLProps<HTMLDivElement> {
11
- /** Custom children to render. Anything goes. */
11
+ /** Custom children to render. */
12
12
  children?: React.ReactNode;
13
13
  /** The label for the Confirm-button. When passed, the component will render a Confirm button and a cancel button, otherwise the component will ONLY render a Close-Button. */
14
14
  confirmButtonLabel?: string;
15
15
  /** Custom label for the cancel button. ONLY has an effect if a `confirmButtonLabel` is passed. */
16
16
  cancelButtonLabel?: string;
17
17
  /** Pass an Icon name to show on the confirming action button */
18
- confirmButtonIcon?: KnownIcons | null;
18
+ confirmButtonIcon?: KnownIcons;
19
19
  /** Pass an icon name to show on the cancelling button */
20
- cancelButtonIcon?: KnownIcons | null;
20
+ cancelButtonIcon?: KnownIcons;
21
21
  /** A custom className. Useful to configure flex items alignment when passing custom content as children. */
22
22
  className?: string;
23
23
  /** Handler to execute once the confirming button is clicked */
24
- onConfirm?: React.MouseEventHandler<EventTarget> | null;
24
+ onConfirm?: React.MouseEventHandler<HTMLElement>;
25
25
  /** Handler to execute once the cancelling button is clicked */
26
- onCancel?: React.MouseEventHandler<EventTarget> | null;
26
+ onCancel?: React.MouseEventHandler<HTMLElement>;
27
27
  }
28
28
  //# sourceMappingURL=ModalFooter.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ModalFooter.component.d.ts","sourceRoot":"","sources":["../../../../src/components/ModalFooter/ModalFooter.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAgBnD;;;;;EAKE;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAqDlD,CAAA;AAED,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACvE,gDAAgD;IAChD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,8KAA8K;IAC9K,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,kGAAkG;IAClG,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gEAAgE;IAChE,iBAAiB,CAAC,EAAE,UAAU,GAAG,IAAI,CAAA;IACrC,yDAAyD;IACzD,gBAAgB,CAAC,EAAE,UAAU,GAAG,IAAI,CAAA;IACpC,4GAA4G;IAC5G,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,GAAG,IAAI,CAAA;IACvD,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,GAAG,IAAI,CAAA;CACvD"}
1
+ {"version":3,"file":"ModalFooter.component.d.ts","sourceRoot":"","sources":["../../../../src/components/ModalFooter/ModalFooter.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAgBnD;;;;;EAKE;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAqDlD,CAAA;AAED,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACvE,iCAAiC;IACjC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,8KAA8K;IAC9K,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,kGAAkG;IAClG,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gEAAgE;IAChE,iBAAiB,CAAC,EAAE,UAAU,CAAA;IAC9B,yDAAyD;IACzD,gBAAgB,CAAC,EAAE,UAAU,CAAA;IAC7B,4GAA4G;IAC5G,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAChD,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;CAChD"}
@@ -1,4 +1,4 @@
1
- import { default as React, ReactNode, ChangeEvent, MouseEvent, FC } from 'react';
1
+ import { default as React, ReactNode, ChangeEventHandler, MouseEventHandler, FC } from 'react';
2
2
  export interface NativeSelectProps extends React.SelectHTMLAttributes<HTMLSelectElement> {
3
3
  /**
4
4
  * Name of the select element.
@@ -45,12 +45,12 @@ export interface NativeSelectProps extends React.SelectHTMLAttributes<HTMLSelect
45
45
  * Event handler for the change event of the select element.
46
46
  * Triggered when the user changes the selected option.
47
47
  */
48
- onChange?: (event: ChangeEvent<HTMLSelectElement>) => void;
48
+ onChange?: ChangeEventHandler<HTMLSelectElement>;
49
49
  /**
50
50
  * Event handler for the click event on the select element.
51
51
  * Triggered when the user clicks on the select element.
52
52
  */
53
- onClick?: (event: MouseEvent<HTMLSelectElement>) => void;
53
+ onClick?: MouseEventHandler<HTMLSelectElement>;
54
54
  /**
55
55
  * Additional CSS classes to apply to the outer wrapper of the select component for custom styling.
56
56
  */
@@ -1 +1 @@
1
- {"version":3,"file":"NativeSelect.component.d.ts","sourceRoot":"","sources":["../../../../src/components/NativeSelect/NativeSelect.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAuB,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AA+E1F,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACtF;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;OAGG;IAEH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IAE1D;;;OAGG;IAEH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IAExD;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAmCD;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA4D9C,CAAA"}
1
+ {"version":3,"file":"NativeSelect.component.d.ts","sourceRoot":"","sources":["../../../../src/components/NativeSelect/NativeSelect.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAGZ,SAAS,EAET,kBAAkB,EAElB,iBAAiB,EACjB,EAAE,EACH,MAAM,OAAO,CAAA;AA+Ed,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACtF;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;OAGG;IAEH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,CAAA;IAEhD;;;OAGG;IAEH,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;IAE9C;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAmCD;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA4D9C,CAAA"}