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
@@ -7,8 +7,203 @@ declare const meta: {
7
7
  };
8
8
  tags: string[];
9
9
  argTypes: {
10
+ month: {
11
+ control: "number";
12
+ description: string;
13
+ table: {
14
+ category: string;
15
+ type: {
16
+ summary: string;
17
+ };
18
+ };
19
+ };
20
+ year: {
21
+ control: "number";
22
+ description: string;
23
+ table: {
24
+ category: string;
25
+ type: {
26
+ summary: string;
27
+ };
28
+ };
29
+ };
30
+ minDate: {
31
+ control: "date";
32
+ description: string;
33
+ table: {
34
+ category: string;
35
+ type: {
36
+ summary: string;
37
+ };
38
+ defaultValue: {
39
+ summary: string;
40
+ };
41
+ };
42
+ };
43
+ maxDate: {
44
+ control: "date";
45
+ description: string;
46
+ table: {
47
+ category: string;
48
+ type: {
49
+ summary: string;
50
+ };
51
+ defaultValue: {
52
+ summary: string;
53
+ };
54
+ };
55
+ };
56
+ buttonClick: {
57
+ control: "object";
58
+ description: string;
59
+ table: {
60
+ category: string;
61
+ type: {
62
+ summary: string;
63
+ };
64
+ };
65
+ };
10
66
  className: {
11
- type: "string";
67
+ control: "text";
68
+ description: string;
69
+ table: {
70
+ category: string;
71
+ type: {
72
+ summary: string;
73
+ };
74
+ defaultValue: {
75
+ summary: string;
76
+ };
77
+ };
78
+ };
79
+ classNameButton: {
80
+ control: "text";
81
+ description: string;
82
+ table: {
83
+ category: string;
84
+ type: {
85
+ summary: string;
86
+ };
87
+ defaultValue: {
88
+ summary: string;
89
+ };
90
+ };
91
+ };
92
+ zIndexPopper: {
93
+ control: "number";
94
+ description: string;
95
+ table: {
96
+ category: string;
97
+ type: {
98
+ summary: string;
99
+ };
100
+ defaultValue: {
101
+ summary: string;
102
+ };
103
+ };
104
+ };
105
+ hiddenHeader: {
106
+ control: "boolean";
107
+ description: string;
108
+ table: {
109
+ category: string;
110
+ type: {
111
+ summary: string;
112
+ };
113
+ defaultValue: {
114
+ summary: string;
115
+ };
116
+ };
117
+ };
118
+ type: {
119
+ control: "inline-check";
120
+ options: string[];
121
+ description: string;
122
+ table: {
123
+ category: string;
124
+ type: {
125
+ summary: string;
126
+ };
127
+ defaultValue: {
128
+ summary: string;
129
+ };
130
+ };
131
+ };
132
+ activeType: {
133
+ control: "radio";
134
+ options: string[];
135
+ description: string;
136
+ table: {
137
+ category: string;
138
+ type: {
139
+ summary: string;
140
+ };
141
+ defaultValue: {
142
+ summary: string;
143
+ };
144
+ };
145
+ };
146
+ offsetPopover: {
147
+ control: "number";
148
+ description: string;
149
+ table: {
150
+ category: string;
151
+ type: {
152
+ summary: string;
153
+ };
154
+ defaultValue: {
155
+ summary: string;
156
+ };
157
+ };
158
+ };
159
+ floatingOptions: {
160
+ control: "object";
161
+ description: string;
162
+ table: {
163
+ category: string;
164
+ type: {
165
+ summary: string;
166
+ };
167
+ defaultValue: {
168
+ summary: string;
169
+ };
170
+ };
171
+ };
172
+ onChange: {
173
+ action: string;
174
+ description: string;
175
+ table: {
176
+ category: string;
177
+ type: {
178
+ summary: string;
179
+ };
180
+ };
181
+ };
182
+ id: {
183
+ control: "text";
184
+ description: string;
185
+ table: {
186
+ category: string;
187
+ type: {
188
+ summary: string;
189
+ };
190
+ defaultValue: {
191
+ summary: string;
192
+ };
193
+ };
194
+ };
195
+ idPopover: {
196
+ control: "text";
197
+ description: string;
198
+ table: {
199
+ category: string;
200
+ type: {
201
+ summary: string;
202
+ };
203
+ defaultValue: {
204
+ summary: string;
205
+ };
206
+ };
12
207
  };
13
208
  };
14
209
  render: (args: import('../../interfaces/components/DatePicker').IMonthYearPicker) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export declare const configErrorMessage: {
2
+ variants: {
3
+ laba: string;
4
+ payhere: string;
5
+ bill: string;
6
+ };
7
+ };
8
+ export declare const keysErrorMessageVariant: string[];
@@ -7,8 +7,44 @@ declare const meta: {
7
7
  };
8
8
  tags: string[];
