@makeswift/prop-controllers 0.1.0-canary.5 → 0.1.1-canary.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.
Files changed (101) hide show
  1. package/package.json +1 -1
  2. package/dist/types/border copy/border.d.ts +0 -2435
  3. package/dist/types/border copy/border.d.ts.map +0 -1
  4. package/dist/types/border copy/border.test.d.ts +0 -2
  5. package/dist/types/border copy/border.test.d.ts.map +0 -1
  6. package/dist/types/border copy/index.d.ts +0 -2
  7. package/dist/types/border copy/index.d.ts.map +0 -1
  8. package/dist/types/date/checkbox.test.d.ts +0 -2
  9. package/dist/types/date/checkbox.test.d.ts.map +0 -1
  10. package/dist/types/date copy/date.d.ts +0 -50
  11. package/dist/types/date copy/date.d.ts.map +0 -1
  12. package/dist/types/date copy/date.test.d.ts +0 -2
  13. package/dist/types/date copy/date.test.d.ts.map +0 -1
  14. package/dist/types/date copy/index.d.ts +0 -2
  15. package/dist/types/date copy/index.d.ts.map +0 -1
  16. package/dist/types/deleted.d.ts +0 -1
  17. package/dist/types/deleted.d.ts.map +0 -1
  18. package/dist/types/deteted.d.ts +0 -1
  19. package/dist/types/deteted.d.ts.map +0 -1
  20. package/dist/types/font/border.d.ts +0 -2435
  21. package/dist/types/font/border.d.ts.map +0 -1
  22. package/dist/types/font/border.test.d.ts +0 -2
  23. package/dist/types/font/border.test.d.ts.map +0 -1
  24. package/dist/types/font/date.d.ts +0 -50
  25. package/dist/types/font/date.d.ts.map +0 -1
  26. package/dist/types/font/date.test.d.ts +0 -2
  27. package/dist/types/font/date.test.d.ts.map +0 -1
  28. package/dist/types/gap-x/text-style.d.ts +0 -589
  29. package/dist/types/gap-x/text-style.d.ts.map +0 -1
  30. package/dist/types/gap-x/text-style.test.d.ts +0 -2
  31. package/dist/types/gap-x/text-style.test.d.ts.map +0 -1
  32. package/dist/types/gap-x copy/gap-x.d.ts +0 -177
  33. package/dist/types/gap-x copy/gap-x.d.ts.map +0 -1
  34. package/dist/types/gap-x copy/gap-x.test.d.ts +0 -2
  35. package/dist/types/gap-x copy/gap-x.test.d.ts.map +0 -1
  36. package/dist/types/gap-x copy/index.d.ts +0 -2
  37. package/dist/types/gap-x copy/index.d.ts.map +0 -1
  38. package/dist/types/gap-y/gap-x.d.ts +0 -177
  39. package/dist/types/gap-y/gap-x.d.ts.map +0 -1
  40. package/dist/types/gap-y/gap-x.test.d.ts +0 -2
  41. package/dist/types/gap-y/gap-x.test.d.ts.map +0 -1
  42. package/dist/types/margin/border.d.ts +0 -2435
  43. package/dist/types/margin/border.d.ts.map +0 -1
  44. package/dist/types/margin/border.test.d.ts +0 -2
  45. package/dist/types/margin/border.test.d.ts.map +0 -1
  46. package/dist/types/margin copy/index.d.ts +0 -2
  47. package/dist/types/margin copy/index.d.ts.map +0 -1
  48. package/dist/types/margin copy/margin.d.ts +0 -1026
  49. package/dist/types/margin copy/margin.d.ts.map +0 -1
  50. package/dist/types/margin copy/margin.test.d.ts +0 -2
  51. package/dist/types/margin copy/margin.test.d.ts.map +0 -1
  52. package/dist/types/navigation-links/date.d.ts +0 -50
  53. package/dist/types/navigation-links/date.d.ts.map +0 -1
  54. package/dist/types/navigation-links/date.test.d.ts +0 -2
  55. package/dist/types/navigation-links/date.test.d.ts.map +0 -1
  56. package/dist/types/padding/margin.d.ts +0 -1026
  57. package/dist/types/padding/margin.d.ts.map +0 -1
  58. package/dist/types/padding/margin.test.d.ts +0 -2
  59. package/dist/types/padding/margin.test.d.ts.map +0 -1
  60. package/dist/types/padding copy/index.d.ts +0 -2
  61. package/dist/types/padding copy/index.d.ts.map +0 -1
  62. package/dist/types/padding copy/padding.d.ts +0 -1026
  63. package/dist/types/padding copy/padding.d.ts.map +0 -1
  64. package/dist/types/padding copy/padding.test.d.ts +0 -2
  65. package/dist/types/padding copy/padding.test.d.ts.map +0 -1
  66. package/dist/types/table/date.d.ts +0 -50
  67. package/dist/types/table/date.d.ts.map +0 -1
  68. package/dist/types/table/date.test.d.ts +0 -2
  69. package/dist/types/table/date.test.d.ts.map +0 -1
  70. package/dist/types/text-area/date.d.ts +0 -50
  71. package/dist/types/text-area/date.d.ts.map +0 -1
  72. package/dist/types/text-area/date.test.d.ts +0 -2
  73. package/dist/types/text-area/date.test.d.ts.map +0 -1
  74. package/dist/types/text-style/font.test.d.ts +0 -2
  75. package/dist/types/text-style/font.test.d.ts.map +0 -1
  76. package/dist/types/text-style copy/index.d.ts +0 -2
  77. package/dist/types/text-style copy/index.d.ts.map +0 -1
  78. package/dist/types/text-style copy/text-style.d.ts +0 -589
  79. package/dist/types/text-style copy/text-style.d.ts.map +0 -1
  80. package/dist/types/text-style copy/text-style.test.d.ts +0 -2
  81. package/dist/types/text-style copy/text-style.test.d.ts.map +0 -1
  82. package/dist/types/typeahead/date.d.ts +0 -50
  83. package/dist/types/typeahead/date.d.ts.map +0 -1
  84. package/dist/types/typeahead/date.test.d.ts +0 -2
  85. package/dist/types/typeahead/date.test.d.ts.map +0 -1
  86. package/dist/types/typeahead/index.d.ts +0 -2
  87. package/dist/types/typeahead/index.d.ts.map +0 -1
  88. package/dist/types/typeahead/typeahead.d.ts +0 -50
  89. package/dist/types/typeahead/typeahead.d.ts.map +0 -1
  90. package/dist/types/typeahead/typeahead.test.d.ts +0 -2
  91. package/dist/types/typeahead/typeahead.test.d.ts.map +0 -1
  92. package/dist/types/video/date.d.ts +0 -50
  93. package/dist/types/video/date.d.ts.map +0 -1
  94. package/dist/types/video/date.test.d.ts +0 -2
  95. package/dist/types/video/date.test.d.ts.map +0 -1
  96. package/dist/types/video/font.test.d.ts +0 -2
  97. package/dist/types/video/font.test.d.ts.map +0 -1
  98. package/dist/types/width/padding.d.ts +0 -1026
  99. package/dist/types/width/padding.d.ts.map +0 -1
  100. package/dist/types/width/padding.test.d.ts +0 -2
  101. package/dist/types/width/padding.test.d.ts.map +0 -1
