@webstudio-is/react-sdk 0.68.0 → 0.70.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 (184) hide show
  1. package/lib/cjs/components/__generated__/image.props.js +6 -3
  2. package/lib/cjs/components/__generated__/text-block.props.js +7 -0
  3. package/lib/cjs/components/blockquote.ws.js +9 -2
  4. package/lib/cjs/components/box.ws.js +2 -1
  5. package/lib/cjs/components/button.ws.js +3 -1
  6. package/lib/cjs/components/checkbox-field.ws.js +12 -6
  7. package/lib/cjs/components/checkbox.ws.js +1 -0
  8. package/lib/cjs/components/code-text.ws.js +8 -1
  9. package/lib/cjs/components/component-meta.js +6 -3
  10. package/lib/cjs/components/components-utils.js +0 -28
  11. package/lib/cjs/components/form.ws.js +32 -25
  12. package/lib/cjs/components/fragment.ws.js +2 -1
  13. package/lib/cjs/components/heading.ws.js +10 -3
  14. package/lib/cjs/components/html-embed.ws.js +3 -1
  15. package/lib/cjs/components/image.js +27 -19
  16. package/lib/cjs/components/image.ws.js +4 -2
  17. package/lib/cjs/components/index.js +1 -29
  18. package/lib/cjs/components/input.ws.js +1 -0
  19. package/lib/cjs/components/label.ws.js +8 -1
  20. package/lib/cjs/components/link-block.ws.js +2 -1
  21. package/lib/cjs/components/link.ws.js +8 -1
  22. package/lib/cjs/components/list-item.ws.js +11 -4
  23. package/lib/cjs/components/list.ws.js +2 -2
  24. package/lib/cjs/components/paragraph.ws.js +10 -3
  25. package/lib/cjs/components/radio-button-field.ws.js +12 -6
  26. package/lib/cjs/components/radio-button.ws.js +1 -0
  27. package/lib/cjs/components/rich-text-link.ws.js +1 -1
  28. package/lib/cjs/components/separator.ws.js +1 -1
  29. package/lib/cjs/components/slot.ws.js +3 -1
  30. package/lib/cjs/components/text-block.js +5 -2
  31. package/lib/cjs/components/text-block.ws.js +11 -3
  32. package/lib/cjs/components/textarea.ws.js +1 -0
  33. package/lib/cjs/embed-template.js +2 -1
  34. package/lib/cjs/index.js +4 -5
  35. package/lib/cjs/tree/create-elements-tree.js +8 -8
  36. package/lib/cjs/tree/root.js +2 -6
  37. package/lib/cjs/tree/webstudio-component.js +2 -2
  38. package/lib/components/__generated__/image.props.js +6 -3
  39. package/lib/components/__generated__/text-block.props.js +7 -0
  40. package/lib/components/blockquote.ws.js +9 -2
  41. package/lib/components/box.ws.js +2 -1
  42. package/lib/components/button.ws.js +3 -1
  43. package/lib/components/checkbox-field.ws.js +12 -6
  44. package/lib/components/checkbox.ws.js +1 -0
  45. package/lib/components/code-text.ws.js +8 -1
  46. package/lib/components/component-meta.js +6 -3
  47. package/lib/components/components-utils.js +0 -14
  48. package/lib/components/form.ws.js +32 -25
  49. package/lib/components/fragment.ws.js +2 -1
  50. package/lib/components/heading.ws.js +10 -3
  51. package/lib/components/html-embed.ws.js +3 -1
  52. package/lib/components/image.js +34 -20
  53. package/lib/components/image.ws.js +4 -2
  54. package/lib/components/index.js +1 -29
  55. package/lib/components/input.ws.js +1 -0
  56. package/lib/components/label.ws.js +8 -1
  57. package/lib/components/link-block.ws.js +2 -1
  58. package/lib/components/link.ws.js +8 -1
  59. package/lib/components/list-item.ws.js +11 -4
  60. package/lib/components/list.ws.js +2 -2
  61. package/lib/components/paragraph.ws.js +10 -3
  62. package/lib/components/radio-button-field.ws.js +12 -6
  63. package/lib/components/radio-button.ws.js +1 -0
  64. package/lib/components/rich-text-link.ws.js +1 -1
  65. package/lib/components/separator.ws.js +1 -1
  66. package/lib/components/slot.ws.js +3 -1
  67. package/lib/components/text-block.js +9 -3
  68. package/lib/components/text-block.ws.js +11 -3
  69. package/lib/components/textarea.ws.js +1 -0
  70. package/lib/embed-template.js +2 -1
  71. package/lib/index.js +4 -9
  72. package/lib/tree/create-elements-tree.js +8 -8
  73. package/lib/tree/root.js +2 -6
  74. package/lib/tree/webstudio-component.js +2 -2
  75. package/lib/types/components/component-meta.d.ts +363 -1356
  76. package/lib/types/components/components-utils.d.ts +2 -17
  77. package/lib/types/components/image.d.ts +5 -1
  78. package/lib/types/components/image.stories.d.ts +10 -2
  79. package/lib/types/components/index.d.ts +0 -15
  80. package/lib/types/components/text-block.d.ts +6 -2
  81. package/lib/types/components/text-block.stories.d.ts +6 -2
  82. package/lib/types/css/css.d.ts +14 -4
  83. package/lib/types/css/global-rules.d.ts +14 -4
  84. package/lib/types/css/normalize.d.ts +611 -611
  85. package/lib/types/css/style-rules.d.ts +2 -187
  86. package/lib/types/embed-template.d.ts +543 -167
  87. package/lib/types/index.d.ts +2 -2
  88. package/lib/types/props.d.ts +44 -18
  89. package/lib/types/tree/create-elements-tree.d.ts +4 -4
  90. package/lib/types/tree/root.d.ts +3 -5
  91. package/lib/types/tree/webstudio-component.d.ts +3 -3
  92. package/package.json +24 -13
  93. package/src/components/__generated__/image.props.ts +5 -2
  94. package/src/components/__generated__/text-block.props.ts +7 -0
  95. package/src/components/blockquote.ws.tsx +9 -2
  96. package/src/components/box.tsx +1 -1
  97. package/src/components/box.ws.ts +1 -0
  98. package/src/components/button.ws.tsx +2 -0
  99. package/src/components/checkbox-field.ws.tsx +12 -6
  100. package/src/components/checkbox.ws.tsx +1 -0
  101. package/src/components/code-text.ws.tsx +8 -1
  102. package/src/components/component-meta.ts +6 -3
  103. package/src/components/components-utils.ts +2 -31
  104. package/src/components/form.ws.tsx +32 -25
  105. package/src/components/fragment.ws.ts +1 -0
  106. package/src/components/heading.tsx +1 -1
  107. package/src/components/heading.ws.tsx +9 -2
  108. package/src/components/html-embed.ws.ts +2 -0
  109. package/src/components/image.tsx +54 -26
  110. package/src/components/image.ws.tsx +5 -1
  111. package/src/components/index.ts +0 -48
  112. package/src/components/input.ws.tsx +1 -0
  113. package/src/components/label.ws.tsx +8 -1
  114. package/src/components/link-block.ws.tsx +1 -0
  115. package/src/components/link.ws.tsx +8 -1
  116. package/src/components/list-item.ws.tsx +10 -3
  117. package/src/components/list.ws.tsx +2 -2
  118. package/src/components/paragraph.ws.tsx +9 -2
  119. package/src/components/radio-button-field.ws.tsx +12 -6
  120. package/src/components/radio-button.ws.tsx +1 -0
  121. package/src/components/rich-text-link.ws.tsx +1 -1
  122. package/src/components/separator.ws.tsx +1 -1
  123. package/src/components/slot.ws.ts +2 -0
  124. package/src/components/text-block.tsx +16 -5
  125. package/src/components/text-block.ws.tsx +10 -2
  126. package/src/components/textarea.ws.tsx +1 -0
  127. package/src/embed-template.ts +11 -3
  128. package/src/index.ts +2 -5
  129. package/src/props.test.ts +0 -1
  130. package/src/tree/create-elements-tree.tsx +12 -12
  131. package/src/tree/root.ts +4 -9
  132. package/src/tree/webstudio-component.tsx +4 -4
  133. package/lib/app/custom-components/__generated__/form.props.js +0 -411
  134. package/lib/app/custom-components/__generated__/image.props.js +0 -442
  135. package/lib/app/custom-components/__generated__/link-block.props.js +0 -432
  136. package/lib/app/custom-components/__generated__/link.props.js +0 -432
  137. package/lib/app/custom-components/__generated__/rich-text-link.props.js +0 -432
  138. package/lib/app/custom-components/form.js +0 -65
  139. package/lib/app/custom-components/form.ws.js +0 -81
  140. package/lib/app/custom-components/image.js +0 -40
  141. package/lib/app/custom-components/index.js +0 -29
  142. package/lib/app/custom-components/link-block.js +0 -6
  143. package/lib/app/custom-components/link.js +0 -6
  144. package/lib/app/custom-components/rich-text-link.js +0 -6
  145. package/lib/app/custom-components/shared/remix-link.js +0 -22
  146. package/lib/cjs/app/custom-components/__generated__/form.props.js +0 -431
  147. package/lib/cjs/app/custom-components/__generated__/image.props.js +0 -462
  148. package/lib/cjs/app/custom-components/__generated__/link-block.props.js +0 -452
  149. package/lib/cjs/app/custom-components/__generated__/link.props.js +0 -452
  150. package/lib/cjs/app/custom-components/__generated__/rich-text-link.props.js +0 -452
  151. package/lib/cjs/app/custom-components/form.js +0 -81
  152. package/lib/cjs/app/custom-components/form.ws.js +0 -101
  153. package/lib/cjs/app/custom-components/image.js +0 -54
  154. package/lib/cjs/app/custom-components/index.js +0 -49
  155. package/lib/cjs/app/custom-components/link-block.js +0 -26
  156. package/lib/cjs/app/custom-components/link.js +0 -26
  157. package/lib/cjs/app/custom-components/rich-text-link.js +0 -26
  158. package/lib/cjs/app/custom-components/shared/remix-link.js +0 -42
  159. package/lib/types/app/custom-components/__generated__/form.props.d.ts +0 -2
  160. package/lib/types/app/custom-components/__generated__/image.props.d.ts +0 -2
  161. package/lib/types/app/custom-components/__generated__/link-block.props.d.ts +0 -2
  162. package/lib/types/app/custom-components/__generated__/link.props.d.ts +0 -2
  163. package/lib/types/app/custom-components/__generated__/rich-text-link.props.d.ts +0 -2
  164. package/lib/types/app/custom-components/form.d.ts +0 -5
  165. package/lib/types/app/custom-components/form.ws.d.ts +0 -3
  166. package/lib/types/app/custom-components/image.d.ts +0 -6
  167. package/lib/types/app/custom-components/index.d.ts +0 -31
  168. package/lib/types/app/custom-components/link-block.d.ts +0 -6
  169. package/lib/types/app/custom-components/link.d.ts +0 -6
  170. package/lib/types/app/custom-components/rich-text-link.d.ts +0 -6
  171. package/lib/types/app/custom-components/shared/remix-link.d.ts +0 -10
  172. package/src/app/custom-components/__generated__/form.props.ts +0 -456
  173. package/src/app/custom-components/__generated__/image.props.ts +0 -487
  174. package/src/app/custom-components/__generated__/link-block.props.ts +0 -477
  175. package/src/app/custom-components/__generated__/link.props.ts +0 -477
  176. package/src/app/custom-components/__generated__/rich-text-link.props.ts +0 -477
  177. package/src/app/custom-components/form.tsx +0 -111
  178. package/src/app/custom-components/form.ws.tsx +0 -86
  179. package/src/app/custom-components/image.tsx +0 -55
  180. package/src/app/custom-components/index.ts +0 -28
  181. package/src/app/custom-components/link-block.tsx +0 -4
  182. package/src/app/custom-components/link.tsx +0 -4
  183. package/src/app/custom-components/rich-text-link.tsx +0 -4
  184. package/src/app/custom-components/shared/remix-link.tsx +0 -28
