@webstudio-is/sdk-components-react 0.217.0 → 0.219.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 (63) hide show
  1. package/lib/__generated__/blockquote.props.js +2 -512
  2. package/lib/__generated__/body.props.js +2 -506
  3. package/lib/__generated__/bold.props.js +2 -506
  4. package/lib/__generated__/box.props.js +3 -506
  5. package/lib/__generated__/button.props.js +2 -568
  6. package/lib/__generated__/checkbox.props.js +1 -662
  7. package/lib/__generated__/code-text.props.js +1 -504
  8. package/lib/__generated__/form.props.js +2 -554
  9. package/lib/__generated__/head-link.props.js +2 -618
  10. package/lib/__generated__/head-meta.props.js +2 -530
  11. package/lib/__generated__/head-slot.props.js +4 -0
  12. package/lib/__generated__/head-title.props.js +2 -506
  13. package/lib/__generated__/heading.props.js +3 -506
  14. package/lib/__generated__/html-embed.props.js +6 -1
  15. package/lib/__generated__/image.props.js +1 -581
  16. package/lib/__generated__/input.props.js +2 -694
  17. package/lib/__generated__/italic.props.js +2 -506
  18. package/lib/__generated__/label.props.js +2 -518
  19. package/lib/__generated__/link.props.js +4 -555
  20. package/lib/__generated__/list-item.props.js +2 -512
  21. package/lib/__generated__/list.props.js +1 -523
  22. package/lib/__generated__/markdown-embed.props.js +6 -1
  23. package/lib/__generated__/option.props.js +2 -530
  24. package/lib/__generated__/paragraph.props.js +2 -506
  25. package/lib/__generated__/radio-button.props.js +1 -662
  26. package/lib/__generated__/select.props.js +2 -554
  27. package/lib/__generated__/separator.props.js +2 -506
  28. package/lib/__generated__/span.props.js +2 -506
  29. package/lib/__generated__/subscript.props.js +2 -506
  30. package/lib/__generated__/superscript.props.js +2 -506
  31. package/lib/__generated__/text.props.js +3 -506
  32. package/lib/__generated__/textarea.props.js +2 -585
  33. package/lib/__generated__/time.props.js +3 -3
  34. package/lib/__generated__/video.props.js +2 -585
  35. package/lib/__generated__/vimeo-play-button.props.js +2 -567
  36. package/lib/__generated__/vimeo-preview-image.props.js +1 -580
  37. package/lib/__generated__/vimeo-spinner.props.js +2 -506
  38. package/lib/__generated__/vimeo.props.js +2 -505
  39. package/lib/__generated__/webhook-form.props.js +1 -557
  40. package/lib/__generated__/xml-node.props.js +8 -3
  41. package/lib/__generated__/xml-time.props.js +4 -3
  42. package/lib/__generated__/youtube.props.js +1 -498
  43. package/lib/box.ws.js +11 -11
  44. package/lib/head-slot.js +4 -5
  45. package/lib/head-slot.ws.js +1 -1
  46. package/lib/heading.ws.js +7 -7
  47. package/lib/list.ws.js +3 -3
  48. package/lib/markdown-embed.js +3 -3
  49. package/lib/shared/video.js +13 -0
  50. package/lib/types/link.d.ts +1 -1
  51. package/lib/types/shared/video.d.ts +7 -0
  52. package/lib/types/vimeo.d.ts +0 -7
  53. package/lib/video.js +19 -23
  54. package/lib/vimeo-play-button.js +4 -4
  55. package/lib/vimeo-preview-image.js +5 -5
  56. package/lib/vimeo-spinner.js +1 -1
  57. package/lib/vimeo.js +113 -121
  58. package/lib/webhook-form.template.js +12 -12
  59. package/lib/xml-node.js +4 -4
  60. package/lib/youtube.js +1 -1
  61. package/package.json +8 -8
  62. package/lib/__generated__/head.props.js +0 -508
  63. package/lib/types/__generated__/head.props.d.ts +0 -2
