@cloudoperators/juno-ui-components 6.0.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 (220) hide show
  1. package/README.md +1 -1
  2. package/build/components/AppBody/AppBody.component.d.ts +18 -8
  3. package/build/components/AppBody/AppBody.component.d.ts.map +1 -1
  4. package/build/components/AppBody/AppBody.stories.d.ts.map +1 -1
  5. package/build/components/AppShell/AppShell.component.d.ts +39 -15
  6. package/build/components/AppShell/AppShell.component.d.ts.map +1 -1
  7. package/build/components/AppShellProvider/AppShellProvider.component.d.ts +30 -9
  8. package/build/components/AppShellProvider/AppShellProvider.component.d.ts.map +1 -1
  9. package/build/components/Badge/Badge.component.d.ts +20 -17
  10. package/build/components/Badge/Badge.component.d.ts.map +1 -1
  11. package/build/components/Box/Box.component.d.ts +16 -10
  12. package/build/components/Box/Box.component.d.ts.map +1 -1
  13. package/build/components/Breadcrumb/Breadcrumb.component.d.ts +14 -12
  14. package/build/components/Breadcrumb/Breadcrumb.component.d.ts.map +1 -1
  15. package/build/components/Breadcrumb/Breadcrumb.stories.d.ts +1 -1
  16. package/build/components/BreadcrumbItem/BreadcrumbItem.component.d.ts +25 -15
  17. package/build/components/BreadcrumbItem/BreadcrumbItem.component.d.ts.map +1 -1
  18. package/build/components/BreadcrumbItem/BreadcrumbItem.stories.d.ts +1 -1
  19. package/build/components/Button/Button.component.d.ts +48 -16
  20. package/build/components/Button/Button.component.d.ts.map +1 -1
  21. package/build/components/ButtonRow/ButtonRow.component.d.ts +21 -7
  22. package/build/components/ButtonRow/ButtonRow.component.d.ts.map +1 -1
  23. package/build/components/Card/Card.component.d.ts +13 -7
  24. package/build/components/Card/Card.component.d.ts.map +1 -1
  25. package/build/components/Checkbox/Checkbox.component.d.ts +69 -21
  26. package/build/components/Checkbox/Checkbox.component.d.ts.map +1 -1
  27. package/build/components/CheckboxGroup/CheckboxGroup.component.d.ts +43 -16
  28. package/build/components/CheckboxGroup/CheckboxGroup.component.d.ts.map +1 -1
  29. package/build/components/Code/Code.component.d.ts +17 -6
  30. package/build/components/Code/Code.component.d.ts.map +1 -1
  31. package/build/components/CodeBlock/CodeBlock.component.d.ts +39 -13
  32. package/build/components/CodeBlock/CodeBlock.component.d.ts.map +1 -1
  33. package/build/components/ComboBox/ComboBox.component.d.ts +70 -33
  34. package/build/components/ComboBox/ComboBox.component.d.ts.map +1 -1
  35. package/build/components/ComboBoxOption/ComboBoxOption.component.d.ts +22 -8
  36. package/build/components/ComboBoxOption/ComboBoxOption.component.d.ts.map +1 -1
  37. package/build/components/Container/Container.component.d.ts +20 -8
  38. package/build/components/Container/Container.component.d.ts.map +1 -1
  39. package/build/components/ContentAreaToolbar/ContentAreaToolbar.component.d.ts +11 -8
  40. package/build/components/ContentAreaToolbar/ContentAreaToolbar.component.d.ts.map +1 -1
  41. package/build/components/ContentContainer/ContentContainer.component.d.ts +10 -11
  42. package/build/components/ContentContainer/ContentContainer.component.d.ts.map +1 -1
  43. package/build/components/ContentHeading/ContentHeading.component.d.ts +13 -11
  44. package/build/components/ContentHeading/ContentHeading.component.d.ts.map +1 -1
  45. package/build/components/DataGrid/DataGrid.component.d.ts +31 -20
  46. package/build/components/DataGrid/DataGrid.component.d.ts.map +1 -1
  47. package/build/components/DataGridCell/DataGridCell.component.d.ts +19 -7
  48. package/build/components/DataGridCell/DataGridCell.component.d.ts.map +1 -1
  49. package/build/components/DataGridCheckboxCell/DataGridCheckboxCell.component.d.ts +23 -8
  50. package/build/components/DataGridCheckboxCell/DataGridCheckboxCell.component.d.ts.map +1 -1
  51. package/build/components/DataGridFoot/DataGridFoot.component.d.ts +17 -6
  52. package/build/components/DataGridFoot/DataGridFoot.component.d.ts.map +1 -1
  53. package/build/components/DataGridHeadCell/DataGridHeadCell.component.d.ts +9 -3
  54. package/build/components/DataGridHeadCell/DataGridHeadCell.component.d.ts.map +1 -1
  55. package/build/components/DataGridRow/DataGridRow.component.d.ts +10 -4
  56. package/build/components/DataGridRow/DataGridRow.component.d.ts.map +1 -1
  57. package/build/components/DataGridToolbar/DataGridToolbar.component.d.ts +21 -9
  58. package/build/components/DataGridToolbar/DataGridToolbar.component.d.ts.map +1 -1
  59. package/build/components/DateTimePicker/DateTimePicker.component.d.ts +13 -12
  60. package/build/components/DateTimePicker/DateTimePicker.component.d.ts.map +1 -1
  61. package/build/components/DateTimePicker/DateTimePicker.mappers.d.ts +24 -0
  62. package/build/components/DateTimePicker/DateTimePicker.mappers.d.ts.map +1 -0
  63. package/build/components/DateTimePicker/DateTimePicker.types.d.ts +79 -0
  64. package/build/components/DateTimePicker/DateTimePicker.types.d.ts.map +1 -0
  65. package/build/components/Form/Form.component.d.ts +9 -4
  66. package/build/components/Form/Form.component.d.ts.map +1 -1
  67. package/build/components/FormHint/FormHint.component.d.ts +13 -4
  68. package/build/components/FormHint/FormHint.component.d.ts.map +1 -1
  69. package/build/components/FormRow/FormRow.component.d.ts +10 -6
  70. package/build/components/FormRow/FormRow.component.d.ts.map +1 -1
  71. package/build/components/FormSection/FormSection.component.d.ts +9 -4
  72. package/build/components/FormSection/FormSection.component.d.ts.map +1 -1
  73. package/build/components/FormattedText/FormattedText.component.d.ts +13 -6
  74. package/build/components/FormattedText/FormattedText.component.d.ts.map +1 -1
  75. package/build/components/Grid/Grid.component.d.ts +11 -6
  76. package/build/components/Grid/Grid.component.d.ts.map +1 -1
  77. package/build/components/GridColumn/GridColumn.component.d.ts +11 -5
  78. package/build/components/GridColumn/GridColumn.component.d.ts.map +1 -1
  79. package/build/components/GridRow/GridRow.component.d.ts +9 -6
  80. package/build/components/GridRow/GridRow.component.d.ts.map +1 -1
  81. package/build/components/HeaderContainer/HeaderContainer.component.d.ts +21 -6
  82. package/build/components/HeaderContainer/HeaderContainer.component.d.ts.map +1 -1
  83. package/build/components/Icon/Icon.component.d.ts +22 -3
  84. package/build/components/Icon/Icon.component.d.ts.map +1 -1
  85. package/build/components/InputGroup/InputGroup.component.d.ts +8 -4
  86. package/build/components/InputGroup/InputGroup.component.d.ts.map +1 -1
  87. package/build/components/IntroBox/IntroBox.component.d.ts +32 -13
  88. package/build/components/IntroBox/IntroBox.component.d.ts.map +1 -1
  89. package/build/components/JsonViewer/JsonViewer.component.d.ts +38 -11
  90. package/build/components/JsonViewer/JsonViewer.component.d.ts.map +1 -1
  91. package/build/components/Label/Label.component.d.ts +32 -10
  92. package/build/components/Label/Label.component.d.ts.map +1 -1
  93. package/build/components/LoadingIndicator/LoadingIndicator.component.d.ts +12 -8
  94. package/build/components/LoadingIndicator/LoadingIndicator.component.d.ts.map +1 -1
  95. package/build/components/MainContainer/MainContainer.component.d.ts +15 -7
  96. package/build/components/MainContainer/MainContainer.component.d.ts.map +1 -1
  97. package/build/components/MainContainerInner/MainContainerInner.component.d.ts +19 -8
  98. package/build/components/MainContainerInner/MainContainerInner.component.d.ts.map +1 -1
  99. package/build/components/MainTabs/MainTabs.component.d.ts +25 -11
  100. package/build/components/MainTabs/MainTabs.component.d.ts.map +1 -1
  101. package/build/components/Message/Message.component.d.ts +15 -8
  102. package/build/components/Message/Message.component.d.ts.map +1 -1
  103. package/build/components/Modal/Modal.component.d.ts +91 -42
  104. package/build/components/Modal/Modal.component.d.ts.map +1 -1
  105. package/build/components/ModalFooter/ModalFooter.component.d.ts +47 -21
  106. package/build/components/ModalFooter/ModalFooter.component.d.ts.map +1 -1
  107. package/build/components/NativeSelect/NativeSelect.component.d.ts +16 -6
  108. package/build/components/NativeSelect/NativeSelect.component.d.ts.map +1 -1
  109. package/build/components/NativeSelectOption/NativeSelectOption.component.d.ts +9 -5
  110. package/build/components/NativeSelectOption/NativeSelectOption.component.d.ts.map +1 -1
  111. package/build/components/NativeSelectOptionGroup/NativeSelectOptionGroup.component.d.ts +10 -6
  112. package/build/components/NativeSelectOptionGroup/NativeSelectOptionGroup.component.d.ts.map +1 -1
  113. package/build/components/Navigation/Navigation.component.d.ts +30 -10
  114. package/build/components/Navigation/Navigation.component.d.ts.map +1 -1
  115. package/build/components/NavigationItem/NavigationItem.component.d.ts +56 -17
  116. package/build/components/NavigationItem/NavigationItem.component.d.ts.map +1 -1
  117. package/build/components/PageFooter/PageFooter.component.d.ts +17 -11
  118. package/build/components/PageFooter/PageFooter.component.d.ts.map +1 -1
  119. package/build/components/PageFooter/PageFooter.stories.d.ts +1 -1
  120. package/build/components/PageHeader/PageHeader.component.d.ts +17 -12
  121. package/build/components/PageHeader/PageHeader.component.d.ts.map +1 -1
  122. package/build/components/Pagination/Pagination.component.d.ts +5 -3
  123. package/build/components/Pagination/Pagination.component.d.ts.map +1 -1
  124. package/build/components/Panel/Panel.component.d.ts +4 -2
  125. package/build/components/Panel/Panel.component.d.ts.map +1 -1
  126. package/build/components/PanelBody/PanelBody.component.d.ts +4 -2
  127. package/build/components/PanelBody/PanelBody.component.d.ts.map +1 -1
  128. package/build/components/PanelFooter/PanelFooter.component.d.ts +4 -2
  129. package/build/components/PanelFooter/PanelFooter.component.d.ts.map +1 -1
  130. package/build/components/Pill/Pill.component.d.ts +7 -5
  131. package/build/components/Pill/Pill.component.d.ts.map +1 -1
  132. package/build/components/PopupMenu/PopupMenu.component.d.ts +30 -22
  133. package/build/components/PopupMenu/PopupMenu.component.d.ts.map +1 -1
  134. package/build/components/PortalProvider/PortalProvider.Portal.component.d.ts +6 -3
  135. package/build/components/PortalProvider/PortalProvider.Portal.component.d.ts.map +1 -1
  136. package/build/components/PortalProvider/PortalProvider.component.d.ts +8 -3
  137. package/build/components/PortalProvider/PortalProvider.component.d.ts.map +1 -1
  138. package/build/components/Radio/Radio.component.d.ts +8 -4
  139. package/build/components/Radio/Radio.component.d.ts.map +1 -1
  140. package/build/components/RadioGroup/RadioGroup.component.d.ts +7 -5
  141. package/build/components/RadioGroup/RadioGroup.component.d.ts.map +1 -1
  142. package/build/components/SearchInput/SearchInput.component.d.ts +9 -7
  143. package/build/components/SearchInput/SearchInput.component.d.ts.map +1 -1
  144. package/build/components/SecretText/SecretText.component.d.ts +11 -7
  145. package/build/components/SecretText/SecretText.component.d.ts.map +1 -1
  146. package/build/components/Select/Select.component.d.ts +8 -6
  147. package/build/components/Select/Select.component.d.ts.map +1 -1
  148. package/build/components/SelectDivider/SelectDivider.component.d.ts +7 -3
  149. package/build/components/SelectDivider/SelectDivider.component.d.ts.map +1 -1
  150. package/build/components/SelectOption/SelectOption.component.d.ts +15 -3
  151. package/build/components/SelectOption/SelectOption.component.d.ts.map +1 -1
  152. package/build/components/ShadowRoot/ShadowRoot.component.d.ts +5 -3
  153. package/build/components/ShadowRoot/ShadowRoot.component.d.ts.map +1 -1
  154. package/build/components/SideNavigation/SideNavigation.component.d.ts +8 -6
  155. package/build/components/SideNavigation/SideNavigation.component.d.ts.map +1 -1
  156. package/build/components/SideNavigationGroup/SideNavigationGroup.component.d.ts +5 -2
  157. package/build/components/SideNavigationGroup/SideNavigationGroup.component.d.ts.map +1 -1
  158. package/build/components/SideNavigationItem/SideNavigationItem.component.d.ts +7 -4
  159. package/build/components/SideNavigationItem/SideNavigationItem.component.d.ts.map +1 -1
  160. package/build/components/SideNavigationList/SideNavigationList.component.d.ts +10 -2
  161. package/build/components/SideNavigationList/SideNavigationList.component.d.ts.map +1 -1
  162. package/build/components/SideNavigationList/SideNavigationList.stories.d.ts.map +1 -1
  163. package/build/components/SignInForm/SignInForm.component.d.ts +39 -0
  164. package/build/components/SignInForm/SignInForm.component.d.ts.map +1 -0
  165. package/build/components/SignInForm/SignInForm.stories.d.ts +8 -0
  166. package/build/components/SignInForm/SignInForm.stories.d.ts.map +1 -0
  167. package/build/components/SignInForm/SignInForm.test.d.ts +2 -0
  168. package/build/components/SignInForm/SignInForm.test.d.ts.map +1 -0
  169. package/build/components/SignInForm/index.d.ts +3 -0
  170. package/build/components/SignInForm/index.d.ts.map +1 -0
  171. package/build/components/SortButton/SortButton.component.d.ts +14 -3
  172. package/build/components/SortButton/SortButton.component.d.ts.map +1 -1
  173. package/build/components/SortButton/SortButton.stories.d.ts.map +1 -1
  174. package/build/components/Spinner/Spinner.component.d.ts +8 -5
  175. package/build/components/Spinner/Spinner.component.d.ts.map +1 -1
  176. package/build/components/Stack/Stack.component.d.ts +6 -4
  177. package/build/components/Stack/Stack.component.d.ts.map +1 -1
  178. package/build/components/StyleProvider/StyleProvider.component.d.ts +3 -0
  179. package/build/components/StyleProvider/StyleProvider.component.d.ts.map +1 -1
  180. package/build/components/Switch/Switch.component.d.ts +8 -5
  181. package/build/components/Switch/Switch.component.d.ts.map +1 -1
  182. package/build/components/Tab/Tab.component.d.ts +9 -11
  183. package/build/components/Tab/Tab.component.d.ts.map +1 -1
  184. package/build/components/TabList/TabList.component.d.ts +9 -6
  185. package/build/components/TabList/TabList.component.d.ts.map +1 -1
  186. package/build/components/TabNavigation/TabNavigation.component.d.ts +8 -4
  187. package/build/components/TabNavigation/TabNavigation.component.d.ts.map +1 -1
  188. package/build/components/TabNavigationItem/TabNavigationItem.component.d.ts +11 -7
  189. package/build/components/TabNavigationItem/TabNavigationItem.component.d.ts.map +1 -1
  190. package/build/components/TabPanel/TabPanel.component.d.ts +7 -10
  191. package/build/components/TabPanel/TabPanel.component.d.ts.map +1 -1
  192. package/build/components/Tabs/Tabs.component.d.ts +9 -7
  193. package/build/components/Tabs/Tabs.component.d.ts.map +1 -1
  194. package/build/components/TextInput/TextInput.component.d.ts +11 -9
  195. package/build/components/TextInput/TextInput.component.d.ts.map +1 -1
  196. package/build/components/Textarea/Textarea.component.d.ts +11 -9
  197. package/build/components/Textarea/Textarea.component.d.ts.map +1 -1
  198. package/build/components/ThemeToggle/ThemeToggle.component.d.ts +4 -2
  199. package/build/components/ThemeToggle/ThemeToggle.component.d.ts.map +1 -1
  200. package/build/components/Toast/Toast.component.d.ts +8 -6
  201. package/build/components/Toast/Toast.component.d.ts.map +1 -1
  202. package/build/components/ToggleButton/ToggleButton.component.d.ts +21 -0
  203. package/build/components/ToggleButton/ToggleButton.component.d.ts.map +1 -1
  204. package/build/components/ToggleButton/ToggleButton.stories.d.ts.map +1 -1
  205. package/build/components/Tooltip/Tooltip.component.d.ts +8 -5
  206. package/build/components/Tooltip/Tooltip.component.d.ts.map +1 -1
  207. package/build/components/TooltipContent/TooltipContent.component.d.ts +5 -3
  208. package/build/components/TooltipContent/TooltipContent.component.d.ts.map +1 -1
  209. package/build/components/TooltipTrigger/TooltipTrigger.component.d.ts +5 -3
  210. package/build/components/TooltipTrigger/TooltipTrigger.component.d.ts.map +1 -1
  211. package/build/components/TopNavigation/TopNavigation.component.d.ts +8 -6
  212. package/build/components/TopNavigation/TopNavigation.component.d.ts.map +1 -1
  213. package/build/components/TopNavigationItem/TopNavigationItem.component.d.ts +10 -8
  214. package/build/components/TopNavigationItem/TopNavigationItem.component.d.ts.map +1 -1
  215. package/build/components/withDeprecationWarning/withDeprecationWarning.component.d.ts.map +1 -1
  216. package/build/index.d.ts +3 -0
  217. package/build/index.d.ts.map +1 -1
  218. package/build/index.js +3618 -3568
  219. package/build/juno-ui-components.css +1 -1
  220. package/package.json +1 -5
