@optiaxiom/globals 0.2.0-next.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1219 -18
- package/dist/index.js +2 -0
- package/dist/theme-css.js +3 -0
- package/dist/toaster.js +9 -5
- package/dist/tokens/borderRadius.js +13 -0
- package/dist/tokens/borderWidth.js +8 -0
- package/dist/tokens/boxShadow.js +11 -0
- package/dist/tokens/colors.js +249 -0
- package/dist/tokens/fontFamily.js +6 -0
- package/dist/tokens/fontSize.js +50 -0
- package/dist/tokens/index.js +37 -0
- package/dist/tokens/letterSpacing.js +10 -0
- package/dist/tokens/lineHeight.js +8 -0
- package/dist/tokens/margins.js +25 -0
- package/dist/tokens/maxSize.js +13 -0
- package/dist/tokens/rem.js +3 -0
- package/dist/tokens/screens.js +9 -0
- package/dist/tokens/size.js +53 -0
- package/dist/tokens/spacing.js +25 -0
- package/dist/tokens/zIndex.js +14 -0
- package/package.json +7 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,31 +1,1232 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { ReactElement } from 'react';
|
|
2
|
+
import { useSyncExternalStore, ReactElement } from 'react';
|
|
3
3
|
|
|
4
4
|
declare const AxiomVersionContext: react.Context<string | undefined>;
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
declare const theme: MapLeafNodes<{
|
|
7
|
+
readonly borderRadius: {
|
|
8
|
+
readonly xs: "2px";
|
|
9
|
+
readonly sm: "4px";
|
|
10
|
+
readonly md: "6px";
|
|
11
|
+
readonly lg: "8px";
|
|
12
|
+
readonly xl: "12px";
|
|
13
|
+
readonly full: "9999px";
|
|
14
|
+
readonly none: "0";
|
|
15
|
+
};
|
|
16
|
+
readonly borderWidth: {
|
|
17
|
+
readonly "0": "0";
|
|
18
|
+
readonly "1": "1px";
|
|
19
|
+
readonly "2": "2px";
|
|
20
|
+
readonly "4": "4px";
|
|
21
|
+
};
|
|
22
|
+
readonly boxShadow: {
|
|
23
|
+
readonly xs: "0 1px 2px 0 rgb(0 0 0 / 0.05)";
|
|
24
|
+
readonly sm: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
25
|
+
readonly md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
|
|
26
|
+
readonly lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
|
|
27
|
+
readonly xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
|
|
28
|
+
readonly inner: "inset 0 0 6px 0 rgb(0 0 0 / 0.1);";
|
|
29
|
+
readonly none: "0 0 #0000";
|
|
30
|
+
};
|
|
31
|
+
readonly colors: {
|
|
32
|
+
readonly "bg.accent": "#0037FF";
|
|
33
|
+
readonly "bg.accent.hovered": "#002CCC";
|
|
34
|
+
readonly "bg.accent.light": "#B3C3FF";
|
|
35
|
+
readonly "bg.accent.pressed": "#002894";
|
|
36
|
+
readonly "bg.accent.subtle": "#F0F3FF";
|
|
37
|
+
readonly "bg.default": "#FFFFFF";
|
|
38
|
+
readonly "bg.default.inverse": "#2E3442";
|
|
39
|
+
readonly "bg.default.inverse.hovered": "#1C212B";
|
|
40
|
+
readonly "bg.default.inverse.pressed": "#1C2029";
|
|
41
|
+
readonly "bg.error": "#CC1616";
|
|
42
|
+
readonly "bg.error.hovered": "#B21313";
|
|
43
|
+
readonly "bg.error.light": "#FFB4B4";
|
|
44
|
+
readonly "bg.error.pressed": "#911D1D";
|
|
45
|
+
readonly "bg.error.subtle": "#FFD7D7";
|
|
46
|
+
readonly "bg.information": "#0B77D0";
|
|
47
|
+
readonly "bg.information.light": "#AEDBFF";
|
|
48
|
+
readonly "bg.information.subtle": "#D7ECFC";
|
|
49
|
+
readonly "bg.overlay": "#091E4252";
|
|
50
|
+
readonly "bg.page": "#F9FAFC";
|
|
51
|
+
readonly "bg.secondary": "#F5F6FA";
|
|
52
|
+
readonly "bg.secondary.hovered": "#091E4214";
|
|
53
|
+
readonly "bg.success": "#038047";
|
|
54
|
+
readonly "bg.success.hovered": "#24663E";
|
|
55
|
+
readonly "bg.success.light": "#A5E1C3";
|
|
56
|
+
readonly "bg.success.subtle": "#D1F0E1";
|
|
57
|
+
readonly "bg.tertiary": "#DADFEB";
|
|
58
|
+
readonly "bg.tertiary.hovered": "#CACFDC";
|
|
59
|
+
readonly "bg.warning": "#F79008";
|
|
60
|
+
readonly "bg.warning.hovered": "#DC6903";
|
|
61
|
+
readonly "bg.warning.light": "#FEDF88";
|
|
62
|
+
readonly "bg.warning.subtle": "#FEF1C6";
|
|
63
|
+
readonly "border.accent": "#0037FF";
|
|
64
|
+
readonly "border.active": "#868FA4";
|
|
65
|
+
readonly "border.active.hovered": "#626A81";
|
|
66
|
+
readonly "border.default": "#CACFDC";
|
|
67
|
+
readonly "border.default.hovered": "#868FA4";
|
|
68
|
+
readonly "border.disabled": "#F5F6FA";
|
|
69
|
+
readonly "border.error": "#CC1616";
|
|
70
|
+
readonly "border.focus": "#2E66F7";
|
|
71
|
+
readonly "border.secondary": "#DADFEB";
|
|
72
|
+
readonly "border.success": "#03A65D";
|
|
73
|
+
readonly "border.tertiary": "#E9EDF5";
|
|
74
|
+
readonly "border.warning": "#F79008";
|
|
75
|
+
readonly "fg.accent": "#0037FF";
|
|
76
|
+
readonly "fg.accent.hovered": "#002CCC";
|
|
77
|
+
readonly "fg.accent.strong": "#002894";
|
|
78
|
+
readonly "fg.default": "#2E3442";
|
|
79
|
+
readonly "fg.default.inverse": "#FFFFFF";
|
|
80
|
+
readonly "fg.disabled": "#091E4252";
|
|
81
|
+
readonly "fg.error": "#CC1616";
|
|
82
|
+
readonly "fg.error.hovered": "#B21313";
|
|
83
|
+
readonly "fg.error.strong": "#911D1D";
|
|
84
|
+
readonly "fg.information": "#2094F3";
|
|
85
|
+
readonly "fg.information.strong": "#095EA4";
|
|
86
|
+
readonly "fg.link": "#0037FF";
|
|
87
|
+
readonly "fg.link.hovered": "#002CCC";
|
|
88
|
+
readonly "fg.link.visited": "#693AB6";
|
|
89
|
+
readonly "fg.secondary": "#4F576E";
|
|
90
|
+
readonly "fg.success": "#03A65D";
|
|
91
|
+
readonly "fg.success.hovered": "#038047";
|
|
92
|
+
readonly "fg.success.strong": "#24663E";
|
|
93
|
+
readonly "fg.tertiary": "#626A81";
|
|
94
|
+
readonly "fg.warning": "#F79008";
|
|
95
|
+
readonly "fg.warning.hovered": "#DC6903";
|
|
96
|
+
readonly "fg.warning.strong": "#B54707";
|
|
97
|
+
readonly "fg.white": "#FFFFFF";
|
|
98
|
+
readonly current: "currentColor";
|
|
99
|
+
readonly transparent: "transparent";
|
|
100
|
+
readonly "blue.50": "#EDF6FF";
|
|
101
|
+
readonly "blue.100": "#D7ECFC";
|
|
102
|
+
readonly "blue.200": "#AEDBFF";
|
|
103
|
+
readonly "blue.300": "#85C4F7";
|
|
104
|
+
readonly "blue.400": "#47A7F5";
|
|
105
|
+
readonly "blue.500": "#2094F3";
|
|
106
|
+
readonly "blue.600": "#0B77D0";
|
|
107
|
+
readonly "blue.700": "#095EA4";
|
|
108
|
+
readonly "blue.800": "#064274";
|
|
109
|
+
readonly "blue.900": "#032541";
|
|
110
|
+
readonly "brand.50": "#F0F3FF";
|
|
111
|
+
readonly "brand.100": "#CDD8FC";
|
|
112
|
+
readonly "brand.200": "#B3C3FF";
|
|
113
|
+
readonly "brand.300": "#6A8FFC";
|
|
114
|
+
readonly "brand.400": "#2E66F7";
|
|
115
|
+
readonly "brand.500": "#0037FF";
|
|
116
|
+
readonly "brand.600": "#002CCC";
|
|
117
|
+
readonly "brand.700": "#002894";
|
|
118
|
+
readonly "brand.800": "#001666";
|
|
119
|
+
readonly "brand.900": "#000B33";
|
|
120
|
+
readonly "cyan.50": "#ECFEFF";
|
|
121
|
+
readonly "cyan.100": "#CFFAFE";
|
|
122
|
+
readonly "cyan.200": "#99F0F9";
|
|
123
|
+
readonly "cyan.300": "#67E8F9";
|
|
124
|
+
readonly "cyan.400": "#22D3EE";
|
|
125
|
+
readonly "cyan.500": "#06B6D4";
|
|
126
|
+
readonly "cyan.600": "#0891B2";
|
|
127
|
+
readonly "cyan.700": "#0E7490";
|
|
128
|
+
readonly "cyan.800": "#155E75";
|
|
129
|
+
readonly "cyan.900": "#083344";
|
|
130
|
+
readonly "green.50": "#E9F7F1";
|
|
131
|
+
readonly "green.100": "#D1F0E1";
|
|
132
|
+
readonly "green.200": "#A5E1C3";
|
|
133
|
+
readonly "green.300": "#7CD2A7";
|
|
134
|
+
readonly "green.400": "#5AC58A";
|
|
135
|
+
readonly "green.500": "#03A65D";
|
|
136
|
+
readonly "green.600": "#038047";
|
|
137
|
+
readonly "green.700": "#24663E";
|
|
138
|
+
readonly "green.800": "#17492B";
|
|
139
|
+
readonly "green.900": "#082415";
|
|
140
|
+
readonly "magenta.50": "#FDF4FF";
|
|
141
|
+
readonly "magenta.100": "#FAE8FF";
|
|
142
|
+
readonly "magenta.200": "#F5D0FE";
|
|
143
|
+
readonly "magenta.300": "#F0ABFC";
|
|
144
|
+
readonly "magenta.400": "#D765E9";
|
|
145
|
+
readonly "magenta.500": "#C026D3";
|
|
146
|
+
readonly "magenta.600": "#A21CAF";
|
|
147
|
+
readonly "magenta.700": "#86198F";
|
|
148
|
+
readonly "magenta.800": "#701A75";
|
|
149
|
+
readonly "magenta.900": "#4A044E";
|
|
150
|
+
readonly "neutral.00": "#FFFFFF";
|
|
151
|
+
readonly "neutral.50": "#F9FAFC";
|
|
152
|
+
readonly "neutral.75": "#F5F6FA";
|
|
153
|
+
readonly "neutral.100": "#E9EDF5";
|
|
154
|
+
readonly "neutral.150": "#DADFEB";
|
|
155
|
+
readonly "neutral.200": "#CACFDC";
|
|
156
|
+
readonly "neutral.300": "#B8BECB";
|
|
157
|
+
readonly "neutral.500": "#868FA4";
|
|
158
|
+
readonly "neutral.600": "#626A81";
|
|
159
|
+
readonly "neutral.700": "#4F576E";
|
|
160
|
+
readonly "neutral.800": "#2E3442";
|
|
161
|
+
readonly "neutral.900": "#1C212B";
|
|
162
|
+
readonly "neutral.1000": "#1C2029";
|
|
163
|
+
readonly "neutral.1100": "#171A23";
|
|
164
|
+
readonly "neutral.1200": "#091E42";
|
|
165
|
+
readonly "neutral.50/6": "#F9FAFC0F";
|
|
166
|
+
readonly "neutral.50/12": "#F9FAFC1F";
|
|
167
|
+
readonly "neutral.50/18": "#F9FAFC2E";
|
|
168
|
+
readonly "neutral.50/22": "#F9FAFC38";
|
|
169
|
+
readonly "neutral.50/32": "#F9FAFC52";
|
|
170
|
+
readonly "neutral.1200/4": "#091E420A";
|
|
171
|
+
readonly "neutral.1200/8": "#091E4214";
|
|
172
|
+
readonly "neutral.1200/16": "#091E4229";
|
|
173
|
+
readonly "neutral.1200/22": "#091E4238";
|
|
174
|
+
readonly "neutral.1200/32": "#091E4252";
|
|
175
|
+
readonly "purple.50": "#F1ECF8";
|
|
176
|
+
readonly "purple.100": "#E5DCF4";
|
|
177
|
+
readonly "purple.200": "#C4B1E2";
|
|
178
|
+
readonly "purple.300": "#9570D1";
|
|
179
|
+
readonly "purple.400": "#7E51C8";
|
|
180
|
+
readonly "purple.500": "#693AB6";
|
|
181
|
+
readonly "purple.600": "#532E8F";
|
|
182
|
+
readonly "purple.700": "#412470";
|
|
183
|
+
readonly "purple.800": "#331C59";
|
|
184
|
+
readonly "purple.900": "#261542";
|
|
185
|
+
readonly "red.50": "#FFF7F7";
|
|
186
|
+
readonly "red.100": "#FFD7D7";
|
|
187
|
+
readonly "red.200": "#FFB4B4";
|
|
188
|
+
readonly "red.300": "#FC8B8B";
|
|
189
|
+
readonly "red.400": "#F64F4F";
|
|
190
|
+
readonly "red.500": "#CC1616";
|
|
191
|
+
readonly "red.600": "#B21313";
|
|
192
|
+
readonly "red.700": "#911D1D";
|
|
193
|
+
readonly "red.800": "#601313";
|
|
194
|
+
readonly "red.900": "#300A0A";
|
|
195
|
+
readonly "yellow.50": "#FFFAEA";
|
|
196
|
+
readonly "yellow.100": "#FEF1C6";
|
|
197
|
+
readonly "yellow.200": "#FEDF88";
|
|
198
|
+
readonly "yellow.300": "#FFC84B";
|
|
199
|
+
readonly "yellow.400": "#FDB022";
|
|
200
|
+
readonly "yellow.500": "#F79008";
|
|
201
|
+
readonly "yellow.600": "#DC6903";
|
|
202
|
+
readonly "yellow.700": "#B54707";
|
|
203
|
+
readonly "yellow.800": "#7A2E0D";
|
|
204
|
+
readonly "yellow.900": "#4E1D09";
|
|
205
|
+
};
|
|
206
|
+
readonly fontFamily: {
|
|
207
|
+
readonly mono: "Fira Code Variable, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace";
|
|
208
|
+
readonly sans: "InterVariable, system-ui, sans-serif";
|
|
209
|
+
};
|
|
210
|
+
readonly fontSize: {
|
|
211
|
+
readonly xs: {
|
|
212
|
+
readonly fontSize: "10px";
|
|
213
|
+
readonly lineHeight: "14px";
|
|
214
|
+
};
|
|
215
|
+
readonly sm: {
|
|
216
|
+
readonly fontSize: "12px";
|
|
217
|
+
readonly lineHeight: "16px";
|
|
218
|
+
};
|
|
219
|
+
readonly md: {
|
|
220
|
+
readonly fontSize: "14px";
|
|
221
|
+
readonly lineHeight: "20px";
|
|
222
|
+
};
|
|
223
|
+
readonly lg: {
|
|
224
|
+
readonly fontSize: "16px";
|
|
225
|
+
readonly lineHeight: "24px";
|
|
226
|
+
};
|
|
227
|
+
readonly xl: {
|
|
228
|
+
readonly fontSize: "18px";
|
|
229
|
+
readonly lineHeight: "28px";
|
|
230
|
+
};
|
|
231
|
+
readonly "2xl": {
|
|
232
|
+
readonly fontSize: "20px";
|
|
233
|
+
readonly lineHeight: "28px";
|
|
234
|
+
};
|
|
235
|
+
readonly "3xl": {
|
|
236
|
+
readonly fontSize: "24px";
|
|
237
|
+
readonly lineHeight: "32px";
|
|
238
|
+
};
|
|
239
|
+
readonly "4xl": {
|
|
240
|
+
readonly fontSize: "30px";
|
|
241
|
+
readonly lineHeight: "36px";
|
|
242
|
+
};
|
|
243
|
+
readonly "5xl": {
|
|
244
|
+
readonly fontSize: "36px";
|
|
245
|
+
readonly lineHeight: "40px";
|
|
246
|
+
};
|
|
247
|
+
readonly "6xl": {
|
|
248
|
+
readonly fontSize: "48px";
|
|
249
|
+
readonly lineHeight: "1";
|
|
250
|
+
};
|
|
251
|
+
readonly "7xl": {
|
|
252
|
+
readonly fontSize: "60px";
|
|
253
|
+
readonly lineHeight: "1";
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
readonly letterSpacing: {
|
|
257
|
+
readonly tighter: "-0.05em";
|
|
258
|
+
readonly tight: "-0.025em";
|
|
259
|
+
readonly normal: "0";
|
|
260
|
+
readonly wide: "0.025em";
|
|
261
|
+
readonly wider: "0.05em";
|
|
262
|
+
readonly widest: "0.1em";
|
|
263
|
+
};
|
|
264
|
+
readonly lineHeight: {
|
|
265
|
+
readonly none: "1";
|
|
266
|
+
readonly tight: "1.25";
|
|
267
|
+
readonly normal: "1.5";
|
|
268
|
+
readonly loose: "2";
|
|
269
|
+
};
|
|
270
|
+
readonly margins: {
|
|
271
|
+
readonly "-xs": "-8px";
|
|
272
|
+
readonly "-sm": "-12px";
|
|
273
|
+
readonly "-md": "-16px";
|
|
274
|
+
readonly "-lg": "-24px";
|
|
275
|
+
readonly "-xl": "-32px";
|
|
276
|
+
readonly "-2": "-2px";
|
|
277
|
+
readonly "-4": "-4px";
|
|
278
|
+
readonly "-6": "-6px";
|
|
279
|
+
readonly "-8": "-8px";
|
|
280
|
+
readonly "-10": "-10px";
|
|
281
|
+
readonly "-12": "-12px";
|
|
282
|
+
readonly "-16": "-16px";
|
|
283
|
+
readonly "-24": "-24px";
|
|
284
|
+
readonly "-32": "-32px";
|
|
285
|
+
readonly "-48": "-48px";
|
|
286
|
+
readonly "-64": "-64px";
|
|
287
|
+
readonly "-80": "-80px";
|
|
288
|
+
readonly xs: "8px";
|
|
289
|
+
readonly sm: "12px";
|
|
290
|
+
readonly md: "16px";
|
|
291
|
+
readonly lg: "24px";
|
|
292
|
+
readonly xl: "32px";
|
|
293
|
+
readonly "0": "0";
|
|
294
|
+
readonly "2": "2px";
|
|
295
|
+
readonly "4": "4px";
|
|
296
|
+
readonly "6": "6px";
|
|
297
|
+
readonly "8": "8px";
|
|
298
|
+
readonly "10": "10px";
|
|
299
|
+
readonly "12": "12px";
|
|
300
|
+
readonly "16": "16px";
|
|
301
|
+
readonly "20": "20px";
|
|
302
|
+
readonly "24": "24px";
|
|
303
|
+
readonly "32": "32px";
|
|
304
|
+
readonly "48": "48px";
|
|
305
|
+
readonly "64": "64px";
|
|
306
|
+
readonly "80": "80px";
|
|
307
|
+
};
|
|
308
|
+
readonly maxSize: {
|
|
309
|
+
readonly xs: "320px";
|
|
310
|
+
readonly sm: "384px";
|
|
311
|
+
readonly md: "448px";
|
|
312
|
+
readonly lg: "512px";
|
|
313
|
+
readonly xl: "576px";
|
|
314
|
+
readonly "2xl": "672px";
|
|
315
|
+
readonly full: "100%";
|
|
316
|
+
};
|
|
317
|
+
readonly screens: {
|
|
318
|
+
readonly sm: "600px";
|
|
319
|
+
readonly md: "900px";
|
|
320
|
+
readonly lg: "1200px";
|
|
321
|
+
};
|
|
322
|
+
readonly size: {
|
|
323
|
+
readonly xs: "20px";
|
|
324
|
+
readonly sm: "24px";
|
|
325
|
+
readonly md: "32px";
|
|
326
|
+
readonly lg: "40px";
|
|
327
|
+
readonly xl: "48px";
|
|
328
|
+
readonly "5xl": "80px";
|
|
329
|
+
readonly "0": "0";
|
|
330
|
+
readonly "1": "1px";
|
|
331
|
+
readonly "2": "2px";
|
|
332
|
+
readonly "4": "4px";
|
|
333
|
+
readonly "6": "6px";
|
|
334
|
+
readonly "8": "8px";
|
|
335
|
+
readonly "12": "12px";
|
|
336
|
+
readonly "16": "16px";
|
|
337
|
+
readonly "20": "20px";
|
|
338
|
+
readonly "24": "24px";
|
|
339
|
+
readonly "32": "32px";
|
|
340
|
+
readonly "40": "40px";
|
|
341
|
+
readonly "48": "48px";
|
|
342
|
+
readonly "56": "56px";
|
|
343
|
+
readonly "64": "64px";
|
|
344
|
+
readonly "80": "80px";
|
|
345
|
+
readonly "96": "96px";
|
|
346
|
+
readonly "112": "112px";
|
|
347
|
+
readonly "128": "128px";
|
|
348
|
+
readonly "144": "144px";
|
|
349
|
+
readonly "160": "160px";
|
|
350
|
+
readonly "176": "176px";
|
|
351
|
+
readonly "192": "192px";
|
|
352
|
+
readonly "208": "208px";
|
|
353
|
+
readonly "224": "224px";
|
|
354
|
+
readonly "240": "240px";
|
|
355
|
+
readonly "256": "256px";
|
|
356
|
+
readonly "288": "288px";
|
|
357
|
+
readonly "320": "320px";
|
|
358
|
+
readonly "384": "384px";
|
|
359
|
+
readonly "1/2": "50%";
|
|
360
|
+
readonly "1/3": "33.333333%";
|
|
361
|
+
readonly "2/3": "66.666666%";
|
|
362
|
+
readonly "1/4": "25%";
|
|
363
|
+
readonly "2/4": "50%";
|
|
364
|
+
readonly "3/4": "75%";
|
|
365
|
+
readonly auto: "auto";
|
|
366
|
+
readonly fit: "fit-content";
|
|
367
|
+
readonly full: "100%";
|
|
368
|
+
readonly max: "max-content";
|
|
369
|
+
readonly min: "min-content";
|
|
370
|
+
};
|
|
371
|
+
readonly spacing: {
|
|
372
|
+
readonly xs: "8px";
|
|
373
|
+
readonly sm: "12px";
|
|
374
|
+
readonly md: "16px";
|
|
375
|
+
readonly lg: "24px";
|
|
376
|
+
readonly xl: "32px";
|
|
377
|
+
readonly "0": "0";
|
|
378
|
+
readonly "2": "2px";
|
|
379
|
+
readonly "4": "4px";
|
|
380
|
+
readonly "6": "6px";
|
|
381
|
+
readonly "8": "8px";
|
|
382
|
+
readonly "10": "10px";
|
|
383
|
+
readonly "12": "12px";
|
|
384
|
+
readonly "16": "16px";
|
|
385
|
+
readonly "20": "20px";
|
|
386
|
+
readonly "24": "24px";
|
|
387
|
+
readonly "32": "32px";
|
|
388
|
+
readonly "48": "48px";
|
|
389
|
+
readonly "64": "64px";
|
|
390
|
+
readonly "80": "80px";
|
|
391
|
+
};
|
|
392
|
+
readonly zIndex: {
|
|
393
|
+
readonly "0": "0";
|
|
394
|
+
readonly "10": "10";
|
|
395
|
+
readonly "20": "20";
|
|
396
|
+
readonly "30": "30";
|
|
397
|
+
readonly "40": "40";
|
|
398
|
+
readonly "50": "50";
|
|
399
|
+
readonly auto: "auto";
|
|
400
|
+
readonly popover: "3000";
|
|
401
|
+
readonly toast: "3010";
|
|
402
|
+
readonly tooltip: "10000";
|
|
403
|
+
};
|
|
404
|
+
}, CSSVarFunction>;
|
|
405
|
+
type CSSVarFunction = `var(--${string})` | `var(--${string}, ${number | string})`;
|
|
406
|
+
type Primitive = boolean | null | number | string | undefined;
|
|
407
|
+
type MapLeafNodes<Obj, LeafType> = {
|
|
408
|
+
[Prop in keyof Obj]: Obj[Prop] extends Primitive ? LeafType : Obj[Prop] extends Record<number | string, any> ? MapLeafNodes<Obj[Prop], LeafType> : never;
|
|
409
|
+
};
|
|
410
|
+
|
|
7
411
|
type ToastItem = {
|
|
8
412
|
id: string;
|
|
9
413
|
open: boolean;
|
|
10
|
-
toast:
|
|
414
|
+
toast: {
|
|
415
|
+
action?: {
|
|
416
|
+
altText: string;
|
|
417
|
+
label: string;
|
|
418
|
+
onClick: () => void;
|
|
419
|
+
};
|
|
420
|
+
title: string;
|
|
421
|
+
type?: "danger" | "neutral" | "success" | "warning";
|
|
422
|
+
} | ReactElement;
|
|
11
423
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
getSnapshot: () => ToastItem[];
|
|
16
|
-
subscribe: (callback: () => void) => () => boolean;
|
|
17
|
-
};
|
|
18
|
-
create: (toast: ToastElement) => string;
|
|
424
|
+
type Toaster = {
|
|
425
|
+
clear: () => void;
|
|
426
|
+
create: (toast: ToastItem["toast"]) => string;
|
|
19
427
|
remove: (id: string) => void;
|
|
428
|
+
store: Parameters<typeof useSyncExternalStore<ToastItem[]>>;
|
|
20
429
|
};
|
|
21
|
-
declare const
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
430
|
+
declare const createToaster: () => Toaster;
|
|
431
|
+
declare const toaster: Toaster;
|
|
432
|
+
|
|
433
|
+
declare const tokens: {
|
|
434
|
+
readonly borderRadius: {
|
|
435
|
+
readonly xs: "2px";
|
|
436
|
+
readonly sm: "4px";
|
|
437
|
+
readonly md: "6px";
|
|
438
|
+
readonly lg: "8px";
|
|
439
|
+
readonly xl: "12px";
|
|
440
|
+
readonly full: "9999px";
|
|
441
|
+
readonly none: "0";
|
|
442
|
+
};
|
|
443
|
+
readonly borderWidth: {
|
|
444
|
+
readonly "0": "0";
|
|
445
|
+
readonly "1": "1px";
|
|
446
|
+
readonly "2": "2px";
|
|
447
|
+
readonly "4": "4px";
|
|
448
|
+
};
|
|
449
|
+
readonly boxShadow: {
|
|
450
|
+
readonly xs: "0 1px 2px 0 rgb(0 0 0 / 0.05)";
|
|
451
|
+
readonly sm: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
452
|
+
readonly md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
|
|
453
|
+
readonly lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
|
|
454
|
+
readonly xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
|
|
455
|
+
readonly inner: "inset 0 0 6px 0 rgb(0 0 0 / 0.1);";
|
|
456
|
+
readonly none: "0 0 #0000";
|
|
457
|
+
};
|
|
458
|
+
readonly colors: {
|
|
459
|
+
readonly "bg.accent": "#0037FF";
|
|
460
|
+
readonly "bg.accent.hovered": "#002CCC";
|
|
461
|
+
readonly "bg.accent.light": "#B3C3FF";
|
|
462
|
+
readonly "bg.accent.pressed": "#002894";
|
|
463
|
+
readonly "bg.accent.subtle": "#F0F3FF";
|
|
464
|
+
readonly "bg.default": "#FFFFFF";
|
|
465
|
+
readonly "bg.default.inverse": "#2E3442";
|
|
466
|
+
readonly "bg.default.inverse.hovered": "#1C212B";
|
|
467
|
+
readonly "bg.default.inverse.pressed": "#1C2029";
|
|
468
|
+
readonly "bg.error": "#CC1616";
|
|
469
|
+
readonly "bg.error.hovered": "#B21313";
|
|
470
|
+
readonly "bg.error.light": "#FFB4B4";
|
|
471
|
+
readonly "bg.error.pressed": "#911D1D";
|
|
472
|
+
readonly "bg.error.subtle": "#FFD7D7";
|
|
473
|
+
readonly "bg.information": "#0B77D0";
|
|
474
|
+
readonly "bg.information.light": "#AEDBFF";
|
|
475
|
+
readonly "bg.information.subtle": "#D7ECFC";
|
|
476
|
+
readonly "bg.overlay": "#091E4252";
|
|
477
|
+
readonly "bg.page": "#F9FAFC";
|
|
478
|
+
readonly "bg.secondary": "#F5F6FA";
|
|
479
|
+
readonly "bg.secondary.hovered": "#091E4214";
|
|
480
|
+
readonly "bg.success": "#038047";
|
|
481
|
+
readonly "bg.success.hovered": "#24663E";
|
|
482
|
+
readonly "bg.success.light": "#A5E1C3";
|
|
483
|
+
readonly "bg.success.subtle": "#D1F0E1";
|
|
484
|
+
readonly "bg.tertiary": "#DADFEB";
|
|
485
|
+
readonly "bg.tertiary.hovered": "#CACFDC";
|
|
486
|
+
readonly "bg.warning": "#F79008";
|
|
487
|
+
readonly "bg.warning.hovered": "#DC6903";
|
|
488
|
+
readonly "bg.warning.light": "#FEDF88";
|
|
489
|
+
readonly "bg.warning.subtle": "#FEF1C6";
|
|
490
|
+
readonly "border.accent": "#0037FF";
|
|
491
|
+
readonly "border.active": "#868FA4";
|
|
492
|
+
readonly "border.active.hovered": "#626A81";
|
|
493
|
+
readonly "border.default": "#CACFDC";
|
|
494
|
+
readonly "border.default.hovered": "#868FA4";
|
|
495
|
+
readonly "border.disabled": "#F5F6FA";
|
|
496
|
+
readonly "border.error": "#CC1616";
|
|
497
|
+
readonly "border.focus": "#2E66F7";
|
|
498
|
+
readonly "border.secondary": "#DADFEB";
|
|
499
|
+
readonly "border.success": "#03A65D";
|
|
500
|
+
readonly "border.tertiary": "#E9EDF5";
|
|
501
|
+
readonly "border.warning": "#F79008";
|
|
502
|
+
readonly "fg.accent": "#0037FF";
|
|
503
|
+
readonly "fg.accent.hovered": "#002CCC";
|
|
504
|
+
readonly "fg.accent.strong": "#002894";
|
|
505
|
+
readonly "fg.default": "#2E3442";
|
|
506
|
+
readonly "fg.default.inverse": "#FFFFFF";
|
|
507
|
+
readonly "fg.disabled": "#091E4252";
|
|
508
|
+
readonly "fg.error": "#CC1616";
|
|
509
|
+
readonly "fg.error.hovered": "#B21313";
|
|
510
|
+
readonly "fg.error.strong": "#911D1D";
|
|
511
|
+
readonly "fg.information": "#2094F3";
|
|
512
|
+
readonly "fg.information.strong": "#095EA4";
|
|
513
|
+
readonly "fg.link": "#0037FF";
|
|
514
|
+
readonly "fg.link.hovered": "#002CCC";
|
|
515
|
+
readonly "fg.link.visited": "#693AB6";
|
|
516
|
+
readonly "fg.secondary": "#4F576E";
|
|
517
|
+
readonly "fg.success": "#03A65D";
|
|
518
|
+
readonly "fg.success.hovered": "#038047";
|
|
519
|
+
readonly "fg.success.strong": "#24663E";
|
|
520
|
+
readonly "fg.tertiary": "#626A81";
|
|
521
|
+
readonly "fg.warning": "#F79008";
|
|
522
|
+
readonly "fg.warning.hovered": "#DC6903";
|
|
523
|
+
readonly "fg.warning.strong": "#B54707";
|
|
524
|
+
readonly "fg.white": "#FFFFFF";
|
|
525
|
+
readonly current: "currentColor";
|
|
526
|
+
readonly transparent: "transparent";
|
|
527
|
+
readonly "blue.50": "#EDF6FF";
|
|
528
|
+
readonly "blue.100": "#D7ECFC";
|
|
529
|
+
readonly "blue.200": "#AEDBFF";
|
|
530
|
+
readonly "blue.300": "#85C4F7";
|
|
531
|
+
readonly "blue.400": "#47A7F5";
|
|
532
|
+
readonly "blue.500": "#2094F3";
|
|
533
|
+
readonly "blue.600": "#0B77D0";
|
|
534
|
+
readonly "blue.700": "#095EA4";
|
|
535
|
+
readonly "blue.800": "#064274";
|
|
536
|
+
readonly "blue.900": "#032541";
|
|
537
|
+
readonly "brand.50": "#F0F3FF";
|
|
538
|
+
readonly "brand.100": "#CDD8FC";
|
|
539
|
+
readonly "brand.200": "#B3C3FF";
|
|
540
|
+
readonly "brand.300": "#6A8FFC";
|
|
541
|
+
readonly "brand.400": "#2E66F7";
|
|
542
|
+
readonly "brand.500": "#0037FF";
|
|
543
|
+
readonly "brand.600": "#002CCC";
|
|
544
|
+
readonly "brand.700": "#002894";
|
|
545
|
+
readonly "brand.800": "#001666";
|
|
546
|
+
readonly "brand.900": "#000B33";
|
|
547
|
+
readonly "cyan.50": "#ECFEFF";
|
|
548
|
+
readonly "cyan.100": "#CFFAFE";
|
|
549
|
+
readonly "cyan.200": "#99F0F9";
|
|
550
|
+
readonly "cyan.300": "#67E8F9";
|
|
551
|
+
readonly "cyan.400": "#22D3EE";
|
|
552
|
+
readonly "cyan.500": "#06B6D4";
|
|
553
|
+
readonly "cyan.600": "#0891B2";
|
|
554
|
+
readonly "cyan.700": "#0E7490";
|
|
555
|
+
readonly "cyan.800": "#155E75";
|
|
556
|
+
readonly "cyan.900": "#083344";
|
|
557
|
+
readonly "green.50": "#E9F7F1";
|
|
558
|
+
readonly "green.100": "#D1F0E1";
|
|
559
|
+
readonly "green.200": "#A5E1C3";
|
|
560
|
+
readonly "green.300": "#7CD2A7";
|
|
561
|
+
readonly "green.400": "#5AC58A";
|
|
562
|
+
readonly "green.500": "#03A65D";
|
|
563
|
+
readonly "green.600": "#038047";
|
|
564
|
+
readonly "green.700": "#24663E";
|
|
565
|
+
readonly "green.800": "#17492B";
|
|
566
|
+
readonly "green.900": "#082415";
|
|
567
|
+
readonly "magenta.50": "#FDF4FF";
|
|
568
|
+
readonly "magenta.100": "#FAE8FF";
|
|
569
|
+
readonly "magenta.200": "#F5D0FE";
|
|
570
|
+
readonly "magenta.300": "#F0ABFC";
|
|
571
|
+
readonly "magenta.400": "#D765E9";
|
|
572
|
+
readonly "magenta.500": "#C026D3";
|
|
573
|
+
readonly "magenta.600": "#A21CAF";
|
|
574
|
+
readonly "magenta.700": "#86198F";
|
|
575
|
+
readonly "magenta.800": "#701A75";
|
|
576
|
+
readonly "magenta.900": "#4A044E";
|
|
577
|
+
readonly "neutral.00": "#FFFFFF";
|
|
578
|
+
readonly "neutral.50": "#F9FAFC";
|
|
579
|
+
readonly "neutral.75": "#F5F6FA";
|
|
580
|
+
readonly "neutral.100": "#E9EDF5";
|
|
581
|
+
readonly "neutral.150": "#DADFEB";
|
|
582
|
+
readonly "neutral.200": "#CACFDC";
|
|
583
|
+
readonly "neutral.300": "#B8BECB";
|
|
584
|
+
readonly "neutral.500": "#868FA4";
|
|
585
|
+
readonly "neutral.600": "#626A81";
|
|
586
|
+
readonly "neutral.700": "#4F576E";
|
|
587
|
+
readonly "neutral.800": "#2E3442";
|
|
588
|
+
readonly "neutral.900": "#1C212B";
|
|
589
|
+
readonly "neutral.1000": "#1C2029";
|
|
590
|
+
readonly "neutral.1100": "#171A23";
|
|
591
|
+
readonly "neutral.1200": "#091E42";
|
|
592
|
+
readonly "neutral.50/6": "#F9FAFC0F";
|
|
593
|
+
readonly "neutral.50/12": "#F9FAFC1F";
|
|
594
|
+
readonly "neutral.50/18": "#F9FAFC2E";
|
|
595
|
+
readonly "neutral.50/22": "#F9FAFC38";
|
|
596
|
+
readonly "neutral.50/32": "#F9FAFC52";
|
|
597
|
+
readonly "neutral.1200/4": "#091E420A";
|
|
598
|
+
readonly "neutral.1200/8": "#091E4214";
|
|
599
|
+
readonly "neutral.1200/16": "#091E4229";
|
|
600
|
+
readonly "neutral.1200/22": "#091E4238";
|
|
601
|
+
readonly "neutral.1200/32": "#091E4252";
|
|
602
|
+
readonly "purple.50": "#F1ECF8";
|
|
603
|
+
readonly "purple.100": "#E5DCF4";
|
|
604
|
+
readonly "purple.200": "#C4B1E2";
|
|
605
|
+
readonly "purple.300": "#9570D1";
|
|
606
|
+
readonly "purple.400": "#7E51C8";
|
|
607
|
+
readonly "purple.500": "#693AB6";
|
|
608
|
+
readonly "purple.600": "#532E8F";
|
|
609
|
+
readonly "purple.700": "#412470";
|
|
610
|
+
readonly "purple.800": "#331C59";
|
|
611
|
+
readonly "purple.900": "#261542";
|
|
612
|
+
readonly "red.50": "#FFF7F7";
|
|
613
|
+
readonly "red.100": "#FFD7D7";
|
|
614
|
+
readonly "red.200": "#FFB4B4";
|
|
615
|
+
readonly "red.300": "#FC8B8B";
|
|
616
|
+
readonly "red.400": "#F64F4F";
|
|
617
|
+
readonly "red.500": "#CC1616";
|
|
618
|
+
readonly "red.600": "#B21313";
|
|
619
|
+
readonly "red.700": "#911D1D";
|
|
620
|
+
readonly "red.800": "#601313";
|
|
621
|
+
readonly "red.900": "#300A0A";
|
|
622
|
+
readonly "yellow.50": "#FFFAEA";
|
|
623
|
+
readonly "yellow.100": "#FEF1C6";
|
|
624
|
+
readonly "yellow.200": "#FEDF88";
|
|
625
|
+
readonly "yellow.300": "#FFC84B";
|
|
626
|
+
readonly "yellow.400": "#FDB022";
|
|
627
|
+
readonly "yellow.500": "#F79008";
|
|
628
|
+
readonly "yellow.600": "#DC6903";
|
|
629
|
+
readonly "yellow.700": "#B54707";
|
|
630
|
+
readonly "yellow.800": "#7A2E0D";
|
|
631
|
+
readonly "yellow.900": "#4E1D09";
|
|
632
|
+
};
|
|
633
|
+
readonly fontFamily: {
|
|
634
|
+
readonly mono: "Fira Code Variable, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace";
|
|
635
|
+
readonly sans: "InterVariable, system-ui, sans-serif";
|
|
636
|
+
};
|
|
637
|
+
readonly fontSize: {
|
|
638
|
+
readonly xs: {
|
|
639
|
+
readonly fontSize: "10px";
|
|
640
|
+
readonly lineHeight: "14px";
|
|
641
|
+
};
|
|
642
|
+
readonly sm: {
|
|
643
|
+
readonly fontSize: "12px";
|
|
644
|
+
readonly lineHeight: "16px";
|
|
645
|
+
};
|
|
646
|
+
readonly md: {
|
|
647
|
+
readonly fontSize: "14px";
|
|
648
|
+
readonly lineHeight: "20px";
|
|
649
|
+
};
|
|
650
|
+
readonly lg: {
|
|
651
|
+
readonly fontSize: "16px";
|
|
652
|
+
readonly lineHeight: "24px";
|
|
653
|
+
};
|
|
654
|
+
readonly xl: {
|
|
655
|
+
readonly fontSize: "18px";
|
|
656
|
+
readonly lineHeight: "28px";
|
|
657
|
+
};
|
|
658
|
+
readonly "2xl": {
|
|
659
|
+
readonly fontSize: "20px";
|
|
660
|
+
readonly lineHeight: "28px";
|
|
661
|
+
};
|
|
662
|
+
readonly "3xl": {
|
|
663
|
+
readonly fontSize: "24px";
|
|
664
|
+
readonly lineHeight: "32px";
|
|
665
|
+
};
|
|
666
|
+
readonly "4xl": {
|
|
667
|
+
readonly fontSize: "30px";
|
|
668
|
+
readonly lineHeight: "36px";
|
|
669
|
+
};
|
|
670
|
+
readonly "5xl": {
|
|
671
|
+
readonly fontSize: "36px";
|
|
672
|
+
readonly lineHeight: "40px";
|
|
673
|
+
};
|
|
674
|
+
readonly "6xl": {
|
|
675
|
+
readonly fontSize: "48px";
|
|
676
|
+
readonly lineHeight: "1";
|
|
677
|
+
};
|
|
678
|
+
readonly "7xl": {
|
|
679
|
+
readonly fontSize: "60px";
|
|
680
|
+
readonly lineHeight: "1";
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
readonly letterSpacing: {
|
|
684
|
+
readonly tighter: "-0.05em";
|
|
685
|
+
readonly tight: "-0.025em";
|
|
686
|
+
readonly normal: "0";
|
|
687
|
+
readonly wide: "0.025em";
|
|
688
|
+
readonly wider: "0.05em";
|
|
689
|
+
readonly widest: "0.1em";
|
|
690
|
+
};
|
|
691
|
+
readonly lineHeight: {
|
|
692
|
+
readonly none: "1";
|
|
693
|
+
readonly tight: "1.25";
|
|
694
|
+
readonly normal: "1.5";
|
|
695
|
+
readonly loose: "2";
|
|
696
|
+
};
|
|
697
|
+
readonly margins: {
|
|
698
|
+
readonly "-xs": "-8px";
|
|
699
|
+
readonly "-sm": "-12px";
|
|
700
|
+
readonly "-md": "-16px";
|
|
701
|
+
readonly "-lg": "-24px";
|
|
702
|
+
readonly "-xl": "-32px";
|
|
703
|
+
readonly "-2": "-2px";
|
|
704
|
+
readonly "-4": "-4px";
|
|
705
|
+
readonly "-6": "-6px";
|
|
706
|
+
readonly "-8": "-8px";
|
|
707
|
+
readonly "-10": "-10px";
|
|
708
|
+
readonly "-12": "-12px";
|
|
709
|
+
readonly "-16": "-16px";
|
|
710
|
+
readonly "-24": "-24px";
|
|
711
|
+
readonly "-32": "-32px";
|
|
712
|
+
readonly "-48": "-48px";
|
|
713
|
+
readonly "-64": "-64px";
|
|
714
|
+
readonly "-80": "-80px";
|
|
715
|
+
readonly xs: "8px";
|
|
716
|
+
readonly sm: "12px";
|
|
717
|
+
readonly md: "16px";
|
|
718
|
+
readonly lg: "24px";
|
|
719
|
+
readonly xl: "32px";
|
|
720
|
+
readonly "0": "0";
|
|
721
|
+
readonly "2": "2px";
|
|
722
|
+
readonly "4": "4px";
|
|
723
|
+
readonly "6": "6px";
|
|
724
|
+
readonly "8": "8px";
|
|
725
|
+
readonly "10": "10px";
|
|
726
|
+
readonly "12": "12px";
|
|
727
|
+
readonly "16": "16px";
|
|
728
|
+
readonly "20": "20px";
|
|
729
|
+
readonly "24": "24px";
|
|
730
|
+
readonly "32": "32px";
|
|
731
|
+
readonly "48": "48px";
|
|
732
|
+
readonly "64": "64px";
|
|
733
|
+
readonly "80": "80px";
|
|
734
|
+
};
|
|
735
|
+
readonly maxSize: {
|
|
736
|
+
readonly xs: "320px";
|
|
737
|
+
readonly sm: "384px";
|
|
738
|
+
readonly md: "448px";
|
|
739
|
+
readonly lg: "512px";
|
|
740
|
+
readonly xl: "576px";
|
|
741
|
+
readonly "2xl": "672px";
|
|
742
|
+
readonly full: "100%";
|
|
743
|
+
};
|
|
744
|
+
readonly screens: {
|
|
745
|
+
readonly sm: "600px";
|
|
746
|
+
readonly md: "900px";
|
|
747
|
+
readonly lg: "1200px";
|
|
748
|
+
};
|
|
749
|
+
readonly size: {
|
|
750
|
+
readonly xs: "20px";
|
|
751
|
+
readonly sm: "24px";
|
|
752
|
+
readonly md: "32px";
|
|
753
|
+
readonly lg: "40px";
|
|
754
|
+
readonly xl: "48px";
|
|
755
|
+
readonly "5xl": "80px";
|
|
756
|
+
readonly "0": "0";
|
|
757
|
+
readonly "1": "1px";
|
|
758
|
+
readonly "2": "2px";
|
|
759
|
+
readonly "4": "4px";
|
|
760
|
+
readonly "6": "6px";
|
|
761
|
+
readonly "8": "8px";
|
|
762
|
+
readonly "12": "12px";
|
|
763
|
+
readonly "16": "16px";
|
|
764
|
+
readonly "20": "20px";
|
|
765
|
+
readonly "24": "24px";
|
|
766
|
+
readonly "32": "32px";
|
|
767
|
+
readonly "40": "40px";
|
|
768
|
+
readonly "48": "48px";
|
|
769
|
+
readonly "56": "56px";
|
|
770
|
+
readonly "64": "64px";
|
|
771
|
+
readonly "80": "80px";
|
|
772
|
+
readonly "96": "96px";
|
|
773
|
+
readonly "112": "112px";
|
|
774
|
+
readonly "128": "128px";
|
|
775
|
+
readonly "144": "144px";
|
|
776
|
+
readonly "160": "160px";
|
|
777
|
+
readonly "176": "176px";
|
|
778
|
+
readonly "192": "192px";
|
|
779
|
+
readonly "208": "208px";
|
|
780
|
+
readonly "224": "224px";
|
|
781
|
+
readonly "240": "240px";
|
|
782
|
+
readonly "256": "256px";
|
|
783
|
+
readonly "288": "288px";
|
|
784
|
+
readonly "320": "320px";
|
|
785
|
+
readonly "384": "384px";
|
|
786
|
+
readonly "1/2": "50%";
|
|
787
|
+
readonly "1/3": "33.333333%";
|
|
788
|
+
readonly "2/3": "66.666666%";
|
|
789
|
+
readonly "1/4": "25%";
|
|
790
|
+
readonly "2/4": "50%";
|
|
791
|
+
readonly "3/4": "75%";
|
|
792
|
+
readonly auto: "auto";
|
|
793
|
+
readonly fit: "fit-content";
|
|
794
|
+
readonly full: "100%";
|
|
795
|
+
readonly max: "max-content";
|
|
796
|
+
readonly min: "min-content";
|
|
797
|
+
};
|
|
798
|
+
readonly spacing: {
|
|
799
|
+
readonly xs: "8px";
|
|
800
|
+
readonly sm: "12px";
|
|
801
|
+
readonly md: "16px";
|
|
802
|
+
readonly lg: "24px";
|
|
803
|
+
readonly xl: "32px";
|
|
804
|
+
readonly "0": "0";
|
|
805
|
+
readonly "2": "2px";
|
|
806
|
+
readonly "4": "4px";
|
|
807
|
+
readonly "6": "6px";
|
|
808
|
+
readonly "8": "8px";
|
|
809
|
+
readonly "10": "10px";
|
|
810
|
+
readonly "12": "12px";
|
|
811
|
+
readonly "16": "16px";
|
|
812
|
+
readonly "20": "20px";
|
|
813
|
+
readonly "24": "24px";
|
|
814
|
+
readonly "32": "32px";
|
|
815
|
+
readonly "48": "48px";
|
|
816
|
+
readonly "64": "64px";
|
|
817
|
+
readonly "80": "80px";
|
|
818
|
+
};
|
|
819
|
+
readonly zIndex: {
|
|
820
|
+
readonly "0": "0";
|
|
821
|
+
readonly "10": "10";
|
|
822
|
+
readonly "20": "20";
|
|
823
|
+
readonly "30": "30";
|
|
824
|
+
readonly "40": "40";
|
|
825
|
+
readonly "50": "50";
|
|
826
|
+
readonly auto: "auto";
|
|
827
|
+
readonly popover: "3000";
|
|
828
|
+
readonly toast: "3010";
|
|
829
|
+
readonly tooltip: "10000";
|
|
830
|
+
};
|
|
831
|
+
};
|
|
832
|
+
declare const tokensDark: {
|
|
833
|
+
readonly colors: {
|
|
834
|
+
readonly "bg.accent": "#2E66F7";
|
|
835
|
+
readonly "bg.accent.hovered": "#2E66F7";
|
|
836
|
+
readonly "bg.accent.light": "#001666";
|
|
837
|
+
readonly "bg.accent.pressed": "#002CCC";
|
|
838
|
+
readonly "bg.accent.subtle": "#000B33";
|
|
839
|
+
readonly "bg.default": "#1C2029";
|
|
840
|
+
readonly "bg.default.inverse": "#E9EDF5";
|
|
841
|
+
readonly "bg.default.inverse.hovered": "#CACFDC";
|
|
842
|
+
readonly "bg.default.inverse.pressed": "#B8BECB";
|
|
843
|
+
readonly "bg.error": "#CC1616";
|
|
844
|
+
readonly "bg.error.hovered": "#F64F4F";
|
|
845
|
+
readonly "bg.error.light": "#911D1D";
|
|
846
|
+
readonly "bg.error.pressed": "#B21313";
|
|
847
|
+
readonly "bg.error.subtle": "#601313";
|
|
848
|
+
readonly "bg.information": "#0B77D0";
|
|
849
|
+
readonly "bg.information.light": "#064274";
|
|
850
|
+
readonly "bg.information.subtle": "#032541";
|
|
851
|
+
readonly "bg.overlay": "#F9FAFC52";
|
|
852
|
+
readonly "bg.page": "#171A23";
|
|
853
|
+
readonly "bg.secondary": "#1C212B";
|
|
854
|
+
readonly "bg.secondary.hovered": "#F9FAFC1F";
|
|
855
|
+
readonly "bg.success": "#038047";
|
|
856
|
+
readonly "bg.success.hovered": "#5AC58A";
|
|
857
|
+
readonly "bg.success.light": "#17492B";
|
|
858
|
+
readonly "bg.success.subtle": "#082415";
|
|
859
|
+
readonly "bg.tertiary": "#4F576E";
|
|
860
|
+
readonly "bg.tertiary.hovered": "#F9FAFC2E";
|
|
861
|
+
readonly "bg.warning": "#F79008";
|
|
862
|
+
readonly "bg.warning.hovered": "#FDB022";
|
|
863
|
+
readonly "bg.warning.light": "#7A2E0D";
|
|
864
|
+
readonly "bg.warning.subtle": "#4E1D09";
|
|
865
|
+
readonly "border.accent": "#6A8FFC";
|
|
866
|
+
readonly "border.active": "#4F576E";
|
|
867
|
+
readonly "border.active.hovered": "#626A81";
|
|
868
|
+
readonly "border.default": "#626A81";
|
|
869
|
+
readonly "border.default.hovered": "#868FA4";
|
|
870
|
+
readonly "border.disabled": "#2E3442";
|
|
871
|
+
readonly "border.error": "#FFB4B4";
|
|
872
|
+
readonly "border.focus": "#6A8FFC";
|
|
873
|
+
readonly "border.secondary": "#4F576E";
|
|
874
|
+
readonly "border.success": "#03A65D";
|
|
875
|
+
readonly "border.tertiary": "#2E3442";
|
|
876
|
+
readonly "border.warning": "#F79008";
|
|
877
|
+
readonly "fg.accent": "#6A8FFC";
|
|
878
|
+
readonly "fg.accent.hovered": "#0037FF";
|
|
879
|
+
readonly "fg.accent.strong": "#2E66F7";
|
|
880
|
+
readonly "fg.default": "#F5F6FA";
|
|
881
|
+
readonly "fg.default.inverse": "#2E3442";
|
|
882
|
+
readonly "fg.disabled": "#F9FAFC52";
|
|
883
|
+
readonly "fg.error": "#FC8B8B";
|
|
884
|
+
readonly "fg.error.hovered": "#B21313";
|
|
885
|
+
readonly "fg.error.strong": "#FFB4B4";
|
|
886
|
+
readonly "fg.information": "#85C4F7";
|
|
887
|
+
readonly "fg.information.strong": "#AEDBFF";
|
|
888
|
+
readonly "fg.link": "#6A8FFC";
|
|
889
|
+
readonly "fg.link.hovered": "#0037FF";
|
|
890
|
+
readonly "fg.link.visited": "#6A8FFC";
|
|
891
|
+
readonly "fg.secondary": "#CACFDC";
|
|
892
|
+
readonly "fg.success": "#7CD2A7";
|
|
893
|
+
readonly "fg.success.hovered": "#038047";
|
|
894
|
+
readonly "fg.success.strong": "#A5E1C3";
|
|
895
|
+
readonly "fg.tertiary": "#868FA4";
|
|
896
|
+
readonly "fg.warning": "#FFC84B";
|
|
897
|
+
readonly "fg.warning.hovered": "#DC6903";
|
|
898
|
+
readonly "fg.warning.strong": "#FEDF88";
|
|
899
|
+
readonly "fg.white": "#FFFFFF";
|
|
900
|
+
readonly current: "currentColor";
|
|
901
|
+
readonly transparent: "transparent";
|
|
902
|
+
readonly "blue.50": "#EDF6FF";
|
|
903
|
+
readonly "blue.100": "#D7ECFC";
|
|
904
|
+
readonly "blue.200": "#AEDBFF";
|
|
905
|
+
readonly "blue.300": "#85C4F7";
|
|
906
|
+
readonly "blue.400": "#47A7F5";
|
|
907
|
+
readonly "blue.500": "#2094F3";
|
|
908
|
+
readonly "blue.600": "#0B77D0";
|
|
909
|
+
readonly "blue.700": "#095EA4";
|
|
910
|
+
readonly "blue.800": "#064274";
|
|
911
|
+
readonly "blue.900": "#032541";
|
|
912
|
+
readonly "brand.50": "#F0F3FF";
|
|
913
|
+
readonly "brand.100": "#CDD8FC";
|
|
914
|
+
readonly "brand.200": "#B3C3FF";
|
|
915
|
+
readonly "brand.300": "#6A8FFC";
|
|
916
|
+
readonly "brand.400": "#2E66F7";
|
|
917
|
+
readonly "brand.500": "#0037FF";
|
|
918
|
+
readonly "brand.600": "#002CCC";
|
|
919
|
+
readonly "brand.700": "#002894";
|
|
920
|
+
readonly "brand.800": "#001666";
|
|
921
|
+
readonly "brand.900": "#000B33";
|
|
922
|
+
readonly "cyan.50": "#ECFEFF";
|
|
923
|
+
readonly "cyan.100": "#CFFAFE";
|
|
924
|
+
readonly "cyan.200": "#99F0F9";
|
|
925
|
+
readonly "cyan.300": "#67E8F9";
|
|
926
|
+
readonly "cyan.400": "#22D3EE";
|
|
927
|
+
readonly "cyan.500": "#06B6D4";
|
|
928
|
+
readonly "cyan.600": "#0891B2";
|
|
929
|
+
readonly "cyan.700": "#0E7490";
|
|
930
|
+
readonly "cyan.800": "#155E75";
|
|
931
|
+
readonly "cyan.900": "#083344";
|
|
932
|
+
readonly "green.50": "#E9F7F1";
|
|
933
|
+
readonly "green.100": "#D1F0E1";
|
|
934
|
+
readonly "green.200": "#A5E1C3";
|
|
935
|
+
readonly "green.300": "#7CD2A7";
|
|
936
|
+
readonly "green.400": "#5AC58A";
|
|
937
|
+
readonly "green.500": "#03A65D";
|
|
938
|
+
readonly "green.600": "#038047";
|
|
939
|
+
readonly "green.700": "#24663E";
|
|
940
|
+
readonly "green.800": "#17492B";
|
|
941
|
+
readonly "green.900": "#082415";
|
|
942
|
+
readonly "magenta.50": "#FDF4FF";
|
|
943
|
+
readonly "magenta.100": "#FAE8FF";
|
|
944
|
+
readonly "magenta.200": "#F5D0FE";
|
|
945
|
+
readonly "magenta.300": "#F0ABFC";
|
|
946
|
+
readonly "magenta.400": "#D765E9";
|
|
947
|
+
readonly "magenta.500": "#C026D3";
|
|
948
|
+
readonly "magenta.600": "#A21CAF";
|
|
949
|
+
readonly "magenta.700": "#86198F";
|
|
950
|
+
readonly "magenta.800": "#701A75";
|
|
951
|
+
readonly "magenta.900": "#4A044E";
|
|
952
|
+
readonly "neutral.00": "#FFFFFF";
|
|
953
|
+
readonly "neutral.50": "#F9FAFC";
|
|
954
|
+
readonly "neutral.75": "#F5F6FA";
|
|
955
|
+
readonly "neutral.100": "#E9EDF5";
|
|
956
|
+
readonly "neutral.150": "#DADFEB";
|
|
957
|
+
readonly "neutral.200": "#CACFDC";
|
|
958
|
+
readonly "neutral.300": "#B8BECB";
|
|
959
|
+
readonly "neutral.500": "#868FA4";
|
|
960
|
+
readonly "neutral.600": "#626A81";
|
|
961
|
+
readonly "neutral.700": "#4F576E";
|
|
962
|
+
readonly "neutral.800": "#2E3442";
|
|
963
|
+
readonly "neutral.900": "#1C212B";
|
|
964
|
+
readonly "neutral.1000": "#1C2029";
|
|
965
|
+
readonly "neutral.1100": "#171A23";
|
|
966
|
+
readonly "neutral.1200": "#091E42";
|
|
967
|
+
readonly "neutral.50/6": "#F9FAFC0F";
|
|
968
|
+
readonly "neutral.50/12": "#F9FAFC1F";
|
|
969
|
+
readonly "neutral.50/18": "#F9FAFC2E";
|
|
970
|
+
readonly "neutral.50/22": "#F9FAFC38";
|
|
971
|
+
readonly "neutral.50/32": "#F9FAFC52";
|
|
972
|
+
readonly "neutral.1200/4": "#091E420A";
|
|
973
|
+
readonly "neutral.1200/8": "#091E4214";
|
|
974
|
+
readonly "neutral.1200/16": "#091E4229";
|
|
975
|
+
readonly "neutral.1200/22": "#091E4238";
|
|
976
|
+
readonly "neutral.1200/32": "#091E4252";
|
|
977
|
+
readonly "purple.50": "#F1ECF8";
|
|
978
|
+
readonly "purple.100": "#E5DCF4";
|
|
979
|
+
readonly "purple.200": "#C4B1E2";
|
|
980
|
+
readonly "purple.300": "#9570D1";
|
|
981
|
+
readonly "purple.400": "#7E51C8";
|
|
982
|
+
readonly "purple.500": "#693AB6";
|
|
983
|
+
readonly "purple.600": "#532E8F";
|
|
984
|
+
readonly "purple.700": "#412470";
|
|
985
|
+
readonly "purple.800": "#331C59";
|
|
986
|
+
readonly "purple.900": "#261542";
|
|
987
|
+
readonly "red.50": "#FFF7F7";
|
|
988
|
+
readonly "red.100": "#FFD7D7";
|
|
989
|
+
readonly "red.200": "#FFB4B4";
|
|
990
|
+
readonly "red.300": "#FC8B8B";
|
|
991
|
+
readonly "red.400": "#F64F4F";
|
|
992
|
+
readonly "red.500": "#CC1616";
|
|
993
|
+
readonly "red.600": "#B21313";
|
|
994
|
+
readonly "red.700": "#911D1D";
|
|
995
|
+
readonly "red.800": "#601313";
|
|
996
|
+
readonly "red.900": "#300A0A";
|
|
997
|
+
readonly "yellow.50": "#FFFAEA";
|
|
998
|
+
readonly "yellow.100": "#FEF1C6";
|
|
999
|
+
readonly "yellow.200": "#FEDF88";
|
|
1000
|
+
readonly "yellow.300": "#FFC84B";
|
|
1001
|
+
readonly "yellow.400": "#FDB022";
|
|
1002
|
+
readonly "yellow.500": "#F79008";
|
|
1003
|
+
readonly "yellow.600": "#DC6903";
|
|
1004
|
+
readonly "yellow.700": "#B54707";
|
|
1005
|
+
readonly "yellow.800": "#7A2E0D";
|
|
1006
|
+
readonly "yellow.900": "#4E1D09";
|
|
1007
|
+
};
|
|
1008
|
+
readonly borderRadius: {
|
|
1009
|
+
readonly xs: "2px";
|
|
1010
|
+
readonly sm: "4px";
|
|
1011
|
+
readonly md: "6px";
|
|
1012
|
+
readonly lg: "8px";
|
|
1013
|
+
readonly xl: "12px";
|
|
1014
|
+
readonly full: "9999px";
|
|
1015
|
+
readonly none: "0";
|
|
1016
|
+
};
|
|
1017
|
+
readonly borderWidth: {
|
|
1018
|
+
readonly "0": "0";
|
|
1019
|
+
readonly "1": "1px";
|
|
1020
|
+
readonly "2": "2px";
|
|
1021
|
+
readonly "4": "4px";
|
|
1022
|
+
};
|
|
1023
|
+
readonly boxShadow: {
|
|
1024
|
+
readonly xs: "0 1px 2px 0 rgb(0 0 0 / 0.05)";
|
|
1025
|
+
readonly sm: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
1026
|
+
readonly md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
|
|
1027
|
+
readonly lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)";
|
|
1028
|
+
readonly xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
|
|
1029
|
+
readonly inner: "inset 0 0 6px 0 rgb(0 0 0 / 0.1);";
|
|
1030
|
+
readonly none: "0 0 #0000";
|
|
1031
|
+
};
|
|
1032
|
+
readonly fontFamily: {
|
|
1033
|
+
readonly mono: "Fira Code Variable, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace";
|
|
1034
|
+
readonly sans: "InterVariable, system-ui, sans-serif";
|
|
1035
|
+
};
|
|
1036
|
+
readonly fontSize: {
|
|
1037
|
+
readonly xs: {
|
|
1038
|
+
readonly fontSize: "10px";
|
|
1039
|
+
readonly lineHeight: "14px";
|
|
1040
|
+
};
|
|
1041
|
+
readonly sm: {
|
|
1042
|
+
readonly fontSize: "12px";
|
|
1043
|
+
readonly lineHeight: "16px";
|
|
1044
|
+
};
|
|
1045
|
+
readonly md: {
|
|
1046
|
+
readonly fontSize: "14px";
|
|
1047
|
+
readonly lineHeight: "20px";
|
|
1048
|
+
};
|
|
1049
|
+
readonly lg: {
|
|
1050
|
+
readonly fontSize: "16px";
|
|
1051
|
+
readonly lineHeight: "24px";
|
|
1052
|
+
};
|
|
1053
|
+
readonly xl: {
|
|
1054
|
+
readonly fontSize: "18px";
|
|
1055
|
+
readonly lineHeight: "28px";
|
|
1056
|
+
};
|
|
1057
|
+
readonly "2xl": {
|
|
1058
|
+
readonly fontSize: "20px";
|
|
1059
|
+
readonly lineHeight: "28px";
|
|
1060
|
+
};
|
|
1061
|
+
readonly "3xl": {
|
|
1062
|
+
readonly fontSize: "24px";
|
|
1063
|
+
readonly lineHeight: "32px";
|
|
1064
|
+
};
|
|
1065
|
+
readonly "4xl": {
|
|
1066
|
+
readonly fontSize: "30px";
|
|
1067
|
+
readonly lineHeight: "36px";
|
|
1068
|
+
};
|
|
1069
|
+
readonly "5xl": {
|
|
1070
|
+
readonly fontSize: "36px";
|
|
1071
|
+
readonly lineHeight: "40px";
|
|
1072
|
+
};
|
|
1073
|
+
readonly "6xl": {
|
|
1074
|
+
readonly fontSize: "48px";
|
|
1075
|
+
readonly lineHeight: "1";
|
|
1076
|
+
};
|
|
1077
|
+
readonly "7xl": {
|
|
1078
|
+
readonly fontSize: "60px";
|
|
1079
|
+
readonly lineHeight: "1";
|
|
1080
|
+
};
|
|
1081
|
+
};
|
|
1082
|
+
readonly letterSpacing: {
|
|
1083
|
+
readonly tighter: "-0.05em";
|
|
1084
|
+
readonly tight: "-0.025em";
|
|
1085
|
+
readonly normal: "0";
|
|
1086
|
+
readonly wide: "0.025em";
|
|
1087
|
+
readonly wider: "0.05em";
|
|
1088
|
+
readonly widest: "0.1em";
|
|
1089
|
+
};
|
|
1090
|
+
readonly lineHeight: {
|
|
1091
|
+
readonly none: "1";
|
|
1092
|
+
readonly tight: "1.25";
|
|
1093
|
+
readonly normal: "1.5";
|
|
1094
|
+
readonly loose: "2";
|
|
1095
|
+
};
|
|
1096
|
+
readonly margins: {
|
|
1097
|
+
readonly "-xs": "-8px";
|
|
1098
|
+
readonly "-sm": "-12px";
|
|
1099
|
+
readonly "-md": "-16px";
|
|
1100
|
+
readonly "-lg": "-24px";
|
|
1101
|
+
readonly "-xl": "-32px";
|
|
1102
|
+
readonly "-2": "-2px";
|
|
1103
|
+
readonly "-4": "-4px";
|
|
1104
|
+
readonly "-6": "-6px";
|
|
1105
|
+
readonly "-8": "-8px";
|
|
1106
|
+
readonly "-10": "-10px";
|
|
1107
|
+
readonly "-12": "-12px";
|
|
1108
|
+
readonly "-16": "-16px";
|
|
1109
|
+
readonly "-24": "-24px";
|
|
1110
|
+
readonly "-32": "-32px";
|
|
1111
|
+
readonly "-48": "-48px";
|
|
1112
|
+
readonly "-64": "-64px";
|
|
1113
|
+
readonly "-80": "-80px";
|
|
1114
|
+
readonly xs: "8px";
|
|
1115
|
+
readonly sm: "12px";
|
|
1116
|
+
readonly md: "16px";
|
|
1117
|
+
readonly lg: "24px";
|
|
1118
|
+
readonly xl: "32px";
|
|
1119
|
+
readonly "0": "0";
|
|
1120
|
+
readonly "2": "2px";
|
|
1121
|
+
readonly "4": "4px";
|
|
1122
|
+
readonly "6": "6px";
|
|
1123
|
+
readonly "8": "8px";
|
|
1124
|
+
readonly "10": "10px";
|
|
1125
|
+
readonly "12": "12px";
|
|
1126
|
+
readonly "16": "16px";
|
|
1127
|
+
readonly "20": "20px";
|
|
1128
|
+
readonly "24": "24px";
|
|
1129
|
+
readonly "32": "32px";
|
|
1130
|
+
readonly "48": "48px";
|
|
1131
|
+
readonly "64": "64px";
|
|
1132
|
+
readonly "80": "80px";
|
|
1133
|
+
};
|
|
1134
|
+
readonly maxSize: {
|
|
1135
|
+
readonly xs: "320px";
|
|
1136
|
+
readonly sm: "384px";
|
|
1137
|
+
readonly md: "448px";
|
|
1138
|
+
readonly lg: "512px";
|
|
1139
|
+
readonly xl: "576px";
|
|
1140
|
+
readonly "2xl": "672px";
|
|
1141
|
+
readonly full: "100%";
|
|
1142
|
+
};
|
|
1143
|
+
readonly screens: {
|
|
1144
|
+
readonly sm: "600px";
|
|
1145
|
+
readonly md: "900px";
|
|
1146
|
+
readonly lg: "1200px";
|
|
1147
|
+
};
|
|
1148
|
+
readonly size: {
|
|
1149
|
+
readonly xs: "20px";
|
|
1150
|
+
readonly sm: "24px";
|
|
1151
|
+
readonly md: "32px";
|
|
1152
|
+
readonly lg: "40px";
|
|
1153
|
+
readonly xl: "48px";
|
|
1154
|
+
readonly "5xl": "80px";
|
|
1155
|
+
readonly "0": "0";
|
|
1156
|
+
readonly "1": "1px";
|
|
1157
|
+
readonly "2": "2px";
|
|
1158
|
+
readonly "4": "4px";
|
|
1159
|
+
readonly "6": "6px";
|
|
1160
|
+
readonly "8": "8px";
|
|
1161
|
+
readonly "12": "12px";
|
|
1162
|
+
readonly "16": "16px";
|
|
1163
|
+
readonly "20": "20px";
|
|
1164
|
+
readonly "24": "24px";
|
|
1165
|
+
readonly "32": "32px";
|
|
1166
|
+
readonly "40": "40px";
|
|
1167
|
+
readonly "48": "48px";
|
|
1168
|
+
readonly "56": "56px";
|
|
1169
|
+
readonly "64": "64px";
|
|
1170
|
+
readonly "80": "80px";
|
|
1171
|
+
readonly "96": "96px";
|
|
1172
|
+
readonly "112": "112px";
|
|
1173
|
+
readonly "128": "128px";
|
|
1174
|
+
readonly "144": "144px";
|
|
1175
|
+
readonly "160": "160px";
|
|
1176
|
+
readonly "176": "176px";
|
|
1177
|
+
readonly "192": "192px";
|
|
1178
|
+
readonly "208": "208px";
|
|
1179
|
+
readonly "224": "224px";
|
|
1180
|
+
readonly "240": "240px";
|
|
1181
|
+
readonly "256": "256px";
|
|
1182
|
+
readonly "288": "288px";
|
|
1183
|
+
readonly "320": "320px";
|
|
1184
|
+
readonly "384": "384px";
|
|
1185
|
+
readonly "1/2": "50%";
|
|
1186
|
+
readonly "1/3": "33.333333%";
|
|
1187
|
+
readonly "2/3": "66.666666%";
|
|
1188
|
+
readonly "1/4": "25%";
|
|
1189
|
+
readonly "2/4": "50%";
|
|
1190
|
+
readonly "3/4": "75%";
|
|
1191
|
+
readonly auto: "auto";
|
|
1192
|
+
readonly fit: "fit-content";
|
|
1193
|
+
readonly full: "100%";
|
|
1194
|
+
readonly max: "max-content";
|
|
1195
|
+
readonly min: "min-content";
|
|
1196
|
+
};
|
|
1197
|
+
readonly spacing: {
|
|
1198
|
+
readonly xs: "8px";
|
|
1199
|
+
readonly sm: "12px";
|
|
1200
|
+
readonly md: "16px";
|
|
1201
|
+
readonly lg: "24px";
|
|
1202
|
+
readonly xl: "32px";
|
|
1203
|
+
readonly "0": "0";
|
|
1204
|
+
readonly "2": "2px";
|
|
1205
|
+
readonly "4": "4px";
|
|
1206
|
+
readonly "6": "6px";
|
|
1207
|
+
readonly "8": "8px";
|
|
1208
|
+
readonly "10": "10px";
|
|
1209
|
+
readonly "12": "12px";
|
|
1210
|
+
readonly "16": "16px";
|
|
1211
|
+
readonly "20": "20px";
|
|
1212
|
+
readonly "24": "24px";
|
|
1213
|
+
readonly "32": "32px";
|
|
1214
|
+
readonly "48": "48px";
|
|
1215
|
+
readonly "64": "64px";
|
|
1216
|
+
readonly "80": "80px";
|
|
1217
|
+
};
|
|
1218
|
+
readonly zIndex: {
|
|
1219
|
+
readonly "0": "0";
|
|
1220
|
+
readonly "10": "10";
|
|
1221
|
+
readonly "20": "20";
|
|
1222
|
+
readonly "30": "30";
|
|
1223
|
+
readonly "40": "40";
|
|
1224
|
+
readonly "50": "50";
|
|
1225
|
+
readonly auto: "auto";
|
|
1226
|
+
readonly popover: "3000";
|
|
1227
|
+
readonly toast: "3010";
|
|
1228
|
+
readonly tooltip: "10000";
|
|
26
1229
|
};
|
|
27
|
-
create: (toast: ToastElement) => string;
|
|
28
|
-
remove: (id: string) => void;
|
|
29
1230
|
};
|
|
30
1231
|
|
|
31
|
-
export { AxiomVersionContext, createToaster, toaster };
|
|
1232
|
+
export { AxiomVersionContext, type MapLeafNodes, createToaster, theme, toaster, tokens, tokensDark };
|