@@ -1,11 +1,4 @@
1
1
  const e = {
2
- about: { required: !1, control: "text", type: "string" },
3
- accessKey: {
4
- required: !1,
5
- control: "text",
6
- type: "string",
7
- description: "Keyboard shortcut to activate or add focus to the element."
8
- },
9
2
  allowFullscreen: {
10
3
  description: "Whether to allow fullscreen mode.\nOriginal parameter: `fs`",
11
4
  required: !1,
@@ -13,353 +6,6 @@ const e = {
13
6
  type: "boolean",
14
7
  defaultValue: !0
15
8
  },
16
- "aria-activedescendant": {
17
- description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
18
- required: !1,
19
- control: "text",
20
- type: "string"
21
- },
22
- "aria-atomic": {
23
- description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
24
- required: !1,
25
- control: "boolean",
26
- type: "boolean"
27
- },
28
- "aria-autocomplete": {
29
- description: `Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
30
- presented if they are made.`,
31
- required: !1,
32
- control: "select",
33
- type: "string",
34
- options: ["list", "inline", "none", "both"]
35
- },
36
- "aria-braillelabel": {
37
- description: "Defines a string value that labels the current element, which is intended to be converted into Braille.",
38
- required: !1,
39
- control: "text",
40
- type: "string"
41
- },
42
- "aria-brailleroledescription": {
43
- description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.",
44
- required: !1,
45
- control: "text",
46
- type: "string"
47
- },
48
- "aria-busy": { required: !1, control: "boolean", type: "boolean" },
49
- "aria-checked": {
50
- description: 'Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.',
51
- required: !1,
52
- control: "text",
53
- type: "string"
54
- },
55
- "aria-colcount": {
56
- description: "Defines the total number of columns in a table, grid, or treegrid.",
57
- required: !1,
58
- control: "number",
59
- type: "number"
60
- },
61
- "aria-colindex": {
62
- description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.",
63
- required: !1,
64
- control: "number",
65
- type: "number"
66
- },
67
- "aria-colindextext": {
68
- description: "Defines a human readable text alternative of aria-colindex.",
69
- required: !1,
70
- control: "text",
71
- type: "string"
72
- },
73
- "aria-colspan": {
74
- description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.",
75
- required: !1,
76
- control: "number",
77
- type: "number"
78
- },
79
- "aria-controls": {
80
- description: "Identifies the element (or elements) whose contents or presence are controlled by the current element.",
81
- required: !1,
82
- control: "text",
83
- type: "string"
84
- },
85
- "aria-current": {
86
- description: "Indicates the element that represents the current item within a container or set of related elements.",
87
- required: !1,
88
- control: "text",
89
- type: "string"
90
- },
91
- "aria-describedby": {
92
- description: "Identifies the element (or elements) that describes the object.",
93
- required: !1,
94
- control: "text",
95
- type: "string"
96
- },
97
- "aria-description": {
98
- description: "Defines a string value that describes or annotates the current element.",
99
- required: !1,
100
- control: "text",
101
- type: "string"
102
- },
103
- "aria-details": {
104
- description: "Identifies the element that provides a detailed, extended description for the object.",
105
- required: !1,
106
- control: "text",
107
- type: "string"
108
- },
109
- "aria-disabled": {
110
- description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.",
111
- required: !1,
112
- control: "boolean",
113
- type: "boolean"
114
- },
115
- "aria-dropeffect": {
116
- description: "Indicates what functions can be performed when a dragged object is released on the drop target.",
117
- required: !1,
118
- control: "select",
119
- type: "string",
120
- options: ["link", "none", "copy", "execute", "move", "popup"]
121
- },
122
- "aria-errormessage": {
123
- description: "Identifies the element that provides an error message for the object.",
124
- required: !1,
125
- control: "text",
126
- type: "string"
127
- },
128
- "aria-expanded": {
129
- description: "Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.",
130
- required: !1,
131
- control: "boolean",
132
- type: "boolean"
133
- },
134
- "aria-flowto": {
135
- description: `Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
136
- allows assistive technology to override the general default of reading in document source order.`,
137
- required: !1,
138
- control: "text",
139
- type: "string"
140
- },
141
- "aria-grabbed": {
142
- description: `Indicates an element's "grabbed" state in a drag-and-drop operation.`,
143
- required: !1,
144
- control: "boolean",
145
- type: "boolean"
146
- },
147
- "aria-haspopup": {
148
- description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
149
- required: !1,
150
- control: "text",
151
- type: "string"
152
- },
153
- "aria-hidden": {
154
- description: "Indicates whether the element is exposed to an accessibility API.",
155
- required: !1,
156
- control: "boolean",
157
- type: "boolean"
158
- },
159
- "aria-invalid": {
160
- description: "Indicates the entered value does not conform to the format expected by the application.",
161
- required: !1,
162
- control: "text",
163
- type: "string"
164
- },
165
- "aria-keyshortcuts": {
166
- description: "Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.",
167
- required: !1,
168
- control: "text",
169
- type: "string"
170
- },
171
- "aria-label": {
172
- description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
173
- required: !1,
174
- control: "text",
175
- type: "string"
176
- },
177
- "aria-labelledby": {
178
- description: "Identifies the element (or elements) that labels the current element.",
179
- required: !1,
180
- control: "text",
181
- type: "string"
182
- },
183
- "aria-level": {
184
- description: "Defines the hierarchical level of an element within a structure.",
185
- required: !1,
186
- control: "number",
187
- type: "number"
188
- },
189
- "aria-live": {
190
- description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
191
- required: !1,
192
- control: "radio",
193
- type: "string",
194
- options: ["off", "assertive", "polite"]
195
- },
196
- "aria-modal": {
197
- description: "Indicates whether an element is modal when displayed.",
198
- required: !1,
199
- control: "boolean",
200
- type: "boolean"
201
- },
202
- "aria-multiline": {
203
- description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
204
- required: !1,
205
- control: "boolean",
206
- type: "boolean"
207
- },
208
- "aria-multiselectable": {
209
- description: "Indicates that the user may select more than one item from the current selectable descendants.",
210
- required: !1,
211
- control: "boolean",
212
- type: "boolean"
213
- },
214
- "aria-orientation": {
215
- description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
216
- required: !1,
217
- control: "radio",
218
- type: "string",
219
- options: ["horizontal", "vertical"]
220
- },
221
- "aria-owns": {
222
- description: `Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
223
- between DOM elements where the DOM hierarchy cannot be used to represent the relationship.`,
224
- required: !1,
225
- control: "text",
226
- type: "string"
227
- },
228
- "aria-placeholder": {
229
- description: `Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
230
- A hint could be a sample value or a brief description of the expected format.`,
231
- required: !1,
232
- control: "text",
233
- type: "string"
234
- },
235
- "aria-posinset": {
236
- description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.",
237
- required: !1,
238
- control: "number",
239
- type: "number"
240
- },
241
- "aria-pressed": {
242
- description: 'Indicates the current "pressed" state of toggle buttons.',
243
- required: !1,
244
- control: "text",
245
- type: "string"
246
- },
247
- "aria-readonly": {
248
- description: "Indicates that the element is not editable, but is otherwise operable.",
249
- required: !1,
250
- control: "boolean",
251
- type: "boolean"
252
- },
253
- "aria-relevant": {
254
- description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.",
255
- required: !1,
256
- control: "select",
257
- type: "string",
258
- options: [
259
- "text",
260
- "additions",
261
- "additions removals",
262
- "additions text",
263
- "all",
264
- "removals",
265
- "removals additions",
266
- "removals text",
267
- "text additions",
268
- "text removals"
269
- ]
270
- },
271
- "aria-required": {
272
- description: "Indicates that user input is required on the element before a form may be submitted.",
273
- required: !1,
274
- control: "boolean",
275
- type: "boolean"
276
- },
277
- "aria-roledescription": {
278
- description: "Defines a human-readable, author-localized description for the role of an element.",
279
- required: !1,
280
- control: "text",
281
- type: "string"
282
- },
283
- "aria-rowcount": {
284
- description: "Defines the total number of rows in a table, grid, or treegrid.",
285
- required: !1,
286
- control: "number",
287
- type: "number"
288
- },
289
- "aria-rowindex": {
290
- description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.",
291
- required: !1,
292
- control: "number",
293
- type: "number"
294
- },
295
- "aria-rowindextext": {
296
- description: "Defines a human readable text alternative of aria-rowindex.",
297
- required: !1,
298
- control: "text",
299
- type: "string"
300
- },
301
- "aria-rowspan": {
302
- description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.",
303
- required: !1,
304
- control: "number",
305
- type: "number"
306
- },
307
- "aria-selected": {
308
- description: 'Indicates the current "selected" state of various widgets.',
309
- required: !1,
310
- control: "boolean",
311
- type: "boolean"
312
- },
313
- "aria-setsize": {
314
- description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.",
315
- required: !1,
316
- control: "number",
317
- type: "number"
318
- },
319
- "aria-sort": {
320
- description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
321
- required: !1,
322
- control: "select",
323
- type: "string",
324
- options: ["none", "ascending", "descending", "other"]
325
- },
326
- "aria-valuemax": {
327
- description: "Defines the maximum allowed value for a range widget.",
328
- required: !1,
329
- control: "number",
330
- type: "number"
331
- },
332
- "aria-valuemin": {
333
- description: "Defines the minimum allowed value for a range widget.",
334
- required: !1,
335
- control: "number",
336
- type: "number"
337
- },
338
- "aria-valuenow": {
339
- description: "Defines the current value for a range widget.",
340
- required: !1,
341
- control: "number",
342
- type: "number"
343
- },
344
- "aria-valuetext": {
345
- description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
346
- required: !1,
347
- control: "text",
348
- type: "string"
349
- },
350
- autoCapitalize: {
351
- required: !1,
352
- control: "text",
353
- type: "string",
354
- description: "Sets whether input is automatically capitalized when entered by user."
355
- },
356
- autoCorrect: { required: !1, control: "text", type: "string" },
357
- autoFocus: {
358
- required: !1,
359
- control: "boolean",
360
- type: "boolean",
361
- description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
362
- },
363
9
  autoplay: {
364
10
  description: "Whether the video should autoplay.\nSome browsers require the `muted` parameter to be set to `true` for autoplay to work.",
365
11
  required: !1,
@@ -367,14 +13,12 @@ A hint could be a sample value or a brief description of the expected format.`,
367
13
  type: "boolean",
368
14
  defaultValue: !1
369
15
  },
370
- autoSave: { required: !1, control: "text", type: "string" },
371
16
  captionLanguage: {
372
17
  description: "Specifies the default language that the player will use to display captions.\nThe value is an ISO 639-1 two-letter language code.\nOriginal parameter: `cc_lang_pref`",
373
18
  required: !1,
374
19
  control: "text",
375
20
  type: "string"
376
21
  },
377
- className: { required: !1, control: "text", type: "string" },
378
22
  color: {
379
23
  description: `Specifies the color that will be used in the player's video progress bar to highlight the amount of the video that the viewer has already seen.
380
24
  Valid values are 'red' and 'white'.`,
@@ -383,27 +27,6 @@ Valid values are 'red' and 'white'.`,
383
27
  type: "string",
384
28
  options: ["red", "white"]
385
29
  },
386
- content: {
387
- required: !1,
388
- control: "text",
389
- type: "string",
390
- description: "A value associated with http-equiv orname depending on the context."
391
- },
392
- contextMenu: {
393
- required: !1,
394
- control: "text",
395
- type: "string",
396
- description: "Defines the ID of a menu element which willserve as the element's context menu."
397
- },
398
- datatype: { required: !1, control: "text", type: "string" },
399
- defaultChecked: { required: !1, control: "boolean", type: "boolean" },
400
- defaultValue: { required: !1, control: "text", type: "string" },
401
- dir: {
402
- required: !1,
403
- control: "text",
404
- type: "string",
405
- description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
406
- },
407
30
  disableKeyboard: {
408
31
  description: "Whether to disable keyboard controls.\nOriginal parameter: `disablekb`",
409
32
  required: !1,
@@ -411,30 +34,12 @@ Valid values are 'red' and 'white'.`,
411
34
  type: "boolean",
412
35
  defaultValue: !1
413
36
  },
414
- draggable: {
415
- required: !1,
416
- control: "boolean",
417
- type: "boolean",
418
- description: "Defines whether the element can be dragged."
419
- },
420
37
  endTime: {
421
38
  description: "End time of the video in seconds.\nOriginal parameter: `end`",
422
39
  required: !1,
423
40
  control: "number",
424
41
  type: "number"
425
42
  },
426
- hidden: {
427
- required: !1,
428
- control: "boolean",
429
- type: "boolean",
430
- description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
431
- },
432
- id: {
433
- required: !1,
434
- control: "text",
435
- type: "string",
436
- description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
437
- },
438
43
  inline: {
439
44
  description: "Whether to play inline on mobile (not fullscreen).",
440
45
  required: !1,
@@ -442,33 +47,6 @@ Valid values are 'red' and 'white'.`,
442
47
  type: "boolean",
443
48
  defaultValue: !1
444
49
  },
445
- inputMode: {
446
- description: "Hints at the type of data that might be entered by the user while editing the element or its contents",
447
- required: !1,
448
- control: "select",
449
- type: "string",
450
- options: [
451
- "search",
452
- "text",
453
- "url",
454
- "none",
455
- "tel",
456
- "email",
457
- "numeric",
458
- "decimal"
459
- ]
460
- },
461
- is: {
462
- description: "Specify that a standard HTML element should behave like a defined custom built-in element",
463
- required: !1,
464
- control: "text",
465
- type: "string"
466
- },
467
- itemID: { required: !1, control: "text", type: "string" },
468
- itemProp: { required: !1, control: "text", type: "string" },
469
- itemRef: { required: !1, control: "text", type: "string" },
470
- itemScope: { required: !1, control: "boolean", type: "boolean" },
471
- itemType: { required: !1, control: "text", type: "string" },
472
50
  keyboard: {
473
51
  description: "Whether to enable keyboard controls.",
474
52
  required: !1,
@@ -476,12 +54,6 @@ Valid values are 'red' and 'white'.`,
476
54
  type: "boolean",
477
55
  defaultValue: !0
478
56
  },
479
- lang: {
480
- required: !1,
481
- control: "text",
482
- type: "string",
483
- description: "Defines the language used in the element."
484
- },
485
57
  language: {
486
58
  description: "Sets the player's interface language. The value is an ISO 639-1 two-letter language code or a fully specified locale.\nOriginal parameter: `hl`",
487
59
  required: !1,
@@ -523,7 +95,6 @@ Valid values are 'red' and 'white'.`,
523
95
  type: "boolean",
524
96
  defaultValue: !1
525
97
  },
526
- nonce: { required: !1, control: "text", type: "string" },
527
98
  origin: {
528
99
  description: "Your domain for API compliance (e.g., `https://yourdomain.com`).",
529
100
  required: !1,
@@ -536,7 +107,6 @@ Valid values are 'red' and 'white'.`,
536
107
  control: "text",
537
108
  type: "string"
538
109
  },
539
- prefix: { required: !1, control: "text", type: "string" },
540
110
  privacyEnhancedMode: {
541
111
  description: `The Privacy Enhanced Mode of the YouTube embedded player prevents the use of views of embedded YouTube content from influencing the viewer’s browsing experience on YouTube.
542
112
  https://support.google.com/youtube/answer/171780?hl=en#zippy=%2Cturn-on-privacy-enhanced-mode`,
@@ -545,30 +115,12 @@ https://support.google.com/youtube/answer/171780?hl=en#zippy=%2Cturn-on-privacy-
545
115
  type: "boolean",
546
116
  defaultValue: !0
547
117
  },
548
- property: { required: !1, control: "text", type: "string" },
549
- radioGroup: { required: !1, control: "text", type: "string" },
550
118
  referrer: {
551
119
  description: "Referrer URL for tracking purposes.\nOriginal parameter: `widget_referrer`",
552
120
  required: !1,
553
121
  control: "text",
554
122
  type: "string"
555
123
  },
556
- rel: {
557
- required: !1,
558
- control: "text",
559
- type: "string",
560
- description: "Specifies the relationship of the target object to the link object."
561
- },
562
- resource: { required: !1, control: "text", type: "string" },
563
- results: { required: !1, control: "number", type: "number" },
564
- rev: { required: !1, control: "text", type: "string" },
565
- role: {
566
- required: !1,
567
- control: "text",
568
- type: "string",
569
- description: "Defines an explicit role for an element for use by assistive technologies."
570
- },
571
- security: { required: !1, control: "text", type: "string" },
572
124
  showAnnotations: {
573
125
  description: "Whether to show annotations on the video.\nOriginal parameter: `iv_load_policy`",
574
126
  required: !1,
@@ -598,67 +150,18 @@ https://support.google.com/youtube/answer/171780?hl=en#zippy=%2Cturn-on-privacy-
598
150
  type: "boolean",
599
151
  defaultValue: !0
600
152
  },
601
- slot: {
602
- required: !1,
603
- control: "text",
604
- type: "string",
605
- description: "Assigns a slot in a shadow DOM shadow tree to an element."
606
- },
607
- spellCheck: {
608
- required: !1,
609
- control: "boolean",
610
- type: "boolean",
611
- description: "Indicates whether spell checking is allowed for the element."
612
- },
613
153
  startTime: {
614
154
  description: "Start time of the video in seconds.\nOriginal parameter: `start`",
615
155
  required: !1,
616
156
  control: "number",
617
157
  type: "number"
618
158
  },
619
- suppressContentEditableWarning: {
620
- required: !1,
621
- control: "boolean",
622
- type: "boolean"
623
- },
624
- suppressHydrationWarning: {
625
- required: !1,
626
- control: "boolean",
627
- type: "boolean"
628
- },
629
- tabIndex: {
630
- required: !1,
631
- control: "number",
632
- type: "number",
633
- description: "Overrides the browser's default tab order and follows the one specified instead."
634
- },
635
- title: {
636
- description: 'The `title` attribute for the iframe.\nImproves accessibility by providing a brief description of the video content for screen readers.\nExample: "Video about web development tips".',
637
- required: !1,
638
- control: "text",
639
- type: "string"
640
- },
641
- translate: {
642
- required: !1,
643
- control: "radio",
644
- type: "string",
645
- options: ["yes", "no"],
646
- description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
647
- },
648
- typeof: { required: !1, control: "text", type: "string" },
649
- unselectable: {
650
- required: !1,
651
- control: "radio",
652
- type: "string",
653
- options: ["on", "off"]
654
- },
655
159
  url: {
656
160
  description: "The YouTube video URL or ID",
657
161
  required: !1,
658
162
  control: "text",
659
163
  type: "string"
660
- },
661
- vocab: { required: !1, control: "text", type: "string" }
164
+ }
662
165
  };
