1mpacto-react-ui 0.2.0-beta.2 → 0.2.0-beta.20

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 (138) hide show
  1. package/dist/assets/_colors.scss +287 -1
  2. package/dist/assets/_mixins.scss +44 -0
  3. package/dist/assets/_screen.scss +6 -0
  4. package/dist/assets/_typography.scss +368 -0
  5. package/dist/assets/colors.css +21 -0
  6. package/dist/assets/core.css +1 -1
  7. package/dist/assets/fontfamily.css +1 -1
  8. package/dist/assets/icons/arrow-narrow-down.svg +3 -3
  9. package/dist/assets/screen.css +8 -0
  10. package/dist/assets/style.css +1 -1
  11. package/dist/assets/typography.css +54 -0
  12. package/dist/index.cjs +137 -115
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.ts +4 -2
  15. package/dist/index.mjs +28164 -16149
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/package.json.d.ts +132 -126
  18. package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  19. package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -1
  20. package/dist/src/components/Collapse/CollapseV2.d.ts +3 -0
  21. package/dist/src/components/Collapse/CollapseV2.stories.d.ts +18 -0
  22. package/dist/src/components/Colors/Colors.stories.d.ts +13 -0
  23. package/dist/src/components/Pagination/Pagination.d.ts +1 -1
  24. package/dist/src/components/Pagination/Pagination.stories.d.ts +1 -1
  25. package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.stories.d.ts +355 -4
  26. package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +2 -1
  27. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +171 -2
  28. package/dist/src/components/Table/Table.d.ts +1 -1
  29. package/dist/src/components/Table/Table.stories.d.ts +248 -2
  30. package/dist/src/components/Table/TableSubMobile.d.ts +3 -0
  31. package/dist/src/components/Tabs/Tabs.d.ts +1 -1
  32. package/dist/src/components/Tabs/Tabs.stories.d.ts +1 -1
  33. package/dist/src/components/TextEditor/TextEditor.stories.d.ts +75 -1
  34. package/dist/src/components/Typography/Typography.stories.d.ts +13 -0
  35. package/dist/src/components/Upload/UploadImage.d.ts +1 -1
  36. package/dist/src/components/Upload/UploadImage.stories.d.ts +1 -1
  37. package/dist/src/components/Upload/UploadMultipleFile.d.ts +1 -1
  38. package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +1 -1
  39. package/dist/src/components/index.d.ts +9 -7
  40. package/dist/src/components/screens/Screens.stories.d.ts +13 -0
  41. package/dist/src/config/components/typography.d.ts +13 -1
  42. package/dist/src/config/tailwind/index.d.ts +2 -1
  43. package/dist/src/config/tailwind/nativeScreen.d.ts +3 -0
  44. package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +3 -0
  45. package/dist/src/interfaces/components/Button/index.d.ts +1 -1
  46. package/dist/src/interfaces/components/Calendar/index.d.ts +1 -1
  47. package/dist/src/interfaces/components/Collapse/index.d.ts +7 -0
  48. package/dist/src/interfaces/components/Pagination/index.d.ts +2 -0
  49. package/dist/src/interfaces/components/Sidebar/index.d.ts +7 -4
  50. package/dist/src/interfaces/components/Table/index.d.ts +30 -5
  51. package/dist/src/interfaces/components/Tabs/index.d.ts +6 -2
  52. package/dist/src/interfaces/components/TruncateComponent/index.d.ts +1 -3
  53. package/dist/src/interfaces/components/UploadFile/index.d.ts +2 -0
  54. package/dist/src/utils/common.d.ts +7 -4
  55. package/dist/tinymce/CHANGELOG.md +3785 -3785
  56. package/dist/tinymce/js/tinymce/langs/README.md +3 -3
  57. package/dist/tinymce/js/tinymce/license.md +6 -6
  58. package/dist/tinymce/js/tinymce/notices.txt +21 -21
  59. package/dist/tinymce/js/tinymce/plugins/codesample/plugin.min.js +8 -8
  60. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ar.js +92 -92
  61. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +92 -92
  62. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ca.js +92 -92
  63. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/cs.js +92 -92
  64. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/da.js +92 -92
  65. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/de.js +92 -92
  66. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/el.js +92 -92
  67. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/en.js +92 -92
  68. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/es.js +92 -92
  69. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/eu.js +92 -92
  70. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fa.js +92 -92
  71. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fi.js +92 -92
  72. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +92 -92
  73. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/he_IL.js +92 -92
  74. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hi.js +92 -92
  75. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hr.js +92 -92
  76. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +92 -92
  77. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/id.js +92 -92
  78. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/it.js +92 -92
  79. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ja.js +92 -92
  80. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/kk.js +92 -92
  81. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +92 -92
  82. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ms.js +92 -92
  83. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +92 -92
  84. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/nl.js +92 -92
  85. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pl.js +92 -92
  86. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +92 -92
  87. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +92 -92
  88. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ro.js +92 -92
  89. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ru.js +92 -92
  90. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sk.js +92 -92
  91. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +92 -92
  92. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +92 -92
  93. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/th_TH.js +92 -92
  94. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/tr.js +92 -92
  95. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/uk.js +92 -92
  96. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/vi.js +92 -92
  97. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +86 -86
  98. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +92 -92
  99. package/dist/tinymce/js/tinymce/skins/content/dark/content.js +9 -9
  100. package/dist/tinymce/js/tinymce/skins/content/dark/content.min.css +10 -10
  101. package/dist/tinymce/js/tinymce/skins/content/default/content.js +9 -9
  102. package/dist/tinymce/js/tinymce/skins/content/default/content.min.css +10 -10
  103. package/dist/tinymce/js/tinymce/skins/content/document/content.js +9 -9
  104. package/dist/tinymce/js/tinymce/skins/content/document/content.min.css +10 -10
  105. package/dist/tinymce/js/tinymce/skins/content/tinymce-5/content.js +9 -9
  106. package/dist/tinymce/js/tinymce/skins/content/tinymce-5/content.min.css +10 -10
  107. package/dist/tinymce/js/tinymce/skins/content/tinymce-5-dark/content.js +9 -9
  108. package/dist/tinymce/js/tinymce/skins/content/tinymce-5-dark/content.min.css +10 -10
  109. package/dist/tinymce/js/tinymce/skins/content/writer/content.js +9 -9
  110. package/dist/tinymce/js/tinymce/skins/content/writer/content.min.css +10 -10
  111. package/dist/tinymce/js/tinymce/skins/ui/oxide/content.inline.js +9 -9
  112. package/dist/tinymce/js/tinymce/skins/ui/oxide/content.inline.min.css +10 -10
  113. package/dist/tinymce/js/tinymce/skins/ui/oxide/content.js +9 -9
  114. package/dist/tinymce/js/tinymce/skins/ui/oxide/content.min.css +10 -10
  115. package/dist/tinymce/js/tinymce/skins/ui/oxide/skin.min.css +1 -1
  116. package/dist/tinymce/js/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -1
  117. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.inline.js +9 -9
  118. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.inline.min.css +10 -10
  119. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.js +9 -9
  120. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.min.css +10 -10
  121. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
  122. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -1
  123. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.inline.js +9 -9
  124. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.inline.min.css +10 -10
  125. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.js +9 -9
  126. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.min.css +10 -10
  127. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
  128. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -1
  129. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.inline.js +9 -9
  130. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +10 -10
  131. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.js +9 -9
  132. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.min.css +10 -10
  133. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
  134. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -1
  135. package/dist/tinymce/js/tinymce/tinymce.d.ts +3350 -3350
  136. package/dist/tinymce/js/tinymce/tinymce.min.js +10 -10
  137. package/dist/types-external/table.d.ts +15 -12
  138. package/package.json +132 -126
