1mpacto-react-ui 0.2.0-beta.23 → 0.2.0-beta.25

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.
Files changed (90) hide show
  1. package/dist/assets/core.css +1 -1
  2. package/dist/assets/fontfamily.css +1 -1
  3. package/dist/assets/style.css +1 -1
  4. package/dist/index.cjs +103 -104
  5. package/dist/index.mjs +12633 -12491
  6. package/dist/package.json.d.ts +1 -1
  7. package/dist/src/components/Badges/Badges.config.d.ts +57 -0
  8. package/dist/src/components/Badges/Badges.stories.d.ts +115 -1
  9. package/dist/src/components/Breadcrumbs/Breadcrumbs.config.d.ts +113 -0
  10. package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +218 -4
  11. package/dist/src/components/Button/Button.config.d.ts +70 -0
  12. package/dist/src/components/Button/Button.stories.d.ts +127 -3
  13. package/dist/src/components/ButtonIcon/ButtonIcon.config.d.ts +53 -0
  14. package/dist/src/components/ButtonIcon/ButtonIcon.stories.d.ts +121 -3
  15. package/dist/src/components/ButtonPopover/ButtonPopover.stories.d.ts +256 -1
  16. package/dist/src/components/Calendar/Calendar.d.ts +2 -1
  17. package/dist/src/components/Calendar/Calendar.stories.d.ts +281 -1
  18. package/dist/src/components/Chart/GradientBarChart.stories.d.ts +67 -1
  19. package/dist/src/components/Chart/GradientLineChart.stories.d.ts +78 -1
  20. package/dist/src/components/Chart/LineChart.stories.d.ts +33 -1
  21. package/dist/src/components/Chips/Chips.config.d.ts +35 -0
  22. package/dist/src/components/Chips/Chips.stories.d.ts +135 -1
  23. package/dist/src/components/Collapse/Collapse.stories.d.ts +87 -1
  24. package/dist/src/components/Collapse/CollapseV2.stories.d.ts +57 -1
  25. package/dist/src/components/DatePicker/DatePicker.stories.d.ts +219 -1
  26. package/dist/src/components/DatePicker/FilterDate.d.ts +1 -1
  27. package/dist/src/components/DatePicker/FilterDate.stories.d.ts +230 -2
  28. package/dist/src/components/DatePicker/MonthYearPicker.stories.d.ts +196 -1
  29. package/dist/src/components/ErrorMessage/ErrorMessage.config.d.ts +8 -0
  30. package/dist/src/components/ErrorMessage/ErrorMessage.stories.d.ts +37 -1
  31. package/dist/src/components/FilterContainer/FilterContainer.stories.d.ts +164 -0
  32. package/dist/src/components/Input/InputFloatingInner.config.d.ts +9 -0
  33. package/dist/src/components/Input/InputFloatingInner.stories.d.ts +175 -5
  34. package/dist/src/components/Input/InputInnerLabel.config.d.ts +8 -0
  35. package/dist/src/components/Input/InputInnerLabel.stories.d.ts +177 -4
  36. package/dist/src/components/Input/InputNative.config.d.ts +9 -0
  37. package/dist/src/components/Input/InputNative.stories.d.ts +147 -4
  38. package/dist/src/components/Input/InputReguler.config.d.ts +9 -0
  39. package/dist/src/components/Input/InputReguler.stories.d.ts +175 -5
  40. package/dist/src/components/Modal/ModalDialog.config.d.ts +9 -0
  41. package/dist/src/components/Modal/ModalDialog.stories.d.ts +119 -1
  42. package/dist/src/components/NumberFormat/NumberFormat.stories.d.ts +371 -17
  43. package/dist/src/components/Pagination/Pagination.config.d.ts +5 -0
  44. package/dist/src/components/Pagination/Pagination.stories.d.ts +197 -1
  45. package/dist/src/components/Popover/Popover.stories.d.ts +212 -4
  46. package/dist/src/components/PortalComponent/PortalComponent.stories.d.ts +60 -0
  47. package/dist/src/components/RadioCheckbox/RadioCheckbox.config.d.ts +41 -0
  48. package/dist/src/components/RadioCheckbox/RadioCheckbox.stories.d.ts +74 -35
  49. package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.config.d.ts +25 -0
  50. package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.stories.d.ts +194 -3
  51. package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.config.d.ts +26 -0
  52. package/dist/src/components/Sidebar/ItemSidebar.config.d.ts +34 -0
  53. package/dist/src/components/Sidebar/Sidebar.config.d.ts +16 -0
  54. package/dist/src/components/Step/Step.stories.d.ts +133 -1
  55. package/dist/src/components/Step/StepIndicator.stories.d.ts +146 -1
  56. package/dist/src/components/Switch/Switch.config.d.ts +26 -0
  57. package/dist/src/components/Switch/Switch.stories.d.ts +126 -1
  58. package/dist/src/components/Table/Table.config.d.ts +4 -0
  59. package/dist/src/components/Table/Table.d.ts +1 -2
  60. package/dist/src/components/Table/Table.stories.d.ts +68 -50
  61. package/dist/src/components/Tabs/Tabs.config.d.ts +31 -0
  62. package/dist/src/components/Tabs/Tabs.stories.d.ts +217 -1
  63. package/dist/src/components/TextEditor/TextEditor.stories.d.ts +57 -9
  64. package/dist/src/components/Textarea/Textarea.config.d.ts +31 -0
  65. package/dist/src/components/Textarea/Textarea.stories.d.ts +248 -2
  66. package/dist/src/components/Textarea/TextareaFloatingInner.config.d.ts +6 -0
  67. package/dist/src/components/Textarea/TextareaFloatingInner.stories.d.ts +258 -2
  68. package/dist/src/components/Textarea/TextareaInnerLabel.config.d.ts +7 -0
  69. package/dist/src/components/Textarea/TextareaInnerLabel.stories.d.ts +235 -2
  70. package/dist/src/components/TimeRange/TimeRange.stories.d.ts +167 -1
  71. package/dist/src/components/Timeline/Timeline.stories.d.ts +38 -1
  72. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +157 -1
  73. package/dist/src/components/TruncateComponent/TruncateComponent.stories.d.ts +104 -1
  74. package/dist/src/components/Upload/UploadFile.stories.d.ts +125 -1
  75. package/dist/src/components/Upload/UploadImage.stories.d.ts +142 -1
  76. package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +187 -1
  77. package/dist/src/components/Virtualization/ListVirtualization.stories.d.ts +277 -1
  78. package/dist/src/components/Virtualization/TableVirtualization.stories.d.ts +294 -1
  79. package/dist/src/components/index.d.ts +2 -1
  80. package/dist/src/config/components/borderRadius.d.ts +1 -0
  81. package/dist/src/config/components/font.d.ts +1 -0
  82. package/dist/src/config/components/gap.d.ts +1 -0
  83. package/dist/src/config/components/typography.d.ts +3 -49
  84. package/dist/src/interfaces/components/Calendar/index.d.ts +19 -2
  85. package/dist/src/interfaces/components/DatePicker/index.d.ts +3 -1
  86. package/dist/src/interfaces/components/ErrorMessage/index.d.ts +1 -1
  87. package/dist/src/utils/constant.d.ts +1 -0
  88. package/package.json +1 -1
  89. package/dist/index.cjs.map +0 -1
  90. package/dist/index.mjs.map +0 -1
