@webstudio-is/css-engine 0.139.0 → 0.140.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.
@@ -25,6 +25,218 @@ export declare class StylePropertyMap {
25
25
  g: number;
26
26
  b: number;
27
27
  alpha: number;
28
+ } | {
29
+ type: "function";
30
+ name: string;
31
+ args: {
32
+ type: "unit";
33
+ value: number;
34
+ 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";
35
+ } | {
36
+ type: "keyword";
37
+ value: string;
38
+ } | {
39
+ type: "unparsed";
40
+ value: string;
41
+ hidden?: boolean | undefined;
42
+ } | {
43
+ type: "fontFamily";
44
+ value: string[];
45
+ } | {
46
+ type: "rgb";
47
+ r: number;
48
+ g: number;
49
+ b: number;
50
+ alpha: number;
51
+ } | any | {
52
+ type: "image";
53
+ value: {
54
+ type: "asset";
55
+ value: string;
56
+ } | {
57
+ type: "url";
58
+ url: string;
59
+ };
60
+ hidden?: boolean | undefined;
61
+ } | {
62
+ type: "tuple";
63
+ value: ({
64
+ type: "unit";
65
+ value: number;
66
+ 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";
67
+ } | {
68
+ type: "keyword";
69
+ value: string;
70
+ } | {
71
+ type: "unparsed";
72
+ value: string;
73
+ hidden?: boolean | undefined;
74
+ } | {
75
+ type: "rgb";
76
+ r: number;
77
+ g: number;
78
+ b: number;
79
+ alpha: number;
80
+ } | any)[];
81
+ hidden?: boolean | undefined;
82
+ } | {
83
+ type: "invalid";
84
+ value: string;
85
+ } | {
86
+ type: "layers";
87
+ value: ({
88
+ type: "unit";
89
+ value: number;
90
+ unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
91
+ } | {
92
+ type: "keyword";
93
+ value: string;
94
+ } | {
95
+ type: "unparsed";
96
+ value: string;
97
+ hidden?: boolean | undefined;
98
+ } | any | {
99
+ type: "image";
100
+ value: {
101
+ type: "asset";
102
+ value: string;
103
+ } | {
104
+ type: "url";
105
+ url: string;
106
+ };
107
+ hidden?: boolean | undefined;
108
+ } | {
109
+ type: "tuple";
110
+ value: ({
111
+ type: "unit";
112
+ value: number;
113
+ 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";
114
+ } | {
115
+ type: "keyword";
116
+ value: string;
117
+ } | {
118
+ type: "unparsed";
119
+ value: string;
120
+ hidden?: boolean | undefined;
121
+ } | {
122
+ type: "rgb";
123
+ r: number;
124
+ g: number;
125
+ b: number;
126
+ alpha: number;
127
+ } | any)[];
128
+ hidden?: boolean | undefined;
129
+ } | {
130
+ type: "invalid";
131
+ value: string;
132
+ })[];
133
+ } | {
134
+ type: "unset";
135
+ value: "";
136
+ } | {
137
+ type: "var";
138
+ value: string;
139
+ fallbacks: ({
140
+ type: "unit";
141
+ value: number;
142
+ 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";
143
+ } | {
144
+ type: "keyword";
145
+ value: string;
146
+ } | {
147
+ type: "unparsed";
148
+ value: string;
149
+ hidden?: boolean | undefined;
150
+ } | {
151
+ type: "fontFamily";
152
+ value: string[];
153
+ } | {
154
+ type: "rgb";
155
+ r: number;
156
+ g: number;
157
+ b: number;
158
+ alpha: number;
159
+ } | any | {
160
+ type: "image";
161
+ value: {
162
+ type: "asset";
163
+ value: string;
164
+ } | {
165
+ type: "url";
166
+ url: string;
167
+ };
168
+ hidden?: boolean | undefined;
169
+ } | {
170
+ type: "tuple";
171
+ value: ({
172
+ type: "unit";
173
+ value: number;
174
+ 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";
175
+ } | {
176
+ type: "keyword";
177
+ value: string;
178
+ } | {
179
+ type: "unparsed";
180
+ value: string;
181
+ hidden?: boolean | undefined;
182
+ } | {
183
+ type: "rgb";
184
+ r: number;
185
+ g: number;
186
+ b: number;
187
+ alpha: number;
188
+ } | any)[];
189
+ hidden?: boolean | undefined;
190
+ } | {
191
+ type: "layers";
192
+ value: ({
193
+ type: "unit";
194
+ value: number;
195
+ 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";
196
+ } | {
197
+ type: "keyword";
198
+ value: string;
199
+ } | {
200
+ type: "unparsed";
201
+ value: string;
202
+ hidden?: boolean | undefined;
203
+ } | any | {
204
+ type: "image";
205
+ value: {
206
+ type: "asset";
207
+ value: string;
208
+ } | {
209
+ type: "url";
210
+ url: string;
211
+ };
212
+ hidden?: boolean | undefined;
213
+ } | {
214
+ type: "tuple";
215
+ value: ({
216
+ type: "unit";
217
+ value: number;
218
+ 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";
219
+ } | {
220
+ type: "keyword";
221
+ value: string;
222
+ } | {
223
+ type: "unparsed";
224
+ value: string;
225
+ hidden?: boolean | undefined;
226
+ } | {
227
+ type: "rgb";
228
+ r: number;
229
+ g: number;
230
+ b: number;
231
+ alpha: number;
232
+ } | any)[];
233
+ hidden?: boolean | undefined;
234
+ } | {
235
+ type: "invalid";
236
+ value: string;
237
+ })[];
238
+ })[];
239
+ };
28
240
  } | {
29
241
  type: "image";
30
242
  value: {
@@ -35,12 +247,6 @@ export declare class StylePropertyMap {
35
247
  url: string;
36
248
  };
37
249
  hidden?: boolean | undefined;
38
- } | {
39
- type: "invalid";
40
- value: string;
41
- } | {
42
- type: "unset";
43
- value: "";
44
250
  } | {
45
251
  type: "tuple";
46
252
  value: ({
@@ -60,8 +266,202 @@ export declare class StylePropertyMap {
60
266
  g: number;
61
267
  b: number;
62
268
  alpha: number;
269
+ } | {
270
+ type: "function";
271
+ name: string;
272
+ args: {
273
+ type: "unit";
274
+ value: number;
275
+ 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";
276
+ } | {
277
+ type: "keyword";
278
+ value: string;
279
+ } | {
280
+ type: "unparsed";
281
+ value: string;
282
+ hidden?: boolean | undefined;
283
+ } | {
284
+ type: "fontFamily";
285
+ value: string[];
286
+ } | {
287
+ type: "rgb";
288
+ r: number;
289
+ g: number;
290
+ b: number;
291
+ alpha: number;
292
+ } | any | {
293
+ type: "image";
294
+ value: {
295
+ type: "asset";
296
+ value: string;
297
+ } | {
298
+ type: "url";
299
+ url: string;
300
+ };
301
+ hidden?: boolean | undefined;
302
+ } | any | {
303
+ type: "invalid";
304
+ value: string;
305
+ } | {
306
+ type: "layers";
307
+ value: ({
308
+ type: "unit";
309
+ value: number;
310
+ 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";
311
+ } | {
312
+ type: "keyword";
313
+ value: string;
314
+ } | {
315
+ type: "unparsed";
316
+ value: string;
317
+ hidden?: boolean | undefined;
318
+ } | any | {
319
+ type: "image";
320
+ value: {
321
+ type: "asset";
322
+ value: string;
323
+ } | {
324
+ type: "url";
325
+ url: string;
326
+ };
327
+ hidden?: boolean | undefined;
328
+ } | {
329
+ type: "tuple";
330
+ value: ({
331
+ type: "unit";
332
+ value: number;
333
+ 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";
334
+ } | {
335
+ type: "keyword";
336
+ value: string;
337
+ } | {
338
+ type: "unparsed";
339
+ value: string;
340
+ hidden?: boolean | undefined;
341
+ } | {
342
+ type: "rgb";
343
+ r: number;
344
+ g: number;
345
+ b: number;
346
+ alpha: number;
347
+ } | any)[];
348
+ hidden?: boolean | undefined;
349
+ } | {
350
+ type: "invalid";
351
+ value: string;
352
+ })[];
353
+ } | {
354
+ type: "unset";
355
+ value: "";
356
+ } | {
357
+ type: "var";
358
+ value: string;
359
+ fallbacks: ({
360
+ type: "unit";
361
+ value: number;
362
+ 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";
363
+ } | {
364
+ type: "keyword";
365
+ value: string;
366
+ } | {
367
+ type: "unparsed";
368
+ value: string;
369
+ hidden?: boolean | undefined;
370
+ } | {
371
+ type: "fontFamily";
372
+ value: string[];
373
+ } | {
374
+ type: "rgb";
375
+ r: number;
376
+ g: number;
377
+ b: number;
378
+ alpha: number;
379
+ } | any | {
380
+ type: "image";
381
+ value: {
382
+ type: "asset";
383
+ value: string;
384
+ } | {
385
+ type: "url";
386
+ url: string;
387
+ };
388
+ hidden?: boolean | undefined;
389
+ } | {
390
+ type: "tuple";
391
+ value: ({
392
+ type: "unit";
393
+ value: number;
394
+ 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";
395
+ } | {
396
+ type: "keyword";
397
+ value: string;
398
+ } | {
399
+ type: "unparsed";
400
+ value: string;
401
+ hidden?: boolean | undefined;
402
+ } | {
403
+ type: "rgb";
404
+ r: number;
405
+ g: number;
406
+ b: number;
407
+ alpha: number;
408
+ } | any)[];
409
+ hidden?: boolean | undefined;
410
+ } | {
411
+ type: "layers";
412
+ value: ({
413
+ type: "unit";
414
+ value: number;
415
+ 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";
416
+ } | {
417
+ type: "keyword";
418
+ value: string;
419
+ } | {
420
+ type: "unparsed";
421
+ value: string;
422
+ hidden?: boolean | undefined;
423
+ } | any | {
424
+ type: "image";
425
+ value: {
426
+ type: "asset";
427
+ value: string;
428
+ } | {
429
+ type: "url";
430
+ url: string;
431
+ };
432
+ hidden?: boolean | undefined;
433
+ } | {
434
+ type: "tuple";
435
+ value: ({
436
+ type: "unit";
437
+ value: number;
438
+ 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";
439
+ } | {
440
+ type: "keyword";
441
+ value: string;
442
+ } | {
443
+ type: "unparsed";
444
+ value: string;
445
+ hidden?: boolean | undefined;
446
+ } | {
447
+ type: "rgb";
448
+ r: number;
449
+ g: number;
450
+ b: number;
451
+ alpha: number;
452
+ } | any)[];
453
+ hidden?: boolean | undefined;
454
+ } | {
455
+ type: "invalid";
456
+ value: string;
457
+ })[];
458
+ })[];
459
+ };
63
460
  })[];
64
461
  hidden?: boolean | undefined;
462
+ } | {
463
+ type: "invalid";
464
+ value: string;
65
465
  } | {
66
466
  type: "layers";
67
467
  value: ({
@@ -75,6 +475,197 @@ export declare class StylePropertyMap {
75
475
  type: "unparsed";
76
476
  value: string;
77
477
  hidden?: boolean | undefined;
478
+ } | {
479
+ type: "function";
480
+ name: string;
481
+ args: {
482
+ type: "unit";
483
+ value: number;
484
+ 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";
485
+ } | {
486
+ type: "keyword";
487
+ value: string;
488
+ } | {
489
+ type: "unparsed";
490
+ value: string;
491
+ hidden?: boolean | undefined;
492
+ } | {
493
+ type: "fontFamily";
494
+ value: string[];
495
+ } | {
496
+ type: "rgb";
497
+ r: number;
498
+ g: number;
499
+ b: number;
500
+ alpha: number;
501
+ } | any | {
502
+ type: "image";
503
+ value: {
504
+ type: "asset";
505
+ value: string;
506
+ } | {
507
+ type: "url";
508
+ url: string;
509
+ };
510
+ hidden?: boolean | undefined;
511
+ } | any | {
512
+ type: "invalid";
513
+ value: string;
514
+ } | {
515
+ type: "layers";
516
+ value: ({
517
+ type: "unit";
518
+ value: number;
519
+ 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";
520
+ } | {
521
+ type: "keyword";
522
+ value: string;
523
+ } | {
524
+ type: "unparsed";
525
+ value: string;
526
+ hidden?: boolean | undefined;
527
+ } | any | {
528
+ type: "image";
529
+ value: {
530
+ type: "asset";
531
+ value: string;
532
+ } | {
533
+ type: "url";
534
+ url: string;
535
+ };
536
+ hidden?: boolean | undefined;
537
+ } | {
538
+ type: "tuple";
539
+ value: ({
540
+ type: "unit";
541
+ value: number;
542
+ 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";
543
+ } | {
544
+ type: "keyword";
545
+ value: string;
546
+ } | {
547
+ type: "unparsed";
548
+ value: string;
549
+ hidden?: boolean | undefined;
550
+ } | {
551
+ type: "rgb";
552
+ r: number;
553
+ g: number;
554
+ b: number;
555
+ alpha: number;
556
+ } | any)[];
557
+ hidden?: boolean | undefined;
558
+ } | {
559
+ type: "invalid";
560
+ value: string;
561
+ })[];
562
+ } | {
563
+ type: "unset";
564
+ value: "";
565
+ } | {
566
+ type: "var";
567
+ value: string;
568
+ fallbacks: ({
569
+ type: "unit";
570
+ value: number;
571
+ 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";
572
+ } | {
573
+ type: "keyword";
574
+ value: string;
575
+ } | {
576
+ type: "unparsed";
577
+ value: string;
578
+ hidden?: boolean | undefined;
579
+ } | {
580
+ type: "fontFamily";
581
+ value: string[];
582
+ } | {
583
+ type: "rgb";
584
+ r: number;
585
+ g: number;
586
+ b: number;
587
+ alpha: number;
588
+ } | any | {
589
+ type: "image";
590
+ value: {
591
+ type: "asset";
592
+ value: string;
593
+ } | {
594
+ type: "url";
595
+ url: string;
596
+ };
597
+ hidden?: boolean | undefined;
598
+ } | {
599
+ type: "tuple";
600
+ value: ({
601
+ type: "unit";
602
+ value: number;
603
+ 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";
604
+ } | {
605
+ type: "keyword";
606
+ value: string;
607
+ } | {
608
+ type: "unparsed";
609
+ value: string;
610
+ hidden?: boolean | undefined;
611
+ } | {
612
+ type: "rgb";
613
+ r: number;
614
+ g: number;
615
+ b: number;
616
+ alpha: number;
617
+ } | any)[];
618
+ hidden?: boolean | undefined;
619
+ } | {
620
+ type: "layers";
621
+ value: ({
622
+ type: "unit";
623
+ value: number;
624
+ 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";
625
+ } | {
626
+ type: "keyword";
627
+ value: string;
628
+ } | {
629
+ type: "unparsed";
630
+ value: string;
631
+ hidden?: boolean | undefined;
632
+ } | any | {
633
+ type: "image";
634
+ value: {
635
+ type: "asset";
636
+ value: string;
637
+ } | {
638
+ type: "url";
639
+ url: string;
640
+ };
641
+ hidden?: boolean | undefined;
642
+ } | {
643
+ type: "tuple";
644
+ value: ({
645
+ type: "unit";
646
+ value: number;
647
+ 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";
648
+ } | {
649
+ type: "keyword";
650
+ value: string;
651
+ } | {
652
+ type: "unparsed";
653
+ value: string;
654
+ hidden?: boolean | undefined;
655
+ } | {
656
+ type: "rgb";
657
+ r: number;
658
+ g: number;
659
+ b: number;
660
+ alpha: number;
661
+ } | any)[];
662
+ hidden?: boolean | undefined;
663
+ } | {
664
+ type: "invalid";
665
+ value: string;
666
+ })[];
667
+ })[];
668
+ };
78
669
  } | {
79
670
  type: "image";
80
671
  value: {
@@ -85,9 +676,6 @@ export declare class StylePropertyMap {
85
676
  url: string;
86
677
  };
87
678
  hidden?: boolean | undefined;
88
- } | {
89
- type: "invalid";
90
- value: string;
91
679
  } | {
92
680
  type: "tuple";
93
681
  value: ({
@@ -107,9 +695,15 @@ export declare class StylePropertyMap {
107
695
  g: number;
108
696
  b: number;
109
697
  alpha: number;
110
- })[];
698
+ } | any)[];
111
699
  hidden?: boolean | undefined;
700
+ } | {
701
+ type: "invalid";
702
+ value: string;
112
703
  })[];
704
+ } | {
705
+ type: "unset";
706
+ value: "";
113
707
  } | {
114
708
  type: "var";
115
709
  value: string;
@@ -133,6 +727,197 @@ export declare class StylePropertyMap {
133
727
  g: number;
134
728
  b: number;
135
729
  alpha: number;
730
+ } | {
731
+ type: "function";
732
+ name: string;
733
+ args: {
734
+ type: "unit";
735
+ value: number;
736
+ 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";
737
+ } | {
738
+ type: "keyword";
739
+ value: string;
740
+ } | {
741
+ type: "unparsed";
742
+ value: string;
743
+ hidden?: boolean | undefined;
744
+ } | {
745
+ type: "fontFamily";
746
+ value: string[];
747
+ } | {
748
+ type: "rgb";
749
+ r: number;
750
+ g: number;
751
+ b: number;
752
+ alpha: number;
753
+ } | any | {
754
+ type: "image";
755
+ value: {
756
+ type: "asset";
757
+ value: string;
758
+ } | {
759
+ type: "url";
760
+ url: string;
761
+ };
762
+ hidden?: boolean | undefined;
763
+ } | any | {
764
+ type: "invalid";
765
+ value: string;
766
+ } | {
767
+ type: "layers";
768
+ value: ({
769
+ type: "unit";
770
+ value: number;
771
+ 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";
772
+ } | {
773
+ type: "keyword";
774
+ value: string;
775
+ } | {
776
+ type: "unparsed";
777
+ value: string;
778
+ hidden?: boolean | undefined;
779
+ } | any | {
780
+ type: "image";
781
+ value: {
782
+ type: "asset";
783
+ value: string;
784
+ } | {
785
+ type: "url";
786
+ url: string;
787
+ };
788
+ hidden?: boolean | undefined;
789
+ } | {
790
+ type: "tuple";
791
+ value: ({
792
+ type: "unit";
793
+ value: number;
794
+ 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";
795
+ } | {
796
+ type: "keyword";
797
+ value: string;
798
+ } | {
799
+ type: "unparsed";
800
+ value: string;
801
+ hidden?: boolean | undefined;
802
+ } | {
803
+ type: "rgb";
804
+ r: number;
805
+ g: number;
806
+ b: number;
807
+ alpha: number;
808
+ } | any)[];
809
+ hidden?: boolean | undefined;
810
+ } | {
811
+ type: "invalid";
812
+ value: string;
813
+ })[];
814
+ } | {
815
+ type: "unset";
816
+ value: "";
817
+ } | {
818
+ type: "var";
819
+ value: string;
820
+ fallbacks: ({
821
+ type: "unit";
822
+ value: number;
823
+ 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";
824
+ } | {
825
+ type: "keyword";
826
+ value: string;
827
+ } | {
828
+ type: "unparsed";
829
+ value: string;
830
+ hidden?: boolean | undefined;
831
+ } | {
832
+ type: "fontFamily";
833
+ value: string[];
834
+ } | {
835
+ type: "rgb";
836
+ r: number;
837
+ g: number;
838
+ b: number;
839
+ alpha: number;
840
+ } | any | {
841
+ type: "image";
842
+ value: {
843
+ type: "asset";
844
+ value: string;
845
+ } | {
846
+ type: "url";
847
+ url: string;
848
+ };
849
+ hidden?: boolean | undefined;
850
+ } | {
851
+ type: "tuple";
852
+ value: ({
853
+ type: "unit";
854
+ value: number;
855
+ 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";
856
+ } | {
857
+ type: "keyword";
858
+ value: string;
859
+ } | {
860
+ type: "unparsed";
861
+ value: string;
862
+ hidden?: boolean | undefined;
863
+ } | {
864
+ type: "rgb";
865
+ r: number;
866
+ g: number;
867
+ b: number;
868
+ alpha: number;
869
+ } | any)[];
870
+ hidden?: boolean | undefined;
871
+ } | {
872
+ type: "layers";
873
+ value: ({
874
+ type: "unit";
875
+ value: number;
876
+ 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";
877
+ } | {
878
+ type: "keyword";
879
+ value: string;
880
+ } | {
881
+ type: "unparsed";
882
+ value: string;
883
+ hidden?: boolean | undefined;
884
+ } | any | {
885
+ type: "image";
886
+ value: {
887
+ type: "asset";
888
+ value: string;
889
+ } | {
890
+ type: "url";
891
+ url: string;
892
+ };
893
+ hidden?: boolean | undefined;
894
+ } | {
895
+ type: "tuple";
896
+ value: ({
897
+ type: "unit";
898
+ value: number;
899
+ 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";
900
+ } | {
901
+ type: "keyword";
902
+ value: string;
903
+ } | {
904
+ type: "unparsed";
905
+ value: string;
906
+ hidden?: boolean | undefined;
907
+ } | {
908
+ type: "rgb";
909
+ r: number;
910
+ g: number;
911
+ b: number;
912
+ alpha: number;
913
+ } | any)[];
914
+ hidden?: boolean | undefined;
915
+ } | {
916
+ type: "invalid";
917
+ value: string;
918
+ })[];
919
+ })[];
920
+ };
136
921
  } | {
137
922
  type: "image";
138
923
  value: {
@@ -162,7 +947,7 @@ export declare class StylePropertyMap {
162
947
  g: number;
163
948
  b: number;
164
949
  alpha: number;
165
- })[];
950
+ } | any)[];
166
951
  hidden?: boolean | undefined;
167
952
  } | {
168
953
  type: "layers";
@@ -177,7 +962,7 @@ export declare class StylePropertyMap {
177
962
  type: "unparsed";
178
963
  value: string;
179
964
  hidden?: boolean | undefined;
180
- } | {
965
+ } | any | {
181
966
  type: "image";
182
967
  value: {
183
968
  type: "asset";
@@ -187,9 +972,6 @@ export declare class StylePropertyMap {
187
972
  url: string;
188
973
  };
189
974
  hidden?: boolean | undefined;
190
- } | {
191
- type: "invalid";
192
- value: string;
193
975
  } | {
194
976
  type: "tuple";
195
977
  value: ({
@@ -209,8 +991,11 @@ export declare class StylePropertyMap {
209
991
  g: number;
210
992
  b: number;
211
993
  alpha: number;
212
- })[];
994
+ } | any)[];
213
995
  hidden?: boolean | undefined;
996
+ } | {
997
+ type: "invalid";
998
+ value: string;
214
999
  })[];
215
1000
  })[];
216
1001
  } | undefined;