@ctlyst.id/internal-ui 2.1.11-canary.1 → 2.1.11-canary.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +686 -3185
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +132 -2652
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
- package/dist/components/accordion/__stories__/accordion.stories.d.ts +0 -9
- package/dist/components/accordion/components/accordion-indicator.d.ts +0 -1
- package/dist/components/accordion/components/index.d.ts +0 -2
- package/dist/components/accordion/index.d.ts +0 -1
- package/dist/components/alert/__stories__/alert.stories.d.ts +0 -11
- package/dist/components/alert/components/alert-action.d.ts +0 -6
- package/dist/components/alert/components/alert-close.d.ts +0 -6
- package/dist/components/alert/components/alert-context.d.ts +0 -33
- package/dist/components/alert/components/alert-description.d.ts +0 -3
- package/dist/components/alert/components/alert-icon.d.ts +0 -6
- package/dist/components/alert/components/alert-title.d.ts +0 -3
- package/dist/components/alert/components/alert.d.ts +0 -25
- package/dist/components/alert/components/icons.d.ts +0 -3
- package/dist/components/alert/components/index.d.ts +0 -14
- package/dist/components/alert/index.d.ts +0 -1
- package/dist/components/anchor/__stories__/anchor.stories.d.ts +0 -9
- package/dist/components/anchor/components/anchor.d.ts +0 -20
- package/dist/components/anchor/components/index.d.ts +0 -1
- package/dist/components/anchor/index.d.ts +0 -1
- package/dist/components/badge/__stories__/badge.stories.d.ts +0 -15
- package/dist/components/badge/components/badge.d.ts +0 -11
- package/dist/components/badge/components/index.d.ts +0 -1
- package/dist/components/badge/index.d.ts +0 -1
- package/dist/components/breadcrumb/__stories__/breadcrumb.stories.d.ts +0 -8
- package/dist/components/breadcrumb/components/bread-crumb.d.ts +0 -18
- package/dist/components/breadcrumb/index.d.ts +0 -2
- package/dist/components/button/__stories__/button.stories.d.ts +0 -12
- package/dist/components/button/components/button.d.ts +0 -4
- package/dist/components/button/index.d.ts +0 -3
- package/dist/components/card/__stories__/card.stories.d.ts +0 -8
- package/dist/components/card/components/card.d.ts +0 -8
- package/dist/components/card/index.d.ts +0 -2
- package/dist/components/checkbox/__stories__/checkbox.stories.d.ts +0 -13
- package/dist/components/checkbox/components/checkbox-group.d.ts +0 -18
- package/dist/components/checkbox/components/checkbox.d.ts +0 -10
- package/dist/components/checkbox/index.d.ts +0 -5
- package/dist/components/chips/__stories__/chips.stories.d.ts +0 -9
- package/dist/components/chips/components/chips.d.ts +0 -19
- package/dist/components/chips/index.d.ts +0 -2
- package/dist/components/collapse/__stories__/collapse.stories.d.ts +0 -7
- package/dist/components/counter/__stories__/counter.stories.d.ts +0 -10
- package/dist/components/counter/components/counter.d.ts +0 -15
- package/dist/components/counter/index.d.ts +0 -1
- package/dist/components/data-table/__stories__/datatable.stories.d.ts +0 -22
- package/dist/components/data-table/components/data-table.d.ts +0 -36
- package/dist/components/data-table/index.d.ts +0 -2
- package/dist/components/datepicker/__stories__/datepicker.stories.d.ts +0 -13
- package/dist/components/datepicker/components/datepicker-month/datepicker-month.d.ts +0 -9
- package/dist/components/datepicker/components/datepicker-month/index.d.ts +0 -4
- package/dist/components/datepicker/components/datepicker-month/multi-datepicker-month.d.ts +0 -9
- package/dist/components/datepicker/components/datepicker.d.ts +0 -17
- package/dist/components/datepicker/components/styles.d.ts +0 -2
- package/dist/components/datepicker/components/time-input.d.ts +0 -9
- package/dist/components/datepicker/index.d.ts +0 -3
- package/dist/components/dialog/__stories__/dialog.stories.d.ts +0 -7
- package/dist/components/dialog/components/dialog.d.ts +0 -12
- package/dist/components/dialog/index.d.ts +0 -1
- package/dist/components/empty-state/__stories__/dialog.stories.d.ts +0 -7
- package/dist/components/field/__stories__/field.stories.d.ts +0 -7
- package/dist/components/field/components/field.d.ts +0 -15
- package/dist/components/field/index.d.ts +0 -2
- package/dist/components/form/__stories__/input.stories.d.ts +0 -15
- package/dist/components/form/__stories__/textarea.stories.d.ts +0 -7
- package/dist/components/form/components/input-addon.d.ts +0 -7
- package/dist/components/form/components/input-element.d.ts +0 -2
- package/dist/components/form/components/input-field.d.ts +0 -13
- package/dist/components/form/components/textarea.d.ts +0 -8
- package/dist/components/form/index.d.ts +0 -7
- package/dist/components/form/styles/input-field.d.ts +0 -4
- package/dist/components/header/__stories__/header.stories.d.ts +0 -9
- package/dist/components/header/components/header.d.ts +0 -19
- package/dist/components/header/components/logo.d.ts +0 -10
- package/dist/components/header/components/profile.d.ts +0 -11
- package/dist/components/header/components/switch-mode.d.ts +0 -3
- package/dist/components/header/components/version.d.ts +0 -10
- package/dist/components/header/index.d.ts +0 -3
- package/dist/components/header/types.d.ts +0 -10
- package/dist/components/header/utils/formatter.d.ts +0 -2
- package/dist/components/image/__stories__/image.stories.d.ts +0 -9
- package/dist/components/image/index.d.ts +0 -1
- package/dist/components/index.d.ts +0 -34
- package/dist/components/layouting/index.d.ts +0 -1
- package/dist/components/list/index.d.ts +0 -1
- package/dist/components/loader/__stories__/loader.stories.d.ts +0 -9
- package/dist/components/loader/components/loader.d.ts +0 -10
- package/dist/components/loader/index.d.ts +0 -3
- package/dist/components/modal/__stories__/modal.stories.d.ts +0 -7
- package/dist/components/modal/components/modal-body.d.ts +0 -4
- package/dist/components/modal/components/modal-close-button.d.ts +0 -4
- package/dist/components/modal/components/modal-footer.d.ts +0 -4
- package/dist/components/modal/components/modal-header.d.ts +0 -4
- package/dist/components/modal/index.d.ts +0 -5
- package/dist/components/navigation/__stories__/navigation.stories.d.ts +0 -8
- package/dist/components/navigation/components/customer-icon.d.ts +0 -2
- package/dist/components/navigation/components/mapping-icon.d.ts +0 -2
- package/dist/components/navigation/components/navigation-bar.d.ts +0 -12
- package/dist/components/navigation/components/navigation.d.ts +0 -11
- package/dist/components/navigation/index.d.ts +0 -4
- package/dist/components/navigation/types.d.ts +0 -24
- package/dist/components/pagination/__stories__/pagination.stories.d.ts +0 -10
- package/dist/components/pagination/components/pagination-button-trigger.d.ts +0 -10
- package/dist/components/pagination/components/pagination-button.d.ts +0 -6
- package/dist/components/pagination/components/pagination-detail.d.ts +0 -10
- package/dist/components/pagination/components/pagination-filter.d.ts +0 -13
- package/dist/components/pagination/components/pagination.d.ts +0 -16
- package/dist/components/pagination/index.d.ts +0 -6
- package/dist/components/popover/index.d.ts +0 -1
- package/dist/components/radio/__stories__/radio.stories.d.ts +0 -13
- package/dist/components/radio/components/radio-group.d.ts +0 -18
- package/dist/components/radio/components/radio.d.ts +0 -17
- package/dist/components/radio/index.d.ts +0 -3
- package/dist/components/rating/__stories__/rating.stories.d.ts +0 -7
- package/dist/components/rating/components/rating.d.ts +0 -6
- package/dist/components/rating/index.d.ts +0 -2
- package/dist/components/select/__stories__/select.stories.d.ts +0 -10
- package/dist/components/select/components/select-async-creatable.d.ts +0 -5
- package/dist/components/select/components/select-async.d.ts +0 -6
- package/dist/components/select/components/select-creatable.d.ts +0 -5
- package/dist/components/select/components/select-wrapper.d.ts +0 -6
- package/dist/components/select/components/select.d.ts +0 -5
- package/dist/components/select/components/types/select.types.d.ts +0 -3
- package/dist/components/select/components/utils.d.ts +0 -26
- package/dist/components/select/index.d.ts +0 -8
- package/dist/components/switch/__stories__/switch.stories.d.ts +0 -10
- package/dist/components/switch/components/switch.d.ts +0 -18
- package/dist/components/switch/index.d.ts +0 -2
- package/dist/components/table/index.d.ts +0 -1
- package/dist/components/tabs/__stories__/tabs.stories.d.ts +0 -8
- package/dist/components/tabs/components/tab.d.ts +0 -12
- package/dist/components/tabs/index.d.ts +0 -2
- package/dist/components/text/index.d.ts +0 -1
- package/dist/components/toast/__stories__/toast.stories.d.ts +0 -12
- package/dist/components/toast/components/toast.d.ts +0 -21
- package/dist/components/toast/index.d.ts +0 -1
- package/dist/components/tooltip/__stories__/tooltip.stories.d.ts +0 -7
- package/dist/components/tooltip/index.d.ts +0 -1
- package/dist/components/uploader/__stories__/uploader.stories.d.ts +0 -9
- package/dist/components/uploader/components/uploader.d.ts +0 -12
- package/dist/components/uploader/constants.d.ts +0 -8
- package/dist/components/uploader/index.d.ts +0 -2
- package/dist/config/__stories__/foundations.stories.d.ts +0 -15
- package/dist/config/__stories__/globals.stories.d.ts +0 -10
- package/dist/config/index.d.ts +0 -1
- package/dist/config/theme/components/accordion.d.ts +0 -53
- package/dist/config/theme/components/alert.d.ts +0 -69
- package/dist/config/theme/components/badge.d.ts +0 -3
- package/dist/config/theme/components/button.d.ts +0 -3
- package/dist/config/theme/components/card.d.ts +0 -18
- package/dist/config/theme/components/checkbox.d.ts +0 -101
- package/dist/config/theme/components/chips.d.ts +0 -34
- package/dist/config/theme/components/form-label.d.ts +0 -20
- package/dist/config/theme/components/index.d.ts +0 -16
- package/dist/config/theme/components/input.d.ts +0 -101
- package/dist/config/theme/components/loader.d.ts +0 -85
- package/dist/config/theme/components/popover.d.ts +0 -3
- package/dist/config/theme/components/radio.d.ts +0 -102
- package/dist/config/theme/components/switch.d.ts +0 -75
- package/dist/config/theme/components/table.d.ts +0 -197
- package/dist/config/theme/components/tabs.d.ts +0 -30
- package/dist/config/theme/components/textarea.d.ts +0 -55
- package/dist/config/theme/foundations/index.d.ts +0 -5
- package/dist/config/theme/foundations/radius.d.ts +0 -8
- package/dist/config/theme/foundations/shadows.d.ts +0 -15
- package/dist/config/theme/foundations/sizes.d.ts +0 -66
- package/dist/config/theme/foundations/spacing.d.ts +0 -42
- package/dist/config/theme/foundations/typography.d.ts +0 -191
- package/dist/config/theme/index.d.ts +0 -1
- package/dist/config/theme/themeConfiguration.d.ts +0 -6
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/useFetcher.d.ts +0 -4
- package/dist/interfaces/common.d.ts +0 -17
- package/dist/internal-ui.cjs.development.js +0 -6217
- package/dist/internal-ui.cjs.development.js.map +0 -1
- package/dist/internal-ui.cjs.production.min.js +0 -38
- package/dist/internal-ui.cjs.production.min.js.map +0 -1
- package/dist/internal-ui.esm.js +0 -5179
- package/dist/internal-ui.esm.js.map +0 -1
- package/dist/provider/__stories__/provider.stories.d.ts +0 -13
- package/dist/provider/components/provider.d.ts +0 -7
- package/dist/provider/index.d.ts +0 -3
- package/dist/provider/types.d.ts +0 -14
@@ -1,66 +0,0 @@
|
|
1
|
-
declare const sizes: {
|
2
|
-
4.5: string;
|
3
|
-
9.5: string;
|
4
|
-
18: string;
|
5
|
-
22: string;
|
6
|
-
26: string;
|
7
|
-
30: string;
|
8
|
-
container: {
|
9
|
-
sm: string;
|
10
|
-
md: string;
|
11
|
-
lg: string;
|
12
|
-
xl: string;
|
13
|
-
};
|
14
|
-
max: string;
|
15
|
-
min: string;
|
16
|
-
full: string;
|
17
|
-
"3xs": string;
|
18
|
-
"2xs": string;
|
19
|
-
xs: string;
|
20
|
-
sm: string;
|
21
|
-
md: string;
|
22
|
-
lg: string;
|
23
|
-
xl: string;
|
24
|
-
"2xl": string;
|
25
|
-
"3xl": string;
|
26
|
-
"4xl": string;
|
27
|
-
"5xl": string;
|
28
|
-
"6xl": string;
|
29
|
-
"7xl": string;
|
30
|
-
"8xl": string;
|
31
|
-
prose: string;
|
32
|
-
px: string;
|
33
|
-
0.5: string;
|
34
|
-
1: string;
|
35
|
-
1.5: string;
|
36
|
-
2: string;
|
37
|
-
2.5: string;
|
38
|
-
3: string;
|
39
|
-
3.5: string;
|
40
|
-
4: string;
|
41
|
-
5: string;
|
42
|
-
6: string;
|
43
|
-
7: string;
|
44
|
-
8: string;
|
45
|
-
9: string;
|
46
|
-
10: string;
|
47
|
-
12: string;
|
48
|
-
14: string;
|
49
|
-
16: string;
|
50
|
-
20: string;
|
51
|
-
24: string;
|
52
|
-
28: string;
|
53
|
-
32: string;
|
54
|
-
36: string;
|
55
|
-
40: string;
|
56
|
-
44: string;
|
57
|
-
48: string;
|
58
|
-
52: string;
|
59
|
-
56: string;
|
60
|
-
60: string;
|
61
|
-
64: string;
|
62
|
-
72: string;
|
63
|
-
80: string;
|
64
|
-
96: string;
|
65
|
-
};
|
66
|
-
export default sizes;
|
@@ -1,42 +0,0 @@
|
|
1
|
-
declare const spacing: {
|
2
|
-
4.5: string;
|
3
|
-
9.5: string;
|
4
|
-
18: string;
|
5
|
-
22: string;
|
6
|
-
26: string;
|
7
|
-
30: string;
|
8
|
-
px: string;
|
9
|
-
0.5: string;
|
10
|
-
1: string;
|
11
|
-
1.5: string;
|
12
|
-
2: string;
|
13
|
-
2.5: string;
|
14
|
-
3: string;
|
15
|
-
3.5: string;
|
16
|
-
4: string;
|
17
|
-
5: string;
|
18
|
-
6: string;
|
19
|
-
7: string;
|
20
|
-
8: string;
|
21
|
-
9: string;
|
22
|
-
10: string;
|
23
|
-
12: string;
|
24
|
-
14: string;
|
25
|
-
16: string;
|
26
|
-
20: string;
|
27
|
-
24: string;
|
28
|
-
28: string;
|
29
|
-
32: string;
|
30
|
-
36: string;
|
31
|
-
40: string;
|
32
|
-
44: string;
|
33
|
-
48: string;
|
34
|
-
52: string;
|
35
|
-
56: string;
|
36
|
-
60: string;
|
37
|
-
64: string;
|
38
|
-
72: string;
|
39
|
-
80: string;
|
40
|
-
96: string;
|
41
|
-
};
|
42
|
-
export default spacing;
|
@@ -1,191 +0,0 @@
|
|
1
|
-
declare const fonts: {
|
2
|
-
heading: string;
|
3
|
-
body: string;
|
4
|
-
};
|
5
|
-
declare const fontWeights: {
|
6
|
-
hairline: number;
|
7
|
-
thin: number;
|
8
|
-
light: number;
|
9
|
-
normal: number;
|
10
|
-
medium: number;
|
11
|
-
semibold: number;
|
12
|
-
bold: number;
|
13
|
-
extrabold: number;
|
14
|
-
black: number;
|
15
|
-
};
|
16
|
-
declare const lineHeights: {
|
17
|
-
normal: string;
|
18
|
-
none: number;
|
19
|
-
shorter: number;
|
20
|
-
short: number;
|
21
|
-
base: number;
|
22
|
-
tall: number;
|
23
|
-
64: string;
|
24
|
-
56: string;
|
25
|
-
48: string;
|
26
|
-
40: string;
|
27
|
-
36: string;
|
28
|
-
34: string;
|
29
|
-
32: string;
|
30
|
-
30: string;
|
31
|
-
28: string;
|
32
|
-
26: string;
|
33
|
-
24: string;
|
34
|
-
22: string;
|
35
|
-
20: string;
|
36
|
-
18: string;
|
37
|
-
16: string;
|
38
|
-
14: string;
|
39
|
-
12: string;
|
40
|
-
};
|
41
|
-
declare const letterSpacings: {
|
42
|
-
tighter: string;
|
43
|
-
tight: string;
|
44
|
-
normal: string;
|
45
|
-
wide: string;
|
46
|
-
wider: string;
|
47
|
-
widest: string;
|
48
|
-
};
|
49
|
-
declare const fontSizes: {
|
50
|
-
heading: {
|
51
|
-
1: string;
|
52
|
-
2: string;
|
53
|
-
3: string;
|
54
|
-
4: string;
|
55
|
-
5: string;
|
56
|
-
6: string;
|
57
|
-
};
|
58
|
-
text: {
|
59
|
-
xl: string;
|
60
|
-
lg: string;
|
61
|
-
md: string;
|
62
|
-
sm: string;
|
63
|
-
xs: string;
|
64
|
-
};
|
65
|
-
button: {
|
66
|
-
lg: string;
|
67
|
-
md: string;
|
68
|
-
sm: string;
|
69
|
-
};
|
70
|
-
field: {
|
71
|
-
lg: string;
|
72
|
-
md: string;
|
73
|
-
sm: string;
|
74
|
-
};
|
75
|
-
table: {
|
76
|
-
header: string;
|
77
|
-
};
|
78
|
-
};
|
79
|
-
declare const textStyles: {
|
80
|
-
heading: {
|
81
|
-
1: {
|
82
|
-
fontSize: string;
|
83
|
-
fontWeight: number;
|
84
|
-
lineHeight: string;
|
85
|
-
letterSpacing: string;
|
86
|
-
};
|
87
|
-
2: {
|
88
|
-
fontSize: string;
|
89
|
-
fontWeight: number;
|
90
|
-
lineHeight: string;
|
91
|
-
letterSpacing: string;
|
92
|
-
};
|
93
|
-
3: {
|
94
|
-
fontSize: string;
|
95
|
-
fontWeight: number;
|
96
|
-
lineHeight: string;
|
97
|
-
letterSpacing: string;
|
98
|
-
};
|
99
|
-
4: {
|
100
|
-
fontSize: string;
|
101
|
-
fontWeight: number;
|
102
|
-
lineHeight: string;
|
103
|
-
letterSpacing: string;
|
104
|
-
};
|
105
|
-
5: {
|
106
|
-
fontSize: string;
|
107
|
-
fontWeight: number;
|
108
|
-
lineHeight: string;
|
109
|
-
letterSpacing: string;
|
110
|
-
};
|
111
|
-
6: {
|
112
|
-
fontSize: string;
|
113
|
-
fontWeight: number;
|
114
|
-
lineHeight: string;
|
115
|
-
letterSpacing: string;
|
116
|
-
};
|
117
|
-
};
|
118
|
-
text: {
|
119
|
-
xl: {
|
120
|
-
fontSize: string;
|
121
|
-
fontWeight: number;
|
122
|
-
lineHeight: string;
|
123
|
-
letterSpacing: string;
|
124
|
-
};
|
125
|
-
lg: {
|
126
|
-
fontSize: string;
|
127
|
-
fontWeight: number;
|
128
|
-
lineHeight: string;
|
129
|
-
letterSpacing: string;
|
130
|
-
};
|
131
|
-
md: {
|
132
|
-
fontSize: string;
|
133
|
-
fontWeight: number;
|
134
|
-
lineHeight: string;
|
135
|
-
letterSpacing: string;
|
136
|
-
};
|
137
|
-
sm: {
|
138
|
-
fontSize: string;
|
139
|
-
fontWeight: number;
|
140
|
-
lineHeight: string;
|
141
|
-
letterSpacing: string;
|
142
|
-
};
|
143
|
-
xs: {
|
144
|
-
fontSize: string;
|
145
|
-
fontWeight: number;
|
146
|
-
lineHeight: string;
|
147
|
-
letterSpacing: string;
|
148
|
-
};
|
149
|
-
};
|
150
|
-
button: {
|
151
|
-
lg: {
|
152
|
-
fontSize: string;
|
153
|
-
lineHeight: string;
|
154
|
-
letterSpacing: string;
|
155
|
-
fontWeight: number;
|
156
|
-
};
|
157
|
-
md: {
|
158
|
-
fontSize: string;
|
159
|
-
lineHeight: string;
|
160
|
-
letterSpacing: string;
|
161
|
-
fontWeight: number;
|
162
|
-
};
|
163
|
-
sm: {
|
164
|
-
fontSize: string;
|
165
|
-
lineHeight: string;
|
166
|
-
letterSpacing: string;
|
167
|
-
fontWeight: number;
|
168
|
-
};
|
169
|
-
};
|
170
|
-
field: {
|
171
|
-
lg: {
|
172
|
-
fontSize: string;
|
173
|
-
lineHeight: string;
|
174
|
-
letterSpacing: string;
|
175
|
-
fontWeight: number;
|
176
|
-
};
|
177
|
-
md: {
|
178
|
-
fontSize: string;
|
179
|
-
lineHeight: string;
|
180
|
-
letterSpacing: string;
|
181
|
-
fontWeight: number;
|
182
|
-
};
|
183
|
-
sm: {
|
184
|
-
fontSize: string;
|
185
|
-
lineHeight: string;
|
186
|
-
letterSpacing: string;
|
187
|
-
fontWeight: number;
|
188
|
-
};
|
189
|
-
};
|
190
|
-
};
|
191
|
-
export { fonts, fontSizes, fontWeights, letterSpacings, lineHeights, textStyles };
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './themeConfiguration';
|
@@ -1,6 +0,0 @@
|
|
1
|
-
export declare const getTheme: (foundations: Record<string, any>) => Record<string, any>;
|
2
|
-
declare const theme: Record<string, any>;
|
3
|
-
declare type Theme = typeof theme;
|
4
|
-
export type { Theme };
|
5
|
-
export { theme };
|
6
|
-
export { ThemeTypings } from '@chakra-ui/styled-system';
|
package/dist/hooks/index.d.ts
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
export { default as useFetcher } from './useFetcher';
|
2
|
-
export { useBoolean, useBreakpointValue, useClipboard, useColorMode, useColorModeValue, useConst, useControllableProp, useControllableState, useDimensions, useDisclosure, UseDisclosureProps, useMediaQuery, useMergeRefs, useOutsideClick, usePrefersReducedMotion, UseRadioGroupProps, useTheme, useToken, } from '@chakra-ui/react';
|
@@ -1,17 +0,0 @@
|
|
1
|
-
export declare type ActionsPayload<T = unknown> = {
|
2
|
-
method: 'PUT' | 'POST';
|
3
|
-
path: string;
|
4
|
-
body?: T;
|
5
|
-
};
|
6
|
-
export declare type ActionsType = {
|
7
|
-
onCreate?: ActionsPayload;
|
8
|
-
onUpdate?: ActionsPayload;
|
9
|
-
onDelete?: string;
|
10
|
-
onLoad?: string;
|
11
|
-
};
|
12
|
-
export declare type Actions = {
|
13
|
-
actions?: ActionsType;
|
14
|
-
};
|
15
|
-
export declare type Response<T = unknown> = {
|
16
|
-
data: T;
|
17
|
-
};
|