@webstudio-is/sdk 0.204.0 → 0.206.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,2308 @@
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<"code">;
2130
+ type: z.ZodLiteral<"string">;
2131
+ language: z.ZodUnion<[z.ZodLiteral<"html">, z.ZodLiteral<"markdown">]>;
2132
+ defaultValue: z.ZodOptional<z.ZodString>;
2133
+ label: z.ZodOptional<z.ZodString>;
2134
+ description: z.ZodOptional<z.ZodString>;
2135
+ required: z.ZodBoolean;
2136
+ }, "strip", z.ZodTypeAny, {
2137
+ type: "string";
2138
+ required: boolean;
2139
+ control: "code";
2140
+ language: "html" | "markdown";
2141
+ defaultValue?: string | undefined;
2142
+ label?: string | undefined;
2143
+ description?: string | undefined;
2144
+ }, {
2145
+ type: "string";
2146
+ required: boolean;
2147
+ control: "code";
2148
+ language: "html" | "markdown";
2149
+ defaultValue?: string | undefined;
2150
+ label?: string | undefined;
2151
+ description?: string | undefined;
2152
+ }>, z.ZodObject<{
2153
+ control: z.ZodLiteral<"codetext">;
2154
+ type: z.ZodLiteral<"string">;
2155
+ defaultValue: z.ZodOptional<z.ZodString>;
2156
+ label: z.ZodOptional<z.ZodString>;
2157
+ description: z.ZodOptional<z.ZodString>;
2158
+ required: z.ZodBoolean;
2159
+ }, "strip", z.ZodTypeAny, {
2160
+ type: "string";
2161
+ required: boolean;
2162
+ control: "codetext";
2163
+ defaultValue?: string | undefined;
2164
+ label?: string | undefined;
2165
+ description?: string | undefined;
2166
+ }, {
2167
+ type: "string";
2168
+ required: boolean;
2169
+ control: "codetext";
2170
+ defaultValue?: string | undefined;
2171
+ label?: string | undefined;
2172
+ description?: string | undefined;
2173
+ }>, z.ZodObject<{
2174
+ control: z.ZodLiteral<"color">;
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: "color";
2184
+ defaultValue?: string | undefined;
2185
+ label?: string | undefined;
2186
+ description?: string | undefined;
2187
+ }, {
2188
+ type: "string";
2189
+ required: boolean;
2190
+ control: "color";
2191
+ defaultValue?: string | undefined;
2192
+ label?: string | undefined;
2193
+ description?: string | undefined;
2194
+ }>, z.ZodObject<{
2195
+ control: z.ZodLiteral<"boolean">;
2196
+ type: z.ZodLiteral<"boolean">;
2197
+ defaultValue: z.ZodOptional<z.ZodBoolean>;
2198
+ label: z.ZodOptional<z.ZodString>;
2199
+ description: z.ZodOptional<z.ZodString>;
2200
+ required: z.ZodBoolean;
2201
+ }, "strip", z.ZodTypeAny, {
2202
+ type: "boolean";
2203
+ required: boolean;
2204
+ control: "boolean";
2205
+ defaultValue?: boolean | undefined;
2206
+ label?: string | undefined;
2207
+ description?: string | undefined;
2208
+ }, {
2209
+ type: "boolean";
2210
+ required: boolean;
2211
+ control: "boolean";
2212
+ defaultValue?: boolean | undefined;
2213
+ label?: string | undefined;
2214
+ description?: string | undefined;
2215
+ }>, z.ZodObject<{
2216
+ control: z.ZodLiteral<"radio">;
2217
+ type: z.ZodLiteral<"string">;
2218
+ defaultValue: z.ZodOptional<z.ZodString>;
2219
+ options: z.ZodArray<z.ZodString, "many">;
2220
+ label: z.ZodOptional<z.ZodString>;
2221
+ description: z.ZodOptional<z.ZodString>;
2222
+ required: z.ZodBoolean;
2223
+ }, "strip", z.ZodTypeAny, {
2224
+ options: string[];
2225
+ type: "string";
2226
+ required: boolean;
2227
+ control: "radio";
2228
+ defaultValue?: string | undefined;
2229
+ label?: string | undefined;
2230
+ description?: string | undefined;
2231
+ }, {
2232
+ options: string[];
2233
+ type: "string";
2234
+ required: boolean;
2235
+ control: "radio";
2236
+ defaultValue?: string | undefined;
2237
+ label?: string | undefined;
2238
+ description?: string | undefined;
2239
+ }>, z.ZodObject<{
2240
+ control: z.ZodLiteral<"inline-radio">;
2241
+ type: z.ZodLiteral<"string">;
2242
+ defaultValue: z.ZodOptional<z.ZodString>;
2243
+ options: z.ZodArray<z.ZodString, "many">;
2244
+ label: z.ZodOptional<z.ZodString>;
2245
+ description: z.ZodOptional<z.ZodString>;
2246
+ required: z.ZodBoolean;
2247
+ }, "strip", z.ZodTypeAny, {
2248
+ options: string[];
2249
+ type: "string";
2250
+ required: boolean;
2251
+ control: "inline-radio";
2252
+ defaultValue?: string | undefined;
2253
+ label?: string | undefined;
2254
+ description?: string | undefined;
2255
+ }, {
2256
+ options: string[];
2257
+ type: "string";
2258
+ required: boolean;
2259
+ control: "inline-radio";
2260
+ defaultValue?: string | undefined;
2261
+ label?: string | undefined;
2262
+ description?: string | undefined;
2263
+ }>, z.ZodObject<{
2264
+ control: z.ZodLiteral<"select">;
2265
+ type: z.ZodLiteral<"string">;
2266
+ defaultValue: z.ZodOptional<z.ZodString>;
2267
+ options: z.ZodArray<z.ZodString, "many">;
2268
+ label: z.ZodOptional<z.ZodString>;
2269
+ description: z.ZodOptional<z.ZodString>;
2270
+ required: z.ZodBoolean;
2271
+ }, "strip", z.ZodTypeAny, {
2272
+ options: string[];
2273
+ type: "string";
2274
+ required: boolean;
2275
+ control: "select";
2276
+ defaultValue?: string | undefined;
2277
+ label?: string | undefined;
2278
+ description?: string | undefined;
2279
+ }, {
2280
+ options: string[];
2281
+ type: "string";
2282
+ required: boolean;
2283
+ control: "select";
2284
+ defaultValue?: string | undefined;
2285
+ label?: string | undefined;
2286
+ description?: string | undefined;
2287
+ }>, z.ZodObject<{
2288
+ control: z.ZodLiteral<"multi-select">;
2289
+ type: z.ZodLiteral<"string[]">;
2290
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2291
+ options: z.ZodArray<z.ZodString, "many">;
2292
+ label: z.ZodOptional<z.ZodString>;
2293
+ description: z.ZodOptional<z.ZodString>;
2294
+ required: z.ZodBoolean;
2295
+ }, "strip", z.ZodTypeAny, {
2296
+ options: string[];
2297
+ type: "string[]";
2298
+ required: boolean;
2299
+ control: "multi-select";
2300
+ defaultValue?: string[] | undefined;
2301
+ label?: string | undefined;
2302
+ description?: string | undefined;
2303
+ }, {
2304
+ options: string[];
2305
+ type: "string[]";
250
2306
  required: boolean;
251
2307
  control: "multi-select";
252
2308
  defaultValue?: string[] | undefined;
@@ -429,6 +2485,27 @@ declare const WsComponentPropsMeta: z.ZodObject<{
429
2485
  defaultValue?: string | undefined;
430
2486
  label?: string | undefined;
431
2487
  description?: string | undefined;
2488
+ }>, z.ZodObject<{
2489
+ control: z.ZodLiteral<"animationAction">;
2490
+ type: z.ZodLiteral<"animationAction">;
2491
+ defaultValue: z.ZodOptional<z.ZodUndefined>;
2492
+ label: z.ZodOptional<z.ZodString>;
2493
+ description: z.ZodOptional<z.ZodString>;
2494
+ required: z.ZodBoolean;
2495
+ }, "strip", z.ZodTypeAny, {
2496
+ type: "animationAction";
2497
+ required: boolean;
2498
+ control: "animationAction";
2499
+ defaultValue?: undefined;
2500
+ label?: string | undefined;
2501
+ description?: string | undefined;
2502
+ }, {
2503
+ type: "animationAction";
2504
+ required: boolean;
2505
+ control: "animationAction";
2506
+ defaultValue?: undefined;
2507
+ label?: string | undefined;
2508
+ description?: string | undefined;
432
2509
  }>]>>;
433
2510
  initialProps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
434
2511
  }, "strip", z.ZodTypeAny, {
@@ -574,6 +2651,13 @@ declare const WsComponentPropsMeta: z.ZodObject<{
574
2651
  defaultValue?: string | undefined;
575
2652
  label?: string | undefined;
576
2653
  description?: string | undefined;
2654
+ } | {
2655
+ type: "animationAction";
2656
+ required: boolean;
2657
+ control: "animationAction";
2658
+ defaultValue?: undefined;
2659
+ label?: string | undefined;
2660
+ description?: string | undefined;
577
2661
  }>;
578
2662
  initialProps?: string[] | undefined;
579
2663
  }, {
@@ -719,6 +2803,13 @@ declare const WsComponentPropsMeta: z.ZodObject<{
719
2803
  defaultValue?: string | undefined;
720
2804
  label?: string | undefined;
721
2805
  description?: string | undefined;
2806
+ } | {
2807
+ type: "animationAction";
2808
+ required: boolean;
2809
+ control: "animationAction";
2810
+ defaultValue?: undefined;
2811
+ label?: string | undefined;
2812
+ description?: string | undefined;
722
2813
  }>;
723
2814
  initialProps?: string[] | undefined;
724
2815
  }>;
