@pyck/styled-system 0.6.1 → 0.7.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/recipes/avatar.d.ts +1 -1
- package/dist/recipes/avatar.mjs +1 -0
- package/dist/recipes/button.d.ts +1 -1
- package/dist/recipes/button.mjs +2 -1
- package/dist/recipes/checkmark.d.ts +2 -2
- package/dist/recipes/checkmark.mjs +2 -1
- package/dist/recipes/combobox.d.ts +2 -6
- package/dist/recipes/combobox.mjs +2 -16
- package/dist/recipes/index.d.ts +1 -1
- package/dist/recipes/index.mjs +1 -1
- package/dist/recipes/menu.d.ts +2 -2
- package/dist/recipes/menu.mjs +5 -5
- package/dist/recipes/radiomark.d.ts +38 -0
- package/dist/recipes/radiomark.mjs +37 -0
- package/dist/tokens/index.mjs +36 -8
- package/dist/tokens/tokens.d.ts +1 -1
- package/dist/types/conditions.d.ts +1 -1
- package/dist/types/prop-type.d.ts +1 -1
- package/package.json +1 -1
- package/dist/recipes/hint-text.d.ts +0 -31
- package/dist/recipes/hint-text.mjs +0 -24
package/dist/recipes/avatar.d.ts
CHANGED
package/dist/recipes/avatar.mjs
CHANGED
package/dist/recipes/button.d.ts
CHANGED
package/dist/recipes/button.mjs
CHANGED
|
@@ -8,9 +8,9 @@ interface CheckmarkVariant {
|
|
|
8
8
|
*/
|
|
9
9
|
size: "xs" | "sm" | "md" | "lg"
|
|
10
10
|
/**
|
|
11
|
-
* @default "
|
|
11
|
+
* @default "outline"
|
|
12
12
|
*/
|
|
13
|
-
variant: "solid" | "surface" | "subtle"
|
|
13
|
+
variant: "solid" | "surface" | "outline" | "subtle"
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
type CheckmarkVariantMap = {
|
|
@@ -2,7 +2,7 @@ import { memo, splitProps } from '../helpers.mjs';
|
|
|
2
2
|
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const checkmarkFn = /* @__PURE__ */ createRecipe('checkmark', {
|
|
5
|
-
"variant": "
|
|
5
|
+
"variant": "outline",
|
|
6
6
|
"size": "md"
|
|
7
7
|
}, [])
|
|
8
8
|
|
|
@@ -16,6 +16,7 @@ const checkmarkVariantMap = {
|
|
|
16
16
|
"variant": [
|
|
17
17
|
"solid",
|
|
18
18
|
"surface",
|
|
19
|
+
"outline",
|
|
19
20
|
"subtle"
|
|
20
21
|
]
|
|
21
22
|
}
|
|
@@ -4,20 +4,16 @@ import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
|
4
4
|
|
|
5
5
|
interface ComboboxVariant {
|
|
6
6
|
/**
|
|
7
|
-
* @default "surface"
|
|
8
|
-
*/
|
|
9
|
-
variant: "outline" | "surface" | "plain"
|
|
10
|
-
/**
|
|
11
7
|
* @default "md"
|
|
12
8
|
*/
|
|
13
|
-
size: "
|
|
9
|
+
size: "sm" | "md"
|
|
14
10
|
}
|
|
15
11
|
|
|
16
12
|
type ComboboxVariantMap = {
|
|
17
13
|
[key in keyof ComboboxVariant]: Array<ComboboxVariant[key]>
|
|
18
14
|
}
|
|
19
15
|
|
|
20
|
-
type ComboboxSlot = "root" | "clearTrigger" | "content" | "control" | "input" | "item" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "label" | "list" | "positioner" | "trigger" | "empty"
|
|
16
|
+
type ComboboxSlot = "root" | "clearTrigger" | "content" | "control" | "input" | "item" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "label" | "list" | "positioner" | "trigger" | "empty"
|
|
21
17
|
|
|
22
18
|
export type ComboboxVariantProps = {
|
|
23
19
|
[key in keyof ComboboxVariant]?: ConditionalValue<ComboboxVariant[key]> | undefined
|
|
@@ -2,8 +2,7 @@ import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mj
|
|
|
2
2
|
import { createRecipe } from './create-recipe.mjs';
|
|
3
3
|
|
|
4
4
|
const comboboxDefaultVariants = {
|
|
5
|
-
"size": "md"
|
|
6
|
-
"variant": "surface"
|
|
5
|
+
"size": "md"
|
|
7
6
|
}
|
|
8
7
|
const comboboxCompoundVariants = []
|
|
9
8
|
|
|
@@ -67,10 +66,6 @@ const comboboxSlotNames = [
|
|
|
67
66
|
[
|
|
68
67
|
"empty",
|
|
69
68
|
"combobox__empty"
|
|
70
|
-
],
|
|
71
|
-
[
|
|
72
|
-
"indicatorGroup",
|
|
73
|
-
"combobox__indicatorGroup"
|
|
74
69
|
]
|
|
75
70
|
]
|
|
76
71
|
const comboboxSlotFns = /* @__PURE__ */ comboboxSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, comboboxDefaultVariants, getSlotCompoundVariant(comboboxCompoundVariants, slotName))])
|
|
@@ -80,7 +75,6 @@ const comboboxFn = memo((props = {}) => {
|
|
|
80
75
|
})
|
|
81
76
|
|
|
82
77
|
const comboboxVariantKeys = [
|
|
83
|
-
"variant",
|
|
84
78
|
"size"
|
|
85
79
|
]
|
|
86
80
|
const getVariantProps = (variants) => ({ ...comboboxDefaultVariants, ...compact(variants) })
|
|
@@ -92,17 +86,9 @@ export const combobox = /* @__PURE__ */ Object.assign(comboboxFn, {
|
|
|
92
86
|
classNameMap: {},
|
|
93
87
|
variantKeys: comboboxVariantKeys,
|
|
94
88
|
variantMap: {
|
|
95
|
-
"variant": [
|
|
96
|
-
"outline",
|
|
97
|
-
"surface",
|
|
98
|
-
"plain"
|
|
99
|
-
],
|
|
100
89
|
"size": [
|
|
101
|
-
"xs",
|
|
102
90
|
"sm",
|
|
103
|
-
"md"
|
|
104
|
-
"lg",
|
|
105
|
-
"xl"
|
|
91
|
+
"md"
|
|
106
92
|
]
|
|
107
93
|
},
|
|
108
94
|
splitVariantProps(props) {
|
package/dist/recipes/index.d.ts
CHANGED
|
@@ -4,11 +4,11 @@ export * from './absolute-center';
|
|
|
4
4
|
export * from './badge';
|
|
5
5
|
export * from './button';
|
|
6
6
|
export * from './checkmark';
|
|
7
|
+
export * from './radiomark';
|
|
7
8
|
export * from './dot-separator';
|
|
8
9
|
export * from './form';
|
|
9
10
|
export * from './group';
|
|
10
11
|
export * from './heading';
|
|
11
|
-
export * from './hint-text';
|
|
12
12
|
export * from './icon';
|
|
13
13
|
export * from './input';
|
|
14
14
|
export * from './input-addon';
|
package/dist/recipes/index.mjs
CHANGED
|
@@ -3,11 +3,11 @@ export * from './absolute-center.mjs';
|
|
|
3
3
|
export * from './badge.mjs';
|
|
4
4
|
export * from './button.mjs';
|
|
5
5
|
export * from './checkmark.mjs';
|
|
6
|
+
export * from './radiomark.mjs';
|
|
6
7
|
export * from './dot-separator.mjs';
|
|
7
8
|
export * from './form.mjs';
|
|
8
9
|
export * from './group.mjs';
|
|
9
10
|
export * from './heading.mjs';
|
|
10
|
-
export * from './hint-text.mjs';
|
|
11
11
|
export * from './icon.mjs';
|
|
12
12
|
export * from './input.mjs';
|
|
13
13
|
export * from './input-addon.mjs';
|
package/dist/recipes/menu.d.ts
CHANGED
|
@@ -6,14 +6,14 @@ interface MenuVariant {
|
|
|
6
6
|
/**
|
|
7
7
|
* @default "md"
|
|
8
8
|
*/
|
|
9
|
-
size: "
|
|
9
|
+
size: "md"
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
type MenuVariantMap = {
|
|
13
13
|
[key in keyof MenuVariant]: Array<MenuVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
type MenuSlot = "arrow" | "arrowTip" | "content" | "contextTrigger" | "indicator" | "item" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "positioner" | "separator" | "trigger" | "triggerItem"
|
|
16
|
+
type MenuSlot = "arrow" | "arrowTip" | "content" | "contextTrigger" | "indicator" | "item" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "positioner" | "separator" | "trigger" | "triggerItem" | "itemCommand"
|
|
17
17
|
|
|
18
18
|
export type MenuVariantProps = {
|
|
19
19
|
[key in keyof MenuVariant]?: ConditionalValue<MenuVariant[key]> | undefined
|
package/dist/recipes/menu.mjs
CHANGED
|
@@ -62,6 +62,10 @@ const menuSlotNames = [
|
|
|
62
62
|
[
|
|
63
63
|
"triggerItem",
|
|
64
64
|
"menu__triggerItem"
|
|
65
|
+
],
|
|
66
|
+
[
|
|
67
|
+
"itemCommand",
|
|
68
|
+
"menu__itemCommand"
|
|
65
69
|
]
|
|
66
70
|
]
|
|
67
71
|
const menuSlotFns = /* @__PURE__ */ menuSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, menuDefaultVariants, getSlotCompoundVariant(menuCompoundVariants, slotName))])
|
|
@@ -83,11 +87,7 @@ export const menu = /* @__PURE__ */ Object.assign(menuFn, {
|
|
|
83
87
|
variantKeys: menuVariantKeys,
|
|
84
88
|
variantMap: {
|
|
85
89
|
"size": [
|
|
86
|
-
"
|
|
87
|
-
"sm",
|
|
88
|
-
"md",
|
|
89
|
-
"lg",
|
|
90
|
-
"xl"
|
|
90
|
+
"md"
|
|
91
91
|
]
|
|
92
92
|
},
|
|
93
93
|
splitVariantProps(props) {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface RadiomarkVariant {
|
|
6
|
+
/**
|
|
7
|
+
* @default "md"
|
|
8
|
+
*/
|
|
9
|
+
size: "xs" | "sm" | "md" | "lg"
|
|
10
|
+
/**
|
|
11
|
+
* @default "solid"
|
|
12
|
+
*/
|
|
13
|
+
variant: "solid"
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
type RadiomarkVariantMap = {
|
|
17
|
+
[key in keyof RadiomarkVariant]: Array<RadiomarkVariant[key]>
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
export type RadiomarkVariantProps = {
|
|
23
|
+
[key in keyof RadiomarkVariant]?: ConditionalValue<RadiomarkVariant[key]> | undefined
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface RadiomarkRecipe {
|
|
27
|
+
|
|
28
|
+
__type: RadiomarkVariantProps
|
|
29
|
+
(props?: RadiomarkVariantProps): string
|
|
30
|
+
raw: (props?: RadiomarkVariantProps) => RadiomarkVariantProps
|
|
31
|
+
variantMap: RadiomarkVariantMap
|
|
32
|
+
variantKeys: Array<keyof RadiomarkVariant>
|
|
33
|
+
splitVariantProps<Props extends RadiomarkVariantProps>(props: Props): [RadiomarkVariantProps, Pretty<DistributiveOmit<Props, keyof RadiomarkVariantProps>>]
|
|
34
|
+
getVariantProps: (props?: RadiomarkVariantProps) => RadiomarkVariantProps
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
export declare const radiomark: RadiomarkRecipe
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const radiomarkFn = /* @__PURE__ */ createRecipe('radiomark', {
|
|
5
|
+
"variant": "solid",
|
|
6
|
+
"size": "md"
|
|
7
|
+
}, [])
|
|
8
|
+
|
|
9
|
+
const radiomarkVariantMap = {
|
|
10
|
+
"size": [
|
|
11
|
+
"xs",
|
|
12
|
+
"sm",
|
|
13
|
+
"md",
|
|
14
|
+
"lg"
|
|
15
|
+
],
|
|
16
|
+
"variant": [
|
|
17
|
+
"solid"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const radiomarkVariantKeys = Object.keys(radiomarkVariantMap)
|
|
22
|
+
|
|
23
|
+
export const radiomark = /* @__PURE__ */ Object.assign(memo(radiomarkFn.recipeFn), {
|
|
24
|
+
__recipe__: true,
|
|
25
|
+
__name__: 'radiomark',
|
|
26
|
+
__getCompoundVariantCss__: radiomarkFn.__getCompoundVariantCss__,
|
|
27
|
+
raw: (props) => props,
|
|
28
|
+
variantKeys: radiomarkVariantKeys,
|
|
29
|
+
variantMap: radiomarkVariantMap,
|
|
30
|
+
merge(recipe) {
|
|
31
|
+
return mergeRecipes(this, recipe)
|
|
32
|
+
},
|
|
33
|
+
splitVariantProps(props) {
|
|
34
|
+
return splitProps(props, radiomarkVariantKeys)
|
|
35
|
+
},
|
|
36
|
+
getVariantProps: radiomarkFn.getVariantProps,
|
|
37
|
+
})
|
package/dist/tokens/index.mjs
CHANGED
|
@@ -2175,6 +2175,10 @@ const tokens = {
|
|
|
2175
2175
|
"value": "var(--colors-teal-solid-bg-hover)",
|
|
2176
2176
|
"variable": "var(--colors-teal-solid-bg-hover)"
|
|
2177
2177
|
},
|
|
2178
|
+
"colors.teal.solid.bg.active": {
|
|
2179
|
+
"value": "var(--colors-teal-solid-bg-active)",
|
|
2180
|
+
"variable": "var(--colors-teal-solid-bg-active)"
|
|
2181
|
+
},
|
|
2178
2182
|
"colors.teal.solid.fg": {
|
|
2179
2183
|
"value": "var(--colors-teal-solid-fg)",
|
|
2180
2184
|
"variable": "var(--colors-teal-solid-fg)"
|
|
@@ -2351,6 +2355,10 @@ const tokens = {
|
|
|
2351
2355
|
"value": "var(--colors-gray-solid-bg-hover)",
|
|
2352
2356
|
"variable": "var(--colors-gray-solid-bg-hover)"
|
|
2353
2357
|
},
|
|
2358
|
+
"colors.gray.solid.bg.active": {
|
|
2359
|
+
"value": "var(--colors-gray-solid-bg-active)",
|
|
2360
|
+
"variable": "var(--colors-gray-solid-bg-active)"
|
|
2361
|
+
},
|
|
2354
2362
|
"colors.gray.solid.fg": {
|
|
2355
2363
|
"value": "var(--colors-gray-solid-fg)",
|
|
2356
2364
|
"variable": "var(--colors-gray-solid-fg)"
|
|
@@ -2527,6 +2535,10 @@ const tokens = {
|
|
|
2527
2535
|
"value": "var(--colors-orange-solid-bg-hover)",
|
|
2528
2536
|
"variable": "var(--colors-orange-solid-bg-hover)"
|
|
2529
2537
|
},
|
|
2538
|
+
"colors.orange.solid.bg.active": {
|
|
2539
|
+
"value": "var(--colors-orange-solid-bg-active)",
|
|
2540
|
+
"variable": "var(--colors-orange-solid-bg-active)"
|
|
2541
|
+
},
|
|
2530
2542
|
"colors.orange.solid.fg": {
|
|
2531
2543
|
"value": "var(--colors-orange-solid-fg)",
|
|
2532
2544
|
"variable": "var(--colors-orange-solid-fg)"
|
|
@@ -2699,6 +2711,10 @@ const tokens = {
|
|
|
2699
2711
|
"value": "var(--colors-red-solid-bg-hover)",
|
|
2700
2712
|
"variable": "var(--colors-red-solid-bg-hover)"
|
|
2701
2713
|
},
|
|
2714
|
+
"colors.red.solid.bg.active": {
|
|
2715
|
+
"value": "var(--colors-red-solid-bg-active)",
|
|
2716
|
+
"variable": "var(--colors-red-solid-bg-active)"
|
|
2717
|
+
},
|
|
2702
2718
|
"colors.red.solid.fg": {
|
|
2703
2719
|
"value": "var(--colors-red-solid-fg)",
|
|
2704
2720
|
"variable": "var(--colors-red-solid-fg)"
|
|
@@ -2871,6 +2887,10 @@ const tokens = {
|
|
|
2871
2887
|
"value": "var(--colors-blue-solid-bg-hover)",
|
|
2872
2888
|
"variable": "var(--colors-blue-solid-bg-hover)"
|
|
2873
2889
|
},
|
|
2890
|
+
"colors.blue.solid.bg.active": {
|
|
2891
|
+
"value": "var(--colors-blue-solid-bg-active)",
|
|
2892
|
+
"variable": "var(--colors-blue-solid-bg-active)"
|
|
2893
|
+
},
|
|
2874
2894
|
"colors.blue.solid.fg": {
|
|
2875
2895
|
"value": "var(--colors-blue-solid-fg)",
|
|
2876
2896
|
"variable": "var(--colors-blue-solid-fg)"
|
|
@@ -3047,6 +3067,10 @@ const tokens = {
|
|
|
3047
3067
|
"value": "var(--colors-purple-solid-bg-hover)",
|
|
3048
3068
|
"variable": "var(--colors-purple-solid-bg-hover)"
|
|
3049
3069
|
},
|
|
3070
|
+
"colors.purple.solid.bg.active": {
|
|
3071
|
+
"value": "var(--colors-purple-solid-bg-active)",
|
|
3072
|
+
"variable": "var(--colors-purple-solid-bg-active)"
|
|
3073
|
+
},
|
|
3050
3074
|
"colors.purple.solid.fg": {
|
|
3051
3075
|
"value": "var(--colors-purple-solid-fg)",
|
|
3052
3076
|
"variable": "var(--colors-purple-solid-fg)"
|
|
@@ -3311,6 +3335,18 @@ const tokens = {
|
|
|
3311
3335
|
"value": "var(--colors-color-palette-hover)",
|
|
3312
3336
|
"variable": "var(--colors-color-palette-hover)"
|
|
3313
3337
|
},
|
|
3338
|
+
"colors.colorPalette.solid.bg.active": {
|
|
3339
|
+
"value": "var(--colors-color-palette-solid-bg-active)",
|
|
3340
|
+
"variable": "var(--colors-color-palette-solid-bg-active)"
|
|
3341
|
+
},
|
|
3342
|
+
"colors.colorPalette.bg.active": {
|
|
3343
|
+
"value": "var(--colors-color-palette-bg-active)",
|
|
3344
|
+
"variable": "var(--colors-color-palette-bg-active)"
|
|
3345
|
+
},
|
|
3346
|
+
"colors.colorPalette.active": {
|
|
3347
|
+
"value": "var(--colors-color-palette-active)",
|
|
3348
|
+
"variable": "var(--colors-color-palette-active)"
|
|
3349
|
+
},
|
|
3314
3350
|
"colors.colorPalette.solid.fg": {
|
|
3315
3351
|
"value": "var(--colors-color-palette-solid-fg)",
|
|
3316
3352
|
"variable": "var(--colors-color-palette-solid-fg)"
|
|
@@ -3331,14 +3367,6 @@ const tokens = {
|
|
|
3331
3367
|
"value": "var(--colors-color-palette-subtle-bg-active)",
|
|
3332
3368
|
"variable": "var(--colors-color-palette-subtle-bg-active)"
|
|
3333
3369
|
},
|
|
3334
|
-
"colors.colorPalette.bg.active": {
|
|
3335
|
-
"value": "var(--colors-color-palette-bg-active)",
|
|
3336
|
-
"variable": "var(--colors-color-palette-bg-active)"
|
|
3337
|
-
},
|
|
3338
|
-
"colors.colorPalette.active": {
|
|
3339
|
-
"value": "var(--colors-color-palette-active)",
|
|
3340
|
-
"variable": "var(--colors-color-palette-active)"
|
|
3341
|
-
},
|
|
3342
3370
|
"colors.colorPalette.subtle.fg": {
|
|
3343
3371
|
"value": "var(--colors-color-palette-subtle-fg)",
|
|
3344
3372
|
"variable": "var(--colors-color-palette-subtle-fg)"
|
package/dist/tokens/tokens.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export type SpacingToken = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" |
|
|
|
25
25
|
|
|
26
26
|
export type AnimationToken = "spin" | "ping" | "pulse" | "bounce"
|
|
27
27
|
|
|
28
|
-
export type ColorToken = "current" | "transparent" | "rose.50" | "rose.100" | "rose.200" | "rose.300" | "rose.400" | "rose.500" | "rose.600" | "rose.700" | "rose.800" | "rose.900" | "rose.950" | "pink.50" | "pink.100" | "pink.200" | "pink.300" | "pink.400" | "pink.500" | "pink.600" | "pink.700" | "pink.800" | "pink.900" | "pink.950" | "fuchsia.50" | "fuchsia.100" | "fuchsia.200" | "fuchsia.300" | "fuchsia.400" | "fuchsia.500" | "fuchsia.600" | "fuchsia.700" | "fuchsia.800" | "fuchsia.900" | "fuchsia.950" | "purple.50" | "purple.100" | "purple.200" | "purple.300" | "purple.400" | "purple.500" | "purple.600" | "purple.700" | "purple.800" | "purple.900" | "purple.950" | "violet.50" | "violet.100" | "violet.200" | "violet.300" | "violet.400" | "violet.500" | "violet.600" | "violet.700" | "violet.800" | "violet.900" | "violet.950" | "indigo.50" | "indigo.100" | "indigo.200" | "indigo.300" | "indigo.400" | "indigo.500" | "indigo.600" | "indigo.700" | "indigo.800" | "indigo.900" | "indigo.950" | "blue.50" | "blue.100" | "blue.200" | "blue.300" | "blue.400" | "blue.500" | "blue.600" | "blue.700" | "blue.800" | "blue.900" | "blue.950" | "sky.50" | "sky.100" | "sky.200" | "sky.300" | "sky.400" | "sky.500" | "sky.600" | "sky.700" | "sky.800" | "sky.900" | "sky.950" | "cyan.50" | "cyan.100" | "cyan.200" | "cyan.300" | "cyan.400" | "cyan.500" | "cyan.600" | "cyan.700" | "cyan.800" | "cyan.900" | "cyan.950" | "teal.50" | "teal.100" | "teal.200" | "teal.300" | "teal.400" | "teal.500" | "teal.600" | "teal.700" | "teal.800" | "teal.900" | "teal.950" | "emerald.50" | "emerald.100" | "emerald.200" | "emerald.300" | "emerald.400" | "emerald.500" | "emerald.600" | "emerald.700" | "emerald.800" | "emerald.900" | "emerald.950" | "green.50" | "green.100" | "green.200" | "green.300" | "green.400" | "green.500" | "green.600" | "green.700" | "green.800" | "green.900" | "green.950" | "lime.50" | "lime.100" | "lime.200" | "lime.300" | "lime.400" | "lime.500" | "lime.600" | "lime.700" | "lime.800" | "lime.900" | "lime.950" | "yellow.50" | "yellow.100" | "yellow.200" | "yellow.300" | "yellow.400" | "yellow.500" | "yellow.600" | "yellow.700" | "yellow.800" | "yellow.900" | "yellow.950" | "amber.50" | "amber.100" | "amber.200" | "amber.300" | "amber.400" | "amber.500" | "amber.600" | "amber.700" | "amber.800" | "amber.900" | "amber.950" | "orange.50" | "orange.100" | "orange.200" | "orange.300" | "orange.400" | "orange.500" | "orange.600" | "orange.700" | "orange.800" | "orange.900" | "orange.950" | "red.50" | "red.100" | "red.200" | "red.300" | "red.400" | "red.500" | "red.600" | "red.700" | "red.800" | "red.900" | "red.950" | "neutral.50" | "neutral.100" | "neutral.200" | "neutral.300" | "neutral.400" | "neutral.500" | "neutral.600" | "neutral.700" | "neutral.800" | "neutral.900" | "neutral.950" | "stone.50" | "stone.100" | "stone.200" | "stone.300" | "stone.400" | "stone.500" | "stone.600" | "stone.700" | "stone.800" | "stone.900" | "stone.950" | "zinc.50" | "zinc.100" | "zinc.200" | "zinc.300" | "zinc.400" | "zinc.500" | "zinc.600" | "zinc.700" | "zinc.800" | "zinc.900" | "zinc.950" | "gray.50" | "gray.100" | "gray.200" | "gray.300" | "gray.400" | "gray.500" | "gray.600" | "gray.700" | "gray.800" | "gray.900" | "gray.950" | "slate.50" | "slate.100" | "slate.200" | "slate.300" | "slate.400" | "slate.500" | "slate.600" | "slate.700" | "slate.800" | "slate.900" | "slate.950" | "black" | "black.a1" | "black.a2" | "black.a3" | "black.a4" | "black.a5" | "black.a6" | "black.a7" | "black.a8" | "black.a9" | "black.a10" | "black.a11" | "black.a12" | "white" | "white.a1" | "white.a2" | "white.a3" | "white.a4" | "white.a5" | "white.a6" | "white.a7" | "white.a8" | "white.a9" | "white.a10" | "white.a11" | "white.a12" | "prose.heading" | "prose.body" | "prose.link" | "prose.bold" | "prose.td-border" | "prose.th-border" | "teal.1" | "teal.2" | "teal.3" | "teal.4" | "teal.5" | "teal.6" | "teal.7" | "teal.8" | "teal.9" | "teal.10" | "teal.11" | "teal.12" | "teal.a1" | "teal.a2" | "teal.a3" | "teal.a4" | "teal.a5" | "teal.a6" | "teal.a7" | "teal.a8" | "teal.a9" | "teal.a10" | "teal.a11" | "teal.a12" | "teal.solid.bg" | "teal.solid.bg.hover" | "teal.solid.fg" | "teal.subtle.bg" | "teal.subtle.bg.hover" | "teal.subtle.bg.active" | "teal.subtle.fg" | "teal.surface.bg" | "teal.surface.bg.active" | "teal.surface.border" | "teal.surface.border.hover" | "teal.surface.fg" | "teal.outline.bg.hover" | "teal.outline.bg.active" | "teal.outline.border" | "teal.outline.fg" | "teal.plain.bg.hover" | "teal.plain.bg.active" | "teal.plain.fg" | "teal.plain.fg.hover" | "gray.1" | "gray.2" | "gray.3" | "gray.4" | "gray.5" | "gray.6" | "gray.7" | "gray.8" | "gray.9" | "gray.10" | "gray.11" | "gray.12" | "gray.a1" | "gray.a2" | "gray.a3" | "gray.a4" | "gray.a5" | "gray.a6" | "gray.a7" | "gray.a8" | "gray.a9" | "gray.a10" | "gray.a11" | "gray.a12" | "gray.solid.bg" | "gray.solid.bg.hover" | "gray.solid.fg" | "gray.subtle.bg" | "gray.subtle.bg.hover" | "gray.subtle.bg.active" | "gray.subtle.fg" | "gray.surface.bg" | "gray.surface.bg.hover" | "gray.surface.bg.active" | "gray.surface.border" | "gray.surface.border.hover" | "gray.surface.fg" | "gray.outline.bg.hover" | "gray.outline.bg.active" | "gray.outline.border" | "gray.outline.fg" | "gray.plain.bg.hover" | "gray.plain.bg.active" | "gray.plain.fg" | "orange.1" | "orange.2" | "orange.3" | "orange.4" | "orange.5" | "orange.6" | "orange.7" | "orange.8" | "orange.9" | "orange.10" | "orange.11" | "orange.12" | "orange.a1" | "orange.a2" | "orange.a3" | "orange.a4" | "orange.a5" | "orange.a6" | "orange.a7" | "orange.a8" | "orange.a9" | "orange.a10" | "orange.a11" | "orange.a12" | "orange.solid.bg" | "orange.solid.bg.hover" | "orange.solid.fg" | "orange.subtle.bg" | "orange.subtle.bg.hover" | "orange.subtle.bg.active" | "orange.subtle.fg" | "orange.surface.bg" | "orange.surface.bg.active" | "orange.surface.border" | "orange.surface.border.hover" | "orange.surface.fg" | "orange.outline.bg.hover" | "orange.outline.bg.active" | "orange.outline.border" | "orange.outline.fg" | "orange.plain.bg.hover" | "orange.plain.bg.active" | "orange.plain.fg" | "red.1" | "red.2" | "red.3" | "red.4" | "red.5" | "red.6" | "red.7" | "red.8" | "red.9" | "red.10" | "red.11" | "red.12" | "red.a1" | "red.a2" | "red.a3" | "red.a4" | "red.a5" | "red.a6" | "red.a7" | "red.a8" | "red.a9" | "red.a10" | "red.a11" | "red.a12" | "red.solid.bg" | "red.solid.bg.hover" | "red.solid.fg" | "red.subtle.bg" | "red.subtle.bg.hover" | "red.subtle.bg.active" | "red.subtle.fg" | "red.surface.bg" | "red.surface.bg.active" | "red.surface.border" | "red.surface.border.hover" | "red.surface.fg" | "red.outline.bg.hover" | "red.outline.bg.active" | "red.outline.border" | "red.outline.fg" | "red.plain.bg.hover" | "red.plain.bg.active" | "red.plain.fg" | "blue.1" | "blue.2" | "blue.3" | "blue.4" | "blue.5" | "blue.6" | "blue.7" | "blue.8" | "blue.9" | "blue.10" | "blue.11" | "blue.12" | "blue.a1" | "blue.a2" | "blue.a3" | "blue.a4" | "blue.a5" | "blue.a6" | "blue.a7" | "blue.a8" | "blue.a9" | "blue.a10" | "blue.a11" | "blue.a12" | "blue.solid.bg" | "blue.solid.bg.hover" | "blue.solid.fg" | "blue.subtle.bg" | "blue.subtle.bg.hover" | "blue.subtle.bg.active" | "blue.subtle.fg" | "blue.surface.bg" | "blue.surface.bg.active" | "blue.surface.border" | "blue.surface.border.hover" | "blue.surface.fg" | "blue.outline.bg.hover" | "blue.outline.bg.active" | "blue.outline.border" | "blue.outline.fg" | "blue.plain.bg.hover" | "blue.plain.bg.active" | "blue.plain.fg" | "blue.plain.fg.hover" | "purple.1" | "purple.2" | "purple.3" | "purple.4" | "purple.5" | "purple.6" | "purple.7" | "purple.8" | "purple.9" | "purple.10" | "purple.11" | "purple.12" | "purple.a1" | "purple.a2" | "purple.a3" | "purple.a4" | "purple.a5" | "purple.a6" | "purple.a7" | "purple.a8" | "purple.a9" | "purple.a10" | "purple.a11" | "purple.a12" | "purple.solid.bg" | "purple.solid.bg.hover" | "purple.solid.fg" | "purple.subtle.bg" | "purple.subtle.bg.hover" | "purple.subtle.bg.active" | "purple.subtle.fg" | "purple.surface.bg" | "purple.surface.bg.active" | "purple.surface.border" | "purple.surface.border.hover" | "purple.surface.fg" | "purple.outline.bg.hover" | "purple.outline.bg.active" | "purple.outline.border" | "purple.outline.fg" | "purple.plain.bg.hover" | "purple.plain.bg.active" | "purple.plain.fg" | "purple.plain.fg.hover" | "fg.default" | "fg.muted" | "fg.subtle" | "canvas" | "border" | "error" | "colorPalette" | "colorPalette.50" | "colorPalette.100" | "colorPalette.200" | "colorPalette.300" | "colorPalette.400" | "colorPalette.500" | "colorPalette.600" | "colorPalette.700" | "colorPalette.800" | "colorPalette.900" | "colorPalette.950" | "colorPalette.a1" | "colorPalette.a2" | "colorPalette.a3" | "colorPalette.a4" | "colorPalette.a5" | "colorPalette.a6" | "colorPalette.a7" | "colorPalette.a8" | "colorPalette.a9" | "colorPalette.a10" | "colorPalette.a11" | "colorPalette.a12" | "colorPalette.1" | "colorPalette.2" | "colorPalette.3" | "colorPalette.4" | "colorPalette.5" | "colorPalette.6" | "colorPalette.7" | "colorPalette.8" | "colorPalette.9" | "colorPalette.10" | "colorPalette.11" | "colorPalette.12" | "colorPalette.solid.bg" | "colorPalette.bg" | "colorPalette.solid.bg.hover" | "colorPalette.bg.hover" | "colorPalette.hover" | "colorPalette.solid.fg" | "colorPalette.fg" | "colorPalette.subtle.bg" | "colorPalette.subtle.bg.hover" | "colorPalette.subtle.bg.active" | "colorPalette.bg.active" | "colorPalette.active" | "colorPalette.subtle.fg" | "colorPalette.surface.bg" | "colorPalette.surface.bg.active" | "colorPalette.surface.border" | "colorPalette.border" | "colorPalette.surface.border.hover" | "colorPalette.border.hover" | "colorPalette.surface.fg" | "colorPalette.outline.bg.hover" | "colorPalette.outline.bg.active" | "colorPalette.outline.border" | "colorPalette.outline.fg" | "colorPalette.plain.bg.hover" | "colorPalette.plain.bg.active" | "colorPalette.plain.fg" | "colorPalette.plain.fg.hover" | "colorPalette.fg.hover" | "colorPalette.surface.bg.hover" | "colorPalette.default" | "colorPalette.muted" | "colorPalette.subtle" | "colorPalette.heading" | "colorPalette.body" | "colorPalette.link" | "colorPalette.bold" | "colorPalette.td-border" | "colorPalette.th-border"
|
|
28
|
+
export type ColorToken = "current" | "transparent" | "rose.50" | "rose.100" | "rose.200" | "rose.300" | "rose.400" | "rose.500" | "rose.600" | "rose.700" | "rose.800" | "rose.900" | "rose.950" | "pink.50" | "pink.100" | "pink.200" | "pink.300" | "pink.400" | "pink.500" | "pink.600" | "pink.700" | "pink.800" | "pink.900" | "pink.950" | "fuchsia.50" | "fuchsia.100" | "fuchsia.200" | "fuchsia.300" | "fuchsia.400" | "fuchsia.500" | "fuchsia.600" | "fuchsia.700" | "fuchsia.800" | "fuchsia.900" | "fuchsia.950" | "purple.50" | "purple.100" | "purple.200" | "purple.300" | "purple.400" | "purple.500" | "purple.600" | "purple.700" | "purple.800" | "purple.900" | "purple.950" | "violet.50" | "violet.100" | "violet.200" | "violet.300" | "violet.400" | "violet.500" | "violet.600" | "violet.700" | "violet.800" | "violet.900" | "violet.950" | "indigo.50" | "indigo.100" | "indigo.200" | "indigo.300" | "indigo.400" | "indigo.500" | "indigo.600" | "indigo.700" | "indigo.800" | "indigo.900" | "indigo.950" | "blue.50" | "blue.100" | "blue.200" | "blue.300" | "blue.400" | "blue.500" | "blue.600" | "blue.700" | "blue.800" | "blue.900" | "blue.950" | "sky.50" | "sky.100" | "sky.200" | "sky.300" | "sky.400" | "sky.500" | "sky.600" | "sky.700" | "sky.800" | "sky.900" | "sky.950" | "cyan.50" | "cyan.100" | "cyan.200" | "cyan.300" | "cyan.400" | "cyan.500" | "cyan.600" | "cyan.700" | "cyan.800" | "cyan.900" | "cyan.950" | "teal.50" | "teal.100" | "teal.200" | "teal.300" | "teal.400" | "teal.500" | "teal.600" | "teal.700" | "teal.800" | "teal.900" | "teal.950" | "emerald.50" | "emerald.100" | "emerald.200" | "emerald.300" | "emerald.400" | "emerald.500" | "emerald.600" | "emerald.700" | "emerald.800" | "emerald.900" | "emerald.950" | "green.50" | "green.100" | "green.200" | "green.300" | "green.400" | "green.500" | "green.600" | "green.700" | "green.800" | "green.900" | "green.950" | "lime.50" | "lime.100" | "lime.200" | "lime.300" | "lime.400" | "lime.500" | "lime.600" | "lime.700" | "lime.800" | "lime.900" | "lime.950" | "yellow.50" | "yellow.100" | "yellow.200" | "yellow.300" | "yellow.400" | "yellow.500" | "yellow.600" | "yellow.700" | "yellow.800" | "yellow.900" | "yellow.950" | "amber.50" | "amber.100" | "amber.200" | "amber.300" | "amber.400" | "amber.500" | "amber.600" | "amber.700" | "amber.800" | "amber.900" | "amber.950" | "orange.50" | "orange.100" | "orange.200" | "orange.300" | "orange.400" | "orange.500" | "orange.600" | "orange.700" | "orange.800" | "orange.900" | "orange.950" | "red.50" | "red.100" | "red.200" | "red.300" | "red.400" | "red.500" | "red.600" | "red.700" | "red.800" | "red.900" | "red.950" | "neutral.50" | "neutral.100" | "neutral.200" | "neutral.300" | "neutral.400" | "neutral.500" | "neutral.600" | "neutral.700" | "neutral.800" | "neutral.900" | "neutral.950" | "stone.50" | "stone.100" | "stone.200" | "stone.300" | "stone.400" | "stone.500" | "stone.600" | "stone.700" | "stone.800" | "stone.900" | "stone.950" | "zinc.50" | "zinc.100" | "zinc.200" | "zinc.300" | "zinc.400" | "zinc.500" | "zinc.600" | "zinc.700" | "zinc.800" | "zinc.900" | "zinc.950" | "gray.50" | "gray.100" | "gray.200" | "gray.300" | "gray.400" | "gray.500" | "gray.600" | "gray.700" | "gray.800" | "gray.900" | "gray.950" | "slate.50" | "slate.100" | "slate.200" | "slate.300" | "slate.400" | "slate.500" | "slate.600" | "slate.700" | "slate.800" | "slate.900" | "slate.950" | "black" | "black.a1" | "black.a2" | "black.a3" | "black.a4" | "black.a5" | "black.a6" | "black.a7" | "black.a8" | "black.a9" | "black.a10" | "black.a11" | "black.a12" | "white" | "white.a1" | "white.a2" | "white.a3" | "white.a4" | "white.a5" | "white.a6" | "white.a7" | "white.a8" | "white.a9" | "white.a10" | "white.a11" | "white.a12" | "prose.heading" | "prose.body" | "prose.link" | "prose.bold" | "prose.td-border" | "prose.th-border" | "teal.1" | "teal.2" | "teal.3" | "teal.4" | "teal.5" | "teal.6" | "teal.7" | "teal.8" | "teal.9" | "teal.10" | "teal.11" | "teal.12" | "teal.a1" | "teal.a2" | "teal.a3" | "teal.a4" | "teal.a5" | "teal.a6" | "teal.a7" | "teal.a8" | "teal.a9" | "teal.a10" | "teal.a11" | "teal.a12" | "teal.solid.bg" | "teal.solid.bg.hover" | "teal.solid.bg.active" | "teal.solid.fg" | "teal.subtle.bg" | "teal.subtle.bg.hover" | "teal.subtle.bg.active" | "teal.subtle.fg" | "teal.surface.bg" | "teal.surface.bg.active" | "teal.surface.border" | "teal.surface.border.hover" | "teal.surface.fg" | "teal.outline.bg.hover" | "teal.outline.bg.active" | "teal.outline.border" | "teal.outline.fg" | "teal.plain.bg.hover" | "teal.plain.bg.active" | "teal.plain.fg" | "teal.plain.fg.hover" | "gray.1" | "gray.2" | "gray.3" | "gray.4" | "gray.5" | "gray.6" | "gray.7" | "gray.8" | "gray.9" | "gray.10" | "gray.11" | "gray.12" | "gray.a1" | "gray.a2" | "gray.a3" | "gray.a4" | "gray.a5" | "gray.a6" | "gray.a7" | "gray.a8" | "gray.a9" | "gray.a10" | "gray.a11" | "gray.a12" | "gray.solid.bg" | "gray.solid.bg.hover" | "gray.solid.bg.active" | "gray.solid.fg" | "gray.subtle.bg" | "gray.subtle.bg.hover" | "gray.subtle.bg.active" | "gray.subtle.fg" | "gray.surface.bg" | "gray.surface.bg.hover" | "gray.surface.bg.active" | "gray.surface.border" | "gray.surface.border.hover" | "gray.surface.fg" | "gray.outline.bg.hover" | "gray.outline.bg.active" | "gray.outline.border" | "gray.outline.fg" | "gray.plain.bg.hover" | "gray.plain.bg.active" | "gray.plain.fg" | "orange.1" | "orange.2" | "orange.3" | "orange.4" | "orange.5" | "orange.6" | "orange.7" | "orange.8" | "orange.9" | "orange.10" | "orange.11" | "orange.12" | "orange.a1" | "orange.a2" | "orange.a3" | "orange.a4" | "orange.a5" | "orange.a6" | "orange.a7" | "orange.a8" | "orange.a9" | "orange.a10" | "orange.a11" | "orange.a12" | "orange.solid.bg" | "orange.solid.bg.hover" | "orange.solid.bg.active" | "orange.solid.fg" | "orange.subtle.bg" | "orange.subtle.bg.hover" | "orange.subtle.bg.active" | "orange.subtle.fg" | "orange.surface.bg" | "orange.surface.bg.active" | "orange.surface.border" | "orange.surface.border.hover" | "orange.surface.fg" | "orange.outline.bg.hover" | "orange.outline.bg.active" | "orange.outline.border" | "orange.outline.fg" | "orange.plain.bg.hover" | "orange.plain.bg.active" | "orange.plain.fg" | "red.1" | "red.2" | "red.3" | "red.4" | "red.5" | "red.6" | "red.7" | "red.8" | "red.9" | "red.10" | "red.11" | "red.12" | "red.a1" | "red.a2" | "red.a3" | "red.a4" | "red.a5" | "red.a6" | "red.a7" | "red.a8" | "red.a9" | "red.a10" | "red.a11" | "red.a12" | "red.solid.bg" | "red.solid.bg.hover" | "red.solid.bg.active" | "red.solid.fg" | "red.subtle.bg" | "red.subtle.bg.hover" | "red.subtle.bg.active" | "red.subtle.fg" | "red.surface.bg" | "red.surface.bg.active" | "red.surface.border" | "red.surface.border.hover" | "red.surface.fg" | "red.outline.bg.hover" | "red.outline.bg.active" | "red.outline.border" | "red.outline.fg" | "red.plain.bg.hover" | "red.plain.bg.active" | "red.plain.fg" | "blue.1" | "blue.2" | "blue.3" | "blue.4" | "blue.5" | "blue.6" | "blue.7" | "blue.8" | "blue.9" | "blue.10" | "blue.11" | "blue.12" | "blue.a1" | "blue.a2" | "blue.a3" | "blue.a4" | "blue.a5" | "blue.a6" | "blue.a7" | "blue.a8" | "blue.a9" | "blue.a10" | "blue.a11" | "blue.a12" | "blue.solid.bg" | "blue.solid.bg.hover" | "blue.solid.bg.active" | "blue.solid.fg" | "blue.subtle.bg" | "blue.subtle.bg.hover" | "blue.subtle.bg.active" | "blue.subtle.fg" | "blue.surface.bg" | "blue.surface.bg.active" | "blue.surface.border" | "blue.surface.border.hover" | "blue.surface.fg" | "blue.outline.bg.hover" | "blue.outline.bg.active" | "blue.outline.border" | "blue.outline.fg" | "blue.plain.bg.hover" | "blue.plain.bg.active" | "blue.plain.fg" | "blue.plain.fg.hover" | "purple.1" | "purple.2" | "purple.3" | "purple.4" | "purple.5" | "purple.6" | "purple.7" | "purple.8" | "purple.9" | "purple.10" | "purple.11" | "purple.12" | "purple.a1" | "purple.a2" | "purple.a3" | "purple.a4" | "purple.a5" | "purple.a6" | "purple.a7" | "purple.a8" | "purple.a9" | "purple.a10" | "purple.a11" | "purple.a12" | "purple.solid.bg" | "purple.solid.bg.hover" | "purple.solid.bg.active" | "purple.solid.fg" | "purple.subtle.bg" | "purple.subtle.bg.hover" | "purple.subtle.bg.active" | "purple.subtle.fg" | "purple.surface.bg" | "purple.surface.bg.active" | "purple.surface.border" | "purple.surface.border.hover" | "purple.surface.fg" | "purple.outline.bg.hover" | "purple.outline.bg.active" | "purple.outline.border" | "purple.outline.fg" | "purple.plain.bg.hover" | "purple.plain.bg.active" | "purple.plain.fg" | "purple.plain.fg.hover" | "fg.default" | "fg.muted" | "fg.subtle" | "canvas" | "border" | "error" | "colorPalette" | "colorPalette.50" | "colorPalette.100" | "colorPalette.200" | "colorPalette.300" | "colorPalette.400" | "colorPalette.500" | "colorPalette.600" | "colorPalette.700" | "colorPalette.800" | "colorPalette.900" | "colorPalette.950" | "colorPalette.a1" | "colorPalette.a2" | "colorPalette.a3" | "colorPalette.a4" | "colorPalette.a5" | "colorPalette.a6" | "colorPalette.a7" | "colorPalette.a8" | "colorPalette.a9" | "colorPalette.a10" | "colorPalette.a11" | "colorPalette.a12" | "colorPalette.1" | "colorPalette.2" | "colorPalette.3" | "colorPalette.4" | "colorPalette.5" | "colorPalette.6" | "colorPalette.7" | "colorPalette.8" | "colorPalette.9" | "colorPalette.10" | "colorPalette.11" | "colorPalette.12" | "colorPalette.solid.bg" | "colorPalette.bg" | "colorPalette.solid.bg.hover" | "colorPalette.bg.hover" | "colorPalette.hover" | "colorPalette.solid.bg.active" | "colorPalette.bg.active" | "colorPalette.active" | "colorPalette.solid.fg" | "colorPalette.fg" | "colorPalette.subtle.bg" | "colorPalette.subtle.bg.hover" | "colorPalette.subtle.bg.active" | "colorPalette.subtle.fg" | "colorPalette.surface.bg" | "colorPalette.surface.bg.active" | "colorPalette.surface.border" | "colorPalette.border" | "colorPalette.surface.border.hover" | "colorPalette.border.hover" | "colorPalette.surface.fg" | "colorPalette.outline.bg.hover" | "colorPalette.outline.bg.active" | "colorPalette.outline.border" | "colorPalette.outline.fg" | "colorPalette.plain.bg.hover" | "colorPalette.plain.bg.active" | "colorPalette.plain.fg" | "colorPalette.plain.fg.hover" | "colorPalette.fg.hover" | "colorPalette.surface.bg.hover" | "colorPalette.default" | "colorPalette.muted" | "colorPalette.subtle" | "colorPalette.heading" | "colorPalette.body" | "colorPalette.link" | "colorPalette.bold" | "colorPalette.td-border" | "colorPalette.th-border"
|
|
29
29
|
|
|
30
30
|
export type DurationToken = "fastest" | "faster" | "fast" | "normal" | "slow" | "slower" | "slowest"
|
|
31
31
|
|
|
@@ -10,7 +10,7 @@ export interface Conditions {
|
|
|
10
10
|
"_focusWithin": string
|
|
11
11
|
/** `&:is(:focus-visible, [data-focus-visible])` */
|
|
12
12
|
"_focusVisible": string
|
|
13
|
-
/** `&:is(:disabled, [
|
|
13
|
+
/** `&:is(:disabled, [data-disabled], [aria-disabled=true]):not([data-loading])` */
|
|
14
14
|
"_disabled": string
|
|
15
15
|
/** `&:not(:disabled):active` */
|
|
16
16
|
"_active": string
|
|
@@ -206,7 +206,7 @@ export interface UtilityValues {
|
|
|
206
206
|
debug: boolean;
|
|
207
207
|
containerName: CssProperties["containerName"];
|
|
208
208
|
colorPalette: "current" | "transparent" | "rose" | "pink" | "fuchsia" | "purple" | "violet" | "indigo" | "blue" | "sky" | "cyan" | "teal" | "emerald" | "green" | "lime" | "yellow" | "amber" | "orange" | "red" | "neutral" | "stone" | "zinc" | "gray" | "slate" | "black" | "white" | "prose" | "teal.solid.bg" | "teal.solid" | "teal.solid.fg" | "teal.subtle.bg" | "teal.subtle" | "teal.subtle.fg" | "teal.surface.bg" | "teal.surface" | "teal.surface.border" | "teal.surface.fg" | "teal.outline" | "teal.outline.bg" | "teal.outline.border" | "teal.outline.fg" | "teal.plain" | "teal.plain.bg" | "teal.plain.fg" | "gray.solid.bg" | "gray.solid" | "gray.solid.fg" | "gray.subtle.bg" | "gray.subtle" | "gray.subtle.fg" | "gray.surface.bg" | "gray.surface" | "gray.surface.border" | "gray.surface.fg" | "gray.outline" | "gray.outline.bg" | "gray.outline.border" | "gray.outline.fg" | "gray.plain" | "gray.plain.bg" | "gray.plain.fg" | "orange.solid.bg" | "orange.solid" | "orange.solid.fg" | "orange.subtle.bg" | "orange.subtle" | "orange.subtle.fg" | "orange.surface.bg" | "orange.surface" | "orange.surface.border" | "orange.surface.fg" | "orange.outline" | "orange.outline.bg" | "orange.outline.border" | "orange.outline.fg" | "orange.plain" | "orange.plain.bg" | "orange.plain.fg" | "red.solid.bg" | "red.solid" | "red.solid.fg" | "red.subtle.bg" | "red.subtle" | "red.subtle.fg" | "red.surface.bg" | "red.surface" | "red.surface.border" | "red.surface.fg" | "red.outline" | "red.outline.bg" | "red.outline.border" | "red.outline.fg" | "red.plain" | "red.plain.bg" | "red.plain.fg" | "blue.solid.bg" | "blue.solid" | "blue.solid.fg" | "blue.subtle.bg" | "blue.subtle" | "blue.subtle.fg" | "blue.surface.bg" | "blue.surface" | "blue.surface.border" | "blue.surface.fg" | "blue.outline" | "blue.outline.bg" | "blue.outline.border" | "blue.outline.fg" | "blue.plain" | "blue.plain.bg" | "blue.plain.fg" | "purple.solid.bg" | "purple.solid" | "purple.solid.fg" | "purple.subtle.bg" | "purple.subtle" | "purple.subtle.fg" | "purple.surface.bg" | "purple.surface" | "purple.surface.border" | "purple.surface.fg" | "purple.outline" | "purple.outline.bg" | "purple.outline.border" | "purple.outline.fg" | "purple.plain" | "purple.plain.bg" | "purple.plain.fg" | "fg" | "canvas" | "border" | "error";
|
|
209
|
-
textStyle: "8xl" | "9xl" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "label" | "
|
|
209
|
+
textStyle: "8xl" | "9xl" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "label" | "description";
|
|
210
210
|
layerStyle: "disabled" | "card";
|
|
211
211
|
animationStyle: "slide-fade-in" | "slide-fade-out" | "scale-fade-in" | "scale-fade-out";
|
|
212
212
|
}
|
package/package.json
CHANGED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue } from '../types/index';
|
|
3
|
-
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
-
|
|
5
|
-
interface HintTextVariant {
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
type HintTextVariantMap = {
|
|
10
|
-
[key in keyof HintTextVariant]: Array<HintTextVariant[key]>
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export type HintTextVariantProps = {
|
|
16
|
-
[key in keyof HintTextVariant]?: ConditionalValue<HintTextVariant[key]> | undefined
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface HintTextRecipe {
|
|
20
|
-
|
|
21
|
-
__type: HintTextVariantProps
|
|
22
|
-
(props?: HintTextVariantProps): string
|
|
23
|
-
raw: (props?: HintTextVariantProps) => HintTextVariantProps
|
|
24
|
-
variantMap: HintTextVariantMap
|
|
25
|
-
variantKeys: Array<keyof HintTextVariant>
|
|
26
|
-
splitVariantProps<Props extends HintTextVariantProps>(props: Props): [HintTextVariantProps, Pretty<DistributiveOmit<Props, keyof HintTextVariantProps>>]
|
|
27
|
-
getVariantProps: (props?: HintTextVariantProps) => HintTextVariantProps
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
export declare const hintText: HintTextRecipe
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
-
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
-
|
|
4
|
-
const hintTextFn = /* @__PURE__ */ createRecipe('hint-text', {}, [])
|
|
5
|
-
|
|
6
|
-
const hintTextVariantMap = {}
|
|
7
|
-
|
|
8
|
-
const hintTextVariantKeys = Object.keys(hintTextVariantMap)
|
|
9
|
-
|
|
10
|
-
export const hintText = /* @__PURE__ */ Object.assign(memo(hintTextFn.recipeFn), {
|
|
11
|
-
__recipe__: true,
|
|
12
|
-
__name__: 'hintText',
|
|
13
|
-
__getCompoundVariantCss__: hintTextFn.__getCompoundVariantCss__,
|
|
14
|
-
raw: (props) => props,
|
|
15
|
-
variantKeys: hintTextVariantKeys,
|
|
16
|
-
variantMap: hintTextVariantMap,
|
|
17
|
-
merge(recipe) {
|
|
18
|
-
return mergeRecipes(this, recipe)
|
|
19
|
-
},
|
|
20
|
-
splitVariantProps(props) {
|
|
21
|
-
return splitProps(props, hintTextVariantKeys)
|
|
22
|
-
},
|
|
23
|
-
getVariantProps: hintTextFn.getVariantProps,
|
|
24
|
-
})
|