@elementor/editor-props 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.d.mts +450 -1499
- package/dist/index.d.ts +450 -1499
- package/dist/index.js +134 -100
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +118 -88
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/prop-types/background-image.ts +11 -0
- package/src/prop-types/border-radius.ts +9 -7
- package/src/prop-types/border-width.ts +9 -7
- package/src/prop-types/box-shadow.ts +4 -3
- package/src/prop-types/classes.ts +4 -3
- package/src/prop-types/color-gradient.ts +13 -0
- package/src/prop-types/color.ts +3 -2
- package/src/prop-types/image-attachment-id.ts +1 -0
- package/src/prop-types/image-src.ts +7 -6
- package/src/prop-types/image.ts +7 -7
- package/src/prop-types/index.ts +4 -0
- package/src/prop-types/linked-dimensions.ts +10 -8
- package/src/prop-types/number.ts +7 -0
- package/src/prop-types/shadow.ts +11 -11
- package/src/prop-types/size.ts +5 -4
- package/src/prop-types/string.ts +7 -0
- package/src/prop-types/stroke.ts +7 -7
- package/src/prop-types/url.ts +3 -2
- package/src/prop-types/utils.ts +3 -0
package/dist/index.d.mts
CHANGED
|
@@ -38,45 +38,18 @@ type PropKey = string;
|
|
|
38
38
|
type Props = Record<PropKey, PropValue>;
|
|
39
39
|
type PlainProps = Record<PropKey, PlainPropValue>;
|
|
40
40
|
|
|
41
|
-
declare const
|
|
41
|
+
declare const boxShadowPropTypeUtil: {
|
|
42
42
|
isValid: (prop: unknown) => prop is {
|
|
43
43
|
$$type: "box-shadow";
|
|
44
44
|
value: {
|
|
45
45
|
$$type: "shadow";
|
|
46
46
|
value: {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
$$type: "size";
|
|
54
|
-
value: {
|
|
55
|
-
size: number;
|
|
56
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
vOffset: {
|
|
60
|
-
$$type: "size";
|
|
61
|
-
value: {
|
|
62
|
-
size: number;
|
|
63
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
blur: {
|
|
67
|
-
$$type: "size";
|
|
68
|
-
value: {
|
|
69
|
-
size: number;
|
|
70
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
spread: {
|
|
74
|
-
$$type: "size";
|
|
75
|
-
value: {
|
|
76
|
-
size: number;
|
|
77
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
78
|
-
};
|
|
79
|
-
};
|
|
47
|
+
position?: any;
|
|
48
|
+
hOffset?: any;
|
|
49
|
+
vOffset?: any;
|
|
50
|
+
blur?: any;
|
|
51
|
+
spread?: any;
|
|
52
|
+
color?: any;
|
|
80
53
|
};
|
|
81
54
|
}[];
|
|
82
55
|
};
|
|
@@ -84,193 +57,58 @@ declare const boxShadowPropType: {
|
|
|
84
57
|
(value: {
|
|
85
58
|
$$type: "shadow";
|
|
86
59
|
value: {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
$$type: "size";
|
|
94
|
-
value: {
|
|
95
|
-
size: number;
|
|
96
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
vOffset: {
|
|
100
|
-
$$type: "size";
|
|
101
|
-
value: {
|
|
102
|
-
size: number;
|
|
103
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
blur: {
|
|
107
|
-
$$type: "size";
|
|
108
|
-
value: {
|
|
109
|
-
size: number;
|
|
110
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
spread: {
|
|
114
|
-
$$type: "size";
|
|
115
|
-
value: {
|
|
116
|
-
size: number;
|
|
117
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
118
|
-
};
|
|
119
|
-
};
|
|
60
|
+
position?: any;
|
|
61
|
+
hOffset?: any;
|
|
62
|
+
vOffset?: any;
|
|
63
|
+
blur?: any;
|
|
64
|
+
spread?: any;
|
|
65
|
+
color?: any;
|
|
120
66
|
};
|
|
121
67
|
}[]): {
|
|
122
68
|
$$type: "box-shadow";
|
|
123
69
|
value: {
|
|
124
70
|
$$type: "shadow";
|
|
125
71
|
value: {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
$$type: "size";
|
|
133
|
-
value: {
|
|
134
|
-
size: number;
|
|
135
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
vOffset: {
|
|
139
|
-
$$type: "size";
|
|
140
|
-
value: {
|
|
141
|
-
size: number;
|
|
142
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
blur: {
|
|
146
|
-
$$type: "size";
|
|
147
|
-
value: {
|
|
148
|
-
size: number;
|
|
149
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
spread: {
|
|
153
|
-
$$type: "size";
|
|
154
|
-
value: {
|
|
155
|
-
size: number;
|
|
156
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
157
|
-
};
|
|
158
|
-
};
|
|
72
|
+
position?: any;
|
|
73
|
+
hOffset?: any;
|
|
74
|
+
vOffset?: any;
|
|
75
|
+
blur?: any;
|
|
76
|
+
spread?: any;
|
|
77
|
+
color?: any;
|
|
159
78
|
};
|
|
160
79
|
}[];
|
|
161
80
|
};
|
|
162
81
|
(value: (prev?: {
|
|
163
82
|
$$type: "shadow";
|
|
164
83
|
value: {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
$$type: "size";
|
|
172
|
-
value: {
|
|
173
|
-
size: number;
|
|
174
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
vOffset: {
|
|
178
|
-
$$type: "size";
|
|
179
|
-
value: {
|
|
180
|
-
size: number;
|
|
181
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
blur: {
|
|
185
|
-
$$type: "size";
|
|
186
|
-
value: {
|
|
187
|
-
size: number;
|
|
188
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
189
|
-
};
|
|
190
|
-
};
|
|
191
|
-
spread: {
|
|
192
|
-
$$type: "size";
|
|
193
|
-
value: {
|
|
194
|
-
size: number;
|
|
195
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
196
|
-
};
|
|
197
|
-
};
|
|
84
|
+
position?: any;
|
|
85
|
+
hOffset?: any;
|
|
86
|
+
vOffset?: any;
|
|
87
|
+
blur?: any;
|
|
88
|
+
spread?: any;
|
|
89
|
+
color?: any;
|
|
198
90
|
};
|
|
199
91
|
}[] | undefined) => {
|
|
200
92
|
$$type: "shadow";
|
|
201
93
|
value: {
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
$$type: "size";
|
|
209
|
-
value: {
|
|
210
|
-
size: number;
|
|
211
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
vOffset: {
|
|
215
|
-
$$type: "size";
|
|
216
|
-
value: {
|
|
217
|
-
size: number;
|
|
218
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
219
|
-
};
|
|
220
|
-
};
|
|
221
|
-
blur: {
|
|
222
|
-
$$type: "size";
|
|
223
|
-
value: {
|
|
224
|
-
size: number;
|
|
225
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
|
-
spread: {
|
|
229
|
-
$$type: "size";
|
|
230
|
-
value: {
|
|
231
|
-
size: number;
|
|
232
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
233
|
-
};
|
|
234
|
-
};
|
|
94
|
+
position?: any;
|
|
95
|
+
hOffset?: any;
|
|
96
|
+
vOffset?: any;
|
|
97
|
+
blur?: any;
|
|
98
|
+
spread?: any;
|
|
99
|
+
color?: any;
|
|
235
100
|
};
|
|
236
101
|
}[], base: unknown): {
|
|
237
102
|
$$type: "box-shadow";
|
|
238
103
|
value: {
|
|
239
104
|
$$type: "shadow";
|
|
240
105
|
value: {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
$$type: "size";
|
|
248
|
-
value: {
|
|
249
|
-
size: number;
|
|
250
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
251
|
-
};
|
|
252
|
-
};
|
|
253
|
-
vOffset: {
|
|
254
|
-
$$type: "size";
|
|
255
|
-
value: {
|
|
256
|
-
size: number;
|
|
257
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
blur: {
|
|
261
|
-
$$type: "size";
|
|
262
|
-
value: {
|
|
263
|
-
size: number;
|
|
264
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
265
|
-
};
|
|
266
|
-
};
|
|
267
|
-
spread: {
|
|
268
|
-
$$type: "size";
|
|
269
|
-
value: {
|
|
270
|
-
size: number;
|
|
271
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
272
|
-
};
|
|
273
|
-
};
|
|
106
|
+
position?: any;
|
|
107
|
+
hOffset?: any;
|
|
108
|
+
vOffset?: any;
|
|
109
|
+
blur?: any;
|
|
110
|
+
spread?: any;
|
|
111
|
+
color?: any;
|
|
274
112
|
};
|
|
275
113
|
}[];
|
|
276
114
|
};
|
|
@@ -280,259 +118,46 @@ declare const boxShadowPropType: {
|
|
|
280
118
|
value: z.ZodArray<z.ZodObject<{
|
|
281
119
|
$$type: z.ZodLiteral<"shadow">;
|
|
282
120
|
value: z.ZodObject<{
|
|
283
|
-
position: z.ZodNullable<z.
|
|
284
|
-
hOffset: z.
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
}, "strip", z.ZodTypeAny, {
|
|
297
|
-
$$type: "size";
|
|
298
|
-
value: {
|
|
299
|
-
size: number;
|
|
300
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
301
|
-
};
|
|
302
|
-
}, {
|
|
303
|
-
$$type: "size";
|
|
304
|
-
value: {
|
|
305
|
-
size: number;
|
|
306
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
307
|
-
};
|
|
308
|
-
}>;
|
|
309
|
-
vOffset: z.ZodObject<{
|
|
310
|
-
$$type: z.ZodLiteral<"size">;
|
|
311
|
-
value: z.ZodObject<{
|
|
312
|
-
unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
|
|
313
|
-
size: z.ZodNumber;
|
|
314
|
-
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
size: number;
|
|
316
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
317
|
-
}, {
|
|
318
|
-
size: number;
|
|
319
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
320
|
-
}>;
|
|
321
|
-
}, "strip", z.ZodTypeAny, {
|
|
322
|
-
$$type: "size";
|
|
323
|
-
value: {
|
|
324
|
-
size: number;
|
|
325
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
326
|
-
};
|
|
327
|
-
}, {
|
|
328
|
-
$$type: "size";
|
|
329
|
-
value: {
|
|
330
|
-
size: number;
|
|
331
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
332
|
-
};
|
|
333
|
-
}>;
|
|
334
|
-
blur: z.ZodObject<{
|
|
335
|
-
$$type: z.ZodLiteral<"size">;
|
|
336
|
-
value: z.ZodObject<{
|
|
337
|
-
unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
|
|
338
|
-
size: z.ZodNumber;
|
|
339
|
-
}, "strip", z.ZodTypeAny, {
|
|
340
|
-
size: number;
|
|
341
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
342
|
-
}, {
|
|
343
|
-
size: number;
|
|
344
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
345
|
-
}>;
|
|
346
|
-
}, "strip", z.ZodTypeAny, {
|
|
347
|
-
$$type: "size";
|
|
348
|
-
value: {
|
|
349
|
-
size: number;
|
|
350
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
351
|
-
};
|
|
352
|
-
}, {
|
|
353
|
-
$$type: "size";
|
|
354
|
-
value: {
|
|
355
|
-
size: number;
|
|
356
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
357
|
-
};
|
|
358
|
-
}>;
|
|
359
|
-
spread: z.ZodObject<{
|
|
360
|
-
$$type: z.ZodLiteral<"size">;
|
|
361
|
-
value: z.ZodObject<{
|
|
362
|
-
unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
|
|
363
|
-
size: z.ZodNumber;
|
|
364
|
-
}, "strip", z.ZodTypeAny, {
|
|
365
|
-
size: number;
|
|
366
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
367
|
-
}, {
|
|
368
|
-
size: number;
|
|
369
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
370
|
-
}>;
|
|
371
|
-
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
$$type: "size";
|
|
373
|
-
value: {
|
|
374
|
-
size: number;
|
|
375
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
376
|
-
};
|
|
377
|
-
}, {
|
|
378
|
-
$$type: "size";
|
|
379
|
-
value: {
|
|
380
|
-
size: number;
|
|
381
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
382
|
-
};
|
|
383
|
-
}>;
|
|
384
|
-
color: z.ZodObject<{
|
|
385
|
-
$$type: z.ZodLiteral<"color">;
|
|
386
|
-
value: z.ZodString;
|
|
387
|
-
}, "strip", z.ZodTypeAny, {
|
|
388
|
-
$$type: "color";
|
|
389
|
-
value: string;
|
|
390
|
-
}, {
|
|
391
|
-
$$type: "color";
|
|
392
|
-
value: string;
|
|
393
|
-
}>;
|
|
394
|
-
}, "strip", z.ZodTypeAny, {
|
|
395
|
-
color: {
|
|
396
|
-
$$type: "color";
|
|
397
|
-
value: string;
|
|
398
|
-
};
|
|
399
|
-
position: "inset" | null;
|
|
400
|
-
hOffset: {
|
|
401
|
-
$$type: "size";
|
|
402
|
-
value: {
|
|
403
|
-
size: number;
|
|
404
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
405
|
-
};
|
|
406
|
-
};
|
|
407
|
-
vOffset: {
|
|
408
|
-
$$type: "size";
|
|
409
|
-
value: {
|
|
410
|
-
size: number;
|
|
411
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
412
|
-
};
|
|
413
|
-
};
|
|
414
|
-
blur: {
|
|
415
|
-
$$type: "size";
|
|
416
|
-
value: {
|
|
417
|
-
size: number;
|
|
418
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
419
|
-
};
|
|
420
|
-
};
|
|
421
|
-
spread: {
|
|
422
|
-
$$type: "size";
|
|
423
|
-
value: {
|
|
424
|
-
size: number;
|
|
425
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
426
|
-
};
|
|
427
|
-
};
|
|
121
|
+
position: z.ZodNullable<z.ZodAny>;
|
|
122
|
+
hOffset: z.ZodNullable<z.ZodAny>;
|
|
123
|
+
vOffset: z.ZodNullable<z.ZodAny>;
|
|
124
|
+
blur: z.ZodNullable<z.ZodAny>;
|
|
125
|
+
spread: z.ZodNullable<z.ZodAny>;
|
|
126
|
+
color: z.ZodNullable<z.ZodAny>;
|
|
127
|
+
}, "strict", z.ZodTypeAny, {
|
|
128
|
+
position?: any;
|
|
129
|
+
hOffset?: any;
|
|
130
|
+
vOffset?: any;
|
|
131
|
+
blur?: any;
|
|
132
|
+
spread?: any;
|
|
133
|
+
color?: any;
|
|
428
134
|
}, {
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
$$type: "size";
|
|
436
|
-
value: {
|
|
437
|
-
size: number;
|
|
438
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
439
|
-
};
|
|
440
|
-
};
|
|
441
|
-
vOffset: {
|
|
442
|
-
$$type: "size";
|
|
443
|
-
value: {
|
|
444
|
-
size: number;
|
|
445
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
446
|
-
};
|
|
447
|
-
};
|
|
448
|
-
blur: {
|
|
449
|
-
$$type: "size";
|
|
450
|
-
value: {
|
|
451
|
-
size: number;
|
|
452
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
453
|
-
};
|
|
454
|
-
};
|
|
455
|
-
spread: {
|
|
456
|
-
$$type: "size";
|
|
457
|
-
value: {
|
|
458
|
-
size: number;
|
|
459
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
460
|
-
};
|
|
461
|
-
};
|
|
135
|
+
position?: any;
|
|
136
|
+
hOffset?: any;
|
|
137
|
+
vOffset?: any;
|
|
138
|
+
blur?: any;
|
|
139
|
+
spread?: any;
|
|
140
|
+
color?: any;
|
|
462
141
|
}>;
|
|
463
142
|
}, "strip", z.ZodTypeAny, {
|
|
464
143
|
$$type: "shadow";
|
|
465
144
|
value: {
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
$$type: "size";
|
|
473
|
-
value: {
|
|
474
|
-
size: number;
|
|
475
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
476
|
-
};
|
|
477
|
-
};
|
|
478
|
-
vOffset: {
|
|
479
|
-
$$type: "size";
|
|
480
|
-
value: {
|
|
481
|
-
size: number;
|
|
482
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
483
|
-
};
|
|
484
|
-
};
|
|
485
|
-
blur: {
|
|
486
|
-
$$type: "size";
|
|
487
|
-
value: {
|
|
488
|
-
size: number;
|
|
489
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
490
|
-
};
|
|
491
|
-
};
|
|
492
|
-
spread: {
|
|
493
|
-
$$type: "size";
|
|
494
|
-
value: {
|
|
495
|
-
size: number;
|
|
496
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
497
|
-
};
|
|
498
|
-
};
|
|
145
|
+
position?: any;
|
|
146
|
+
hOffset?: any;
|
|
147
|
+
vOffset?: any;
|
|
148
|
+
blur?: any;
|
|
149
|
+
spread?: any;
|
|
150
|
+
color?: any;
|
|
499
151
|
};
|
|
500
152
|
}, {
|
|
501
153
|
$$type: "shadow";
|
|
502
154
|
value: {
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
$$type: "size";
|
|
510
|
-
value: {
|
|
511
|
-
size: number;
|
|
512
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
513
|
-
};
|
|
514
|
-
};
|
|
515
|
-
vOffset: {
|
|
516
|
-
$$type: "size";
|
|
517
|
-
value: {
|
|
518
|
-
size: number;
|
|
519
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
520
|
-
};
|
|
521
|
-
};
|
|
522
|
-
blur: {
|
|
523
|
-
$$type: "size";
|
|
524
|
-
value: {
|
|
525
|
-
size: number;
|
|
526
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
527
|
-
};
|
|
528
|
-
};
|
|
529
|
-
spread: {
|
|
530
|
-
$$type: "size";
|
|
531
|
-
value: {
|
|
532
|
-
size: number;
|
|
533
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
534
|
-
};
|
|
535
|
-
};
|
|
155
|
+
position?: any;
|
|
156
|
+
hOffset?: any;
|
|
157
|
+
vOffset?: any;
|
|
158
|
+
blur?: any;
|
|
159
|
+
spread?: any;
|
|
160
|
+
color?: any;
|
|
536
161
|
};
|
|
537
162
|
}>, "many">;
|
|
538
163
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -540,39 +165,12 @@ declare const boxShadowPropType: {
|
|
|
540
165
|
value: {
|
|
541
166
|
$$type: "shadow";
|
|
542
167
|
value: {
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
$$type: "size";
|
|
550
|
-
value: {
|
|
551
|
-
size: number;
|
|
552
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
553
|
-
};
|
|
554
|
-
};
|
|
555
|
-
vOffset: {
|
|
556
|
-
$$type: "size";
|
|
557
|
-
value: {
|
|
558
|
-
size: number;
|
|
559
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
560
|
-
};
|
|
561
|
-
};
|
|
562
|
-
blur: {
|
|
563
|
-
$$type: "size";
|
|
564
|
-
value: {
|
|
565
|
-
size: number;
|
|
566
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
567
|
-
};
|
|
568
|
-
};
|
|
569
|
-
spread: {
|
|
570
|
-
$$type: "size";
|
|
571
|
-
value: {
|
|
572
|
-
size: number;
|
|
573
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
574
|
-
};
|
|
575
|
-
};
|
|
168
|
+
position?: any;
|
|
169
|
+
hOffset?: any;
|
|
170
|
+
vOffset?: any;
|
|
171
|
+
blur?: any;
|
|
172
|
+
spread?: any;
|
|
173
|
+
color?: any;
|
|
576
174
|
};
|
|
577
175
|
}[];
|
|
578
176
|
}, {
|
|
@@ -580,46 +178,19 @@ declare const boxShadowPropType: {
|
|
|
580
178
|
value: {
|
|
581
179
|
$$type: "shadow";
|
|
582
180
|
value: {
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
$$type: "size";
|
|
590
|
-
value: {
|
|
591
|
-
size: number;
|
|
592
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
593
|
-
};
|
|
594
|
-
};
|
|
595
|
-
vOffset: {
|
|
596
|
-
$$type: "size";
|
|
597
|
-
value: {
|
|
598
|
-
size: number;
|
|
599
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
600
|
-
};
|
|
601
|
-
};
|
|
602
|
-
blur: {
|
|
603
|
-
$$type: "size";
|
|
604
|
-
value: {
|
|
605
|
-
size: number;
|
|
606
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
607
|
-
};
|
|
608
|
-
};
|
|
609
|
-
spread: {
|
|
610
|
-
$$type: "size";
|
|
611
|
-
value: {
|
|
612
|
-
size: number;
|
|
613
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
614
|
-
};
|
|
615
|
-
};
|
|
181
|
+
position?: any;
|
|
182
|
+
hOffset?: any;
|
|
183
|
+
vOffset?: any;
|
|
184
|
+
blur?: any;
|
|
185
|
+
spread?: any;
|
|
186
|
+
color?: any;
|
|
616
187
|
};
|
|
617
188
|
}[];
|
|
618
189
|
}>;
|
|
619
190
|
};
|
|
620
|
-
type BoxShadowPropValue = z.infer<typeof
|
|
191
|
+
type BoxShadowPropValue = z.infer<typeof boxShadowPropTypeUtil.schema>;
|
|
621
192
|
|
|
622
|
-
declare const
|
|
193
|
+
declare const borderRadiusPropTypeUtil: {
|
|
623
194
|
isValid: (prop: unknown) => prop is {
|
|
624
195
|
$$type: "border-radius";
|
|
625
196
|
value: {
|
|
@@ -667,11 +238,11 @@ declare const borderRadiusPropType: {
|
|
|
667
238
|
schema: z.ZodObject<{
|
|
668
239
|
$$type: z.ZodLiteral<"border-radius">;
|
|
669
240
|
value: z.ZodObject<{
|
|
670
|
-
'top-left': z.ZodAny
|
|
671
|
-
'top-right': z.ZodAny
|
|
672
|
-
'bottom-right': z.ZodAny
|
|
673
|
-
'bottom-left': z.ZodAny
|
|
674
|
-
}, "
|
|
241
|
+
'top-left': z.ZodNullable<z.ZodAny>;
|
|
242
|
+
'top-right': z.ZodNullable<z.ZodAny>;
|
|
243
|
+
'bottom-right': z.ZodNullable<z.ZodAny>;
|
|
244
|
+
'bottom-left': z.ZodNullable<z.ZodAny>;
|
|
245
|
+
}, "strict", z.ZodTypeAny, {
|
|
675
246
|
'top-left'?: any;
|
|
676
247
|
'top-right'?: any;
|
|
677
248
|
'bottom-right'?: any;
|
|
@@ -700,9 +271,9 @@ declare const borderRadiusPropType: {
|
|
|
700
271
|
};
|
|
701
272
|
}>;
|
|
702
273
|
};
|
|
703
|
-
type BorderRadiusPropValue = z.infer<typeof
|
|
274
|
+
type BorderRadiusPropValue = z.infer<typeof borderRadiusPropTypeUtil.schema>;
|
|
704
275
|
|
|
705
|
-
declare const
|
|
276
|
+
declare const borderWidthPropTypeUtil: {
|
|
706
277
|
isValid: (prop: unknown) => prop is {
|
|
707
278
|
$$type: "border-width";
|
|
708
279
|
value: {
|
|
@@ -750,11 +321,11 @@ declare const borderWidthPropType: {
|
|
|
750
321
|
schema: z.ZodObject<{
|
|
751
322
|
$$type: z.ZodLiteral<"border-width">;
|
|
752
323
|
value: z.ZodObject<{
|
|
753
|
-
top: z.ZodAny
|
|
754
|
-
right: z.ZodAny
|
|
755
|
-
bottom: z.ZodAny
|
|
756
|
-
left: z.ZodAny
|
|
757
|
-
}, "
|
|
324
|
+
top: z.ZodNullable<z.ZodAny>;
|
|
325
|
+
right: z.ZodNullable<z.ZodAny>;
|
|
326
|
+
bottom: z.ZodNullable<z.ZodAny>;
|
|
327
|
+
left: z.ZodNullable<z.ZodAny>;
|
|
328
|
+
}, "strict", z.ZodTypeAny, {
|
|
758
329
|
top?: any;
|
|
759
330
|
right?: any;
|
|
760
331
|
bottom?: any;
|
|
@@ -783,9 +354,9 @@ declare const borderWidthPropType: {
|
|
|
783
354
|
};
|
|
784
355
|
}>;
|
|
785
356
|
};
|
|
786
|
-
type BorderWidthPropValue = z.infer<typeof
|
|
357
|
+
type BorderWidthPropValue = z.infer<typeof borderWidthPropTypeUtil.schema>;
|
|
787
358
|
|
|
788
|
-
declare const
|
|
359
|
+
declare const classesPropTypeUtil: {
|
|
789
360
|
isValid: (prop: unknown) => prop is {
|
|
790
361
|
$$type: "classes";
|
|
791
362
|
value: string[];
|
|
@@ -811,9 +382,9 @@ declare const classesPropType: {
|
|
|
811
382
|
value: string[];
|
|
812
383
|
}>;
|
|
813
384
|
};
|
|
814
|
-
type ClassesPropValue = z.infer<typeof
|
|
385
|
+
type ClassesPropValue = z.infer<typeof classesPropTypeUtil.schema>;
|
|
815
386
|
|
|
816
|
-
declare const
|
|
387
|
+
declare const colorPropTypeUtil: {
|
|
817
388
|
isValid: (prop: unknown) => prop is {
|
|
818
389
|
$$type: "color";
|
|
819
390
|
value: string;
|
|
@@ -839,383 +410,68 @@ declare const colorPropType: {
|
|
|
839
410
|
value: string;
|
|
840
411
|
}>;
|
|
841
412
|
};
|
|
842
|
-
type ColorPropValue = z.infer<typeof
|
|
413
|
+
type ColorPropValue = z.infer<typeof colorPropTypeUtil.schema>;
|
|
843
414
|
|
|
844
|
-
declare const
|
|
415
|
+
declare const imagePropTypeUtil: {
|
|
845
416
|
isValid: (prop: unknown) => prop is {
|
|
846
417
|
$$type: "image";
|
|
847
418
|
value: {
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
value: {
|
|
851
|
-
size: number;
|
|
852
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
853
|
-
};
|
|
854
|
-
};
|
|
855
|
-
src: {
|
|
856
|
-
$$type: "image-src";
|
|
857
|
-
value: {
|
|
858
|
-
url: null;
|
|
859
|
-
id: {
|
|
860
|
-
$$type: "image-attachment-id";
|
|
861
|
-
value: number;
|
|
862
|
-
};
|
|
863
|
-
} | {
|
|
864
|
-
url: {
|
|
865
|
-
$$type: "url";
|
|
866
|
-
value: string;
|
|
867
|
-
};
|
|
868
|
-
id: null;
|
|
869
|
-
};
|
|
870
|
-
};
|
|
419
|
+
src?: any;
|
|
420
|
+
size?: any;
|
|
871
421
|
};
|
|
872
422
|
};
|
|
873
423
|
create: {
|
|
874
424
|
(value: {
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
value: {
|
|
878
|
-
size: number;
|
|
879
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
880
|
-
};
|
|
881
|
-
};
|
|
882
|
-
src: {
|
|
883
|
-
$$type: "image-src";
|
|
884
|
-
value: {
|
|
885
|
-
url: null;
|
|
886
|
-
id: {
|
|
887
|
-
$$type: "image-attachment-id";
|
|
888
|
-
value: number;
|
|
889
|
-
};
|
|
890
|
-
} | {
|
|
891
|
-
url: {
|
|
892
|
-
$$type: "url";
|
|
893
|
-
value: string;
|
|
894
|
-
};
|
|
895
|
-
id: null;
|
|
896
|
-
};
|
|
897
|
-
};
|
|
425
|
+
src?: any;
|
|
426
|
+
size?: any;
|
|
898
427
|
}): {
|
|
899
428
|
$$type: "image";
|
|
900
429
|
value: {
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
value: {
|
|
904
|
-
size: number;
|
|
905
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
906
|
-
};
|
|
907
|
-
};
|
|
908
|
-
src: {
|
|
909
|
-
$$type: "image-src";
|
|
910
|
-
value: {
|
|
911
|
-
url: null;
|
|
912
|
-
id: {
|
|
913
|
-
$$type: "image-attachment-id";
|
|
914
|
-
value: number;
|
|
915
|
-
};
|
|
916
|
-
} | {
|
|
917
|
-
url: {
|
|
918
|
-
$$type: "url";
|
|
919
|
-
value: string;
|
|
920
|
-
};
|
|
921
|
-
id: null;
|
|
922
|
-
};
|
|
923
|
-
};
|
|
430
|
+
src?: any;
|
|
431
|
+
size?: any;
|
|
924
432
|
};
|
|
925
433
|
};
|
|
926
434
|
(value: (prev?: {
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
value: {
|
|
930
|
-
size: number;
|
|
931
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
932
|
-
};
|
|
933
|
-
};
|
|
934
|
-
src: {
|
|
935
|
-
$$type: "image-src";
|
|
936
|
-
value: {
|
|
937
|
-
url: null;
|
|
938
|
-
id: {
|
|
939
|
-
$$type: "image-attachment-id";
|
|
940
|
-
value: number;
|
|
941
|
-
};
|
|
942
|
-
} | {
|
|
943
|
-
url: {
|
|
944
|
-
$$type: "url";
|
|
945
|
-
value: string;
|
|
946
|
-
};
|
|
947
|
-
id: null;
|
|
948
|
-
};
|
|
949
|
-
};
|
|
435
|
+
src?: any;
|
|
436
|
+
size?: any;
|
|
950
437
|
} | undefined) => {
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
value: {
|
|
954
|
-
size: number;
|
|
955
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
956
|
-
};
|
|
957
|
-
};
|
|
958
|
-
src: {
|
|
959
|
-
$$type: "image-src";
|
|
960
|
-
value: {
|
|
961
|
-
url: null;
|
|
962
|
-
id: {
|
|
963
|
-
$$type: "image-attachment-id";
|
|
964
|
-
value: number;
|
|
965
|
-
};
|
|
966
|
-
} | {
|
|
967
|
-
url: {
|
|
968
|
-
$$type: "url";
|
|
969
|
-
value: string;
|
|
970
|
-
};
|
|
971
|
-
id: null;
|
|
972
|
-
};
|
|
973
|
-
};
|
|
438
|
+
src?: any;
|
|
439
|
+
size?: any;
|
|
974
440
|
}, base: unknown): {
|
|
975
441
|
$$type: "image";
|
|
976
442
|
value: {
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
value: {
|
|
980
|
-
size: number;
|
|
981
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
982
|
-
};
|
|
983
|
-
};
|
|
984
|
-
src: {
|
|
985
|
-
$$type: "image-src";
|
|
986
|
-
value: {
|
|
987
|
-
url: null;
|
|
988
|
-
id: {
|
|
989
|
-
$$type: "image-attachment-id";
|
|
990
|
-
value: number;
|
|
991
|
-
};
|
|
992
|
-
} | {
|
|
993
|
-
url: {
|
|
994
|
-
$$type: "url";
|
|
995
|
-
value: string;
|
|
996
|
-
};
|
|
997
|
-
id: null;
|
|
998
|
-
};
|
|
999
|
-
};
|
|
443
|
+
src?: any;
|
|
444
|
+
size?: any;
|
|
1000
445
|
};
|
|
1001
446
|
};
|
|
1002
447
|
};
|
|
1003
448
|
schema: z.ZodObject<{
|
|
1004
449
|
$$type: z.ZodLiteral<"image">;
|
|
1005
450
|
value: z.ZodObject<{
|
|
1006
|
-
src: z.
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
value: z.ZodNumber;
|
|
1012
|
-
}, "strip", z.ZodTypeAny, {
|
|
1013
|
-
$$type: "image-attachment-id";
|
|
1014
|
-
value: number;
|
|
1015
|
-
}, {
|
|
1016
|
-
$$type: "image-attachment-id";
|
|
1017
|
-
value: number;
|
|
1018
|
-
}>;
|
|
1019
|
-
url: z.ZodNull;
|
|
1020
|
-
}, "strip", z.ZodTypeAny, {
|
|
1021
|
-
url: null;
|
|
1022
|
-
id: {
|
|
1023
|
-
$$type: "image-attachment-id";
|
|
1024
|
-
value: number;
|
|
1025
|
-
};
|
|
1026
|
-
}, {
|
|
1027
|
-
url: null;
|
|
1028
|
-
id: {
|
|
1029
|
-
$$type: "image-attachment-id";
|
|
1030
|
-
value: number;
|
|
1031
|
-
};
|
|
1032
|
-
}>, z.ZodObject<{
|
|
1033
|
-
id: z.ZodNull;
|
|
1034
|
-
url: z.ZodObject<{
|
|
1035
|
-
$$type: z.ZodLiteral<"url">;
|
|
1036
|
-
value: z.ZodString;
|
|
1037
|
-
}, "strip", z.ZodTypeAny, {
|
|
1038
|
-
$$type: "url";
|
|
1039
|
-
value: string;
|
|
1040
|
-
}, {
|
|
1041
|
-
$$type: "url";
|
|
1042
|
-
value: string;
|
|
1043
|
-
}>;
|
|
1044
|
-
}, "strip", z.ZodTypeAny, {
|
|
1045
|
-
url: {
|
|
1046
|
-
$$type: "url";
|
|
1047
|
-
value: string;
|
|
1048
|
-
};
|
|
1049
|
-
id: null;
|
|
1050
|
-
}, {
|
|
1051
|
-
url: {
|
|
1052
|
-
$$type: "url";
|
|
1053
|
-
value: string;
|
|
1054
|
-
};
|
|
1055
|
-
id: null;
|
|
1056
|
-
}>]>;
|
|
1057
|
-
}, "strip", z.ZodTypeAny, {
|
|
1058
|
-
$$type: "image-src";
|
|
1059
|
-
value: {
|
|
1060
|
-
url: null;
|
|
1061
|
-
id: {
|
|
1062
|
-
$$type: "image-attachment-id";
|
|
1063
|
-
value: number;
|
|
1064
|
-
};
|
|
1065
|
-
} | {
|
|
1066
|
-
url: {
|
|
1067
|
-
$$type: "url";
|
|
1068
|
-
value: string;
|
|
1069
|
-
};
|
|
1070
|
-
id: null;
|
|
1071
|
-
};
|
|
1072
|
-
}, {
|
|
1073
|
-
$$type: "image-src";
|
|
1074
|
-
value: {
|
|
1075
|
-
url: null;
|
|
1076
|
-
id: {
|
|
1077
|
-
$$type: "image-attachment-id";
|
|
1078
|
-
value: number;
|
|
1079
|
-
};
|
|
1080
|
-
} | {
|
|
1081
|
-
url: {
|
|
1082
|
-
$$type: "url";
|
|
1083
|
-
value: string;
|
|
1084
|
-
};
|
|
1085
|
-
id: null;
|
|
1086
|
-
};
|
|
1087
|
-
}>;
|
|
1088
|
-
size: z.ZodObject<{
|
|
1089
|
-
$$type: z.ZodLiteral<"size">;
|
|
1090
|
-
value: z.ZodObject<{
|
|
1091
|
-
unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
|
|
1092
|
-
size: z.ZodNumber;
|
|
1093
|
-
}, "strip", z.ZodTypeAny, {
|
|
1094
|
-
size: number;
|
|
1095
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1096
|
-
}, {
|
|
1097
|
-
size: number;
|
|
1098
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1099
|
-
}>;
|
|
1100
|
-
}, "strip", z.ZodTypeAny, {
|
|
1101
|
-
$$type: "size";
|
|
1102
|
-
value: {
|
|
1103
|
-
size: number;
|
|
1104
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1105
|
-
};
|
|
1106
|
-
}, {
|
|
1107
|
-
$$type: "size";
|
|
1108
|
-
value: {
|
|
1109
|
-
size: number;
|
|
1110
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1111
|
-
};
|
|
1112
|
-
}>;
|
|
1113
|
-
}, "strip", z.ZodTypeAny, {
|
|
1114
|
-
size: {
|
|
1115
|
-
$$type: "size";
|
|
1116
|
-
value: {
|
|
1117
|
-
size: number;
|
|
1118
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1119
|
-
};
|
|
1120
|
-
};
|
|
1121
|
-
src: {
|
|
1122
|
-
$$type: "image-src";
|
|
1123
|
-
value: {
|
|
1124
|
-
url: null;
|
|
1125
|
-
id: {
|
|
1126
|
-
$$type: "image-attachment-id";
|
|
1127
|
-
value: number;
|
|
1128
|
-
};
|
|
1129
|
-
} | {
|
|
1130
|
-
url: {
|
|
1131
|
-
$$type: "url";
|
|
1132
|
-
value: string;
|
|
1133
|
-
};
|
|
1134
|
-
id: null;
|
|
1135
|
-
};
|
|
1136
|
-
};
|
|
451
|
+
src: z.ZodNullable<z.ZodAny>;
|
|
452
|
+
size: z.ZodNullable<z.ZodAny>;
|
|
453
|
+
}, "strict", z.ZodTypeAny, {
|
|
454
|
+
src?: any;
|
|
455
|
+
size?: any;
|
|
1137
456
|
}, {
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
value: {
|
|
1141
|
-
size: number;
|
|
1142
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1143
|
-
};
|
|
1144
|
-
};
|
|
1145
|
-
src: {
|
|
1146
|
-
$$type: "image-src";
|
|
1147
|
-
value: {
|
|
1148
|
-
url: null;
|
|
1149
|
-
id: {
|
|
1150
|
-
$$type: "image-attachment-id";
|
|
1151
|
-
value: number;
|
|
1152
|
-
};
|
|
1153
|
-
} | {
|
|
1154
|
-
url: {
|
|
1155
|
-
$$type: "url";
|
|
1156
|
-
value: string;
|
|
1157
|
-
};
|
|
1158
|
-
id: null;
|
|
1159
|
-
};
|
|
1160
|
-
};
|
|
457
|
+
src?: any;
|
|
458
|
+
size?: any;
|
|
1161
459
|
}>;
|
|
1162
460
|
}, "strip", z.ZodTypeAny, {
|
|
1163
461
|
$$type: "image";
|
|
1164
462
|
value: {
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
value: {
|
|
1168
|
-
size: number;
|
|
1169
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1170
|
-
};
|
|
1171
|
-
};
|
|
1172
|
-
src: {
|
|
1173
|
-
$$type: "image-src";
|
|
1174
|
-
value: {
|
|
1175
|
-
url: null;
|
|
1176
|
-
id: {
|
|
1177
|
-
$$type: "image-attachment-id";
|
|
1178
|
-
value: number;
|
|
1179
|
-
};
|
|
1180
|
-
} | {
|
|
1181
|
-
url: {
|
|
1182
|
-
$$type: "url";
|
|
1183
|
-
value: string;
|
|
1184
|
-
};
|
|
1185
|
-
id: null;
|
|
1186
|
-
};
|
|
1187
|
-
};
|
|
463
|
+
src?: any;
|
|
464
|
+
size?: any;
|
|
1188
465
|
};
|
|
1189
466
|
}, {
|
|
1190
467
|
$$type: "image";
|
|
1191
468
|
value: {
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
value: {
|
|
1195
|
-
size: number;
|
|
1196
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1197
|
-
};
|
|
1198
|
-
};
|
|
1199
|
-
src: {
|
|
1200
|
-
$$type: "image-src";
|
|
1201
|
-
value: {
|
|
1202
|
-
url: null;
|
|
1203
|
-
id: {
|
|
1204
|
-
$$type: "image-attachment-id";
|
|
1205
|
-
value: number;
|
|
1206
|
-
};
|
|
1207
|
-
} | {
|
|
1208
|
-
url: {
|
|
1209
|
-
$$type: "url";
|
|
1210
|
-
value: string;
|
|
1211
|
-
};
|
|
1212
|
-
id: null;
|
|
1213
|
-
};
|
|
1214
|
-
};
|
|
469
|
+
src?: any;
|
|
470
|
+
size?: any;
|
|
1215
471
|
};
|
|
1216
472
|
}>;
|
|
1217
473
|
};
|
|
1218
|
-
type ImagePropValue = z.infer<typeof
|
|
474
|
+
type ImagePropValue = z.infer<typeof imagePropTypeUtil.schema>;
|
|
1219
475
|
|
|
1220
476
|
declare const imageAttachmentIdPropType: {
|
|
1221
477
|
isValid: (prop: unknown) => prop is {
|
|
@@ -1245,7 +501,7 @@ declare const imageAttachmentIdPropType: {
|
|
|
1245
501
|
};
|
|
1246
502
|
type ImageAttachmentIdPropValue = z.infer<typeof imageAttachmentIdPropType.schema>;
|
|
1247
503
|
|
|
1248
|
-
declare const
|
|
504
|
+
declare const imageSrcPropTypeUtil: {
|
|
1249
505
|
isValid: (prop: unknown) => prop is {
|
|
1250
506
|
$$type: "image-src";
|
|
1251
507
|
value: {
|
|
@@ -1346,7 +602,7 @@ declare const imageSrcPropType: {
|
|
|
1346
602
|
value: number;
|
|
1347
603
|
}>;
|
|
1348
604
|
url: z.ZodNull;
|
|
1349
|
-
}, "
|
|
605
|
+
}, "strict", z.ZodTypeAny, {
|
|
1350
606
|
url: null;
|
|
1351
607
|
id: {
|
|
1352
608
|
$$type: "image-attachment-id";
|
|
@@ -1370,7 +626,7 @@ declare const imageSrcPropType: {
|
|
|
1370
626
|
$$type: "url";
|
|
1371
627
|
value: string;
|
|
1372
628
|
}>;
|
|
1373
|
-
}, "
|
|
629
|
+
}, "strict", z.ZodTypeAny, {
|
|
1374
630
|
url: {
|
|
1375
631
|
$$type: "url";
|
|
1376
632
|
value: string;
|
|
@@ -1415,611 +671,264 @@ declare const imageSrcPropType: {
|
|
|
1415
671
|
};
|
|
1416
672
|
}>;
|
|
1417
673
|
};
|
|
1418
|
-
type ImageSrcPropValue = z.infer<typeof
|
|
674
|
+
type ImageSrcPropValue = z.infer<typeof imageSrcPropTypeUtil.schema>;
|
|
1419
675
|
|
|
1420
|
-
declare const
|
|
676
|
+
declare const linkedDimensionsPropTypeUtil: {
|
|
1421
677
|
isValid: (prop: unknown) => prop is {
|
|
1422
678
|
$$type: "linked-dimensions";
|
|
1423
679
|
value: {
|
|
1424
|
-
isLinked: boolean;
|
|
1425
680
|
top?: any;
|
|
1426
681
|
right?: any;
|
|
1427
682
|
bottom?: any;
|
|
1428
683
|
left?: any;
|
|
684
|
+
isLinked?: any;
|
|
1429
685
|
};
|
|
1430
686
|
};
|
|
1431
687
|
create: {
|
|
1432
688
|
(value: {
|
|
1433
|
-
isLinked: boolean;
|
|
1434
689
|
top?: any;
|
|
1435
690
|
right?: any;
|
|
1436
691
|
bottom?: any;
|
|
1437
692
|
left?: any;
|
|
693
|
+
isLinked?: any;
|
|
1438
694
|
}): {
|
|
1439
695
|
$$type: "linked-dimensions";
|
|
1440
696
|
value: {
|
|
1441
|
-
isLinked: boolean;
|
|
1442
697
|
top?: any;
|
|
1443
698
|
right?: any;
|
|
1444
699
|
bottom?: any;
|
|
1445
700
|
left?: any;
|
|
701
|
+
isLinked?: any;
|
|
1446
702
|
};
|
|
1447
703
|
};
|
|
1448
704
|
(value: (prev?: {
|
|
1449
|
-
isLinked: boolean;
|
|
1450
705
|
top?: any;
|
|
1451
706
|
right?: any;
|
|
1452
707
|
bottom?: any;
|
|
1453
708
|
left?: any;
|
|
709
|
+
isLinked?: any;
|
|
1454
710
|
} | undefined) => {
|
|
1455
|
-
isLinked: boolean;
|
|
1456
711
|
top?: any;
|
|
1457
712
|
right?: any;
|
|
1458
713
|
bottom?: any;
|
|
1459
714
|
left?: any;
|
|
715
|
+
isLinked?: any;
|
|
1460
716
|
}, base: unknown): {
|
|
1461
717
|
$$type: "linked-dimensions";
|
|
1462
718
|
value: {
|
|
1463
|
-
isLinked: boolean;
|
|
1464
719
|
top?: any;
|
|
1465
720
|
right?: any;
|
|
1466
721
|
bottom?: any;
|
|
1467
722
|
left?: any;
|
|
723
|
+
isLinked?: any;
|
|
1468
724
|
};
|
|
1469
725
|
};
|
|
1470
726
|
};
|
|
1471
727
|
schema: z.ZodObject<{
|
|
1472
728
|
$$type: z.ZodLiteral<"linked-dimensions">;
|
|
1473
729
|
value: z.ZodObject<{
|
|
1474
|
-
isLinked: z.
|
|
1475
|
-
top: z.ZodAny
|
|
1476
|
-
right: z.ZodAny
|
|
1477
|
-
bottom: z.ZodAny
|
|
1478
|
-
left: z.ZodAny
|
|
1479
|
-
}, "
|
|
1480
|
-
isLinked: boolean;
|
|
730
|
+
isLinked: z.ZodNullable<z.ZodAny>;
|
|
731
|
+
top: z.ZodNullable<z.ZodAny>;
|
|
732
|
+
right: z.ZodNullable<z.ZodAny>;
|
|
733
|
+
bottom: z.ZodNullable<z.ZodAny>;
|
|
734
|
+
left: z.ZodNullable<z.ZodAny>;
|
|
735
|
+
}, "strict", z.ZodTypeAny, {
|
|
1481
736
|
top?: any;
|
|
1482
737
|
right?: any;
|
|
1483
738
|
bottom?: any;
|
|
1484
739
|
left?: any;
|
|
740
|
+
isLinked?: any;
|
|
1485
741
|
}, {
|
|
1486
|
-
isLinked: boolean;
|
|
1487
742
|
top?: any;
|
|
1488
743
|
right?: any;
|
|
1489
744
|
bottom?: any;
|
|
1490
745
|
left?: any;
|
|
746
|
+
isLinked?: any;
|
|
1491
747
|
}>;
|
|
1492
748
|
}, "strip", z.ZodTypeAny, {
|
|
1493
749
|
$$type: "linked-dimensions";
|
|
1494
750
|
value: {
|
|
1495
|
-
isLinked: boolean;
|
|
1496
751
|
top?: any;
|
|
1497
752
|
right?: any;
|
|
1498
753
|
bottom?: any;
|
|
1499
754
|
left?: any;
|
|
755
|
+
isLinked?: any;
|
|
1500
756
|
};
|
|
1501
757
|
}, {
|
|
1502
758
|
$$type: "linked-dimensions";
|
|
1503
759
|
value: {
|
|
1504
|
-
isLinked: boolean;
|
|
1505
760
|
top?: any;
|
|
1506
761
|
right?: any;
|
|
1507
762
|
bottom?: any;
|
|
1508
763
|
left?: any;
|
|
764
|
+
isLinked?: any;
|
|
1509
765
|
};
|
|
1510
766
|
}>;
|
|
1511
767
|
};
|
|
1512
|
-
type LinkedDimensionsPropValue = z.infer<typeof
|
|
768
|
+
type LinkedDimensionsPropValue = z.infer<typeof linkedDimensionsPropTypeUtil.schema>;
|
|
769
|
+
|
|
770
|
+
declare const numberPropTypeUtil: {
|
|
771
|
+
isValid: (prop: unknown) => prop is {
|
|
772
|
+
$$type: "number";
|
|
773
|
+
value: number;
|
|
774
|
+
};
|
|
775
|
+
create: {
|
|
776
|
+
(value: number): {
|
|
777
|
+
$$type: "number";
|
|
778
|
+
value: number;
|
|
779
|
+
};
|
|
780
|
+
(value: (prev?: number | undefined) => number, base: unknown): {
|
|
781
|
+
$$type: "number";
|
|
782
|
+
value: number;
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
schema: z.ZodObject<{
|
|
786
|
+
$$type: z.ZodLiteral<"number">;
|
|
787
|
+
value: z.ZodNumber;
|
|
788
|
+
}, "strip", z.ZodTypeAny, {
|
|
789
|
+
$$type: "number";
|
|
790
|
+
value: number;
|
|
791
|
+
}, {
|
|
792
|
+
$$type: "number";
|
|
793
|
+
value: number;
|
|
794
|
+
}>;
|
|
795
|
+
};
|
|
796
|
+
type NumberPropValue = z.infer<typeof numberPropTypeUtil.schema>;
|
|
1513
797
|
|
|
1514
|
-
declare const
|
|
798
|
+
declare const shadowPropTypeUtil: {
|
|
1515
799
|
isValid: (prop: unknown) => prop is {
|
|
1516
800
|
$$type: "shadow";
|
|
1517
801
|
value: {
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
$$type: "size";
|
|
1525
|
-
value: {
|
|
1526
|
-
size: number;
|
|
1527
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1528
|
-
};
|
|
1529
|
-
};
|
|
1530
|
-
vOffset: {
|
|
1531
|
-
$$type: "size";
|
|
1532
|
-
value: {
|
|
1533
|
-
size: number;
|
|
1534
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1535
|
-
};
|
|
1536
|
-
};
|
|
1537
|
-
blur: {
|
|
1538
|
-
$$type: "size";
|
|
1539
|
-
value: {
|
|
1540
|
-
size: number;
|
|
1541
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1542
|
-
};
|
|
1543
|
-
};
|
|
1544
|
-
spread: {
|
|
1545
|
-
$$type: "size";
|
|
1546
|
-
value: {
|
|
1547
|
-
size: number;
|
|
1548
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1549
|
-
};
|
|
1550
|
-
};
|
|
802
|
+
position?: any;
|
|
803
|
+
hOffset?: any;
|
|
804
|
+
vOffset?: any;
|
|
805
|
+
blur?: any;
|
|
806
|
+
spread?: any;
|
|
807
|
+
color?: any;
|
|
1551
808
|
};
|
|
1552
809
|
};
|
|
1553
810
|
create: {
|
|
1554
811
|
(value: {
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
$$type: "size";
|
|
1562
|
-
value: {
|
|
1563
|
-
size: number;
|
|
1564
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1565
|
-
};
|
|
1566
|
-
};
|
|
1567
|
-
vOffset: {
|
|
1568
|
-
$$type: "size";
|
|
1569
|
-
value: {
|
|
1570
|
-
size: number;
|
|
1571
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1572
|
-
};
|
|
1573
|
-
};
|
|
1574
|
-
blur: {
|
|
1575
|
-
$$type: "size";
|
|
1576
|
-
value: {
|
|
1577
|
-
size: number;
|
|
1578
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1579
|
-
};
|
|
1580
|
-
};
|
|
1581
|
-
spread: {
|
|
1582
|
-
$$type: "size";
|
|
1583
|
-
value: {
|
|
1584
|
-
size: number;
|
|
1585
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1586
|
-
};
|
|
1587
|
-
};
|
|
812
|
+
position?: any;
|
|
813
|
+
hOffset?: any;
|
|
814
|
+
vOffset?: any;
|
|
815
|
+
blur?: any;
|
|
816
|
+
spread?: any;
|
|
817
|
+
color?: any;
|
|
1588
818
|
}): {
|
|
1589
819
|
$$type: "shadow";
|
|
1590
820
|
value: {
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
$$type: "size";
|
|
1598
|
-
value: {
|
|
1599
|
-
size: number;
|
|
1600
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1601
|
-
};
|
|
1602
|
-
};
|
|
1603
|
-
vOffset: {
|
|
1604
|
-
$$type: "size";
|
|
1605
|
-
value: {
|
|
1606
|
-
size: number;
|
|
1607
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1608
|
-
};
|
|
1609
|
-
};
|
|
1610
|
-
blur: {
|
|
1611
|
-
$$type: "size";
|
|
1612
|
-
value: {
|
|
1613
|
-
size: number;
|
|
1614
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1615
|
-
};
|
|
1616
|
-
};
|
|
1617
|
-
spread: {
|
|
1618
|
-
$$type: "size";
|
|
1619
|
-
value: {
|
|
1620
|
-
size: number;
|
|
1621
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1622
|
-
};
|
|
1623
|
-
};
|
|
821
|
+
position?: any;
|
|
822
|
+
hOffset?: any;
|
|
823
|
+
vOffset?: any;
|
|
824
|
+
blur?: any;
|
|
825
|
+
spread?: any;
|
|
826
|
+
color?: any;
|
|
1624
827
|
};
|
|
1625
828
|
};
|
|
1626
829
|
(value: (prev?: {
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
$$type: "size";
|
|
1634
|
-
value: {
|
|
1635
|
-
size: number;
|
|
1636
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1637
|
-
};
|
|
1638
|
-
};
|
|
1639
|
-
vOffset: {
|
|
1640
|
-
$$type: "size";
|
|
1641
|
-
value: {
|
|
1642
|
-
size: number;
|
|
1643
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1644
|
-
};
|
|
1645
|
-
};
|
|
1646
|
-
blur: {
|
|
1647
|
-
$$type: "size";
|
|
1648
|
-
value: {
|
|
1649
|
-
size: number;
|
|
1650
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1651
|
-
};
|
|
1652
|
-
};
|
|
1653
|
-
spread: {
|
|
1654
|
-
$$type: "size";
|
|
1655
|
-
value: {
|
|
1656
|
-
size: number;
|
|
1657
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1658
|
-
};
|
|
1659
|
-
};
|
|
830
|
+
position?: any;
|
|
831
|
+
hOffset?: any;
|
|
832
|
+
vOffset?: any;
|
|
833
|
+
blur?: any;
|
|
834
|
+
spread?: any;
|
|
835
|
+
color?: any;
|
|
1660
836
|
} | undefined) => {
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
$$type: "size";
|
|
1668
|
-
value: {
|
|
1669
|
-
size: number;
|
|
1670
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1671
|
-
};
|
|
1672
|
-
};
|
|
1673
|
-
vOffset: {
|
|
1674
|
-
$$type: "size";
|
|
1675
|
-
value: {
|
|
1676
|
-
size: number;
|
|
1677
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1678
|
-
};
|
|
1679
|
-
};
|
|
1680
|
-
blur: {
|
|
1681
|
-
$$type: "size";
|
|
1682
|
-
value: {
|
|
1683
|
-
size: number;
|
|
1684
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1685
|
-
};
|
|
1686
|
-
};
|
|
1687
|
-
spread: {
|
|
1688
|
-
$$type: "size";
|
|
1689
|
-
value: {
|
|
1690
|
-
size: number;
|
|
1691
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1692
|
-
};
|
|
1693
|
-
};
|
|
837
|
+
position?: any;
|
|
838
|
+
hOffset?: any;
|
|
839
|
+
vOffset?: any;
|
|
840
|
+
blur?: any;
|
|
841
|
+
spread?: any;
|
|
842
|
+
color?: any;
|
|
1694
843
|
}, base: unknown): {
|
|
1695
844
|
$$type: "shadow";
|
|
1696
845
|
value: {
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
$$type: "size";
|
|
1704
|
-
value: {
|
|
1705
|
-
size: number;
|
|
1706
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1707
|
-
};
|
|
1708
|
-
};
|
|
1709
|
-
vOffset: {
|
|
1710
|
-
$$type: "size";
|
|
1711
|
-
value: {
|
|
1712
|
-
size: number;
|
|
1713
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1714
|
-
};
|
|
1715
|
-
};
|
|
1716
|
-
blur: {
|
|
1717
|
-
$$type: "size";
|
|
1718
|
-
value: {
|
|
1719
|
-
size: number;
|
|
1720
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1721
|
-
};
|
|
1722
|
-
};
|
|
1723
|
-
spread: {
|
|
1724
|
-
$$type: "size";
|
|
1725
|
-
value: {
|
|
1726
|
-
size: number;
|
|
1727
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1728
|
-
};
|
|
1729
|
-
};
|
|
846
|
+
position?: any;
|
|
847
|
+
hOffset?: any;
|
|
848
|
+
vOffset?: any;
|
|
849
|
+
blur?: any;
|
|
850
|
+
spread?: any;
|
|
851
|
+
color?: any;
|
|
1730
852
|
};
|
|
1731
853
|
};
|
|
1732
854
|
};
|
|
1733
855
|
schema: z.ZodObject<{
|
|
1734
856
|
$$type: z.ZodLiteral<"shadow">;
|
|
1735
857
|
value: z.ZodObject<{
|
|
1736
|
-
position: z.ZodNullable<z.
|
|
1737
|
-
hOffset: z.
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
}, "strip", z.ZodTypeAny, {
|
|
1750
|
-
$$type: "size";
|
|
1751
|
-
value: {
|
|
1752
|
-
size: number;
|
|
1753
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1754
|
-
};
|
|
1755
|
-
}, {
|
|
1756
|
-
$$type: "size";
|
|
1757
|
-
value: {
|
|
1758
|
-
size: number;
|
|
1759
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1760
|
-
};
|
|
1761
|
-
}>;
|
|
1762
|
-
vOffset: z.ZodObject<{
|
|
1763
|
-
$$type: z.ZodLiteral<"size">;
|
|
1764
|
-
value: z.ZodObject<{
|
|
1765
|
-
unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
|
|
1766
|
-
size: z.ZodNumber;
|
|
1767
|
-
}, "strip", z.ZodTypeAny, {
|
|
1768
|
-
size: number;
|
|
1769
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1770
|
-
}, {
|
|
1771
|
-
size: number;
|
|
1772
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1773
|
-
}>;
|
|
1774
|
-
}, "strip", z.ZodTypeAny, {
|
|
1775
|
-
$$type: "size";
|
|
1776
|
-
value: {
|
|
1777
|
-
size: number;
|
|
1778
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1779
|
-
};
|
|
1780
|
-
}, {
|
|
1781
|
-
$$type: "size";
|
|
1782
|
-
value: {
|
|
1783
|
-
size: number;
|
|
1784
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1785
|
-
};
|
|
1786
|
-
}>;
|
|
1787
|
-
blur: z.ZodObject<{
|
|
1788
|
-
$$type: z.ZodLiteral<"size">;
|
|
1789
|
-
value: z.ZodObject<{
|
|
1790
|
-
unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
|
|
1791
|
-
size: z.ZodNumber;
|
|
1792
|
-
}, "strip", z.ZodTypeAny, {
|
|
1793
|
-
size: number;
|
|
1794
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1795
|
-
}, {
|
|
1796
|
-
size: number;
|
|
1797
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1798
|
-
}>;
|
|
1799
|
-
}, "strip", z.ZodTypeAny, {
|
|
1800
|
-
$$type: "size";
|
|
1801
|
-
value: {
|
|
1802
|
-
size: number;
|
|
1803
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1804
|
-
};
|
|
1805
|
-
}, {
|
|
1806
|
-
$$type: "size";
|
|
1807
|
-
value: {
|
|
1808
|
-
size: number;
|
|
1809
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1810
|
-
};
|
|
1811
|
-
}>;
|
|
1812
|
-
spread: z.ZodObject<{
|
|
1813
|
-
$$type: z.ZodLiteral<"size">;
|
|
1814
|
-
value: z.ZodObject<{
|
|
1815
|
-
unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
|
|
1816
|
-
size: z.ZodNumber;
|
|
1817
|
-
}, "strip", z.ZodTypeAny, {
|
|
1818
|
-
size: number;
|
|
1819
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1820
|
-
}, {
|
|
1821
|
-
size: number;
|
|
1822
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1823
|
-
}>;
|
|
1824
|
-
}, "strip", z.ZodTypeAny, {
|
|
1825
|
-
$$type: "size";
|
|
1826
|
-
value: {
|
|
1827
|
-
size: number;
|
|
1828
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1829
|
-
};
|
|
1830
|
-
}, {
|
|
1831
|
-
$$type: "size";
|
|
1832
|
-
value: {
|
|
1833
|
-
size: number;
|
|
1834
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1835
|
-
};
|
|
1836
|
-
}>;
|
|
1837
|
-
color: z.ZodObject<{
|
|
1838
|
-
$$type: z.ZodLiteral<"color">;
|
|
1839
|
-
value: z.ZodString;
|
|
1840
|
-
}, "strip", z.ZodTypeAny, {
|
|
1841
|
-
$$type: "color";
|
|
1842
|
-
value: string;
|
|
1843
|
-
}, {
|
|
1844
|
-
$$type: "color";
|
|
1845
|
-
value: string;
|
|
1846
|
-
}>;
|
|
1847
|
-
}, "strip", z.ZodTypeAny, {
|
|
1848
|
-
color: {
|
|
1849
|
-
$$type: "color";
|
|
1850
|
-
value: string;
|
|
1851
|
-
};
|
|
1852
|
-
position: "inset" | null;
|
|
1853
|
-
hOffset: {
|
|
1854
|
-
$$type: "size";
|
|
1855
|
-
value: {
|
|
1856
|
-
size: number;
|
|
1857
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1858
|
-
};
|
|
1859
|
-
};
|
|
1860
|
-
vOffset: {
|
|
1861
|
-
$$type: "size";
|
|
1862
|
-
value: {
|
|
1863
|
-
size: number;
|
|
1864
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1865
|
-
};
|
|
1866
|
-
};
|
|
1867
|
-
blur: {
|
|
1868
|
-
$$type: "size";
|
|
1869
|
-
value: {
|
|
1870
|
-
size: number;
|
|
1871
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1872
|
-
};
|
|
1873
|
-
};
|
|
1874
|
-
spread: {
|
|
1875
|
-
$$type: "size";
|
|
1876
|
-
value: {
|
|
1877
|
-
size: number;
|
|
1878
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1879
|
-
};
|
|
1880
|
-
};
|
|
858
|
+
position: z.ZodNullable<z.ZodAny>;
|
|
859
|
+
hOffset: z.ZodNullable<z.ZodAny>;
|
|
860
|
+
vOffset: z.ZodNullable<z.ZodAny>;
|
|
861
|
+
blur: z.ZodNullable<z.ZodAny>;
|
|
862
|
+
spread: z.ZodNullable<z.ZodAny>;
|
|
863
|
+
color: z.ZodNullable<z.ZodAny>;
|
|
864
|
+
}, "strict", z.ZodTypeAny, {
|
|
865
|
+
position?: any;
|
|
866
|
+
hOffset?: any;
|
|
867
|
+
vOffset?: any;
|
|
868
|
+
blur?: any;
|
|
869
|
+
spread?: any;
|
|
870
|
+
color?: any;
|
|
1881
871
|
}, {
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
$$type: "size";
|
|
1889
|
-
value: {
|
|
1890
|
-
size: number;
|
|
1891
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1892
|
-
};
|
|
1893
|
-
};
|
|
1894
|
-
vOffset: {
|
|
1895
|
-
$$type: "size";
|
|
1896
|
-
value: {
|
|
1897
|
-
size: number;
|
|
1898
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1899
|
-
};
|
|
1900
|
-
};
|
|
1901
|
-
blur: {
|
|
1902
|
-
$$type: "size";
|
|
1903
|
-
value: {
|
|
1904
|
-
size: number;
|
|
1905
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1906
|
-
};
|
|
1907
|
-
};
|
|
1908
|
-
spread: {
|
|
1909
|
-
$$type: "size";
|
|
1910
|
-
value: {
|
|
1911
|
-
size: number;
|
|
1912
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1913
|
-
};
|
|
1914
|
-
};
|
|
872
|
+
position?: any;
|
|
873
|
+
hOffset?: any;
|
|
874
|
+
vOffset?: any;
|
|
875
|
+
blur?: any;
|
|
876
|
+
spread?: any;
|
|
877
|
+
color?: any;
|
|
1915
878
|
}>;
|
|
1916
879
|
}, "strip", z.ZodTypeAny, {
|
|
1917
880
|
$$type: "shadow";
|
|
1918
881
|
value: {
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
$$type: "size";
|
|
1926
|
-
value: {
|
|
1927
|
-
size: number;
|
|
1928
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1929
|
-
};
|
|
1930
|
-
};
|
|
1931
|
-
vOffset: {
|
|
1932
|
-
$$type: "size";
|
|
1933
|
-
value: {
|
|
1934
|
-
size: number;
|
|
1935
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1936
|
-
};
|
|
1937
|
-
};
|
|
1938
|
-
blur: {
|
|
1939
|
-
$$type: "size";
|
|
1940
|
-
value: {
|
|
1941
|
-
size: number;
|
|
1942
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1943
|
-
};
|
|
1944
|
-
};
|
|
1945
|
-
spread: {
|
|
1946
|
-
$$type: "size";
|
|
1947
|
-
value: {
|
|
1948
|
-
size: number;
|
|
1949
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1950
|
-
};
|
|
1951
|
-
};
|
|
882
|
+
position?: any;
|
|
883
|
+
hOffset?: any;
|
|
884
|
+
vOffset?: any;
|
|
885
|
+
blur?: any;
|
|
886
|
+
spread?: any;
|
|
887
|
+
color?: any;
|
|
1952
888
|
};
|
|
1953
889
|
}, {
|
|
1954
890
|
$$type: "shadow";
|
|
1955
891
|
value: {
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
$$type: "size";
|
|
1963
|
-
value: {
|
|
1964
|
-
size: number;
|
|
1965
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1966
|
-
};
|
|
1967
|
-
};
|
|
1968
|
-
vOffset: {
|
|
1969
|
-
$$type: "size";
|
|
1970
|
-
value: {
|
|
1971
|
-
size: number;
|
|
1972
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1973
|
-
};
|
|
1974
|
-
};
|
|
1975
|
-
blur: {
|
|
1976
|
-
$$type: "size";
|
|
1977
|
-
value: {
|
|
1978
|
-
size: number;
|
|
1979
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1980
|
-
};
|
|
1981
|
-
};
|
|
1982
|
-
spread: {
|
|
1983
|
-
$$type: "size";
|
|
1984
|
-
value: {
|
|
1985
|
-
size: number;
|
|
1986
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1987
|
-
};
|
|
1988
|
-
};
|
|
892
|
+
position?: any;
|
|
893
|
+
hOffset?: any;
|
|
894
|
+
vOffset?: any;
|
|
895
|
+
blur?: any;
|
|
896
|
+
spread?: any;
|
|
897
|
+
color?: any;
|
|
1989
898
|
};
|
|
1990
899
|
}>;
|
|
1991
900
|
};
|
|
1992
|
-
type ShadowPropValue = z.infer<typeof
|
|
901
|
+
type ShadowPropValue = z.infer<typeof shadowPropTypeUtil.schema>;
|
|
1993
902
|
|
|
1994
|
-
declare const
|
|
903
|
+
declare const sizePropTypeUtil: {
|
|
1995
904
|
isValid: (prop: unknown) => prop is {
|
|
1996
905
|
$$type: "size";
|
|
1997
906
|
value: {
|
|
1998
|
-
size: number;
|
|
907
|
+
size: number | null;
|
|
1999
908
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2000
909
|
};
|
|
2001
910
|
};
|
|
2002
911
|
create: {
|
|
2003
912
|
(value: {
|
|
2004
|
-
size: number;
|
|
913
|
+
size: number | null;
|
|
2005
914
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2006
915
|
}): {
|
|
2007
916
|
$$type: "size";
|
|
2008
917
|
value: {
|
|
2009
|
-
size: number;
|
|
918
|
+
size: number | null;
|
|
2010
919
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2011
920
|
};
|
|
2012
921
|
};
|
|
2013
922
|
(value: (prev?: {
|
|
2014
|
-
size: number;
|
|
923
|
+
size: number | null;
|
|
2015
924
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2016
925
|
} | undefined) => {
|
|
2017
|
-
size: number;
|
|
926
|
+
size: number | null;
|
|
2018
927
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2019
928
|
}, base: unknown): {
|
|
2020
929
|
$$type: "size";
|
|
2021
930
|
value: {
|
|
2022
|
-
size: number;
|
|
931
|
+
size: number | null;
|
|
2023
932
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2024
933
|
};
|
|
2025
934
|
};
|
|
@@ -2028,215 +937,120 @@ declare const sizePropType: {
|
|
|
2028
937
|
$$type: z.ZodLiteral<"size">;
|
|
2029
938
|
value: z.ZodObject<{
|
|
2030
939
|
unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
|
|
2031
|
-
size: z.ZodNumber
|
|
2032
|
-
}, "
|
|
2033
|
-
size: number;
|
|
940
|
+
size: z.ZodNullable<z.ZodNumber>;
|
|
941
|
+
}, "strict", z.ZodTypeAny, {
|
|
942
|
+
size: number | null;
|
|
2034
943
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2035
944
|
}, {
|
|
2036
|
-
size: number;
|
|
945
|
+
size: number | null;
|
|
2037
946
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2038
947
|
}>;
|
|
2039
948
|
}, "strip", z.ZodTypeAny, {
|
|
2040
949
|
$$type: "size";
|
|
2041
950
|
value: {
|
|
2042
|
-
size: number;
|
|
951
|
+
size: number | null;
|
|
2043
952
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2044
953
|
};
|
|
2045
954
|
}, {
|
|
2046
955
|
$$type: "size";
|
|
2047
956
|
value: {
|
|
2048
|
-
size: number;
|
|
957
|
+
size: number | null;
|
|
2049
958
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2050
959
|
};
|
|
2051
960
|
}>;
|
|
2052
961
|
};
|
|
2053
|
-
type SizePropValue = z.infer<typeof
|
|
962
|
+
type SizePropValue = z.infer<typeof sizePropTypeUtil.schema>;
|
|
963
|
+
|
|
964
|
+
declare const stringPropTypeUtil: {
|
|
965
|
+
isValid: (prop: unknown) => prop is {
|
|
966
|
+
$$type: "string";
|
|
967
|
+
value: string;
|
|
968
|
+
};
|
|
969
|
+
create: {
|
|
970
|
+
(value: string): {
|
|
971
|
+
$$type: "string";
|
|
972
|
+
value: string;
|
|
973
|
+
};
|
|
974
|
+
(value: (prev?: string | undefined) => string, base: unknown): {
|
|
975
|
+
$$type: "string";
|
|
976
|
+
value: string;
|
|
977
|
+
};
|
|
978
|
+
};
|
|
979
|
+
schema: z.ZodObject<{
|
|
980
|
+
$$type: z.ZodLiteral<"string">;
|
|
981
|
+
value: z.ZodString;
|
|
982
|
+
}, "strip", z.ZodTypeAny, {
|
|
983
|
+
$$type: "string";
|
|
984
|
+
value: string;
|
|
985
|
+
}, {
|
|
986
|
+
$$type: "string";
|
|
987
|
+
value: string;
|
|
988
|
+
}>;
|
|
989
|
+
};
|
|
990
|
+
type StringPropValue = z.infer<typeof stringPropTypeUtil.schema>;
|
|
2054
991
|
|
|
2055
|
-
declare const
|
|
992
|
+
declare const strokePropTypeUtil: {
|
|
2056
993
|
isValid: (prop: unknown) => prop is {
|
|
2057
994
|
$$type: "stroke";
|
|
2058
995
|
value: {
|
|
2059
|
-
color
|
|
2060
|
-
|
|
2061
|
-
value: string;
|
|
2062
|
-
};
|
|
2063
|
-
width: {
|
|
2064
|
-
$$type: "size";
|
|
2065
|
-
value: {
|
|
2066
|
-
size: number;
|
|
2067
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2068
|
-
};
|
|
2069
|
-
};
|
|
996
|
+
color?: any;
|
|
997
|
+
width?: any;
|
|
2070
998
|
};
|
|
2071
999
|
};
|
|
2072
1000
|
create: {
|
|
2073
1001
|
(value: {
|
|
2074
|
-
color
|
|
2075
|
-
|
|
2076
|
-
value: string;
|
|
2077
|
-
};
|
|
2078
|
-
width: {
|
|
2079
|
-
$$type: "size";
|
|
2080
|
-
value: {
|
|
2081
|
-
size: number;
|
|
2082
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2083
|
-
};
|
|
2084
|
-
};
|
|
1002
|
+
color?: any;
|
|
1003
|
+
width?: any;
|
|
2085
1004
|
}): {
|
|
2086
1005
|
$$type: "stroke";
|
|
2087
1006
|
value: {
|
|
2088
|
-
color
|
|
2089
|
-
|
|
2090
|
-
value: string;
|
|
2091
|
-
};
|
|
2092
|
-
width: {
|
|
2093
|
-
$$type: "size";
|
|
2094
|
-
value: {
|
|
2095
|
-
size: number;
|
|
2096
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2097
|
-
};
|
|
2098
|
-
};
|
|
1007
|
+
color?: any;
|
|
1008
|
+
width?: any;
|
|
2099
1009
|
};
|
|
2100
1010
|
};
|
|
2101
1011
|
(value: (prev?: {
|
|
2102
|
-
color
|
|
2103
|
-
|
|
2104
|
-
value: string;
|
|
2105
|
-
};
|
|
2106
|
-
width: {
|
|
2107
|
-
$$type: "size";
|
|
2108
|
-
value: {
|
|
2109
|
-
size: number;
|
|
2110
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2111
|
-
};
|
|
2112
|
-
};
|
|
1012
|
+
color?: any;
|
|
1013
|
+
width?: any;
|
|
2113
1014
|
} | undefined) => {
|
|
2114
|
-
color
|
|
2115
|
-
|
|
2116
|
-
value: string;
|
|
2117
|
-
};
|
|
2118
|
-
width: {
|
|
2119
|
-
$$type: "size";
|
|
2120
|
-
value: {
|
|
2121
|
-
size: number;
|
|
2122
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2123
|
-
};
|
|
2124
|
-
};
|
|
1015
|
+
color?: any;
|
|
1016
|
+
width?: any;
|
|
2125
1017
|
}, base: unknown): {
|
|
2126
1018
|
$$type: "stroke";
|
|
2127
1019
|
value: {
|
|
2128
|
-
color
|
|
2129
|
-
|
|
2130
|
-
value: string;
|
|
2131
|
-
};
|
|
2132
|
-
width: {
|
|
2133
|
-
$$type: "size";
|
|
2134
|
-
value: {
|
|
2135
|
-
size: number;
|
|
2136
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2137
|
-
};
|
|
2138
|
-
};
|
|
1020
|
+
color?: any;
|
|
1021
|
+
width?: any;
|
|
2139
1022
|
};
|
|
2140
1023
|
};
|
|
2141
1024
|
};
|
|
2142
1025
|
schema: z.ZodObject<{
|
|
2143
1026
|
$$type: z.ZodLiteral<"stroke">;
|
|
2144
1027
|
value: z.ZodObject<{
|
|
2145
|
-
color: z.
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
value: string;
|
|
2151
|
-
}, {
|
|
2152
|
-
$$type: "color";
|
|
2153
|
-
value: string;
|
|
2154
|
-
}>;
|
|
2155
|
-
width: z.ZodObject<{
|
|
2156
|
-
$$type: z.ZodLiteral<"size">;
|
|
2157
|
-
value: z.ZodObject<{
|
|
2158
|
-
unit: z.ZodEnum<["px", "em", "rem", "%", "vw", "vh"]>;
|
|
2159
|
-
size: z.ZodNumber;
|
|
2160
|
-
}, "strip", z.ZodTypeAny, {
|
|
2161
|
-
size: number;
|
|
2162
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2163
|
-
}, {
|
|
2164
|
-
size: number;
|
|
2165
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2166
|
-
}>;
|
|
2167
|
-
}, "strip", z.ZodTypeAny, {
|
|
2168
|
-
$$type: "size";
|
|
2169
|
-
value: {
|
|
2170
|
-
size: number;
|
|
2171
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2172
|
-
};
|
|
2173
|
-
}, {
|
|
2174
|
-
$$type: "size";
|
|
2175
|
-
value: {
|
|
2176
|
-
size: number;
|
|
2177
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2178
|
-
};
|
|
2179
|
-
}>;
|
|
2180
|
-
}, "strip", z.ZodTypeAny, {
|
|
2181
|
-
color: {
|
|
2182
|
-
$$type: "color";
|
|
2183
|
-
value: string;
|
|
2184
|
-
};
|
|
2185
|
-
width: {
|
|
2186
|
-
$$type: "size";
|
|
2187
|
-
value: {
|
|
2188
|
-
size: number;
|
|
2189
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2190
|
-
};
|
|
2191
|
-
};
|
|
1028
|
+
color: z.ZodNullable<z.ZodAny>;
|
|
1029
|
+
width: z.ZodNullable<z.ZodAny>;
|
|
1030
|
+
}, "strict", z.ZodTypeAny, {
|
|
1031
|
+
color?: any;
|
|
1032
|
+
width?: any;
|
|
2192
1033
|
}, {
|
|
2193
|
-
color
|
|
2194
|
-
|
|
2195
|
-
value: string;
|
|
2196
|
-
};
|
|
2197
|
-
width: {
|
|
2198
|
-
$$type: "size";
|
|
2199
|
-
value: {
|
|
2200
|
-
size: number;
|
|
2201
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2202
|
-
};
|
|
2203
|
-
};
|
|
1034
|
+
color?: any;
|
|
1035
|
+
width?: any;
|
|
2204
1036
|
}>;
|
|
2205
1037
|
}, "strip", z.ZodTypeAny, {
|
|
2206
1038
|
$$type: "stroke";
|
|
2207
1039
|
value: {
|
|
2208
|
-
color
|
|
2209
|
-
|
|
2210
|
-
value: string;
|
|
2211
|
-
};
|
|
2212
|
-
width: {
|
|
2213
|
-
$$type: "size";
|
|
2214
|
-
value: {
|
|
2215
|
-
size: number;
|
|
2216
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2217
|
-
};
|
|
2218
|
-
};
|
|
1040
|
+
color?: any;
|
|
1041
|
+
width?: any;
|
|
2219
1042
|
};
|
|
2220
1043
|
}, {
|
|
2221
1044
|
$$type: "stroke";
|
|
2222
1045
|
value: {
|
|
2223
|
-
color
|
|
2224
|
-
|
|
2225
|
-
value: string;
|
|
2226
|
-
};
|
|
2227
|
-
width: {
|
|
2228
|
-
$$type: "size";
|
|
2229
|
-
value: {
|
|
2230
|
-
size: number;
|
|
2231
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
2232
|
-
};
|
|
2233
|
-
};
|
|
1046
|
+
color?: any;
|
|
1047
|
+
width?: any;
|
|
2234
1048
|
};
|
|
2235
1049
|
}>;
|
|
2236
1050
|
};
|
|
2237
|
-
type StrokePropValue = z.infer<typeof
|
|
1051
|
+
type StrokePropValue = z.infer<typeof strokePropTypeUtil.schema>;
|
|
2238
1052
|
|
|
2239
|
-
declare const
|
|
1053
|
+
declare const urlPropTypeUtil: {
|
|
2240
1054
|
isValid: (prop: unknown) => prop is {
|
|
2241
1055
|
$$type: "url";
|
|
2242
1056
|
value: string;
|
|
@@ -2262,7 +1076,144 @@ declare const urlPropType: {
|
|
|
2262
1076
|
value: string;
|
|
2263
1077
|
}>;
|
|
2264
1078
|
};
|
|
2265
|
-
type UrlPropValue = z.infer<typeof
|
|
1079
|
+
type UrlPropValue = z.infer<typeof urlPropTypeUtil.schema>;
|
|
1080
|
+
|
|
1081
|
+
declare const colorGradientPropTypeUtil: {
|
|
1082
|
+
isValid: (prop: unknown) => prop is {
|
|
1083
|
+
$$type: "background-overlay";
|
|
1084
|
+
value: {
|
|
1085
|
+
color?: any;
|
|
1086
|
+
};
|
|
1087
|
+
};
|
|
1088
|
+
create: {
|
|
1089
|
+
(value: {
|
|
1090
|
+
color?: any;
|
|
1091
|
+
}): {
|
|
1092
|
+
$$type: "background-overlay";
|
|
1093
|
+
value: {
|
|
1094
|
+
color?: any;
|
|
1095
|
+
};
|
|
1096
|
+
};
|
|
1097
|
+
(value: (prev?: {
|
|
1098
|
+
color?: any;
|
|
1099
|
+
} | undefined) => {
|
|
1100
|
+
color?: any;
|
|
1101
|
+
}, base: unknown): {
|
|
1102
|
+
$$type: "background-overlay";
|
|
1103
|
+
value: {
|
|
1104
|
+
color?: any;
|
|
1105
|
+
};
|
|
1106
|
+
};
|
|
1107
|
+
};
|
|
1108
|
+
schema: z.ZodObject<{
|
|
1109
|
+
$$type: z.ZodLiteral<"background-overlay">;
|
|
1110
|
+
value: z.ZodObject<{
|
|
1111
|
+
color: z.ZodNullable<z.ZodAny>;
|
|
1112
|
+
}, "strict", z.ZodTypeAny, {
|
|
1113
|
+
color?: any;
|
|
1114
|
+
}, {
|
|
1115
|
+
color?: any;
|
|
1116
|
+
}>;
|
|
1117
|
+
}, "strip", z.ZodTypeAny, {
|
|
1118
|
+
$$type: "background-overlay";
|
|
1119
|
+
value: {
|
|
1120
|
+
color?: any;
|
|
1121
|
+
};
|
|
1122
|
+
}, {
|
|
1123
|
+
$$type: "background-overlay";
|
|
1124
|
+
value: {
|
|
1125
|
+
color?: any;
|
|
1126
|
+
};
|
|
1127
|
+
}>;
|
|
1128
|
+
};
|
|
1129
|
+
type ColorGradientPropValue = z.infer<typeof colorGradientPropTypeUtil.schema>;
|
|
1130
|
+
|
|
1131
|
+
declare const backgroundImagePropTypeUtil: {
|
|
1132
|
+
isValid: (prop: unknown) => prop is {
|
|
1133
|
+
$$type: "background-image";
|
|
1134
|
+
value: {
|
|
1135
|
+
$$type: "background-overlay";
|
|
1136
|
+
value: {
|
|
1137
|
+
color?: any;
|
|
1138
|
+
};
|
|
1139
|
+
}[];
|
|
1140
|
+
};
|
|
1141
|
+
create: {
|
|
1142
|
+
(value: {
|
|
1143
|
+
$$type: "background-overlay";
|
|
1144
|
+
value: {
|
|
1145
|
+
color?: any;
|
|
1146
|
+
};
|
|
1147
|
+
}[]): {
|
|
1148
|
+
$$type: "background-image";
|
|
1149
|
+
value: {
|
|
1150
|
+
$$type: "background-overlay";
|
|
1151
|
+
value: {
|
|
1152
|
+
color?: any;
|
|
1153
|
+
};
|
|
1154
|
+
}[];
|
|
1155
|
+
};
|
|
1156
|
+
(value: (prev?: {
|
|
1157
|
+
$$type: "background-overlay";
|
|
1158
|
+
value: {
|
|
1159
|
+
color?: any;
|
|
1160
|
+
};
|
|
1161
|
+
}[] | undefined) => {
|
|
1162
|
+
$$type: "background-overlay";
|
|
1163
|
+
value: {
|
|
1164
|
+
color?: any;
|
|
1165
|
+
};
|
|
1166
|
+
}[], base: unknown): {
|
|
1167
|
+
$$type: "background-image";
|
|
1168
|
+
value: {
|
|
1169
|
+
$$type: "background-overlay";
|
|
1170
|
+
value: {
|
|
1171
|
+
color?: any;
|
|
1172
|
+
};
|
|
1173
|
+
}[];
|
|
1174
|
+
};
|
|
1175
|
+
};
|
|
1176
|
+
schema: z.ZodObject<{
|
|
1177
|
+
$$type: z.ZodLiteral<"background-image">;
|
|
1178
|
+
value: z.ZodArray<z.ZodObject<{
|
|
1179
|
+
$$type: z.ZodLiteral<"background-overlay">;
|
|
1180
|
+
value: z.ZodObject<{
|
|
1181
|
+
color: z.ZodNullable<z.ZodAny>;
|
|
1182
|
+
}, "strict", z.ZodTypeAny, {
|
|
1183
|
+
color?: any;
|
|
1184
|
+
}, {
|
|
1185
|
+
color?: any;
|
|
1186
|
+
}>;
|
|
1187
|
+
}, "strip", z.ZodTypeAny, {
|
|
1188
|
+
$$type: "background-overlay";
|
|
1189
|
+
value: {
|
|
1190
|
+
color?: any;
|
|
1191
|
+
};
|
|
1192
|
+
}, {
|
|
1193
|
+
$$type: "background-overlay";
|
|
1194
|
+
value: {
|
|
1195
|
+
color?: any;
|
|
1196
|
+
};
|
|
1197
|
+
}>, "many">;
|
|
1198
|
+
}, "strip", z.ZodTypeAny, {
|
|
1199
|
+
$$type: "background-image";
|
|
1200
|
+
value: {
|
|
1201
|
+
$$type: "background-overlay";
|
|
1202
|
+
value: {
|
|
1203
|
+
color?: any;
|
|
1204
|
+
};
|
|
1205
|
+
}[];
|
|
1206
|
+
}, {
|
|
1207
|
+
$$type: "background-image";
|
|
1208
|
+
value: {
|
|
1209
|
+
$$type: "background-overlay";
|
|
1210
|
+
value: {
|
|
1211
|
+
color?: any;
|
|
1212
|
+
};
|
|
1213
|
+
}[];
|
|
1214
|
+
}>;
|
|
1215
|
+
};
|
|
1216
|
+
type backgroundImageTypePropValue = z.infer<typeof backgroundImagePropTypeUtil.schema>;
|
|
2266
1217
|
|
|
2267
1218
|
type Updater<T> = (prev?: T) => T;
|
|
2268
1219
|
/**
|
|
@@ -2343,4 +1294,4 @@ declare const transformableSchema: z.ZodObject<{
|
|
|
2343
1294
|
type TransformablePropValue = z.infer<typeof transformableSchema>;
|
|
2344
1295
|
declare const isTransformable: (value: unknown) => value is TransformablePropValue;
|
|
2345
1296
|
|
|
2346
|
-
export { type ArrayPropType, type BorderRadiusPropValue, type BorderWidthPropValue, type BoxShadowPropValue, type ClassesPropValue, type ColorPropValue, type ImageAttachmentIdPropValue, type ImagePropValue, type ImageSrcPropValue, type LinkedDimensionsPropValue, type ObjectPropType, type PlainPropType, type PlainPropValue, type PlainProps, type PropKey, type PropType, type PropValue, type Props, type ShadowPropValue, type SizePropValue, type StrokePropValue, type TransformablePropType, type TransformablePropValue$1 as TransformablePropValue, type UnionPropType, type UrlPropValue,
|
|
1297
|
+
export { type ArrayPropType, type BorderRadiusPropValue, type BorderWidthPropValue, type BoxShadowPropValue, type ClassesPropValue, type ColorGradientPropValue, type ColorPropValue, type ImageAttachmentIdPropValue, type ImagePropValue, type ImageSrcPropValue, type LinkedDimensionsPropValue, type NumberPropValue, type ObjectPropType, type PlainPropType, type PlainPropValue, type PlainProps, type PropKey, type PropType, type PropValue, type Props, type ShadowPropValue, type SizePropValue, type StringPropValue, type StrokePropValue, type TransformablePropType, type TransformablePropValue$1 as TransformablePropValue, type UnionPropType, type UrlPropValue, backgroundImagePropTypeUtil, type backgroundImageTypePropValue, borderRadiusPropTypeUtil, borderWidthPropTypeUtil, boxShadowPropTypeUtil, classesPropTypeUtil, colorGradientPropTypeUtil, colorPropTypeUtil, createPropUtils, imageAttachmentIdPropType, imagePropTypeUtil, imageSrcPropTypeUtil, isTransformable, linkedDimensionsPropTypeUtil, numberPropTypeUtil, shadowPropTypeUtil, sizePropTypeUtil, stringPropTypeUtil, strokePropTypeUtil, urlPropTypeUtil };
|