@discourser/design-system 0.9.3 → 0.9.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/AbsoluteCenter.d.ts +4 -0
- package/dist/components/AbsoluteCenter.d.ts.map +1 -0
- package/dist/components/Accordion.d.ts +12 -0
- package/dist/components/Accordion.d.ts.map +1 -0
- package/dist/components/Avatar.d.ts +17 -0
- package/dist/components/Avatar.d.ts.map +1 -0
- package/dist/components/Badge.d.ts +13 -0
- package/dist/components/Badge.d.ts.map +1 -0
- package/dist/components/Button.d.ts +39 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/Card.d.ts +17 -0
- package/dist/components/Card.d.ts.map +1 -0
- package/dist/components/Checkbox.d.ts +507 -0
- package/dist/components/Checkbox.d.ts.map +1 -0
- package/dist/components/CloseButton.d.ts +4 -0
- package/dist/components/CloseButton.d.ts.map +1 -0
- package/dist/components/Dialog.d.ts +16 -0
- package/dist/components/Dialog.d.ts.map +1 -0
- package/dist/components/Drawer.d.ts +17 -0
- package/dist/components/Drawer.d.ts.map +1 -0
- package/dist/components/Group.d.ts +4 -0
- package/dist/components/Group.d.ts.map +1 -0
- package/dist/components/Heading.d.ts +10 -0
- package/dist/components/Heading.d.ts.map +1 -0
- package/dist/components/Icon.d.ts +4 -0
- package/dist/components/Icon.d.ts.map +1 -0
- package/dist/components/IconButton.d.ts +5 -0
- package/dist/components/IconButton.d.ts.map +1 -0
- package/dist/components/Input.d.ts +5 -0
- package/dist/components/Input.d.ts.map +1 -0
- package/dist/components/InputAddon.d.ts +4 -0
- package/dist/components/InputAddon.d.ts.map +1 -0
- package/dist/components/InputGroup.d.ts +14 -0
- package/dist/components/InputGroup.d.ts.map +1 -0
- package/dist/components/Loader.d.ts +25 -0
- package/dist/components/Loader.d.ts.map +1 -0
- package/dist/components/Popover.d.ts +20 -0
- package/dist/components/Popover.d.ts.map +1 -0
- package/dist/components/Progress.d.ts +14 -0
- package/dist/components/Progress.d.ts.map +1 -0
- package/dist/components/RadioGroup.d.ts +14 -0
- package/dist/components/RadioGroup.d.ts.map +1 -0
- package/dist/components/Select.d.ts +26 -0
- package/dist/components/Select.d.ts.map +1 -0
- package/dist/components/Skeleton.d.ts +16 -0
- package/dist/components/Skeleton.d.ts.map +1 -0
- package/dist/components/Slider.d.ts +34 -0
- package/dist/components/Slider.d.ts.map +1 -0
- package/dist/components/Spinner.d.ts +4 -0
- package/dist/components/Spinner.d.ts.map +1 -0
- package/dist/components/Switch.d.ts +10 -0
- package/dist/components/Switch.d.ts.map +1 -0
- package/dist/components/Tabs.d.ts +11 -0
- package/dist/components/Tabs.d.ts.map +1 -0
- package/dist/components/Textarea.d.ts +5 -0
- package/dist/components/Textarea.d.ts.map +1 -0
- package/dist/components/Toast.d.ts +4 -0
- package/dist/components/Toast.d.ts.map +1 -0
- package/dist/components/Tooltip.d.ts +19 -0
- package/dist/components/Tooltip.d.ts.map +1 -0
- package/dist/components/index.d.ts +30 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/contracts/design-language.contract.d.ts +175 -0
- package/dist/contracts/design-language.contract.d.ts.map +1 -0
- package/dist/index.d.ts +7 -21506
- package/dist/index.d.ts.map +1 -0
- package/dist/languages/index.d.ts +4 -0
- package/dist/languages/index.d.ts.map +1 -0
- package/dist/languages/material3.language.d.ts +9 -0
- package/dist/languages/material3.language.d.ts.map +1 -0
- package/dist/languages/transform.d.ts +98 -0
- package/dist/languages/transform.d.ts.map +1 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/preset/colors/index.d.ts +1485 -0
- package/dist/preset/colors/index.d.ts.map +1 -0
- package/dist/preset/colors/m3-error.d.ts +295 -0
- package/dist/preset/colors/m3-error.d.ts.map +1 -0
- package/dist/preset/colors/m3-neutral.d.ts +301 -0
- package/dist/preset/colors/m3-neutral.d.ts.map +1 -0
- package/dist/preset/colors/m3-primary.d.ts +312 -0
- package/dist/preset/colors/m3-primary.d.ts.map +1 -0
- package/dist/preset/index.d.ts +3 -0
- package/dist/preset/index.d.ts.map +1 -0
- package/dist/preset/layer-styles.d.ts +6 -0
- package/dist/preset/layer-styles.d.ts.map +1 -0
- package/dist/preset/recipes/absolute-center.d.ts +2 -0
- package/dist/preset/recipes/absolute-center.d.ts.map +1 -0
- package/dist/preset/recipes/accordion.d.ts +2 -0
- package/dist/preset/recipes/accordion.d.ts.map +1 -0
- package/dist/preset/recipes/avatar.d.ts +2 -0
- package/dist/preset/recipes/avatar.d.ts.map +1 -0
- package/dist/preset/recipes/badge.d.ts +2 -0
- package/dist/preset/recipes/badge.d.ts.map +1 -0
- package/dist/preset/recipes/button.d.ts +2 -0
- package/dist/preset/recipes/button.d.ts.map +1 -0
- package/dist/preset/recipes/card.d.ts +2 -0
- package/dist/preset/recipes/card.d.ts.map +1 -0
- package/dist/preset/recipes/checkbox.d.ts +2 -0
- package/dist/preset/recipes/checkbox.d.ts.map +1 -0
- package/dist/preset/recipes/dialog.d.ts +2 -0
- package/dist/preset/recipes/dialog.d.ts.map +1 -0
- package/dist/preset/recipes/drawer.d.ts +2 -0
- package/dist/preset/recipes/drawer.d.ts.map +1 -0
- package/dist/preset/recipes/field.d.ts +2 -0
- package/dist/preset/recipes/field.d.ts.map +1 -0
- package/dist/preset/recipes/group.d.ts +2 -0
- package/dist/preset/recipes/group.d.ts.map +1 -0
- package/dist/preset/recipes/heading.d.ts +2 -0
- package/dist/preset/recipes/heading.d.ts.map +1 -0
- package/dist/preset/recipes/index.d.ts +28 -0
- package/dist/preset/recipes/index.d.ts.map +1 -0
- package/dist/preset/recipes/input-addon.d.ts +2 -0
- package/dist/preset/recipes/input-addon.d.ts.map +1 -0
- package/dist/preset/recipes/input-group.d.ts +2 -0
- package/dist/preset/recipes/input-group.d.ts.map +1 -0
- package/dist/preset/recipes/input.d.ts +114 -0
- package/dist/preset/recipes/input.d.ts.map +1 -0
- package/dist/preset/recipes/popover.d.ts +2 -0
- package/dist/preset/recipes/popover.d.ts.map +1 -0
- package/dist/preset/recipes/progress.d.ts +2 -0
- package/dist/preset/recipes/progress.d.ts.map +1 -0
- package/dist/preset/recipes/radio-group.d.ts +2 -0
- package/dist/preset/recipes/radio-group.d.ts.map +1 -0
- package/dist/preset/recipes/select.d.ts +2 -0
- package/dist/preset/recipes/select.d.ts.map +1 -0
- package/dist/preset/recipes/skeleton.d.ts +2 -0
- package/dist/preset/recipes/skeleton.d.ts.map +1 -0
- package/dist/preset/recipes/slider.d.ts +2 -0
- package/dist/preset/recipes/slider.d.ts.map +1 -0
- package/dist/preset/recipes/spinner.d.ts +2 -0
- package/dist/preset/recipes/spinner.d.ts.map +1 -0
- package/dist/preset/recipes/switch.d.ts +2 -0
- package/dist/preset/recipes/switch.d.ts.map +1 -0
- package/dist/preset/recipes/tabs.d.ts +2 -0
- package/dist/preset/recipes/tabs.d.ts.map +1 -0
- package/dist/preset/recipes/textarea.d.ts +2 -0
- package/dist/preset/recipes/textarea.d.ts.map +1 -0
- package/dist/preset/recipes/toast.d.ts +2 -0
- package/dist/preset/recipes/toast.d.ts.map +1 -0
- package/dist/preset/recipes/tooltip.d.ts +2 -0
- package/dist/preset/recipes/tooltip.d.ts.map +1 -0
- package/dist/preset/semantic-tokens.d.ts +197 -0
- package/dist/preset/semantic-tokens.d.ts.map +1 -0
- package/dist/preset/shadows.d.ts +49 -0
- package/dist/preset/shadows.d.ts.map +1 -0
- package/dist/preset/text-styles.d.ts +6 -0
- package/dist/preset/text-styles.d.ts.map +1 -0
- package/dist/recipes/button.recipe.d.ts +2 -0
- package/dist/recipes/button.recipe.d.ts.map +1 -0
- package/dist/recipes/card.recipe.d.ts +2 -0
- package/dist/recipes/card.recipe.d.ts.map +1 -0
- package/dist/recipes/dialog.recipe.d.ts +2 -0
- package/dist/recipes/dialog.recipe.d.ts.map +1 -0
- package/dist/recipes/icon-button.recipe.d.ts +2 -0
- package/dist/recipes/icon-button.recipe.d.ts.map +1 -0
- package/dist/recipes/index.d.ts +7 -0
- package/dist/recipes/index.d.ts.map +1 -0
- package/dist/recipes/input.recipe.d.ts +2 -0
- package/dist/recipes/input.recipe.d.ts.map +1 -0
- package/dist/recipes/switch.recipe.d.ts +2 -0
- package/dist/recipes/switch.recipe.d.ts.map +1 -0
- package/dist/stories/foundations/components/ColorSwatch.d.ts +21 -0
- package/dist/stories/foundations/components/ColorSwatch.d.ts.map +1 -0
- package/dist/stories/foundations/components/ElevationCard.d.ts +11 -0
- package/dist/stories/foundations/components/ElevationCard.d.ts.map +1 -0
- package/dist/stories/foundations/components/SpacingBox.d.ts +11 -0
- package/dist/stories/foundations/components/SpacingBox.d.ts.map +1 -0
- package/dist/stories/foundations/components/TypeSpecimen.d.ts +12 -0
- package/dist/stories/foundations/components/TypeSpecimen.d.ts.map +1 -0
- package/dist/utils/cn.d.ts +6 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/package.json +4 -2
- package/src/components/AbsoluteCenter.tsx +7 -0
- package/src/components/Accordion.tsx +27 -0
- package/src/components/Avatar.tsx +55 -0
- package/src/components/Badge.tsx +29 -0
- package/src/components/Button.tsx +116 -0
- package/src/components/Card.tsx +24 -0
- package/src/components/Checkbox.tsx +48 -0
- package/src/components/CloseButton.tsx +21 -0
- package/src/components/Dialog.tsx +25 -0
- package/src/components/Drawer.tsx +29 -0
- package/src/components/Group.tsx +7 -0
- package/src/components/Heading.tsx +9 -0
- package/src/components/Icon.tsx +6 -0
- package/src/components/IconButton.tsx +10 -0
- package/src/components/Input.tsx +7 -0
- package/src/components/InputAddon.tsx +7 -0
- package/src/components/InputGroup.tsx +44 -0
- package/src/components/Loader.tsx +71 -0
- package/src/components/Popover.tsx +34 -0
- package/src/components/Progress.tsx +19 -0
- package/src/components/RadioGroup.tsx +21 -0
- package/src/components/Select.tsx +70 -0
- package/src/components/Skeleton.tsx +37 -0
- package/src/components/Slider.tsx +156 -0
- package/src/components/Spinner.tsx +7 -0
- package/src/components/Switch.tsx +19 -0
- package/src/components/Tabs.tsx +17 -0
- package/src/components/Textarea.tsx +7 -0
- package/src/components/Toast.tsx +96 -0
- package/src/components/Tooltip.tsx +65 -0
- package/src/components/index.ts +48 -0
- package/src/contracts/design-language.contract.ts +198 -0
- package/src/global.css +4 -0
- package/src/index.ts +18 -0
- package/src/languages/index.ts +9 -0
- package/src/languages/material3.language.ts +379 -0
- package/src/languages/transform.ts +131 -0
- package/src/main.ts +33 -0
- package/src/preset/colors/index.ts +14 -0
- package/src/preset/colors/m3-error.ts +76 -0
- package/src/preset/colors/m3-neutral.ts +89 -0
- package/src/preset/colors/m3-primary.ts +107 -0
- package/src/preset/index.ts +189 -0
- package/src/preset/layer-styles.ts +14 -0
- package/src/preset/recipes/absolute-center.ts +37 -0
- package/src/preset/recipes/accordion.ts +92 -0
- package/src/preset/recipes/avatar.ts +152 -0
- package/src/preset/recipes/badge.ts +49 -0
- package/src/preset/recipes/button.ts +110 -0
- package/src/preset/recipes/card.ts +69 -0
- package/src/preset/recipes/checkbox.ts +109 -0
- package/src/preset/recipes/dialog.ts +157 -0
- package/src/preset/recipes/drawer.ts +203 -0
- package/src/preset/recipes/field.ts +40 -0
- package/src/preset/recipes/group.ts +77 -0
- package/src/preset/recipes/heading.ts +26 -0
- package/src/preset/recipes/index.ts +40 -0
- package/src/preset/recipes/input-addon.ts +42 -0
- package/src/preset/recipes/input-group.ts +66 -0
- package/src/preset/recipes/input.ts +87 -0
- package/src/preset/recipes/popover.ts +77 -0
- package/src/preset/recipes/progress.ts +120 -0
- package/src/preset/recipes/radio-group.ts +99 -0
- package/src/preset/recipes/select.ts +175 -0
- package/src/preset/recipes/skeleton.ts +64 -0
- package/src/preset/recipes/slider.ts +174 -0
- package/src/preset/recipes/spinner.ts +33 -0
- package/src/preset/recipes/switch.ts +136 -0
- package/src/preset/recipes/tabs.ts +177 -0
- package/src/preset/recipes/textarea.ts +82 -0
- package/src/preset/recipes/toast.ts +51 -0
- package/src/preset/recipes/tooltip.ts +38 -0
- package/src/preset/semantic-tokens.ts +75 -0
- package/src/preset/shadows.ts +50 -0
- package/src/preset/text-styles.ts +21 -0
- package/src/recipes/button.recipe.ts +120 -0
- package/src/recipes/card.recipe.ts +50 -0
- package/src/recipes/dialog.recipe.ts +130 -0
- package/src/recipes/icon-button.recipe.ts +96 -0
- package/src/recipes/index.ts +6 -0
- package/src/recipes/input.recipe.ts +93 -0
- package/src/recipes/switch.recipe.ts +117 -0
- package/src/stories/foundations/Colors.mdx +380 -0
- package/src/stories/foundations/Elevation.mdx +292 -0
- package/src/stories/foundations/Spacing.mdx +223 -0
- package/src/stories/foundations/Typography.mdx +264 -0
- package/src/stories/foundations/components/ColorSwatch.tsx +166 -0
- package/src/stories/foundations/components/ElevationCard.tsx +81 -0
- package/src/stories/foundations/components/SpacingBox.tsx +94 -0
- package/src/stories/foundations/components/TypeSpecimen.tsx +117 -0
- package/src/test/setup.ts +12 -0
- package/src/test/vitest.d.ts +29 -0
- package/src/utils/cn.ts +8 -0
- package/src/vite-env.d.ts +1 -0
- package/dist/index.d.cts +0 -21506
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Material 3 Primary Color → Park UI Radix Scale
|
|
3
|
+
*
|
|
4
|
+
* Mapping Strategy:
|
|
5
|
+
* - Radix 1-12 represents light → dark in light mode
|
|
6
|
+
* - M3 tonal palette 100 → 0 (white to black)
|
|
7
|
+
*
|
|
8
|
+
* Radix Scale Semantics:
|
|
9
|
+
* 1-2: App background
|
|
10
|
+
* 3-4: Subtle backgrounds
|
|
11
|
+
* 5-6: UI element backgrounds
|
|
12
|
+
* 7-8: Borders and separators
|
|
13
|
+
* 9: Solid backgrounds (primary action color)
|
|
14
|
+
* 10: Hovered solid backgrounds
|
|
15
|
+
* 11: Low-contrast text
|
|
16
|
+
* 12: High-contrast text
|
|
17
|
+
*/
|
|
18
|
+
export declare const primary: {
|
|
19
|
+
'1': {
|
|
20
|
+
value: {
|
|
21
|
+
base: string;
|
|
22
|
+
_dark: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
'2': {
|
|
26
|
+
value: {
|
|
27
|
+
base: string;
|
|
28
|
+
_dark: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
'3': {
|
|
32
|
+
value: {
|
|
33
|
+
base: string;
|
|
34
|
+
_dark: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
'4': {
|
|
38
|
+
value: {
|
|
39
|
+
base: string;
|
|
40
|
+
_dark: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
'5': {
|
|
44
|
+
value: {
|
|
45
|
+
base: string;
|
|
46
|
+
_dark: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
'6': {
|
|
50
|
+
value: {
|
|
51
|
+
base: string;
|
|
52
|
+
_dark: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
'7': {
|
|
56
|
+
value: {
|
|
57
|
+
base: string;
|
|
58
|
+
_dark: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
'8': {
|
|
62
|
+
value: {
|
|
63
|
+
base: string;
|
|
64
|
+
_dark: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
'9': {
|
|
68
|
+
value: {
|
|
69
|
+
base: string;
|
|
70
|
+
_dark: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
'10': {
|
|
74
|
+
value: {
|
|
75
|
+
base: string;
|
|
76
|
+
_dark: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
'11': {
|
|
80
|
+
value: {
|
|
81
|
+
base: string;
|
|
82
|
+
_dark: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
'12': {
|
|
86
|
+
value: {
|
|
87
|
+
base: string;
|
|
88
|
+
_dark: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
a1: {
|
|
92
|
+
value: {
|
|
93
|
+
base: string;
|
|
94
|
+
_dark: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
a2: {
|
|
98
|
+
value: {
|
|
99
|
+
base: string;
|
|
100
|
+
_dark: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
a3: {
|
|
104
|
+
value: {
|
|
105
|
+
base: string;
|
|
106
|
+
_dark: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
a4: {
|
|
110
|
+
value: {
|
|
111
|
+
base: string;
|
|
112
|
+
_dark: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
a5: {
|
|
116
|
+
value: {
|
|
117
|
+
base: string;
|
|
118
|
+
_dark: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
a6: {
|
|
122
|
+
value: {
|
|
123
|
+
base: string;
|
|
124
|
+
_dark: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
a7: {
|
|
128
|
+
value: {
|
|
129
|
+
base: string;
|
|
130
|
+
_dark: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
a8: {
|
|
134
|
+
value: {
|
|
135
|
+
base: string;
|
|
136
|
+
_dark: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
a9: {
|
|
140
|
+
value: {
|
|
141
|
+
base: string;
|
|
142
|
+
_dark: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
a10: {
|
|
146
|
+
value: {
|
|
147
|
+
base: string;
|
|
148
|
+
_dark: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
a11: {
|
|
152
|
+
value: {
|
|
153
|
+
base: string;
|
|
154
|
+
_dark: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
a12: {
|
|
158
|
+
value: {
|
|
159
|
+
base: string;
|
|
160
|
+
_dark: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
solid: {
|
|
164
|
+
bg: {
|
|
165
|
+
DEFAULT: {
|
|
166
|
+
value: {
|
|
167
|
+
base: string;
|
|
168
|
+
_dark: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
hover: {
|
|
172
|
+
value: {
|
|
173
|
+
base: string;
|
|
174
|
+
_dark: string;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
fg: {
|
|
179
|
+
DEFAULT: {
|
|
180
|
+
value: {
|
|
181
|
+
base: string;
|
|
182
|
+
_dark: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
subtle: {
|
|
188
|
+
bg: {
|
|
189
|
+
DEFAULT: {
|
|
190
|
+
value: {
|
|
191
|
+
base: string;
|
|
192
|
+
_dark: string;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
hover: {
|
|
196
|
+
value: {
|
|
197
|
+
base: string;
|
|
198
|
+
_dark: string;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
active: {
|
|
202
|
+
value: {
|
|
203
|
+
base: string;
|
|
204
|
+
_dark: string;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
fg: {
|
|
209
|
+
DEFAULT: {
|
|
210
|
+
value: {
|
|
211
|
+
base: string;
|
|
212
|
+
_dark: string;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
surface: {
|
|
218
|
+
bg: {
|
|
219
|
+
DEFAULT: {
|
|
220
|
+
value: {
|
|
221
|
+
base: string;
|
|
222
|
+
_dark: string;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
active: {
|
|
226
|
+
value: {
|
|
227
|
+
base: string;
|
|
228
|
+
_dark: string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
border: {
|
|
233
|
+
DEFAULT: {
|
|
234
|
+
value: {
|
|
235
|
+
base: string;
|
|
236
|
+
_dark: string;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
hover: {
|
|
240
|
+
value: {
|
|
241
|
+
base: string;
|
|
242
|
+
_dark: string;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
fg: {
|
|
247
|
+
DEFAULT: {
|
|
248
|
+
value: {
|
|
249
|
+
base: string;
|
|
250
|
+
_dark: string;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
outline: {
|
|
256
|
+
bg: {
|
|
257
|
+
hover: {
|
|
258
|
+
value: {
|
|
259
|
+
base: string;
|
|
260
|
+
_dark: string;
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
active: {
|
|
264
|
+
value: {
|
|
265
|
+
base: string;
|
|
266
|
+
_dark: string;
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
border: {
|
|
271
|
+
DEFAULT: {
|
|
272
|
+
value: {
|
|
273
|
+
base: string;
|
|
274
|
+
_dark: string;
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
fg: {
|
|
279
|
+
DEFAULT: {
|
|
280
|
+
value: {
|
|
281
|
+
base: string;
|
|
282
|
+
_dark: string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
plain: {
|
|
288
|
+
bg: {
|
|
289
|
+
hover: {
|
|
290
|
+
value: {
|
|
291
|
+
base: string;
|
|
292
|
+
_dark: string;
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
active: {
|
|
296
|
+
value: {
|
|
297
|
+
base: string;
|
|
298
|
+
_dark: string;
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
fg: {
|
|
303
|
+
DEFAULT: {
|
|
304
|
+
value: {
|
|
305
|
+
base: string;
|
|
306
|
+
_dark: string;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
//# sourceMappingURL=m3-primary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"m3-primary.d.ts","sourceRoot":"","sources":["../../../src/preset/colors/m3-primary.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAOH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmFlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/preset/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAkD5C,eAAO,MAAM,qBAAqB,EAAE,MA0InC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layer-styles.d.ts","sourceRoot":"","sources":["../../src/preset/layer-styles.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,WAAW,qCAOtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"absolute-center.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/absolute-center.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,mFAkCzB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/accordion.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,0CAwFpB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/avatar.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,0CAoJjB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/badge.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,mFA8ChB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/button.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,mFA2GjB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/card.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAkEf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/checkbox.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,0CAyGnB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/dialog.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,0CAyJjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/drawer.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,0CAuMjB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/field.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,0CAoChB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/group.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,mFA0EhB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/heading.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,mFAuBlB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export * from './button';
|
|
2
|
+
export * from './input';
|
|
3
|
+
export * from './input-addon';
|
|
4
|
+
export * from './input-group';
|
|
5
|
+
export * from './field';
|
|
6
|
+
export * from './card';
|
|
7
|
+
export * from './accordion';
|
|
8
|
+
export * from './drawer';
|
|
9
|
+
export * from './tabs';
|
|
10
|
+
export * from './switch';
|
|
11
|
+
export * from './checkbox';
|
|
12
|
+
export * from './radio-group';
|
|
13
|
+
export * from './select';
|
|
14
|
+
export * from './textarea';
|
|
15
|
+
export * from './slider';
|
|
16
|
+
export * from './avatar';
|
|
17
|
+
export * from './badge';
|
|
18
|
+
export * from './progress';
|
|
19
|
+
export * from './skeleton';
|
|
20
|
+
export * from './spinner';
|
|
21
|
+
export * from './toast';
|
|
22
|
+
export * from './dialog';
|
|
23
|
+
export * from './popover';
|
|
24
|
+
export * from './tooltip';
|
|
25
|
+
export * from './heading';
|
|
26
|
+
export * from './absolute-center';
|
|
27
|
+
export * from './group';
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/index.ts"],"names":[],"mappings":"AACA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AAGxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AAGvB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AAGzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AAGxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAG1B,cAAc,WAAW,CAAC;AAG1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-addon.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/input-addon.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,mFAuCrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-group.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/input-group.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,0CA+DrB,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
export declare const input: {
|
|
2
|
+
className: string;
|
|
3
|
+
jsx: string[];
|
|
4
|
+
base: {
|
|
5
|
+
appearance: "none";
|
|
6
|
+
borderRadius: "l2";
|
|
7
|
+
height: "var(--input-height)";
|
|
8
|
+
minHeight: "var(--input-height)";
|
|
9
|
+
minW: string;
|
|
10
|
+
outline: "0";
|
|
11
|
+
position: "relative";
|
|
12
|
+
textAlign: "start";
|
|
13
|
+
transition: "colors";
|
|
14
|
+
width: "100%";
|
|
15
|
+
_disabled: {
|
|
16
|
+
layerStyle: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
defaultVariants: {
|
|
20
|
+
size: string;
|
|
21
|
+
variant: string;
|
|
22
|
+
};
|
|
23
|
+
variants: {
|
|
24
|
+
variant: {
|
|
25
|
+
outline: {
|
|
26
|
+
borderWidth: "1px";
|
|
27
|
+
borderColor: "neutral.outline.border";
|
|
28
|
+
focusVisibleRing: string;
|
|
29
|
+
_invalid: {
|
|
30
|
+
focusRingColor: string;
|
|
31
|
+
borderColor: "error";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
surface: {
|
|
35
|
+
bg: string;
|
|
36
|
+
borderWidth: "1px";
|
|
37
|
+
borderColor: "neutral.surface.border";
|
|
38
|
+
focusVisibleRing: string;
|
|
39
|
+
_invalid: {
|
|
40
|
+
focusRingColor: string;
|
|
41
|
+
borderColor: "error";
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
subtle: {
|
|
45
|
+
borderWidth: "1px";
|
|
46
|
+
borderColor: "transparent";
|
|
47
|
+
bg: string;
|
|
48
|
+
color: "neutral.subtle.fg";
|
|
49
|
+
focusVisibleRing: string;
|
|
50
|
+
_invalid: {
|
|
51
|
+
focusRingColor: string;
|
|
52
|
+
borderColor: "error";
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
flushed: {
|
|
56
|
+
borderBottomWidth: "1px";
|
|
57
|
+
borderBottomColor: "neutral.outline.border";
|
|
58
|
+
borderRadius: "0";
|
|
59
|
+
color: "fg.default";
|
|
60
|
+
px: string;
|
|
61
|
+
_invalid: {
|
|
62
|
+
borderColor: "error";
|
|
63
|
+
};
|
|
64
|
+
_focus: {
|
|
65
|
+
borderColor: "colorPalette.solid.bg";
|
|
66
|
+
boxShadowColor: string;
|
|
67
|
+
boxShadow: "0 1px 0 0 var(--shadow-color)";
|
|
68
|
+
_invalid: {
|
|
69
|
+
borderColor: "error";
|
|
70
|
+
boxShadowColor: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
size: {
|
|
76
|
+
'2xs': {
|
|
77
|
+
textStyle: string;
|
|
78
|
+
px: string;
|
|
79
|
+
'--input-height': string;
|
|
80
|
+
};
|
|
81
|
+
xs: {
|
|
82
|
+
textStyle: string;
|
|
83
|
+
px: string;
|
|
84
|
+
'--input-height': string;
|
|
85
|
+
};
|
|
86
|
+
sm: {
|
|
87
|
+
textStyle: string;
|
|
88
|
+
px: string;
|
|
89
|
+
'--input-height': string;
|
|
90
|
+
};
|
|
91
|
+
md: {
|
|
92
|
+
textStyle: string;
|
|
93
|
+
px: string;
|
|
94
|
+
'--input-height': string;
|
|
95
|
+
};
|
|
96
|
+
lg: {
|
|
97
|
+
textStyle: string;
|
|
98
|
+
px: string;
|
|
99
|
+
'--input-height': string;
|
|
100
|
+
};
|
|
101
|
+
xl: {
|
|
102
|
+
textStyle: string;
|
|
103
|
+
px: string;
|
|
104
|
+
'--input-height': string;
|
|
105
|
+
};
|
|
106
|
+
'2xl': {
|
|
107
|
+
textStyle: string;
|
|
108
|
+
px: string;
|
|
109
|
+
'--input-height': string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
//# sourceMappingURL=input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/input.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoFM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/popover.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,0CAyElB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/progress.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,0CAoHnB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/radio-group.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,0CA+FrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/select.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,0CA2KjB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/skeleton.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,mFA6DnB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/slider.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,0CA0KjB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/spinner.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,mFA8BlB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/switch.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,0CAoIvB,CAAC"}
|