@stokelp/ui 1.0.0
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/README.md +15 -0
- package/dist/components/accordion/Accordion.d.ts +20 -0
- package/dist/components/accordion/index.d.ts +1 -0
- package/dist/components/button/Button.d.ts +6 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +8 -0
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/drawer/Drawer.d.ts +49 -0
- package/dist/components/drawer/index.d.ts +1 -0
- package/dist/components/form/FormControl.d.ts +10 -0
- package/dist/components/form/FormHelperText.d.ts +6 -0
- package/dist/components/form/FormLabel.d.ts +8 -0
- package/dist/components/form/index.d.ts +3 -0
- package/dist/components/heading/Heading.d.ts +9 -0
- package/dist/components/heading/index.d.ts +1 -0
- package/dist/components/index.d.ts +9 -0
- package/dist/components/switch/Switch.d.ts +8 -0
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/text/Text.d.ts +9 -0
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/textarea/Textarea.d.ts +10 -0
- package/dist/components/textarea/index.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/preset.d.ts +2 -0
- package/dist/style.css +1 -0
- package/dist/theme/breakpoints.d.ts +6 -0
- package/dist/theme/conditions.d.ts +19 -0
- package/dist/theme/containers.d.ts +14 -0
- package/dist/theme/keyframes.d.ts +2 -0
- package/dist/theme/recipes/accordion.d.ts +2 -0
- package/dist/theme/recipes/button.d.ts +2 -0
- package/dist/theme/recipes/checkbox.d.ts +2 -0
- package/dist/theme/recipes/drawer.d.ts +2 -0
- package/dist/theme/recipes/form/control.d.ts +2 -0
- package/dist/theme/recipes/form/helper-text.d.ts +2 -0
- package/dist/theme/recipes/form/label.d.ts +2 -0
- package/dist/theme/recipes/heading.d.ts +2 -0
- package/dist/theme/recipes/index.d.ts +16 -0
- package/dist/theme/recipes/switch.d.ts +2 -0
- package/dist/theme/recipes/text.d.ts +2 -0
- package/dist/theme/recipes/textarea.d.ts +2 -0
- package/dist/theme/semantic-tokens/colors.d.ts +226 -0
- package/dist/theme/semantic-tokens/index.d.ts +228 -0
- package/dist/theme/text-styles.d.ts +2 -0
- package/dist/theme/tokens/animations.d.ts +50 -0
- package/dist/theme/tokens/aspect-ratios.d.ts +20 -0
- package/dist/theme/tokens/blurs.d.ts +23 -0
- package/dist/theme/tokens/borders.d.ts +7 -0
- package/dist/theme/tokens/colors.d.ts +191 -0
- package/dist/theme/tokens/durations.d.ts +23 -0
- package/dist/theme/tokens/easings.d.ts +56 -0
- package/dist/theme/tokens/index.d.ts +774 -0
- package/dist/theme/tokens/radii.d.ts +65 -0
- package/dist/theme/tokens/shadows.d.ts +23 -0
- package/dist/theme/tokens/sizes.d.ts +86 -0
- package/dist/theme/tokens/spacing.d.ts +74 -0
- package/dist/theme/tokens/typography.d.ts +116 -0
- package/dist/theme/tokens/z-index.d.ts +38 -0
- package/dist/theme/utilities.d.ts +2 -0
- package/dist/ui.cjs +230 -0
- package/dist/ui.cjs.map +1 -0
- package/dist/ui.js +25400 -0
- package/dist/ui.js.map +1 -0
- package/dist/utils/slots.d.ts +23 -0
- package/dist/utils/storybook.d.ts +20 -0
- package/package.json +74 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export declare const radii: {
|
|
2
|
+
'radius-0': {
|
|
3
|
+
value: string;
|
|
4
|
+
};
|
|
5
|
+
'radius-2': {
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
'radius-4': {
|
|
9
|
+
value: string;
|
|
10
|
+
};
|
|
11
|
+
'radius-6': {
|
|
12
|
+
value: string;
|
|
13
|
+
};
|
|
14
|
+
'radius-8': {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
17
|
+
'radius-10': {
|
|
18
|
+
value: string;
|
|
19
|
+
};
|
|
20
|
+
'radius-12': {
|
|
21
|
+
value: string;
|
|
22
|
+
};
|
|
23
|
+
'radius-16': {
|
|
24
|
+
value: string;
|
|
25
|
+
};
|
|
26
|
+
'radius-20': {
|
|
27
|
+
value: string;
|
|
28
|
+
};
|
|
29
|
+
'radius-24': {
|
|
30
|
+
value: string;
|
|
31
|
+
};
|
|
32
|
+
'radius-28': {
|
|
33
|
+
value: string;
|
|
34
|
+
};
|
|
35
|
+
'radius-32': {
|
|
36
|
+
value: string;
|
|
37
|
+
};
|
|
38
|
+
'radius-36': {
|
|
39
|
+
value: string;
|
|
40
|
+
};
|
|
41
|
+
'radius-40': {
|
|
42
|
+
value: string;
|
|
43
|
+
};
|
|
44
|
+
'radius-44': {
|
|
45
|
+
value: string;
|
|
46
|
+
};
|
|
47
|
+
'radius-48': {
|
|
48
|
+
value: string;
|
|
49
|
+
};
|
|
50
|
+
'radius-52': {
|
|
51
|
+
value: string;
|
|
52
|
+
};
|
|
53
|
+
'radius-56': {
|
|
54
|
+
value: string;
|
|
55
|
+
};
|
|
56
|
+
'radius-60': {
|
|
57
|
+
value: string;
|
|
58
|
+
};
|
|
59
|
+
'radius-64': {
|
|
60
|
+
value: string;
|
|
61
|
+
};
|
|
62
|
+
full: {
|
|
63
|
+
value: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const shadows: {
|
|
2
|
+
'2xl': {
|
|
3
|
+
value: string;
|
|
4
|
+
};
|
|
5
|
+
inner: {
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
lg: {
|
|
9
|
+
value: string[];
|
|
10
|
+
};
|
|
11
|
+
md: {
|
|
12
|
+
value: string[];
|
|
13
|
+
};
|
|
14
|
+
sm: {
|
|
15
|
+
value: string[];
|
|
16
|
+
};
|
|
17
|
+
xl: {
|
|
18
|
+
value: string[];
|
|
19
|
+
};
|
|
20
|
+
xs: {
|
|
21
|
+
value: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export declare const sizes: {
|
|
2
|
+
'size-0': {
|
|
3
|
+
value: string;
|
|
4
|
+
};
|
|
5
|
+
'size-12': {
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
'size-14': {
|
|
9
|
+
value: string;
|
|
10
|
+
};
|
|
11
|
+
'size-16': {
|
|
12
|
+
value: string;
|
|
13
|
+
};
|
|
14
|
+
'size-2': {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
17
|
+
'size-20': {
|
|
18
|
+
value: string;
|
|
19
|
+
};
|
|
20
|
+
'size-24': {
|
|
21
|
+
value: string;
|
|
22
|
+
};
|
|
23
|
+
'size-28': {
|
|
24
|
+
value: string;
|
|
25
|
+
};
|
|
26
|
+
'size-32': {
|
|
27
|
+
value: string;
|
|
28
|
+
};
|
|
29
|
+
'size-36': {
|
|
30
|
+
value: string;
|
|
31
|
+
};
|
|
32
|
+
'size-4': {
|
|
33
|
+
value: string;
|
|
34
|
+
};
|
|
35
|
+
'size-40': {
|
|
36
|
+
value: string;
|
|
37
|
+
};
|
|
38
|
+
'size-6': {
|
|
39
|
+
value: string;
|
|
40
|
+
};
|
|
41
|
+
'size-44': {
|
|
42
|
+
value: string;
|
|
43
|
+
};
|
|
44
|
+
'size-8': {
|
|
45
|
+
value: string;
|
|
46
|
+
};
|
|
47
|
+
full: {
|
|
48
|
+
value: string;
|
|
49
|
+
};
|
|
50
|
+
max: {
|
|
51
|
+
value: string;
|
|
52
|
+
};
|
|
53
|
+
'size-48': {
|
|
54
|
+
value: string;
|
|
55
|
+
};
|
|
56
|
+
fit: {
|
|
57
|
+
value: string;
|
|
58
|
+
};
|
|
59
|
+
'size-52': {
|
|
60
|
+
value: string;
|
|
61
|
+
};
|
|
62
|
+
min: {
|
|
63
|
+
value: string;
|
|
64
|
+
};
|
|
65
|
+
'size-56': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
68
|
+
'size-60': {
|
|
69
|
+
value: string;
|
|
70
|
+
};
|
|
71
|
+
'size-64': {
|
|
72
|
+
value: string;
|
|
73
|
+
};
|
|
74
|
+
'size-68': {
|
|
75
|
+
value: string;
|
|
76
|
+
};
|
|
77
|
+
'size-72': {
|
|
78
|
+
value: string;
|
|
79
|
+
};
|
|
80
|
+
'size-76': {
|
|
81
|
+
value: string;
|
|
82
|
+
};
|
|
83
|
+
'size-80': {
|
|
84
|
+
value: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export declare const spacing: {
|
|
2
|
+
'space-0': {
|
|
3
|
+
value: string;
|
|
4
|
+
};
|
|
5
|
+
'space-12': {
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
'space-14': {
|
|
9
|
+
value: string;
|
|
10
|
+
};
|
|
11
|
+
'space-16': {
|
|
12
|
+
value: string;
|
|
13
|
+
};
|
|
14
|
+
'space-2': {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
17
|
+
'space-20': {
|
|
18
|
+
value: string;
|
|
19
|
+
};
|
|
20
|
+
'space-24': {
|
|
21
|
+
value: string;
|
|
22
|
+
};
|
|
23
|
+
'space-28': {
|
|
24
|
+
value: string;
|
|
25
|
+
};
|
|
26
|
+
'space-32': {
|
|
27
|
+
value: string;
|
|
28
|
+
};
|
|
29
|
+
'space-36': {
|
|
30
|
+
value: string;
|
|
31
|
+
};
|
|
32
|
+
'space-4': {
|
|
33
|
+
value: string;
|
|
34
|
+
};
|
|
35
|
+
'space-40': {
|
|
36
|
+
value: string;
|
|
37
|
+
};
|
|
38
|
+
'space-6': {
|
|
39
|
+
value: string;
|
|
40
|
+
};
|
|
41
|
+
'space-44': {
|
|
42
|
+
value: string;
|
|
43
|
+
};
|
|
44
|
+
'space-8': {
|
|
45
|
+
value: string;
|
|
46
|
+
};
|
|
47
|
+
'space-48': {
|
|
48
|
+
value: string;
|
|
49
|
+
};
|
|
50
|
+
'space-52': {
|
|
51
|
+
value: string;
|
|
52
|
+
};
|
|
53
|
+
'space-56': {
|
|
54
|
+
value: string;
|
|
55
|
+
};
|
|
56
|
+
'space-60': {
|
|
57
|
+
value: string;
|
|
58
|
+
};
|
|
59
|
+
'space-64': {
|
|
60
|
+
value: string;
|
|
61
|
+
};
|
|
62
|
+
'space-68': {
|
|
63
|
+
value: string;
|
|
64
|
+
};
|
|
65
|
+
'space-72': {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
68
|
+
'space-76': {
|
|
69
|
+
value: string;
|
|
70
|
+
};
|
|
71
|
+
'space-80': {
|
|
72
|
+
value: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
export declare const fontSizes: {
|
|
2
|
+
body: {
|
|
3
|
+
lg: {
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
md: {
|
|
7
|
+
value: string;
|
|
8
|
+
};
|
|
9
|
+
sm: {
|
|
10
|
+
value: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
heading: {
|
|
14
|
+
desktop: {
|
|
15
|
+
'2xl': {
|
|
16
|
+
value: string;
|
|
17
|
+
};
|
|
18
|
+
lg: {
|
|
19
|
+
value: string;
|
|
20
|
+
};
|
|
21
|
+
md: {
|
|
22
|
+
value: string;
|
|
23
|
+
};
|
|
24
|
+
sm: {
|
|
25
|
+
value: string;
|
|
26
|
+
};
|
|
27
|
+
xs: {
|
|
28
|
+
value: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
mobile: {
|
|
32
|
+
'2xl': {
|
|
33
|
+
value: string;
|
|
34
|
+
};
|
|
35
|
+
lg: {
|
|
36
|
+
value: string;
|
|
37
|
+
};
|
|
38
|
+
md: {
|
|
39
|
+
value: string;
|
|
40
|
+
};
|
|
41
|
+
sm: {
|
|
42
|
+
value: string;
|
|
43
|
+
};
|
|
44
|
+
xs: {
|
|
45
|
+
value: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export declare const fontWeights: {
|
|
51
|
+
black: {
|
|
52
|
+
value: string;
|
|
53
|
+
};
|
|
54
|
+
bold: {
|
|
55
|
+
value: string;
|
|
56
|
+
};
|
|
57
|
+
extrabold: {
|
|
58
|
+
value: string;
|
|
59
|
+
};
|
|
60
|
+
extralight: {
|
|
61
|
+
value: string;
|
|
62
|
+
};
|
|
63
|
+
light: {
|
|
64
|
+
value: string;
|
|
65
|
+
};
|
|
66
|
+
medium: {
|
|
67
|
+
value: string;
|
|
68
|
+
};
|
|
69
|
+
normal: {
|
|
70
|
+
value: string;
|
|
71
|
+
};
|
|
72
|
+
semibold: {
|
|
73
|
+
value: string;
|
|
74
|
+
};
|
|
75
|
+
thin: {
|
|
76
|
+
value: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export declare const letterSpacings: {
|
|
80
|
+
normal: {
|
|
81
|
+
value: string;
|
|
82
|
+
};
|
|
83
|
+
tight: {
|
|
84
|
+
value: string;
|
|
85
|
+
};
|
|
86
|
+
tighter: {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
wide: {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
92
|
+
wider: {
|
|
93
|
+
value: string;
|
|
94
|
+
};
|
|
95
|
+
widest: {
|
|
96
|
+
value: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export declare const lineHeights: {};
|
|
100
|
+
export declare const fonts: {
|
|
101
|
+
satoshi: {
|
|
102
|
+
value: string;
|
|
103
|
+
};
|
|
104
|
+
cabinet: {
|
|
105
|
+
value: string;
|
|
106
|
+
};
|
|
107
|
+
mono: {
|
|
108
|
+
value: string[];
|
|
109
|
+
};
|
|
110
|
+
sans: {
|
|
111
|
+
value: string[];
|
|
112
|
+
};
|
|
113
|
+
serif: {
|
|
114
|
+
value: string[];
|
|
115
|
+
};
|
|
116
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const zIndex: {
|
|
2
|
+
banner: {
|
|
3
|
+
value: number;
|
|
4
|
+
};
|
|
5
|
+
base: {
|
|
6
|
+
value: number;
|
|
7
|
+
};
|
|
8
|
+
docked: {
|
|
9
|
+
value: number;
|
|
10
|
+
};
|
|
11
|
+
dropdown: {
|
|
12
|
+
value: number;
|
|
13
|
+
};
|
|
14
|
+
hide: {
|
|
15
|
+
value: number;
|
|
16
|
+
};
|
|
17
|
+
modal: {
|
|
18
|
+
value: number;
|
|
19
|
+
};
|
|
20
|
+
overlay: {
|
|
21
|
+
value: number;
|
|
22
|
+
};
|
|
23
|
+
popover: {
|
|
24
|
+
value: number;
|
|
25
|
+
};
|
|
26
|
+
skipLink: {
|
|
27
|
+
value: number;
|
|
28
|
+
};
|
|
29
|
+
sticky: {
|
|
30
|
+
value: number;
|
|
31
|
+
};
|
|
32
|
+
toast: {
|
|
33
|
+
value: number;
|
|
34
|
+
};
|
|
35
|
+
tooltip: {
|
|
36
|
+
value: number;
|
|
37
|
+
};
|
|
38
|
+
};
|