@cloudoperators/juno-ui-components 6.1.0 → 6.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/build/components/AppBody/AppBody.component.d.ts +18 -8
  2. package/build/components/AppBody/AppBody.component.d.ts.map +1 -1
  3. package/build/components/AppBody/AppBody.stories.d.ts.map +1 -1
  4. package/build/components/AppShell/AppShell.component.d.ts +39 -15
  5. package/build/components/AppShell/AppShell.component.d.ts.map +1 -1
  6. package/build/components/AppShellProvider/AppShellProvider.component.d.ts +30 -9
  7. package/build/components/AppShellProvider/AppShellProvider.component.d.ts.map +1 -1
  8. package/build/components/Badge/Badge.component.d.ts +20 -17
  9. package/build/components/Badge/Badge.component.d.ts.map +1 -1
  10. package/build/components/Box/Box.component.d.ts +16 -10
  11. package/build/components/Box/Box.component.d.ts.map +1 -1
  12. package/build/components/Breadcrumb/Breadcrumb.component.d.ts +14 -12
  13. package/build/components/Breadcrumb/Breadcrumb.component.d.ts.map +1 -1
  14. package/build/components/Breadcrumb/Breadcrumb.stories.d.ts +1 -1
  15. package/build/components/BreadcrumbItem/BreadcrumbItem.component.d.ts +25 -15
  16. package/build/components/BreadcrumbItem/BreadcrumbItem.component.d.ts.map +1 -1
  17. package/build/components/BreadcrumbItem/BreadcrumbItem.stories.d.ts +1 -1
  18. package/build/components/Button/Button.component.d.ts +48 -16
  19. package/build/components/Button/Button.component.d.ts.map +1 -1
  20. package/build/components/ButtonRow/ButtonRow.component.d.ts +21 -7
  21. package/build/components/ButtonRow/ButtonRow.component.d.ts.map +1 -1
  22. package/build/components/Card/Card.component.d.ts +13 -7
  23. package/build/components/Card/Card.component.d.ts.map +1 -1
  24. package/build/components/Checkbox/Checkbox.component.d.ts +69 -21
  25. package/build/components/Checkbox/Checkbox.component.d.ts.map +1 -1
  26. package/build/components/CheckboxGroup/CheckboxGroup.component.d.ts +43 -16
  27. package/build/components/CheckboxGroup/CheckboxGroup.component.d.ts.map +1 -1
  28. package/build/components/Code/Code.component.d.ts +17 -6
  29. package/build/components/Code/Code.component.d.ts.map +1 -1
  30. package/build/components/CodeBlock/CodeBlock.component.d.ts +39 -13
  31. package/build/components/CodeBlock/CodeBlock.component.d.ts.map +1 -1
  32. package/build/components/ComboBox/ComboBox.component.d.ts +70 -33
  33. package/build/components/ComboBox/ComboBox.component.d.ts.map +1 -1
  34. package/build/components/ComboBoxOption/ComboBoxOption.component.d.ts +22 -8
  35. package/build/components/ComboBoxOption/ComboBoxOption.component.d.ts.map +1 -1
  36. package/build/components/Container/Container.component.d.ts +20 -8
  37. package/build/components/Container/Container.component.d.ts.map +1 -1
  38. package/build/components/ContentAreaToolbar/ContentAreaToolbar.component.d.ts +11 -8
  39. package/build/components/ContentAreaToolbar/ContentAreaToolbar.component.d.ts.map +1 -1
  40. package/build/components/ContentContainer/ContentContainer.component.d.ts +10 -11
  41. package/build/components/ContentContainer/ContentContainer.component.d.ts.map +1 -1
  42. package/build/components/ContentHeading/ContentHeading.component.d.ts +13 -11
  43. package/build/components/ContentHeading/ContentHeading.component.d.ts.map +1 -1
  44. package/build/components/DataGrid/DataGrid.component.d.ts +31 -20
  45. package/build/components/DataGrid/DataGrid.component.d.ts.map +1 -1
  46. package/build/components/DataGridCell/DataGridCell.component.d.ts +19 -7
  47. package/build/components/DataGridCell/DataGridCell.component.d.ts.map +1 -1
  48. package/build/components/DataGridCheckboxCell/DataGridCheckboxCell.component.d.ts +23 -8
  49. package/build/components/DataGridCheckboxCell/DataGridCheckboxCell.component.d.ts.map +1 -1
  50. package/build/components/DataGridFoot/DataGridFoot.component.d.ts +17 -6
  51. package/build/components/DataGridFoot/DataGridFoot.component.d.ts.map +1 -1
  52. package/build/components/DataGridHeadCell/DataGridHeadCell.component.d.ts +9 -3
  53. package/build/components/DataGridHeadCell/DataGridHeadCell.component.d.ts.map +1 -1
  54. package/build/components/DataGridRow/DataGridRow.component.d.ts +10 -4
  55. package/build/components/DataGridRow/DataGridRow.component.d.ts.map +1 -1
  56. package/build/components/DataGridToolbar/DataGridToolbar.component.d.ts +21 -9
  57. package/build/components/DataGridToolbar/DataGridToolbar.component.d.ts.map +1 -1
  58. package/build/components/DateTimePicker/DateTimePicker.component.d.ts +11 -6
  59. package/build/components/DateTimePicker/DateTimePicker.component.d.ts.map +1 -1
  60. package/build/components/Form/Form.component.d.ts +9 -4
  61. package/build/components/Form/Form.component.d.ts.map +1 -1
  62. package/build/components/FormHint/FormHint.component.d.ts +13 -4
  63. package/build/components/FormHint/FormHint.component.d.ts.map +1 -1
  64. package/build/components/FormRow/FormRow.component.d.ts +10 -6
  65. package/build/components/FormRow/FormRow.component.d.ts.map +1 -1
  66. package/build/components/FormSection/FormSection.component.d.ts +9 -4
  67. package/build/components/FormSection/FormSection.component.d.ts.map +1 -1
  68. package/build/components/FormattedText/FormattedText.component.d.ts +13 -6
  69. package/build/components/FormattedText/FormattedText.component.d.ts.map +1 -1
  70. package/build/components/Grid/Grid.component.d.ts +11 -6
  71. package/build/components/Grid/Grid.component.d.ts.map +1 -1
  72. package/build/components/GridColumn/GridColumn.component.d.ts +11 -5
  73. package/build/components/GridColumn/GridColumn.component.d.ts.map +1 -1
  74. package/build/components/GridRow/GridRow.component.d.ts +9 -6
  75. package/build/components/GridRow/GridRow.component.d.ts.map +1 -1
  76. package/build/components/HeaderContainer/HeaderContainer.component.d.ts +21 -6
  77. package/build/components/HeaderContainer/HeaderContainer.component.d.ts.map +1 -1
  78. package/build/components/Icon/Icon.component.d.ts +22 -3
  79. package/build/components/Icon/Icon.component.d.ts.map +1 -1
  80. package/build/components/InputGroup/InputGroup.component.d.ts +8 -4
  81. package/build/components/InputGroup/InputGroup.component.d.ts.map +1 -1
  82. package/build/components/IntroBox/IntroBox.component.d.ts +32 -13
  83. package/build/components/IntroBox/IntroBox.component.d.ts.map +1 -1
  84. package/build/components/JsonViewer/JsonViewer.component.d.ts +38 -11
  85. package/build/components/JsonViewer/JsonViewer.component.d.ts.map +1 -1
  86. package/build/components/Label/Label.component.d.ts +32 -10
  87. package/build/components/Label/Label.component.d.ts.map +1 -1
  88. package/build/components/LoadingIndicator/LoadingIndicator.component.d.ts +12 -8
  89. package/build/components/LoadingIndicator/LoadingIndicator.component.d.ts.map +1 -1
  90. package/build/components/MainContainer/MainContainer.component.d.ts +15 -7
  91. package/build/components/MainContainer/MainContainer.component.d.ts.map +1 -1
  92. package/build/components/MainContainerInner/MainContainerInner.component.d.ts +19 -8
  93. package/build/components/MainContainerInner/MainContainerInner.component.d.ts.map +1 -1
  94. package/build/components/MainTabs/MainTabs.component.d.ts +25 -11
  95. package/build/components/MainTabs/MainTabs.component.d.ts.map +1 -1
  96. package/build/components/Message/Message.component.d.ts +15 -8
  97. package/build/components/Message/Message.component.d.ts.map +1 -1
  98. package/build/components/Modal/Modal.component.d.ts +91 -42
  99. package/build/components/Modal/Modal.component.d.ts.map +1 -1
  100. package/build/components/ModalFooter/ModalFooter.component.d.ts +47 -21
  101. package/build/components/ModalFooter/ModalFooter.component.d.ts.map +1 -1
  102. package/build/components/NativeSelect/NativeSelect.component.d.ts +16 -6
  103. package/build/components/NativeSelect/NativeSelect.component.d.ts.map +1 -1
  104. package/build/components/NativeSelectOption/NativeSelectOption.component.d.ts +9 -5
  105. package/build/components/NativeSelectOption/NativeSelectOption.component.d.ts.map +1 -1
  106. package/build/components/NativeSelectOptionGroup/NativeSelectOptionGroup.component.d.ts +10 -6
  107. package/build/components/NativeSelectOptionGroup/NativeSelectOptionGroup.component.d.ts.map +1 -1
  108. package/build/components/Navigation/Navigation.component.d.ts +30 -10
  109. package/build/components/Navigation/Navigation.component.d.ts.map +1 -1
  110. package/build/components/NavigationItem/NavigationItem.component.d.ts +56 -17
  111. package/build/components/NavigationItem/NavigationItem.component.d.ts.map +1 -1
  112. package/build/components/PageFooter/PageFooter.component.d.ts +17 -11
  113. package/build/components/PageFooter/PageFooter.component.d.ts.map +1 -1
  114. package/build/components/PageFooter/PageFooter.stories.d.ts +1 -1
  115. package/build/components/PageHeader/PageHeader.component.d.ts +17 -12
  116. package/build/components/PageHeader/PageHeader.component.d.ts.map +1 -1
  117. package/build/components/Pagination/Pagination.component.d.ts +5 -3
  118. package/build/components/Pagination/Pagination.component.d.ts.map +1 -1
  119. package/build/components/Panel/Panel.component.d.ts +4 -2
  120. package/build/components/Panel/Panel.component.d.ts.map +1 -1
  121. package/build/components/PanelBody/PanelBody.component.d.ts +4 -2
  122. package/build/components/PanelBody/PanelBody.component.d.ts.map +1 -1
  123. package/build/components/PanelFooter/PanelFooter.component.d.ts +4 -2
  124. package/build/components/PanelFooter/PanelFooter.component.d.ts.map +1 -1
  125. package/build/components/Pill/Pill.component.d.ts +7 -5
  126. package/build/components/Pill/Pill.component.d.ts.map +1 -1
  127. package/build/components/PopupMenu/PopupMenu.component.d.ts +21 -17
  128. package/build/components/PopupMenu/PopupMenu.component.d.ts.map +1 -1
  129. package/build/components/PortalProvider/PortalProvider.Portal.component.d.ts +6 -3
  130. package/build/components/PortalProvider/PortalProvider.Portal.component.d.ts.map +1 -1
  131. package/build/components/PortalProvider/PortalProvider.component.d.ts +8 -3
  132. package/build/components/PortalProvider/PortalProvider.component.d.ts.map +1 -1
  133. package/build/components/Radio/Radio.component.d.ts +8 -4
  134. package/build/components/Radio/Radio.component.d.ts.map +1 -1
  135. package/build/components/RadioGroup/RadioGroup.component.d.ts +7 -5
  136. package/build/components/RadioGroup/RadioGroup.component.d.ts.map +1 -1
  137. package/build/components/SearchInput/SearchInput.component.d.ts +9 -7
  138. package/build/components/SearchInput/SearchInput.component.d.ts.map +1 -1
  139. package/build/components/SecretText/SecretText.component.d.ts +11 -7
  140. package/build/components/SecretText/SecretText.component.d.ts.map +1 -1
  141. package/build/components/Select/Select.component.d.ts +8 -6
  142. package/build/components/Select/Select.component.d.ts.map +1 -1
  143. package/build/components/SelectDivider/SelectDivider.component.d.ts +7 -3
  144. package/build/components/SelectDivider/SelectDivider.component.d.ts.map +1 -1
  145. package/build/components/SelectOption/SelectOption.component.d.ts +15 -3
  146. package/build/components/SelectOption/SelectOption.component.d.ts.map +1 -1
  147. package/build/components/ShadowRoot/ShadowRoot.component.d.ts +5 -3
  148. package/build/components/ShadowRoot/ShadowRoot.component.d.ts.map +1 -1
  149. package/build/components/SideNavigation/SideNavigation.component.d.ts +8 -6
  150. package/build/components/SideNavigation/SideNavigation.component.d.ts.map +1 -1
  151. package/build/components/SideNavigationGroup/SideNavigationGroup.component.d.ts +5 -2
  152. package/build/components/SideNavigationGroup/SideNavigationGroup.component.d.ts.map +1 -1
  153. package/build/components/SideNavigationItem/SideNavigationItem.component.d.ts +7 -4
  154. package/build/components/SideNavigationItem/SideNavigationItem.component.d.ts.map +1 -1
  155. package/build/components/SideNavigationList/SideNavigationList.component.d.ts +10 -2
  156. package/build/components/SideNavigationList/SideNavigationList.component.d.ts.map +1 -1
  157. package/build/components/SideNavigationList/SideNavigationList.stories.d.ts.map +1 -1
  158. package/build/components/SignInForm/SignInForm.component.d.ts +2 -2
  159. package/build/components/SignInForm/SignInForm.component.d.ts.map +1 -1
  160. package/build/components/SortButton/SortButton.component.d.ts +14 -3
  161. package/build/components/SortButton/SortButton.component.d.ts.map +1 -1
  162. package/build/components/SortButton/SortButton.stories.d.ts.map +1 -1
  163. package/build/components/Spinner/Spinner.component.d.ts +8 -5
  164. package/build/components/Spinner/Spinner.component.d.ts.map +1 -1
  165. package/build/components/Stack/Stack.component.d.ts +6 -4
  166. package/build/components/Stack/Stack.component.d.ts.map +1 -1
  167. package/build/components/StyleProvider/StyleProvider.component.d.ts +3 -0
  168. package/build/components/StyleProvider/StyleProvider.component.d.ts.map +1 -1
  169. package/build/components/Switch/Switch.component.d.ts +8 -5
  170. package/build/components/Switch/Switch.component.d.ts.map +1 -1
  171. package/build/components/Tab/Tab.component.d.ts +9 -8
  172. package/build/components/Tab/Tab.component.d.ts.map +1 -1
  173. package/build/components/TabList/TabList.component.d.ts +9 -5
  174. package/build/components/TabList/TabList.component.d.ts.map +1 -1
  175. package/build/components/TabNavigation/TabNavigation.component.d.ts +8 -4
  176. package/build/components/TabNavigation/TabNavigation.component.d.ts.map +1 -1
  177. package/build/components/TabNavigationItem/TabNavigationItem.component.d.ts +11 -7
  178. package/build/components/TabNavigationItem/TabNavigationItem.component.d.ts.map +1 -1
  179. package/build/components/TabPanel/TabPanel.component.d.ts +7 -5
  180. package/build/components/TabPanel/TabPanel.component.d.ts.map +1 -1
  181. package/build/components/Tabs/Tabs.component.d.ts +9 -7
  182. package/build/components/Tabs/Tabs.component.d.ts.map +1 -1
  183. package/build/components/TextInput/TextInput.component.d.ts +11 -9
  184. package/build/components/TextInput/TextInput.component.d.ts.map +1 -1
  185. package/build/components/Textarea/Textarea.component.d.ts +11 -9
  186. package/build/components/Textarea/Textarea.component.d.ts.map +1 -1
  187. package/build/components/ThemeToggle/ThemeToggle.component.d.ts +4 -2
  188. package/build/components/ThemeToggle/ThemeToggle.component.d.ts.map +1 -1
  189. package/build/components/Toast/Toast.component.d.ts +8 -6
  190. package/build/components/Toast/Toast.component.d.ts.map +1 -1
  191. package/build/components/ToggleButton/ToggleButton.component.d.ts +21 -0
  192. package/build/components/ToggleButton/ToggleButton.component.d.ts.map +1 -1
  193. package/build/components/ToggleButton/ToggleButton.stories.d.ts.map +1 -1
  194. package/build/components/Tooltip/Tooltip.component.d.ts +8 -5
  195. package/build/components/Tooltip/Tooltip.component.d.ts.map +1 -1
  196. package/build/components/TooltipContent/TooltipContent.component.d.ts +5 -3
  197. package/build/components/TooltipContent/TooltipContent.component.d.ts.map +1 -1
  198. package/build/components/TooltipTrigger/TooltipTrigger.component.d.ts +5 -3
  199. package/build/components/TooltipTrigger/TooltipTrigger.component.d.ts.map +1 -1
  200. package/build/components/TopNavigation/TopNavigation.component.d.ts +8 -6
  201. package/build/components/TopNavigation/TopNavigation.component.d.ts.map +1 -1
  202. package/build/components/TopNavigationItem/TopNavigationItem.component.d.ts +10 -8
  203. package/build/components/TopNavigationItem/TopNavigationItem.component.d.ts.map +1 -1
  204. package/build/components/withDeprecationWarning/withDeprecationWarning.component.d.ts.map +1 -1
  205. package/build/index.js +1802 -1795
  206. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"SearchInput.component.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAmF,MAAM,OAAO,CAAA;AAKvG,OAAO,mBAAmB,CAAA;AAE1B,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC1F;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;;OAKG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAAA;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IAEH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAC9C;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAA;IACrD;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,CAAA;IACzD;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;CAC/C;AA8DD;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAuFlD,CAAA"}
