@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,19 +1,19 @@
1
- import { default as React } from 'react';
1
+ import { default as React, ReactNode } from 'react';
2
2
  /**
3
3
  * Body of the app. Treat this like the body tag of an html page.
4
4
  */
5
5
  export declare const AppShell: React.FC<AppShellProps>;
6
6
  export interface AppShellProps extends React.HTMLAttributes<HTMLElement> {
7
7
  /** The main content of the app. */
8
- children?: React.ReactNode;
8
+ children?: ReactNode;
9
9
  /** Pass either the `<PageHeader>` component or if you don't need to add any content to the page header pass a string to be used as the app name in the standard page header. */
10
- pageHeader?: string | React.ReactNode;
10
+ pageHeader?: ReactNode;
11
11
  /** Optional. If specified pass a `<PageFooter>` component. If undefined will use default PageFooter */
12
- pageFooter?: React.ReactNode;
12
+ pageFooter?: ReactNode;
13
13
  /** Optional. If specified expects a `<TopNavigation>` component. If undefined no top navigation is rendered. */
14
- topNavigation?: React.ReactNode;
14
+ topNavigation?: ReactNode;
15
15
  /** Optional. If specified expects a `<SideNavigation>` component. If undefined no side navigation is rendered. */
16
- sideNavigation?: React.ReactNode;
16
+ sideNavigation?: ReactNode;
17
17
  /** Optional: Defaults to false. Set embedded to true if app is to be rendered embedded in another app/page.
18
18
  * In this case only the content area and children are rendered, a TopNavigation if passed, but no header/footer or remaining layout components */
19
19
  embedded?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"AppShell.component.d.ts","sourceRoot":"","sources":["../../../../src/components/AppShell/AppShell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAuD5C,CAAA;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACtE,mCAAmC;IACnC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,gLAAgL;IAChL,UAAU,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAA;IACrC,uGAAuG;IACvG,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC5B,gHAAgH;IAChH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC/B,kHAAkH;IAClH,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAChC;sJACkJ;IAClJ,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2YAA2Y;IAC3Y,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
1
+ {"version":3,"file":"AppShell.component.d.ts","sourceRoot":"","sources":["../../../../src/components/AppShell/AppShell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AASxC;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAuD5C,CAAA;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACtE,mCAAmC;IACnC,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,gLAAgL;IAChL,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,uGAAuG;IACvG,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,gHAAgH;IAChH,aAAa,CAAC,EAAE,SAAS,CAAA;IACzB,kHAAkH;IAClH,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B;sJACkJ;IAClJ,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2YAA2Y;IAC3Y,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -4,7 +4,7 @@ export interface BreadcrumbItemProps extends React.HTMLAttributes<HTMLSpanElemen
4
4
  /**
5
5
  * The icon type to display in the breadcrumb item.
6
6
  */
7
- icon?: KnownIcons | null;
7
+ icon?: KnownIcons;
8
8
  /**
9
9
  * A URL the breadcrumb item points to for navigation.
10
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"BreadcrumbItem.component.d.ts","sourceRoot":"","sources":["../../../../src/components/BreadcrumbItem/BreadcrumbItem.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAQ,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAezD,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IAChF;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,CAAA;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;IACpD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6CxD,CAAA"}
1
+ {"version":3,"file":"BreadcrumbItem.component.d.ts","sourceRoot":"","sources":["../../../../src/components/BreadcrumbItem/BreadcrumbItem.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAQ,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAezD,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IAChF;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;IACpD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6CxD,CAAA"}
@@ -25,7 +25,7 @@ export interface ButtonProps extends Omit<React.HTMLProps<HTMLAnchorElement> | R
25
25
  /** Pass a className */
26
26
  className?: string;
27
27
  /** Click handler */
28
- onClick?: React.MouseEventHandler<EventTarget>;
28
+ onClick?: React.MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;
29
29
  /** Whether the button action is in progress */
30
30
  progress?: boolean;
31
31
  /** Display an alternative label while the button action is in progress */
@@ -1 +1 @@
1
- {"version":3,"file":"Button.component.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAoB,MAAM,OAAO,CAAA;AACxC,OAAO,eAAe,CAAA;AAEtB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AA6FnD;;GAEG;AACH,eAAO,MAAM,MAAM,wHAyFlB,CAAA;AAID,KAAK,aAAa,GAAG,SAAS,GAAG,gBAAgB,GAAG,SAAS,GAAG,SAAS,CAAA;AACzE,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,CAAA;AAErC,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC7F,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,gFAAgF;IAChF,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,mCAAmC;IACnC,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gFAAgF;IAChF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,2FAA2F;IAC3F,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qBAAqB;IACrB,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAC9C,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,0EAA0E;IAC1E,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB"}
1
+ {"version":3,"file":"Button.component.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAoB,MAAM,OAAO,CAAA;AACxC,OAAO,eAAe,CAAA;AAEtB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AA6FnD;;GAEG;AACH,eAAO,MAAM,MAAM,wHAyFlB,CAAA;AAID,KAAK,aAAa,GAAG,SAAS,GAAG,gBAAgB,GAAG,SAAS,GAAG,SAAS,CAAA;AACzE,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,CAAA;AAErC,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC7F,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,gFAAgF;IAChF,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,mCAAmC;IACnC,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gFAAgF;IAChF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,2FAA2F;IAC3F,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qBAAqB;IACrB,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,CAAA;IACxE,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,0EAA0E;IAC1E,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB"}
@@ -15,6 +15,14 @@ declare const _default: {
15
15
  type: string;
16
16
  };
17
17
  };
18
+ children: {
19
+ control: boolean;
20
+ table: {
21
+ type: {
22
+ summary: string;
23
+ };
24
+ };
25
+ };
18
26
  };
19
27
  };
20
28
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;;;;;;;;;;;;;;;;;;;AAIzB,wBAaC;AAED,eAAO,MAAM,OAAO;;;;;;;;;;;CAYnB,CAAA;AAED,eAAO,MAAM,OAAO;;;;;;;;;;;;CAcnB,CAAA;AAED,eAAO,MAAM,OAAO;;;;;;;;;;;;CAanB,CAAA;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;CAazB,CAAA;AAED,eAAO,MAAM,WAAW;;;;CAIvB,CAAA;AAED,eAAO,MAAM,KAAK;;;;;CAKjB,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;CAYpB,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAY3B,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAY3B,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;CAajC,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;CAY3B,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAc3B,CAAA;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;CAazB,CAAA;AAED,eAAO,MAAM,cAAc;;;CAAyB,CACnD;AASD,eAAO,MAAM,eAAe;;;CAAyB,CACpD;AAUD,eAAO,MAAM,YAAY;;;;;;;;;;;;;CAexB,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;CAehC,CAAA;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;CAanC,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;CAehC,CAAA;AAED,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;CAgBpD,CAAA;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;CAcnC,CAAA;AAED,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;CAc3C,CAAA;AAED,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;CAczC,CAAA;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;CAclC,CAAA;AAED,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;CAe1C,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;CAa9B,CAAA;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;CAcrC,CAAA;AAED,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;CAc3C,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;CAc3B,CAAA"}
1
+ {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIzB,wBAmBC;AAED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AED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;CAa9B,CAAA;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;CAcrC,CAAA;AAED,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;CAc3C,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;CAc3B,CAAA"}
@@ -20,7 +20,6 @@ interface TemplateProps {
20
20
  export declare const Default: {
21
21
  render: ({ children, ...args }: TemplateProps) => React.JSX.Element;
22
22
  args: {
23
- name: string;
24
23
  children: React.JSX.Element[];
25
24
  };
26
25
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonRow.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ButtonRow/ButtonRow.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;;;;;;;;;;;;;;;AAIzB,wBAaC;AAGD,UAAU,aAAa;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,eAAO,MAAM,OAAO;oCALqB,aAAa;;;;;CAerD,CAAA"}
1
+ {"version":3,"file":"ButtonRow.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ButtonRow/ButtonRow.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;;;;;;;;;;;;;;;AAIzB,wBAaC;AAGD,UAAU,aAAa;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,eAAO,MAAM,OAAO;oCALqB,aAAa;;;;CAcrD,CAAA"}
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import { default as React, ReactNode } from 'react';
2
2
  export declare const Checkbox: React.FC<CheckboxProps>;
3
3
  export interface CheckboxProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  /** Whether the Checkbox is checked */
@@ -8,9 +8,9 @@ export interface CheckboxProps extends React.HTMLAttributes<HTMLDivElement> {
8
8
  /** Whether the Checkbox is disabled */
9
9
  disabled?: boolean;
10
10
  /** A text to render when the Checkbox has an error or could not be validated */
11
- errortext?: React.ReactNode | string;
11
+ errortext?: ReactNode;
12
12
  /** A helptext to render to explain meaning and significance of the Checkbox */
13
- helptext?: React.ReactNode | string;
13
+ helptext?: ReactNode;
14
14
  /** The id of the Radio. An id will be automatically generated if not passed. */
15
15
  id?: string;
16
16
  /** Whether the Checkbox is indeterminate. Applicable ONLY if the Checkbox represents multiple child Checkboxes with non--identical checked state. */
@@ -24,11 +24,11 @@ export interface CheckboxProps extends React.HTMLAttributes<HTMLDivElement> {
24
24
  /** handler to be executed when the Checkbox changes. */
25
25
  onChange?: React.ChangeEventHandler<HTMLInputElement>;
26
26
  /** handler to be executed when the Checkbox is clicked. */
27
- onClick?: React.MouseEventHandler<HTMLElement>;
27
+ onClick?: React.MouseEventHandler<HTMLInputElement>;
28
28
  /** Whether the Checkbox is required */
29
29
  required?: boolean;
30
30
  /** A text to render when the Checkbox was successfully validated */
31
- successtext?: React.ReactNode | string;
31
+ successtext?: ReactNode;
32
32
  /** Whether the Checkbox was successfully validated */
33
33
  valid?: boolean;
34
34
  /** The value of the Checkbox */
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.component.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/Checkbox.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA0D,MAAM,OAAO,CAAA;AAwF9E,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA+N5C,CAAA;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gFAAgF;IAChF,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAA;IACpC,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAA;IACnC,gFAAgF;IAChF,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,qJAAqJ;IACrJ,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,wDAAwD;IACxD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,+BAA+B;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,wDAAwD;IACxD,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAA;IACrD,2DAA2D;IAC3D,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAC9C,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,oEAAoE;IACpE,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAA;IACtC,sDAAsD;IACtD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
1
+ {"version":3,"file":"Checkbox.component.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/Checkbox.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAmD,SAAS,EAAE,MAAM,OAAO,CAAA;AAwFzF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA+N5C,CAAA;AAED,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gFAAgF;IAChF,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,gFAAgF;IAChF,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,qJAAqJ;IACrJ,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,wDAAwD;IACxD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,+BAA+B;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,wDAAwD;IACxD,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAA;IACrD,2DAA2D;IAC3D,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAA;IACnD,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,oEAAoE;IACpE,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,sDAAsD;IACtD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
@@ -1,26 +1,25 @@
1
- import { default as React } from 'react';
2
- type EventUpdateHandler = (_value: string | undefined) => void;
1
+ import { default as React, ReactNode } from 'react';
2
+ type EventUpdateHandler = (value: string) => void;
3
3
  export interface CheckboxGroupContextProps {
4
- selectedOptions?: CheckboxValue[];
4
+ selectedOptions?: string[];
5
5
  handleCheckboxChange?: EventUpdateHandler;
6
6
  name?: string;
7
7
  updateSelectedValue?: EventUpdateHandler;
8
8
  disabled?: boolean;
9
9
  }
10
10
  export declare const CheckboxGroupContext: React.Context<CheckboxGroupContextProps | undefined>;
11
- export type CheckboxValue = string | undefined;
12
11
  export declare const CheckboxGroup: React.FC<CheckboxGroupProps>;
13
12
  export interface CheckboxGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
14
13
  /** The Checkbox children of the CheckboxGroup */
15
- children?: React.ReactNode;
14
+ children?: ReactNode;
16
15
  /** Pass a custom className */
17
16
  className?: string;
18
17
  /** Whether all Checkboxes in the group are disabled */
19
18
  disabled?: boolean;
20
19
  /** Text to display in case validation failed or there is an error. Will set the whole group to invalid when passed. */
21
- errortext?: string;
20
+ errortext?: ReactNode;
22
21
  /** A text to render to further explain meaning and significance of the group */
23
- helptext?: string;
22
+ helptext?: ReactNode;
24
23
  /** The id of the group. If not passed, a unique id will be created and used for the group as a whole. */
25
24
  id?: string;
26
25
  invalid?: boolean;
@@ -35,7 +34,7 @@ export interface CheckboxGroupProps extends Omit<React.HTMLAttributes<HTMLDivEle
35
34
  /** Array of values of individual selected options in the group */
36
35
  selected?: string[];
37
36
  /** Text to display in case validation is successful. When passed, will set the whole group to valid. */
38
- successtext?: string;
37
+ successtext?: ReactNode;
39
38
  /** Whether the CheckboxGroup was successfully validated */
40
39
  valid?: boolean;
41
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxGroup.component.d.ts","sourceRoot":"","sources":["../../../../src/components/CheckboxGroup/CheckboxGroup.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA6D,MAAM,OAAO,CAAA;AAqCjF,KAAK,kBAAkB,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;AAE9D,MAAM,WAAW,yBAAyB;IACxC,eAAe,CAAC,EAAE,aAAa,EAAE,CAAA;IACjC,oBAAoB,CAAC,EAAE,kBAAkB,CAAA;IACzC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,mBAAmB,CAAC,EAAE,kBAAkB,CAAA;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,oBAAoB,sDAAkE,CAAA;AAEnG,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,SAAS,CAAA;AAE9C,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAyHtD,CAAA;AAED,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IAChG,iDAAiD;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,uHAAuH;IACvH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,yGAAyG;IACzG,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,0IAA0I;IAC1I,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,kBAAkB,CAAA;IAC7B,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,wGAAwG;IACxG,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB"}
1
+ {"version":3,"file":"CheckboxGroup.component.d.ts","sourceRoot":"","sources":["../../../../src/components/CheckboxGroup/CheckboxGroup.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAsD,SAAS,EAAE,MAAM,OAAO,CAAA;AAsC5F,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;AAEjD,MAAM,WAAW,yBAAyB;IACxC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;IAC1B,oBAAoB,CAAC,EAAE,kBAAkB,CAAA;IACzC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,mBAAmB,CAAC,EAAE,kBAAkB,CAAA;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,oBAAoB,sDAAkE,CAAA;AAEnG,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA+HtD,CAAA;AAED,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IAChG,iDAAiD;IACjD,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,uHAAuH;IACvH,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,yGAAyG;IACzG,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,0IAA0I;IAC1I,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,kBAAkB,CAAA;IAC7B,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,wGAAwG;IACxG,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB"}
@@ -24,6 +24,13 @@ declare const _default: {
24
24
  selected: {
25
25
  control: boolean;
26
26
  };
27
+ onChange: {
28
+ table: {
29
+ type: {
30
+ summary: string;
31
+ };
32
+ };
33
+ };
27
34
  };
28
35
  };
29
36
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"CheckboxGroup.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/CheckboxGroup/CheckboxGroup.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,SAAS,MAAM,YAAY,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIlC,wBAyBC;AAED,UAAU,aAAa;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAOD,eAAO,MAAM,OAAO;;gCANqB,aAAa;;;;;;;;CAgBrD,CAAA;AAED,eAAO,MAAM,QAAQ;;gCAlBoB,aAAa;;;;;;;;;CA6BrD,CAAA;AAED,eAAO,MAAM,mBAAmB;;gCA/BS,aAAa;;;;;;;;CA0CrD,CAAA;AAED,eAAO,MAAM,SAAS;;gCA5CmB,aAAa;;;;;;;;;;CAwDrD,CAAA;AAED,eAAO,MAAM,QAAQ;;gCA1DoB,aAAa;;;;;;;;;;;CAuErD,CAAA;AAED,eAAO,MAAM,QAAQ;;gCAzEoB,aAAa;;;;;;;;;;CAqFrD,CAAA;AAED,eAAO,MAAM,kBAAkB;;gCAvFU,aAAa;;;;;;;;;;;CAoGrD,CAAA;AAED,eAAO,MAAM,YAAY;;gCAtGgB,aAAa;;;;;;;;;;;CAmHrD,CAAA;AAED,eAAO,MAAM,kBAAkB;;gCArHU,aAAa;;;;;;;;;;;CAsIrD,CAAA;AAED,eAAO,MAAM,eAAe;;gCAxIa,aAAa;;;;;;;;;;;CAqJrD,CAAA;AAED,eAAO,MAAM,oBAAoB;;gCAvJQ,aAAa;;;;;;;;;;;CAoKrD,CAAA;AAED,eAAO,MAAM,aAAa;;gCAtKe,aAAa;;;;;;;;;;;CAmLrD,CAAA"}
1
+ {"version":3,"file":"CheckboxGroup.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/CheckboxGroup/CheckboxGroup.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,SAAS,MAAM,YAAY,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIlC,wBA8BC;AAED,UAAU,aAAa;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAOD,eAAO,MAAM,OAAO;;gCANqB,aAAa;;;;;;;;CAgBrD,CAAA;AAED,eAAO,MAAM,QAAQ;;gCAlBoB,aAAa;;;;;;;;;CA6BrD,CAAA;AAED,eAAO,MAAM,mBAAmB;;gCA/BS,aAAa;;;;;;;;CA0CrD,CAAA;AAED,eAAO,MAAM,SAAS;;gCA5CmB,aAAa;;;;;;;;;;CAwDrD,CAAA;AAED,eAAO,MAAM,QAAQ;;gCA1DoB,aAAa;;;;;;;;;;;CAuErD,CAAA;AAED,eAAO,MAAM,QAAQ;;gCAzEoB,aAAa;;;;;;;;;;CAqFrD,CAAA;AAED,eAAO,MAAM,kBAAkB;;gCAvFU,aAAa;;;;;;;;;;;CAoGrD,CAAA;AAED,eAAO,MAAM,YAAY;;gCAtGgB,aAAa;;;;;;;;;;;CAmHrD,CAAA;AAED,eAAO,MAAM,kBAAkB;;gCArHU,aAAa;;;;;;;;;;;CAsIrD,CAAA;AAED,eAAO,MAAM,eAAe;;gCAxIa,aAAa;;;;;;;;;;;CAqJrD,CAAA;AAED,eAAO,MAAM,oBAAoB;;gCAvJQ,aAAa;;;;;;;;;;;CAoKrD,CAAA;AAED,eAAO,MAAM,aAAa;;gCAtKe,aAAa;;;;;;;;;;;CAmLrD,CAAA"}
@@ -3,10 +3,10 @@ import { default as React } from 'react';
3
3
  export declare const CodeBlock: React.FC<CodeBlockProps>;
4
4
  type CodeBlockSize = "auto" | "small" | "medium" | "large";
5
5
  export interface CodeBlockProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "content" | "children"> {
6
- /** The content to render. Will override children if passed. */
6
+ /** The content to render. Used when `lang` is "json". Otherwise, if children are not provided. */
7
7
  content?: string | object;
8
- /** The children to render. Will be overridden by content prop if passed as well. */
9
- children?: React.ReactNode | object;
8
+ /** The children to render. Used when `lang` is NOT "json", overriding `content`. */
9
+ children?: React.ReactNode;
10
10
  /** Pass at title to render. Will look like a single tab. */
11
11
  heading?: string;
12
12
  /** Set whether the code should wrap or not. Default is true. */
@@ -15,7 +15,7 @@ export interface CodeBlockProps extends Omit<React.HTMLAttributes<HTMLDivElement
15
15
  size?: CodeBlockSize;
16
16
  /** Render a button to copy the code to the clipboard. Defaults to true */
17
17
  copy?: boolean;
18
- /** Pass a lang prop. Passing "json" will render a fully-featured JsonView. Will also add a data-lang-attribute to the codeblock */
18
+ /** Pass a lang prop. Passing "json" will render a fully-featured JsonView. Will also add a data-lang attribute to the codeblock */
19
19
  lang?: string;
20
20
  /** Add a custom className to the wrapper of the CodeBlock */
21
21
  className?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"CodeBlock.component.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeBlock/CodeBlock.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAwC,MAAM,OAAO,CAAA;AAsG5D,gHAAgH;AAChH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAsE9C,CAAA;AAED,KAAK,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE1D,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IACxG,+DAA+D;IAC/D,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,qFAAqF;IACrF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAA;IACnC,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gEAAgE;IAChE,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,uDAAuD;IACvD,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,0EAA0E;IAC1E,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,mIAAmI;IACnI,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
1
+ {"version":3,"file":"CodeBlock.component.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeBlock/CodeBlock.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAwC,MAAM,OAAO,CAAA;AAsG5D,gHAAgH;AAChH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAsE9C,CAAA;AAED,KAAK,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE1D,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IACxG,kGAAkG;IAClG,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gEAAgE;IAChE,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,uDAAuD;IACvD,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,0EAA0E;IAC1E,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,mIAAmI;IACnI,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -13,6 +13,11 @@ declare const _default: {
13
13
  };
14
14
  children: {
15
15
  control: boolean;
16
+ table: {
17
+ type: {
18
+ summary: string;
19
+ };
20
+ };
16
21
  };
17
22
  };
18
23
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CodeBlock.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeBlock/CodeBlock.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAa,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAGjE,OA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ED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;CAchC,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;CAoBpB,CAAA;AAED,eAAO,MAAM,kBAAkB;mCAjJa,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;CA2L5D,CAAA"}
@@ -1,5 +1,5 @@
1
- import { default as React } from 'react';
2
- type AddOptionValueAndLabelFunction = (value: string, label: string | undefined, children: React.ReactNode) => void;
1
+ import { default as React, ReactNode } from 'react';
2
+ type AddOptionValueAndLabelFunction = (value: string, label: string, children: ReactNode) => void;
3
3
  export type ComboBoxContextType = {
4
4
  selectedValue?: string;
5
5
  truncateOptions: boolean;
@@ -8,12 +8,11 @@ export type ComboBoxContextType = {
8
8
  export declare const ComboBoxContext: React.Context<ComboBoxContextType | undefined>;
9
9
  export declare const ComboBox: React.FC<ComboBoxProps>;
10
10
  export type ComboBoxWidth = "full" | "auto";
11
- type OnChangeHandler = (value: string) => void;
12
11
  export interface ComboBoxProps extends Omit<React.HTMLAttributes<HTMLElement>, "onChange" | "onInput" | "children"> {
13
12
  /** The aria-label of the ComboBox. Defaults to the label if label was passed. */
14
13
  ariaLabel?: string;
15
14
  /** The children to Render. Use `ComboBox.Option` elements. */
16
- children?: React.ReactNode;
15
+ children?: ReactNode;
17
16
  /** A custom className. Will be passed to the internal text input element of the ComboBox */
18
17
  className?: string;
19
18
  /** Pass a defaultValue to use as an uncontrolled Component that will handle its state internally */
@@ -23,9 +22,9 @@ export interface ComboBoxProps extends Omit<React.HTMLAttributes<HTMLElement>, "
23
22
  /** Whether the ComboBox has an error. Note this refers to an internal error like failing to load options etc., to indicate failed validation use `invalid` instead. */
24
23
  error?: boolean;
25
24
  /** An errortext to display when the ComboBox failed validation or an internal error occurred. */
26
- errortext?: React.ReactNode;
25
+ errortext?: ReactNode;
27
26
  /** A helptext to render to explain meaning and significance of the ComboBox */
28
- helptext?: React.ReactNode;
27
+ helptext?: ReactNode;
29
28
  /** The Id of the ComboBox. Will be assigned to the text input part of the ComboBox. If not passed, an id will be auto-generated. */
30
29
  id?: string;
31
30
  /** Whether the ComboBox failed validation */
@@ -41,7 +40,7 @@ export interface ComboBoxProps extends Omit<React.HTMLAttributes<HTMLElement>, "
41
40
  /** A handler to execute when the ComboBox looses focus */
42
41
  onBlur?: React.FocusEventHandler<HTMLInputElement>;
43
42
  /** A handler to execute when the ComboBox' selected value changes */
44
- onChange?: OnChangeHandler;
43
+ onChange?: (value: string) => void;
45
44
  /** A handler to execute when the ComboBox input receives focus */
46
45
  onFocus?: React.FocusEventHandler<HTMLInputElement>;
47
46
  /** Handler to execute when the ComboBox text input value changes */
@@ -51,7 +50,7 @@ export interface ComboBoxProps extends Omit<React.HTMLAttributes<HTMLElement>, "
51
50
  /** Whether the ComboBox is required */
52
51
  required?: boolean;
53
52
  /** A text to display in case the ComboBox was successfully validated. Will set the ComboBox to `valid` when passed. */
54
- successtext?: React.ReactNode;
53
+ successtext?: ReactNode;
55
54
  /** Whether the option labels should be truncated in case they are longer/wider than the available space in an option or not. Default is FALSE. */
56
55
  truncateOptions?: boolean;
57
56
  /** Whether the ComboBox was successfully validated */
@@ -1 +1 @@
1
- {"version":3,"file":"ComboBox.component.d.ts","sourceRoot":"","sources":["../../../../src/components/ComboBox/ComboBox.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA6D,MAAM,OAAO,CAAA;AA8HjF,KAAK,8BAA8B,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAA;AAEnH,MAAM,MAAM,mBAAmB,GAAG;IAChC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,eAAe,EAAE,OAAO,CAAA;IACxB,sBAAsB,EAAE,8BAA8B,CAAA;CACvD,CAAA;AAED,eAAO,MAAM,eAAe,gDAA4D,CAAA;AASxF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC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HAAuH;IACvH,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,kJAAkJ;IAClJ,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,sDAAsD;IACtD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sUAAsU;IACtU,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,sEAAsE;IACtE,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,mLAAmL;IACnL,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B"}
@@ -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":"Container.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Container/Container.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAa,cAAc,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;AAEnD,wBAgBC;AAID,eAAO,MAAM,KAAK;mBAFM,cAAc;;;;;;;;;CAerC,CAAA;AAED,eAAO,MAAM,mBAAmB;mBAjBR,cAAc;;;;;;;;;;;CAgCrC,CAAA"}
1
+ {"version":3,"file":"Container.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Container/Container.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAa,cAAc,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;;;AAEnD,wBAmBC;AAID,eAAO,MAAM,KAAK;mBAFM,cAAc;;;;;;;;;CAerC,CAAA;AAED,eAAO,MAAM,mBAAmB;mBAjBR,cAAc;;;;;;;;;;;CAgCrC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import { default as React, ReactNode } from 'react';
2
2
  export interface ContentContainerProps extends React.HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * Additional CSS classes for custom styling.
@@ -7,7 +7,7 @@ export interface ContentContainerProps extends React.HTMLAttributes<HTMLDivEleme
7
7
  /**
8
8
  * Custom content to render within the container.
9
9
  */
10
- children?: React.ReactNode;
10
+ children?: ReactNode;
11
11
  }
12
12
  /**
13
13
  * ContentContainer serves as a wrapper for app content.
@@ -19,6 +19,6 @@ export declare const ContentContainer: React.FC<ContentContainerProps>;
19
19
  export interface ContentContainerProps extends React.HTMLAttributes<HTMLDivElement> {
20
20
  /** Add custom class name */
21
21
  className?: string;
22
- children?: React.ReactNode;
22
+ children?: ReactNode;
23
23
  }
24
24
  //# sourceMappingURL=ContentContainer.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContentContainer.component.d.ts","sourceRoot":"","sources":["../../../../src/components/ContentContainer/ContentContainer.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACjF;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAM5D,CAAA;AAED,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACjF,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B"}
1
+ {"version":3,"file":"ContentContainer.component.d.ts","sourceRoot":"","sources":["../../../../src/components/ContentContainer/ContentContainer.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAWxC,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACjF;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAM5D,CAAA;AAED,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACjF,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB"}
@@ -1,10 +1,10 @@
1
- import { default as React } from 'react';
1
+ import { default as React, ReactNode } from 'react';
2
2
  export interface ContentHeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
3
3
  /**
4
4
  * Custom content to render within the container heading.
5
5
  * Takes precedence over the heading prop.
6
6
  */
7
- children?: React.ReactNode;
7
+ children?: ReactNode;
8
8
  /**
9
9
  * Text for the heading. Used if children is not provided.
10
10
  * Children prop takes precedence.
@@ -23,7 +23,7 @@ export interface ContentHeadingProps extends React.HTMLAttributes<HTMLHeadingEle
23
23
  export declare const ContentHeading: React.FC<ContentHeadingProps>;
24
24
  export interface ContentHeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
25
25
  /** Optionally render children. If children are present, heading will be ignored */
26
- children?: React.ReactNode;
26
+ children?: ReactNode;
27
27
  /** Text to use as a title */
28
28
  heading?: string;
29
29
  /** Add custom class name */
@@ -1 +1 @@
1
- {"version":3,"file":"ContentHeading.component.d.ts","sourceRoot":"","sources":["../../../../src/components/ContentHeading/ContentHeading.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC;IACnF;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAMxD,CAAA;AAED,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC;IACnF,mFAAmF;IACnF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
1
+ {"version":3,"file":"ContentHeading.component.d.ts","sourceRoot":"","sources":["../../../../src/components/ContentHeading/ContentHeading.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AASxC,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC;IACnF;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAMxD,CAAA;AAED,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC;IACnF,mFAAmF;IACnF,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -24,7 +24,7 @@ export interface DataGridProps extends React.HTMLAttributes<HTMLDivElement> {
24
24
  * which means that all child elements of the cell will be stacked vertically. To avoid this, wrap the elements in their own div */
25
25
  cellVerticalAlignment?: CellVerticalAlignmentType;
26
26
  /** Children to render in the DataGrid */
27
- children?: JSX.Element | (JSX.Element[] | JSX.Element | null)[] | null;
27
+ children?: React.ReactNode;
28
28
  /** Add a class name */
29
29
  className?: string;
30
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DataGrid.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGrid/DataGrid.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAyCzB,UAAU,mBAAmB;IAC3B,qBAAqB,CAAC,EAAE,yBAAyB,CAAA;CAClD;AAID,eAAO,MAAM,kBAAkB,2BAA0C,CAAA;AAGzE;GACG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA2B5C,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,KAAK,CAAA;AAExD,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,4BAA4B;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gFAAgF;IAChF,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,4CAA4C;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,qJAAqJ;IACrJ,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC5B;;iIAE6H;IAC7H,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B;uIACmI;IACnI,qBAAqB,CAAC,EAAE,yBAAyB,CAAA;IACjD,yCAAyC;IACzC,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,GAAG,IAAI,CAAA;IACtE,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
1
+ {"version":3,"file":"DataGrid.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGrid/DataGrid.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAyCzB,UAAU,mBAAmB;IAC3B,qBAAqB,CAAC,EAAE,yBAAyB,CAAA;CAClD;AAID,eAAO,MAAM,kBAAkB,2BAA0C,CAAA;AAGzE;GACG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA2B5C,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,KAAK,CAAA;AAExD,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,4BAA4B;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gFAAgF;IAChF,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,4CAA4C;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,qJAAqJ;IACrJ,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC5B;;iIAE6H;IAC7H,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B;uIACmI;IACnI,qBAAqB,CAAC,EAAE,yBAAyB,CAAA;IACjD,yCAAyC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -5,6 +5,11 @@ declare const _default: {
5
5
  argTypes: {
6
6
  children: {
7
7
  control: boolean;
8
+ table: {
9
+ type: {
10
+ summary: string;
11
+ };
12
+ };
8
13
  };
9
14
  };
10
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DataGrid.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGrid/DataGrid.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;;;;;;;;;;AA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MAAM;uDApHyC,aAAa;;;;;;;;;;;;CAmIxE,CAAA;AAED,eAAO,MAAM,WAAW;uDArIoC,aAAa;;;;;;;;;;;;CAoJxE,CAAA"}
@@ -6,7 +6,7 @@ export interface DataGridCellProps extends React.HTMLAttributes<HTMLDivElement>
6
6
  /** Set nowrap to true if the cell content shouldn't wrap (this is achieved by adding white-space: nowrap;) */
7
7
  nowrap?: boolean;
8
8
  /** Children to render in the DataGridCell */
9
- children?: (JSX.Element[] | JSX.Element | null)[] | JSX.Element | string | null;
9
+ children?: React.ReactNode;
10
10
  /** Add a classname */
11
11
  className?: string;
12
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridCell.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridCell/DataGridCell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAgCzC,eAAO,MAAM,YAAY,0FAiBxB,CAAA;AAID,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC7E,mLAAmL;IACnL,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,8GAA8G;IAC9G,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,GAAG,GAAG,CAAC,OAAO,GAAG,MAAM,GAAG,IAAI,CAAA;IAC/E,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
1
+ {"version":3,"file":"DataGridCell.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridCell/DataGridCell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAgCzC,eAAO,MAAM,YAAY,0FAiBxB,CAAA;AAID,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC7E,mLAAmL;IACnL,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,8GAA8G;IAC9G,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,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
  };
12
17
  decorators: ((story: StoryFunction) => React.JSX.Element)[];
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridCell.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridCell/DataGridCell.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAgB,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEzD,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA;;;;;;;;;yBAW1B,aAAa;;;;;;;;;AATzB,wBAsBC;AAID,eAAO,MAAM,OAAO;mBAFI,iBAAiB;;;;;;;;;;;CAgBxC,CAAA;AAED,eAAO,MAAM,MAAM;mBAlBK,iBAAiB;;;;;;;;;;;;CAiCxC,CAAA;AAED,eAAO,MAAM,OAAO;mBAnCI,iBAAiB;;;;;;;;;;;;CAkDxC,CAAA"}
1
+ {"version":3,"file":"DataGridCell.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridCell/DataGridCell.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAgB,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEzD,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA;;;;;;;;;;;;;;yBAc1B,aAAa;;;;;;;;;AAZzB,wBAyBC;AAID,eAAO,MAAM,OAAO;mBAFI,iBAAiB;;;;;;;;;;;CAgBxC,CAAA;AAED,eAAO,MAAM,MAAM;mBAlBK,iBAAiB;;;;;;;;;;;;CAiCxC,CAAA;AAED,eAAO,MAAM,OAAO;mBAnCI,iBAAiB;;;;;;;;;;;;CAkDxC,CAAA"}
@@ -4,11 +4,6 @@ type StoryFunction = () => JSX.Element;
4
4
  declare const _default: {
5
5
  title: string;
6
6
  component: React.FC<DataGridCheckboxCellProps>;
7
- argTypes: {
8
- children: {
9
- control: boolean;
10
- };
11
- };
12
7
  decorators: ((story: StoryFunction) => React.JSX.Element)[];
13
8
  parameters: {
14
9
  docs: {
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridCheckboxCell.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridCheckboxCell/DataGridCheckboxCell.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAwB,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAEzE,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA;;;;;;;;;yBAW1B,aAAa;;;;;;;;;AATzB,wBAsBC;AAID,eAAO,MAAM,OAAO;mBAFI,yBAAyB;;;;;;;;;CAchD,CAAA;AAED,eAAO,MAAM,QAAQ;mBAhBG,yBAAyB;;;;;;;;;;;CA8BhD,CAAA"}
1
+ {"version":3,"file":"DataGridCheckboxCell.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridCheckboxCell/DataGridCheckboxCell.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAwB,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAEzE,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA;;;;yBAM1B,aAAa;;;;;;;;;AAJzB,wBAiBC;AAID,eAAO,MAAM,OAAO;mBAFI,yBAAyB;;;;;;;;;CAchD,CAAA;AAED,eAAO,MAAM,QAAQ;mBAhBG,yBAAyB;;;;;;;;;;;CA8BhD,CAAA"}
@@ -2,7 +2,7 @@ import { default as React } from 'react';
2
2
  export declare const DataGridFoot: React.FC<DataGridFootProps>;
3
3
  export interface DataGridFootProps extends React.HTMLAttributes<HTMLTableSectionElement> {
4
4
  /** Children to render in the DataGridFoot */
5
- children?: JSX.Element | null;
5
+ children?: React.ReactNode;
6
6
  /** Add a classname */
7
7
  className?: string;
8
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridFoot.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridFoot/DataGridFoot.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAMpD,CAAA;AAED,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,uBAAuB,CAAC;IACtF,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,IAAI,CAAA;IAC7B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
1
+ {"version":3,"file":"DataGridFoot.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridFoot/DataGridFoot.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAMpD,CAAA;AAED,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,uBAAuB,CAAC;IACtF,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,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
  decorators: ((story: StoryFunction) => React.JSX.Element)[];
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridFoot.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridFoot/DataGridFoot.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,KAAK,aAAa,GAAG,MAAM,KAAK,CAAC,SAAS,CAAA;;;;;;;;;yBAUnB,aAAa;;;;;;;;;AARpC,wBAgBC;AAcD,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAA"}
1
+ {"version":3,"file":"DataGridFoot.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridFoot/DataGridFoot.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,KAAK,aAAa,GAAG,MAAM,KAAK,CAAC,SAAS,CAAA;;;;;;;;;;;;;;yBAanB,aAAa;;;;;;;;;AAXpC,wBAmBC;AAcD,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAA"}
@@ -7,7 +7,7 @@ export interface DataGridHeadCellProps extends React.HTMLAttributes<HTMLElement>
7
7
  /** Set nowrap to true if the cell content shouldn't wrap (this is achieved by adding white-space: nowrap;) */
8
8
  nowrap?: boolean;
9
9
  /** Children to render in the DataGridHeadCell */
10
- children?: JSX.Element | string | null;
10
+ children?: React.ReactNode;
11
11
  /** Add a classname */
12
12
  className?: string;
13
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridHeadCell.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridHeadCell/DataGridHeadCell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAUzC,eAAO,MAAM,gBAAgB,8FAgC5B,CAAA;AAID,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC9E,6DAA6D;IAE7D,mLAAmL;IACnL,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,8GAA8G;IAC9G,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,GAAG,IAAI,CAAA;IACtC,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
1
+ {"version":3,"file":"DataGridHeadCell.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridHeadCell/DataGridHeadCell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAUzC,eAAO,MAAM,gBAAgB,8FAgC5B,CAAA;AAID,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC9E,6DAA6D;IAE7D,mLAAmL;IACnL,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,8GAA8G;IAC9G,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,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
  };
12
17
  decorators: ((story: StoryFunction) => React.JSX.Element)[];
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridHeadCell.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridHeadCell/DataGridHeadCell.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAoB,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAEjE,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA;;;;;;;;;yBAW1B,aAAa;;;;;;;;;AATzB,wBAsBC;AAID,eAAO,MAAM,OAAO;mBAFI,qBAAqB;;;;;;;;;;;CAgB5C,CAAA;AAED,eAAO,MAAM,MAAM;mBAlBK,qBAAqB;;;;;;;;;;;;CAiC5C,CAAA;AAED,eAAO,MAAM,OAAO;mBAnCI,qBAAqB;;;;;;;;;;;;CAkD5C,CAAA"}
1
+ {"version":3,"file":"DataGridHeadCell.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridHeadCell/DataGridHeadCell.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAoB,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAEjE,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA;;;;;;;;;;;;;;yBAc1B,aAAa;;;;;;;;;AAZzB,wBAyBC;AAID,eAAO,MAAM,OAAO;mBAFI,qBAAqB;;;;;;;;;;;CAgB5C,CAAA;AAED,eAAO,MAAM,MAAM;mBAlBK,qBAAqB;;;;;;;;;;;;CAiC5C,CAAA;AAED,eAAO,MAAM,OAAO;mBAnCI,qBAAqB;;;;;;;;;;;;CAkD5C,CAAA"}
@@ -2,7 +2,7 @@ import { default as React } from 'react';
2
2
  export declare const DataGridRow: React.ForwardRefExoticComponent<DataGridRowProps & React.RefAttributes<HTMLDivElement>>;
3
3
  export interface DataGridRowProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  /** Children to render in the DataGridRow */
5
- children?: JSX.Element | (JSX.Element | null)[] | null;
5
+ children?: React.ReactNode;
6
6
  /** Add a classname */
7
7
  className?: string;
8
8
  }