@cloudoperators/juno-ui-components 6.1.0 → 6.1.2

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 (209) 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 +6879 -7487
  206. package/build/juno-ui-components.css +1 -1
  207. package/package.json +15 -15
  208. package/build/docs/ColorPalette/generateTailwindThemeClassesJson.d.ts +0 -2
  209. package/build/docs/ColorPalette/generateTailwindThemeClassesJson.d.ts.map +0 -1
@@ -1,19 +1,18 @@
1
- import { default as React, ReactNode } from 'react';
2
- export interface ContentContainerProps extends React.HTMLAttributes<HTMLDivElement> {
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface ContentContainerProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
- * Additional CSS classes for custom styling.
4
+ * Additional CSS class names for styling the content container.
5
+ * @default ""
5
6
  */
6
7
  className?: string;
7
- /**
8
- * Custom content to render within the container.
9
- */
8
+ /** Components or elements to render inside the content container. */
10
9
  children?: ReactNode;
11
10
  }
12
11
  /**
13
- * ContentContainer serves as a wrapper for app content.
14
- * It is intended for manual app scaffold creation. In most cases, using the AppShell component instead is recommended.
15
- *
16
- * Note: When the browser window is wider than the max breakpoint width, the content within this container will be centered on the screen.
12
+ * The `ContentContainer` serves as a wrapper for application content, designed for manual layout creation.
13
+ * It can center content when the browser window is wider than the max breakpoint.
14
+ * @see https://cloudoperators.github.io/juno/?path=/docs/internal-contentcontainer--docs
15
+ * @see {@link ContentContainerProps}
17
16
  */
18
- export declare const ContentContainer: React.FC<ContentContainerProps>;
17
+ export declare const ContentContainer: ({ className, children, ...props }: ContentContainerProps) => ReactNode;
19
18
  //# sourceMappingURL=ContentContainer.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContentContainer.component.d.ts","sourceRoot":"","sources":["../../../src/components/ContentContainer/ContentContainer.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAWxC,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACjF;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAM5D,CAAA"}
