1mpacto-react-ui 0.2.0-beta.2 → 0.2.0-beta.21
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 +327 -1
- package/dist/assets/_mixins.scss +44 -0
- package/dist/assets/_screen.scss +6 -0
- package/dist/assets/_typography.scss +654 -0
- package/dist/assets/colors.css +41 -0
- package/dist/assets/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/assets/fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf +0 -0
- package/dist/assets/fonts/PlusJakartaSans-VariableFont_wght.ttf +0 -0
- package/dist/assets/icons/arrow-narrow-down.svg +3 -3
- package/dist/assets/screen.css +8 -0
- package/dist/assets/style.css +1 -1
- package/dist/assets/typography.css +132 -0
- package/dist/index.cjs +150 -116
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.mjs +28958 -16226
- package/dist/index.mjs.map +1 -1
- package/dist/package.json.d.ts +132 -126
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -1
- package/dist/src/components/Collapse/CollapseV2.d.ts +3 -0
- package/dist/src/components/Collapse/CollapseV2.stories.d.ts +18 -0
- package/dist/src/components/Colors/Colors.stories.d.ts +13 -0
- package/dist/src/components/Input/InputInnerLabel.d.ts +4 -0
- package/dist/src/components/Input/InputInnerLabel.stories.d.ts +31 -0
- package/dist/src/components/Pagination/Pagination.d.ts +1 -1
- package/dist/src/components/Pagination/Pagination.stories.d.ts +1 -1
- package/dist/src/components/RadioCheckbox/RadioCheckbox.stories.d.ts +189 -7
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.stories.d.ts +355 -4
- package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +4 -1
- package/dist/src/components/Sidebar/Sidebar.stories.d.ts +171 -2
- package/dist/src/components/Table/Table.d.ts +1 -1
- package/dist/src/components/Table/Table.stories.d.ts +248 -2
- package/dist/src/components/Table/TableSubMobile.d.ts +3 -0
- package/dist/src/components/Tabs/Tabs.d.ts +1 -1
- package/dist/src/components/Tabs/Tabs.stories.d.ts +1 -1
- package/dist/src/components/TextEditor/TextEditor.stories.d.ts +75 -1
- package/dist/src/components/Textarea/TextareaInnerLabel.d.ts +4 -0
- package/dist/src/components/Textarea/TextareaInnerLabel.stories.d.ts +25 -0
- package/dist/src/components/TimeRange/TimeRange.d.ts +3 -0
- package/dist/src/components/TimeRange/TimeRange.stories.d.ts +19 -0
- package/dist/src/components/Typography/Typography.stories.d.ts +13 -0
- package/dist/src/components/Upload/UploadImage.d.ts +1 -1
- package/dist/src/components/Upload/UploadImage.stories.d.ts +1 -1
- package/dist/src/components/Upload/UploadMultipleFile.d.ts +1 -1
- package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +1 -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/font.d.ts +6 -0
- package/dist/src/config/components/typography.d.ts +13 -1
- 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/useCountdown.d.ts +6 -3
- package/dist/src/hooks/useOtpInput.d.ts +42 -0
- package/dist/src/interfaces/components/Badges/index.d.ts +2 -1
- package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +6 -2
- package/dist/src/interfaces/components/Button/index.d.ts +2 -2
- package/dist/src/interfaces/components/Calendar/index.d.ts +1 -1
- package/dist/src/interfaces/components/Chips/index.d.ts +2 -1
- package/dist/src/interfaces/components/Collapse/index.d.ts +7 -0
- package/dist/src/interfaces/components/Input/index.d.ts +13 -0
- package/dist/src/interfaces/components/Pagination/index.d.ts +2 -0
- package/dist/src/interfaces/components/Popover/index.d.ts +3 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +3 -2
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +2 -1
- package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +1 -1
- package/dist/src/interfaces/components/Sidebar/index.d.ts +7 -4
- package/dist/src/interfaces/components/Switch/index.d.ts +1 -1
- package/dist/src/interfaces/components/Table/index.d.ts +38 -6
- package/dist/src/interfaces/components/Tabs/index.d.ts +6 -2
- package/dist/src/interfaces/components/Textarea/index.d.ts +13 -0
- package/dist/src/interfaces/components/TimeRange/index.d.ts +28 -0
- package/dist/src/interfaces/components/TruncateComponent/index.d.ts +1 -3
- package/dist/src/interfaces/components/UploadFile/index.d.ts +2 -0
- package/dist/src/utils/common.d.ts +7 -4
- package/dist/tinymce/CHANGELOG.md +3785 -3785
- package/dist/tinymce/js/tinymce/langs/README.md +3 -3
- package/dist/tinymce/js/tinymce/license.md +6 -6
- package/dist/tinymce/js/tinymce/notices.txt +21 -21
- package/dist/tinymce/js/tinymce/plugins/codesample/plugin.min.js +8 -8
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ar.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ca.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/cs.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/da.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/de.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/el.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/en.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/es.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/eu.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fa.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fi.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/he_IL.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hi.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hr.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/id.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/it.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ja.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/kk.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ms.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/nl.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pl.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ro.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ru.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sk.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/th_TH.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/tr.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/uk.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/vi.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +86 -86
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +92 -92
- package/dist/tinymce/js/tinymce/skins/content/dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/default/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/default/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/document/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/document/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5-dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5-dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/writer/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/writer/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/tinymce.d.ts +3350 -3350
- package/dist/tinymce/js/tinymce/tinymce.min.js +10 -10
- package/dist/types-external/table.d.ts +15 -12
- 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
|
};
|
|
@@ -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,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ITextareaInnerLabel } from '../../interfaces/components/Textarea';
|
|
3
|
+
declare const TextareaInnerLabel: React.ForwardRefExoticComponent<ITextareaInnerLabel & React.RefAttributes<HTMLTextAreaElement>>;
|
|
4
|
+
export default TextareaInnerLabel;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').ForwardRefExoticComponent<import('../../interfaces/components/Textarea').ITextareaInnerLabel & import('react').RefAttributes<HTMLTextAreaElement>>;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
argTypes: {
|
|
10
|
+
className: {
|
|
11
|
+
type: "string";
|
|
12
|
+
};
|
|
13
|
+
error: {
|
|
14
|
+
type: "string";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
args: {
|
|
18
|
+
onChange: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
19
|
+
value: string;
|
|
20
|
+
};
|
|
21
|
+
render: (args: import('../../interfaces/components/Textarea').ITextareaInnerLabel & import('react').RefAttributes<HTMLTextAreaElement>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
};
|
|
23
|
+
export default meta;
|
|
24
|
+
type Story = StoryObj<typeof meta>;
|
|
25
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { ITimeRange } from '../../interfaces/components/TimeRange';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: ITimeRange) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
className: {
|
|
12
|
+
type: "string";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
render: (args: ITimeRange) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof meta>;
|
|
19
|
+
export declare const Default: Story;
|
|
@@ -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,6 @@
|
|
|
1
1
|
import { ICollapse } from './../interfaces/components/Collapse';
|
|
2
|
-
import { IMasonryLayout } from './../hooks/useMasonry';
|
|
3
2
|
import { IChips } from './../interfaces/components/Chips';
|
|
4
|
-
import { IDatePicker } from './../interfaces/components/DatePicker
|
|
3
|
+
import { IDatePicker } from './../interfaces/components/DatePicker';
|
|
5
4
|
import { default as TPublish } from './TPublish/TPublish';
|
|
6
5
|
import { default as Button } from './Button/Button';
|
|
7
6
|
import { default as Popover } from './Popover/Popover';
|
|
@@ -9,7 +8,8 @@ import { IRefPopover, IPopover } from '../interfaces/components/Popover';
|
|
|
9
8
|
import { default as InputFloatingInner } from './Input/InputFloatingInner';
|
|
10
9
|
import { default as InputReguler } from './Input/InputReguler';
|
|
11
10
|
import { default as Table, ConfigTable } from './Table/Table';
|
|
12
|
-
import {
|
|
11
|
+
import { default as TableSubComponent } from './Table/TableSubMobile';
|
|
12
|
+
import { ITableColumnDef, ITableColumnBreakpoint, ITableConfig, TTableRenderSubComponent, TTableHandlerRowClick } from '../interfaces/components/Table';
|
|
13
13
|
import { default as TableVirtualization } from './Virtualization/TableVirtualization';
|
|
14
14
|
import { TableVirtuosoHandle as IRefTableVirtualization, VirtuosoHandle as IRefListVirtualization } from 'react-virtuoso';
|
|
15
15
|
import { default as ListVirtualization } from './Virtualization/ListVirtualization';
|
|
@@ -23,6 +23,7 @@ import { default as CalendarRange } from './Calendar/CalendarRange';
|
|
|
23
23
|
import { default as DatePicker } from './DatePicker/DatePicker';
|
|
24
24
|
import { default as DateRangePicker } from './DatePicker/DateRangePicker';
|
|
25
25
|
import { default as FilterDate } from './DatePicker/FilterDate';
|
|
26
|
+
import { TKeyLocale } from '../interfaces/components/Calendar';
|
|
26
27
|
import { IFilterDateButtonList, TKeyFilterDateButtonListType } from '../interfaces/components/DatePicker';
|
|
27
28
|
import { default as Switch } from './Switch/Switch';
|
|
28
29
|
import { default as ButtonIcon } from './ButtonIcon/ButtonIcon';
|
|
@@ -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,23 @@ 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
|
|
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
|
|
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';
|
|
77
|
+
import { default as TimeRange } from './TimeRange/TimeRange';
|
|
78
|
+
import { ITimeRangeListTime, ITimeRange, TTimeRangeValue } from '../interfaces/components/TimeRange';
|
|
79
|
+
import { default as TextareaInnerLabel } from './Textarea/TextareaInnerLabel';
|
|
80
|
+
import { default as InputInnerLabel } from './Input/InputInnerLabel';
|
|
75
81
|
import * as utilTable from '@tanstack/react-table';
|
|
76
82
|
import type * as SelectDropdownContainerType from 'react-select';
|
|
77
83
|
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,
|
|
84
|
+
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, TimeRange, TextareaInnerLabel, InputInnerLabel, };
|
|
85
|
+
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, IDataGradientBarChartCustomTooltip, IDataGradientLineChartCustomTooltip, ITextEditorProps, ICollapse, ITableColumnBreakpoint, TTableRenderSubComponent, TTableHandlerRowClick, TKeyLocale, ITimeRangeListTime, ITimeRange, TTimeRangeValue, };
|
|
@@ -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
|
-
|
|
4
|
+
import { default as configNativeScreens } from './nativeScreen';
|
|
5
|
+
export { ConfigColors, configTypography, configTypographyLabaBisnis, configTypographyPayhere, configScreens, configNativeScreens, };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export type ITypography = Record<string, [string, Record<string, string | number>]>;
|
|
2
2
|
export declare const configTypographyPayhere: ITypography;
|
|
3
3
|
export declare const configTypographyLabaBisnis: ITypography;
|
|
4
|
+
export declare const configTypographyBillId: ITypography;
|
|
4
5
|
declare const _default: {
|
|
5
6
|
[x: string]: [string, Record<string, string | number>];
|
|
6
7
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { default as useElementOrWindowMediaQuery } from './useElementOrWindowMediaQuery';
|
|
2
|
-
import { default as useCountdown } from './useCountdown';
|
|
2
|
+
import { default as useCountdown, IUseCountdownReturn, IUseCountdown } from './useCountdown';
|
|
3
3
|
import { default as useAsyncDebounce } from './useAsyncDebounce';
|
|
4
4
|
import { default as useCombinedResizeObserver } from './useCombinedResizeObserver';
|
|
5
5
|
import { default as useStateRef } from './useStateRef';
|
|
6
6
|
import { useMergeRefs } from './useMergeRefs';
|
|
7
7
|
import { useDeepCompareEffect, useDeepCompareMemoize } from './useDeepCompareEffect';
|
|
8
8
|
import { useEventListener } from './useEventListener';
|
|
9
|
-
import { default as useMasonry } from './useMasonry';
|
|
10
|
-
|
|
9
|
+
import { default as useMasonry, IMasonryLayout } from './useMasonry';
|
|
10
|
+
import { default as useOtpInput, IUseOtpInput, IUseOtpInputReturn } from './useOtpInput';
|
|
11
|
+
export { useElementOrWindowMediaQuery, useCountdown, useAsyncDebounce, useCombinedResizeObserver, useStateRef, useDeepCompareEffect, useDeepCompareMemoize, useMergeRefs, useEventListener, useMasonry, useOtpInput, };
|
|
12
|
+
export type { IUseOtpInput, IUseOtpInputReturn, IMasonryLayout, IUseCountdownReturn, IUseCountdown };
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
export interface IUseCountdown {
|
|
2
2
|
date: string;
|
|
3
3
|
intervalMs: number;
|
|
4
4
|
running: boolean;
|
|
5
5
|
adjustTimesTime?: number;
|
|
6
6
|
callbackDone?: () => void;
|
|
7
|
-
}
|
|
7
|
+
}
|
|
8
|
+
export interface IUseCountdownReturn {
|
|
8
9
|
count: number;
|
|
10
|
+
isRunning: boolean;
|
|
9
11
|
startCountdown: () => void;
|
|
10
12
|
stopCountdown: () => void;
|
|
11
13
|
resetCountdown: (value?: Date | number) => void;
|
|
12
14
|
setCallbackDone: (val: () => void) => void;
|
|
13
|
-
}
|
|
15
|
+
}
|
|
16
|
+
declare const useCountdown: (options: IUseCountdown) => IUseCountdownReturn;
|
|
14
17
|
export default useCountdown;
|