@@ -11,19 +11,19 @@ declare const WsComponentPropsMeta: z.ZodObject<{
11
11
  description: z.ZodOptional<z.ZodString>;
12
12
  required: z.ZodBoolean;
13
13
  }, "strip", z.ZodTypeAny, {
14
- description?: string | undefined;
15
- label?: string | undefined;
16
- defaultValue?: number | undefined;
17
14
  type: "number";
18
15
  required: boolean;
19
16
  control: "number";
20
- }, {
21
- description?: string | undefined;
22
- label?: string | undefined;
23
17
  defaultValue?: number | undefined;
18
+ label?: string | undefined;
19
+ description?: string | undefined;
20
+ }, {
24
21
  type: "number";
25
22
  required: boolean;
26
23
  control: "number";
24
+ defaultValue?: number | undefined;
25
+ label?: string | undefined;
26
+ description?: string | undefined;
27
27
  }>, z.ZodObject<{
28
28
  control: z.ZodLiteral<"range">;
29
29
  type: z.ZodLiteral<"number">;
@@ -32,19 +32,19 @@ declare const WsComponentPropsMeta: z.ZodObject<{
32
32
  description: z.ZodOptional<z.ZodString>;
33
33
  required: z.ZodBoolean;
34
34
  }, "strip", z.ZodTypeAny, {
35
- description?: string | undefined;
36
- label?: string | undefined;
37
- defaultValue?: number | undefined;
38
35
  type: "number";
39
36
  required: boolean;
40
37
  control: "range";
41
- }, {
42
- description?: string | undefined;
43
- label?: string | undefined;
44
38
  defaultValue?: number | undefined;
39
+ label?: string | undefined;
40
+ description?: string | undefined;
41
+ }, {
45
42
  type: "number";
46
43
  required: boolean;
47
44
  control: "range";
45
+ defaultValue?: number | undefined;
46
+ label?: string | undefined;
47
+ description?: string | undefined;
48
48
  }>, z.ZodObject<{
49
49
  control: z.ZodLiteral<"text">;
50
50
  type: z.ZodLiteral<"string">;
@@ -54,21 +54,21 @@ declare const WsComponentPropsMeta: z.ZodObject<{
54
54
  description: z.ZodOptional<z.ZodString>;
55
55
  required: z.ZodBoolean;
56
56
  }, "strip", z.ZodTypeAny, {
57
- description?: string | undefined;
58
- label?: string | undefined;
59
- defaultValue?: string | undefined;
60
- rows?: number | undefined;
61
57
  type: "string";
62
58
  required: boolean;
63
59
  control: "text";
64
- }, {
65
- description?: string | undefined;
66
- label?: string | undefined;
67
60
  defaultValue?: string | undefined;
68
61
  rows?: number | undefined;
62
+ label?: string | undefined;
63
+ description?: string | undefined;
64
+ }, {
69
65
  type: "string";
70
66
  required: boolean;
71
67
  control: "text";
68
+ defaultValue?: string | undefined;
69
+ rows?: number | undefined;
70
+ label?: string | undefined;
71
+ description?: string | undefined;
72
72
  }>, z.ZodObject<{
73
73
  control: z.ZodLiteral<"code">;
74
74
  type: z.ZodLiteral<"string">;
@@ -78,21 +78,21 @@ declare const WsComponentPropsMeta: z.ZodObject<{
78
78
  description: z.ZodOptional<z.ZodString>;
79
79
  required: z.ZodBoolean;
80
80
  }, "strip", z.ZodTypeAny, {
81
- description?: string | undefined;
82
- label?: string | undefined;
83
- defaultValue?: string | undefined;
84
- rows?: number | undefined;
85
81
  type: "string";
86
82
  required: boolean;
87
83
  control: "code";
88
- }, {
89
- description?: string | undefined;
90
- label?: string | undefined;
91
84
  defaultValue?: string | undefined;
92
85
  rows?: number | undefined;
86
+ label?: string | undefined;
87
+ description?: string | undefined;
88
+ }, {
93
89
  type: "string";
94
90
  required: boolean;
95
91
  control: "code";
92
+ defaultValue?: string | undefined;
93
+ rows?: number | undefined;
94
+ label?: string | undefined;
95
+ description?: string | undefined;
96
96
  }>, z.ZodObject<{
97
97
  control: z.ZodLiteral<"color">;
98
98
  type: z.ZodLiteral<"string">;
@@ -101,19 +101,19 @@ declare const WsComponentPropsMeta: z.ZodObject<{
101
101
  description: z.ZodOptional<z.ZodString>;
102
102
  required: z.ZodBoolean;
103
103
  }, "strip", z.ZodTypeAny, {
104
- description?: string | undefined;
105
- label?: string | undefined;
106
- defaultValue?: string | undefined;
107
104
  type: "string";
108
105
  required: boolean;
109
106
  control: "color";
110
- }, {
111
- description?: string | undefined;
112
- label?: string | undefined;
113
107
  defaultValue?: string | undefined;
108
+ label?: string | undefined;
109
+ description?: string | undefined;
110
+ }, {
114
111
  type: "string";
115
112
  required: boolean;
116
113
  control: "color";
114
+ defaultValue?: string | undefined;
115
+ label?: string | undefined;
116
+ description?: string | undefined;
117
117
  }>, z.ZodObject<{
118
118
  control: z.ZodLiteral<"boolean">;
119
119
  type: z.ZodLiteral<"boolean">;
@@ -122,19 +122,19 @@ declare const WsComponentPropsMeta: z.ZodObject<{
122
122
  description: z.ZodOptional<z.ZodString>;
123
123
  required: z.ZodBoolean;
124
124
  }, "strip", z.ZodTypeAny, {
125
- description?: string | undefined;
126
- label?: string | undefined;
127
- defaultValue?: boolean | undefined;
128
125
  type: "boolean";
129
126
  required: boolean;
130
127
  control: "boolean";
131
- }, {
132
- description?: string | undefined;
133
- label?: string | undefined;
134
128
  defaultValue?: boolean | undefined;
129
+ label?: string | undefined;
130
+ description?: string | undefined;
131
+ }, {
135
132
  type: "boolean";
136
133
  required: boolean;
137
134
  control: "boolean";
135
+ defaultValue?: boolean | undefined;
136
+ label?: string | undefined;
137
+ description?: string | undefined;
138
138
  }>, z.ZodObject<{
139
139
  control: z.ZodLiteral<"radio">;
140
140
  type: z.ZodLiteral<"string">;
@@ -144,21 +144,21 @@ declare const WsComponentPropsMeta: z.ZodObject<{
144
144
  description: z.ZodOptional<z.ZodString>;
145
145
  required: z.ZodBoolean;
146
146
  }, "strip", z.ZodTypeAny, {
147
- description?: string | undefined;
148
- label?: string | undefined;
149
- defaultValue?: string | undefined;
150
147
  options: string[];
151
148
  type: "string";
152
149
  required: boolean;
153
150
  control: "radio";
154
- }, {
155
- description?: string | undefined;
156
- label?: string | undefined;
157
151
  defaultValue?: string | undefined;
152
+ label?: string | undefined;
153
+ description?: string | undefined;
154
+ }, {
158
155
  options: string[];
159
156
  type: "string";
160
157
  required: boolean;
161
158
  control: "radio";
159
+ defaultValue?: string | undefined;
160
+ label?: string | undefined;
161
+ description?: string | undefined;
162
162
  }>, z.ZodObject<{
163
163
  control: z.ZodLiteral<"inline-radio">;
164
164
  type: z.ZodLiteral<"string">;
@@ -168,21 +168,21 @@ declare const WsComponentPropsMeta: z.ZodObject<{
168
168
  description: z.ZodOptional<z.ZodString>;
169
169
  required: z.ZodBoolean;
170
170
  }, "strip", z.ZodTypeAny, {
171
- description?: string | undefined;
172
- label?: string | undefined;
173
- defaultValue?: string | undefined;
174
171
  options: string[];
175
172
  type: "string";
176
173
  required: boolean;
177
174
  control: "inline-radio";
178
- }, {
179
- description?: string | undefined;
180
- label?: string | undefined;
181
175
  defaultValue?: string | undefined;
176
+ label?: string | undefined;
177
+ description?: string | undefined;
178
+ }, {
182
179
  options: string[];
183
180
  type: "string";
184
181
  required: boolean;
185
182
  control: "inline-radio";
183
+ defaultValue?: string | undefined;
184
+ label?: string | undefined;
185
+ description?: string | undefined;
186
186
  }>, z.ZodObject<{
187
187
  control: z.ZodLiteral<"select">;
188
188
  type: z.ZodLiteral<"string">;
@@ -192,21 +192,21 @@ declare const WsComponentPropsMeta: z.ZodObject<{
192
192
  description: z.ZodOptional<z.ZodString>;
193
193
  required: z.ZodBoolean;
194
194
  }, "strip", z.ZodTypeAny, {
195
- description?: string | undefined;
196
- label?: string | undefined;
197
- defaultValue?: string | undefined;
198
195
  options: string[];
199
196
  type: "string";
200
197
  required: boolean;
201
198
  control: "select";
202
- }, {
203
- description?: string | undefined;
204
- label?: string | undefined;
205
199
  defaultValue?: string | undefined;
200
+ label?: string | undefined;
201
+ description?: string | undefined;
202
+ }, {
206
203
  options: string[];
207
204
  type: "string";
208
205
  required: boolean;
209
206
  control: "select";
207
+ defaultValue?: string | undefined;
208
+ label?: string | undefined;
209
+ description?: string | undefined;
210
210
  }>, z.ZodObject<{
211
211
  control: z.ZodLiteral<"multi-select">;
212
212
  type: z.ZodLiteral<"string[]">;
@@ -216,21 +216,21 @@ declare const WsComponentPropsMeta: z.ZodObject<{
216
216
  description: z.ZodOptional<z.ZodString>;
217
217
  required: z.ZodBoolean;
218
218
  }, "strip", z.ZodTypeAny, {
219
- description?: string | undefined;
220
- label?: string | undefined;
221
- defaultValue?: string[] | undefined;
222
219
  options: string[];
223
220
  type: "string[]";
224
221
  required: boolean;
225
222
  control: "multi-select";
226
- }, {
227
- description?: string | undefined;
228
- label?: string | undefined;
229
223
  defaultValue?: string[] | undefined;
224
+ label?: string | undefined;
225
+ description?: string | undefined;
226
+ }, {
230
227
  options: string[];
231
228
  type: "string[]";
232
229
  required: boolean;
233
230
  control: "multi-select";
231
+ defaultValue?: string[] | undefined;
232
+ label?: string | undefined;
233
+ description?: string | undefined;
234
234
  }>, z.ZodObject<{
235
235
  control: z.ZodLiteral<"check">;
236
236
  type: z.ZodLiteral<"string[]">;
@@ -240,21 +240,21 @@ declare const WsComponentPropsMeta: z.ZodObject<{
240
240
  description: z.ZodOptional<z.ZodString>;
241
241
  required: z.ZodBoolean;
242
242
  }, "strip", z.ZodTypeAny, {
243
- description?: string | undefined;
244
- label?: string | undefined;
245
- defaultValue?: string[] | undefined;
246
243
  options: string[];
247
244
  type: "string[]";
248
245
  required: boolean;
249
246
  control: "check";
250
- }, {
251
- description?: string | undefined;
252
- label?: string | undefined;
253
247
  defaultValue?: string[] | undefined;
248
+ label?: string | undefined;
249
+ description?: string | undefined;
250
+ }, {
254
251
  options: string[];
255
252
  type: "string[]";
256
253
  required: boolean;
257
254
  control: "check";
255
+ defaultValue?: string[] | undefined;
256
+ label?: string | undefined;
257
+ description?: string | undefined;
258
258
  }>, z.ZodObject<{
259
259
  control: z.ZodLiteral<"inline-check">;
260
260
  type: z.ZodLiteral<"string[]">;
@@ -264,21 +264,21 @@ declare const WsComponentPropsMeta: z.ZodObject<{
264
264
  description: z.ZodOptional<z.ZodString>;
265
265
  required: z.ZodBoolean;
266
266
  }, "strip", z.ZodTypeAny, {
267
- description?: string | undefined;
268
- label?: string | undefined;
269
- defaultValue?: string[] | undefined;
270
267
  options: string[];
271
268
  type: "string[]";
272
269
  required: boolean;
273
270
  control: "inline-check";
274
- }, {
275
- description?: string | undefined;
276
- label?: string | undefined;
277
271
  defaultValue?: string[] | undefined;
272
+ label?: string | undefined;
273
+ description?: string | undefined;
274
+ }, {
278
275
  options: string[];
279
276
  type: "string[]";
280
277
  required: boolean;
281
278
  control: "inline-check";
279
+ defaultValue?: string[] | undefined;
280
+ label?: string | undefined;
281
+ description?: string | undefined;
282
282
  }>, z.ZodObject<{
283
283
  control: z.ZodLiteral<"file">;
284
284
  type: z.ZodLiteral<"string">;
@@ -288,21 +288,21 @@ declare const WsComponentPropsMeta: z.ZodObject<{
288
288
  description: z.ZodOptional<z.ZodString>;
289
289
  required: z.ZodBoolean;
290
290
  }, "strip", z.ZodTypeAny, {
291
- description?: string | undefined;
292
- label?: string | undefined;
293
- defaultValue?: string | undefined;
294
- accept?: string | undefined;
295
291
  type: "string";
296
292
  required: boolean;
297
293
  control: "file";
298
- }, {
299
- description?: string | undefined;
300
- label?: string | undefined;
301
294
  defaultValue?: string | undefined;
302
295
  accept?: string | undefined;
296
+ label?: string | undefined;
297
+ description?: string | undefined;
298
+ }, {
303
299
  type: "string";
304
300
  required: boolean;
305
301
  control: "file";
302
+ defaultValue?: string | undefined;
303
+ accept?: string | undefined;
304
+ label?: string | undefined;
305
+ description?: string | undefined;
306
306
  }>, z.ZodObject<{
307
307
  control: z.ZodLiteral<"url">;
308
308
  type: z.ZodLiteral<"string">;
@@ -311,19 +311,19 @@ declare const WsComponentPropsMeta: z.ZodObject<{
311
311
  description: z.ZodOptional<z.ZodString>;
312
312
  required: z.ZodBoolean;
313
313
  }, "strip", z.ZodTypeAny, {
314
- description?: string | undefined;
315
- label?: string | undefined;
316
- defaultValue?: string | undefined;
317
314
  type: "string";
318
315
  required: boolean;
319
316
  control: "url";
320
- }, {
321
- description?: string | undefined;
322
- label?: string | undefined;
323
317
  defaultValue?: string | undefined;
318
+ label?: string | undefined;
319
+ description?: string | undefined;
320
+ }, {
324
321
  type: "string";
325
322
  required: boolean;
326
323
  control: "url";
324
+ defaultValue?: string | undefined;
325
+ label?: string | undefined;
326
+ description?: string | undefined;
327
327
  }>, z.ZodObject<{
328
328
  control: z.ZodLiteral<"object">;
329
329
  type: z.ZodLiteral<"Record<string, string>">;
@@ -332,19 +332,19 @@ declare const WsComponentPropsMeta: z.ZodObject<{
332
332
  description: z.ZodOptional<z.ZodString>;
333
333
  required: z.ZodBoolean;
334
334
  }, "strip", z.ZodTypeAny, {
335
- description?: string | undefined;
336
- label?: string | undefined;
337
- defaultValue?: Record<string, string> | undefined;
338
335
  type: "Record<string, string>";
339
336
  required: boolean;
340
337
  control: "object";
341
- }, {
342
- description?: string | undefined;
343
- label?: string | undefined;
344
338
  defaultValue?: Record<string, string> | undefined;
339
+ label?: string | undefined;
340
+ description?: string | undefined;
341
+ }, {
345
342
  type: "Record<string, string>";
346
343
  required: boolean;
347
344
  control: "object";
345
+ defaultValue?: Record<string, string> | undefined;
346
+ label?: string | undefined;
347
+ description?: string | undefined;
348
348
  }>, z.ZodObject<{
349
349
  control: z.ZodLiteral<"date">;
350
350
  type: z.ZodLiteral<"string">;
@@ -353,1298 +353,297 @@ declare const WsComponentPropsMeta: z.ZodObject<{
353
353
  description: z.ZodOptional<z.ZodString>;
354
354
  required: z.ZodBoolean;
355
355
  }, "strip", z.ZodTypeAny, {
356
- description?: string | undefined;
357
- label?: string | undefined;
358
- defaultValue?: string | undefined;
359
356
  type: "string";
360
357
  required: boolean;
361
358
  control: "date";
362
- }, {
363
- description?: string | undefined;
364
- label?: string | undefined;
365
359
  defaultValue?: string | undefined;
360
+ label?: string | undefined;
361
+ description?: string | undefined;
362
+ }, {
366
363
  type: "string";
367
364
  required: boolean;
368
365
  control: "date";
366
+ defaultValue?: string | undefined;
367
+ label?: string | undefined;
368
+ description?: string | undefined;
369
369
  }>]>>;
370
370
  initialProps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
371
371
  }, "strip", z.ZodTypeAny, {
372
- initialProps?: string[] | undefined;
373
372
  props: Record<string, {
374
- description?: string | undefined;
375
- label?: string | undefined;
376
- defaultValue?: number | undefined;
377
373
  type: "number";
378
374
  required: boolean;
379
375
  control: "number";
380
- } | {
381
- description?: string | undefined;
382
- label?: string | undefined;
383
376
  defaultValue?: number | undefined;
377
+ label?: string | undefined;
378
+ description?: string | undefined;
379
+ } | {
384
380
  type: "number";
385
381
  required: boolean;
386
382
  control: "range";
387
- } | {
388
- description?: string | undefined;
383
+ defaultValue?: number | undefined;
389
384
  label?: string | undefined;
390
- defaultValue?: string | undefined;
391
- rows?: number | undefined;
385
+ description?: string | undefined;
386
+ } | {
392
387
  type: "string";
393
388
  required: boolean;
394
389
  control: "text";
395
- } | {
396
- description?: string | undefined;
397
- label?: string | undefined;
398
390
  defaultValue?: string | undefined;
399
391
  rows?: number | undefined;
392
+ label?: string | undefined;
393
+ description?: string | undefined;
394
+ } | {
400
395
  type: "string";
401
396
  required: boolean;
402
397
  control: "code";
403
- } | {
404
- description?: string | undefined;
405
- label?: string | undefined;
406
398
  defaultValue?: string | undefined;
399
+ rows?: number | undefined;
400
+ label?: string | undefined;
401
+ description?: string | undefined;
402
+ } | {
407
403
  type: "string";
408
404
  required: boolean;
409
405
  control: "color";
410
- } | {
411
- description?: string | undefined;
406
+ defaultValue?: string | undefined;
412
407
  label?: string | undefined;
413
- defaultValue?: boolean | undefined;
408
+ description?: string | undefined;
409
+ } | {
414
410
  type: "boolean";
415
411
  required: boolean;
416
412
  control: "boolean";
417
- } | {
418
- description?: string | undefined;
413
+ defaultValue?: boolean | undefined;
419
414
  label?: string | undefined;
420
- defaultValue?: string | undefined;
415
+ description?: string | undefined;
416
+ } | {
421
417
  options: string[];
422
418
  type: "string";
423
419
  required: boolean;
424
420
  control: "radio";
425
- } | {
426
- description?: string | undefined;
427
- label?: string | undefined;
428
421
  defaultValue?: string | undefined;
422
+ label?: string | undefined;
423
+ description?: string | undefined;
424
+ } | {
429
425
  options: string[];
430
426
  type: "string";
431
427
  required: boolean;
432
428
  control: "inline-radio";
433
- } | {
434
- description?: string | undefined;
435
- label?: string | undefined;
436
429
  defaultValue?: string | undefined;
430
+ label?: string | undefined;
431
+ description?: string | undefined;
432
+ } | {
437
433
  options: string[];
438
434
  type: "string";
439
435
  required: boolean;
440
436
  control: "select";
441
- } | {
442
- description?: string | undefined;
437
+ defaultValue?: string | undefined;
443
438
  label?: string | undefined;
444
- defaultValue?: string[] | undefined;
439
+ description?: string | undefined;
440
+ } | {
445
441
  options: string[];
446
442
  type: "string[]";
447
443
  required: boolean;
448
444
  control: "check";
449
- } | {
450
- description?: string | undefined;
451
- label?: string | undefined;
452
445
  defaultValue?: string[] | undefined;
446
+ label?: string | undefined;
447
+ description?: string | undefined;
448
+ } | {
453
449
  options: string[];
454
450
  type: "string[]";
455
451
  required: boolean;
456
452
  control: "inline-check";
457
- } | {
458
- description?: string | undefined;
459
- label?: string | undefined;
460
453
  defaultValue?: string[] | undefined;
454
+ label?: string | undefined;
455
+ description?: string | undefined;
456
+ } | {
461
457
  options: string[];
462
458
  type: "string[]";
463
459
  required: boolean;
464
460
  control: "multi-select";
465
- } | {
466
- description?: string | undefined;
461
+ defaultValue?: string[] | undefined;
467
462
  label?: string | undefined;
468
- defaultValue?: string | undefined;
469
- accept?: string | undefined;
463
+ description?: string | undefined;
464
+ } | {
470
465
  type: "string";
471
466
  required: boolean;
472
467
  control: "file";
473
- } | {
474
- description?: string | undefined;
475
- label?: string | undefined;
476
468
  defaultValue?: string | undefined;
469
+ accept?: string | undefined;
470
+ label?: string | undefined;
471
+ description?: string | undefined;
472
+ } | {
477
473
  type: "string";
478
474
  required: boolean;
479
475
  control: "url";
480
- } | {
481
- description?: string | undefined;
476
+ defaultValue?: string | undefined;
482
477
  label?: string | undefined;
483
- defaultValue?: Record<string, string> | undefined;
478
+ description?: string | undefined;
479
+ } | {
484
480
  type: "Record<string, string>";
485
481
  required: boolean;
486
482
  control: "object";
487
- } | {
488
- description?: string | undefined;
483
+ defaultValue?: Record<string, string> | undefined;
489
484
  label?: string | undefined;
490
- defaultValue?: string | undefined;
485
+ description?: string | undefined;
486
+ } | {
491
487
  type: "string";
492
488
  required: boolean;
493
489
  control: "date";
490
+ defaultValue?: string | undefined;
491
+ label?: string | undefined;
492
+ description?: string | undefined;
494
493
  }>;
495
- }, {
496
494
  initialProps?: string[] | undefined;
495
+ }, {
497
496
  props: Record<string, {
498
- description?: string | undefined;
499
- label?: string | undefined;
500
- defaultValue?: number | undefined;
501
497
  type: "number";
502
498
  required: boolean;
503
499
  control: "number";
504
- } | {
505
- description?: string | undefined;
506
- label?: string | undefined;
507
500
  defaultValue?: number | undefined;
501
+ label?: string | undefined;
502
+ description?: string | undefined;
503
+ } | {
508
504
  type: "number";
509
505
  required: boolean;
510
506
  control: "range";
511
- } | {
512
- description?: string | undefined;
507
+ defaultValue?: number | undefined;
513
508
  label?: string | undefined;
514
- defaultValue?: string | undefined;
515
- rows?: number | undefined;
509
+ description?: string | undefined;
510
+ } | {
516
511
  type: "string";
517
512
  required: boolean;
518
513
  control: "text";
519
- } | {
520
- description?: string | undefined;
521
- label?: string | undefined;
522
514
  defaultValue?: string | undefined;
523
515
  rows?: number | undefined;
524
- type: "string";
525
- required: boolean;
526
- control: "code";
527
- } | {
528
- description?: string | undefined;
529
- label?: string | undefined;
530
- defaultValue?: string | undefined;
531
- type: "string";
532
- required: boolean;
533
- control: "color";
534
- } | {
535
- description?: string | undefined;
536
516
  label?: string | undefined;
537
- defaultValue?: boolean | undefined;
538
- type: "boolean";
539
- required: boolean;
540
- control: "boolean";
541
- } | {
542
517
  description?: string | undefined;
543
- label?: string | undefined;
544
- defaultValue?: string | undefined;
545
- options: string[];
546
- type: "string";
547
- required: boolean;
548
- control: "radio";
549
518
  } | {
550
- description?: string | undefined;
551
- label?: string | undefined;
552
- defaultValue?: string | undefined;
553
- options: string[];
554
519
  type: "string";
555
520
  required: boolean;
556
- control: "inline-radio";
557
- } | {
558
- description?: string | undefined;
559
- label?: string | undefined;
521
+ control: "code";
560
522
  defaultValue?: string | undefined;
561
- options: string[];
562
- type: "string";
563
- required: boolean;
564
- control: "select";
565
- } | {
566
- description?: string | undefined;
567
- label?: string | undefined;
568
- defaultValue?: string[] | undefined;
569
- options: string[];
570
- type: "string[]";
571
- required: boolean;
572
- control: "check";
573
- } | {
574
- description?: string | undefined;
575
- label?: string | undefined;
576
- defaultValue?: string[] | undefined;
577
- options: string[];
578
- type: "string[]";
579
- required: boolean;
580
- control: "inline-check";
581
- } | {
582
- description?: string | undefined;
523
+ rows?: number | undefined;
583
524
  label?: string | undefined;
584
- defaultValue?: string[] | undefined;
585
- options: string[];
586
- type: "string[]";
587
- required: boolean;
588
- control: "multi-select";
589
- } | {
590
525
  description?: string | undefined;
591
- label?: string | undefined;
592
- defaultValue?: string | undefined;
593
- accept?: string | undefined;
594
- type: "string";
595
- required: boolean;
596
- control: "file";
597
526
  } | {
598
- description?: string | undefined;
599
- label?: string | undefined;
600
- defaultValue?: string | undefined;
601
527
  type: "string";
602
528
  required: boolean;
603
- control: "url";
604
- } | {
605
- description?: string | undefined;
606
- label?: string | undefined;
607
- defaultValue?: Record<string, string> | undefined;
608
- type: "Record<string, string>";
609
- required: boolean;
610
- control: "object";
611
- } | {
612
- description?: string | undefined;
613
- label?: string | undefined;
529
+ control: "color";
614
530
  defaultValue?: string | undefined;
615
- type: "string";
616
- required: boolean;
617
- control: "date";
618
- }>;
619
- }>;
620
- export type WsComponentPropsMeta = z.infer<typeof WsComponentPropsMeta>;
621
- export declare const componentCategories: readonly ["general", "typography", "media", "forms"];
622
- export declare const stateCategories: readonly ["states", "component-states"];
623
- export declare const ComponentState: z.ZodObject<{
624
- category: z.ZodOptional<z.ZodEnum<["states", "component-states"]>>;
625
- selector: z.ZodString;
626
- label: z.ZodString;
627
- }, "strip", z.ZodTypeAny, {
628
- category?: "states" | "component-states" | undefined;
629
- label: string;
630
- selector: string;
631
- }, {
632
- category?: "states" | "component-states" | undefined;
633
- label: string;
634
- selector: string;
635
- }>;
636
- export type ComponentState = z.infer<typeof ComponentState>;
637
- export declare const defaultStates: ComponentState[];
638
- declare const WsComponentMeta: z.ZodObject<{
639
- category: z.ZodOptional<z.ZodEnum<["general", "typography", "media", "forms"]>>;
640
- type: z.ZodEnum<["container", "control", "embed", "rich-text", "rich-text-child"]>;
641
- acceptedParents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
642
- label: z.ZodString;
643
- icon: z.ZodString;
644
- presetStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
645
- state: z.ZodOptional<z.ZodString>;
646
- property: z.ZodType<"filter" | "float" | "fontFamily" | "width" | "height" | "clip" | "top" | "right" | `--${string}` | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "animationTimeline" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockOverflow" | "blockSize" | "borderBlockColor" | "borderBlockStyle" | "borderBlockWidth" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInlineColor" | "borderInlineStyle" | "borderInlineWidth" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxDecorationBreak" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "caretShape" | "clear" | "clipPath" | "color" | "printColorAdjust" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicWidth" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "direction" | "display" | "emptyCells" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontVariationSettings" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontWeight" | "forcedColorAdjust" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "hyphenateCharacter" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inputSecurity" | "insetBlockEnd" | "insetBlockStart" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyleImage" | "listStylePosition" | "listStyleType" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "quotes" | "resize" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "scale" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "scrollBehavior" | "scrollMarginBlockStart" | "scrollMarginBlockEnd" | "scrollMarginBottom" | "scrollMarginInlineStart" | "scrollMarginInlineEnd" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPaddingBlockStart" | "scrollPaddingBlockEnd" | "scrollPaddingBottom" | "scrollPaddingInlineStart" | "scrollPaddingInlineEnd" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapStop" | "scrollSnapType" | "scrollTimelineAxis" | "scrollTimelineName" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "visibility" | "whiteSpace" | "widows" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex", z.ZodTypeDef, "filter" | "float" | "fontFamily" | "width" | "height" | "clip" | "top" | "right" | `--${string}` | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "animationTimeline" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockOverflow" | "blockSize" | "borderBlockColor" | "borderBlockStyle" | "borderBlockWidth" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInlineColor" | "borderInlineStyle" | "borderInlineWidth" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxDecorationBreak" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "caretShape" | "clear" | "clipPath" | "color" | "printColorAdjust" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicWidth" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "direction" | "display" | "emptyCells" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontVariationSettings" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontWeight" | "forcedColorAdjust" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "hyphenateCharacter" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inputSecurity" | "insetBlockEnd" | "insetBlockStart" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyleImage" | "listStylePosition" | "listStyleType" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "quotes" | "resize" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "scale" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "scrollBehavior" | "scrollMarginBlockStart" | "scrollMarginBlockEnd" | "scrollMarginBottom" | "scrollMarginInlineStart" | "scrollMarginInlineEnd" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPaddingBlockStart" | "scrollPaddingBlockEnd" | "scrollPaddingBottom" | "scrollPaddingInlineStart" | "scrollPaddingInlineEnd" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapStop" | "scrollSnapType" | "scrollTimelineAxis" | "scrollTimelineName" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "visibility" | "whiteSpace" | "widows" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex">;
647
- value: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
648
- type: z.ZodLiteral<"image">;
649
- value: z.ZodUnion<[z.ZodObject<{
650
- type: z.ZodLiteral<"asset">;
651
- value: z.ZodString;
652
- }, "strip", z.ZodTypeAny, {
653
- type: "asset";
654
- value: string;
655
- }, {
656
- type: "asset";
657
- value: string;
658
- }>, z.ZodObject<{
659
- type: z.ZodLiteral<"url">;
660
- url: z.ZodString;
661
- }, "strip", z.ZodTypeAny, {
662
- type: "url";
663
- url: string;
664
- }, {
665
- type: "url";
666
- url: string;
667
- }>]>;
668
- hidden: z.ZodOptional<z.ZodBoolean>;
669
- }, "strip", z.ZodTypeAny, {
670
- hidden?: boolean | undefined;
671
- type: "image";
672
- value: {
673
- type: "asset";
674
- value: string;
675
- } | {
676
- type: "url";
677
- url: string;
678
- };
679
- }, {
680
- hidden?: boolean | undefined;
681
- type: "image";
682
- value: {
683
- type: "asset";
684
- value: string;
685
- } | {
686
- type: "url";
687
- url: string;
688
- };
689
- }>, z.ZodObject<{
690
- type: z.ZodLiteral<"layers">;
691
- value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
692
- type: z.ZodLiteral<"unit">;
693
- unit: z.ZodUnion<[z.ZodEnum<["%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms"]>, z.ZodLiteral<"number">]>;
694
- value: z.ZodNumber;
695
- }, "strip", z.ZodTypeAny, {
696
- type: "unit";
697
- value: number;
698
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
699
- }, {
700
- type: "unit";
701
- value: number;
702
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
703
- }>, z.ZodObject<{
704
- type: z.ZodLiteral<"keyword">;
705
- value: z.ZodString;
706
- }, "strip", z.ZodTypeAny, {
707
- type: "keyword";
708
- value: string;
709
- }, {
710
- type: "keyword";
711
- value: string;
712
- }>, z.ZodObject<{
713
- type: z.ZodLiteral<"unparsed">;
714
- value: z.ZodString;
715
- hidden: z.ZodOptional<z.ZodBoolean>;
716
- }, "strip", z.ZodTypeAny, {
717
- hidden?: boolean | undefined;
718
- type: "unparsed";
719
- value: string;
720
- }, {
721
- hidden?: boolean | undefined;
722
- type: "unparsed";
723
- value: string;
724
- }>, z.ZodObject<{
725
- type: z.ZodLiteral<"image">;
726
- value: z.ZodUnion<[z.ZodObject<{
727
- type: z.ZodLiteral<"asset">;
728
- value: z.ZodString;
729
- }, "strip", z.ZodTypeAny, {
730
- type: "asset";
731
- value: string;
732
- }, {
733
- type: "asset";
734
- value: string;
735
- }>, z.ZodObject<{
736
- type: z.ZodLiteral<"url">;
737
- url: z.ZodString;
738
- }, "strip", z.ZodTypeAny, {
739
- type: "url";
740
- url: string;
741
- }, {
742
- type: "url";
743
- url: string;
744
- }>]>;
745
- hidden: z.ZodOptional<z.ZodBoolean>;
746
- }, "strip", z.ZodTypeAny, {
747
- hidden?: boolean | undefined;
748
- type: "image";
749
- value: {
750
- type: "asset";
751
- value: string;
752
- } | {
753
- type: "url";
754
- url: string;
755
- };
756
- }, {
757
- hidden?: boolean | undefined;
758
- type: "image";
759
- value: {
760
- type: "asset";
761
- value: string;
762
- } | {
763
- type: "url";
764
- url: string;
765
- };
766
- }>, z.ZodObject<{
767
- type: z.ZodLiteral<"tuple">;
768
- value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
769
- type: z.ZodLiteral<"unit">;
770
- unit: z.ZodUnion<[z.ZodEnum<["%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms"]>, z.ZodLiteral<"number">]>;
771
- value: z.ZodNumber;
772
- }, "strip", z.ZodTypeAny, {
773
- type: "unit";
774
- value: number;
775
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
776
- }, {
777
- type: "unit";
778
- value: number;
779
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
780
- }>, z.ZodObject<{
781
- type: z.ZodLiteral<"keyword">;
782
- value: z.ZodString;
783
- }, "strip", z.ZodTypeAny, {
784
- type: "keyword";
785
- value: string;
786
- }, {
787
- type: "keyword";
788
- value: string;
789
- }>, z.ZodObject<{
790
- type: z.ZodLiteral<"unparsed">;
791
- value: z.ZodString;
792
- hidden: z.ZodOptional<z.ZodBoolean>;
793
- }, "strip", z.ZodTypeAny, {
794
- hidden?: boolean | undefined;
795
- type: "unparsed";
796
- value: string;
797
- }, {
798
- hidden?: boolean | undefined;
799
- type: "unparsed";
800
- value: string;
801
- }>]>, "many">;
802
- }, "strip", z.ZodTypeAny, {
803
- type: "tuple";
804
- value: ({
805
- type: "unit";
806
- value: number;
807
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
808
- } | {
809
- type: "keyword";
810
- value: string;
811
- } | {
812
- hidden?: boolean | undefined;
813
- type: "unparsed";
814
- value: string;
815
- })[];
816
- }, {
817
- type: "tuple";
818
- value: ({
819
- type: "unit";
820
- value: number;
821
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
822
- } | {
823
- type: "keyword";
824
- value: string;
825
- } | {
826
- hidden?: boolean | undefined;
827
- type: "unparsed";
828
- value: string;
829
- })[];
830
- }>, z.ZodObject<{
831
- type: z.ZodLiteral<"invalid">;
832
- value: z.ZodString;
833
- }, "strip", z.ZodTypeAny, {
834
- type: "invalid";
835
- value: string;
836
- }, {
837
- type: "invalid";
838
- value: string;
839
- }>]>, "many">;
840
- }, "strip", z.ZodTypeAny, {
841
- type: "layers";
842
- value: ({
843
- type: "unit";
844
- value: number;
845
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
846
- } | {
847
- type: "keyword";
848
- value: string;
849
- } | {
850
- hidden?: boolean | undefined;
851
- type: "unparsed";
852
- value: string;
853
- } | {
854
- hidden?: boolean | undefined;
855
- type: "image";
856
- value: {
857
- type: "asset";
858
- value: string;
859
- } | {
860
- type: "url";
861
- url: string;
862
- };
863
- } | {
864
- type: "invalid";
865
- value: string;
866
- } | {
867
- type: "tuple";
868
- value: ({
869
- type: "unit";
870
- value: number;
871
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
872
- } | {
873
- type: "keyword";
874
- value: string;
875
- } | {
876
- hidden?: boolean | undefined;
877
- type: "unparsed";
878
- value: string;
879
- })[];
880
- })[];
881
- }, {
882
- type: "layers";
883
- value: ({
884
- type: "unit";
885
- value: number;
886
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
887
- } | {
888
- type: "keyword";
889
- value: string;
890
- } | {
891
- hidden?: boolean | undefined;
892
- type: "unparsed";
893
- value: string;
894
- } | {
895
- hidden?: boolean | undefined;
896
- type: "image";
897
- value: {
898
- type: "asset";
899
- value: string;
900
- } | {
901
- type: "url";
902
- url: string;
903
- };
904
- } | {
905
- type: "invalid";
906
- value: string;
907
- } | {
908
- type: "tuple";
909
- value: ({
910
- type: "unit";
911
- value: number;
912
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
913
- } | {
914
- type: "keyword";
915
- value: string;
916
- } | {
917
- hidden?: boolean | undefined;
918
- type: "unparsed";
919
- value: string;
920
- })[];
921
- })[];
922
- }>, z.ZodObject<{
923
- type: z.ZodLiteral<"unit">;
924
- unit: z.ZodUnion<[z.ZodEnum<["%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms"]>, z.ZodLiteral<"number">]>;
925
- value: z.ZodNumber;
926
- }, "strip", z.ZodTypeAny, {
927
- type: "unit";
928
- value: number;
929
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
930
- }, {
931
- type: "unit";
932
- value: number;
933
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
934
- }>, z.ZodObject<{
935
- type: z.ZodLiteral<"keyword">;
936
- value: z.ZodString;
937
- }, "strip", z.ZodTypeAny, {
938
- type: "keyword";
939
- value: string;
940
- }, {
941
- type: "keyword";
942
- value: string;
943
- }>, z.ZodObject<{
944
- type: z.ZodLiteral<"fontFamily">;
945
- value: z.ZodArray<z.ZodString, "many">;
946
- }, "strip", z.ZodTypeAny, {
947
- type: "fontFamily";
948
- value: string[];
949
- }, {
950
- type: "fontFamily";
951
- value: string[];
952
- }>, z.ZodObject<{
953
- type: z.ZodLiteral<"rgb">;
954
- r: z.ZodNumber;
955
- g: z.ZodNumber;
956
- b: z.ZodNumber;
957
- alpha: z.ZodNumber;
958
- }, "strip", z.ZodTypeAny, {
959
- type: "rgb";
960
- alpha: number;
961
- r: number;
962
- g: number;
963
- b: number;
964
- }, {
965
- type: "rgb";
966
- alpha: number;
967
- r: number;
968
- g: number;
969
- b: number;
970
- }>, z.ZodObject<{
971
- type: z.ZodLiteral<"unparsed">;
972
- value: z.ZodString;
973
- hidden: z.ZodOptional<z.ZodBoolean>;
974
- }, "strip", z.ZodTypeAny, {
975
- hidden?: boolean | undefined;
976
- type: "unparsed";
977
- value: string;
978
- }, {
979
- hidden?: boolean | undefined;
980
- type: "unparsed";
981
- value: string;
982
- }>, z.ZodObject<{
983
- type: z.ZodLiteral<"tuple">;
984
- value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
985
- type: z.ZodLiteral<"unit">;
986
- unit: z.ZodUnion<[z.ZodEnum<["%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms"]>, z.ZodLiteral<"number">]>;
987
- value: z.ZodNumber;
988
- }, "strip", z.ZodTypeAny, {
989
- type: "unit";
990
- value: number;
991
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
992
- }, {
993
- type: "unit";
994
- value: number;
995
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
996
- }>, z.ZodObject<{
997
- type: z.ZodLiteral<"keyword">;
998
- value: z.ZodString;
999
- }, "strip", z.ZodTypeAny, {
1000
- type: "keyword";
1001
- value: string;
1002
- }, {
1003
- type: "keyword";
1004
- value: string;
1005
- }>, z.ZodObject<{
1006
- type: z.ZodLiteral<"unparsed">;
1007
- value: z.ZodString;
1008
- hidden: z.ZodOptional<z.ZodBoolean>;
1009
- }, "strip", z.ZodTypeAny, {
1010
- hidden?: boolean | undefined;
1011
- type: "unparsed";
1012
- value: string;
1013
- }, {
1014
- hidden?: boolean | undefined;
1015
- type: "unparsed";
1016
- value: string;
1017
- }>]>, "many">;
1018
- }, "strip", z.ZodTypeAny, {
1019
- type: "tuple";
1020
- value: ({
1021
- type: "unit";
1022
- value: number;
1023
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1024
- } | {
1025
- type: "keyword";
1026
- value: string;
1027
- } | {
1028
- hidden?: boolean | undefined;
1029
- type: "unparsed";
1030
- value: string;
1031
- })[];
1032
- }, {
1033
- type: "tuple";
1034
- value: ({
1035
- type: "unit";
1036
- value: number;
1037
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1038
- } | {
1039
- type: "keyword";
1040
- value: string;
1041
- } | {
1042
- hidden?: boolean | undefined;
1043
- type: "unparsed";
1044
- value: string;
1045
- })[];
1046
- }>]>, z.ZodObject<{
1047
- type: z.ZodLiteral<"invalid">;
1048
- value: z.ZodString;
1049
- }, "strip", z.ZodTypeAny, {
1050
- type: "invalid";
1051
- value: string;
1052
- }, {
1053
- type: "invalid";
1054
- value: string;
1055
- }>, z.ZodObject<{
1056
- type: z.ZodLiteral<"unset">;
1057
- value: z.ZodLiteral<"">;
1058
- }, "strip", z.ZodTypeAny, {
1059
- type: "unset";
1060
- value: "";
1061
- }, {
1062
- type: "unset";
1063
- value: "";
1064
- }>, z.ZodObject<{
1065
- type: z.ZodLiteral<"var">;
1066
- value: z.ZodString;
1067
- fallbacks: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1068
- type: z.ZodLiteral<"image">;
1069
- value: z.ZodUnion<[z.ZodObject<{
1070
- type: z.ZodLiteral<"asset">;
1071
- value: z.ZodString;
1072
- }, "strip", z.ZodTypeAny, {
1073
- type: "asset";
1074
- value: string;
1075
- }, {
1076
- type: "asset";
1077
- value: string;
1078
- }>, z.ZodObject<{
1079
- type: z.ZodLiteral<"url">;
1080
- url: z.ZodString;
1081
- }, "strip", z.ZodTypeAny, {
1082
- type: "url";
1083
- url: string;
1084
- }, {
1085
- type: "url";
1086
- url: string;
1087
- }>]>;
1088
- hidden: z.ZodOptional<z.ZodBoolean>;
1089
- }, "strip", z.ZodTypeAny, {
1090
- hidden?: boolean | undefined;
1091
- type: "image";
1092
- value: {
1093
- type: "asset";
1094
- value: string;
1095
- } | {
1096
- type: "url";
1097
- url: string;
1098
- };
1099
- }, {
1100
- hidden?: boolean | undefined;
1101
- type: "image";
1102
- value: {
1103
- type: "asset";
1104
- value: string;
1105
- } | {
1106
- type: "url";
1107
- url: string;
1108
- };
1109
- }>, z.ZodObject<{
1110
- type: z.ZodLiteral<"layers">;
1111
- value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1112
- type: z.ZodLiteral<"unit">;
1113
- unit: z.ZodUnion<[z.ZodEnum<["%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms"]>, z.ZodLiteral<"number">]>;
1114
- value: z.ZodNumber;
1115
- }, "strip", z.ZodTypeAny, {
1116
- type: "unit";
1117
- value: number;
1118
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1119
- }, {
1120
- type: "unit";
1121
- value: number;
1122
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1123
- }>, z.ZodObject<{
1124
- type: z.ZodLiteral<"keyword">;
1125
- value: z.ZodString;
1126
- }, "strip", z.ZodTypeAny, {
1127
- type: "keyword";
1128
- value: string;
1129
- }, {
1130
- type: "keyword";
1131
- value: string;
1132
- }>, z.ZodObject<{
1133
- type: z.ZodLiteral<"unparsed">;
1134
- value: z.ZodString;
1135
- hidden: z.ZodOptional<z.ZodBoolean>;
1136
- }, "strip", z.ZodTypeAny, {
1137
- hidden?: boolean | undefined;
1138
- type: "unparsed";
1139
- value: string;
1140
- }, {
1141
- hidden?: boolean | undefined;
1142
- type: "unparsed";
1143
- value: string;
1144
- }>, z.ZodObject<{
1145
- type: z.ZodLiteral<"image">;
1146
- value: z.ZodUnion<[z.ZodObject<{
1147
- type: z.ZodLiteral<"asset">;
1148
- value: z.ZodString;
1149
- }, "strip", z.ZodTypeAny, {
1150
- type: "asset";
1151
- value: string;
1152
- }, {
1153
- type: "asset";
1154
- value: string;
1155
- }>, z.ZodObject<{
1156
- type: z.ZodLiteral<"url">;
1157
- url: z.ZodString;
1158
- }, "strip", z.ZodTypeAny, {
1159
- type: "url";
1160
- url: string;
1161
- }, {
1162
- type: "url";
1163
- url: string;
1164
- }>]>;
1165
- hidden: z.ZodOptional<z.ZodBoolean>;
1166
- }, "strip", z.ZodTypeAny, {
1167
- hidden?: boolean | undefined;
1168
- type: "image";
1169
- value: {
1170
- type: "asset";
1171
- value: string;
1172
- } | {
1173
- type: "url";
1174
- url: string;
1175
- };
1176
- }, {
1177
- hidden?: boolean | undefined;
1178
- type: "image";
1179
- value: {
1180
- type: "asset";
1181
- value: string;
1182
- } | {
1183
- type: "url";
1184
- url: string;
1185
- };
1186
- }>, z.ZodObject<{
1187
- type: z.ZodLiteral<"tuple">;
1188
- value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1189
- type: z.ZodLiteral<"unit">;
1190
- unit: z.ZodUnion<[z.ZodEnum<["%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms"]>, z.ZodLiteral<"number">]>;
1191
- value: z.ZodNumber;
1192
- }, "strip", z.ZodTypeAny, {
1193
- type: "unit";
1194
- value: number;
1195
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1196
- }, {
1197
- type: "unit";
1198
- value: number;
1199
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1200
- }>, z.ZodObject<{
1201
- type: z.ZodLiteral<"keyword">;
1202
- value: z.ZodString;
1203
- }, "strip", z.ZodTypeAny, {
1204
- type: "keyword";
1205
- value: string;
1206
- }, {
1207
- type: "keyword";
1208
- value: string;
1209
- }>, z.ZodObject<{
1210
- type: z.ZodLiteral<"unparsed">;
1211
- value: z.ZodString;
1212
- hidden: z.ZodOptional<z.ZodBoolean>;
1213
- }, "strip", z.ZodTypeAny, {
1214
- hidden?: boolean | undefined;
1215
- type: "unparsed";
1216
- value: string;
1217
- }, {
1218
- hidden?: boolean | undefined;
1219
- type: "unparsed";
1220
- value: string;
1221
- }>]>, "many">;
1222
- }, "strip", z.ZodTypeAny, {
1223
- type: "tuple";
1224
- value: ({
1225
- type: "unit";
1226
- value: number;
1227
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1228
- } | {
1229
- type: "keyword";
1230
- value: string;
1231
- } | {
1232
- hidden?: boolean | undefined;
1233
- type: "unparsed";
1234
- value: string;
1235
- })[];
1236
- }, {
1237
- type: "tuple";
1238
- value: ({
1239
- type: "unit";
1240
- value: number;
1241
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1242
- } | {
1243
- type: "keyword";
1244
- value: string;
1245
- } | {
1246
- hidden?: boolean | undefined;
1247
- type: "unparsed";
1248
- value: string;
1249
- })[];
1250
- }>, z.ZodObject<{
1251
- type: z.ZodLiteral<"invalid">;
1252
- value: z.ZodString;
1253
- }, "strip", z.ZodTypeAny, {
1254
- type: "invalid";
1255
- value: string;
1256
- }, {
1257
- type: "invalid";
1258
- value: string;
1259
- }>]>, "many">;
1260
- }, "strip", z.ZodTypeAny, {
1261
- type: "layers";
1262
- value: ({
1263
- type: "unit";
1264
- value: number;
1265
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1266
- } | {
1267
- type: "keyword";
1268
- value: string;
1269
- } | {
1270
- hidden?: boolean | undefined;
1271
- type: "unparsed";
1272
- value: string;
1273
- } | {
1274
- hidden?: boolean | undefined;
1275
- type: "image";
1276
- value: {
1277
- type: "asset";
1278
- value: string;
1279
- } | {
1280
- type: "url";
1281
- url: string;
1282
- };
1283
- } | {
1284
- type: "invalid";
1285
- value: string;
1286
- } | {
1287
- type: "tuple";
1288
- value: ({
1289
- type: "unit";
1290
- value: number;
1291
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1292
- } | {
1293
- type: "keyword";
1294
- value: string;
1295
- } | {
1296
- hidden?: boolean | undefined;
1297
- type: "unparsed";
1298
- value: string;
1299
- })[];
1300
- })[];
1301
- }, {
1302
- type: "layers";
1303
- value: ({
1304
- type: "unit";
1305
- value: number;
1306
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1307
- } | {
1308
- type: "keyword";
1309
- value: string;
1310
- } | {
1311
- hidden?: boolean | undefined;
1312
- type: "unparsed";
1313
- value: string;
1314
- } | {
1315
- hidden?: boolean | undefined;
1316
- type: "image";
1317
- value: {
1318
- type: "asset";
1319
- value: string;
1320
- } | {
1321
- type: "url";
1322
- url: string;
1323
- };
1324
- } | {
1325
- type: "invalid";
1326
- value: string;
1327
- } | {
1328
- type: "tuple";
1329
- value: ({
1330
- type: "unit";
1331
- value: number;
1332
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1333
- } | {
1334
- type: "keyword";
1335
- value: string;
1336
- } | {
1337
- hidden?: boolean | undefined;
1338
- type: "unparsed";
1339
- value: string;
1340
- })[];
1341
- })[];
1342
- }>, z.ZodObject<{
1343
- type: z.ZodLiteral<"unit">;
1344
- unit: z.ZodUnion<[z.ZodEnum<["%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms"]>, z.ZodLiteral<"number">]>;
1345
- value: z.ZodNumber;
1346
- }, "strip", z.ZodTypeAny, {
1347
- type: "unit";
1348
- value: number;
1349
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1350
- }, {
1351
- type: "unit";
1352
- value: number;
1353
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1354
- }>, z.ZodObject<{
1355
- type: z.ZodLiteral<"keyword">;
1356
- value: z.ZodString;
1357
- }, "strip", z.ZodTypeAny, {
1358
- type: "keyword";
1359
- value: string;
1360
- }, {
1361
- type: "keyword";
1362
- value: string;
1363
- }>, z.ZodObject<{
1364
- type: z.ZodLiteral<"fontFamily">;
1365
- value: z.ZodArray<z.ZodString, "many">;
1366
- }, "strip", z.ZodTypeAny, {
1367
- type: "fontFamily";
1368
- value: string[];
1369
- }, {
1370
- type: "fontFamily";
1371
- value: string[];
1372
- }>, z.ZodObject<{
1373
- type: z.ZodLiteral<"rgb">;
1374
- r: z.ZodNumber;
1375
- g: z.ZodNumber;
1376
- b: z.ZodNumber;
1377
- alpha: z.ZodNumber;
1378
- }, "strip", z.ZodTypeAny, {
1379
- type: "rgb";
1380
- alpha: number;
1381
- r: number;
1382
- g: number;
1383
- b: number;
1384
- }, {
1385
- type: "rgb";
1386
- alpha: number;
1387
- r: number;
1388
- g: number;
1389
- b: number;
1390
- }>, z.ZodObject<{
1391
- type: z.ZodLiteral<"unparsed">;
1392
- value: z.ZodString;
1393
- hidden: z.ZodOptional<z.ZodBoolean>;
1394
- }, "strip", z.ZodTypeAny, {
1395
- hidden?: boolean | undefined;
1396
- type: "unparsed";
1397
- value: string;
1398
- }, {
1399
- hidden?: boolean | undefined;
1400
- type: "unparsed";
1401
- value: string;
1402
- }>, z.ZodObject<{
1403
- type: z.ZodLiteral<"tuple">;
1404
- value: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1405
- type: z.ZodLiteral<"unit">;
1406
- unit: z.ZodUnion<[z.ZodEnum<["%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms"]>, z.ZodLiteral<"number">]>;
1407
- value: z.ZodNumber;
1408
- }, "strip", z.ZodTypeAny, {
1409
- type: "unit";
1410
- value: number;
1411
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1412
- }, {
1413
- type: "unit";
1414
- value: number;
1415
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1416
- }>, z.ZodObject<{
1417
- type: z.ZodLiteral<"keyword">;
1418
- value: z.ZodString;
1419
- }, "strip", z.ZodTypeAny, {
1420
- type: "keyword";
1421
- value: string;
1422
- }, {
1423
- type: "keyword";
1424
- value: string;
1425
- }>, z.ZodObject<{
1426
- type: z.ZodLiteral<"unparsed">;
1427
- value: z.ZodString;
1428
- hidden: z.ZodOptional<z.ZodBoolean>;
1429
- }, "strip", z.ZodTypeAny, {
1430
- hidden?: boolean | undefined;
1431
- type: "unparsed";
1432
- value: string;
1433
- }, {
1434
- hidden?: boolean | undefined;
1435
- type: "unparsed";
1436
- value: string;
1437
- }>]>, "many">;
1438
- }, "strip", z.ZodTypeAny, {
1439
- type: "tuple";
1440
- value: ({
1441
- type: "unit";
1442
- value: number;
1443
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1444
- } | {
1445
- type: "keyword";
1446
- value: string;
1447
- } | {
1448
- hidden?: boolean | undefined;
1449
- type: "unparsed";
1450
- value: string;
1451
- })[];
1452
- }, {
1453
- type: "tuple";
1454
- value: ({
1455
- type: "unit";
1456
- value: number;
1457
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1458
- } | {
1459
- type: "keyword";
1460
- value: string;
1461
- } | {
1462
- hidden?: boolean | undefined;
1463
- type: "unparsed";
1464
- value: string;
1465
- })[];
1466
- }>]>, "many">;
1467
- }, "strip", z.ZodTypeAny, {
1468
- type: "var";
1469
- value: string;
1470
- fallbacks: ({
1471
- type: "unit";
1472
- value: number;
1473
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1474
- } | {
1475
- type: "keyword";
1476
- value: string;
1477
- } | {
1478
- hidden?: boolean | undefined;
1479
- type: "unparsed";
1480
- value: string;
1481
- } | {
1482
- type: "fontFamily";
1483
- value: string[];
1484
- } | {
1485
- type: "rgb";
1486
- alpha: number;
1487
- r: number;
1488
- g: number;
1489
- b: number;
1490
- } | {
1491
- hidden?: boolean | undefined;
1492
- type: "image";
1493
- value: {
1494
- type: "asset";
1495
- value: string;
1496
- } | {
1497
- type: "url";
1498
- url: string;
1499
- };
1500
- } | {
1501
- type: "tuple";
1502
- value: ({
1503
- type: "unit";
1504
- value: number;
1505
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1506
- } | {
1507
- type: "keyword";
1508
- value: string;
1509
- } | {
1510
- hidden?: boolean | undefined;
1511
- type: "unparsed";
1512
- value: string;
1513
- })[];
1514
- } | {
1515
- type: "layers";
1516
- value: ({
1517
- type: "unit";
1518
- value: number;
1519
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1520
- } | {
1521
- type: "keyword";
1522
- value: string;
1523
- } | {
1524
- hidden?: boolean | undefined;
1525
- type: "unparsed";
1526
- value: string;
1527
- } | {
1528
- hidden?: boolean | undefined;
1529
- type: "image";
1530
- value: {
1531
- type: "asset";
1532
- value: string;
1533
- } | {
1534
- type: "url";
1535
- url: string;
1536
- };
1537
- } | {
1538
- type: "invalid";
1539
- value: string;
1540
- } | {
1541
- type: "tuple";
1542
- value: ({
1543
- type: "unit";
1544
- value: number;
1545
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1546
- } | {
1547
- type: "keyword";
1548
- value: string;
1549
- } | {
1550
- hidden?: boolean | undefined;
1551
- type: "unparsed";
1552
- value: string;
1553
- })[];
1554
- })[];
1555
- })[];
1556
- }, {
1557
- type: "var";
1558
- value: string;
1559
- fallbacks: ({
1560
- type: "unit";
1561
- value: number;
1562
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1563
- } | {
1564
- type: "keyword";
1565
- value: string;
1566
- } | {
1567
- hidden?: boolean | undefined;
1568
- type: "unparsed";
1569
- value: string;
1570
- } | {
1571
- type: "fontFamily";
1572
- value: string[];
1573
- } | {
1574
- type: "rgb";
1575
- alpha: number;
1576
- r: number;
1577
- g: number;
1578
- b: number;
1579
- } | {
1580
- hidden?: boolean | undefined;
1581
- type: "image";
1582
- value: {
1583
- type: "asset";
1584
- value: string;
1585
- } | {
1586
- type: "url";
1587
- url: string;
1588
- };
1589
- } | {
1590
- type: "tuple";
1591
- value: ({
1592
- type: "unit";
1593
- value: number;
1594
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1595
- } | {
1596
- type: "keyword";
1597
- value: string;
1598
- } | {
1599
- hidden?: boolean | undefined;
1600
- type: "unparsed";
1601
- value: string;
1602
- })[];
1603
- } | {
1604
- type: "layers";
1605
- value: ({
1606
- type: "unit";
1607
- value: number;
1608
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1609
- } | {
1610
- type: "keyword";
1611
- value: string;
1612
- } | {
1613
- hidden?: boolean | undefined;
1614
- type: "unparsed";
1615
- value: string;
1616
- } | {
1617
- hidden?: boolean | undefined;
1618
- type: "image";
1619
- value: {
1620
- type: "asset";
1621
- value: string;
1622
- } | {
1623
- type: "url";
1624
- url: string;
1625
- };
1626
- } | {
1627
- type: "invalid";
1628
- value: string;
1629
- } | {
1630
- type: "tuple";
1631
- value: ({
1632
- type: "unit";
1633
- value: number;
1634
- unit: "number" | "%" | "deg" | "grad" | "rad" | "turn" | "db" | "fr" | "hz" | "khz" | "cm" | "mm" | "q" | "in" | "pt" | "pc" | "px" | "em" | "rem" | "ex" | "rex" | "cap" | "rcap" | "ch" | "rch" | "ic" | "ric" | "lh" | "rlh" | "vw" | "svw" | "lvw" | "dvw" | "vh" | "svh" | "lvh" | "dvh" | "vi" | "svi" | "lvi" | "dvi" | "vb" | "svb" | "lvb" | "dvb" | "vmin" | "svmin" | "lvmin" | "dvmin" | "vmax" | "svmax" | "lvmax" | "dvmax" | "cqw" | "cqh" | "cqi" | "cqb" | "cqmin" | "cqmax" | "dpi" | "dpcm" | "dppx" | "x" | "st" | "s" | "ms";
1635
- } | {
1636
- type: "keyword";
1637
- value: string;
1638
- } | {
1639
- hidden?: boolean | undefined;
1640
- type: "unparsed";
1641
- value: string;
1642
- })[];
1643
- })[];
1644
- })[];
1645
- }>]>;
1646
- }, "strip", z.ZodTypeAny, {
1647
- state?: string | undefined;
531
+ label?: string | undefined;
532
+ description?: string | undefined;
533
+ } | {
534
+ type: "boolean";
535
+ required: boolean;
536
+ control: "boolean";
537
+ defaultValue?: boolean | undefined;
538
+ label?: string | undefined;
539
+ description?: string | undefined;
540
+ } | {
541
+ options: string[];
542
+ type: "string";
543
+ required: boolean;
544
+ control: "radio";
545
+ defaultValue?: string | undefined;
546
+ label?: string | undefined;
547
+ description?: string | undefined;
548
+ } | {
549
+ options: string[];
550
+ type: "string";
551
+ required: boolean;
552
+ control: "inline-radio";
553
+ defaultValue?: string | undefined;
554
+ label?: string | undefined;
555
+ description?: string | undefined;
556
+ } | {
557
+ options: string[];
558
+ type: "string";
559
+ required: boolean;
560
+ control: "select";
561
+ defaultValue?: string | undefined;
562
+ label?: string | undefined;
563
+ description?: string | undefined;
564
+ } | {
565
+ options: string[];
566
+ type: "string[]";
567
+ required: boolean;
568
+ control: "check";
569
+ defaultValue?: string[] | undefined;
570
+ label?: string | undefined;
571
+ description?: string | undefined;
572
+ } | {
573
+ options: string[];
574
+ type: "string[]";
575
+ required: boolean;
576
+ control: "inline-check";
577
+ defaultValue?: string[] | undefined;
578
+ label?: string | undefined;
579
+ description?: string | undefined;
580
+ } | {
581
+ options: string[];
582
+ type: "string[]";
583
+ required: boolean;
584
+ control: "multi-select";
585
+ defaultValue?: string[] | undefined;
586
+ label?: string | undefined;
587
+ description?: string | undefined;
588
+ } | {
589
+ type: "string";
590
+ required: boolean;
591
+ control: "file";
592
+ defaultValue?: string | undefined;
593
+ accept?: string | undefined;
594
+ label?: string | undefined;
595
+ description?: string | undefined;
596
+ } | {
597
+ type: "string";
598
+ required: boolean;
599
+ control: "url";
600
+ defaultValue?: string | undefined;
601
+ label?: string | undefined;
602
+ description?: string | undefined;
603
+ } | {
604
+ type: "Record<string, string>";
605
+ required: boolean;
606
+ control: "object";
607
+ defaultValue?: Record<string, string> | undefined;
608
+ label?: string | undefined;
609
+ description?: string | undefined;
610
+ } | {
611
+ type: "string";
612
+ required: boolean;
613
+ control: "date";
614
+ defaultValue?: string | undefined;
615
+ label?: string | undefined;
616
+ description?: string | undefined;
617
+ }>;
618
+ initialProps?: string[] | undefined;
619
+ }>;
620
+ export type WsComponentPropsMeta = z.infer<typeof WsComponentPropsMeta>;
621
+ export declare const componentCategories: readonly ["general", "text", "media", "forms"];
622
+ export declare const stateCategories: readonly ["states", "component-states"];
623
+ export declare const ComponentState: z.ZodObject<{
624
+ category: z.ZodOptional<z.ZodEnum<["states", "component-states"]>>;
625
+ selector: z.ZodString;
626
+ label: z.ZodString;
627
+ }, "strip", z.ZodTypeAny, {
628
+ label: string;
629
+ selector: string;
630
+ category?: "states" | "component-states" | undefined;
631
+ }, {
632
+ label: string;
633
+ selector: string;
634
+ category?: "states" | "component-states" | undefined;
635
+ }>;
636
+ export type ComponentState = z.infer<typeof ComponentState>;
637
+ export declare const defaultStates: ComponentState[];
638
+ declare const WsComponentMeta: z.ZodObject<{
639
+ category: z.ZodOptional<z.ZodEnum<["general", "text", "media", "forms"]>>;
640
+ type: z.ZodEnum<["container", "control", "embed", "rich-text", "rich-text-child"]>;
641
+ requiredAncestors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
642
+ invalidAncestors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
643
+ stylable: z.ZodOptional<z.ZodBoolean>;
644
+ label: z.ZodString;
645
+ icon: z.ZodString;
646
+ presetStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{
1648
647
  value: {
1649
648
  type: "unit";
1650
649
  value: number;
@@ -1653,9 +652,9 @@ declare const WsComponentMeta: z.ZodObject<{
1653
652
  type: "keyword";
1654
653
  value: string;
1655
654
  } | {
1656
- hidden?: boolean | undefined;
1657
655
  type: "unparsed";
1658
656
  value: string;
657
+ hidden?: boolean | undefined;
1659
658
  } | {
1660
659
  type: "fontFamily";
1661
660
  value: string[];
@@ -1666,7 +665,6 @@ declare const WsComponentMeta: z.ZodObject<{
1666
665
  g: number;
1667
666
  b: number;
1668
667
  } | {
1669
- hidden?: boolean | undefined;
1670
668
  type: "image";
1671
669
  value: {
1672
670
  type: "asset";
@@ -1675,6 +673,7 @@ declare const WsComponentMeta: z.ZodObject<{
1675
673
  type: "url";
1676
674
  url: string;
1677
675
  };
676
+ hidden?: boolean | undefined;
1678
677
  } | {
1679
678
  type: "invalid";
1680
679
  value: string;
@@ -1691,9 +690,9 @@ declare const WsComponentMeta: z.ZodObject<{
1691
690
  type: "keyword";
1692
691
  value: string;
1693
692
  } | {
1694
- hidden?: boolean | undefined;
1695
693
  type: "unparsed";
1696
694
  value: string;
695
+ hidden?: boolean | undefined;
1697
696
  })[];
1698
697
  } | {
1699
698
  type: "layers";
@@ -1705,11 +704,10 @@ declare const WsComponentMeta: z.ZodObject<{
1705
704
  type: "keyword";
1706
705
  value: string;
1707
706
  } | {
1708
- hidden?: boolean | undefined;
1709
707
  type: "unparsed";
1710
708
  value: string;
1711
- } | {
1712
709
  hidden?: boolean | undefined;
710
+ } | {
1713
711
  type: "image";
1714
712
  value: {
1715
713
  type: "asset";
@@ -1718,6 +716,7 @@ declare const WsComponentMeta: z.ZodObject<{
1718
716
  type: "url";
1719
717
  url: string;
1720
718
  };
719
+ hidden?: boolean | undefined;
1721
720
  } | {
1722
721
  type: "invalid";
1723
722
  value: string;
@@ -1731,9 +730,9 @@ declare const WsComponentMeta: z.ZodObject<{
1731
730
  type: "keyword";
1732
731
  value: string;
1733
732
  } | {
1734
- hidden?: boolean | undefined;
1735
733
  type: "unparsed";
1736
734
  value: string;
735
+ hidden?: boolean | undefined;
1737
736
  })[];
1738
737
  })[];
1739
738
  } | {
@@ -1747,9 +746,9 @@ declare const WsComponentMeta: z.ZodObject<{
1747
746
  type: "keyword";
1748
747
  value: string;
1749
748
  } | {
1750
- hidden?: boolean | undefined;
1751
749
  type: "unparsed";
1752
750
  value: string;
751
+ hidden?: boolean | undefined;
1753
752
  } | {
1754
753
  type: "fontFamily";
1755
754
  value: string[];
@@ -1760,7 +759,6 @@ declare const WsComponentMeta: z.ZodObject<{
1760
759
  g: number;
1761
760
  b: number;
1762
761
  } | {
1763
- hidden?: boolean | undefined;
1764
762
  type: "image";
1765
763
  value: {
1766
764
  type: "asset";
@@ -1769,6 +767,7 @@ declare const WsComponentMeta: z.ZodObject<{
1769
767
  type: "url";
1770
768
  url: string;
1771
769
  };
770
+ hidden?: boolean | undefined;
1772
771
  } | {
1773
772
  type: "tuple";
1774
773
  value: ({
@@ -1779,9 +778,9 @@ declare const WsComponentMeta: z.ZodObject<{
1779
778
  type: "keyword";
1780
779
  value: string;
1781
780
  } | {
1782
- hidden?: boolean | undefined;
1783
781
  type: "unparsed";
1784
782
  value: string;
783
+ hidden?: boolean | undefined;
1785
784
  })[];
1786
785
  } | {
1787
786
  type: "layers";
@@ -1793,11 +792,10 @@ declare const WsComponentMeta: z.ZodObject<{
1793
792
  type: "keyword";
1794
793
  value: string;
1795
794
  } | {
1796
- hidden?: boolean | undefined;
1797
795
  type: "unparsed";
1798
796
  value: string;
1799
- } | {
1800
797
  hidden?: boolean | undefined;
798
+ } | {
1801
799
  type: "image";
1802
800
  value: {
1803
801
  type: "asset";
@@ -1806,6 +804,7 @@ declare const WsComponentMeta: z.ZodObject<{
1806
804
  type: "url";
1807
805
  url: string;
1808
806
  };
807
+ hidden?: boolean | undefined;
1809
808
  } | {
1810
809
  type: "invalid";
1811
810
  value: string;
@@ -1819,16 +818,16 @@ declare const WsComponentMeta: z.ZodObject<{
1819
818
  type: "keyword";
1820
819
  value: string;
1821
820
  } | {
1822
- hidden?: boolean | undefined;
1823
821
  type: "unparsed";
1824
822
  value: string;
823
+ hidden?: boolean | undefined;
1825
824
  })[];
1826
825
  })[];
1827
826
  })[];
1828
827
  };
1829
- property: "filter" | "float" | "fontFamily" | "width" | "height" | "clip" | "top" | "right" | `--${string}` | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "animationTimeline" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockOverflow" | "blockSize" | "borderBlockColor" | "borderBlockStyle" | "borderBlockWidth" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInlineColor" | "borderInlineStyle" | "borderInlineWidth" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxDecorationBreak" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "caretShape" | "clear" | "clipPath" | "color" | "printColorAdjust" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicWidth" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "direction" | "display" | "emptyCells" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontVariationSettings" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontWeight" | "forcedColorAdjust" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "hyphenateCharacter" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inputSecurity" | "insetBlockEnd" | "insetBlockStart" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyleImage" | "listStylePosition" | "listStyleType" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "quotes" | "resize" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "scale" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "scrollBehavior" | "scrollMarginBlockStart" | "scrollMarginBlockEnd" | "scrollMarginBottom" | "scrollMarginInlineStart" | "scrollMarginInlineEnd" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPaddingBlockStart" | "scrollPaddingBlockEnd" | "scrollPaddingBottom" | "scrollPaddingInlineStart" | "scrollPaddingInlineEnd" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapStop" | "scrollSnapType" | "scrollTimelineAxis" | "scrollTimelineName" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "visibility" | "whiteSpace" | "widows" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex";
1830
- }, {
1831
828
  state?: string | undefined;
829
+ property: "filter" | "float" | "fontFamily" | "width" | "height" | "clip" | "top" | "right" | `--${string}` | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "animationTimeline" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockOverflow" | "blockSize" | "borderBlockColor" | "borderBlockStyle" | "borderBlockWidth" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInlineColor" | "borderInlineStyle" | "borderInlineWidth" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxDecorationBreak" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "caretShape" | "clear" | "clipPath" | "color" | "printColorAdjust" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicWidth" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "direction" | "display" | "emptyCells" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontVariationSettings" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontWeight" | "forcedColorAdjust" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "hyphenateCharacter" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inputSecurity" | "insetBlockEnd" | "insetBlockStart" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyleImage" | "listStylePosition" | "listStyleType" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "quotes" | "resize" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "scale" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "scrollBehavior" | "scrollMarginBlockStart" | "scrollMarginBlockEnd" | "scrollMarginBottom" | "scrollMarginInlineStart" | "scrollMarginInlineEnd" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPaddingBlockStart" | "scrollPaddingBlockEnd" | "scrollPaddingBottom" | "scrollPaddingInlineStart" | "scrollPaddingInlineEnd" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapStop" | "scrollSnapType" | "scrollTimelineAxis" | "scrollTimelineName" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "visibility" | "whiteSpace" | "widows" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex";
830
+ }, z.ZodTypeDef, {
1832
831
  value: {
1833
832
  type: "unit";
1834
833
  value: number;
@@ -1837,9 +836,9 @@ declare const WsComponentMeta: z.ZodObject<{
1837
836
  type: "keyword";
1838
837
  value: string;
1839
838
  } | {
1840
- hidden?: boolean | undefined;
1841
839
  type: "unparsed";
1842
840
  value: string;
841
+ hidden?: boolean | undefined;
1843
842
  } | {
1844
843
  type: "fontFamily";
1845
844
  value: string[];
@@ -1850,7 +849,6 @@ declare const WsComponentMeta: z.ZodObject<{
1850
849
  g: number;
1851
850
  b: number;
1852
851
  } | {
1853
- hidden?: boolean | undefined;
1854
852
  type: "image";
1855
853
  value: {
1856
854
  type: "asset";
@@ -1859,6 +857,7 @@ declare const WsComponentMeta: z.ZodObject<{
1859
857
  type: "url";
1860
858
  url: string;
1861
859
  };
860
+ hidden?: boolean | undefined;
1862
861
  } | {
1863
862
  type: "invalid";
1864
863
  value: string;
@@ -1875,9 +874,9 @@ declare const WsComponentMeta: z.ZodObject<{
1875
874
  type: "keyword";
1876
875
  value: string;
1877
876
  } | {
1878
- hidden?: boolean | undefined;
1879
877
  type: "unparsed";
1880
878
  value: string;
879
+ hidden?: boolean | undefined;
1881
880
  })[];
1882
881
  } | {
1883
882
  type: "layers";
@@ -1889,11 +888,10 @@ declare const WsComponentMeta: z.ZodObject<{
1889
888
  type: "keyword";
1890
889
  value: string;
1891
890
  } | {
1892
- hidden?: boolean | undefined;
1893
891
  type: "unparsed";
1894
892
  value: string;
1895
- } | {
1896
893
  hidden?: boolean | undefined;
894
+ } | {
1897
895
  type: "image";
1898
896
  value: {
1899
897
  type: "asset";
@@ -1902,6 +900,7 @@ declare const WsComponentMeta: z.ZodObject<{
1902
900
  type: "url";
1903
901
  url: string;
1904
902
  };
903
+ hidden?: boolean | undefined;
1905
904
  } | {
1906
905
  type: "invalid";
1907
906
  value: string;
@@ -1915,9 +914,9 @@ declare const WsComponentMeta: z.ZodObject<{
1915
914
  type: "keyword";
1916
915
  value: string;
1917
916
  } | {
1918
- hidden?: boolean | undefined;
1919
917
  type: "unparsed";
1920
918
  value: string;
919
+ hidden?: boolean | undefined;
1921
920
  })[];
1922
921
  })[];
1923
922
  } | {
@@ -1931,9 +930,9 @@ declare const WsComponentMeta: z.ZodObject<{
1931
930
  type: "keyword";
1932
931
  value: string;
1933
932
  } | {
1934
- hidden?: boolean | undefined;
1935
933
  type: "unparsed";
1936
934
  value: string;
935
+ hidden?: boolean | undefined;
1937
936
  } | {
1938
937
  type: "fontFamily";
1939
938
  value: string[];
@@ -1944,7 +943,6 @@ declare const WsComponentMeta: z.ZodObject<{
1944
943
  g: number;
1945
944
  b: number;
1946
945
  } | {
1947
- hidden?: boolean | undefined;
1948
946
  type: "image";
1949
947
  value: {
1950
948
  type: "asset";
@@ -1953,6 +951,7 @@ declare const WsComponentMeta: z.ZodObject<{
1953
951
  type: "url";
1954
952
  url: string;
1955
953
  };
954
+ hidden?: boolean | undefined;
1956
955
  } | {
1957
956
  type: "tuple";
1958
957
  value: ({
@@ -1963,9 +962,9 @@ declare const WsComponentMeta: z.ZodObject<{
1963
962
  type: "keyword";
1964
963
  value: string;
1965
964
  } | {
1966
- hidden?: boolean | undefined;
1967
965
  type: "unparsed";
1968
966
  value: string;
967
+ hidden?: boolean | undefined;
1969
968
  })[];
1970
969
  } | {
1971
970
  type: "layers";
@@ -1977,11 +976,10 @@ declare const WsComponentMeta: z.ZodObject<{
1977
976
  type: "keyword";
1978
977
  value: string;
1979
978
  } | {
1980
- hidden?: boolean | undefined;
1981
979
  type: "unparsed";
1982
980
  value: string;
1983
- } | {
1984
981
  hidden?: boolean | undefined;
982
+ } | {
1985
983
  type: "image";
1986
984
  value: {
1987
985
  type: "asset";
@@ -1990,6 +988,7 @@ declare const WsComponentMeta: z.ZodObject<{
1990
988
  type: "url";
1991
989
  url: string;
1992
990
  };
991
+ hidden?: boolean | undefined;
1993
992
  } | {
1994
993
  type: "invalid";
1995
994
  value: string;
@@ -2003,13 +1002,14 @@ declare const WsComponentMeta: z.ZodObject<{
2003
1002
  type: "keyword";
2004
1003
  value: string;
2005
1004
  } | {
2006
- hidden?: boolean | undefined;
2007
1005
  type: "unparsed";
2008
1006
  value: string;
1007
+ hidden?: boolean | undefined;
2009
1008
  })[];
2010
1009
  })[];
2011
1010
  })[];
2012
1011
  };
1012
+ state?: string | undefined;
2013
1013
  property: "filter" | "float" | "fontFamily" | "width" | "height" | "clip" | "top" | "right" | `--${string}` | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "animationTimeline" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockOverflow" | "blockSize" | "borderBlockColor" | "borderBlockStyle" | "borderBlockWidth" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInlineColor" | "borderInlineStyle" | "borderInlineWidth" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxDecorationBreak" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "caretShape" | "clear" | "clipPath" | "color" | "printColorAdjust" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicWidth" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "direction" | "display" | "emptyCells" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontVariationSettings" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontWeight" | "forcedColorAdjust" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "hyphenateCharacter" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inputSecurity" | "insetBlockEnd" | "insetBlockStart" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyleImage" | "listStylePosition" | "listStyleType" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "quotes" | "resize" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "scale" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "scrollBehavior" | "scrollMarginBlockStart" | "scrollMarginBlockEnd" | "scrollMarginBottom" | "scrollMarginInlineStart" | "scrollMarginInlineEnd" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPaddingBlockStart" | "scrollPaddingBlockEnd" | "scrollPaddingBottom" | "scrollPaddingInlineStart" | "scrollPaddingInlineEnd" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapStop" | "scrollSnapType" | "scrollTimelineAxis" | "scrollTimelineName" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "visibility" | "whiteSpace" | "widows" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex";
2014
1014
  }>>>;
2015
1015
  states: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2017,15 +1017,15 @@ declare const WsComponentMeta: z.ZodObject<{
2017
1017
  selector: z.ZodString;
2018
1018
  label: z.ZodString;
2019
1019
  }, "strip", z.ZodTypeAny, {
2020
- category?: "states" | "component-states" | undefined;
2021
1020
  label: string;
2022
1021
  selector: string;
2023
- }, {
2024
1022
  category?: "states" | "component-states" | undefined;
1023
+ }, {
2025
1024
  label: string;
2026
1025
  selector: string;
1026
+ category?: "states" | "component-states" | undefined;
2027
1027
  }>, "many">>;
2028
- children: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodUnion<[z.ZodType<import("../embed-template").EmbedTemplateInstance, z.ZodTypeDef, import("../embed-template").EmbedTemplateInstance>, z.ZodObject<{
1028
+ template: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodUnion<[z.ZodType<import("../embed-template").EmbedTemplateInstance, z.ZodTypeDef, import("../embed-template").EmbedTemplateInstance>, z.ZodObject<{
2029
1029
  type: z.ZodLiteral<"text">;
2030
1030
  value: z.ZodString;
2031
1031
  }, "strip", z.ZodTypeAny, {
@@ -2035,20 +1035,16 @@ declare const WsComponentMeta: z.ZodObject<{
2035
1035
  type: "text";
2036
1036
  value: string;
2037
1037
  }>]>, "many">>>;
1038
+ order: z.ZodOptional<z.ZodNumber>;
2038
1039
  }, "strip", z.ZodTypeAny, {
2039
- children?: ({
2040
- type: "text";
2041
- value: string;
2042
- } | import("../embed-template").EmbedTemplateInstance)[] | undefined;
2043
- states?: {
2044
- category?: "states" | "component-states" | undefined;
2045
- label: string;
2046
- selector: string;
2047
- }[] | undefined;
2048
- category?: "media" | "general" | "typography" | "forms" | undefined;
2049
- acceptedParents?: string[] | undefined;
1040
+ type: "embed" | "control" | "container" | "rich-text" | "rich-text-child";
1041
+ label: string;
1042
+ icon: string;
1043
+ category?: "text" | "media" | "general" | "forms" | undefined;
1044
+ requiredAncestors?: string[] | undefined;
1045
+ invalidAncestors?: string[] | undefined;
1046
+ stylable?: boolean | undefined;
2050
1047
  presetStyle?: Record<string, {
2051
- state?: string | undefined;
2052
1048
  value: {
2053
1049
  type: "unit";
2054
1050
  value: number;
@@ -2057,9 +1053,9 @@ declare const WsComponentMeta: z.ZodObject<{
2057
1053
  type: "keyword";
2058
1054
  value: string;
2059
1055
  } | {
2060
- hidden?: boolean | undefined;
2061
1056
  type: "unparsed";
2062
1057
  value: string;
1058
+ hidden?: boolean | undefined;
2063
1059
  } | {
2064
1060
  type: "fontFamily";
2065
1061
  value: string[];
@@ -2070,7 +1066,6 @@ declare const WsComponentMeta: z.ZodObject<{
2070
1066
  g: number;
2071
1067
  b: number;
2072
1068
  } | {
2073
- hidden?: boolean | undefined;
2074
1069
  type: "image";
2075
1070
  value: {
2076
1071
  type: "asset";
@@ -2079,6 +1074,7 @@ declare const WsComponentMeta: z.ZodObject<{
2079
1074
  type: "url";
2080
1075
  url: string;
2081
1076
  };
1077
+ hidden?: boolean | undefined;
2082
1078
  } | {
2083
1079
  type: "invalid";
2084
1080
  value: string;
@@ -2095,9 +1091,9 @@ declare const WsComponentMeta: z.ZodObject<{
2095
1091
  type: "keyword";
2096
1092
  value: string;
2097
1093
  } | {
2098
- hidden?: boolean | undefined;
2099
1094
  type: "unparsed";
2100
1095
  value: string;
1096
+ hidden?: boolean | undefined;
2101
1097
  })[];
2102
1098
  } | {
2103
1099
  type: "layers";
@@ -2109,11 +1105,10 @@ declare const WsComponentMeta: z.ZodObject<{
2109
1105
  type: "keyword";
2110
1106
  value: string;
2111
1107
  } | {
2112
- hidden?: boolean | undefined;
2113
1108
  type: "unparsed";
2114
1109
  value: string;
2115
- } | {
2116
1110
  hidden?: boolean | undefined;
1111
+ } | {
2117
1112
  type: "image";
2118
1113
  value: {
2119
1114
  type: "asset";
@@ -2122,6 +1117,7 @@ declare const WsComponentMeta: z.ZodObject<{
2122
1117
  type: "url";
2123
1118
  url: string;
2124
1119
  };
1120
+ hidden?: boolean | undefined;
2125
1121
  } | {
2126
1122
  type: "invalid";
2127
1123
  value: string;
@@ -2135,9 +1131,9 @@ declare const WsComponentMeta: z.ZodObject<{
2135
1131
  type: "keyword";
2136
1132
  value: string;
2137
1133
  } | {
2138
- hidden?: boolean | undefined;
2139
1134
  type: "unparsed";
2140
1135
  value: string;
1136
+ hidden?: boolean | undefined;
2141
1137
  })[];
2142
1138
  })[];
2143
1139
  } | {
@@ -2151,9 +1147,9 @@ declare const WsComponentMeta: z.ZodObject<{
2151
1147
  type: "keyword";
2152
1148
  value: string;
2153
1149
  } | {
2154
- hidden?: boolean | undefined;
2155
1150
  type: "unparsed";
2156
1151
  value: string;
1152
+ hidden?: boolean | undefined;
2157
1153
  } | {
2158
1154
  type: "fontFamily";
2159
1155
  value: string[];
@@ -2164,7 +1160,6 @@ declare const WsComponentMeta: z.ZodObject<{
2164
1160
  g: number;
2165
1161
  b: number;
2166
1162
  } | {
2167
- hidden?: boolean | undefined;
2168
1163
  type: "image";
2169
1164
  value: {
2170
1165
  type: "asset";
@@ -2173,6 +1168,7 @@ declare const WsComponentMeta: z.ZodObject<{
2173
1168
  type: "url";
2174
1169
  url: string;
2175
1170
  };
1171
+ hidden?: boolean | undefined;
2176
1172
  } | {
2177
1173
  type: "tuple";
2178
1174
  value: ({
@@ -2183,9 +1179,9 @@ declare const WsComponentMeta: z.ZodObject<{
2183
1179
  type: "keyword";
2184
1180
  value: string;
2185
1181
  } | {
2186
- hidden?: boolean | undefined;
2187
1182
  type: "unparsed";
2188
1183
  value: string;
1184
+ hidden?: boolean | undefined;
2189
1185
  })[];
2190
1186
  } | {
2191
1187
  type: "layers";
@@ -2197,11 +1193,10 @@ declare const WsComponentMeta: z.ZodObject<{
2197
1193
  type: "keyword";
2198
1194
  value: string;
2199
1195
  } | {
2200
- hidden?: boolean | undefined;
2201
1196
  type: "unparsed";
2202
1197
  value: string;
2203
- } | {
2204
1198
  hidden?: boolean | undefined;
1199
+ } | {
2205
1200
  type: "image";
2206
1201
  value: {
2207
1202
  type: "asset";
@@ -2210,6 +1205,7 @@ declare const WsComponentMeta: z.ZodObject<{
2210
1205
  type: "url";
2211
1206
  url: string;
2212
1207
  };
1208
+ hidden?: boolean | undefined;
2213
1209
  } | {
2214
1210
  type: "invalid";
2215
1211
  value: string;
@@ -2223,32 +1219,35 @@ declare const WsComponentMeta: z.ZodObject<{
2223
1219
  type: "keyword";
2224
1220
  value: string;
2225
1221
  } | {
2226
- hidden?: boolean | undefined;
2227
1222
  type: "unparsed";
2228
1223
  value: string;
1224
+ hidden?: boolean | undefined;
2229
1225
  })[];
2230
1226
  })[];
2231
1227
  })[];
2232
1228
  };
1229
+ state?: string | undefined;
2233
1230
  property: "filter" | "float" | "fontFamily" | "width" | "height" | "clip" | "top" | "right" | `--${string}` | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "animationTimeline" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockOverflow" | "blockSize" | "borderBlockColor" | "borderBlockStyle" | "borderBlockWidth" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInlineColor" | "borderInlineStyle" | "borderInlineWidth" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxDecorationBreak" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "caretShape" | "clear" | "clipPath" | "color" | "printColorAdjust" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicWidth" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "direction" | "display" | "emptyCells" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontVariationSettings" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontWeight" | "forcedColorAdjust" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "hyphenateCharacter" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inputSecurity" | "insetBlockEnd" | "insetBlockStart" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyleImage" | "listStylePosition" | "listStyleType" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "quotes" | "resize" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "scale" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "scrollBehavior" | "scrollMarginBlockStart" | "scrollMarginBlockEnd" | "scrollMarginBottom" | "scrollMarginInlineStart" | "scrollMarginInlineEnd" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPaddingBlockStart" | "scrollPaddingBlockEnd" | "scrollPaddingBottom" | "scrollPaddingInlineStart" | "scrollPaddingInlineEnd" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapStop" | "scrollSnapType" | "scrollTimelineAxis" | "scrollTimelineName" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "visibility" | "whiteSpace" | "widows" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex";
2234
1231
  }> | undefined;
2235
- type: "embed" | "control" | "container" | "rich-text" | "rich-text-child";
2236
- label: string;
2237
- icon: string;
2238
- }, {
2239
- children?: ({
2240
- type: "text";
2241
- value: string;
2242
- } | import("../embed-template").EmbedTemplateInstance)[] | undefined;
2243
1232
  states?: {
2244
- category?: "states" | "component-states" | undefined;
2245
1233
  label: string;
2246
1234
  selector: string;
1235
+ category?: "states" | "component-states" | undefined;
2247
1236
  }[] | undefined;
2248
- category?: "media" | "general" | "typography" | "forms" | undefined;
2249
- acceptedParents?: string[] | undefined;
1237
+ template?: ({
1238
+ type: "text";
1239
+ value: string;
1240
+ } | import("../embed-template").EmbedTemplateInstance)[] | undefined;
1241
+ order?: number | undefined;
1242
+ }, {
1243
+ type: "embed" | "control" | "container" | "rich-text" | "rich-text-child";
1244
+ label: string;
1245
+ icon: string;
1246
+ category?: "text" | "media" | "general" | "forms" | undefined;
1247
+ requiredAncestors?: string[] | undefined;
1248
+ invalidAncestors?: string[] | undefined;
1249
+ stylable?: boolean | undefined;
2250
1250
  presetStyle?: Record<string, {
2251
- state?: string | undefined;
2252
1251
  value: {
2253
1252
  type: "unit";
2254
1253
  value: number;
@@ -2257,9 +1256,9 @@ declare const WsComponentMeta: z.ZodObject<{
2257
1256
  type: "keyword";
2258
1257
  value: string;
2259
1258
  } | {
2260
- hidden?: boolean | undefined;
2261
1259
  type: "unparsed";
2262
1260
  value: string;
1261
+ hidden?: boolean | undefined;
2263
1262
  } | {
2264
1263
  type: "fontFamily";
2265
1264
  value: string[];
@@ -2270,7 +1269,6 @@ declare const WsComponentMeta: z.ZodObject<{
2270
1269
  g: number;
2271
1270
  b: number;
2272
1271
  } | {
2273
- hidden?: boolean | undefined;
2274
1272
  type: "image";
2275
1273
  value: {
2276
1274
  type: "asset";
@@ -2279,6 +1277,7 @@ declare const WsComponentMeta: z.ZodObject<{
2279
1277
  type: "url";
2280
1278
  url: string;
2281
1279
  };
1280
+ hidden?: boolean | undefined;
2282
1281
  } | {
2283
1282
  type: "invalid";
2284
1283
  value: string;
@@ -2295,9 +1294,9 @@ declare const WsComponentMeta: z.ZodObject<{
2295
1294
  type: "keyword";
2296
1295
  value: string;
2297
1296
  } | {
2298
- hidden?: boolean | undefined;
2299
1297
  type: "unparsed";
2300
1298
  value: string;
1299
+ hidden?: boolean | undefined;
2301
1300
  })[];
2302
1301
  } | {
2303
1302
  type: "layers";
@@ -2309,11 +1308,10 @@ declare const WsComponentMeta: z.ZodObject<{
2309
1308
  type: "keyword";
2310
1309
  value: string;
2311
1310
  } | {
2312
- hidden?: boolean | undefined;
2313
1311
  type: "unparsed";
2314
1312
  value: string;
2315
- } | {
2316
1313
  hidden?: boolean | undefined;
1314
+ } | {
2317
1315
  type: "image";
2318
1316
  value: {
2319
1317
  type: "asset";
@@ -2322,6 +1320,7 @@ declare const WsComponentMeta: z.ZodObject<{
2322
1320
  type: "url";
2323
1321
  url: string;
2324
1322
  };
1323
+ hidden?: boolean | undefined;
2325
1324
  } | {
2326
1325
  type: "invalid";
2327
1326
  value: string;
@@ -2335,9 +1334,9 @@ declare const WsComponentMeta: z.ZodObject<{
2335
1334
  type: "keyword";
2336
1335
  value: string;
2337
1336
  } | {
2338
- hidden?: boolean | undefined;
2339
1337
  type: "unparsed";
2340
1338
  value: string;
1339
+ hidden?: boolean | undefined;
2341
1340
  })[];
2342
1341
  })[];
2343
1342
  } | {
@@ -2351,9 +1350,9 @@ declare const WsComponentMeta: z.ZodObject<{
2351
1350
  type: "keyword";
2352
1351
  value: string;
2353
1352
  } | {
2354
- hidden?: boolean | undefined;
2355
1353
  type: "unparsed";
2356
1354
  value: string;
1355
+ hidden?: boolean | undefined;
2357
1356
  } | {
2358
1357
  type: "fontFamily";
2359
1358
  value: string[];
@@ -2364,7 +1363,6 @@ declare const WsComponentMeta: z.ZodObject<{
2364
1363
  g: number;
2365
1364
  b: number;
2366
1365
  } | {
2367
- hidden?: boolean | undefined;
2368
1366
  type: "image";
2369
1367
  value: {
2370
1368
  type: "asset";
@@ -2373,6 +1371,7 @@ declare const WsComponentMeta: z.ZodObject<{
2373
1371
  type: "url";
2374
1372
  url: string;
2375
1373
  };
1374
+ hidden?: boolean | undefined;
2376
1375
  } | {
2377
1376
  type: "tuple";
2378
1377
  value: ({
@@ -2383,9 +1382,9 @@ declare const WsComponentMeta: z.ZodObject<{
2383
1382
  type: "keyword";
2384
1383
  value: string;
2385
1384
  } | {
2386
- hidden?: boolean | undefined;
2387
1385
  type: "unparsed";
2388
1386
  value: string;
1387
+ hidden?: boolean | undefined;
2389
1388
  })[];
2390
1389
  } | {
2391
1390
  type: "layers";
@@ -2397,11 +1396,10 @@ declare const WsComponentMeta: z.ZodObject<{
2397
1396
  type: "keyword";
2398
1397
  value: string;
2399
1398
  } | {
2400
- hidden?: boolean | undefined;
2401
1399
  type: "unparsed";
2402
1400
  value: string;
2403
- } | {
2404
1401
  hidden?: boolean | undefined;
1402
+ } | {
2405
1403
  type: "image";
2406
1404
  value: {
2407
1405
  type: "asset";
@@ -2410,6 +1408,7 @@ declare const WsComponentMeta: z.ZodObject<{
2410
1408
  type: "url";
2411
1409
  url: string;
2412
1410
  };
1411
+ hidden?: boolean | undefined;
2413
1412
  } | {
2414
1413
  type: "invalid";
2415
1414
  value: string;
@@ -2423,18 +1422,26 @@ declare const WsComponentMeta: z.ZodObject<{
2423
1422
  type: "keyword";
2424
1423
  value: string;
2425
1424
  } | {
2426
- hidden?: boolean | undefined;
2427
1425
  type: "unparsed";
2428
1426
  value: string;
1427
+ hidden?: boolean | undefined;
2429
1428
  })[];
2430
1429
  })[];
2431
1430
  })[];
2432
1431
  };
1432
+ state?: string | undefined;
2433
1433
  property: "filter" | "float" | "fontFamily" | "width" | "height" | "clip" | "top" | "right" | `--${string}` | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "animationTimeline" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockOverflow" | "blockSize" | "borderBlockColor" | "borderBlockStyle" | "borderBlockWidth" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInlineColor" | "borderInlineStyle" | "borderInlineWidth" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "boxDecorationBreak" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caretColor" | "caretShape" | "clear" | "clipPath" | "color" | "printColorAdjust" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicWidth" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "direction" | "display" | "emptyCells" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontVariationSettings" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontWeight" | "forcedColorAdjust" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "hyphenateCharacter" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inputSecurity" | "insetBlockEnd" | "insetBlockStart" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyleImage" | "listStylePosition" | "listStyleType" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "quotes" | "resize" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "scale" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "scrollBehavior" | "scrollMarginBlockStart" | "scrollMarginBlockEnd" | "scrollMarginBottom" | "scrollMarginInlineStart" | "scrollMarginInlineEnd" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPaddingBlockStart" | "scrollPaddingBlockEnd" | "scrollPaddingBottom" | "scrollPaddingInlineStart" | "scrollPaddingInlineEnd" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapStop" | "scrollSnapType" | "scrollTimelineAxis" | "scrollTimelineName" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textCombineUpright" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "verticalAlign" | "visibility" | "whiteSpace" | "widows" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex";
2434
1434
  }> | undefined;
2435
- type: "embed" | "control" | "container" | "rich-text" | "rich-text-child";
2436
- label: string;
2437
- icon: string;
1435
+ states?: {
1436
+ label: string;
1437
+ selector: string;
1438
+ category?: "states" | "component-states" | undefined;
1439
+ }[] | undefined;
1440
+ template?: ({
1441
+ type: "text";
1442
+ value: string;
1443
+ } | import("../embed-template").EmbedTemplateInstance)[] | undefined;
1444
+ order?: number | undefined;
2438
1445
  }>;
2439
1446
  export type WsComponentMeta = Omit<z.infer<typeof WsComponentMeta>, "presetStyle"> & {
2440
1447
  presetStyle?: PresetStyle;