@cloudoperators/juno-ui-components 6.1.0 → 6.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +11 -6
- package/build/components/DateTimePicker/DateTimePicker.component.d.ts.map +1 -1
- 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 +21 -17
- 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 +2 -2
- package/build/components/SignInForm/SignInForm.component.d.ts.map +1 -1
- 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 -8
- package/build/components/Tab/Tab.component.d.ts.map +1 -1
- package/build/components/TabList/TabList.component.d.ts +9 -5
- 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 -5
- 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.js +1802 -1795
- package/package.json +1 -1
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface ContentContainerProps extends
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface ContentContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
/**
|
|
4
|
-
* Additional CSS
|
|
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
|
|
14
|
-
* It
|
|
15
|
-
*
|
|
16
|
-
*
|
|
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:
|
|
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,
|
|
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 {
|
|
2
|
-
export interface ContentHeadingProps extends
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface ContentHeadingProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
3
3
|
/**
|
|
4
|
-
* Custom content to render within the
|
|
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
|
|
10
|
-
*
|
|
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
|
-
*
|
|
14
|
+
* Custom CSS classes for styling the heading.
|
|
15
|
+
* @default ""
|
|
15
16
|
*/
|
|
16
17
|
className?: string;
|
|
17
18
|
}
|
|
18
19
|
/**
|
|
19
|
-
* ContentHeading represents the
|
|
20
|
-
*
|
|
21
|
-
*
|
|
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:
|
|
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,
|
|
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 {
|
|
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
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
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:
|
|
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
|
|
16
|
-
/**
|
|
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
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Defines maximum column sizing.
|
|
22
|
+
* @default "auto"
|
|
23
|
+
*/
|
|
19
24
|
columnMaxSize?: string;
|
|
20
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* Specifies minimum column size.
|
|
27
|
+
* @default "0px"
|
|
28
|
+
*/
|
|
21
29
|
columnMinSize?: string;
|
|
22
|
-
/**
|
|
30
|
+
/** Array of indices for columns sized by minimum content. */
|
|
23
31
|
minContentColumns?: number[];
|
|
24
|
-
/**
|
|
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
|
-
/**
|
|
29
|
-
*
|
|
34
|
+
/**
|
|
35
|
+
* Vertical alignment for all grid cells, using a flexbox column layout.
|
|
36
|
+
* @default "center"
|
|
37
|
+
*/
|
|
30
38
|
cellVerticalAlignment?: CellVerticalAlignmentType;
|
|
31
|
-
/**
|
|
32
|
-
children?:
|
|
33
|
-
/**
|
|
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,
|
|
1
|
+
{"version":3,"file":"DataGrid.component.d.ts","sourceRoot":"","sources":["../../../src/components/DataGrid/DataGrid.component.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAiB,cAAc,EAAE,SAAS,EAAc,MAAM,OAAO,CAAA;AAyCnF,UAAU,mBAAmB;IAC3B,qBAAqB,CAAC,EAAE,yBAAyB,CAAA;CAClD;AAID,eAAO,MAAM,kBAAkB,2BAAoC,CAAA;AAGnE;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,GAAI,wIAUtB,aAAa,KAAG,SAiBlB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,KAAK,CAAA;AAExD,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC;IACnE;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;IAE5B,uEAAuE;IACvE,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAE3B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,yBAAyB,CAAA;IAEjD,sEAAsE;IACtE,QAAQ,CAAC,EAAE,SAAS,CAAA;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
|
|
4
|
-
/**
|
|
9
|
+
export interface DataGridCellProps extends HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
/** Defines the number of columns the cell spans. */
|
|
5
11
|
colSpan?: number;
|
|
6
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* If set, content within the cell will not wrap.
|
|
14
|
+
* @default false
|
|
15
|
+
*/
|
|
7
16
|
nowrap?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
children?:
|
|
10
|
-
/**
|
|
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,
|
|
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 {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Determines if the checkbox is disabled.
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
7
19
|
disabled?: boolean;
|
|
8
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Additional class names for styling.
|
|
22
|
+
* @default ""
|
|
23
|
+
*/
|
|
9
24
|
className?: string;
|
|
10
|
-
/**
|
|
11
|
-
onChange?:
|
|
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,
|
|
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 {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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,
|
|
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
|
|
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?:
|
|
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,
|
|
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
|
|
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:
|
|
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?:
|
|
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,
|
|
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 {
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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,
|
|
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 {
|
|
1
|
+
import { ReactNode, HTMLAttributes } from 'react';
|
|
2
2
|
import { DateOption, DateLimit, LocaleKey, CustomLocale, DateChangeHandler } from './DateTimePicker.types';
|
|
3
|
-
/**
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
|
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,
|
|
1
|
+
{"version":3,"file":"DateTimePicker.component.d.ts","sourceRoot":"","sources":["../../../src/components/DateTimePicker/DateTimePicker.component.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
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
|
-
*
|
|
19
|
-
*
|
|
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:
|
|
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,
|
|
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"}
|