@conveyorhq/arrow-ds 2.0.0-beta.7 → 2.0.0-beta.9
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/package.json +15 -14
- package/public/components/Accordion/Accordion.js +8 -10
- package/public/components/Avatar/Avatar.js +20 -19
- package/public/components/Button/Button.js +2 -2
- package/public/components/ConveyorLogo/ConveyorLogo.js +6 -6
- package/public/components/Drawer/Drawer.js +7 -7
- package/public/components/Frame/Frame.d.ts +1 -1
- package/public/components/Icon/Icon.d.ts +1 -0
- package/public/components/Icon/Icon.js +3 -1
- package/public/components/MenuRenderer/MenuRenderer.js +4 -7
- package/public/components/Modal/Modal.js +1 -1
- package/public/components/OptionButton/OptionButton.js +18 -13
- package/public/components/Select/Select.js +4 -4
- package/public/components/Select/SelectPopover.js +6 -6
- package/public/components/Select/index.d.ts +2 -0
- package/public/components/Select/index.js +3 -0
- package/public/components/Select/theme.js +22 -22
- package/public/components/Svg/Svg.d.ts +3 -3
- package/public/components/Svg/Svg.js +1 -2
- package/public/components/Tooltip/Tooltip.js +11 -19
- package/public/components/VisuallyHidden/VisuallyHidden.d.ts +2 -1
- package/public/components/VisuallyHidden/VisuallyHidden.js +3 -5
- package/public/css/styles.css +139 -59
- package/public/css/styles.min.css +1 -1
- package/public/css/styles.min.css.map +1 -1
- package/public/hooks/index.d.ts +3 -0
- package/public/hooks/index.js +7 -1
- package/public/hooks/useMatchMedia.d.ts +1 -0
- package/public/hooks/useMatchMedia.js +27 -0
- package/public/hooks/usePrefersReducedMotion.d.ts +1 -0
- package/public/hooks/usePrefersReducedMotion.js +9 -0
- package/public/hooks/useScreenOrientation.d.ts +1 -0
- package/public/hooks/useScreenOrientation.js +24 -0
- package/public/{style-dictionary → src/style-dictionary}/dist/tokens.css +1 -0
- package/public/src/style-dictionary/dist/tokens.d.ts +428 -0
- package/public/src/style-dictionary/dist/tokens.js +428 -0
- package/public/src/style-dictionary/dist/tokens.module.js +428 -0
- package/public/src/style-dictionary/tailwind.config.js +87 -0
- package/public/storybook-components/EnumTable.js +2 -1
- package/public/storybook-components/Story.d.ts +2 -1
- package/public/storybook-components/Story.js +4 -1
- package/public/style-dictionary/dist/tokens.d.ts +428 -422
- package/public/style-dictionary/dist/tokens.js +415 -416
- package/public/style-dictionary/dist/tokens.module.d.ts +431 -0
- package/public/style-dictionary/dist/tokens.module.js +412 -415
- package/public/style-dictionary/src/border-radius.d.ts +31 -0
- package/public/style-dictionary/src/border-radius.js +10 -9
- package/public/style-dictionary/src/border-width.d.ts +21 -0
- package/public/style-dictionary/src/border-width.js +9 -8
- package/public/style-dictionary/src/color.d.ts +249 -0
- package/public/style-dictionary/src/color.js +97 -95
- package/public/style-dictionary/src/font-size.d.ts +45 -0
- package/public/style-dictionary/src/font-size.js +14 -13
- package/public/style-dictionary/src/font-weight.d.ts +13 -0
- package/public/style-dictionary/src/font-weight.js +6 -5
- package/public/style-dictionary/src/height.d.ts +215 -0
- package/public/style-dictionary/src/height.js +10 -10
- package/public/style-dictionary/src/leading.d.ts +17 -0
- package/public/style-dictionary/src/leading.js +7 -6
- package/public/style-dictionary/src/screen-width.d.ts +17 -0
- package/public/style-dictionary/src/screen-width.js +7 -6
- package/public/style-dictionary/src/shadow.d.ts +63 -0
- package/public/style-dictionary/src/shadow.js +19 -18
- package/public/style-dictionary/src/spacing.d.ts +197 -0
- package/public/style-dictionary/src/spacing.js +68 -67
- package/public/style-dictionary/src/tracking.d.ts +13 -0
- package/public/style-dictionary/src/tracking.js +6 -5
- package/public/style-dictionary/src/type.d.ts +13 -0
- package/public/style-dictionary/src/type.js +32 -31
- package/public/style-dictionary/src/width.d.ts +287 -0
- package/public/style-dictionary/src/width.js +29 -29
- package/public/style-dictionary/src/z-index.d.ts +53 -0
- package/public/style-dictionary/src/z-index.js +20 -19
- package/public/style-dictionary/tailwind.config.d.ts +392 -0
- package/public/style-dictionary/tailwind.config.js +51 -72
- package/src/components/Accordion/Accordion.tsx +39 -27
- package/src/components/Avatar/Avatar.tsx +20 -19
- package/src/components/Button/Button.tsx +3 -3
- package/src/components/Button/index.css +12 -1
- package/src/components/Card/Card.story.mdx +45 -37
- package/src/components/ConveyorLogo/ConveyorLogo.tsx +6 -6
- package/src/components/Drawer/Drawer.tsx +1 -1
- package/src/components/Frame/Frame.story.mdx +140 -5
- package/src/components/Frame/Frame.tsx +1 -1
- package/src/components/Frame/index.css +8 -13
- package/src/components/Icon/Icon.tsx +3 -0
- package/src/components/MenuRenderer/MenuRenderer.tsx +7 -9
- package/src/components/Modal/Modal.tsx +1 -1
- package/src/components/Modal/index.css +8 -3
- package/src/components/OptionButton/OptionButton.story.mdx +91 -36
- package/src/components/OptionButton/OptionButton.tsx +19 -18
- package/src/components/OptionButton/index.css +13 -0
- package/src/components/Overlay/Overlay.story.mdx +26 -0
- package/src/components/Select/Select.tsx +4 -4
- package/src/components/Select/SelectPopover.tsx +6 -6
- package/src/components/Select/index.ts +14 -0
- package/src/components/Select/theme.ts +22 -22
- package/src/components/Svg/Svg.story.mdx +36 -0
- package/src/components/Svg/Svg.tsx +6 -4
- package/src/components/Text/Text.story.mdx +34 -0
- package/src/components/Tooltip/Tooltip.story.mdx +21 -0
- package/src/components/Tooltip/Tooltip.tsx +23 -27
- package/src/components/Tooltip/index.css +31 -0
- package/src/components/VisuallyHidden/VisuallyHidden.story.mdx +54 -0
- package/src/components/VisuallyHidden/VisuallyHidden.tsx +10 -5
- package/src/components/VisuallyHidden/index.css +3 -0
- package/src/css/components.css +2 -0
- package/src/docs/Colors.story.mdx +13 -13
- package/src/docs/Spacing.story.mdx +4 -20
- package/src/docs/Tokens.story.mdx +230 -0
- package/src/docs/Typography.story.mdx +17 -94
- package/src/docs/hooks/useDisclosureHook.story.mdx +58 -0
- package/src/docs/hooks/useKeyPressHook.story.mdx +54 -0
- package/src/docs/hooks/useMatchMediaHook.story.mdx +42 -0
- package/src/docs/hooks/useOutsideClickHook.story.mdx +56 -0
- package/src/docs/hooks/usePrefersReducedMotion.story.mdx +61 -0
- package/src/docs/hooks/useScreenOrientationHook.story.mdx +56 -0
- package/src/docs/hooks/useStepHook.story.mdx +102 -0
- package/src/hooks/index.ts +3 -0
- package/src/hooks/useMatchMedia.ts +40 -0
- package/src/hooks/usePrefersReducedMotion.ts +9 -0
- package/src/hooks/useScreenOrientation.ts +27 -0
- package/src/storybook-components/EnumTable.tsx +3 -2
- package/src/storybook-components/Story.tsx +13 -1
- package/src/style-dictionary/dist/tokens.css +378 -0
- package/src/style-dictionary/dist/tokens.d.ts +428 -0
- package/src/style-dictionary/dist/tokens.js +428 -0
- package/src/style-dictionary/dist/tokens.module.js +428 -0
- package/src/style-dictionary/src/border-radius.js +11 -0
- package/src/style-dictionary/src/border-width.js +10 -0
- package/src/style-dictionary/src/color.js +98 -0
- package/src/style-dictionary/src/font-size.js +15 -0
- package/src/style-dictionary/src/font-weight.js +7 -0
- package/src/style-dictionary/src/height.js +13 -0
- package/src/style-dictionary/src/leading.js +8 -0
- package/src/style-dictionary/src/screen-width.js +8 -0
- package/src/style-dictionary/src/shadow.js +19 -0
- package/src/style-dictionary/src/spacing.js +69 -0
- package/src/style-dictionary/src/tracking.js +7 -0
- package/src/style-dictionary/src/type.js +34 -0
- package/src/style-dictionary/src/width.js +32 -0
- package/src/style-dictionary/src/z-index.js +21 -0
- package/src/style-dictionary/tailwind.config.js +87 -0
- package/src/tokens/borders.ts +6 -0
- package/src/tokens/box-shadow.ts +3 -0
- package/src/tokens/colors.ts +6 -0
- package/src/tokens/font-family.ts +3 -0
- package/src/tokens/font-size.ts +3 -0
- package/src/tokens/font-weight.ts +3 -0
- package/src/tokens/height.ts +3 -0
- package/src/tokens/index.ts +3 -2
- package/src/tokens/letter-spacing.ts +3 -0
- package/src/tokens/line-height.ts +3 -0
- package/src/tokens/margin.ts +3 -0
- package/src/tokens/padding.ts +3 -0
- package/src/tokens/screens.ts +3 -0
- package/src/tokens/sizing-scale.ts +6 -0
- package/src/tokens/width.ts +9 -0
- package/src/tokens/will-change.ts +3 -0
- package/src/tokens/z-index.ts +3 -0
- package/src/types/index.ts +3 -0
- package/public/components/Overlay/Overlay.story.d.ts +0 -1
- package/public/components/Overlay/Overlay.story.js +0 -12
- package/public/components/Svg/Svg.story.d.ts +0 -1
- package/public/components/Svg/Svg.story.js +0 -14
- package/public/components/Text/Text.story.d.ts +0 -1
- package/public/components/Text/Text.story.js +0 -31
- package/public/components/VisuallyHidden/VisuallyHidden.story.d.ts +0 -1
- package/public/components/VisuallyHidden/VisuallyHidden.story.js +0 -36
- package/public/components/useStep/ExampleSetupWizard.d.ts +0 -4
- package/public/components/useStep/ExampleSetupWizard.js +0 -33
- package/src/components/Overlay/Overlay.md +0 -14
- package/src/components/Overlay/Overlay.story.tsx +0 -12
- package/src/components/Svg/Svg.md +0 -14
- package/src/components/Svg/Svg.story.tsx +0 -15
- package/src/components/Text/Text.md +0 -14
- package/src/components/Text/Text.story.tsx +0 -12
- package/src/components/VisuallyHidden/VisuallyHidden.md +0 -23
- package/src/components/VisuallyHidden/VisuallyHidden.story.tsx +0 -19
- package/src/components/useStep/ExampleSetupWizard.tsx +0 -63
- package/src/components/useStep/useStep.story.mdx +0 -76
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
export const height: {
|
|
2
|
+
auto: {
|
|
3
|
+
value: string;
|
|
4
|
+
};
|
|
5
|
+
px: {
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
full: {
|
|
9
|
+
value: string;
|
|
10
|
+
};
|
|
11
|
+
screen: {
|
|
12
|
+
value: string;
|
|
13
|
+
};
|
|
14
|
+
appbar: {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
17
|
+
cell: {
|
|
18
|
+
value: string;
|
|
19
|
+
};
|
|
20
|
+
0: {
|
|
21
|
+
value: string;
|
|
22
|
+
};
|
|
23
|
+
1: {
|
|
24
|
+
value: string;
|
|
25
|
+
};
|
|
26
|
+
2: {
|
|
27
|
+
value: string;
|
|
28
|
+
};
|
|
29
|
+
3: {
|
|
30
|
+
value: string;
|
|
31
|
+
};
|
|
32
|
+
4: {
|
|
33
|
+
value: string;
|
|
34
|
+
};
|
|
35
|
+
5: {
|
|
36
|
+
value: string;
|
|
37
|
+
};
|
|
38
|
+
6: {
|
|
39
|
+
value: string;
|
|
40
|
+
};
|
|
41
|
+
7: {
|
|
42
|
+
value: string;
|
|
43
|
+
};
|
|
44
|
+
8: {
|
|
45
|
+
value: string;
|
|
46
|
+
};
|
|
47
|
+
9: {
|
|
48
|
+
value: string;
|
|
49
|
+
};
|
|
50
|
+
10: {
|
|
51
|
+
value: string;
|
|
52
|
+
};
|
|
53
|
+
11: {
|
|
54
|
+
value: string;
|
|
55
|
+
};
|
|
56
|
+
12: {
|
|
57
|
+
value: string;
|
|
58
|
+
};
|
|
59
|
+
13: {
|
|
60
|
+
value: string;
|
|
61
|
+
};
|
|
62
|
+
14: {
|
|
63
|
+
value: string;
|
|
64
|
+
};
|
|
65
|
+
15: {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
68
|
+
16: {
|
|
69
|
+
value: string;
|
|
70
|
+
};
|
|
71
|
+
17: {
|
|
72
|
+
value: string;
|
|
73
|
+
};
|
|
74
|
+
18: {
|
|
75
|
+
value: string;
|
|
76
|
+
};
|
|
77
|
+
19: {
|
|
78
|
+
value: string;
|
|
79
|
+
};
|
|
80
|
+
20: {
|
|
81
|
+
value: string;
|
|
82
|
+
};
|
|
83
|
+
21: {
|
|
84
|
+
value: string;
|
|
85
|
+
};
|
|
86
|
+
22: {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
23: {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
92
|
+
24: {
|
|
93
|
+
value: string;
|
|
94
|
+
};
|
|
95
|
+
25: {
|
|
96
|
+
value: string;
|
|
97
|
+
};
|
|
98
|
+
26: {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
101
|
+
27: {
|
|
102
|
+
value: string;
|
|
103
|
+
};
|
|
104
|
+
28: {
|
|
105
|
+
value: string;
|
|
106
|
+
};
|
|
107
|
+
29: {
|
|
108
|
+
value: string;
|
|
109
|
+
};
|
|
110
|
+
30: {
|
|
111
|
+
value: string;
|
|
112
|
+
};
|
|
113
|
+
31: {
|
|
114
|
+
value: string;
|
|
115
|
+
};
|
|
116
|
+
32: {
|
|
117
|
+
value: string;
|
|
118
|
+
};
|
|
119
|
+
33: {
|
|
120
|
+
value: string;
|
|
121
|
+
};
|
|
122
|
+
34: {
|
|
123
|
+
value: string;
|
|
124
|
+
};
|
|
125
|
+
35: {
|
|
126
|
+
value: string;
|
|
127
|
+
};
|
|
128
|
+
36: {
|
|
129
|
+
value: string;
|
|
130
|
+
};
|
|
131
|
+
37: {
|
|
132
|
+
value: string;
|
|
133
|
+
};
|
|
134
|
+
38: {
|
|
135
|
+
value: string;
|
|
136
|
+
};
|
|
137
|
+
39: {
|
|
138
|
+
value: string;
|
|
139
|
+
};
|
|
140
|
+
40: {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
143
|
+
41: {
|
|
144
|
+
value: string;
|
|
145
|
+
};
|
|
146
|
+
42: {
|
|
147
|
+
value: string;
|
|
148
|
+
};
|
|
149
|
+
43: {
|
|
150
|
+
value: string;
|
|
151
|
+
};
|
|
152
|
+
44: {
|
|
153
|
+
value: string;
|
|
154
|
+
};
|
|
155
|
+
45: {
|
|
156
|
+
value: string;
|
|
157
|
+
};
|
|
158
|
+
46: {
|
|
159
|
+
value: string;
|
|
160
|
+
};
|
|
161
|
+
47: {
|
|
162
|
+
value: string;
|
|
163
|
+
};
|
|
164
|
+
48: {
|
|
165
|
+
value: string;
|
|
166
|
+
};
|
|
167
|
+
49: {
|
|
168
|
+
value: string;
|
|
169
|
+
};
|
|
170
|
+
50: {
|
|
171
|
+
value: string;
|
|
172
|
+
};
|
|
173
|
+
51: {
|
|
174
|
+
value: string;
|
|
175
|
+
};
|
|
176
|
+
52: {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
179
|
+
53: {
|
|
180
|
+
value: string;
|
|
181
|
+
};
|
|
182
|
+
54: {
|
|
183
|
+
value: string;
|
|
184
|
+
};
|
|
185
|
+
55: {
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
188
|
+
56: {
|
|
189
|
+
value: string;
|
|
190
|
+
};
|
|
191
|
+
57: {
|
|
192
|
+
value: string;
|
|
193
|
+
};
|
|
194
|
+
58: {
|
|
195
|
+
value: string;
|
|
196
|
+
};
|
|
197
|
+
59: {
|
|
198
|
+
value: string;
|
|
199
|
+
};
|
|
200
|
+
60: {
|
|
201
|
+
value: string;
|
|
202
|
+
};
|
|
203
|
+
61: {
|
|
204
|
+
value: string;
|
|
205
|
+
};
|
|
206
|
+
62: {
|
|
207
|
+
value: string;
|
|
208
|
+
};
|
|
209
|
+
63: {
|
|
210
|
+
value: string;
|
|
211
|
+
};
|
|
212
|
+
64: {
|
|
213
|
+
value: string;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
const spacing = require("./spacing").spacing;
|
|
2
|
-
|
|
3
3
|
module.exports = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
height: {
|
|
5
|
+
...spacing,
|
|
6
|
+
auto: { value: "auto" },
|
|
7
|
+
px: { value: "1px" },
|
|
8
|
+
full: { value: "100%" },
|
|
9
|
+
screen: { value: "100vh" },
|
|
10
|
+
appbar: { value: "48px" },
|
|
11
|
+
cell: { value: "34px" },
|
|
12
|
+
},
|
|
13
13
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export namespace leading {
|
|
2
|
+
namespace none {
|
|
3
|
+
const value: number;
|
|
4
|
+
}
|
|
5
|
+
namespace tight {
|
|
6
|
+
const value_1: number;
|
|
7
|
+
export { value_1 as value };
|
|
8
|
+
}
|
|
9
|
+
namespace normal {
|
|
10
|
+
const value_2: number;
|
|
11
|
+
export { value_2 as value };
|
|
12
|
+
}
|
|
13
|
+
namespace loose {
|
|
14
|
+
const value_3: number;
|
|
15
|
+
export { value_3 as value };
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
leading: {
|
|
4
|
+
none: { value: 1 },
|
|
5
|
+
tight: { value: 1.25 },
|
|
6
|
+
normal: { value: 1.5 },
|
|
7
|
+
loose: { value: 2 },
|
|
8
|
+
},
|
|
8
9
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export namespace screenWidth {
|
|
2
|
+
namespace sm {
|
|
3
|
+
const value: string;
|
|
4
|
+
}
|
|
5
|
+
namespace md {
|
|
6
|
+
const value_1: string;
|
|
7
|
+
export { value_1 as value };
|
|
8
|
+
}
|
|
9
|
+
namespace lg {
|
|
10
|
+
const value_2: string;
|
|
11
|
+
export { value_2 as value };
|
|
12
|
+
}
|
|
13
|
+
namespace xl {
|
|
14
|
+
const value_3: string;
|
|
15
|
+
export { value_3 as value };
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
screenWidth: {
|
|
4
|
+
sm: { value: "576px" },
|
|
5
|
+
md: { value: "768px" },
|
|
6
|
+
lg: { value: "992px" },
|
|
7
|
+
xl: { value: "1200px" },
|
|
8
|
+
},
|
|
8
9
|
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export namespace shadow {
|
|
2
|
+
namespace _default {
|
|
3
|
+
const value: string;
|
|
4
|
+
const tailwindId: string;
|
|
5
|
+
}
|
|
6
|
+
export { _default as default };
|
|
7
|
+
export namespace up {
|
|
8
|
+
const value_1: string;
|
|
9
|
+
export { value_1 as value };
|
|
10
|
+
}
|
|
11
|
+
export namespace md {
|
|
12
|
+
const value_2: string;
|
|
13
|
+
export { value_2 as value };
|
|
14
|
+
}
|
|
15
|
+
export namespace lg {
|
|
16
|
+
const value_3: string;
|
|
17
|
+
export { value_3 as value };
|
|
18
|
+
}
|
|
19
|
+
export namespace inner {
|
|
20
|
+
const value_4: string;
|
|
21
|
+
export { value_4 as value };
|
|
22
|
+
}
|
|
23
|
+
export namespace glow {
|
|
24
|
+
const value_5: string;
|
|
25
|
+
export { value_5 as value };
|
|
26
|
+
}
|
|
27
|
+
export namespace none {
|
|
28
|
+
const value_6: string;
|
|
29
|
+
export { value_6 as value };
|
|
30
|
+
}
|
|
31
|
+
export namespace focus {
|
|
32
|
+
const value_7: string;
|
|
33
|
+
export { value_7 as value };
|
|
34
|
+
}
|
|
35
|
+
export namespace focusInside {
|
|
36
|
+
const value_8: string;
|
|
37
|
+
export { value_8 as value };
|
|
38
|
+
}
|
|
39
|
+
export namespace focusBrand {
|
|
40
|
+
const value_9: string;
|
|
41
|
+
export { value_9 as value };
|
|
42
|
+
}
|
|
43
|
+
export namespace popover {
|
|
44
|
+
const value_10: string;
|
|
45
|
+
export { value_10 as value };
|
|
46
|
+
}
|
|
47
|
+
export namespace buttonPrimary {
|
|
48
|
+
const value_11: string;
|
|
49
|
+
export { value_11 as value };
|
|
50
|
+
}
|
|
51
|
+
export namespace buttonSecondary {
|
|
52
|
+
const value_12: string;
|
|
53
|
+
export { value_12 as value };
|
|
54
|
+
}
|
|
55
|
+
export namespace paper {
|
|
56
|
+
const value_13: string;
|
|
57
|
+
export { value_13 as value };
|
|
58
|
+
}
|
|
59
|
+
export namespace tile {
|
|
60
|
+
const value_14: string;
|
|
61
|
+
export { value_14 as value };
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
3
|
+
shadow: {
|
|
4
|
+
default: { value: "0 2px 4px 0 rgba(0,0,0,0.10)", tailwindId: "DEFAULT" },
|
|
5
|
+
up: { value: "0 -2px 4px 0 rgba(0,0,0,0.10)" },
|
|
6
|
+
md: { value: "0 4px 8px 0 rgba(0,0,0,0.12), 0 2px 4px 0 rgba(0,0,0,0.08)" },
|
|
7
|
+
lg: { value: "0 15px 30px 0 rgba(0,0,0,0.11), 0 5px 15px 0 rgba(0,0,0,0.08)" },
|
|
8
|
+
inner: { value: "inset 0 2px 4px 0 rgba(0,0,0,0.06)" },
|
|
9
|
+
glow: { value: "rgba(7,114,239,0.2) 0 0 1rem" },
|
|
10
|
+
none: { value: "none" },
|
|
11
|
+
focus: { value: "rgba(7, 114, 239, 0.2) 0 0 1px 3px" },
|
|
12
|
+
focusInside: { value: "rgba(7, 114, 239, 0.2) 0 0 1px 3px inset" },
|
|
13
|
+
focusBrand: { value: "rgba(125, 229, 202, 0.2) 0 0 1px 3px" },
|
|
14
|
+
popover: { value: "0 0 3px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 0.1)" },
|
|
15
|
+
buttonPrimary: { value: "0 4px 8px rgba(255, 255, 255, 0.1) inset, 0 2px 5px rgba(0, 0, 0, 0.1)" },
|
|
16
|
+
buttonSecondary: { value: "0 1px 3px rgba(0, 0, 0, 0.05)" },
|
|
17
|
+
paper: { value: "0 0 3px rgba(0,0,0,0.1), 9px 9px rgba(0,0,0,0.04)" },
|
|
18
|
+
tile: { value: "0 10px 20px rgba(0, 0, 0, 0.1), 0 0 3px rgba(0, 0, 0, 0.1)" },
|
|
19
|
+
},
|
|
20
|
+
};
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
export const spacing: {
|
|
2
|
+
0: {
|
|
3
|
+
value: string;
|
|
4
|
+
};
|
|
5
|
+
1: {
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
2: {
|
|
9
|
+
value: string;
|
|
10
|
+
};
|
|
11
|
+
3: {
|
|
12
|
+
value: string;
|
|
13
|
+
};
|
|
14
|
+
4: {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
17
|
+
5: {
|
|
18
|
+
value: string;
|
|
19
|
+
};
|
|
20
|
+
6: {
|
|
21
|
+
value: string;
|
|
22
|
+
};
|
|
23
|
+
7: {
|
|
24
|
+
value: string;
|
|
25
|
+
};
|
|
26
|
+
8: {
|
|
27
|
+
value: string;
|
|
28
|
+
};
|
|
29
|
+
9: {
|
|
30
|
+
value: string;
|
|
31
|
+
};
|
|
32
|
+
10: {
|
|
33
|
+
value: string;
|
|
34
|
+
};
|
|
35
|
+
11: {
|
|
36
|
+
value: string;
|
|
37
|
+
};
|
|
38
|
+
12: {
|
|
39
|
+
value: string;
|
|
40
|
+
};
|
|
41
|
+
13: {
|
|
42
|
+
value: string;
|
|
43
|
+
};
|
|
44
|
+
14: {
|
|
45
|
+
value: string;
|
|
46
|
+
};
|
|
47
|
+
15: {
|
|
48
|
+
value: string;
|
|
49
|
+
};
|
|
50
|
+
16: {
|
|
51
|
+
value: string;
|
|
52
|
+
};
|
|
53
|
+
17: {
|
|
54
|
+
value: string;
|
|
55
|
+
};
|
|
56
|
+
18: {
|
|
57
|
+
value: string;
|
|
58
|
+
};
|
|
59
|
+
19: {
|
|
60
|
+
value: string;
|
|
61
|
+
};
|
|
62
|
+
20: {
|
|
63
|
+
value: string;
|
|
64
|
+
};
|
|
65
|
+
21: {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
68
|
+
22: {
|
|
69
|
+
value: string;
|
|
70
|
+
};
|
|
71
|
+
23: {
|
|
72
|
+
value: string;
|
|
73
|
+
};
|
|
74
|
+
24: {
|
|
75
|
+
value: string;
|
|
76
|
+
};
|
|
77
|
+
25: {
|
|
78
|
+
value: string;
|
|
79
|
+
};
|
|
80
|
+
26: {
|
|
81
|
+
value: string;
|
|
82
|
+
};
|
|
83
|
+
27: {
|
|
84
|
+
value: string;
|
|
85
|
+
};
|
|
86
|
+
28: {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
29: {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
92
|
+
30: {
|
|
93
|
+
value: string;
|
|
94
|
+
};
|
|
95
|
+
31: {
|
|
96
|
+
value: string;
|
|
97
|
+
};
|
|
98
|
+
32: {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
101
|
+
33: {
|
|
102
|
+
value: string;
|
|
103
|
+
};
|
|
104
|
+
34: {
|
|
105
|
+
value: string;
|
|
106
|
+
};
|
|
107
|
+
35: {
|
|
108
|
+
value: string;
|
|
109
|
+
};
|
|
110
|
+
36: {
|
|
111
|
+
value: string;
|
|
112
|
+
};
|
|
113
|
+
37: {
|
|
114
|
+
value: string;
|
|
115
|
+
};
|
|
116
|
+
38: {
|
|
117
|
+
value: string;
|
|
118
|
+
};
|
|
119
|
+
39: {
|
|
120
|
+
value: string;
|
|
121
|
+
};
|
|
122
|
+
40: {
|
|
123
|
+
value: string;
|
|
124
|
+
};
|
|
125
|
+
41: {
|
|
126
|
+
value: string;
|
|
127
|
+
};
|
|
128
|
+
42: {
|
|
129
|
+
value: string;
|
|
130
|
+
};
|
|
131
|
+
43: {
|
|
132
|
+
value: string;
|
|
133
|
+
};
|
|
134
|
+
44: {
|
|
135
|
+
value: string;
|
|
136
|
+
};
|
|
137
|
+
45: {
|
|
138
|
+
value: string;
|
|
139
|
+
};
|
|
140
|
+
46: {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
143
|
+
47: {
|
|
144
|
+
value: string;
|
|
145
|
+
};
|
|
146
|
+
48: {
|
|
147
|
+
value: string;
|
|
148
|
+
};
|
|
149
|
+
49: {
|
|
150
|
+
value: string;
|
|
151
|
+
};
|
|
152
|
+
50: {
|
|
153
|
+
value: string;
|
|
154
|
+
};
|
|
155
|
+
51: {
|
|
156
|
+
value: string;
|
|
157
|
+
};
|
|
158
|
+
52: {
|
|
159
|
+
value: string;
|
|
160
|
+
};
|
|
161
|
+
53: {
|
|
162
|
+
value: string;
|
|
163
|
+
};
|
|
164
|
+
54: {
|
|
165
|
+
value: string;
|
|
166
|
+
};
|
|
167
|
+
55: {
|
|
168
|
+
value: string;
|
|
169
|
+
};
|
|
170
|
+
56: {
|
|
171
|
+
value: string;
|
|
172
|
+
};
|
|
173
|
+
57: {
|
|
174
|
+
value: string;
|
|
175
|
+
};
|
|
176
|
+
58: {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
179
|
+
59: {
|
|
180
|
+
value: string;
|
|
181
|
+
};
|
|
182
|
+
60: {
|
|
183
|
+
value: string;
|
|
184
|
+
};
|
|
185
|
+
61: {
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
188
|
+
62: {
|
|
189
|
+
value: string;
|
|
190
|
+
};
|
|
191
|
+
63: {
|
|
192
|
+
value: string;
|
|
193
|
+
};
|
|
194
|
+
64: {
|
|
195
|
+
value: string;
|
|
196
|
+
};
|
|
197
|
+
};
|