@@ -1,12 +1,258 @@
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
- argTypes: {};
9
+ argTypes: {
10
+ tableInstance: {
11
+ control: {
12
+ disable: true;
13
+ };
14
+ description: string;
15
+ table: {
16
+ category: string;
17
+ type: {
18
+ summary: string;
19
+ };
20
+ };
21
+ };
22
+ classNameWrapperTable: {
23
+ control: "text";
24
+ description: string;
25
+ table: {
26
+ category: string;
27
+ type: {
28
+ summary: string;
29
+ };
30
+ defaultValue: {
31
+ summary: string;
32
+ };
33
+ };
34
+ };
35
+ classNameTable: {
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
+ collapseAll: {
49
+ control: "boolean";
50
+ description: string;
51
+ table: {
52
+ category: string;
53
+ type: {
54
+ summary: string;
55
+ };
56
+ defaultValue: {
57
+ summary: string;
58
+ };
59
+ };
60
+ };
61
+ handlerRowClick: {
62
+ control: {
63
+ disable: true;
64
+ };
65
+ description: string;
66
+ table: {
67
+ category: string;
68
+ type: {
69
+ summary: string;
70
+ };
71
+ };
72
+ };
73
+ privillageRowClick: {
74
+ control: "boolean";
75
+ description: string;
76
+ table: {
77
+ category: string;
78
+ type: {
79
+ summary: string;
80
+ };
81
+ defaultValue: {
82
+ summary: string;
83
+ };
84
+ };
85
+ };
86
+ virtualization: {
87
+ control: "boolean";
88
+ description: string;
89
+ table: {
90
+ category: string;
91
+ type: {
92
+ summary: string;
93
+ };
94
+ defaultValue: {
95
+ summary: string;
96
+ };
97
+ };
98
+ };
99
+ virtualizationProps: {
100
+ control: {
101
+ disable: true;
102
+ };
103
+ description: string;
104
+ table: {
105
+ category: string;
106
+ type: {
107
+ summary: string;
108
+ };
109
+ };
110
+ };
111
+ headerId: {
112
+ control: "text";
113
+ description: string;
114
+ table: {
115
+ category: string;
116
+ type: {
117
+ summary: string;
118
+ };
119
+ defaultValue: {
120
+ summary: string;
121
+ };
122
+ };
123
+ };
124
+ tbodyTrId: {
125
+ control: {
126
+ disable: true;
127
+ };
128
+ description: string;
129
+ table: {
130
+ category: string;
131
+ type: {
132
+ summary: string;
133
+ };
134
+ defaultValue: {
135
+ summary: string;
136
+ };
137
+ };
138
+ };
139
+ maxHeight: {
140
+ control: "number";
141
+ description: string;
142
+ table: {
143
+ category: string;
144
+ type: {
145
+ summary: string;
146
+ };
147
+ defaultValue: {
148
+ summary: string;
149
+ };
150
+ };
151
+ };
152
+ idCalculateHeight: {
153
+ control: "text";
154
+ description: string;
155
+ table: {
156
+ category: string;
157
+ type: {
158
+ summary: string;
159
+ };
160
+ defaultValue: {
161
+ summary: string;
162
+ };
163
+ };
164
+ };
165
+ kind: {
166
+ control: {
167
+ type: "select";
168
+ };
169
+ options: string[];
170
+ description: string;
171
+ table: {
172
+ category: string;
173
+ type: {
174
+ summary: string;
175
+ };
176
+ defaultValue: {
177
+ summary: string;
178
+ };
179
+ };
180
+ };
181
+ variant: {
182
+ control: {
183
+ type: "select";
184
+ };
185
+ options: string[];
186
+ description: string;
187
+ table: {
188
+ category: string;
189
+ type: {
190
+ summary: string;
191
+ };
192
+ };
193
+ };
194
+ componentSortASC: {
195
+ control: {
196
+ disable: true;
197
+ };
198
+ description: string;
199
+ table: {
200
+ category: string;
201
+ type: {
202
+ summary: string;
203
+ };
204
+ };
205
+ };
206
+ componentSortDESC: {
207
+ control: {
208
+ disable: true;
209
+ };
210
+ description: string;
211
+ table: {
212
+ category: string;
213
+ type: {
214
+ summary: string;
215
+ };
216
+ };
217
+ };
218
+ scrollTop: {
219
+ control: "boolean";
220
+ description: string;
221
+ table: {
222
+ category: string;
223
+ type: {
224
+ summary: string;
225
+ };
226
+ defaultValue: {
227
+ summary: string;
228
+ };
229
+ };
230
+ };
231
+ emptyPlaceholder: {
232
+ control: {
233
+ disable: true;
234
+ };
235
+ description: string;
236
+ table: {
237
+ category: string;
238
+ type: {
239
+ summary: string;
240
+ };
241
+ };
242
+ };
243
+ renderSubComponent: {
244
+ control: {
245
+ disable: true;
246
+ };
247
+ description: string;
248
+ table: {
249
+ category: string;
250
+ type: {
251
+ summary: string;
252
+ };
253
+ };
254
+ };
255
+ };
10
256
  args: {};
11
257
  render: (args: import('../../interfaces/components/Table').ITable<unknown>) => import("react/jsx-runtime").JSX.Element;
12
258
  };