9
9
  argTypes: {
10
+ error: {
11
+ control: "text";
12
+ description: string;
13
+ table: {
14
+ category: string;
15
+ type: {
16
+ summary: string;
17
+ };
18
+ };
19
+ };
20
+ variants: {
21
+ control: {
22
+ type: "select";
23
+ };
24
+ options: string[];
25
+ description: string;
26
+ table: {
27
+ category: string;
28
+ type: {
29
+ summary: string;
30
+ };
31
+ defaultValue: {
32
+ summary: string;
33
+ };
34
+ };
35
+ };
10
36
  className: {
11
- type: "string";
37
+ control: "text";
38
+ description: string;
39
+ table: {
40
+ category: string;
41
+ type: {
42
+ summary: string;
43
+ };
44
+ defaultValue: {
45
+ summary: string;
46
+ };
47
+ };
12
48
  };
13
49
  };
14
50
  };
@@ -0,0 +1,164 @@
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ import { default as React } from 'react';
3
+ import { FilterContainerType } from '..';
4
+ declare const meta: {
5
+ title: string;
6
+ component: React.ForwardRefExoticComponent<FilterContainerType.IFilterContainer & React.RefAttributes<FilterContainerType.IChildFilterContainer>>;
7
+ tags: string[];
8
+ argTypes: {
9
+ children: {
10
+ control: false;
11
+ description: string;
12
+ table: {
13
+ category: string;
14
+ type: {
15
+ summary: string;
16
+ };
17
+ };
18
+ };
19
+ defaultValue: {
20
+ control: "object";
21
+ description: string;
22
+ table: {
23
+ category: string;
24
+ type: {
25
+ summary: string;
26
+ };
27
+ defaultValue: {
28
+ summary: string;
29
+ };
30
+ };
31
+ };
32
+ defaultNativeValue: {
33
+ control: "object";
34
+ description: string;
35
+ table: {
36
+ category: string;
37
+ type: {
38
+ summary: string;
39
+ };
40
+ defaultValue: {
41
+ summary: string;
42
+ };
43
+ };
44
+ };
45
+ mountedExecuteChange: {
46
+ control: "boolean";
47
+ description: string;
48
+ table: {
49
+ category: string;
50
+ type: {
51
+ summary: string;
52
+ };
53
+ defaultValue: {
54
+ summary: string;
55
+ };
56
+ };
57
+ };
58
+ prefixNativeValue: {
59
+ control: "text";
60
+ description: string;
61
+ table: {
62
+ category: string;
63
+ type: {
64
+ summary: string;
65
+ };
66
+ defaultValue: {
67
+ summary: string;
68
+ };
69
+ };
70
+ };
71
+ keepKeys: {
72
+ control: "object";
73
+ description: string;
74
+ table: {
75
+ category: string;
76
+ type: {
77
+ summary: string;
78
+ };
79
+ defaultValue: {
80
+ summary: string;
81
+ };
82
+ };
83
+ };
84
+ resetPagination: {
85
+ control: "boolean";
86
+ description: string;
87
+ table: {
88
+ category: string;
89
+ type: {
90
+ summary: string;
91
+ };
92
+ defaultValue: {
93
+ summary: string;
94
+ };
95
+ };
96
+ };
97
+ keyPageNumber: {
98
+ control: "text";
99
+ description: string;
100
+ table: {
101
+ category: string;
102
+ type: {
103
+ summary: string;
104
+ };
105
+ defaultValue: {
106
+ summary: string;
107
+ };
108
+ };
109
+ };
110
+ reset: {
111
+ control: "boolean";
112
+ description: string;
113
+ table: {
114
+ category: string;
115
+ type: {
116
+ summary: string;
117
+ };
118
+ defaultValue: {
119
+ summary: string;
120
+ };
121
+ };
122
+ };
123
+ triggerReset: {
124
+ control: "object";
125
+ description: string;
126
+ table: {
127
+ category: string;
128
+ type: {
129
+ summary: string;
130
+ };
131
+ defaultValue: {
132
+ summary: string;
133
+ };
134
+ };
135
+ };
136
+ onChange: {
137
+ action: string;
138
+ description: string;
139
+ table: {
140
+ category: string;
141
+ type: {
142
+ summary: string;
143
+ };
144
+ };
145
+ };
146
+ };
147
+ render: (args: FilterContainerType.IFilterContainer & React.RefAttributes<FilterContainerType.IChildFilterContainer>) => import("react/jsx-runtime").JSX.Element;
148
+ };
149
+ export default meta;
150
+ type Story = StoryObj<typeof meta>;
151
+ export declare const Default: Story;
152
+ export interface ITableStateListMember {
153
+ [key: string]: unknown;
154
+ search?: string;
155
+ }
156
+ export interface IDataListMember {
157
+ [key: string]: unknown;
158
+ }
159
+ export interface IListMember {
160
+ data: IDataListMember[];
161
+ tableState: ITableStateListMember;
162
+ getData: boolean;
163
+ }
164
+ export type THandlerOnChangeFilterListMember = (e: FilterContainerType.IMergeState) => void;
@@ -0,0 +1,9 @@
1
+ export declare const configInputFloatingInner: {
2
+ size: {
3
+ large: string;
4
+ medium: string;
5
+ small: string;
6
+ };
7
+ variant: {};
8
+ };
9
+ export declare const keysConfigInputFloatingInner: string[];
@@ -7,20 +7,190 @@ declare const meta: {
7
7
  };