1
+ {"version":3,"file":"SearchInput.component.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAOZ,SAAS,EACT,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EAClB,SAAS,EACV,MAAM,OAAO,CAAA;AAKd,OAAO,mBAAmB,CAAA;AAE1B,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAAE,SAAS,CAAC;IACpF;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;;OAKG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAAA;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IAEH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAA;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,gBAAgB,CAAC,CAAA;IAC/C;;OAEG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAC,gBAAgB,CAAC,CAAA;IACnD;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAA;CACzC;AA8DD;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,GAAI,6IAezB,gBAAgB,KAAG,SAwErB,CAAA"}
@@ -1,7 +1,11 @@
1
- import { default as React, ReactNode } from 'react';
2
- /** A component to hold a secret text, e.g. an SSH key, and conceal or reveal as needed. */
3
- export declare const SecretText: React.FC<SecretTextProps>;
4
- export interface SecretTextProps extends Omit<React.HTMLAttributes<HTMLTextAreaElement>, "onCopy" | "onPaste"> {
1
+ import { ReactNode, HTMLAttributes, FocusEventHandler, ChangeEventHandler } from 'react';
2
+ /**
3
+ * A component to hold a secret text, e.g. an SSH key, and conceal or reveal as needed.
4
+ * @see https://cloudoperators.github.io/juno/?path=/docs/forms-secrettext--docs
5
+ * @see {@link SecretTextProps}
6
+ */
7
+ export declare const SecretText: ({ autoComplete, className, clear, copy, copyConfirmtext, disableClear, disableCopy, disabled, disablePaste, disableToggle, errortext, helptext, id, onBlur, onChange, onClear, onCopy, onFocus, onHide, onPaste, onReveal, onToggle, label, name, paste, placeholder, readOnly, required, reveal, successtext, toggle, valid, invalid, value, wrapperClassName, ...props }: SecretTextProps) => ReactNode;
8
+ export interface SecretTextProps extends Omit<HTMLAttributes<HTMLTextAreaElement>, "onCopy" | "onPaste"> {
5
9
  /** Whether the secret field should autocomplete. */
6
10
  autoComplete?: string;
7
11
  /** Pass a custom className to the Secret input field. */
@@ -35,15 +39,15 @@ export interface SecretTextProps extends Omit<React.HTMLAttributes<HTMLTextAreaE
35
39
  /** The name of the SecretText's textarea. */
36
40
  name?: string;
37
41
  /** A handler to execute when the Secret's input area looses focus. */
38
- onBlur?: React.FocusEventHandler<HTMLTextAreaElement>;
42
+ onBlur?: FocusEventHandler<HTMLTextAreaElement>;
39
43
  /** A handler to execute when the Secret's content changes. */
40
- onChange?: React.ChangeEventHandler<HTMLTextAreaElement>;
44
+ onChange?: ChangeEventHandler<HTMLTextAreaElement>;
41
45
  /** A handler to execute when the user clears the Secret's content using the Clear button. */
42
46
  onClear?: () => void;
43
47
  /** A handler to execute when the user copies the Secret's content to the clipboard. */
44
48
  onCopy?: (value: string) => void;
45
49
  /** A handler to execute when the SecretText textarea receives focus */
46
- onFocus?: React.FocusEventHandler<HTMLTextAreaElement>;
50
+ onFocus?: FocusEventHandler<HTMLTextAreaElement>;
47
51
  /** A handler to execute when the user hides the Secret's content. */
48
52
  onHide?: () => void;
49
53
  /** A handler to execute when the user pastes text from the clipboard into the SecretText. */
@@ -1 +1 @@
1
- {"version":3,"file":"SecretText.component.d.ts","sourceRoot":"","sources":["../../../src/components/SecretText/SecretText.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAA8B,SAAS,EAAE,MAAM,OAAO,CAAA;AAuDpE,2FAA2F;AAC3F,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAgPhD,CAAA;AAED,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5G,oDAAoD;IACpD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,2CAA2C;IAC3C,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,wGAAwG;IACxG,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,+BAA+B;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,+BAA+B;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,qCAAqC;IACrC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,6FAA6F;IAC7F,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,kBAAkB;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,+CA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K,CAAC,EAAE,MAAM,CAAA;IACd,oDAAoD;IACpD,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B"}
1
+ {"version":3,"file":"SecretText.component.d.ts","sourceRoot":"","sources":["../../../src/components/SecretText/SecretText.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAIZ,SAAS,EAGT,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAEnB,MAAM,OAAO,CAAA;AAuDd;;;;GAIG;AACH,eAAO,MAAM,UAAU,GAAI,4WAqCxB,eAAe,KAAG,SA2MpB,CAAA;AAED,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IACtG,oDAAoD;IACpD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,2CAA2C;IAC3C,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,wGAAwG;IACxG,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,+BAA+B;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,+BAA+B;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,qCAAqC;IACrC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,6FAA6F;IAC7F,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,kBAAkB;IAClB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,+CAA+C;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6CAA6C;I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, ReactNode, ButtonHTMLAttributes } from 'react';
2
2
  export type SelectContextProps = {
3
3
  truncateOptions: boolean;
4
4
  addOptionValueAndLabel: (value: unknown, label: unknown, children: unknown) => void;
5
5
  };
6
6
  export declare const SelectContext: React.Context<SelectContextProps | undefined>;
7
- export interface SelectProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "value" | "defaultValue" | "onChange"> {
7
+ export interface SelectProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "value" | "defaultValue" | "onChange"> {
8
8
  /** Pass an aria-label to the Select toggle button */
9
9
  ariaLabel?: string;
10
10
  /** The children to render as options. Use the SelectOption component, and SelectDivider if needed. */
@@ -62,8 +62,10 @@ export interface SelectProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonE
62
62
  wrapperClassName?: string;
63
63
  }
64
64
  /**
65
- A Select component that can be configured to allow selecting a single item or multiple items.
66
- Pass a `defaultValue` to render as an uncontrolled component that tracks its open state etc internally.
67
- */
68
- export declare const Select: React.FC<SelectProps>;
65
+ * A Select component that can be configured to allow selecting a single item or multiple items.
66
+ * Pass a `defaultValue` to render as an uncontrolled component that tracks its open state etc internally.
67
+ * @see https://cloudoperators.github.io/juno/?path=/docs/forms-select-select--docs
68
+ * @see {@link SelectProps}
69
+ */
70
+ export declare const Select: ({ ariaLabel, children, className, defaultValue, disabled, error, errortext, helptext, id, invalid, label, loading, multiple, name, onChange, onValueChange, placeholder, required, successtext, truncateOptions, valid, value, valueLabel, variant, width, wrapperClassName, ...props }: SelectProps) => ReactNode;
69
71
  //# sourceMappingURL=Select.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.component.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAsD,SAAS,EAAE,MAAM,OAAO,CAAA;AAoB5F,OAAO,cAAc,CAAA;AAuDrB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,eAAe,EAAE,OAAO,CAAA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AK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAA;IAC5D,qFAAqF;IACrF,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,4IAA4I;IAC5I,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qKAAqK;IACrK,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,2IAA2I;IAC3I,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,8GAA8G;IAC9G,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,+JAA+J;IAC/J,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IAClC;2KACuK;IACvK,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uDAAuD;IACvD,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,gBAAgB,GAAG,SAAS,CAAA;IAC9D,wMAAwM;IACxM,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,6KAA6K;IAC7K,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAED;;;EAGE;AACF,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA6SxC,CAAA"}
1
+ {"version":3,"file":"Select.component.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAsD,SAAS,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAA;AAoBlH,OAAO,cAAc,CAAA;AAuDrB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,eAAe,EAAE,OAAO,CAAA;IAExB,sBAAsB,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAA;CACpF,CAAA;AACD,eAAO,MAAM,aAAa,+CAA2D,CAAA;AAErF,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iB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IAA2I;IAC3I,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,8GAA8G;IAC9G,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,+JAA+J;IAC/J,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IAClC;2KACuK;IACvK,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uDAAuD;IACvD,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,gBAAgB,GAAG,SAAS,CAAA;IAC9D,wMAAwM;IACxM,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,6KAA6K;IAC7K,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAED;;;;;GAKG;AACH,eAAO,MAAM,MAAM,GAAI,yRA4BpB,WAAW,KAAG,SAiRhB,CAAA"}
@@ -1,8 +1,12 @@
1
- import { default as React } from 'react';
2
- export interface SelectDividerProps extends React.HTMLAttributes<HTMLDivElement> {
1
+ import { default as React, HTMLAttributes } from 'react';
2
+ export interface SelectDividerProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /** add a custom className */
4
4
  className?: string;
5
5
  }
6
- /** A visual border/divider between SelectOptions or SelectGroups */
6
+ /**
7
+ * A visual border/divider between SelectOptions or SelectGroups
8
+ * @see https://cloudoperators.github.io/juno/?path=/docs/forms-select-selectdivider--docs
9
+ * @see {@link SelectDividerProps}
10
+ */
7
11
  export declare const SelectDivider: React.ForwardRefExoticComponent<SelectDividerProps & React.RefAttributes<HTMLDivElement>>;
8
12
  //# sourceMappingURL=SelectDivider.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectDivider.component.d.ts","sourceRoot":"","sources":["../../../src/components/SelectDivider/SelectDivider.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC9E,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,oEAAoE;AACpE,eAAO,MAAM,aAAa,2FAIzB,CAAA"}
1
+ {"version":3,"file":"SelectDivider.component.d.ts","sourceRoot":"","sources":["../../../src/components/SelectDivider/SelectDivider.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAc,cAAc,EAAE,MAAM,OAAO,CAAA;AAQzD,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACxE,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;GAIG;AACH,eAAO,MAAM,aAAa,2FAIzB,CAAA"}
@@ -1,10 +1,22 @@
1
- import { default as React } from 'react';
2
- export interface SelectOptionProps extends React.HTMLAttributes<HTMLLIElement> {
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface SelectOptionProps extends HTMLAttributes<HTMLLIElement> {
3
+ /** The primary display content for the option. If neither label nor value is provided, this becomes the fallback text. */
3
4
  children?: string;
5
+ /** Additional styling */
4
6
  className?: string;
7
+ /** Controls whether the option can be selected. When true, the option is visibly styled to appear disabled, marked by opacity reduction and a "not-allowed" cursor. */
5
8
  disabled?: boolean;
9
+ /** Represents the unique value of the option. If omitted, children becomes the default value. This prop is fundamental for tracking selections within the dropdown list. */
6
10
  value?: string;
11
+ /** Provides an alternative text label for the option. This can replace or supplement children and value in display scenarios. */
7
12
  label?: string;
8
13
  }
9
- export declare const SelectOption: React.FC<SelectOptionProps>;
14
+ /**
15
+ * The `SelectOption` component is part of a customizable `Select` dropdown menu designed to enhance the user interface with selectable options.
16
+ * It provides functionality to render each option within a dropdown list, distinctly handling states for selection, disabling, and styling preferences such as text truncation.
17
+ * It leverages context to communicate option selections back to the parent Select component, facilitating seamless integration and interaction within form controls.
18
+ * @see https://cloudoperators.github.io/juno/?path=/docs/forms-select-selectoption--docs
19
+ * @see {@link SelectOptionProps}
20
+ */
21
+ export declare const SelectOption: ({ children, className, disabled, value, label, ...props }: SelectOptionProps) => ReactNode;
10
22
  //# sourceMappingURL=SelectOption.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectOption.component.d.ts","sourceRoot":"","sources":["../../../src/components/SelectOption/SelectOption.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA0C,MAAM,OAAO,CAAA;AA+C9D,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC;IAC5E,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA+CpD,CAAA"}
1
+ {"version":3,"file":"SelectOption.component.d.ts","sourceRoot":"","sources":["../../../src/components/SelectOption/SelectOption.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAY,cAAc,EAAE,SAAS,EAAyB,MAAM,OAAO,CAAA;AA+CzF,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,aAAa,CAAC;IACtE,0HAA0H;IAC1H,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,yBAAyB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uKAAuK;IACvK,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,4KAA4K;IAC5K,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iIAAiI;IACjI,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,GAAI,2DAO1B,iBAAiB,KAAG,SAwCtB,CAAA"}
@@ -1,16 +1,18 @@
1
- import { default as React } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  /**
3
3
  * Functional component which creates and inserts a shadow dom element
4
4
  * in to the current parent element. ShadowRoot allows html to be isolated from the rest of the DOM. If styles are given, these and
5
5
  * the children are added to the shadow element. The themeClass is added to a wrapper div surrounding the children.
6
+ * @see https://cloudoperators.github.io/juno/?path=/docs/layout-shadowroot--docs
7
+ * @see {@link ShadowRootProps}
6
8
  */
7
- export declare const ShadowRoot: React.FC<ShadowRootProps>;
9
+ export declare const ShadowRoot: ({ mode, delegatesFocus, children }: ShadowRootProps) => ReactNode;
8
10
  export type ShadowRootMode = "open" | "closed";
9
11
  export interface ShadowRootProps {
10
12
  /** Choose "closed" to prevent styles from being inherited from the parent node. */
11
13
  mode?: ShadowRootMode;
12
14
  delegatesFocus?: boolean;
13
15
  /** The children to render */
14
- children?: React.ReactNode;
16
+ children?: ReactNode;
15
17
  }
16
18
  //# sourceMappingURL=ShadowRoot.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ShadowRoot.component.d.ts","sourceRoot":"","sources":["../../../src/components/ShadowRoot/ShadowRoot.component.tsx"],"names":[],"mappings":"AAeA,OAAO,KAA2B,MAAM,OAAO,CAAA;AAuB/C;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAoBhD,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,QAAQ,CAAA;AAG9C,MAAM,WAAW,eAAe;IAC9B,mFAAmF;IACnF,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B"}
1
+ {"version":3,"file":"ShadowRoot.component.d.ts","sourceRoot":"","sources":["../../../src/components/ShadowRoot/ShadowRoot.component.tsx"],"names":[],"mappings":"AAeA,OAAc,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAA;AAuBrE;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GAAI,oCAAqD,eAAe,KAAG,SAoBjG,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,QAAQ,CAAA;AAG9C,MAAM,WAAW,eAAe;IAC9B,mFAAmF;IACnF,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB"}
@@ -1,11 +1,13 @@
1
- import { default as React, ReactElement, ReactNode } from 'react';
1
+ import { HTMLAttributes, ReactElement, ReactNode } from 'react';
2
2
  import { SideNavigationListProps } from '../SideNavigationList';
3
3
  /**
4
- A generic vertical side navigation component.
5
- Place SideNavigationItem components as children.
6
- */
7
- export declare const SideNavigation: React.FC<SideNavigationProps>;
8
- export interface SideNavigationProps extends React.HTMLAttributes<HTMLElement> {
4
+ * A generic vertical side navigation component.
5
+ * Place SideNavigationItem components as children.
6
+ * @see https://cloudoperators.github.io/juno/?path=/docs/navigation-sidenavigation-sidenavigation--docs
7
+ * @see {@link SideNavigationProps}
8
+ */
9
+ export declare const SideNavigation: ({ activeItem, ariaLabel, children, className, disabled, onActiveItemChange, ...props }: SideNavigationProps) => ReactNode;
10
+ export interface SideNavigationProps extends HTMLAttributes<HTMLElement> {
9
11
  /** The active navigation item by label */
10
12
  activeItem?: ReactNode;
11
13
  /** The aria-label of the navigation. Specify when there are more than one elements with an implicit or explicit `role="navigation"` on a page/view. */
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavigation.component.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavigation/SideNavigation.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAA;AAW/D;;;EAGE;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAqBxD,CAAA;AAED,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC5E,0CAA0C;IAC1C,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,uJAAuJ;IACvJ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,YAAY,CAAC,uBAAuB,CAAC,GAAG,YAAY,CAAC,uBAAuB,CAAC,EAAE,CAAA;IAC1F,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,CAAC,WAAW,EAAE,SAAS,KAAK,IAAI,CAAA;CACtD"}
1
+ {"version":3,"file":"SideNavigation.component.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavigation/SideNavigation.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAA;AAW/D;;;;;GAKG;AAEH,eAAO,MAAM,cAAc,GAAI,wFAQ5B,mBAAmB,KAAG,SAaxB,CAAA;AAED,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACtE,0CAA0C;IAC1C,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,uJAAuJ;IACvJ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,YAAY,CAAC,uBAAuB,CAAC,GAAG,YAAY,CAAC,uBAAuB,CAAC,EAAE,CAAA;IAC1F,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,CAAC,WAAW,EAAE,SAAS,KAAK,IAAI,CAAA;CACtD"}
@@ -1,4 +1,4 @@
1
- import { default as React, ReactElement, ReactNode } from 'react';
1
+ import { ReactElement, ReactNode } from 'react';
2
2
  import { SideNavigationItemProps } from '../SideNavigationItem';
3
3
  export interface SideNavigationGroupProps {
4
4
  /** Represents the nested components within the navigation group. */
@@ -16,6 +16,9 @@ export interface SideNavigationGroupProps {
16
16
  *
17
17
  * This component is used to create and manage expandable and collapsible sections of navigation,
18
18
  * allowing users to efficiently navigate hierarchical menus.
19
+ *
20
+ * @see https://cloudoperators.github.io/juno/?path=/docs/navigation-sidenavigation-sidenavigationgroup--docs
21
+ * @see {@link SideNavigationGroupProps}
19
22
  **/
20
- export declare const SideNavigationGroup: React.FC<SideNavigationGroupProps>;
23
+ export declare const SideNavigationGroup: ({ children, disabled, label, open, }: SideNavigationGroupProps) => ReactNode;
21
24
  //# sourceMappingURL=SideNavigationGroup.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavigationGroup.component.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavigationGroup/SideNavigationGroup.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAA;AAE3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAA;AAmB/D,MAAM,WAAW,wBAAwB;IACvC,oEAAoE;IACpE,QAAQ,CAAC,EAAE,YAAY,CAAC,uBAAuB,CAAC,GAAG,YAAY,CAAC,uBAAuB,CAAC,EAAE,CAAA;IAC1F,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gDAAgD;IAChD,KAAK,EAAE,SAAS,CAAA;IAChB,oEAAoE;IACpE,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAED;;;;;;IAMI;AACJ,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CA6ClE,CAAA"}
1
+ {"version":3,"file":"SideNavigationGroup.component.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavigationGroup/SideNavigationGroup.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAY,YAAY,EAAE,SAAS,EAAmC,MAAM,OAAO,CAAA;AAEjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAA;AAmB/D,MAAM,WAAW,wBAAwB;IACvC,oEAAoE;IACpE,QAAQ,CAAC,EAAE,YAAY,CAAC,uBAAuB,CAAC,GAAG,YAAY,CAAC,uBAAuB,CAAC,EAAE,CAAA;IAC1F,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gDAAgD;IAChD,KAAK,EAAE,SAAS,CAAA;IAChB,oEAAoE;IACpE,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAED;;;;;;;;;IASI;AACJ,eAAO,MAAM,mBAAmB,GAAI,sCAKjC,wBAAwB,KAAG,SAwC7B,CAAA"}
@@ -1,6 +1,6 @@
1
- import { default as React, ReactElement, ReactNode } from 'react';
1
+ import { ReactElement, ReactNode, HTMLAttributes, MouseEventHandler } from 'react';
2
2
  import { KnownIcons } from '../Icon/Icon.component';
3
- export interface SideNavigationItemProps extends React.HTMLAttributes<HTMLElement> {
3
+ export interface SideNavigationItemProps extends HTMLAttributes<HTMLElement> {
4
4
  /** Provides an accessibility label for the navigation item. */
5
5
  ariaLabel?: string;
6
6
  /** Represents nested components. If a string is passed, it will be treated as a label.*/
@@ -14,7 +14,7 @@ export interface SideNavigationItemProps extends React.HTMLAttributes<HTMLElemen
14
14
  /** Text label displayed for the navigation item. Takes precedence over a label passed as children. */
15
15
  label?: ReactNode;
16
16
  /** Function handler triggered upon item click. */
17
- onClick?: React.MouseEventHandler<HTMLElement>;
17
+ onClick?: MouseEventHandler<HTMLElement>;
18
18
  /** Controls whether the item is expanded by default. */
19
19
  open?: boolean;
20
20
  /** Indicates if the item is currently selected or active. */
@@ -33,6 +33,9 @@ export interface SideNavigationItemProps extends React.HTMLAttributes<HTMLElemen
33
33
  * - State Indicators: Supports active and disabled states, visually indicating the current focus or usability.
34
34
  * - Expandable Sections: When nested, automatically renders expand/collapse controls for child navigation items.
35
35
  * - Customization: Offers extensive styling versatility through CSS classes and optional icon rendering for visual enhancement.
36
+ *
37
+ * @see https://cloudoperators.github.io/juno/?path=/docs/navigation-sidenavigation-sidenavigationitem--docs
38
+ * @see {@link SideNavigationItemProps}
36
39
  */
37
- export declare const SideNavigationItem: React.FC<SideNavigationItemProps>;
40
+ export declare const SideNavigationItem: ({ ariaLabel, children, disabled, href, icon, label, onClick, open, selected, ...props }: SideNavigationItemProps) => ReactNode;
38
41
  //# sourceMappingURL=SideNavigationItem.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavigationItem.component.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavigationItem/SideNavigationItem.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAkD,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtG,OAAO,EAAQ,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,0BAA0B,CAAA;AAyBjC,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAChF,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,yFAAyF;IACzF,QAAQ,CAAC,EAAE,YAAY,CAAC,uBAAuB,CAAC,GAAG,YAAY,CAAC,uBAAuB,CAAC,EAAE,GAAG,MAAM,CAAA;IAEnG,wDAAwD;IAExD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,uDAAuD;IACvD,IAAI,CAAC,EAAE,UAAU,CAAA;IAEjB,sGAAsG;IACtG,KAAK,CAAC,EAAE,SAAS,CAAA;IAEjB,kDAAkD;IAClD,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAE9C,wDAAwD;IACxD,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;;;;;;;;;;;GAaG;AAEH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAkGhE,CAAA"}
1
+ {"version":3,"file":"SideNavigationItem.component.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavigationItem/SideNavigationItem.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAKZ,YAAY,EACZ,SAAS,EACT,cAAc,EACd,iBAAiB,EAGlB,MAAM,OAAO,CAAA;AACd,OAAO,EAAQ,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,0BAA0B,CAAA;AAyBjC,MAAM,WAAW,uBAAwB,SAAQ,cAAc,CAAC,WAAW,CAAC;IAC1E,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,yFAAyF;IACzF,QAAQ,CAAC,EAAE,YAAY,CAAC,uBAAuB,CAAC,GAAG,YAAY,CAAC,uBAAuB,CAAC,EAAE,GAAG,MAAM,CAAA;IAEnG,wDAAwD;IAExD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,uDAAuD;IACvD,IAAI,CAAC,EAAE,UAAU,CAAA;IAEjB,sGAAsG;IACtG,KAAK,CAAC,EAAE,SAAS,CAAA;IAEjB,kDAAkD;IAClD,OAAO,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAExC,wDAAwD;IACxD,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;;;;;;;;;;;;;;GAgBG;AAEH,eAAO,MAAM,kBAAkB,GAAI,yFAWhC,uBAAuB,KAAG,SAuF5B,CAAA"}
@@ -1,8 +1,16 @@
1
- import { default as React, ReactElement } from 'react';
1
+ import { ReactElement, ReactNode } from 'react';
2
2
  import { SideNavigationGroupProps } from '../SideNavigationGroup';
3
3
  import { SideNavigationItemProps } from '../SideNavigationItem/SideNavigationItem.component';
4
4
  export interface SideNavigationListProps {
5
+ /** Accommodates a collection of allowable React elements to be rendered, essential for the navigation list's functionality */
5
6
  children: ReactElement<SideNavigationItemProps> | ReactElement<SideNavigationItemProps>[] | ReactElement<SideNavigationGroupProps> | ReactElement<SideNavigationGroupProps>[];
6
7
  }
7
- export declare const SideNavigationList: React.FC<SideNavigationListProps>;
8
+ /**
9
+ * The `SideNavigationList` component is a fundamental building block within `SideNavigation`, designed to arrange and render navigation items and groups in a structured list format.
10
+ * It ensures visually consistent and space-efficient presentation of navigation links embedded within the sidebar.
11
+ * This component serves as a container for SideNavigationItem and SideNavigationGroup elements, effectively arranging them for navigational usage.
12
+ * @see https://cloudoperators.github.io/juno/?path=/docs/navigation-sidenavigation-sidenavigationlist--docs
13
+ * @see {@link SideNavigationListProps}
14
+ */
15
+ export declare const SideNavigationList: ({ children }: SideNavigationListProps) => ReactNode;
8
16
  //# sourceMappingURL=SideNavigationList.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavigationList.component.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavigationList/SideNavigationList.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAA;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oDAAoD,CAAA;AAO5F,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EACJ,YAAY,CAAC,uBAAuB,CAAC,GACrC,YAAY,CAAC,uBAAuB,CAAC,EAAE,GACvC,YAAY,CAAC,wBAAwB,CAAC,GACtC,YAAY,CAAC,wBAAwB,CAAC,EAAE,CAAA;CAC7C;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAEhE,CAAA"}
1
+ {"version":3,"file":"SideNavigationList.component.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavigationList/SideNavigationList.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAA;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oDAAoD,CAAA;AAO5F,MAAM,WAAW,uBAAuB;IACtC,8HAA8H;IAC9H,QAAQ,EACJ,YAAY,CAAC,uBAAuB,CAAC,GACrC,YAAY,CAAC,uBAAuB,CAAC,EAAE,GACvC,YAAY,CAAC,wBAAwB,CAAC,GACtC,YAAY,CAAC,wBAAwB,CAAC,EAAE,CAAA;CAC7C;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAI,cAAc,uBAAuB,KAAG,SAE1E,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavigationList.stories.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavigationList/SideNavigationList.stories.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAKnE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,kBAAkB,CAkBzC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEhD,eAAO,MAAM,uBAAuB,EAAE,KAyBrC,CAAA"}
1
+ {"version":3,"file":"SideNavigationList.stories.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavigationList/SideNavigationList.stories.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAKnE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,kBAAkB,CAUzC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEhD,eAAO,MAAM,uBAAuB,EAAE,KAyBrC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { default as React, ReactNode, FormHTMLAttributes } from 'react';
1
+ import { ReactNode, FormHTMLAttributes } from 'react';
2
2
  export interface SignInFormProps extends Omit<FormHTMLAttributes<HTMLFormElement>, "title"> {
3
3
  /**
4
4
  * Title for the sign-in form.
@@ -35,5 +35,5 @@ export interface SignInFormProps extends Omit<FormHTMLAttributes<HTMLFormElement
35
35
  * A SignInForm component that renders consistent, configurable sign-in forms.
36
36
  * Use this component to create authentication forms with a standard layout and styling.
37
37
  */
38
- export declare const SignInForm: React.FC<SignInFormProps>;
38
+ export declare const SignInForm: ({ title, error, resetPwUrl, className, children, ...props }: SignInFormProps) => ReactNode;
39
39
  //# sourceMappingURL=SignInForm.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SignInForm.component.d.ts","sourceRoot":"","sources":["../../../src/components/SignInForm/SignInForm.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAmB5D,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,kBAAkB,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;IACzF;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IAEtB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAExB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA2BhD,CAAA"}
1
+ {"version":3,"file":"SignInForm.component.d.ts","sourceRoot":"","sources":["../../../src/components/SignInForm/SignInForm.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAmB5D,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,kBAAkB,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;IACzF;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IAEtB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAExB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAI,6DAOxB,eAAe,KAAG,SAoBpB,CAAA"}
@@ -1,18 +1,29 @@
1
- import { default as React } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  import { ButtonProps } from '../Button';
3
3
  type OrderType = "asc" | "desc";
4
4
  export interface SortButtonProps extends Omit<ButtonProps, "value" | "onChange"> {
5
+ /** Specifies the current sort order, defaulting to "desc". It determines the initial state of sorting when the component is rendered, allowing toggling between ascending ("asc") and descending ("desc"). */
5
6
  order?: OrderType;
7
+ /** A callback function executed upon a change in the sort order. It receives the new order, enabling custom logic or state updates to be applied dynamically based on user interaction. */
6
8
  onChange?: (_order: OrderType) => void;
7
9
  /**
10
+ * A callback function similar to onChange, designed for older implementations.
8
11
  * @deprecated: Will be removed in the next major release, use onChange instead.
9
12
  */
10
13
  onOrderChange?: (_order: OrderType) => void;
14
+ /** Provides the toggle button with sort options, each defined by a value and a label. This determines the selectable states (e.g., ascending or descending) and their visual representation, defaulting to icons corresponding to the sort direction. */
11
15
  options?: {
12
16
  value: OrderType;
13
- label: React.ReactNode;
17
+ label: ReactNode;
14
18
  }[];
15
19
  }
16
- export declare const SortButton: React.FC<SortButtonProps>;
20
+ /**
21
+ * The `SortButton` component is a specialized toggle button designed for sorting functionalities in user interfaces.
22
+ * It allows users to toggle between predefined sorting orders (ascending or descending) with visual indicators.
23
+ * The button is built to facilitate easy switching of sort states, providing an intuitive user experience for data lists, tables, or other elements requiring sort capabilities.
24
+ * @see https://cloudoperators.github.io/juno/?path=/docs/components-sortbutton--docs
25
+ * @see {@link SortButtonProps}
26
+ */
27
+ export declare const SortButton: ({ order, onChange, options, ...props }: SortButtonProps) => ReactNode;
17
28
  export {};
18
29
  //# sourceMappingURL=SortButton.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SortButton.component.d.ts","sourceRoot":"","sources":["../../../src/components/SortButton/SortButton.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,KAAK,SAAS,GAAG,KAAK,GAAG,MAAM,CAAA;AAE/B,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,UAAU,CAAC;IAC9E,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,IAAI,CAAA;IACtC;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,IAAI,CAAA;IAC3C,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,SAAS,CAAC;QAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE,EAAE,CAAA;CACzD;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAchD,CAAA"}
1
+ {"version":3,"file":"SortButton.component.d.ts","sourceRoot":"","sources":["../../../src/components/SortButton/SortButton.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGxC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,KAAK,SAAS,GAAG,KAAK,GAAG,MAAM,CAAA;AAE/B,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,UAAU,CAAC;IAC9E,8MAA8M;IAC9M,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,2LAA2L;IAC3L,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,IAAI,CAAA;IACtC;;;OAGG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,IAAI,CAAA;IAC3C,yPAAyP;IACzP,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,SAAS,CAAC;QAAC,KAAK,EAAE,SAAS,CAAA;KAAE,EAAE,CAAA;CACnD;AAED;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GAAI,wCAQxB,eAAe,KAAG,SAMpB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"SortButton.stories.d.ts","sourceRoot":"","sources":["../../../src/components/SortButton/SortButton.stories.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAGnD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAoBjC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAatB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAiB3B,CAAA"}
1
+ {"version":3,"file":"SortButton.stories.d.ts","sourceRoot":"","sources":["../../../src/components/SortButton/SortButton.stories.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAGnD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAiBjC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAatB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAiB3B,CAAA"}
@@ -1,10 +1,13 @@
1
- import { default as React } from 'react';
1
+ import { HTMLProps, ReactNode } from 'react';
2
2
  /**
3
- A generic Spinner component to indicate an individual component or portion of the UI is busy processing or awaiting data.
4
- To indicate full views, panels, or other larger parts of an interface are busy or waiting for data, use LoadingIndicator instead.*/
5
- export declare const Spinner: React.FC<SpinnerProps>;
3
+ * A generic Spinner component to indicate an individual component or portion of the UI is busy processing or awaiting data.
4
+ * To indicate full views, panels, or other larger parts of an interface are busy or waiting for data, use LoadingIndicator instead.
5
+ * @see https://cloudoperators.github.io/juno/?path=/docs/components-spinner--docs
6
+ * @see {@link SpinnerProps}
7
+ */
8
+ export declare const Spinner: ({ variant, size, className, color, ...props }: SpinnerProps) => ReactNode;
6
9
  type SpinnerVariant = "primary" | "danger" | "default" | "success" | "warning";
7
- export interface SpinnerProps extends Omit<React.HTMLProps<SVGSVGElement>, "size"> {
10
+ export interface SpinnerProps extends Omit<HTMLProps<SVGSVGElement>, "size"> {
8
11
  /** The semantic color variant of the Spinner */
9
12
  variant?: SpinnerVariant;
10
13
  /** The size of the spinner: `small`, `large`, or any valid CSS length like `1.5rem`*/
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.component.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AA6BzB;;mIAEmI;AACnI,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAqD1C,CAAA;AAED,KAAK,cAAc,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAA;AAE9E,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChF,gDAAgD;IAChD,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,sFAAsF;IACtF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oMAAoM;IACpM,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
1
+ {"version":3,"file":"Spinner.component.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AA6BnD;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,+CAMrB,YAAY,KAAG,SA+CjB,CAAA;AAED,KAAK,cAAc,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAA;AAE9E,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAC1E,gDAAgD;IAChD,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,sFAAsF;IACtF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oMAAoM;IACpM,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
@@ -1,15 +1,17 @@
1
- import { default as React } from 'react';
1
+ import { HTMLProps, ReactNode } from 'react';
2
2
  /**
3
3
  * A Stack is a layout primitive that ensures its children are stacked either horizontally next to each other or vertically, one below the other.
4
4
  * In addition a gap can be defined which the Stack injects between its children so they have some margin from one another.
5
+ * @see https://cloudoperators.github.io/juno/?path=/docs/layout-stack--docs
6
+ * @see {@link StackProps}
5
7
  */
6
- export declare const Stack: React.FC<StackProps>;
8
+ export declare const Stack: ({ direction, gap, alignment, distribution, wrap, className, children, ...props }: StackProps) => ReactNode;
7
9
  export type StackDirection = "horizontal" | "vertical";
8
10
  export type StackAlignment = "start" | "end" | "center" | "baseline" | "stretch";
9
11
  export type StackDistribution = "start" | "end" | "center" | "between" | "around" | "evenly";
10
12
  export type StackGap = "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96";
11
- export interface StackProps extends Omit<React.HTMLProps<HTMLDivElement>, "wrap"> {
12
- children?: React.ReactNode;
13
+ export interface StackProps extends Omit<HTMLProps<HTMLDivElement>, "wrap"> {
14
+ children?: ReactNode;
13
15
  /** Pass css class names */
14
16
  className?: string;
15
17
  /** Stack items horizontally or vertically */
@@ -1 +1 @@
1
- {"version":3,"file":"Stack.component.d.ts","sourceRoot":"","sources":["../../../src/components/Stack/Stack.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AA+HzB;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAkBtC,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,UAAU,CAAA;AACtD,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAA;AAChF,MAAM,MAAM,iBA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content</StyleProvider></ShadowRoot>
30
+ *
31
+ * @see https://cloudoperators.github.io/juno/?path=/docs/layout-styleprovider--docs
32
+ * @see {@link StyleProviderProps}
30
33
  */
31
34
  export declare const StyleProvider: {
32
35
  ({ stylesWrapper, theme: themeProp, children, shadowRootMode, }: StyleProviderProps): React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"StyleProvider.component.d.ts","sourceRoot":"","sources":["../../../src/components/StyleProvider/StyleProvider.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAA0D,SAAS,EAAE,MAAM,OAAO,CAAA;AAChG,OAAO,EAAc,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAO/E,KAAK,iBAAiB,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;AAEhD,KAAK,YAAY,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;AAE3C,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;AAEjD,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAA;IAEd,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,iBAAiB,CAAA;IAChC,WAAW,EAAE,YAAY,CAAA;IACzB,cAAc,EAAE,kBAAkB,CAAA;CACnC;AAKD,eAAO,MAAM,kBAAkB,eAAe,CAAA;AAE9C;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,aAAa;qEAKvB,kBAAkB;;CAwFpB,CAAA;AAED,KAAK,0BAA0B,GAAG,MAAM,GAAG,QAAQ,GAAG,YAAY,CAAA;AAIlE,MAAM,WAAW,kBAAkB;IACjC,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,4FAA4F;IAC5F,aAAa,CAAC,EAAE,0BAA0B,CAAA;IAC1C,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mFAAmF;IACnF,cAAc,CAAC,EAAE,cAAc,CAAA;CAChC"}
1
+ {"version":3,"file":"StyleProvider.component.d.ts","sourceRoot":"","sources":["../../../src/components/StyleProvider/StyleProvider.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAA0D,SAAS,EAAc,MAAM,OAAO,CAAA;AAC5G,OAAO,EAAc,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAO/E,KAAK,iBAAiB,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;AAEhD,KAAK,YAAY,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;AAE3C,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;AAEjD,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAA;IAEd,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,iBAAiB,CAAA;IAChC,WAAW,EAAE,YAAY,CAAA;IACzB,cAAc,EAAE,kBAAkB,CAAA;CACnC;AAKD,eAAO,MAAM,kBAAkB,eAAe,CAAA;AAE9C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,aAAa;qEAKvB,kBAAkB;;CAwFpB,CAAA;AAED,KAAK,0BAA0B,GAAG,MAAM,GAAG,QAAQ,GAAG,YAAY,CAAA;AAIlE,MAAM,WAAW,kBAAkB;IACjC,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,4FAA4F;IAC5F,aAAa,CAAC,EAAE,0BAA0B,CAAA;IAC1C,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mFAAmF;IACnF,cAAc,CAAC,EAAE,cAAc,CAAA;CAChC"}
@@ -1,6 +1,6 @@
1
- import { default as React, ReactNode } from 'react';
1
+ import { ReactNode, ButtonHTMLAttributes, ChangeEvent, MouseEvent } from 'react';
2
2
  type SwitchSize = "small" | "default" | "large";
3
- export interface SwitchProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "ref"> {
3
+ export interface SwitchProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "ref"> {
4
4
  /**
5
5
  * HTML name attribute for the switch button
6
6
  */
@@ -56,11 +56,11 @@ export interface SwitchProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonE
56
56
  /**
57
57
  * Callback function to handle changes to the switch state
58
58
  */
59
- onChange?: (event: React.ChangeEvent<HTMLButtonElement>) => void;
59
+ onChange?: (event: ChangeEvent<HTMLButtonElement>) => void;
60
60
  /**
61
61
  * Callback function to handle click events on the switch
62
62
  */
63
- onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
63
+ onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
64
64
  /**
65
65
  * Custom class name to apply to the wrapper element
66
66
  * Useful for styling and positioning the outermost element of the component
@@ -71,7 +71,10 @@ export interface SwitchProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonE
71
71
  * A basic switch component for toggling between two options.
72
72
  * Use this component for interactions that produce immediate results.
73
73
  * For form scenarios requiring submission, use checkboxes instead.
74
+ *
75
+ * @see https://cloudoperators.github.io/juno/?path=/docs/forms-switch--docs
76
+ * @see {@link SwitchProps}
74
77
  */
75
- export declare const Switch: React.FC<SwitchProps>;
78
+ export declare const Switch: ({ name, id, label, required, size, on, disabled, invalid, valid, helptext, errortext, successtext, className, onChange, onClick, wrapperClassName, ...props }: SwitchProps) => ReactNode;
76
79
  export {};
77
80
  //# sourceMappingURL=Switch.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.component.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAuC,SAAS,EAAE,MAAM,OAAO,CAAA;AAmE7E,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;AAE/C,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,KAAK,CAAC;IAC7F;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAA;IACZ;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IAEH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IAChE;;OAEG;IAEH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IAC9D;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAsDD;;;;GAIG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAiGxC,CAAA"}
1
+ {"version":3,"file":"Switch.component.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAKZ,SAAS,EACT,oBAAoB,EACpB,WAAW,EACX,UAAU,EACX,MAAM,OAAO,CAAA;AAmEd,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;AAE/C,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,KAAK,CAAC;IACvF;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAA;IACZ;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IAEH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IAC1D;;OAEG;IAEH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IACxD;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAsDD;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,GAAI,+JAkBpB,WAAW,KAAG,SA+EhB,CAAA"}
@@ -1,16 +1,17 @@
1
- import { default as React } from 'react';
1
+ import { HTMLProps, ReactNode } from 'react';
2
2
  import { KnownIcons } from '../Icon/Icon.component';
3
- /** A Tab Component representing an individual Tab inside a wrapping TabList inside a wrapping Tabs component. Not to be used standalone outside of the mentioned parent components.
4
-
5
-
6
- */
3
+ /**
4
+ * A Tab Component representing an individual Tab inside a wrapping TabList inside a wrapping Tabs component. Not to be used standalone outside of the mentioned parent components.
5
+ * @see https://cloudoperators.github.io/juno/?path=/docs/layout-tabs-tab--docs
6
+ * @see {@link TabProps}
7
+ */
7
8
  export declare const Tab: {
8
- ({ children, label, icon, disabled, className, ...props }: TabProps): React.JSX.Element;
9
+ ({ children, label, icon, disabled, className, ...props }: TabProps): ReactNode;
9
10
  tabsRole: string;
10
11
  };
11
- export interface TabProps extends Omit<React.HTMLProps<HTMLLIElement>, "tabIndex"> {
12
+ export interface TabProps extends Omit<HTMLProps<HTMLLIElement>, "tabIndex"> {
12
13
  /** The children to render inside the Tab (-button) */
13
- children?: React.ReactNode;
14
+ children?: ReactNode;
14
15
  /** The Tab label (only rendered when no children are supplied) */
15
16
  label?: string;
16
17
  /** Pass the name of an icon to render in the Tab. Can be any icon included with Juno. */
@@ -1 +1 @@
1
- {"version":3,"file":"Tab.component.d.ts","sourceRoot":"","sources":["../../../src/components/Tab/Tab.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAyBnD;;;EAGE;AACF,eAAO,MAAM,GAAG;+DAAgF,QAAQ;;CAavG,CAAA;AAID,MAAM,WAAW,QAAS,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC;IAChF,sDAAsD;IACtD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,yFAAyF;IACzF,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
1
+ {"version":3,"file":"Tab.component.d.ts","sourceRoot":"","sources":["../../../src/components/Tab/Tab.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGnD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAyBnD;;;;GAIG;AACH,eAAO,MAAM,GAAG;+DAOb,QAAQ,GAAG,SAAS;;CAatB,CAAA;AAID,MAAM,WAAW,QAAS,SAAQ,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC;IAC1E,sDAAsD;IACtD,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,yFAAyF;IACzF,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
@@ -1,14 +1,18 @@
1
- import { default as React } from 'react';
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
2
  import { TabsVariant } from '../Tabs/Tabs.component';
3
- /** A tabList component wraps all individual Tabs inside a parent Tabs component */
3
+ /**
4
+ * A tabList component wraps all individual Tabs inside a parent Tabs component
5
+ * @see https://cloudoperators.github.io/juno/?path=/docs/layout-tabs-tablist--docs
6
+ * @see {@link TabListProps}
7
+ */
4
8
  export declare const TabList: {
5
- ({ variant, children, ...props }: TabListProps): React.JSX.Element;
9
+ ({ variant, children, ...props }: TabListProps): ReactNode;
6
10
  tabsRole: string;
7
11
  };
8
- export interface TabListProps extends React.HTMLAttributes<HTMLUListElement> {
12
+ export interface TabListProps extends HTMLAttributes<HTMLUListElement> {
9
13
  /** Pick the TabList style */
10
14
  variant?: TabsVariant;
11
15
  /** The individual child Tabs to render */
12
- children?: React.ReactNode;
16
+ children?: ReactNode;
13
17
  }
14
18
  //# sourceMappingURL=TabList.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabList.component.d.ts","sourceRoot":"","sources":["../../../src/components/TabList/TabList.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,WAAW,EAAkB,MAAM,wBAAwB,CAAA;AA0BpE,mFAAmF;AAEnF,eAAO,MAAM,OAAO;sCAAiD,YAAY;;CAYhF,CAAA;AAID,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC;IAC1E,6BAA6B;IAC7B,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B"}
1
+ {"version":3,"file":"TabList.component.d.ts","sourceRoot":"","sources":["../../../src/components/TabList/TabList.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExD,OAAO,EAAE,WAAW,EAAkB,MAAM,wBAAwB,CAAA;AA0BpE;;;;GAIG;AAEH,eAAO,MAAM,OAAO;sCAAiD,YAAY,GAAG,SAAS;;CAY5F,CAAA;AAID,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,gBAAgB,CAAC;IACpE,6BAA6B;IAC7B,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB"}