@jordan-mace/chaser-design-system 1.2.3 → 1.2.4
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/dist/components/Accordion/Accordion.d.ts +16 -0
- package/dist/components/Accordion/Accordion.js +43 -0
- package/dist/components/Accordion/index.d.ts +1 -0
- package/dist/components/Accordion/index.js +1 -0
- package/dist/components/Accordion/styles.css.d.ts +7 -0
- package/dist/components/Accordion/styles.css.js +65 -0
- package/dist/components/Alert/Alert.d.ts +9 -0
- package/dist/components/Alert/Alert.js +8 -0
- package/dist/components/Alert/index.d.ts +1 -0
- package/dist/components/Alert/index.js +1 -0
- package/dist/components/Alert/styles.css.d.ts +4 -0
- package/dist/components/Alert/styles.css.js +54 -0
- package/dist/components/AspectRatio/AspectRatio.d.ts +9 -0
- package/dist/components/AspectRatio/AspectRatio.js +12 -0
- package/dist/components/AspectRatio/index.d.ts +2 -0
- package/dist/components/AspectRatio/index.js +1 -0
- package/dist/components/Avatar/Avatar.d.ts +11 -0
- package/dist/components/Avatar/Avatar.js +13 -0
- package/dist/components/Avatar/index.d.ts +1 -0
- package/dist/components/Avatar/index.js +1 -0
- package/dist/components/Avatar/styles.css.d.ts +4 -0
- package/dist/components/Avatar/styles.css.js +151 -0
- package/dist/components/Badge/Badge.d.ts +11 -0
- package/dist/components/Badge/Badge.js +8 -0
- package/dist/components/Badge/index.d.ts +2 -0
- package/dist/components/Badge/index.js +1 -0
- package/dist/components/Badge/styles.css.d.ts +5 -0
- package/dist/components/Badge/styles.css.js +77 -0
- package/dist/components/Box/Box.d.ts +11 -0
- package/dist/components/Box/Box.js +54 -0
- package/dist/components/Box/index.d.ts +2 -0
- package/dist/components/Box/index.js +1 -0
- package/dist/components/Box/reset.css.d.ts +1 -0
- package/dist/components/Box/reset.css.js +15 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +12 -0
- package/dist/components/Breadcrumb/Breadcrumb.js +8 -0
- package/dist/components/Breadcrumb/index.d.ts +1 -0
- package/dist/components/Breadcrumb/index.js +1 -0
- package/dist/components/Breadcrumb/styles.css.d.ts +6 -0
- package/dist/components/Breadcrumb/styles.css.js +50 -0
- package/dist/components/Button/Button.d.ts +9 -0
- package/dist/components/Button/Button.js +8 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button/index.js +1 -0
- package/dist/components/Button/styles.css.d.ts +2 -0
- package/dist/components/Button/styles.css.js +30 -0
- package/dist/components/Card/Card.d.ts +8 -0
- package/dist/components/Card/Card.js +8 -0
- package/dist/components/Card/index.d.ts +1 -0
- package/dist/components/Card/index.js +1 -0
- package/dist/components/Card/styles.css.d.ts +2 -0
- package/dist/components/Card/styles.css.js +25 -0
- package/dist/components/Checkbox/Checkbox.d.ts +6 -0
- package/dist/components/Checkbox/Checkbox.js +25 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/Checkbox/index.js +1 -0
- package/dist/components/Checkbox/styles.css.d.ts +3 -0
- package/dist/components/Checkbox/styles.css.js +31 -0
- package/dist/components/Collapse/Collapse.d.ts +12 -0
- package/dist/components/Collapse/Collapse.js +56 -0
- package/dist/components/Collapse/index.d.ts +2 -0
- package/dist/components/Collapse/index.js +1 -0
- package/dist/components/Collapse/styles.css.d.ts +3 -0
- package/dist/components/Collapse/styles.css.js +36 -0
- package/dist/components/Combobox/Combobox.d.ts +23 -0
- package/dist/components/Combobox/Combobox.js +104 -0
- package/dist/components/Combobox/index.d.ts +2 -0
- package/dist/components/Combobox/index.js +1 -0
- package/dist/components/Combobox/styles.css.d.ts +13 -0
- package/dist/components/Combobox/styles.css.js +142 -0
- package/dist/components/Container/Container.d.ts +11 -0
- package/dist/components/Container/Container.js +21 -0
- package/dist/components/Container/index.d.ts +2 -0
- package/dist/components/Container/index.js +1 -0
- package/dist/components/Divider/Divider.d.ts +9 -0
- package/dist/components/Divider/Divider.js +8 -0
- package/dist/components/Divider/index.d.ts +2 -0
- package/dist/components/Divider/index.js +1 -0
- package/dist/components/Divider/styles.css.d.ts +4 -0
- package/dist/components/Divider/styles.css.js +41 -0
- package/dist/components/Drawer/Drawer.d.ts +16 -0
- package/dist/components/Drawer/Drawer.js +65 -0
- package/dist/components/Drawer/index.d.ts +2 -0
- package/dist/components/Drawer/index.js +1 -0
- package/dist/components/Drawer/styles.css.d.ts +8 -0
- package/dist/components/Drawer/styles.css.js +125 -0
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +23 -0
- package/dist/components/DropdownMenu/DropdownMenu.js +43 -0
- package/dist/components/DropdownMenu/index.d.ts +2 -0
- package/dist/components/DropdownMenu/index.js +1 -0
- package/dist/components/DropdownMenu/styles.css.d.ts +9 -0
- package/dist/components/DropdownMenu/styles.css.js +93 -0
- package/dist/components/EmptyState/EmptyState.d.ts +10 -0
- package/dist/components/EmptyState/EmptyState.js +8 -0
- package/dist/components/EmptyState/index.d.ts +2 -0
- package/dist/components/EmptyState/index.js +1 -0
- package/dist/components/EmptyState/styles.css.d.ts +5 -0
- package/dist/components/EmptyState/styles.css.js +30 -0
- package/dist/components/FileUpload/FileUpload.d.ts +27 -0
- package/dist/components/FileUpload/FileUpload.js +102 -0
- package/dist/components/FileUpload/index.d.ts +2 -0
- package/dist/components/FileUpload/index.js +1 -0
- package/dist/components/FileUpload/styles.css.d.ts +19 -0
- package/dist/components/FileUpload/styles.css.js +145 -0
- package/dist/components/Form/Form.d.ts +7 -0
- package/dist/components/Form/Form.js +8 -0
- package/dist/components/Form/FormInput.d.ts +5 -0
- package/dist/components/Form/FormInput.js +9 -0
- package/dist/components/Form/index.d.ts +2 -0
- package/dist/components/Form/index.js +2 -0
- package/dist/components/Form/styles.css.d.ts +2 -0
- package/dist/components/Form/styles.css.js +11 -0
- package/dist/components/Grid/Grid.d.ts +13 -0
- package/dist/components/Grid/Grid.js +25 -0
- package/dist/components/Grid/index.d.ts +2 -0
- package/dist/components/Grid/index.js +1 -0
- package/dist/components/Icon/Icon.d.ts +12 -0
- package/dist/components/Icon/Icon.js +21 -0
- package/dist/components/Icon/index.d.ts +1 -0
- package/dist/components/Icon/index.js +1 -0
- package/dist/components/Icon/styles.css.d.ts +1 -0
- package/dist/components/Icon/styles.css.js +9 -0
- package/dist/components/Input/Input.d.ts +7 -0
- package/dist/components/Input/Input.js +9 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/Input/index.js +1 -0
- package/dist/components/Input/styles.css.d.ts +2 -0
- package/dist/components/Input/styles.css.js +8 -0
- package/dist/components/Kbd/Kbd.d.ts +7 -0
- package/dist/components/Kbd/Kbd.js +6 -0
- package/dist/components/Kbd/index.d.ts +2 -0
- package/dist/components/Kbd/index.js +1 -0
- package/dist/components/Kbd/styles.css.d.ts +1 -0
- package/dist/components/Kbd/styles.css.js +16 -0
- package/dist/components/List/List.d.ts +5 -0
- package/dist/components/List/List.js +7 -0
- package/dist/components/List/ListItem.d.ts +5 -0
- package/dist/components/List/ListItem.js +7 -0
- package/dist/components/List/index.d.ts +2 -0
- package/dist/components/List/index.js +2 -0
- package/dist/components/List/styles.css.d.ts +2 -0
- package/dist/components/List/styles.css.js +11 -0
- package/dist/components/Modal/Modal.d.ts +13 -0
- package/dist/components/Modal/Modal.js +35 -0
- package/dist/components/Modal/index.d.ts +2 -0
- package/dist/components/Modal/index.js +1 -0
- package/dist/components/Modal/styles.css.d.ts +7 -0
- package/dist/components/Modal/styles.css.js +92 -0
- package/dist/components/Navbar/Navbar.d.ts +6 -0
- package/dist/components/Navbar/Navbar.js +8 -0
- package/dist/components/Navbar/NavbarItem.d.ts +6 -0
- package/dist/components/Navbar/NavbarItem.js +8 -0
- package/dist/components/Navbar/index.d.ts +2 -0
- package/dist/components/Navbar/index.js +2 -0
- package/dist/components/Navbar/styles.css.d.ts +2 -0
- package/dist/components/Navbar/styles.css.js +3 -0
- package/dist/components/NumberInput/NumberInput.d.ts +20 -0
- package/dist/components/NumberInput/NumberInput.js +39 -0
- package/dist/components/NumberInput/index.d.ts +2 -0
- package/dist/components/NumberInput/index.js +1 -0
- package/dist/components/NumberInput/styles.css.d.ts +10 -0
- package/dist/components/NumberInput/styles.css.js +117 -0
- package/dist/components/Pagination/Pagination.d.ts +10 -0
- package/dist/components/Pagination/Pagination.js +47 -0
- package/dist/components/Pagination/index.d.ts +2 -0
- package/dist/components/Pagination/index.js +1 -0
- package/dist/components/Pagination/styles.css.d.ts +4 -0
- package/dist/components/Pagination/styles.css.js +44 -0
- package/dist/components/Popover/Popover.d.ts +18 -0
- package/dist/components/Popover/Popover.js +55 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Popover/index.js +1 -0
- package/dist/components/Popover/styles.css.d.ts +11 -0
- package/dist/components/Popover/styles.css.js +185 -0
- package/dist/components/Progress/Progress.d.ts +10 -0
- package/dist/components/Progress/Progress.js +9 -0
- package/dist/components/Progress/index.d.ts +1 -0
- package/dist/components/Progress/index.js +1 -0
- package/dist/components/Progress/styles.css.d.ts +4 -0
- package/dist/components/Progress/styles.css.js +71 -0
- package/dist/components/Radio/Radio.d.ts +16 -0
- package/dist/components/Radio/Radio.js +25 -0
- package/dist/components/Radio/index.d.ts +1 -0
- package/dist/components/Radio/index.js +1 -0
- package/dist/components/Radio/styles.css.d.ts +5 -0
- package/dist/components/Radio/styles.css.js +42 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts +11 -0
- package/dist/components/ScrollArea/ScrollArea.js +12 -0
- package/dist/components/ScrollArea/index.d.ts +2 -0
- package/dist/components/ScrollArea/index.js +1 -0
- package/dist/components/ScrollArea/styles.css.d.ts +3 -0
- package/dist/components/ScrollArea/styles.css.js +25 -0
- package/dist/components/Select/Select.d.ts +13 -0
- package/dist/components/Select/Select.js +10 -0
- package/dist/components/Select/index.d.ts +1 -0
- package/dist/components/Select/index.js +1 -0
- package/dist/components/Select/styles.css.d.ts +4 -0
- package/dist/components/Select/styles.css.js +82 -0
- package/dist/components/Separator/Separator.d.ts +8 -0
- package/dist/components/Separator/Separator.js +8 -0
- package/dist/components/Separator/index.d.ts +2 -0
- package/dist/components/Separator/index.js +1 -0
- package/dist/components/Separator/styles.css.d.ts +4 -0
- package/dist/components/Separator/styles.css.js +28 -0
- package/dist/components/Skeleton/Skeleton.d.ts +14 -0
- package/dist/components/Skeleton/Skeleton.js +13 -0
- package/dist/components/Skeleton/index.d.ts +2 -0
- package/dist/components/Skeleton/index.js +1 -0
- package/dist/components/Skeleton/styles.css.d.ts +4 -0
- package/dist/components/Skeleton/styles.css.js +56 -0
- package/dist/components/Spinner/Spinner.d.ts +10 -0
- package/dist/components/Spinner/Spinner.js +8 -0
- package/dist/components/Spinner/index.d.ts +2 -0
- package/dist/components/Spinner/index.js +1 -0
- package/dist/components/Spinner/styles.css.d.ts +4 -0
- package/dist/components/Spinner/styles.css.js +55 -0
- package/dist/components/Stack/Stack.d.ts +16 -0
- package/dist/components/Stack/Stack.js +24 -0
- package/dist/components/Stack/index.d.ts +2 -0
- package/dist/components/Stack/index.js +1 -0
- package/dist/components/Stepper/Stepper.d.ts +18 -0
- package/dist/components/Stepper/Stepper.js +25 -0
- package/dist/components/Stepper/index.d.ts +2 -0
- package/dist/components/Stepper/index.js +1 -0
- package/dist/components/Stepper/styles.css.d.ts +14 -0
- package/dist/components/Stepper/styles.css.js +104 -0
- package/dist/components/Table/Table.d.ts +42 -0
- package/dist/components/Table/Table.js +39 -0
- package/dist/components/Table/index.d.ts +1 -0
- package/dist/components/Table/index.js +1 -0
- package/dist/components/Table/styles.css.d.ts +8 -0
- package/dist/components/Table/styles.css.js +49 -0
- package/dist/components/Tabs/Tabs.d.ts +29 -0
- package/dist/components/Tabs/Tabs.js +52 -0
- package/dist/components/Tabs/index.d.ts +1 -0
- package/dist/components/Tabs/index.js +1 -0
- package/dist/components/Tabs/styles.css.d.ts +6 -0
- package/dist/components/Tabs/styles.css.js +100 -0
- package/dist/components/Tag/Tag.d.ts +16 -0
- package/dist/components/Tag/Tag.js +18 -0
- package/dist/components/Tag/index.d.ts +1 -0
- package/dist/components/Tag/index.js +1 -0
- package/dist/components/Tag/styles.css.d.ts +3 -0
- package/dist/components/Tag/styles.css.js +93 -0
- package/dist/components/Text/Header.d.ts +8 -0
- package/dist/components/Text/Header.js +8 -0
- package/dist/components/Text/P.d.ts +7 -0
- package/dist/components/Text/P.js +8 -0
- package/dist/components/Text/index.d.ts +2 -0
- package/dist/components/Text/index.js +2 -0
- package/dist/components/Text/styles.css.d.ts +2 -0
- package/dist/components/Text/styles.css.js +13 -0
- package/dist/components/TextArea/TextArea.d.ts +7 -0
- package/dist/components/TextArea/TextArea.js +9 -0
- package/dist/components/TextArea/index.d.ts +2 -0
- package/dist/components/TextArea/index.js +1 -0
- package/dist/components/TextArea/styles.css.d.ts +2 -0
- package/dist/components/TextArea/styles.css.js +10 -0
- package/dist/components/Toast/Toast.d.ts +34 -0
- package/dist/components/Toast/Toast.js +177 -0
- package/dist/components/Toast/index.d.ts +1 -0
- package/dist/components/Toast/index.js +1 -0
- package/dist/components/Toast/styles.css.d.ts +21 -0
- package/dist/components/Toast/styles.css.js +192 -0
- package/dist/components/Toggle/Toggle.d.ts +10 -0
- package/dist/components/Toggle/Toggle.js +17 -0
- package/dist/components/Toggle/index.d.ts +2 -0
- package/dist/components/Toggle/index.js +1 -0
- package/dist/components/Toggle/styles.css.d.ts +12 -0
- package/dist/components/Toggle/styles.css.js +118 -0
- package/dist/components/Tooltip/Tooltip.d.ts +10 -0
- package/dist/components/Tooltip/Tooltip.js +16 -0
- package/dist/components/Tooltip/index.d.ts +2 -0
- package/dist/components/Tooltip/index.js +1 -0
- package/dist/components/Tooltip/styles.css.d.ts +8 -0
- package/dist/components/Tooltip/styles.css.js +86 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +8 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.js +9 -0
- package/dist/components/VisuallyHidden/index.d.ts +2 -0
- package/dist/components/VisuallyHidden/index.js +1 -0
- package/dist/components/VisuallyHidden/styles.css.d.ts +1 -0
- package/dist/components/VisuallyHidden/styles.css.js +12 -0
- package/dist/components/index.d.ts +68 -0
- package/dist/components/index.js +47 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/styles/layers.css.d.ts +3 -0
- package/dist/styles/layers.css.js +3 -0
- package/dist/styles/sprinkles.css.d.ts +241 -0
- package/dist/styles/sprinkles.css.js +165 -0
- package/dist/styles/theme.css.d.ts +38 -0
- package/dist/styles/theme.css.js +51 -0
- package/dist/styles/utils.d.ts +2 -0
- package/dist/styles/utils.js +7 -0
- package/package.json +9 -18
- package/dist/index.cjs +0 -4894
- package/dist/index.d.cts +0 -1111
- package/dist/index.d.mts +0 -1111
- package/dist/index.mjs +0 -4812
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
export declare const colors: {
|
|
2
|
+
'c1-50': string;
|
|
3
|
+
'c1-100': string;
|
|
4
|
+
'c1-150': string;
|
|
5
|
+
'c1-200': string;
|
|
6
|
+
'c1-250': string;
|
|
7
|
+
'c1-300': string;
|
|
8
|
+
'c1-350': string;
|
|
9
|
+
'c1-400': string;
|
|
10
|
+
'c1-450': string;
|
|
11
|
+
'c1-500': string;
|
|
12
|
+
'c1-550': string;
|
|
13
|
+
'c1-600': string;
|
|
14
|
+
'c1-650': string;
|
|
15
|
+
'c1-700': string;
|
|
16
|
+
'c1-750': string;
|
|
17
|
+
'c1-800': string;
|
|
18
|
+
'c1-850': string;
|
|
19
|
+
'c1-900': string;
|
|
20
|
+
'c2-50': string;
|
|
21
|
+
'c2-100': string;
|
|
22
|
+
'c2-150': string;
|
|
23
|
+
'c2-200': string;
|
|
24
|
+
'c2-250': string;
|
|
25
|
+
'c2-300': string;
|
|
26
|
+
'c2-350': string;
|
|
27
|
+
'c2-400': string;
|
|
28
|
+
'c2-450': string;
|
|
29
|
+
'c2-500': string;
|
|
30
|
+
'c2-550': string;
|
|
31
|
+
'c2-600': string;
|
|
32
|
+
'c2-650': string;
|
|
33
|
+
'c2-700': string;
|
|
34
|
+
'c2-750': string;
|
|
35
|
+
'c2-800': string;
|
|
36
|
+
'c2-850': string;
|
|
37
|
+
'c2-900': string;
|
|
38
|
+
'c3-50': string;
|
|
39
|
+
'c3-100': string;
|
|
40
|
+
'c3-150': string;
|
|
41
|
+
'c3-200': string;
|
|
42
|
+
'c3-250': string;
|
|
43
|
+
'c3-300': string;
|
|
44
|
+
'c3-350': string;
|
|
45
|
+
'c3-400': string;
|
|
46
|
+
'c3-450': string;
|
|
47
|
+
'c3-500': string;
|
|
48
|
+
'c3-550': string;
|
|
49
|
+
'c3-600': string;
|
|
50
|
+
'c3-650': string;
|
|
51
|
+
'c3-700': string;
|
|
52
|
+
'c3-750': string;
|
|
53
|
+
'c3-800': string;
|
|
54
|
+
'c3-850': string;
|
|
55
|
+
'c3-900': string;
|
|
56
|
+
'c4-50': string;
|
|
57
|
+
'c4-100': string;
|
|
58
|
+
'c4-150': string;
|
|
59
|
+
'c4-200': string;
|
|
60
|
+
'c4-250': string;
|
|
61
|
+
'c4-300': string;
|
|
62
|
+
'c4-350': string;
|
|
63
|
+
'c4-400': string;
|
|
64
|
+
'c4-450': string;
|
|
65
|
+
'c4-500': string;
|
|
66
|
+
'c4-550': string;
|
|
67
|
+
'c4-600': string;
|
|
68
|
+
'c4-650': string;
|
|
69
|
+
'c4-700': string;
|
|
70
|
+
'c4-750': string;
|
|
71
|
+
'c4-800': string;
|
|
72
|
+
'c4-850': string;
|
|
73
|
+
'c4-900': string;
|
|
74
|
+
'c5-50': string;
|
|
75
|
+
'c5-100': string;
|
|
76
|
+
'c5-150': string;
|
|
77
|
+
'c5-200': string;
|
|
78
|
+
'c5-250': string;
|
|
79
|
+
'c5-300': string;
|
|
80
|
+
'c5-350': string;
|
|
81
|
+
'c5-400': string;
|
|
82
|
+
'c5-450': string;
|
|
83
|
+
'c5-500': string;
|
|
84
|
+
'c5-550': string;
|
|
85
|
+
'c5-600': string;
|
|
86
|
+
'c5-650': string;
|
|
87
|
+
'c5-700': string;
|
|
88
|
+
'c5-750': string;
|
|
89
|
+
'c5-800': string;
|
|
90
|
+
'c5-850': string;
|
|
91
|
+
'c5-900': string;
|
|
92
|
+
};
|
|
93
|
+
export declare const sprinkles: ((props: {
|
|
94
|
+
display?: ("flex" | "none" | "block" | "inline" | {
|
|
95
|
+
mobile?: "flex" | "none" | "block" | "inline";
|
|
96
|
+
tablet?: "flex" | "none" | "block" | "inline";
|
|
97
|
+
desktop?: "flex" | "none" | "block" | "inline";
|
|
98
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "flex" | "none" | "block" | "inline">;
|
|
99
|
+
width?: ("auto" | "100%" | "50%" | "25%" | {
|
|
100
|
+
mobile?: "auto" | "100%" | "50%" | "25%";
|
|
101
|
+
tablet?: "auto" | "100%" | "50%" | "25%";
|
|
102
|
+
desktop?: "auto" | "100%" | "50%" | "25%";
|
|
103
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "100%" | "50%" | "25%">;
|
|
104
|
+
height?: ("auto" | "100%" | "50%" | "25%" | {
|
|
105
|
+
mobile?: "auto" | "100%" | "50%" | "25%";
|
|
106
|
+
tablet?: "auto" | "100%" | "50%" | "25%";
|
|
107
|
+
desktop?: "auto" | "100%" | "50%" | "25%";
|
|
108
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "100%" | "50%" | "25%">;
|
|
109
|
+
flexDirection?: ("column" | "row" | {
|
|
110
|
+
mobile?: "column" | "row";
|
|
111
|
+
tablet?: "column" | "row";
|
|
112
|
+
desktop?: "column" | "row";
|
|
113
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "column" | "row">;
|
|
114
|
+
justifyContent?: ("space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | {
|
|
115
|
+
mobile?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start";
|
|
116
|
+
tablet?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start";
|
|
117
|
+
desktop?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start";
|
|
118
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start">;
|
|
119
|
+
alignItems?: ("stretch" | "center" | "flex-end" | "flex-start" | {
|
|
120
|
+
mobile?: "stretch" | "center" | "flex-end" | "flex-start";
|
|
121
|
+
tablet?: "stretch" | "center" | "flex-end" | "flex-start";
|
|
122
|
+
desktop?: "stretch" | "center" | "flex-end" | "flex-start";
|
|
123
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "stretch" | "center" | "flex-end" | "flex-start">;
|
|
124
|
+
paddingTop?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
125
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
126
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
127
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
128
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
129
|
+
paddingBottom?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
130
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
131
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
132
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
133
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
134
|
+
paddingLeft?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
135
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
136
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
137
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
138
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
139
|
+
paddingRight?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
140
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
141
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
142
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
143
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
144
|
+
marginLeft?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
145
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
146
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
147
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
148
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
149
|
+
marginRight?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
150
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
151
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
152
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
153
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
154
|
+
marginTop?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
155
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
156
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
157
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
158
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
159
|
+
marginBottom?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
160
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
161
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
162
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
163
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
164
|
+
borderLeft?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
165
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
166
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
167
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
168
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
169
|
+
borderRight?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
170
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
171
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
172
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
173
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
174
|
+
borderTop?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
175
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
176
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
177
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
178
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
179
|
+
borderBottom?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
180
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
181
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
182
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
183
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
184
|
+
borderRadius?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
185
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
186
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
187
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
188
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
189
|
+
gap?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
190
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
191
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
192
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
193
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
194
|
+
padding?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
195
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
196
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
197
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
198
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
199
|
+
border?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
200
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
201
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
202
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
203
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
204
|
+
paddingX?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
205
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
206
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
207
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
208
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
209
|
+
paddingY?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
210
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
211
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
212
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
213
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
214
|
+
marginX?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
215
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
216
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
217
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
218
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
219
|
+
marginY?: ("auto" | "medium" | "none" | "large" | "small" | {
|
|
220
|
+
mobile?: "auto" | "medium" | "none" | "large" | "small";
|
|
221
|
+
tablet?: "auto" | "medium" | "none" | "large" | "small";
|
|
222
|
+
desktop?: "auto" | "medium" | "none" | "large" | "small";
|
|
223
|
+
}) | import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "auto" | "medium" | "none" | "large" | "small">;
|
|
224
|
+
placeItems?: import("@vanilla-extract/sprinkles").ResponsiveArray<2 | 3 | 1, "stretch" | "center" | "flex-end" | "flex-start"> | ("stretch" | "center" | "flex-end" | "flex-start" | {
|
|
225
|
+
mobile?: "stretch" | "center" | "flex-end" | "flex-start";
|
|
226
|
+
tablet?: "stretch" | "center" | "flex-end" | "flex-start";
|
|
227
|
+
desktop?: "stretch" | "center" | "flex-end" | "flex-start";
|
|
228
|
+
});
|
|
229
|
+
} & {
|
|
230
|
+
color?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900" | {
|
|
231
|
+
lightMode?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900";
|
|
232
|
+
darkMode?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900";
|
|
233
|
+
};
|
|
234
|
+
background?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900" | {
|
|
235
|
+
lightMode?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900";
|
|
236
|
+
darkMode?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900";
|
|
237
|
+
};
|
|
238
|
+
}) => string) & {
|
|
239
|
+
properties: Set<"alignItems" | "color" | "display" | "flexDirection" | "height" | "justifyContent" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "width" | "background" | "border" | "borderBottom" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "gap" | "padding" | "placeItems" | "paddingX" | "paddingY" | "marginX" | "marginY">;
|
|
240
|
+
};
|
|
241
|
+
export type Sprinkles = Parameters<typeof sprinkles>[0];
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { defineProperties, createSprinkles } from '@vanilla-extract/sprinkles';
|
|
2
|
+
import { componentsLayer } from './layers.css';
|
|
3
|
+
const space = {
|
|
4
|
+
none: 0,
|
|
5
|
+
small: '4px',
|
|
6
|
+
medium: '8px',
|
|
7
|
+
large: '16px',
|
|
8
|
+
auto: 'auto',
|
|
9
|
+
// etc.
|
|
10
|
+
};
|
|
11
|
+
const responsiveProperties = defineProperties({
|
|
12
|
+
'@layer': componentsLayer,
|
|
13
|
+
conditions: {
|
|
14
|
+
mobile: {},
|
|
15
|
+
tablet: { '@media': 'screen and (min-width: 768px)' },
|
|
16
|
+
desktop: { '@media': 'screen and (min-width: 1024px)' },
|
|
17
|
+
},
|
|
18
|
+
defaultCondition: 'mobile',
|
|
19
|
+
responsiveArray: ['mobile', 'tablet', 'desktop'],
|
|
20
|
+
properties: {
|
|
21
|
+
display: ['none', 'flex', 'block', 'inline'],
|
|
22
|
+
width: ['auto', '100%', '50%', '25%'],
|
|
23
|
+
height: ['auto', '100%', '50%', '25%'],
|
|
24
|
+
flexDirection: ['row', 'column'],
|
|
25
|
+
justifyContent: [
|
|
26
|
+
'stretch',
|
|
27
|
+
'flex-start',
|
|
28
|
+
'center',
|
|
29
|
+
'flex-end',
|
|
30
|
+
'space-around',
|
|
31
|
+
'space-between',
|
|
32
|
+
],
|
|
33
|
+
alignItems: ['stretch', 'flex-start', 'center', 'flex-end'],
|
|
34
|
+
paddingTop: space,
|
|
35
|
+
paddingBottom: space,
|
|
36
|
+
paddingLeft: space,
|
|
37
|
+
paddingRight: space,
|
|
38
|
+
marginLeft: space,
|
|
39
|
+
marginRight: space,
|
|
40
|
+
marginTop: space,
|
|
41
|
+
marginBottom: space,
|
|
42
|
+
borderLeft: space,
|
|
43
|
+
borderRight: space,
|
|
44
|
+
borderTop: space,
|
|
45
|
+
borderBottom: space,
|
|
46
|
+
borderRadius: space,
|
|
47
|
+
gap: space,
|
|
48
|
+
// etc.
|
|
49
|
+
},
|
|
50
|
+
shorthands: {
|
|
51
|
+
padding: ['paddingTop', 'paddingBottom', 'paddingLeft', 'paddingRight'],
|
|
52
|
+
border: ['borderTop', 'borderRight', 'borderBottom', 'borderLeft'],
|
|
53
|
+
paddingX: ['paddingLeft', 'paddingRight'],
|
|
54
|
+
paddingY: ['paddingTop', 'paddingBottom'],
|
|
55
|
+
marginX: ['marginLeft', 'marginRight'],
|
|
56
|
+
marginY: ['marginTop', 'marginBottom'],
|
|
57
|
+
placeItems: ['justifyContent', 'alignItems'],
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
export const colors = {
|
|
61
|
+
// Generated color tokens from base palette [CAE5FF, ACEDFF, 89BBFE, 6F8AB7, 615D6C]
|
|
62
|
+
'c1-50': '#F5FAFE',
|
|
63
|
+
'c1-100': '#DDEEFD',
|
|
64
|
+
'c1-150': '#BFDFFC',
|
|
65
|
+
'c1-200': '#A6D3FC',
|
|
66
|
+
'c1-250': '#88C4FC',
|
|
67
|
+
'c1-300': '#6EB7FC',
|
|
68
|
+
'c1-350': '#54ABFC',
|
|
69
|
+
'c1-400': '#349CFE',
|
|
70
|
+
'c1-450': '#1A90FF',
|
|
71
|
+
'c1-500': '#0181F9',
|
|
72
|
+
'c1-550': '#0374DD',
|
|
73
|
+
'c1-600': '#0464BE',
|
|
74
|
+
'c1-650': '#0457A4',
|
|
75
|
+
'c1-700': '#054A8A',
|
|
76
|
+
'c1-750': '#043A6C',
|
|
77
|
+
'c1-800': '#042D53',
|
|
78
|
+
'c1-850': '#031D35',
|
|
79
|
+
'c1-900': '#02101D',
|
|
80
|
+
'c2-50': '#F5FCFE',
|
|
81
|
+
'c2-100': '#DDF6FD',
|
|
82
|
+
'c2-150': '#BFEFFC',
|
|
83
|
+
'c2-200': '#A6E9FC',
|
|
84
|
+
'c2-250': '#88E3FC',
|
|
85
|
+
'c2-300': '#6EDDFC',
|
|
86
|
+
'c2-350': '#54D8FC',
|
|
87
|
+
'c2-400': '#34D2FE',
|
|
88
|
+
'c2-450': '#1ACDFF',
|
|
89
|
+
'c2-500': '#01C3F9',
|
|
90
|
+
'c2-550': '#03AEDD',
|
|
91
|
+
'c2-600': '#0496BE',
|
|
92
|
+
'c2-650': '#0481A4',
|
|
93
|
+
'c2-700': '#056D8A',
|
|
94
|
+
'c2-750': '#04556C',
|
|
95
|
+
'c2-800': '#044253',
|
|
96
|
+
'c2-850': '#032A35',
|
|
97
|
+
'c2-900': '#02171D',
|
|
98
|
+
'c3-50': '#F5F9FE',
|
|
99
|
+
'c3-100': '#DDEBFD',
|
|
100
|
+
'c3-150': '#C0DAFC',
|
|
101
|
+
'c3-200': '#A7CCFB',
|
|
102
|
+
'c3-250': '#89BAFB',
|
|
103
|
+
'c3-300': '#70ACFB',
|
|
104
|
+
'c3-350': '#569DFB',
|
|
105
|
+
'c3-400': '#368CFC',
|
|
106
|
+
'c3-450': '#1C7DFD',
|
|
107
|
+
'c3-500': '#046DF6',
|
|
108
|
+
'c3-550': '#0662DB',
|
|
109
|
+
'c3-600': '#0655BC',
|
|
110
|
+
'c3-650': '#064AA2',
|
|
111
|
+
'c3-700': '#063F88',
|
|
112
|
+
'c3-750': '#06316B',
|
|
113
|
+
'c3-800': '#052652',
|
|
114
|
+
'c3-850': '#031935',
|
|
115
|
+
'c3-900': '#020E1C',
|
|
116
|
+
'c4-50': '#F8FAFB',
|
|
117
|
+
'c4-100': '#E8ECF3',
|
|
118
|
+
'c4-150': '#D4DBE8',
|
|
119
|
+
'c4-200': '#C3CDDF',
|
|
120
|
+
'c4-250': '#AFBDD5',
|
|
121
|
+
'c4-300': '#9DAFCD',
|
|
122
|
+
'c4-350': '#8DA1C4',
|
|
123
|
+
'c4-400': '#7790BB',
|
|
124
|
+
'c4-450': '#6682B2',
|
|
125
|
+
'c4-500': '#5472A6',
|
|
126
|
+
'c4-550': '#4C6794',
|
|
127
|
+
'c4-600': '#425980',
|
|
128
|
+
'c4-650': '#3A4D6E',
|
|
129
|
+
'c4-700': '#31415E',
|
|
130
|
+
'c4-750': '#273449',
|
|
131
|
+
'c4-800': '#1E2838',
|
|
132
|
+
'c4-850': '#141A24',
|
|
133
|
+
'c4-900': '#0B0E14',
|
|
134
|
+
'c5-50': '#FAFAFA',
|
|
135
|
+
'c5-100': '#EDECEE',
|
|
136
|
+
'c5-150': '#DDDCE0',
|
|
137
|
+
'c5-200': '#D0CED4',
|
|
138
|
+
'c5-250': '#C0BEC6',
|
|
139
|
+
'c5-300': '#B3B0BA',
|
|
140
|
+
'c5-350': '#A5A2AE',
|
|
141
|
+
'c5-400': '#9692A0',
|
|
142
|
+
'c5-450': '#898494',
|
|
143
|
+
'c5-500': '#797486',
|
|
144
|
+
'c5-550': '#6D6878',
|
|
145
|
+
'c5-600': '#5E5A68',
|
|
146
|
+
'c5-650': '#514E5A',
|
|
147
|
+
'c5-700': '#45424C',
|
|
148
|
+
'c5-750': '#37353B',
|
|
149
|
+
'c5-800': '#2A292E',
|
|
150
|
+
'c5-850': '#1B1A1E',
|
|
151
|
+
'c5-900': '#0F0E10',
|
|
152
|
+
};
|
|
153
|
+
const colorProperties = defineProperties({
|
|
154
|
+
conditions: {
|
|
155
|
+
lightMode: {},
|
|
156
|
+
darkMode: { '@media': '(prefers-color-scheme: dark)' },
|
|
157
|
+
},
|
|
158
|
+
defaultCondition: 'lightMode',
|
|
159
|
+
properties: {
|
|
160
|
+
color: colors,
|
|
161
|
+
background: colors,
|
|
162
|
+
// etc.
|
|
163
|
+
},
|
|
164
|
+
});
|
|
165
|
+
export const sprinkles = createSprinkles(responsiveProperties, colorProperties);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const vars: {
|
|
2
|
+
fontFamily: {
|
|
3
|
+
body: `var(--${string})`;
|
|
4
|
+
heading: `var(--${string})`;
|
|
5
|
+
};
|
|
6
|
+
colors: {
|
|
7
|
+
textPrimary: `var(--${string})`;
|
|
8
|
+
textSecondary: `var(--${string})`;
|
|
9
|
+
textDisabled: `var(--${string})`;
|
|
10
|
+
buttonTextPrimary: `var(--${string})`;
|
|
11
|
+
buttonTextSecondary: `var(--${string})`;
|
|
12
|
+
buttonBackgroundPrimary: `var(--${string})`;
|
|
13
|
+
buttonBackgroundFocusedPrimary: `var(--${string})`;
|
|
14
|
+
buttonBackgroundFocusedSecondary: `var(--${string})`;
|
|
15
|
+
buttonBackgroundSecondary: `var(--${string})`;
|
|
16
|
+
borderDefault: `var(--${string})`;
|
|
17
|
+
borderMuted: `var(--${string})`;
|
|
18
|
+
backgroundDefault: `var(--${string})`;
|
|
19
|
+
backgroundMuted: `var(--${string})`;
|
|
20
|
+
alertSuccessBackground: `var(--${string})`;
|
|
21
|
+
alertSuccessBorder: `var(--${string})`;
|
|
22
|
+
alertSuccessText: `var(--${string})`;
|
|
23
|
+
alertWarningBackground: `var(--${string})`;
|
|
24
|
+
alertWarningBorder: `var(--${string})`;
|
|
25
|
+
alertWarningText: `var(--${string})`;
|
|
26
|
+
alertErrorBackground: `var(--${string})`;
|
|
27
|
+
alertErrorBorder: `var(--${string})`;
|
|
28
|
+
alertErrorText: `var(--${string})`;
|
|
29
|
+
alertInfoBackground: `var(--${string})`;
|
|
30
|
+
alertInfoBorder: `var(--${string})`;
|
|
31
|
+
alertInfoText: `var(--${string})`;
|
|
32
|
+
inputBackground: `var(--${string})`;
|
|
33
|
+
inputBorder: `var(--${string})`;
|
|
34
|
+
inputBorderFocused: `var(--${string})`;
|
|
35
|
+
inputPlaceholder: `var(--${string})`;
|
|
36
|
+
listBorder: `var(--${string})`;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { createGlobalTheme, globalStyle } from '@vanilla-extract/css';
|
|
2
|
+
import { colors } from './sprinkles.css';
|
|
3
|
+
import { themeLayer } from './layers.css';
|
|
4
|
+
// Import Google Fonts
|
|
5
|
+
globalStyle('@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap");', {});
|
|
6
|
+
// Apply global font styles
|
|
7
|
+
globalStyle('body', {
|
|
8
|
+
fontFamily: "'Inter', sans-serif",
|
|
9
|
+
});
|
|
10
|
+
globalStyle('h1, h2, h3, h4, h5, h6', {
|
|
11
|
+
fontFamily: "'Poppins', sans-serif",
|
|
12
|
+
});
|
|
13
|
+
export const vars = createGlobalTheme(':root', {
|
|
14
|
+
'@layer': themeLayer,
|
|
15
|
+
colors: {
|
|
16
|
+
textPrimary: colors['c5-800'],
|
|
17
|
+
textSecondary: colors['c5-500'],
|
|
18
|
+
textDisabled: colors['c5-350'],
|
|
19
|
+
buttonTextPrimary: colors['c1-50'],
|
|
20
|
+
buttonTextSecondary: colors['c1-900'],
|
|
21
|
+
buttonBackgroundPrimary: colors['c1-600'],
|
|
22
|
+
buttonBackgroundFocusedPrimary: colors['c1-500'],
|
|
23
|
+
buttonBackgroundFocusedSecondary: colors['c1-100'],
|
|
24
|
+
buttonBackgroundSecondary: colors['c1-200'],
|
|
25
|
+
borderDefault: colors['c4-200'],
|
|
26
|
+
borderMuted: colors['c4-100'],
|
|
27
|
+
backgroundDefault: colors['c4-50'],
|
|
28
|
+
backgroundMuted: colors['c4-50'],
|
|
29
|
+
alertSuccessBackground: colors['c2-50'],
|
|
30
|
+
alertSuccessBorder: colors['c2-500'],
|
|
31
|
+
alertSuccessText: colors['c2-800'],
|
|
32
|
+
alertWarningBackground: colors['c3-50'],
|
|
33
|
+
alertWarningBorder: colors['c3-500'],
|
|
34
|
+
alertWarningText: colors['c3-800'],
|
|
35
|
+
alertErrorBackground: colors['c4-50'],
|
|
36
|
+
alertErrorBorder: colors['c4-500'],
|
|
37
|
+
alertErrorText: colors['c4-800'],
|
|
38
|
+
alertInfoBackground: colors['c1-50'],
|
|
39
|
+
alertInfoBorder: colors['c1-500'],
|
|
40
|
+
alertInfoText: colors['c1-800'],
|
|
41
|
+
inputBackground: colors['c4-50'],
|
|
42
|
+
inputBorder: colors['c4-200'],
|
|
43
|
+
inputBorderFocused: colors['c1-500'],
|
|
44
|
+
inputPlaceholder: colors['c5-350'],
|
|
45
|
+
listBorder: colors['c4-100'],
|
|
46
|
+
},
|
|
47
|
+
fontFamily: {
|
|
48
|
+
body: "'Inter', sans-serif",
|
|
49
|
+
heading: "'Poppins', sans-serif",
|
|
50
|
+
},
|
|
51
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jordan-mace/chaser-design-system",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css.js"
|
|
@@ -11,22 +11,12 @@
|
|
|
11
11
|
},
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
-
"types": "./dist/index.d.
|
|
15
|
-
"import": "./dist/index.
|
|
16
|
-
"require": "./dist/index.cjs"
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js"
|
|
17
16
|
},
|
|
18
|
-
"./cssReset.css":
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
"./layers.css": {
|
|
23
|
-
"types": "./dist/styles/layers.css.d.ts",
|
|
24
|
-
"default": "./src/styles/layers.css.ts"
|
|
25
|
-
},
|
|
26
|
-
"./theme.css": {
|
|
27
|
-
"types": "./dist/styles/theme.css.d.ts",
|
|
28
|
-
"default": "./src/styles/theme.css.ts"
|
|
29
|
-
}
|
|
17
|
+
"./cssReset.css": "./src/styles/reset.css.ts",
|
|
18
|
+
"./layers.css": "./src/styles/layers.css.ts",
|
|
19
|
+
"./theme.css": "./src/styles/theme.css.ts"
|
|
30
20
|
},
|
|
31
21
|
"files": [
|
|
32
22
|
"dist",
|
|
@@ -47,6 +37,7 @@
|
|
|
47
37
|
"@types/react": "^19.2.6",
|
|
48
38
|
"@types/react-dom": "^19.2.3",
|
|
49
39
|
"@vanilla-extract/esbuild-plugin": "^2.3.21",
|
|
40
|
+
"@vanilla-extract/integration": "^8.0.7",
|
|
50
41
|
"@vanilla-extract/vite-plugin": "^5.1.1",
|
|
51
42
|
"@vanilla-extract/webpack-plugin": "^2.3.22",
|
|
52
43
|
"@vitejs/plugin-react": "^5.1.1",
|
|
@@ -79,8 +70,8 @@
|
|
|
79
70
|
"@rsbuild/core": "^1.6.14"
|
|
80
71
|
},
|
|
81
72
|
"scripts": {
|
|
82
|
-
"build": "
|
|
83
|
-
"dev": "
|
|
73
|
+
"build": "rm -rf dist && tsc --project tsconfig.build.json --noCheck --skipLibCheck || true",
|
|
74
|
+
"dev": "tsc --project tsconfig.build.json --watch --noCheck --skipLibCheck || true",
|
|
84
75
|
"format": "prettier --write .",
|
|
85
76
|
"lint": "eslint .",
|
|
86
77
|
"test": "vitest --config=vitest.browser.config.ts",
|