@@ -0,0 +1,3 @@
1
+ import { TTableRenderSubComponent } from '../../interfaces/components/Table';
2
+ declare const TableSubComponent: TTableRenderSubComponent<unknown>;
3
+ export default TableSubComponent;
@@ -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;
@@ -1,7 +1,7 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
- component: ({ id, value, keyValueTab, tabsList, className, classNameContainer, classNameButton, variant, size, borderRadius, disabled, animation, mountedExecuteChange, typeButton, onChange, }: import('../../interfaces/components/Tabs').ITabs) => import("react/jsx-runtime").JSX.Element;
4
+ component: ({ id, value, keyValueTab, tabsList, className, classNameContainer, classNameButton, variant, size, borderRadius, disabled, animation, mountedExecuteChange, typeButton, onChange, locale, }: import('../../interfaces/components/Tabs').ITabs) => import("react/jsx-runtime").JSX.Element;
5
5
  parameters: {
6
6
  layout: string;
7
7
  };
@@ -6,7 +6,81 @@ declare const meta: {
6
6
  layout: string;
7
7
  };
8
8
  tags: string[];
9
- argTypes: {};
9
+ argTypes: {
10
+ id: {
11
+ control: "text";
12
+ description: string;
13
+ table: {
14
+ category: string;
15
+ type: {
16
+ summary: string;
17
+ };
18
+ };
19
+ };
20
+ label: {
21
+ control: "text";
22
+ description: string;
23
+ table: {
24
+ category: string;
25
+ type: {
26
+ summary: string;
27
+ };
28
+ };
29
+ };
30
+ initialValue: {
31
+ control: "text";
32
+ description: string;
33
+ table: {
34
+ category: string;
35
+ type: {
36
+ summary: string;
37
+ };
38
+ };
39
+ };
40
+ value: {
41
+ control: "text";
42
+ description: string;
43
+ table: {
44
+ category: string;
45
+ type: {
46
+ summary: string;
47
+ };
48
+ };
49
+ };
50
+ onEditorChange: {
51
+ action: string;
52
+ description: string;
53
+ table: {
54
+ category: string;
55
+ type: {
56
+ summary: string;
57
+ };
58
+ };
59
+ };
60
+ disabled: {
61
+ control: "boolean";
62
+ description: string;
63
+ table: {
64
+ category: string;
65
+ type: {
66
+ summary: string;
67
+ };
68
+ defaultValue: {
69
+ summary: string;
70
+ };
71
+ };
72
+ };
73
+ init: {
74
+ control: "object";
75
+ description: string;
76
+ table: {
77
+ category: string;
78
+ type: {
79
+ summary: string;
80
+ };
81
+ };
82
+ };
83
+ };
10
84
  render: (args: import('..').ITextEditorProps) => import("react/jsx-runtime").JSX.Element;
