@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.
- package/README.md +1 -1
- package/build/components/AppBody/AppBody.component.d.ts +18 -8
- package/build/components/AppBody/AppBody.component.d.ts.map +1 -1
- package/build/components/AppBody/AppBody.stories.d.ts.map +1 -1
- package/build/components/AppShell/AppShell.component.d.ts +39 -15
- package/build/components/AppShell/AppShell.component.d.ts.map +1 -1
- package/build/components/AppShellProvider/AppShellProvider.component.d.ts +30 -9
- package/build/components/AppShellProvider/AppShellProvider.component.d.ts.map +1 -1
- package/build/components/Badge/Badge.component.d.ts +20 -17
- package/build/components/Badge/Badge.component.d.ts.map +1 -1
- package/build/components/Box/Box.component.d.ts +16 -10
- package/build/components/Box/Box.component.d.ts.map +1 -1
- package/build/components/Breadcrumb/Breadcrumb.component.d.ts +14 -12
- package/build/components/Breadcrumb/Breadcrumb.component.d.ts.map +1 -1
- package/build/components/Breadcrumb/Breadcrumb.stories.d.ts +1 -1
- package/build/components/BreadcrumbItem/BreadcrumbItem.component.d.ts +25 -15
- package/build/components/BreadcrumbItem/BreadcrumbItem.component.d.ts.map +1 -1
- package/build/components/BreadcrumbItem/BreadcrumbItem.stories.d.ts +1 -1
- package/build/components/Button/Button.component.d.ts +48 -16
- package/build/components/Button/Button.component.d.ts.map +1 -1
- package/build/components/ButtonRow/ButtonRow.component.d.ts +21 -7
- package/build/components/ButtonRow/ButtonRow.component.d.ts.map +1 -1
- package/build/components/Card/Card.component.d.ts +13 -7
- package/build/components/Card/Card.component.d.ts.map +1 -1
- package/build/components/Checkbox/Checkbox.component.d.ts +69 -21
- package/build/components/Checkbox/Checkbox.component.d.ts.map +1 -1
- package/build/components/CheckboxGroup/CheckboxGroup.component.d.ts +43 -16
- package/build/components/CheckboxGroup/CheckboxGroup.component.d.ts.map +1 -1
- package/build/components/Code/Code.component.d.ts +17 -6
- package/build/components/Code/Code.component.d.ts.map +1 -1
- package/build/components/CodeBlock/CodeBlock.component.d.ts +39 -13
- package/build/components/CodeBlock/CodeBlock.component.d.ts.map +1 -1
- package/build/components/ComboBox/ComboBox.component.d.ts +70 -33
- package/build/components/ComboBox/ComboBox.component.d.ts.map +1 -1
- package/build/components/ComboBoxOption/ComboBoxOption.component.d.ts +22 -8
- package/build/components/ComboBoxOption/ComboBoxOption.component.d.ts.map +1 -1
- package/build/components/Container/Container.component.d.ts +20 -8
- package/build/components/Container/Container.component.d.ts.map +1 -1
- package/build/components/ContentAreaToolbar/ContentAreaToolbar.component.d.ts +11 -8
- package/build/components/ContentAreaToolbar/ContentAreaToolbar.component.d.ts.map +1 -1
- package/build/components/ContentContainer/ContentContainer.component.d.ts +10 -11
- package/build/components/ContentContainer/ContentContainer.component.d.ts.map +1 -1
- package/build/components/ContentHeading/ContentHeading.component.d.ts +13 -11
- package/build/components/ContentHeading/ContentHeading.component.d.ts.map +1 -1
- package/build/components/DataGrid/DataGrid.component.d.ts +31 -20
- package/build/components/DataGrid/DataGrid.component.d.ts.map +1 -1
- package/build/components/DataGridCell/DataGridCell.component.d.ts +19 -7
- package/build/components/DataGridCell/DataGridCell.component.d.ts.map +1 -1
- package/build/components/DataGridCheckboxCell/DataGridCheckboxCell.component.d.ts +23 -8
- package/build/components/DataGridCheckboxCell/DataGridCheckboxCell.component.d.ts.map +1 -1
- package/build/components/DataGridFoot/DataGridFoot.component.d.ts +17 -6
- package/build/components/DataGridFoot/DataGridFoot.component.d.ts.map +1 -1
- package/build/components/DataGridHeadCell/DataGridHeadCell.component.d.ts +9 -3
- package/build/components/DataGridHeadCell/DataGridHeadCell.component.d.ts.map +1 -1
- package/build/components/DataGridRow/DataGridRow.component.d.ts +10 -4
- package/build/components/DataGridRow/DataGridRow.component.d.ts.map +1 -1
- package/build/components/DataGridToolbar/DataGridToolbar.component.d.ts +21 -9
- package/build/components/DataGridToolbar/DataGridToolbar.component.d.ts.map +1 -1
- package/build/components/DateTimePicker/DateTimePicker.component.d.ts +13 -12
- package/build/components/DateTimePicker/DateTimePicker.component.d.ts.map +1 -1
- package/build/components/DateTimePicker/DateTimePicker.mappers.d.ts +24 -0
- package/build/components/DateTimePicker/DateTimePicker.mappers.d.ts.map +1 -0
- package/build/components/DateTimePicker/DateTimePicker.types.d.ts +79 -0
- package/build/components/DateTimePicker/DateTimePicker.types.d.ts.map +1 -0
- package/build/components/Form/Form.component.d.ts +9 -4
- package/build/components/Form/Form.component.d.ts.map +1 -1
- package/build/components/FormHint/FormHint.component.d.ts +13 -4
- package/build/components/FormHint/FormHint.component.d.ts.map +1 -1
- package/build/components/FormRow/FormRow.component.d.ts +10 -6
- package/build/components/FormRow/FormRow.component.d.ts.map +1 -1
- package/build/components/FormSection/FormSection.component.d.ts +9 -4
- package/build/components/FormSection/FormSection.component.d.ts.map +1 -1
- package/build/components/FormattedText/FormattedText.component.d.ts +13 -6
- package/build/components/FormattedText/FormattedText.component.d.ts.map +1 -1
- package/build/components/Grid/Grid.component.d.ts +11 -6
- package/build/components/Grid/Grid.component.d.ts.map +1 -1
- package/build/components/GridColumn/GridColumn.component.d.ts +11 -5
- package/build/components/GridColumn/GridColumn.component.d.ts.map +1 -1
- package/build/components/GridRow/GridRow.component.d.ts +9 -6
- package/build/components/GridRow/GridRow.component.d.ts.map +1 -1
- package/build/components/HeaderContainer/HeaderContainer.component.d.ts +21 -6
- package/build/components/HeaderContainer/HeaderContainer.component.d.ts.map +1 -1
- package/build/components/Icon/Icon.component.d.ts +22 -3
- package/build/components/Icon/Icon.component.d.ts.map +1 -1
- package/build/components/InputGroup/InputGroup.component.d.ts +8 -4
- package/build/components/InputGroup/InputGroup.component.d.ts.map +1 -1
- package/build/components/IntroBox/IntroBox.component.d.ts +32 -13
- package/build/components/IntroBox/IntroBox.component.d.ts.map +1 -1
- package/build/components/JsonViewer/JsonViewer.component.d.ts +38 -11
- package/build/components/JsonViewer/JsonViewer.component.d.ts.map +1 -1
- package/build/components/Label/Label.component.d.ts +32 -10
- package/build/components/Label/Label.component.d.ts.map +1 -1
- package/build/components/LoadingIndicator/LoadingIndicator.component.d.ts +12 -8
- package/build/components/LoadingIndicator/LoadingIndicator.component.d.ts.map +1 -1
- package/build/components/MainContainer/MainContainer.component.d.ts +15 -7
- package/build/components/MainContainer/MainContainer.component.d.ts.map +1 -1
- package/build/components/MainContainerInner/MainContainerInner.component.d.ts +19 -8
- package/build/components/MainContainerInner/MainContainerInner.component.d.ts.map +1 -1
- package/build/components/MainTabs/MainTabs.component.d.ts +25 -11
- package/build/components/MainTabs/MainTabs.component.d.ts.map +1 -1
- package/build/components/Message/Message.component.d.ts +15 -8
- package/build/components/Message/Message.component.d.ts.map +1 -1
- package/build/components/Modal/Modal.component.d.ts +91 -42
- package/build/components/Modal/Modal.component.d.ts.map +1 -1
- package/build/components/ModalFooter/ModalFooter.component.d.ts +47 -21
- package/build/components/ModalFooter/ModalFooter.component.d.ts.map +1 -1
- package/build/components/NativeSelect/NativeSelect.component.d.ts +16 -6
- package/build/components/NativeSelect/NativeSelect.component.d.ts.map +1 -1
- package/build/components/NativeSelectOption/NativeSelectOption.component.d.ts +9 -5
- package/build/components/NativeSelectOption/NativeSelectOption.component.d.ts.map +1 -1
- package/build/components/NativeSelectOptionGroup/NativeSelectOptionGroup.component.d.ts +10 -6
- package/build/components/NativeSelectOptionGroup/NativeSelectOptionGroup.component.d.ts.map +1 -1
- package/build/components/Navigation/Navigation.component.d.ts +30 -10
- package/build/components/Navigation/Navigation.component.d.ts.map +1 -1
- package/build/components/NavigationItem/NavigationItem.component.d.ts +56 -17
- package/build/components/NavigationItem/NavigationItem.component.d.ts.map +1 -1
- package/build/components/PageFooter/PageFooter.component.d.ts +17 -11
- package/build/components/PageFooter/PageFooter.component.d.ts.map +1 -1
- package/build/components/PageFooter/PageFooter.stories.d.ts +1 -1
- package/build/components/PageHeader/PageHeader.component.d.ts +17 -12
- package/build/components/PageHeader/PageHeader.component.d.ts.map +1 -1
- package/build/components/Pagination/Pagination.component.d.ts +5 -3
- package/build/components/Pagination/Pagination.component.d.ts.map +1 -1
- package/build/components/Panel/Panel.component.d.ts +4 -2
- package/build/components/Panel/Panel.component.d.ts.map +1 -1
- package/build/components/PanelBody/PanelBody.component.d.ts +4 -2
- package/build/components/PanelBody/PanelBody.component.d.ts.map +1 -1
- package/build/components/PanelFooter/PanelFooter.component.d.ts +4 -2
- package/build/components/PanelFooter/PanelFooter.component.d.ts.map +1 -1
- package/build/components/Pill/Pill.component.d.ts +7 -5
- package/build/components/Pill/Pill.component.d.ts.map +1 -1
- package/build/components/PopupMenu/PopupMenu.component.d.ts +30 -22
- package/build/components/PopupMenu/PopupMenu.component.d.ts.map +1 -1
- package/build/components/PortalProvider/PortalProvider.Portal.component.d.ts +6 -3
- package/build/components/PortalProvider/PortalProvider.Portal.component.d.ts.map +1 -1
- package/build/components/PortalProvider/PortalProvider.component.d.ts +8 -3
- package/build/components/PortalProvider/PortalProvider.component.d.ts.map +1 -1
- package/build/components/Radio/Radio.component.d.ts +8 -4
- package/build/components/Radio/Radio.component.d.ts.map +1 -1
- package/build/components/RadioGroup/RadioGroup.component.d.ts +7 -5
- package/build/components/RadioGroup/RadioGroup.component.d.ts.map +1 -1
- package/build/components/SearchInput/SearchInput.component.d.ts +9 -7
- package/build/components/SearchInput/SearchInput.component.d.ts.map +1 -1
- package/build/components/SecretText/SecretText.component.d.ts +11 -7
- package/build/components/SecretText/SecretText.component.d.ts.map +1 -1
- package/build/components/Select/Select.component.d.ts +8 -6
- package/build/components/Select/Select.component.d.ts.map +1 -1
- package/build/components/SelectDivider/SelectDivider.component.d.ts +7 -3
- package/build/components/SelectDivider/SelectDivider.component.d.ts.map +1 -1
- package/build/components/SelectOption/SelectOption.component.d.ts +15 -3
- package/build/components/SelectOption/SelectOption.component.d.ts.map +1 -1
- package/build/components/ShadowRoot/ShadowRoot.component.d.ts +5 -3
- package/build/components/ShadowRoot/ShadowRoot.component.d.ts.map +1 -1
- package/build/components/SideNavigation/SideNavigation.component.d.ts +8 -6
- package/build/components/SideNavigation/SideNavigation.component.d.ts.map +1 -1
- package/build/components/SideNavigationGroup/SideNavigationGroup.component.d.ts +5 -2
- package/build/components/SideNavigationGroup/SideNavigationGroup.component.d.ts.map +1 -1
- package/build/components/SideNavigationItem/SideNavigationItem.component.d.ts +7 -4
- package/build/components/SideNavigationItem/SideNavigationItem.component.d.ts.map +1 -1
- package/build/components/SideNavigationList/SideNavigationList.component.d.ts +10 -2
- package/build/components/SideNavigationList/SideNavigationList.component.d.ts.map +1 -1
- package/build/components/SideNavigationList/SideNavigationList.stories.d.ts.map +1 -1
- package/build/components/SignInForm/SignInForm.component.d.ts +39 -0
- package/build/components/SignInForm/SignInForm.component.d.ts.map +1 -0
- package/build/components/SignInForm/SignInForm.stories.d.ts +8 -0
- package/build/components/SignInForm/SignInForm.stories.d.ts.map +1 -0
- package/build/components/SignInForm/SignInForm.test.d.ts +2 -0
- package/build/components/SignInForm/SignInForm.test.d.ts.map +1 -0
- package/build/components/SignInForm/index.d.ts +3 -0
- package/build/components/SignInForm/index.d.ts.map +1 -0
- package/build/components/SortButton/SortButton.component.d.ts +14 -3
- package/build/components/SortButton/SortButton.component.d.ts.map +1 -1
- package/build/components/SortButton/SortButton.stories.d.ts.map +1 -1
- package/build/components/Spinner/Spinner.component.d.ts +8 -5
- package/build/components/Spinner/Spinner.component.d.ts.map +1 -1
- package/build/components/Stack/Stack.component.d.ts +6 -4
- package/build/components/Stack/Stack.component.d.ts.map +1 -1
- package/build/components/StyleProvider/StyleProvider.component.d.ts +3 -0
- package/build/components/StyleProvider/StyleProvider.component.d.ts.map +1 -1
- package/build/components/Switch/Switch.component.d.ts +8 -5
- package/build/components/Switch/Switch.component.d.ts.map +1 -1
- package/build/components/Tab/Tab.component.d.ts +9 -11
- package/build/components/Tab/Tab.component.d.ts.map +1 -1
- package/build/components/TabList/TabList.component.d.ts +9 -6
- package/build/components/TabList/TabList.component.d.ts.map +1 -1
- package/build/components/TabNavigation/TabNavigation.component.d.ts +8 -4
- package/build/components/TabNavigation/TabNavigation.component.d.ts.map +1 -1
- package/build/components/TabNavigationItem/TabNavigationItem.component.d.ts +11 -7
- package/build/components/TabNavigationItem/TabNavigationItem.component.d.ts.map +1 -1
- package/build/components/TabPanel/TabPanel.component.d.ts +7 -10
- package/build/components/TabPanel/TabPanel.component.d.ts.map +1 -1
- package/build/components/Tabs/Tabs.component.d.ts +9 -7
- package/build/components/Tabs/Tabs.component.d.ts.map +1 -1
- package/build/components/TextInput/TextInput.component.d.ts +11 -9
- package/build/components/TextInput/TextInput.component.d.ts.map +1 -1
- package/build/components/Textarea/Textarea.component.d.ts +11 -9
- package/build/components/Textarea/Textarea.component.d.ts.map +1 -1
- package/build/components/ThemeToggle/ThemeToggle.component.d.ts +4 -2
- package/build/components/ThemeToggle/ThemeToggle.component.d.ts.map +1 -1
- package/build/components/Toast/Toast.component.d.ts +8 -6
- package/build/components/Toast/Toast.component.d.ts.map +1 -1
- package/build/components/ToggleButton/ToggleButton.component.d.ts +21 -0
- package/build/components/ToggleButton/ToggleButton.component.d.ts.map +1 -1
- package/build/components/ToggleButton/ToggleButton.stories.d.ts.map +1 -1
- package/build/components/Tooltip/Tooltip.component.d.ts +8 -5
- package/build/components/Tooltip/Tooltip.component.d.ts.map +1 -1
- package/build/components/TooltipContent/TooltipContent.component.d.ts +5 -3
- package/build/components/TooltipContent/TooltipContent.component.d.ts.map +1 -1
- package/build/components/TooltipTrigger/TooltipTrigger.component.d.ts +5 -3
- package/build/components/TooltipTrigger/TooltipTrigger.component.d.ts.map +1 -1
- package/build/components/TopNavigation/TopNavigation.component.d.ts +8 -6
- package/build/components/TopNavigation/TopNavigation.component.d.ts.map +1 -1
- package/build/components/TopNavigationItem/TopNavigationItem.component.d.ts +10 -8
- package/build/components/TopNavigationItem/TopNavigationItem.component.d.ts.map +1 -1
- package/build/components/withDeprecationWarning/withDeprecationWarning.component.d.ts.map +1 -1
- package/build/index.d.ts +3 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +3618 -3568
- package/build/juno-ui-components.css +1 -1
- 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,
|
|
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 {
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
type FormHintVariant = "help" | "error" | "success";
|
|
3
|
-
export interface FormHintProps extends
|
|
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
|
-
*
|
|
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:
|
|
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,
|
|
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 {
|
|
2
|
-
export interface FormRowProps extends
|
|
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?:
|
|
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
|
-
*
|
|
15
|
-
* It serves as a container for
|
|
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:
|
|
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,
|
|
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 {
|
|
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?:
|
|
17
|
+
children?: ReactNode;
|
|
16
18
|
}
|
|
17
19
|
/**
|
|
18
|
-
* FormSection component
|
|
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:
|
|
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,
|
|
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 {
|
|
2
|
-
export interface FormattedTextProps extends
|
|
3
|
-
/**
|
|
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
|
-
|
|
8
|
+
/** Rendering content within the formatted text container. */
|
|
9
|
+
children?: ReactNode;
|
|
6
10
|
}
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
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:
|
|
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,
|
|
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 {
|
|
2
|
-
export interface GridProps extends
|
|
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?:
|
|
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
|
-
*
|
|
19
|
-
*
|
|
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:
|
|
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,
|
|
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 {
|
|
2
|
-
export interface GridColumnProps extends
|
|
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?:
|
|
25
|
+
children?: ReactNode;
|
|
24
26
|
}
|
|
25
27
|
/**
|
|
26
|
-
*
|
|
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:
|
|
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,
|
|
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 {
|
|
2
|
-
export interface GridRowProps extends
|
|
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?:
|
|
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
|
-
*
|
|
15
|
-
*
|
|
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:
|
|
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,
|
|
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 {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Custom CSS class name to apply to the header container.
|
|
17
|
+
* @default ""
|
|
18
|
+
*/
|
|
7
19
|
className?: string;
|
|
8
|
-
|
|
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,
|
|
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<
|
|
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
|
-
|
|
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,
|
|
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 {
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
type VariantTypes = "default" | "primary" | "primary-danger" | "subdued";
|
|
3
|
-
export interface InputGroupProps extends
|
|
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?:
|
|
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:
|
|
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,
|
|
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 {
|
|
2
|
-
export interface IntroBoxProps extends Omit<
|
|
3
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Pass a variant style to affect the layout of the intro box.
|
|
15
|
+
* @default "default"
|
|
16
|
+
*/
|
|
8
17
|
variant?: "default" | "hero";
|
|
9
|
-
/**
|
|
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
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Pass a custom class or classes for styling the intro box.
|
|
24
|
+
* @default ""
|
|
25
|
+
*/
|
|
12
26
|
className?: string;
|
|
13
|
-
/**
|
|
14
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Pass child nodes to be rendered as content, taking precedence over `text`.
|
|
29
|
+
*/
|
|
30
|
+
children?: ReactNode;
|
|
15
31
|
}
|
|
16
32
|
/**
|
|
17
|
-
*
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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,
|
|
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 {
|
|
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
|
-
/**
|
|
6
|
-
|
|
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<
|
|
9
|
-
/**
|
|
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
|
-
/**
|
|
19
|
+
/** Pass a styles object for inline customizations. */
|
|
12
20
|
style?: object;
|
|
13
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Toggles toolbar display, including expansion and search functionalities.
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
14
25
|
toolbar?: boolean;
|
|
15
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Displays the root node key for hierarchical clarity.
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
16
30
|
showRoot?: boolean;
|
|
17
|
-
/** dark
|
|
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
|
-
/**
|
|
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,
|
|
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
|
-
*
|
|
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
|
|
7
|
-
/**
|
|
9
|
+
export interface LabelProps extends HTMLAttributes<HTMLLabelElement> {
|
|
10
|
+
/**
|
|
11
|
+
* Text content for the label, required for display.
|
|
12
|
+
*/
|
|
8
13
|
text?: string;
|
|
9
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* ID of an input element to associate the label with for accessibility.
|
|
16
|
+
*/
|
|
10
17
|
htmlFor?: string;
|
|
11
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Displays the required indicator when set.
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
12
22
|
required?: boolean;
|
|
13
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Custom CSS class names for label styling.
|
|
25
|
+
* @default ""
|
|
26
|
+
*/
|
|
14
27
|
className?: string;
|
|
15
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* Enables disabled styling to indicate non-interactive fields.
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
16
32
|
disabled?: boolean;
|
|
17
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* Applies floating label styles for improved UX.
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
18
37
|
floating?: boolean;
|
|
19
|
-
/**
|
|
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
|