@webstudio-is/sdk 0.235.0 → 0.236.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.
@@ -12,17 +12,17 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
12
12
  type: "string";
13
13
  required: boolean;
14
14
  control: "tag";
15
+ description?: string | undefined;
15
16
  label?: string | undefined;
16
17
  defaultValue?: undefined;
17
- description?: string | undefined;
18
18
  }, {
19
19
  options: string[];
20
20
  type: "string";
21
21
  required: boolean;
22
22
  control: "tag";
23
+ description?: string | undefined;
23
24
  label?: string | undefined;
24
25
  defaultValue?: undefined;
25
- description?: string | undefined;
26
26
  }>, z.ZodObject<{
27
27
  control: z.ZodLiteral<"number">;
28
28
  type: z.ZodLiteral<"number">;
@@ -34,16 +34,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
34
34
  type: "number";
35
35
  required: boolean;
36
36
  control: "number";
37
+ description?: string | undefined;
37
38
  label?: string | undefined;
38
39
  defaultValue?: number | undefined;
39
- description?: string | undefined;
40
40
  }, {
41
41
  type: "number";
42
42
  required: boolean;
43
43
  control: "number";
44
+ description?: string | undefined;
44
45
  label?: string | undefined;
45
46
  defaultValue?: number | undefined;
46
- description?: string | undefined;
47
47
  }>, z.ZodObject<{
48
48
  control: z.ZodLiteral<"range">;
49
49
  type: z.ZodLiteral<"number">;
@@ -55,16 +55,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
55
55
  type: "number";
56
56
  required: boolean;
57
57
  control: "range";
58
+ description?: string | undefined;
58
59
  label?: string | undefined;
59
60
  defaultValue?: number | undefined;
60
- description?: string | undefined;
61
61
  }, {
62
62
  type: "number";
63
63
  required: boolean;
64
64
  control: "range";
65
+ description?: string | undefined;
65
66
  label?: string | undefined;
66
67
  defaultValue?: number | undefined;
67
- description?: string | undefined;
68
68
  }>, z.ZodObject<{
69
69
  control: z.ZodLiteral<"text">;
70
70
  type: z.ZodLiteral<"string">;
@@ -81,17 +81,17 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
81
81
  type: "string";
82
82
  required: boolean;
83
83
  control: "text";
84
+ description?: string | undefined;
84
85
  label?: string | undefined;
85
86
  defaultValue?: string | undefined;
86
- description?: string | undefined;
87
87
  rows?: number | undefined;
88
88
  }, {
89
89
  type: "string";
90
90
  required: boolean;
91
91
  control: "text";
92
+ description?: string | undefined;
92
93
  label?: string | undefined;
93
94
  defaultValue?: string | undefined;
94
- description?: string | undefined;
95
95
  rows?: number | undefined;
96
96
  }>, z.ZodObject<{
97
97
  control: z.ZodLiteral<"resource">;
@@ -104,16 +104,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
104
104
  type: "resource";
105
105
  required: boolean;
106
106
  control: "resource";
107
+ description?: string | undefined;
107
108
  label?: string | undefined;
108
109
  defaultValue?: string | undefined;
109
- description?: string | undefined;
110
110
  }, {
111
111
  type: "resource";
112
112
  required: boolean;
113
113
  control: "resource";
114
+ description?: string | undefined;
114
115
  label?: string | undefined;
115
116
  defaultValue?: string | undefined;
116
- description?: string | undefined;
117
117
  }>, z.ZodObject<{
118
118
  control: z.ZodLiteral<"code">;
119
119
  type: z.ZodLiteral<"string">;
@@ -125,19 +125,19 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
125
125
  }, "strip", z.ZodTypeAny, {
126
126
  type: "string";
127
127
  required: boolean;
128
- control: "code";
129
128
  language: "html" | "markdown";
129
+ control: "code";
130
+ description?: string | undefined;
130
131
  label?: string | undefined;
131
132
  defaultValue?: string | undefined;
132
- description?: string | undefined;
133
133
  }, {
134
134
  type: "string";
135
135
  required: boolean;
136
- control: "code";
137
136
  language: "html" | "markdown";
137
+ control: "code";
138
+ description?: string | undefined;
138
139
  label?: string | undefined;
139
140
  defaultValue?: string | undefined;
140
- description?: string | undefined;
141
141
  }>, z.ZodObject<{
142
142
  control: z.ZodLiteral<"codetext">;
143
143
  type: z.ZodLiteral<"string">;
@@ -149,16 +149,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
149
149
  type: "string";
150
150
  required: boolean;
151
151
  control: "codetext";
152
+ description?: string | undefined;
152
153
  label?: string | undefined;
153
154
  defaultValue?: string | undefined;
154
- description?: string | undefined;
155
155
  }, {
156
156
  type: "string";
157
157
  required: boolean;
158
158
  control: "codetext";
159
+ description?: string | undefined;
159
160
  label?: string | undefined;
160
161
  defaultValue?: string | undefined;
161
- description?: string | undefined;
162
162
  }>, z.ZodObject<{
163
163
  control: z.ZodLiteral<"color">;
164
164
  type: z.ZodLiteral<"string">;
@@ -170,16 +170,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
170
170
  type: "string";
171
171
  required: boolean;
172
172
  control: "color";
173
+ description?: string | undefined;
173
174
  label?: string | undefined;
174
175
  defaultValue?: string | undefined;
175
- description?: string | undefined;
176
176
  }, {
177
177
  type: "string";
178
178
  required: boolean;
179
179
  control: "color";
180
+ description?: string | undefined;
180
181
  label?: string | undefined;
181
182
  defaultValue?: string | undefined;
182
- description?: string | undefined;
183
183
  }>, z.ZodObject<{
184
184
  control: z.ZodLiteral<"boolean">;
185
185
  type: z.ZodLiteral<"boolean">;
@@ -191,16 +191,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
191
191
  type: "boolean";
192
192
  required: boolean;
193
193
  control: "boolean";
194
+ description?: string | undefined;
194
195
  label?: string | undefined;
195
196
  defaultValue?: boolean | undefined;
196
- description?: string | undefined;
197
197
  }, {
198
198
  type: "boolean";
199
199
  required: boolean;
200
200
  control: "boolean";
201
+ description?: string | undefined;
201
202
  label?: string | undefined;
202
203
  defaultValue?: boolean | undefined;
203
- description?: string | undefined;
204
204
  }>, z.ZodObject<{
205
205
  control: z.ZodLiteral<"radio">;
206
206
  type: z.ZodLiteral<"string">;
@@ -214,17 +214,17 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
214
214
  type: "string";
215
215
  required: boolean;
216
216
  control: "radio";
217
+ description?: string | undefined;
217
218
  label?: string | undefined;
218
219
  defaultValue?: string | undefined;
219
- description?: string | undefined;
220
220
  }, {
221
221
  options: string[];
222
222
  type: "string";
223
223
  required: boolean;
224
224
  control: "radio";
225
+ description?: string | undefined;
225
226
  label?: string | undefined;
226
227
  defaultValue?: string | undefined;
227
- description?: string | undefined;
228
228
  }>, z.ZodObject<{
229
229
  control: z.ZodLiteral<"inline-radio">;
230
230
  type: z.ZodLiteral<"string">;
@@ -238,17 +238,17 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
238
238
  type: "string";
239
239
  required: boolean;
240
240
  control: "inline-radio";
241
+ description?: string | undefined;
241
242
  label?: string | undefined;
242
243
  defaultValue?: string | undefined;
243
- description?: string | undefined;
244
244
  }, {
245
245
  options: string[];
246
246
  type: "string";
247
247
  required: boolean;
248
248
  control: "inline-radio";
249
+ description?: string | undefined;
249
250
  label?: string | undefined;
250
251
  defaultValue?: string | undefined;
251
- description?: string | undefined;
252
252
  }>, z.ZodObject<{
253
253
  control: z.ZodLiteral<"select">;
254
254
  type: z.ZodLiteral<"string">;
@@ -262,17 +262,17 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
262
262
  type: "string";
263
263
  required: boolean;
264
264
  control: "select";
265
+ description?: string | undefined;
265
266
  label?: string | undefined;
266
267
  defaultValue?: string | undefined;
267
- description?: string | undefined;
268
268
  }, {
269
269
  options: string[];
270
270
  type: "string";
271
271
  required: boolean;
272
272
  control: "select";
273
+ description?: string | undefined;
273
274
  label?: string | undefined;
274
275
  defaultValue?: string | undefined;
275
- description?: string | undefined;
276
276
  }>, z.ZodObject<{
277
277
  control: z.ZodLiteral<"multi-select">;
278
278
  type: z.ZodLiteral<"string[]">;
@@ -286,17 +286,17 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
286
286
  type: "string[]";
287
287
  required: boolean;
288
288
  control: "multi-select";
289
+ description?: string | undefined;
289
290
  label?: string | undefined;
290
291
  defaultValue?: string[] | undefined;
291
- description?: string | undefined;
292
292
  }, {
293
293
  options: string[];
294
294
  type: "string[]";
295
295
  required: boolean;
296
296
  control: "multi-select";
297
+ description?: string | undefined;
297
298
  label?: string | undefined;
298
299
  defaultValue?: string[] | undefined;
299
- description?: string | undefined;
300
300
  }>, z.ZodObject<{
301
301
  control: z.ZodLiteral<"check">;
302
302
  type: z.ZodLiteral<"string[]">;
@@ -310,17 +310,17 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
310
310
  type: "string[]";
311
311
  required: boolean;
312
312
  control: "check";
313
+ description?: string | undefined;
313
314
  label?: string | undefined;
314
315
  defaultValue?: string[] | undefined;
315
- description?: string | undefined;
316
316
  }, {
317
317
  options: string[];
318
318
  type: "string[]";
319
319
  required: boolean;
320
320
  control: "check";
321
+ description?: string | undefined;
321
322
  label?: string | undefined;
322
323
  defaultValue?: string[] | undefined;
323
- description?: string | undefined;
324
324
  }>, z.ZodObject<{
325
325
  control: z.ZodLiteral<"inline-check">;
326
326
  type: z.ZodLiteral<"string[]">;
@@ -334,17 +334,17 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
334
334
  type: "string[]";
335
335
  required: boolean;
336
336
  control: "inline-check";
337
+ description?: string | undefined;
337
338
  label?: string | undefined;
338
339
  defaultValue?: string[] | undefined;
339
- description?: string | undefined;
340
340
  }, {
341
341
  options: string[];
342
342
  type: "string[]";
343
343
  required: boolean;
344
344
  control: "inline-check";
345
+ description?: string | undefined;
345
346
  label?: string | undefined;
346
347
  defaultValue?: string[] | undefined;
347
- description?: string | undefined;
348
348
  }>, z.ZodObject<{
349
349
  control: z.ZodLiteral<"file">;
350
350
  type: z.ZodLiteral<"string">;
@@ -358,17 +358,17 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
358
358
  type: "string";
359
359
  required: boolean;
360
360
  control: "file";
361
+ description?: string | undefined;
361
362
  label?: string | undefined;
362
363
  defaultValue?: string | undefined;
363
- description?: string | undefined;
364
364
  accept?: string | undefined;
365
365
  }, {
366
366
  type: "string";
367
367
  required: boolean;
368
368
  control: "file";
369
+ description?: string | undefined;
369
370
  label?: string | undefined;
370
371
  defaultValue?: string | undefined;
371
- description?: string | undefined;
372
372
  accept?: string | undefined;
373
373
  }>, z.ZodObject<{
374
374
  control: z.ZodLiteral<"url">;
@@ -381,16 +381,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
381
381
  type: "string";
382
382
  required: boolean;
383
383
  control: "url";
384
+ description?: string | undefined;
384
385
  label?: string | undefined;
385
386
  defaultValue?: string | undefined;
386
- description?: string | undefined;
387
387
  }, {
388
388
  type: "string";
389
389
  required: boolean;
390
390
  control: "url";
391
+ description?: string | undefined;
391
392
  label?: string | undefined;
392
393
  defaultValue?: string | undefined;
393
- description?: string | undefined;
394
394
  }>, z.ZodObject<{
395
395
  control: z.ZodLiteral<"json">;
396
396
  type: z.ZodLiteral<"json">;
@@ -402,16 +402,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
402
402
  type: "json";
403
403
  required: boolean;
404
404
  control: "json";
405
+ description?: string | undefined;
405
406
  label?: string | undefined;
406
407
  defaultValue?: unknown;
407
- description?: string | undefined;
408
408
  }, {
409
409
  type: "json";
410
410
  required: boolean;
411
411
  control: "json";
412
+ description?: string | undefined;
412
413
  label?: string | undefined;
413
414
  defaultValue?: unknown;
414
- description?: string | undefined;
415
415
  }>, z.ZodObject<{
416
416
  control: z.ZodLiteral<"date">;
417
417
  type: z.ZodLiteral<"string">;
@@ -423,16 +423,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
423
423
  type: "string";
424
424
  required: boolean;
425
425
  control: "date";
426
+ description?: string | undefined;
426
427
  label?: string | undefined;
427
428
  defaultValue?: string | undefined;
428
- description?: string | undefined;
429
429
  }, {
430
430
  type: "string";
431
431
  required: boolean;
432
432
  control: "date";
433
+ description?: string | undefined;
433
434
  label?: string | undefined;
434
435
  defaultValue?: string | undefined;
435
- description?: string | undefined;
436
436
  }>, z.ZodObject<{
437
437
  control: z.ZodLiteral<"action">;
438
438
  type: z.ZodLiteral<"action">;
@@ -444,16 +444,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
444
444
  type: "action";
445
445
  required: boolean;
446
446
  control: "action";
447
+ description?: string | undefined;
447
448
  label?: string | undefined;
448
449
  defaultValue?: undefined;
449
- description?: string | undefined;
450
450
  }, {
451
451
  type: "action";
452
452
  required: boolean;
453
453
  control: "action";
454
+ description?: string | undefined;
454
455
  label?: string | undefined;
455
456
  defaultValue?: undefined;
456
- description?: string | undefined;
457
457
  }>, z.ZodObject<{
458
458
  control: z.ZodLiteral<"textContent">;
459
459
  type: z.ZodLiteral<"string">;
@@ -465,16 +465,16 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
465
465
  type: "string";
466
466
  required: boolean;
467
467
  control: "textContent";
468
+ description?: string | undefined;
468
469
  label?: string | undefined;
469
470
  defaultValue?: string | undefined;
470
- description?: string | undefined;
471
471
  }, {
472
472
  type: "string";
473
473
  required: boolean;
474
474
  control: "textContent";
475
+ description?: string | undefined;
475
476
  label?: string | undefined;
476
477
  defaultValue?: string | undefined;
477
- description?: string | undefined;
478
478
  }>, z.ZodObject<{
479
479
  control: z.ZodLiteral<"animationAction">;
480
480
  type: z.ZodLiteral<"animationAction">;
@@ -486,15 +486,15 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
486
486
  type: "animationAction";
487
487
  required: boolean;
488
488
  control: "animationAction";
489
+ description?: string | undefined;
489
490
  label?: string | undefined;
490
491
  defaultValue?: undefined;
491
- description?: string | undefined;
492
492
  }, {
493
493
  type: "animationAction";
494
494
  required: boolean;
495
495
  control: "animationAction";
496
+ description?: string | undefined;
496
497
  label?: string | undefined;
497
498
  defaultValue?: undefined;
498
- description?: string | undefined;
499
499
  }>]>;
500
500
  export type PropMeta = z.infer<typeof PropMeta>;