@webstudio-is/sdk 0.205.0 → 0.207.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.
@@ -1,252 +1,2329 @@
1
1
  import { z } from "zod";
2
2
  import type { HtmlTags } from "html-tags";
3
- import { EmbedTemplateStyleDecl } from "./embed-template";
4
- export type PresetStyle<Tag extends HtmlTags = HtmlTags> = Partial<Record<Tag, EmbedTemplateStyleDecl[]>>;
5
- declare const WsComponentPropsMeta: z.ZodObject<{
6
- props: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
7
- control: z.ZodLiteral<"number">;
8
- type: z.ZodLiteral<"number">;
9
- defaultValue: z.ZodOptional<z.ZodNumber>;
10
- label: z.ZodOptional<z.ZodString>;
11
- description: z.ZodOptional<z.ZodString>;
12
- required: z.ZodBoolean;
13
- }, "strip", z.ZodTypeAny, {
14
- type: "number";
15
- required: boolean;
16
- control: "number";
17
- defaultValue?: number | undefined;
18
- label?: string | undefined;
19
- description?: string | undefined;
20
- }, {
21
- type: "number";
22
- required: boolean;
23
- control: "number";
24
- defaultValue?: number | undefined;
25
- label?: string | undefined;
26
- description?: string | undefined;
27
- }>, z.ZodObject<{
28
- control: z.ZodLiteral<"range">;
29
- type: z.ZodLiteral<"number">;
30
- defaultValue: z.ZodOptional<z.ZodNumber>;
31
- label: z.ZodOptional<z.ZodString>;
32
- description: z.ZodOptional<z.ZodString>;
33
- required: z.ZodBoolean;
34
- }, "strip", z.ZodTypeAny, {
35
- type: "number";
36
- required: boolean;
37
- control: "range";
38
- defaultValue?: number | undefined;
39
- label?: string | undefined;
40
- description?: string | undefined;
41
- }, {
42
- type: "number";
43
- required: boolean;
44
- control: "range";
45
- defaultValue?: number | undefined;
46
- label?: string | undefined;
47
- description?: string | undefined;
48
- }>, z.ZodObject<{
49
- control: z.ZodLiteral<"text">;
50
- type: z.ZodLiteral<"string">;
51
- defaultValue: z.ZodOptional<z.ZodString>;
52
- rows: z.ZodOptional<z.ZodNumber>;
53
- label: z.ZodOptional<z.ZodString>;
54
- description: z.ZodOptional<z.ZodString>;
55
- required: z.ZodBoolean;
56
- }, "strip", z.ZodTypeAny, {
57
- type: "string";
58
- required: boolean;
59
- control: "text";
60
- defaultValue?: string | undefined;
61
- rows?: number | undefined;
62
- label?: string | undefined;
63
- description?: string | undefined;
64
- }, {
65
- type: "string";
66
- required: boolean;
67
- control: "text";
68
- defaultValue?: string | undefined;
69
- rows?: number | undefined;
70
- label?: string | undefined;
71
- description?: string | undefined;
72
- }>, z.ZodObject<{
73
- control: z.ZodLiteral<"code">;
74
- type: z.ZodLiteral<"string">;
75
- language: z.ZodUnion<[z.ZodLiteral<"html">, z.ZodLiteral<"markdown">]>;
76
- defaultValue: z.ZodOptional<z.ZodString>;
77
- label: z.ZodOptional<z.ZodString>;
78
- description: z.ZodOptional<z.ZodString>;
79
- required: z.ZodBoolean;
80
- }, "strip", z.ZodTypeAny, {
81
- type: "string";
82
- required: boolean;
83
- control: "code";
84
- language: "html" | "markdown";
85
- defaultValue?: string | undefined;
86
- label?: string | undefined;
87
- description?: string | undefined;
88
- }, {
89
- type: "string";
90
- required: boolean;
91
- control: "code";
92
- language: "html" | "markdown";
93
- defaultValue?: string | undefined;
94
- label?: string | undefined;
95
- description?: string | undefined;
96
- }>, z.ZodObject<{
97
- control: z.ZodLiteral<"codetext">;
98
- type: z.ZodLiteral<"string">;
99
- defaultValue: z.ZodOptional<z.ZodString>;
100
- label: z.ZodOptional<z.ZodString>;
101
- description: z.ZodOptional<z.ZodString>;
102
- required: z.ZodBoolean;
103
- }, "strip", z.ZodTypeAny, {
104
- type: "string";
105
- required: boolean;
106
- control: "codetext";
107
- defaultValue?: string | undefined;
108
- label?: string | undefined;
109
- description?: string | undefined;
110
- }, {
111
- type: "string";
112
- required: boolean;
113
- control: "codetext";
114
- defaultValue?: string | undefined;
115
- label?: string | undefined;
116
- description?: string | undefined;
117
- }>, z.ZodObject<{
118
- control: z.ZodLiteral<"color">;
119
- type: z.ZodLiteral<"string">;
120
- defaultValue: z.ZodOptional<z.ZodString>;
121
- label: z.ZodOptional<z.ZodString>;
122
- description: z.ZodOptional<z.ZodString>;
123
- required: z.ZodBoolean;
124
- }, "strip", z.ZodTypeAny, {
125
- type: "string";
126
- required: boolean;
127
- control: "color";
128
- defaultValue?: string | undefined;
129
- label?: string | undefined;
130
- description?: string | undefined;
131
- }, {
132
- type: "string";
133
- required: boolean;
134
- control: "color";
135
- defaultValue?: string | undefined;
136
- label?: string | undefined;
137
- description?: string | undefined;
138
- }>, z.ZodObject<{
139
- control: z.ZodLiteral<"boolean">;
140
- type: z.ZodLiteral<"boolean">;
141
- defaultValue: z.ZodOptional<z.ZodBoolean>;
142
- label: z.ZodOptional<z.ZodString>;
143
- description: z.ZodOptional<z.ZodString>;
144
- required: z.ZodBoolean;
145
- }, "strip", z.ZodTypeAny, {
146
- type: "boolean";
147
- required: boolean;
148
- control: "boolean";
149
- defaultValue?: boolean | undefined;
150
- label?: string | undefined;
151
- description?: string | undefined;
152
- }, {
153
- type: "boolean";
154
- required: boolean;
155
- control: "boolean";
156
- defaultValue?: boolean | undefined;
157
- label?: string | undefined;
158
- description?: string | undefined;
159
- }>, z.ZodObject<{
160
- control: z.ZodLiteral<"radio">;
161
- type: z.ZodLiteral<"string">;
162
- defaultValue: z.ZodOptional<z.ZodString>;
163
- options: z.ZodArray<z.ZodString, "many">;
164
- label: z.ZodOptional<z.ZodString>;
165
- description: z.ZodOptional<z.ZodString>;
166
- required: z.ZodBoolean;
167
- }, "strip", z.ZodTypeAny, {
168
- options: string[];
169
- type: "string";
170
- required: boolean;
171
- control: "radio";
172
- defaultValue?: string | undefined;
173
- label?: string | undefined;
174
- description?: string | undefined;
175
- }, {
176
- options: string[];
177
- type: "string";
178
- required: boolean;
179
- control: "radio";
180
- defaultValue?: string | undefined;
181
- label?: string | undefined;
182
- description?: string | undefined;
183
- }>, z.ZodObject<{
184
- control: z.ZodLiteral<"inline-radio">;
185
- type: z.ZodLiteral<"string">;
186
- defaultValue: z.ZodOptional<z.ZodString>;
187
- options: z.ZodArray<z.ZodString, "many">;
188
- label: z.ZodOptional<z.ZodString>;
189
- description: z.ZodOptional<z.ZodString>;
190
- required: z.ZodBoolean;
191
- }, "strip", z.ZodTypeAny, {
192
- options: string[];
193
- type: "string";
194
- required: boolean;
195
- control: "inline-radio";
196
- defaultValue?: string | undefined;
197
- label?: string | undefined;
198
- description?: string | undefined;
199
- }, {
200
- options: string[];
201
- type: "string";
202
- required: boolean;
203
- control: "inline-radio";
204
- defaultValue?: string | undefined;
205
- label?: string | undefined;
206
- description?: string | undefined;
207
- }>, z.ZodObject<{
208
- control: z.ZodLiteral<"select">;
209
- type: z.ZodLiteral<"string">;
210
- defaultValue: z.ZodOptional<z.ZodString>;
211
- options: z.ZodArray<z.ZodString, "many">;
212
- label: z.ZodOptional<z.ZodString>;
213
- description: z.ZodOptional<z.ZodString>;
214
- required: z.ZodBoolean;
3
+ import { StyleValue, type CssProperty } from "@webstudio-is/css-engine";
4
+ import type { Simplify } from "type-fest";
5
+ export declare const PresetStyleDecl: z.ZodObject<{
6
+ state: z.ZodOptional<z.ZodString>;
7
+ property: z.ZodString;
8
+ value: z.ZodUnion<[z.ZodObject<{
9
+ type: z.ZodLiteral<"image">;
10
+ value: z.ZodUnion<[z.ZodObject<{
11
+ type: z.ZodLiteral<"asset">;
12
+ value: z.ZodString;
13
+ }, "strip", z.ZodTypeAny, {
14
+ value: string;
15
+ type: "asset";
16
+ }, {
17
+ value: string;
18
+ type: "asset";
19
+ }>, z.ZodObject<{
20
+ type: z.ZodLiteral<"url">;
21
+ url: z.ZodString;
22
+ }, "strip", z.ZodTypeAny, {
23
+ type: "url";
24
+ url: string;
25
+ }, {
26
+ type: "url";
27
+ url: string;
28
+ }>]>;
29
+ hidden: z.ZodOptional<z.ZodBoolean>;
215
30
  }, "strip", z.ZodTypeAny, {
216
- options: string[];
217
- type: "string";
218
- required: boolean;
219
- control: "select";
220
- defaultValue?: string | undefined;
221
- label?: string | undefined;
222
- description?: string | undefined;
31
+ value: {
32
+ value: string;
33
+ type: "asset";
34
+ } | {
35
+ type: "url";
36
+ url: string;
37
+ };
38
+ type: "image";
39
+ hidden?: boolean | undefined;
223
40
  }, {
224
- options: string[];
225
- type: "string";
226
- required: boolean;
227
- control: "select";
228
- defaultValue?: string | undefined;
229
- label?: string | undefined;
230
- description?: string | undefined;
41
+ value: {
42
+ value: string;
43
+ type: "asset";
44
+ } | {
45
+ type: "url";
46
+ url: string;
47
+ };
48
+ type: "image";
49
+ hidden?: boolean | undefined;
231
50
  }>, z.ZodObject<{
232
- control: z.ZodLiteral<"multi-select">;
233
- type: z.ZodLiteral<"string[]">;
234
- defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
235
- options: z.ZodArray<z.ZodString, "many">;
236
- label: z.ZodOptional<z.ZodString>;
237
- description: z.ZodOptional<z.ZodString>;
238
- required: z.ZodBoolean;
239
- }, "strip", z.ZodTypeAny, {
240
- options: string[];
241
- type: "string[]";
242
- required: boolean;
243
- control: "multi-select";
244
- defaultValue?: string[] | undefined;
245
- label?: string | undefined;
246
- description?: string | undefined;
247
- }, {
248
- options: string[];
249
- type: "string[]";
51
+ type: z.ZodLiteral<"layers">;
52
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
53
+ type: z.ZodLiteral<"unit">;
54
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
55
+ value: z.ZodNumber;
56
+ hidden: z.ZodOptional<z.ZodBoolean>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ value: number;
59
+ type: "unit";
60
+ 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";
61
+ hidden?: boolean | undefined;
62
+ }, {
63
+ value: number;
64
+ type: "unit";
65
+ 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";
66
+ hidden?: boolean | undefined;
67
+ }>, z.ZodObject<{
68
+ type: z.ZodLiteral<"keyword">;
69
+ value: z.ZodString;
70
+ hidden: z.ZodOptional<z.ZodBoolean>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ value: string;
73
+ type: "keyword";
74
+ hidden?: boolean | undefined;
75
+ }, {
76
+ value: string;
77
+ type: "keyword";
78
+ hidden?: boolean | undefined;
79
+ }>, z.ZodObject<{
80
+ type: z.ZodLiteral<"unparsed">;
81
+ value: z.ZodString;
82
+ hidden: z.ZodOptional<z.ZodBoolean>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ value: string;
85
+ type: "unparsed";
86
+ hidden?: boolean | undefined;
87
+ }, {
88
+ value: string;
89
+ type: "unparsed";
90
+ hidden?: boolean | undefined;
91
+ }>, z.ZodObject<{
92
+ type: z.ZodLiteral<"image">;
93
+ value: z.ZodUnion<[z.ZodObject<{
94
+ type: z.ZodLiteral<"asset">;
95
+ value: z.ZodString;
96
+ }, "strip", z.ZodTypeAny, {
97
+ value: string;
98
+ type: "asset";
99
+ }, {
100
+ value: string;
101
+ type: "asset";
102
+ }>, z.ZodObject<{
103
+ type: z.ZodLiteral<"url">;
104
+ url: z.ZodString;
105
+ }, "strip", z.ZodTypeAny, {
106
+ type: "url";
107
+ url: string;
108
+ }, {
109
+ type: "url";
110
+ url: string;
111
+ }>]>;
112
+ hidden: z.ZodOptional<z.ZodBoolean>;
113
+ }, "strip", z.ZodTypeAny, {
114
+ value: {
115
+ value: string;
116
+ type: "asset";
117
+ } | {
118
+ type: "url";
119
+ url: string;
120
+ };
121
+ type: "image";
122
+ hidden?: boolean | undefined;
123
+ }, {
124
+ value: {
125
+ value: string;
126
+ type: "asset";
127
+ } | {
128
+ type: "url";
129
+ url: string;
130
+ };
131
+ type: "image";
132
+ hidden?: boolean | undefined;
133
+ }>, z.ZodObject<{
134
+ type: z.ZodLiteral<"tuple">;
135
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
136
+ type: z.ZodLiteral<"unit">;
137
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
138
+ value: z.ZodNumber;
139
+ hidden: z.ZodOptional<z.ZodBoolean>;
140
+ }, "strip", z.ZodTypeAny, {
141
+ value: number;
142
+ type: "unit";
143
+ 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";
144
+ hidden?: boolean | undefined;
145
+ }, {
146
+ value: number;
147
+ type: "unit";
148
+ 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";
149
+ hidden?: boolean | undefined;
150
+ }>, z.ZodObject<{
151
+ type: z.ZodLiteral<"keyword">;
152
+ value: z.ZodString;
153
+ hidden: z.ZodOptional<z.ZodBoolean>;
154
+ }, "strip", z.ZodTypeAny, {
155
+ value: string;
156
+ type: "keyword";
157
+ hidden?: boolean | undefined;
158
+ }, {
159
+ value: string;
160
+ type: "keyword";
161
+ hidden?: boolean | undefined;
162
+ }>, z.ZodObject<{
163
+ type: z.ZodLiteral<"unparsed">;
164
+ value: z.ZodString;
165
+ hidden: z.ZodOptional<z.ZodBoolean>;
166
+ }, "strip", z.ZodTypeAny, {
167
+ value: string;
168
+ type: "unparsed";
169
+ hidden?: boolean | undefined;
170
+ }, {
171
+ value: string;
172
+ type: "unparsed";
173
+ hidden?: boolean | undefined;
174
+ }>, z.ZodObject<{
175
+ type: z.ZodLiteral<"image">;
176
+ value: z.ZodUnion<[z.ZodObject<{
177
+ type: z.ZodLiteral<"asset">;
178
+ value: z.ZodString;
179
+ }, "strip", z.ZodTypeAny, {
180
+ value: string;
181
+ type: "asset";
182
+ }, {
183
+ value: string;
184
+ type: "asset";
185
+ }>, z.ZodObject<{
186
+ type: z.ZodLiteral<"url">;
187
+ url: z.ZodString;
188
+ }, "strip", z.ZodTypeAny, {
189
+ type: "url";
190
+ url: string;
191
+ }, {
192
+ type: "url";
193
+ url: string;
194
+ }>]>;
195
+ hidden: z.ZodOptional<z.ZodBoolean>;
196
+ }, "strip", z.ZodTypeAny, {
197
+ value: {
198
+ value: string;
199
+ type: "asset";
200
+ } | {
201
+ type: "url";
202
+ url: string;
203
+ };
204
+ type: "image";
205
+ hidden?: boolean | undefined;
206
+ }, {
207
+ value: {
208
+ value: string;
209
+ type: "asset";
210
+ } | {
211
+ type: "url";
212
+ url: string;
213
+ };
214
+ type: "image";
215
+ hidden?: boolean | undefined;
216
+ }>, z.ZodObject<{
217
+ type: z.ZodLiteral<"rgb">;
218
+ r: z.ZodNumber;
219
+ g: z.ZodNumber;
220
+ b: z.ZodNumber;
221
+ alpha: z.ZodNumber;
222
+ hidden: z.ZodOptional<z.ZodBoolean>;
223
+ }, "strip", z.ZodTypeAny, {
224
+ type: "rgb";
225
+ r: number;
226
+ g: number;
227
+ b: number;
228
+ alpha: number;
229
+ hidden?: boolean | undefined;
230
+ }, {
231
+ type: "rgb";
232
+ r: number;
233
+ g: number;
234
+ b: number;
235
+ alpha: number;
236
+ hidden?: boolean | undefined;
237
+ }>, z.ZodType<{
238
+ type: "function";
239
+ name: string;
240
+ args: StyleValue;
241
+ hidden?: boolean;
242
+ }, z.ZodTypeDef, {
243
+ type: "function";
244
+ name: string;
245
+ args: StyleValue;
246
+ hidden?: boolean;
247
+ }>, z.ZodObject<{
248
+ type: z.ZodLiteral<"var">;
249
+ value: z.ZodString;
250
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
251
+ type: z.ZodLiteral<"unparsed">;
252
+ value: z.ZodString;
253
+ hidden: z.ZodOptional<z.ZodBoolean>;
254
+ }, "strip", z.ZodTypeAny, {
255
+ value: string;
256
+ type: "unparsed";
257
+ hidden?: boolean | undefined;
258
+ }, {
259
+ value: string;
260
+ type: "unparsed";
261
+ hidden?: boolean | undefined;
262
+ }>, z.ZodObject<{
263
+ type: z.ZodLiteral<"keyword">;
264
+ value: z.ZodString;
265
+ hidden: z.ZodOptional<z.ZodBoolean>;
266
+ }, "strip", z.ZodTypeAny, {
267
+ value: string;
268
+ type: "keyword";
269
+ hidden?: boolean | undefined;
270
+ }, {
271
+ value: string;
272
+ type: "keyword";
273
+ hidden?: boolean | undefined;
274
+ }>, z.ZodObject<{
275
+ type: z.ZodLiteral<"unit">;
276
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
277
+ value: z.ZodNumber;
278
+ hidden: z.ZodOptional<z.ZodBoolean>;
279
+ }, "strip", z.ZodTypeAny, {
280
+ value: number;
281
+ type: "unit";
282
+ 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";
283
+ hidden?: boolean | undefined;
284
+ }, {
285
+ value: number;
286
+ type: "unit";
287
+ 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";
288
+ hidden?: boolean | undefined;
289
+ }>, z.ZodObject<{
290
+ type: z.ZodLiteral<"rgb">;
291
+ r: z.ZodNumber;
292
+ g: z.ZodNumber;
293
+ b: z.ZodNumber;
294
+ alpha: z.ZodNumber;
295
+ hidden: z.ZodOptional<z.ZodBoolean>;
296
+ }, "strip", z.ZodTypeAny, {
297
+ type: "rgb";
298
+ r: number;
299
+ g: number;
300
+ b: number;
301
+ alpha: number;
302
+ hidden?: boolean | undefined;
303
+ }, {
304
+ type: "rgb";
305
+ r: number;
306
+ g: number;
307
+ b: number;
308
+ alpha: number;
309
+ hidden?: boolean | undefined;
310
+ }>]>>;
311
+ hidden: z.ZodOptional<z.ZodBoolean>;
312
+ }, "strip", z.ZodTypeAny, {
313
+ value: string;
314
+ type: "var";
315
+ fallback?: {
316
+ value: number;
317
+ type: "unit";
318
+ 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";
319
+ hidden?: boolean | undefined;
320
+ } | {
321
+ value: string;
322
+ type: "keyword";
323
+ hidden?: boolean | undefined;
324
+ } | {
325
+ value: string;
326
+ type: "unparsed";
327
+ hidden?: boolean | undefined;
328
+ } | {
329
+ type: "rgb";
330
+ r: number;
331
+ g: number;
332
+ b: number;
333
+ alpha: number;
334
+ hidden?: boolean | undefined;
335
+ } | undefined;
336
+ hidden?: boolean | undefined;
337
+ }, {
338
+ value: string;
339
+ type: "var";
340
+ fallback?: {
341
+ value: number;
342
+ type: "unit";
343
+ 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";
344
+ hidden?: boolean | undefined;
345
+ } | {
346
+ value: string;
347
+ type: "keyword";
348
+ hidden?: boolean | undefined;
349
+ } | {
350
+ value: string;
351
+ type: "unparsed";
352
+ hidden?: boolean | undefined;
353
+ } | {
354
+ type: "rgb";
355
+ r: number;
356
+ g: number;
357
+ b: number;
358
+ alpha: number;
359
+ hidden?: boolean | undefined;
360
+ } | undefined;
361
+ hidden?: boolean | undefined;
362
+ }>]>, "many">;
363
+ hidden: z.ZodOptional<z.ZodBoolean>;
364
+ }, "strip", z.ZodTypeAny, {
365
+ value: ({
366
+ value: {
367
+ value: string;
368
+ type: "asset";
369
+ } | {
370
+ type: "url";
371
+ url: string;
372
+ };
373
+ type: "image";
374
+ hidden?: boolean | undefined;
375
+ } | {
376
+ value: number;
377
+ type: "unit";
378
+ 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";
379
+ hidden?: boolean | undefined;
380
+ } | {
381
+ value: string;
382
+ type: "keyword";
383
+ hidden?: boolean | undefined;
384
+ } | {
385
+ value: string;
386
+ type: "unparsed";
387
+ hidden?: boolean | undefined;
388
+ } | {
389
+ type: "rgb";
390
+ r: number;
391
+ g: number;
392
+ b: number;
393
+ alpha: number;
394
+ hidden?: boolean | undefined;
395
+ } | {
396
+ type: "function";
397
+ name: string;
398
+ args: StyleValue;
399
+ hidden?: boolean;
400
+ } | {
401
+ value: string;
402
+ type: "var";
403
+ fallback?: {
404
+ value: number;
405
+ type: "unit";
406
+ 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";
407
+ hidden?: boolean | undefined;
408
+ } | {
409
+ value: string;
410
+ type: "keyword";
411
+ hidden?: boolean | undefined;
412
+ } | {
413
+ value: string;
414
+ type: "unparsed";
415
+ hidden?: boolean | undefined;
416
+ } | {
417
+ type: "rgb";
418
+ r: number;
419
+ g: number;
420
+ b: number;
421
+ alpha: number;
422
+ hidden?: boolean | undefined;
423
+ } | undefined;
424
+ hidden?: boolean | undefined;
425
+ })[];
426
+ type: "tuple";
427
+ hidden?: boolean | undefined;
428
+ }, {
429
+ value: ({
430
+ value: {
431
+ value: string;
432
+ type: "asset";
433
+ } | {
434
+ type: "url";
435
+ url: string;
436
+ };
437
+ type: "image";
438
+ hidden?: boolean | undefined;
439
+ } | {
440
+ value: number;
441
+ type: "unit";
442
+ 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";
443
+ hidden?: boolean | undefined;
444
+ } | {
445
+ value: string;
446
+ type: "keyword";
447
+ hidden?: boolean | undefined;
448
+ } | {
449
+ value: string;
450
+ type: "unparsed";
451
+ hidden?: boolean | undefined;
452
+ } | {
453
+ type: "rgb";
454
+ r: number;
455
+ g: number;
456
+ b: number;
457
+ alpha: number;
458
+ hidden?: boolean | undefined;
459
+ } | {
460
+ type: "function";
461
+ name: string;
462
+ args: StyleValue;
463
+ hidden?: boolean;
464
+ } | {
465
+ value: string;
466
+ type: "var";
467
+ fallback?: {
468
+ value: number;
469
+ type: "unit";
470
+ 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";
471
+ hidden?: boolean | undefined;
472
+ } | {
473
+ value: string;
474
+ type: "keyword";
475
+ hidden?: boolean | undefined;
476
+ } | {
477
+ value: string;
478
+ type: "unparsed";
479
+ hidden?: boolean | undefined;
480
+ } | {
481
+ type: "rgb";
482
+ r: number;
483
+ g: number;
484
+ b: number;
485
+ alpha: number;
486
+ hidden?: boolean | undefined;
487
+ } | undefined;
488
+ hidden?: boolean | undefined;
489
+ })[];
490
+ type: "tuple";
491
+ hidden?: boolean | undefined;
492
+ }>, z.ZodObject<{
493
+ type: z.ZodLiteral<"rgb">;
494
+ r: z.ZodNumber;
495
+ g: z.ZodNumber;
496
+ b: z.ZodNumber;
497
+ alpha: z.ZodNumber;
498
+ hidden: z.ZodOptional<z.ZodBoolean>;
499
+ }, "strip", z.ZodTypeAny, {
500
+ type: "rgb";
501
+ r: number;
502
+ g: number;
503
+ b: number;
504
+ alpha: number;
505
+ hidden?: boolean | undefined;
506
+ }, {
507
+ type: "rgb";
508
+ r: number;
509
+ g: number;
510
+ b: number;
511
+ alpha: number;
512
+ hidden?: boolean | undefined;
513
+ }>, z.ZodObject<{
514
+ type: z.ZodLiteral<"invalid">;
515
+ value: z.ZodString;
516
+ hidden: z.ZodOptional<z.ZodBoolean>;
517
+ }, "strip", z.ZodTypeAny, {
518
+ value: string;
519
+ type: "invalid";
520
+ hidden?: boolean | undefined;
521
+ }, {
522
+ value: string;
523
+ type: "invalid";
524
+ hidden?: boolean | undefined;
525
+ }>, z.ZodType<{
526
+ type: "function";
527
+ name: string;
528
+ args: StyleValue;
529
+ hidden?: boolean;
530
+ }, z.ZodTypeDef, {
531
+ type: "function";
532
+ name: string;
533
+ args: StyleValue;
534
+ hidden?: boolean;
535
+ }>, z.ZodObject<{
536
+ type: z.ZodLiteral<"var">;
537
+ value: z.ZodString;
538
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
539
+ type: z.ZodLiteral<"unparsed">;
540
+ value: z.ZodString;
541
+ hidden: z.ZodOptional<z.ZodBoolean>;
542
+ }, "strip", z.ZodTypeAny, {
543
+ value: string;
544
+ type: "unparsed";
545
+ hidden?: boolean | undefined;
546
+ }, {
547
+ value: string;
548
+ type: "unparsed";
549
+ hidden?: boolean | undefined;
550
+ }>, z.ZodObject<{
551
+ type: z.ZodLiteral<"keyword">;
552
+ value: z.ZodString;
553
+ hidden: z.ZodOptional<z.ZodBoolean>;
554
+ }, "strip", z.ZodTypeAny, {
555
+ value: string;
556
+ type: "keyword";
557
+ hidden?: boolean | undefined;
558
+ }, {
559
+ value: string;
560
+ type: "keyword";
561
+ hidden?: boolean | undefined;
562
+ }>, z.ZodObject<{
563
+ type: z.ZodLiteral<"unit">;
564
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
565
+ value: z.ZodNumber;
566
+ hidden: z.ZodOptional<z.ZodBoolean>;
567
+ }, "strip", z.ZodTypeAny, {
568
+ value: number;
569
+ type: "unit";
570
+ 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";
571
+ hidden?: boolean | undefined;
572
+ }, {
573
+ value: number;
574
+ type: "unit";
575
+ 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";
576
+ hidden?: boolean | undefined;
577
+ }>, z.ZodObject<{
578
+ type: z.ZodLiteral<"rgb">;
579
+ r: z.ZodNumber;
580
+ g: z.ZodNumber;
581
+ b: z.ZodNumber;
582
+ alpha: z.ZodNumber;
583
+ hidden: z.ZodOptional<z.ZodBoolean>;
584
+ }, "strip", z.ZodTypeAny, {
585
+ type: "rgb";
586
+ r: number;
587
+ g: number;
588
+ b: number;
589
+ alpha: number;
590
+ hidden?: boolean | undefined;
591
+ }, {
592
+ type: "rgb";
593
+ r: number;
594
+ g: number;
595
+ b: number;
596
+ alpha: number;
597
+ hidden?: boolean | undefined;
598
+ }>]>>;
599
+ hidden: z.ZodOptional<z.ZodBoolean>;
600
+ }, "strip", z.ZodTypeAny, {
601
+ value: string;
602
+ type: "var";
603
+ fallback?: {
604
+ value: number;
605
+ type: "unit";
606
+ 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";
607
+ hidden?: boolean | undefined;
608
+ } | {
609
+ value: string;
610
+ type: "keyword";
611
+ hidden?: boolean | undefined;
612
+ } | {
613
+ value: string;
614
+ type: "unparsed";
615
+ hidden?: boolean | undefined;
616
+ } | {
617
+ type: "rgb";
618
+ r: number;
619
+ g: number;
620
+ b: number;
621
+ alpha: number;
622
+ hidden?: boolean | undefined;
623
+ } | undefined;
624
+ hidden?: boolean | undefined;
625
+ }, {
626
+ value: string;
627
+ type: "var";
628
+ fallback?: {
629
+ value: number;
630
+ type: "unit";
631
+ 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";
632
+ hidden?: boolean | undefined;
633
+ } | {
634
+ value: string;
635
+ type: "keyword";
636
+ hidden?: boolean | undefined;
637
+ } | {
638
+ value: string;
639
+ type: "unparsed";
640
+ hidden?: boolean | undefined;
641
+ } | {
642
+ type: "rgb";
643
+ r: number;
644
+ g: number;
645
+ b: number;
646
+ alpha: number;
647
+ hidden?: boolean | undefined;
648
+ } | undefined;
649
+ hidden?: boolean | undefined;
650
+ }>]>, "many">;
651
+ hidden: z.ZodOptional<z.ZodBoolean>;
652
+ }, "strip", z.ZodTypeAny, {
653
+ value: ({
654
+ value: {
655
+ value: string;
656
+ type: "asset";
657
+ } | {
658
+ type: "url";
659
+ url: string;
660
+ };
661
+ type: "image";
662
+ hidden?: boolean | undefined;
663
+ } | {
664
+ value: number;
665
+ type: "unit";
666
+ 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";
667
+ hidden?: boolean | undefined;
668
+ } | {
669
+ value: string;
670
+ type: "keyword";
671
+ hidden?: boolean | undefined;
672
+ } | {
673
+ value: string;
674
+ type: "unparsed";
675
+ hidden?: boolean | undefined;
676
+ } | {
677
+ type: "rgb";
678
+ r: number;
679
+ g: number;
680
+ b: number;
681
+ alpha: number;
682
+ hidden?: boolean | undefined;
683
+ } | {
684
+ type: "function";
685
+ name: string;
686
+ args: StyleValue;
687
+ hidden?: boolean;
688
+ } | {
689
+ value: string;
690
+ type: "var";
691
+ fallback?: {
692
+ value: number;
693
+ type: "unit";
694
+ 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";
695
+ hidden?: boolean | undefined;
696
+ } | {
697
+ value: string;
698
+ type: "keyword";
699
+ hidden?: boolean | undefined;
700
+ } | {
701
+ value: string;
702
+ type: "unparsed";
703
+ hidden?: boolean | undefined;
704
+ } | {
705
+ type: "rgb";
706
+ r: number;
707
+ g: number;
708
+ b: number;
709
+ alpha: number;
710
+ hidden?: boolean | undefined;
711
+ } | undefined;
712
+ hidden?: boolean | undefined;
713
+ } | {
714
+ value: ({
715
+ value: {
716
+ value: string;
717
+ type: "asset";
718
+ } | {
719
+ type: "url";
720
+ url: string;
721
+ };
722
+ type: "image";
723
+ hidden?: boolean | undefined;
724
+ } | {
725
+ value: number;
726
+ type: "unit";
727
+ 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";
728
+ hidden?: boolean | undefined;
729
+ } | {
730
+ value: string;
731
+ type: "keyword";
732
+ hidden?: boolean | undefined;
733
+ } | {
734
+ value: string;
735
+ type: "unparsed";
736
+ hidden?: boolean | undefined;
737
+ } | {
738
+ type: "rgb";
739
+ r: number;
740
+ g: number;
741
+ b: number;
742
+ alpha: number;
743
+ hidden?: boolean | undefined;
744
+ } | {
745
+ type: "function";
746
+ name: string;
747
+ args: StyleValue;
748
+ hidden?: boolean;
749
+ } | {
750
+ value: string;
751
+ type: "var";
752
+ fallback?: {
753
+ value: number;
754
+ type: "unit";
755
+ 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";
756
+ hidden?: boolean | undefined;
757
+ } | {
758
+ value: string;
759
+ type: "keyword";
760
+ hidden?: boolean | undefined;
761
+ } | {
762
+ value: string;
763
+ type: "unparsed";
764
+ hidden?: boolean | undefined;
765
+ } | {
766
+ type: "rgb";
767
+ r: number;
768
+ g: number;
769
+ b: number;
770
+ alpha: number;
771
+ hidden?: boolean | undefined;
772
+ } | undefined;
773
+ hidden?: boolean | undefined;
774
+ })[];
775
+ type: "tuple";
776
+ hidden?: boolean | undefined;
777
+ } | {
778
+ value: string;
779
+ type: "invalid";
780
+ hidden?: boolean | undefined;
781
+ })[];
782
+ type: "layers";
783
+ hidden?: boolean | undefined;
784
+ }, {
785
+ value: ({
786
+ value: {
787
+ value: string;
788
+ type: "asset";
789
+ } | {
790
+ type: "url";
791
+ url: string;
792
+ };
793
+ type: "image";
794
+ hidden?: boolean | undefined;
795
+ } | {
796
+ value: number;
797
+ type: "unit";
798
+ 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";
799
+ hidden?: boolean | undefined;
800
+ } | {
801
+ value: string;
802
+ type: "keyword";
803
+ hidden?: boolean | undefined;
804
+ } | {
805
+ value: string;
806
+ type: "unparsed";
807
+ hidden?: boolean | undefined;
808
+ } | {
809
+ type: "rgb";
810
+ r: number;
811
+ g: number;
812
+ b: number;
813
+ alpha: number;
814
+ hidden?: boolean | undefined;
815
+ } | {
816
+ type: "function";
817
+ name: string;
818
+ args: StyleValue;
819
+ hidden?: boolean;
820
+ } | {
821
+ value: string;
822
+ type: "var";
823
+ fallback?: {
824
+ value: number;
825
+ type: "unit";
826
+ 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";
827
+ hidden?: boolean | undefined;
828
+ } | {
829
+ value: string;
830
+ type: "keyword";
831
+ hidden?: boolean | undefined;
832
+ } | {
833
+ value: string;
834
+ type: "unparsed";
835
+ hidden?: boolean | undefined;
836
+ } | {
837
+ type: "rgb";
838
+ r: number;
839
+ g: number;
840
+ b: number;
841
+ alpha: number;
842
+ hidden?: boolean | undefined;
843
+ } | undefined;
844
+ hidden?: boolean | undefined;
845
+ } | {
846
+ value: ({
847
+ value: {
848
+ value: string;
849
+ type: "asset";
850
+ } | {
851
+ type: "url";
852
+ url: string;
853
+ };
854
+ type: "image";
855
+ hidden?: boolean | undefined;
856
+ } | {
857
+ value: number;
858
+ type: "unit";
859
+ 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";
860
+ hidden?: boolean | undefined;
861
+ } | {
862
+ value: string;
863
+ type: "keyword";
864
+ hidden?: boolean | undefined;
865
+ } | {
866
+ value: string;
867
+ type: "unparsed";
868
+ hidden?: boolean | undefined;
869
+ } | {
870
+ type: "rgb";
871
+ r: number;
872
+ g: number;
873
+ b: number;
874
+ alpha: number;
875
+ hidden?: boolean | undefined;
876
+ } | {
877
+ type: "function";
878
+ name: string;
879
+ args: StyleValue;
880
+ hidden?: boolean;
881
+ } | {
882
+ value: string;
883
+ type: "var";
884
+ fallback?: {
885
+ value: number;
886
+ type: "unit";
887
+ 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";
888
+ hidden?: boolean | undefined;
889
+ } | {
890
+ value: string;
891
+ type: "keyword";
892
+ hidden?: boolean | undefined;
893
+ } | {
894
+ value: string;
895
+ type: "unparsed";
896
+ hidden?: boolean | undefined;
897
+ } | {
898
+ type: "rgb";
899
+ r: number;
900
+ g: number;
901
+ b: number;
902
+ alpha: number;
903
+ hidden?: boolean | undefined;
904
+ } | undefined;
905
+ hidden?: boolean | undefined;
906
+ })[];
907
+ type: "tuple";
908
+ hidden?: boolean | undefined;
909
+ } | {
910
+ value: string;
911
+ type: "invalid";
912
+ hidden?: boolean | undefined;
913
+ })[];
914
+ type: "layers";
915
+ hidden?: boolean | undefined;
916
+ }>, z.ZodObject<{
917
+ type: z.ZodLiteral<"unit">;
918
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
919
+ value: z.ZodNumber;
920
+ hidden: z.ZodOptional<z.ZodBoolean>;
921
+ }, "strip", z.ZodTypeAny, {
922
+ value: number;
923
+ type: "unit";
924
+ 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";
925
+ hidden?: boolean | undefined;
926
+ }, {
927
+ value: number;
928
+ type: "unit";
929
+ 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";
930
+ hidden?: boolean | undefined;
931
+ }>, z.ZodObject<{
932
+ type: z.ZodLiteral<"keyword">;
933
+ value: z.ZodString;
934
+ hidden: z.ZodOptional<z.ZodBoolean>;
935
+ }, "strip", z.ZodTypeAny, {
936
+ value: string;
937
+ type: "keyword";
938
+ hidden?: boolean | undefined;
939
+ }, {
940
+ value: string;
941
+ type: "keyword";
942
+ hidden?: boolean | undefined;
943
+ }>, z.ZodObject<{
944
+ type: z.ZodLiteral<"fontFamily">;
945
+ value: z.ZodArray<z.ZodString, "many">;
946
+ hidden: z.ZodOptional<z.ZodBoolean>;
947
+ }, "strip", z.ZodTypeAny, {
948
+ value: string[];
949
+ type: "fontFamily";
950
+ hidden?: boolean | undefined;
951
+ }, {
952
+ value: string[];
953
+ type: "fontFamily";
954
+ hidden?: boolean | undefined;
955
+ }>, z.ZodObject<{
956
+ type: z.ZodLiteral<"rgb">;
957
+ r: z.ZodNumber;
958
+ g: z.ZodNumber;
959
+ b: z.ZodNumber;
960
+ alpha: z.ZodNumber;
961
+ hidden: z.ZodOptional<z.ZodBoolean>;
962
+ }, "strip", z.ZodTypeAny, {
963
+ type: "rgb";
964
+ r: number;
965
+ g: number;
966
+ b: number;
967
+ alpha: number;
968
+ hidden?: boolean | undefined;
969
+ }, {
970
+ type: "rgb";
971
+ r: number;
972
+ g: number;
973
+ b: number;
974
+ alpha: number;
975
+ hidden?: boolean | undefined;
976
+ }>, z.ZodObject<{
977
+ type: z.ZodLiteral<"unparsed">;
978
+ value: z.ZodString;
979
+ hidden: z.ZodOptional<z.ZodBoolean>;
980
+ }, "strip", z.ZodTypeAny, {
981
+ value: string;
982
+ type: "unparsed";
983
+ hidden?: boolean | undefined;
984
+ }, {
985
+ value: string;
986
+ type: "unparsed";
987
+ hidden?: boolean | undefined;
988
+ }>, z.ZodObject<{
989
+ type: z.ZodLiteral<"tuple">;
990
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
991
+ type: z.ZodLiteral<"unit">;
992
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
993
+ value: z.ZodNumber;
994
+ hidden: z.ZodOptional<z.ZodBoolean>;
995
+ }, "strip", z.ZodTypeAny, {
996
+ value: number;
997
+ type: "unit";
998
+ 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";
999
+ hidden?: boolean | undefined;
1000
+ }, {
1001
+ value: number;
1002
+ type: "unit";
1003
+ 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";
1004
+ hidden?: boolean | undefined;
1005
+ }>, z.ZodObject<{
1006
+ type: z.ZodLiteral<"keyword">;
1007
+ value: z.ZodString;
1008
+ hidden: z.ZodOptional<z.ZodBoolean>;
1009
+ }, "strip", z.ZodTypeAny, {
1010
+ value: string;
1011
+ type: "keyword";
1012
+ hidden?: boolean | undefined;
1013
+ }, {
1014
+ value: string;
1015
+ type: "keyword";
1016
+ hidden?: boolean | undefined;
1017
+ }>, z.ZodObject<{
1018
+ type: z.ZodLiteral<"unparsed">;
1019
+ value: z.ZodString;
1020
+ hidden: z.ZodOptional<z.ZodBoolean>;
1021
+ }, "strip", z.ZodTypeAny, {
1022
+ value: string;
1023
+ type: "unparsed";
1024
+ hidden?: boolean | undefined;
1025
+ }, {
1026
+ value: string;
1027
+ type: "unparsed";
1028
+ hidden?: boolean | undefined;
1029
+ }>, z.ZodObject<{
1030
+ type: z.ZodLiteral<"image">;
1031
+ value: z.ZodUnion<[z.ZodObject<{
1032
+ type: z.ZodLiteral<"asset">;
1033
+ value: z.ZodString;
1034
+ }, "strip", z.ZodTypeAny, {
1035
+ value: string;
1036
+ type: "asset";
1037
+ }, {
1038
+ value: string;
1039
+ type: "asset";
1040
+ }>, z.ZodObject<{
1041
+ type: z.ZodLiteral<"url">;
1042
+ url: z.ZodString;
1043
+ }, "strip", z.ZodTypeAny, {
1044
+ type: "url";
1045
+ url: string;
1046
+ }, {
1047
+ type: "url";
1048
+ url: string;
1049
+ }>]>;
1050
+ hidden: z.ZodOptional<z.ZodBoolean>;
1051
+ }, "strip", z.ZodTypeAny, {
1052
+ value: {
1053
+ value: string;
1054
+ type: "asset";
1055
+ } | {
1056
+ type: "url";
1057
+ url: string;
1058
+ };
1059
+ type: "image";
1060
+ hidden?: boolean | undefined;
1061
+ }, {
1062
+ value: {
1063
+ value: string;
1064
+ type: "asset";
1065
+ } | {
1066
+ type: "url";
1067
+ url: string;
1068
+ };
1069
+ type: "image";
1070
+ hidden?: boolean | undefined;
1071
+ }>, z.ZodObject<{
1072
+ type: z.ZodLiteral<"rgb">;
1073
+ r: z.ZodNumber;
1074
+ g: z.ZodNumber;
1075
+ b: z.ZodNumber;
1076
+ alpha: z.ZodNumber;
1077
+ hidden: z.ZodOptional<z.ZodBoolean>;
1078
+ }, "strip", z.ZodTypeAny, {
1079
+ type: "rgb";
1080
+ r: number;
1081
+ g: number;
1082
+ b: number;
1083
+ alpha: number;
1084
+ hidden?: boolean | undefined;
1085
+ }, {
1086
+ type: "rgb";
1087
+ r: number;
1088
+ g: number;
1089
+ b: number;
1090
+ alpha: number;
1091
+ hidden?: boolean | undefined;
1092
+ }>, z.ZodType<{
1093
+ type: "function";
1094
+ name: string;
1095
+ args: StyleValue;
1096
+ hidden?: boolean;
1097
+ }, z.ZodTypeDef, {
1098
+ type: "function";
1099
+ name: string;
1100
+ args: StyleValue;
1101
+ hidden?: boolean;
1102
+ }>, z.ZodObject<{
1103
+ type: z.ZodLiteral<"var">;
1104
+ value: z.ZodString;
1105
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1106
+ type: z.ZodLiteral<"unparsed">;
1107
+ value: z.ZodString;
1108
+ hidden: z.ZodOptional<z.ZodBoolean>;
1109
+ }, "strip", z.ZodTypeAny, {
1110
+ value: string;
1111
+ type: "unparsed";
1112
+ hidden?: boolean | undefined;
1113
+ }, {
1114
+ value: string;
1115
+ type: "unparsed";
1116
+ hidden?: boolean | undefined;
1117
+ }>, z.ZodObject<{
1118
+ type: z.ZodLiteral<"keyword">;
1119
+ value: z.ZodString;
1120
+ hidden: z.ZodOptional<z.ZodBoolean>;
1121
+ }, "strip", z.ZodTypeAny, {
1122
+ value: string;
1123
+ type: "keyword";
1124
+ hidden?: boolean | undefined;
1125
+ }, {
1126
+ value: string;
1127
+ type: "keyword";
1128
+ hidden?: boolean | undefined;
1129
+ }>, z.ZodObject<{
1130
+ type: z.ZodLiteral<"unit">;
1131
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
1132
+ value: z.ZodNumber;
1133
+ hidden: z.ZodOptional<z.ZodBoolean>;
1134
+ }, "strip", z.ZodTypeAny, {
1135
+ value: number;
1136
+ type: "unit";
1137
+ 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";
1138
+ hidden?: boolean | undefined;
1139
+ }, {
1140
+ value: number;
1141
+ type: "unit";
1142
+ 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";
1143
+ hidden?: boolean | undefined;
1144
+ }>, z.ZodObject<{
1145
+ type: z.ZodLiteral<"rgb">;
1146
+ r: z.ZodNumber;
1147
+ g: z.ZodNumber;
1148
+ b: z.ZodNumber;
1149
+ alpha: z.ZodNumber;
1150
+ hidden: z.ZodOptional<z.ZodBoolean>;
1151
+ }, "strip", z.ZodTypeAny, {
1152
+ type: "rgb";
1153
+ r: number;
1154
+ g: number;
1155
+ b: number;
1156
+ alpha: number;
1157
+ hidden?: boolean | undefined;
1158
+ }, {
1159
+ type: "rgb";
1160
+ r: number;
1161
+ g: number;
1162
+ b: number;
1163
+ alpha: number;
1164
+ hidden?: boolean | undefined;
1165
+ }>]>>;
1166
+ hidden: z.ZodOptional<z.ZodBoolean>;
1167
+ }, "strip", z.ZodTypeAny, {
1168
+ value: string;
1169
+ type: "var";
1170
+ fallback?: {
1171
+ value: number;
1172
+ type: "unit";
1173
+ 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";
1174
+ hidden?: boolean | undefined;
1175
+ } | {
1176
+ value: string;
1177
+ type: "keyword";
1178
+ hidden?: boolean | undefined;
1179
+ } | {
1180
+ value: string;
1181
+ type: "unparsed";
1182
+ hidden?: boolean | undefined;
1183
+ } | {
1184
+ type: "rgb";
1185
+ r: number;
1186
+ g: number;
1187
+ b: number;
1188
+ alpha: number;
1189
+ hidden?: boolean | undefined;
1190
+ } | undefined;
1191
+ hidden?: boolean | undefined;
1192
+ }, {
1193
+ value: string;
1194
+ type: "var";
1195
+ fallback?: {
1196
+ value: number;
1197
+ type: "unit";
1198
+ 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";
1199
+ hidden?: boolean | undefined;
1200
+ } | {
1201
+ value: string;
1202
+ type: "keyword";
1203
+ hidden?: boolean | undefined;
1204
+ } | {
1205
+ value: string;
1206
+ type: "unparsed";
1207
+ hidden?: boolean | undefined;
1208
+ } | {
1209
+ type: "rgb";
1210
+ r: number;
1211
+ g: number;
1212
+ b: number;
1213
+ alpha: number;
1214
+ hidden?: boolean | undefined;
1215
+ } | undefined;
1216
+ hidden?: boolean | undefined;
1217
+ }>]>, "many">;
1218
+ hidden: z.ZodOptional<z.ZodBoolean>;
1219
+ }, "strip", z.ZodTypeAny, {
1220
+ value: ({
1221
+ value: {
1222
+ value: string;
1223
+ type: "asset";
1224
+ } | {
1225
+ type: "url";
1226
+ url: string;
1227
+ };
1228
+ type: "image";
1229
+ hidden?: boolean | undefined;
1230
+ } | {
1231
+ value: number;
1232
+ type: "unit";
1233
+ 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";
1234
+ hidden?: boolean | undefined;
1235
+ } | {
1236
+ value: string;
1237
+ type: "keyword";
1238
+ hidden?: boolean | undefined;
1239
+ } | {
1240
+ value: string;
1241
+ type: "unparsed";
1242
+ hidden?: boolean | undefined;
1243
+ } | {
1244
+ type: "rgb";
1245
+ r: number;
1246
+ g: number;
1247
+ b: number;
1248
+ alpha: number;
1249
+ hidden?: boolean | undefined;
1250
+ } | {
1251
+ type: "function";
1252
+ name: string;
1253
+ args: StyleValue;
1254
+ hidden?: boolean;
1255
+ } | {
1256
+ value: string;
1257
+ type: "var";
1258
+ fallback?: {
1259
+ value: number;
1260
+ type: "unit";
1261
+ 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";
1262
+ hidden?: boolean | undefined;
1263
+ } | {
1264
+ value: string;
1265
+ type: "keyword";
1266
+ hidden?: boolean | undefined;
1267
+ } | {
1268
+ value: string;
1269
+ type: "unparsed";
1270
+ hidden?: boolean | undefined;
1271
+ } | {
1272
+ type: "rgb";
1273
+ r: number;
1274
+ g: number;
1275
+ b: number;
1276
+ alpha: number;
1277
+ hidden?: boolean | undefined;
1278
+ } | undefined;
1279
+ hidden?: boolean | undefined;
1280
+ })[];
1281
+ type: "tuple";
1282
+ hidden?: boolean | undefined;
1283
+ }, {
1284
+ value: ({
1285
+ value: {
1286
+ value: string;
1287
+ type: "asset";
1288
+ } | {
1289
+ type: "url";
1290
+ url: string;
1291
+ };
1292
+ type: "image";
1293
+ hidden?: boolean | undefined;
1294
+ } | {
1295
+ value: number;
1296
+ type: "unit";
1297
+ 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";
1298
+ hidden?: boolean | undefined;
1299
+ } | {
1300
+ value: string;
1301
+ type: "keyword";
1302
+ hidden?: boolean | undefined;
1303
+ } | {
1304
+ value: string;
1305
+ type: "unparsed";
1306
+ hidden?: boolean | undefined;
1307
+ } | {
1308
+ type: "rgb";
1309
+ r: number;
1310
+ g: number;
1311
+ b: number;
1312
+ alpha: number;
1313
+ hidden?: boolean | undefined;
1314
+ } | {
1315
+ type: "function";
1316
+ name: string;
1317
+ args: StyleValue;
1318
+ hidden?: boolean;
1319
+ } | {
1320
+ value: string;
1321
+ type: "var";
1322
+ fallback?: {
1323
+ value: number;
1324
+ type: "unit";
1325
+ 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";
1326
+ hidden?: boolean | undefined;
1327
+ } | {
1328
+ value: string;
1329
+ type: "keyword";
1330
+ hidden?: boolean | undefined;
1331
+ } | {
1332
+ value: string;
1333
+ type: "unparsed";
1334
+ hidden?: boolean | undefined;
1335
+ } | {
1336
+ type: "rgb";
1337
+ r: number;
1338
+ g: number;
1339
+ b: number;
1340
+ alpha: number;
1341
+ hidden?: boolean | undefined;
1342
+ } | undefined;
1343
+ hidden?: boolean | undefined;
1344
+ })[];
1345
+ type: "tuple";
1346
+ hidden?: boolean | undefined;
1347
+ }>, z.ZodType<{
1348
+ type: "function";
1349
+ name: string;
1350
+ args: StyleValue;
1351
+ hidden?: boolean;
1352
+ }, z.ZodTypeDef, {
1353
+ type: "function";
1354
+ name: string;
1355
+ args: StyleValue;
1356
+ hidden?: boolean;
1357
+ }>, z.ZodObject<{
1358
+ type: z.ZodLiteral<"guaranteedInvalid">;
1359
+ hidden: z.ZodOptional<z.ZodBoolean>;
1360
+ }, "strip", z.ZodTypeAny, {
1361
+ type: "guaranteedInvalid";
1362
+ hidden?: boolean | undefined;
1363
+ }, {
1364
+ type: "guaranteedInvalid";
1365
+ hidden?: boolean | undefined;
1366
+ }>, z.ZodObject<{
1367
+ type: z.ZodLiteral<"invalid">;
1368
+ value: z.ZodString;
1369
+ hidden: z.ZodOptional<z.ZodBoolean>;
1370
+ }, "strip", z.ZodTypeAny, {
1371
+ value: string;
1372
+ type: "invalid";
1373
+ hidden?: boolean | undefined;
1374
+ }, {
1375
+ value: string;
1376
+ type: "invalid";
1377
+ hidden?: boolean | undefined;
1378
+ }>, z.ZodObject<{
1379
+ type: z.ZodLiteral<"unset">;
1380
+ value: z.ZodLiteral<"">;
1381
+ hidden: z.ZodOptional<z.ZodBoolean>;
1382
+ }, "strip", z.ZodTypeAny, {
1383
+ value: "";
1384
+ type: "unset";
1385
+ hidden?: boolean | undefined;
1386
+ }, {
1387
+ value: "";
1388
+ type: "unset";
1389
+ hidden?: boolean | undefined;
1390
+ }>, z.ZodObject<{
1391
+ type: z.ZodLiteral<"var">;
1392
+ value: z.ZodString;
1393
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1394
+ type: z.ZodLiteral<"unparsed">;
1395
+ value: z.ZodString;
1396
+ hidden: z.ZodOptional<z.ZodBoolean>;
1397
+ }, "strip", z.ZodTypeAny, {
1398
+ value: string;
1399
+ type: "unparsed";
1400
+ hidden?: boolean | undefined;
1401
+ }, {
1402
+ value: string;
1403
+ type: "unparsed";
1404
+ hidden?: boolean | undefined;
1405
+ }>, z.ZodObject<{
1406
+ type: z.ZodLiteral<"keyword">;
1407
+ value: z.ZodString;
1408
+ hidden: z.ZodOptional<z.ZodBoolean>;
1409
+ }, "strip", z.ZodTypeAny, {
1410
+ value: string;
1411
+ type: "keyword";
1412
+ hidden?: boolean | undefined;
1413
+ }, {
1414
+ value: string;
1415
+ type: "keyword";
1416
+ hidden?: boolean | undefined;
1417
+ }>, z.ZodObject<{
1418
+ type: z.ZodLiteral<"unit">;
1419
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
1420
+ value: z.ZodNumber;
1421
+ hidden: z.ZodOptional<z.ZodBoolean>;
1422
+ }, "strip", z.ZodTypeAny, {
1423
+ value: number;
1424
+ type: "unit";
1425
+ 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";
1426
+ hidden?: boolean | undefined;
1427
+ }, {
1428
+ value: number;
1429
+ type: "unit";
1430
+ 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";
1431
+ hidden?: boolean | undefined;
1432
+ }>, z.ZodObject<{
1433
+ type: z.ZodLiteral<"rgb">;
1434
+ r: z.ZodNumber;
1435
+ g: z.ZodNumber;
1436
+ b: z.ZodNumber;
1437
+ alpha: z.ZodNumber;
1438
+ hidden: z.ZodOptional<z.ZodBoolean>;
1439
+ }, "strip", z.ZodTypeAny, {
1440
+ type: "rgb";
1441
+ r: number;
1442
+ g: number;
1443
+ b: number;
1444
+ alpha: number;
1445
+ hidden?: boolean | undefined;
1446
+ }, {
1447
+ type: "rgb";
1448
+ r: number;
1449
+ g: number;
1450
+ b: number;
1451
+ alpha: number;
1452
+ hidden?: boolean | undefined;
1453
+ }>]>>;
1454
+ hidden: z.ZodOptional<z.ZodBoolean>;
1455
+ }, "strip", z.ZodTypeAny, {
1456
+ value: string;
1457
+ type: "var";
1458
+ fallback?: {
1459
+ value: number;
1460
+ type: "unit";
1461
+ 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";
1462
+ hidden?: boolean | undefined;
1463
+ } | {
1464
+ value: string;
1465
+ type: "keyword";
1466
+ hidden?: boolean | undefined;
1467
+ } | {
1468
+ value: string;
1469
+ type: "unparsed";
1470
+ hidden?: boolean | undefined;
1471
+ } | {
1472
+ type: "rgb";
1473
+ r: number;
1474
+ g: number;
1475
+ b: number;
1476
+ alpha: number;
1477
+ hidden?: boolean | undefined;
1478
+ } | undefined;
1479
+ hidden?: boolean | undefined;
1480
+ }, {
1481
+ value: string;
1482
+ type: "var";
1483
+ fallback?: {
1484
+ value: number;
1485
+ type: "unit";
1486
+ 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";
1487
+ hidden?: boolean | undefined;
1488
+ } | {
1489
+ value: string;
1490
+ type: "keyword";
1491
+ hidden?: boolean | undefined;
1492
+ } | {
1493
+ value: string;
1494
+ type: "unparsed";
1495
+ hidden?: boolean | undefined;
1496
+ } | {
1497
+ type: "rgb";
1498
+ r: number;
1499
+ g: number;
1500
+ b: number;
1501
+ alpha: number;
1502
+ hidden?: boolean | undefined;
1503
+ } | undefined;
1504
+ hidden?: boolean | undefined;
1505
+ }>]>;
1506
+ }, "strip", z.ZodTypeAny, {
1507
+ value: {
1508
+ value: {
1509
+ value: string;
1510
+ type: "asset";
1511
+ } | {
1512
+ type: "url";
1513
+ url: string;
1514
+ };
1515
+ type: "image";
1516
+ hidden?: boolean | undefined;
1517
+ } | {
1518
+ value: number;
1519
+ type: "unit";
1520
+ 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";
1521
+ hidden?: boolean | undefined;
1522
+ } | {
1523
+ value: string;
1524
+ type: "keyword";
1525
+ hidden?: boolean | undefined;
1526
+ } | {
1527
+ value: string;
1528
+ type: "unparsed";
1529
+ hidden?: boolean | undefined;
1530
+ } | {
1531
+ type: "rgb";
1532
+ r: number;
1533
+ g: number;
1534
+ b: number;
1535
+ alpha: number;
1536
+ hidden?: boolean | undefined;
1537
+ } | {
1538
+ type: "function";
1539
+ name: string;
1540
+ args: StyleValue;
1541
+ hidden?: boolean;
1542
+ } | {
1543
+ value: string;
1544
+ type: "var";
1545
+ fallback?: {
1546
+ value: number;
1547
+ type: "unit";
1548
+ 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";
1549
+ hidden?: boolean | undefined;
1550
+ } | {
1551
+ value: string;
1552
+ type: "keyword";
1553
+ hidden?: boolean | undefined;
1554
+ } | {
1555
+ value: string;
1556
+ type: "unparsed";
1557
+ hidden?: boolean | undefined;
1558
+ } | {
1559
+ type: "rgb";
1560
+ r: number;
1561
+ g: number;
1562
+ b: number;
1563
+ alpha: number;
1564
+ hidden?: boolean | undefined;
1565
+ } | undefined;
1566
+ hidden?: boolean | undefined;
1567
+ } | {
1568
+ value: ({
1569
+ value: {
1570
+ value: string;
1571
+ type: "asset";
1572
+ } | {
1573
+ type: "url";
1574
+ url: string;
1575
+ };
1576
+ type: "image";
1577
+ hidden?: boolean | undefined;
1578
+ } | {
1579
+ value: number;
1580
+ type: "unit";
1581
+ 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";
1582
+ hidden?: boolean | undefined;
1583
+ } | {
1584
+ value: string;
1585
+ type: "keyword";
1586
+ hidden?: boolean | undefined;
1587
+ } | {
1588
+ value: string;
1589
+ type: "unparsed";
1590
+ hidden?: boolean | undefined;
1591
+ } | {
1592
+ type: "rgb";
1593
+ r: number;
1594
+ g: number;
1595
+ b: number;
1596
+ alpha: number;
1597
+ hidden?: boolean | undefined;
1598
+ } | {
1599
+ type: "function";
1600
+ name: string;
1601
+ args: StyleValue;
1602
+ hidden?: boolean;
1603
+ } | {
1604
+ value: string;
1605
+ type: "var";
1606
+ fallback?: {
1607
+ value: number;
1608
+ type: "unit";
1609
+ 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";
1610
+ hidden?: boolean | undefined;
1611
+ } | {
1612
+ value: string;
1613
+ type: "keyword";
1614
+ hidden?: boolean | undefined;
1615
+ } | {
1616
+ value: string;
1617
+ type: "unparsed";
1618
+ hidden?: boolean | undefined;
1619
+ } | {
1620
+ type: "rgb";
1621
+ r: number;
1622
+ g: number;
1623
+ b: number;
1624
+ alpha: number;
1625
+ hidden?: boolean | undefined;
1626
+ } | undefined;
1627
+ hidden?: boolean | undefined;
1628
+ })[];
1629
+ type: "tuple";
1630
+ hidden?: boolean | undefined;
1631
+ } | {
1632
+ value: string;
1633
+ type: "invalid";
1634
+ hidden?: boolean | undefined;
1635
+ } | {
1636
+ value: ({
1637
+ value: {
1638
+ value: string;
1639
+ type: "asset";
1640
+ } | {
1641
+ type: "url";
1642
+ url: string;
1643
+ };
1644
+ type: "image";
1645
+ hidden?: boolean | undefined;
1646
+ } | {
1647
+ value: number;
1648
+ type: "unit";
1649
+ 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";
1650
+ hidden?: boolean | undefined;
1651
+ } | {
1652
+ value: string;
1653
+ type: "keyword";
1654
+ hidden?: boolean | undefined;
1655
+ } | {
1656
+ value: string;
1657
+ type: "unparsed";
1658
+ hidden?: boolean | undefined;
1659
+ } | {
1660
+ type: "rgb";
1661
+ r: number;
1662
+ g: number;
1663
+ b: number;
1664
+ alpha: number;
1665
+ hidden?: boolean | undefined;
1666
+ } | {
1667
+ type: "function";
1668
+ name: string;
1669
+ args: StyleValue;
1670
+ hidden?: boolean;
1671
+ } | {
1672
+ value: string;
1673
+ type: "var";
1674
+ fallback?: {
1675
+ value: number;
1676
+ type: "unit";
1677
+ 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";
1678
+ hidden?: boolean | undefined;
1679
+ } | {
1680
+ value: string;
1681
+ type: "keyword";
1682
+ hidden?: boolean | undefined;
1683
+ } | {
1684
+ value: string;
1685
+ type: "unparsed";
1686
+ hidden?: boolean | undefined;
1687
+ } | {
1688
+ type: "rgb";
1689
+ r: number;
1690
+ g: number;
1691
+ b: number;
1692
+ alpha: number;
1693
+ hidden?: boolean | undefined;
1694
+ } | undefined;
1695
+ hidden?: boolean | undefined;
1696
+ } | {
1697
+ value: ({
1698
+ value: {
1699
+ value: string;
1700
+ type: "asset";
1701
+ } | {
1702
+ type: "url";
1703
+ url: string;
1704
+ };
1705
+ type: "image";
1706
+ hidden?: boolean | undefined;
1707
+ } | {
1708
+ value: number;
1709
+ type: "unit";
1710
+ 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";
1711
+ hidden?: boolean | undefined;
1712
+ } | {
1713
+ value: string;
1714
+ type: "keyword";
1715
+ hidden?: boolean | undefined;
1716
+ } | {
1717
+ value: string;
1718
+ type: "unparsed";
1719
+ hidden?: boolean | undefined;
1720
+ } | {
1721
+ type: "rgb";
1722
+ r: number;
1723
+ g: number;
1724
+ b: number;
1725
+ alpha: number;
1726
+ hidden?: boolean | undefined;
1727
+ } | {
1728
+ type: "function";
1729
+ name: string;
1730
+ args: StyleValue;
1731
+ hidden?: boolean;
1732
+ } | {
1733
+ value: string;
1734
+ type: "var";
1735
+ fallback?: {
1736
+ value: number;
1737
+ type: "unit";
1738
+ 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";
1739
+ hidden?: boolean | undefined;
1740
+ } | {
1741
+ value: string;
1742
+ type: "keyword";
1743
+ hidden?: boolean | undefined;
1744
+ } | {
1745
+ value: string;
1746
+ type: "unparsed";
1747
+ hidden?: boolean | undefined;
1748
+ } | {
1749
+ type: "rgb";
1750
+ r: number;
1751
+ g: number;
1752
+ b: number;
1753
+ alpha: number;
1754
+ hidden?: boolean | undefined;
1755
+ } | undefined;
1756
+ hidden?: boolean | undefined;
1757
+ })[];
1758
+ type: "tuple";
1759
+ hidden?: boolean | undefined;
1760
+ } | {
1761
+ value: string;
1762
+ type: "invalid";
1763
+ hidden?: boolean | undefined;
1764
+ })[];
1765
+ type: "layers";
1766
+ hidden?: boolean | undefined;
1767
+ } | {
1768
+ value: string[];
1769
+ type: "fontFamily";
1770
+ hidden?: boolean | undefined;
1771
+ } | {
1772
+ type: "guaranteedInvalid";
1773
+ hidden?: boolean | undefined;
1774
+ } | {
1775
+ value: "";
1776
+ type: "unset";
1777
+ hidden?: boolean | undefined;
1778
+ };
1779
+ property: string;
1780
+ state?: string | undefined;
1781
+ }, {
1782
+ value: {
1783
+ value: {
1784
+ value: string;
1785
+ type: "asset";
1786
+ } | {
1787
+ type: "url";
1788
+ url: string;
1789
+ };
1790
+ type: "image";
1791
+ hidden?: boolean | undefined;
1792
+ } | {
1793
+ value: number;
1794
+ type: "unit";
1795
+ 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";
1796
+ hidden?: boolean | undefined;
1797
+ } | {
1798
+ value: string;
1799
+ type: "keyword";
1800
+ hidden?: boolean | undefined;
1801
+ } | {
1802
+ value: string;
1803
+ type: "unparsed";
1804
+ hidden?: boolean | undefined;
1805
+ } | {
1806
+ type: "rgb";
1807
+ r: number;
1808
+ g: number;
1809
+ b: number;
1810
+ alpha: number;
1811
+ hidden?: boolean | undefined;
1812
+ } | {
1813
+ type: "function";
1814
+ name: string;
1815
+ args: StyleValue;
1816
+ hidden?: boolean;
1817
+ } | {
1818
+ value: string;
1819
+ type: "var";
1820
+ fallback?: {
1821
+ value: number;
1822
+ type: "unit";
1823
+ 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";
1824
+ hidden?: boolean | undefined;
1825
+ } | {
1826
+ value: string;
1827
+ type: "keyword";
1828
+ hidden?: boolean | undefined;
1829
+ } | {
1830
+ value: string;
1831
+ type: "unparsed";
1832
+ hidden?: boolean | undefined;
1833
+ } | {
1834
+ type: "rgb";
1835
+ r: number;
1836
+ g: number;
1837
+ b: number;
1838
+ alpha: number;
1839
+ hidden?: boolean | undefined;
1840
+ } | undefined;
1841
+ hidden?: boolean | undefined;
1842
+ } | {
1843
+ value: ({
1844
+ value: {
1845
+ value: string;
1846
+ type: "asset";
1847
+ } | {
1848
+ type: "url";
1849
+ url: string;
1850
+ };
1851
+ type: "image";
1852
+ hidden?: boolean | undefined;
1853
+ } | {
1854
+ value: number;
1855
+ type: "unit";
1856
+ 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";
1857
+ hidden?: boolean | undefined;
1858
+ } | {
1859
+ value: string;
1860
+ type: "keyword";
1861
+ hidden?: boolean | undefined;
1862
+ } | {
1863
+ value: string;
1864
+ type: "unparsed";
1865
+ hidden?: boolean | undefined;
1866
+ } | {
1867
+ type: "rgb";
1868
+ r: number;
1869
+ g: number;
1870
+ b: number;
1871
+ alpha: number;
1872
+ hidden?: boolean | undefined;
1873
+ } | {
1874
+ type: "function";
1875
+ name: string;
1876
+ args: StyleValue;
1877
+ hidden?: boolean;
1878
+ } | {
1879
+ value: string;
1880
+ type: "var";
1881
+ fallback?: {
1882
+ value: number;
1883
+ type: "unit";
1884
+ 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";
1885
+ hidden?: boolean | undefined;
1886
+ } | {
1887
+ value: string;
1888
+ type: "keyword";
1889
+ hidden?: boolean | undefined;
1890
+ } | {
1891
+ value: string;
1892
+ type: "unparsed";
1893
+ hidden?: boolean | undefined;
1894
+ } | {
1895
+ type: "rgb";
1896
+ r: number;
1897
+ g: number;
1898
+ b: number;
1899
+ alpha: number;
1900
+ hidden?: boolean | undefined;
1901
+ } | undefined;
1902
+ hidden?: boolean | undefined;
1903
+ })[];
1904
+ type: "tuple";
1905
+ hidden?: boolean | undefined;
1906
+ } | {
1907
+ value: string;
1908
+ type: "invalid";
1909
+ hidden?: boolean | undefined;
1910
+ } | {
1911
+ value: ({
1912
+ value: {
1913
+ value: string;
1914
+ type: "asset";
1915
+ } | {
1916
+ type: "url";
1917
+ url: string;
1918
+ };
1919
+ type: "image";
1920
+ hidden?: boolean | undefined;
1921
+ } | {
1922
+ value: number;
1923
+ type: "unit";
1924
+ 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";
1925
+ hidden?: boolean | undefined;
1926
+ } | {
1927
+ value: string;
1928
+ type: "keyword";
1929
+ hidden?: boolean | undefined;
1930
+ } | {
1931
+ value: string;
1932
+ type: "unparsed";
1933
+ hidden?: boolean | undefined;
1934
+ } | {
1935
+ type: "rgb";
1936
+ r: number;
1937
+ g: number;
1938
+ b: number;
1939
+ alpha: number;
1940
+ hidden?: boolean | undefined;
1941
+ } | {
1942
+ type: "function";
1943
+ name: string;
1944
+ args: StyleValue;
1945
+ hidden?: boolean;
1946
+ } | {
1947
+ value: string;
1948
+ type: "var";
1949
+ fallback?: {
1950
+ value: number;
1951
+ type: "unit";
1952
+ 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";
1953
+ hidden?: boolean | undefined;
1954
+ } | {
1955
+ value: string;
1956
+ type: "keyword";
1957
+ hidden?: boolean | undefined;
1958
+ } | {
1959
+ value: string;
1960
+ type: "unparsed";
1961
+ hidden?: boolean | undefined;
1962
+ } | {
1963
+ type: "rgb";
1964
+ r: number;
1965
+ g: number;
1966
+ b: number;
1967
+ alpha: number;
1968
+ hidden?: boolean | undefined;
1969
+ } | undefined;
1970
+ hidden?: boolean | undefined;
1971
+ } | {
1972
+ value: ({
1973
+ value: {
1974
+ value: string;
1975
+ type: "asset";
1976
+ } | {
1977
+ type: "url";
1978
+ url: string;
1979
+ };
1980
+ type: "image";
1981
+ hidden?: boolean | undefined;
1982
+ } | {
1983
+ value: number;
1984
+ type: "unit";
1985
+ 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";
1986
+ hidden?: boolean | undefined;
1987
+ } | {
1988
+ value: string;
1989
+ type: "keyword";
1990
+ hidden?: boolean | undefined;
1991
+ } | {
1992
+ value: string;
1993
+ type: "unparsed";
1994
+ hidden?: boolean | undefined;
1995
+ } | {
1996
+ type: "rgb";
1997
+ r: number;
1998
+ g: number;
1999
+ b: number;
2000
+ alpha: number;
2001
+ hidden?: boolean | undefined;
2002
+ } | {
2003
+ type: "function";
2004
+ name: string;
2005
+ args: StyleValue;
2006
+ hidden?: boolean;
2007
+ } | {
2008
+ value: string;
2009
+ type: "var";
2010
+ fallback?: {
2011
+ value: number;
2012
+ type: "unit";
2013
+ 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";
2014
+ hidden?: boolean | undefined;
2015
+ } | {
2016
+ value: string;
2017
+ type: "keyword";
2018
+ hidden?: boolean | undefined;
2019
+ } | {
2020
+ value: string;
2021
+ type: "unparsed";
2022
+ hidden?: boolean | undefined;
2023
+ } | {
2024
+ type: "rgb";
2025
+ r: number;
2026
+ g: number;
2027
+ b: number;
2028
+ alpha: number;
2029
+ hidden?: boolean | undefined;
2030
+ } | undefined;
2031
+ hidden?: boolean | undefined;
2032
+ })[];
2033
+ type: "tuple";
2034
+ hidden?: boolean | undefined;
2035
+ } | {
2036
+ value: string;
2037
+ type: "invalid";
2038
+ hidden?: boolean | undefined;
2039
+ })[];
2040
+ type: "layers";
2041
+ hidden?: boolean | undefined;
2042
+ } | {
2043
+ value: string[];
2044
+ type: "fontFamily";
2045
+ hidden?: boolean | undefined;
2046
+ } | {
2047
+ type: "guaranteedInvalid";
2048
+ hidden?: boolean | undefined;
2049
+ } | {
2050
+ value: "";
2051
+ type: "unset";
2052
+ hidden?: boolean | undefined;
2053
+ };
2054
+ property: string;
2055
+ state?: string | undefined;
2056
+ }>;
2057
+ export type PresetStyleDecl = Simplify<Omit<z.infer<typeof PresetStyleDecl>, "property"> & {
2058
+ property: CssProperty;
2059
+ }>;
2060
+ export type PresetStyle<Tag extends HtmlTags = HtmlTags> = Partial<Record<Tag, PresetStyleDecl[]>>;
2061
+ declare const WsComponentPropsMeta: z.ZodObject<{
2062
+ props: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
2063
+ control: z.ZodLiteral<"number">;
2064
+ type: z.ZodLiteral<"number">;
2065
+ defaultValue: z.ZodOptional<z.ZodNumber>;
2066
+ label: z.ZodOptional<z.ZodString>;
2067
+ description: z.ZodOptional<z.ZodString>;
2068
+ required: z.ZodBoolean;
2069
+ }, "strip", z.ZodTypeAny, {
2070
+ type: "number";
2071
+ required: boolean;
2072
+ control: "number";
2073
+ defaultValue?: number | undefined;
2074
+ label?: string | undefined;
2075
+ description?: string | undefined;
2076
+ }, {
2077
+ type: "number";
2078
+ required: boolean;
2079
+ control: "number";
2080
+ defaultValue?: number | undefined;
2081
+ label?: string | undefined;
2082
+ description?: string | undefined;
2083
+ }>, z.ZodObject<{
2084
+ control: z.ZodLiteral<"range">;
2085
+ type: z.ZodLiteral<"number">;
2086
+ defaultValue: z.ZodOptional<z.ZodNumber>;
2087
+ label: z.ZodOptional<z.ZodString>;
2088
+ description: z.ZodOptional<z.ZodString>;
2089
+ required: z.ZodBoolean;
2090
+ }, "strip", z.ZodTypeAny, {
2091
+ type: "number";
2092
+ required: boolean;
2093
+ control: "range";
2094
+ defaultValue?: number | undefined;
2095
+ label?: string | undefined;
2096
+ description?: string | undefined;
2097
+ }, {
2098
+ type: "number";
2099
+ required: boolean;
2100
+ control: "range";
2101
+ defaultValue?: number | undefined;
2102
+ label?: string | undefined;
2103
+ description?: string | undefined;
2104
+ }>, z.ZodObject<{
2105
+ control: z.ZodLiteral<"text">;
2106
+ type: z.ZodLiteral<"string">;
2107
+ defaultValue: z.ZodOptional<z.ZodString>;
2108
+ rows: z.ZodOptional<z.ZodNumber>;
2109
+ label: z.ZodOptional<z.ZodString>;
2110
+ description: z.ZodOptional<z.ZodString>;
2111
+ required: z.ZodBoolean;
2112
+ }, "strip", z.ZodTypeAny, {
2113
+ type: "string";
2114
+ required: boolean;
2115
+ control: "text";
2116
+ defaultValue?: string | undefined;
2117
+ rows?: number | undefined;
2118
+ label?: string | undefined;
2119
+ description?: string | undefined;
2120
+ }, {
2121
+ type: "string";
2122
+ required: boolean;
2123
+ control: "text";
2124
+ defaultValue?: string | undefined;
2125
+ rows?: number | undefined;
2126
+ label?: string | undefined;
2127
+ description?: string | undefined;
2128
+ }>, z.ZodObject<{
2129
+ control: z.ZodLiteral<"resource">;
2130
+ type: z.ZodLiteral<"resource">;
2131
+ defaultValue: z.ZodOptional<z.ZodString>;
2132
+ label: z.ZodOptional<z.ZodString>;
2133
+ description: z.ZodOptional<z.ZodString>;
2134
+ required: z.ZodBoolean;
2135
+ }, "strip", z.ZodTypeAny, {
2136
+ type: "resource";
2137
+ required: boolean;
2138
+ control: "resource";
2139
+ defaultValue?: string | undefined;
2140
+ label?: string | undefined;
2141
+ description?: string | undefined;
2142
+ }, {
2143
+ type: "resource";
2144
+ required: boolean;
2145
+ control: "resource";
2146
+ defaultValue?: string | undefined;
2147
+ label?: string | undefined;
2148
+ description?: string | undefined;
2149
+ }>, z.ZodObject<{
2150
+ control: z.ZodLiteral<"code">;
2151
+ type: z.ZodLiteral<"string">;
2152
+ language: z.ZodUnion<[z.ZodLiteral<"html">, z.ZodLiteral<"markdown">]>;
2153
+ defaultValue: z.ZodOptional<z.ZodString>;
2154
+ label: z.ZodOptional<z.ZodString>;
2155
+ description: z.ZodOptional<z.ZodString>;
2156
+ required: z.ZodBoolean;
2157
+ }, "strip", z.ZodTypeAny, {
2158
+ type: "string";
2159
+ required: boolean;
2160
+ control: "code";
2161
+ language: "html" | "markdown";
2162
+ defaultValue?: string | undefined;
2163
+ label?: string | undefined;
2164
+ description?: string | undefined;
2165
+ }, {
2166
+ type: "string";
2167
+ required: boolean;
2168
+ control: "code";
2169
+ language: "html" | "markdown";
2170
+ defaultValue?: string | undefined;
2171
+ label?: string | undefined;
2172
+ description?: string | undefined;
2173
+ }>, z.ZodObject<{
2174
+ control: z.ZodLiteral<"codetext">;
2175
+ type: z.ZodLiteral<"string">;
2176
+ defaultValue: z.ZodOptional<z.ZodString>;
2177
+ label: z.ZodOptional<z.ZodString>;
2178
+ description: z.ZodOptional<z.ZodString>;
2179
+ required: z.ZodBoolean;
2180
+ }, "strip", z.ZodTypeAny, {
2181
+ type: "string";
2182
+ required: boolean;
2183
+ control: "codetext";
2184
+ defaultValue?: string | undefined;
2185
+ label?: string | undefined;
2186
+ description?: string | undefined;
2187
+ }, {
2188
+ type: "string";
2189
+ required: boolean;
2190
+ control: "codetext";
2191
+ defaultValue?: string | undefined;
2192
+ label?: string | undefined;
2193
+ description?: string | undefined;
2194
+ }>, z.ZodObject<{
2195
+ control: z.ZodLiteral<"color">;
2196
+ type: z.ZodLiteral<"string">;
2197
+ defaultValue: z.ZodOptional<z.ZodString>;
2198
+ label: z.ZodOptional<z.ZodString>;
2199
+ description: z.ZodOptional<z.ZodString>;
2200
+ required: z.ZodBoolean;
2201
+ }, "strip", z.ZodTypeAny, {
2202
+ type: "string";
2203
+ required: boolean;
2204
+ control: "color";
2205
+ defaultValue?: string | undefined;
2206
+ label?: string | undefined;
2207
+ description?: string | undefined;
2208
+ }, {
2209
+ type: "string";
2210
+ required: boolean;
2211
+ control: "color";
2212
+ defaultValue?: string | undefined;
2213
+ label?: string | undefined;
2214
+ description?: string | undefined;
2215
+ }>, z.ZodObject<{
2216
+ control: z.ZodLiteral<"boolean">;
2217
+ type: z.ZodLiteral<"boolean">;
2218
+ defaultValue: z.ZodOptional<z.ZodBoolean>;
2219
+ label: z.ZodOptional<z.ZodString>;
2220
+ description: z.ZodOptional<z.ZodString>;
2221
+ required: z.ZodBoolean;
2222
+ }, "strip", z.ZodTypeAny, {
2223
+ type: "boolean";
2224
+ required: boolean;
2225
+ control: "boolean";
2226
+ defaultValue?: boolean | undefined;
2227
+ label?: string | undefined;
2228
+ description?: string | undefined;
2229
+ }, {
2230
+ type: "boolean";
2231
+ required: boolean;
2232
+ control: "boolean";
2233
+ defaultValue?: boolean | undefined;
2234
+ label?: string | undefined;
2235
+ description?: string | undefined;
2236
+ }>, z.ZodObject<{
2237
+ control: z.ZodLiteral<"radio">;
2238
+ type: z.ZodLiteral<"string">;
2239
+ defaultValue: z.ZodOptional<z.ZodString>;
2240
+ options: z.ZodArray<z.ZodString, "many">;
2241
+ label: z.ZodOptional<z.ZodString>;
2242
+ description: z.ZodOptional<z.ZodString>;
2243
+ required: z.ZodBoolean;
2244
+ }, "strip", z.ZodTypeAny, {
2245
+ options: string[];
2246
+ type: "string";
2247
+ required: boolean;
2248
+ control: "radio";
2249
+ defaultValue?: string | undefined;
2250
+ label?: string | undefined;
2251
+ description?: string | undefined;
2252
+ }, {
2253
+ options: string[];
2254
+ type: "string";
2255
+ required: boolean;
2256
+ control: "radio";
2257
+ defaultValue?: string | undefined;
2258
+ label?: string | undefined;
2259
+ description?: string | undefined;
2260
+ }>, z.ZodObject<{
2261
+ control: z.ZodLiteral<"inline-radio">;
2262
+ type: z.ZodLiteral<"string">;
2263
+ defaultValue: z.ZodOptional<z.ZodString>;
2264
+ options: z.ZodArray<z.ZodString, "many">;
2265
+ label: z.ZodOptional<z.ZodString>;
2266
+ description: z.ZodOptional<z.ZodString>;
2267
+ required: z.ZodBoolean;
2268
+ }, "strip", z.ZodTypeAny, {
2269
+ options: string[];
2270
+ type: "string";
2271
+ required: boolean;
2272
+ control: "inline-radio";
2273
+ defaultValue?: string | undefined;
2274
+ label?: string | undefined;
2275
+ description?: string | undefined;
2276
+ }, {
2277
+ options: string[];
2278
+ type: "string";
2279
+ required: boolean;
2280
+ control: "inline-radio";
2281
+ defaultValue?: string | undefined;
2282
+ label?: string | undefined;
2283
+ description?: string | undefined;
2284
+ }>, z.ZodObject<{
2285
+ control: z.ZodLiteral<"select">;
2286
+ type: z.ZodLiteral<"string">;
2287
+ defaultValue: z.ZodOptional<z.ZodString>;
2288
+ options: z.ZodArray<z.ZodString, "many">;
2289
+ label: z.ZodOptional<z.ZodString>;
2290
+ description: z.ZodOptional<z.ZodString>;
2291
+ required: z.ZodBoolean;
2292
+ }, "strip", z.ZodTypeAny, {
2293
+ options: string[];
2294
+ type: "string";
2295
+ required: boolean;
2296
+ control: "select";
2297
+ defaultValue?: string | undefined;
2298
+ label?: string | undefined;
2299
+ description?: string | undefined;
2300
+ }, {
2301
+ options: string[];
2302
+ type: "string";
2303
+ required: boolean;
2304
+ control: "select";
2305
+ defaultValue?: string | undefined;
2306
+ label?: string | undefined;
2307
+ description?: string | undefined;
2308
+ }>, z.ZodObject<{
2309
+ control: z.ZodLiteral<"multi-select">;
2310
+ type: z.ZodLiteral<"string[]">;
2311
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2312
+ options: z.ZodArray<z.ZodString, "many">;
2313
+ label: z.ZodOptional<z.ZodString>;
2314
+ description: z.ZodOptional<z.ZodString>;
2315
+ required: z.ZodBoolean;
2316
+ }, "strip", z.ZodTypeAny, {
2317
+ options: string[];
2318
+ type: "string[]";
2319
+ required: boolean;
2320
+ control: "multi-select";
2321
+ defaultValue?: string[] | undefined;
2322
+ label?: string | undefined;
2323
+ description?: string | undefined;
2324
+ }, {
2325
+ options: string[];
2326
+ type: "string[]";
250
2327
  required: boolean;
251
2328
  control: "multi-select";
252
2329
  defaultValue?: string[] | undefined;
@@ -475,6 +2552,13 @@ declare const WsComponentPropsMeta: z.ZodObject<{
475
2552
  rows?: number | undefined;
476
2553
  label?: string | undefined;
477
2554
  description?: string | undefined;
2555
+ } | {
2556
+ type: "resource";
2557
+ required: boolean;
2558
+ control: "resource";
2559
+ defaultValue?: string | undefined;
2560
+ label?: string | undefined;
2561
+ description?: string | undefined;
478
2562
  } | {
479
2563
  type: "string";
480
2564
  required: boolean;
@@ -627,6 +2711,13 @@ declare const WsComponentPropsMeta: z.ZodObject<{
627
2711
  rows?: number | undefined;
628
2712
  label?: string | undefined;
629
2713
  description?: string | undefined;
2714
+ } | {
2715
+ type: "resource";
2716
+ required: boolean;
2717
+ control: "resource";
2718
+ defaultValue?: string | undefined;
2719
+ label?: string | undefined;
2720
+ description?: string | undefined;
630
2721
  } | {
631
2722
  type: "string";
632
2723
  required: boolean;
@@ -791,128 +2882,1629 @@ export declare const WsComponentMeta: z.ZodObject<{
791
2882
  $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
792
2883
  $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
793
2884
  }, "strip", z.ZodTypeAny, {
794
- $eq?: string | undefined;
795
- $neq?: string | undefined;
796
- $in?: string[] | undefined;
797
- $nin?: string[] | undefined;
2885
+ $eq?: string | undefined;
2886
+ $neq?: string | undefined;
2887
+ $in?: string[] | undefined;
2888
+ $nin?: string[] | undefined;
2889
+ }, {
2890
+ $eq?: string | undefined;
2891
+ $neq?: string | undefined;
2892
+ $in?: string[] | undefined;
2893
+ $nin?: string[] | undefined;
2894
+ }>>;
2895
+ tag: z.ZodOptional<z.ZodObject<{
2896
+ $eq: z.ZodOptional<z.ZodString>;
2897
+ $neq: z.ZodOptional<z.ZodString>;
2898
+ $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2899
+ $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2900
+ }, "strip", z.ZodTypeAny, {
2901
+ $eq?: string | undefined;
2902
+ $neq?: string | undefined;
2903
+ $in?: string[] | undefined;
2904
+ $nin?: string[] | undefined;
2905
+ }, {
2906
+ $eq?: string | undefined;
2907
+ $neq?: string | undefined;
2908
+ $in?: string[] | undefined;
2909
+ $nin?: string[] | undefined;
2910
+ }>>;
2911
+ }, "strip", z.ZodTypeAny, {
2912
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
2913
+ component?: {
2914
+ $eq?: string | undefined;
2915
+ $neq?: string | undefined;
2916
+ $in?: string[] | undefined;
2917
+ $nin?: string[] | undefined;
2918
+ } | undefined;
2919
+ tag?: {
2920
+ $eq?: string | undefined;
2921
+ $neq?: string | undefined;
2922
+ $in?: string[] | undefined;
2923
+ $nin?: string[] | undefined;
2924
+ } | undefined;
2925
+ }, {
2926
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
2927
+ component?: {
2928
+ $eq?: string | undefined;
2929
+ $neq?: string | undefined;
2930
+ $in?: string[] | undefined;
2931
+ $nin?: string[] | undefined;
2932
+ } | undefined;
2933
+ tag?: {
2934
+ $eq?: string | undefined;
2935
+ $neq?: string | undefined;
2936
+ $in?: string[] | undefined;
2937
+ $nin?: string[] | undefined;
2938
+ } | undefined;
2939
+ }>, z.ZodArray<z.ZodObject<{
2940
+ relation: z.ZodUnion<[z.ZodLiteral<"ancestor">, z.ZodLiteral<"parent">, z.ZodLiteral<"self">, z.ZodLiteral<"child">, z.ZodLiteral<"descendant">]>;
2941
+ component: z.ZodOptional<z.ZodObject<{
2942
+ $eq: z.ZodOptional<z.ZodString>;
2943
+ $neq: z.ZodOptional<z.ZodString>;
2944
+ $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2945
+ $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2946
+ }, "strip", z.ZodTypeAny, {
2947
+ $eq?: string | undefined;
2948
+ $neq?: string | undefined;
2949
+ $in?: string[] | undefined;
2950
+ $nin?: string[] | undefined;
2951
+ }, {
2952
+ $eq?: string | undefined;
2953
+ $neq?: string | undefined;
2954
+ $in?: string[] | undefined;
2955
+ $nin?: string[] | undefined;
2956
+ }>>;
2957
+ tag: z.ZodOptional<z.ZodObject<{
2958
+ $eq: z.ZodOptional<z.ZodString>;
2959
+ $neq: z.ZodOptional<z.ZodString>;
2960
+ $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2961
+ $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2962
+ }, "strip", z.ZodTypeAny, {
2963
+ $eq?: string | undefined;
2964
+ $neq?: string | undefined;
2965
+ $in?: string[] | undefined;
2966
+ $nin?: string[] | undefined;
2967
+ }, {
2968
+ $eq?: string | undefined;
2969
+ $neq?: string | undefined;
2970
+ $in?: string[] | undefined;
2971
+ $nin?: string[] | undefined;
2972
+ }>>;
2973
+ }, "strip", z.ZodTypeAny, {
2974
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
2975
+ component?: {
2976
+ $eq?: string | undefined;
2977
+ $neq?: string | undefined;
2978
+ $in?: string[] | undefined;
2979
+ $nin?: string[] | undefined;
2980
+ } | undefined;
2981
+ tag?: {
2982
+ $eq?: string | undefined;
2983
+ $neq?: string | undefined;
2984
+ $in?: string[] | undefined;
2985
+ $nin?: string[] | undefined;
2986
+ } | undefined;
2987
+ }, {
2988
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
2989
+ component?: {
2990
+ $eq?: string | undefined;
2991
+ $neq?: string | undefined;
2992
+ $in?: string[] | undefined;
2993
+ $nin?: string[] | undefined;
2994
+ } | undefined;
2995
+ tag?: {
2996
+ $eq?: string | undefined;
2997
+ $neq?: string | undefined;
2998
+ $in?: string[] | undefined;
2999
+ $nin?: string[] | undefined;
3000
+ } | undefined;
3001
+ }>, "many">]>>;
3002
+ indexWithinAncestor: z.ZodOptional<z.ZodString>;
3003
+ label: z.ZodOptional<z.ZodString>;
3004
+ description: z.ZodOptional<z.ZodString>;
3005
+ icon: z.ZodString;
3006
+ presetStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
3007
+ state: z.ZodOptional<z.ZodString>;
3008
+ property: z.ZodString;
3009
+ value: z.ZodUnion<[z.ZodObject<{
3010
+ type: z.ZodLiteral<"image">;
3011
+ value: z.ZodUnion<[z.ZodObject<{
3012
+ type: z.ZodLiteral<"asset">;
3013
+ value: z.ZodString;
3014
+ }, "strip", z.ZodTypeAny, {
3015
+ value: string;
3016
+ type: "asset";
3017
+ }, {
3018
+ value: string;
3019
+ type: "asset";
3020
+ }>, z.ZodObject<{
3021
+ type: z.ZodLiteral<"url">;
3022
+ url: z.ZodString;
3023
+ }, "strip", z.ZodTypeAny, {
3024
+ type: "url";
3025
+ url: string;
3026
+ }, {
3027
+ type: "url";
3028
+ url: string;
3029
+ }>]>;
3030
+ hidden: z.ZodOptional<z.ZodBoolean>;
3031
+ }, "strip", z.ZodTypeAny, {
3032
+ value: {
3033
+ value: string;
3034
+ type: "asset";
3035
+ } | {
3036
+ type: "url";
3037
+ url: string;
3038
+ };
3039
+ type: "image";
3040
+ hidden?: boolean | undefined;
3041
+ }, {
3042
+ value: {
3043
+ value: string;
3044
+ type: "asset";
3045
+ } | {
3046
+ type: "url";
3047
+ url: string;
3048
+ };
3049
+ type: "image";
3050
+ hidden?: boolean | undefined;
3051
+ }>, z.ZodObject<{
3052
+ type: z.ZodLiteral<"layers">;
3053
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3054
+ type: z.ZodLiteral<"unit">;
3055
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
3056
+ value: z.ZodNumber;
3057
+ hidden: z.ZodOptional<z.ZodBoolean>;
3058
+ }, "strip", z.ZodTypeAny, {
3059
+ value: number;
3060
+ type: "unit";
3061
+ 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";
3062
+ hidden?: boolean | undefined;
3063
+ }, {
3064
+ value: number;
3065
+ type: "unit";
3066
+ 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";
3067
+ hidden?: boolean | undefined;
3068
+ }>, z.ZodObject<{
3069
+ type: z.ZodLiteral<"keyword">;
3070
+ value: z.ZodString;
3071
+ hidden: z.ZodOptional<z.ZodBoolean>;
3072
+ }, "strip", z.ZodTypeAny, {
3073
+ value: string;
3074
+ type: "keyword";
3075
+ hidden?: boolean | undefined;
3076
+ }, {
3077
+ value: string;
3078
+ type: "keyword";
3079
+ hidden?: boolean | undefined;
3080
+ }>, z.ZodObject<{
3081
+ type: z.ZodLiteral<"unparsed">;
3082
+ value: z.ZodString;
3083
+ hidden: z.ZodOptional<z.ZodBoolean>;
3084
+ }, "strip", z.ZodTypeAny, {
3085
+ value: string;
3086
+ type: "unparsed";
3087
+ hidden?: boolean | undefined;
3088
+ }, {
3089
+ value: string;
3090
+ type: "unparsed";
3091
+ hidden?: boolean | undefined;
3092
+ }>, z.ZodObject<{
3093
+ type: z.ZodLiteral<"image">;
3094
+ value: z.ZodUnion<[z.ZodObject<{
3095
+ type: z.ZodLiteral<"asset">;
3096
+ value: z.ZodString;
3097
+ }, "strip", z.ZodTypeAny, {
3098
+ value: string;
3099
+ type: "asset";
3100
+ }, {
3101
+ value: string;
3102
+ type: "asset";
3103
+ }>, z.ZodObject<{
3104
+ type: z.ZodLiteral<"url">;
3105
+ url: z.ZodString;
3106
+ }, "strip", z.ZodTypeAny, {
3107
+ type: "url";
3108
+ url: string;
3109
+ }, {
3110
+ type: "url";
3111
+ url: string;
3112
+ }>]>;
3113
+ hidden: z.ZodOptional<z.ZodBoolean>;
3114
+ }, "strip", z.ZodTypeAny, {
3115
+ value: {
3116
+ value: string;
3117
+ type: "asset";
3118
+ } | {
3119
+ type: "url";
3120
+ url: string;
3121
+ };
3122
+ type: "image";
3123
+ hidden?: boolean | undefined;
3124
+ }, {
3125
+ value: {
3126
+ value: string;
3127
+ type: "asset";
3128
+ } | {
3129
+ type: "url";
3130
+ url: string;
3131
+ };
3132
+ type: "image";
3133
+ hidden?: boolean | undefined;
3134
+ }>, z.ZodObject<{
3135
+ type: z.ZodLiteral<"tuple">;
3136
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3137
+ type: z.ZodLiteral<"unit">;
3138
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
3139
+ value: z.ZodNumber;
3140
+ hidden: z.ZodOptional<z.ZodBoolean>;
3141
+ }, "strip", z.ZodTypeAny, {
3142
+ value: number;
3143
+ type: "unit";
3144
+ 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";
3145
+ hidden?: boolean | undefined;
3146
+ }, {
3147
+ value: number;
3148
+ type: "unit";
3149
+ 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";
3150
+ hidden?: boolean | undefined;
3151
+ }>, z.ZodObject<{
3152
+ type: z.ZodLiteral<"keyword">;
3153
+ value: z.ZodString;
3154
+ hidden: z.ZodOptional<z.ZodBoolean>;
3155
+ }, "strip", z.ZodTypeAny, {
3156
+ value: string;
3157
+ type: "keyword";
3158
+ hidden?: boolean | undefined;
3159
+ }, {
3160
+ value: string;
3161
+ type: "keyword";
3162
+ hidden?: boolean | undefined;
3163
+ }>, z.ZodObject<{
3164
+ type: z.ZodLiteral<"unparsed">;
3165
+ value: z.ZodString;
3166
+ hidden: z.ZodOptional<z.ZodBoolean>;
3167
+ }, "strip", z.ZodTypeAny, {
3168
+ value: string;
3169
+ type: "unparsed";
3170
+ hidden?: boolean | undefined;
3171
+ }, {
3172
+ value: string;
3173
+ type: "unparsed";
3174
+ hidden?: boolean | undefined;
3175
+ }>, z.ZodObject<{
3176
+ type: z.ZodLiteral<"image">;
3177
+ value: z.ZodUnion<[z.ZodObject<{
3178
+ type: z.ZodLiteral<"asset">;
3179
+ value: z.ZodString;
3180
+ }, "strip", z.ZodTypeAny, {
3181
+ value: string;
3182
+ type: "asset";
3183
+ }, {
3184
+ value: string;
3185
+ type: "asset";
3186
+ }>, z.ZodObject<{
3187
+ type: z.ZodLiteral<"url">;
3188
+ url: z.ZodString;
3189
+ }, "strip", z.ZodTypeAny, {
3190
+ type: "url";
3191
+ url: string;
3192
+ }, {
3193
+ type: "url";
3194
+ url: string;
3195
+ }>]>;
3196
+ hidden: z.ZodOptional<z.ZodBoolean>;
3197
+ }, "strip", z.ZodTypeAny, {
3198
+ value: {
3199
+ value: string;
3200
+ type: "asset";
3201
+ } | {
3202
+ type: "url";
3203
+ url: string;
3204
+ };
3205
+ type: "image";
3206
+ hidden?: boolean | undefined;
3207
+ }, {
3208
+ value: {
3209
+ value: string;
3210
+ type: "asset";
3211
+ } | {
3212
+ type: "url";
3213
+ url: string;
3214
+ };
3215
+ type: "image";
3216
+ hidden?: boolean | undefined;
3217
+ }>, z.ZodObject<{
3218
+ type: z.ZodLiteral<"rgb">;
3219
+ r: z.ZodNumber;
3220
+ g: z.ZodNumber;
3221
+ b: z.ZodNumber;
3222
+ alpha: z.ZodNumber;
3223
+ hidden: z.ZodOptional<z.ZodBoolean>;
3224
+ }, "strip", z.ZodTypeAny, {
3225
+ type: "rgb";
3226
+ r: number;
3227
+ g: number;
3228
+ b: number;
3229
+ alpha: number;
3230
+ hidden?: boolean | undefined;
3231
+ }, {
3232
+ type: "rgb";
3233
+ r: number;
3234
+ g: number;
3235
+ b: number;
3236
+ alpha: number;
3237
+ hidden?: boolean | undefined;
3238
+ }>, z.ZodType<{
3239
+ type: "function";
3240
+ name: string;
3241
+ args: StyleValue;
3242
+ hidden?: boolean;
3243
+ }, z.ZodTypeDef, {
3244
+ type: "function";
3245
+ name: string;
3246
+ args: StyleValue;
3247
+ hidden?: boolean;
3248
+ }>, z.ZodObject<{
3249
+ type: z.ZodLiteral<"var">;
3250
+ value: z.ZodString;
3251
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3252
+ type: z.ZodLiteral<"unparsed">;
3253
+ value: z.ZodString;
3254
+ hidden: z.ZodOptional<z.ZodBoolean>;
3255
+ }, "strip", z.ZodTypeAny, {
3256
+ value: string;
3257
+ type: "unparsed";
3258
+ hidden?: boolean | undefined;
3259
+ }, {
3260
+ value: string;
3261
+ type: "unparsed";
3262
+ hidden?: boolean | undefined;
3263
+ }>, z.ZodObject<{
3264
+ type: z.ZodLiteral<"keyword">;
3265
+ value: z.ZodString;
3266
+ hidden: z.ZodOptional<z.ZodBoolean>;
3267
+ }, "strip", z.ZodTypeAny, {
3268
+ value: string;
3269
+ type: "keyword";
3270
+ hidden?: boolean | undefined;
3271
+ }, {
3272
+ value: string;
3273
+ type: "keyword";
3274
+ hidden?: boolean | undefined;
3275
+ }>, z.ZodObject<{
3276
+ type: z.ZodLiteral<"unit">;
3277
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
3278
+ value: z.ZodNumber;
3279
+ hidden: z.ZodOptional<z.ZodBoolean>;
3280
+ }, "strip", z.ZodTypeAny, {
3281
+ value: number;
3282
+ type: "unit";
3283
+ 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";
3284
+ hidden?: boolean | undefined;
3285
+ }, {
3286
+ value: number;
3287
+ type: "unit";
3288
+ 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";
3289
+ hidden?: boolean | undefined;
3290
+ }>, z.ZodObject<{
3291
+ type: z.ZodLiteral<"rgb">;
3292
+ r: z.ZodNumber;
3293
+ g: z.ZodNumber;
3294
+ b: z.ZodNumber;
3295
+ alpha: z.ZodNumber;
3296
+ hidden: z.ZodOptional<z.ZodBoolean>;
3297
+ }, "strip", z.ZodTypeAny, {
3298
+ type: "rgb";
3299
+ r: number;
3300
+ g: number;
3301
+ b: number;
3302
+ alpha: number;
3303
+ hidden?: boolean | undefined;
3304
+ }, {
3305
+ type: "rgb";
3306
+ r: number;
3307
+ g: number;
3308
+ b: number;
3309
+ alpha: number;
3310
+ hidden?: boolean | undefined;
3311
+ }>]>>;
3312
+ hidden: z.ZodOptional<z.ZodBoolean>;
3313
+ }, "strip", z.ZodTypeAny, {
3314
+ value: string;
3315
+ type: "var";
3316
+ fallback?: {
3317
+ value: number;
3318
+ type: "unit";
3319
+ 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";
3320
+ hidden?: boolean | undefined;
3321
+ } | {
3322
+ value: string;
3323
+ type: "keyword";
3324
+ hidden?: boolean | undefined;
3325
+ } | {
3326
+ value: string;
3327
+ type: "unparsed";
3328
+ hidden?: boolean | undefined;
3329
+ } | {
3330
+ type: "rgb";
3331
+ r: number;
3332
+ g: number;
3333
+ b: number;
3334
+ alpha: number;
3335
+ hidden?: boolean | undefined;
3336
+ } | undefined;
3337
+ hidden?: boolean | undefined;
3338
+ }, {
3339
+ value: string;
3340
+ type: "var";
3341
+ fallback?: {
3342
+ value: number;
3343
+ type: "unit";
3344
+ 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";
3345
+ hidden?: boolean | undefined;
3346
+ } | {
3347
+ value: string;
3348
+ type: "keyword";
3349
+ hidden?: boolean | undefined;
3350
+ } | {
3351
+ value: string;
3352
+ type: "unparsed";
3353
+ hidden?: boolean | undefined;
3354
+ } | {
3355
+ type: "rgb";
3356
+ r: number;
3357
+ g: number;
3358
+ b: number;
3359
+ alpha: number;
3360
+ hidden?: boolean | undefined;
3361
+ } | undefined;
3362
+ hidden?: boolean | undefined;
3363
+ }>]>, "many">;
3364
+ hidden: z.ZodOptional<z.ZodBoolean>;
3365
+ }, "strip", z.ZodTypeAny, {
3366
+ value: ({
3367
+ value: {
3368
+ value: string;
3369
+ type: "asset";
3370
+ } | {
3371
+ type: "url";
3372
+ url: string;
3373
+ };
3374
+ type: "image";
3375
+ hidden?: boolean | undefined;
3376
+ } | {
3377
+ value: number;
3378
+ type: "unit";
3379
+ 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";
3380
+ hidden?: boolean | undefined;
3381
+ } | {
3382
+ value: string;
3383
+ type: "keyword";
3384
+ hidden?: boolean | undefined;
3385
+ } | {
3386
+ value: string;
3387
+ type: "unparsed";
3388
+ hidden?: boolean | undefined;
3389
+ } | {
3390
+ type: "rgb";
3391
+ r: number;
3392
+ g: number;
3393
+ b: number;
3394
+ alpha: number;
3395
+ hidden?: boolean | undefined;
3396
+ } | {
3397
+ type: "function";
3398
+ name: string;
3399
+ args: StyleValue;
3400
+ hidden?: boolean;
3401
+ } | {
3402
+ value: string;
3403
+ type: "var";
3404
+ fallback?: {
3405
+ value: number;
3406
+ type: "unit";
3407
+ 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";
3408
+ hidden?: boolean | undefined;
3409
+ } | {
3410
+ value: string;
3411
+ type: "keyword";
3412
+ hidden?: boolean | undefined;
3413
+ } | {
3414
+ value: string;
3415
+ type: "unparsed";
3416
+ hidden?: boolean | undefined;
3417
+ } | {
3418
+ type: "rgb";
3419
+ r: number;
3420
+ g: number;
3421
+ b: number;
3422
+ alpha: number;
3423
+ hidden?: boolean | undefined;
3424
+ } | undefined;
3425
+ hidden?: boolean | undefined;
3426
+ })[];
3427
+ type: "tuple";
3428
+ hidden?: boolean | undefined;
3429
+ }, {
3430
+ value: ({
3431
+ value: {
3432
+ value: string;
3433
+ type: "asset";
3434
+ } | {
3435
+ type: "url";
3436
+ url: string;
3437
+ };
3438
+ type: "image";
3439
+ hidden?: boolean | undefined;
3440
+ } | {
3441
+ value: number;
3442
+ type: "unit";
3443
+ 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";
3444
+ hidden?: boolean | undefined;
3445
+ } | {
3446
+ value: string;
3447
+ type: "keyword";
3448
+ hidden?: boolean | undefined;
3449
+ } | {
3450
+ value: string;
3451
+ type: "unparsed";
3452
+ hidden?: boolean | undefined;
3453
+ } | {
3454
+ type: "rgb";
3455
+ r: number;
3456
+ g: number;
3457
+ b: number;
3458
+ alpha: number;
3459
+ hidden?: boolean | undefined;
3460
+ } | {
3461
+ type: "function";
3462
+ name: string;
3463
+ args: StyleValue;
3464
+ hidden?: boolean;
3465
+ } | {
3466
+ value: string;
3467
+ type: "var";
3468
+ fallback?: {
3469
+ value: number;
3470
+ type: "unit";
3471
+ 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";
3472
+ hidden?: boolean | undefined;
3473
+ } | {
3474
+ value: string;
3475
+ type: "keyword";
3476
+ hidden?: boolean | undefined;
3477
+ } | {
3478
+ value: string;
3479
+ type: "unparsed";
3480
+ hidden?: boolean | undefined;
3481
+ } | {
3482
+ type: "rgb";
3483
+ r: number;
3484
+ g: number;
3485
+ b: number;
3486
+ alpha: number;
3487
+ hidden?: boolean | undefined;
3488
+ } | undefined;
3489
+ hidden?: boolean | undefined;
3490
+ })[];
3491
+ type: "tuple";
3492
+ hidden?: boolean | undefined;
3493
+ }>, z.ZodObject<{
3494
+ type: z.ZodLiteral<"rgb">;
3495
+ r: z.ZodNumber;
3496
+ g: z.ZodNumber;
3497
+ b: z.ZodNumber;
3498
+ alpha: z.ZodNumber;
3499
+ hidden: z.ZodOptional<z.ZodBoolean>;
3500
+ }, "strip", z.ZodTypeAny, {
3501
+ type: "rgb";
3502
+ r: number;
3503
+ g: number;
3504
+ b: number;
3505
+ alpha: number;
3506
+ hidden?: boolean | undefined;
3507
+ }, {
3508
+ type: "rgb";
3509
+ r: number;
3510
+ g: number;
3511
+ b: number;
3512
+ alpha: number;
3513
+ hidden?: boolean | undefined;
3514
+ }>, z.ZodObject<{
3515
+ type: z.ZodLiteral<"invalid">;
3516
+ value: z.ZodString;
3517
+ hidden: z.ZodOptional<z.ZodBoolean>;
3518
+ }, "strip", z.ZodTypeAny, {
3519
+ value: string;
3520
+ type: "invalid";
3521
+ hidden?: boolean | undefined;
3522
+ }, {
3523
+ value: string;
3524
+ type: "invalid";
3525
+ hidden?: boolean | undefined;
3526
+ }>, z.ZodType<{
3527
+ type: "function";
3528
+ name: string;
3529
+ args: StyleValue;
3530
+ hidden?: boolean;
3531
+ }, z.ZodTypeDef, {
3532
+ type: "function";
3533
+ name: string;
3534
+ args: StyleValue;
3535
+ hidden?: boolean;
3536
+ }>, z.ZodObject<{
3537
+ type: z.ZodLiteral<"var">;
3538
+ value: z.ZodString;
3539
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3540
+ type: z.ZodLiteral<"unparsed">;
3541
+ value: z.ZodString;
3542
+ hidden: z.ZodOptional<z.ZodBoolean>;
3543
+ }, "strip", z.ZodTypeAny, {
3544
+ value: string;
3545
+ type: "unparsed";
3546
+ hidden?: boolean | undefined;
3547
+ }, {
3548
+ value: string;
3549
+ type: "unparsed";
3550
+ hidden?: boolean | undefined;
3551
+ }>, z.ZodObject<{
3552
+ type: z.ZodLiteral<"keyword">;
3553
+ value: z.ZodString;
3554
+ hidden: z.ZodOptional<z.ZodBoolean>;
3555
+ }, "strip", z.ZodTypeAny, {
3556
+ value: string;
3557
+ type: "keyword";
3558
+ hidden?: boolean | undefined;
3559
+ }, {
3560
+ value: string;
3561
+ type: "keyword";
3562
+ hidden?: boolean | undefined;
3563
+ }>, z.ZodObject<{
3564
+ type: z.ZodLiteral<"unit">;
3565
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
3566
+ value: z.ZodNumber;
3567
+ hidden: z.ZodOptional<z.ZodBoolean>;
3568
+ }, "strip", z.ZodTypeAny, {
3569
+ value: number;
3570
+ type: "unit";
3571
+ 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";
3572
+ hidden?: boolean | undefined;
3573
+ }, {
3574
+ value: number;
3575
+ type: "unit";
3576
+ 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";
3577
+ hidden?: boolean | undefined;
3578
+ }>, z.ZodObject<{
3579
+ type: z.ZodLiteral<"rgb">;
3580
+ r: z.ZodNumber;
3581
+ g: z.ZodNumber;
3582
+ b: z.ZodNumber;
3583
+ alpha: z.ZodNumber;
3584
+ hidden: z.ZodOptional<z.ZodBoolean>;
3585
+ }, "strip", z.ZodTypeAny, {
3586
+ type: "rgb";
3587
+ r: number;
3588
+ g: number;
3589
+ b: number;
3590
+ alpha: number;
3591
+ hidden?: boolean | undefined;
3592
+ }, {
3593
+ type: "rgb";
3594
+ r: number;
3595
+ g: number;
3596
+ b: number;
3597
+ alpha: number;
3598
+ hidden?: boolean | undefined;
3599
+ }>]>>;
3600
+ hidden: z.ZodOptional<z.ZodBoolean>;
3601
+ }, "strip", z.ZodTypeAny, {
3602
+ value: string;
3603
+ type: "var";
3604
+ fallback?: {
3605
+ value: number;
3606
+ type: "unit";
3607
+ 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";
3608
+ hidden?: boolean | undefined;
3609
+ } | {
3610
+ value: string;
3611
+ type: "keyword";
3612
+ hidden?: boolean | undefined;
3613
+ } | {
3614
+ value: string;
3615
+ type: "unparsed";
3616
+ hidden?: boolean | undefined;
3617
+ } | {
3618
+ type: "rgb";
3619
+ r: number;
3620
+ g: number;
3621
+ b: number;
3622
+ alpha: number;
3623
+ hidden?: boolean | undefined;
3624
+ } | undefined;
3625
+ hidden?: boolean | undefined;
3626
+ }, {
3627
+ value: string;
3628
+ type: "var";
3629
+ fallback?: {
3630
+ value: number;
3631
+ type: "unit";
3632
+ 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";
3633
+ hidden?: boolean | undefined;
3634
+ } | {
3635
+ value: string;
3636
+ type: "keyword";
3637
+ hidden?: boolean | undefined;
3638
+ } | {
3639
+ value: string;
3640
+ type: "unparsed";
3641
+ hidden?: boolean | undefined;
3642
+ } | {
3643
+ type: "rgb";
3644
+ r: number;
3645
+ g: number;
3646
+ b: number;
3647
+ alpha: number;
3648
+ hidden?: boolean | undefined;
3649
+ } | undefined;
3650
+ hidden?: boolean | undefined;
3651
+ }>]>, "many">;
3652
+ hidden: z.ZodOptional<z.ZodBoolean>;
3653
+ }, "strip", z.ZodTypeAny, {
3654
+ value: ({
3655
+ value: {
3656
+ value: string;
3657
+ type: "asset";
3658
+ } | {
3659
+ type: "url";
3660
+ url: string;
3661
+ };
3662
+ type: "image";
3663
+ hidden?: boolean | undefined;
3664
+ } | {
3665
+ value: number;
3666
+ type: "unit";
3667
+ 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";
3668
+ hidden?: boolean | undefined;
3669
+ } | {
3670
+ value: string;
3671
+ type: "keyword";
3672
+ hidden?: boolean | undefined;
3673
+ } | {
3674
+ value: string;
3675
+ type: "unparsed";
3676
+ hidden?: boolean | undefined;
3677
+ } | {
3678
+ type: "rgb";
3679
+ r: number;
3680
+ g: number;
3681
+ b: number;
3682
+ alpha: number;
3683
+ hidden?: boolean | undefined;
3684
+ } | {
3685
+ type: "function";
3686
+ name: string;
3687
+ args: StyleValue;
3688
+ hidden?: boolean;
3689
+ } | {
3690
+ value: string;
3691
+ type: "var";
3692
+ fallback?: {
3693
+ value: number;
3694
+ type: "unit";
3695
+ 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";
3696
+ hidden?: boolean | undefined;
3697
+ } | {
3698
+ value: string;
3699
+ type: "keyword";
3700
+ hidden?: boolean | undefined;
3701
+ } | {
3702
+ value: string;
3703
+ type: "unparsed";
3704
+ hidden?: boolean | undefined;
3705
+ } | {
3706
+ type: "rgb";
3707
+ r: number;
3708
+ g: number;
3709
+ b: number;
3710
+ alpha: number;
3711
+ hidden?: boolean | undefined;
3712
+ } | undefined;
3713
+ hidden?: boolean | undefined;
3714
+ } | {
3715
+ value: ({
3716
+ value: {
3717
+ value: string;
3718
+ type: "asset";
3719
+ } | {
3720
+ type: "url";
3721
+ url: string;
3722
+ };
3723
+ type: "image";
3724
+ hidden?: boolean | undefined;
3725
+ } | {
3726
+ value: number;
3727
+ type: "unit";
3728
+ 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";
3729
+ hidden?: boolean | undefined;
3730
+ } | {
3731
+ value: string;
3732
+ type: "keyword";
3733
+ hidden?: boolean | undefined;
3734
+ } | {
3735
+ value: string;
3736
+ type: "unparsed";
3737
+ hidden?: boolean | undefined;
3738
+ } | {
3739
+ type: "rgb";
3740
+ r: number;
3741
+ g: number;
3742
+ b: number;
3743
+ alpha: number;
3744
+ hidden?: boolean | undefined;
3745
+ } | {
3746
+ type: "function";
3747
+ name: string;
3748
+ args: StyleValue;
3749
+ hidden?: boolean;
3750
+ } | {
3751
+ value: string;
3752
+ type: "var";
3753
+ fallback?: {
3754
+ value: number;
3755
+ type: "unit";
3756
+ 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";
3757
+ hidden?: boolean | undefined;
3758
+ } | {
3759
+ value: string;
3760
+ type: "keyword";
3761
+ hidden?: boolean | undefined;
3762
+ } | {
3763
+ value: string;
3764
+ type: "unparsed";
3765
+ hidden?: boolean | undefined;
3766
+ } | {
3767
+ type: "rgb";
3768
+ r: number;
3769
+ g: number;
3770
+ b: number;
3771
+ alpha: number;
3772
+ hidden?: boolean | undefined;
3773
+ } | undefined;
3774
+ hidden?: boolean | undefined;
3775
+ })[];
3776
+ type: "tuple";
3777
+ hidden?: boolean | undefined;
3778
+ } | {
3779
+ value: string;
3780
+ type: "invalid";
3781
+ hidden?: boolean | undefined;
3782
+ })[];
3783
+ type: "layers";
3784
+ hidden?: boolean | undefined;
3785
+ }, {
3786
+ value: ({
3787
+ value: {
3788
+ value: string;
3789
+ type: "asset";
3790
+ } | {
3791
+ type: "url";
3792
+ url: string;
3793
+ };
3794
+ type: "image";
3795
+ hidden?: boolean | undefined;
3796
+ } | {
3797
+ value: number;
3798
+ type: "unit";
3799
+ 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";
3800
+ hidden?: boolean | undefined;
3801
+ } | {
3802
+ value: string;
3803
+ type: "keyword";
3804
+ hidden?: boolean | undefined;
3805
+ } | {
3806
+ value: string;
3807
+ type: "unparsed";
3808
+ hidden?: boolean | undefined;
3809
+ } | {
3810
+ type: "rgb";
3811
+ r: number;
3812
+ g: number;
3813
+ b: number;
3814
+ alpha: number;
3815
+ hidden?: boolean | undefined;
3816
+ } | {
3817
+ type: "function";
3818
+ name: string;
3819
+ args: StyleValue;
3820
+ hidden?: boolean;
3821
+ } | {
3822
+ value: string;
3823
+ type: "var";
3824
+ fallback?: {
3825
+ value: number;
3826
+ type: "unit";
3827
+ 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";
3828
+ hidden?: boolean | undefined;
3829
+ } | {
3830
+ value: string;
3831
+ type: "keyword";
3832
+ hidden?: boolean | undefined;
3833
+ } | {
3834
+ value: string;
3835
+ type: "unparsed";
3836
+ hidden?: boolean | undefined;
3837
+ } | {
3838
+ type: "rgb";
3839
+ r: number;
3840
+ g: number;
3841
+ b: number;
3842
+ alpha: number;
3843
+ hidden?: boolean | undefined;
3844
+ } | undefined;
3845
+ hidden?: boolean | undefined;
3846
+ } | {
3847
+ value: ({
3848
+ value: {
3849
+ value: string;
3850
+ type: "asset";
3851
+ } | {
3852
+ type: "url";
3853
+ url: string;
3854
+ };
3855
+ type: "image";
3856
+ hidden?: boolean | undefined;
3857
+ } | {
3858
+ value: number;
3859
+ type: "unit";
3860
+ 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";
3861
+ hidden?: boolean | undefined;
3862
+ } | {
3863
+ value: string;
3864
+ type: "keyword";
3865
+ hidden?: boolean | undefined;
3866
+ } | {
3867
+ value: string;
3868
+ type: "unparsed";
3869
+ hidden?: boolean | undefined;
3870
+ } | {
3871
+ type: "rgb";
3872
+ r: number;
3873
+ g: number;
3874
+ b: number;
3875
+ alpha: number;
3876
+ hidden?: boolean | undefined;
3877
+ } | {
3878
+ type: "function";
3879
+ name: string;
3880
+ args: StyleValue;
3881
+ hidden?: boolean;
3882
+ } | {
3883
+ value: string;
3884
+ type: "var";
3885
+ fallback?: {
3886
+ value: number;
3887
+ type: "unit";
3888
+ 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";
3889
+ hidden?: boolean | undefined;
3890
+ } | {
3891
+ value: string;
3892
+ type: "keyword";
3893
+ hidden?: boolean | undefined;
3894
+ } | {
3895
+ value: string;
3896
+ type: "unparsed";
3897
+ hidden?: boolean | undefined;
3898
+ } | {
3899
+ type: "rgb";
3900
+ r: number;
3901
+ g: number;
3902
+ b: number;
3903
+ alpha: number;
3904
+ hidden?: boolean | undefined;
3905
+ } | undefined;
3906
+ hidden?: boolean | undefined;
3907
+ })[];
3908
+ type: "tuple";
3909
+ hidden?: boolean | undefined;
3910
+ } | {
3911
+ value: string;
3912
+ type: "invalid";
3913
+ hidden?: boolean | undefined;
3914
+ })[];
3915
+ type: "layers";
3916
+ hidden?: boolean | undefined;
3917
+ }>, z.ZodObject<{
3918
+ type: z.ZodLiteral<"unit">;
3919
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
3920
+ value: z.ZodNumber;
3921
+ hidden: z.ZodOptional<z.ZodBoolean>;
3922
+ }, "strip", z.ZodTypeAny, {
3923
+ value: number;
3924
+ type: "unit";
3925
+ 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";
3926
+ hidden?: boolean | undefined;
3927
+ }, {
3928
+ value: number;
3929
+ type: "unit";
3930
+ 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";
3931
+ hidden?: boolean | undefined;
3932
+ }>, z.ZodObject<{
3933
+ type: z.ZodLiteral<"keyword">;
3934
+ value: z.ZodString;
3935
+ hidden: z.ZodOptional<z.ZodBoolean>;
3936
+ }, "strip", z.ZodTypeAny, {
3937
+ value: string;
3938
+ type: "keyword";
3939
+ hidden?: boolean | undefined;
3940
+ }, {
3941
+ value: string;
3942
+ type: "keyword";
3943
+ hidden?: boolean | undefined;
3944
+ }>, z.ZodObject<{
3945
+ type: z.ZodLiteral<"fontFamily">;
3946
+ value: z.ZodArray<z.ZodString, "many">;
3947
+ hidden: z.ZodOptional<z.ZodBoolean>;
3948
+ }, "strip", z.ZodTypeAny, {
3949
+ value: string[];
3950
+ type: "fontFamily";
3951
+ hidden?: boolean | undefined;
3952
+ }, {
3953
+ value: string[];
3954
+ type: "fontFamily";
3955
+ hidden?: boolean | undefined;
3956
+ }>, z.ZodObject<{
3957
+ type: z.ZodLiteral<"rgb">;
3958
+ r: z.ZodNumber;
3959
+ g: z.ZodNumber;
3960
+ b: z.ZodNumber;
3961
+ alpha: z.ZodNumber;
3962
+ hidden: z.ZodOptional<z.ZodBoolean>;
3963
+ }, "strip", z.ZodTypeAny, {
3964
+ type: "rgb";
3965
+ r: number;
3966
+ g: number;
3967
+ b: number;
3968
+ alpha: number;
3969
+ hidden?: boolean | undefined;
3970
+ }, {
3971
+ type: "rgb";
3972
+ r: number;
3973
+ g: number;
3974
+ b: number;
3975
+ alpha: number;
3976
+ hidden?: boolean | undefined;
3977
+ }>, z.ZodObject<{
3978
+ type: z.ZodLiteral<"unparsed">;
3979
+ value: z.ZodString;
3980
+ hidden: z.ZodOptional<z.ZodBoolean>;
3981
+ }, "strip", z.ZodTypeAny, {
3982
+ value: string;
3983
+ type: "unparsed";
3984
+ hidden?: boolean | undefined;
3985
+ }, {
3986
+ value: string;
3987
+ type: "unparsed";
3988
+ hidden?: boolean | undefined;
3989
+ }>, z.ZodObject<{
3990
+ type: z.ZodLiteral<"tuple">;
3991
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3992
+ type: z.ZodLiteral<"unit">;
3993
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
3994
+ value: z.ZodNumber;
3995
+ hidden: z.ZodOptional<z.ZodBoolean>;
3996
+ }, "strip", z.ZodTypeAny, {
3997
+ value: number;
3998
+ type: "unit";
3999
+ 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";
4000
+ hidden?: boolean | undefined;
4001
+ }, {
4002
+ value: number;
4003
+ type: "unit";
4004
+ 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";
4005
+ hidden?: boolean | undefined;
4006
+ }>, z.ZodObject<{
4007
+ type: z.ZodLiteral<"keyword">;
4008
+ value: z.ZodString;
4009
+ hidden: z.ZodOptional<z.ZodBoolean>;
4010
+ }, "strip", z.ZodTypeAny, {
4011
+ value: string;
4012
+ type: "keyword";
4013
+ hidden?: boolean | undefined;
4014
+ }, {
4015
+ value: string;
4016
+ type: "keyword";
4017
+ hidden?: boolean | undefined;
4018
+ }>, z.ZodObject<{
4019
+ type: z.ZodLiteral<"unparsed">;
4020
+ value: z.ZodString;
4021
+ hidden: z.ZodOptional<z.ZodBoolean>;
4022
+ }, "strip", z.ZodTypeAny, {
4023
+ value: string;
4024
+ type: "unparsed";
4025
+ hidden?: boolean | undefined;
4026
+ }, {
4027
+ value: string;
4028
+ type: "unparsed";
4029
+ hidden?: boolean | undefined;
4030
+ }>, z.ZodObject<{
4031
+ type: z.ZodLiteral<"image">;
4032
+ value: z.ZodUnion<[z.ZodObject<{
4033
+ type: z.ZodLiteral<"asset">;
4034
+ value: z.ZodString;
4035
+ }, "strip", z.ZodTypeAny, {
4036
+ value: string;
4037
+ type: "asset";
4038
+ }, {
4039
+ value: string;
4040
+ type: "asset";
4041
+ }>, z.ZodObject<{
4042
+ type: z.ZodLiteral<"url">;
4043
+ url: z.ZodString;
4044
+ }, "strip", z.ZodTypeAny, {
4045
+ type: "url";
4046
+ url: string;
4047
+ }, {
4048
+ type: "url";
4049
+ url: string;
4050
+ }>]>;
4051
+ hidden: z.ZodOptional<z.ZodBoolean>;
4052
+ }, "strip", z.ZodTypeAny, {
4053
+ value: {
4054
+ value: string;
4055
+ type: "asset";
4056
+ } | {
4057
+ type: "url";
4058
+ url: string;
4059
+ };
4060
+ type: "image";
4061
+ hidden?: boolean | undefined;
4062
+ }, {
4063
+ value: {
4064
+ value: string;
4065
+ type: "asset";
4066
+ } | {
4067
+ type: "url";
4068
+ url: string;
4069
+ };
4070
+ type: "image";
4071
+ hidden?: boolean | undefined;
4072
+ }>, z.ZodObject<{
4073
+ type: z.ZodLiteral<"rgb">;
4074
+ r: z.ZodNumber;
4075
+ g: z.ZodNumber;
4076
+ b: z.ZodNumber;
4077
+ alpha: z.ZodNumber;
4078
+ hidden: z.ZodOptional<z.ZodBoolean>;
4079
+ }, "strip", z.ZodTypeAny, {
4080
+ type: "rgb";
4081
+ r: number;
4082
+ g: number;
4083
+ b: number;
4084
+ alpha: number;
4085
+ hidden?: boolean | undefined;
4086
+ }, {
4087
+ type: "rgb";
4088
+ r: number;
4089
+ g: number;
4090
+ b: number;
4091
+ alpha: number;
4092
+ hidden?: boolean | undefined;
4093
+ }>, z.ZodType<{
4094
+ type: "function";
4095
+ name: string;
4096
+ args: StyleValue;
4097
+ hidden?: boolean;
4098
+ }, z.ZodTypeDef, {
4099
+ type: "function";
4100
+ name: string;
4101
+ args: StyleValue;
4102
+ hidden?: boolean;
4103
+ }>, z.ZodObject<{
4104
+ type: z.ZodLiteral<"var">;
4105
+ value: z.ZodString;
4106
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4107
+ type: z.ZodLiteral<"unparsed">;
4108
+ value: z.ZodString;
4109
+ hidden: z.ZodOptional<z.ZodBoolean>;
4110
+ }, "strip", z.ZodTypeAny, {
4111
+ value: string;
4112
+ type: "unparsed";
4113
+ hidden?: boolean | undefined;
4114
+ }, {
4115
+ value: string;
4116
+ type: "unparsed";
4117
+ hidden?: boolean | undefined;
4118
+ }>, z.ZodObject<{
4119
+ type: z.ZodLiteral<"keyword">;
4120
+ value: z.ZodString;
4121
+ hidden: z.ZodOptional<z.ZodBoolean>;
4122
+ }, "strip", z.ZodTypeAny, {
4123
+ value: string;
4124
+ type: "keyword";
4125
+ hidden?: boolean | undefined;
4126
+ }, {
4127
+ value: string;
4128
+ type: "keyword";
4129
+ hidden?: boolean | undefined;
4130
+ }>, z.ZodObject<{
4131
+ type: z.ZodLiteral<"unit">;
4132
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
4133
+ value: z.ZodNumber;
4134
+ hidden: z.ZodOptional<z.ZodBoolean>;
4135
+ }, "strip", z.ZodTypeAny, {
4136
+ value: number;
4137
+ type: "unit";
4138
+ 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";
4139
+ hidden?: boolean | undefined;
4140
+ }, {
4141
+ value: number;
4142
+ type: "unit";
4143
+ 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";
4144
+ hidden?: boolean | undefined;
4145
+ }>, z.ZodObject<{
4146
+ type: z.ZodLiteral<"rgb">;
4147
+ r: z.ZodNumber;
4148
+ g: z.ZodNumber;
4149
+ b: z.ZodNumber;
4150
+ alpha: z.ZodNumber;
4151
+ hidden: z.ZodOptional<z.ZodBoolean>;
4152
+ }, "strip", z.ZodTypeAny, {
4153
+ type: "rgb";
4154
+ r: number;
4155
+ g: number;
4156
+ b: number;
4157
+ alpha: number;
4158
+ hidden?: boolean | undefined;
4159
+ }, {
4160
+ type: "rgb";
4161
+ r: number;
4162
+ g: number;
4163
+ b: number;
4164
+ alpha: number;
4165
+ hidden?: boolean | undefined;
4166
+ }>]>>;
4167
+ hidden: z.ZodOptional<z.ZodBoolean>;
4168
+ }, "strip", z.ZodTypeAny, {
4169
+ value: string;
4170
+ type: "var";
4171
+ fallback?: {
4172
+ value: number;
4173
+ type: "unit";
4174
+ 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";
4175
+ hidden?: boolean | undefined;
4176
+ } | {
4177
+ value: string;
4178
+ type: "keyword";
4179
+ hidden?: boolean | undefined;
4180
+ } | {
4181
+ value: string;
4182
+ type: "unparsed";
4183
+ hidden?: boolean | undefined;
4184
+ } | {
4185
+ type: "rgb";
4186
+ r: number;
4187
+ g: number;
4188
+ b: number;
4189
+ alpha: number;
4190
+ hidden?: boolean | undefined;
4191
+ } | undefined;
4192
+ hidden?: boolean | undefined;
4193
+ }, {
4194
+ value: string;
4195
+ type: "var";
4196
+ fallback?: {
4197
+ value: number;
4198
+ type: "unit";
4199
+ 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";
4200
+ hidden?: boolean | undefined;
4201
+ } | {
4202
+ value: string;
4203
+ type: "keyword";
4204
+ hidden?: boolean | undefined;
4205
+ } | {
4206
+ value: string;
4207
+ type: "unparsed";
4208
+ hidden?: boolean | undefined;
4209
+ } | {
4210
+ type: "rgb";
4211
+ r: number;
4212
+ g: number;
4213
+ b: number;
4214
+ alpha: number;
4215
+ hidden?: boolean | undefined;
4216
+ } | undefined;
4217
+ hidden?: boolean | undefined;
4218
+ }>]>, "many">;
4219
+ hidden: z.ZodOptional<z.ZodBoolean>;
4220
+ }, "strip", z.ZodTypeAny, {
4221
+ value: ({
4222
+ value: {
4223
+ value: string;
4224
+ type: "asset";
4225
+ } | {
4226
+ type: "url";
4227
+ url: string;
4228
+ };
4229
+ type: "image";
4230
+ hidden?: boolean | undefined;
4231
+ } | {
4232
+ value: number;
4233
+ type: "unit";
4234
+ 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";
4235
+ hidden?: boolean | undefined;
4236
+ } | {
4237
+ value: string;
4238
+ type: "keyword";
4239
+ hidden?: boolean | undefined;
4240
+ } | {
4241
+ value: string;
4242
+ type: "unparsed";
4243
+ hidden?: boolean | undefined;
4244
+ } | {
4245
+ type: "rgb";
4246
+ r: number;
4247
+ g: number;
4248
+ b: number;
4249
+ alpha: number;
4250
+ hidden?: boolean | undefined;
4251
+ } | {
4252
+ type: "function";
4253
+ name: string;
4254
+ args: StyleValue;
4255
+ hidden?: boolean;
4256
+ } | {
4257
+ value: string;
4258
+ type: "var";
4259
+ fallback?: {
4260
+ value: number;
4261
+ type: "unit";
4262
+ 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";
4263
+ hidden?: boolean | undefined;
4264
+ } | {
4265
+ value: string;
4266
+ type: "keyword";
4267
+ hidden?: boolean | undefined;
4268
+ } | {
4269
+ value: string;
4270
+ type: "unparsed";
4271
+ hidden?: boolean | undefined;
4272
+ } | {
4273
+ type: "rgb";
4274
+ r: number;
4275
+ g: number;
4276
+ b: number;
4277
+ alpha: number;
4278
+ hidden?: boolean | undefined;
4279
+ } | undefined;
4280
+ hidden?: boolean | undefined;
4281
+ })[];
4282
+ type: "tuple";
4283
+ hidden?: boolean | undefined;
4284
+ }, {
4285
+ value: ({
4286
+ value: {
4287
+ value: string;
4288
+ type: "asset";
4289
+ } | {
4290
+ type: "url";
4291
+ url: string;
4292
+ };
4293
+ type: "image";
4294
+ hidden?: boolean | undefined;
4295
+ } | {
4296
+ value: number;
4297
+ type: "unit";
4298
+ 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";
4299
+ hidden?: boolean | undefined;
4300
+ } | {
4301
+ value: string;
4302
+ type: "keyword";
4303
+ hidden?: boolean | undefined;
4304
+ } | {
4305
+ value: string;
4306
+ type: "unparsed";
4307
+ hidden?: boolean | undefined;
4308
+ } | {
4309
+ type: "rgb";
4310
+ r: number;
4311
+ g: number;
4312
+ b: number;
4313
+ alpha: number;
4314
+ hidden?: boolean | undefined;
4315
+ } | {
4316
+ type: "function";
4317
+ name: string;
4318
+ args: StyleValue;
4319
+ hidden?: boolean;
4320
+ } | {
4321
+ value: string;
4322
+ type: "var";
4323
+ fallback?: {
4324
+ value: number;
4325
+ type: "unit";
4326
+ 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";
4327
+ hidden?: boolean | undefined;
4328
+ } | {
4329
+ value: string;
4330
+ type: "keyword";
4331
+ hidden?: boolean | undefined;
4332
+ } | {
4333
+ value: string;
4334
+ type: "unparsed";
4335
+ hidden?: boolean | undefined;
4336
+ } | {
4337
+ type: "rgb";
4338
+ r: number;
4339
+ g: number;
4340
+ b: number;
4341
+ alpha: number;
4342
+ hidden?: boolean | undefined;
4343
+ } | undefined;
4344
+ hidden?: boolean | undefined;
4345
+ })[];
4346
+ type: "tuple";
4347
+ hidden?: boolean | undefined;
4348
+ }>, z.ZodType<{
4349
+ type: "function";
4350
+ name: string;
4351
+ args: StyleValue;
4352
+ hidden?: boolean;
4353
+ }, z.ZodTypeDef, {
4354
+ type: "function";
4355
+ name: string;
4356
+ args: StyleValue;
4357
+ hidden?: boolean;
4358
+ }>, z.ZodObject<{
4359
+ type: z.ZodLiteral<"guaranteedInvalid">;
4360
+ hidden: z.ZodOptional<z.ZodBoolean>;
4361
+ }, "strip", z.ZodTypeAny, {
4362
+ type: "guaranteedInvalid";
4363
+ hidden?: boolean | undefined;
798
4364
  }, {
799
- $eq?: string | undefined;
800
- $neq?: string | undefined;
801
- $in?: string[] | undefined;
802
- $nin?: string[] | undefined;
803
- }>>;
804
- tag: z.ZodOptional<z.ZodObject<{
805
- $eq: z.ZodOptional<z.ZodString>;
806
- $neq: z.ZodOptional<z.ZodString>;
807
- $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
808
- $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4365
+ type: "guaranteedInvalid";
4366
+ hidden?: boolean | undefined;
4367
+ }>, z.ZodObject<{
4368
+ type: z.ZodLiteral<"invalid">;
4369
+ value: z.ZodString;
4370
+ hidden: z.ZodOptional<z.ZodBoolean>;
809
4371
  }, "strip", z.ZodTypeAny, {
810
- $eq?: string | undefined;
811
- $neq?: string | undefined;
812
- $in?: string[] | undefined;
813
- $nin?: string[] | undefined;
4372
+ value: string;
4373
+ type: "invalid";
4374
+ hidden?: boolean | undefined;
814
4375
  }, {
815
- $eq?: string | undefined;
816
- $neq?: string | undefined;
817
- $in?: string[] | undefined;
818
- $nin?: string[] | undefined;
819
- }>>;
820
- }, "strip", z.ZodTypeAny, {
821
- relation: "ancestor" | "parent" | "self" | "child" | "descendant";
822
- component?: {
823
- $eq?: string | undefined;
824
- $neq?: string | undefined;
825
- $in?: string[] | undefined;
826
- $nin?: string[] | undefined;
827
- } | undefined;
828
- tag?: {
829
- $eq?: string | undefined;
830
- $neq?: string | undefined;
831
- $in?: string[] | undefined;
832
- $nin?: string[] | undefined;
833
- } | undefined;
834
- }, {
835
- relation: "ancestor" | "parent" | "self" | "child" | "descendant";
836
- component?: {
837
- $eq?: string | undefined;
838
- $neq?: string | undefined;
839
- $in?: string[] | undefined;
840
- $nin?: string[] | undefined;
841
- } | undefined;
842
- tag?: {
843
- $eq?: string | undefined;
844
- $neq?: string | undefined;
845
- $in?: string[] | undefined;
846
- $nin?: string[] | undefined;
847
- } | undefined;
848
- }>, z.ZodArray<z.ZodObject<{
849
- relation: z.ZodUnion<[z.ZodLiteral<"ancestor">, z.ZodLiteral<"parent">, z.ZodLiteral<"self">, z.ZodLiteral<"child">, z.ZodLiteral<"descendant">]>;
850
- component: z.ZodOptional<z.ZodObject<{
851
- $eq: z.ZodOptional<z.ZodString>;
852
- $neq: z.ZodOptional<z.ZodString>;
853
- $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
854
- $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4376
+ value: string;
4377
+ type: "invalid";
4378
+ hidden?: boolean | undefined;
4379
+ }>, z.ZodObject<{
4380
+ type: z.ZodLiteral<"unset">;
4381
+ value: z.ZodLiteral<"">;
4382
+ hidden: z.ZodOptional<z.ZodBoolean>;
855
4383
  }, "strip", z.ZodTypeAny, {
856
- $eq?: string | undefined;
857
- $neq?: string | undefined;
858
- $in?: string[] | undefined;
859
- $nin?: string[] | undefined;
4384
+ value: "";
4385
+ type: "unset";
4386
+ hidden?: boolean | undefined;
860
4387
  }, {
861
- $eq?: string | undefined;
862
- $neq?: string | undefined;
863
- $in?: string[] | undefined;
864
- $nin?: string[] | undefined;
865
- }>>;
866
- tag: z.ZodOptional<z.ZodObject<{
867
- $eq: z.ZodOptional<z.ZodString>;
868
- $neq: z.ZodOptional<z.ZodString>;
869
- $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
870
- $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4388
+ value: "";
4389
+ type: "unset";
4390
+ hidden?: boolean | undefined;
4391
+ }>, z.ZodObject<{
4392
+ type: z.ZodLiteral<"var">;
4393
+ value: z.ZodString;
4394
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4395
+ type: z.ZodLiteral<"unparsed">;
4396
+ value: z.ZodString;
4397
+ hidden: z.ZodOptional<z.ZodBoolean>;
4398
+ }, "strip", z.ZodTypeAny, {
4399
+ value: string;
4400
+ type: "unparsed";
4401
+ hidden?: boolean | undefined;
4402
+ }, {
4403
+ value: string;
4404
+ type: "unparsed";
4405
+ hidden?: boolean | undefined;
4406
+ }>, z.ZodObject<{
4407
+ type: z.ZodLiteral<"keyword">;
4408
+ value: z.ZodString;
4409
+ hidden: z.ZodOptional<z.ZodBoolean>;
4410
+ }, "strip", z.ZodTypeAny, {
4411
+ value: string;
4412
+ type: "keyword";
4413
+ hidden?: boolean | undefined;
4414
+ }, {
4415
+ value: string;
4416
+ type: "keyword";
4417
+ hidden?: boolean | undefined;
4418
+ }>, z.ZodObject<{
4419
+ type: z.ZodLiteral<"unit">;
4420
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
4421
+ value: z.ZodNumber;
4422
+ hidden: z.ZodOptional<z.ZodBoolean>;
4423
+ }, "strip", z.ZodTypeAny, {
4424
+ value: number;
4425
+ type: "unit";
4426
+ 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";
4427
+ hidden?: boolean | undefined;
4428
+ }, {
4429
+ value: number;
4430
+ type: "unit";
4431
+ 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";
4432
+ hidden?: boolean | undefined;
4433
+ }>, z.ZodObject<{
4434
+ type: z.ZodLiteral<"rgb">;
4435
+ r: z.ZodNumber;
4436
+ g: z.ZodNumber;
4437
+ b: z.ZodNumber;
4438
+ alpha: z.ZodNumber;
4439
+ hidden: z.ZodOptional<z.ZodBoolean>;
4440
+ }, "strip", z.ZodTypeAny, {
4441
+ type: "rgb";
4442
+ r: number;
4443
+ g: number;
4444
+ b: number;
4445
+ alpha: number;
4446
+ hidden?: boolean | undefined;
4447
+ }, {
4448
+ type: "rgb";
4449
+ r: number;
4450
+ g: number;
4451
+ b: number;
4452
+ alpha: number;
4453
+ hidden?: boolean | undefined;
4454
+ }>]>>;
4455
+ hidden: z.ZodOptional<z.ZodBoolean>;
871
4456
  }, "strip", z.ZodTypeAny, {
872
- $eq?: string | undefined;
873
- $neq?: string | undefined;
874
- $in?: string[] | undefined;
875
- $nin?: string[] | undefined;
4457
+ value: string;
4458
+ type: "var";
4459
+ fallback?: {
4460
+ value: number;
4461
+ type: "unit";
4462
+ 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";
4463
+ hidden?: boolean | undefined;
4464
+ } | {
4465
+ value: string;
4466
+ type: "keyword";
4467
+ hidden?: boolean | undefined;
4468
+ } | {
4469
+ value: string;
4470
+ type: "unparsed";
4471
+ hidden?: boolean | undefined;
4472
+ } | {
4473
+ type: "rgb";
4474
+ r: number;
4475
+ g: number;
4476
+ b: number;
4477
+ alpha: number;
4478
+ hidden?: boolean | undefined;
4479
+ } | undefined;
4480
+ hidden?: boolean | undefined;
876
4481
  }, {
877
- $eq?: string | undefined;
878
- $neq?: string | undefined;
879
- $in?: string[] | undefined;
880
- $nin?: string[] | undefined;
881
- }>>;
4482
+ value: string;
4483
+ type: "var";
4484
+ fallback?: {
4485
+ value: number;
4486
+ type: "unit";
4487
+ 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";
4488
+ hidden?: boolean | undefined;
4489
+ } | {
4490
+ value: string;
4491
+ type: "keyword";
4492
+ hidden?: boolean | undefined;
4493
+ } | {
4494
+ value: string;
4495
+ type: "unparsed";
4496
+ hidden?: boolean | undefined;
4497
+ } | {
4498
+ type: "rgb";
4499
+ r: number;
4500
+ g: number;
4501
+ b: number;
4502
+ alpha: number;
4503
+ hidden?: boolean | undefined;
4504
+ } | undefined;
4505
+ hidden?: boolean | undefined;
4506
+ }>]>;
882
4507
  }, "strip", z.ZodTypeAny, {
883
- relation: "ancestor" | "parent" | "self" | "child" | "descendant";
884
- component?: {
885
- $eq?: string | undefined;
886
- $neq?: string | undefined;
887
- $in?: string[] | undefined;
888
- $nin?: string[] | undefined;
889
- } | undefined;
890
- tag?: {
891
- $eq?: string | undefined;
892
- $neq?: string | undefined;
893
- $in?: string[] | undefined;
894
- $nin?: string[] | undefined;
895
- } | undefined;
896
- }, {
897
- relation: "ancestor" | "parent" | "self" | "child" | "descendant";
898
- component?: {
899
- $eq?: string | undefined;
900
- $neq?: string | undefined;
901
- $in?: string[] | undefined;
902
- $nin?: string[] | undefined;
903
- } | undefined;
904
- tag?: {
905
- $eq?: string | undefined;
906
- $neq?: string | undefined;
907
- $in?: string[] | undefined;
908
- $nin?: string[] | undefined;
909
- } | undefined;
910
- }>, "many">]>>;
911
- indexWithinAncestor: z.ZodOptional<z.ZodString>;
912
- label: z.ZodOptional<z.ZodString>;
913
- description: z.ZodOptional<z.ZodString>;
914
- icon: z.ZodString;
915
- presetStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<{
916
4508
  value: {
917
4509
  value: {
918
4510
  value: string;
@@ -946,7 +4538,7 @@ export declare const WsComponentMeta: z.ZodObject<{
946
4538
  } | {
947
4539
  type: "function";
948
4540
  name: string;
949
- args: import("@webstudio-is/css-engine").StyleValue;
4541
+ args: StyleValue;
950
4542
  hidden?: boolean;
951
4543
  } | {
952
4544
  value: string;
@@ -1007,7 +4599,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1007
4599
  } | {
1008
4600
  type: "function";
1009
4601
  name: string;
1010
- args: import("@webstudio-is/css-engine").StyleValue;
4602
+ args: StyleValue;
1011
4603
  hidden?: boolean;
1012
4604
  } | {
1013
4605
  value: string;
@@ -1075,7 +4667,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1075
4667
  } | {
1076
4668
  type: "function";
1077
4669
  name: string;
1078
- args: import("@webstudio-is/css-engine").StyleValue;
4670
+ args: StyleValue;
1079
4671
  hidden?: boolean;
1080
4672
  } | {
1081
4673
  value: string;
@@ -1136,7 +4728,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1136
4728
  } | {
1137
4729
  type: "function";
1138
4730
  name: string;
1139
- args: import("@webstudio-is/css-engine").StyleValue;
4731
+ args: StyleValue;
1140
4732
  hidden?: boolean;
1141
4733
  } | {
1142
4734
  value: string;
@@ -1185,9 +4777,9 @@ export declare const WsComponentMeta: z.ZodObject<{
1185
4777
  type: "unset";
1186
4778
  hidden?: boolean | undefined;
1187
4779
  };
4780
+ property: string;
1188
4781
  state?: string | undefined;
1189
- property: import("@webstudio-is/css-engine").StyleProperty;
1190
- }, z.ZodTypeDef, {
4782
+ }, {
1191
4783
  value: {
1192
4784
  value: {
1193
4785
  value: string;
@@ -1221,7 +4813,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1221
4813
  } | {
1222
4814
  type: "function";
1223
4815
  name: string;
1224
- args: import("@webstudio-is/css-engine").StyleValue;
4816
+ args: StyleValue;
1225
4817
  hidden?: boolean;
1226
4818
  } | {
1227
4819
  value: string;
@@ -1282,7 +4874,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1282
4874
  } | {
1283
4875
  type: "function";
1284
4876
  name: string;
1285
- args: import("@webstudio-is/css-engine").StyleValue;
4877
+ args: StyleValue;
1286
4878
  hidden?: boolean;
1287
4879
  } | {
1288
4880
  value: string;
@@ -1350,7 +4942,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1350
4942
  } | {
1351
4943
  type: "function";
1352
4944
  name: string;
1353
- args: import("@webstudio-is/css-engine").StyleValue;
4945
+ args: StyleValue;
1354
4946
  hidden?: boolean;
1355
4947
  } | {
1356
4948
  value: string;
@@ -1411,7 +5003,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1411
5003
  } | {
1412
5004
  type: "function";
1413
5005
  name: string;
1414
- args: import("@webstudio-is/css-engine").StyleValue;
5006
+ args: StyleValue;
1415
5007
  hidden?: boolean;
1416
5008
  } | {
1417
5009
  value: string;
@@ -1460,8 +5052,8 @@ export declare const WsComponentMeta: z.ZodObject<{
1460
5052
  type: "unset";
1461
5053
  hidden?: boolean | undefined;
1462
5054
  };
5055
+ property: string;
1463
5056
  state?: string | undefined;
1464
- property: import("@webstudio-is/css-engine").StyleProperty;
1465
5057
  }>, "many">>>;
1466
5058
  states: z.ZodOptional<z.ZodArray<z.ZodObject<{
1467
5059
  category: z.ZodOptional<z.ZodEnum<["states", "component-states"]>>;
@@ -1570,7 +5162,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1570
5162
  } | {
1571
5163
  type: "function";
1572
5164
  name: string;
1573
- args: import("@webstudio-is/css-engine").StyleValue;
5165
+ args: StyleValue;
1574
5166
  hidden?: boolean;
1575
5167
  } | {
1576
5168
  value: string;
@@ -1631,7 +5223,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1631
5223
  } | {
1632
5224
  type: "function";
1633
5225
  name: string;
1634
- args: import("@webstudio-is/css-engine").StyleValue;
5226
+ args: StyleValue;
1635
5227
  hidden?: boolean;
1636
5228
  } | {
1637
5229
  value: string;
@@ -1699,7 +5291,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1699
5291
  } | {
1700
5292
  type: "function";
1701
5293
  name: string;
1702
- args: import("@webstudio-is/css-engine").StyleValue;
5294
+ args: StyleValue;
1703
5295
  hidden?: boolean;
1704
5296
  } | {
1705
5297
  value: string;
@@ -1760,7 +5352,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1760
5352
  } | {
1761
5353
  type: "function";
1762
5354
  name: string;
1763
- args: import("@webstudio-is/css-engine").StyleValue;
5355
+ args: StyleValue;
1764
5356
  hidden?: boolean;
1765
5357
  } | {
1766
5358
  value: string;
@@ -1809,8 +5401,8 @@ export declare const WsComponentMeta: z.ZodObject<{
1809
5401
  type: "unset";
1810
5402
  hidden?: boolean | undefined;
1811
5403
  };
5404
+ property: string;
1812
5405
  state?: string | undefined;
1813
- property: import("@webstudio-is/css-engine").StyleProperty;
1814
5406
  }[]> | undefined;
1815
5407
  states?: {
1816
5408
  selector: string;
@@ -1897,7 +5489,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1897
5489
  } | {
1898
5490
  type: "function";
1899
5491
  name: string;
1900
- args: import("@webstudio-is/css-engine").StyleValue;
5492
+ args: StyleValue;
1901
5493
  hidden?: boolean;
1902
5494
  } | {
1903
5495
  value: string;
@@ -1958,7 +5550,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1958
5550
  } | {
1959
5551
  type: "function";
1960
5552
  name: string;
1961
- args: import("@webstudio-is/css-engine").StyleValue;
5553
+ args: StyleValue;
1962
5554
  hidden?: boolean;
1963
5555
  } | {
1964
5556
  value: string;
@@ -2026,7 +5618,7 @@ export declare const WsComponentMeta: z.ZodObject<{
2026
5618
  } | {
2027
5619
  type: "function";
2028
5620
  name: string;
2029
- args: import("@webstudio-is/css-engine").StyleValue;
5621
+ args: StyleValue;
2030
5622
  hidden?: boolean;
2031
5623
  } | {
2032
5624
  value: string;
@@ -2087,7 +5679,7 @@ export declare const WsComponentMeta: z.ZodObject<{
2087
5679
  } | {
2088
5680
  type: "function";
2089
5681
  name: string;
2090
- args: import("@webstudio-is/css-engine").StyleValue;
5682
+ args: StyleValue;
2091
5683
  hidden?: boolean;
2092
5684
  } | {
2093
5685
  value: string;
@@ -2136,8 +5728,8 @@ export declare const WsComponentMeta: z.ZodObject<{
2136
5728
  type: "unset";
2137
5729
  hidden?: boolean | undefined;
2138
5730
  };
5731
+ property: string;
2139
5732
  state?: string | undefined;
2140
- property: import("@webstudio-is/css-engine").StyleProperty;
2141
5733
  }[]> | undefined;
2142
5734
  states?: {
2143
5735
  selector: string;