@@ -1,2435 +0,0 @@
1
- import { CopyContext, ResolveOptions, Types } from '../prop-controllers';
2
- import { z } from 'zod';
3
- declare const borderSideDataSchema: z.ZodEffects<z.ZodObject<{
4
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
6
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7
- swatchId: z.ZodString;
8
- alpha: z.ZodNumber;
9
- }, "strip", z.ZodTypeAny, {
10
- swatchId: string;
11
- alpha: number;
12
- }, {
13
- swatchId: string;
14
- alpha: number;
15
- }>>>;
16
- }, "strip", z.ZodTypeAny, {
17
- style: "dashed" | "dotted" | "solid";
18
- width?: number | null | undefined;
19
- color?: {
20
- swatchId: string;
21
- alpha: number;
22
- } | null | undefined;
23
- }, {
24
- style: "dashed" | "dotted" | "solid";
25
- width?: number | null | undefined;
26
- color?: {
27
- swatchId: string;
28
- alpha: number;
29
- } | null | undefined;
30
- }>, {
31
- width: number | null | undefined;
32
- style: "dashed" | "dotted" | "solid";
33
- color?: {
34
- swatchId: string;
35
- alpha: number;
36
- } | null | undefined;
37
- }, {
38
- style: "dashed" | "dotted" | "solid";
39
- width?: number | null | undefined;
40
- color?: {
41
- swatchId: string;
42
- alpha: number;
43
- } | null | undefined;
44
- }>;
45
- export type BorderSideData = z.infer<typeof borderSideDataSchema>;
46
- declare const borderDataSchema: z.ZodEffects<z.ZodObject<{
47
- borderTop: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
48
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
50
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
51
- swatchId: z.ZodString;
52
- alpha: z.ZodNumber;
53
- }, "strip", z.ZodTypeAny, {
54
- swatchId: string;
55
- alpha: number;
56
- }, {
57
- swatchId: string;
58
- alpha: number;
59
- }>>>;
60
- }, "strip", z.ZodTypeAny, {
61
- style: "dashed" | "dotted" | "solid";
62
- width?: number | null | undefined;
63
- color?: {
64
- swatchId: string;
65
- alpha: number;
66
- } | null | undefined;
67
- }, {
68
- style: "dashed" | "dotted" | "solid";
69
- width?: number | null | undefined;
70
- color?: {
71
- swatchId: string;
72
- alpha: number;
73
- } | null | undefined;
74
- }>, {
75
- width: number | null | undefined;
76
- style: "dashed" | "dotted" | "solid";
77
- color?: {
78
- swatchId: string;
79
- alpha: number;
80
- } | null | undefined;
81
- }, {
82
- style: "dashed" | "dotted" | "solid";
83
- width?: number | null | undefined;
84
- color?: {
85
- swatchId: string;
86
- alpha: number;
87
- } | null | undefined;
88
- }>>>;
89
- borderRight: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
90
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
91
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
92
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
93
- swatchId: z.ZodString;
94
- alpha: z.ZodNumber;
95
- }, "strip", z.ZodTypeAny, {
96
- swatchId: string;
97
- alpha: number;
98
- }, {
99
- swatchId: string;
100
- alpha: number;
101
- }>>>;
102
- }, "strip", z.ZodTypeAny, {
103
- style: "dashed" | "dotted" | "solid";
104
- width?: number | null | undefined;
105
- color?: {
106
- swatchId: string;
107
- alpha: number;
108
- } | null | undefined;
109
- }, {
110
- style: "dashed" | "dotted" | "solid";
111
- width?: number | null | undefined;
112
- color?: {
113
- swatchId: string;
114
- alpha: number;
115
- } | null | undefined;
116
- }>, {
117
- width: number | null | undefined;
118
- style: "dashed" | "dotted" | "solid";
119
- color?: {
120
- swatchId: string;
121
- alpha: number;
122
- } | null | undefined;
123
- }, {
124
- style: "dashed" | "dotted" | "solid";
125
- width?: number | null | undefined;
126
- color?: {
127
- swatchId: string;
128
- alpha: number;
129
- } | null | undefined;
130
- }>>>;
131
- borderBottom: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
132
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
133
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
134
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
135
- swatchId: z.ZodString;
136
- alpha: z.ZodNumber;
137
- }, "strip", z.ZodTypeAny, {
138
- swatchId: string;
139
- alpha: number;
140
- }, {
141
- swatchId: string;
142
- alpha: number;
143
- }>>>;
144
- }, "strip", z.ZodTypeAny, {
145
- style: "dashed" | "dotted" | "solid";
146
- width?: number | null | undefined;
147
- color?: {
148
- swatchId: string;
149
- alpha: number;
150
- } | null | undefined;
151
- }, {
152
- style: "dashed" | "dotted" | "solid";
153
- width?: number | null | undefined;
154
- color?: {
155
- swatchId: string;
156
- alpha: number;
157
- } | null | undefined;
158
- }>, {
159
- width: number | null | undefined;
160
- style: "dashed" | "dotted" | "solid";
161
- color?: {
162
- swatchId: string;
163
- alpha: number;
164
- } | null | undefined;
165
- }, {
166
- style: "dashed" | "dotted" | "solid";
167
- width?: number | null | undefined;
168
- color?: {
169
- swatchId: string;
170
- alpha: number;
171
- } | null | undefined;
172
- }>>>;
173
- borderLeft: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
174
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
175
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
176
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
177
- swatchId: z.ZodString;
178
- alpha: z.ZodNumber;
179
- }, "strip", z.ZodTypeAny, {
180
- swatchId: string;
181
- alpha: number;
182
- }, {
183
- swatchId: string;
184
- alpha: number;
185
- }>>>;
186
- }, "strip", z.ZodTypeAny, {
187
- style: "dashed" | "dotted" | "solid";
188
- width?: number | null | undefined;
189
- color?: {
190
- swatchId: string;
191
- alpha: number;
192
- } | null | undefined;
193
- }, {
194
- style: "dashed" | "dotted" | "solid";
195
- width?: number | null | undefined;
196
- color?: {
197
- swatchId: string;
198
- alpha: number;
199
- } | null | undefined;
200
- }>, {
201
- width: number | null | undefined;
202
- style: "dashed" | "dotted" | "solid";
203
- color?: {
204
- swatchId: string;
205
- alpha: number;
206
- } | null | undefined;
207
- }, {
208
- style: "dashed" | "dotted" | "solid";
209
- width?: number | null | undefined;
210
- color?: {
211
- swatchId: string;
212
- alpha: number;
213
- } | null | undefined;
214
- }>>>;
215
- }, "strip", z.ZodTypeAny, {
216
- borderTop?: {
217
- width: number | null | undefined;
218
- style: "dashed" | "dotted" | "solid";
219
- color?: {
220
- swatchId: string;
221
- alpha: number;
222
- } | null | undefined;
223
- } | null | undefined;
224
- borderRight?: {
225
- width: number | null | undefined;
226
- style: "dashed" | "dotted" | "solid";
227
- color?: {
228
- swatchId: string;
229
- alpha: number;
230
- } | null | undefined;
231
- } | null | undefined;
232
- borderBottom?: {
233
- width: number | null | undefined;
234
- style: "dashed" | "dotted" | "solid";
235
- color?: {
236
- swatchId: string;
237
- alpha: number;
238
- } | null | undefined;
239
- } | null | undefined;
240
- borderLeft?: {
241
- width: number | null | undefined;
242
- style: "dashed" | "dotted" | "solid";
243
- color?: {
244
- swatchId: string;
245
- alpha: number;
246
- } | null | undefined;
247
- } | null | undefined;
248
- }, {
249
- borderTop?: {
250
- style: "dashed" | "dotted" | "solid";
251
- width?: number | null | undefined;
252
- color?: {
253
- swatchId: string;
254
- alpha: number;
255
- } | null | undefined;
256
- } | null | undefined;
257
- borderRight?: {
258
- style: "dashed" | "dotted" | "solid";
259
- width?: number | null | undefined;
260
- color?: {
261
- swatchId: string;
262
- alpha: number;
263
- } | null | undefined;
264
- } | null | undefined;
265
- borderBottom?: {
266
- style: "dashed" | "dotted" | "solid";
267
- width?: number | null | undefined;
268
- color?: {
269
- swatchId: string;
270
- alpha: number;
271
- } | null | undefined;
272
- } | null | undefined;
273
- borderLeft?: {
274
- style: "dashed" | "dotted" | "solid";
275
- width?: number | null | undefined;
276
- color?: {
277
- swatchId: string;
278
- alpha: number;
279
- } | null | undefined;
280
- } | null | undefined;
281
- }>, {
282
- borderTop: {
283
- width: number | null | undefined;
284
- style: "dashed" | "dotted" | "solid";
285
- color?: {
286
- swatchId: string;
287
- alpha: number;
288
- } | null | undefined;
289
- } | null | undefined;
290
- borderRight: {
291
- width: number | null | undefined;
292
- style: "dashed" | "dotted" | "solid";
293
- color?: {
294
- swatchId: string;
295
- alpha: number;
296
- } | null | undefined;
297
- } | null | undefined;
298
- borderBottom: {
299
- width: number | null | undefined;
300
- style: "dashed" | "dotted" | "solid";
301
- color?: {
302
- swatchId: string;
303
- alpha: number;
304
- } | null | undefined;
305
- } | null | undefined;
306
- borderLeft: {
307
- width: number | null | undefined;
308
- style: "dashed" | "dotted" | "solid";
309
- color?: {
310
- swatchId: string;
311
- alpha: number;
312
- } | null | undefined;
313
- } | null | undefined;
314
- }, {
315
- borderTop?: {
316
- style: "dashed" | "dotted" | "solid";
317
- width?: number | null | undefined;
318
- color?: {
319
- swatchId: string;
320
- alpha: number;
321
- } | null | undefined;
322
- } | null | undefined;
323
- borderRight?: {
324
- style: "dashed" | "dotted" | "solid";
325
- width?: number | null | undefined;
326
- color?: {
327
- swatchId: string;
328
- alpha: number;
329
- } | null | undefined;
330
- } | null | undefined;
331
- borderBottom?: {
332
- style: "dashed" | "dotted" | "solid";
333
- width?: number | null | undefined;
334
- color?: {
335
- swatchId: string;
336
- alpha: number;
337
- } | null | undefined;
338
- } | null | undefined;
339
- borderLeft?: {
340
- style: "dashed" | "dotted" | "solid";
341
- width?: number | null | undefined;
342
- color?: {
343
- swatchId: string;
344
- alpha: number;
345
- } | null | undefined;
346
- } | null | undefined;
347
- }>;
348
- export type BorderData = z.infer<typeof borderDataSchema>;
349
- declare const responsiveBorderDataSchema: z.ZodArray<z.ZodObject<{
350
- deviceId: z.ZodString;
351
- value: z.ZodEffects<z.ZodObject<{
352
- borderTop: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
353
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
354
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
355
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
356
- swatchId: z.ZodString;
357
- alpha: z.ZodNumber;
358
- }, "strip", z.ZodTypeAny, {
359
- swatchId: string;
360
- alpha: number;
361
- }, {
362
- swatchId: string;
363
- alpha: number;
364
- }>>>;
365
- }, "strip", z.ZodTypeAny, {
366
- style: "dashed" | "dotted" | "solid";
367
- width?: number | null | undefined;
368
- color?: {
369
- swatchId: string;
370
- alpha: number;
371
- } | null | undefined;
372
- }, {
373
- style: "dashed" | "dotted" | "solid";
374
- width?: number | null | undefined;
375
- color?: {
376
- swatchId: string;
377
- alpha: number;
378
- } | null | undefined;
379
- }>, {
380
- width: number | null | undefined;
381
- style: "dashed" | "dotted" | "solid";
382
- color?: {
383
- swatchId: string;
384
- alpha: number;
385
- } | null | undefined;
386
- }, {
387
- style: "dashed" | "dotted" | "solid";
388
- width?: number | null | undefined;
389
- color?: {
390
- swatchId: string;
391
- alpha: number;
392
- } | null | undefined;
393
- }>>>;
394
- borderRight: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
395
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
396
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
397
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
398
- swatchId: z.ZodString;
399
- alpha: z.ZodNumber;
400
- }, "strip", z.ZodTypeAny, {
401
- swatchId: string;
402
- alpha: number;
403
- }, {
404
- swatchId: string;
405
- alpha: number;
406
- }>>>;
407
- }, "strip", z.ZodTypeAny, {
408
- style: "dashed" | "dotted" | "solid";
409
- width?: number | null | undefined;
410
- color?: {
411
- swatchId: string;
412
- alpha: number;
413
- } | null | undefined;
414
- }, {
415
- style: "dashed" | "dotted" | "solid";
416
- width?: number | null | undefined;
417
- color?: {
418
- swatchId: string;
419
- alpha: number;
420
- } | null | undefined;
421
- }>, {
422
- width: number | null | undefined;
423
- style: "dashed" | "dotted" | "solid";
424
- color?: {
425
- swatchId: string;
426
- alpha: number;
427
- } | null | undefined;
428
- }, {
429
- style: "dashed" | "dotted" | "solid";
430
- width?: number | null | undefined;
431
- color?: {
432
- swatchId: string;
433
- alpha: number;
434
- } | null | undefined;
435
- }>>>;
436
- borderBottom: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
437
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
438
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
439
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
440
- swatchId: z.ZodString;
441
- alpha: z.ZodNumber;
442
- }, "strip", z.ZodTypeAny, {
443
- swatchId: string;
444
- alpha: number;
445
- }, {
446
- swatchId: string;
447
- alpha: number;
448
- }>>>;
449
- }, "strip", z.ZodTypeAny, {
450
- style: "dashed" | "dotted" | "solid";
451
- width?: number | null | undefined;
452
- color?: {
453
- swatchId: string;
454
- alpha: number;
455
- } | null | undefined;
456
- }, {
457
- style: "dashed" | "dotted" | "solid";
458
- width?: number | null | undefined;
459
- color?: {
460
- swatchId: string;
461
- alpha: number;
462
- } | null | undefined;
463
- }>, {
464
- width: number | null | undefined;
465
- style: "dashed" | "dotted" | "solid";
466
- color?: {
467
- swatchId: string;
468
- alpha: number;
469
- } | null | undefined;
470
- }, {
471
- style: "dashed" | "dotted" | "solid";
472
- width?: number | null | undefined;
473
- color?: {
474
- swatchId: string;
475
- alpha: number;
476
- } | null | undefined;
477
- }>>>;
478
- borderLeft: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
479
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
480
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
481
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
482
- swatchId: z.ZodString;
483
- alpha: z.ZodNumber;
484
- }, "strip", z.ZodTypeAny, {
485
- swatchId: string;
486
- alpha: number;
487
- }, {
488
- swatchId: string;
489
- alpha: number;
490
- }>>>;
491
- }, "strip", z.ZodTypeAny, {
492
- style: "dashed" | "dotted" | "solid";
493
- width?: number | null | undefined;
494
- color?: {
495
- swatchId: string;
496
- alpha: number;
497
- } | null | undefined;
498
- }, {
499
- style: "dashed" | "dotted" | "solid";
500
- width?: number | null | undefined;
501
- color?: {
502
- swatchId: string;
503
- alpha: number;
504
- } | null | undefined;
505
- }>, {
506
- width: number | null | undefined;
507
- style: "dashed" | "dotted" | "solid";
508
- color?: {
509
- swatchId: string;
510
- alpha: number;
511
- } | null | undefined;
512
- }, {
513
- style: "dashed" | "dotted" | "solid";
514
- width?: number | null | undefined;
515
- color?: {
516
- swatchId: string;
517
- alpha: number;
518
- } | null | undefined;
519
- }>>>;
520
- }, "strip", z.ZodTypeAny, {
521
- borderTop?: {
522
- width: number | null | undefined;
523
- style: "dashed" | "dotted" | "solid";
524
- color?: {
525
- swatchId: string;
526
- alpha: number;
527
- } | null | undefined;
528
- } | null | undefined;
529
- borderRight?: {
530
- width: number | null | undefined;
531
- style: "dashed" | "dotted" | "solid";
532
- color?: {
533
- swatchId: string;
534
- alpha: number;
535
- } | null | undefined;
536
- } | null | undefined;
537
- borderBottom?: {
538
- width: number | null | undefined;
539
- style: "dashed" | "dotted" | "solid";
540
- color?: {
541
- swatchId: string;
542
- alpha: number;
543
- } | null | undefined;
544
- } | null | undefined;
545
- borderLeft?: {
546
- width: number | null | undefined;
547
- style: "dashed" | "dotted" | "solid";
548
- color?: {
549
- swatchId: string;
550
- alpha: number;
551
- } | null | undefined;
552
- } | null | undefined;
553
- }, {
554
- borderTop?: {
555
- style: "dashed" | "dotted" | "solid";
556
- width?: number | null | undefined;
557
- color?: {
558
- swatchId: string;
559
- alpha: number;
560
- } | null | undefined;
561
- } | null | undefined;
562
- borderRight?: {
563
- style: "dashed" | "dotted" | "solid";
564
- width?: number | null | undefined;
565
- color?: {
566
- swatchId: string;
567
- alpha: number;
568
- } | null | undefined;
569
- } | null | undefined;
570
- borderBottom?: {
571
- style: "dashed" | "dotted" | "solid";
572
- width?: number | null | undefined;
573
- color?: {
574
- swatchId: string;
575
- alpha: number;
576
- } | null | undefined;
577
- } | null | undefined;
578
- borderLeft?: {
579
- style: "dashed" | "dotted" | "solid";
580
- width?: number | null | undefined;
581
- color?: {
582
- swatchId: string;
583
- alpha: number;
584
- } | null | undefined;
585
- } | null | undefined;
586
- }>, {
587
- borderTop: {
588
- width: number | null | undefined;
589
- style: "dashed" | "dotted" | "solid";
590
- color?: {
591
- swatchId: string;
592
- alpha: number;
593
- } | null | undefined;
594
- } | null | undefined;
595
- borderRight: {
596
- width: number | null | undefined;
597
- style: "dashed" | "dotted" | "solid";
598
- color?: {
599
- swatchId: string;
600
- alpha: number;
601
- } | null | undefined;
602
- } | null | undefined;
603
- borderBottom: {
604
- width: number | null | undefined;
605
- style: "dashed" | "dotted" | "solid";
606
- color?: {
607
- swatchId: string;
608
- alpha: number;
609
- } | null | undefined;
610
- } | null | undefined;
611
- borderLeft: {
612
- width: number | null | undefined;
613
- style: "dashed" | "dotted" | "solid";
614
- color?: {
615
- swatchId: string;
616
- alpha: number;
617
- } | null | undefined;
618
- } | null | undefined;
619
- }, {
620
- borderTop?: {
621
- style: "dashed" | "dotted" | "solid";
622
- width?: number | null | undefined;
623
- color?: {
624
- swatchId: string;
625
- alpha: number;
626
- } | null | undefined;
627
- } | null | undefined;
628
- borderRight?: {
629
- style: "dashed" | "dotted" | "solid";
630
- width?: number | null | undefined;
631
- color?: {
632
- swatchId: string;
633
- alpha: number;
634
- } | null | undefined;
635
- } | null | undefined;
636
- borderBottom?: {
637
- style: "dashed" | "dotted" | "solid";
638
- width?: number | null | undefined;
639
- color?: {
640
- swatchId: string;
641
- alpha: number;
642
- } | null | undefined;
643
- } | null | undefined;
644
- borderLeft?: {
645
- style: "dashed" | "dotted" | "solid";
646
- width?: number | null | undefined;
647
- color?: {
648
- swatchId: string;
649
- alpha: number;
650
- } | null | undefined;
651
- } | null | undefined;
652
- }>;
653
- }, z.UnknownKeysParam, z.ZodTypeAny, {
654
- value: {
655
- borderTop: {
656
- width: number | null | undefined;
657
- style: "dashed" | "dotted" | "solid";
658
- color?: {
659
- swatchId: string;
660
- alpha: number;
661
- } | null | undefined;
662
- } | null | undefined;
663
- borderRight: {
664
- width: number | null | undefined;
665
- style: "dashed" | "dotted" | "solid";
666
- color?: {
667
- swatchId: string;
668
- alpha: number;
669
- } | null | undefined;
670
- } | null | undefined;
671
- borderBottom: {
672
- width: number | null | undefined;
673
- style: "dashed" | "dotted" | "solid";
674
- color?: {
675
- swatchId: string;
676
- alpha: number;
677
- } | null | undefined;
678
- } | null | undefined;
679
- borderLeft: {
680
- width: number | null | undefined;
681
- style: "dashed" | "dotted" | "solid";
682
- color?: {
683
- swatchId: string;
684
- alpha: number;
685
- } | null | undefined;
686
- } | null | undefined;
687
- };
688
- deviceId: string;
689
- }, {
690
- value: {
691
- borderTop?: {
692
- style: "dashed" | "dotted" | "solid";
693
- width?: number | null | undefined;
694
- color?: {
695
- swatchId: string;
696
- alpha: number;
697
- } | null | undefined;
698
- } | null | undefined;
699
- borderRight?: {
700
- style: "dashed" | "dotted" | "solid";
701
- width?: number | null | undefined;
702
- color?: {
703
- swatchId: string;
704
- alpha: number;
705
- } | null | undefined;
706
- } | null | undefined;
707
- borderBottom?: {
708
- style: "dashed" | "dotted" | "solid";
709
- width?: number | null | undefined;
710
- color?: {
711
- swatchId: string;
712
- alpha: number;
713
- } | null | undefined;
714
- } | null | undefined;
715
- borderLeft?: {
716
- style: "dashed" | "dotted" | "solid";
717
- width?: number | null | undefined;
718
- color?: {
719
- swatchId: string;
720
- alpha: number;
721
- } | null | undefined;
722
- } | null | undefined;
723
- };
724
- deviceId: string;
725
- }>, "many">;
726
- export type ResponsiveBorderData = z.infer<typeof responsiveBorderDataSchema>;
727
- declare const borderPropControllerDataV0Schema: z.ZodArray<z.ZodObject<{
728
- deviceId: z.ZodString;
729
- value: z.ZodEffects<z.ZodObject<{
730
- borderTop: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
731
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
732
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
733
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
734
- swatchId: z.ZodString;
735
- alpha: z.ZodNumber;
736
- }, "strip", z.ZodTypeAny, {
737
- swatchId: string;
738
- alpha: number;
739
- }, {
740
- swatchId: string;
741
- alpha: number;
742
- }>>>;
743
- }, "strip", z.ZodTypeAny, {
744
- style: "dashed" | "dotted" | "solid";
745
- width?: number | null | undefined;
746
- color?: {
747
- swatchId: string;
748
- alpha: number;
749
- } | null | undefined;
750
- }, {
751
- style: "dashed" | "dotted" | "solid";
752
- width?: number | null | undefined;
753
- color?: {
754
- swatchId: string;
755
- alpha: number;
756
- } | null | undefined;
757
- }>, {
758
- width: number | null | undefined;
759
- style: "dashed" | "dotted" | "solid";
760
- color?: {
761
- swatchId: string;
762
- alpha: number;
763
- } | null | undefined;
764
- }, {
765
- style: "dashed" | "dotted" | "solid";
766
- width?: number | null | undefined;
767
- color?: {
768
- swatchId: string;
769
- alpha: number;
770
- } | null | undefined;
771
- }>>>;
772
- borderRight: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
773
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
774
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
775
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
776
- swatchId: z.ZodString;
777
- alpha: z.ZodNumber;
778
- }, "strip", z.ZodTypeAny, {
779
- swatchId: string;
780
- alpha: number;
781
- }, {
782
- swatchId: string;
783
- alpha: number;
784
- }>>>;
785
- }, "strip", z.ZodTypeAny, {
786
- style: "dashed" | "dotted" | "solid";
787
- width?: number | null | undefined;
788
- color?: {
789
- swatchId: string;
790
- alpha: number;
791
- } | null | undefined;
792
- }, {
793
- style: "dashed" | "dotted" | "solid";
794
- width?: number | null | undefined;
795
- color?: {
796
- swatchId: string;
797
- alpha: number;
798
- } | null | undefined;
799
- }>, {
800
- width: number | null | undefined;
801
- style: "dashed" | "dotted" | "solid";
802
- color?: {
803
- swatchId: string;
804
- alpha: number;
805
- } | null | undefined;
806
- }, {
807
- style: "dashed" | "dotted" | "solid";
808
- width?: number | null | undefined;
809
- color?: {
810
- swatchId: string;
811
- alpha: number;
812
- } | null | undefined;
813
- }>>>;
814
- borderBottom: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
815
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
816
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
817
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
818
- swatchId: z.ZodString;
819
- alpha: z.ZodNumber;
820
- }, "strip", z.ZodTypeAny, {
821
- swatchId: string;
822
- alpha: number;
823
- }, {
824
- swatchId: string;
825
- alpha: number;
826
- }>>>;
827
- }, "strip", z.ZodTypeAny, {
828
- style: "dashed" | "dotted" | "solid";
829
- width?: number | null | undefined;
830
- color?: {
831
- swatchId: string;
832
- alpha: number;
833
- } | null | undefined;
834
- }, {
835
- style: "dashed" | "dotted" | "solid";
836
- width?: number | null | undefined;
837
- color?: {
838
- swatchId: string;
839
- alpha: number;
840
- } | null | undefined;
841
- }>, {
842
- width: number | null | undefined;
843
- style: "dashed" | "dotted" | "solid";
844
- color?: {
845
- swatchId: string;
846
- alpha: number;
847
- } | null | undefined;
848
- }, {
849
- style: "dashed" | "dotted" | "solid";
850
- width?: number | null | undefined;
851
- color?: {
852
- swatchId: string;
853
- alpha: number;
854
- } | null | undefined;
855
- }>>>;
856
- borderLeft: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
857
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
858
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
859
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
860
- swatchId: z.ZodString;
861
- alpha: z.ZodNumber;
862
- }, "strip", z.ZodTypeAny, {
863
- swatchId: string;
864
- alpha: number;
865
- }, {
866
- swatchId: string;
867
- alpha: number;
868
- }>>>;
869
- }, "strip", z.ZodTypeAny, {
870
- style: "dashed" | "dotted" | "solid";
871
- width?: number | null | undefined;
872
- color?: {
873
- swatchId: string;
874
- alpha: number;
875
- } | null | undefined;
876
- }, {
877
- style: "dashed" | "dotted" | "solid";
878
- width?: number | null | undefined;
879
- color?: {
880
- swatchId: string;
881
- alpha: number;
882
- } | null | undefined;
883
- }>, {
884
- width: number | null | undefined;
885
- style: "dashed" | "dotted" | "solid";
886
- color?: {
887
- swatchId: string;
888
- alpha: number;
889
- } | null | undefined;
890
- }, {
891
- style: "dashed" | "dotted" | "solid";
892
- width?: number | null | undefined;
893
- color?: {
894
- swatchId: string;
895
- alpha: number;
896
- } | null | undefined;
897
- }>>>;
898
- }, "strip", z.ZodTypeAny, {
899
- borderTop?: {
900
- width: number | null | undefined;
901
- style: "dashed" | "dotted" | "solid";
902
- color?: {
903
- swatchId: string;
904
- alpha: number;
905
- } | null | undefined;
906
- } | null | undefined;
907
- borderRight?: {
908
- width: number | null | undefined;
909
- style: "dashed" | "dotted" | "solid";
910
- color?: {
911
- swatchId: string;
912
- alpha: number;
913
- } | null | undefined;
914
- } | null | undefined;
915
- borderBottom?: {
916
- width: number | null | undefined;
917
- style: "dashed" | "dotted" | "solid";
918
- color?: {
919
- swatchId: string;
920
- alpha: number;
921
- } | null | undefined;
922
- } | null | undefined;
923
- borderLeft?: {
924
- width: number | null | undefined;
925
- style: "dashed" | "dotted" | "solid";
926
- color?: {
927
- swatchId: string;
928
- alpha: number;
929
- } | null | undefined;
930
- } | null | undefined;
931
- }, {
932
- borderTop?: {
933
- style: "dashed" | "dotted" | "solid";
934
- width?: number | null | undefined;
935
- color?: {
936
- swatchId: string;
937
- alpha: number;
938
- } | null | undefined;
939
- } | null | undefined;
940
- borderRight?: {
941
- style: "dashed" | "dotted" | "solid";
942
- width?: number | null | undefined;
943
- color?: {
944
- swatchId: string;
945
- alpha: number;
946
- } | null | undefined;
947
- } | null | undefined;
948
- borderBottom?: {
949
- style: "dashed" | "dotted" | "solid";
950
- width?: number | null | undefined;
951
- color?: {
952
- swatchId: string;
953
- alpha: number;
954
- } | null | undefined;
955
- } | null | undefined;
956
- borderLeft?: {
957
- style: "dashed" | "dotted" | "solid";
958
- width?: number | null | undefined;
959
- color?: {
960
- swatchId: string;
961
- alpha: number;
962
- } | null | undefined;
963
- } | null | undefined;
964
- }>, {
965
- borderTop: {
966
- width: number | null | undefined;
967
- style: "dashed" | "dotted" | "solid";
968
- color?: {
969
- swatchId: string;
970
- alpha: number;
971
- } | null | undefined;
972
- } | null | undefined;
973
- borderRight: {
974
- width: number | null | undefined;
975
- style: "dashed" | "dotted" | "solid";
976
- color?: {
977
- swatchId: string;
978
- alpha: number;
979
- } | null | undefined;
980
- } | null | undefined;
981
- borderBottom: {
982
- width: number | null | undefined;
983
- style: "dashed" | "dotted" | "solid";
984
- color?: {
985
- swatchId: string;
986
- alpha: number;
987
- } | null | undefined;
988
- } | null | undefined;
989
- borderLeft: {
990
- width: number | null | undefined;
991
- style: "dashed" | "dotted" | "solid";
992
- color?: {
993
- swatchId: string;
994
- alpha: number;
995
- } | null | undefined;
996
- } | null | undefined;
997
- }, {
998
- borderTop?: {
999
- style: "dashed" | "dotted" | "solid";
1000
- width?: number | null | undefined;
1001
- color?: {
1002
- swatchId: string;
1003
- alpha: number;
1004
- } | null | undefined;
1005
- } | null | undefined;
1006
- borderRight?: {
1007
- style: "dashed" | "dotted" | "solid";
1008
- width?: number | null | undefined;
1009
- color?: {
1010
- swatchId: string;
1011
- alpha: number;
1012
- } | null | undefined;
1013
- } | null | undefined;
1014
- borderBottom?: {
1015
- style: "dashed" | "dotted" | "solid";
1016
- width?: number | null | undefined;
1017
- color?: {
1018
- swatchId: string;
1019
- alpha: number;
1020
- } | null | undefined;
1021
- } | null | undefined;
1022
- borderLeft?: {
1023
- style: "dashed" | "dotted" | "solid";
1024
- width?: number | null | undefined;
1025
- color?: {
1026
- swatchId: string;
1027
- alpha: number;
1028
- } | null | undefined;
1029
- } | null | undefined;
1030
- }>;
1031
- }, z.UnknownKeysParam, z.ZodTypeAny, {
1032
- value: {
1033
- borderTop: {
1034
- width: number | null | undefined;
1035
- style: "dashed" | "dotted" | "solid";
1036
- color?: {
1037
- swatchId: string;
1038
- alpha: number;
1039
- } | null | undefined;
1040
- } | null | undefined;
1041
- borderRight: {
1042
- width: number | null | undefined;
1043
- style: "dashed" | "dotted" | "solid";
1044
- color?: {
1045
- swatchId: string;
1046
- alpha: number;
1047
- } | null | undefined;
1048
- } | null | undefined;
1049
- borderBottom: {
1050
- width: number | null | undefined;
1051
- style: "dashed" | "dotted" | "solid";
1052
- color?: {
1053
- swatchId: string;
1054
- alpha: number;
1055
- } | null | undefined;
1056
- } | null | undefined;
1057
- borderLeft: {
1058
- width: number | null | undefined;
1059
- style: "dashed" | "dotted" | "solid";
1060
- color?: {
1061
- swatchId: string;
1062
- alpha: number;
1063
- } | null | undefined;
1064
- } | null | undefined;
1065
- };
1066
- deviceId: string;
1067
- }, {
1068
- value: {
1069
- borderTop?: {
1070
- style: "dashed" | "dotted" | "solid";
1071
- width?: number | null | undefined;
1072
- color?: {
1073
- swatchId: string;
1074
- alpha: number;
1075
- } | null | undefined;
1076
- } | null | undefined;
1077
- borderRight?: {
1078
- style: "dashed" | "dotted" | "solid";
1079
- width?: number | null | undefined;
1080
- color?: {
1081
- swatchId: string;
1082
- alpha: number;
1083
- } | null | undefined;
1084
- } | null | undefined;
1085
- borderBottom?: {
1086
- style: "dashed" | "dotted" | "solid";
1087
- width?: number | null | undefined;
1088
- color?: {
1089
- swatchId: string;
1090
- alpha: number;
1091
- } | null | undefined;
1092
- } | null | undefined;
1093
- borderLeft?: {
1094
- style: "dashed" | "dotted" | "solid";
1095
- width?: number | null | undefined;
1096
- color?: {
1097
- swatchId: string;
1098
- alpha: number;
1099
- } | null | undefined;
1100
- } | null | undefined;
1101
- };
1102
- deviceId: string;
1103
- }>, "many">;
1104
- export type BorderPropControllerDataV0 = z.infer<typeof borderPropControllerDataV0Schema>;
1105
- export declare const BorderPropControllerDataV1Type = "prop-controllers::border::v1";
1106
- declare const borderPropControllerDataV1Schema: z.ZodObject<{
1107
- "@@makeswift/type": z.ZodLiteral<"prop-controllers::border::v1">;
1108
- value: z.ZodArray<z.ZodObject<{
1109
- deviceId: z.ZodString;
1110
- value: z.ZodEffects<z.ZodObject<{
1111
- borderTop: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
1112
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1113
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
1114
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1115
- swatchId: z.ZodString;
1116
- alpha: z.ZodNumber;
1117
- }, "strip", z.ZodTypeAny, {
1118
- swatchId: string;
1119
- alpha: number;
1120
- }, {
1121
- swatchId: string;
1122
- alpha: number;
1123
- }>>>;
1124
- }, "strip", z.ZodTypeAny, {
1125
- style: "dashed" | "dotted" | "solid";
1126
- width?: number | null | undefined;
1127
- color?: {
1128
- swatchId: string;
1129
- alpha: number;
1130
- } | null | undefined;
1131
- }, {
1132
- style: "dashed" | "dotted" | "solid";
1133
- width?: number | null | undefined;
1134
- color?: {
1135
- swatchId: string;
1136
- alpha: number;
1137
- } | null | undefined;
1138
- }>, {
1139
- width: number | null | undefined;
1140
- style: "dashed" | "dotted" | "solid";
1141
- color?: {
1142
- swatchId: string;
1143
- alpha: number;
1144
- } | null | undefined;
1145
- }, {
1146
- style: "dashed" | "dotted" | "solid";
1147
- width?: number | null | undefined;
1148
- color?: {
1149
- swatchId: string;
1150
- alpha: number;
1151
- } | null | undefined;
1152
- }>>>;
1153
- borderRight: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
1154
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1155
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
1156
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1157
- swatchId: z.ZodString;
1158
- alpha: z.ZodNumber;
1159
- }, "strip", z.ZodTypeAny, {
1160
- swatchId: string;
1161
- alpha: number;
1162
- }, {
1163
- swatchId: string;
1164
- alpha: number;
1165
- }>>>;
1166
- }, "strip", z.ZodTypeAny, {
1167
- style: "dashed" | "dotted" | "solid";
1168
- width?: number | null | undefined;
1169
- color?: {
1170
- swatchId: string;
1171
- alpha: number;
1172
- } | null | undefined;
1173
- }, {
1174
- style: "dashed" | "dotted" | "solid";
1175
- width?: number | null | undefined;
1176
- color?: {
1177
- swatchId: string;
1178
- alpha: number;
1179
- } | null | undefined;
1180
- }>, {
1181
- width: number | null | undefined;
1182
- style: "dashed" | "dotted" | "solid";
1183
- color?: {
1184
- swatchId: string;
1185
- alpha: number;
1186
- } | null | undefined;
1187
- }, {
1188
- style: "dashed" | "dotted" | "solid";
1189
- width?: number | null | undefined;
1190
- color?: {
1191
- swatchId: string;
1192
- alpha: number;
1193
- } | null | undefined;
1194
- }>>>;
1195
- borderBottom: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
1196
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1197
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
1198
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1199
- swatchId: z.ZodString;
1200
- alpha: z.ZodNumber;
1201
- }, "strip", z.ZodTypeAny, {
1202
- swatchId: string;
1203
- alpha: number;
1204
- }, {
1205
- swatchId: string;
1206
- alpha: number;
1207
- }>>>;
1208
- }, "strip", z.ZodTypeAny, {
1209
- style: "dashed" | "dotted" | "solid";
1210
- width?: number | null | undefined;
1211
- color?: {
1212
- swatchId: string;
1213
- alpha: number;
1214
- } | null | undefined;
1215
- }, {
1216
- style: "dashed" | "dotted" | "solid";
1217
- width?: number | null | undefined;
1218
- color?: {
1219
- swatchId: string;
1220
- alpha: number;
1221
- } | null | undefined;
1222
- }>, {
1223
- width: number | null | undefined;
1224
- style: "dashed" | "dotted" | "solid";
1225
- color?: {
1226
- swatchId: string;
1227
- alpha: number;
1228
- } | null | undefined;
1229
- }, {
1230
- style: "dashed" | "dotted" | "solid";
1231
- width?: number | null | undefined;
1232
- color?: {
1233
- swatchId: string;
1234
- alpha: number;
1235
- } | null | undefined;
1236
- }>>>;
1237
- borderLeft: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
1238
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1239
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
1240
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1241
- swatchId: z.ZodString;
1242
- alpha: z.ZodNumber;
1243
- }, "strip", z.ZodTypeAny, {
1244
- swatchId: string;
1245
- alpha: number;
1246
- }, {
1247
- swatchId: string;
1248
- alpha: number;
1249
- }>>>;
1250
- }, "strip", z.ZodTypeAny, {
1251
- style: "dashed" | "dotted" | "solid";
1252
- width?: number | null | undefined;
1253
- color?: {
1254
- swatchId: string;
1255
- alpha: number;
1256
- } | null | undefined;
1257
- }, {
1258
- style: "dashed" | "dotted" | "solid";
1259
- width?: number | null | undefined;
1260
- color?: {
1261
- swatchId: string;
1262
- alpha: number;
1263
- } | null | undefined;
1264
- }>, {
1265
- width: number | null | undefined;
1266
- style: "dashed" | "dotted" | "solid";
1267
- color?: {
1268
- swatchId: string;
1269
- alpha: number;
1270
- } | null | undefined;
1271
- }, {
1272
- style: "dashed" | "dotted" | "solid";
1273
- width?: number | null | undefined;
1274
- color?: {
1275
- swatchId: string;
1276
- alpha: number;
1277
- } | null | undefined;
1278
- }>>>;
1279
- }, "strip", z.ZodTypeAny, {
1280
- borderTop?: {
1281
- width: number | null | undefined;
1282
- style: "dashed" | "dotted" | "solid";
1283
- color?: {
1284
- swatchId: string;
1285
- alpha: number;
1286
- } | null | undefined;
1287
- } | null | undefined;
1288
- borderRight?: {
1289
- width: number | null | undefined;
1290
- style: "dashed" | "dotted" | "solid";
1291
- color?: {
1292
- swatchId: string;
1293
- alpha: number;
1294
- } | null | undefined;
1295
- } | null | undefined;
1296
- borderBottom?: {
1297
- width: number | null | undefined;
1298
- style: "dashed" | "dotted" | "solid";
1299
- color?: {
1300
- swatchId: string;
1301
- alpha: number;
1302
- } | null | undefined;
1303
- } | null | undefined;
1304
- borderLeft?: {
1305
- width: number | null | undefined;
1306
- style: "dashed" | "dotted" | "solid";
1307
- color?: {
1308
- swatchId: string;
1309
- alpha: number;
1310
- } | null | undefined;
1311
- } | null | undefined;
1312
- }, {
1313
- borderTop?: {
1314
- style: "dashed" | "dotted" | "solid";
1315
- width?: number | null | undefined;
1316
- color?: {
1317
- swatchId: string;
1318
- alpha: number;
1319
- } | null | undefined;
1320
- } | null | undefined;
1321
- borderRight?: {
1322
- style: "dashed" | "dotted" | "solid";
1323
- width?: number | null | undefined;
1324
- color?: {
1325
- swatchId: string;
1326
- alpha: number;
1327
- } | null | undefined;
1328
- } | null | undefined;
1329
- borderBottom?: {
1330
- style: "dashed" | "dotted" | "solid";
1331
- width?: number | null | undefined;
1332
- color?: {
1333
- swatchId: string;
1334
- alpha: number;
1335
- } | null | undefined;
1336
- } | null | undefined;
1337
- borderLeft?: {
1338
- style: "dashed" | "dotted" | "solid";
1339
- width?: number | null | undefined;
1340
- color?: {
1341
- swatchId: string;
1342
- alpha: number;
1343
- } | null | undefined;
1344
- } | null | undefined;
1345
- }>, {
1346
- borderTop: {
1347
- width: number | null | undefined;
1348
- style: "dashed" | "dotted" | "solid";
1349
- color?: {
1350
- swatchId: string;
1351
- alpha: number;
1352
- } | null | undefined;
1353
- } | null | undefined;
1354
- borderRight: {
1355
- width: number | null | undefined;
1356
- style: "dashed" | "dotted" | "solid";
1357
- color?: {
1358
- swatchId: string;
1359
- alpha: number;
1360
- } | null | undefined;
1361
- } | null | undefined;
1362
- borderBottom: {
1363
- width: number | null | undefined;
1364
- style: "dashed" | "dotted" | "solid";
1365
- color?: {
1366
- swatchId: string;
1367
- alpha: number;
1368
- } | null | undefined;
1369
- } | null | undefined;
1370
- borderLeft: {
1371
- width: number | null | undefined;
1372
- style: "dashed" | "dotted" | "solid";
1373
- color?: {
1374
- swatchId: string;
1375
- alpha: number;
1376
- } | null | undefined;
1377
- } | null | undefined;
1378
- }, {
1379
- borderTop?: {
1380
- style: "dashed" | "dotted" | "solid";
1381
- width?: number | null | undefined;
1382
- color?: {
1383
- swatchId: string;
1384
- alpha: number;
1385
- } | null | undefined;
1386
- } | null | undefined;
1387
- borderRight?: {
1388
- style: "dashed" | "dotted" | "solid";
1389
- width?: number | null | undefined;
1390
- color?: {
1391
- swatchId: string;
1392
- alpha: number;
1393
- } | null | undefined;
1394
- } | null | undefined;
1395
- borderBottom?: {
1396
- style: "dashed" | "dotted" | "solid";
1397
- width?: number | null | undefined;
1398
- color?: {
1399
- swatchId: string;
1400
- alpha: number;
1401
- } | null | undefined;
1402
- } | null | undefined;
1403
- borderLeft?: {
1404
- style: "dashed" | "dotted" | "solid";
1405
- width?: number | null | undefined;
1406
- color?: {
1407
- swatchId: string;
1408
- alpha: number;
1409
- } | null | undefined;
1410
- } | null | undefined;
1411
- }>;
1412
- }, z.UnknownKeysParam, z.ZodTypeAny, {
1413
- value: {
1414
- borderTop: {
1415
- width: number | null | undefined;
1416
- style: "dashed" | "dotted" | "solid";
1417
- color?: {
1418
- swatchId: string;
1419
- alpha: number;
1420
- } | null | undefined;
1421
- } | null | undefined;
1422
- borderRight: {
1423
- width: number | null | undefined;
1424
- style: "dashed" | "dotted" | "solid";
1425
- color?: {
1426
- swatchId: string;
1427
- alpha: number;
1428
- } | null | undefined;
1429
- } | null | undefined;
1430
- borderBottom: {
1431
- width: number | null | undefined;
1432
- style: "dashed" | "dotted" | "solid";
1433
- color?: {
1434
- swatchId: string;
1435
- alpha: number;
1436
- } | null | undefined;
1437
- } | null | undefined;
1438
- borderLeft: {
1439
- width: number | null | undefined;
1440
- style: "dashed" | "dotted" | "solid";
1441
- color?: {
1442
- swatchId: string;
1443
- alpha: number;
1444
- } | null | undefined;
1445
- } | null | undefined;
1446
- };
1447
- deviceId: string;
1448
- }, {
1449
- value: {
1450
- borderTop?: {
1451
- style: "dashed" | "dotted" | "solid";
1452
- width?: number | null | undefined;
1453
- color?: {
1454
- swatchId: string;
1455
- alpha: number;
1456
- } | null | undefined;
1457
- } | null | undefined;
1458
- borderRight?: {
1459
- style: "dashed" | "dotted" | "solid";
1460
- width?: number | null | undefined;
1461
- color?: {
1462
- swatchId: string;
1463
- alpha: number;
1464
- } | null | undefined;
1465
- } | null | undefined;
1466
- borderBottom?: {
1467
- style: "dashed" | "dotted" | "solid";
1468
- width?: number | null | undefined;
1469
- color?: {
1470
- swatchId: string;
1471
- alpha: number;
1472
- } | null | undefined;
1473
- } | null | undefined;
1474
- borderLeft?: {
1475
- style: "dashed" | "dotted" | "solid";
1476
- width?: number | null | undefined;
1477
- color?: {
1478
- swatchId: string;
1479
- alpha: number;
1480
- } | null | undefined;
1481
- } | null | undefined;
1482
- };
1483
- deviceId: string;
1484
- }>, "many">;
1485
- }, "strip", z.ZodTypeAny, {
1486
- value: {
1487
- value: {
1488
- borderTop: {
1489
- width: number | null | undefined;
1490
- style: "dashed" | "dotted" | "solid";
1491
- color?: {
1492
- swatchId: string;
1493
- alpha: number;
1494
- } | null | undefined;
1495
- } | null | undefined;
1496
- borderRight: {
1497
- width: number | null | undefined;
1498
- style: "dashed" | "dotted" | "solid";
1499
- color?: {
1500
- swatchId: string;
1501
- alpha: number;
1502
- } | null | undefined;
1503
- } | null | undefined;
1504
- borderBottom: {
1505
- width: number | null | undefined;
1506
- style: "dashed" | "dotted" | "solid";
1507
- color?: {
1508
- swatchId: string;
1509
- alpha: number;
1510
- } | null | undefined;
1511
- } | null | undefined;
1512
- borderLeft: {
1513
- width: number | null | undefined;
1514
- style: "dashed" | "dotted" | "solid";
1515
- color?: {
1516
- swatchId: string;
1517
- alpha: number;
1518
- } | null | undefined;
1519
- } | null | undefined;
1520
- };
1521
- deviceId: string;
1522
- }[];
1523
- "@@makeswift/type": "prop-controllers::border::v1";
1524
- }, {
1525
- value: {
1526
- value: {
1527
- borderTop?: {
1528
- style: "dashed" | "dotted" | "solid";
1529
- width?: number | null | undefined;
1530
- color?: {
1531
- swatchId: string;
1532
- alpha: number;
1533
- } | null | undefined;
1534
- } | null | undefined;
1535
- borderRight?: {
1536
- style: "dashed" | "dotted" | "solid";
1537
- width?: number | null | undefined;
1538
- color?: {
1539
- swatchId: string;
1540
- alpha: number;
1541
- } | null | undefined;
1542
- } | null | undefined;
1543
- borderBottom?: {
1544
- style: "dashed" | "dotted" | "solid";
1545
- width?: number | null | undefined;
1546
- color?: {
1547
- swatchId: string;
1548
- alpha: number;
1549
- } | null | undefined;
1550
- } | null | undefined;
1551
- borderLeft?: {
1552
- style: "dashed" | "dotted" | "solid";
1553
- width?: number | null | undefined;
1554
- color?: {
1555
- swatchId: string;
1556
- alpha: number;
1557
- } | null | undefined;
1558
- } | null | undefined;
1559
- };
1560
- deviceId: string;
1561
- }[];
1562
- "@@makeswift/type": "prop-controllers::border::v1";
1563
- }>;
1564
- export type BorderPropControllerDataV1 = z.infer<typeof borderPropControllerDataV1Schema>;
1565
- export declare const borderPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.ZodObject<{
1566
- deviceId: z.ZodString;
1567
- value: z.ZodEffects<z.ZodObject<{
1568
- borderTop: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
1569
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1570
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
1571
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1572
- swatchId: z.ZodString;
1573
- alpha: z.ZodNumber;
1574
- }, "strip", z.ZodTypeAny, {
1575
- swatchId: string;
1576
- alpha: number;
1577
- }, {
1578
- swatchId: string;
1579
- alpha: number;
1580
- }>>>;
1581
- }, "strip", z.ZodTypeAny, {
1582
- style: "dashed" | "dotted" | "solid";
1583
- width?: number | null | undefined;
1584
- color?: {
1585
- swatchId: string;
1586
- alpha: number;
1587
- } | null | undefined;
1588
- }, {
1589
- style: "dashed" | "dotted" | "solid";
1590
- width?: number | null | undefined;
1591
- color?: {
1592
- swatchId: string;
1593
- alpha: number;
1594
- } | null | undefined;
1595
- }>, {
1596
- width: number | null | undefined;
1597
- style: "dashed" | "dotted" | "solid";
1598
- color?: {
1599
- swatchId: string;
1600
- alpha: number;
1601
- } | null | undefined;
1602
- }, {
1603
- style: "dashed" | "dotted" | "solid";
1604
- width?: number | null | undefined;
1605
- color?: {
1606
- swatchId: string;
1607
- alpha: number;
1608
- } | null | undefined;
1609
- }>>>;
1610
- borderRight: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
1611
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1612
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
1613
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1614
- swatchId: z.ZodString;
1615
- alpha: z.ZodNumber;
1616
- }, "strip", z.ZodTypeAny, {
1617
- swatchId: string;
1618
- alpha: number;
1619
- }, {
1620
- swatchId: string;
1621
- alpha: number;
1622
- }>>>;
1623
- }, "strip", z.ZodTypeAny, {
1624
- style: "dashed" | "dotted" | "solid";
1625
- width?: number | null | undefined;
1626
- color?: {
1627
- swatchId: string;
1628
- alpha: number;
1629
- } | null | undefined;
1630
- }, {
1631
- style: "dashed" | "dotted" | "solid";
1632
- width?: number | null | undefined;
1633
- color?: {
1634
- swatchId: string;
1635
- alpha: number;
1636
- } | null | undefined;
1637
- }>, {
1638
- width: number | null | undefined;
1639
- style: "dashed" | "dotted" | "solid";
1640
- color?: {
1641
- swatchId: string;
1642
- alpha: number;
1643
- } | null | undefined;
1644
- }, {
1645
- style: "dashed" | "dotted" | "solid";
1646
- width?: number | null | undefined;
1647
- color?: {
1648
- swatchId: string;
1649
- alpha: number;
1650
- } | null | undefined;
1651
- }>>>;
1652
- borderBottom: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
1653
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1654
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
1655
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1656
- swatchId: z.ZodString;
1657
- alpha: z.ZodNumber;
1658
- }, "strip", z.ZodTypeAny, {
1659
- swatchId: string;
1660
- alpha: number;
1661
- }, {
1662
- swatchId: string;
1663
- alpha: number;
1664
- }>>>;
1665
- }, "strip", z.ZodTypeAny, {
1666
- style: "dashed" | "dotted" | "solid";
1667
- width?: number | null | undefined;
1668
- color?: {
1669
- swatchId: string;
1670
- alpha: number;
1671
- } | null | undefined;
1672
- }, {
1673
- style: "dashed" | "dotted" | "solid";
1674
- width?: number | null | undefined;
1675
- color?: {
1676
- swatchId: string;
1677
- alpha: number;
1678
- } | null | undefined;
1679
- }>, {
1680
- width: number | null | undefined;
1681
- style: "dashed" | "dotted" | "solid";
1682
- color?: {
1683
- swatchId: string;
1684
- alpha: number;
1685
- } | null | undefined;
1686
- }, {
1687
- style: "dashed" | "dotted" | "solid";
1688
- width?: number | null | undefined;
1689
- color?: {
1690
- swatchId: string;
1691
- alpha: number;
1692
- } | null | undefined;
1693
- }>>>;
1694
- borderLeft: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
1695
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1696
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
1697
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1698
- swatchId: z.ZodString;
1699
- alpha: z.ZodNumber;
1700
- }, "strip", z.ZodTypeAny, {
1701
- swatchId: string;
1702
- alpha: number;
1703
- }, {
1704
- swatchId: string;
1705
- alpha: number;
1706
- }>>>;
1707
- }, "strip", z.ZodTypeAny, {
1708
- style: "dashed" | "dotted" | "solid";
1709
- width?: number | null | undefined;
1710
- color?: {
1711
- swatchId: string;
1712
- alpha: number;
1713
- } | null | undefined;
1714
- }, {
1715
- style: "dashed" | "dotted" | "solid";
1716
- width?: number | null | undefined;
1717
- color?: {
1718
- swatchId: string;
1719
- alpha: number;
1720
- } | null | undefined;
1721
- }>, {
1722
- width: number | null | undefined;
1723
- style: "dashed" | "dotted" | "solid";
1724
- color?: {
1725
- swatchId: string;
1726
- alpha: number;
1727
- } | null | undefined;
1728
- }, {
1729
- style: "dashed" | "dotted" | "solid";
1730
- width?: number | null | undefined;
1731
- color?: {
1732
- swatchId: string;
1733
- alpha: number;
1734
- } | null | undefined;
1735
- }>>>;
1736
- }, "strip", z.ZodTypeAny, {
1737
- borderTop?: {
1738
- width: number | null | undefined;
1739
- style: "dashed" | "dotted" | "solid";
1740
- color?: {
1741
- swatchId: string;
1742
- alpha: number;
1743
- } | null | undefined;
1744
- } | null | undefined;
1745
- borderRight?: {
1746
- width: number | null | undefined;
1747
- style: "dashed" | "dotted" | "solid";
1748
- color?: {
1749
- swatchId: string;
1750
- alpha: number;
1751
- } | null | undefined;
1752
- } | null | undefined;
1753
- borderBottom?: {
1754
- width: number | null | undefined;
1755
- style: "dashed" | "dotted" | "solid";
1756
- color?: {
1757
- swatchId: string;
1758
- alpha: number;
1759
- } | null | undefined;
1760
- } | null | undefined;
1761
- borderLeft?: {
1762
- width: number | null | undefined;
1763
- style: "dashed" | "dotted" | "solid";
1764
- color?: {
1765
- swatchId: string;
1766
- alpha: number;
1767
- } | null | undefined;
1768
- } | null | undefined;
1769
- }, {
1770
- borderTop?: {
1771
- style: "dashed" | "dotted" | "solid";
1772
- width?: number | null | undefined;
1773
- color?: {
1774
- swatchId: string;
1775
- alpha: number;
1776
- } | null | undefined;
1777
- } | null | undefined;
1778
- borderRight?: {
1779
- style: "dashed" | "dotted" | "solid";
1780
- width?: number | null | undefined;
1781
- color?: {
1782
- swatchId: string;
1783
- alpha: number;
1784
- } | null | undefined;
1785
- } | null | undefined;
1786
- borderBottom?: {
1787
- style: "dashed" | "dotted" | "solid";
1788
- width?: number | null | undefined;
1789
- color?: {
1790
- swatchId: string;
1791
- alpha: number;
1792
- } | null | undefined;
1793
- } | null | undefined;
1794
- borderLeft?: {
1795
- style: "dashed" | "dotted" | "solid";
1796
- width?: number | null | undefined;
1797
- color?: {
1798
- swatchId: string;
1799
- alpha: number;
1800
- } | null | undefined;
1801
- } | null | undefined;
1802
- }>, {
1803
- borderTop: {
1804
- width: number | null | undefined;
1805
- style: "dashed" | "dotted" | "solid";
1806
- color?: {
1807
- swatchId: string;
1808
- alpha: number;
1809
- } | null | undefined;
1810
- } | null | undefined;
1811
- borderRight: {
1812
- width: number | null | undefined;
1813
- style: "dashed" | "dotted" | "solid";
1814
- color?: {
1815
- swatchId: string;
1816
- alpha: number;
1817
- } | null | undefined;
1818
- } | null | undefined;
1819
- borderBottom: {
1820
- width: number | null | undefined;
1821
- style: "dashed" | "dotted" | "solid";
1822
- color?: {
1823
- swatchId: string;
1824
- alpha: number;
1825
- } | null | undefined;
1826
- } | null | undefined;
1827
- borderLeft: {
1828
- width: number | null | undefined;
1829
- style: "dashed" | "dotted" | "solid";
1830
- color?: {
1831
- swatchId: string;
1832
- alpha: number;
1833
- } | null | undefined;
1834
- } | null | undefined;
1835
- }, {
1836
- borderTop?: {
1837
- style: "dashed" | "dotted" | "solid";
1838
- width?: number | null | undefined;
1839
- color?: {
1840
- swatchId: string;
1841
- alpha: number;
1842
- } | null | undefined;
1843
- } | null | undefined;
1844
- borderRight?: {
1845
- style: "dashed" | "dotted" | "solid";
1846
- width?: number | null | undefined;
1847
- color?: {
1848
- swatchId: string;
1849
- alpha: number;
1850
- } | null | undefined;
1851
- } | null | undefined;
1852
- borderBottom?: {
1853
- style: "dashed" | "dotted" | "solid";
1854
- width?: number | null | undefined;
1855
- color?: {
1856
- swatchId: string;
1857
- alpha: number;
1858
- } | null | undefined;
1859
- } | null | undefined;
1860
- borderLeft?: {
1861
- style: "dashed" | "dotted" | "solid";
1862
- width?: number | null | undefined;
1863
- color?: {
1864
- swatchId: string;
1865
- alpha: number;
1866
- } | null | undefined;
1867
- } | null | undefined;
1868
- }>;
1869
- }, z.UnknownKeysParam, z.ZodTypeAny, {
1870
- value: {
1871
- borderTop: {
1872
- width: number | null | undefined;
1873
- style: "dashed" | "dotted" | "solid";
1874
- color?: {
1875
- swatchId: string;
1876
- alpha: number;
1877
- } | null | undefined;
1878
- } | null | undefined;
1879
- borderRight: {
1880
- width: number | null | undefined;
1881
- style: "dashed" | "dotted" | "solid";
1882
- color?: {
1883
- swatchId: string;
1884
- alpha: number;
1885
- } | null | undefined;
1886
- } | null | undefined;
1887
- borderBottom: {
1888
- width: number | null | undefined;
1889
- style: "dashed" | "dotted" | "solid";
1890
- color?: {
1891
- swatchId: string;
1892
- alpha: number;
1893
- } | null | undefined;
1894
- } | null | undefined;
1895
- borderLeft: {
1896
- width: number | null | undefined;
1897
- style: "dashed" | "dotted" | "solid";
1898
- color?: {
1899
- swatchId: string;
1900
- alpha: number;
1901
- } | null | undefined;
1902
- } | null | undefined;
1903
- };
1904
- deviceId: string;
1905
- }, {
1906
- value: {
1907
- borderTop?: {
1908
- style: "dashed" | "dotted" | "solid";
1909
- width?: number | null | undefined;
1910
- color?: {
1911
- swatchId: string;
1912
- alpha: number;
1913
- } | null | undefined;
1914
- } | null | undefined;
1915
- borderRight?: {
1916
- style: "dashed" | "dotted" | "solid";
1917
- width?: number | null | undefined;
1918
- color?: {
1919
- swatchId: string;
1920
- alpha: number;
1921
- } | null | undefined;
1922
- } | null | undefined;
1923
- borderBottom?: {
1924
- style: "dashed" | "dotted" | "solid";
1925
- width?: number | null | undefined;
1926
- color?: {
1927
- swatchId: string;
1928
- alpha: number;
1929
- } | null | undefined;
1930
- } | null | undefined;
1931
- borderLeft?: {
1932
- style: "dashed" | "dotted" | "solid";
1933
- width?: number | null | undefined;
1934
- color?: {
1935
- swatchId: string;
1936
- alpha: number;
1937
- } | null | undefined;
1938
- } | null | undefined;
1939
- };
1940
- deviceId: string;
1941
- }>, "many">, z.ZodObject<{
1942
- "@@makeswift/type": z.ZodLiteral<"prop-controllers::border::v1">;
1943
- value: z.ZodArray<z.ZodObject<{
1944
- deviceId: z.ZodString;
1945
- value: z.ZodEffects<z.ZodObject<{
1946
- borderTop: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
1947
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1948
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
1949
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1950
- swatchId: z.ZodString;
1951
- alpha: z.ZodNumber;
1952
- }, "strip", z.ZodTypeAny, {
1953
- swatchId: string;
1954
- alpha: number;
1955
- }, {
1956
- swatchId: string;
1957
- alpha: number;
1958
- }>>>;
1959
- }, "strip", z.ZodTypeAny, {
1960
- style: "dashed" | "dotted" | "solid";
1961
- width?: number | null | undefined;
1962
- color?: {
1963
- swatchId: string;
1964
- alpha: number;
1965
- } | null | undefined;
1966
- }, {
1967
- style: "dashed" | "dotted" | "solid";
1968
- width?: number | null | undefined;
1969
- color?: {
1970
- swatchId: string;
1971
- alpha: number;
1972
- } | null | undefined;
1973
- }>, {
1974
- width: number | null | undefined;
1975
- style: "dashed" | "dotted" | "solid";
1976
- color?: {
1977
- swatchId: string;
1978
- alpha: number;
1979
- } | null | undefined;
1980
- }, {
1981
- style: "dashed" | "dotted" | "solid";
1982
- width?: number | null | undefined;
1983
- color?: {
1984
- swatchId: string;
1985
- alpha: number;
1986
- } | null | undefined;
1987
- }>>>;
1988
- borderRight: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
1989
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1990
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
1991
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1992
- swatchId: z.ZodString;
1993
- alpha: z.ZodNumber;
1994
- }, "strip", z.ZodTypeAny, {
1995
- swatchId: string;
1996
- alpha: number;
1997
- }, {
1998
- swatchId: string;
1999
- alpha: number;
2000
- }>>>;
2001
- }, "strip", z.ZodTypeAny, {
2002
- style: "dashed" | "dotted" | "solid";
2003
- width?: number | null | undefined;
2004
- color?: {
2005
- swatchId: string;
2006
- alpha: number;
2007
- } | null | undefined;
2008
- }, {
2009
- style: "dashed" | "dotted" | "solid";
2010
- width?: number | null | undefined;
2011
- color?: {
2012
- swatchId: string;
2013
- alpha: number;
2014
- } | null | undefined;
2015
- }>, {
2016
- width: number | null | undefined;
2017
- style: "dashed" | "dotted" | "solid";
2018
- color?: {
2019
- swatchId: string;
2020
- alpha: number;
2021
- } | null | undefined;
2022
- }, {
2023
- style: "dashed" | "dotted" | "solid";
2024
- width?: number | null | undefined;
2025
- color?: {
2026
- swatchId: string;
2027
- alpha: number;
2028
- } | null | undefined;
2029
- }>>>;
2030
- borderBottom: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
2031
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2032
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
2033
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2034
- swatchId: z.ZodString;
2035
- alpha: z.ZodNumber;
2036
- }, "strip", z.ZodTypeAny, {
2037
- swatchId: string;
2038
- alpha: number;
2039
- }, {
2040
- swatchId: string;
2041
- alpha: number;
2042
- }>>>;
2043
- }, "strip", z.ZodTypeAny, {
2044
- style: "dashed" | "dotted" | "solid";
2045
- width?: number | null | undefined;
2046
- color?: {
2047
- swatchId: string;
2048
- alpha: number;
2049
- } | null | undefined;
2050
- }, {
2051
- style: "dashed" | "dotted" | "solid";
2052
- width?: number | null | undefined;
2053
- color?: {
2054
- swatchId: string;
2055
- alpha: number;
2056
- } | null | undefined;
2057
- }>, {
2058
- width: number | null | undefined;
2059
- style: "dashed" | "dotted" | "solid";
2060
- color?: {
2061
- swatchId: string;
2062
- alpha: number;
2063
- } | null | undefined;
2064
- }, {
2065
- style: "dashed" | "dotted" | "solid";
2066
- width?: number | null | undefined;
2067
- color?: {
2068
- swatchId: string;
2069
- alpha: number;
2070
- } | null | undefined;
2071
- }>>>;
2072
- borderLeft: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
2073
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2074
- style: z.ZodEnum<["dashed", "dotted", "solid"]>;
2075
- color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2076
- swatchId: z.ZodString;
2077
- alpha: z.ZodNumber;
2078
- }, "strip", z.ZodTypeAny, {
2079
- swatchId: string;
2080
- alpha: number;
2081
- }, {
2082
- swatchId: string;
2083
- alpha: number;
2084
- }>>>;
2085
- }, "strip", z.ZodTypeAny, {
2086
- style: "dashed" | "dotted" | "solid";
2087
- width?: number | null | undefined;
2088
- color?: {
2089
- swatchId: string;
2090
- alpha: number;
2091
- } | null | undefined;
2092
- }, {
2093
- style: "dashed" | "dotted" | "solid";
2094
- width?: number | null | undefined;
2095
- color?: {
2096
- swatchId: string;
2097
- alpha: number;
2098
- } | null | undefined;
2099
- }>, {
2100
- width: number | null | undefined;
2101
- style: "dashed" | "dotted" | "solid";
2102
- color?: {
2103
- swatchId: string;
2104
- alpha: number;
2105
- } | null | undefined;
2106
- }, {
2107
- style: "dashed" | "dotted" | "solid";
2108
- width?: number | null | undefined;
2109
- color?: {
2110
- swatchId: string;
2111
- alpha: number;
2112
- } | null | undefined;
2113
- }>>>;
2114
- }, "strip", z.ZodTypeAny, {
2115
- borderTop?: {
2116
- width: number | null | undefined;
2117
- style: "dashed" | "dotted" | "solid";
2118
- color?: {
2119
- swatchId: string;
2120
- alpha: number;
2121
- } | null | undefined;
2122
- } | null | undefined;
2123
- borderRight?: {
2124
- width: number | null | undefined;
2125
- style: "dashed" | "dotted" | "solid";
2126
- color?: {
2127
- swatchId: string;
2128
- alpha: number;
2129
- } | null | undefined;
2130
- } | null | undefined;
2131
- borderBottom?: {
2132
- width: number | null | undefined;
2133
- style: "dashed" | "dotted" | "solid";
2134
- color?: {
2135
- swatchId: string;
2136
- alpha: number;
2137
- } | null | undefined;
2138
- } | null | undefined;
2139
- borderLeft?: {
2140
- width: number | null | undefined;
2141
- style: "dashed" | "dotted" | "solid";
2142
- color?: {
2143
- swatchId: string;
2144
- alpha: number;
2145
- } | null | undefined;
2146
- } | null | undefined;
2147
- }, {
2148
- borderTop?: {
2149
- style: "dashed" | "dotted" | "solid";
2150
- width?: number | null | undefined;
2151
- color?: {
2152
- swatchId: string;
2153
- alpha: number;
2154
- } | null | undefined;
2155
- } | null | undefined;
2156
- borderRight?: {
2157
- style: "dashed" | "dotted" | "solid";
2158
- width?: number | null | undefined;
2159
- color?: {
2160
- swatchId: string;
2161
- alpha: number;
2162
- } | null | undefined;
2163
- } | null | undefined;
2164
- borderBottom?: {
2165
- style: "dashed" | "dotted" | "solid";
2166
- width?: number | null | undefined;
2167
- color?: {
2168
- swatchId: string;
2169
- alpha: number;
2170
- } | null | undefined;
2171
- } | null | undefined;
2172
- borderLeft?: {
2173
- style: "dashed" | "dotted" | "solid";
2174
- width?: number | null | undefined;
2175
- color?: {
2176
- swatchId: string;
2177
- alpha: number;
2178
- } | null | undefined;
2179
- } | null | undefined;
2180
- }>, {
2181
- borderTop: {
2182
- width: number | null | undefined;
2183
- style: "dashed" | "dotted" | "solid";
2184
- color?: {
2185
- swatchId: string;
2186
- alpha: number;
2187
- } | null | undefined;
2188
- } | null | undefined;
2189
- borderRight: {
2190
- width: number | null | undefined;
2191
- style: "dashed" | "dotted" | "solid";
2192
- color?: {
2193
- swatchId: string;
2194
- alpha: number;
2195
- } | null | undefined;
2196
- } | null | undefined;
2197
- borderBottom: {
2198
- width: number | null | undefined;
2199
- style: "dashed" | "dotted" | "solid";
2200
- color?: {
2201
- swatchId: string;
2202
- alpha: number;
2203
- } | null | undefined;
2204
- } | null | undefined;
2205
- borderLeft: {
2206
- width: number | null | undefined;
2207
- style: "dashed" | "dotted" | "solid";
2208
- color?: {
2209
- swatchId: string;
2210
- alpha: number;
2211
- } | null | undefined;
2212
- } | null | undefined;
2213
- }, {
2214
- borderTop?: {
2215
- style: "dashed" | "dotted" | "solid";
2216
- width?: number | null | undefined;
2217
- color?: {
2218
- swatchId: string;
2219
- alpha: number;
2220
- } | null | undefined;
2221
- } | null | undefined;
2222
- borderRight?: {
2223
- style: "dashed" | "dotted" | "solid";
2224
- width?: number | null | undefined;
2225
- color?: {
2226
- swatchId: string;
2227
- alpha: number;
2228
- } | null | undefined;
2229
- } | null | undefined;
2230
- borderBottom?: {
2231
- style: "dashed" | "dotted" | "solid";
2232
- width?: number | null | undefined;
2233
- color?: {
2234
- swatchId: string;
2235
- alpha: number;
2236
- } | null | undefined;
2237
- } | null | undefined;
2238
- borderLeft?: {
2239
- style: "dashed" | "dotted" | "solid";
2240
- width?: number | null | undefined;
2241
- color?: {
2242
- swatchId: string;
2243
- alpha: number;
2244
- } | null | undefined;
2245
- } | null | undefined;
2246
- }>;
2247
- }, z.UnknownKeysParam, z.ZodTypeAny, {
2248
- value: {
2249
- borderTop: {
2250
- width: number | null | undefined;
2251
- style: "dashed" | "dotted" | "solid";
2252
- color?: {
2253
- swatchId: string;
2254
- alpha: number;
2255
- } | null | undefined;
2256
- } | null | undefined;
2257
- borderRight: {
2258
- width: number | null | undefined;
2259
- style: "dashed" | "dotted" | "solid";
2260
- color?: {
2261
- swatchId: string;
2262
- alpha: number;
2263
- } | null | undefined;
2264
- } | null | undefined;
2265
- borderBottom: {
2266
- width: number | null | undefined;
2267
- style: "dashed" | "dotted" | "solid";
2268
- color?: {
2269
- swatchId: string;
2270
- alpha: number;
2271
- } | null | undefined;
2272
- } | null | undefined;
2273
- borderLeft: {
2274
- width: number | null | undefined;
2275
- style: "dashed" | "dotted" | "solid";
2276
- color?: {
2277
- swatchId: string;
2278
- alpha: number;
2279
- } | null | undefined;
2280
- } | null | undefined;
2281
- };
2282
- deviceId: string;
2283
- }, {
2284
- value: {
2285
- borderTop?: {
2286
- style: "dashed" | "dotted" | "solid";
2287
- width?: number | null | undefined;
2288
- color?: {
2289
- swatchId: string;
2290
- alpha: number;
2291
- } | null | undefined;
2292
- } | null | undefined;
2293
- borderRight?: {
2294
- style: "dashed" | "dotted" | "solid";
2295
- width?: number | null | undefined;
2296
- color?: {
2297
- swatchId: string;
2298
- alpha: number;
2299
- } | null | undefined;
2300
- } | null | undefined;
2301
- borderBottom?: {
2302
- style: "dashed" | "dotted" | "solid";
2303
- width?: number | null | undefined;
2304
- color?: {
2305
- swatchId: string;
2306
- alpha: number;
2307
- } | null | undefined;
2308
- } | null | undefined;
2309
- borderLeft?: {
2310
- style: "dashed" | "dotted" | "solid";
2311
- width?: number | null | undefined;
2312
- color?: {
2313
- swatchId: string;
2314
- alpha: number;
2315
- } | null | undefined;
2316
- } | null | undefined;
2317
- };
2318
- deviceId: string;
2319
- }>, "many">;
2320
- }, "strip", z.ZodTypeAny, {
2321
- value: {
2322
- value: {
2323
- borderTop: {
2324
- width: number | null | undefined;
2325
- style: "dashed" | "dotted" | "solid";
2326
- color?: {
2327
- swatchId: string;
2328
- alpha: number;
2329
- } | null | undefined;
2330
- } | null | undefined;
2331
- borderRight: {
2332
- width: number | null | undefined;
2333
- style: "dashed" | "dotted" | "solid";
2334
- color?: {
2335
- swatchId: string;
2336
- alpha: number;
2337
- } | null | undefined;
2338
- } | null | undefined;
2339
- borderBottom: {
2340
- width: number | null | undefined;
2341
- style: "dashed" | "dotted" | "solid";
2342
- color?: {
2343
- swatchId: string;
2344
- alpha: number;
2345
- } | null | undefined;
2346
- } | null | undefined;
2347
- borderLeft: {
2348
- width: number | null | undefined;
2349
- style: "dashed" | "dotted" | "solid";
2350
- color?: {
2351
- swatchId: string;
2352
- alpha: number;
2353
- } | null | undefined;
2354
- } | null | undefined;
2355
- };
2356
- deviceId: string;
2357
- }[];
2358
- "@@makeswift/type": "prop-controllers::border::v1";
2359
- }, {
2360
- value: {
2361
- value: {
2362
- borderTop?: {
2363
- style: "dashed" | "dotted" | "solid";
2364
- width?: number | null | undefined;
2365
- color?: {
2366
- swatchId: string;
2367
- alpha: number;
2368
- } | null | undefined;
2369
- } | null | undefined;
2370
- borderRight?: {
2371
- style: "dashed" | "dotted" | "solid";
2372
- width?: number | null | undefined;
2373
- color?: {
2374
- swatchId: string;
2375
- alpha: number;
2376
- } | null | undefined;
2377
- } | null | undefined;
2378
- borderBottom?: {
2379
- style: "dashed" | "dotted" | "solid";
2380
- width?: number | null | undefined;
2381
- color?: {
2382
- swatchId: string;
2383
- alpha: number;
2384
- } | null | undefined;
2385
- } | null | undefined;
2386
- borderLeft?: {
2387
- style: "dashed" | "dotted" | "solid";
2388
- width?: number | null | undefined;
2389
- color?: {
2390
- swatchId: string;
2391
- alpha: number;
2392
- } | null | undefined;
2393
- } | null | undefined;
2394
- };
2395
- deviceId: string;
2396
- }[];
2397
- "@@makeswift/type": "prop-controllers::border::v1";
2398
- }>]>;
2399
- export type BorderPropControllerData = z.infer<typeof borderPropControllerDataSchema>;
2400
- export declare const BorderPropControllerFormat: {
2401
- readonly ClassName: "makeswift::prop-controllers::border::format::class-name";
2402
- readonly ResponsiveValue: "makeswift::prop-controllers::border::format::responsive-value";
2403
- };
2404
- export type BorderPropControllerFormat = typeof BorderPropControllerFormat[keyof typeof BorderPropControllerFormat];
2405
- type BorderOptions = {
2406
- format?: BorderPropControllerFormat;
2407
- };
2408
- type BorderDescriptorV0<_T = BorderPropControllerDataV0, U extends BorderOptions = BorderOptions> = {
2409
- type: typeof Types.Border;
2410
- options: U;
2411
- };
2412
- type BorderDescriptorV1<_T = BorderPropControllerData, U extends BorderOptions = BorderOptions> = {
2413
- type: typeof Types.Border;
2414
- version: 1;
2415
- options: U;
2416
- };
2417
- export type BorderDescriptor<_T = BorderPropControllerData, U extends BorderOptions = BorderOptions> = BorderDescriptorV0<_T, U> | BorderDescriptorV1<_T, U>;
2418
- export type ResolveBorderPropControllerValue<T extends BorderDescriptor> = T extends BorderDescriptor ? undefined extends ResolveOptions<T['options']>['format'] ? ResponsiveBorderData | undefined : ResolveOptions<T['options']>['format'] extends typeof BorderPropControllerFormat.ClassName ? string : ResolveOptions<T['options']>['format'] extends typeof BorderPropControllerFormat.ResponsiveValue ? ResponsiveBorderData | undefined : never : never;
2419
- /**
2420
- * @deprecated Imports from `@makeswift/prop-controllers` are deprecated. Use
2421
- * `@makeswift/runtime/controls` instead.
2422
- */
2423
- export declare function Border<T extends BorderOptions>(options?: T & BorderOptions): BorderDescriptor<BorderPropControllerData, T>;
2424
- export declare namespace Border {
2425
- var Format: {
2426
- readonly ClassName: "makeswift::prop-controllers::border::format::class-name";
2427
- readonly ResponsiveValue: "makeswift::prop-controllers::border::format::responsive-value";
2428
- };
2429
- }
2430
- export declare function getBorderPropControllerDataResponsiveBorderData(data: BorderPropControllerData | undefined): ResponsiveBorderData | undefined;
2431
- export declare function createBorderPropControllerDataFromResponsiveBorderData(definition: BorderDescriptor, responsiveBorderData: ResponsiveBorderData): BorderPropControllerData;
2432
- export declare function getBorderPropControllerDataSwatchIds(data: BorderPropControllerData | undefined): string[];
2433
- export declare function copyBorderPropControllerData(data: BorderPropControllerData | undefined, context: CopyContext): BorderPropControllerData | undefined;
2434
- export {};
2435
- //# sourceMappingURL=border.d.ts.map