@ctlyst.id/internal-ui 1.0.4-canary.9 → 1.1.0-canary.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/dist/components/alert/__stories__/alert.stories.d.ts +14 -0
- package/dist/components/alert/components/alert-action.d.ts +6 -0
- package/dist/components/alert/components/alert-close.d.ts +6 -0
- package/dist/components/alert/components/alert-context.d.ts +29 -0
- package/dist/components/alert/components/alert-description.d.ts +3 -0
- package/dist/components/alert/components/alert-icon.d.ts +6 -0
- package/dist/components/alert/components/alert-title.d.ts +3 -0
- package/dist/components/alert/components/alert.d.ts +25 -0
- package/dist/components/alert/components/icons.d.ts +3 -0
- package/dist/components/alert/components/index.d.ts +14 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/{base/stories/button.stories.d.ts → badge/__stories__/badge.stories.d.ts} +1 -1
- package/dist/components/badge/components/badge.d.ts +11 -0
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/components/button/__stories__/button.stories.d.ts +14 -0
- package/dist/components/button/components/button.d.ts +4 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/card/__stories__/card.stories.d.ts +11 -0
- package/dist/components/card/components/card.d.ts +8 -0
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/checkbox/__stories__/checkbox-group.stories.d.ts +13 -0
- package/dist/components/checkbox/__stories__/checkbox.stories.d.ts +12 -0
- package/dist/components/checkbox/components/checkbox-group.d.ts +18 -0
- package/dist/components/checkbox/components/checkbox.d.ts +16 -0
- package/dist/components/checkbox/index.d.ts +4 -0
- package/dist/components/chips/__stories__/chips.stories.d.ts +12 -0
- package/dist/components/chips/components/chips.d.ts +19 -0
- package/dist/components/chips/index.d.ts +2 -0
- package/dist/components/field/components/field.d.ts +4 -2
- package/dist/components/field/index.d.ts +0 -4
- package/dist/components/form/__stories__/input.stories.d.ts +14 -0
- package/dist/components/form/__stories__/textarea.stories.d.ts +10 -0
- package/dist/components/form/components/input-addon.d.ts +7 -0
- package/dist/components/{field → form}/components/input-field.d.ts +4 -1
- package/dist/components/{field/components/textarea-field.d.ts → form/components/textarea.d.ts} +2 -6
- package/dist/components/form/index.d.ts +4 -0
- package/dist/components/form/styles/input-field.d.ts +4 -0
- package/dist/components/index.d.ts +9 -0
- package/dist/components/layouting/components/box.d.ts +4 -0
- package/dist/components/layouting/components/container.d.ts +4 -0
- package/dist/components/layouting/components/flex.d.ts +4 -0
- package/dist/components/layouting/components/grid.d.ts +4 -0
- package/dist/components/layouting/components/stack.d.ts +4 -0
- package/dist/components/layouting/components/wrap.d.ts +4 -0
- package/dist/components/layouting/index.d.ts +12 -0
- package/dist/components/{base/stories/checkbox.stories.d.ts → loader/__stories__/loader.stories.d.ts} +3 -2
- package/dist/components/loader/components/loader.d.ts +9 -0
- package/dist/components/loader/index.d.ts +2 -0
- package/dist/components/radio/__stories__/radio-group.stories.d.ts +13 -0
- package/dist/components/radio/__stories__/radio.stories.d.ts +12 -0
- package/dist/components/radio/components/radio-group.d.ts +17 -0
- package/dist/components/radio/components/radio.d.ts +16 -0
- package/dist/components/radio/index.d.ts +4 -0
- package/dist/components/rating/__stories__/rating.stories.d.ts +10 -0
- package/dist/components/rating/components/rating.d.ts +6 -0
- package/dist/components/rating/index.d.ts +2 -0
- package/dist/components/switch/__stories__/switch.stories.d.ts +13 -0
- package/dist/components/switch/components/switch.d.ts +18 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/text/components/text.d.ts +4 -0
- package/dist/components/text/index.d.ts +2 -0
- package/dist/config/{foundations.stories.d.ts → __stories__/foundations.stories.d.ts} +1 -0
- package/dist/config/theme/components/alert.d.ts +79 -0
- package/dist/config/theme/components/card.d.ts +18 -0
- package/dist/config/theme/components/checkbox.d.ts +87 -2
- package/dist/config/theme/components/chips.d.ts +30 -0
- package/dist/config/theme/components/index.d.ts +5 -1
- package/dist/config/theme/components/input.d.ts +8 -21
- package/dist/config/theme/components/loader.d.ts +85 -0
- package/dist/config/theme/components/radio.d.ts +98 -2
- package/dist/config/theme/components/switch.d.ts +43 -9
- package/dist/config/theme/components/textarea.d.ts +54 -2
- package/dist/config/theme/foundations/index.d.ts +3 -2
- package/dist/config/theme/foundations/shadows.d.ts +15 -0
- package/dist/config/theme/foundations/typography.d.ts +25 -7
- package/dist/config/theme/themeConfiguration.d.ts +4 -2
- package/dist/internal-ui.cjs.development.js +1411 -377
- package/dist/internal-ui.cjs.development.js.map +1 -1
- package/dist/internal-ui.cjs.production.min.js +10 -10
- package/dist/internal-ui.cjs.production.min.js.map +1 -1
- package/dist/internal-ui.esm.js +1413 -395
- package/dist/internal-ui.esm.js.map +1 -1
- package/dist/provider/{provider.d.ts → components/provider.d.ts} +1 -1
- package/dist/provider/index.d.ts +2 -2
- package/package.json +12 -11
- package/dist/components/base/stories/input.stories.d.ts +0 -16
- package/dist/components/base/stories/radio.stories.d.ts +0 -15
- /package/dist/components/base/{stories → __stories__}/switch.stories.d.ts +0 -0
- /package/dist/components/breadcrumb/{components/BreadCrumb.stories.d.ts → __stories__/breadcrumb.stories.d.ts} +0 -0
- /package/dist/components/data-table/{stories/data-table.stories.d.ts → __stories__/datatable.stories.d.ts} +0 -0
- /package/dist/components/datepicker/{components → __stories__}/datepicker.stories.d.ts +0 -0
- /package/dist/components/header/{stories → __stories__}/header.stories.d.ts +0 -0
- /package/dist/components/modal/{stories → __stories__}/modal.stories.d.ts +0 -0
- /package/dist/components/navigation/{stories → __stories__}/navigation.stories.d.ts +0 -0
- /package/dist/components/pagination/{stories → __stories__}/pagination.stories.d.ts +0 -0
- /package/dist/components/select/{stories → __stories__}/select.stories.d.ts +0 -0
- /package/dist/components/tabs/{stories → __stories__}/tabs.stories.d.ts +0 -0
- /package/dist/components/uploader/{stories → __stories__}/uploader.stories.d.ts +0 -0
- /package/dist/provider/{provider.stories.d.ts → __stories__/provider.stories.d.ts} +0 -0
@@ -20,6 +20,11 @@ declare const lineHeights: {
|
|
20
20
|
short: number;
|
21
21
|
base: number;
|
22
22
|
tall: number;
|
23
|
+
64: string;
|
24
|
+
56: string;
|
25
|
+
48: string;
|
26
|
+
40: string;
|
27
|
+
36: string;
|
23
28
|
34: string;
|
24
29
|
32: string;
|
25
30
|
30: string;
|
@@ -33,6 +38,14 @@ declare const lineHeights: {
|
|
33
38
|
14: string;
|
34
39
|
12: string;
|
35
40
|
};
|
41
|
+
declare const letterSpacings: {
|
42
|
+
tighter: string;
|
43
|
+
tight: string;
|
44
|
+
normal: string;
|
45
|
+
wide: string;
|
46
|
+
wider: string;
|
47
|
+
widest: string;
|
48
|
+
};
|
36
49
|
declare const fontSizes: {
|
37
50
|
heading: {
|
38
51
|
1: string;
|
@@ -67,37 +80,37 @@ declare const textStyles: {
|
|
67
80
|
heading: {
|
68
81
|
1: {
|
69
82
|
fontSize: string;
|
70
|
-
fontWeight:
|
83
|
+
fontWeight: number;
|
71
84
|
lineHeight: string;
|
72
85
|
letterSpacing: string;
|
73
86
|
};
|
74
87
|
2: {
|
75
88
|
fontSize: string;
|
76
|
-
fontWeight:
|
89
|
+
fontWeight: number;
|
77
90
|
lineHeight: string;
|
78
91
|
letterSpacing: string;
|
79
92
|
};
|
80
93
|
3: {
|
81
94
|
fontSize: string;
|
82
|
-
fontWeight:
|
95
|
+
fontWeight: number;
|
83
96
|
lineHeight: string;
|
84
97
|
letterSpacing: string;
|
85
98
|
};
|
86
99
|
4: {
|
87
100
|
fontSize: string;
|
88
|
-
fontWeight:
|
101
|
+
fontWeight: number;
|
89
102
|
lineHeight: string;
|
90
103
|
letterSpacing: string;
|
91
104
|
};
|
92
105
|
5: {
|
93
106
|
fontSize: string;
|
94
|
-
fontWeight:
|
107
|
+
fontWeight: number;
|
95
108
|
lineHeight: string;
|
96
109
|
letterSpacing: string;
|
97
110
|
};
|
98
111
|
6: {
|
99
112
|
fontSize: string;
|
100
|
-
fontWeight:
|
113
|
+
fontWeight: number;
|
101
114
|
lineHeight: string;
|
102
115
|
letterSpacing: string;
|
103
116
|
};
|
@@ -105,26 +118,31 @@ declare const textStyles: {
|
|
105
118
|
text: {
|
106
119
|
xl: {
|
107
120
|
fontSize: string;
|
121
|
+
fontWeight: number;
|
108
122
|
lineHeight: string;
|
109
123
|
letterSpacing: string;
|
110
124
|
};
|
111
125
|
lg: {
|
112
126
|
fontSize: string;
|
127
|
+
fontWeight: number;
|
113
128
|
lineHeight: string;
|
114
129
|
letterSpacing: string;
|
115
130
|
};
|
116
131
|
md: {
|
117
132
|
fontSize: string;
|
133
|
+
fontWeight: number;
|
118
134
|
lineHeight: string;
|
119
135
|
letterSpacing: string;
|
120
136
|
};
|
121
137
|
sm: {
|
122
138
|
fontSize: string;
|
139
|
+
fontWeight: number;
|
123
140
|
lineHeight: string;
|
124
141
|
letterSpacing: string;
|
125
142
|
};
|
126
143
|
xs: {
|
127
144
|
fontSize: string;
|
145
|
+
fontWeight: number;
|
128
146
|
lineHeight: string;
|
129
147
|
letterSpacing: string;
|
130
148
|
};
|
@@ -170,4 +188,4 @@ declare const textStyles: {
|
|
170
188
|
};
|
171
189
|
};
|
172
190
|
};
|
173
|
-
export { fonts, fontSizes, fontWeights, lineHeights, textStyles };
|
191
|
+
export { fonts, fontSizes, fontWeights, letterSpacings, lineHeights, textStyles };
|
@@ -1,4 +1,6 @@
|
|
1
|
+
import * as foundations from './foundations';
|
1
2
|
declare const theme: Record<string, any>;
|
2
3
|
declare type Theme = typeof theme;
|
3
|
-
|
4
|
-
export {
|
4
|
+
declare type Foundations = typeof foundations;
|
5
|
+
export type { Foundations, Theme };
|
6
|
+
export { foundations, theme };
|