@@ -743,6 +2834,11 @@ export declare const defaultStates: ComponentState[];
743
2834
  export declare const WsComponentMeta: z.ZodObject<{
744
2835
  category: z.ZodOptional<z.ZodEnum<["general", "typography", "media", "data", "forms", "localization", "radix", "xml", "hidden", "internal"]>>;
745
2836
  type: z.ZodEnum<["container", "control", "embed", "rich-text-child"]>;
2837
+ /**
2838
+ * a property used as textual placeholder when no content specified while in builder
2839
+ * also signals to not insert components inside unless dropped explicitly
2840
+ */
2841
+ placeholder: z.ZodOptional<z.ZodString>;
746
2842
  constraints: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
747
2843
  relation: z.ZodUnion<[z.ZodLiteral<"ancestor">, z.ZodLiteral<"parent">, z.ZodLiteral<"self">, z.ZodLiteral<"child">, z.ZodLiteral<"descendant">]>;
748
2844
  component: z.ZodOptional<z.ZodObject<{
@@ -751,128 +2847,1629 @@ export declare const WsComponentMeta: z.ZodObject<{
751
2847
  $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
752
2848
  $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
753
2849
  }, "strip", z.ZodTypeAny, {
754
- $eq?: string | undefined;
755
- $neq?: string | undefined;
756
- $in?: string[] | undefined;
757
- $nin?: string[] | undefined;
2850
+ $eq?: string | undefined;
2851
+ $neq?: string | undefined;
2852
+ $in?: string[] | undefined;
2853
+ $nin?: string[] | undefined;
2854
+ }, {
2855
+ $eq?: string | undefined;
2856
+ $neq?: string | undefined;
2857
+ $in?: string[] | undefined;
2858
+ $nin?: string[] | undefined;
2859
+ }>>;
2860
+ tag: z.ZodOptional<z.ZodObject<{
2861
+ $eq: z.ZodOptional<z.ZodString>;
2862
+ $neq: z.ZodOptional<z.ZodString>;
2863
+ $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2864
+ $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2865
+ }, "strip", z.ZodTypeAny, {
2866
+ $eq?: string | undefined;
2867
+ $neq?: string | undefined;
2868
+ $in?: string[] | undefined;
2869
+ $nin?: string[] | undefined;
2870
+ }, {
2871
+ $eq?: string | undefined;
2872
+ $neq?: string | undefined;
2873
+ $in?: string[] | undefined;
2874
+ $nin?: string[] | undefined;
2875
+ }>>;
2876
+ }, "strip", z.ZodTypeAny, {
2877
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
2878
+ component?: {
2879
+ $eq?: string | undefined;
2880
+ $neq?: string | undefined;
2881
+ $in?: string[] | undefined;
2882
+ $nin?: string[] | undefined;
2883
+ } | undefined;
2884
+ tag?: {
2885
+ $eq?: string | undefined;
2886
+ $neq?: string | undefined;
2887
+ $in?: string[] | undefined;
2888
+ $nin?: string[] | undefined;
2889
+ } | undefined;
2890
+ }, {
2891
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
2892
+ component?: {
2893
+ $eq?: string | undefined;
2894
+ $neq?: string | undefined;
2895
+ $in?: string[] | undefined;
2896
+ $nin?: string[] | undefined;
2897
+ } | undefined;
2898
+ tag?: {
2899
+ $eq?: string | undefined;
2900
+ $neq?: string | undefined;
2901
+ $in?: string[] | undefined;
2902
+ $nin?: string[] | undefined;
2903
+ } | undefined;
2904
+ }>, z.ZodArray<z.ZodObject<{
2905
+ relation: z.ZodUnion<[z.ZodLiteral<"ancestor">, z.ZodLiteral<"parent">, z.ZodLiteral<"self">, z.ZodLiteral<"child">, z.ZodLiteral<"descendant">]>;
2906
+ component: z.ZodOptional<z.ZodObject<{
2907
+ $eq: z.ZodOptional<z.ZodString>;
2908
+ $neq: z.ZodOptional<z.ZodString>;
2909
+ $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2910
+ $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2911
+ }, "strip", z.ZodTypeAny, {
2912
+ $eq?: string | undefined;
2913
+ $neq?: string | undefined;
2914
+ $in?: string[] | undefined;
2915
+ $nin?: string[] | undefined;
2916
+ }, {
2917
+ $eq?: string | undefined;
2918
+ $neq?: string | undefined;
2919
+ $in?: string[] | undefined;
2920
+ $nin?: string[] | undefined;
2921
+ }>>;
2922
+ tag: z.ZodOptional<z.ZodObject<{
2923
+ $eq: z.ZodOptional<z.ZodString>;
2924
+ $neq: z.ZodOptional<z.ZodString>;
2925
+ $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2926
+ $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2927
+ }, "strip", z.ZodTypeAny, {
2928
+ $eq?: string | undefined;
2929
+ $neq?: string | undefined;
2930
+ $in?: string[] | undefined;
2931
+ $nin?: string[] | undefined;
2932
+ }, {
2933
+ $eq?: string | undefined;
2934
+ $neq?: string | undefined;
2935
+ $in?: string[] | undefined;
2936
+ $nin?: string[] | undefined;
2937
+ }>>;
2938
+ }, "strip", z.ZodTypeAny, {
2939
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
2940
+ component?: {
2941
+ $eq?: string | undefined;
2942
+ $neq?: string | undefined;
2943
+ $in?: string[] | undefined;
2944
+ $nin?: string[] | undefined;
2945
+ } | undefined;
2946
+ tag?: {
2947
+ $eq?: string | undefined;
2948
+ $neq?: string | undefined;
2949
+ $in?: string[] | undefined;
2950
+ $nin?: string[] | undefined;
2951
+ } | undefined;
2952
+ }, {
2953
+ relation: "ancestor" | "parent" | "self" | "child" | "descendant";
2954
+ component?: {
2955
+ $eq?: string | undefined;
2956
+ $neq?: string | undefined;
2957
+ $in?: string[] | undefined;
2958
+ $nin?: string[] | undefined;
2959
+ } | undefined;
2960
+ tag?: {
2961
+ $eq?: string | undefined;
2962
+ $neq?: string | undefined;
2963
+ $in?: string[] | undefined;
2964
+ $nin?: string[] | undefined;
2965
+ } | undefined;
2966
+ }>, "many">]>>;
2967
+ indexWithinAncestor: z.ZodOptional<z.ZodString>;
2968
+ label: z.ZodOptional<z.ZodString>;
2969
+ description: z.ZodOptional<z.ZodString>;
2970
+ icon: z.ZodString;
2971
+ presetStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
2972
+ state: z.ZodOptional<z.ZodString>;
2973
+ property: z.ZodString;
2974
+ value: z.ZodUnion<[z.ZodObject<{
2975
+ type: z.ZodLiteral<"image">;
2976
+ value: z.ZodUnion<[z.ZodObject<{
2977
+ type: z.ZodLiteral<"asset">;
2978
+ value: z.ZodString;
2979
+ }, "strip", z.ZodTypeAny, {
2980
+ value: string;
2981
+ type: "asset";
2982
+ }, {
2983
+ value: string;
2984
+ type: "asset";
2985
+ }>, z.ZodObject<{
2986
+ type: z.ZodLiteral<"url">;
2987
+ url: z.ZodString;
2988
+ }, "strip", z.ZodTypeAny, {
2989
+ type: "url";
2990
+ url: string;
2991
+ }, {
2992
+ type: "url";
2993
+ url: string;
2994
+ }>]>;
2995
+ hidden: z.ZodOptional<z.ZodBoolean>;
2996
+ }, "strip", z.ZodTypeAny, {
2997
+ value: {
2998
+ value: string;
2999
+ type: "asset";
3000
+ } | {
3001
+ type: "url";
3002
+ url: string;
3003
+ };
3004
+ type: "image";
3005
+ hidden?: boolean | undefined;
3006
+ }, {
3007
+ value: {
3008
+ value: string;
3009
+ type: "asset";
3010
+ } | {
3011
+ type: "url";
3012
+ url: string;
3013
+ };
3014
+ type: "image";
3015
+ hidden?: boolean | undefined;
3016
+ }>, z.ZodObject<{
3017
+ type: z.ZodLiteral<"layers">;
3018
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3019
+ type: z.ZodLiteral<"unit">;
3020
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
3021
+ value: z.ZodNumber;
3022
+ hidden: z.ZodOptional<z.ZodBoolean>;
3023
+ }, "strip", z.ZodTypeAny, {
3024
+ value: number;
3025
+ type: "unit";
3026
+ 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";
3027
+ hidden?: boolean | undefined;
3028
+ }, {
3029
+ value: number;
3030
+ type: "unit";
3031
+ 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";
3032
+ hidden?: boolean | undefined;
3033
+ }>, z.ZodObject<{
3034
+ type: z.ZodLiteral<"keyword">;
3035
+ value: z.ZodString;
3036
+ hidden: z.ZodOptional<z.ZodBoolean>;
3037
+ }, "strip", z.ZodTypeAny, {
3038
+ value: string;
3039
+ type: "keyword";
3040
+ hidden?: boolean | undefined;
3041
+ }, {
3042
+ value: string;
3043
+ type: "keyword";
3044
+ hidden?: boolean | undefined;
3045
+ }>, z.ZodObject<{
3046
+ type: z.ZodLiteral<"unparsed">;
3047
+ value: z.ZodString;
3048
+ hidden: z.ZodOptional<z.ZodBoolean>;
3049
+ }, "strip", z.ZodTypeAny, {
3050
+ value: string;
3051
+ type: "unparsed";
3052
+ hidden?: boolean | undefined;
3053
+ }, {
3054
+ value: string;
3055
+ type: "unparsed";
3056
+ hidden?: boolean | undefined;
3057
+ }>, z.ZodObject<{
3058
+ type: z.ZodLiteral<"image">;
3059
+ value: z.ZodUnion<[z.ZodObject<{
3060
+ type: z.ZodLiteral<"asset">;
3061
+ value: z.ZodString;
3062
+ }, "strip", z.ZodTypeAny, {
3063
+ value: string;
3064
+ type: "asset";
3065
+ }, {
3066
+ value: string;
3067
+ type: "asset";
3068
+ }>, z.ZodObject<{
3069
+ type: z.ZodLiteral<"url">;
3070
+ url: z.ZodString;
3071
+ }, "strip", z.ZodTypeAny, {
3072
+ type: "url";
3073
+ url: string;
3074
+ }, {
3075
+ type: "url";
3076
+ url: string;
3077
+ }>]>;
3078
+ hidden: z.ZodOptional<z.ZodBoolean>;
3079
+ }, "strip", z.ZodTypeAny, {
3080
+ value: {
3081
+ value: string;
3082
+ type: "asset";
3083
+ } | {
3084
+ type: "url";
3085
+ url: string;
3086
+ };
3087
+ type: "image";
3088
+ hidden?: boolean | undefined;
3089
+ }, {
3090
+ value: {
3091
+ value: string;
3092
+ type: "asset";
3093
+ } | {
3094
+ type: "url";
3095
+ url: string;
3096
+ };
3097
+ type: "image";
3098
+ hidden?: boolean | undefined;
3099
+ }>, z.ZodObject<{
3100
+ type: z.ZodLiteral<"tuple">;
3101
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3102
+ type: z.ZodLiteral<"unit">;
3103
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
3104
+ value: z.ZodNumber;
3105
+ hidden: z.ZodOptional<z.ZodBoolean>;
3106
+ }, "strip", z.ZodTypeAny, {
3107
+ value: number;
3108
+ type: "unit";
3109
+ 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";
3110
+ hidden?: boolean | undefined;
3111
+ }, {
3112
+ value: number;
3113
+ type: "unit";
3114
+ 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";
3115
+ hidden?: boolean | undefined;
3116
+ }>, z.ZodObject<{
3117
+ type: z.ZodLiteral<"keyword">;
3118
+ value: z.ZodString;
3119
+ hidden: z.ZodOptional<z.ZodBoolean>;
3120
+ }, "strip", z.ZodTypeAny, {
3121
+ value: string;
3122
+ type: "keyword";
3123
+ hidden?: boolean | undefined;
3124
+ }, {
3125
+ value: string;
3126
+ type: "keyword";
3127
+ hidden?: boolean | undefined;
3128
+ }>, z.ZodObject<{
3129
+ type: z.ZodLiteral<"unparsed">;
3130
+ value: z.ZodString;
3131
+ hidden: z.ZodOptional<z.ZodBoolean>;
3132
+ }, "strip", z.ZodTypeAny, {
3133
+ value: string;
3134
+ type: "unparsed";
3135
+ hidden?: boolean | undefined;
3136
+ }, {
3137
+ value: string;
3138
+ type: "unparsed";
3139
+ hidden?: boolean | undefined;
3140
+ }>, z.ZodObject<{
3141
+ type: z.ZodLiteral<"image">;
3142
+ value: z.ZodUnion<[z.ZodObject<{
3143
+ type: z.ZodLiteral<"asset">;
3144
+ value: z.ZodString;
3145
+ }, "strip", z.ZodTypeAny, {
3146
+ value: string;
3147
+ type: "asset";
3148
+ }, {
3149
+ value: string;
3150
+ type: "asset";
3151
+ }>, z.ZodObject<{
3152
+ type: z.ZodLiteral<"url">;
3153
+ url: z.ZodString;
3154
+ }, "strip", z.ZodTypeAny, {
3155
+ type: "url";
3156
+ url: string;
3157
+ }, {
3158
+ type: "url";
3159
+ url: string;
3160
+ }>]>;
3161
+ hidden: z.ZodOptional<z.ZodBoolean>;
3162
+ }, "strip", z.ZodTypeAny, {
3163
+ value: {
3164
+ value: string;
3165
+ type: "asset";
3166
+ } | {
3167
+ type: "url";
3168
+ url: string;
3169
+ };
3170
+ type: "image";
3171
+ hidden?: boolean | undefined;
3172
+ }, {
3173
+ value: {
3174
+ value: string;
3175
+ type: "asset";
3176
+ } | {
3177
+ type: "url";
3178
+ url: string;
3179
+ };
3180
+ type: "image";
3181
+ hidden?: boolean | undefined;
3182
+ }>, z.ZodObject<{
3183
+ type: z.ZodLiteral<"rgb">;
3184
+ r: z.ZodNumber;
3185
+ g: z.ZodNumber;
3186
+ b: z.ZodNumber;
3187
+ alpha: z.ZodNumber;
3188
+ hidden: z.ZodOptional<z.ZodBoolean>;
3189
+ }, "strip", z.ZodTypeAny, {
3190
+ type: "rgb";
3191
+ r: number;
3192
+ g: number;
3193
+ b: number;
3194
+ alpha: number;
3195
+ hidden?: boolean | undefined;
3196
+ }, {
3197
+ type: "rgb";
3198
+ r: number;
3199
+ g: number;
3200
+ b: number;
3201
+ alpha: number;
3202
+ hidden?: boolean | undefined;
3203
+ }>, z.ZodType<{
3204
+ type: "function";
3205
+ name: string;
3206
+ args: StyleValue;
3207
+ hidden?: boolean;
3208
+ }, z.ZodTypeDef, {
3209
+ type: "function";
3210
+ name: string;
3211
+ args: StyleValue;
3212
+ hidden?: boolean;
3213
+ }>, z.ZodObject<{
3214
+ type: z.ZodLiteral<"var">;
3215
+ value: z.ZodString;
3216
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3217
+ type: z.ZodLiteral<"unparsed">;
3218
+ value: z.ZodString;
3219
+ hidden: z.ZodOptional<z.ZodBoolean>;
3220
+ }, "strip", z.ZodTypeAny, {
3221
+ value: string;
3222
+ type: "unparsed";
3223
+ hidden?: boolean | undefined;
3224
+ }, {
3225
+ value: string;
3226
+ type: "unparsed";
3227
+ hidden?: boolean | undefined;
3228
+ }>, z.ZodObject<{
3229
+ type: z.ZodLiteral<"keyword">;
3230
+ value: z.ZodString;
3231
+ hidden: z.ZodOptional<z.ZodBoolean>;
3232
+ }, "strip", z.ZodTypeAny, {
3233
+ value: string;
3234
+ type: "keyword";
3235
+ hidden?: boolean | undefined;
3236
+ }, {
3237
+ value: string;
3238
+ type: "keyword";
3239
+ hidden?: boolean | undefined;
3240
+ }>, z.ZodObject<{
3241
+ type: z.ZodLiteral<"unit">;
3242
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
3243
+ value: z.ZodNumber;
3244
+ hidden: z.ZodOptional<z.ZodBoolean>;
3245
+ }, "strip", z.ZodTypeAny, {
3246
+ value: number;
3247
+ type: "unit";
3248
+ 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";
3249
+ hidden?: boolean | undefined;
3250
+ }, {
3251
+ value: number;
3252
+ type: "unit";
3253
+ 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";
3254
+ hidden?: boolean | undefined;
3255
+ }>, z.ZodObject<{
3256
+ type: z.ZodLiteral<"rgb">;
3257
+ r: z.ZodNumber;
3258
+ g: z.ZodNumber;
3259
+ b: z.ZodNumber;
3260
+ alpha: z.ZodNumber;
3261
+ hidden: z.ZodOptional<z.ZodBoolean>;
3262
+ }, "strip", z.ZodTypeAny, {
3263
+ type: "rgb";
3264
+ r: number;
3265
+ g: number;
3266
+ b: number;
3267
+ alpha: number;
3268
+ hidden?: boolean | undefined;
3269
+ }, {
3270
+ type: "rgb";
3271
+ r: number;
3272
+ g: number;
3273
+ b: number;
3274
+ alpha: number;
3275
+ hidden?: boolean | undefined;
3276
+ }>]>>;
3277
+ hidden: z.ZodOptional<z.ZodBoolean>;
3278
+ }, "strip", z.ZodTypeAny, {
3279
+ value: string;
3280
+ type: "var";
3281
+ fallback?: {
3282
+ value: number;
3283
+ type: "unit";
3284
+ 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";
3285
+ hidden?: boolean | undefined;
3286
+ } | {
3287
+ value: string;
3288
+ type: "keyword";
3289
+ hidden?: boolean | undefined;
3290
+ } | {
3291
+ value: string;
3292
+ type: "unparsed";
3293
+ hidden?: boolean | undefined;
3294
+ } | {
3295
+ type: "rgb";
3296
+ r: number;
3297
+ g: number;
3298
+ b: number;
3299
+ alpha: number;
3300
+ hidden?: boolean | undefined;
3301
+ } | undefined;
3302
+ hidden?: boolean | undefined;
3303
+ }, {
3304
+ value: string;
3305
+ type: "var";
3306
+ fallback?: {
3307
+ value: number;
3308
+ type: "unit";
3309
+ 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";
3310
+ hidden?: boolean | undefined;
3311
+ } | {
3312
+ value: string;
3313
+ type: "keyword";
3314
+ hidden?: boolean | undefined;
3315
+ } | {
3316
+ value: string;
3317
+ type: "unparsed";
3318
+ hidden?: boolean | undefined;
3319
+ } | {
3320
+ type: "rgb";
3321
+ r: number;
3322
+ g: number;
3323
+ b: number;
3324
+ alpha: number;
3325
+ hidden?: boolean | undefined;
3326
+ } | undefined;
3327
+ hidden?: boolean | undefined;
3328
+ }>]>, "many">;
3329
+ hidden: z.ZodOptional<z.ZodBoolean>;
3330
+ }, "strip", z.ZodTypeAny, {
3331
+ value: ({
3332
+ value: {
3333
+ value: string;
3334
+ type: "asset";
3335
+ } | {
3336
+ type: "url";
3337
+ url: string;
3338
+ };
3339
+ type: "image";
3340
+ hidden?: boolean | undefined;
3341
+ } | {
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
+ } | {
3362
+ type: "function";
3363
+ name: string;
3364
+ args: StyleValue;
3365
+ hidden?: boolean;
3366
+ } | {
3367
+ value: string;
3368
+ type: "var";
3369
+ fallback?: {
3370
+ value: number;
3371
+ type: "unit";
3372
+ 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";
3373
+ hidden?: boolean | undefined;
3374
+ } | {
3375
+ value: string;
3376
+ type: "keyword";
3377
+ hidden?: boolean | undefined;
3378
+ } | {
3379
+ value: string;
3380
+ type: "unparsed";
3381
+ hidden?: boolean | undefined;
3382
+ } | {
3383
+ type: "rgb";
3384
+ r: number;
3385
+ g: number;
3386
+ b: number;
3387
+ alpha: number;
3388
+ hidden?: boolean | undefined;
3389
+ } | undefined;
3390
+ hidden?: boolean | undefined;
3391
+ })[];
3392
+ type: "tuple";
3393
+ hidden?: boolean | undefined;
3394
+ }, {
3395
+ value: ({
3396
+ value: {
3397
+ value: string;
3398
+ type: "asset";
3399
+ } | {
3400
+ type: "url";
3401
+ url: string;
3402
+ };
3403
+ type: "image";
3404
+ hidden?: boolean | undefined;
3405
+ } | {
3406
+ value: number;
3407
+ type: "unit";
3408
+ 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";
3409
+ hidden?: boolean | undefined;
3410
+ } | {
3411
+ value: string;
3412
+ type: "keyword";
3413
+ hidden?: boolean | undefined;
3414
+ } | {
3415
+ value: string;
3416
+ type: "unparsed";
3417
+ hidden?: boolean | undefined;
3418
+ } | {
3419
+ type: "rgb";
3420
+ r: number;
3421
+ g: number;
3422
+ b: number;
3423
+ alpha: number;
3424
+ hidden?: boolean | undefined;
3425
+ } | {
3426
+ type: "function";
3427
+ name: string;
3428
+ args: StyleValue;
3429
+ hidden?: boolean;
3430
+ } | {
3431
+ value: string;
3432
+ type: "var";
3433
+ fallback?: {
3434
+ value: number;
3435
+ type: "unit";
3436
+ 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";
3437
+ hidden?: boolean | undefined;
3438
+ } | {
3439
+ value: string;
3440
+ type: "keyword";
3441
+ hidden?: boolean | undefined;
3442
+ } | {
3443
+ value: string;
3444
+ type: "unparsed";
3445
+ hidden?: boolean | undefined;
3446
+ } | {
3447
+ type: "rgb";
3448
+ r: number;
3449
+ g: number;
3450
+ b: number;
3451
+ alpha: number;
3452
+ hidden?: boolean | undefined;
3453
+ } | undefined;
3454
+ hidden?: boolean | undefined;
3455
+ })[];
3456
+ type: "tuple";
3457
+ hidden?: boolean | undefined;
3458
+ }>, z.ZodObject<{
3459
+ type: z.ZodLiteral<"rgb">;
3460
+ r: z.ZodNumber;
3461
+ g: z.ZodNumber;
3462
+ b: z.ZodNumber;
3463
+ alpha: z.ZodNumber;
3464
+ hidden: z.ZodOptional<z.ZodBoolean>;
3465
+ }, "strip", z.ZodTypeAny, {
3466
+ type: "rgb";
3467
+ r: number;
3468
+ g: number;
3469
+ b: number;
3470
+ alpha: number;
3471
+ hidden?: boolean | undefined;
3472
+ }, {
3473
+ type: "rgb";
3474
+ r: number;
3475
+ g: number;
3476
+ b: number;
3477
+ alpha: number;
3478
+ hidden?: boolean | undefined;
3479
+ }>, z.ZodObject<{
3480
+ type: z.ZodLiteral<"invalid">;
3481
+ value: z.ZodString;
3482
+ hidden: z.ZodOptional<z.ZodBoolean>;
3483
+ }, "strip", z.ZodTypeAny, {
3484
+ value: string;
3485
+ type: "invalid";
3486
+ hidden?: boolean | undefined;
3487
+ }, {
3488
+ value: string;
3489
+ type: "invalid";
3490
+ hidden?: boolean | undefined;
3491
+ }>, z.ZodType<{
3492
+ type: "function";
3493
+ name: string;
3494
+ args: StyleValue;
3495
+ hidden?: boolean;
3496
+ }, z.ZodTypeDef, {
3497
+ type: "function";
3498
+ name: string;
3499
+ args: StyleValue;
3500
+ hidden?: boolean;
3501
+ }>, z.ZodObject<{
3502
+ type: z.ZodLiteral<"var">;
3503
+ value: z.ZodString;
3504
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3505
+ type: z.ZodLiteral<"unparsed">;
3506
+ value: z.ZodString;
3507
+ hidden: z.ZodOptional<z.ZodBoolean>;
3508
+ }, "strip", z.ZodTypeAny, {
3509
+ value: string;
3510
+ type: "unparsed";
3511
+ hidden?: boolean | undefined;
3512
+ }, {
3513
+ value: string;
3514
+ type: "unparsed";
3515
+ hidden?: boolean | undefined;
3516
+ }>, z.ZodObject<{
3517
+ type: z.ZodLiteral<"keyword">;
3518
+ value: z.ZodString;
3519
+ hidden: z.ZodOptional<z.ZodBoolean>;
3520
+ }, "strip", z.ZodTypeAny, {
3521
+ value: string;
3522
+ type: "keyword";
3523
+ hidden?: boolean | undefined;
3524
+ }, {
3525
+ value: string;
3526
+ type: "keyword";
3527
+ hidden?: boolean | undefined;
3528
+ }>, z.ZodObject<{
3529
+ type: z.ZodLiteral<"unit">;
3530
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
3531
+ value: z.ZodNumber;
3532
+ hidden: z.ZodOptional<z.ZodBoolean>;
3533
+ }, "strip", z.ZodTypeAny, {
3534
+ value: number;
3535
+ type: "unit";
3536
+ 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";
3537
+ hidden?: boolean | undefined;
3538
+ }, {
3539
+ value: number;
3540
+ type: "unit";
3541
+ 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";
3542
+ hidden?: boolean | undefined;
3543
+ }>, z.ZodObject<{
3544
+ type: z.ZodLiteral<"rgb">;
3545
+ r: z.ZodNumber;
3546
+ g: z.ZodNumber;
3547
+ b: z.ZodNumber;
3548
+ alpha: z.ZodNumber;
3549
+ hidden: z.ZodOptional<z.ZodBoolean>;
3550
+ }, "strip", z.ZodTypeAny, {
3551
+ type: "rgb";
3552
+ r: number;
3553
+ g: number;
3554
+ b: number;
3555
+ alpha: number;
3556
+ hidden?: boolean | undefined;
3557
+ }, {
3558
+ type: "rgb";
3559
+ r: number;
3560
+ g: number;
3561
+ b: number;
3562
+ alpha: number;
3563
+ hidden?: boolean | undefined;
3564
+ }>]>>;
3565
+ hidden: z.ZodOptional<z.ZodBoolean>;
3566
+ }, "strip", z.ZodTypeAny, {
3567
+ value: string;
3568
+ type: "var";
3569
+ fallback?: {
3570
+ value: number;
3571
+ type: "unit";
3572
+ 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";
3573
+ hidden?: boolean | undefined;
3574
+ } | {
3575
+ value: string;
3576
+ type: "keyword";
3577
+ hidden?: boolean | undefined;
3578
+ } | {
3579
+ value: string;
3580
+ type: "unparsed";
3581
+ hidden?: boolean | undefined;
3582
+ } | {
3583
+ type: "rgb";
3584
+ r: number;
3585
+ g: number;
3586
+ b: number;
3587
+ alpha: number;
3588
+ hidden?: boolean | undefined;
3589
+ } | undefined;
3590
+ hidden?: boolean | undefined;
3591
+ }, {
3592
+ value: string;
3593
+ type: "var";
3594
+ fallback?: {
3595
+ value: number;
3596
+ type: "unit";
3597
+ 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";
3598
+ hidden?: boolean | undefined;
3599
+ } | {
3600
+ value: string;
3601
+ type: "keyword";
3602
+ hidden?: boolean | undefined;
3603
+ } | {
3604
+ value: string;
3605
+ type: "unparsed";
3606
+ hidden?: boolean | undefined;
3607
+ } | {
3608
+ type: "rgb";
3609
+ r: number;
3610
+ g: number;
3611
+ b: number;
3612
+ alpha: number;
3613
+ hidden?: boolean | undefined;
3614
+ } | undefined;
3615
+ hidden?: boolean | undefined;
3616
+ }>]>, "many">;
3617
+ hidden: z.ZodOptional<z.ZodBoolean>;
3618
+ }, "strip", z.ZodTypeAny, {
3619
+ value: ({
3620
+ value: {
3621
+ value: string;
3622
+ type: "asset";
3623
+ } | {
3624
+ type: "url";
3625
+ url: string;
3626
+ };
3627
+ type: "image";
3628
+ hidden?: boolean | undefined;
3629
+ } | {
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
+ } | {
3650
+ type: "function";
3651
+ name: string;
3652
+ args: StyleValue;
3653
+ hidden?: boolean;
3654
+ } | {
3655
+ value: string;
3656
+ type: "var";
3657
+ fallback?: {
3658
+ value: number;
3659
+ type: "unit";
3660
+ 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";
3661
+ hidden?: boolean | undefined;
3662
+ } | {
3663
+ value: string;
3664
+ type: "keyword";
3665
+ hidden?: boolean | undefined;
3666
+ } | {
3667
+ value: string;
3668
+ type: "unparsed";
3669
+ hidden?: boolean | undefined;
3670
+ } | {
3671
+ type: "rgb";
3672
+ r: number;
3673
+ g: number;
3674
+ b: number;
3675
+ alpha: number;
3676
+ hidden?: boolean | undefined;
3677
+ } | undefined;
3678
+ hidden?: boolean | undefined;
3679
+ } | {
3680
+ value: ({
3681
+ value: {
3682
+ value: string;
3683
+ type: "asset";
3684
+ } | {
3685
+ type: "url";
3686
+ url: string;
3687
+ };
3688
+ type: "image";
3689
+ hidden?: boolean | undefined;
3690
+ } | {
3691
+ value: number;
3692
+ type: "unit";
3693
+ 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";
3694
+ hidden?: boolean | undefined;
3695
+ } | {
3696
+ value: string;
3697
+ type: "keyword";
3698
+ hidden?: boolean | undefined;
3699
+ } | {
3700
+ value: string;
3701
+ type: "unparsed";
3702
+ hidden?: boolean | undefined;
3703
+ } | {
3704
+ type: "rgb";
3705
+ r: number;
3706
+ g: number;
3707
+ b: number;
3708
+ alpha: number;
3709
+ hidden?: boolean | undefined;
3710
+ } | {
3711
+ type: "function";
3712
+ name: string;
3713
+ args: StyleValue;
3714
+ hidden?: boolean;
3715
+ } | {
3716
+ value: string;
3717
+ type: "var";
3718
+ fallback?: {
3719
+ value: number;
3720
+ type: "unit";
3721
+ 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";
3722
+ hidden?: boolean | undefined;
3723
+ } | {
3724
+ value: string;
3725
+ type: "keyword";
3726
+ hidden?: boolean | undefined;
3727
+ } | {
3728
+ value: string;
3729
+ type: "unparsed";
3730
+ hidden?: boolean | undefined;
3731
+ } | {
3732
+ type: "rgb";
3733
+ r: number;
3734
+ g: number;
3735
+ b: number;
3736
+ alpha: number;
3737
+ hidden?: boolean | undefined;
3738
+ } | undefined;
3739
+ hidden?: boolean | undefined;
3740
+ })[];
3741
+ type: "tuple";
3742
+ hidden?: boolean | undefined;
3743
+ } | {
3744
+ value: string;
3745
+ type: "invalid";
3746
+ hidden?: boolean | undefined;
3747
+ })[];
3748
+ type: "layers";
3749
+ hidden?: boolean | undefined;
3750
+ }, {
3751
+ value: ({
3752
+ value: {
3753
+ value: string;
3754
+ type: "asset";
3755
+ } | {
3756
+ type: "url";
3757
+ url: string;
3758
+ };
3759
+ type: "image";
3760
+ hidden?: boolean | undefined;
3761
+ } | {
3762
+ value: number;
3763
+ type: "unit";
3764
+ 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";
3765
+ hidden?: boolean | undefined;
3766
+ } | {
3767
+ value: string;
3768
+ type: "keyword";
3769
+ hidden?: boolean | undefined;
3770
+ } | {
3771
+ value: string;
3772
+ type: "unparsed";
3773
+ hidden?: boolean | undefined;
3774
+ } | {
3775
+ type: "rgb";
3776
+ r: number;
3777
+ g: number;
3778
+ b: number;
3779
+ alpha: number;
3780
+ hidden?: boolean | undefined;
3781
+ } | {
3782
+ type: "function";
3783
+ name: string;
3784
+ args: StyleValue;
3785
+ hidden?: boolean;
3786
+ } | {
3787
+ value: string;
3788
+ type: "var";
3789
+ fallback?: {
3790
+ value: number;
3791
+ type: "unit";
3792
+ 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";
3793
+ hidden?: boolean | undefined;
3794
+ } | {
3795
+ value: string;
3796
+ type: "keyword";
3797
+ hidden?: boolean | undefined;
3798
+ } | {
3799
+ value: string;
3800
+ type: "unparsed";
3801
+ hidden?: boolean | undefined;
3802
+ } | {
3803
+ type: "rgb";
3804
+ r: number;
3805
+ g: number;
3806
+ b: number;
3807
+ alpha: number;
3808
+ hidden?: boolean | undefined;
3809
+ } | undefined;
3810
+ hidden?: boolean | undefined;
3811
+ } | {
3812
+ value: ({
3813
+ value: {
3814
+ value: string;
3815
+ type: "asset";
3816
+ } | {
3817
+ type: "url";
3818
+ url: string;
3819
+ };
3820
+ type: "image";
3821
+ hidden?: boolean | undefined;
3822
+ } | {
3823
+ value: number;
3824
+ type: "unit";
3825
+ 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";
3826
+ hidden?: boolean | undefined;
3827
+ } | {
3828
+ value: string;
3829
+ type: "keyword";
3830
+ hidden?: boolean | undefined;
3831
+ } | {
3832
+ value: string;
3833
+ type: "unparsed";
3834
+ hidden?: boolean | undefined;
3835
+ } | {
3836
+ type: "rgb";
3837
+ r: number;
3838
+ g: number;
3839
+ b: number;
3840
+ alpha: number;
3841
+ hidden?: boolean | undefined;
3842
+ } | {
3843
+ type: "function";
3844
+ name: string;
3845
+ args: StyleValue;
3846
+ hidden?: boolean;
3847
+ } | {
3848
+ value: string;
3849
+ type: "var";
3850
+ fallback?: {
3851
+ value: number;
3852
+ type: "unit";
3853
+ 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";
3854
+ hidden?: boolean | undefined;
3855
+ } | {
3856
+ value: string;
3857
+ type: "keyword";
3858
+ hidden?: boolean | undefined;
3859
+ } | {
3860
+ value: string;
3861
+ type: "unparsed";
3862
+ hidden?: boolean | undefined;
3863
+ } | {
3864
+ type: "rgb";
3865
+ r: number;
3866
+ g: number;
3867
+ b: number;
3868
+ alpha: number;
3869
+ hidden?: boolean | undefined;
3870
+ } | undefined;
3871
+ hidden?: boolean | undefined;
3872
+ })[];
3873
+ type: "tuple";
3874
+ hidden?: boolean | undefined;
3875
+ } | {
3876
+ value: string;
3877
+ type: "invalid";
3878
+ hidden?: boolean | undefined;
3879
+ })[];
3880
+ type: "layers";
3881
+ hidden?: boolean | undefined;
3882
+ }>, z.ZodObject<{
3883
+ type: z.ZodLiteral<"unit">;
3884
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
3885
+ value: z.ZodNumber;
3886
+ hidden: z.ZodOptional<z.ZodBoolean>;
3887
+ }, "strip", z.ZodTypeAny, {
3888
+ value: number;
3889
+ type: "unit";
3890
+ 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";
3891
+ hidden?: boolean | undefined;
3892
+ }, {
3893
+ value: number;
3894
+ type: "unit";
3895
+ 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";
3896
+ hidden?: boolean | undefined;
3897
+ }>, z.ZodObject<{
3898
+ type: z.ZodLiteral<"keyword">;
3899
+ value: z.ZodString;
3900
+ hidden: z.ZodOptional<z.ZodBoolean>;
3901
+ }, "strip", z.ZodTypeAny, {
3902
+ value: string;
3903
+ type: "keyword";
3904
+ hidden?: boolean | undefined;
3905
+ }, {
3906
+ value: string;
3907
+ type: "keyword";
3908
+ hidden?: boolean | undefined;
3909
+ }>, z.ZodObject<{
3910
+ type: z.ZodLiteral<"fontFamily">;
3911
+ value: z.ZodArray<z.ZodString, "many">;
3912
+ hidden: z.ZodOptional<z.ZodBoolean>;
3913
+ }, "strip", z.ZodTypeAny, {
3914
+ value: string[];
3915
+ type: "fontFamily";
3916
+ hidden?: boolean | undefined;
3917
+ }, {
3918
+ value: string[];
3919
+ type: "fontFamily";
3920
+ hidden?: boolean | undefined;
3921
+ }>, z.ZodObject<{
3922
+ type: z.ZodLiteral<"rgb">;
3923
+ r: z.ZodNumber;
3924
+ g: z.ZodNumber;
3925
+ b: z.ZodNumber;
3926
+ alpha: z.ZodNumber;
3927
+ hidden: z.ZodOptional<z.ZodBoolean>;
3928
+ }, "strip", z.ZodTypeAny, {
3929
+ type: "rgb";
3930
+ r: number;
3931
+ g: number;
3932
+ b: number;
3933
+ alpha: number;
3934
+ hidden?: boolean | undefined;
3935
+ }, {
3936
+ type: "rgb";
3937
+ r: number;
3938
+ g: number;
3939
+ b: number;
3940
+ alpha: number;
3941
+ hidden?: boolean | undefined;
3942
+ }>, z.ZodObject<{
3943
+ type: z.ZodLiteral<"unparsed">;
3944
+ value: z.ZodString;
3945
+ hidden: z.ZodOptional<z.ZodBoolean>;
3946
+ }, "strip", z.ZodTypeAny, {
3947
+ value: string;
3948
+ type: "unparsed";
3949
+ hidden?: boolean | undefined;
3950
+ }, {
3951
+ value: string;
3952
+ type: "unparsed";
3953
+ hidden?: boolean | undefined;
3954
+ }>, z.ZodObject<{
3955
+ type: z.ZodLiteral<"tuple">;
3956
+ value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3957
+ type: z.ZodLiteral<"unit">;
3958
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
3959
+ value: z.ZodNumber;
3960
+ hidden: z.ZodOptional<z.ZodBoolean>;
3961
+ }, "strip", z.ZodTypeAny, {
3962
+ value: number;
3963
+ type: "unit";
3964
+ 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";
3965
+ hidden?: boolean | undefined;
3966
+ }, {
3967
+ value: number;
3968
+ type: "unit";
3969
+ 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";
3970
+ hidden?: boolean | undefined;
3971
+ }>, z.ZodObject<{
3972
+ type: z.ZodLiteral<"keyword">;
3973
+ value: z.ZodString;
3974
+ hidden: z.ZodOptional<z.ZodBoolean>;
3975
+ }, "strip", z.ZodTypeAny, {
3976
+ value: string;
3977
+ type: "keyword";
3978
+ hidden?: boolean | undefined;
3979
+ }, {
3980
+ value: string;
3981
+ type: "keyword";
3982
+ hidden?: boolean | undefined;
3983
+ }>, z.ZodObject<{
3984
+ type: z.ZodLiteral<"unparsed">;
3985
+ value: z.ZodString;
3986
+ hidden: z.ZodOptional<z.ZodBoolean>;
3987
+ }, "strip", z.ZodTypeAny, {
3988
+ value: string;
3989
+ type: "unparsed";
3990
+ hidden?: boolean | undefined;
3991
+ }, {
3992
+ value: string;
3993
+ type: "unparsed";
3994
+ hidden?: boolean | undefined;
3995
+ }>, z.ZodObject<{
3996
+ type: z.ZodLiteral<"image">;
3997
+ value: z.ZodUnion<[z.ZodObject<{
3998
+ type: z.ZodLiteral<"asset">;
3999
+ value: z.ZodString;
4000
+ }, "strip", z.ZodTypeAny, {
4001
+ value: string;
4002
+ type: "asset";
4003
+ }, {
4004
+ value: string;
4005
+ type: "asset";
4006
+ }>, z.ZodObject<{
4007
+ type: z.ZodLiteral<"url">;
4008
+ url: z.ZodString;
4009
+ }, "strip", z.ZodTypeAny, {
4010
+ type: "url";
4011
+ url: string;
4012
+ }, {
4013
+ type: "url";
4014
+ url: string;
4015
+ }>]>;
4016
+ hidden: z.ZodOptional<z.ZodBoolean>;
4017
+ }, "strip", z.ZodTypeAny, {
4018
+ value: {
4019
+ value: string;
4020
+ type: "asset";
4021
+ } | {
4022
+ type: "url";
4023
+ url: string;
4024
+ };
4025
+ type: "image";
4026
+ hidden?: boolean | undefined;
4027
+ }, {
4028
+ value: {
4029
+ value: string;
4030
+ type: "asset";
4031
+ } | {
4032
+ type: "url";
4033
+ url: string;
4034
+ };
4035
+ type: "image";
4036
+ hidden?: boolean | undefined;
4037
+ }>, z.ZodObject<{
4038
+ type: z.ZodLiteral<"rgb">;
4039
+ r: z.ZodNumber;
4040
+ g: z.ZodNumber;
4041
+ b: z.ZodNumber;
4042
+ alpha: z.ZodNumber;
4043
+ hidden: z.ZodOptional<z.ZodBoolean>;
4044
+ }, "strip", z.ZodTypeAny, {
4045
+ type: "rgb";
4046
+ r: number;
4047
+ g: number;
4048
+ b: number;
4049
+ alpha: number;
4050
+ hidden?: boolean | undefined;
4051
+ }, {
4052
+ type: "rgb";
4053
+ r: number;
4054
+ g: number;
4055
+ b: number;
4056
+ alpha: number;
4057
+ hidden?: boolean | undefined;
4058
+ }>, z.ZodType<{
4059
+ type: "function";
4060
+ name: string;
4061
+ args: StyleValue;
4062
+ hidden?: boolean;
4063
+ }, z.ZodTypeDef, {
4064
+ type: "function";
4065
+ name: string;
4066
+ args: StyleValue;
4067
+ hidden?: boolean;
4068
+ }>, z.ZodObject<{
4069
+ type: z.ZodLiteral<"var">;
4070
+ value: z.ZodString;
4071
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4072
+ type: z.ZodLiteral<"unparsed">;
4073
+ value: z.ZodString;
4074
+ hidden: z.ZodOptional<z.ZodBoolean>;
4075
+ }, "strip", z.ZodTypeAny, {
4076
+ value: string;
4077
+ type: "unparsed";
4078
+ hidden?: boolean | undefined;
4079
+ }, {
4080
+ value: string;
4081
+ type: "unparsed";
4082
+ hidden?: boolean | undefined;
4083
+ }>, z.ZodObject<{
4084
+ type: z.ZodLiteral<"keyword">;
4085
+ value: z.ZodString;
4086
+ hidden: z.ZodOptional<z.ZodBoolean>;
4087
+ }, "strip", z.ZodTypeAny, {
4088
+ value: string;
4089
+ type: "keyword";
4090
+ hidden?: boolean | undefined;
4091
+ }, {
4092
+ value: string;
4093
+ type: "keyword";
4094
+ hidden?: boolean | undefined;
4095
+ }>, z.ZodObject<{
4096
+ type: z.ZodLiteral<"unit">;
4097
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
4098
+ value: z.ZodNumber;
4099
+ hidden: z.ZodOptional<z.ZodBoolean>;
4100
+ }, "strip", z.ZodTypeAny, {
4101
+ value: number;
4102
+ type: "unit";
4103
+ 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";
4104
+ hidden?: boolean | undefined;
4105
+ }, {
4106
+ value: number;
4107
+ type: "unit";
4108
+ 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";
4109
+ hidden?: boolean | undefined;
4110
+ }>, z.ZodObject<{
4111
+ type: z.ZodLiteral<"rgb">;
4112
+ r: z.ZodNumber;
4113
+ g: z.ZodNumber;
4114
+ b: z.ZodNumber;
4115
+ alpha: z.ZodNumber;
4116
+ hidden: z.ZodOptional<z.ZodBoolean>;
4117
+ }, "strip", z.ZodTypeAny, {
4118
+ type: "rgb";
4119
+ r: number;
4120
+ g: number;
4121
+ b: number;
4122
+ alpha: number;
4123
+ hidden?: boolean | undefined;
4124
+ }, {
4125
+ type: "rgb";
4126
+ r: number;
4127
+ g: number;
4128
+ b: number;
4129
+ alpha: number;
4130
+ hidden?: boolean | undefined;
4131
+ }>]>>;
4132
+ hidden: z.ZodOptional<z.ZodBoolean>;
4133
+ }, "strip", z.ZodTypeAny, {
4134
+ value: string;
4135
+ type: "var";
4136
+ fallback?: {
4137
+ value: number;
4138
+ type: "unit";
4139
+ 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";
4140
+ hidden?: boolean | undefined;
4141
+ } | {
4142
+ value: string;
4143
+ type: "keyword";
4144
+ hidden?: boolean | undefined;
4145
+ } | {
4146
+ value: string;
4147
+ type: "unparsed";
4148
+ hidden?: boolean | undefined;
4149
+ } | {
4150
+ type: "rgb";
4151
+ r: number;
4152
+ g: number;
4153
+ b: number;
4154
+ alpha: number;
4155
+ hidden?: boolean | undefined;
4156
+ } | undefined;
4157
+ hidden?: boolean | undefined;
4158
+ }, {
4159
+ value: string;
4160
+ type: "var";
4161
+ fallback?: {
4162
+ value: number;
4163
+ type: "unit";
4164
+ 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";
4165
+ hidden?: boolean | undefined;
4166
+ } | {
4167
+ value: string;
4168
+ type: "keyword";
4169
+ hidden?: boolean | undefined;
4170
+ } | {
4171
+ value: string;
4172
+ type: "unparsed";
4173
+ hidden?: boolean | undefined;
4174
+ } | {
4175
+ type: "rgb";
4176
+ r: number;
4177
+ g: number;
4178
+ b: number;
4179
+ alpha: number;
4180
+ hidden?: boolean | undefined;
4181
+ } | undefined;
4182
+ hidden?: boolean | undefined;
4183
+ }>]>, "many">;
4184
+ hidden: z.ZodOptional<z.ZodBoolean>;
4185
+ }, "strip", z.ZodTypeAny, {
4186
+ value: ({
4187
+ value: {
4188
+ value: string;
4189
+ type: "asset";
4190
+ } | {
4191
+ type: "url";
4192
+ url: string;
4193
+ };
4194
+ type: "image";
4195
+ hidden?: boolean | undefined;
4196
+ } | {
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
+ } | {
4217
+ type: "function";
4218
+ name: string;
4219
+ args: StyleValue;
4220
+ hidden?: boolean;
4221
+ } | {
4222
+ value: string;
4223
+ type: "var";
4224
+ fallback?: {
4225
+ value: number;
4226
+ type: "unit";
4227
+ 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";
4228
+ hidden?: boolean | undefined;
4229
+ } | {
4230
+ value: string;
4231
+ type: "keyword";
4232
+ hidden?: boolean | undefined;
4233
+ } | {
4234
+ value: string;
4235
+ type: "unparsed";
4236
+ hidden?: boolean | undefined;
4237
+ } | {
4238
+ type: "rgb";
4239
+ r: number;
4240
+ g: number;
4241
+ b: number;
4242
+ alpha: number;
4243
+ hidden?: boolean | undefined;
4244
+ } | undefined;
4245
+ hidden?: boolean | undefined;
4246
+ })[];
4247
+ type: "tuple";
4248
+ hidden?: boolean | undefined;
4249
+ }, {
4250
+ value: ({
4251
+ value: {
4252
+ value: string;
4253
+ type: "asset";
4254
+ } | {
4255
+ type: "url";
4256
+ url: string;
4257
+ };
4258
+ type: "image";
4259
+ hidden?: boolean | undefined;
4260
+ } | {
4261
+ value: number;
4262
+ type: "unit";
4263
+ 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";
4264
+ hidden?: boolean | undefined;
4265
+ } | {
4266
+ value: string;
4267
+ type: "keyword";
4268
+ hidden?: boolean | undefined;
4269
+ } | {
4270
+ value: string;
4271
+ type: "unparsed";
4272
+ hidden?: boolean | undefined;
4273
+ } | {
4274
+ type: "rgb";
4275
+ r: number;
4276
+ g: number;
4277
+ b: number;
4278
+ alpha: number;
4279
+ hidden?: boolean | undefined;
4280
+ } | {
4281
+ type: "function";
4282
+ name: string;
4283
+ args: StyleValue;
4284
+ hidden?: boolean;
4285
+ } | {
4286
+ value: string;
4287
+ type: "var";
4288
+ fallback?: {
4289
+ value: number;
4290
+ type: "unit";
4291
+ 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";
4292
+ hidden?: boolean | undefined;
4293
+ } | {
4294
+ value: string;
4295
+ type: "keyword";
4296
+ hidden?: boolean | undefined;
4297
+ } | {
4298
+ value: string;
4299
+ type: "unparsed";
4300
+ hidden?: boolean | undefined;
4301
+ } | {
4302
+ type: "rgb";
4303
+ r: number;
4304
+ g: number;
4305
+ b: number;
4306
+ alpha: number;
4307
+ hidden?: boolean | undefined;
4308
+ } | undefined;
4309
+ hidden?: boolean | undefined;
4310
+ })[];
4311
+ type: "tuple";
4312
+ hidden?: boolean | undefined;
4313
+ }>, z.ZodType<{
4314
+ type: "function";
4315
+ name: string;
4316
+ args: StyleValue;
4317
+ hidden?: boolean;
4318
+ }, z.ZodTypeDef, {
4319
+ type: "function";
4320
+ name: string;
4321
+ args: StyleValue;
4322
+ hidden?: boolean;
4323
+ }>, z.ZodObject<{
4324
+ type: z.ZodLiteral<"guaranteedInvalid">;
4325
+ hidden: z.ZodOptional<z.ZodBoolean>;
4326
+ }, "strip", z.ZodTypeAny, {
4327
+ type: "guaranteedInvalid";
4328
+ hidden?: boolean | undefined;
758
4329
  }, {
759
- $eq?: string | undefined;
760
- $neq?: string | undefined;
761
- $in?: string[] | undefined;
762
- $nin?: string[] | undefined;
763
- }>>;
764
- tag: z.ZodOptional<z.ZodObject<{
765
- $eq: z.ZodOptional<z.ZodString>;
766
- $neq: z.ZodOptional<z.ZodString>;
767
- $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
768
- $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4330
+ type: "guaranteedInvalid";
4331
+ hidden?: boolean | undefined;
4332
+ }>, z.ZodObject<{
4333
+ type: z.ZodLiteral<"invalid">;
4334
+ value: z.ZodString;
4335
+ hidden: z.ZodOptional<z.ZodBoolean>;
769
4336
  }, "strip", z.ZodTypeAny, {
770
- $eq?: string | undefined;
771
- $neq?: string | undefined;
772
- $in?: string[] | undefined;
773
- $nin?: string[] | undefined;
4337
+ value: string;
4338
+ type: "invalid";
4339
+ hidden?: boolean | undefined;
774
4340
  }, {
775
- $eq?: string | undefined;
776
- $neq?: string | undefined;
777
- $in?: string[] | undefined;
778
- $nin?: string[] | undefined;
779
- }>>;
780
- }, "strip", z.ZodTypeAny, {
781
- relation: "ancestor" | "parent" | "self" | "child" | "descendant";
782
- component?: {
783
- $eq?: string | undefined;
784
- $neq?: string | undefined;
785
- $in?: string[] | undefined;
786
- $nin?: string[] | undefined;
787
- } | undefined;
788
- tag?: {
789
- $eq?: string | undefined;
790
- $neq?: string | undefined;
791
- $in?: string[] | undefined;
792
- $nin?: string[] | undefined;
793
- } | undefined;
794
- }, {
795
- relation: "ancestor" | "parent" | "self" | "child" | "descendant";
796
- component?: {
797
- $eq?: string | undefined;
798
- $neq?: string | undefined;
799
- $in?: string[] | undefined;
800
- $nin?: string[] | undefined;
801
- } | undefined;
802
- tag?: {
803
- $eq?: string | undefined;
804
- $neq?: string | undefined;
805
- $in?: string[] | undefined;
806
- $nin?: string[] | undefined;
807
- } | undefined;
808
- }>, z.ZodArray<z.ZodObject<{
809
- relation: z.ZodUnion<[z.ZodLiteral<"ancestor">, z.ZodLiteral<"parent">, z.ZodLiteral<"self">, z.ZodLiteral<"child">, z.ZodLiteral<"descendant">]>;
810
- component: z.ZodOptional<z.ZodObject<{
811
- $eq: z.ZodOptional<z.ZodString>;
812
- $neq: z.ZodOptional<z.ZodString>;
813
- $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
814
- $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4341
+ value: string;
4342
+ type: "invalid";
4343
+ hidden?: boolean | undefined;
4344
+ }>, z.ZodObject<{
4345
+ type: z.ZodLiteral<"unset">;
4346
+ value: z.ZodLiteral<"">;
4347
+ hidden: z.ZodOptional<z.ZodBoolean>;
815
4348
  }, "strip", z.ZodTypeAny, {
816
- $eq?: string | undefined;
817
- $neq?: string | undefined;
818
- $in?: string[] | undefined;
819
- $nin?: string[] | undefined;
4349
+ value: "";
4350
+ type: "unset";
4351
+ hidden?: boolean | undefined;
820
4352
  }, {
821
- $eq?: string | undefined;
822
- $neq?: string | undefined;
823
- $in?: string[] | undefined;
824
- $nin?: string[] | undefined;
825
- }>>;
826
- tag: z.ZodOptional<z.ZodObject<{
827
- $eq: z.ZodOptional<z.ZodString>;
828
- $neq: z.ZodOptional<z.ZodString>;
829
- $in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
830
- $nin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4353
+ value: "";
4354
+ type: "unset";
4355
+ hidden?: boolean | undefined;
4356
+ }>, z.ZodObject<{
4357
+ type: z.ZodLiteral<"var">;
4358
+ value: z.ZodString;
4359
+ fallback: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4360
+ type: z.ZodLiteral<"unparsed">;
4361
+ value: z.ZodString;
4362
+ hidden: z.ZodOptional<z.ZodBoolean>;
4363
+ }, "strip", z.ZodTypeAny, {
4364
+ value: string;
4365
+ type: "unparsed";
4366
+ hidden?: boolean | undefined;
4367
+ }, {
4368
+ value: string;
4369
+ type: "unparsed";
4370
+ hidden?: boolean | undefined;
4371
+ }>, z.ZodObject<{
4372
+ type: z.ZodLiteral<"keyword">;
4373
+ value: z.ZodString;
4374
+ hidden: z.ZodOptional<z.ZodBoolean>;
4375
+ }, "strip", z.ZodTypeAny, {
4376
+ value: string;
4377
+ type: "keyword";
4378
+ hidden?: boolean | undefined;
4379
+ }, {
4380
+ value: string;
4381
+ type: "keyword";
4382
+ hidden?: boolean | undefined;
4383
+ }>, z.ZodObject<{
4384
+ type: z.ZodLiteral<"unit">;
4385
+ unit: z.ZodType<"number" | import("@webstudio-is/css-engine").__Unit, z.ZodTypeDef, "number" | import("@webstudio-is/css-engine").__Unit>;
4386
+ value: z.ZodNumber;
4387
+ hidden: z.ZodOptional<z.ZodBoolean>;
4388
+ }, "strip", z.ZodTypeAny, {
4389
+ value: number;
4390
+ type: "unit";
4391
+ 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";
4392
+ hidden?: boolean | undefined;
4393
+ }, {
4394
+ value: number;
4395
+ type: "unit";
4396
+ 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";
4397
+ hidden?: boolean | undefined;
4398
+ }>, z.ZodObject<{
4399
+ type: z.ZodLiteral<"rgb">;
4400
+ r: z.ZodNumber;
4401
+ g: z.ZodNumber;
4402
+ b: z.ZodNumber;
4403
+ alpha: z.ZodNumber;
4404
+ hidden: z.ZodOptional<z.ZodBoolean>;
4405
+ }, "strip", z.ZodTypeAny, {
4406
+ type: "rgb";
4407
+ r: number;
4408
+ g: number;
4409
+ b: number;
4410
+ alpha: number;
4411
+ hidden?: boolean | undefined;
4412
+ }, {
4413
+ type: "rgb";
4414
+ r: number;
4415
+ g: number;
4416
+ b: number;
4417
+ alpha: number;
4418
+ hidden?: boolean | undefined;
4419
+ }>]>>;
4420
+ hidden: z.ZodOptional<z.ZodBoolean>;
831
4421
  }, "strip", z.ZodTypeAny, {
832
- $eq?: string | undefined;
833
- $neq?: string | undefined;
834
- $in?: string[] | undefined;
835
- $nin?: string[] | undefined;
4422
+ value: string;
4423
+ type: "var";
4424
+ fallback?: {
4425
+ value: number;
4426
+ type: "unit";
4427
+ 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";
4428
+ hidden?: boolean | undefined;
4429
+ } | {
4430
+ value: string;
4431
+ type: "keyword";
4432
+ hidden?: boolean | undefined;
4433
+ } | {
4434
+ value: string;
4435
+ type: "unparsed";
4436
+ hidden?: boolean | undefined;
4437
+ } | {
4438
+ type: "rgb";
4439
+ r: number;
4440
+ g: number;
4441
+ b: number;
4442
+ alpha: number;
4443
+ hidden?: boolean | undefined;
4444
+ } | undefined;
4445
+ hidden?: boolean | undefined;
836
4446
  }, {
837
- $eq?: string | undefined;
838
- $neq?: string | undefined;
839
- $in?: string[] | undefined;
840
- $nin?: string[] | undefined;
841
- }>>;
4447
+ value: string;
4448
+ type: "var";
4449
+ fallback?: {
4450
+ value: number;
4451
+ type: "unit";
4452
+ 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";
4453
+ hidden?: boolean | undefined;
4454
+ } | {
4455
+ value: string;
4456
+ type: "keyword";
4457
+ hidden?: boolean | undefined;
4458
+ } | {
4459
+ value: string;
4460
+ type: "unparsed";
4461
+ hidden?: boolean | undefined;
4462
+ } | {
4463
+ type: "rgb";
4464
+ r: number;
4465
+ g: number;
4466
+ b: number;
4467
+ alpha: number;
4468
+ hidden?: boolean | undefined;
4469
+ } | undefined;
4470
+ hidden?: boolean | undefined;
4471
+ }>]>;
842
4472
  }, "strip", z.ZodTypeAny, {
843
- relation: "ancestor" | "parent" | "self" | "child" | "descendant";
844
- component?: {
845
- $eq?: string | undefined;
846
- $neq?: string | undefined;
847
- $in?: string[] | undefined;
848
- $nin?: string[] | undefined;
849
- } | undefined;
850
- tag?: {
851
- $eq?: string | undefined;
852
- $neq?: string | undefined;
853
- $in?: string[] | undefined;
854
- $nin?: string[] | undefined;
855
- } | undefined;
856
- }, {
857
- relation: "ancestor" | "parent" | "self" | "child" | "descendant";
858
- component?: {
859
- $eq?: string | undefined;
860
- $neq?: string | undefined;
861
- $in?: string[] | undefined;
862
- $nin?: string[] | undefined;
863
- } | undefined;
864
- tag?: {
865
- $eq?: string | undefined;
866
- $neq?: string | undefined;
867
- $in?: string[] | undefined;
868
- $nin?: string[] | undefined;
869
- } | undefined;
870
- }>, "many">]>>;
871
- indexWithinAncestor: z.ZodOptional<z.ZodString>;
872
- label: z.ZodOptional<z.ZodString>;
873
- description: z.ZodOptional<z.ZodString>;
874
- icon: z.ZodString;
875
- presetStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodType<{
876
4473
  value: {
877
4474
  value: {
878
4475
  value: string;
@@ -906,7 +4503,7 @@ export declare const WsComponentMeta: z.ZodObject<{
906
4503
  } | {
907
4504
  type: "function";
908
4505
  name: string;
909
- args: import("@webstudio-is/css-engine").StyleValue;
4506
+ args: StyleValue;
910
4507
  hidden?: boolean;
911
4508
  } | {
912
4509
  value: string;
@@ -967,7 +4564,7 @@ export declare const WsComponentMeta: z.ZodObject<{
967
4564
  } | {
968
4565
  type: "function";
969
4566
  name: string;
970
- args: import("@webstudio-is/css-engine").StyleValue;
4567
+ args: StyleValue;
971
4568
  hidden?: boolean;
972
4569
  } | {
973
4570
  value: string;
@@ -1035,7 +4632,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1035
4632
  } | {
1036
4633
  type: "function";
1037
4634
  name: string;
1038
- args: import("@webstudio-is/css-engine").StyleValue;
4635
+ args: StyleValue;
1039
4636
  hidden?: boolean;
1040
4637
  } | {
1041
4638
  value: string;
@@ -1096,7 +4693,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1096
4693
  } | {
1097
4694
  type: "function";
1098
4695
  name: string;
1099
- args: import("@webstudio-is/css-engine").StyleValue;
4696
+ args: StyleValue;
1100
4697
  hidden?: boolean;
1101
4698
  } | {
1102
4699
  value: string;
@@ -1145,9 +4742,9 @@ export declare const WsComponentMeta: z.ZodObject<{
1145
4742
  type: "unset";
1146
4743
  hidden?: boolean | undefined;
1147
4744
  };
4745
+ property: string;
1148
4746
  state?: string | undefined;
1149
- property: import("@webstudio-is/css-engine").StyleProperty;
1150
- }, z.ZodTypeDef, {
4747
+ }, {
1151
4748
  value: {
1152
4749
  value: {
1153
4750
  value: string;
@@ -1181,7 +4778,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1181
4778
  } | {
1182
4779
  type: "function";
1183
4780
  name: string;
1184
- args: import("@webstudio-is/css-engine").StyleValue;
4781
+ args: StyleValue;
1185
4782
  hidden?: boolean;
1186
4783
  } | {
1187
4784
  value: string;
@@ -1242,7 +4839,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1242
4839
  } | {
1243
4840
  type: "function";
1244
4841
  name: string;
1245
- args: import("@webstudio-is/css-engine").StyleValue;
4842
+ args: StyleValue;
1246
4843
  hidden?: boolean;
1247
4844
  } | {
1248
4845
  value: string;
@@ -1310,7 +4907,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1310
4907
  } | {
1311
4908
  type: "function";
1312
4909
  name: string;
1313
- args: import("@webstudio-is/css-engine").StyleValue;
4910
+ args: StyleValue;
1314
4911
  hidden?: boolean;
1315
4912
  } | {
1316
4913
  value: string;
@@ -1371,7 +4968,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1371
4968
  } | {
1372
4969
  type: "function";
1373
4970
  name: string;
1374
- args: import("@webstudio-is/css-engine").StyleValue;
4971
+ args: StyleValue;
1375
4972
  hidden?: boolean;
1376
4973
  } | {
1377
4974
  value: string;
@@ -1420,8 +5017,8 @@ export declare const WsComponentMeta: z.ZodObject<{
1420
5017
  type: "unset";
1421
5018
  hidden?: boolean | undefined;
1422
5019
  };
5020
+ property: string;
1423
5021
  state?: string | undefined;
1424
- property: import("@webstudio-is/css-engine").StyleProperty;
1425
5022
  }>, "many">>>;
1426
5023
  states: z.ZodOptional<z.ZodArray<z.ZodObject<{
1427
5024
  category: z.ZodOptional<z.ZodEnum<["states", "component-states"]>>;
@@ -1463,6 +5060,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1463
5060
  type: "embed" | "control" | "container" | "rich-text-child";
1464
5061
  icon: string;
1465
5062
  category?: "data" | "hidden" | "media" | "general" | "typography" | "forms" | "localization" | "radix" | "xml" | "internal" | undefined;
5063
+ placeholder?: string | undefined;
1466
5064
  constraints?: {
1467
5065
  relation: "ancestor" | "parent" | "self" | "child" | "descendant";
1468
5066
  component?: {
@@ -1529,7 +5127,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1529
5127
  } | {
1530
5128
  type: "function";
1531
5129
  name: string;
1532
- args: import("@webstudio-is/css-engine").StyleValue;
5130
+ args: StyleValue;
1533
5131
  hidden?: boolean;
1534
5132
  } | {
1535
5133
  value: string;
@@ -1590,7 +5188,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1590
5188
  } | {
1591
5189
  type: "function";
1592
5190
  name: string;
1593
- args: import("@webstudio-is/css-engine").StyleValue;
5191
+ args: StyleValue;
1594
5192
  hidden?: boolean;
1595
5193
  } | {
1596
5194
  value: string;
@@ -1658,7 +5256,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1658
5256
  } | {
1659
5257
  type: "function";
1660
5258
  name: string;
1661
- args: import("@webstudio-is/css-engine").StyleValue;
5259
+ args: StyleValue;
1662
5260
  hidden?: boolean;
1663
5261
  } | {
1664
5262
  value: string;
@@ -1719,7 +5317,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1719
5317
  } | {
1720
5318
  type: "function";
1721
5319
  name: string;
1722
- args: import("@webstudio-is/css-engine").StyleValue;
5320
+ args: StyleValue;
1723
5321
  hidden?: boolean;
1724
5322
  } | {
1725
5323
  value: string;
@@ -1768,8 +5366,8 @@ export declare const WsComponentMeta: z.ZodObject<{
1768
5366
  type: "unset";
1769
5367
  hidden?: boolean | undefined;
1770
5368
  };
5369
+ property: string;
1771
5370
  state?: string | undefined;
1772
- property: import("@webstudio-is/css-engine").StyleProperty;
1773
5371
  }[]> | undefined;
1774
5372
  states?: {
1775
5373
  selector: string;
@@ -1789,6 +5387,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1789
5387
  type: "embed" | "control" | "container" | "rich-text-child";
1790
5388
  icon: string;
1791
5389
  category?: "data" | "hidden" | "media" | "general" | "typography" | "forms" | "localization" | "radix" | "xml" | "internal" | undefined;
5390
+ placeholder?: string | undefined;
1792
5391
  constraints?: {
1793
5392
  relation: "ancestor" | "parent" | "self" | "child" | "descendant";
1794
5393
  component?: {
@@ -1855,7 +5454,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1855
5454
  } | {
1856
5455
  type: "function";
1857
5456
  name: string;
1858
- args: import("@webstudio-is/css-engine").StyleValue;
5457
+ args: StyleValue;
1859
5458
  hidden?: boolean;
1860
5459
  } | {
1861
5460
  value: string;
@@ -1916,7 +5515,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1916
5515
  } | {
1917
5516
  type: "function";
1918
5517
  name: string;
1919
- args: import("@webstudio-is/css-engine").StyleValue;
5518
+ args: StyleValue;
1920
5519
  hidden?: boolean;
1921
5520
  } | {
1922
5521
  value: string;
@@ -1984,7 +5583,7 @@ export declare const WsComponentMeta: z.ZodObject<{
1984
5583
  } | {
1985
5584
  type: "function";
1986
5585
  name: string;
1987
- args: import("@webstudio-is/css-engine").StyleValue;
5586
+ args: StyleValue;
1988
5587
  hidden?: boolean;
1989
5588
  } | {
1990
5589
  value: string;
@@ -2045,7 +5644,7 @@ export declare const WsComponentMeta: z.ZodObject<{
2045
5644
  } | {
2046
5645
  type: "function";
2047
5646
  name: string;
2048
- args: import("@webstudio-is/css-engine").StyleValue;
5647
+ args: StyleValue;
2049
5648
  hidden?: boolean;
2050
5649
  } | {
2051
5650
  value: string;
@@ -2094,8 +5693,8 @@ export declare const WsComponentMeta: z.ZodObject<{
2094
5693
  type: "unset";
2095
5694
  hidden?: boolean | undefined;
2096
5695
  };
5696
+ property: string;
2097
5697
  state?: string | undefined;
2098
- property: import("@webstudio-is/css-engine").StyleProperty;
2099
5698
  }[]> | undefined;
2100
5699
  states?: {
2101
5700
  selector: string;