1mpacto-react-ui 0.2.0-beta.9 → 2.0.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/dist/assets/_colors.scss +80 -0
- package/dist/assets/_mixins.scss +32 -5
- package/dist/assets/_typography.scss +582 -0
- package/dist/assets/colors.css +40 -0
- package/dist/assets/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/assets/fonts/PlusJakartaSans-Italic.ttf +0 -0
- package/dist/assets/fonts/PlusJakartaSans.ttf +0 -0
- package/dist/assets/style.css +1 -1
- package/dist/assets/typography.css +96 -0
- package/dist/index.cjs +108 -96
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +16743 -15220
- package/dist/package.json.d.ts +1 -1
- package/dist/src/components/Badges/Badges.config.d.ts +57 -0
- package/dist/src/components/Badges/Badges.stories.d.ts +115 -1
- package/dist/src/components/Breadcrumbs/Breadcrumbs.config.d.ts +113 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +219 -5
- package/dist/src/components/Button/Button.config.d.ts +70 -0
- package/dist/src/components/Button/Button.stories.d.ts +127 -3
- package/dist/src/components/ButtonIcon/ButtonIcon.config.d.ts +53 -0
- package/dist/src/components/ButtonIcon/ButtonIcon.stories.d.ts +121 -3
- package/dist/src/components/ButtonPopover/ButtonPopover.stories.d.ts +256 -1
- package/dist/src/components/Calendar/Calendar.d.ts +2 -1
- package/dist/src/components/Calendar/Calendar.stories.d.ts +281 -1
- package/dist/src/components/Chart/GradientBarChart.stories.d.ts +67 -1
- package/dist/src/components/Chart/GradientLineChart.stories.d.ts +78 -1
- package/dist/src/components/Chart/LineChart.stories.d.ts +33 -1
- package/dist/src/components/Chips/Chips.config.d.ts +35 -0
- package/dist/src/components/Chips/Chips.stories.d.ts +135 -1
- package/dist/src/components/Collapse/Collapse.stories.d.ts +87 -1
- package/dist/src/components/Collapse/CollapseV2.stories.d.ts +57 -1
- package/dist/src/components/DatePicker/DatePicker.stories.d.ts +219 -1
- package/dist/src/components/DatePicker/FilterDate.d.ts +1 -1
- package/dist/src/components/DatePicker/FilterDate.stories.d.ts +230 -2
- package/dist/src/components/DatePicker/MonthYearPicker.stories.d.ts +196 -1
- package/dist/src/components/ErrorMessage/ErrorMessage.config.d.ts +8 -0
- package/dist/src/components/ErrorMessage/ErrorMessage.stories.d.ts +37 -1
- package/dist/src/components/FilterContainer/FilterContainer.stories.d.ts +164 -0
- package/dist/src/components/Input/InputFloatingInner.config.d.ts +9 -0
- package/dist/src/components/Input/InputFloatingInner.stories.d.ts +175 -5
- package/dist/src/components/Input/InputInnerLabel.config.d.ts +8 -0
- package/dist/src/components/Input/InputInnerLabel.d.ts +4 -0
- package/dist/src/components/Input/InputInnerLabel.stories.d.ts +204 -0
- package/dist/src/components/Input/InputNative.config.d.ts +9 -0
- package/dist/src/components/Input/InputNative.stories.d.ts +147 -4
- package/dist/src/components/Input/InputReguler.config.d.ts +9 -0
- package/dist/src/components/Input/InputReguler.stories.d.ts +175 -5
- package/dist/src/components/Modal/ModalDialog.config.d.ts +9 -0
- package/dist/src/components/Modal/ModalDialog.stories.d.ts +119 -1
- package/dist/src/components/NumberFormat/NumberFormat.stories.d.ts +371 -17
- package/dist/src/components/Pagination/Pagination.config.d.ts +5 -0
- package/dist/src/components/Pagination/Pagination.d.ts +1 -1
- package/dist/src/components/Pagination/Pagination.stories.d.ts +198 -2
- package/dist/src/components/Popover/Popover.stories.d.ts +212 -4
- package/dist/src/components/PortalComponent/PortalComponent.stories.d.ts +60 -0
- package/dist/src/components/RadioCheckbox/RadioCheckbox.config.d.ts +41 -0
- package/dist/src/components/RadioCheckbox/RadioCheckbox.stories.d.ts +228 -7
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.config.d.ts +25 -0
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.stories.d.ts +194 -3
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.config.d.ts +26 -0
- package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +4 -1
- package/dist/src/components/Sidebar/ItemSidebar.config.d.ts +34 -0
- package/dist/src/components/Sidebar/Sidebar.config.d.ts +16 -0
- package/dist/src/components/Step/Step.stories.d.ts +133 -1
- package/dist/src/components/Step/StepIndicator.stories.d.ts +146 -1
- package/dist/src/components/Switch/Switch.config.d.ts +26 -0
- package/dist/src/components/Switch/Switch.stories.d.ts +126 -1
- package/dist/src/components/Table/Table.config.d.ts +4 -0
- package/dist/src/components/Table/Table.d.ts +2 -3
- package/dist/src/components/Table/Table.stories.d.ts +69 -51
- package/dist/src/components/Table/TableSubMobile.d.ts +3 -0
- package/dist/src/components/Tabs/Tabs.config.d.ts +31 -0
- package/dist/src/components/Tabs/Tabs.d.ts +1 -1
- package/dist/src/components/Tabs/Tabs.stories.d.ts +218 -2
- package/dist/src/components/TextEditor/TextEditor.stories.d.ts +57 -9
- package/dist/src/components/Textarea/Textarea.config.d.ts +31 -0
- package/dist/src/components/Textarea/Textarea.stories.d.ts +248 -2
- package/dist/src/components/Textarea/TextareaFloatingInner.config.d.ts +6 -0
- package/dist/src/components/Textarea/TextareaFloatingInner.stories.d.ts +258 -2
- package/dist/src/components/Textarea/TextareaInnerLabel.config.d.ts +7 -0
- package/dist/src/components/Textarea/TextareaInnerLabel.d.ts +4 -0
- package/dist/src/components/Textarea/TextareaInnerLabel.stories.d.ts +258 -0
- package/dist/src/components/TimeRange/TimeRange.d.ts +3 -0
- package/dist/src/components/TimeRange/TimeRange.stories.d.ts +185 -0
- package/dist/src/components/Timeline/Timeline.stories.d.ts +38 -1
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts +157 -1
- package/dist/src/components/TruncateComponent/TruncateComponent.stories.d.ts +104 -1
- package/dist/src/components/Upload/UploadFile.stories.d.ts +125 -1
- package/dist/src/components/Upload/UploadImage.d.ts +1 -1
- package/dist/src/components/Upload/UploadImage.stories.d.ts +143 -2
- package/dist/src/components/Upload/UploadMultipleFile.d.ts +1 -1
- package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +188 -2
- package/dist/src/components/Virtualization/ListVirtualization.stories.d.ts +277 -1
- package/dist/src/components/Virtualization/TableVirtualization.stories.d.ts +294 -1
- package/dist/src/components/index.d.ts +14 -8
- package/dist/src/components/screens/Screens.stories.d.ts +13 -0
- package/dist/src/config/components/borderRadius.d.ts +1 -0
- package/dist/src/config/components/font.d.ts +7 -0
- package/dist/src/config/components/gap.d.ts +1 -0
- package/dist/src/config/components/typography.d.ts +3 -49
- package/dist/src/config/tailwind/index.d.ts +2 -1
- package/dist/src/config/tailwind/nativeScreen.d.ts +3 -0
- package/dist/src/config/tailwind/typography.d.ts +1 -0
- package/dist/src/hooks/index.d.ts +5 -3
- package/dist/src/hooks/useAsyncDebounce.d.ts +9 -0
- package/dist/src/hooks/useCombinedResizeObserver.d.ts +66 -0
- package/dist/src/hooks/useCountdown.d.ts +67 -3
- package/dist/src/hooks/useDeepCompareEffect.d.ts +13 -0
- package/dist/src/hooks/useElementOrWindowMediaQuery.d.ts +9 -0
- package/dist/src/hooks/useEventListener.d.ts +27 -0
- package/dist/src/hooks/useMasonry.d.ts +79 -0
- package/dist/src/hooks/useMergeRefs.d.ts +26 -0
- package/dist/src/hooks/useOtpInput.d.ts +199 -0
- package/dist/src/hooks/useStateRef.d.ts +8 -0
- package/dist/src/interfaces/components/Alert/index.d.ts +8 -0
- package/dist/src/interfaces/components/Badges/index.d.ts +30 -1
- package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +85 -2
- package/dist/src/interfaces/components/Button/index.d.ts +46 -2
- package/dist/src/interfaces/components/ButtonIcon/index.d.ts +36 -0
- package/dist/src/interfaces/components/ButtonPopover/index.d.ts +78 -0
- package/dist/src/interfaces/components/Calendar/index.d.ts +384 -3
- package/dist/src/interfaces/components/Chart/index.d.ts +460 -0
- package/dist/src/interfaces/components/Checkbox/index.d.ts +12 -0
- package/dist/src/interfaces/components/Chips/index.d.ts +38 -1
- package/dist/src/interfaces/components/Collapse/index.d.ts +60 -0
- package/dist/src/interfaces/components/DatePicker/index.d.ts +277 -1
- package/dist/src/interfaces/components/ErrorMessage/index.d.ts +17 -1
- package/dist/src/interfaces/components/FilterContainer/index.d.ts +102 -0
- package/dist/src/interfaces/components/Input/index.d.ts +193 -0
- package/dist/src/interfaces/components/Modal/index.d.ts +45 -0
- package/dist/src/interfaces/components/NumberFormat/index.d.ts +25 -0
- package/dist/src/interfaces/components/Pagination/index.d.ts +83 -0
- package/dist/src/interfaces/components/Popover/index.d.ts +98 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +59 -2
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +46 -1
- package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +196 -2
- package/dist/src/interfaces/components/Sidebar/index.d.ts +229 -1
- package/dist/src/interfaces/components/Step/index.d.ts +153 -0
- package/dist/src/interfaces/components/Switch/index.d.ts +54 -1
- package/dist/src/interfaces/components/Table/index.d.ts +402 -6
- package/dist/src/interfaces/components/Tabs/index.d.ts +130 -1
- package/dist/src/interfaces/components/TextEditor/index.d.ts +12 -0
- package/dist/src/interfaces/components/Textarea/index.d.ts +169 -0
- package/dist/src/interfaces/components/TimeRange/index.d.ts +128 -0
- package/dist/src/interfaces/components/Timeline/index.d.ts +36 -0
- package/dist/src/interfaces/components/Tooltip/index.d.ts +56 -0
- package/dist/src/interfaces/components/TruncateComponent/index.d.ts +34 -0
- package/dist/src/interfaces/components/UploadFile/index.d.ts +186 -0
- package/dist/src/interfaces/components/Virtualization/ListVirtualization.d.ts +138 -0
- package/dist/src/interfaces/components/Virtualization/TableVirtualization.d.ts +143 -0
- package/dist/src/utils/common.d.ts +4 -4
- package/dist/src/utils/constant.d.ts +1 -0
- package/dist/types-external/table.d.ts +3 -0
- package/package.json +1 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.mjs.map +0 -1
|
@@ -6,7 +6,152 @@ declare const meta: {
|
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
8
8
|
tags: string[];
|
|
9
|
-
argTypes: {
|
|
9
|
+
argTypes: {
|
|
10
|
+
countStep: {
|
|
11
|
+
control: "number";
|
|
12
|
+
description: string;
|
|
13
|
+
table: {
|
|
14
|
+
category: string;
|
|
15
|
+
type: {
|
|
16
|
+
summary: string;
|
|
17
|
+
};
|
|
18
|
+
defaultValue: {
|
|
19
|
+
summary: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
locationStepIndicator: {
|
|
24
|
+
control: {
|
|
25
|
+
type: "select";
|
|
26
|
+
};
|
|
27
|
+
options: string[];
|
|
28
|
+
description: string;
|
|
29
|
+
table: {
|
|
30
|
+
category: string;
|
|
31
|
+
type: {
|
|
32
|
+
summary: string;
|
|
33
|
+
};
|
|
34
|
+
defaultValue: {
|
|
35
|
+
summary: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
activeStep: {
|
|
40
|
+
control: "number";
|
|
41
|
+
description: string;
|
|
42
|
+
table: {
|
|
43
|
+
category: string;
|
|
44
|
+
type: {
|
|
45
|
+
summary: string;
|
|
46
|
+
};
|
|
47
|
+
defaultValue: {
|
|
48
|
+
summary: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
widthStepIndicator: {
|
|
53
|
+
control: "text";
|
|
54
|
+
description: string;
|
|
55
|
+
table: {
|
|
56
|
+
category: string;
|
|
57
|
+
type: {
|
|
58
|
+
summary: string;
|
|
59
|
+
};
|
|
60
|
+
defaultValue: {
|
|
61
|
+
summary: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
dynamicWidthStepIndicator: {
|
|
66
|
+
control: "boolean";
|
|
67
|
+
description: string;
|
|
68
|
+
table: {
|
|
69
|
+
category: string;
|
|
70
|
+
type: {
|
|
71
|
+
summary: string;
|
|
72
|
+
};
|
|
73
|
+
defaultValue: {
|
|
74
|
+
summary: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
gapStepIndicator: {
|
|
79
|
+
control: "text";
|
|
80
|
+
description: string;
|
|
81
|
+
table: {
|
|
82
|
+
category: string;
|
|
83
|
+
type: {
|
|
84
|
+
summary: string;
|
|
85
|
+
};
|
|
86
|
+
defaultValue: {
|
|
87
|
+
summary: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
classNameContainer: {
|
|
92
|
+
control: "text";
|
|
93
|
+
description: string;
|
|
94
|
+
table: {
|
|
95
|
+
category: string;
|
|
96
|
+
type: {
|
|
97
|
+
summary: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
classNameStepIndicatorContainer: {
|
|
102
|
+
control: "text";
|
|
103
|
+
description: string;
|
|
104
|
+
table: {
|
|
105
|
+
category: string;
|
|
106
|
+
type: {
|
|
107
|
+
summary: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
classNameStepIndicator: {
|
|
112
|
+
control: "text";
|
|
113
|
+
description: string;
|
|
114
|
+
table: {
|
|
115
|
+
category: string;
|
|
116
|
+
type: {
|
|
117
|
+
summary: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
classNameActiveStepIndicator: {
|
|
122
|
+
control: "text";
|
|
123
|
+
description: string;
|
|
124
|
+
table: {
|
|
125
|
+
category: string;
|
|
126
|
+
type: {
|
|
127
|
+
summary: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
classNameDesc: {
|
|
132
|
+
control: "text";
|
|
133
|
+
description: string;
|
|
134
|
+
table: {
|
|
135
|
+
category: string;
|
|
136
|
+
type: {
|
|
137
|
+
summary: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
id: {
|
|
142
|
+
control: "text";
|
|
143
|
+
description: string;
|
|
144
|
+
table: {
|
|
145
|
+
category: string;
|
|
146
|
+
type: {
|
|
147
|
+
summary: string;
|
|
148
|
+
};
|
|
149
|
+
defaultValue: {
|
|
150
|
+
summary: string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
};
|
|
10
155
|
};
|
|
11
156
|
export default meta;
|
|
12
157
|
type Story = StoryObj<typeof meta>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const configSwitch: {
|
|
2
|
+
size: {
|
|
3
|
+
large: string;
|
|
4
|
+
regular: string;
|
|
5
|
+
small: string;
|
|
6
|
+
};
|
|
7
|
+
kind: {
|
|
8
|
+
laba: string;
|
|
9
|
+
payhere: string;
|
|
10
|
+
bill: string;
|
|
11
|
+
};
|
|
12
|
+
text: {
|
|
13
|
+
title: {
|
|
14
|
+
laba: string;
|
|
15
|
+
payhere: string;
|
|
16
|
+
bill: string;
|
|
17
|
+
};
|
|
18
|
+
desc: {
|
|
19
|
+
laba: string;
|
|
20
|
+
payhere: string;
|
|
21
|
+
bill: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare const keysConfigSwitchSize: string[];
|
|
26
|
+
export declare const keysConfigSwitchKind: string[];
|
|
@@ -7,8 +7,133 @@ declare const meta: {
|
|
|
7
7
|
};
|
|
8
8
|
tags: string[];
|
|
9
9
|
argTypes: {
|
|
10
|
+
value: {
|
|
11
|
+
control: "boolean";
|
|
12
|
+
description: string;
|
|
13
|
+
table: {
|
|
14
|
+
category: string;
|
|
15
|
+
type: {
|
|
16
|
+
summary: string;
|
|
17
|
+
};
|
|
18
|
+
defaultValue: {
|
|
19
|
+
summary: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
disabled: {
|
|
24
|
+
control: "boolean";
|
|
25
|
+
description: string;
|
|
26
|
+
table: {
|
|
27
|
+
category: string;
|
|
28
|
+
type: {
|
|
29
|
+
summary: string;
|
|
30
|
+
};
|
|
31
|
+
defaultValue: {
|
|
32
|
+
summary: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
size: {
|
|
37
|
+
control: {
|
|
38
|
+
type: "select";
|
|
39
|
+
};
|
|
40
|
+
options: string[];
|
|
41
|
+
description: string;
|
|
42
|
+
table: {
|
|
43
|
+
category: string;
|
|
44
|
+
type: {
|
|
45
|
+
summary: string;
|
|
46
|
+
};
|
|
47
|
+
defaultValue: {
|
|
48
|
+
summary: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
kind: {
|
|
53
|
+
control: {
|
|
54
|
+
type: "select";
|
|
55
|
+
};
|
|
56
|
+
options: string[];
|
|
57
|
+
description: string;
|
|
58
|
+
table: {
|
|
59
|
+
category: string;
|
|
60
|
+
type: {
|
|
61
|
+
summary: string;
|
|
62
|
+
};
|
|
63
|
+
defaultValue: {
|
|
64
|
+
summary: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
};
|
|
10
68
|
className: {
|
|
11
|
-
|
|
69
|
+
control: "text";
|
|
70
|
+
description: string;
|
|
71
|
+
table: {
|
|
72
|
+
category: string;
|
|
73
|
+
type: {
|
|
74
|
+
summary: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
classNameTitle: {
|
|
79
|
+
control: "text";
|
|
80
|
+
description: string;
|
|
81
|
+
table: {
|
|
82
|
+
category: string;
|
|
83
|
+
type: {
|
|
84
|
+
summary: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
classNameDesc: {
|
|
89
|
+
control: "text";
|
|
90
|
+
description: string;
|
|
91
|
+
table: {
|
|
92
|
+
category: string;
|
|
93
|
+
type: {
|
|
94
|
+
summary: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
title: {
|
|
99
|
+
control: "text";
|
|
100
|
+
description: string;
|
|
101
|
+
table: {
|
|
102
|
+
category: string;
|
|
103
|
+
type: {
|
|
104
|
+
summary: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
description: {
|
|
109
|
+
control: "text";
|
|
110
|
+
description: string;
|
|
111
|
+
table: {
|
|
112
|
+
category: string;
|
|
113
|
+
type: {
|
|
114
|
+
summary: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
onChange: {
|
|
119
|
+
action: string;
|
|
120
|
+
description: string;
|
|
121
|
+
table: {
|
|
122
|
+
category: string;
|
|
123
|
+
type: {
|
|
124
|
+
summary: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
id: {
|
|
129
|
+
control: "text";
|
|
130
|
+
description: string;
|
|
131
|
+
table: {
|
|
132
|
+
category: string;
|
|
133
|
+
type: {
|
|
134
|
+
summary: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
12
137
|
};
|
|
13
138
|
};
|
|
14
139
|
args: {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ITable, IVirtualizationHead, IVirtualizationTable
|
|
3
|
-
export declare const ConfigTable: () => ITableConfig;
|
|
2
|
+
import { ITable, IVirtualizationHead, IVirtualizationTable } from '../../interfaces/components/Table';
|
|
4
3
|
export declare const VirtualizationHead: React.ForwardRefExoticComponent<Omit<IVirtualizationHead, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
5
4
|
export declare const VirtualizationTable: ({ style, context, ...props }: IVirtualizationTable) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare const Table: <T>({ tableInstance, classNameWrapperTable, classNameTable, collapseAll, handlerRowClick, privillageRowClick, virtualization, virtualizationProps, headerId, tbodyTrId, maxHeight, idCalculateHeight, kind, componentSortASC, componentSortDESC, scrollTop, emptyPlaceholder, variant, renderSubComponent, }: ITable<T>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const Table: <T>({ tableInstance, classNameWrapperTable, classNameTable, collapseAll, handlerRowClick, privillageRowClick, virtualization, virtualizationProps, headerId, tbodyTrId, maxHeight, idCalculateHeight, kind, componentSortASC, componentSortDESC, scrollTop, emptyPlaceholder, variant, renderSubComponent, columnBreakpoints, }: ITable<T>) => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export default Table;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: <T>({ tableInstance, classNameWrapperTable, classNameTable, collapseAll, handlerRowClick, privillageRowClick, virtualization, virtualizationProps, headerId, tbodyTrId, maxHeight, idCalculateHeight, kind, componentSortASC, componentSortDESC, scrollTop, emptyPlaceholder, variant, renderSubComponent, }: import('../../interfaces/components/Table').ITable<T>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
component: <T>({ tableInstance, classNameWrapperTable, classNameTable, collapseAll, handlerRowClick, privillageRowClick, virtualization, virtualizationProps, headerId, tbodyTrId, maxHeight, idCalculateHeight, kind, componentSortASC, componentSortDESC, scrollTop, emptyPlaceholder, variant, renderSubComponent, columnBreakpoints, }: import('../../interfaces/components/Table').ITable<T>) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
8
8
|
tags: string[];
|
|
9
9
|
argTypes: {
|
|
10
10
|
tableInstance: {
|
|
11
|
-
control:
|
|
12
|
-
disable: true;
|
|
13
|
-
};
|
|
11
|
+
control: "object";
|
|
14
12
|
description: string;
|
|
15
13
|
table: {
|
|
16
14
|
category: string;
|
|
@@ -45,8 +43,11 @@ declare const meta: {
|
|
|
45
43
|
};
|
|
46
44
|
};
|
|
47
45
|
};
|
|
48
|
-
|
|
49
|
-
control:
|
|
46
|
+
kind: {
|
|
47
|
+
control: {
|
|
48
|
+
type: "select";
|
|
49
|
+
};
|
|
50
|
+
options: string[];
|
|
50
51
|
description: string;
|
|
51
52
|
table: {
|
|
52
53
|
category: string;
|
|
@@ -58,20 +59,24 @@ declare const meta: {
|
|
|
58
59
|
};
|
|
59
60
|
};
|
|
60
61
|
};
|
|
61
|
-
|
|
62
|
+
variant: {
|
|
62
63
|
control: {
|
|
63
|
-
|
|
64
|
+
type: "select";
|
|
64
65
|
};
|
|
66
|
+
options: string[];
|
|
65
67
|
description: string;
|
|
66
68
|
table: {
|
|
67
69
|
category: string;
|
|
68
70
|
type: {
|
|
69
71
|
summary: string;
|
|
70
72
|
};
|
|
73
|
+
defaultValue: {
|
|
74
|
+
summary: string;
|
|
75
|
+
};
|
|
71
76
|
};
|
|
72
77
|
};
|
|
73
|
-
|
|
74
|
-
control: "
|
|
78
|
+
maxHeight: {
|
|
79
|
+
control: "number";
|
|
75
80
|
description: string;
|
|
76
81
|
table: {
|
|
77
82
|
category: string;
|
|
@@ -83,8 +88,8 @@ declare const meta: {
|
|
|
83
88
|
};
|
|
84
89
|
};
|
|
85
90
|
};
|
|
86
|
-
|
|
87
|
-
control: "
|
|
91
|
+
columnBreakpoints: {
|
|
92
|
+
control: "object";
|
|
88
93
|
description: string;
|
|
89
94
|
table: {
|
|
90
95
|
category: string;
|
|
@@ -96,20 +101,21 @@ declare const meta: {
|
|
|
96
101
|
};
|
|
97
102
|
};
|
|
98
103
|
};
|
|
99
|
-
|
|
100
|
-
control:
|
|
101
|
-
disable: true;
|
|
102
|
-
};
|
|
104
|
+
collapseAll: {
|
|
105
|
+
control: "boolean";
|
|
103
106
|
description: string;
|
|
104
107
|
table: {
|
|
105
108
|
category: string;
|
|
106
109
|
type: {
|
|
107
110
|
summary: string;
|
|
108
111
|
};
|
|
112
|
+
defaultValue: {
|
|
113
|
+
summary: string;
|
|
114
|
+
};
|
|
109
115
|
};
|
|
110
116
|
};
|
|
111
|
-
|
|
112
|
-
control: "
|
|
117
|
+
privillageRowClick: {
|
|
118
|
+
control: "boolean";
|
|
113
119
|
description: string;
|
|
114
120
|
table: {
|
|
115
121
|
category: string;
|
|
@@ -121,10 +127,8 @@ declare const meta: {
|
|
|
121
127
|
};
|
|
122
128
|
};
|
|
123
129
|
};
|
|
124
|
-
|
|
125
|
-
control:
|
|
126
|
-
disable: true;
|
|
127
|
-
};
|
|
130
|
+
virtualization: {
|
|
131
|
+
control: "boolean";
|
|
128
132
|
description: string;
|
|
129
133
|
table: {
|
|
130
134
|
category: string;
|
|
@@ -136,8 +140,8 @@ declare const meta: {
|
|
|
136
140
|
};
|
|
137
141
|
};
|
|
138
142
|
};
|
|
139
|
-
|
|
140
|
-
control: "
|
|
143
|
+
virtualizationProps: {
|
|
144
|
+
control: "object";
|
|
141
145
|
description: string;
|
|
142
146
|
table: {
|
|
143
147
|
category: string;
|
|
@@ -162,11 +166,8 @@ declare const meta: {
|
|
|
162
166
|
};
|
|
163
167
|
};
|
|
164
168
|
};
|
|
165
|
-
|
|
166
|
-
control:
|
|
167
|
-
type: "select";
|
|
168
|
-
};
|
|
169
|
-
options: string[];
|
|
169
|
+
scrollTop: {
|
|
170
|
+
control: "boolean";
|
|
170
171
|
description: string;
|
|
171
172
|
table: {
|
|
172
173
|
category: string;
|
|
@@ -178,45 +179,47 @@ declare const meta: {
|
|
|
178
179
|
};
|
|
179
180
|
};
|
|
180
181
|
};
|
|
181
|
-
|
|
182
|
-
control:
|
|
183
|
-
type: "select";
|
|
184
|
-
};
|
|
185
|
-
options: string[];
|
|
182
|
+
componentSortASC: {
|
|
183
|
+
control: "object";
|
|
186
184
|
description: string;
|
|
187
185
|
table: {
|
|
188
186
|
category: string;
|
|
189
187
|
type: {
|
|
190
188
|
summary: string;
|
|
191
189
|
};
|
|
190
|
+
defaultValue: {
|
|
191
|
+
summary: string;
|
|
192
|
+
};
|
|
192
193
|
};
|
|
193
194
|
};
|
|
194
|
-
|
|
195
|
-
control:
|
|
196
|
-
disable: true;
|
|
197
|
-
};
|
|
195
|
+
componentSortDESC: {
|
|
196
|
+
control: "object";
|
|
198
197
|
description: string;
|
|
199
198
|
table: {
|
|
200
199
|
category: string;
|
|
201
200
|
type: {
|
|
202
201
|
summary: string;
|
|
203
202
|
};
|
|
203
|
+
defaultValue: {
|
|
204
|
+
summary: string;
|
|
205
|
+
};
|
|
204
206
|
};
|
|
205
207
|
};
|
|
206
|
-
|
|
207
|
-
control:
|
|
208
|
-
disable: true;
|
|
209
|
-
};
|
|
208
|
+
emptyPlaceholder: {
|
|
209
|
+
control: "object";
|
|
210
210
|
description: string;
|
|
211
211
|
table: {
|
|
212
212
|
category: string;
|
|
213
213
|
type: {
|
|
214
214
|
summary: string;
|
|
215
215
|
};
|
|
216
|
+
defaultValue: {
|
|
217
|
+
summary: string;
|
|
218
|
+
};
|
|
216
219
|
};
|
|
217
220
|
};
|
|
218
|
-
|
|
219
|
-
|
|
221
|
+
renderSubComponent: {
|
|
222
|
+
action: string;
|
|
220
223
|
description: string;
|
|
221
224
|
table: {
|
|
222
225
|
category: string;
|
|
@@ -228,28 +231,43 @@ declare const meta: {
|
|
|
228
231
|
};
|
|
229
232
|
};
|
|
230
233
|
};
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
disable: true;
|
|
234
|
-
};
|
|
234
|
+
handlerRowClick: {
|
|
235
|
+
action: string;
|
|
235
236
|
description: string;
|
|
236
237
|
table: {
|
|
237
238
|
category: string;
|
|
238
239
|
type: {
|
|
239
240
|
summary: string;
|
|
240
241
|
};
|
|
242
|
+
defaultValue: {
|
|
243
|
+
summary: string;
|
|
244
|
+
};
|
|
241
245
|
};
|
|
242
246
|
};
|
|
243
|
-
|
|
244
|
-
control:
|
|
245
|
-
|
|
247
|
+
headerId: {
|
|
248
|
+
control: "text";
|
|
249
|
+
description: string;
|
|
250
|
+
table: {
|
|
251
|
+
category: string;
|
|
252
|
+
type: {
|
|
253
|
+
summary: string;
|
|
254
|
+
};
|
|
255
|
+
defaultValue: {
|
|
256
|
+
summary: string;
|
|
257
|
+
};
|
|
246
258
|
};
|
|
259
|
+
};
|
|
260
|
+
tbodyTrId: {
|
|
261
|
+
action: string;
|
|
247
262
|
description: string;
|
|
248
263
|
table: {
|
|
249
264
|
category: string;
|
|
250
265
|
type: {
|
|
251
266
|
summary: string;
|
|
252
267
|
};
|
|
268
|
+
defaultValue: {
|
|
269
|
+
summary: string;
|
|
270
|
+
};
|
|
253
271
|
};
|
|
254
272
|
};
|
|
255
273
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const configTabs: {
|
|
2
|
+
tabsVariant: {
|
|
3
|
+
'original-laba-blue-10': string;
|
|
4
|
+
'container-payhere-brand-base': string;
|
|
5
|
+
'container-payhere-brand-base-bg_white': string;
|
|
6
|
+
'container-laba-blue-10': string;
|
|
7
|
+
'container-laba-blue-10-bg_white': string;
|
|
8
|
+
'container-laba-blue-10-bg_blue-01': string;
|
|
9
|
+
'original-bill-secondary-800': string;
|
|
10
|
+
};
|
|
11
|
+
size: {
|
|
12
|
+
'tabs-m': string;
|
|
13
|
+
'tabs-s': string;
|
|
14
|
+
'tabs-medium': string;
|
|
15
|
+
'tabs-small': string;
|
|
16
|
+
};
|
|
17
|
+
borderRadius: {
|
|
18
|
+
'0px': string;
|
|
19
|
+
'2px': string;
|
|
20
|
+
'4px': string;
|
|
21
|
+
'6px': string;
|
|
22
|
+
'8px': string;
|
|
23
|
+
'12px': string;
|
|
24
|
+
'16px': string;
|
|
25
|
+
'24px': string;
|
|
26
|
+
full: string;
|
|
27
|
+
};
|
|
28
|
+
isContainer: string[];
|
|
29
|
+
};
|
|
30
|
+
export declare const keysConfigTabsVariant: string[];
|
|
31
|
+
export declare const keysConfigTabsSize: string[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITabs } from '../../interfaces/components/Tabs';
|
|
2
|
-
declare const Tabs: ({ id, value, keyValueTab, tabsList, className, classNameContainer, classNameButton, variant, size, borderRadius, disabled, animation, mountedExecuteChange, typeButton, onChange, }: ITabs) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Tabs: ({ id, value, keyValueTab, tabsList, className, classNameContainer, classNameButton, variant, size, borderRadius, disabled, animation, mountedExecuteChange, typeButton, onChange, locale, }: ITabs) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Tabs;
|