11
85
  };
12
86
  export default meta;
@@ -0,0 +1,13 @@
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ parameters: {
5
+ layout: string;
6
+ };
7
+ tags: string[];
8
+ argTypes: {};
9
+ render: () => import("react/jsx-runtime").JSX.Element;
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Default: Story;
@@ -1,3 +1,3 @@
1
1
  import { IUploadImage } from '../../interfaces/components/UploadFile';
2
- declare const UploadImage: ({ onChange, valueUrl, validateFile, validateFileDesc, maxSize, icon, desc, classNameContainer, classNameImage, classNameAction, }: IUploadImage) => import("react/jsx-runtime").JSX.Element;
2
+ declare const UploadImage: ({ onChange, valueUrl, validateFile, validateFileDesc, maxSize, icon, desc, classNameContainer, classNameImage, classNameAction, id, }: IUploadImage) => import("react/jsx-runtime").JSX.Element;
3
3
  export default UploadImage;
@@ -1,7 +1,7 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
- component: ({ onChange, valueUrl, validateFile, validateFileDesc, maxSize, icon, desc, classNameContainer, classNameImage, classNameAction, }: import('../../interfaces/components/UploadFile').IUploadImage) => import("react/jsx-runtime").JSX.Element;
4
+ component: ({ onChange, valueUrl, validateFile, validateFileDesc, maxSize, icon, desc, classNameContainer, classNameImage, classNameAction, id, }: import('../../interfaces/components/UploadFile').IUploadImage) => import("react/jsx-runtime").JSX.Element;
5
5
  parameters: {
6
6
  layout: string;
7
7
  };
@@ -1,3 +1,3 @@
1
1
  import { IUploadMultipleFile } from '../../interfaces/components/UploadFile';
2
- declare const UploadMultipleFile: ({ value, validateFile, classNameContainer, classNameButton, textUpload, buttonProps, maxFile, maxSize, error, removeElement, onChange, handlerDownload, priorityError, eventError, }: IUploadMultipleFile) => import("react/jsx-runtime").JSX.Element;
2
+ declare const UploadMultipleFile: ({ value, validateFile, classNameContainer, classNameButton, textUpload, buttonProps, maxFile, maxSize, error, removeElement, onChange, handlerDownload, priorityError, eventError, locationRemoveElement, }: IUploadMultipleFile) => import("react/jsx-runtime").JSX.Element;
3
3
  export default UploadMultipleFile;
