@cloudoperators/juno-ui-components 2.36.0 → 2.38.0
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/index.js +1607 -1595
- package/build/src/components/AppShell/AppShell.component.d.ts +6 -6
- package/build/src/components/AppShell/AppShell.component.d.ts.map +1 -1
- package/build/src/components/BreadcrumbItem/BreadcrumbItem.component.d.ts +1 -1
- package/build/src/components/BreadcrumbItem/BreadcrumbItem.component.d.ts.map +1 -1
- package/build/src/components/Button/Button.component.d.ts +1 -1
- package/build/src/components/Button/Button.component.d.ts.map +1 -1
- package/build/src/components/Button/Button.stories.d.ts +8 -0
- package/build/src/components/Button/Button.stories.d.ts.map +1 -1
- package/build/src/components/ButtonRow/ButtonRow.stories.d.ts +0 -1
- package/build/src/components/ButtonRow/ButtonRow.stories.d.ts.map +1 -1
- package/build/src/components/Checkbox/Checkbox.component.d.ts +5 -5
- package/build/src/components/Checkbox/Checkbox.component.d.ts.map +1 -1
- package/build/src/components/CheckboxGroup/CheckboxGroup.component.d.ts +7 -8
- package/build/src/components/CheckboxGroup/CheckboxGroup.component.d.ts.map +1 -1
- package/build/src/components/CheckboxGroup/CheckboxGroup.stories.d.ts +7 -0
- package/build/src/components/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
- package/build/src/components/CodeBlock/CodeBlock.component.d.ts +4 -4
- package/build/src/components/CodeBlock/CodeBlock.component.d.ts.map +1 -1
- package/build/src/components/CodeBlock/CodeBlock.stories.d.ts +5 -0
- package/build/src/components/CodeBlock/CodeBlock.stories.d.ts.map +1 -1
- package/build/src/components/ComboBox/ComboBox.component.d.ts +7 -8
- package/build/src/components/ComboBox/ComboBox.component.d.ts.map +1 -1
- package/build/src/components/Container/Container.stories.d.ts +5 -0
- package/build/src/components/Container/Container.stories.d.ts.map +1 -1
- package/build/src/components/ContentContainer/ContentContainer.component.d.ts +3 -3
- package/build/src/components/ContentContainer/ContentContainer.component.d.ts.map +1 -1
- package/build/src/components/ContentHeading/ContentHeading.component.d.ts +3 -3
- package/build/src/components/ContentHeading/ContentHeading.component.d.ts.map +1 -1
- package/build/src/components/DataGrid/DataGrid.component.d.ts +1 -1
- package/build/src/components/DataGrid/DataGrid.component.d.ts.map +1 -1
- package/build/src/components/DataGrid/DataGrid.stories.d.ts +5 -0
- package/build/src/components/DataGrid/DataGrid.stories.d.ts.map +1 -1
- package/build/src/components/DataGridCell/DataGridCell.component.d.ts +1 -1
- package/build/src/components/DataGridCell/DataGridCell.component.d.ts.map +1 -1
- package/build/src/components/DataGridCell/DataGridCell.stories.d.ts +5 -0
- package/build/src/components/DataGridCell/DataGridCell.stories.d.ts.map +1 -1
- package/build/src/components/DataGridCheckboxCell/DataGridCheckboxCell.stories.d.ts +0 -5
- package/build/src/components/DataGridCheckboxCell/DataGridCheckboxCell.stories.d.ts.map +1 -1
- package/build/src/components/DataGridFoot/DataGridFoot.component.d.ts +1 -1
- package/build/src/components/DataGridFoot/DataGridFoot.component.d.ts.map +1 -1
- package/build/src/components/DataGridFoot/DataGridFoot.stories.d.ts +5 -0
- package/build/src/components/DataGridFoot/DataGridFoot.stories.d.ts.map +1 -1
- package/build/src/components/DataGridHeadCell/DataGridHeadCell.component.d.ts +1 -1
- package/build/src/components/DataGridHeadCell/DataGridHeadCell.component.d.ts.map +1 -1
- package/build/src/components/DataGridHeadCell/DataGridHeadCell.stories.d.ts +5 -0
- package/build/src/components/DataGridHeadCell/DataGridHeadCell.stories.d.ts.map +1 -1
- package/build/src/components/DataGridRow/DataGridRow.component.d.ts +1 -1
- package/build/src/components/DataGridRow/DataGridRow.component.d.ts.map +1 -1
- package/build/src/components/DataGridRow/DataGridRow.stories.d.ts +5 -0
- package/build/src/components/DataGridRow/DataGridRow.stories.d.ts.map +1 -1
- package/build/src/components/DataGridToolbar/DataGridToolbar.component.d.ts +2 -2
- package/build/src/components/DataGridToolbar/DataGridToolbar.component.d.ts.map +1 -1
- package/build/src/components/DataGridToolbar/DataGridToolbar.stories.d.ts +10 -4
- package/build/src/components/DataGridToolbar/DataGridToolbar.stories.d.ts.map +1 -1
- package/build/src/components/DateTimePicker/DateTimePicker.component.d.ts +21 -40
- package/build/src/components/DateTimePicker/DateTimePicker.component.d.ts.map +1 -1
- package/build/src/components/FormHint/FormHint.component.d.ts +1 -1
- package/build/src/components/FormHint/FormHint.component.d.ts.map +1 -1
- package/build/src/components/FormattedText/FormattedText.stories.d.ts +5 -0
- package/build/src/components/FormattedText/FormattedText.stories.d.ts.map +1 -1
- package/build/src/components/Icon/Icon.component.d.ts +1 -1
- package/build/src/components/Icon/Icon.component.d.ts.map +1 -1
- package/build/src/components/IntroBox/IntroBox.component.d.ts +4 -6
- package/build/src/components/IntroBox/IntroBox.component.d.ts.map +1 -1
- package/build/src/components/JsonViewer/JsonViewer.component.d.ts +3 -1
- package/build/src/components/JsonViewer/JsonViewer.component.d.ts.map +1 -1
- package/build/src/components/MainContainer/MainContainer.stories.d.ts +5 -0
- package/build/src/components/MainContainer/MainContainer.stories.d.ts.map +1 -1
- package/build/src/components/MainTabs/MainTabs.component.d.ts +2 -6
- package/build/src/components/MainTabs/MainTabs.component.d.ts.map +1 -1
- package/build/src/components/MainTabs/MainTabs.stories.d.ts +5 -0
- package/build/src/components/MainTabs/MainTabs.stories.d.ts.map +1 -1
- package/build/src/components/Modal/Modal.component.d.ts +5 -6
- package/build/src/components/Modal/Modal.component.d.ts.map +1 -1
- package/build/src/components/Modal/Modal.stories.d.ts +5 -0
- package/build/src/components/Modal/Modal.stories.d.ts.map +1 -1
- package/build/src/components/ModalFooter/ModalFooter.component.d.ts +5 -5
- package/build/src/components/ModalFooter/ModalFooter.component.d.ts.map +1 -1
- package/build/src/components/NativeSelect/NativeSelect.component.d.ts +3 -3
- package/build/src/components/NativeSelect/NativeSelect.component.d.ts.map +1 -1
- package/build/src/components/Navigation/Navigation.component.d.ts +7 -10
- package/build/src/components/Navigation/Navigation.component.d.ts.map +1 -1
- package/build/src/components/Navigation/Navigation.stories.d.ts +11 -4
- package/build/src/components/Navigation/Navigation.stories.d.ts.map +1 -1
- package/build/src/components/NavigationItem/NavigationItem.component.d.ts +3 -5
- package/build/src/components/NavigationItem/NavigationItem.component.d.ts.map +1 -1
- package/build/src/components/PageFooter/PageFooter.stories.d.ts +5 -0
- package/build/src/components/PageFooter/PageFooter.stories.d.ts.map +1 -1
- package/build/src/components/PageHeader/PageHeader.component.d.ts +5 -5
- package/build/src/components/PageHeader/PageHeader.component.d.ts.map +1 -1
- package/build/src/components/PageHeader/PageHeader.stories.d.ts.map +1 -1
- package/build/src/components/Pagination/Pagination.stories.d.ts.map +1 -1
- package/build/src/components/Panel/Panel.component.d.ts +2 -2
- package/build/src/components/Panel/Panel.component.d.ts.map +1 -1
- package/build/src/components/PanelBody/PanelBody.component.d.ts +2 -2
- package/build/src/components/PanelBody/PanelBody.component.d.ts.map +1 -1
- package/build/src/components/Pill/Pill.component.d.ts +2 -2
- package/build/src/components/Pill/Pill.component.d.ts.map +1 -1
- package/build/src/components/Pill/Pill.stories.d.ts +16 -1
- package/build/src/components/Pill/Pill.stories.d.ts.map +1 -1
- package/build/src/components/PopupMenu/PopupMenu.component.d.ts +8 -8
- package/build/src/components/PopupMenu/PopupMenu.component.d.ts.map +1 -1
- package/build/src/components/PopupMenu/PopupMenu.stories.d.ts.map +1 -1
- package/build/src/components/Radio/Radio.component.d.ts +5 -7
- package/build/src/components/Radio/Radio.component.d.ts.map +1 -1
- package/build/src/components/RadioGroup/RadioGroup.component.d.ts +6 -6
- package/build/src/components/RadioGroup/RadioGroup.component.d.ts.map +1 -1
- package/build/src/components/RadioGroup/RadioGroup.stories.d.ts +7 -0
- package/build/src/components/RadioGroup/RadioGroup.stories.d.ts.map +1 -1
- package/build/src/components/SearchInput/SearchInput.component.d.ts +6 -6
- package/build/src/components/SearchInput/SearchInput.component.d.ts.map +1 -1
- package/build/src/components/SecretText/SecretText.component.d.ts +6 -8
- package/build/src/components/SecretText/SecretText.component.d.ts.map +1 -1
- package/build/src/components/Select/Select.component.d.ts +8 -8
- package/build/src/components/Select/Select.component.d.ts.map +1 -1
- package/build/src/components/SelectOption/SelectOption.stories.d.ts +8 -1
- package/build/src/components/SelectOption/SelectOption.stories.d.ts.map +1 -1
- package/build/src/components/SideNavigation/SideNavigation.component.d.ts +4 -7
- package/build/src/components/SideNavigation/SideNavigation.component.d.ts.map +1 -1
- package/build/src/components/SideNavigationItem/SideNavigationItem.component.d.ts +2 -2
- package/build/src/components/SideNavigationItem/SideNavigationItem.component.d.ts.map +1 -1
- package/build/src/components/Spinner/Spinner.component.d.ts +1 -1
- package/build/src/components/Spinner/Spinner.component.d.ts.map +1 -1
- package/build/src/components/Stack/Stack.component.d.ts +1 -1
- package/build/src/components/Stack/Stack.component.d.ts.map +1 -1
- package/build/src/components/Stack/Stack.stories.d.ts +5 -0
- package/build/src/components/Stack/Stack.stories.d.ts.map +1 -1
- package/build/src/components/StyleProvider/StyleProvider.component.d.ts +3 -3
- package/build/src/components/StyleProvider/StyleProvider.component.d.ts.map +1 -1
- package/build/src/components/Switch/Switch.component.d.ts +4 -4
- package/build/src/components/Switch/Switch.component.d.ts.map +1 -1
- package/build/src/components/Tab/Tab.component.d.ts +1 -1
- package/build/src/components/Tab/Tab.component.d.ts.map +1 -1
- package/build/src/components/Tab/Tab.stories.d.ts +5 -0
- package/build/src/components/Tab/Tab.stories.d.ts.map +1 -1
- package/build/src/components/TabList/TabList.component.d.ts +1 -2
- package/build/src/components/TabList/TabList.component.d.ts.map +1 -1
- package/build/src/components/TabList/TabList.stories.d.ts +6 -1
- package/build/src/components/TabList/TabList.stories.d.ts.map +1 -1
- package/build/src/components/TabNavigation/TabNavigation.component.d.ts +4 -7
- package/build/src/components/TabNavigation/TabNavigation.component.d.ts.map +1 -1
- package/build/src/components/TabNavigationItem/TabNavigationItem.component.d.ts +1 -1
- package/build/src/components/TabPanel/TabPanel.component.d.ts +1 -1
- package/build/src/components/TabPanel/TabPanel.component.d.ts.map +1 -1
- package/build/src/components/TabPanel/TabPanel.stories.d.ts +5 -0
- package/build/src/components/TabPanel/TabPanel.stories.d.ts.map +1 -1
- package/build/src/components/Tabs/Tabs.component.d.ts +2 -6
- package/build/src/components/Tabs/Tabs.component.d.ts.map +1 -1
- package/build/src/components/Tabs/Tabs.stories.d.ts +5 -0
- package/build/src/components/Tabs/Tabs.stories.d.ts.map +1 -1
- package/build/src/components/TextInput/TextInput.component.d.ts +6 -6
- package/build/src/components/TextInput/TextInput.component.d.ts.map +1 -1
- package/build/src/components/Textarea/Textarea.component.d.ts +6 -6
- package/build/src/components/Textarea/Textarea.component.d.ts.map +1 -1
- package/build/src/components/ThemeToggle/ThemeToggle.component.d.ts +1 -1
- package/build/src/components/ThemeToggle/ThemeToggle.component.d.ts.map +1 -1
- package/build/src/components/Toast/Toast.component.d.ts +1 -1
- package/build/src/components/Toast/Toast.component.d.ts.map +1 -1
- package/build/src/components/TopNavigation/TopNavigation.component.d.ts +4 -7
- package/build/src/components/TopNavigation/TopNavigation.component.d.ts.map +1 -1
- package/build/src/components/TopNavigationItem/TopNavigationItem.component.d.ts +2 -2
- package/build/src/components/TopNavigationItem/TopNavigationItem.component.d.ts.map +1 -1
- package/build/src/{components → deprecated_js}/ContextMenu/ContextMenu.component.d.ts +1 -1
- package/build/src/deprecated_js/ContextMenu/ContextMenu.component.d.ts.map +1 -0
- package/build/src/{components → deprecated_js}/ContextMenu/ContextMenu.stories.d.ts +1 -1
- package/build/src/deprecated_js/ContextMenu/ContextMenu.stories.d.ts.map +1 -0
- package/build/src/deprecated_js/ContextMenu/ContextMenu.test.d.ts.map +1 -0
- package/build/src/deprecated_js/ContextMenu/index.d.ts.map +1 -0
- package/build/src/deprecated_js/Menu/Menu.component.d.ts.map +1 -0
- package/build/src/{components → deprecated_js}/Menu/Menu.stories.d.ts +1 -1
- package/build/src/deprecated_js/Menu/Menu.stories.d.ts.map +1 -0
- package/build/src/deprecated_js/Menu/Menu.test.d.ts.map +1 -0
- package/build/src/deprecated_js/Menu/index.d.ts.map +1 -0
- package/build/src/{components → deprecated_js}/MenuItem/MenuItem.component.d.ts +1 -1
- package/build/src/deprecated_js/MenuItem/MenuItem.component.d.ts.map +1 -0
- package/build/src/deprecated_js/MenuItem/MenuItem.stories.d.ts.map +1 -0
- package/build/src/deprecated_js/MenuItem/MenuItem.test.d.ts.map +1 -0
- package/build/src/deprecated_js/MenuItem/index.d.ts.map +1 -0
- package/build/src/deprecated_js/MenuSection/MenuSection.component.d.ts.map +1 -0
- package/build/src/deprecated_js/MenuSection/MenuSection.stories.d.ts.map +1 -0
- package/build/src/deprecated_js/MenuSection/MenuSection.test.d.ts.map +1 -0
- package/build/src/deprecated_js/MenuSection/index.d.ts.map +1 -0
- package/build/src/index.d.ts +5 -4
- package/build/src/index.d.ts.map +1 -1
- package/build/style.css +1 -1
- package/package.json +1 -1
- package/build/src/components/ContextMenu/ContextMenu.component.d.ts.map +0 -1
- package/build/src/components/ContextMenu/ContextMenu.stories.d.ts.map +0 -1
- package/build/src/components/ContextMenu/ContextMenu.test.d.ts.map +0 -1
- package/build/src/components/ContextMenu/index.d.ts.map +0 -1
- package/build/src/components/Menu/Menu.component.d.ts.map +0 -1
- package/build/src/components/Menu/Menu.stories.d.ts.map +0 -1
- package/build/src/components/Menu/Menu.test.d.ts.map +0 -1
- package/build/src/components/Menu/index.d.ts.map +0 -1
- package/build/src/components/MenuItem/MenuItem.component.d.ts.map +0 -1
- package/build/src/components/MenuItem/MenuItem.stories.d.ts.map +0 -1
- package/build/src/components/MenuItem/MenuItem.test.d.ts.map +0 -1
- package/build/src/components/MenuItem/index.d.ts.map +0 -1
- package/build/src/components/MenuSection/MenuSection.component.d.ts.map +0 -1
- package/build/src/components/MenuSection/MenuSection.stories.d.ts.map +0 -1
- package/build/src/components/MenuSection/MenuSection.test.d.ts.map +0 -1
- package/build/src/components/MenuSection/index.d.ts.map +0 -1
- /package/build/src/{components → deprecated_js}/ContextMenu/ContextMenu.test.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/ContextMenu/index.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/Menu/Menu.component.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/Menu/Menu.test.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/Menu/index.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/MenuItem/MenuItem.stories.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/MenuItem/MenuItem.test.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/MenuItem/index.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/MenuSection/MenuSection.component.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/MenuSection/MenuSection.stories.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/MenuSection/MenuSection.test.d.ts +0 -0
- /package/build/src/{components → deprecated_js}/MenuSection/index.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridRow.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridRow/DataGridRow.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAQzC,eAAO,MAAM,WAAW,yFAuBvB,CAAA;AAID,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAK5E,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"DataGridRow.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridRow/DataGridRow.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAQzC,eAAO,MAAM,WAAW,yFAuBvB,CAAA;AAID,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAK5E,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CAGnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridRow.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridRow/DataGridRow.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAY,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAI3D,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA
|
|
1
|
+
{"version":3,"file":"DataGridRow.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridRow/DataGridRow.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAY,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAI3D,KAAK,aAAa,GAAG,MAAM,GAAG,CAAC,OAAO,CAAA;;;;;;;;;;;;;;;;;;;yBAkBf,aAAa;;;;;;;;;AAhBpC,wBAwBC;AAUD,UAAU,aAAa;IACrB,KAAK,EAAE,aAAa,EAAE,CAAA;CACvB;AAED,eAAO,MAAM,OAAO;iCAZkB,aAAa;;;;;;;;;;;CA0BlD,CAAA"}
|
|
@@ -3,9 +3,9 @@ import { default as React } from 'react';
|
|
|
3
3
|
export declare const DataGridToolbar: React.FC<DataGridToolbarProps>;
|
|
4
4
|
export interface DataGridToolbarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
/** Pass an optional SearchInput component */
|
|
6
|
-
search?:
|
|
6
|
+
search?: React.ReactElement;
|
|
7
7
|
/** Children to render in the DataGridToolbar */
|
|
8
|
-
children?:
|
|
8
|
+
children?: React.ReactNode;
|
|
9
9
|
/** Add a classname */
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridToolbar.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridToolbar/DataGridToolbar.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAezB,mOAAmO;AACnO,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAO1D,CAAA;AAED,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChF,6CAA6C;IAC7C,MAAM,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"DataGridToolbar.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridToolbar/DataGridToolbar.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAezB,mOAAmO;AACnO,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAO1D,CAAA;AAED,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAChF,6CAA6C;IAC7C,MAAM,CAAC,EAAE,KAAK,CAAC,YAAY,CAAA;IAC3B,gDAAgD;IAChD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -5,13 +5,19 @@ declare const _default: {
|
|
|
5
5
|
component: React.FC<DataGridToolbarProps>;
|
|
6
6
|
argTypes: {
|
|
7
7
|
children: {
|
|
8
|
-
control:
|
|
9
|
-
|
|
8
|
+
control: boolean;
|
|
9
|
+
table: {
|
|
10
|
+
type: {
|
|
11
|
+
summary: string;
|
|
12
|
+
};
|
|
10
13
|
};
|
|
11
14
|
};
|
|
12
15
|
search: {
|
|
13
|
-
control:
|
|
14
|
-
|
|
16
|
+
control: boolean;
|
|
17
|
+
table: {
|
|
18
|
+
type: {
|
|
19
|
+
summary: string;
|
|
20
|
+
};
|
|
15
21
|
};
|
|
16
22
|
};
|
|
17
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGridToolbar.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridToolbar/DataGridToolbar.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAmB,oBAAoB,EAAE,MAAM,SAAS,CAAA
|
|
1
|
+
{"version":3,"file":"DataGridToolbar.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGridToolbar/DataGridToolbar.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAmB,oBAAoB,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;;;;AAE/D,wBAiBC;AAQD,eAAO,MAAM,OAAO;mBANI,oBAAoB;;;;;;;;;CAkB3C,CAAA"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
2
|
import { default as flatpickr } from 'flatpickr';
|
|
3
3
|
import { DateOption, DateLimit } from 'flatpickr/dist/types/options';
|
|
4
|
-
import { CustomLocale } from 'flatpickr/dist/types/locale';
|
|
4
|
+
import { key as LocaleKey, CustomLocale } from 'flatpickr/dist/types/locale';
|
|
5
5
|
/** A all-purpose date and time picker component. Highly configurable, based on Flatpickr. */
|
|
6
6
|
export declare const DateTimePicker: React.FC<DateTimePickerProps>;
|
|
7
7
|
type DateChangeHandler = (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void;
|
|
8
|
-
type LegacyEventHandler = (...args: unknown[]) => any;
|
|
9
|
-
type BackwardCompatibleDateChangeHandler = DateChangeHandler | LegacyEventHandler;
|
|
10
|
-
type DateTimePickerDate = DateOption | DateOption[] | string | unknown[] | object | number;
|
|
11
8
|
export interface DateTimePickerProps extends Omit<React.HTMLAttributes<HTMLInputElement>, "defaultValue" | "onFocus" | "onBlur" | "onChange"> {
|
|
12
9
|
/** Whether the DateTimePicker input element allows direct user keyboard input. Default is `false`. */
|
|
13
10
|
allowInput?: boolean;
|
|
@@ -23,23 +20,20 @@ export interface DateTimePickerProps extends Omit<React.HTMLAttributes<HTMLInput
|
|
|
23
20
|
dateFormat?: string;
|
|
24
21
|
/**
|
|
25
22
|
* Sets the default date of the DateTimePicker. Same as `value`, only here for compatibility with the original Flatpickr library. If both `value` and `defaultDate` are being passed, `value` will win. Date Objects, timestamps, ISO date strings, chronological date strings `YYYY-MM-DD HH:MM` (must be compatible to current `dateFormat`), and the shortcut `today` are all accepted.
|
|
26
|
-
* Some prop types have been deprecated: Use DateOption and DateOption[] for future compatibility
|
|
27
23
|
*/
|
|
28
|
-
defaultDate?:
|
|
24
|
+
defaultDate?: string | number | Date | DateOption[];
|
|
29
25
|
/** The initial value of the hour input element. Only effective if time is enabled. Note this will only set the hour input element to the value specified. Setting this options will not set a selected value on the DateTimePicker. */
|
|
30
26
|
defaultHour?: number;
|
|
31
27
|
/** The initial value of the minute input element. Only effective if time is enabled. Note this will only set the minute input element to the value specified. Setting this options will not set a selected value on the DateTimePicker. */
|
|
32
28
|
defaultMinute?: number;
|
|
33
29
|
/**
|
|
34
30
|
* Same as value, defaultDate
|
|
35
|
-
* Some prop types have been deprecated: Use DateOption and DateOption[] for future compatibility
|
|
36
31
|
*/
|
|
37
|
-
defaultValue?:
|
|
32
|
+
defaultValue?: string | number | Date | DateOption[];
|
|
38
33
|
/**
|
|
39
34
|
* Pass an array of dates, date strings, date ranges or functions to disable dates. More on disabling dates: https://flatpickr.js.org/examples/#disabling-specific-dates
|
|
40
|
-
* Some prop types have been deprecated: Use DateLimit<DateOption>[] for future compatibility
|
|
41
35
|
*/
|
|
42
|
-
disable?: DateLimit<DateOption>[]
|
|
36
|
+
disable?: DateLimit<DateOption>[];
|
|
43
37
|
/** Whether the DateTimePicker is disabled */
|
|
44
38
|
disabled?: boolean;
|
|
45
39
|
/** Whether to show seconds when showing a time picker. */
|
|
@@ -47,9 +41,9 @@ export interface DateTimePickerProps extends Omit<React.HTMLAttributes<HTMLInput
|
|
|
47
41
|
/** Whether to show a time picker. */
|
|
48
42
|
enableTime?: boolean;
|
|
49
43
|
/** A text to render when the DateTimePicker has an error or could not be validated. */
|
|
50
|
-
errortext?:
|
|
44
|
+
errortext?: ReactNode;
|
|
51
45
|
/** A helptext to render to explain meaning and significance of the DateTimePicker. */
|
|
52
|
-
helptext?:
|
|
46
|
+
helptext?: ReactNode;
|
|
53
47
|
/** The step for the hour input. Only has an effect when a time picker is enabled via `enableTime`. */
|
|
54
48
|
hourIncrement?: number;
|
|
55
49
|
/** The id of the DateTimePicker input element. If none is passed, an automatically generated id will be used. */
|
|
@@ -60,19 +54,16 @@ export interface DateTimePickerProps extends Omit<React.HTMLAttributes<HTMLInput
|
|
|
60
54
|
label?: string;
|
|
61
55
|
/**
|
|
62
56
|
* Localization string or object. Can be used to set starting day of the week, e.g. Mondays instead of Sundays. More on localization: https://flatpickr.js.org/localization/
|
|
63
|
-
* Some prop types have been deprecated: Use LocaleKey and Partial<CustomLocale> for future compatibility
|
|
64
57
|
*/
|
|
65
|
-
locale?: Partial<CustomLocale
|
|
58
|
+
locale?: LocaleKey | Partial<CustomLocale>;
|
|
66
59
|
/**
|
|
67
60
|
* The maximum / latest date a user can select (inclusive).
|
|
68
|
-
* Some prop types have been deprecated: Use DateOption for future compatibility
|
|
69
61
|
*/
|
|
70
|
-
maxDate?: DateOption
|
|
62
|
+
maxDate?: DateOption;
|
|
71
63
|
/**
|
|
72
64
|
* The minimum / earliest date a user can select (inclusive).
|
|
73
|
-
* Some prop types have been deprecated: Use DateOption for future compatibility
|
|
74
65
|
*/
|
|
75
|
-
minDate?: DateOption
|
|
66
|
+
minDate?: DateOption;
|
|
76
67
|
/** The step for the minute input. Only has an effect when a time picker is enabled via `enableTime`. */
|
|
77
68
|
minuteIncrement?: number;
|
|
78
69
|
/** The mode of the Datepicker. */
|
|
@@ -85,49 +76,40 @@ export interface DateTimePickerProps extends Omit<React.HTMLAttributes<HTMLInput
|
|
|
85
76
|
noCalendar?: boolean;
|
|
86
77
|
/**
|
|
87
78
|
* A handler to be executed when the DateTimePicker input element looses focus.
|
|
88
|
-
* Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
|
|
89
79
|
*/
|
|
90
|
-
onBlur?:
|
|
80
|
+
onBlur?: DateChangeHandler;
|
|
91
81
|
/**
|
|
92
82
|
* A handler to be executed when the selected date(s), date range or time changes
|
|
93
|
-
* Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
|
|
94
83
|
*/
|
|
95
|
-
onChange?:
|
|
84
|
+
onChange?: DateChangeHandler;
|
|
96
85
|
/**
|
|
97
86
|
* A handler to be executed when the DateTimePicker value is reset by clicking the clear icon. The onChnage handler will be fired in this event too, onClear is more specific.
|
|
98
|
-
* Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
|
|
99
87
|
*/
|
|
100
|
-
onClear?:
|
|
88
|
+
onClear?: DateChangeHandler;
|
|
101
89
|
/**
|
|
102
90
|
* A handler to be executed when the DateTimePicker calendar closes
|
|
103
|
-
* Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
|
|
104
91
|
*/
|
|
105
|
-
onClose?:
|
|
92
|
+
onClose?: DateChangeHandler;
|
|
106
93
|
/**
|
|
107
94
|
* A handler to be executed when the DateTimePicker input element receives focus.
|
|
108
|
-
* Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
|
|
109
95
|
*/
|
|
110
|
-
onFocus?:
|
|
96
|
+
onFocus?: DateChangeHandler;
|
|
111
97
|
/**
|
|
112
98
|
* A handler to be executed when the selected month changes
|
|
113
|
-
* Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
|
|
114
99
|
*/
|
|
115
|
-
onMonthChange?:
|
|
100
|
+
onMonthChange?: DateChangeHandler;
|
|
116
101
|
/**
|
|
117
102
|
* A handler to be executed when the DateTimePicker calendar opens
|
|
118
|
-
* Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
|
|
119
103
|
*/
|
|
120
|
-
onOpen?:
|
|
104
|
+
onOpen?: DateChangeHandler;
|
|
121
105
|
/**
|
|
122
106
|
* A handler to be executed when the DateTimePicker component is ready
|
|
123
|
-
* Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
|
|
124
107
|
*/
|
|
125
|
-
onReady?:
|
|
108
|
+
onReady?: DateChangeHandler;
|
|
126
109
|
/**
|
|
127
110
|
* A handler to be executed when the selected year changes
|
|
128
|
-
* Some prop types have been deprecated: For future compatibility use function with signature (dates?: Date[], dateStr?: string, instance?: flatpickr.Instance) => void
|
|
129
111
|
*/
|
|
130
|
-
onYearChange?:
|
|
112
|
+
onYearChange?: DateChangeHandler;
|
|
131
113
|
/** The placeholder of the DateTimePicker input element */
|
|
132
114
|
placeholder?: string;
|
|
133
115
|
/** Whether the DateTimePicker should be marked as required. Requires a `Label` to be set. */
|
|
@@ -137,16 +119,15 @@ export interface DateTimePickerProps extends Omit<React.HTMLAttributes<HTMLInput
|
|
|
137
119
|
/** The number of months to show in the date picker */
|
|
138
120
|
showMonths?: number;
|
|
139
121
|
/** A text to render when the DateTimePicker was successfully validated */
|
|
140
|
-
successtext?:
|
|
122
|
+
successtext?: ReactNode;
|
|
141
123
|
/** Displays time picker in 24 hour mode without AM/PM selection when enabled. Requires `enableTime` to be set, too. Default is `false`. */
|
|
142
124
|
time_24hr?: boolean;
|
|
143
125
|
/** Whether the DateTimePicker has been successfully validated */
|
|
144
126
|
valid?: boolean;
|
|
145
127
|
/**
|
|
146
128
|
* The value of the datepicker. Date Objects, timestamps, ISO date strings, chronological date strings `YYYY-MM-DD HH:MM` (must be compatible to current `dateFormat`), and the shortcut `today` are all accepted.
|
|
147
|
-
* Some prop types have been deprecated: Use DateOption and DateOption[] for future compatibility
|
|
148
129
|
*/
|
|
149
|
-
value?:
|
|
130
|
+
value?: string | number | Date | DateOption[];
|
|
150
131
|
/** Whether to render week numbers. Default is `false`. */
|
|
151
132
|
weekNumbers?: boolean;
|
|
152
133
|
/** The width of the datepicker input. Either 'full' (default) or 'auto'. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimePicker.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DateTimePicker/DateTimePicker.component.tsx"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"DateTimePicker.component.d.ts","sourceRoot":"","sources":["../../../../src/components/DateTimePicker/DateTimePicker.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAA+C,SAAS,EAAE,MAAM,OAAO,CAAA;AACrF,OAAO,SAAS,MAAM,WAAW,CAAA;AAIjC,OAAO,EAAW,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAC7E,OAAO,EAAE,GAAG,IAAI,SAAS,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE5E,OAAO,uBAAuB,CAAA;AA2E9B,6FAA6F;AAE7F,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAkbxD,CAAA;AAGD,KAAK,iBAAiB,GAAG,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,SAAS,CAAC,QAAQ,KAAK,IAAI,CAAA;AAElG,MAAM,WAAW,mBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,cAAc,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;IACxG,sGAAsG;IACtG,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,mLAAmL;IACnL,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,iQAAiQ;IACjQ,cAAc,CAAC,EAAE,MAAM,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AG,MAAM,CAAA;IACvB,6KAA6K;IAC7K,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B"}
|
|
@@ -10,7 +10,7 @@ export interface FormHintProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
10
10
|
* The text to render as a hint for a form element.
|
|
11
11
|
* Overridden by children, if provided.
|
|
12
12
|
*/
|
|
13
|
-
text?: ReactNode
|
|
13
|
+
text?: ReactNode;
|
|
14
14
|
/**
|
|
15
15
|
* The variant of the hint ("help", "error", or "success") determining its appearance.
|
|
16
16
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormHint.component.d.ts","sourceRoot":"","sources":["../../../../src/components/FormHint/FormHint.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOxC,KAAK,eAAe,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAA;AAEnD,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"FormHint.component.d.ts","sourceRoot":"","sources":["../../../../src/components/FormHint/FormHint.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOxC,KAAK,eAAe,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAA;AAEnD,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,CAAA;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAaD;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAqB5C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormattedText.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/FormattedText/FormattedText.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA
|
|
1
|
+
{"version":3,"file":"FormattedText.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/FormattedText/FormattedText.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;;;;;;;;;;;;;;;;;;;;;;AAG9D,wBAmBC;AAqJD,eAAO,MAAM,KAAK;mBAnJM,kBAAkB;;;;;;;;;CA+JzC,CAAA"}
|
|
@@ -62,6 +62,6 @@ export interface IconProps extends Omit<React.HTMLProps<HTMLAnchorElement> | Rea
|
|
|
62
62
|
className?: string;
|
|
63
63
|
href?: string;
|
|
64
64
|
disabled?: boolean;
|
|
65
|
-
onClick?: React.MouseEventHandler<
|
|
65
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
66
66
|
}
|
|
67
67
|
//# sourceMappingURL=Icon.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.component.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/Icon.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAgC,MAAM,OAAO,CAAA;AAuFpD,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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IAE7B,gBAAgB,qBAAqB;IAErC,OAAO,YAAY;IAEnB,MAAM,WAAW;IAEjB,OAAO,YAAY;IAEnB,OAAO,YAAY;IAEnB,OAAO,YAAY;CACpB;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,cAAc,CAAA;AAkoBpD,eAAO,MAAM,IAAI,sHAmDf,CAAA;AAEF,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC7F,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;CACrD"}
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
export interface IntroBoxProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
3
3
|
/** Pass an optional title */
|
|
4
|
-
title?: string
|
|
4
|
+
title?: string;
|
|
5
5
|
/** Pass a string of text to be rendered as contents. Alternatively, contents can be passed as children (see below) */
|
|
6
|
-
text?: string
|
|
6
|
+
text?: string;
|
|
7
7
|
/** Pass a custom class */
|
|
8
8
|
variant?: "default" | "hero";
|
|
9
9
|
/** optional "hero" flavor image for hero variant. Specify as css bg image string pointing to an image in your app (see template app for an example). Will always be positioned top and right */
|
|
10
|
-
heroImage?: string
|
|
10
|
+
heroImage?: string;
|
|
11
11
|
/** Pass a custom class */
|
|
12
12
|
className?: string;
|
|
13
|
-
/** Pass child nodes to be rendered as
|
|
13
|
+
/** Pass child nodes to be rendered as content */
|
|
14
14
|
children?: React.ReactNode;
|
|
15
|
-
/** For additional props*/
|
|
16
|
-
[key: string]: any;
|
|
17
15
|
}
|
|
18
16
|
/**
|
|
19
17
|
* An Introbox holds generally important information to help understand the contents, purpose, or state of a whole page or view, or individual sections on longer pages.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntroBox.component.d.ts","sourceRoot":"","sources":["../../../../src/components/IntroBox/IntroBox.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAoDzB,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACxF,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"IntroBox.component.d.ts","sourceRoot":"","sources":["../../../../src/components/IntroBox/IntroBox.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAoDzB,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACxF,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sHAAsH;IACtH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0BAA0B;IAC1B,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IAC5B,gMAAgM;IAChM,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED;;;EAGE;AACF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA0B5C,CAAA"}
|
|
@@ -16,6 +16,8 @@ export interface JsonViewerProps extends Omit<React.HTMLProps<HTMLDivElement>, "
|
|
|
16
16
|
showRoot?: boolean;
|
|
17
17
|
/** dark, light or map of colors
|
|
18
18
|
*
|
|
19
|
+
* @param dark dark theme
|
|
20
|
+
* @param light light theme
|
|
19
21
|
* @param base00 background
|
|
20
22
|
* @param base01 NOT used
|
|
21
23
|
* @param base02 border, NaN,null, undefined background
|
|
@@ -33,7 +35,7 @@ export interface JsonViewerProps extends Omit<React.HTMLProps<HTMLDivElement>, "
|
|
|
33
35
|
* @param base0E collapsed icon, types: "boolean"
|
|
34
36
|
* @param base0F copy icon, type "integer"
|
|
35
37
|
*/
|
|
36
|
-
theme?: themes.JsonViewerTheme | ThemeType
|
|
38
|
+
theme?: themes.JsonViewerTheme | ThemeType;
|
|
37
39
|
/** expanded can be true|false or a number. The number denotes the hierarchy level to which the object is expanded. */
|
|
38
40
|
expanded?: boolean | number;
|
|
39
41
|
truncate?: boolean | number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JsonViewer.component.d.ts","sourceRoot":"","sources":["../../../../src/components/JsonViewer/JsonViewer.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAElC,OAAO,EAAsC,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AA0B3F,eAAO,MAAM,iBAAiB,UAAW,OAAO,KAAG,kBAiBlD,CAAA;AA4SD,qDAAqD;AACrD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqDhD,CAAA;AAED,KAAK,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;AAEjC,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpF,oCAAoC;IAEpC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mBAAmB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB
|
|
1
|
+
{"version":3,"file":"JsonViewer.component.d.ts","sourceRoot":"","sources":["../../../../src/components/JsonViewer/JsonViewer.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAC1D,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAElC,OAAO,EAAsC,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AA0B3F,eAAO,MAAM,iBAAiB,UAAW,OAAO,KAAG,kBAiBlD,CAAA;AA4SD,qDAAqD;AACrD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqDhD,CAAA;AAED,KAAK,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;AAEjC,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACpF,oCAAoC;IAEpC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mBAAmB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,eAAe,GAAG,SAAS,CAAA;IAC1C,sHAAsH;IACtH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAE3B,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAE3B,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MainContainer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/MainContainer/MainContainer.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAiB,kBAAkB,EAAE,MAAM,SAAS,CAAA
|
|
1
|
+
{"version":3,"file":"MainContainer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/MainContainer/MainContainer.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAiB,kBAAkB,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;AAE3D,wBAWC;AAID,eAAO,MAAM,IAAI;mBAFO,kBAAkB;;;;;;;;;CAezC,CAAA"}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { TabListProps } from '../TabList/TabList.component';
|
|
3
|
-
import { TabPanelProps } from '../TabPanel/TabPanel.component';
|
|
4
2
|
/**
|
|
5
3
|
Main Tabs are used at the top of the content area when using the tabs to switch the complete content area content. If you only want to have tabs for parts of the content use 'Tabs' instead and place them in the part of the content where the tabbed content should live. You will probably want to use a 'Container' inside the TabPanels to get nice padding.
|
|
6
4
|
*/
|
|
7
5
|
export declare const MainTabs: React.FC<MainTabsProps>;
|
|
8
|
-
export type OnSelectHander = (value: number) => void;
|
|
9
|
-
export type MainTabElement = React.ReactElement<TabListProps> | React.ReactElement<TabPanelProps> | MainTabElement[] | null | undefined;
|
|
10
6
|
export interface MainTabsProps extends Omit<React.HTMLAttributes<HTMLElement>, "onSelect"> {
|
|
11
7
|
/** All the child elements of MainTabs: Tab(s) inside a TabList and TabPanel(s) */
|
|
12
|
-
children?:
|
|
8
|
+
children?: React.ReactNode;
|
|
13
9
|
/** The index of the Tab to be selected by default in "Uncontrolled Mode" (default) where Tabs handle their state internally. Do not use in "Controlled Mode".*/
|
|
14
10
|
defaultIndex?: number;
|
|
15
11
|
/** The index of the Tab to be selected by default. This enables "Controlled Mode" where the developer takes over control of the Tabs state and behaviour. Requires onSelect to be set.*/
|
|
16
12
|
selectedIndex?: number;
|
|
17
13
|
/** Handler required in "Controlled Mode" */
|
|
18
|
-
onSelect?:
|
|
14
|
+
onSelect?: (value: number) => void;
|
|
19
15
|
/** Add a custom className to the whole Tabs construct */
|
|
20
16
|
className?: string;
|
|
21
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MainTabs.component.d.ts","sourceRoot":"","sources":["../../../../src/components/MainTabs/MainTabs.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"MainTabs.component.d.ts","sourceRoot":"","sources":["../../../../src/components/MainTabs/MainTabs.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAoB5C,CAAA;AAED,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC;IACxF,kFAAkF;IAClF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,gKAAgK;IAChK,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,yLAAyL;IACzL,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,4CAA4C;IAE5C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MainTabs.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/MainTabs/MainTabs.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAKlD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA
|
|
1
|
+
{"version":3,"file":"MainTabs.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/MainTabs/MainTabs.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAKlD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAE/C,wBAqBC;AASD,UAAU,aAAa;IACrB,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAA;IACpC,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,CAAA;CAC/C;AAuBD,KAAK,eAAe,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;AAG9C,UAAU,uBAAuB;IAC/B,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAA;IACrC,SAAS,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,CAAA;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,eAAe,CAAA;CAC3B;AAED,eAAO,MAAM,OAAO;2CA3C4B,aAAa;;;;;CAsD5D,CAAA;AAED,eAAO,MAAM,UAAU;oEA5C4D,uBAAuB;;;;;;;CA6DzG,CAAA"}
|
|
@@ -15,7 +15,6 @@ To make the modal less intrusive and effectively un-modal it, pass `closeOnBackd
|
|
|
15
15
|
*/
|
|
16
16
|
export declare const Modal: React.FC<ModalProps>;
|
|
17
17
|
type ModalSize = "small" | "large";
|
|
18
|
-
type CancelEventHandler = (event: React.MouseEvent<EventTarget, MouseEvent> | KeyboardEvent) => void;
|
|
19
18
|
export interface ModalProps extends Omit<React.HTMLProps<HTMLDivElement>, "size"> {
|
|
20
19
|
/** The aria-label of the modal. Use only if the modal does NOT have a `title` or `heading`. */
|
|
21
20
|
ariaLabel?: string;
|
|
@@ -30,15 +29,15 @@ export interface ModalProps extends Omit<React.HTMLProps<HTMLDivElement>, "size"
|
|
|
30
29
|
/** Pass a label for the cancel button. Defaults to "Cancel" */
|
|
31
30
|
cancelButtonLabel?: string;
|
|
32
31
|
/** Pass an Icon name to show on the confirming action button */
|
|
33
|
-
confirmButtonIcon?: KnownIcons
|
|
32
|
+
confirmButtonIcon?: KnownIcons;
|
|
34
33
|
/** Pass an icon name to show on the cancelling button */
|
|
35
|
-
cancelButtonIcon?: KnownIcons
|
|
34
|
+
cancelButtonIcon?: KnownIcons;
|
|
36
35
|
/** Whether the modal will be open */
|
|
37
36
|
open?: boolean;
|
|
38
37
|
/** The children of the modal. These will be rendered as the modal content. To render custom buttons at the bottom, see `modalFooter` below.*/
|
|
39
38
|
children?: React.ReactNode;
|
|
40
39
|
/** Optional. Pass a `<ModalFooter />` component with custom content as required. Will default to using the `<ModalFooter/>` component internally. */
|
|
41
|
-
modalFooter?:
|
|
40
|
+
modalFooter?: React.ReactElement;
|
|
42
41
|
/** Whether the modal can be closed using an "X"-Button at the top right. Defaults to true. */
|
|
43
42
|
closeable?: boolean;
|
|
44
43
|
/** Pass to remove default padding from the content area of the modal */
|
|
@@ -46,9 +45,9 @@ export interface ModalProps extends Omit<React.HTMLProps<HTMLDivElement>, "size"
|
|
|
46
45
|
/** Custom className to add to the modal */
|
|
47
46
|
className?: string;
|
|
48
47
|
/** A handler to execute once the modal is confirmed by clicking the confrim button if exists. Note that we do not close the modal automatically. */
|
|
49
|
-
onConfirm?: React.MouseEventHandler<
|
|
48
|
+
onConfirm?: React.MouseEventHandler<HTMLElement>;
|
|
50
49
|
/** A handler to execute once the modal is cancelled or dismissed using the x-Close button, Cancel-button or pressing ESC */
|
|
51
|
-
onCancel?:
|
|
50
|
+
onCancel?: (event: React.MouseEvent<HTMLElement> | KeyboardEvent) => void;
|
|
52
51
|
/** Whether the modal should be closed when the backdrop is clicked. Essentially 'un-modals' the modal. */
|
|
53
52
|
closeOnBackdropClick?: boolean;
|
|
54
53
|
/** Whether the modal can be closed by hitting the ESC key */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.component.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/Modal.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA6C,MAAM,OAAO,CAAA;AAIjE,OAAO,EAAQ,UAAU,EAAE,MAAM,wBAAwB,CAAA;AA6DzD;;;;;;;;;;;;EAYE;AACF,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA2ItC,CAAA;AAED,KAAK,SAAS,GAAG,OAAO,GAAG,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Modal.component.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/Modal.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA6C,MAAM,OAAO,CAAA;AAIjE,OAAO,EAAQ,UAAU,EAAE,MAAM,wBAAwB,CAAA;AA6DzD;;;;;;;;;;;;EAYE;AACF,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA2ItC,CAAA;AAED,KAAK,SAAS,GAAG,OAAO,GAAG,OAAO,CAAA;AAElC,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAC/E,gGAAgG;IAChG,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uRAAuR;IACvR,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,yHAAyH;IACzH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,qBAAqB;IACrB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,kEAAkE;IAClE,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,+DAA+D;IAC/D,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gEAAgE;IAChE,iBAAiB,CAAC,EAAE,UAAU,CAAA;IAC9B,yDAAyD;IACzD,gBAAgB,CAAC,EAAE,UAAU,CAAA;IAC7B,qCAAqC;IACrC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,8IAA8I;IAC9I,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,qJAAqJ;IACrJ,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAA;IAChC,8FAA8F;IAC9F,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,wEAAwE;IACxE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oJAAoJ;IACpJ,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAChD,6HAA6H;IAE7H,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,GAAG,aAAa,KAAK,IAAI,CAAA;IACzE,0GAA0G;IAC1G,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,6DAA6D;IAC7D,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,sMAAsM;IACtM,YAAY,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,CAAA;CACjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/Modal.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAA;AACvC,OAAO,EAAS,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAiCrD,KAAK,aAAa,GAAG;IACnB,cAAc,EAAE,OAAO,CAAA;CACxB,GAAG,UAAU,CAAA;AAEd,KAAK,aAAa,GAAG,MAAM,KAAK,CAAC,SAAS,CAAA
|
|
1
|
+
{"version":3,"file":"Modal.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/Modal.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAA;AACvC,OAAO,EAAS,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAiCrD,KAAK,aAAa,GAAG;IACnB,cAAc,EAAE,OAAO,CAAA;CACxB,GAAG,UAAU,CAAA;AAEd,KAAK,aAAa,GAAG,MAAM,KAAK,CAAC,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAoBnB,aAAa;;AAlBpC,wBAmBC;AAED,eAAO,MAAM,OAAO;0CA7C2B,aAAa;;;;CAkD3D,CAAA;AAED,eAAO,MAAM,mBAAmB;0CApDe,aAAa;;;;;;CA2D3D,CAAA;AAED,eAAO,MAAM,eAAe;0CA7DmB,aAAa;;;;;CAmE3D,CAAA;AAED,eAAO,MAAM,cAAc;0CArEoB,aAAa;;;;;;;;CA8E3D,CAAA;AAED,eAAO,MAAM,YAAY;0CAhFsB,aAAa;;;;;;CAwF3D,CAAA;AAED,eAAO,MAAM,oBAAoB;0CA1Fc,aAAa;;;;;;CAiG3D,CAAA;AAED,eAAO,MAAM,KAAK;0CAnG6B,aAAa;;;;;;;CAyH3D,CAAA;AAED,eAAO,MAAM,iBAAiB;0CA3HiB,aAAa;;;;;;;CA+I3D,CAAA;AAED,eAAO,MAAM,iBAAiB;0CAjJiB,aAAa;;;;;;CAgK3D,CAAA;AAED,eAAO,MAAM,mBAAmB;0CAlKe,aAAa;;;;;;CA0L3D,CAAA;AAED,eAAO,MAAM,oBAAoB;0CA5Lc,aAAa;;;;;;;;CA0O3D,CAAA"}
|
|
@@ -8,21 +8,21 @@ Can alternatively render all custom children as passed.
|
|
|
8
8
|
*/
|
|
9
9
|
export declare const ModalFooter: React.FC<ModalFooterProps>;
|
|
10
10
|
export interface ModalFooterProps extends React.HTMLProps<HTMLDivElement> {
|
|
11
|
-
/** Custom children to render.
|
|
11
|
+
/** Custom children to render. */
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
/** The label for the Confirm-button. When passed, the component will render a Confirm button and a cancel button, otherwise the component will ONLY render a Close-Button. */
|
|
14
14
|
confirmButtonLabel?: string;
|
|
15
15
|
/** Custom label for the cancel button. ONLY has an effect if a `confirmButtonLabel` is passed. */
|
|
16
16
|
cancelButtonLabel?: string;
|
|
17
17
|
/** Pass an Icon name to show on the confirming action button */
|
|
18
|
-
confirmButtonIcon?: KnownIcons
|
|
18
|
+
confirmButtonIcon?: KnownIcons;
|
|
19
19
|
/** Pass an icon name to show on the cancelling button */
|
|
20
|
-
cancelButtonIcon?: KnownIcons
|
|
20
|
+
cancelButtonIcon?: KnownIcons;
|
|
21
21
|
/** A custom className. Useful to configure flex items alignment when passing custom content as children. */
|
|
22
22
|
className?: string;
|
|
23
23
|
/** Handler to execute once the confirming button is clicked */
|
|
24
|
-
onConfirm?: React.MouseEventHandler<
|
|
24
|
+
onConfirm?: React.MouseEventHandler<HTMLElement>;
|
|
25
25
|
/** Handler to execute once the cancelling button is clicked */
|
|
26
|
-
onCancel?: React.MouseEventHandler<
|
|
26
|
+
onCancel?: React.MouseEventHandler<HTMLElement>;
|
|
27
27
|
}
|
|
28
28
|
//# sourceMappingURL=ModalFooter.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalFooter.component.d.ts","sourceRoot":"","sources":["../../../../src/components/ModalFooter/ModalFooter.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAgBnD;;;;;EAKE;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAqDlD,CAAA;AAED,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACvE,
|
|
1
|
+
{"version":3,"file":"ModalFooter.component.d.ts","sourceRoot":"","sources":["../../../../src/components/ModalFooter/ModalFooter.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAgBnD;;;;;EAKE;AAEF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAqDlD,CAAA;AAED,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACvE,iCAAiC;IACjC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,8KAA8K;IAC9K,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,kGAAkG;IAClG,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gEAAgE;IAChE,iBAAiB,CAAC,EAAE,UAAU,CAAA;IAC9B,yDAAyD;IACzD,gBAAgB,CAAC,EAAE,UAAU,CAAA;IAC7B,4GAA4G;IAC5G,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAChD,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAA;CAChD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React, ReactNode,
|
|
1
|
+
import { default as React, ReactNode, ChangeEventHandler, MouseEventHandler, FC } from 'react';
|
|
2
2
|
export interface NativeSelectProps extends React.SelectHTMLAttributes<HTMLSelectElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Name of the select element.
|
|
@@ -45,12 +45,12 @@ export interface NativeSelectProps extends React.SelectHTMLAttributes<HTMLSelect
|
|
|
45
45
|
* Event handler for the change event of the select element.
|
|
46
46
|
* Triggered when the user changes the selected option.
|
|
47
47
|
*/
|
|
48
|
-
onChange?:
|
|
48
|
+
onChange?: ChangeEventHandler<HTMLSelectElement>;
|
|
49
49
|
/**
|
|
50
50
|
* Event handler for the click event on the select element.
|
|
51
51
|
* Triggered when the user clicks on the select element.
|
|
52
52
|
*/
|
|
53
|
-
onClick?:
|
|
53
|
+
onClick?: MouseEventHandler<HTMLSelectElement>;
|
|
54
54
|
/**
|
|
55
55
|
* Additional CSS classes to apply to the outer wrapper of the select component for custom styling.
|
|
56
56
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeSelect.component.d.ts","sourceRoot":"","sources":["../../../../src/components/NativeSelect/NativeSelect.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"NativeSelect.component.d.ts","sourceRoot":"","sources":["../../../../src/components/NativeSelect/NativeSelect.component.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAGZ,SAAS,EAET,kBAAkB,EAElB,iBAAiB,EACjB,EAAE,EACH,MAAM,OAAO,CAAA;AA+Ed,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACtF;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;OAGG;IAEH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,CAAA;IAEhD;;;OAGG;IAEH,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;IAE9C;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAmCD;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA4D9C,CAAA"}
|