1mpacto-react-ui 0.2.0-beta.1 → 0.2.0-beta.11
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/dist/assets/_colors.scss +287 -1
- package/dist/assets/_mixins.scss +17 -0
- package/dist/assets/_screen.scss +6 -0
- package/dist/assets/_typography.scss +302 -0
- package/dist/assets/colors.css +21 -0
- package/dist/assets/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/assets/screen.css +8 -0
- package/dist/assets/style.css +1 -1
- package/dist/assets/typography.css +36 -0
- package/dist/index.cjs +110 -86
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.mjs +27575 -15975
- package/dist/index.mjs.map +1 -1
- package/dist/package.json.d.ts +38 -25
- package/dist/src/components/Alert/index.d.ts +0 -1
- package/dist/src/components/Badges/Badges.d.ts +0 -1
- package/dist/src/components/Badges/Badges.stories.d.ts +0 -1
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +1 -2
- package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -2
- package/dist/src/components/Button/Button.d.ts +0 -1
- package/dist/src/components/Button/Button.stories.d.ts +0 -1
- package/dist/src/components/ButtonIcon/ButtonIcon.d.ts +0 -1
- package/dist/src/components/ButtonIcon/ButtonIcon.stories.d.ts +0 -1
- package/dist/src/components/ButtonPopover/ButtonPopover.d.ts +0 -1
- package/dist/src/components/ButtonPopover/ButtonPopover.stories.d.ts +17 -0
- package/dist/src/components/Calendar/Calendar.d.ts +0 -1
- package/dist/src/components/Calendar/Calendar.stories.d.ts +14 -0
- package/dist/src/components/Calendar/CalendarButton.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarCell.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarMonth.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarRange.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarYear.d.ts +0 -1
- package/dist/src/components/Chart/DoughnutChart.d.ts +0 -1
- package/dist/src/components/Chart/GradientBarChart.d.ts +0 -1
- package/dist/src/components/Chart/GradientBarChart.stories.d.ts +2 -3
- package/dist/src/components/Chart/GradientLineChart.d.ts +0 -1
- package/dist/src/components/Chart/GradientLineChart.stories.d.ts +2 -3
- package/dist/src/components/Chart/LineChart.d.ts +0 -1
- package/dist/src/components/Chart/LineChart.stories.d.ts +18 -0
- package/dist/src/components/Chips/Chips.d.ts +0 -1
- package/dist/src/components/Chips/Chips.stories.d.ts +0 -1
- package/dist/src/components/Collapse/Collapse.d.ts +0 -1
- package/dist/src/components/Collapse/Collapse.stories.d.ts +18 -0
- package/dist/src/components/Collapse/CollapseV2.d.ts +3 -0
- package/dist/src/components/Collapse/CollapseV2.stories.d.ts +18 -0
- package/dist/src/components/Colors/Colors.stories.d.ts +13 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts +0 -1
- package/dist/src/components/DatePicker/DatePicker.stories.d.ts +0 -1
- package/dist/src/components/DatePicker/DateRangePicker.d.ts +0 -1
- package/dist/src/components/DatePicker/FilterDate.d.ts +0 -1
- package/dist/src/components/DatePicker/FilterDate.stories.d.ts +18 -0
- package/dist/src/components/DatePicker/MonthYearPicker.d.ts +0 -1
- package/dist/src/components/DatePicker/MonthYearPicker.stories.d.ts +18 -0
- package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +0 -1
- package/dist/src/components/ErrorMessage/ErrorMessage.stories.d.ts +17 -0
- package/dist/src/components/FilterContainer/FilterContainer.d.ts +0 -1
- package/dist/src/components/Input/InputFloatingInner.d.ts +0 -1
- package/dist/src/components/Input/InputFloatingInner.stories.d.ts +0 -7
- package/dist/src/components/Input/InputNative.d.ts +0 -1
- package/dist/src/components/Input/InputNative.stories.d.ts +31 -0
- package/dist/src/components/Input/InputReguler.d.ts +0 -1
- package/dist/src/components/Input/InputReguler.stories.d.ts +0 -7
- package/dist/src/components/Modal/ModalDialog.d.ts +0 -1
- package/dist/src/components/Modal/ModalDialog.stories.d.ts +18 -0
- package/dist/src/components/NumberFormat/NumberFormat.d.ts +0 -1
- package/dist/src/components/NumberFormat/NumberFormat.stories.d.ts +0 -1
- package/dist/src/components/Pagination/Pagination.d.ts +0 -1
- package/dist/src/components/Pagination/Pagination.stories.d.ts +0 -1
- package/dist/src/components/Popover/Popover.d.ts +0 -1
- package/dist/src/components/Popover/Popover.stories.d.ts +2 -3
- package/dist/src/components/PortalComponent/PortalComponent.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/CheckboxTable.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/RadioCheckbox.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/RadioCheckbox.stories.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.stories.d.ts +0 -1
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.d.ts +0 -1
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.stories.d.ts +357 -7
- package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +0 -1
- package/dist/src/components/Sidebar/ItemSidebar.d.ts +0 -1
- package/dist/src/components/Sidebar/Sidebar.d.ts +0 -1
- package/dist/src/components/Sidebar/Sidebar.stories.d.ts +177 -7
- package/dist/src/components/Step/Step.d.ts +0 -1
- package/dist/src/components/Step/Step.stories.d.ts +14 -0
- package/dist/src/components/Step/StepIndicator.d.ts +0 -1
- package/dist/src/components/Step/StepIndicator.stories.d.ts +13 -0
- package/dist/src/components/Switch/Switch.d.ts +0 -1
- package/dist/src/components/Switch/Switch.stories.d.ts +0 -1
- package/dist/src/components/Table/Table.d.ts +0 -1
- package/dist/src/components/Table/Table.stories.d.ts +248 -3
- package/dist/src/components/Tabs/TabPanel.d.ts +0 -1
- package/dist/src/components/Tabs/Tabs.d.ts +0 -1
- package/dist/src/components/Tabs/Tabs.stories.d.ts +14 -0
- package/dist/src/components/TextEditor/TextEditor.d.ts +0 -1
- package/dist/src/components/TextEditor/TextEditor.stories.d.ts +88 -0
- package/dist/src/components/Textarea/Textarea.d.ts +0 -1
- package/dist/src/components/Textarea/Textarea.stories.d.ts +0 -1
- package/dist/src/components/Textarea/TextareaFloatingInner.d.ts +0 -1
- package/dist/src/components/Textarea/TextareaFloatingInner.stories.d.ts +0 -1
- package/dist/src/components/Timeline/Timeline.d.ts +0 -1
- package/dist/src/components/Timeline/Timeline.stories.d.ts +16 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +0 -1
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts +13 -0
- package/dist/src/components/TruncateComponent/TruncateComponent.d.ts +0 -1
- package/dist/src/components/TruncateComponent/TruncateComponent.stories.d.ts +14 -0
- package/dist/src/components/Typography/Typography.stories.d.ts +13 -0
- package/dist/src/components/Upload/UploadFile.d.ts +0 -1
- package/dist/src/components/Upload/UploadFile.stories.d.ts +0 -1
- package/dist/src/components/Upload/UploadImage.d.ts +0 -1
- package/dist/src/components/Upload/UploadImage.stories.d.ts +13 -0
- package/dist/src/components/Upload/UploadMultipleFile.d.ts +0 -1
- package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +0 -1
- package/dist/src/components/Virtualization/ListVirtualization.d.ts +0 -1
- package/dist/src/components/Virtualization/ListVirtualization.stories.d.ts +15 -0
- package/dist/src/components/Virtualization/TableVirtualization.d.ts +0 -1
- package/dist/src/components/Virtualization/TableVirtualization.stories.d.ts +15 -0
- package/dist/src/components/index.d.ts +4 -4
- package/dist/src/config/bigNumber/index.d.ts +0 -1
- package/dist/src/config/components/tinymce.d.ts +0 -1
- package/dist/src/config/components/typography.d.ts +13 -1
- package/dist/src/config/tailwind/index.d.ts +0 -1
- package/dist/src/hooks/index.d.ts +0 -1
- package/dist/src/hooks/useCombinedResizeObserver.d.ts +0 -1
- package/dist/src/hooks/useDeepCompareEffect.d.ts +0 -1
- package/dist/src/hooks/useEventListener.d.ts +0 -1
- package/dist/src/hooks/useMasonry.d.ts +0 -1
- package/dist/src/hooks/useMergeRefs.d.ts +0 -1
- package/dist/src/hooks/useStateRef.d.ts +0 -1
- package/dist/src/interfaces/components/Alert/index.d.ts +0 -1
- package/dist/src/interfaces/components/Badges/index.d.ts +1 -2
- package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +3 -1
- package/dist/src/interfaces/components/Button/index.d.ts +1 -2
- package/dist/src/interfaces/components/ButtonIcon/index.d.ts +0 -1
- package/dist/src/interfaces/components/ButtonPopover/index.d.ts +0 -1
- package/dist/src/interfaces/components/Calendar/index.d.ts +0 -1
- package/dist/src/interfaces/components/Chart/index.d.ts +0 -1
- package/dist/src/interfaces/components/Checkbox/index.d.ts +0 -1
- package/dist/src/interfaces/components/Chips/index.d.ts +0 -1
- package/dist/src/interfaces/components/Collapse/index.d.ts +7 -1
- package/dist/src/interfaces/components/DatePicker/index.d.ts +0 -1
- package/dist/src/interfaces/components/FilterContainer/index.d.ts +0 -1
- package/dist/src/interfaces/components/Input/index.d.ts +0 -1
- package/dist/src/interfaces/components/Modal/index.d.ts +0 -1
- package/dist/src/interfaces/components/NumberFormat/index.d.ts +0 -1
- package/dist/src/interfaces/components/Pagination/index.d.ts +0 -1
- package/dist/src/interfaces/components/Popover/index.d.ts +1 -2
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +0 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +0 -1
- package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +0 -1
- package/dist/src/interfaces/components/Sidebar/index.d.ts +6 -5
- package/dist/src/interfaces/components/Step/index.d.ts +0 -1
- package/dist/src/interfaces/components/Table/index.d.ts +0 -1
- package/dist/src/interfaces/components/Tabs/index.d.ts +2 -2
- package/dist/src/interfaces/components/TextEditor/index.d.ts +0 -1
- package/dist/src/interfaces/components/Textarea/index.d.ts +0 -1
- package/dist/src/interfaces/components/Timeline/index.d.ts +0 -1
- package/dist/src/interfaces/components/Tooltip/index.d.ts +0 -1
- package/dist/src/interfaces/components/TruncateComponent/index.d.ts +1 -3
- package/dist/src/interfaces/components/UploadFile/index.d.ts +0 -1
- package/dist/src/interfaces/components/Virtualization/ListVirtualization.d.ts +0 -1
- package/dist/src/interfaces/components/Virtualization/TableVirtualization.d.ts +0 -1
- package/dist/src/main.d.ts +0 -1
- package/dist/src/utils/common.d.ts +3 -1
- package/package.json +37 -25
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: import('react').ForwardRefExoticComponent<import('..').IInputReguler & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -8,12 +7,6 @@ declare const meta: {
|
|
|
8
7
|
};
|
|
9
8
|
tags: string[];
|
|
10
9
|
argTypes: {
|
|
11
|
-
startIcon: {
|
|
12
|
-
control: "boolean";
|
|
13
|
-
};
|
|
14
|
-
endIcon: {
|
|
15
|
-
control: "boolean";
|
|
16
|
-
};
|
|
17
10
|
className: {
|
|
18
11
|
type: "string";
|
|
19
12
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ElementType } from 'react';
|
|
2
2
|
import { IModalDialog } from '../../interfaces/components/Modal';
|
|
3
|
-
|
|
4
3
|
declare const ModalDialog: <T extends ElementType = "div">({ as, children, id, idModal, withOverlay, show, size, className, classNameContainer, onClose, ...props }: IModalDialog<T>) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export default ModalDialog;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: <T extends import('react').ElementType = "div">({ as, children, id, idModal, withOverlay, show, size, className, classNameContainer, onClose, ...props }: import('../../interfaces/components/Modal').IModalDialog<T>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
argTypes: {
|
|
10
|
+
className: {
|
|
11
|
+
type: "string";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
render: (args: import('../../interfaces/components/Modal').IModalDialog<import('react').ElementType>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
export declare const Default: Story;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: ({ max, min, selectedText, onChange, onFocusInput, ...otherProps }: import('../../interfaces/components/NumberFormat').INumberFormat) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { IPaginationProps } from '../../interfaces/components/Pagination';
|
|
2
|
-
|
|
3
2
|
declare const Pagination: ({ totalData, totalPage, pageNumber, pageSize, className, id, kind, prevIcon, nextIcon, onChange, optionPageSize, offset, zIndex, withGotoPage, withMorePage, withOptionPageSize, }: IPaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default Pagination;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: ({ totalData, totalPage, pageNumber, pageSize, className, id, kind, prevIcon, nextIcon, onChange, optionPageSize, offset, zIndex, withGotoPage, withMorePage, withOptionPageSize, }: import('../../interfaces/components/Pagination').IPaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import { IRefPopover } from '../../interfaces/components/Popover';
|
|
3
|
-
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
|
-
component: import('react').ForwardRefExoticComponent<import('
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<import('..').IPopover & import('react').RefAttributes<IRefPopover>>;
|
|
7
6
|
parameters: {
|
|
8
7
|
layout: string;
|
|
9
8
|
};
|
|
@@ -16,7 +15,7 @@ declare const meta: {
|
|
|
16
15
|
args: {
|
|
17
16
|
onChange: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
18
17
|
};
|
|
19
|
-
render: (args: import('
|
|
18
|
+
render: (args: import('..').IPopover & import('react').RefAttributes<IRefPopover>) => import("react/jsx-runtime").JSX.Element;
|
|
20
19
|
};
|
|
21
20
|
export default meta;
|
|
22
21
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: import('react').ForwardRefExoticComponent<import('../../interfaces/components/RadioCheckbox/RadioCheckbox').IRadioCheckbox & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { IRadioCheckboxLabel } from '../../interfaces/components/RadioCheckbox/RadioCheckboxLabel';
|
|
2
|
-
|
|
3
2
|
declare const RadioCheckboxLabel: ({ radioCheckboxProps, name, id, type, typographyLabel, typographyDesc, fonts, borderRadius, className, disabled, variants, label, desc, backgroundWithHover, ...props }: IRadioCheckboxLabel) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default RadioCheckboxLabel;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: ({ radioCheckboxProps, name, id, type, typographyLabel, typographyDesc, fonts, borderRadius, className, disabled, variants, label, desc, backgroundWithHover, ...props }: import('../../interfaces/components/RadioCheckbox/RadioCheckboxLabel').IRadioCheckboxLabel) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IRefSelectDropdownContainer, ISelectDropdownContainer } from '../../interfaces/components/SelectDropdownContainer';
|
|
3
|
-
|
|
4
3
|
declare const SelectDropdownContainer: <T>(props: ISelectDropdownContainer<T> & {
|
|
5
4
|
ref?: React.ForwardedRef<IRefSelectDropdownContainer<T>>;
|
|
6
5
|
}) => React.ReactNode;
|
|
@@ -1,23 +1,373 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
|
|
2
|
+
import { ISelectDropdownContainer } from '../../interfaces/components/SelectDropdownContainer';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: <T>(props:
|
|
6
|
-
ref?:
|
|
7
|
-
}) =>
|
|
5
|
+
component: <T>(props: ISelectDropdownContainer<T> & {
|
|
6
|
+
ref?: React.ForwardedRef<import('..').IRefSelectDropdownContainer<T>>;
|
|
7
|
+
}) => React.ReactNode;
|
|
8
8
|
parameters: {
|
|
9
9
|
layout: string;
|
|
10
10
|
};
|
|
11
11
|
tags: string[];
|
|
12
12
|
argTypes: {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
width: {
|
|
14
|
+
control: "text";
|
|
15
|
+
description: string;
|
|
16
|
+
table: {
|
|
17
|
+
category: string;
|
|
18
|
+
type: {
|
|
19
|
+
summary: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
children: {
|
|
24
|
+
control: {
|
|
25
|
+
disable: true;
|
|
26
|
+
};
|
|
27
|
+
description: string;
|
|
28
|
+
table: {
|
|
29
|
+
category: string;
|
|
30
|
+
type: {
|
|
31
|
+
summary: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
classNameContainer: {
|
|
36
|
+
control: "text";
|
|
37
|
+
description: string;
|
|
38
|
+
table: {
|
|
39
|
+
category: string;
|
|
40
|
+
type: {
|
|
41
|
+
summary: string;
|
|
42
|
+
};
|
|
43
|
+
defaultValue: {
|
|
44
|
+
summary: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
classNameContainerShowSelect: {
|
|
49
|
+
control: "text";
|
|
50
|
+
description: string;
|
|
51
|
+
table: {
|
|
52
|
+
category: string;
|
|
53
|
+
type: {
|
|
54
|
+
summary: string;
|
|
55
|
+
};
|
|
56
|
+
defaultValue: {
|
|
57
|
+
summary: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
classNameContainerSelect: {
|
|
62
|
+
control: "text";
|
|
63
|
+
description: string;
|
|
64
|
+
table: {
|
|
65
|
+
category: string;
|
|
66
|
+
type: {
|
|
67
|
+
summary: string;
|
|
68
|
+
};
|
|
69
|
+
defaultValue: {
|
|
70
|
+
summary: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
classNameLabelError: {
|
|
75
|
+
control: "text";
|
|
76
|
+
description: string;
|
|
77
|
+
table: {
|
|
78
|
+
category: string;
|
|
79
|
+
type: {
|
|
80
|
+
summary: string;
|
|
81
|
+
};
|
|
82
|
+
defaultValue: {
|
|
83
|
+
summary: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
error: {
|
|
88
|
+
control: "text";
|
|
89
|
+
description: string;
|
|
90
|
+
table: {
|
|
91
|
+
category: string;
|
|
92
|
+
type: {
|
|
93
|
+
summary: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
onChange: {
|
|
98
|
+
action: string;
|
|
99
|
+
description: string;
|
|
100
|
+
table: {
|
|
101
|
+
category: string;
|
|
102
|
+
type: {
|
|
103
|
+
summary: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
externalValue: {
|
|
108
|
+
control: "boolean";
|
|
109
|
+
description: string;
|
|
110
|
+
table: {
|
|
111
|
+
category: string;
|
|
112
|
+
type: {
|
|
113
|
+
summary: string;
|
|
114
|
+
};
|
|
115
|
+
defaultValue: {
|
|
116
|
+
summary: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
defaultValueButtonDropdown: {
|
|
121
|
+
control: "object";
|
|
122
|
+
description: string;
|
|
123
|
+
table: {
|
|
124
|
+
category: string;
|
|
125
|
+
type: {
|
|
126
|
+
summary: string;
|
|
127
|
+
};
|
|
128
|
+
defaultValue: {
|
|
129
|
+
summary: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
autoClose: {
|
|
134
|
+
control: "boolean";
|
|
135
|
+
description: string;
|
|
136
|
+
table: {
|
|
137
|
+
category: string;
|
|
138
|
+
type: {
|
|
139
|
+
summary: string;
|
|
140
|
+
};
|
|
141
|
+
defaultValue: {
|
|
142
|
+
summary: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
onMenuOpen: {
|
|
147
|
+
action: string;
|
|
148
|
+
description: string;
|
|
149
|
+
table: {
|
|
150
|
+
category: string;
|
|
151
|
+
type: {
|
|
152
|
+
summary: string;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
autoCloseOutside: {
|
|
157
|
+
control: "boolean";
|
|
158
|
+
description: string;
|
|
159
|
+
table: {
|
|
160
|
+
category: string;
|
|
161
|
+
type: {
|
|
162
|
+
summary: string;
|
|
163
|
+
};
|
|
164
|
+
defaultValue: {
|
|
165
|
+
summary: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
styleInnerPopper: {
|
|
170
|
+
control: "object";
|
|
171
|
+
description: string;
|
|
172
|
+
table: {
|
|
173
|
+
category: string;
|
|
174
|
+
type: {
|
|
175
|
+
summary: string;
|
|
176
|
+
};
|
|
177
|
+
defaultValue: {
|
|
178
|
+
summary: string;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
onMenuClose: {
|
|
183
|
+
action: string;
|
|
184
|
+
description: string;
|
|
185
|
+
table: {
|
|
186
|
+
category: string;
|
|
187
|
+
type: {
|
|
188
|
+
summary: string;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
zIndexPopper: {
|
|
193
|
+
control: "number";
|
|
194
|
+
description: string;
|
|
195
|
+
table: {
|
|
196
|
+
category: string;
|
|
197
|
+
type: {
|
|
198
|
+
summary: string;
|
|
199
|
+
};
|
|
200
|
+
defaultValue: {
|
|
201
|
+
summary: string;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
id: {
|
|
206
|
+
control: "text";
|
|
207
|
+
description: string;
|
|
208
|
+
table: {
|
|
209
|
+
category: string;
|
|
210
|
+
type: {
|
|
211
|
+
summary: string;
|
|
212
|
+
};
|
|
213
|
+
defaultValue: {
|
|
214
|
+
summary: string;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
idPopover: {
|
|
219
|
+
control: "text";
|
|
220
|
+
description: string;
|
|
221
|
+
table: {
|
|
222
|
+
category: string;
|
|
223
|
+
type: {
|
|
224
|
+
summary: string;
|
|
225
|
+
};
|
|
226
|
+
defaultValue: {
|
|
227
|
+
summary: string;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
useAutoPlacement: {
|
|
232
|
+
control: "boolean";
|
|
233
|
+
description: string;
|
|
234
|
+
table: {
|
|
235
|
+
category: string;
|
|
236
|
+
type: {
|
|
237
|
+
summary: string;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
flipOptions: {
|
|
242
|
+
control: "object";
|
|
243
|
+
description: string;
|
|
244
|
+
table: {
|
|
245
|
+
category: string;
|
|
246
|
+
type: {
|
|
247
|
+
summary: string;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
autoPlacementOptions: {
|
|
252
|
+
control: "object";
|
|
253
|
+
description: string;
|
|
254
|
+
table: {
|
|
255
|
+
category: string;
|
|
256
|
+
type: {
|
|
257
|
+
summary: string;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
floatingOptions: {
|
|
262
|
+
control: "object";
|
|
263
|
+
description: string;
|
|
264
|
+
table: {
|
|
265
|
+
category: string;
|
|
266
|
+
type: {
|
|
267
|
+
summary: string;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
withSearch: {
|
|
272
|
+
control: "boolean";
|
|
273
|
+
description: string;
|
|
274
|
+
table: {
|
|
275
|
+
category: string;
|
|
276
|
+
type: {
|
|
277
|
+
summary: string;
|
|
278
|
+
};
|
|
279
|
+
defaultValue: {
|
|
280
|
+
summary: string;
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
components: {
|
|
285
|
+
control: {
|
|
286
|
+
disable: true;
|
|
287
|
+
};
|
|
288
|
+
description: string;
|
|
289
|
+
table: {
|
|
290
|
+
category: string;
|
|
291
|
+
type: {
|
|
292
|
+
summary: string;
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
selectProps: {
|
|
297
|
+
control: "object";
|
|
298
|
+
description: string;
|
|
299
|
+
table: {
|
|
300
|
+
category: string;
|
|
301
|
+
type: {
|
|
302
|
+
summary: string;
|
|
303
|
+
};
|
|
304
|
+
defaultValue: {
|
|
305
|
+
summary: string;
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
offsetPopover: {
|
|
310
|
+
control: "number";
|
|
311
|
+
description: string;
|
|
312
|
+
table: {
|
|
313
|
+
category: string;
|
|
314
|
+
type: {
|
|
315
|
+
summary: string;
|
|
316
|
+
};
|
|
317
|
+
defaultValue: {
|
|
318
|
+
summary: string;
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
errorLabel: {
|
|
323
|
+
control: {
|
|
324
|
+
type: "select";
|
|
325
|
+
};
|
|
326
|
+
options: string[];
|
|
327
|
+
description: string;
|
|
328
|
+
table: {
|
|
329
|
+
category: string;
|
|
330
|
+
type: {
|
|
331
|
+
summary: string;
|
|
332
|
+
};
|
|
333
|
+
defaultValue: {
|
|
334
|
+
summary: string;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
actionValueChange: {
|
|
339
|
+
action: string;
|
|
340
|
+
description: string;
|
|
341
|
+
table: {
|
|
342
|
+
category: string;
|
|
343
|
+
type: {
|
|
344
|
+
summary: string;
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
controlType: {
|
|
349
|
+
control: {
|
|
350
|
+
type: "select";
|
|
351
|
+
};
|
|
352
|
+
options: string[];
|
|
353
|
+
description: string;
|
|
354
|
+
table: {
|
|
355
|
+
category: string;
|
|
356
|
+
type: {
|
|
357
|
+
summary: string;
|
|
358
|
+
};
|
|
359
|
+
defaultValue: {
|
|
360
|
+
summary: string;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
15
363
|
};
|
|
16
364
|
};
|
|
17
365
|
args: {
|
|
18
366
|
onChange: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
19
367
|
};
|
|
20
|
-
render: (
|
|
368
|
+
render: (args: ISelectDropdownContainer<unknown> & {
|
|
369
|
+
ref?: import('react').ForwardedRef<import('..').IRefSelectDropdownContainer<unknown>> | undefined;
|
|
370
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
21
371
|
};
|
|
22
372
|
export default meta;
|
|
23
373
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ElementType } from 'react';
|
|
2
2
|
import { IItemSidebar } from '../../interfaces/components/Sidebar';
|
|
3
|
-
|
|
4
3
|
declare const ItemSidebar: <T extends ElementType = "div">({ as, show, open, patch, iconSubs, variant, setShow, onClickItems, propsLink, ...value }: IItemSidebar<T>) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export default ItemSidebar;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IRefSidebar, ISidebar } from '../../interfaces/components/Sidebar';
|
|
3
|
-
|
|
4
3
|
declare const Sidebar: <T extends React.ElementType = "div">(props: ISidebar<T> & {
|
|
5
4
|
ref?: React.ForwardedRef<IRefSidebar>;
|
|
6
5
|
}) => React.ReactNode;
|