@@ -8,12 +8,220 @@ declare const meta: {
8
8
  };
9
9
  tags: string[];
10
10
  argTypes: {
11
+ children: {
12
+ control: "text";
13
+ description: string;
14
+ table: {
15
+ category: string;
16
+ type: {
17
+ summary: string;
18
+ };
19
+ };
20
+ };
11
21
  className: {
12
- type: "string";
22
+ control: "text";
23
+ description: string;
24
+ table: {
25
+ category: string;
26
+ type: {
27
+ summary: string;
28
+ };
29
+ };
30
+ };
31
+ style: {
32
+ control: "object";
33
+ description: string;
34
+ table: {
35
+ category: string;
36
+ type: {
37
+ summary: string;
38
+ };
39
+ };
40
+ };
41
+ styleInnerPopover: {
42
+ control: "object";
43
+ description: string;
44
+ table: {
45
+ category: string;
46
+ type: {
47
+ summary: string;
48
+ };
49
+ defaultValue: {
50
+ summary: string;
51
+ };
52
+ };
53
+ };
54
+ width: {
55
+ control: "text";
56
+ description: string;
57
+ table: {
58
+ category: string;
59
+ type: {
60
+ summary: string;
61
+ };
62
+ };
63
+ };
64
+ zIndex: {
65
+ control: "number";
66
+ description: string;
67
+ table: {
68
+ category: string;
69
+ type: {
70
+ summary: string;
71
+ };
72
+ defaultValue: {
73
+ summary: string;
74
+ };
75
+ };
76
+ };
77
+ withArrow: {
78
+ control: "boolean";
79
+ description: string;
80
+ table: {
81
+ category: string;
82
+ type: {
83
+ summary: string;
84
+ };
85
+ defaultValue: {
86
+ summary: string;
87
+ };
88
+ };
89
+ };
90
+ propsArrow: {
91
+ control: "object";
92
+ description: string;
93
+ table: {
94
+ category: string;
95
+ type: {
96
+ summary: string;
97
+ };
98
+ defaultValue: {
99
+ summary: string;
100
+ };
101
+ };
102
+ };
103
+ offset: {
104
+ control: "number";
105
+ description: string;
106
+ table: {
107
+ category: string;
108
+ type: {
109
+ summary: string;
110
+ };
111
+ defaultValue: {
112
+ summary: string;
113
+ };
114
+ };
115
+ };
116
+ useAutoPlacement: {
117
+ control: "boolean";
118
+ description: string;
119
+ table: {
120
+ category: string;
121
+ type: {
122
+ summary: string;
123
+ };
124
+ defaultValue: {
125
+ summary: string;
126
+ };
127
+ };
128
+ };
129
+ floatingOptions: {
130
+ control: "object";
131
+ description: string;
132
+ table: {
133
+ category: string;
134
+ type: {
135
+ summary: string;
136
+ };
137
+ defaultValue: {
138
+ summary: string;
139
+ };
140
+ };
141
+ };
142
+ flipOptions: {
143
+ control: "object";
144
+ description: string;
145
+ table: {
146
+ category: string;
147
+ type: {
148
+ summary: string;
149
+ };
150
+ };
151
+ };
152
+ autoPlacementOptions: {
153
+ control: "object";
154
+ description: string;
155
+ table: {
156
+ category: string;
157
+ type: {
158
+ summary: string;
159
+ };
160
+ };
161
+ };
162
+ useDismissProps: {
163
+ control: "object";
164
+ description: string;
165
+ table: {
166
+ category: string;
167
+ type: {
168
+ summary: string;
169
+ };
170
+ };
171
+ };
172
+ isShow: {
173
+ control: "boolean";
174
+ description: string;
175
+ table: {
176
+ category: string;
177
+ type: {
178
+ summary: string;
179
+ };
180
+ defaultValue: {
181
+ summary: string;
182
+ };
183
+ };
184
+ };
185
+ anchorEl: {
186
+ control: "object";
187
+ description: string;
188
+ table: {
189
+ category: string;
190
+ type: {
191
+ summary: string;
192
+ };
193
+ };
194
+ };
195
+ onClose: {
196
+ action: string;
197
+ description: string;
198
+ table: {
199
+ category: string;
200
+ type: {
201
+ summary: string;
202
+ };
203
+ };
204
+ };
205
+ floatingFocusManagerProps: {
206
+ control: "object";
207
+ description: string;
208
+ table: {
209
+ category: string;
210
+ type: {
211
+ summary: string;
212
+ };
213
+ };
214
+ };
215
+ title: {
216
+ control: "text";
217
+ description: string;
218
+ table: {
219
+ category: string;
220
+ type: {
221
+ summary: string;
222
+ };
223
+ };
13
224
  };
14
- };
15
- args: {
16
- onChange: import('@vitest/spy').Mock<(...args: any[]) => any>;
17
225
  };
