@elementor/editor-props 0.3.0 → 0.4.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 +11 -0
- package/dist/index.d.mts +726 -665
- package/dist/index.d.ts +726 -665
- package/dist/index.js +56 -33
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +55 -33
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +1 -0
- package/src/prop-types/image-src.ts +3 -4
- package/src/prop-types/index.ts +1 -0
- package/src/prop-types/link.ts +15 -0
- package/src/prop-types/size.ts +1 -1
- package/src/prop-types/string.ts +1 -1
- package/src/prop-types/url.ts +1 -1
- package/src/utils/create-prop-utils.ts +42 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z,
|
|
1
|
+
import { ZodTypeAny, z, ZodType } from '@elementor/schema';
|
|
2
2
|
|
|
3
3
|
type PropTypeKey = string;
|
|
4
4
|
type BasePropType = {
|
|
@@ -38,11 +38,92 @@ type PropKey = string;
|
|
|
38
38
|
type Props = Record<PropKey, PropValue>;
|
|
39
39
|
type PlainProps = Record<PropKey, PlainPropValue>;
|
|
40
40
|
|
|
41
|
+
type Updater<T> = (prev?: T) => T;
|
|
42
|
+
type CreateOptions = {
|
|
43
|
+
base?: unknown;
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Usage example:
|
|
48
|
+
*
|
|
49
|
+
* ```ts
|
|
50
|
+
* const elementsPropUtils = createPropUtils( 'elements', z.array( z.string() ) );
|
|
51
|
+
*
|
|
52
|
+
* elementsPropUtils.isValid( element.props?.children );
|
|
53
|
+
* elementsPropUtils.create( [ 'a', 'b' ] );
|
|
54
|
+
* elementsPropUtils.create( ( prev = [] ) => [ ...prev, 'c' ], { base: element.props?.children } );
|
|
55
|
+
* elementsPropUtils.create( ( prev = [] ) => [ ...prev, 'c' ], { disabled: true } );
|
|
56
|
+
* elementsPropUtils.extract( element.props?.children );
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
type PropTypeUtil<TKey extends string, TValue extends PropValue> = ReturnType<typeof createPropUtils<TKey, ZodType<TValue>>>;
|
|
61
|
+
declare function createPropUtils<TKey extends string, TValue extends ZodTypeAny>(key: TKey, valueSchema: TValue): {
|
|
62
|
+
extract: (prop: unknown) => z.TypeOf<TValue> | null;
|
|
63
|
+
isValid: (prop: unknown) => prop is { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
64
|
+
$$type: z.ZodLiteral<TKey>;
|
|
65
|
+
value: TValue;
|
|
66
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
67
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
68
|
+
$$type: z.ZodLiteral<TKey>;
|
|
69
|
+
value: TValue;
|
|
70
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
71
|
+
}>, any>[k]; };
|
|
72
|
+
create: {
|
|
73
|
+
(value: z.TypeOf<TValue>): { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
74
|
+
$$type: z.ZodLiteral<TKey>;
|
|
75
|
+
value: TValue;
|
|
76
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
78
|
+
$$type: z.ZodLiteral<TKey>;
|
|
79
|
+
value: TValue;
|
|
80
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
81
|
+
}>, any>[k]; };
|
|
82
|
+
(value: z.TypeOf<TValue>, createOptions?: CreateOptions): { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
83
|
+
$$type: z.ZodLiteral<TKey>;
|
|
84
|
+
value: TValue;
|
|
85
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
87
|
+
$$type: z.ZodLiteral<TKey>;
|
|
88
|
+
value: TValue;
|
|
89
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
+
}>, any>[k]; };
|
|
91
|
+
(value: Updater<z.TypeOf<TValue>>, createOptions: CreateOptions): { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
92
|
+
$$type: z.ZodLiteral<TKey>;
|
|
93
|
+
value: TValue;
|
|
94
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
96
|
+
$$type: z.ZodLiteral<TKey>;
|
|
97
|
+
value: TValue;
|
|
98
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
99
|
+
}>, any>[k]; };
|
|
100
|
+
};
|
|
101
|
+
schema: ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
102
|
+
$$type: z.ZodLiteral<TKey>;
|
|
103
|
+
value: TValue;
|
|
104
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
106
|
+
$$type: z.ZodLiteral<TKey>;
|
|
107
|
+
value: TValue;
|
|
108
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
}>, any>[k]; }>;
|
|
110
|
+
};
|
|
111
|
+
|
|
41
112
|
declare const boxShadowPropTypeUtil: {
|
|
113
|
+
extract: (prop: unknown) => {
|
|
114
|
+
value: {
|
|
115
|
+
position?: any;
|
|
116
|
+
hOffset?: any;
|
|
117
|
+
vOffset?: any;
|
|
118
|
+
blur?: any;
|
|
119
|
+
spread?: any;
|
|
120
|
+
color?: any;
|
|
121
|
+
};
|
|
122
|
+
$$type: "shadow";
|
|
123
|
+
disabled?: boolean | undefined;
|
|
124
|
+
}[] | null;
|
|
42
125
|
isValid: (prop: unknown) => prop is {
|
|
43
|
-
$$type: "box-shadow";
|
|
44
126
|
value: {
|
|
45
|
-
$$type: "shadow";
|
|
46
127
|
value: {
|
|
47
128
|
position?: any;
|
|
48
129
|
hOffset?: any;
|
|
@@ -51,11 +132,14 @@ declare const boxShadowPropTypeUtil: {
|
|
|
51
132
|
spread?: any;
|
|
52
133
|
color?: any;
|
|
53
134
|
};
|
|
135
|
+
$$type: "shadow";
|
|
136
|
+
disabled?: boolean | undefined;
|
|
54
137
|
}[];
|
|
138
|
+
$$type: "box-shadow";
|
|
139
|
+
disabled?: boolean | undefined;
|
|
55
140
|
};
|
|
56
141
|
create: {
|
|
57
142
|
(value: {
|
|
58
|
-
$$type: "shadow";
|
|
59
143
|
value: {
|
|
60
144
|
position?: any;
|
|
61
145
|
hOffset?: any;
|
|
@@ -64,10 +148,10 @@ declare const boxShadowPropTypeUtil: {
|
|
|
64
148
|
spread?: any;
|
|
65
149
|
color?: any;
|
|
66
150
|
};
|
|
151
|
+
$$type: "shadow";
|
|
152
|
+
disabled?: boolean | undefined;
|
|
67
153
|
}[]): {
|
|
68
|
-
$$type: "box-shadow";
|
|
69
154
|
value: {
|
|
70
|
-
$$type: "shadow";
|
|
71
155
|
value: {
|
|
72
156
|
position?: any;
|
|
73
157
|
hOffset?: any;
|
|
@@ -76,10 +160,13 @@ declare const boxShadowPropTypeUtil: {
|
|
|
76
160
|
spread?: any;
|
|
77
161
|
color?: any;
|
|
78
162
|
};
|
|
163
|
+
$$type: "shadow";
|
|
164
|
+
disabled?: boolean | undefined;
|
|
79
165
|
}[];
|
|
166
|
+
$$type: "box-shadow";
|
|
167
|
+
disabled?: boolean | undefined;
|
|
80
168
|
};
|
|
81
|
-
(value:
|
|
82
|
-
$$type: "shadow";
|
|
169
|
+
(value: {
|
|
83
170
|
value: {
|
|
84
171
|
position?: any;
|
|
85
172
|
hOffset?: any;
|
|
@@ -88,20 +175,10 @@ declare const boxShadowPropTypeUtil: {
|
|
|
88
175
|
spread?: any;
|
|
89
176
|
color?: any;
|
|
90
177
|
};
|
|
91
|
-
}[] | undefined) => {
|
|
92
178
|
$$type: "shadow";
|
|
179
|
+
disabled?: boolean | undefined;
|
|
180
|
+
}[], createOptions?: CreateOptions): {
|
|
93
181
|
value: {
|
|
94
|
-
position?: any;
|
|
95
|
-
hOffset?: any;
|
|
96
|
-
vOffset?: any;
|
|
97
|
-
blur?: any;
|
|
98
|
-
spread?: any;
|
|
99
|
-
color?: any;
|
|
100
|
-
};
|
|
101
|
-
}[], base: unknown): {
|
|
102
|
-
$$type: "box-shadow";
|
|
103
|
-
value: {
|
|
104
|
-
$$type: "shadow";
|
|
105
182
|
value: {
|
|
106
183
|
position?: any;
|
|
107
184
|
hOffset?: any;
|
|
@@ -110,47 +187,13 @@ declare const boxShadowPropTypeUtil: {
|
|
|
110
187
|
spread?: any;
|
|
111
188
|
color?: any;
|
|
112
189
|
};
|
|
190
|
+
$$type: "shadow";
|
|
191
|
+
disabled?: boolean | undefined;
|
|
113
192
|
}[];
|
|
193
|
+
$$type: "box-shadow";
|
|
194
|
+
disabled?: boolean | undefined;
|
|
114
195
|
};
|
|
115
|
-
|
|
116
|
-
schema: z.ZodObject<{
|
|
117
|
-
$$type: z.ZodLiteral<"box-shadow">;
|
|
118
|
-
value: z.ZodArray<z.ZodObject<{
|
|
119
|
-
$$type: z.ZodLiteral<"shadow">;
|
|
120
|
-
value: z.ZodObject<{
|
|
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;
|
|
134
|
-
}, {
|
|
135
|
-
position?: any;
|
|
136
|
-
hOffset?: any;
|
|
137
|
-
vOffset?: any;
|
|
138
|
-
blur?: any;
|
|
139
|
-
spread?: any;
|
|
140
|
-
color?: any;
|
|
141
|
-
}>;
|
|
142
|
-
}, "strip", z.ZodTypeAny, {
|
|
143
|
-
$$type: "shadow";
|
|
144
|
-
value: {
|
|
145
|
-
position?: any;
|
|
146
|
-
hOffset?: any;
|
|
147
|
-
vOffset?: any;
|
|
148
|
-
blur?: any;
|
|
149
|
-
spread?: any;
|
|
150
|
-
color?: any;
|
|
151
|
-
};
|
|
152
|
-
}, {
|
|
153
|
-
$$type: "shadow";
|
|
196
|
+
(value: (prev?: {
|
|
154
197
|
value: {
|
|
155
198
|
position?: any;
|
|
156
199
|
hOffset?: any;
|
|
@@ -159,11 +202,9 @@ declare const boxShadowPropTypeUtil: {
|
|
|
159
202
|
spread?: any;
|
|
160
203
|
color?: any;
|
|
161
204
|
};
|
|
162
|
-
}>, "many">;
|
|
163
|
-
}, "strip", z.ZodTypeAny, {
|
|
164
|
-
$$type: "box-shadow";
|
|
165
|
-
value: {
|
|
166
205
|
$$type: "shadow";
|
|
206
|
+
disabled?: boolean | undefined;
|
|
207
|
+
}[] | undefined) => {
|
|
167
208
|
value: {
|
|
168
209
|
position?: any;
|
|
169
210
|
hOffset?: any;
|
|
@@ -172,33 +213,53 @@ declare const boxShadowPropTypeUtil: {
|
|
|
172
213
|
spread?: any;
|
|
173
214
|
color?: any;
|
|
174
215
|
};
|
|
175
|
-
}[];
|
|
176
|
-
}, {
|
|
177
|
-
$$type: "box-shadow";
|
|
178
|
-
value: {
|
|
179
216
|
$$type: "shadow";
|
|
217
|
+
disabled?: boolean | undefined;
|
|
218
|
+
}[], createOptions: CreateOptions): {
|
|
180
219
|
value: {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
220
|
+
value: {
|
|
221
|
+
position?: any;
|
|
222
|
+
hOffset?: any;
|
|
223
|
+
vOffset?: any;
|
|
224
|
+
blur?: any;
|
|
225
|
+
spread?: any;
|
|
226
|
+
color?: any;
|
|
227
|
+
};
|
|
228
|
+
$$type: "shadow";
|
|
229
|
+
disabled?: boolean | undefined;
|
|
230
|
+
}[];
|
|
231
|
+
$$type: "box-shadow";
|
|
232
|
+
disabled?: boolean | undefined;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
236
|
+
$$type: z.ZodLiteral<TKey>;
|
|
237
|
+
value: TValue;
|
|
238
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
239
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
240
|
+
$$type: z.ZodLiteral<TKey>;
|
|
241
|
+
value: TValue;
|
|
242
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
243
|
+
}>, any>[k]; }>;
|
|
190
244
|
};
|
|
191
245
|
type BoxShadowPropValue = z.infer<typeof boxShadowPropTypeUtil.schema>;
|
|
192
246
|
|
|
193
247
|
declare const borderRadiusPropTypeUtil: {
|
|
248
|
+
extract: (prop: unknown) => {
|
|
249
|
+
'top-left'?: any;
|
|
250
|
+
'top-right'?: any;
|
|
251
|
+
'bottom-right'?: any;
|
|
252
|
+
'bottom-left'?: any;
|
|
253
|
+
} | null;
|
|
194
254
|
isValid: (prop: unknown) => prop is {
|
|
195
|
-
$$type: "border-radius";
|
|
196
255
|
value: {
|
|
197
256
|
'top-left'?: any;
|
|
198
257
|
'top-right'?: any;
|
|
199
258
|
'bottom-right'?: any;
|
|
200
259
|
'bottom-left'?: any;
|
|
201
260
|
};
|
|
261
|
+
$$type: "border-radius";
|
|
262
|
+
disabled?: boolean | undefined;
|
|
202
263
|
};
|
|
203
264
|
create: {
|
|
204
265
|
(value: {
|
|
@@ -207,81 +268,79 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
207
268
|
'bottom-right'?: any;
|
|
208
269
|
'bottom-left'?: any;
|
|
209
270
|
}): {
|
|
210
|
-
$$type: "border-radius";
|
|
211
271
|
value: {
|
|
212
272
|
'top-left'?: any;
|
|
213
273
|
'top-right'?: any;
|
|
214
274
|
'bottom-right'?: any;
|
|
215
275
|
'bottom-left'?: any;
|
|
216
276
|
};
|
|
277
|
+
$$type: "border-radius";
|
|
278
|
+
disabled?: boolean | undefined;
|
|
217
279
|
};
|
|
218
|
-
(value:
|
|
219
|
-
'top-left'?: any;
|
|
220
|
-
'top-right'?: any;
|
|
221
|
-
'bottom-right'?: any;
|
|
222
|
-
'bottom-left'?: any;
|
|
223
|
-
} | undefined) => {
|
|
280
|
+
(value: {
|
|
224
281
|
'top-left'?: any;
|
|
225
282
|
'top-right'?: any;
|
|
226
283
|
'bottom-right'?: any;
|
|
227
284
|
'bottom-left'?: any;
|
|
228
|
-
},
|
|
229
|
-
$$type: "border-radius";
|
|
285
|
+
}, createOptions?: CreateOptions): {
|
|
230
286
|
value: {
|
|
231
287
|
'top-left'?: any;
|
|
232
288
|
'top-right'?: any;
|
|
233
289
|
'bottom-right'?: any;
|
|
234
290
|
'bottom-left'?: any;
|
|
235
291
|
};
|
|
292
|
+
$$type: "border-radius";
|
|
293
|
+
disabled?: boolean | undefined;
|
|
236
294
|
};
|
|
237
|
-
|
|
238
|
-
schema: z.ZodObject<{
|
|
239
|
-
$$type: z.ZodLiteral<"border-radius">;
|
|
240
|
-
value: z.ZodObject<{
|
|
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, {
|
|
246
|
-
'top-left'?: any;
|
|
247
|
-
'top-right'?: any;
|
|
248
|
-
'bottom-right'?: any;
|
|
249
|
-
'bottom-left'?: any;
|
|
250
|
-
}, {
|
|
251
|
-
'top-left'?: any;
|
|
252
|
-
'top-right'?: any;
|
|
253
|
-
'bottom-right'?: any;
|
|
254
|
-
'bottom-left'?: any;
|
|
255
|
-
}>;
|
|
256
|
-
}, "strip", z.ZodTypeAny, {
|
|
257
|
-
$$type: "border-radius";
|
|
258
|
-
value: {
|
|
295
|
+
(value: (prev?: {
|
|
259
296
|
'top-left'?: any;
|
|
260
297
|
'top-right'?: any;
|
|
261
298
|
'bottom-right'?: any;
|
|
262
299
|
'bottom-left'?: any;
|
|
263
|
-
}
|
|
264
|
-
}, {
|
|
265
|
-
$$type: "border-radius";
|
|
266
|
-
value: {
|
|
300
|
+
} | undefined) => {
|
|
267
301
|
'top-left'?: any;
|
|
268
302
|
'top-right'?: any;
|
|
269
303
|
'bottom-right'?: any;
|
|
270
304
|
'bottom-left'?: any;
|
|
305
|
+
}, createOptions: CreateOptions): {
|
|
306
|
+
value: {
|
|
307
|
+
'top-left'?: any;
|
|
308
|
+
'top-right'?: any;
|
|
309
|
+
'bottom-right'?: any;
|
|
310
|
+
'bottom-left'?: any;
|
|
311
|
+
};
|
|
312
|
+
$$type: "border-radius";
|
|
313
|
+
disabled?: boolean | undefined;
|
|
271
314
|
};
|
|
272
|
-
}
|
|
315
|
+
};
|
|
316
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
317
|
+
$$type: z.ZodLiteral<TKey>;
|
|
318
|
+
value: TValue;
|
|
319
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
320
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
321
|
+
$$type: z.ZodLiteral<TKey>;
|
|
322
|
+
value: TValue;
|
|
323
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
324
|
+
}>, any>[k]; }>;
|
|
273
325
|
};
|
|
274
326
|
type BorderRadiusPropValue = z.infer<typeof borderRadiusPropTypeUtil.schema>;
|
|
275
327
|
|
|
276
328
|
declare const borderWidthPropTypeUtil: {
|
|
329
|
+
extract: (prop: unknown) => {
|
|
330
|
+
top?: any;
|
|
331
|
+
right?: any;
|
|
332
|
+
bottom?: any;
|
|
333
|
+
left?: any;
|
|
334
|
+
} | null;
|
|
277
335
|
isValid: (prop: unknown) => prop is {
|
|
278
|
-
$$type: "border-width";
|
|
279
336
|
value: {
|
|
280
337
|
top?: any;
|
|
281
338
|
right?: any;
|
|
282
339
|
bottom?: any;
|
|
283
340
|
left?: any;
|
|
284
341
|
};
|
|
342
|
+
$$type: "border-width";
|
|
343
|
+
disabled?: boolean | undefined;
|
|
285
344
|
};
|
|
286
345
|
create: {
|
|
287
346
|
(value: {
|
|
@@ -290,146 +349,170 @@ declare const borderWidthPropTypeUtil: {
|
|
|
290
349
|
bottom?: any;
|
|
291
350
|
left?: any;
|
|
292
351
|
}): {
|
|
293
|
-
$$type: "border-width";
|
|
294
352
|
value: {
|
|
295
353
|
top?: any;
|
|
296
354
|
right?: any;
|
|
297
355
|
bottom?: any;
|
|
298
356
|
left?: any;
|
|
299
357
|
};
|
|
358
|
+
$$type: "border-width";
|
|
359
|
+
disabled?: boolean | undefined;
|
|
300
360
|
};
|
|
301
|
-
(value:
|
|
302
|
-
top?: any;
|
|
303
|
-
right?: any;
|
|
304
|
-
bottom?: any;
|
|
305
|
-
left?: any;
|
|
306
|
-
} | undefined) => {
|
|
361
|
+
(value: {
|
|
307
362
|
top?: any;
|
|
308
363
|
right?: any;
|
|
309
364
|
bottom?: any;
|
|
310
365
|
left?: any;
|
|
311
|
-
},
|
|
312
|
-
$$type: "border-width";
|
|
366
|
+
}, createOptions?: CreateOptions): {
|
|
313
367
|
value: {
|
|
314
368
|
top?: any;
|
|
315
369
|
right?: any;
|
|
316
370
|
bottom?: any;
|
|
317
371
|
left?: any;
|
|
318
372
|
};
|
|
373
|
+
$$type: "border-width";
|
|
374
|
+
disabled?: boolean | undefined;
|
|
319
375
|
};
|
|
320
|
-
|
|
321
|
-
schema: z.ZodObject<{
|
|
322
|
-
$$type: z.ZodLiteral<"border-width">;
|
|
323
|
-
value: z.ZodObject<{
|
|
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, {
|
|
329
|
-
top?: any;
|
|
330
|
-
right?: any;
|
|
331
|
-
bottom?: any;
|
|
332
|
-
left?: any;
|
|
333
|
-
}, {
|
|
334
|
-
top?: any;
|
|
335
|
-
right?: any;
|
|
336
|
-
bottom?: any;
|
|
337
|
-
left?: any;
|
|
338
|
-
}>;
|
|
339
|
-
}, "strip", z.ZodTypeAny, {
|
|
340
|
-
$$type: "border-width";
|
|
341
|
-
value: {
|
|
376
|
+
(value: (prev?: {
|
|
342
377
|
top?: any;
|
|
343
378
|
right?: any;
|
|
344
379
|
bottom?: any;
|
|
345
380
|
left?: any;
|
|
346
|
-
}
|
|
347
|
-
}, {
|
|
348
|
-
$$type: "border-width";
|
|
349
|
-
value: {
|
|
381
|
+
} | undefined) => {
|
|
350
382
|
top?: any;
|
|
351
383
|
right?: any;
|
|
352
384
|
bottom?: any;
|
|
353
385
|
left?: any;
|
|
386
|
+
}, createOptions: CreateOptions): {
|
|
387
|
+
value: {
|
|
388
|
+
top?: any;
|
|
389
|
+
right?: any;
|
|
390
|
+
bottom?: any;
|
|
391
|
+
left?: any;
|
|
392
|
+
};
|
|
393
|
+
$$type: "border-width";
|
|
394
|
+
disabled?: boolean | undefined;
|
|
354
395
|
};
|
|
355
|
-
}
|
|
396
|
+
};
|
|
397
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
398
|
+
$$type: z.ZodLiteral<TKey>;
|
|
399
|
+
value: TValue;
|
|
400
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
401
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
402
|
+
$$type: z.ZodLiteral<TKey>;
|
|
403
|
+
value: TValue;
|
|
404
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
405
|
+
}>, any>[k]; }>;
|
|
356
406
|
};
|
|
357
407
|
type BorderWidthPropValue = z.infer<typeof borderWidthPropTypeUtil.schema>;
|
|
358
408
|
|
|
359
409
|
declare const classesPropTypeUtil: {
|
|
410
|
+
extract: (prop: unknown) => string[] | null;
|
|
360
411
|
isValid: (prop: unknown) => prop is {
|
|
361
|
-
$$type: "classes";
|
|
362
412
|
value: string[];
|
|
413
|
+
$$type: "classes";
|
|
414
|
+
disabled?: boolean | undefined;
|
|
363
415
|
};
|
|
364
416
|
create: {
|
|
365
417
|
(value: string[]): {
|
|
366
|
-
$$type: "classes";
|
|
367
418
|
value: string[];
|
|
419
|
+
$$type: "classes";
|
|
420
|
+
disabled?: boolean | undefined;
|
|
368
421
|
};
|
|
369
|
-
(value:
|
|
422
|
+
(value: string[], createOptions?: CreateOptions): {
|
|
423
|
+
value: string[];
|
|
370
424
|
$$type: "classes";
|
|
425
|
+
disabled?: boolean | undefined;
|
|
426
|
+
};
|
|
427
|
+
(value: (prev?: string[] | undefined) => string[], createOptions: CreateOptions): {
|
|
371
428
|
value: string[];
|
|
429
|
+
$$type: "classes";
|
|
430
|
+
disabled?: boolean | undefined;
|
|
372
431
|
};
|
|
373
432
|
};
|
|
374
|
-
schema: z.
|
|
375
|
-
$$type: z.ZodLiteral<
|
|
376
|
-
value:
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
}>;
|
|
433
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
434
|
+
$$type: z.ZodLiteral<TKey>;
|
|
435
|
+
value: TValue;
|
|
436
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
437
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
438
|
+
$$type: z.ZodLiteral<TKey>;
|
|
439
|
+
value: TValue;
|
|
440
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
441
|
+
}>, any>[k]; }>;
|
|
384
442
|
};
|
|
385
443
|
type ClassesPropValue = z.infer<typeof classesPropTypeUtil.schema>;
|
|
386
444
|
|
|
387
445
|
declare const colorPropTypeUtil: {
|
|
446
|
+
extract: (prop: unknown) => string | null;
|
|
388
447
|
isValid: (prop: unknown) => prop is {
|
|
389
|
-
$$type: "color";
|
|
390
448
|
value: string;
|
|
449
|
+
$$type: "color";
|
|
450
|
+
disabled?: boolean | undefined;
|
|
391
451
|
};
|
|
392
452
|
create: {
|
|
393
453
|
(value: string): {
|
|
394
|
-
$$type: "color";
|
|
395
454
|
value: string;
|
|
455
|
+
$$type: "color";
|
|
456
|
+
disabled?: boolean | undefined;
|
|
396
457
|
};
|
|
397
|
-
(value:
|
|
458
|
+
(value: string, createOptions?: CreateOptions): {
|
|
459
|
+
value: string;
|
|
398
460
|
$$type: "color";
|
|
461
|
+
disabled?: boolean | undefined;
|
|
462
|
+
};
|
|
463
|
+
(value: (prev?: string | undefined) => string, createOptions: CreateOptions): {
|
|
399
464
|
value: string;
|
|
465
|
+
$$type: "color";
|
|
466
|
+
disabled?: boolean | undefined;
|
|
400
467
|
};
|
|
401
468
|
};
|
|
402
|
-
schema: z.
|
|
403
|
-
$$type: z.ZodLiteral<
|
|
404
|
-
value:
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
}>;
|
|
469
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
470
|
+
$$type: z.ZodLiteral<TKey>;
|
|
471
|
+
value: TValue;
|
|
472
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
473
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
474
|
+
$$type: z.ZodLiteral<TKey>;
|
|
475
|
+
value: TValue;
|
|
476
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
477
|
+
}>, any>[k]; }>;
|
|
412
478
|
};
|
|
413
479
|
type ColorPropValue = z.infer<typeof colorPropTypeUtil.schema>;
|
|
414
480
|
|
|
415
481
|
declare const imagePropTypeUtil: {
|
|
482
|
+
extract: (prop: unknown) => {
|
|
483
|
+
src?: any;
|
|
484
|
+
size?: any;
|
|
485
|
+
} | null;
|
|
416
486
|
isValid: (prop: unknown) => prop is {
|
|
417
|
-
$$type: "image";
|
|
418
487
|
value: {
|
|
419
488
|
src?: any;
|
|
420
489
|
size?: any;
|
|
421
490
|
};
|
|
491
|
+
$$type: "image";
|
|
492
|
+
disabled?: boolean | undefined;
|
|
422
493
|
};
|
|
423
494
|
create: {
|
|
424
495
|
(value: {
|
|
425
496
|
src?: any;
|
|
426
497
|
size?: any;
|
|
427
498
|
}): {
|
|
499
|
+
value: {
|
|
500
|
+
src?: any;
|
|
501
|
+
size?: any;
|
|
502
|
+
};
|
|
428
503
|
$$type: "image";
|
|
504
|
+
disabled?: boolean | undefined;
|
|
505
|
+
};
|
|
506
|
+
(value: {
|
|
507
|
+
src?: any;
|
|
508
|
+
size?: any;
|
|
509
|
+
}, createOptions?: CreateOptions): {
|
|
429
510
|
value: {
|
|
430
511
|
src?: any;
|
|
431
512
|
size?: any;
|
|
432
513
|
};
|
|
514
|
+
$$type: "image";
|
|
515
|
+
disabled?: boolean | undefined;
|
|
433
516
|
};
|
|
434
517
|
(value: (prev?: {
|
|
435
518
|
src?: any;
|
|
@@ -437,245 +520,162 @@ declare const imagePropTypeUtil: {
|
|
|
437
520
|
} | undefined) => {
|
|
438
521
|
src?: any;
|
|
439
522
|
size?: any;
|
|
440
|
-
},
|
|
441
|
-
$$type: "image";
|
|
523
|
+
}, createOptions: CreateOptions): {
|
|
442
524
|
value: {
|
|
443
525
|
src?: any;
|
|
444
526
|
size?: any;
|
|
445
527
|
};
|
|
528
|
+
$$type: "image";
|
|
529
|
+
disabled?: boolean | undefined;
|
|
446
530
|
};
|
|
447
531
|
};
|
|
448
|
-
schema: z.
|
|
449
|
-
$$type: z.ZodLiteral<
|
|
450
|
-
value:
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
src?: any;
|
|
458
|
-
size?: any;
|
|
459
|
-
}>;
|
|
460
|
-
}, "strip", z.ZodTypeAny, {
|
|
461
|
-
$$type: "image";
|
|
462
|
-
value: {
|
|
463
|
-
src?: any;
|
|
464
|
-
size?: any;
|
|
465
|
-
};
|
|
466
|
-
}, {
|
|
467
|
-
$$type: "image";
|
|
468
|
-
value: {
|
|
469
|
-
src?: any;
|
|
470
|
-
size?: any;
|
|
471
|
-
};
|
|
472
|
-
}>;
|
|
532
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
533
|
+
$$type: z.ZodLiteral<TKey>;
|
|
534
|
+
value: TValue;
|
|
535
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
536
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
537
|
+
$$type: z.ZodLiteral<TKey>;
|
|
538
|
+
value: TValue;
|
|
539
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
540
|
+
}>, any>[k]; }>;
|
|
473
541
|
};
|
|
474
542
|
type ImagePropValue = z.infer<typeof imagePropTypeUtil.schema>;
|
|
475
543
|
|
|
476
544
|
declare const imageAttachmentIdPropType: {
|
|
545
|
+
extract: (prop: unknown) => number | null;
|
|
477
546
|
isValid: (prop: unknown) => prop is {
|
|
478
|
-
$$type: "image-attachment-id";
|
|
479
547
|
value: number;
|
|
548
|
+
$$type: "image-attachment-id";
|
|
549
|
+
disabled?: boolean | undefined;
|
|
480
550
|
};
|
|
481
551
|
create: {
|
|
482
552
|
(value: number): {
|
|
483
|
-
$$type: "image-attachment-id";
|
|
484
553
|
value: number;
|
|
554
|
+
$$type: "image-attachment-id";
|
|
555
|
+
disabled?: boolean | undefined;
|
|
485
556
|
};
|
|
486
|
-
(value:
|
|
557
|
+
(value: number, createOptions?: CreateOptions): {
|
|
558
|
+
value: number;
|
|
487
559
|
$$type: "image-attachment-id";
|
|
560
|
+
disabled?: boolean | undefined;
|
|
561
|
+
};
|
|
562
|
+
(value: (prev?: number | undefined) => number, createOptions: CreateOptions): {
|
|
488
563
|
value: number;
|
|
564
|
+
$$type: "image-attachment-id";
|
|
565
|
+
disabled?: boolean | undefined;
|
|
489
566
|
};
|
|
490
567
|
};
|
|
491
|
-
schema: z.
|
|
492
|
-
$$type: z.ZodLiteral<
|
|
493
|
-
value:
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
}>;
|
|
568
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
569
|
+
$$type: z.ZodLiteral<TKey>;
|
|
570
|
+
value: TValue;
|
|
571
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
572
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
573
|
+
$$type: z.ZodLiteral<TKey>;
|
|
574
|
+
value: TValue;
|
|
575
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
576
|
+
}>, any>[k]; }>;
|
|
501
577
|
};
|
|
502
578
|
type ImageAttachmentIdPropValue = z.infer<typeof imageAttachmentIdPropType.schema>;
|
|
503
579
|
|
|
504
580
|
declare const imageSrcPropTypeUtil: {
|
|
581
|
+
extract: (prop: unknown) => {
|
|
582
|
+
url: null;
|
|
583
|
+
id?: any;
|
|
584
|
+
} | {
|
|
585
|
+
id: null;
|
|
586
|
+
url?: any;
|
|
587
|
+
} | null;
|
|
505
588
|
isValid: (prop: unknown) => prop is {
|
|
506
|
-
$$type: "image-src";
|
|
507
589
|
value: {
|
|
508
590
|
url: null;
|
|
509
|
-
id
|
|
510
|
-
$$type: "image-attachment-id";
|
|
511
|
-
value: number;
|
|
512
|
-
};
|
|
591
|
+
id?: any;
|
|
513
592
|
} | {
|
|
514
|
-
url: {
|
|
515
|
-
$$type: "url";
|
|
516
|
-
value: string;
|
|
517
|
-
};
|
|
518
593
|
id: null;
|
|
594
|
+
url?: any;
|
|
519
595
|
};
|
|
596
|
+
$$type: "image-src";
|
|
597
|
+
disabled?: boolean | undefined;
|
|
520
598
|
};
|
|
521
599
|
create: {
|
|
522
600
|
(value: {
|
|
523
601
|
url: null;
|
|
524
|
-
id
|
|
525
|
-
$$type: "image-attachment-id";
|
|
526
|
-
value: number;
|
|
527
|
-
};
|
|
602
|
+
id?: any;
|
|
528
603
|
} | {
|
|
529
|
-
url: {
|
|
530
|
-
$$type: "url";
|
|
531
|
-
value: string;
|
|
532
|
-
};
|
|
533
604
|
id: null;
|
|
605
|
+
url?: any;
|
|
534
606
|
}): {
|
|
535
|
-
$$type: "image-src";
|
|
536
607
|
value: {
|
|
537
608
|
url: null;
|
|
538
|
-
id
|
|
539
|
-
$$type: "image-attachment-id";
|
|
540
|
-
value: number;
|
|
541
|
-
};
|
|
609
|
+
id?: any;
|
|
542
610
|
} | {
|
|
543
|
-
url: {
|
|
544
|
-
$$type: "url";
|
|
545
|
-
value: string;
|
|
546
|
-
};
|
|
547
611
|
id: null;
|
|
612
|
+
url?: any;
|
|
548
613
|
};
|
|
614
|
+
$$type: "image-src";
|
|
615
|
+
disabled?: boolean | undefined;
|
|
549
616
|
};
|
|
550
|
-
(value:
|
|
551
|
-
url: null;
|
|
552
|
-
id: {
|
|
553
|
-
$$type: "image-attachment-id";
|
|
554
|
-
value: number;
|
|
555
|
-
};
|
|
556
|
-
} | {
|
|
557
|
-
url: {
|
|
558
|
-
$$type: "url";
|
|
559
|
-
value: string;
|
|
560
|
-
};
|
|
561
|
-
id: null;
|
|
562
|
-
} | undefined) => {
|
|
617
|
+
(value: {
|
|
563
618
|
url: null;
|
|
564
|
-
id
|
|
565
|
-
$$type: "image-attachment-id";
|
|
566
|
-
value: number;
|
|
567
|
-
};
|
|
619
|
+
id?: any;
|
|
568
620
|
} | {
|
|
569
|
-
url: {
|
|
570
|
-
$$type: "url";
|
|
571
|
-
value: string;
|
|
572
|
-
};
|
|
573
621
|
id: null;
|
|
574
|
-
|
|
575
|
-
|
|
622
|
+
url?: any;
|
|
623
|
+
}, createOptions?: CreateOptions): {
|
|
576
624
|
value: {
|
|
577
625
|
url: null;
|
|
578
|
-
id
|
|
579
|
-
$$type: "image-attachment-id";
|
|
580
|
-
value: number;
|
|
581
|
-
};
|
|
626
|
+
id?: any;
|
|
582
627
|
} | {
|
|
583
|
-
url: {
|
|
584
|
-
$$type: "url";
|
|
585
|
-
value: string;
|
|
586
|
-
};
|
|
587
628
|
id: null;
|
|
629
|
+
url?: any;
|
|
588
630
|
};
|
|
631
|
+
$$type: "image-src";
|
|
632
|
+
disabled?: boolean | undefined;
|
|
589
633
|
};
|
|
590
|
-
|
|
591
|
-
schema: z.ZodObject<{
|
|
592
|
-
$$type: z.ZodLiteral<"image-src">;
|
|
593
|
-
value: z.ZodUnion<[z.ZodObject<{
|
|
594
|
-
id: z.ZodObject<{
|
|
595
|
-
$$type: z.ZodLiteral<"image-attachment-id">;
|
|
596
|
-
value: z.ZodNumber;
|
|
597
|
-
}, "strip", z.ZodTypeAny, {
|
|
598
|
-
$$type: "image-attachment-id";
|
|
599
|
-
value: number;
|
|
600
|
-
}, {
|
|
601
|
-
$$type: "image-attachment-id";
|
|
602
|
-
value: number;
|
|
603
|
-
}>;
|
|
604
|
-
url: z.ZodNull;
|
|
605
|
-
}, "strict", z.ZodTypeAny, {
|
|
606
|
-
url: null;
|
|
607
|
-
id: {
|
|
608
|
-
$$type: "image-attachment-id";
|
|
609
|
-
value: number;
|
|
610
|
-
};
|
|
611
|
-
}, {
|
|
612
|
-
url: null;
|
|
613
|
-
id: {
|
|
614
|
-
$$type: "image-attachment-id";
|
|
615
|
-
value: number;
|
|
616
|
-
};
|
|
617
|
-
}>, z.ZodObject<{
|
|
618
|
-
id: z.ZodNull;
|
|
619
|
-
url: z.ZodObject<{
|
|
620
|
-
$$type: z.ZodLiteral<"url">;
|
|
621
|
-
value: z.ZodString;
|
|
622
|
-
}, "strip", z.ZodTypeAny, {
|
|
623
|
-
$$type: "url";
|
|
624
|
-
value: string;
|
|
625
|
-
}, {
|
|
626
|
-
$$type: "url";
|
|
627
|
-
value: string;
|
|
628
|
-
}>;
|
|
629
|
-
}, "strict", z.ZodTypeAny, {
|
|
630
|
-
url: {
|
|
631
|
-
$$type: "url";
|
|
632
|
-
value: string;
|
|
633
|
-
};
|
|
634
|
-
id: null;
|
|
635
|
-
}, {
|
|
636
|
-
url: {
|
|
637
|
-
$$type: "url";
|
|
638
|
-
value: string;
|
|
639
|
-
};
|
|
640
|
-
id: null;
|
|
641
|
-
}>]>;
|
|
642
|
-
}, "strip", z.ZodTypeAny, {
|
|
643
|
-
$$type: "image-src";
|
|
644
|
-
value: {
|
|
634
|
+
(value: (prev?: {
|
|
645
635
|
url: null;
|
|
646
|
-
id
|
|
647
|
-
$$type: "image-attachment-id";
|
|
648
|
-
value: number;
|
|
649
|
-
};
|
|
636
|
+
id?: any;
|
|
650
637
|
} | {
|
|
651
|
-
url: {
|
|
652
|
-
$$type: "url";
|
|
653
|
-
value: string;
|
|
654
|
-
};
|
|
655
638
|
id: null;
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
$$type: "image-src";
|
|
659
|
-
value: {
|
|
639
|
+
url?: any;
|
|
640
|
+
} | undefined) => {
|
|
660
641
|
url: null;
|
|
661
|
-
id
|
|
662
|
-
$$type: "image-attachment-id";
|
|
663
|
-
value: number;
|
|
664
|
-
};
|
|
642
|
+
id?: any;
|
|
665
643
|
} | {
|
|
666
|
-
url: {
|
|
667
|
-
$$type: "url";
|
|
668
|
-
value: string;
|
|
669
|
-
};
|
|
670
644
|
id: null;
|
|
645
|
+
url?: any;
|
|
646
|
+
}, createOptions: CreateOptions): {
|
|
647
|
+
value: {
|
|
648
|
+
url: null;
|
|
649
|
+
id?: any;
|
|
650
|
+
} | {
|
|
651
|
+
id: null;
|
|
652
|
+
url?: any;
|
|
653
|
+
};
|
|
654
|
+
$$type: "image-src";
|
|
655
|
+
disabled?: boolean | undefined;
|
|
671
656
|
};
|
|
672
|
-
}
|
|
657
|
+
};
|
|
658
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
659
|
+
$$type: z.ZodLiteral<TKey>;
|
|
660
|
+
value: TValue;
|
|
661
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
662
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
663
|
+
$$type: z.ZodLiteral<TKey>;
|
|
664
|
+
value: TValue;
|
|
665
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
666
|
+
}>, any>[k]; }>;
|
|
673
667
|
};
|
|
674
668
|
type ImageSrcPropValue = z.infer<typeof imageSrcPropTypeUtil.schema>;
|
|
675
669
|
|
|
676
670
|
declare const linkedDimensionsPropTypeUtil: {
|
|
671
|
+
extract: (prop: unknown) => {
|
|
672
|
+
top?: any;
|
|
673
|
+
right?: any;
|
|
674
|
+
bottom?: any;
|
|
675
|
+
left?: any;
|
|
676
|
+
isLinked?: any;
|
|
677
|
+
} | null;
|
|
677
678
|
isValid: (prop: unknown) => prop is {
|
|
678
|
-
$$type: "linked-dimensions";
|
|
679
679
|
value: {
|
|
680
680
|
top?: any;
|
|
681
681
|
right?: any;
|
|
@@ -683,6 +683,8 @@ declare const linkedDimensionsPropTypeUtil: {
|
|
|
683
683
|
left?: any;
|
|
684
684
|
isLinked?: any;
|
|
685
685
|
};
|
|
686
|
+
$$type: "linked-dimensions";
|
|
687
|
+
disabled?: boolean | undefined;
|
|
686
688
|
};
|
|
687
689
|
create: {
|
|
688
690
|
(value: {
|
|
@@ -692,7 +694,6 @@ declare const linkedDimensionsPropTypeUtil: {
|
|
|
692
694
|
left?: any;
|
|
693
695
|
isLinked?: any;
|
|
694
696
|
}): {
|
|
695
|
-
$$type: "linked-dimensions";
|
|
696
697
|
value: {
|
|
697
698
|
top?: any;
|
|
698
699
|
right?: any;
|
|
@@ -700,21 +701,16 @@ declare const linkedDimensionsPropTypeUtil: {
|
|
|
700
701
|
left?: any;
|
|
701
702
|
isLinked?: any;
|
|
702
703
|
};
|
|
704
|
+
$$type: "linked-dimensions";
|
|
705
|
+
disabled?: boolean | undefined;
|
|
703
706
|
};
|
|
704
|
-
(value:
|
|
705
|
-
top?: any;
|
|
706
|
-
right?: any;
|
|
707
|
-
bottom?: any;
|
|
708
|
-
left?: any;
|
|
709
|
-
isLinked?: any;
|
|
710
|
-
} | undefined) => {
|
|
707
|
+
(value: {
|
|
711
708
|
top?: any;
|
|
712
709
|
right?: any;
|
|
713
710
|
bottom?: any;
|
|
714
711
|
left?: any;
|
|
715
712
|
isLinked?: any;
|
|
716
|
-
},
|
|
717
|
-
$$type: "linked-dimensions";
|
|
713
|
+
}, createOptions?: CreateOptions): {
|
|
718
714
|
value: {
|
|
719
715
|
top?: any;
|
|
720
716
|
right?: any;
|
|
@@ -722,82 +718,91 @@ declare const linkedDimensionsPropTypeUtil: {
|
|
|
722
718
|
left?: any;
|
|
723
719
|
isLinked?: any;
|
|
724
720
|
};
|
|
721
|
+
$$type: "linked-dimensions";
|
|
722
|
+
disabled?: boolean | undefined;
|
|
725
723
|
};
|
|
726
|
-
|
|
727
|
-
schema: z.ZodObject<{
|
|
728
|
-
$$type: z.ZodLiteral<"linked-dimensions">;
|
|
729
|
-
value: z.ZodObject<{
|
|
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, {
|
|
736
|
-
top?: any;
|
|
737
|
-
right?: any;
|
|
738
|
-
bottom?: any;
|
|
739
|
-
left?: any;
|
|
740
|
-
isLinked?: any;
|
|
741
|
-
}, {
|
|
742
|
-
top?: any;
|
|
743
|
-
right?: any;
|
|
744
|
-
bottom?: any;
|
|
745
|
-
left?: any;
|
|
746
|
-
isLinked?: any;
|
|
747
|
-
}>;
|
|
748
|
-
}, "strip", z.ZodTypeAny, {
|
|
749
|
-
$$type: "linked-dimensions";
|
|
750
|
-
value: {
|
|
724
|
+
(value: (prev?: {
|
|
751
725
|
top?: any;
|
|
752
726
|
right?: any;
|
|
753
727
|
bottom?: any;
|
|
754
728
|
left?: any;
|
|
755
729
|
isLinked?: any;
|
|
756
|
-
}
|
|
757
|
-
}, {
|
|
758
|
-
$$type: "linked-dimensions";
|
|
759
|
-
value: {
|
|
730
|
+
} | undefined) => {
|
|
760
731
|
top?: any;
|
|
761
732
|
right?: any;
|
|
762
733
|
bottom?: any;
|
|
763
734
|
left?: any;
|
|
764
735
|
isLinked?: any;
|
|
736
|
+
}, createOptions: CreateOptions): {
|
|
737
|
+
value: {
|
|
738
|
+
top?: any;
|
|
739
|
+
right?: any;
|
|
740
|
+
bottom?: any;
|
|
741
|
+
left?: any;
|
|
742
|
+
isLinked?: any;
|
|
743
|
+
};
|
|
744
|
+
$$type: "linked-dimensions";
|
|
745
|
+
disabled?: boolean | undefined;
|
|
765
746
|
};
|
|
766
|
-
}
|
|
747
|
+
};
|
|
748
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
749
|
+
$$type: z.ZodLiteral<TKey>;
|
|
750
|
+
value: TValue;
|
|
751
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
752
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
753
|
+
$$type: z.ZodLiteral<TKey>;
|
|
754
|
+
value: TValue;
|
|
755
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
756
|
+
}>, any>[k]; }>;
|
|
767
757
|
};
|
|
768
758
|
type LinkedDimensionsPropValue = z.infer<typeof linkedDimensionsPropTypeUtil.schema>;
|
|
769
759
|
|
|
770
760
|
declare const numberPropTypeUtil: {
|
|
761
|
+
extract: (prop: unknown) => number | null;
|
|
771
762
|
isValid: (prop: unknown) => prop is {
|
|
772
|
-
$$type: "number";
|
|
773
763
|
value: number;
|
|
764
|
+
$$type: "number";
|
|
765
|
+
disabled?: boolean | undefined;
|
|
774
766
|
};
|
|
775
767
|
create: {
|
|
776
768
|
(value: number): {
|
|
777
|
-
$$type: "number";
|
|
778
769
|
value: number;
|
|
770
|
+
$$type: "number";
|
|
771
|
+
disabled?: boolean | undefined;
|
|
779
772
|
};
|
|
780
|
-
(value:
|
|
773
|
+
(value: number, createOptions?: CreateOptions): {
|
|
774
|
+
value: number;
|
|
781
775
|
$$type: "number";
|
|
776
|
+
disabled?: boolean | undefined;
|
|
777
|
+
};
|
|
778
|
+
(value: (prev?: number | undefined) => number, createOptions: CreateOptions): {
|
|
782
779
|
value: number;
|
|
780
|
+
$$type: "number";
|
|
781
|
+
disabled?: boolean | undefined;
|
|
783
782
|
};
|
|
784
783
|
};
|
|
785
|
-
schema: z.
|
|
786
|
-
$$type: z.ZodLiteral<
|
|
787
|
-
value:
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
}>;
|
|
784
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
785
|
+
$$type: z.ZodLiteral<TKey>;
|
|
786
|
+
value: TValue;
|
|
787
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
788
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
789
|
+
$$type: z.ZodLiteral<TKey>;
|
|
790
|
+
value: TValue;
|
|
791
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
792
|
+
}>, any>[k]; }>;
|
|
795
793
|
};
|
|
796
794
|
type NumberPropValue = z.infer<typeof numberPropTypeUtil.schema>;
|
|
797
795
|
|
|
798
796
|
declare const shadowPropTypeUtil: {
|
|
797
|
+
extract: (prop: unknown) => {
|
|
798
|
+
position?: any;
|
|
799
|
+
hOffset?: any;
|
|
800
|
+
vOffset?: any;
|
|
801
|
+
blur?: any;
|
|
802
|
+
spread?: any;
|
|
803
|
+
color?: any;
|
|
804
|
+
} | null;
|
|
799
805
|
isValid: (prop: unknown) => prop is {
|
|
800
|
-
$$type: "shadow";
|
|
801
806
|
value: {
|
|
802
807
|
position?: any;
|
|
803
808
|
hOffset?: any;
|
|
@@ -806,6 +811,8 @@ declare const shadowPropTypeUtil: {
|
|
|
806
811
|
spread?: any;
|
|
807
812
|
color?: any;
|
|
808
813
|
};
|
|
814
|
+
$$type: "shadow";
|
|
815
|
+
disabled?: boolean | undefined;
|
|
809
816
|
};
|
|
810
817
|
create: {
|
|
811
818
|
(value: {
|
|
@@ -816,7 +823,6 @@ declare const shadowPropTypeUtil: {
|
|
|
816
823
|
spread?: any;
|
|
817
824
|
color?: any;
|
|
818
825
|
}): {
|
|
819
|
-
$$type: "shadow";
|
|
820
826
|
value: {
|
|
821
827
|
position?: any;
|
|
822
828
|
hOffset?: any;
|
|
@@ -825,23 +831,17 @@ declare const shadowPropTypeUtil: {
|
|
|
825
831
|
spread?: any;
|
|
826
832
|
color?: any;
|
|
827
833
|
};
|
|
834
|
+
$$type: "shadow";
|
|
835
|
+
disabled?: boolean | undefined;
|
|
828
836
|
};
|
|
829
|
-
(value:
|
|
830
|
-
position?: any;
|
|
831
|
-
hOffset?: any;
|
|
832
|
-
vOffset?: any;
|
|
833
|
-
blur?: any;
|
|
834
|
-
spread?: any;
|
|
835
|
-
color?: any;
|
|
836
|
-
} | undefined) => {
|
|
837
|
+
(value: {
|
|
837
838
|
position?: any;
|
|
838
839
|
hOffset?: any;
|
|
839
840
|
vOffset?: any;
|
|
840
841
|
blur?: any;
|
|
841
842
|
spread?: any;
|
|
842
843
|
color?: any;
|
|
843
|
-
},
|
|
844
|
-
$$type: "shadow";
|
|
844
|
+
}, createOptions?: CreateOptions): {
|
|
845
845
|
value: {
|
|
846
846
|
position?: any;
|
|
847
847
|
hOffset?: any;
|
|
@@ -850,163 +850,182 @@ declare const shadowPropTypeUtil: {
|
|
|
850
850
|
spread?: any;
|
|
851
851
|
color?: any;
|
|
852
852
|
};
|
|
853
|
+
$$type: "shadow";
|
|
854
|
+
disabled?: boolean | undefined;
|
|
853
855
|
};
|
|
854
|
-
|
|
855
|
-
schema: z.ZodObject<{
|
|
856
|
-
$$type: z.ZodLiteral<"shadow">;
|
|
857
|
-
value: z.ZodObject<{
|
|
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;
|
|
871
|
-
}, {
|
|
872
|
-
position?: any;
|
|
873
|
-
hOffset?: any;
|
|
874
|
-
vOffset?: any;
|
|
875
|
-
blur?: any;
|
|
876
|
-
spread?: any;
|
|
877
|
-
color?: any;
|
|
878
|
-
}>;
|
|
879
|
-
}, "strip", z.ZodTypeAny, {
|
|
880
|
-
$$type: "shadow";
|
|
881
|
-
value: {
|
|
856
|
+
(value: (prev?: {
|
|
882
857
|
position?: any;
|
|
883
858
|
hOffset?: any;
|
|
884
859
|
vOffset?: any;
|
|
885
860
|
blur?: any;
|
|
886
861
|
spread?: any;
|
|
887
862
|
color?: any;
|
|
888
|
-
}
|
|
889
|
-
}, {
|
|
890
|
-
$$type: "shadow";
|
|
891
|
-
value: {
|
|
863
|
+
} | undefined) => {
|
|
892
864
|
position?: any;
|
|
893
865
|
hOffset?: any;
|
|
894
866
|
vOffset?: any;
|
|
895
867
|
blur?: any;
|
|
896
868
|
spread?: any;
|
|
897
869
|
color?: any;
|
|
870
|
+
}, createOptions: CreateOptions): {
|
|
871
|
+
value: {
|
|
872
|
+
position?: any;
|
|
873
|
+
hOffset?: any;
|
|
874
|
+
vOffset?: any;
|
|
875
|
+
blur?: any;
|
|
876
|
+
spread?: any;
|
|
877
|
+
color?: any;
|
|
878
|
+
};
|
|
879
|
+
$$type: "shadow";
|
|
880
|
+
disabled?: boolean | undefined;
|
|
898
881
|
};
|
|
899
|
-
}
|
|
882
|
+
};
|
|
883
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
884
|
+
$$type: z.ZodLiteral<TKey>;
|
|
885
|
+
value: TValue;
|
|
886
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
887
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
888
|
+
$$type: z.ZodLiteral<TKey>;
|
|
889
|
+
value: TValue;
|
|
890
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
891
|
+
}>, any>[k]; }>;
|
|
900
892
|
};
|
|
901
893
|
type ShadowPropValue = z.infer<typeof shadowPropTypeUtil.schema>;
|
|
902
894
|
|
|
903
895
|
declare const sizePropTypeUtil: {
|
|
896
|
+
extract: (prop: unknown) => {
|
|
897
|
+
size: number;
|
|
898
|
+
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
899
|
+
} | null;
|
|
904
900
|
isValid: (prop: unknown) => prop is {
|
|
905
|
-
$$type: "size";
|
|
906
901
|
value: {
|
|
907
|
-
size: number
|
|
902
|
+
size: number;
|
|
908
903
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
909
904
|
};
|
|
905
|
+
$$type: "size";
|
|
906
|
+
disabled?: boolean | undefined;
|
|
910
907
|
};
|
|
911
908
|
create: {
|
|
912
909
|
(value: {
|
|
913
|
-
size: number
|
|
910
|
+
size: number;
|
|
914
911
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
915
912
|
}): {
|
|
913
|
+
value: {
|
|
914
|
+
size: number;
|
|
915
|
+
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
916
|
+
};
|
|
916
917
|
$$type: "size";
|
|
918
|
+
disabled?: boolean | undefined;
|
|
919
|
+
};
|
|
920
|
+
(value: {
|
|
921
|
+
size: number;
|
|
922
|
+
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
923
|
+
}, createOptions?: CreateOptions): {
|
|
917
924
|
value: {
|
|
918
|
-
size: number
|
|
925
|
+
size: number;
|
|
919
926
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
920
927
|
};
|
|
928
|
+
$$type: "size";
|
|
929
|
+
disabled?: boolean | undefined;
|
|
921
930
|
};
|
|
922
931
|
(value: (prev?: {
|
|
923
|
-
size: number
|
|
932
|
+
size: number;
|
|
924
933
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
925
934
|
} | undefined) => {
|
|
926
|
-
size: number
|
|
935
|
+
size: number;
|
|
927
936
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
928
|
-
},
|
|
929
|
-
$$type: "size";
|
|
937
|
+
}, createOptions: CreateOptions): {
|
|
930
938
|
value: {
|
|
931
|
-
size: number
|
|
939
|
+
size: number;
|
|
932
940
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
933
941
|
};
|
|
942
|
+
$$type: "size";
|
|
943
|
+
disabled?: boolean | undefined;
|
|
934
944
|
};
|
|
935
945
|
};
|
|
936
|
-
schema: z.
|
|
937
|
-
$$type: z.ZodLiteral<
|
|
938
|
-
value:
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
size: number | null;
|
|
946
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
947
|
-
}>;
|
|
948
|
-
}, "strip", z.ZodTypeAny, {
|
|
949
|
-
$$type: "size";
|
|
950
|
-
value: {
|
|
951
|
-
size: number | null;
|
|
952
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
953
|
-
};
|
|
954
|
-
}, {
|
|
955
|
-
$$type: "size";
|
|
956
|
-
value: {
|
|
957
|
-
size: number | null;
|
|
958
|
-
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
959
|
-
};
|
|
960
|
-
}>;
|
|
946
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
947
|
+
$$type: z.ZodLiteral<TKey>;
|
|
948
|
+
value: TValue;
|
|
949
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
950
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
951
|
+
$$type: z.ZodLiteral<TKey>;
|
|
952
|
+
value: TValue;
|
|
953
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
954
|
+
}>, any>[k]; }>;
|
|
961
955
|
};
|
|
962
956
|
type SizePropValue = z.infer<typeof sizePropTypeUtil.schema>;
|
|
963
957
|
|
|
964
958
|
declare const stringPropTypeUtil: {
|
|
959
|
+
extract: (prop: unknown) => string | null;
|
|
965
960
|
isValid: (prop: unknown) => prop is {
|
|
961
|
+
value: string | null;
|
|
966
962
|
$$type: "string";
|
|
967
|
-
|
|
963
|
+
disabled?: boolean | undefined;
|
|
968
964
|
};
|
|
969
965
|
create: {
|
|
970
|
-
(value: string): {
|
|
966
|
+
(value: string | null): {
|
|
967
|
+
value: string | null;
|
|
971
968
|
$$type: "string";
|
|
972
|
-
|
|
969
|
+
disabled?: boolean | undefined;
|
|
973
970
|
};
|
|
974
|
-
(value:
|
|
971
|
+
(value: string | null, createOptions?: CreateOptions): {
|
|
972
|
+
value: string | null;
|
|
975
973
|
$$type: "string";
|
|
976
|
-
|
|
974
|
+
disabled?: boolean | undefined;
|
|
975
|
+
};
|
|
976
|
+
(value: (prev?: string | null | undefined) => string | null, createOptions: CreateOptions): {
|
|
977
|
+
value: string | null;
|
|
978
|
+
$$type: "string";
|
|
979
|
+
disabled?: boolean | undefined;
|
|
977
980
|
};
|
|
978
981
|
};
|
|
979
|
-
schema: z.
|
|
980
|
-
$$type: z.ZodLiteral<
|
|
981
|
-
value:
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
}>;
|
|
982
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
983
|
+
$$type: z.ZodLiteral<TKey>;
|
|
984
|
+
value: TValue;
|
|
985
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
986
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
987
|
+
$$type: z.ZodLiteral<TKey>;
|
|
988
|
+
value: TValue;
|
|
989
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
990
|
+
}>, any>[k]; }>;
|
|
989
991
|
};
|
|
990
992
|
type StringPropValue = z.infer<typeof stringPropTypeUtil.schema>;
|
|
991
993
|
|
|
992
994
|
declare const strokePropTypeUtil: {
|
|
995
|
+
extract: (prop: unknown) => {
|
|
996
|
+
color?: any;
|
|
997
|
+
width?: any;
|
|
998
|
+
} | null;
|
|
993
999
|
isValid: (prop: unknown) => prop is {
|
|
994
|
-
$$type: "stroke";
|
|
995
1000
|
value: {
|
|
996
1001
|
color?: any;
|
|
997
1002
|
width?: any;
|
|
998
1003
|
};
|
|
1004
|
+
$$type: "stroke";
|
|
1005
|
+
disabled?: boolean | undefined;
|
|
999
1006
|
};
|
|
1000
1007
|
create: {
|
|
1001
1008
|
(value: {
|
|
1002
1009
|
color?: any;
|
|
1003
1010
|
width?: any;
|
|
1004
1011
|
}): {
|
|
1012
|
+
value: {
|
|
1013
|
+
color?: any;
|
|
1014
|
+
width?: any;
|
|
1015
|
+
};
|
|
1005
1016
|
$$type: "stroke";
|
|
1017
|
+
disabled?: boolean | undefined;
|
|
1018
|
+
};
|
|
1019
|
+
(value: {
|
|
1020
|
+
color?: any;
|
|
1021
|
+
width?: any;
|
|
1022
|
+
}, createOptions?: CreateOptions): {
|
|
1006
1023
|
value: {
|
|
1007
1024
|
color?: any;
|
|
1008
1025
|
width?: any;
|
|
1009
1026
|
};
|
|
1027
|
+
$$type: "stroke";
|
|
1028
|
+
disabled?: boolean | undefined;
|
|
1010
1029
|
};
|
|
1011
1030
|
(value: (prev?: {
|
|
1012
1031
|
color?: any;
|
|
@@ -1014,272 +1033,314 @@ declare const strokePropTypeUtil: {
|
|
|
1014
1033
|
} | undefined) => {
|
|
1015
1034
|
color?: any;
|
|
1016
1035
|
width?: any;
|
|
1017
|
-
},
|
|
1018
|
-
$$type: "stroke";
|
|
1036
|
+
}, createOptions: CreateOptions): {
|
|
1019
1037
|
value: {
|
|
1020
1038
|
color?: any;
|
|
1021
1039
|
width?: any;
|
|
1022
1040
|
};
|
|
1041
|
+
$$type: "stroke";
|
|
1042
|
+
disabled?: boolean | undefined;
|
|
1023
1043
|
};
|
|
1024
1044
|
};
|
|
1025
|
-
schema: z.
|
|
1026
|
-
$$type: z.ZodLiteral<
|
|
1027
|
-
value:
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
color?: any;
|
|
1035
|
-
width?: any;
|
|
1036
|
-
}>;
|
|
1037
|
-
}, "strip", z.ZodTypeAny, {
|
|
1038
|
-
$$type: "stroke";
|
|
1039
|
-
value: {
|
|
1040
|
-
color?: any;
|
|
1041
|
-
width?: any;
|
|
1042
|
-
};
|
|
1043
|
-
}, {
|
|
1044
|
-
$$type: "stroke";
|
|
1045
|
-
value: {
|
|
1046
|
-
color?: any;
|
|
1047
|
-
width?: any;
|
|
1048
|
-
};
|
|
1049
|
-
}>;
|
|
1045
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1046
|
+
$$type: z.ZodLiteral<TKey>;
|
|
1047
|
+
value: TValue;
|
|
1048
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1049
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1050
|
+
$$type: z.ZodLiteral<TKey>;
|
|
1051
|
+
value: TValue;
|
|
1052
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1053
|
+
}>, any>[k]; }>;
|
|
1050
1054
|
};
|
|
1051
1055
|
type StrokePropValue = z.infer<typeof strokePropTypeUtil.schema>;
|
|
1052
1056
|
|
|
1053
1057
|
declare const urlPropTypeUtil: {
|
|
1058
|
+
extract: (prop: unknown) => string | null;
|
|
1054
1059
|
isValid: (prop: unknown) => prop is {
|
|
1060
|
+
value: string | null;
|
|
1055
1061
|
$$type: "url";
|
|
1056
|
-
|
|
1062
|
+
disabled?: boolean | undefined;
|
|
1057
1063
|
};
|
|
1058
1064
|
create: {
|
|
1059
|
-
(value: string): {
|
|
1065
|
+
(value: string | null): {
|
|
1066
|
+
value: string | null;
|
|
1060
1067
|
$$type: "url";
|
|
1061
|
-
|
|
1068
|
+
disabled?: boolean | undefined;
|
|
1062
1069
|
};
|
|
1063
|
-
(value:
|
|
1070
|
+
(value: string | null, createOptions?: CreateOptions): {
|
|
1071
|
+
value: string | null;
|
|
1064
1072
|
$$type: "url";
|
|
1065
|
-
|
|
1073
|
+
disabled?: boolean | undefined;
|
|
1074
|
+
};
|
|
1075
|
+
(value: (prev?: string | null | undefined) => string | null, createOptions: CreateOptions): {
|
|
1076
|
+
value: string | null;
|
|
1077
|
+
$$type: "url";
|
|
1078
|
+
disabled?: boolean | undefined;
|
|
1066
1079
|
};
|
|
1067
1080
|
};
|
|
1068
|
-
schema: z.
|
|
1069
|
-
$$type: z.ZodLiteral<
|
|
1070
|
-
value:
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
}>;
|
|
1081
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1082
|
+
$$type: z.ZodLiteral<TKey>;
|
|
1083
|
+
value: TValue;
|
|
1084
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1085
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1086
|
+
$$type: z.ZodLiteral<TKey>;
|
|
1087
|
+
value: TValue;
|
|
1088
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1089
|
+
}>, any>[k]; }>;
|
|
1078
1090
|
};
|
|
1079
1091
|
type UrlPropValue = z.infer<typeof urlPropTypeUtil.schema>;
|
|
1080
1092
|
|
|
1081
1093
|
declare const colorGradientPropTypeUtil: {
|
|
1094
|
+
extract: (prop: unknown) => {
|
|
1095
|
+
color?: any;
|
|
1096
|
+
} | null;
|
|
1082
1097
|
isValid: (prop: unknown) => prop is {
|
|
1083
|
-
$$type: "background-overlay";
|
|
1084
1098
|
value: {
|
|
1085
1099
|
color?: any;
|
|
1086
1100
|
};
|
|
1101
|
+
$$type: "background-overlay";
|
|
1102
|
+
disabled?: boolean | undefined;
|
|
1087
1103
|
};
|
|
1088
1104
|
create: {
|
|
1089
1105
|
(value: {
|
|
1090
1106
|
color?: any;
|
|
1091
1107
|
}): {
|
|
1108
|
+
value: {
|
|
1109
|
+
color?: any;
|
|
1110
|
+
};
|
|
1092
1111
|
$$type: "background-overlay";
|
|
1112
|
+
disabled?: boolean | undefined;
|
|
1113
|
+
};
|
|
1114
|
+
(value: {
|
|
1115
|
+
color?: any;
|
|
1116
|
+
}, createOptions?: CreateOptions): {
|
|
1093
1117
|
value: {
|
|
1094
1118
|
color?: any;
|
|
1095
1119
|
};
|
|
1120
|
+
$$type: "background-overlay";
|
|
1121
|
+
disabled?: boolean | undefined;
|
|
1096
1122
|
};
|
|
1097
1123
|
(value: (prev?: {
|
|
1098
1124
|
color?: any;
|
|
1099
1125
|
} | undefined) => {
|
|
1100
1126
|
color?: any;
|
|
1101
|
-
},
|
|
1102
|
-
$$type: "background-overlay";
|
|
1127
|
+
}, createOptions: CreateOptions): {
|
|
1103
1128
|
value: {
|
|
1104
1129
|
color?: any;
|
|
1105
1130
|
};
|
|
1131
|
+
$$type: "background-overlay";
|
|
1132
|
+
disabled?: boolean | undefined;
|
|
1106
1133
|
};
|
|
1107
1134
|
};
|
|
1108
|
-
schema: z.
|
|
1109
|
-
$$type: z.ZodLiteral<
|
|
1110
|
-
value:
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
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
|
-
}>;
|
|
1135
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1136
|
+
$$type: z.ZodLiteral<TKey>;
|
|
1137
|
+
value: TValue;
|
|
1138
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1139
|
+
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1140
|
+
$$type: z.ZodLiteral<TKey>;
|
|
1141
|
+
value: TValue;
|
|
1142
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1143
|
+
}>, any>[k]; }>;
|
|
1128
1144
|
};
|
|
1129
1145
|
type ColorGradientPropValue = z.infer<typeof colorGradientPropTypeUtil.schema>;
|
|
1130
1146
|
|
|
1131
1147
|
declare const backgroundImagePropTypeUtil: {
|
|
1148
|
+
extract: (prop: unknown) => {
|
|
1149
|
+
value: {
|
|
1150
|
+
color?: any;
|
|
1151
|
+
};
|
|
1152
|
+
$$type: "background-overlay";
|
|
1153
|
+
disabled?: boolean | undefined;
|
|
1154
|
+
}[] | null;
|
|
1132
1155
|
isValid: (prop: unknown) => prop is {
|
|
1133
|
-
$$type: "background-image";
|
|
1134
1156
|
value: {
|
|
1135
|
-
$$type: "background-overlay";
|
|
1136
1157
|
value: {
|
|
1137
1158
|
color?: any;
|
|
1138
1159
|
};
|
|
1160
|
+
$$type: "background-overlay";
|
|
1161
|
+
disabled?: boolean | undefined;
|
|
1139
1162
|
}[];
|
|
1163
|
+
$$type: "background-image";
|
|
1164
|
+
disabled?: boolean | undefined;
|
|
1140
1165
|
};
|
|
1141
1166
|
create: {
|
|
1142
1167
|
(value: {
|
|
1143
|
-
$$type: "background-overlay";
|
|
1144
1168
|
value: {
|
|
1145
1169
|
color?: any;
|
|
1146
1170
|
};
|
|
1171
|
+
$$type: "background-overlay";
|
|
1172
|
+
disabled?: boolean | undefined;
|
|
1147
1173
|
}[]): {
|
|
1148
|
-
$$type: "background-image";
|
|
1149
1174
|
value: {
|
|
1150
|
-
$$type: "background-overlay";
|
|
1151
1175
|
value: {
|
|
1152
1176
|
color?: any;
|
|
1153
1177
|
};
|
|
1178
|
+
$$type: "background-overlay";
|
|
1179
|
+
disabled?: boolean | undefined;
|
|
1154
1180
|
}[];
|
|
1181
|
+
$$type: "background-image";
|
|
1182
|
+
disabled?: boolean | undefined;
|
|
1155
1183
|
};
|
|
1156
|
-
(value:
|
|
1157
|
-
$$type: "background-overlay";
|
|
1184
|
+
(value: {
|
|
1158
1185
|
value: {
|
|
1159
1186
|
color?: any;
|
|
1160
1187
|
};
|
|
1161
|
-
}[] | undefined) => {
|
|
1162
1188
|
$$type: "background-overlay";
|
|
1189
|
+
disabled?: boolean | undefined;
|
|
1190
|
+
}[], createOptions?: CreateOptions): {
|
|
1163
1191
|
value: {
|
|
1164
|
-
color?: any;
|
|
1165
|
-
};
|
|
1166
|
-
}[], base: unknown): {
|
|
1167
|
-
$$type: "background-image";
|
|
1168
|
-
value: {
|
|
1169
|
-
$$type: "background-overlay";
|
|
1170
1192
|
value: {
|
|
1171
1193
|
color?: any;
|
|
1172
1194
|
};
|
|
1195
|
+
$$type: "background-overlay";
|
|
1196
|
+
disabled?: boolean | undefined;
|
|
1173
1197
|
}[];
|
|
1198
|
+
$$type: "background-image";
|
|
1199
|
+
disabled?: boolean | undefined;
|
|
1174
1200
|
};
|
|
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";
|
|
1201
|
+
(value: (prev?: {
|
|
1194
1202
|
value: {
|
|
1195
1203
|
color?: any;
|
|
1196
1204
|
};
|
|
1197
|
-
}>, "many">;
|
|
1198
|
-
}, "strip", z.ZodTypeAny, {
|
|
1199
|
-
$$type: "background-image";
|
|
1200
|
-
value: {
|
|
1201
1205
|
$$type: "background-overlay";
|
|
1206
|
+
disabled?: boolean | undefined;
|
|
1207
|
+
}[] | undefined) => {
|
|
1202
1208
|
value: {
|
|
1203
1209
|
color?: any;
|
|
1204
1210
|
};
|
|
1205
|
-
}[];
|
|
1206
|
-
}, {
|
|
1207
|
-
$$type: "background-image";
|
|
1208
|
-
value: {
|
|
1209
1211
|
$$type: "background-overlay";
|
|
1212
|
+
disabled?: boolean | undefined;
|
|
1213
|
+
}[], createOptions: CreateOptions): {
|
|
1210
1214
|
value: {
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
* ```ts
|
|
1223
|
-
* const elementsPropUtils = createPropUtils( 'elements', z.array( z.string() ) );
|
|
1224
|
-
*
|
|
1225
|
-
* elementsPropUtils.isValid( element.props?.children );
|
|
1226
|
-
* elementsPropUtils.create( [ 'a', 'b' ] );
|
|
1227
|
-
* elementsPropUtils.create( ( prev = [] ) => [ ...prev, 'c' ], element.props?.children );
|
|
1228
|
-
* ```
|
|
1229
|
-
*/
|
|
1230
|
-
declare function createPropUtils<TKey extends string, TValue extends ZodTypeAny>(key: TKey, valueSchema: TValue): {
|
|
1231
|
-
isValid: (prop: unknown) => prop is { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1215
|
+
value: {
|
|
1216
|
+
color?: any;
|
|
1217
|
+
};
|
|
1218
|
+
$$type: "background-overlay";
|
|
1219
|
+
disabled?: boolean | undefined;
|
|
1220
|
+
}[];
|
|
1221
|
+
$$type: "background-image";
|
|
1222
|
+
disabled?: boolean | undefined;
|
|
1223
|
+
};
|
|
1224
|
+
};
|
|
1225
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1232
1226
|
$$type: z.ZodLiteral<TKey>;
|
|
1233
1227
|
value: TValue;
|
|
1228
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1234
1229
|
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1235
1230
|
$$type: z.ZodLiteral<TKey>;
|
|
1236
1231
|
value: TValue;
|
|
1237
|
-
|
|
1232
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1233
|
+
}>, any>[k]; }>;
|
|
1234
|
+
};
|
|
1235
|
+
type backgroundImageTypePropValue = z.infer<typeof backgroundImagePropTypeUtil.schema>;
|
|
1236
|
+
|
|
1237
|
+
declare const linkPropTypeUtil: {
|
|
1238
|
+
extract: (prop: unknown) => {
|
|
1239
|
+
enabled: boolean;
|
|
1240
|
+
href: {
|
|
1241
|
+
value: string | null;
|
|
1242
|
+
$$type: "url";
|
|
1243
|
+
disabled?: boolean | undefined;
|
|
1244
|
+
};
|
|
1245
|
+
isTargetBlank: boolean;
|
|
1246
|
+
} | null;
|
|
1247
|
+
isValid: (prop: unknown) => prop is {
|
|
1248
|
+
value: {
|
|
1249
|
+
enabled: boolean;
|
|
1250
|
+
href: {
|
|
1251
|
+
value: string | null;
|
|
1252
|
+
$$type: "url";
|
|
1253
|
+
disabled?: boolean | undefined;
|
|
1254
|
+
};
|
|
1255
|
+
isTargetBlank: boolean;
|
|
1256
|
+
};
|
|
1257
|
+
$$type: "link";
|
|
1258
|
+
disabled?: boolean | undefined;
|
|
1259
|
+
};
|
|
1238
1260
|
create: {
|
|
1239
|
-
(value: {
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1261
|
+
(value: {
|
|
1262
|
+
enabled: boolean;
|
|
1263
|
+
href: {
|
|
1264
|
+
value: string | null;
|
|
1265
|
+
$$type: "url";
|
|
1266
|
+
disabled?: boolean | undefined;
|
|
1267
|
+
};
|
|
1268
|
+
isTargetBlank: boolean;
|
|
1269
|
+
}): {
|
|
1270
|
+
value: {
|
|
1271
|
+
enabled: boolean;
|
|
1272
|
+
href: {
|
|
1273
|
+
value: string | null;
|
|
1274
|
+
$$type: "url";
|
|
1275
|
+
disabled?: boolean | undefined;
|
|
1276
|
+
};
|
|
1277
|
+
isTargetBlank: boolean;
|
|
1278
|
+
};
|
|
1279
|
+
$$type: "link";
|
|
1280
|
+
disabled?: boolean | undefined;
|
|
1281
|
+
};
|
|
1282
|
+
(value: {
|
|
1283
|
+
enabled: boolean;
|
|
1284
|
+
href: {
|
|
1285
|
+
value: string | null;
|
|
1286
|
+
$$type: "url";
|
|
1287
|
+
disabled?: boolean | undefined;
|
|
1288
|
+
};
|
|
1289
|
+
isTargetBlank: boolean;
|
|
1290
|
+
}, createOptions?: CreateOptions): {
|
|
1291
|
+
value: {
|
|
1292
|
+
enabled: boolean;
|
|
1293
|
+
href: {
|
|
1294
|
+
value: string | null;
|
|
1295
|
+
$$type: "url";
|
|
1296
|
+
disabled?: boolean | undefined;
|
|
1297
|
+
};
|
|
1298
|
+
isTargetBlank: boolean;
|
|
1299
|
+
};
|
|
1300
|
+
$$type: "link";
|
|
1301
|
+
disabled?: boolean | undefined;
|
|
1302
|
+
};
|
|
1303
|
+
(value: (prev?: {
|
|
1304
|
+
enabled: boolean;
|
|
1305
|
+
href: {
|
|
1306
|
+
value: string | null;
|
|
1307
|
+
$$type: "url";
|
|
1308
|
+
disabled?: boolean | undefined;
|
|
1309
|
+
};
|
|
1310
|
+
isTargetBlank: boolean;
|
|
1311
|
+
} | undefined) => {
|
|
1312
|
+
enabled: boolean;
|
|
1313
|
+
href: {
|
|
1314
|
+
value: string | null;
|
|
1315
|
+
$$type: "url";
|
|
1316
|
+
disabled?: boolean | undefined;
|
|
1317
|
+
};
|
|
1318
|
+
isTargetBlank: boolean;
|
|
1319
|
+
}, createOptions: CreateOptions): {
|
|
1320
|
+
value: {
|
|
1321
|
+
enabled: boolean;
|
|
1322
|
+
href: {
|
|
1323
|
+
value: string | null;
|
|
1324
|
+
$$type: "url";
|
|
1325
|
+
disabled?: boolean | undefined;
|
|
1326
|
+
};
|
|
1327
|
+
isTargetBlank: boolean;
|
|
1328
|
+
};
|
|
1329
|
+
$$type: "link";
|
|
1330
|
+
disabled?: boolean | undefined;
|
|
1331
|
+
};
|
|
1265
1332
|
};
|
|
1266
|
-
schema: z.
|
|
1267
|
-
$$type: z.ZodLiteral<TKey>;
|
|
1268
|
-
value: TValue;
|
|
1269
|
-
}, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1333
|
+
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1270
1334
|
$$type: z.ZodLiteral<TKey>;
|
|
1271
1335
|
value: TValue;
|
|
1336
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1272
1337
|
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
1273
1338
|
$$type: z.ZodLiteral<TKey>;
|
|
1274
1339
|
value: TValue;
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
value: TValue;
|
|
1278
|
-
}>]: z.baseObjectInputType<{
|
|
1279
|
-
$$type: z.ZodLiteral<TKey>;
|
|
1280
|
-
value: TValue;
|
|
1281
|
-
}>[k_1]; }>;
|
|
1340
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1341
|
+
}>, any>[k]; }>;
|
|
1282
1342
|
};
|
|
1343
|
+
type LinkPropValue = z.infer<typeof linkPropTypeUtil.schema>;
|
|
1283
1344
|
|
|
1284
1345
|
declare const transformableSchema: z.ZodObject<{
|
|
1285
1346
|
$$type: z.ZodString;
|
|
@@ -1294,4 +1355,4 @@ declare const transformableSchema: z.ZodObject<{
|
|
|
1294
1355
|
type TransformablePropValue = z.infer<typeof transformableSchema>;
|
|
1295
1356
|
declare const isTransformable: (value: unknown) => value is TransformablePropValue;
|
|
1296
1357
|
|
|
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 };
|
|
1358
|
+
export { type ArrayPropType, type BorderRadiusPropValue, type BorderWidthPropValue, type BoxShadowPropValue, type ClassesPropValue, type ColorGradientPropValue, type ColorPropValue, type CreateOptions, type ImageAttachmentIdPropValue, type ImagePropValue, type ImageSrcPropValue, type LinkPropValue, type LinkedDimensionsPropValue, type NumberPropValue, type ObjectPropType, type PlainPropType, type PlainPropValue, type PlainProps, type PropKey, type PropType, type PropTypeUtil, 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, linkPropTypeUtil, linkedDimensionsPropTypeUtil, numberPropTypeUtil, shadowPropTypeUtil, sizePropTypeUtil, stringPropTypeUtil, strokePropTypeUtil, urlPropTypeUtil };
|