@webstudio-is/css-engine 0.168.0 → 0.174.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/lib/index.js +372 -241
- package/lib/types/__generated__/types.d.ts +1 -1
- package/lib/types/core/atomic.d.ts +2 -1
- package/lib/types/core/index.d.ts +4 -1
- package/lib/types/core/merger.d.ts +342 -0
- package/lib/types/core/merger.test.d.ts +1 -0
- package/lib/types/core/prefixer.d.ts +2 -0
- package/lib/types/core/prefixer.test.d.ts +1 -0
- package/lib/types/core/rules.d.ts +12 -1048
- package/lib/types/core/style-sheet-regular.d.ts +1 -3
- package/lib/types/core/style-sheet.d.ts +0 -5
- package/lib/types/core/to-property.d.ts +0 -2
- package/lib/types/css.d.ts +1 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/schema.d.ts +1656 -193
- package/package.json +6 -8
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type Property = "WebkitFontSmoothing" | "MozOsxFontSmoothing" | "
|
|
1
|
+
export type Property = "WebkitFontSmoothing" | "MozOsxFontSmoothing" | "-webkit-box-orient" | "-webkit-line-clamp" | "-webkit-overflow-scrolling" | "-webkit-tap-highlight-color" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "borderBlockColor" | "borderBlockStyle" | "borderBlockWidth" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInlineColor" | "borderInlineStyle" | "borderInlineWidth" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxDecorationBreak" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "clear" | "clip" | "clipPath" | "color" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicWidth" | "containerName" | "containerType" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "direction" | "display" | "emptyCells" | "fieldSizing" | "filter" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontVariationSettings" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontSynthesisSmallCaps" | "fontSynthesisStyle" | "fontSynthesisWeight" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "height" | "hyphenateCharacter" | "hyphenateLimitChars" | "hyphens" | "imageOrientation" | "imageRendering" | "inlineSize" | "insetBlockEnd" | "insetBlockStart" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineBreak" | "lineHeight" | "listStyleImage" | "listStylePosition" | "listStyleType" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetDistance" | "offsetPath" | "offsetRotate" | "opacity" | "order" | "orphans" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflowWrap" | "overflowX" | "overflowY" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "page" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "printColorAdjust" | "quotes" | "resize" | "right" | "rotate" | "rowGap" | "scale" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "scrollBehavior" | "scrollMarginBlockStart" | "scrollMarginBlockEnd" | "scrollMarginBottom" | "scrollMarginInlineStart" | "scrollMarginInlineEnd" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPaddingBlockStart" | "scrollPaddingBlockEnd" | "scrollPaddingBottom" | "scrollPaddingInlineStart" | "scrollPaddingInlineEnd" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapStop" | "scrollSnapType" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "textWrapMode" | "textWrapStyle" | "top" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transitionBehavior" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "visibility" | "whiteSpaceCollapse" | "widows" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex" | "zoom";
|
|
2
2
|
export type Unit = "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
|
|
@@ -4,9 +4,10 @@ import { type TransformValue } from "./to-value";
|
|
|
4
4
|
type Options = {
|
|
5
5
|
getKey: (rule: NestingRule) => string;
|
|
6
6
|
transformValue?: TransformValue;
|
|
7
|
+
classes?: Map<string, string[]>;
|
|
7
8
|
};
|
|
8
9
|
export declare const generateAtomic: (sheet: StyleSheet, options: Options) => {
|
|
9
10
|
cssText: string;
|
|
10
|
-
|
|
11
|
+
classes: Map<string, string[]>;
|
|
11
12
|
};
|
|
12
13
|
export {};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { StyleMap, NestingRule, MediaRule, PlaintextRule, FontFaceRule, } from "./rules";
|
|
2
|
+
export { prefixStyles } from "./prefixer";
|
|
3
|
+
export { mergeStyles } from "./merger";
|
|
4
|
+
export { generateStyleMap } from "./rules";
|
|
2
5
|
export type { StyleSheetRegular } from "./style-sheet-regular";
|
|
3
6
|
export * from "./create-style-sheet";
|
|
4
7
|
export * from "./to-value";
|
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
import { StyleValue } from "../schema";
|
|
2
|
+
import type { StyleMap } from "./rules";
|
|
3
|
+
export declare const mergeStyles: (styleMap: StyleMap) => Map<string, {
|
|
4
|
+
type: "unit";
|
|
5
|
+
value: number;
|
|
6
|
+
unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
|
|
7
|
+
hidden?: boolean | undefined;
|
|
8
|
+
} | {
|
|
9
|
+
type: "keyword";
|
|
10
|
+
value: string;
|
|
11
|
+
hidden?: boolean | undefined;
|
|
12
|
+
} | {
|
|
13
|
+
type: "unparsed";
|
|
14
|
+
value: string;
|
|
15
|
+
hidden?: boolean | undefined;
|
|
16
|
+
} | {
|
|
17
|
+
type: "fontFamily";
|
|
18
|
+
value: string[];
|
|
19
|
+
hidden?: boolean | undefined;
|
|
20
|
+
} | {
|
|
21
|
+
type: "rgb";
|
|
22
|
+
r: number;
|
|
23
|
+
g: number;
|
|
24
|
+
b: number;
|
|
25
|
+
alpha: number;
|
|
26
|
+
hidden?: boolean | undefined;
|
|
27
|
+
} | {
|
|
28
|
+
type: "function";
|
|
29
|
+
name: string;
|
|
30
|
+
args: StyleValue;
|
|
31
|
+
hidden?: boolean;
|
|
32
|
+
} | {
|
|
33
|
+
type: "image";
|
|
34
|
+
value: {
|
|
35
|
+
type: "asset";
|
|
36
|
+
value: string;
|
|
37
|
+
} | {
|
|
38
|
+
type: "url";
|
|
39
|
+
url: string;
|
|
40
|
+
};
|
|
41
|
+
hidden?: boolean | undefined;
|
|
42
|
+
} | {
|
|
43
|
+
type: "tuple";
|
|
44
|
+
value: ({
|
|
45
|
+
type: "unit";
|
|
46
|
+
value: number;
|
|
47
|
+
unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
|
|
48
|
+
hidden?: boolean | undefined;
|
|
49
|
+
} | {
|
|
50
|
+
type: "keyword";
|
|
51
|
+
value: string;
|
|
52
|
+
hidden?: boolean | undefined;
|
|
53
|
+
} | {
|
|
54
|
+
type: "unparsed";
|
|
55
|
+
value: string;
|
|
56
|
+
hidden?: boolean | undefined;
|
|
57
|
+
} | {
|
|
58
|
+
type: "rgb";
|
|
59
|
+
r: number;
|
|
60
|
+
g: number;
|
|
61
|
+
b: number;
|
|
62
|
+
alpha: number;
|
|
63
|
+
hidden?: boolean | undefined;
|
|
64
|
+
} | {
|
|
65
|
+
type: "function";
|
|
66
|
+
name: string;
|
|
67
|
+
args: StyleValue;
|
|
68
|
+
hidden?: boolean;
|
|
69
|
+
} | {
|
|
70
|
+
type: "image";
|
|
71
|
+
value: {
|
|
72
|
+
type: "asset";
|
|
73
|
+
value: string;
|
|
74
|
+
} | {
|
|
75
|
+
type: "url";
|
|
76
|
+
url: string;
|
|
77
|
+
};
|
|
78
|
+
hidden?: boolean | undefined;
|
|
79
|
+
})[];
|
|
80
|
+
hidden?: boolean | undefined;
|
|
81
|
+
} | {
|
|
82
|
+
type: "invalid";
|
|
83
|
+
value: string;
|
|
84
|
+
hidden?: boolean | undefined;
|
|
85
|
+
} | {
|
|
86
|
+
type: "layers";
|
|
87
|
+
value: ({
|
|
88
|
+
type: "unit";
|
|
89
|
+
value: number;
|
|
90
|
+
unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
|
|
91
|
+
hidden?: boolean | undefined;
|
|
92
|
+
} | {
|
|
93
|
+
type: "keyword";
|
|
94
|
+
value: string;
|
|
95
|
+
hidden?: boolean | undefined;
|
|
96
|
+
} | {
|
|
97
|
+
type: "unparsed";
|
|
98
|
+
value: string;
|
|
99
|
+
hidden?: boolean | undefined;
|
|
100
|
+
} | {
|
|
101
|
+
type: "rgb";
|
|
102
|
+
r: number;
|
|
103
|
+
g: number;
|
|
104
|
+
b: number;
|
|
105
|
+
alpha: number;
|
|
106
|
+
hidden?: boolean | undefined;
|
|
107
|
+
} | {
|
|
108
|
+
type: "function";
|
|
109
|
+
name: string;
|
|
110
|
+
args: StyleValue;
|
|
111
|
+
hidden?: boolean;
|
|
112
|
+
} | {
|
|
113
|
+
type: "image";
|
|
114
|
+
value: {
|
|
115
|
+
type: "asset";
|
|
116
|
+
value: string;
|
|
117
|
+
} | {
|
|
118
|
+
type: "url";
|
|
119
|
+
url: string;
|
|
120
|
+
};
|
|
121
|
+
hidden?: boolean | undefined;
|
|
122
|
+
} | {
|
|
123
|
+
type: "tuple";
|
|
124
|
+
value: ({
|
|
125
|
+
type: "unit";
|
|
126
|
+
value: number;
|
|
127
|
+
unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
|
|
128
|
+
hidden?: boolean | undefined;
|
|
129
|
+
} | {
|
|
130
|
+
type: "keyword";
|
|
131
|
+
value: string;
|
|
132
|
+
hidden?: boolean | undefined;
|
|
133
|
+
} | {
|
|
134
|
+
type: "unparsed";
|
|
135
|
+
value: string;
|
|
136
|
+
hidden?: boolean | undefined;
|
|
137
|
+
} | {
|
|
138
|
+
type: "rgb";
|
|
139
|
+
r: number;
|
|
140
|
+
g: number;
|
|
141
|
+
b: number;
|
|
142
|
+
alpha: number;
|
|
143
|
+
hidden?: boolean | undefined;
|
|
144
|
+
} | {
|
|
145
|
+
type: "function";
|
|
146
|
+
name: string;
|
|
147
|
+
args: StyleValue;
|
|
148
|
+
hidden?: boolean;
|
|
149
|
+
} | {
|
|
150
|
+
type: "image";
|
|
151
|
+
value: {
|
|
152
|
+
type: "asset";
|
|
153
|
+
value: string;
|
|
154
|
+
} | {
|
|
155
|
+
type: "url";
|
|
156
|
+
url: string;
|
|
157
|
+
};
|
|
158
|
+
hidden?: boolean | undefined;
|
|
159
|
+
})[];
|
|
160
|
+
hidden?: boolean | undefined;
|
|
161
|
+
} | {
|
|
162
|
+
type: "invalid";
|
|
163
|
+
value: string;
|
|
164
|
+
hidden?: boolean | undefined;
|
|
165
|
+
})[];
|
|
166
|
+
hidden?: boolean | undefined;
|
|
167
|
+
} | {
|
|
168
|
+
type: "guaranteedInvalid";
|
|
169
|
+
hidden?: boolean | undefined;
|
|
170
|
+
} | {
|
|
171
|
+
type: "unset";
|
|
172
|
+
value: "";
|
|
173
|
+
hidden?: boolean | undefined;
|
|
174
|
+
} | {
|
|
175
|
+
type: "var";
|
|
176
|
+
value: string;
|
|
177
|
+
fallbacks: ({
|
|
178
|
+
type: "unit";
|
|
179
|
+
value: number;
|
|
180
|
+
unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
|
|
181
|
+
hidden?: boolean | undefined;
|
|
182
|
+
} | {
|
|
183
|
+
type: "keyword";
|
|
184
|
+
value: string;
|
|
185
|
+
hidden?: boolean | undefined;
|
|
186
|
+
} | {
|
|
187
|
+
type: "unparsed";
|
|
188
|
+
value: string;
|
|
189
|
+
hidden?: boolean | undefined;
|
|
190
|
+
} | {
|
|
191
|
+
type: "fontFamily";
|
|
192
|
+
value: string[];
|
|
193
|
+
hidden?: boolean | undefined;
|
|
194
|
+
} | {
|
|
195
|
+
type: "rgb";
|
|
196
|
+
r: number;
|
|
197
|
+
g: number;
|
|
198
|
+
b: number;
|
|
199
|
+
alpha: number;
|
|
200
|
+
hidden?: boolean | undefined;
|
|
201
|
+
} | {
|
|
202
|
+
type: "function";
|
|
203
|
+
name: string;
|
|
204
|
+
args: StyleValue;
|
|
205
|
+
hidden?: boolean;
|
|
206
|
+
} | {
|
|
207
|
+
type: "image";
|
|
208
|
+
value: {
|
|
209
|
+
type: "asset";
|
|
210
|
+
value: string;
|
|
211
|
+
} | {
|
|
212
|
+
type: "url";
|
|
213
|
+
url: string;
|
|
214
|
+
};
|
|
215
|
+
hidden?: boolean | undefined;
|
|
216
|
+
} | {
|
|
217
|
+
type: "tuple";
|
|
218
|
+
value: ({
|
|
219
|
+
type: "unit";
|
|
220
|
+
value: number;
|
|
221
|
+
unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
|
|
222
|
+
hidden?: boolean | undefined;
|
|
223
|
+
} | {
|
|
224
|
+
type: "keyword";
|
|
225
|
+
value: string;
|
|
226
|
+
hidden?: boolean | undefined;
|
|
227
|
+
} | {
|
|
228
|
+
type: "unparsed";
|
|
229
|
+
value: string;
|
|
230
|
+
hidden?: boolean | undefined;
|
|
231
|
+
} | {
|
|
232
|
+
type: "rgb";
|
|
233
|
+
r: number;
|
|
234
|
+
g: number;
|
|
235
|
+
b: number;
|
|
236
|
+
alpha: number;
|
|
237
|
+
hidden?: boolean | undefined;
|
|
238
|
+
} | {
|
|
239
|
+
type: "function";
|
|
240
|
+
name: string;
|
|
241
|
+
args: StyleValue;
|
|
242
|
+
hidden?: boolean;
|
|
243
|
+
} | {
|
|
244
|
+
type: "image";
|
|
245
|
+
value: {
|
|
246
|
+
type: "asset";
|
|
247
|
+
value: string;
|
|
248
|
+
} | {
|
|
249
|
+
type: "url";
|
|
250
|
+
url: string;
|
|
251
|
+
};
|
|
252
|
+
hidden?: boolean | undefined;
|
|
253
|
+
})[];
|
|
254
|
+
hidden?: boolean | undefined;
|
|
255
|
+
} | {
|
|
256
|
+
type: "layers";
|
|
257
|
+
value: ({
|
|
258
|
+
type: "unit";
|
|
259
|
+
value: number;
|
|
260
|
+
unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
|
|
261
|
+
hidden?: boolean | undefined;
|
|
262
|
+
} | {
|
|
263
|
+
type: "keyword";
|
|
264
|
+
value: string;
|
|
265
|
+
hidden?: boolean | undefined;
|
|
266
|
+
} | {
|
|
267
|
+
type: "unparsed";
|
|
268
|
+
value: string;
|
|
269
|
+
hidden?: boolean | undefined;
|
|
270
|
+
} | {
|
|
271
|
+
type: "rgb";
|
|
272
|
+
r: number;
|
|
273
|
+
g: number;
|
|
274
|
+
b: number;
|
|
275
|
+
alpha: number;
|
|
276
|
+
hidden?: boolean | undefined;
|
|
277
|
+
} | {
|
|
278
|
+
type: "function";
|
|
279
|
+
name: string;
|
|
280
|
+
args: StyleValue;
|
|
281
|
+
hidden?: boolean;
|
|
282
|
+
} | {
|
|
283
|
+
type: "image";
|
|
284
|
+
value: {
|
|
285
|
+
type: "asset";
|
|
286
|
+
value: string;
|
|
287
|
+
} | {
|
|
288
|
+
type: "url";
|
|
289
|
+
url: string;
|
|
290
|
+
};
|
|
291
|
+
hidden?: boolean | undefined;
|
|
292
|
+
} | {
|
|
293
|
+
type: "tuple";
|
|
294
|
+
value: ({
|
|
295
|
+
type: "unit";
|
|
296
|
+
value: number;
|
|
297
|
+
unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
|
|
298
|
+
hidden?: boolean | undefined;
|
|
299
|
+
} | {
|
|
300
|
+
type: "keyword";
|
|
301
|
+
value: string;
|
|
302
|
+
hidden?: boolean | undefined;
|
|
303
|
+
} | {
|
|
304
|
+
type: "unparsed";
|
|
305
|
+
value: string;
|
|
306
|
+
hidden?: boolean | undefined;
|
|
307
|
+
} | {
|
|
308
|
+
type: "rgb";
|
|
309
|
+
r: number;
|
|
310
|
+
g: number;
|
|
311
|
+
b: number;
|
|
312
|
+
alpha: number;
|
|
313
|
+
hidden?: boolean | undefined;
|
|
314
|
+
} | {
|
|
315
|
+
type: "function";
|
|
316
|
+
name: string;
|
|
317
|
+
args: StyleValue;
|
|
318
|
+
hidden?: boolean;
|
|
319
|
+
} | {
|
|
320
|
+
type: "image";
|
|
321
|
+
value: {
|
|
322
|
+
type: "asset";
|
|
323
|
+
value: string;
|
|
324
|
+
} | {
|
|
325
|
+
type: "url";
|
|
326
|
+
url: string;
|
|
327
|
+
};
|
|
328
|
+
hidden?: boolean | undefined;
|
|
329
|
+
})[];
|
|
330
|
+
hidden?: boolean | undefined;
|
|
331
|
+
} | {
|
|
332
|
+
type: "invalid";
|
|
333
|
+
value: string;
|
|
334
|
+
hidden?: boolean | undefined;
|
|
335
|
+
})[];
|
|
336
|
+
hidden?: boolean | undefined;
|
|
337
|
+
} | {
|
|
338
|
+
type: "guaranteedInvalid";
|
|
339
|
+
hidden?: boolean | undefined;
|
|
340
|
+
})[];
|
|
341
|
+
hidden?: boolean | undefined;
|
|
342
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|