@ctlyst.id/internal-ui 1.0.1-canary.3 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/base/stories/button.stories.d.ts +10 -0
- package/dist/components/base/stories/checkbox.stories.d.ts +11 -0
- package/dist/components/base/stories/input.stories.d.ts +16 -0
- package/dist/components/base/stories/radio.stories.d.ts +15 -0
- package/dist/components/base/stories/switch.stories.d.ts +11 -0
- package/dist/{types/components → components}/breadcrumb/components/BreadCrumb.d.ts +17 -17
- package/dist/components/breadcrumb/components/BreadCrumb.stories.d.ts +10 -0
- package/dist/{types/components → components}/breadcrumb/index.d.ts +2 -2
- package/dist/{types/components → components}/data-table/components/data-table.d.ts +40 -40
- package/dist/{types/components → components}/data-table/components/indeterminate-checkbox.d.ts +5 -5
- package/dist/{types/components → components}/data-table/index.d.ts +3 -3
- package/dist/components/data-table/stories/data-table.stories.d.ts +38 -0
- package/dist/{types/components → components}/data-table/types/table-core.d.ts +1 -1
- package/dist/{types/components → components}/datepicker/components/datepicker.d.ts +17 -17
- package/dist/components/datepicker/components/datepicker.stories.d.ts +13 -0
- package/dist/{types/components → components}/datepicker/components/styles.d.ts +2 -2
- package/dist/{types/components → components}/datepicker/components/time-input.d.ts +9 -9
- package/dist/{types/components → components}/datepicker/index.d.ts +2 -2
- package/dist/{types/components → components}/field/components/field.d.ts +11 -11
- package/dist/{types/components → components}/field/components/input-field.d.ts +12 -12
- package/dist/{types/components → components}/field/components/textarea-field.d.ts +12 -12
- package/dist/{types/components → components}/field/index.d.ts +6 -6
- package/dist/{types/components → components}/header/components/header.d.ts +10 -10
- package/dist/{types/components → components}/header/components/logo.d.ts +2 -2
- package/dist/{types/components → components}/header/components/profile.d.ts +8 -8
- package/dist/{types/components → components}/header/components/switch-mode.d.ts +3 -3
- package/dist/{types/components → components}/header/components/version.d.ts +9 -9
- package/dist/{types/components → components}/header/index.d.ts +3 -3
- package/dist/components/header/stories/header.stories.d.ts +10 -0
- package/dist/{types/components → components}/header/types.d.ts +10 -10
- package/dist/{types/components → components}/header/utils/formatter.d.ts +2 -2
- package/dist/{types/components → components}/index.d.ts +11 -11
- package/dist/{types/components → components}/modal/components/modal-close-button.d.ts +4 -4
- package/dist/{types/components → components}/modal/components/modal-footer.d.ts +4 -4
- package/dist/{types/components → components}/modal/components/modal-header.d.ts +4 -4
- package/dist/{types/components → components}/modal/index.d.ts +4 -4
- package/dist/components/modal/stories/modal.stories.d.ts +10 -0
- package/dist/{types/components → components}/navigation/components/navigation.d.ts +10 -10
- package/dist/{types/components → components}/navigation/index.d.ts +2 -2
- package/dist/components/navigation/stories/navigation.stories.d.ts +10 -0
- package/dist/{types/components → components}/navigation/types.d.ts +8 -8
- package/dist/{types/components → components}/pagination/components/pagination-button-trigger.d.ts +10 -10
- package/dist/{types/components → components}/pagination/components/pagination-button.d.ts +6 -6
- package/dist/{types/components → components}/pagination/components/pagination-detail.d.ts +10 -10
- package/dist/{types/components → components}/pagination/components/pagination-filter.d.ts +13 -13
- package/dist/{types/components → components}/pagination/components/pagination.d.ts +16 -16
- package/dist/{types/components → components}/pagination/index.d.ts +6 -6
- package/dist/components/pagination/stories/pagination.stories.d.ts +13 -0
- package/dist/{types/components → components}/select/components/select-async-creatable.d.ts +4 -4
- package/dist/{types/components → components}/select/components/select-async.d.ts +5 -5
- package/dist/{types/components → components}/select/components/select-creatable.d.ts +4 -4
- package/dist/{types/components → components}/select/components/select.d.ts +4 -4
- package/dist/{types/components → components}/select/components/utils.d.ts +26 -26
- package/dist/{types/components → components}/select/index.d.ts +8 -8
- package/dist/components/select/stories/select.stories.d.ts +13 -0
- package/dist/{types/components → components}/tabs/components/tab-list.d.ts +3 -3
- package/dist/{types/components → components}/tabs/components/tab-panel.d.ts +3 -3
- package/dist/{types/components → components}/tabs/components/tab.d.ts +11 -11
- package/dist/{types/components → components}/tabs/index.d.ts +4 -4
- package/dist/components/tabs/stories/tabs.stories.d.ts +10 -0
- package/dist/{types/components → components}/uploader/components/uploader.d.ts +12 -12
- package/dist/{types/components → components}/uploader/constants.d.ts +8 -8
- package/dist/{types/components → components}/uploader/index.d.ts +2 -2
- package/dist/components/uploader/stories/uploader.stories.d.ts +12 -0
- package/dist/config/foundations.stories.d.ts +13 -0
- package/dist/{types/config → config}/index.d.ts +1 -1
- package/dist/{types/config → config}/theme/components/button.d.ts +3 -3
- package/dist/{types/config → config}/theme/components/checkbox.d.ts +3 -3
- package/dist/{types/config → config}/theme/components/form-label.d.ts +19 -19
- package/dist/{types/config → config}/theme/components/index.d.ts +8 -8
- package/dist/{types/config → config}/theme/components/input.d.ts +114 -114
- package/dist/{types/config → config}/theme/components/popover.d.ts +3 -3
- package/dist/{types/config → config}/theme/components/radio.d.ts +3 -3
- package/dist/{types/config → config}/theme/components/switch.d.ts +32 -32
- package/dist/{types/config → config}/theme/components/textarea.d.ts +3 -3
- package/dist/config/theme/foundations/colors.d.ts +158 -0
- package/dist/{types/config → config}/theme/foundations/index.d.ts +5 -5
- package/dist/{types/config → config}/theme/foundations/radius.d.ts +8 -8
- package/dist/{types/config → config}/theme/foundations/sizes.d.ts +66 -66
- package/dist/{types/config → config}/theme/foundations/spacing.d.ts +42 -42
- package/dist/{types/config → config}/theme/foundations/typography.d.ts +173 -173
- package/dist/{types/config → config}/theme/index.d.ts +1 -1
- package/dist/{types/config → config}/theme/themeConfiguration.d.ts +4 -4
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useFetcher.d.ts +4 -0
- package/dist/{types/index.d.ts → index.d.ts} +3 -3
- package/dist/index.js +6 -892
- package/dist/interfaces/common.d.ts +17 -0
- package/dist/internal-ui.cjs.development.js +3279 -0
- package/dist/internal-ui.cjs.development.js.map +1 -0
- package/dist/internal-ui.cjs.production.min.js +10 -0
- package/dist/internal-ui.cjs.production.min.js.map +1 -0
- package/dist/internal-ui.esm.js +3008 -0
- package/dist/internal-ui.esm.js.map +1 -0
- package/dist/{types/provider → provider}/index.d.ts +2 -2
- package/dist/{types/provider → provider}/provider.d.ts +6 -6
- package/dist/provider/provider.stories.d.ts +5 -0
- package/dist/provider/types.d.ts +14 -0
- package/package.json +20 -7
- package/dist/index.mjs +0 -20509
- package/dist/types/config/theme/foundations/colors.d.ts +0 -158
- package/dist/types/provider/types.d.ts +0 -14
@@ -1,42 +1,42 @@
|
|
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
|
+
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,173 +1,173 @@
|
|
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
|
-
34: string;
|
24
|
-
32: string;
|
25
|
-
30: string;
|
26
|
-
28: string;
|
27
|
-
26: string;
|
28
|
-
24: string;
|
29
|
-
22: string;
|
30
|
-
20: string;
|
31
|
-
18: string;
|
32
|
-
16: string;
|
33
|
-
14: string;
|
34
|
-
12: string;
|
35
|
-
};
|
36
|
-
declare const fontSizes: {
|
37
|
-
heading: {
|
38
|
-
1: string;
|
39
|
-
2: string;
|
40
|
-
3: string;
|
41
|
-
4: string;
|
42
|
-
5: string;
|
43
|
-
6: string;
|
44
|
-
};
|
45
|
-
text: {
|
46
|
-
xl: string;
|
47
|
-
lg: string;
|
48
|
-
md: string;
|
49
|
-
sm: string;
|
50
|
-
xs: string;
|
51
|
-
};
|
52
|
-
button: {
|
53
|
-
lg: string;
|
54
|
-
md: string;
|
55
|
-
sm: string;
|
56
|
-
};
|
57
|
-
field: {
|
58
|
-
lg: string;
|
59
|
-
md: string;
|
60
|
-
sm: string;
|
61
|
-
};
|
62
|
-
table: {
|
63
|
-
header: string;
|
64
|
-
};
|
65
|
-
};
|
66
|
-
declare const textStyles: {
|
67
|
-
heading: {
|
68
|
-
1: {
|
69
|
-
fontSize: string;
|
70
|
-
fontWeight: string;
|
71
|
-
lineHeight: string;
|
72
|
-
letterSpacing: string;
|
73
|
-
};
|
74
|
-
2: {
|
75
|
-
fontSize: string;
|
76
|
-
fontWeight: string;
|
77
|
-
lineHeight: string;
|
78
|
-
letterSpacing: string;
|
79
|
-
};
|
80
|
-
3: {
|
81
|
-
fontSize: string;
|
82
|
-
fontWeight: string;
|
83
|
-
lineHeight: string;
|
84
|
-
letterSpacing: string;
|
85
|
-
};
|
86
|
-
4: {
|
87
|
-
fontSize: string;
|
88
|
-
fontWeight: string;
|
89
|
-
lineHeight: string;
|
90
|
-
letterSpacing: string;
|
91
|
-
};
|
92
|
-
5: {
|
93
|
-
fontSize: string;
|
94
|
-
fontWeight: string;
|
95
|
-
lineHeight: string;
|
96
|
-
letterSpacing: string;
|
97
|
-
};
|
98
|
-
6: {
|
99
|
-
fontSize: string;
|
100
|
-
fontWeight: string;
|
101
|
-
lineHeight: string;
|
102
|
-
letterSpacing: string;
|
103
|
-
};
|
104
|
-
};
|
105
|
-
text: {
|
106
|
-
xl: {
|
107
|
-
fontSize: string;
|
108
|
-
lineHeight: string;
|
109
|
-
letterSpacing: string;
|
110
|
-
};
|
111
|
-
lg: {
|
112
|
-
fontSize: string;
|
113
|
-
lineHeight: string;
|
114
|
-
letterSpacing: string;
|
115
|
-
};
|
116
|
-
md: {
|
117
|
-
fontSize: string;
|
118
|
-
lineHeight: string;
|
119
|
-
letterSpacing: string;
|
120
|
-
};
|
121
|
-
sm: {
|
122
|
-
fontSize: string;
|
123
|
-
lineHeight: string;
|
124
|
-
letterSpacing: string;
|
125
|
-
};
|
126
|
-
xs: {
|
127
|
-
fontSize: string;
|
128
|
-
lineHeight: string;
|
129
|
-
letterSpacing: string;
|
130
|
-
};
|
131
|
-
};
|
132
|
-
button: {
|
133
|
-
lg: {
|
134
|
-
fontSize: string;
|
135
|
-
lineHeight: string;
|
136
|
-
letterSpacing: string;
|
137
|
-
fontWeight: number;
|
138
|
-
};
|
139
|
-
md: {
|
140
|
-
fontSize: string;
|
141
|
-
lineHeight: string;
|
142
|
-
letterSpacing: string;
|
143
|
-
fontWeight: number;
|
144
|
-
};
|
145
|
-
sm: {
|
146
|
-
fontSize: string;
|
147
|
-
lineHeight: string;
|
148
|
-
letterSpacing: string;
|
149
|
-
fontWeight: number;
|
150
|
-
};
|
151
|
-
};
|
152
|
-
field: {
|
153
|
-
lg: {
|
154
|
-
fontSize: string;
|
155
|
-
lineHeight: string;
|
156
|
-
letterSpacing: string;
|
157
|
-
fontWeight: number;
|
158
|
-
};
|
159
|
-
md: {
|
160
|
-
fontSize: string;
|
161
|
-
lineHeight: string;
|
162
|
-
letterSpacing: string;
|
163
|
-
fontWeight: number;
|
164
|
-
};
|
165
|
-
sm: {
|
166
|
-
fontSize: string;
|
167
|
-
lineHeight: string;
|
168
|
-
letterSpacing: string;
|
169
|
-
fontWeight: number;
|
170
|
-
};
|
171
|
-
};
|
172
|
-
};
|
173
|
-
export { fonts, fontSizes, fontWeights, lineHeights, textStyles };
|
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
|
+
34: string;
|
24
|
+
32: string;
|
25
|
+
30: string;
|
26
|
+
28: string;
|
27
|
+
26: string;
|
28
|
+
24: string;
|
29
|
+
22: string;
|
30
|
+
20: string;
|
31
|
+
18: string;
|
32
|
+
16: string;
|
33
|
+
14: string;
|
34
|
+
12: string;
|
35
|
+
};
|
36
|
+
declare const fontSizes: {
|
37
|
+
heading: {
|
38
|
+
1: string;
|
39
|
+
2: string;
|
40
|
+
3: string;
|
41
|
+
4: string;
|
42
|
+
5: string;
|
43
|
+
6: string;
|
44
|
+
};
|
45
|
+
text: {
|
46
|
+
xl: string;
|
47
|
+
lg: string;
|
48
|
+
md: string;
|
49
|
+
sm: string;
|
50
|
+
xs: string;
|
51
|
+
};
|
52
|
+
button: {
|
53
|
+
lg: string;
|
54
|
+
md: string;
|
55
|
+
sm: string;
|
56
|
+
};
|
57
|
+
field: {
|
58
|
+
lg: string;
|
59
|
+
md: string;
|
60
|
+
sm: string;
|
61
|
+
};
|
62
|
+
table: {
|
63
|
+
header: string;
|
64
|
+
};
|
65
|
+
};
|
66
|
+
declare const textStyles: {
|
67
|
+
heading: {
|
68
|
+
1: {
|
69
|
+
fontSize: string;
|
70
|
+
fontWeight: string;
|
71
|
+
lineHeight: string;
|
72
|
+
letterSpacing: string;
|
73
|
+
};
|
74
|
+
2: {
|
75
|
+
fontSize: string;
|
76
|
+
fontWeight: string;
|
77
|
+
lineHeight: string;
|
78
|
+
letterSpacing: string;
|
79
|
+
};
|
80
|
+
3: {
|
81
|
+
fontSize: string;
|
82
|
+
fontWeight: string;
|
83
|
+
lineHeight: string;
|
84
|
+
letterSpacing: string;
|
85
|
+
};
|
86
|
+
4: {
|
87
|
+
fontSize: string;
|
88
|
+
fontWeight: string;
|
89
|
+
lineHeight: string;
|
90
|
+
letterSpacing: string;
|
91
|
+
};
|
92
|
+
5: {
|
93
|
+
fontSize: string;
|
94
|
+
fontWeight: string;
|
95
|
+
lineHeight: string;
|
96
|
+
letterSpacing: string;
|
97
|
+
};
|
98
|
+
6: {
|
99
|
+
fontSize: string;
|
100
|
+
fontWeight: string;
|
101
|
+
lineHeight: string;
|
102
|
+
letterSpacing: string;
|
103
|
+
};
|
104
|
+
};
|
105
|
+
text: {
|
106
|
+
xl: {
|
107
|
+
fontSize: string;
|
108
|
+
lineHeight: string;
|
109
|
+
letterSpacing: string;
|
110
|
+
};
|
111
|
+
lg: {
|
112
|
+
fontSize: string;
|
113
|
+
lineHeight: string;
|
114
|
+
letterSpacing: string;
|
115
|
+
};
|
116
|
+
md: {
|
117
|
+
fontSize: string;
|
118
|
+
lineHeight: string;
|
119
|
+
letterSpacing: string;
|
120
|
+
};
|
121
|
+
sm: {
|
122
|
+
fontSize: string;
|
123
|
+
lineHeight: string;
|
124
|
+
letterSpacing: string;
|
125
|
+
};
|
126
|
+
xs: {
|
127
|
+
fontSize: string;
|
128
|
+
lineHeight: string;
|
129
|
+
letterSpacing: string;
|
130
|
+
};
|
131
|
+
};
|
132
|
+
button: {
|
133
|
+
lg: {
|
134
|
+
fontSize: string;
|
135
|
+
lineHeight: string;
|
136
|
+
letterSpacing: string;
|
137
|
+
fontWeight: number;
|
138
|
+
};
|
139
|
+
md: {
|
140
|
+
fontSize: string;
|
141
|
+
lineHeight: string;
|
142
|
+
letterSpacing: string;
|
143
|
+
fontWeight: number;
|
144
|
+
};
|
145
|
+
sm: {
|
146
|
+
fontSize: string;
|
147
|
+
lineHeight: string;
|
148
|
+
letterSpacing: string;
|
149
|
+
fontWeight: number;
|
150
|
+
};
|
151
|
+
};
|
152
|
+
field: {
|
153
|
+
lg: {
|
154
|
+
fontSize: string;
|
155
|
+
lineHeight: string;
|
156
|
+
letterSpacing: string;
|
157
|
+
fontWeight: number;
|
158
|
+
};
|
159
|
+
md: {
|
160
|
+
fontSize: string;
|
161
|
+
lineHeight: string;
|
162
|
+
letterSpacing: string;
|
163
|
+
fontWeight: number;
|
164
|
+
};
|
165
|
+
sm: {
|
166
|
+
fontSize: string;
|
167
|
+
lineHeight: string;
|
168
|
+
letterSpacing: string;
|
169
|
+
fontWeight: number;
|
170
|
+
};
|
171
|
+
};
|
172
|
+
};
|
173
|
+
export { fonts, fontSizes, fontWeights, lineHeights, textStyles };
|
@@ -1 +1 @@
|
|
1
|
-
export * from './themeConfiguration';
|
1
|
+
export * from './themeConfiguration';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const theme: Record<string, any>;
|
2
|
-
type Theme = typeof theme;
|
3
|
-
export type { Theme };
|
4
|
-
export { theme };
|
1
|
+
declare const theme: Record<string, any>;
|
2
|
+
declare type Theme = typeof theme;
|
3
|
+
export type { Theme };
|
4
|
+
export { theme };
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as useFetcher } from './useFetcher';
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export * from './components';
|
2
|
-
export * from './config';
|
3
|
-
export * from './provider';
|
1
|
+
export * from './components';
|
2
|
+
export * from './config';
|
3
|
+
export * from './provider';
|