@@ -1 +1 @@
1
- {"version":3,"file":"Form.component.d.ts","sourceRoot":"","sources":["../../../src/components/Form/Form.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAY5D,MAAM,WAAW,SAAU,SAAQ,kBAAkB,CAAC,eAAe,CAAC;IACpE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED;;;GAGG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAOpC,CAAA"}
1
+ {"version":3,"file":"Form.component.d.ts","sourceRoot":"","sources":["../../../src/components/Form/Form.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAY5D,MAAM,WAAW,SAAU,SAAQ,kBAAkB,CAAC,eAAe,CAAC;IACpE;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,IAAI,GAAI,0CAAoD,SAAS,KAAG,SAOpF,CAAA"}
@@ -1,6 +1,6 @@
1
- import { default as React, ReactNode } from 'react';
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
2
  type FormHintVariant = "help" | "error" | "success";
3
- export interface FormHintProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ export interface FormHintProps extends HTMLAttributes<HTMLDivElement> {
4
4
  /**
5
5
  * The content to render as a hint for a form element.
6
6
  * If children are provided, they will take precedence over text.
@@ -9,20 +9,29 @@ export interface FormHintProps extends React.HTMLAttributes<HTMLDivElement> {
9
9
  /**
10
10
  * The text to render as a hint for a form element.
11
11
  * Overridden by children, if provided.
12
+ * @default ""
12
13
  */
13
14
  text?: ReactNode;
14
15
  /**
15
16
  * The variant of the hint ("help", "error", or "success") determining its appearance.
17
+ * @default "help"
16
18
  */
17
19
  variant?: FormHintVariant;
18
20
  /**
19
21
  * Additional CSS classes to apply to the form hint for custom styling.
22
+ * @default ""
20
23
  */
21
24
  className?: string;
22
25
  }
23
26
  /**
24
- * A FormHint component used to provide contextual help, error, or success messages associated with form elements.
27
+ * The `FormHint` component provides contextual messages associated with form elements,
28
+ * such as help, error, or success messages. It adjusts appearance based on the variant specified.
29
+ * @see https://cloudoperators.github.io/juno/?path=/docs/forms-formhint--docs
30
+ * @see {@link FormHintProps}
25
31
  */
26
- export declare const FormHint: React.FC<FormHintProps>;
32
+ export declare const FormHint: {
33
+ ({ children, text, variant, className, ...props }: FormHintProps): ReactNode;
34
+ displayName: string;
35
+ };
27
36
  export {};
28
37
  //# sourceMappingURL=FormHint.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormHint.component.d.ts","sourceRoot":"","sources":["../../../src/components/FormHint/FormHint.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOxC,KAAK,eAAe,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAA;AAEnD,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,CAAA;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAaD;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAqB5C,CAAA"}
1
+ {"version":3,"file":"FormHint.component.d.ts","sourceRoot":"","sources":["../../../src/components/FormHint/FormHint.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOxD,KAAK,eAAe,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAA;AAEnD,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC;IACnE;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAEhB;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAA;IAEzB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAaD;;;;;GAKG;AACH,eAAO,MAAM,QAAQ;uDAMlB,aAAa,GAAG,SAAS;;CAe3B,CAAA"}
@@ -1,18 +1,22 @@
1
- import { default as React } from 'react';
2
- export interface FormRowProps extends React.HTMLAttributes<HTMLDivElement> {
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface FormRowProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * Content to render inside FormRow.
5
5
  * Typically, these will be form elements such as TextInput, Textarea, Select, Radio, CheckboxGroups, etc.
6
6
  */
7
- children?: React.ReactNode;
7
+ children?: ReactNode;
8
8
  /**
9
9
  * Additional CSS classes to apply to the FormRow for custom styling.
10
+ * @default ""
10
11
  */
11
12
  className?: string;
12
13
  }
13
14
  /**
14
- * A generic FormRow component used to layout and structure form elements.
15
- * It serves as a container for form elements such as TextInput, Textarea, Select, Radio, CheckboxGroups etc.
15
+ * The `FormRow` component structures individual form elements within a row layout.
16
+ * It serves as a container for inputs like `TextInput`, `Textarea`, and others,
17
+ * supporting custom styling with class names.
18
+ * @see https://cloudoperators.github.io/juno/?path=/docs/forms-formrow--docs
19
+ * @see {@link FormRowProps}
16
20
  */
17
- export declare const FormRow: React.FC<FormRowProps>;
21
+ export declare const FormRow: ({ children, className, ...props }: FormRowProps) => ReactNode;
18
22
  //# sourceMappingURL=FormRow.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormRow.component.d.ts","sourceRoot":"","sources":["../../../src/components/FormRow/FormRow.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACxE;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAE1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAM1C,CAAA"}
1
+ {"version":3,"file":"FormRow.component.d.ts","sourceRoot":"","sources":["../../../src/components/FormRow/FormRow.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMxD,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,cAAc,CAAC;IAClE;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,GAAI,mCAAwC,YAAY,KAAG,SAM9E,CAAA"}
@@ -1,21 +1,26 @@
1
- import { default as React, HTMLAttributes } from 'react';
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
2
  export interface FormSectionProps extends HTMLAttributes<HTMLElement> {
3
3
  /**
4
4
  * Title for the form section.
5
+ * @default ""
5
6
  */
6
7
  title?: string;
7
8
  /**
8
9
  * Additional CSS classes to apply to the form section for custom styling.
10
+ * @default ""
9
11
  */
10
12
  className?: string;
11
13
  /**
12
14
  * Content to be rendered within the form section.
13
15
  * This can include form elements and other React nodes.
14
16
  */
15
- children?: React.ReactNode;
17
+ children?: ReactNode;
16
18
  }
17
19
  /**
18
- * FormSection component for grouping form elements within complex forms.
20
+ * The `FormSection` component groups related form elements within a section,
21
+ * offering a title and customizable styling. It assists in organizing content within forms.
22
+ * @see https://cloudoperators.github.io/juno/?path=/docs/forms-formsection--docs
23
+ * @see {@link FormSectionProps}
19
24
  */
20
- export declare const FormSection: React.FC<FormSectionProps>;
25
+ export declare const FormSection: ({ title, children, className, ...props }: FormSectionProps) => ReactNode;
21
26
  //# sourceMappingURL=FormSection.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormSection.component.d.ts","sourceRoot":"","sources":["../../../src/components/FormSection/FormSection.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAa7C,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACnE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAOlD,CAAA"}
1
+ {"version":3,"file":"FormSection.component.d.ts","sourceRoot":"","sources":["../../../src/components/FormSection/FormSection.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAaxD,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACnE;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,0CAAoD,gBAAgB,KAAG,SAOlG,CAAA"}
@@ -1,11 +1,18 @@
1
- import { default as React } from 'react';
2
- export interface FormattedTextProps extends React.HTMLAttributes<HTMLDivElement> {
3
- /** Add custom class name */
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface FormattedTextProps extends HTMLAttributes<HTMLDivElement> {
3
+ /**
4
+ * Custom CSS class name for styling the formatted text container.
5
+ * @default ""
6
+ */
4
7
  className?: string;
5
- children?: React.ReactNode;
8
+ /** Rendering content within the formatted text container. */
9
+ children?: ReactNode;
6
10
  }
7
11
  /**
8
- * A very basic layout container with padding.
12
+ * The `FormattedText` component provides a container for stylized text.
13
+ * It supports custom content and additional styling through class names.
14
+ * @see https://cloudoperators.github.io/juno/?path=/story/components-formattedtext--basic
15
+ * @see {@link FormattedTextProps}
9
16
  */
10
- export declare const FormattedText: React.FC<FormattedTextProps>;
17
+ export declare const FormattedText: ({ className, children, ...props }: FormattedTextProps) => ReactNode;
11
18
  //# sourceMappingURL=FormattedText.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormattedText.component.d.ts","sourceRoot":"","sources":["../../../src/components/FormattedText/FormattedText.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,sBAAsB,CAAA;AAE7B,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC9E,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAUtD,CAAA"}
1
+ {"version":3,"file":"FormattedText.component.d.ts","sourceRoot":"","sources":["../../../src/components/FormattedText/FormattedText.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACxD,OAAO,sBAAsB,CAAA;AAE7B,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACxE;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,mCAI3B,kBAAkB,KAAG,SAMvB,CAAA"}
@@ -1,22 +1,27 @@
1
- import { default as React } from 'react';
2
- export interface GridProps extends React.HTMLAttributes<HTMLDivElement> {
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface GridProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * Controls whether columns should auto-size.
5
5
  * If true, this will override the default 12-column grid layout.
6
+ * @default false
6
7
  */
7
8
  auto?: boolean;
8
9
  /**
9
10
  * Elements to be rendered within the grid.
10
11
  */
11
- children?: React.ReactNode;
12
+ children?: ReactNode;
12
13
  /**
13
14
  * Additional CSS classes to apply to the grid for custom styling.
15
+ * @default ""
14
16
  */
15
17
  className?: string;
16
18
  }
17
19
  /**
18
- * A general-use grid component.
19
- * Used in conjunction with GridColumn and GridRow components to create a flexible grid layout.
20
+ * The `Grid` component establishes a customizable grid layout, enabling
21
+ * responsive design. It collaborates with `GridColumn` and `GridRow` for
22
+ * flexible arrangement of content.
23
+ * @see https://cloudoperators.github.io/juno/?path=/docs/layout-grid-grid--docs
24
+ * @see {@link GridProps}
20
25
  */
21
- export declare const Grid: React.FC<GridProps>;
26
+ export declare const Grid: ({ auto, children, className, ...props }: GridProps) => ReactNode;
22
27
  //# sourceMappingURL=Grid.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Grid.component.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAUzB,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACrE;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;GAGG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAQpC,CAAA"}
1
+ {"version":3,"file":"Grid.component.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAUxD,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC/D;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,IAAI,GAAI,yCAAsD,SAAS,KAAG,SAQtF,CAAA"}
@@ -1,5 +1,5 @@
1
- import { default as React } from 'react';
2
- export interface GridColumnProps extends React.HTMLAttributes<HTMLDivElement> {
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface GridColumnProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * The number of columns to span the column over.
5
5
  */
@@ -11,19 +11,25 @@ export interface GridColumnProps extends React.HTMLAttributes<HTMLDivElement> {
11
11
  width?: number;
12
12
  /**
13
13
  * Determines whether the column should set an auto width.
14
+ * @default false
14
15
  */
15
16
  auto?: boolean;
16
17
  /**
17
18
  * Additional CSS classes to apply to the grid column for custom styling.
19
+ * @default ""
18
20
  */
19
21
  className?: string;
20
22
  /**
21
23
  * Content to be rendered inside the column.
22
24
  */
23
- children?: React.ReactNode;
25
+ children?: ReactNode;
24
26
  }
25
27
  /**
26
- * A flexible grid column component used within a Grid.
28
+ * The `GridColumn` component represents an individual column within a `Grid`,
29
+ * providing options for span and width adjustments. It supports flexible styling
30
+ * for responsive layout.
31
+ * @see https://cloudoperators.github.io/juno/?path=/docs/layout-grid-gridcolumn--docs
32
+ * @see {@link GridColumnProps}
27
33
  */
28
- export declare const GridColumn: React.FC<GridColumnProps>;
34
+ export declare const GridColumn: ({ width, cols, auto, className, children, ...props }: GridColumnProps) => ReactNode;
29
35
  //# sourceMappingURL=GridColumn.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GridColumn.component.d.ts","sourceRoot":"","sources":["../../../src/components/GridColumn/GridColumn.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAmCzB,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA6BhD,CAAA"}
1
+ {"version":3,"file":"GridColumn.component.d.ts","sourceRoot":"","sources":["../../../src/components/GridColumn/GridColumn.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAiB,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAmCvE,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACrE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GAAI,sDAOxB,eAAe,KAAG,SAsBpB,CAAA"}
@@ -1,18 +1,21 @@
1
- import { default as React } from 'react';
2
- export interface GridRowProps extends React.HTMLAttributes<HTMLDivElement> {
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface GridRowProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * Elements to be rendered within the grid row.
5
5
  * Typically, these would be GridColumn components.
6
6
  */
7
- children?: React.ReactNode;
7
+ children?: ReactNode;
8
8
  /**
9
9
  * Additional CSS classes to apply to the grid row for custom styling.
10
+ * @default ""
10
11
  */
11
12
  className?: string;
12
13
  }
13
14
  /**
14
- * A grid row container to hold GridColumn elements inside a Grid.
15
- * This component ensures that its children are wrapped correctly in a flexbox layout.
15
+ * The `GridRow` component acts as a container to hold `GridColumn` elements
16
+ * within a `Grid`. It ensures proper flexbox wrapping for responsive design.
17
+ * @see https://cloudoperators.github.io/juno/?path=/docs/layout-grid-gridrow--docs
18
+ * @see {@link GridRowProps}
16
19
  */
17
- export declare const GridRow: React.FC<GridRowProps>;
20
+ export declare const GridRow: ({ children, className, ...props }: GridRowProps) => ReactNode;
18
21
  //# sourceMappingURL=GridRow.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GridRow.component.d.ts","sourceRoot":"","sources":["../../../src/components/GridRow/GridRow.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACxE;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAM1C,CAAA"}
1
+ {"version":3,"file":"GridRow.component.d.ts","sourceRoot":"","sources":["../../../src/components/GridRow/GridRow.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQxD,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,cAAc,CAAC;IAClE;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,mCAAwC,YAAY,KAAG,SAM9E,CAAA"}
@@ -1,10 +1,25 @@
1
- import { default as React } from 'react';
2
- export declare const HeaderContainer: React.FC<HeaderContainerProps>;
3
- export interface HeaderContainerProps extends React.HTMLAttributes<HTMLDivElement> {
4
- /** Whether the page/view content will stretch over the full width of the viewport or not. Default is `false`. */
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ /**
3
+ * The `HeaderContainer` component serves as a fixed, styled container at the top
4
+ * of a page or view, supporting full-width or constrained layouts.
5
+ * @see https://cloudoperators.github.io/juno/?path=/docs/internal-headercontainer--docs
6
+ * @see {@link HeaderContainerProps}
7
+ */
8
+ export declare const HeaderContainer: ({ fullWidth, className, children, ...props }: HeaderContainerProps) => ReactNode;
9
+ export interface HeaderContainerProps extends HTMLAttributes<HTMLDivElement> {
10
+ /**
11
+ * Whether the page/view content will stretch over the full width of the viewport or not.
12
+ * @default false
13
+ */
5
14
  fullWidth?: boolean;
6
- /** Add custom class name */
15
+ /**
16
+ * Custom CSS class name to apply to the header container.
17
+ * @default ""
18
+ */
7
19
  className?: string;
8
- children?: React.ReactNode;
20
+ /**
21
+ * Content to be rendered within the header container.
22
+ */
23
+ children?: ReactNode;
9
24
  }
10
25
  //# sourceMappingURL=HeaderContainer.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderContainer.component.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderContainer/HeaderContainer.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAYzB,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAkB1D,CAAA;AAED,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChF,iHAAiH;IACjH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B"}
1
+ {"version":3,"file":"HeaderContainer.component.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderContainer/HeaderContainer.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAYxD;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,8CAK7B,oBAAoB,KAAG,SAazB,CAAA;AAED,MAAM,WAAW,oBAAqB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC1E;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB"}
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import { default as React, HTMLProps, MouseEventHandler } from 'react';
2
2
  export declare enum KnownIconsEnum {
3
3
  accessTime = "accessTime",
4
4
  accountCircle = "accountCircle",
@@ -60,15 +60,34 @@ export declare enum KnownIconsEnum {
60
60
  widgets = "widgets"
61
61
  }
62
62
  export type KnownIcons = keyof typeof KnownIconsEnum;
63
+ /**
64
+ * The `Icon` component provides a versatile way to render SVG icons with customizable size,
65
+ * color, and accessibility features. Icons can be interactive through click events or embedded links.
66
+ * @see https://cloudoperators.github.io/juno/?path=/docs/components-icon--docs
67
+ * @see {@link IconProps}
68
+ */
63
69
  export declare const Icon: React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
64
- export interface IconProps extends Omit<React.HTMLProps<HTMLAnchorElement> | React.HTMLProps<HTMLButtonElement>, "size"> {
70
+ export interface IconProps extends Omit<HTMLProps<HTMLAnchorElement> | HTMLProps<HTMLButtonElement>, "size"> {
71
+ /** The name of the icon to render. */
65
72
  icon?: KnownIcons;
73
+ /** Specifies the color of the icon. */
66
74
  color?: string;
75
+ /** Determines the size of the icon, either a number or string representing pixels/rem. */
67
76
  size?: string | number;
77
+ /** Accessibility title for the icon, useful for screen readers. */
68
78
  title?: string;
79
+ /** Additional CSS class names for custom styling.
80
+ * @default ""
81
+ */
69
82
  className?: string;
83
+ /** URL for navigation via anchor element when clicked. */
70
84
  href?: string;
85
+ /**
86
+ * Determines if the icon is interactive or not.
87
+ * @default false
88
+ */
71
89
  disabled?: boolean;
72
- onClick?: React.MouseEventHandler<HTMLButtonElement>;
90
+ /** Click event handler for icon interaction, applicable to button elements. */
91
+ onClick?: MouseEventHandler<HTMLButtonElement>;
73
92
  }
74
93
  //# sourceMappingURL=Icon.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.component.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/Icon.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAgC,MAAM,OAAO,CAAA;AA8FpD,oBAAY,cAAc;IAExB,UAAU,eAAe;IAEzB,aAAa,kBAAkB;IAE/B,SAAS,cAAc;IAEvB,iBAAiB,sBAAsB;IAEvC,iBAAiB,sBAAsB;IAEvC,IAAI,SAAS;IAEb,aAAa,kBAAkB;IAE/B,MAAM,WAAW;IAEjB,KAAK,UAAU;IAEf,WAAW,gBAAgB;IAE3B,WAAW,gBAAgB;IAE3B,YAAY,iBAAiB;IAE7B,KAAK,UAAU;IAEf,OAAO,YAAY;IAEnB,WAAW,gBAAgB;IAE3B,MAAM,WAAW;IAEjB,SAAS,cAAc;IAEvB,OAAO,YAAY;IAEnB,aAAa,kBAAkB;IAE/B,WAAW,gBAAgB;IAE3B,GAAG,QAAQ;IAEX,QAAQ,aAAa;IAErB,IAAI,SAAS;IAEb,KAAK,UAAU;IAEf,YAAY,iBAAiB;IAE7B,SAAS,cAAc;IAEvB,UAAU,eAAe;IAEzB,UAAU,eAAe;IAEzB,SAAS,cAAc;IAEvB,KAAK,UAAU;IAEf,IAAI,SAAS;IAEb,IAAI,SAAS;IAEb,IAAI,SAAS;IAEb,QAAQ,aAAa;IAErB,cAAc,mBAAmB;IAEjC,YAAY,iBAAiB;IAE7B,QAAQ,aAAa;IAErB,UAAU,eAAe;IAEzB,gBAAgB,qBAAqB;IAErC,aAAa,kBAAkB;IAE/B,SAAS,cAAc;IAEvB,KAAK,UAAU;IAEf,MAAM,WAAW;IAEjB,WAAW,gBAAgB;IAE3B,cAAc,mBAAmB;IAEjC,YAAY,iBAAiB;IAE7B,gBAAgB,qBAAqB;IAErC,gBAAgB,qBAAqB;IAErC,eAAe,oBAAoB;IAEnC,oBAAoB,yBAAyB;IAE7C,sBAAsB,2BAA2B;IAEjD,oBAAoB,yBAAyB;IAE7C,sBAAsB,2BAA2B;IAEjD,OAAO,YAAY;IAEnB,MAAM,WAAW;IAEjB,OAAO,YAAY;IAEnB,OAAO,YAAY;IAEnB,OAAO,YAAY;CACpB;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,cAAc,CAAA;AAstBpD,eAAO,MAAM,IAAI,sHAmDf,CAAA;AAEF,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC7F,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;CACrD"}
1
+ {"version":3,"file":"Icon.component.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/Icon.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAc,SAAS,EAAyB,iBAAiB,EAAE,MAAM,OAAO,CAAA;AA8F9F,oBAAY,cAAc;IAExB,UAAU,eAAe;IAEzB,aAAa,kBAAkB;IAE/B,SAAS,cAAc;IAEvB,iBAAiB,sBAAsB;IAEvC,iBAAiB,sBAAsB;IAEvC,IAAI,SAAS;IAEb,aAAa,kBAAkB;IAE/B,MAAM,WAAW;IAEjB,KAAK,UAAU;IAEf,WAAW,gBAAgB;IAE3B,WAAW,gBAAgB;IAE3B,YAAY,iBAAiB;IAE7B,KAAK,UAAU;IAEf,OAAO,YAAY;IAEnB,WAAW,gBAAgB;IAE3B,MAAM,WAAW;IAEjB,SAAS,cAAc;IAEvB,OAAO,YAAY;IAEnB,aAAa,kBAAkB;IAE/B,WAAW,gBAAgB;IAE3B,GAAG,QAAQ;IAEX,QAAQ,aAAa;IAErB,IAAI,SAAS;IAEb,KAAK,UAAU;IAEf,YAAY,iBAAiB;IAE7B,SAAS,cAAc;IAEvB,UAAU,eAAe;IAEzB,UAAU,eAAe;IAEzB,SAAS,cAAc;IAEvB,KAAK,UAAU;IAEf,IAAI,SAAS;IAEb,IAAI,SAAS;IAEb,IAAI,SAAS;IAEb,QAAQ,aAAa;IAErB,cAAc,mBAAmB;IAEjC,YAAY,iBAAiB;IAE7B,QAAQ,aAAa;IAErB,UAAU,eAAe;IAEzB,gBAAgB,qBAAqB;IAErC,aAAa,kBAAkB;IAE/B,SAAS,cAAc;IAEvB,KAAK,UAAU;IAEf,MAAM,WAAW;IAEjB,WAAW,gBAAgB;IAE3B,cAAc,mBAAmB;IAEjC,YAAY,iBAAiB;IAE7B,gBAAgB,qBAAqB;IAErC,gBAAgB,qBAAqB;IAErC,eAAe,oBAAoB;IAEnC,oBAAoB,yBAAyB;IAE7C,sBAAsB,2BAA2B;IAEjD,oBAAoB,yBAAyB;IAE7C,sBAAsB,2BAA2B;IAEjD,OAAO,YAAY;IAEnB,MAAM,WAAW;IAEjB,OAAO,YAAY;IAEnB,OAAO,YAAY;IAEnB,OAAO,YAAY;CACpB;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,cAAc,CAAA;AAstBpD;;;;;GAKG;AACH,eAAO,MAAM,IAAI,sHAmDf,CAAA;AAEF,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,SAAS,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC1G,sCAAsC;IACtC,IAAI,CAAC,EAAE,UAAU,CAAA;IAEjB,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,0FAA0F;IAC1F,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEtB,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,0DAA0D;IAC1D,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;CAC/C"}
@@ -1,13 +1,14 @@
1
- import { default as React } from 'react';
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
2
  type VariantTypes = "default" | "primary" | "primary-danger" | "subdued";
3
- export interface InputGroupProps extends React.HTMLAttributes<HTMLElement> {
3
+ export interface InputGroupProps extends HTMLAttributes<HTMLElement> {
4
4
  /**
5
5
  * The children to render within the InputGroup.
6
6
  * This can be any React node or a collection of React nodes such as Buttons, TextInput, and Select elements.
7
7
  */
8
- children?: React.ReactNode;
8
+ children?: ReactNode;
9
9
  /**
10
10
  * Additional CSS class name(s) to apply to the InputGroup for custom styling.
11
+ * @default ""
11
12
  */
12
13
  className?: string;
13
14
  /**
@@ -17,13 +18,16 @@ export interface InputGroupProps extends React.HTMLAttributes<HTMLElement> {
17
18
  /**
18
19
  * If true, all elements within the InputGroup will be disabled.
19
20
  * Individual elements can override this setting if needed.
21
+ * @default false
20
22
  */
21
23
  disabled?: boolean;
22
24
  }
23
25
  /**
24
26
  * InputGroup is a component used to visually group related elements such as
25
27
  * Buttons, TextInput, and Select elements, providing a cohesive styling approach.
28
+ * @see https://cloudoperators.github.io/juno/?path=/docs/wip-inputgroup--docs
29
+ * @see {@link InputGroupProps}
26
30
  */
27
- export declare const InputGroup: React.FC<InputGroupProps>;
31
+ export declare const InputGroup: ({ children, className, variant, disabled, ...props }: InputGroupProps) => ReactNode;
28
32
  export {};
29
33
  //# sourceMappingURL=InputGroup.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputGroup.component.d.ts","sourceRoot":"","sources":["../../../src/components/InputGroup/InputGroup.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAoC,MAAM,OAAO,CAAA;AAExD,OAAO,mBAAmB,CAAA;AAE1B,KAAK,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,gBAAgB,GAAG,SAAS,CAAA;AAExE,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACxE;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AA+BD;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmBhD,CAAA"}
1
+ {"version":3,"file":"InputGroup.component.d.ts","sourceRoot":"","sources":["../../../src/components/InputGroup/InputGroup.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAY,cAAc,EAAE,SAAS,EAAgC,MAAM,OAAO,CAAA;AAEhG,OAAO,mBAAmB,CAAA;AAE1B,KAAK,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,gBAAgB,GAAG,SAAS,CAAA;AAExE,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,WAAW,CAAC;IAClE;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAA;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AA8BD;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,sDAMxB,eAAe,KAAG,SAWpB,CAAA"}
@@ -1,21 +1,40 @@
1
- import { default as React } from 'react';
2
- export interface IntroBoxProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
3
- /** Pass an optional title */
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface IntroBoxProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
3
+ /**
4
+ * Pass an optional title.
5
+ * @default ""
6
+ */
4
7
  title?: string;
5
- /** Pass a string of text to be rendered as contents. Alternatively, contents can be passed as children (see below) */
8
+ /**
9
+ * Pass a string of text to be rendered as contents. Alternatively, contents can be passed as children (see below).
10
+ * @default ""
11
+ */
6
12
  text?: string;
7
- /** Pass a custom class */
13
+ /**
14
+ * Pass a variant style to affect the layout of the intro box.
15
+ * @default "default"
16
+ */
8
17
  variant?: "default" | "hero";
9
- /** optional "hero" flavor image for hero variant. Specify as css bg image string pointing to an image in your app (see template app for an example). Will always be positioned top and right */
18
+ /**
19
+ * Optional "hero" flavor image for hero variant. Specify as css bg image string pointing to an image.
20
+ */
10
21
  heroImage?: string;
11
- /** Pass a custom class */
22
+ /**
23
+ * Pass a custom class or classes for styling the intro box.
24
+ * @default ""
25
+ */
12
26
  className?: string;
13
- /** Pass child nodes to be rendered as content */
14
- children?: React.ReactNode;
27
+ /**
28
+ * Pass child nodes to be rendered as content, taking precedence over `text`.
29
+ */
30
+ children?: ReactNode;
15
31
  }
16
32
  /**
17
- * An Introbox holds generally important information to help understand the contents, purpose, or state of a whole page or view, or individual sections on longer pages.
18
- Use sparingly, there should never be any two or more subsequent instances of Introbox as direct siblings/neighbors on an individual view.
19
- */
20
- export declare const IntroBox: React.FC<IntroBoxProps>;
33
+ * The `IntroBox` component presents important information about the contents,
34
+ * purpose, or state of a page or view, using distinct styles for emphasis.
35
+ * Supports "hero" variant with optional background images.
36
+ * @see https://cloudoperators.github.io/juno/?path=/docs/components-introbox--docs
37
+ * @see {@link IntroBoxProps}
38
+ */
39
+ export declare const IntroBox: ({ title, text, variant, heroImage, className, children, ...props }: IntroBoxProps) => ReactNode;
21
40
  //# sourceMappingURL=IntroBox.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IntroBox.component.d.ts","sourceRoot":"","sources":["../../../src/components/IntroBox/IntroBox.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAoDzB,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACxF,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sHAAsH;IACtH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0BAA0B;IAC1B,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IAC5B,gMAAgM;IAChM,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED;;;EAGE;AACF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA0B5C,CAAA"}
1
+ {"version":3,"file":"IntroBox.component.d.ts","sourceRoot":"","sources":["../../../src/components/IntroBox/IntroBox.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,SAAS,EAAW,MAAM,OAAO,CAAA;AAoDjE,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAClF;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IAE5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,oEAQtB,aAAa,KAAG,SAkBlB,CAAA"}
@@ -1,21 +1,34 @@
1
- import { default as React } from 'react';
1
+ import { HTMLProps, ReactNode } from 'react';
2
2
  import { TypeValueLabelType } from './JsonViewer.types';
3
3
  import * as themes from "./themes";
4
4
  export declare const getTypeOfTheValue: (value: unknown) => TypeValueLabelType;
5
- /** A component to render json data in a nice way. */
6
- export declare const JsonViewer: React.FC<JsonViewerProps>;
5
+ /**
6
+ * The `JsonViewer` component provides a structured visualization of JSON data,
7
+ * with support for syntax highlighting, collapsible elements, and search functionality.
8
+ * Tailorable themes and display settings are available for user customization.
9
+ * @see https://cloudoperators.github.io/juno/?path=/docs/components-jsonviewer--docs
10
+ * @see {@link JsonViewerProps}
11
+ */
12
+ export declare const JsonViewer: ({ data, showRoot, toolbar, theme, expanded, indentWidth, style, truncate, className, ...props }: JsonViewerProps) => ReactNode;
7
13
  type ThemeType = "dark" | "light";
8
- export interface JsonViewerProps extends Omit<React.HTMLProps<HTMLDivElement>, "data"> {
9
- /** Pass a valid json. Required. */
14
+ export interface JsonViewerProps extends Omit<HTMLProps<HTMLDivElement>, "data"> {
15
+ /**
16
+ * JSON data to render; essential for visualizing complex structures.
17
+ */
10
18
  data: string | object | object[];
11
- /** pass a styles object */
19
+ /** Pass a styles object for inline customizations. */
12
20
  style?: object;
13
- /** show toolbar */
21
+ /**
22
+ * Toggles toolbar display, including expansion and search functionalities.
23
+ * @default false
24
+ */
14
25
  toolbar?: boolean;
15
- /** show root key */
26
+ /**
27
+ * Displays the root node key for hierarchical clarity.
28
+ * @default false
29
+ */
16
30
  showRoot?: boolean;
17
- /** dark, light or map of colors
18
- *
31
+ /** Preset theme (dark/light) or map of colors for custom styling.
19
32
  * @param dark dark theme
20
33
  * @param light light theme
21
34
  * @param base00 background
@@ -36,10 +49,24 @@ export interface JsonViewerProps extends Omit<React.HTMLProps<HTMLDivElement>, "
36
49
  * @param base0F copy icon, type "integer"
37
50
  */
38
51
  theme?: themes.JsonViewerTheme | ThemeType;
39
- /** expanded can be true|false or a number. The number denotes the hierarchy level to which the object is expanded. */
52
+ /**
53
+ * Default expansion level for JSON objects, set as true, false, or a numeric level.
54
+ * @default 1
55
+ */
40
56
  expanded?: boolean | number;
57
+ /**
58
+ * Max length for truncating strings within displayed JSON data; defaults to 100 characters if true.
59
+ */
41
60
  truncate?: boolean | number;
61
+ /**
62
+ * Pixel width for indentation.
63
+ * @default 4
64
+ */
42
65
  indentWidth?: number;
66
+ /**
67
+ * Additional CSS classes for styled customization.
68
+ * @default ""
69
+ */
43
70
  className?: string;
44
71
  }
45
72
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"JsonViewer.component.d.ts","sourceRoot":"","sources":["../../../src/components/JsonViewer/JsonViewer.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAElC,OAAO,EAAsC,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AA0B3F,eAAO,MAAM,iBAAiB,GAAI,OAAO,OAAO,KAAG,kBAiBlD,CAAA;AA4SD,qDAAqD;AACrD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqDhD,CAAA;AAED,KAAK,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;AAEjC,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpF,oCAAoC;IAEpC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mBAAmB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,eAAe,GAAG,SAAS,CAAA;IAC1C,sHAAsH;IACtH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAE3B,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAE3B,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
1
+ {"version":3,"file":"JsonViewer.component.d.ts","sourceRoot":"","sources":["../../../src/components/JsonViewer/JsonViewer.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAkB,SAAS,EAAE,SAAS,EAAkD,MAAM,OAAO,CAAA;AACnH,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAElC,OAAO,EAAsC,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AA0B3F,eAAO,MAAM,iBAAiB,GAAI,OAAO,OAAO,KAAG,kBAiBlD,CAAA;AA2SD;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GAAI,iGAWxB,eAAe,KAAG,SA0CpB,CAAA;AAED,KAAK,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;AAEjC,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAC9E;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IAEhC,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,eAAe,GAAG,SAAS,CAAA;IAC1C;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAE3B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAE3B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -1,22 +1,44 @@
1
- import { default as React } from 'react';
1
+ import { default as React, HTMLAttributes } from 'react';
2
2
  /**
3
- * A re-usable Label component
3
+ * The `Label` component is a reusable, accessible label for form elements.
4
+ * It supports optional features like disabling, required indicators, and floating label styles.
5
+ * @see https://cloudoperators.github.io/juno/?path=/docs/forms-label--docs
6
+ * @see {@link LabelProps}
4
7
  */
5
8
  export declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
6
- export interface LabelProps extends React.HTMLAttributes<HTMLLabelElement> {
7
- /** Pass a string of text to be rendered as contents. Required. */
9
+ export interface LabelProps extends HTMLAttributes<HTMLLabelElement> {
10
+ /**
11
+ * Text content for the label, required for display.
12
+ */
8
13
  text?: string;
9
- /** An Id of an input element to associate the label with */
14
+ /**
15
+ * ID of an input element to associate the label with for accessibility.
16
+ */
10
17
  htmlFor?: string;
11
- /** Required */
18
+ /**
19
+ * Displays the required indicator when set.
20
+ * @default false
21
+ */
12
22
  required?: boolean;
13
- /** Pass a className */
23
+ /**
24
+ * Custom CSS class names for label styling.
25
+ * @default ""
26
+ */
14
27
  className?: string;
15
- /** Label for a disabled input */
28
+ /**
29
+ * Enables disabled styling to indicate non-interactive fields.
30
+ * @default false
31
+ */
16
32
  disabled?: boolean;
17
- /** Whether the label is floating */
33
+ /**
34
+ * Applies floating label styles for improved UX.
35
+ * @default false
36
+ */
18
37
  floating?: boolean;
19
- /** Whether the label is minimized. Requires `floating` set to TRUE, otherwise it will have no effect. */
38
+ /**
39
+ * Applies minimized label styles; requires `floating` to be `true`.
40
+ * @default false
41
+ */
20
42
  minimized?: boolean;
21
43
  }
22
44
  //# sourceMappingURL=Label.component.d.ts.map