@@ -1,7 +1,7 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
- component: ({ value, validateFile, classNameContainer, classNameButton, textUpload, buttonProps, maxFile, maxSize, error, removeElement, onChange, handlerDownload, priorityError, eventError, }: import('../../interfaces/components/UploadFile').IUploadMultipleFile) => import("react/jsx-runtime").JSX.Element;
4
+ component: ({ value, validateFile, classNameContainer, classNameButton, textUpload, buttonProps, maxFile, maxSize, error, removeElement, onChange, handlerDownload, priorityError, eventError, locationRemoveElement, }: import('../../interfaces/components/UploadFile').IUploadMultipleFile) => import("react/jsx-runtime").JSX.Element;
5
5
  parameters: {
6
6
  layout: string;
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { ICollapse } from './../interfaces/components/Collapse';
2
2
  import { IMasonryLayout } from './../hooks/useMasonry';
3
3
  import { IChips } from './../interfaces/components/Chips';
4
- import { IDatePicker } from './../interfaces/components/DatePicker/index';
4
+ import { IDatePicker } from './../interfaces/components/DatePicker';
5
5
  import { default as TPublish } from './TPublish/TPublish';
6
6
  import { default as Button } from './Button/Button';
7
7
  import { default as Popover } from './Popover/Popover';
@@ -9,7 +9,8 @@ import { IRefPopover, IPopover } from '../interfaces/components/Popover';
9
9
  import { default as InputFloatingInner } from './Input/InputFloatingInner';
10
10
  import { default as InputReguler } from './Input/InputReguler';
11
11
  import { default as Table, ConfigTable } from './Table/Table';
12
- import { ITableColumnDef, ITableConfig } from '../interfaces/components/Table';
12
+ import { default as TableSubComponent } from './Table/TableSubMobile';
13
+ import { ITableColumnDef, ITableColumnBreakpoint, ITableConfig, TTableRenderSubComponent, TTableHandlerRowClick } from '../interfaces/components/Table';
13
14
  import { default as TableVirtualization } from './Virtualization/TableVirtualization';
14
15
  import { TableVirtuosoHandle as IRefTableVirtualization, VirtuosoHandle as IRefListVirtualization } from 'react-virtuoso';
15
16
  import { default as ListVirtualization } from './Virtualization/ListVirtualization';
@@ -45,7 +46,7 @@ import { default as PortalComponent } from './PortalComponent/PortalComponent';
45
46
  import { ToastContainer as AlertContainer } from 'react-toastify';
46
47
  import { TButtonVariants, TButtonSize } from '../interfaces/components/Button';
47
48
  import { default as UploadFile } from './Upload/UploadFile';
48
- import { ITabsList } from '../interfaces/components/Tabs';
49
+ import { ITabsList, TTypeEventTabs } from '../interfaces/components/Tabs';
49
50
  import { default as TruncateComponent } from './TruncateComponent/TruncateComponent';
50
51
  import { default as UploadImage } from './Upload/UploadImage';
51
52
  import { default as Textarea } from './Textarea/Textarea';
@@ -62,18 +63,19 @@ import { IUploadMultipleFileValue } from '../interfaces/components/UploadFile';
62
63
  import { default as ErrorMessage } from './ErrorMessage/ErrorMessage';
63
64
  import { default as TextareaFloatingInner } from './Textarea/TextareaFloatingInner';
64
65
  import { default as Step } from './Step/Step';
65
- import { IDataStepList } from '../interfaces/components/Step/index';
66
+ import { IDataStepList } from '../interfaces/components/Step';
66
67
  import { default as LineChart } from './Chart/LineChart';
67
68
  import { default as Tooltip } from './Tooltip/Tooltip';
68
69
  import { default as ButtonPopover } from './ButtonPopover/ButtonPopover';
69
- import { IRefButtonPopover } from '../interfaces/components/ButtonPopover/index';
70
+ import { IRefButtonPopover } from '../interfaces/components/ButtonPopover';
70
71
  import { default as GradientLineChart } from './Chart/GradientLineChart';
71
72
  import { default as GradientBarChart } from './Chart/GradientBarChart';
72
73
  import { default as StepIndicator } from './Step/StepIndicator';
73
74
  import { default as TextEditor } from './TextEditor/TextEditor';
74
75
  import { ITextEditorProps } from '../interfaces/components/TextEditor';
76
+ import { default as CollapseV2 } from './Collapse/CollapseV2';
75
77
  import * as utilTable from '@tanstack/react-table';
76
78
  import type * as SelectDropdownContainerType from 'react-select';
77
79
  import type * as FilterContainerType from '../interfaces/components/FilterContainer';
78
- export { TPublish, Button, Popover, Calendar, CalendarRange, DatePicker, DateRangePicker, FilterDate, InputFloatingInner, InputReguler, Pagination, Tabs, TabPanel, Table, TableVirtualization, ListVirtualization, SelectDropdownContainer, utilTable, Switch, ButtonIcon, Badges, Chips, RadioCheckbox, RadioCheckboxLabel, Breadcrumbs, Sidebar, Collapse, ModalDialog, SelectDropdownContainerComponents, Timeline, FilterContainer, NumberFormat, PatternFormat, DefaultCheckedChecboxIcon, DefaultRadioChecboxIcon, ConfigTable, PortalComponent, AlertContainer, UploadFile, TruncateComponent, UploadImage, Textarea, DoughnutChart, MonthYearPicker, CheckboxTable, InputNative, UploadMultipleFile, ErrorMessage, TextareaFloatingInner, Step, LineChart, Tooltip, ButtonPopover, GradientLineChart, GradientBarChart, StepIndicator, TextEditor, };
79
- export type { ITableColumnDef, IRefPopover, IRefTableVirtualization, IRefListVirtualization, IRefSelectDropdownContainer, IChildrenSelectDropdownContainer, ISidebarModule, SelectDropdownContainerType, FilterContainerType, IInputReguler, IInputFloatingInner, ITableConfig, TButtonVariants, TButtonSize, ITabsList, ITextarea, IListVirtualization, ITableVirtualization, IRefSidebar, IChildrenIconCompany, ICloneElementSidebar, IDataDoughnutChart, IDataInnerLabelDoughnutChart, ISelectDropdownContainer, IDatePicker, IPopover, IInputNative, IUploadMultipleFileValue, IDataStepList, IDataLineChart, IChips, IRefButtonPopover, TGradientLineChartCustomTooltip, IGradientLineChart, IGradientLineChartDataSet, IGradientLineChartData, TGradientBarChartCustomTooltip, IGradientBarChart, IGradientBarChartDataSet, IGradientBarChartData, IFilterDateButtonList, TKeyFilterDateButtonListType, IMasonryLayout, IDataGradientBarChartCustomTooltip, IDataGradientLineChartCustomTooltip, ITextEditorProps, ICollapse, };
80
+ export { TPublish, Button, Popover, Calendar, CalendarRange, DatePicker, DateRangePicker, FilterDate, InputFloatingInner, InputReguler, Pagination, Tabs, TabPanel, Table, TableVirtualization, ListVirtualization, SelectDropdownContainer, utilTable, Switch, ButtonIcon, Badges, Chips, RadioCheckbox, RadioCheckboxLabel, Breadcrumbs, Sidebar, Collapse, ModalDialog, SelectDropdownContainerComponents, Timeline, FilterContainer, NumberFormat, PatternFormat, DefaultCheckedChecboxIcon, DefaultRadioChecboxIcon, ConfigTable, PortalComponent, AlertContainer, UploadFile, TruncateComponent, UploadImage, Textarea, DoughnutChart, MonthYearPicker, CheckboxTable, InputNative, UploadMultipleFile, ErrorMessage, TextareaFloatingInner, Step, LineChart, Tooltip, ButtonPopover, GradientLineChart, GradientBarChart, StepIndicator, TextEditor, CollapseV2, TableSubComponent, };
81
+ export type { ITableColumnDef, IRefPopover, IRefTableVirtualization, IRefListVirtualization, IRefSelectDropdownContainer, IChildrenSelectDropdownContainer, ISidebarModule, SelectDropdownContainerType, FilterContainerType, IInputReguler, IInputFloatingInner, ITableConfig, TButtonVariants, TButtonSize, ITabsList, TTypeEventTabs, ITextarea, IListVirtualization, ITableVirtualization, IRefSidebar, IChildrenIconCompany, ICloneElementSidebar, IDataDoughnutChart, IDataInnerLabelDoughnutChart, ISelectDropdownContainer, IDatePicker, IPopover, IInputNative, IUploadMultipleFileValue, IDataStepList, IDataLineChart, IChips, IRefButtonPopover, TGradientLineChartCustomTooltip, IGradientLineChart, IGradientLineChartDataSet, IGradientLineChartData, TGradientBarChartCustomTooltip, IGradientBarChart, IGradientBarChartDataSet, IGradientBarChartData, IFilterDateButtonList, TKeyFilterDateButtonListType, IMasonryLayout, IDataGradientBarChartCustomTooltip, IDataGradientLineChartCustomTooltip, ITextEditorProps, ICollapse, ITableColumnBreakpoint, TTableRenderSubComponent, TTableHandlerRowClick, };
@@ -0,0 +1,13 @@
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ parameters: {
5
+ layout: string;
6
+ };
7
+ tags: string[];
8
+ argTypes: {};
9
+ render: () => import("react/jsx-runtime").JSX.Element;
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Default: Story;
@@ -1,4 +1,4 @@
1
- export type Itypography = 'payhere-h1' | 'payhere-h2' | 'payhere-h3' | 'payhere-h4' | 'payhere-h5' | 'payhere-h6' | 'payhere-body-lr' | 'payhere-body-lm' | 'payhere-body-ls' | 'payhere-body-lb' | 'payhere-body-mr' | 'payhere-body-mm' | 'payhere-body-ms' | 'payhere-body-mb' | 'payhere-label-r' | 'payhere-label-m' | 'payhere-body-sr' | 'payhere-body-sm' | 'payhere-body-esr' | 'payhere-body-esm' | 'laba-h1' | 'laba-h2' | 'laba-base-rb' | 'laba-base-rs' | 'laba-base-rr' | 'laba-base-sb' | 'laba-base-ss' | 'laba-base-sr' | 'laba-subtitle-rb' | 'laba-subtitle-rs' | 'laba-subtitle-rr' | 'laba-subtitle-sb' | 'laba-subtitle-ss' | 'laba-subtitle-sr';
1
+ export type Itypography = 'payhere-h1' | 'payhere-h2' | 'payhere-h3' | 'payhere-h4' | 'payhere-h5' | 'payhere-h6' | 'payhere-body-lr' | 'payhere-body-lm' | 'payhere-body-ls' | 'payhere-body-lb' | 'payhere-body-mr' | 'payhere-body-mm' | 'payhere-body-ms' | 'payhere-body-mb' | 'payhere-label-r' | 'payhere-label-m' | 'payhere-body-sr' | 'payhere-body-sm' | 'payhere-body-esr' | 'payhere-body-esm' | 'laba-title-lb' | 'laba-title-ls' | 'laba-title-lr' | 'laba-title-mb' | 'laba-title-ms' | 'laba-title-mr' | 'laba-h1' | 'laba-h1-b' | 'laba-h1-sb' | 'laba-h1-r' | 'laba-h2' | 'laba-h2-b' | 'laba-h2-sb' | 'laba-h2-r' | 'laba-base-rb' | 'laba-base-rs' | 'laba-base-rr' | 'laba-base-sb' | 'laba-base-ss' | 'laba-base-sr' | 'laba-subtitle-rb' | 'laba-subtitle-rs' | 'laba-subtitle-rr' | 'laba-subtitle-sb' | 'laba-subtitle-ss' | 'laba-subtitle-sr';
2
2
  export declare const configtypography: {
3
3
  'payhere-h1': string;
4
4
  'payhere-h2': string;
@@ -20,8 +20,20 @@ export declare const configtypography: {
20
20
  'payhere-body-sm': string;
21
21
  'payhere-body-esr': string;
22
22
  'payhere-body-esm': string;
23
+ 'laba-title-lb': string;
24
+ 'laba-title-ls': string;
25
+ 'laba-title-lr': string;
26
+ 'laba-title-mb': string;
27
+ 'laba-title-ms': string;
28
+ 'laba-title-mr': string;
23
29
  'laba-h1': string;
30
+ 'laba-h1-b': string;
31
+ 'laba-h1-sb': string;
32
+ 'laba-h1-r': string;
24
33
  'laba-h2': string;
34
+ 'laba-h2-b': string;
35
+ 'laba-h2-sb': string;
36
+ 'laba-h2-r': string;
25
37
  'laba-base-rb': string;
26
38
  'laba-base-rs': string;
27
39
  'laba-base-rr': string;
@@ -1,4 +1,5 @@
1
1
  import { default as ConfigColors } from './colors';
2
2
  import { default as configTypography, configTypographyLabaBisnis, configTypographyPayhere } from './typography';
3
3
  import { default as configScreens } from './screen';
4
- export { ConfigColors, configTypography, configTypographyLabaBisnis, configTypographyPayhere, configScreens };
4
+ import { default as configNativeScreens } from './nativeScreen';
5
+ export { ConfigColors, configTypography, configTypographyLabaBisnis, configTypographyPayhere, configScreens, configNativeScreens, };
@@ -0,0 +1,3 @@
1
+ export type INativeScreen = Record<string, number>;
2
+ declare const nativeScreens: INativeScreen;
3
+ export default nativeScreens;
@@ -15,4 +15,7 @@ export interface IBreadcrumbs<T extends ElementType> extends HTMLAttributes<HTML
15
15
  iconAction?: ReactNode | ReactNode[];
16
16
  separator?: ReactNode | ReactNode[] | string;
17
17
  propsLink?: (value: string, index: number, urls: string[]) => object;
18
+ classNameAction?: string;
19
+ classNameUrl?: string;
20
+ renderAction?: () => ReactNode | ReactNode[];
18
21
  }
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- export type TButtonVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba-grey-06' | 'primary-green-700' | 'ghost-laba-blue-10' | 'ghost-red-700' | 'ghost-green-700' | 'ghost-blue-gray-100-bg_white' | 'ghost-laba-green-10' | 'ghost-blue-gray-100-bg_white-text_blue-gray-400' | 'ghost-laba-blue-05' | 'nude-laba-blue-10' | 'nude-red-700' | 'nude-green-700' | 'nude-gray-500' | 'nude-laba-red-10' | 'nude-laba-red-08' | 'nude-laba-red-05' | 'primary-blue-700' | 'primary-red-700' | 'secondary-blue-700' | 'secondary-red-600' | 'secondary-green-600' | 'tertiary-blue-700' | 'tertiary-red-300' | 'tertiary-red-600' | 'tertiary-gray-500' | 'ghost-laba-blue-01' | 'filled-laba-white_laba-blue-10' | 'filled-laba-white_laba-red-05' | 'secondary-red-700';
2
+ export type TButtonVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba-grey-06' | 'primary-green-700' | 'ghost-laba-blue-10' | 'ghost-red-700' | 'ghost-green-700' | 'ghost-blue-gray-100-bg_white' | 'ghost-laba-green-10' | 'ghost-blue-gray-100-bg_white-text_blue-gray-400' | 'ghost-laba-blue-05' | 'nude-laba-blue-10' | 'nude-red-700' | 'nude-green-700' | 'nude-gray-500' | 'nude-laba-red-10' | 'nude-laba-red-08' | 'nude-laba-red-05' | 'primary-blue-700' | 'primary-red-700' | 'secondary-blue-700' | 'secondary-red-600' | 'secondary-green-600' | 'tertiary-blue-700' | 'tertiary-red-300' | 'tertiary-red-600' | 'tertiary-gray-500' | 'ghost-laba-blue-01' | 'filled-laba-white_laba-blue-10' | 'filled-laba-white_laba-red-05' | 'secondary-red-700' | 'tertiary-black';
3
3
  export type TButtonSize = 'large' | 'reguler' | 'small' | 'extra-small' | 'l' | 'm' | 's' | 'xs';
4
4
  export interface IButton extends React.ButtonHTMLAttributes<HTMLButtonElement> {
5
5
  size?: TButtonSize;
@@ -4,7 +4,7 @@ import { AriaButtonOptions, DateValue, RangeCalendarProps } from 'react-aria';
4
4
  import { CalendarState, CalendarStateOptions, DateRangePickerStateOptions, RangeCalendarState } from 'react-stately';
5
5
  export type TCalendarType = 'date' | 'month' | 'year';
6
6
  export type TDateType = Date | string | null | undefined;
7
- export type TKeyLocale = 'id' | 'enUS' | 'nl';
7
+ export type TKeyLocale = 'id-ID' | 'en-US' | 'nl-NL' | 'zh-CN';
8
8
  export interface ICalendarPrevNextIcon {
9
9
  prevIcon?: ReactNode | ReactNode[] | (() => ReactNode) | (() => ReactNode[]);
10
10
  nextIcon?: ReactNode | ReactNode[] | (() => ReactNode) | (() => ReactNode[]);
@@ -9,3 +9,10 @@ export interface ICollapse {
9
9
  triggerCalCulateContainer?: number | string | boolean | object;
10
10
  delayTriggerCalculateHeight?: number;
11
11
  }
12
+ export interface ICollapseV2 {
13
+ children: ReactNode | ReactNode[];
14
+ open: boolean;
15
+ id: string;
16
+ className?: string;
17
+ classNameContainer?: string | undefined;
18
+ }
@@ -1,5 +1,6 @@
1
1
  import { OffsetOptions } from '@floating-ui/react';
2
2
  import { ReactNode } from 'react';
3
+ import { TKeyLocale } from '../Calendar';
3
4
  export type TKindPaginationType = 'box' | 'nude';
4
5
  export interface IPagination {
5
6
  pageNumber: number;
@@ -20,4 +21,5 @@ export interface IPaginationProps extends IPagination {
20
21
  withOptionPageSize?: boolean;
21
22
  withGotoPage?: boolean;
22
23
  withMorePage?: boolean;
24
+ locale?: TKeyLocale;
23
25
  }
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- export type TVariantSidebarType = 'payhere-brand-base-white' | 'payhere-brand-base-transparent' | 'laba-white';
2
+ export type TVariantSidebarType = 'payhere-brand-base-white' | 'payhere-brand-base-transparent' | 'laba-white' | 'lpd-brand-base-transparent' | 'lpd-brand-base-transparent-responsive' | 'lpd-brand-base-white' | 'lpd-brand-base-white-responsive';
3
3
  export interface ISidebarModule {
4
4
  name: string;
5
5
  label: string;
@@ -10,8 +10,10 @@ export interface ISidebarModule {
10
10
  icon?: string;
11
11
  svgIcon?: React.ReactNode | null;
12
12
  svgIconActive?: React.ReactNode | null;
13
+ svgIconHover?: React.ReactNode | null;
13
14
  manualRoute?: boolean;
14
- propsLink?: (value: string) => object;
15
+ propsLink?: (value: string, item: ISidebarModule) => object;
16
+ [key: string]: unknown;
15
17
  }
16
18
  export interface ISidebar<T extends React.ElementType> extends React.HTMLAttributes<HTMLDivElement> {
17
19
  as?: T;
@@ -26,8 +28,9 @@ export interface ISidebar<T extends React.ElementType> extends React.HTMLAttribu
26
28
  toleranceWidthIconCompany?: number;
27
29
  footer?: React.ReactNode | React.ReactNode[] | (() => React.ReactNode) | (() => React.ReactNode[]);
28
30
  onClickItems?: (v: ISidebarModule) => void;
29
- propsLink?: (value: string) => object;
31
+ propsLink?: (value: string, item: ISidebarModule) => object;
30
32
  withInheritance?: boolean;
33
+ id?: string;
31
34
  }
32
35
  export interface IItemSidebar<T extends React.ElementType> extends ISidebarModule {
33
36
  as?: T;
@@ -38,7 +41,7 @@ export interface IItemSidebar<T extends React.ElementType> extends ISidebarModul
38
41
  variant?: TVariantSidebarType;
39
42
  setShow: (v: string) => void;
40
43
  onClickItems?: (v: ISidebarModule) => void;
41
- propsLink?: (value: string) => object;
44
+ propsLink?: (value: string, item: ISidebarModule) => object;
42
45
  linkComponent?: T;
43
46
  }
44
47
  export interface ICloneElementSidebar {