1
+ {"version":3,"file":"ContentContainer.component.d.ts","sourceRoot":"","sources":["../../../src/components/ContentContainer/ContentContainer.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAWxD,MAAM,WAAW,qBAAsB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC3E;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,qEAAqE;IACrE,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAI,mCAAwC,qBAAqB,KAAG,SAMhG,CAAA"}
@@ -1,24 +1,26 @@
1
- import { default as React, ReactNode } from 'react';
2
- export interface ContentHeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface ContentHeadingProps extends HTMLAttributes<HTMLHeadingElement> {
3
3
  /**
4
- * Custom content to render within the container heading.
5
- * Takes precedence over the heading prop.
4
+ * Custom content to render within the heading.
5
+ * Takes precedence over the `heading` prop.
6
6
  */
7
7
  children?: ReactNode;
8
8
  /**
9
- * Text for the heading. Used if children is not provided.
10
- * Children prop takes precedence.
9
+ * Text for the heading, used if `children` is not provided.
10
+ * Note that the `children` prop takes precedence over this prop.
11
11
  */
12
12
  heading?: string;
13
13
  /**
14
- * Additional CSS classes for custom styling.
14
+ * Custom CSS classes for styling the heading.
15
+ * @default ""
15
16
  */
16
17
  className?: string;
17
18
  }
18
19
  /**
19
- * ContentHeading represents the main heading of a page or view.
20
- * It can be used within an `<AppShell>` component or, if scaffolding manually, within a `<ContentContainer>` component.
21
- * The heading text can be provided either via the `heading` prop or by passing it as `children`.
20
+ * The `ContentHeading` represents the primary heading of a page or view, usable within a `<ContentContainer>`
21
+ * or `<AppShell>`. The heading can be defined via the `heading` prop or the `children` prop.
22
+ * @see https://cloudoperators.github.io/juno/?path=/docs/internal-contentheading--docs
23
+ * @see {@link ContentHeadingProps}
22
24
  */
23
- export declare const ContentHeading: React.FC<ContentHeadingProps>;
25
+ export declare const ContentHeading: ({ heading, className, children, ...props }: ContentHeadingProps) => ReactNode;
24
26
  //# sourceMappingURL=ContentHeading.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContentHeading.component.d.ts","sourceRoot":"","sources":["../../../src/components/ContentHeading/ContentHeading.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AASxC,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC;IACnF;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAMxD,CAAA"}
1
+ {"version":3,"file":"ContentHeading.component.d.ts","sourceRoot":"","sources":["../../../src/components/ContentHeading/ContentHeading.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AASxD,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,kBAAkB,CAAC;IAC7E;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;GAKG;AACH,eAAO,MAAM,cAAc,GAAI,4CAK5B,mBAAmB,KAAG,SAMxB,CAAA"}
@@ -1,36 +1,47 @@
1
- import { default as React } from 'react';
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
2
  interface DataGridContextType {
3
3
  cellVerticalAlignment?: CellVerticalAlignmentType;
4
4
  }
5
5
  export declare const useDataGridContext: () => DataGridContextType;
6
6
  /**
7
- * The `DataGrid` component is primarily used to display lists of items that contain substantial metadata.
8
- *
9
- * **For advanced features and interactions**, please refer to the [DataGridRow](?path=/docs/components-datagrid-datagridrow--docs) component, which includes:
10
- * - **Clickable row functionality & interactive styling:** Allows for custom behavior when a row is clicked. This also enables responsive styling, such as **hover effects**, for better user experience.
11
- * - **Selected row styling:** Provides styling to integrate active rows.
7
+ * The `DataGrid` component displays tabular data with customizable columns and layout.
8
+ * It supports interactive styling through child components like `DataGridRow` for advanced interactions.
9
+ * @see https://cloudoperators.github.io/juno/?path=/docs/components-datagrid-datagrid--docs
10
+ * @see {@link DataGridProps}
12
11
  */
13
- export declare const DataGrid: React.FC<DataGridProps>;
12
+ export declare const DataGrid: ({ columns, columnMaxSize, columnMinSize, minContentColumns, gridColumnTemplate, cellVerticalAlignment, className, children, ...props }: DataGridProps) => ReactNode;
14
13
  export type CellVerticalAlignmentType = "center" | "top";
15
- export interface DataGridProps extends React.HTMLAttributes<HTMLDivElement> {
16
- /** Set number of columns */
14
+ export interface DataGridProps extends HTMLAttributes<HTMLDivElement> {
15
+ /**
16
+ * Specifies the number of columns in the grid.
17
+ * @default 1
18
+ */
17
19
  columns?: number;
18
- /** Set column max sizing. Default: auto. For equally sized columns use "1fr" */
20
+ /**
21
+ * Defines maximum column sizing.
22
+ * @default "auto"
23
+ */
19
24
  columnMaxSize?: string;
20
- /** Set column minimum size. Default: 0px */
25
+ /**
26
+ * Specifies minimum column size.
27
+ * @default "0px"
28
+ */
21
29
  columnMinSize?: string;
22
- /** Specify which columns should be sized by minimum content size (i.e. as small as possible). Pass an array of column numbers (first column is 0) */
30
+ /** Array of indices for columns sized by minimum content. */
23
31
  minContentColumns?: number[];
24
- /** Set the grid column template in CSS grid 'grid-template-columns' notation. If this prop is passed, all other template props (columns, columnMaxSize,
25
- * columnMinSize, minContentColumns) are ignored. The easiest case where you might need this is e.g. if you want to set specific column widths for some
26
- * or all columns, e.g. "20% auto auto 10%" (The first column is set to 20%, the next two to auto size, the last to 10%). */
32
+ /** Custom CSS grid-template-columns. Overwrites other sizing props. */
27
33
  gridColumnTemplate?: string;
28
- /** Set the vertical alignment for all GridCells. Default: center. PLEASE NOTE: the center alignment is achieved by using a flexbox column layout,
29
- * which means that all child elements of the cell will be stacked vertically. To avoid this, wrap the elements in their own div */
34
+ /**
35
+ * Vertical alignment for all grid cells, using a flexbox column layout.
36
+ * @default "center"
37
+ */
30
38
  cellVerticalAlignment?: CellVerticalAlignmentType;
31
- /** Children to render in the DataGrid */
32
- children?: React.ReactNode;
33
- /** Add a class name */
39
+ /** Components or elements to render within the DataGrid container. */
40
+ children?: ReactNode;
41
+ /**
42
+ * Additional class names for styling.
43
+ * @default ""
44
+ */
34
45
  className?: string;
35
46
  }
36
47
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"DataGrid.component.d.ts","sourceRoot":"","sources":["../../../src/components/DataGrid/DataGrid.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAyCzB,UAAU,mBAAmB;IAC3B,qBAAqB,CAAC,EAAE,yBAAyB,CAAA;CAClD;AAID,eAAO,MAAM,kBAAkB,2BAA0C,CAAA;AAGzE;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA2B5C,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,KAAK,CAAA;AAExD,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,4BAA4B;IAC5B,OAAO,CAAC,EAAE,MAAM,CAA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AA;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -1,13 +1,25 @@
1
- import { default as React } from 'react';
1
+ import { default as React, HTMLAttributes, ReactNode } from 'react';
2
+ /**
3
+ * `DataGridCell` is a versatile layout component for `DataGrid`, supporting cell-specific configurations
4
+ * like column span and wrapping. It adapts orientation based on grid context.
5
+ * @see https://cloudoperators.github.io/juno/?path=/docs/components-datagrid-datagridcell--docs
6
+ * @see {@link DataGridCellProps}
7
+ */
2
8
  export declare const DataGridCell: React.ForwardRefExoticComponent<DataGridCellProps & React.RefAttributes<HTMLDivElement>>;
3
- export interface DataGridCellProps extends React.HTMLAttributes<HTMLDivElement> {
4
- /** Add a col span to the cell. This works like a colspan in a normal html table, so you have to take care not to place too many cells in a row if some of them have a colspan. */
9
+ export interface DataGridCellProps extends HTMLAttributes<HTMLDivElement> {
10
+ /** Defines the number of columns the cell spans. */
5
11
  colSpan?: number;
6
- /** Set nowrap to true if the cell content shouldn't wrap (this is achieved by adding white-space: nowrap;) */
12
+ /**
13
+ * If set, content within the cell will not wrap.
14
+ * @default false
15
+ */
7
16
  nowrap?: boolean;
8
- /** Children to render in the DataGridCell */
9
- children?: React.ReactNode;
10
- /** Add a classname */
17
+ /** Components or elements to render within the DataGridCell. */
18
+ children?: ReactNode;
19
+ /**
20
+ * Additional CSS class names for custom styling.
21
+ * @default ""
22
+ */
11
23
  className?: string;
12
24
  }
13
25
  //# sourceMappingURL=DataGridCell.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridCell.component.d.ts","sourceRoot":"","sources":["../../../src/components/DataGridCell/DataGridCell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAgCzC,eAAO,MAAM,YAAY,0FAiBxB,CAAA;AAID,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC7E,mLAAmL;IACnL,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,8GAA8G;IAC9G,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
1
+ {"version":3,"file":"DataGridCell.component.d.ts","sourceRoot":"","sources":["../../../src/components/DataGridCell/DataGridCell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAc,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAgCpE;;;;;GAKG;AACH,eAAO,MAAM,YAAY,0FAiBxB,CAAA;AAID,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACvE,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -1,13 +1,28 @@
1
- import { default as React } from 'react';
2
- export declare const DataGridCheckboxCell: React.FC<DataGridCheckboxCellProps>;
3
- export interface DataGridCheckboxCellProps extends React.HTMLAttributes<HTMLElement> {
4
- /** Whether the row this cell belongs to is selected */
1
+ import { ChangeEventHandler, HTMLAttributes, ReactNode } from 'react';
2
+ /**
3
+ * `DataGridCheckboxCell` integrates a checkbox within a `DataGrid` cell, ideal for selection-based interactions.
4
+ * It manages the selected state and supports custom behaviors upon state changes.
5
+ * @see https://cloudoperators.github.io/juno/?path=/docs/wip-datagrid-datagridcheckboxcell--docs
6
+ * @see {@link DataGridCheckboxCellProps}
7
+ */
8
+ export declare const DataGridCheckboxCell: ({ selected, disabled, className, onChange, ...props }: DataGridCheckboxCellProps) => ReactNode;
9
+ export interface DataGridCheckboxCellProps extends HTMLAttributes<HTMLElement> {
10
+ /**
11
+ * Indicates selected state of the associated row.
12
+ * @default false
13
+ */
5
14
  selected?: boolean;
6
- /** Whether the item is disabled */
15
+ /**
16
+ * Determines if the checkbox is disabled.
17
+ * @default false
18
+ */
7
19
  disabled?: boolean;
8
- /** Add a classname to the cell */
20
+ /**
21
+ * Additional class names for styling.
22
+ * @default ""
23
+ */
9
24
  className?: string;
10
- /** Handler to change the selected state of the row */
11
- onChange?: React.ChangeEventHandler<HTMLInputElement>;
25
+ /** Event handler for changes in the checkbox's state. */
26
+ onChange?: ChangeEventHandler<HTMLInputElement>;
12
27
  }
13
28
  //# sourceMappingURL=DataGridCheckboxCell.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridCheckboxCell.component.d.ts","sourceRoot":"","sources":["../../../src/components/DataGridCheckboxCell/DataGridCheckboxCell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAYpE,CAAA;AAED,MAAM,WAAW,yBAA0B,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAClF,uDAAuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAA;CACtD"}
1
+ {"version":3,"file":"DataGridCheckboxCell.component.d.ts","sourceRoot":"","sources":["../../../src/components/DataGridCheckboxCell/DataGridCheckboxCell.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,kBAAkB,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAI5E;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,GAAI,uDAMlC,yBAAyB,KAAG,SAM9B,CAAA;AAED,MAAM,WAAW,yBAA0B,SAAQ,cAAc,CAAC,WAAW,CAAC;IAC5E;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,kBAAkB,CAAC,gBAAgB,CAAC,CAAA;CAChD"}
@@ -1,9 +1,20 @@
1
- import { default as React } from 'react';
2
- export declare const DataGridFoot: React.FC<DataGridFootProps>;
3
- export interface DataGridFootProps extends React.HTMLAttributes<HTMLTableSectionElement> {
4
- /** Children to render in the DataGridFoot */
5
- children?: React.ReactNode;
6
- /** Add a classname */
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ /**
3
+ * `DataGridFoot` is used to display a footer section for a `DataGrid`, supporting summary data or controls
4
+ * related to the grid content. It is styled consistently with other grid sections.
5
+ * @see https://cloudoperators.github.io/juno/?path=/docs/wip-datagrid-datagridfoot--docs
6
+ * @see {@link DataGridFootProps}
7
+ */
8
+ export declare const DataGridFoot: ({ className, children, ...props }: DataGridFootProps) => ReactNode;
9
+ export interface DataGridFootProps extends HTMLAttributes<HTMLTableSectionElement> {
10
+ /**
11
+ * Elements or components to render within the DataGridFoot.
12
+ */
13
+ children?: ReactNode;
14
+ /**
15
+ * Custom CSS class names for styling.
16
+ * @default ""
17
+ */
7
18
  className?: string;
8
19
  }
9
20
  //# sourceMappingURL=DataGridFoot.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridFoot.component.d.ts","sourceRoot":"","sources":["../../../src/components/DataGridFoot/DataGridFoot.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAMpD,CAAA;AAED,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,uBAAuB,CAAC;IACtF,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
1
+ {"version":3,"file":"DataGridFoot.component.d.ts","sourceRoot":"","sources":["../../../src/components/DataGridFoot/DataGridFoot.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExD;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,mCAAwC,iBAAiB,KAAG,SAMxF,CAAA;AAED,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,uBAAuB,CAAC;IAChF;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -1,13 +1,19 @@
1
- import { default as React } from 'react';
1
+ import { default as React, HTMLAttributes, ReactNode } from 'react';
2
+ /**
3
+ * `DataGridHeadCell` is designed for use within a `DataGrid` header, defining column attributes and appearance.
4
+ * It accommodates configurations like sorting (future implementation) and display styles.
5
+ * @see https://cloudoperators.github.io/juno/?path=/docs/components-datagrid-datagridheadcell--docs
6
+ * @see {@link DataGridHeadCellProps}
7
+ */
2
8
  export declare const DataGridHeadCell: React.ForwardRefExoticComponent<DataGridHeadCellProps & React.RefAttributes<HTMLDivElement>>;
3
- export interface DataGridHeadCellProps extends React.HTMLAttributes<HTMLElement> {
9
+ export interface DataGridHeadCellProps extends HTMLAttributes<HTMLElement> {
4
10
  /** Whether the DataGrid should be sortable by this column */
5
11
  /** Add a col span to the cell. This works like a colspan in a normal html table, so you have to take care not to place too many cells in a row if some of them have a colspan. */
6
12
  colSpan?: number;
7
13
  /** Set nowrap to true if the cell content shouldn't wrap (this is achieved by adding white-space: nowrap;) */
8
14
  nowrap?: boolean;
9
15
  /** Children to render in the DataGridHeadCell */
10
- children?: React.ReactNode;
16
+ children?: ReactNode;
11
17
  /** Add a classname */
12
18
  className?: string;
13
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridHeadCell.component.d.ts","sourceRoot":"","sources":["../../../src/components/DataGridHeadCell/DataGridHeadCell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAUzC,eAAO,MAAM,gBAAgB,8FAgC5B,CAAA;AAID,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC9E,6DAA6D;IAE7D,mLAAmL;IACnL,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,8GAA8G;IAC9G,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
1
+ {"version":3,"file":"DataGridHeadCell.component.d.ts","sourceRoot":"","sources":["../../../src/components/DataGridHeadCell/DataGridHeadCell.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAc,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAUpE;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,8FAgC5B,CAAA;AAID,MAAM,WAAW,qBAAsB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACxE,6DAA6D;IAE7D,mLAAmL;IACnL,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,8GAA8G;IAC9G,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -1,6 +1,12 @@
1
- import { default as React } from 'react';
1
+ import { default as React, HTMLAttributes, MouseEvent, ReactNode } from 'react';
2
+ /**
3
+ * `DataGridRow` represents a row in a `DataGrid`, supporting interactions such as selection and click handling.
4
+ * It provides styles for active states and custom behavior when interacted with.
5
+ * @see https://cloudoperators.github.io/juno/?path=/docs/components-datagrid-datagridrow--docs
6
+ * @see {@link DataGridRowProps}
7
+ */
2
8
  export declare const DataGridRow: React.ForwardRefExoticComponent<DataGridRowProps & React.RefAttributes<HTMLDivElement>>;
3
- export interface DataGridRowProps extends React.HTMLAttributes<HTMLDivElement> {
9
+ export interface DataGridRowProps extends HTMLAttributes<HTMLDivElement> {
4
10
  /**
5
11
  * Indicates if the DataGridRow should be in an active state,
6
12
  * applying styles for persistent selection or activation.
@@ -9,7 +15,7 @@ export interface DataGridRowProps extends React.HTMLAttributes<HTMLDivElement> {
9
15
  /**
10
16
  * Row click handler
11
17
  */
12
- onClick?: (_event: React.MouseEvent<HTMLDivElement>) => void;
18
+ onClick?: (_event: MouseEvent<HTMLDivElement>) => void;
13
19
  /**
14
20
  * Additional custom CSS class names that can be applied to the DataGridRow.
15
21
  */
@@ -17,6 +23,6 @@ export interface DataGridRowProps extends React.HTMLAttributes<HTMLDivElement> {
17
23
  /**
18
24
  * Elements or components that will be rendered within the DataGridRow.
19
25
  */
20
- children?: React.ReactNode;
26
+ children?: ReactNode;
21
27
  }
22
28
  //# sourceMappingURL=DataGridRow.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridRow.component.d.ts","sourceRoot":"","sources":["../../../src/components/DataGridRow/DataGridRow.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,qBAAqB,CAAA;AAE5B,eAAO,MAAM,WAAW,yFAmBvB,CAAA;AAID,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5E;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAA;IAE5D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B"}
1
+ {"version":3,"file":"DataGridRow.component.d.ts","sourceRoot":"","sources":["../../../src/components/DataGridRow/DataGridRow.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAc,cAAc,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAChF,OAAO,qBAAqB,CAAA;AAE5B;;;;;GAKG;AACH,eAAO,MAAM,WAAW,yFAmBvB,CAAA;AAID,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtE;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAA;IAEtD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB"}
@@ -1,12 +1,24 @@
1
- import { default as React } from 'react';
2
- /** This is the toolbar for use with a DataGrid. This is the place where you would put buttons and other controls that affect the items in the DataGrid (e.g. triggering batch actions). Optionally a search input can be added. */
3
- export declare const DataGridToolbar: React.FC<DataGridToolbarProps>;
4
- export interface DataGridToolbarProps extends React.HTMLAttributes<HTMLDivElement> {
5
- /** Pass an optional SearchInput component */
6
- search?: React.ReactElement;
7
- /** Children to render in the DataGridToolbar */
8
- children?: React.ReactNode;
9
- /** Add a classname */
1
+ import { HTMLAttributes, ReactElement, ReactNode } from 'react';
2
+ /**
3
+ * `DataGridToolbar` provides an action bar for a `DataGrid`, designed to hold controls like buttons and search inputs
4
+ * for performing group operations and interfacing with the grid content.
5
+ * @see https://cloudoperators.github.io/juno/?path=/docs/components-datagrid-datagridtoolbar--docs
6
+ * @see {@link DataGridToolbarProps}
7
+ */
8
+ export declare const DataGridToolbar: ({ search, className, children, ...props }: DataGridToolbarProps) => ReactNode;
9
+ export interface DataGridToolbarProps extends HTMLAttributes<HTMLDivElement> {
10
+ /**
11
+ * An optional `SearchInput` component for inclusion in the toolbar.
12
+ */
13
+ search?: ReactElement;
14
+ /**
15
+ * Elements or components to render within the DataGridToolbar.
16
+ */
17
+ children?: ReactNode;
18
+ /**
19
+ * Custom CSS class names for styling the toolbar.
20
+ * @default ""
21
+ */
10
22
  className?: string;
11
23
  }
12
24
  //# sourceMappingURL=DataGridToolbar.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridToolbar.component.d.ts","sourceRoot":"","sources":["../../../src/components/DataGridToolbar/DataGridToolbar.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAezB,mOAAmO;AACnO,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAO1D,CAAA;AAED,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChF,6CAA6C;IAC7C,MAAM,CAAC,EAAE,KAAK,CAAC,YAAY,CAAA;IAC3B,gDAAgD;IAChD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
1
+ {"version":3,"file":"DataGridToolbar.component.d.ts","sourceRoot":"","sources":["../../../src/components/DataGridToolbar/DataGridToolbar.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAetE;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,2CAAgD,oBAAoB,KAAG,SAOtG,CAAA;AAED,MAAM,WAAW,oBAAqB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC1E;;OAEG;IACH,MAAM,CAAC,EAAE,YAAY,CAAA;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -1,11 +1,16 @@
1
- import { default as React, ReactNode } from 'react';
1
+ import { ReactNode, HTMLAttributes } from 'react';
2
2
  import { DateOption, DateLimit, LocaleKey, CustomLocale, DateChangeHandler } from './DateTimePicker.types';
3
- /** A all-purpose date and time picker component. Highly configurable, based on Flatpickr. */
4
- export declare const DateTimePicker: React.FC<DateTimePickerProps>;
5
- export interface DateTimePickerProps extends Omit<React.HTMLAttributes<HTMLInputElement>, "defaultValue" | "onFocus" | "onBlur" | "onChange"> {
6
- /** Whether the DateTimePicker input element allows direct user keyboard input. Default is `false`. */
3
+ /**
4
+ * An all-purpose date and time picker component. Highly configurable, based on Flatpickr.
5
+ * @see https://cloudoperators.github.io/juno/?path=/docs/wip-datetimepicker-datetimepicker--docs
6
+ * @see {@link DateTimePickerProps}
7
+ */
8
+ export declare const DateTimePicker: ({ allowInput, allowInvalidPreload, ariaDateFormat, className, conjunction, dateFormat, defaultHour, defaultMinute, defaultDate, defaultValue, disable, disabled, enableSeconds, enableTime, errortext, helptext, hourIncrement, id, invalid, label, locale, maxDate, minDate, minuteIncrement, mode, monthSelectorType, name, noCalendar, onBlur, onChange, onClear, onClose, onFocus, onMonthChange, onOpen, onReady, onYearChange, placeholder, required, shorthandCurrentMonth, showMonths, successtext, time_24hr, valid, value, weekNumbers, width, wrapperClassName, ...props }: DateTimePickerProps) => ReactNode;
9
+ export interface DateTimePickerProps extends Omit<HTMLAttributes<HTMLInputElement>, "defaultValue" | "onFocus" | "onBlur" | "onChange"> {
10
+ /** Whether the DateTimePicker input element allows direct user keyboard input. Default is `false`.
11
+ */
7
12
  allowInput?: boolean;
8
- /** Allows the preloading of an invalid date (e.g. a date that hass been disable by passing `disable`). When disabled, the field will be cleared if the provided date is invalid */
13
+ /** Allows preloading of an invalid date (e.g. a date that has been disabled by passing disable). When disabled, the field will be cleared if the provided date is invalid */
9
14
  allowInvalidPreload?: boolean;
10
15
  /** How the `aria-label` date for each day in the calendar will be formed. Uses the same rules/tokens as `dateFormat´ as described here: https://flatpickr.js.org/formatting/. When changing this, make sure the outcome makes sense when using a screenreader.*/
11
16
  ariaDateFormat?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DateTimePicker.component.d.ts","sourceRoot":"","sources":["../../../src/components/DateTimePicker/DateTimePicker.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAA+C,SAAS,EAAE,MAAM,OAAO,CAAA;AAKrF,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAI/G,OAAO,sBAAsB,CAAA;AA2E7B,6FAA6F;AAE7F,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA4exD,CAAA;AAKD,MAAM,WAAW,mBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,cAAc,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;IACxG,sGAAsG;IACtG,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,mLAAmL;IACnL,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,iQAAiQ;IACjQ,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,iGAAiG;IACjG,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,mJAAmJ;IACnJ,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,UAAU,EAAE,CAAA;IACnD,uOAAuO;IACvO,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2OAA2O;IAC3O,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,YAAY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,CAAC,EAAE,iBAAiB,CAAA;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAC3B;;OAEG;IACH,aAAa,CAAC,EAAE,iBAAiB,CAAA;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAA;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAC3B;;OAEG;IACH,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,0DAA0D;IAC1D,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,6FAA6F;IAC7F,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qHAAqH;IACrH,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,sDAAsD;IACtD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,0EAA0E;IAC1E,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,2IAA2I;IAC3I,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,iEAAiE;IACjE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,UAAU,EAAE,CAAA;IAC7C,0DAA0D;IAC1D,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,6KAA6K;IAC7K,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B"}
1
+ {"version":3,"file":"DateTimePicker.component.d.ts","sourceRoot":"","sources":["../../../src/components/DateTimePicker/DateTimePicker.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAA+C,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAKrG,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAI/G,OAAO,sBAAsB,CAAA;AA2E7B;;;;GAIG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1E,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,2IAA2I;IAC3I,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,iEAAiE;IACjE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,UAAU,EAAE,CAAA;IAC7C,0DAA0D;IAC1D,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,6KAA6K;IAC7K,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B"}
@@ -1,11 +1,13 @@
1
- import { default as React, ReactNode, FormHTMLAttributes } from 'react';
1
+ import { ReactNode, FormHTMLAttributes } from 'react';
2
2
  export interface FormProps extends FormHTMLAttributes<HTMLFormElement> {
3
3
  /**
4
4
  * Title for the form.
5
+ * @default ""
5
6
  */
6
7
  title?: string;
7
8
  /**
8
9
  * Additional CSS classes to apply to the form for custom styling.
10
+ * @default ""
9
11
  */
10
12
  className?: string;
11
13
  /**
@@ -15,8 +17,11 @@ export interface FormProps extends FormHTMLAttributes<HTMLFormElement> {
15
17
  children?: ReactNode;
16
18
  }
17
19
  /**
18
- * A Form component used to encapsulate FormSections and/or FormGroups.
19
- * Can be used to build complex forms with structured sections.
20
+ * The `Form` component is designed to encapsulate form sections and groups,
21
+ * providing a structured way to build complex forms. It can include a title and
22
+ * supports additional styling through custom CSS classes.
23
+ * @see https://cloudoperators.github.io/juno/?path=/docs/forms-form--docs
24
+ * @see {@link FormProps}
20
25
  */
21
- export declare const Form: React.FC<FormProps>;
26
+ export declare const Form: ({ title, className, children, ...props }: FormProps) => ReactNode;
22
27
  //# sourceMappingURL=Form.component.d.ts.map
@@ -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"}