@tokenami/config 0.0.31 → 0.0.32
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.mts +333 -182
- package/dist/index.d.ts +333 -182
- package/dist/index.js +88 -89
- package/dist/index.mjs +88 -89
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,161 +1,191 @@
|
|
|
1
|
+
declare const layers: readonly [["all", "-webkit-line-clamp", "accent-color", "align-tracks", "animation", "appearance", "aspect-ratio", "backdrop-filter", "backface-visibility", "background", "border", "border-collapse", "border-spacing", "border-radius", "box-decoration-break", "box-shadow", "box-sizing", "break-after", "break-before", "break-inside", "caption-side", "clear", "clip-path", "color", "color-scheme", "column-fill", "column-span", "column-rule", "columns", "contain", "contain-intrinsic-size", "container", "content", "content-visibility", "counter-increment", "counter-reset", "counter-set", "cursor", "direction", "display", "empty-cells", "filter", "flex", "flex-flow", "float", "font", "font-feature-settings", "font-kerning", "font-language-override", "font-optical-sizing", "font-palette", "font-size-adjust", "font-synthesis", "font-variation-settings", "forced-color-adjust", "gap", "grid", "grid-area", "grid-column", "grid-row", "grid-template", "hanging-punctuation", "height", "hyphenate-character", "hyphenate-limit-chars", "hyphens", "image-orientation", "image-rendering", "image-resolution", "initial-letter", "input-security", "inset", "isolation", "justify-tracks", "letter-spacing", "line-break", "line-clamp", "line-height-step", "list-style", "margin", "mask", "mask-border", "math-depth", "math-shift", "math-style", "max-height", "max-width", "min-height", "min-width", "mix-blend-mode", "object-fit", "object-position", "offset", "opacity", "order", "orphans", "outline", "overflow", "overscroll-behavior", "padding", "page", "paint-order", "perspective", "perspective-origin", "place-content", "place-items", "place-self", "pointer-events", "position", "print-color-adjust", "quotes", "resize", "rotate", "ruby-position", "scale", "scroll-behavior", "scroll-margin", "scroll-padding", "scroll-snap-align", "scroll-snap-stop", "scroll-snap-type", "scroll-timeline", "scrollbar-color", "scrollbar-gutter", "scrollbar-width", "shape-image-threshold", "shape-margin", "shape-outside", "tab-size", "table-layout", "text-align", "text-align-last", "text-combine-upright", "text-decoration", "text-decoration-skip-ink", "text-emphasis", "text-emphasis-position", "text-indent", "text-justify", "text-orientation", "text-overflow", "text-rendering", "text-shadow", "text-size-adjust", "text-transform", "text-underline-offset", "text-underline-position", "touch-action", "transform", "transform-box", "transform-origin", "transform-style", "transition", "translate", "unicode-bidi", "user-select", "vertical-align", "view-transition-name", "visibility", "white-space", "widows", "width", "will-change", "word-break", "word-spacing", "word-wrap", "writing-mode", "z-index", "zoom"], ["animation-composition", "animation-delay", "animation-direction", "animation-duration", "animation-fill-mode", "animation-iteration-count", "animation-name", "animation-play-state", "animation-timeline", "animation-timing-function", "background-attachment", "background-blend-mode", "background-clip", "background-color", "background-image", "background-origin", "background-position", "background-position-x", "background-position-y", "background-repeat", "background-size", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "caret-color", "caret-shape", "column-rule-color", "column-rule-style", "column-rule-width", "column-count", "column-width", "contain-intrinsic-width", "contain-intrinsic-height", "container-name", "container-type", "flex-grow", "flex-shrink", "flex-basis", "flex-direction", "flex-wrap", "font-style", "font-variant", "font-weight", "font-stretch", "font-size", "font-family", "row-gap", "column-gap", "grid-auto-columns", "grid-auto-flow", "grid-auto-rows", "grid-template-areas", "grid-template-columns", "grid-template-rows", "grid-row-start", "grid-column-start", "grid-row-end", "grid-column-end", "top", "right", "bottom", "left", "line-height", "list-style-image", "list-style-position", "list-style-type", "margin-top", "margin-right", "margin-bottom", "margin-left", "mask-border-mode", "mask-border-outset", "mask-border-repeat", "mask-border-slice", "mask-border-source", "mask-border-width", "mask-clip", "mask-composite", "mask-image", "mask-mode", "mask-origin", "mask-position", "mask-repeat", "mask-size", "mask-type", "offset-anchor", "offset-distance", "offset-path", "offset-position", "offset-rotate", "outline-color", "outline-offset", "outline-style", "outline-width", "overflow-anchor", "overflow-clip-margin", "overflow-wrap", "overflow-x", "overflow-y", "overscroll-behavior-x", "overscroll-behavior-y", "padding-top", "padding-right", "padding-bottom", "padding-left", "align-content", "justify-content", "align-items", "justify-items", "align-self", "justify-self", "scroll-margin-top", "scroll-margin-right", "scroll-margin-bottom", "scroll-margin-left", "scroll-padding-top", "scroll-padding-right", "scroll-padding-bottom", "scroll-padding-left", "scroll-timeline-axis", "scroll-timeline-name", "text-decoration-color", "text-decoration-line", "text-decoration-style", "text-decoration-thickness", "text-emphasis-color", "text-emphasis-style", "transition-delay", "transition-duration", "transition-property", "transition-timing-function"], ["border-style", "border-color", "border-width", "border-image", "font-variant-alternates", "font-variant-caps", "font-variant-east-asian", "font-variant-emoji", "font-variant-ligatures", "font-variant-numeric", "font-variant-position"], ["border-top-color", "border-top-style", "border-top-width", "border-right-color", "border-right-style", "border-right-width", "border-bottom-color", "border-bottom-style", "border-bottom-width", "border-left-color", "border-left-style", "border-left-width", "border-image-outset", "border-image-repeat", "border-image-slice", "border-image-source", "border-image-width"], ["block-size", "border-block", "border-inline", "contain-intrinsic-block-size", "contain-intrinsic-inline-size", "inline-size", "inset-block", "inset-inline", "margin-block", "margin-inline", "max-block-size", "min-block-size", "max-inline-size", "min-inline-size", "overflow-block", "overflow-inline", "overscroll-behavior-block", "overscroll-behavior-inline", "padding-block", "padding-inline", "scroll-margin-block", "scroll-margin-inline", "scroll-padding-block", "scroll-padding-inline"], ["border-block-width", "border-block-style", "border-block-color", "border-block-start", "border-block-end", "border-inline-color", "border-inline-style", "border-inline-width", "border-inline-start", "border-inline-end", "inset-block-end", "inset-block-start", "inset-inline-end", "inset-inline-start", "margin-block-end", "margin-block-start", "margin-inline-end", "margin-inline-start", "padding-block-end", "padding-block-start", "padding-inline-end", "padding-inline-start", "scroll-margin-block-end", "scroll-margin-block-start", "scroll-margin-inline-end", "scroll-margin-inline-start", "scroll-padding-block-end", "scroll-padding-block-start", "scroll-padding-inline-end", "scroll-padding-inline-start"], ["border-start-end-radius", "border-start-start-radius", "border-end-end-radius", "border-end-start-radius", "border-block-start-color", "border-block-start-style", "border-block-start-width", "border-block-end-color", "border-block-end-style", "border-block-end-width", "border-inline-start-color", "border-inline-start-style", "border-inline-start-width", "border-inline-end-color", "border-inline-end-style", "border-inline-end-width"]];
|
|
2
|
+
declare const properties: ("accent-color" | "align-content" | "align-items" | "align-self" | "align-tracks" | "animation-composition" | "animation-delay" | "animation-direction" | "animation-duration" | "animation-fill-mode" | "animation-iteration-count" | "animation-name" | "animation-play-state" | "animation-timeline" | "animation-timing-function" | "appearance" | "aspect-ratio" | "backdrop-filter" | "backface-visibility" | "background-attachment" | "background-blend-mode" | "background-clip" | "background-color" | "background-image" | "background-origin" | "background-position-x" | "background-position-y" | "background-repeat" | "background-size" | "block-size" | "border-block-color" | "border-block-end-color" | "border-block-end-style" | "border-block-end-width" | "border-block-start-color" | "border-block-start-style" | "border-block-start-width" | "border-block-style" | "border-block-width" | "border-bottom-color" | "border-bottom-left-radius" | "border-bottom-right-radius" | "border-bottom-style" | "border-bottom-width" | "border-collapse" | "border-end-end-radius" | "border-end-start-radius" | "border-image-outset" | "border-image-repeat" | "border-image-slice" | "border-image-source" | "border-image-width" | "border-inline-color" | "border-inline-end-color" | "border-inline-end-style" | "border-inline-end-width" | "border-inline-start-color" | "border-inline-start-style" | "border-inline-start-width" | "border-inline-style" | "border-inline-width" | "border-left-color" | "border-left-style" | "border-left-width" | "border-right-color" | "border-right-style" | "border-right-width" | "border-spacing" | "border-start-end-radius" | "border-start-start-radius" | "border-top-color" | "border-top-left-radius" | "border-top-right-radius" | "border-top-style" | "border-top-width" | "bottom" | "box-decoration-break" | "box-shadow" | "box-sizing" | "break-after" | "break-before" | "break-inside" | "caption-side" | "caret-color" | "caret-shape" | "clear" | "clip-path" | "color" | "color-scheme" | "column-count" | "column-fill" | "column-gap" | "column-rule-color" | "column-rule-style" | "column-rule-width" | "column-span" | "column-width" | "contain" | "contain-intrinsic-block-size" | "contain-intrinsic-height" | "contain-intrinsic-inline-size" | "contain-intrinsic-width" | "container-name" | "container-type" | "content" | "content-visibility" | "counter-increment" | "counter-reset" | "counter-set" | "cursor" | "direction" | "display" | "empty-cells" | "filter" | "flex-basis" | "flex-direction" | "flex-grow" | "flex-shrink" | "flex-wrap" | "float" | "font-family" | "font-feature-settings" | "font-kerning" | "font-language-override" | "font-optical-sizing" | "font-palette" | "font-size" | "font-size-adjust" | "font-stretch" | "font-style" | "font-synthesis" | "font-variant" | "font-variant-alternates" | "font-variant-caps" | "font-variant-east-asian" | "font-variant-emoji" | "font-variant-ligatures" | "font-variant-numeric" | "font-variant-position" | "font-variation-settings" | "font-weight" | "forced-color-adjust" | "grid-auto-columns" | "grid-auto-flow" | "grid-auto-rows" | "grid-column-end" | "grid-column-start" | "grid-row-end" | "grid-row-start" | "grid-template-areas" | "grid-template-columns" | "grid-template-rows" | "hanging-punctuation" | "height" | "hyphenate-character" | "hyphenate-limit-chars" | "hyphens" | "image-orientation" | "image-rendering" | "image-resolution" | "initial-letter" | "inline-size" | "input-security" | "inset-block-end" | "inset-block-start" | "inset-inline-end" | "inset-inline-start" | "isolation" | "justify-content" | "justify-items" | "justify-self" | "justify-tracks" | "left" | "letter-spacing" | "line-break" | "line-height" | "line-height-step" | "list-style-image" | "list-style-position" | "list-style-type" | "margin-block-end" | "margin-block-start" | "margin-bottom" | "margin-inline-end" | "margin-inline-start" | "margin-left" | "margin-right" | "margin-top" | "mask-border-mode" | "mask-border-outset" | "mask-border-repeat" | "mask-border-slice" | "mask-border-source" | "mask-border-width" | "mask-clip" | "mask-composite" | "mask-image" | "mask-mode" | "mask-origin" | "mask-position" | "mask-repeat" | "mask-size" | "mask-type" | "math-depth" | "math-shift" | "math-style" | "max-block-size" | "max-height" | "max-inline-size" | "max-width" | "min-block-size" | "min-height" | "min-inline-size" | "min-width" | "mix-blend-mode" | "object-fit" | "object-position" | "offset-anchor" | "offset-distance" | "offset-path" | "offset-position" | "offset-rotate" | "opacity" | "order" | "orphans" | "outline-color" | "outline-offset" | "outline-style" | "outline-width" | "overflow-anchor" | "overflow-block" | "overflow-clip-margin" | "overflow-inline" | "overflow-wrap" | "overflow-x" | "overflow-y" | "overscroll-behavior-block" | "overscroll-behavior-inline" | "overscroll-behavior-x" | "overscroll-behavior-y" | "padding-block-end" | "padding-block-start" | "padding-bottom" | "padding-inline-end" | "padding-inline-start" | "padding-left" | "padding-right" | "padding-top" | "page" | "paint-order" | "perspective" | "perspective-origin" | "pointer-events" | "position" | "print-color-adjust" | "quotes" | "resize" | "right" | "rotate" | "row-gap" | "ruby-position" | "scale" | "scroll-behavior" | "scroll-margin-block-end" | "scroll-margin-block-start" | "scroll-margin-bottom" | "scroll-margin-inline-end" | "scroll-margin-inline-start" | "scroll-margin-left" | "scroll-margin-right" | "scroll-margin-top" | "scroll-padding-block-end" | "scroll-padding-block-start" | "scroll-padding-bottom" | "scroll-padding-inline-end" | "scroll-padding-inline-start" | "scroll-padding-left" | "scroll-padding-right" | "scroll-padding-top" | "scroll-snap-align" | "scroll-snap-stop" | "scroll-snap-type" | "scroll-timeline-axis" | "scroll-timeline-name" | "scrollbar-color" | "scrollbar-gutter" | "scrollbar-width" | "shape-image-threshold" | "shape-margin" | "shape-outside" | "tab-size" | "table-layout" | "text-align" | "text-align-last" | "text-combine-upright" | "text-decoration-color" | "text-decoration-line" | "text-decoration-skip-ink" | "text-decoration-style" | "text-decoration-thickness" | "text-emphasis-color" | "text-emphasis-position" | "text-emphasis-style" | "text-indent" | "text-justify" | "text-orientation" | "text-overflow" | "text-rendering" | "text-shadow" | "text-size-adjust" | "text-transform" | "text-underline-offset" | "text-underline-position" | "top" | "touch-action" | "transform" | "transform-box" | "transform-origin" | "transform-style" | "transition-delay" | "transition-duration" | "transition-property" | "transition-timing-function" | "translate" | "unicode-bidi" | "user-select" | "vertical-align" | "view-transition-name" | "visibility" | "white-space" | "widows" | "width" | "will-change" | "word-break" | "word-spacing" | "word-wrap" | "writing-mode" | "z-index" | "zoom" | "all" | "animation" | "background" | "background-position" | "border" | "border-block" | "border-block-end" | "border-block-start" | "border-bottom" | "border-color" | "border-image" | "border-inline" | "border-inline-end" | "border-inline-start" | "border-left" | "border-radius" | "border-right" | "border-style" | "border-top" | "border-width" | "column-rule" | "columns" | "contain-intrinsic-size" | "container" | "flex" | "flex-flow" | "font" | "gap" | "grid" | "grid-area" | "grid-column" | "grid-row" | "grid-template" | "inset" | "inset-block" | "inset-inline" | "line-clamp" | "list-style" | "margin" | "margin-block" | "margin-inline" | "mask" | "mask-border" | "offset" | "outline" | "overflow" | "overscroll-behavior" | "padding" | "padding-block" | "padding-inline" | "place-content" | "place-items" | "place-self" | "scroll-margin" | "scroll-margin-block" | "scroll-margin-inline" | "scroll-padding" | "scroll-padding-block" | "scroll-padding-inline" | "scroll-timeline" | "text-decoration" | "text-emphasis" | "transition" | "-webkit-line-clamp")[];
|
|
3
|
+
type CSSProperty = (typeof properties)[number];
|
|
4
|
+
|
|
5
|
+
type DeepReadonly<T> = T extends any[] ? T : {
|
|
6
|
+
readonly [P in keyof T]: DeepReadonly<T[P]>;
|
|
7
|
+
};
|
|
8
|
+
type ThemeKey = 'alpha' | 'border' | 'color' | 'ease' | 'font-size' | 'leading' | 'line-style' | 'radii' | 'size' | 'shadow' | 'tracking' | 'transition' | 'weight' | 'z' | (string & {});
|
|
9
|
+
type ThemeValues = Record<string, string>;
|
|
10
|
+
type Theme = Partial<Record<ThemeKey, ThemeValues>>;
|
|
11
|
+
type Aliases = Record<string, readonly CSSProperty[]>;
|
|
12
|
+
type PropertiesOptions = readonly ('grid' | ThemeKey)[];
|
|
13
|
+
interface Config extends DeepReadonly<{
|
|
14
|
+
include: string[];
|
|
15
|
+
exclude?: string[];
|
|
16
|
+
grid?: string;
|
|
17
|
+
responsive?: {
|
|
18
|
+
[atRule: string]: string;
|
|
19
|
+
};
|
|
20
|
+
selectors?: {
|
|
21
|
+
[name: string]: string | string[];
|
|
22
|
+
};
|
|
23
|
+
keyframes?: {
|
|
24
|
+
[name: string]: {
|
|
25
|
+
[step: string]: {
|
|
26
|
+
[cssProperty: string]: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
aliases?: Aliases;
|
|
31
|
+
theme: Theme;
|
|
32
|
+
properties?: Partial<Record<CSSProperty, PropertiesOptions>>;
|
|
33
|
+
}> {
|
|
34
|
+
}
|
|
1
35
|
declare const defaultConfig: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
36
|
+
include: never[];
|
|
37
|
+
grid: string;
|
|
38
|
+
responsive: {};
|
|
39
|
+
theme: {};
|
|
40
|
+
aliases: {};
|
|
41
|
+
selectors: {
|
|
42
|
+
after: string;
|
|
43
|
+
before: string;
|
|
44
|
+
even: string;
|
|
45
|
+
odd: string;
|
|
46
|
+
'first-child': string;
|
|
47
|
+
'last-child': string;
|
|
48
|
+
placeholder: string;
|
|
49
|
+
hover: string;
|
|
50
|
+
focus: string;
|
|
51
|
+
'focus-visible': string;
|
|
52
|
+
'focus-within': string;
|
|
53
|
+
active: string;
|
|
54
|
+
disabled: string;
|
|
21
55
|
};
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
56
|
+
properties: {
|
|
57
|
+
'accent-color': "color"[];
|
|
58
|
+
animation: "anim"[];
|
|
59
|
+
'animation-timing-function': "ease"[];
|
|
60
|
+
background: ("color" | "surface")[];
|
|
61
|
+
'background-color': "color"[];
|
|
62
|
+
'background-image': "surface"[];
|
|
63
|
+
'background-position': "grid"[];
|
|
64
|
+
'background-position-x': "grid"[];
|
|
65
|
+
'background-position-y': "grid"[];
|
|
66
|
+
'block-size': ("grid" | "size")[];
|
|
67
|
+
border: "border"[];
|
|
68
|
+
'border-block': "border"[];
|
|
69
|
+
'border-block-color': "color"[];
|
|
70
|
+
'border-block-end': "border"[];
|
|
71
|
+
'border-block-end-color': "color"[];
|
|
72
|
+
'border-block-end-style': "line-style"[];
|
|
73
|
+
'border-block-start': "border"[];
|
|
74
|
+
'border-block-start-color': "color"[];
|
|
75
|
+
'border-block-start-style': "line-style"[];
|
|
76
|
+
'border-block-style': "line-style"[];
|
|
77
|
+
'border-bottom': "border"[];
|
|
78
|
+
'border-bottom-color': "color"[];
|
|
79
|
+
'border-bottom-left-radius': "radii"[];
|
|
80
|
+
'border-bottom-right-radius': "radii"[];
|
|
81
|
+
'border-bottom-style': "line-style"[];
|
|
82
|
+
'border-color': "color"[];
|
|
83
|
+
'border-end-end-radius': "radii"[];
|
|
84
|
+
'border-end-start-radius': "radii"[];
|
|
85
|
+
'border-inline': "border"[];
|
|
86
|
+
'border-inline-color': "color"[];
|
|
87
|
+
'border-inline-end': "border"[];
|
|
88
|
+
'border-inline-end-color': "color"[];
|
|
89
|
+
'border-inline-end-style': "line-style"[];
|
|
90
|
+
'border-inline-start': "border"[];
|
|
91
|
+
'border-inline-start-color': "color"[];
|
|
92
|
+
'border-inline-start-style': "line-style"[];
|
|
93
|
+
'border-inline-style': "line-style"[];
|
|
94
|
+
'border-left': "border"[];
|
|
95
|
+
'border-left-color': "color"[];
|
|
96
|
+
'border-left-style': "line-style"[];
|
|
97
|
+
'border-radius': "radii"[];
|
|
98
|
+
'border-right': "border"[];
|
|
99
|
+
'border-right-color': "color"[];
|
|
100
|
+
'border-right-style': "line-style"[];
|
|
101
|
+
'border-start-end-radius': "radii"[];
|
|
102
|
+
'border-start-start-radius': "radii"[];
|
|
103
|
+
'border-style': "line-style"[];
|
|
104
|
+
'border-top': "border"[];
|
|
105
|
+
'border-top-color': "color"[];
|
|
106
|
+
'border-top-left-radius': "radii"[];
|
|
107
|
+
'border-top-right-radius': "radii"[];
|
|
108
|
+
'border-top-style': "line-style"[];
|
|
109
|
+
bottom: "grid"[];
|
|
110
|
+
'box-shadow': "shadow"[];
|
|
111
|
+
'caret-color': "color"[];
|
|
112
|
+
color: "color"[];
|
|
113
|
+
'column-gap': "grid"[];
|
|
114
|
+
'column-rule-color': "color"[];
|
|
115
|
+
'column-rule-width': "grid"[];
|
|
116
|
+
'column-width': ("grid" | "size")[];
|
|
117
|
+
'flex-basis': ("grid" | "size")[];
|
|
118
|
+
'font-family': "font"[];
|
|
119
|
+
'font-size': "font-size"[];
|
|
120
|
+
'font-weight': "weight"[];
|
|
121
|
+
gap: "grid"[];
|
|
122
|
+
height: ("grid" | "size")[];
|
|
123
|
+
'inline-size': ("grid" | "size")[];
|
|
124
|
+
inset: "grid"[];
|
|
125
|
+
'inset-block': "grid"[];
|
|
126
|
+
'inset-block-end': "grid"[];
|
|
127
|
+
'inset-block-start': "grid"[];
|
|
128
|
+
'inset-inline': "grid"[];
|
|
129
|
+
'inset-inline-end': "grid"[];
|
|
130
|
+
'inset-inline-start': "grid"[];
|
|
131
|
+
left: "grid"[];
|
|
132
|
+
'letter-spacing': "tracking"[];
|
|
133
|
+
'line-height': "leading"[];
|
|
134
|
+
margin: "grid"[];
|
|
135
|
+
'margin-block': "grid"[];
|
|
136
|
+
'margin-block-end': "grid"[];
|
|
137
|
+
'margin-block-start': "grid"[];
|
|
138
|
+
'margin-bottom': "grid"[];
|
|
139
|
+
'margin-inline': "grid"[];
|
|
140
|
+
'margin-inline-end': "grid"[];
|
|
141
|
+
'margin-inline-start': "grid"[];
|
|
142
|
+
'margin-left': "grid"[];
|
|
143
|
+
'margin-right': "grid"[];
|
|
144
|
+
'margin-top': "grid"[];
|
|
145
|
+
'max-block-size': ("grid" | "size")[];
|
|
146
|
+
'max-height': ("grid" | "size")[];
|
|
147
|
+
'max-inline-size': ("grid" | "size")[];
|
|
148
|
+
'max-width': ("grid" | "size")[];
|
|
149
|
+
'min-block-size': ("grid" | "size")[];
|
|
150
|
+
'min-height': ("grid" | "size")[];
|
|
151
|
+
'min-inline-size': ("grid" | "size")[];
|
|
152
|
+
'min-width': ("grid" | "size")[];
|
|
153
|
+
opacity: "alpha"[];
|
|
154
|
+
'outline-color': "color"[];
|
|
155
|
+
padding: "grid"[];
|
|
156
|
+
'padding-block': "grid"[];
|
|
157
|
+
'padding-block-end': "grid"[];
|
|
158
|
+
'padding-block-start': "grid"[];
|
|
159
|
+
'padding-bottom': "grid"[];
|
|
160
|
+
'padding-inline': "grid"[];
|
|
161
|
+
'padding-inline-end': "grid"[];
|
|
162
|
+
'padding-inline-start': "grid"[];
|
|
163
|
+
'padding-left': "grid"[];
|
|
164
|
+
'padding-right': "grid"[];
|
|
165
|
+
'padding-top': "grid"[];
|
|
166
|
+
right: "grid"[];
|
|
167
|
+
'row-gap': "grid"[];
|
|
168
|
+
'scroll-margin': "grid"[];
|
|
169
|
+
'scroll-margin-bottom': "grid"[];
|
|
170
|
+
'scroll-margin-left': "grid"[];
|
|
171
|
+
'scroll-margin-right': "grid"[];
|
|
172
|
+
'scroll-margin-top': "grid"[];
|
|
173
|
+
'scroll-padding': "grid"[];
|
|
174
|
+
'scroll-padding-bottom': "grid"[];
|
|
175
|
+
'scroll-padding-left': "grid"[];
|
|
176
|
+
'scroll-padding-right': "grid"[];
|
|
177
|
+
'scroll-padding-top': "grid"[];
|
|
178
|
+
'text-decoration-color': "color"[];
|
|
179
|
+
'text-shadow': "shadow"[];
|
|
180
|
+
top: "grid"[];
|
|
181
|
+
transition: "transition"[];
|
|
182
|
+
'transition-timing-function': "ease"[];
|
|
183
|
+
width: ("grid" | "size")[];
|
|
184
|
+
'z-index': "z"[];
|
|
151
185
|
};
|
|
152
186
|
};
|
|
153
187
|
type DefaultConfig = typeof defaultConfig;
|
|
154
188
|
|
|
155
|
-
declare const layers: readonly [["all", "-webkit-line-clamp", "accent-color", "align-tracks", "animation", "appearance", "aspect-ratio", "backdrop-filter", "backface-visibility", "background", "border", "border-collapse", "border-spacing", "border-radius", "box-decoration-break", "box-shadow", "box-sizing", "break-after", "break-before", "break-inside", "caption-side", "clear", "clip-path", "color", "color-scheme", "column-fill", "column-span", "column-rule", "columns", "contain", "contain-intrinsic-size", "container", "content", "content-visibility", "counter-increment", "counter-reset", "counter-set", "cursor", "direction", "display", "empty-cells", "filter", "flex", "flex-flow", "float", "font", "font-feature-settings", "font-kerning", "font-language-override", "font-optical-sizing", "font-palette", "font-size-adjust", "font-synthesis", "font-variation-settings", "forced-color-adjust", "gap", "grid", "grid-area", "grid-column", "grid-row", "grid-template", "hanging-punctuation", "height", "hyphenate-character", "hyphenate-limit-chars", "hyphens", "image-orientation", "image-rendering", "image-resolution", "initial-letter", "input-security", "inset", "isolation", "justify-tracks", "letter-spacing", "line-break", "line-clamp", "line-height-step", "list-style", "margin", "mask", "mask-border", "math-depth", "math-shift", "math-style", "max-height", "max-width", "min-height", "min-width", "mix-blend-mode", "object-fit", "object-position", "offset", "opacity", "order", "orphans", "outline", "overflow", "overscroll-behavior", "padding", "page", "paint-order", "perspective", "perspective-origin", "place-content", "place-items", "place-self", "pointer-events", "position", "print-color-adjust", "quotes", "resize", "rotate", "ruby-position", "scale", "scroll-behavior", "scroll-margin", "scroll-padding", "scroll-snap-align", "scroll-snap-stop", "scroll-snap-type", "scroll-timeline", "scrollbar-color", "scrollbar-gutter", "scrollbar-width", "shape-image-threshold", "shape-margin", "shape-outside", "tab-size", "table-layout", "text-align", "text-align-last", "text-combine-upright", "text-decoration", "text-decoration-skip-ink", "text-emphasis", "text-emphasis-position", "text-indent", "text-justify", "text-orientation", "text-overflow", "text-rendering", "text-shadow", "text-size-adjust", "text-transform", "text-underline-offset", "text-underline-position", "touch-action", "transform", "transform-box", "transform-origin", "transform-style", "transition", "translate", "unicode-bidi", "user-select", "vertical-align", "view-transition-name", "visibility", "white-space", "widows", "width", "will-change", "word-break", "word-spacing", "word-wrap", "writing-mode", "z-index", "zoom"], ["animation-composition", "animation-delay", "animation-direction", "animation-duration", "animation-fill-mode", "animation-iteration-count", "animation-name", "animation-play-state", "animation-timeline", "animation-timing-function", "background-attachment", "background-blend-mode", "background-clip", "background-color", "background-image", "background-origin", "background-position", "background-position-x", "background-position-y", "background-repeat", "background-size", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "caret-color", "caret-shape", "column-rule-color", "column-rule-style", "column-rule-width", "column-count", "column-width", "contain-intrinsic-width", "contain-intrinsic-height", "container-name", "container-type", "flex-grow", "flex-shrink", "flex-basis", "flex-direction", "flex-wrap", "font-style", "font-variant", "font-weight", "font-stretch", "font-size", "font-family", "row-gap", "column-gap", "grid-auto-columns", "grid-auto-flow", "grid-auto-rows", "grid-template-areas", "grid-template-columns", "grid-template-rows", "grid-row-start", "grid-column-start", "grid-row-end", "grid-column-end", "top", "right", "bottom", "left", "line-height", "list-style-image", "list-style-position", "list-style-type", "margin-top", "margin-right", "margin-bottom", "margin-left", "mask-border-mode", "mask-border-outset", "mask-border-repeat", "mask-border-slice", "mask-border-source", "mask-border-width", "mask-clip", "mask-composite", "mask-image", "mask-mode", "mask-origin", "mask-position", "mask-repeat", "mask-size", "mask-type", "offset-anchor", "offset-distance", "offset-path", "offset-position", "offset-rotate", "outline-color", "outline-offset", "outline-style", "outline-width", "overflow-anchor", "overflow-clip-margin", "overflow-wrap", "overflow-x", "overflow-y", "overscroll-behavior-x", "overscroll-behavior-y", "padding-top", "padding-right", "padding-bottom", "padding-left", "align-content", "justify-content", "align-items", "justify-items", "align-self", "justify-self", "scroll-margin-top", "scroll-margin-right", "scroll-margin-bottom", "scroll-margin-left", "scroll-padding-top", "scroll-padding-right", "scroll-padding-bottom", "scroll-padding-left", "scroll-timeline-axis", "scroll-timeline-name", "text-decoration-color", "text-decoration-line", "text-decoration-style", "text-decoration-thickness", "text-emphasis-color", "text-emphasis-style", "transition-delay", "transition-duration", "transition-property", "transition-timing-function"], ["border-style", "border-color", "border-width", "border-image", "font-variant-alternates", "font-variant-caps", "font-variant-east-asian", "font-variant-emoji", "font-variant-ligatures", "font-variant-numeric", "font-variant-position"], ["border-top-color", "border-top-style", "border-top-width", "border-right-color", "border-right-style", "border-right-width", "border-bottom-color", "border-bottom-style", "border-bottom-width", "border-left-color", "border-left-style", "border-left-width", "border-image-outset", "border-image-repeat", "border-image-slice", "border-image-source", "border-image-width"], ["block-size", "border-block", "border-inline", "contain-intrinsic-block-size", "contain-intrinsic-inline-size", "inline-size", "inset-block", "inset-inline", "margin-block", "margin-inline", "max-block-size", "min-block-size", "max-inline-size", "min-inline-size", "overflow-block", "overflow-inline", "overscroll-behavior-block", "overscroll-behavior-inline", "padding-block", "padding-inline", "scroll-margin-block", "scroll-margin-inline", "scroll-padding-block", "scroll-padding-inline"], ["border-block-width", "border-block-style", "border-block-color", "border-block-start", "border-block-end", "border-inline-color", "border-inline-style", "border-inline-width", "border-inline-start", "border-inline-end", "inset-block-end", "inset-block-start", "inset-inline-end", "inset-inline-start", "margin-block-end", "margin-block-start", "margin-inline-end", "margin-inline-start", "padding-block-end", "padding-block-start", "padding-inline-end", "padding-inline-start", "scroll-margin-block-end", "scroll-margin-block-start", "scroll-margin-inline-end", "scroll-margin-inline-start", "scroll-padding-block-end", "scroll-padding-block-start", "scroll-padding-inline-end", "scroll-padding-inline-start"], ["border-start-end-radius", "border-start-start-radius", "border-end-end-radius", "border-end-start-radius", "border-block-start-color", "border-block-start-style", "border-block-start-width", "border-block-end-color", "border-block-end-style", "border-block-end-width", "border-inline-start-color", "border-inline-start-style", "border-inline-start-width", "border-inline-end-color", "border-inline-end-style", "border-inline-end-width"]];
|
|
156
|
-
declare const properties: ("accent-color" | "align-content" | "align-items" | "align-self" | "align-tracks" | "animation-composition" | "animation-delay" | "animation-direction" | "animation-duration" | "animation-fill-mode" | "animation-iteration-count" | "animation-name" | "animation-play-state" | "animation-timeline" | "animation-timing-function" | "appearance" | "aspect-ratio" | "backdrop-filter" | "backface-visibility" | "background-attachment" | "background-blend-mode" | "background-clip" | "background-color" | "background-image" | "background-origin" | "background-position-x" | "background-position-y" | "background-repeat" | "background-size" | "block-size" | "border-block-color" | "border-block-end-color" | "border-block-end-style" | "border-block-end-width" | "border-block-start-color" | "border-block-start-style" | "border-block-start-width" | "border-block-style" | "border-block-width" | "border-bottom-color" | "border-bottom-left-radius" | "border-bottom-right-radius" | "border-bottom-style" | "border-bottom-width" | "border-collapse" | "border-end-end-radius" | "border-end-start-radius" | "border-image-outset" | "border-image-repeat" | "border-image-slice" | "border-image-source" | "border-image-width" | "border-inline-color" | "border-inline-end-color" | "border-inline-end-style" | "border-inline-end-width" | "border-inline-start-color" | "border-inline-start-style" | "border-inline-start-width" | "border-inline-style" | "border-inline-width" | "border-left-color" | "border-left-style" | "border-left-width" | "border-right-color" | "border-right-style" | "border-right-width" | "border-spacing" | "border-start-end-radius" | "border-start-start-radius" | "border-top-color" | "border-top-left-radius" | "border-top-right-radius" | "border-top-style" | "border-top-width" | "bottom" | "box-decoration-break" | "box-shadow" | "box-sizing" | "break-after" | "break-before" | "break-inside" | "caption-side" | "caret-color" | "caret-shape" | "clear" | "clip-path" | "color" | "color-scheme" | "column-count" | "column-fill" | "column-gap" | "column-rule-color" | "column-rule-style" | "column-rule-width" | "column-span" | "column-width" | "contain" | "contain-intrinsic-block-size" | "contain-intrinsic-height" | "contain-intrinsic-inline-size" | "contain-intrinsic-width" | "container-name" | "container-type" | "content" | "content-visibility" | "counter-increment" | "counter-reset" | "counter-set" | "cursor" | "direction" | "display" | "empty-cells" | "filter" | "flex-basis" | "flex-direction" | "flex-grow" | "flex-shrink" | "flex-wrap" | "float" | "font-family" | "font-feature-settings" | "font-kerning" | "font-language-override" | "font-optical-sizing" | "font-palette" | "font-size" | "font-size-adjust" | "font-stretch" | "font-style" | "font-synthesis" | "font-variant" | "font-variant-alternates" | "font-variant-caps" | "font-variant-east-asian" | "font-variant-emoji" | "font-variant-ligatures" | "font-variant-numeric" | "font-variant-position" | "font-variation-settings" | "font-weight" | "forced-color-adjust" | "grid-auto-columns" | "grid-auto-flow" | "grid-auto-rows" | "grid-column-end" | "grid-column-start" | "grid-row-end" | "grid-row-start" | "grid-template-areas" | "grid-template-columns" | "grid-template-rows" | "hanging-punctuation" | "height" | "hyphenate-character" | "hyphenate-limit-chars" | "hyphens" | "image-orientation" | "image-rendering" | "image-resolution" | "initial-letter" | "inline-size" | "input-security" | "inset-block-end" | "inset-block-start" | "inset-inline-end" | "inset-inline-start" | "isolation" | "justify-content" | "justify-items" | "justify-self" | "justify-tracks" | "left" | "letter-spacing" | "line-break" | "line-height" | "line-height-step" | "list-style-image" | "list-style-position" | "list-style-type" | "margin-block-end" | "margin-block-start" | "margin-bottom" | "margin-inline-end" | "margin-inline-start" | "margin-left" | "margin-right" | "margin-top" | "mask-border-mode" | "mask-border-outset" | "mask-border-repeat" | "mask-border-slice" | "mask-border-source" | "mask-border-width" | "mask-clip" | "mask-composite" | "mask-image" | "mask-mode" | "mask-origin" | "mask-position" | "mask-repeat" | "mask-size" | "mask-type" | "math-depth" | "math-shift" | "math-style" | "max-block-size" | "max-height" | "max-inline-size" | "max-width" | "min-block-size" | "min-height" | "min-inline-size" | "min-width" | "mix-blend-mode" | "object-fit" | "object-position" | "offset-anchor" | "offset-distance" | "offset-path" | "offset-position" | "offset-rotate" | "opacity" | "order" | "orphans" | "outline-color" | "outline-offset" | "outline-style" | "outline-width" | "overflow-anchor" | "overflow-block" | "overflow-clip-margin" | "overflow-inline" | "overflow-wrap" | "overflow-x" | "overflow-y" | "overscroll-behavior-block" | "overscroll-behavior-inline" | "overscroll-behavior-x" | "overscroll-behavior-y" | "padding-block-end" | "padding-block-start" | "padding-bottom" | "padding-inline-end" | "padding-inline-start" | "padding-left" | "padding-right" | "padding-top" | "page" | "paint-order" | "perspective" | "perspective-origin" | "pointer-events" | "position" | "print-color-adjust" | "quotes" | "resize" | "right" | "rotate" | "row-gap" | "ruby-position" | "scale" | "scroll-behavior" | "scroll-margin-block-end" | "scroll-margin-block-start" | "scroll-margin-bottom" | "scroll-margin-inline-end" | "scroll-margin-inline-start" | "scroll-margin-left" | "scroll-margin-right" | "scroll-margin-top" | "scroll-padding-block-end" | "scroll-padding-block-start" | "scroll-padding-bottom" | "scroll-padding-inline-end" | "scroll-padding-inline-start" | "scroll-padding-left" | "scroll-padding-right" | "scroll-padding-top" | "scroll-snap-align" | "scroll-snap-stop" | "scroll-snap-type" | "scroll-timeline-axis" | "scroll-timeline-name" | "scrollbar-color" | "scrollbar-gutter" | "scrollbar-width" | "shape-image-threshold" | "shape-margin" | "shape-outside" | "tab-size" | "table-layout" | "text-align" | "text-align-last" | "text-combine-upright" | "text-decoration-color" | "text-decoration-line" | "text-decoration-skip-ink" | "text-decoration-style" | "text-decoration-thickness" | "text-emphasis-color" | "text-emphasis-position" | "text-emphasis-style" | "text-indent" | "text-justify" | "text-orientation" | "text-overflow" | "text-rendering" | "text-shadow" | "text-size-adjust" | "text-transform" | "text-underline-offset" | "text-underline-position" | "top" | "touch-action" | "transform" | "transform-box" | "transform-origin" | "transform-style" | "transition-delay" | "transition-duration" | "transition-property" | "transition-timing-function" | "translate" | "unicode-bidi" | "user-select" | "vertical-align" | "view-transition-name" | "visibility" | "white-space" | "widows" | "width" | "will-change" | "word-break" | "word-spacing" | "word-wrap" | "writing-mode" | "z-index" | "zoom" | "all" | "animation" | "background" | "background-position" | "border" | "border-block" | "border-block-end" | "border-block-start" | "border-bottom" | "border-color" | "border-image" | "border-inline" | "border-inline-end" | "border-inline-start" | "border-left" | "border-radius" | "border-right" | "border-style" | "border-top" | "border-width" | "column-rule" | "columns" | "contain-intrinsic-size" | "container" | "flex" | "flex-flow" | "font" | "gap" | "grid" | "grid-area" | "grid-column" | "grid-row" | "grid-template" | "inset" | "inset-block" | "inset-inline" | "line-clamp" | "list-style" | "margin" | "margin-block" | "margin-inline" | "mask" | "mask-border" | "offset" | "outline" | "overflow" | "overscroll-behavior" | "padding" | "padding-block" | "padding-inline" | "place-content" | "place-items" | "place-self" | "scroll-margin" | "scroll-margin-block" | "scroll-margin-inline" | "scroll-padding" | "scroll-padding-block" | "scroll-padding-inline" | "scroll-timeline" | "text-decoration" | "text-emphasis" | "transition" | "-webkit-line-clamp")[];
|
|
157
|
-
type CSSProperty = (typeof properties)[number];
|
|
158
|
-
|
|
159
189
|
type GridProperty = '--_grid';
|
|
160
190
|
declare const GridProperty: {
|
|
161
191
|
safeParse: (input: unknown) => Validated<"--_grid">;
|
|
@@ -191,38 +221,159 @@ type Validated<T> = {
|
|
|
191
221
|
} | {
|
|
192
222
|
success: false;
|
|
193
223
|
};
|
|
194
|
-
type ThemeKey = 'alpha' | 'border' | 'color' | 'ease' | 'font-size' | 'leading' | 'line-style' | 'radii' | 'size' | 'shadow' | 'tracking' | 'transition' | 'weight' | 'z' | (string & {});
|
|
195
|
-
type ThemeValues = Record<string, string>;
|
|
196
|
-
type Theme = Partial<Record<ThemeKey, ThemeValues>>;
|
|
197
|
-
type Aliases = Record<string, readonly CSSProperty[]>;
|
|
198
|
-
type PropertiesOptions = readonly ('grid' | ThemeKey)[];
|
|
199
|
-
type DeepReadonly<T> = {
|
|
200
|
-
readonly [K in keyof T]: T[K] extends object ? DeepReadonly<T[K]> : T[K];
|
|
201
|
-
};
|
|
202
224
|
type Exact<T, V extends T> = Exclude<keyof V, keyof T> extends never ? V : T;
|
|
203
|
-
|
|
204
|
-
include:
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
225
|
+
declare function createConfig<T extends Config>(obj: Exact<Config, T>): Omit<{
|
|
226
|
+
include: never[];
|
|
227
|
+
grid: string;
|
|
228
|
+
responsive: {};
|
|
229
|
+
theme: {};
|
|
230
|
+
aliases: {};
|
|
231
|
+
selectors: {
|
|
232
|
+
after: string;
|
|
233
|
+
before: string;
|
|
234
|
+
even: string;
|
|
235
|
+
odd: string;
|
|
236
|
+
'first-child': string;
|
|
237
|
+
'last-child': string;
|
|
238
|
+
placeholder: string;
|
|
239
|
+
hover: string;
|
|
240
|
+
focus: string;
|
|
241
|
+
'focus-visible': string;
|
|
242
|
+
'focus-within': string;
|
|
243
|
+
active: string;
|
|
244
|
+
disabled: string;
|
|
209
245
|
};
|
|
210
|
-
|
|
211
|
-
|
|
246
|
+
properties: {
|
|
247
|
+
'accent-color': "color"[];
|
|
248
|
+
animation: "anim"[];
|
|
249
|
+
'animation-timing-function': "ease"[];
|
|
250
|
+
background: ("color" | "surface")[];
|
|
251
|
+
'background-color': "color"[];
|
|
252
|
+
'background-image': "surface"[];
|
|
253
|
+
'background-position': "grid"[];
|
|
254
|
+
'background-position-x': "grid"[];
|
|
255
|
+
'background-position-y': "grid"[];
|
|
256
|
+
'block-size': ("grid" | "size")[];
|
|
257
|
+
border: "border"[];
|
|
258
|
+
'border-block': "border"[];
|
|
259
|
+
'border-block-color': "color"[];
|
|
260
|
+
'border-block-end': "border"[];
|
|
261
|
+
'border-block-end-color': "color"[];
|
|
262
|
+
'border-block-end-style': "line-style"[];
|
|
263
|
+
'border-block-start': "border"[];
|
|
264
|
+
'border-block-start-color': "color"[];
|
|
265
|
+
'border-block-start-style': "line-style"[];
|
|
266
|
+
'border-block-style': "line-style"[];
|
|
267
|
+
'border-bottom': "border"[];
|
|
268
|
+
'border-bottom-color': "color"[];
|
|
269
|
+
'border-bottom-left-radius': "radii"[];
|
|
270
|
+
'border-bottom-right-radius': "radii"[];
|
|
271
|
+
'border-bottom-style': "line-style"[];
|
|
272
|
+
'border-color': "color"[];
|
|
273
|
+
'border-end-end-radius': "radii"[];
|
|
274
|
+
'border-end-start-radius': "radii"[];
|
|
275
|
+
'border-inline': "border"[];
|
|
276
|
+
'border-inline-color': "color"[];
|
|
277
|
+
'border-inline-end': "border"[];
|
|
278
|
+
'border-inline-end-color': "color"[];
|
|
279
|
+
'border-inline-end-style': "line-style"[];
|
|
280
|
+
'border-inline-start': "border"[];
|
|
281
|
+
'border-inline-start-color': "color"[];
|
|
282
|
+
'border-inline-start-style': "line-style"[];
|
|
283
|
+
'border-inline-style': "line-style"[];
|
|
284
|
+
'border-left': "border"[];
|
|
285
|
+
'border-left-color': "color"[];
|
|
286
|
+
'border-left-style': "line-style"[];
|
|
287
|
+
'border-radius': "radii"[];
|
|
288
|
+
'border-right': "border"[];
|
|
289
|
+
'border-right-color': "color"[];
|
|
290
|
+
'border-right-style': "line-style"[];
|
|
291
|
+
'border-start-end-radius': "radii"[];
|
|
292
|
+
'border-start-start-radius': "radii"[];
|
|
293
|
+
'border-style': "line-style"[];
|
|
294
|
+
'border-top': "border"[];
|
|
295
|
+
'border-top-color': "color"[];
|
|
296
|
+
'border-top-left-radius': "radii"[];
|
|
297
|
+
'border-top-right-radius': "radii"[];
|
|
298
|
+
'border-top-style': "line-style"[];
|
|
299
|
+
bottom: "grid"[];
|
|
300
|
+
'box-shadow': "shadow"[];
|
|
301
|
+
'caret-color': "color"[];
|
|
302
|
+
color: "color"[];
|
|
303
|
+
'column-gap': "grid"[];
|
|
304
|
+
'column-rule-color': "color"[];
|
|
305
|
+
'column-rule-width': "grid"[];
|
|
306
|
+
'column-width': ("grid" | "size")[];
|
|
307
|
+
'flex-basis': ("grid" | "size")[];
|
|
308
|
+
'font-family': "font"[];
|
|
309
|
+
'font-size': "font-size"[];
|
|
310
|
+
'font-weight': "weight"[];
|
|
311
|
+
gap: "grid"[];
|
|
312
|
+
height: ("grid" | "size")[];
|
|
313
|
+
'inline-size': ("grid" | "size")[];
|
|
314
|
+
inset: "grid"[];
|
|
315
|
+
'inset-block': "grid"[];
|
|
316
|
+
'inset-block-end': "grid"[];
|
|
317
|
+
'inset-block-start': "grid"[];
|
|
318
|
+
'inset-inline': "grid"[];
|
|
319
|
+
'inset-inline-end': "grid"[];
|
|
320
|
+
'inset-inline-start': "grid"[];
|
|
321
|
+
left: "grid"[];
|
|
322
|
+
'letter-spacing': "tracking"[];
|
|
323
|
+
'line-height': "leading"[];
|
|
324
|
+
margin: "grid"[];
|
|
325
|
+
'margin-block': "grid"[];
|
|
326
|
+
'margin-block-end': "grid"[];
|
|
327
|
+
'margin-block-start': "grid"[];
|
|
328
|
+
'margin-bottom': "grid"[];
|
|
329
|
+
'margin-inline': "grid"[];
|
|
330
|
+
'margin-inline-end': "grid"[];
|
|
331
|
+
'margin-inline-start': "grid"[];
|
|
332
|
+
'margin-left': "grid"[];
|
|
333
|
+
'margin-right': "grid"[];
|
|
334
|
+
'margin-top': "grid"[];
|
|
335
|
+
'max-block-size': ("grid" | "size")[];
|
|
336
|
+
'max-height': ("grid" | "size")[];
|
|
337
|
+
'max-inline-size': ("grid" | "size")[];
|
|
338
|
+
'max-width': ("grid" | "size")[];
|
|
339
|
+
'min-block-size': ("grid" | "size")[];
|
|
340
|
+
'min-height': ("grid" | "size")[];
|
|
341
|
+
'min-inline-size': ("grid" | "size")[];
|
|
342
|
+
'min-width': ("grid" | "size")[];
|
|
343
|
+
opacity: "alpha"[];
|
|
344
|
+
'outline-color': "color"[];
|
|
345
|
+
padding: "grid"[];
|
|
346
|
+
'padding-block': "grid"[];
|
|
347
|
+
'padding-block-end': "grid"[];
|
|
348
|
+
'padding-block-start': "grid"[];
|
|
349
|
+
'padding-bottom': "grid"[];
|
|
350
|
+
'padding-inline': "grid"[];
|
|
351
|
+
'padding-inline-end': "grid"[];
|
|
352
|
+
'padding-inline-start': "grid"[];
|
|
353
|
+
'padding-left': "grid"[];
|
|
354
|
+
'padding-right': "grid"[];
|
|
355
|
+
'padding-top': "grid"[];
|
|
356
|
+
right: "grid"[];
|
|
357
|
+
'row-gap': "grid"[];
|
|
358
|
+
'scroll-margin': "grid"[];
|
|
359
|
+
'scroll-margin-bottom': "grid"[];
|
|
360
|
+
'scroll-margin-left': "grid"[];
|
|
361
|
+
'scroll-margin-right': "grid"[];
|
|
362
|
+
'scroll-margin-top': "grid"[];
|
|
363
|
+
'scroll-padding': "grid"[];
|
|
364
|
+
'scroll-padding-bottom': "grid"[];
|
|
365
|
+
'scroll-padding-left': "grid"[];
|
|
366
|
+
'scroll-padding-right': "grid"[];
|
|
367
|
+
'scroll-padding-top': "grid"[];
|
|
368
|
+
'text-decoration-color': "color"[];
|
|
369
|
+
'text-shadow': "shadow"[];
|
|
370
|
+
top: "grid"[];
|
|
371
|
+
transition: "transition"[];
|
|
372
|
+
'transition-timing-function': "ease"[];
|
|
373
|
+
width: ("grid" | "size")[];
|
|
374
|
+
'z-index': "z"[];
|
|
212
375
|
};
|
|
213
|
-
|
|
214
|
-
[name: string]: {
|
|
215
|
-
[step: string]: {
|
|
216
|
-
[cssProperty: string]: string;
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
};
|
|
220
|
-
aliases?: Aliases;
|
|
221
|
-
theme: Theme;
|
|
222
|
-
properties?: Partial<Record<CSSProperty, PropertiesOptions>>;
|
|
223
|
-
}> {
|
|
224
|
-
}
|
|
225
|
-
declare const createConfig: <T extends Config>(obj: Exact<Config, T>) => DeepReadonly<T>;
|
|
376
|
+
}, keyof T> & DeepReadonly<T>;
|
|
226
377
|
declare function getTokenPropertyName(tokenProperty: TokenProperty): string;
|
|
227
378
|
declare function getTokenPropertySplit(tokenProperty: TokenProperty): {
|
|
228
379
|
alias: string;
|
|
@@ -314,4 +465,4 @@ declare const mapShorthandToLonghands: {
|
|
|
314
465
|
transition: ("transition-delay" | "transition-duration" | "transition-property" | "transition-timing-function")[];
|
|
315
466
|
};
|
|
316
467
|
|
|
317
|
-
export { type Aliases, ArbitraryValue, type CSSProperty, type Config, type DefaultConfig, GridProperty, GridValue, type Theme, TokenProperty, TokenValue, VariantProperty, arbitraryValue, createConfig, defaultConfig, getCSSPropertiesForAlias, getTokenPropertyName, getTokenPropertyParts, getTokenPropertySplit, getTokenValueParts, gridProperty, layers, mapShorthandToLonghands, properties, tokenProperty, tokenValue, variantProperty };
|
|
468
|
+
export { type Aliases, ArbitraryValue, type CSSProperty, type Config, type DeepReadonly, type DefaultConfig, GridProperty, GridValue, type Theme, TokenProperty, TokenValue, VariantProperty, arbitraryValue, createConfig, defaultConfig, getCSSPropertiesForAlias, getTokenPropertyName, getTokenPropertyParts, getTokenPropertySplit, getTokenValueParts, gridProperty, layers, mapShorthandToLonghands, properties, tokenProperty, tokenValue, variantProperty };
|