18
226
  render: (args: import('..').IPopover & import('react').RefAttributes<IRefPopover>) => import("react/jsx-runtime").JSX.Element;
19
227
  };
@@ -0,0 +1,60 @@
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ import { FC } from 'react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: FC<{
6
+ containerId?: string;
7
+ children: import('react').ReactNode;
8
+ selector?: string;
9
+ }>;
10
+ parameters: {
11
+ layout: string;
12
+ };
13
+ tags: string[];
14
+ argTypes: {
15
+ children: {
16
+ control: "object";
17
+ description: string;
18
+ table: {
19
+ category: string;
20
+ type: {
21
+ summary: string;
22
+ };
23
+ };
24
+ };
25
+ containerId: {
26
+ control: "text";
27
+ description: string;
28
+ table: {
29
+ category: string;
30
+ type: {
31
+ summary: string;
32
+ };
33
+ defaultValue: {
34
+ summary: string;
35
+ };
36
+ };
37
+ };
38
+ selector: {
39
+ control: "text";
40
+ description: string;
41
+ table: {
42
+ category: string;
43
+ type: {
44
+ summary: string;
45
+ };
46
+ defaultValue: {
47
+ summary: string;
48
+ };
49
+ };
50
+ };
51
+ };
52
+ render: (args: {
53
+ containerId?: string;
54
+ children: import('react').ReactNode;
55
+ selector?: string;
56
+ }) => import("react/jsx-runtime").JSX.Element;
57
+ };
58
+ export default meta;
59
+ type Story = StoryObj<typeof meta>;
60
+ export declare const Default: Story;
@@ -0,0 +1,41 @@
1
+ export declare const configRadioCheckbox: {
2
+ size: {
3
+ reguler: string;
4
+ small: string;
5
+ m: string;
6
+ s: string;
7
+ };
8
+ variants: {
9
+ 'laba-blue-10': string;
10
+ 'laba-blue-10-hv_bg_transparent': string;
11
+ 'blue-700': string;
12
+ 'blue-700-hv_bg_transparent': string;
13
+ 'bill-primary-500': string;
14
+ 'bill-primary-600-hv_bg_transparent': string;
15
+ 'bill-secondary-800-hv_bg_transparent': string;
16
+ };
17
+ variantDisableds: {
18
+ 'default-disabled-checkbox': string;
19
+ 'default-disabled-radio': string;
20
+ };
21
+ borderRadius: {
22
+ '0px': string;
23
+ '2px': string;
24
+ '4px': string;
25
+ '6px': string;
26
+ '8px': string;
27
+ '12px': string;
28
+ '16px': string;
29
+ '24px': string;
30
+ full: string;
31
+ };
32
+ typography: Record<import('../../config/components/typography').Itypography, string>;
33
+ fonts: {
34
+ lato: string;
35
+ inter: string;
36
+ pJakartaSans: string;
37
+ };
38
+ };
39
+ export declare const keysConfigRadioCheckboxSize: string[];
40
+ export declare const keysConfigRadioCheckboxVariant: string[];
41
+ export declare const keysConfigRadioCheckboxVariantDisabled: string[];
@@ -7,7 +7,7 @@ declare const meta: {
7
7
  };