8
8
  tags: string[];
9
9
  argTypes: {
10
+ label: {
11
+ control: "text";
12
+ description: string;
13
+ table: {
14
+ category: string;
15
+ type: {
16
+ summary: string;
17
+ };
18
+ };
19
+ };
20
+ startIcon: {
21
+ control: "object";
22
+ description: string;
23
+ table: {
24
+ category: string;
25
+ type: {
26
+ summary: string;
27
+ };
28
+ };
29
+ };
30
+ endIcon: {
31
+ control: "object";
32
+ description: string;
33
+ table: {
34
+ category: string;
35
+ type: {
36
+ summary: string;
37
+ };
38
+ };
39
+ };
40
+ sizeInput: {
41
+ control: {
42
+ type: "select";
43
+ };
44
+ options: string[];
45
+ description: string;
46
+ table: {
47
+ category: string;
48
+ type: {
49
+ summary: string;
50
+ };
51
+ defaultValue: {
52
+ summary: string;
53
+ };
54
+ };
55
+ };
10
56
  className: {
11
- type: "string";
57
+ control: "text";
58
+ description: string;
59
+ table: {
60
+ category: string;
61
+ type: {
62
+ summary: string;
63
+ };
64
+ };
12
65
  };
13
66
  classNameContainer: {
14
- type: "string";
67
+ control: "text";
68
+ description: string;
69
+ table: {
70
+ category: string;
71
+ type: {
72
+ summary: string;
73
+ };
74
+ };
15
75
  };
16
76
  classNameLabel: {
17
- type: "string";
77
+ control: "text";
78
+ description: string;
79
+ table: {
80
+ category: string;
81
+ type: {
82
+ summary: string;
83
+ };
84
+ };
18
85
  };
19
86
  classNameLabelError: {
20
- type: "string";
87
+ control: "text";
88
+ description: string;
89
+ table: {
90
+ category: string;
91
+ type: {
92
+ summary: string;
93
+ };
94
+ };
21
95
  };
22
96
  error: {
23
- type: "string";
97
+ control: "text";
98
+ description: string;
99
+ table: {
100
+ category: string;
101
+ type: {
102
+ summary: string;
103
+ };
104
+ };
105
+ };
106
+ disabled: {
107
+ control: "boolean";
108
+ description: string;
109
+ table: {
110
+ category: string;
111
+ type: {
112
+ summary: string;
113
+ };
114
+ defaultValue: {
115
+ summary: string;
116
+ };
117
+ };
118
+ };
119
+ value: {
120
+ control: "text";
121
+ description: string;
122
+ table: {
123
+ category: string;
124
+ type: {
125
+ summary: string;
126
+ };
127
+ };
128
+ };
129
+ id: {
130
+ control: "text";
131
+ description: string;
132
+ table: {
133
+ category: string;
134
+ type: {
135
+ summary: string;
136
+ };
137
+ };
138
+ };
139
+ name: {
140
+ control: "text";
141
+ description: string;
142
+ table: {
143
+ category: string;
144
+ type: {
145
+ summary: string;
146
+ };
147
+ };
148
+ };
149
+ type: {
150
+ control: "text";
151
+ description: string;
152
+ table: {
153
+ category: string;
154
+ type: {
155
+ summary: string;
156
+ };
157
+ defaultValue: {
158
+ summary: string;
159
+ };
160
+ };
161
+ };
162
+ isRequired: {
163
+ control: "boolean";
164
+ description: string;
165
+ table: {
166
+ category: string;
167
+ type: {
168
+ summary: string;
169
+ };
170
+ defaultValue: {
171
+ summary: string;
172
+ };
173
+ };
174
+ };
175
+ placeholder: {
176
+ control: "text";
177
+ description: string;
178
+ table: {
179
+ category: string;
180
+ type: {
181
+ summary: string;
182
+ };
183
+ };
184
+ };
185
+ onChange: {
186
+ action: string;
187
+ description: string;
188
+ table: {
189
+ category: string;
190
+ type: {
191
+ summary: string;
192
+ };
193
+ };
24
194
  };
25
195
  };
26
196
  args: {
@@ -0,0 +1,8 @@
1
+ export declare const configInputInnerLabel: {
2
+ size: {
3
+ large: string;
4
+ small: string;
5
+ };
6
+ variant: {};
7
+ };
8
+ export declare const keysConfigInputInnerLabelSize: string[];