663
166
  export {
664
167
  e as props
package/lib/box.ws.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { BoxIcon as t } from "@webstudio-is/icons/svg";
2
2
  import { defaultStates as e } from "@webstudio-is/sdk";
3
- import { div as r, address as o, article as a, aside as i, figure as s, footer as n, header as d, main as p, nav as c, section as m } from "@webstudio-is/sdk/normalize.css";
3
+ import { section as r, nav as o, main as a, header as i, footer as s, figure as n, aside as d, article as p, address as c, div as m } from "@webstudio-is/sdk/normalize.css";
4
4
  import { props as f } from "./__generated__/box.props.js";
5
5
  const v = {
6
6
  category: "general",
@@ -8,16 +8,16 @@ const v = {
8
8
  icon: t,
9
9
  states: e,
10
10
  presetStyle: {
11
- div: r,
12
- address: o,
13
- article: a,
14
- aside: i,
15
- figure: s,
16
- footer: n,
17
- header: d,
18
- main: p,
19
- nav: c,
20
- section: m
11
+ div: m,
12
+ address: c,
13
+ article: p,
14
+ aside: d,
15
+ figure: n,
16
+ footer: s,
17
+ header: i,
18
+ main: a,
19
+ nav: o,
20
+ section: r
21
21
  },
22
22
  order: 0
23
23
  }, y = {
package/lib/head-slot.js CHANGED
@@ -1,15 +1,14 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { ReactSdkContext as d, getClosestInstance as r } from "@webstudio-is/react-sdk/runtime";
3
- import { forwardRef as s, useContext as i } from "react";
2
+ import { ReactSdkContext as s, getClosestInstance as r } from "@webstudio-is/react-sdk/runtime";
3
+ import { forwardRef as d, useContext as i } from "react";
4
4
  import { XmlNode as c } from "./xml-node.js";
5
- const f = "head", p = s(({ children: a, ...t }, o) => {
6
- const { renderer: e } = i(d);
5
+ const f = "head", p = d(({ children: a, ...t }, o) => {
6
+ const { renderer: e } = i(s);
7
7
  return e === void 0 ? a : t["data-ws-expand"] !== !0 ? null : /* @__PURE__ */ n(
8
8
  "div",
9
9
  {
10
10
  ref: o,
11
11
  style: {
12
- backgroundColor: "rgba(255,255,255,1)",
13
12
  padding: "8px",
14
13
  position: "fixed",
15
14
  top: 0,
@@ -1,6 +1,6 @@
1
1
  import { HeaderIcon as e } from "@webstudio-is/icons/svg";
2
2
  import "@webstudio-is/sdk";
3
- import { props as t } from "./__generated__/head.props.js";
3
+ import { props as t } from "./__generated__/head-slot.props.js";
4
4
  const r = {
5
5
  icon: e,
6
6
  description: "Inserts children into the head of the document",
package/lib/heading.ws.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { HeadingIcon as t } from "@webstudio-is/icons/svg";
2
2
  import { defaultStates as o } from "@webstudio-is/sdk";
3
- import { h1 as r, h2 as e, h3 as p, h4 as a, h5 as i, h6 as s } from "@webstudio-is/sdk/normalize.css";
3
+ import { h6 as r, h5 as e, h4 as p, h3 as a, h2 as i, h1 as s } from "@webstudio-is/sdk/normalize.css";
4
4
  import { props as h } from "./__generated__/heading.props.js";
5
5
  const d = {
6
6
  placeholder: "Heading",
7
7
  icon: t,
8
8
  states: o,
9
9
  presetStyle: {
10
- h1: r,
11
- h2: e,
12
- h3: p,
13
- h4: a,
14
- h5: i,
15
- h6: s
10
+ h1: s,
11
+ h2: i,
12
+ h3: a,
13
+ h4: p,
14
+ h5: e,
15
+ h6: r
16
16
  }
17
17
  }, g = {
18
18
  props: {