8
8
  tags: string[];
9
9
  argTypes: {
10
- classNameContainer: {
10
+ label: {
11
11
  control: "text";
12
12
  description: string;
13
13
  table: {
@@ -15,13 +15,23 @@ declare const meta: {
15
15
  type: {
16
16
  summary: string;
17
17
  };
18
- defaultValue: {
18
+ };
19
+ };
20
+ checkedIcon: {
21
+ control: "object";
22
+ description: string;
23
+ table: {
24
+ category: string;
25
+ type: {
19
26
  summary: string;
20
27
  };
21
28
  };
22
29
  };
23
- classNameLabel: {
24
- control: "text";
30
+ sizeInput: {
31
+ control: {
32
+ type: "select";
33
+ };
34
+ options: string[];
25
35
  description: string;
26
36
  table: {
27
37
  category: string;
@@ -33,8 +43,11 @@ declare const meta: {
33
43
  };
34
44
  };
35
45
  };
36
- classNameCheckedIcon: {
37
- control: "text";
46
+ variants: {
47
+ control: {
48
+ type: "select";
49
+ };
50
+ options: string[];
38
51
  description: string;
39
52
  table: {
40
53
  category: string;
@@ -46,8 +59,11 @@ declare const meta: {
46
59
  };
47
60
  };
48
61
  };
49
- classNameContainerCheckedIcon: {
50
- control: "text";
62
+ variantDisableds: {
63
+ control: {
64
+ type: "select";
65
+ };
66
+ options: string[];
51
67
  description: string;
52
68
  table: {
53
69
  category: string;
@@ -59,7 +75,7 @@ declare const meta: {
59
75
  };
60
76
  };
61
77
  };
62
- sizeInput: {
78
+ borderRadius: {
63
79
  control: {
64
80
  type: "select";
65
81
  };
@@ -75,7 +91,7 @@ declare const meta: {
75
91
  };
76
92
  };
77
93
  };
78
- variants: {
94
+ typography: {
79
95
  control: {
80
96
  type: "select";
81
97
  };
@@ -91,7 +107,7 @@ declare const meta: {
91
107
  };
92
108
  };
93
109
  };
94
- variantDisableds: {
110
+ fonts: {
95
111
  control: {
96
112
  type: "select";
97
113
  };
@@ -102,9 +118,12 @@ declare const meta: {
102
118
  type: {
103
119
  summary: string;
104
120
  };
121
+ defaultValue: {
122
+ summary: string;
123
+ };
105
124
  };
106
125
  };
107
- borderRadius: {
126
+ className: {
108
127
  control: "text";
109
128
  description: string;
110
129
  table: {
@@ -112,15 +131,20 @@ declare const meta: {
112
131
  type: {
113
132
  summary: string;
114
133
  };
115
- defaultValue: {
134
+ };
135
+ };
136
+ classNameContainer: {
137
+ control: "text";
138
+ description: string;
139
+ table: {
140
+ category: string;
141
+ type: {
116
142
  summary: string;
117
143
  };
118
144
  };
119
145
  };
120
- checkedIcon: {
121
- control: {
122
- disable: true;
123
- };
146
+ classNameLabel: {
147
+ control: "text";
124
148
  description: string;
125
149
  table: {
126
150
  category: string;
@@ -129,25 +153,29 @@ declare const meta: {
129
153
  };
130
154
  };
131
155
  };
132
- type: {
133
- control: {
134
- type: "radio";
135
- };
136
- options: string[];
156
+ classNameCheckedIcon: {
157
+ control: "text";
137
158
  description: string;
138
159
  table: {
139
160
  category: string;
140
161
  type: {
141
162
  summary: string;
142
163
  };
143
- defaultValue: {
164
+ };
165
+ };
166
+ classNameContainerCheckedIcon: {
167
+ control: "text";
168
+ description: string;
169
+ table: {
170
+ category: string;
171
+ type: {
144
172
  summary: string;
145
173
  };
146
174
  };
147
175
  };
148
- fonts: {
176
+ type: {
149
177
  control: {
150
- type: "select";
178
+ type: "radio";
151
179
  };
152
180
  options: string[];
153
181
  description: string;
@@ -161,7 +189,7 @@ declare const meta: {
161
189
  };
162
190
  };
163
191
  };
164
- label: {
192
+ name: {
165
193
  control: "text";
166
194
  description: string;
167
195
  table: {
@@ -171,17 +199,14 @@ declare const meta: {
171
199
  };
172
200
  };
173
201
  };
174
- typography: {
175
- control: "text";
202
+ checked: {
203
+ control: "boolean";
176
204
  description: string;
177
205
  table: {
178
206
  category: string;
179
207
  type: {
180
208
  summary: string;
181
209
  };
182
- defaultValue: {
183
- summary: string;
184
- };
185
210
  };
186
211
  };
187
212
  disabled: {
@@ -192,20 +217,34 @@ declare const meta: {
192
217
  type: {
193
218
  summary: string;
194
219
  };
195
- defaultValue: {
220
+ };
221
+ };
222
+ value: {
223
+ control: "text";
224
+ description: string;
225
+ table: {
226
+ category: string;
227
+ type: {
196
228
  summary: string;
197
229
  };
198
230
  };
199
231
  };
200
- checked: {
201
- control: "boolean";
232
+ onChange: {
233
+ action: string;
202
234
  description: string;
203
235
  table: {
204
236
  category: string;
205
237
  type: {
206
238
  summary: string;
207
239
  };
208
- defaultValue: {
240
+ };
241
+ };
242
+ id: {
243
+ control: "text";
244
+ description: string;
245
+ table: {
246
+ category: string;
247
+ type: {
209
248
  summary: string;
210
249
  };
211
250
  };
@@ -0,0 +1,25 @@
1
+ export declare const configRadioCheckboxLabel: {
2
+ borderRadius: {
3
+ '0px': string;
4
+ '2px': string;
5
+ '4px': string;
6
+ '6px': string;
7
+ '8px': string;
8
+ '12px': string;
9
+ '16px': string;
10
+ '24px': string;
11
+ full: string;
12
+ };
13
+ typographyLabel: Record<import('../../config/components/typography').Itypography, string>;
14
+ typographyDesc: Record<import('../../config/components/typography').Itypography, string>;
15
+ fonts: {
16
+ lato: string;
17
+ inter: string;
18
+ pJakartaSans: string;
19
+ };
20
+ variants: {
21
+ 'laba-blue-01': string;
22
+ 'blue-50': string;
23
+ };
24
+ };
25
+ export declare const keysConfigRadioCheckboxLabelVariant: string[];