@webstudio-is/sdk-components-react 0.88.0 → 0.90.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 (158) hide show
  1. package/lib/__generated__/blockquote.props.js +117 -21
  2. package/lib/__generated__/body.props.js +111 -20
  3. package/lib/__generated__/bold.props.js +111 -20
  4. package/lib/__generated__/box.props.js +112 -20
  5. package/lib/__generated__/button.props.js +161 -29
  6. package/lib/__generated__/checkbox.props.js +264 -47
  7. package/lib/__generated__/code-text.props.js +111 -20
  8. package/lib/__generated__/form.props.js +159 -28
  9. package/lib/__generated__/heading.props.js +112 -20
  10. package/lib/__generated__/image.props.js +149 -29
  11. package/lib/__generated__/input.props.js +266 -48
  12. package/lib/__generated__/italic.props.js +111 -20
  13. package/lib/__generated__/label.props.js +123 -22
  14. package/lib/__generated__/link.props.js +145 -27
  15. package/lib/__generated__/list-item.props.js +111 -20
  16. package/lib/__generated__/list.props.js +126 -23
  17. package/lib/__generated__/paragraph.props.js +111 -20
  18. package/lib/__generated__/radio-button.props.js +264 -47
  19. package/lib/__generated__/rich-text-link.props.js +145 -27
  20. package/lib/__generated__/separator.props.js +111 -20
  21. package/lib/__generated__/span.props.js +111 -20
  22. package/lib/__generated__/subscript.props.js +111 -20
  23. package/lib/__generated__/superscript.props.js +111 -20
  24. package/lib/__generated__/text.props.js +112 -20
  25. package/lib/__generated__/textarea.props.js +177 -31
  26. package/lib/__generated__/vimeo-play-button.props.js +161 -29
  27. package/lib/__generated__/vimeo-preview-image.props.js +149 -29
  28. package/lib/__generated__/vimeo-spinner.props.js +111 -20
  29. package/lib/__generated__/vimeo.props.js +112 -21
  30. package/lib/blockquote.ws.js +1 -0
  31. package/lib/box.ws.js +1 -0
  32. package/lib/button.ws.js +1 -0
  33. package/lib/checkbox.ws.js +1 -0
  34. package/lib/cjs/__generated__/blockquote.props.js +117 -21
  35. package/lib/cjs/__generated__/body.props.js +111 -20
  36. package/lib/cjs/__generated__/bold.props.js +111 -20
  37. package/lib/cjs/__generated__/box.props.js +112 -20
  38. package/lib/cjs/__generated__/button.props.js +161 -29
  39. package/lib/cjs/__generated__/checkbox.props.js +264 -47
  40. package/lib/cjs/__generated__/code-text.props.js +111 -20
  41. package/lib/cjs/__generated__/form.props.js +159 -28
  42. package/lib/cjs/__generated__/heading.props.js +112 -20
  43. package/lib/cjs/__generated__/image.props.js +149 -29
  44. package/lib/cjs/__generated__/input.props.js +266 -48
  45. package/lib/cjs/__generated__/italic.props.js +111 -20
  46. package/lib/cjs/__generated__/label.props.js +123 -22
  47. package/lib/cjs/__generated__/link.props.js +145 -27
  48. package/lib/cjs/__generated__/list-item.props.js +111 -20
  49. package/lib/cjs/__generated__/list.props.js +126 -23
  50. package/lib/cjs/__generated__/paragraph.props.js +111 -20
  51. package/lib/cjs/__generated__/radio-button.props.js +264 -47
  52. package/lib/cjs/__generated__/rich-text-link.props.js +145 -27
  53. package/lib/cjs/__generated__/separator.props.js +111 -20
  54. package/lib/cjs/__generated__/span.props.js +111 -20
  55. package/lib/cjs/__generated__/subscript.props.js +111 -20
  56. package/lib/cjs/__generated__/superscript.props.js +111 -20
  57. package/lib/cjs/__generated__/text.props.js +112 -20
  58. package/lib/cjs/__generated__/textarea.props.js +177 -31
  59. package/lib/cjs/__generated__/vimeo-play-button.props.js +161 -29
  60. package/lib/cjs/__generated__/vimeo-preview-image.props.js +149 -29
  61. package/lib/cjs/__generated__/vimeo-spinner.props.js +111 -20
  62. package/lib/cjs/__generated__/vimeo.props.js +112 -21
  63. package/lib/cjs/blockquote.ws.js +1 -0
  64. package/lib/cjs/box.ws.js +1 -0
  65. package/lib/cjs/button.ws.js +1 -0
  66. package/lib/cjs/checkbox.ws.js +1 -0
  67. package/lib/cjs/code-text.ws.js +2 -0
  68. package/lib/cjs/form.ws.js +1 -0
  69. package/lib/cjs/heading.ws.js +2 -0
  70. package/lib/cjs/html-embed.ws.js +1 -0
  71. package/lib/cjs/image.ws.js +1 -0
  72. package/lib/cjs/input.ws.js +1 -0
  73. package/lib/cjs/label.ws.js +1 -1
  74. package/lib/cjs/link.ws.js +2 -0
  75. package/lib/cjs/list-item.ws.js +1 -0
  76. package/lib/cjs/list.ws.js +1 -0
  77. package/lib/cjs/paragraph.ws.js +2 -0
  78. package/lib/cjs/radio-button.ws.js +1 -0
  79. package/lib/cjs/separator.ws.js +1 -0
  80. package/lib/cjs/text.ws.js +1 -0
  81. package/lib/cjs/textarea.ws.js +1 -0
  82. package/lib/cjs/vimeo.ws.js +1 -0
  83. package/lib/code-text.ws.js +2 -0
  84. package/lib/form.ws.js +1 -0
  85. package/lib/heading.ws.js +2 -0
  86. package/lib/html-embed.ws.js +1 -0
  87. package/lib/image.ws.js +1 -0
  88. package/lib/input.ws.js +1 -0
  89. package/lib/label.ws.js +1 -1
  90. package/lib/link.ws.js +2 -0
  91. package/lib/list-item.ws.js +1 -0
  92. package/lib/list.ws.js +1 -0
  93. package/lib/paragraph.ws.js +2 -0
  94. package/lib/radio-button.ws.js +1 -0
  95. package/lib/separator.ws.js +1 -0
  96. package/lib/text.ws.js +1 -0
  97. package/lib/textarea.ws.js +1 -0
  98. package/lib/types/box.d.ts +1 -0
  99. package/lib/types/heading.d.ts +1 -0
  100. package/lib/types/list.d.ts +1 -0
  101. package/lib/types/text.d.ts +1 -0
  102. package/lib/types/vimeo.d.ts +1 -1
  103. package/lib/vimeo.ws.js +1 -0
  104. package/package.json +6 -6
  105. package/src/__generated__/blockquote.props.ts +131 -20
  106. package/src/__generated__/body.props.ts +124 -19
  107. package/src/__generated__/bold.props.ts +124 -19
  108. package/src/__generated__/box.props.ts +126 -19
  109. package/src/__generated__/button.props.ts +180 -27
  110. package/src/__generated__/checkbox.props.ts +292 -44
  111. package/src/__generated__/code-text.props.ts +124 -19
  112. package/src/__generated__/form.props.ts +179 -27
  113. package/src/__generated__/heading.props.ts +126 -19
  114. package/src/__generated__/image.props.ts +160 -24
  115. package/src/__generated__/input.props.ts +294 -44
  116. package/src/__generated__/italic.props.ts +124 -19
  117. package/src/__generated__/label.props.ts +137 -21
  118. package/src/__generated__/link.props.ts +159 -24
  119. package/src/__generated__/list-item.props.ts +124 -19
  120. package/src/__generated__/list.props.ts +140 -21
  121. package/src/__generated__/paragraph.props.ts +124 -19
  122. package/src/__generated__/radio-button.props.ts +292 -44
  123. package/src/__generated__/rich-text-link.props.ts +159 -24
  124. package/src/__generated__/separator.props.ts +124 -19
  125. package/src/__generated__/span.props.ts +124 -19
  126. package/src/__generated__/subscript.props.ts +124 -19
  127. package/src/__generated__/superscript.props.ts +124 -19
  128. package/src/__generated__/text.props.ts +126 -19
  129. package/src/__generated__/textarea.props.ts +195 -30
  130. package/src/__generated__/vimeo-play-button.props.ts +179 -27
  131. package/src/__generated__/vimeo-preview-image.props.ts +160 -24
  132. package/src/__generated__/vimeo-spinner.props.ts +124 -19
  133. package/src/__generated__/vimeo.props.ts +125 -20
  134. package/src/blockquote.ws.tsx +2 -0
  135. package/src/box.tsx +1 -0
  136. package/src/box.ws.ts +2 -0
  137. package/src/button.ws.tsx +2 -0
  138. package/src/checkbox.ws.tsx +2 -0
  139. package/src/code-text.ws.tsx +3 -0
  140. package/src/form.ws.tsx +1 -0
  141. package/src/heading.tsx +1 -0
  142. package/src/heading.ws.tsx +3 -0
  143. package/src/html-embed.ws.ts +1 -0
  144. package/src/image.ws.tsx +2 -0
  145. package/src/input.ws.tsx +2 -0
  146. package/src/label.ws.tsx +1 -1
  147. package/src/link.ws.tsx +3 -0
  148. package/src/list-item.ws.tsx +1 -0
  149. package/src/list.tsx +1 -0
  150. package/src/list.ws.tsx +1 -0
  151. package/src/paragraph.ws.tsx +2 -0
  152. package/src/radio-button.ws.tsx +2 -0
  153. package/src/separator.ws.tsx +2 -0
  154. package/src/text.tsx +1 -0
  155. package/src/text.ws.tsx +2 -0
  156. package/src/textarea.ws.tsx +2 -0
  157. package/src/vimeo.tsx +1 -1
  158. package/src/vimeo.ws.ts +2 -0
@@ -23,7 +23,12 @@ __export(vimeo_spinner_props_exports, {
23
23
  module.exports = __toCommonJS(vimeo_spinner_props_exports);
24
24
  const props = {
25
25
  about: { required: false, control: "text", type: "string" },
26
- accessKey: { required: false, control: "text", type: "string" },
26
+ accessKey: {
27
+ required: false,
28
+ control: "text",
29
+ type: "string",
30
+ description: "Keyboard shortcut to activate or add focus to the element."
31
+ },
27
32
  "aria-activedescendant": {
28
33
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
29
34
  required: false,
@@ -179,7 +184,7 @@ const props = {
179
184
  type: "string"
180
185
  },
181
186
  "aria-label": {
182
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
187
+ 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.",
183
188
  required: false,
184
189
  control: "text",
185
190
  type: "string"
@@ -355,20 +360,65 @@ const props = {
355
360
  control: "text",
356
361
  type: "string"
357
362
  },
358
- autoCapitalize: { required: false, control: "text", type: "string" },
363
+ autoCapitalize: {
364
+ required: false,
365
+ control: "text",
366
+ type: "string",
367
+ description: "Sets whether input is automatically capitalized when entered by user."
368
+ },
359
369
  autoCorrect: { required: false, control: "text", type: "string" },
360
- autoFocus: { required: false, control: "boolean", type: "boolean" },
370
+ autoFocus: {
371
+ required: false,
372
+ control: "boolean",
373
+ type: "boolean",
374
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
375
+ },
361
376
  autoSave: { required: false, control: "text", type: "string" },
362
377
  className: { required: false, control: "text", type: "string" },
363
- color: { required: false, control: "color", type: "string" },
364
- content: { required: false, control: "text", type: "string" },
365
- contextMenu: { required: false, control: "text", type: "string" },
378
+ color: {
379
+ required: false,
380
+ control: "color",
381
+ type: "string",
382
+ description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
383
+ },
384
+ content: {
385
+ required: false,
386
+ control: "text",
387
+ type: "string",
388
+ description: "A value associated with http-equiv orname depending on the context."
389
+ },
390
+ contextMenu: {
391
+ required: false,
392
+ control: "text",
393
+ type: "string",
394
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
395
+ },
366
396
  datatype: { required: false, control: "text", type: "string" },
367
397
  defaultChecked: { required: false, control: "boolean", type: "boolean" },
368
- dir: { required: false, control: "text", type: "string" },
369
- draggable: { required: false, control: "boolean", type: "boolean" },
370
- hidden: { required: false, control: "boolean", type: "boolean" },
371
- id: { required: false, control: "text", type: "string" },
398
+ dir: {
399
+ required: false,
400
+ control: "text",
401
+ type: "string",
402
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
403
+ },
404
+ draggable: {
405
+ required: false,
406
+ control: "boolean",
407
+ type: "boolean",
408
+ description: "Defines whether the element can be dragged."
409
+ },
410
+ hidden: {
411
+ required: false,
412
+ control: "boolean",
413
+ type: "boolean",
414
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
415
+ },
416
+ id: {
417
+ required: false,
418
+ control: "text",
419
+ type: "string",
420
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
421
+ },
372
422
  inputMode: {
373
423
  description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
374
424
  required: false,
@@ -396,20 +446,50 @@ const props = {
396
446
  itemRef: { required: false, control: "text", type: "string" },
397
447
  itemScope: { required: false, control: "boolean", type: "boolean" },
398
448
  itemType: { required: false, control: "text", type: "string" },
399
- lang: { required: false, control: "text", type: "string" },
449
+ lang: {
450
+ required: false,
451
+ control: "text",
452
+ type: "string",
453
+ description: "Defines the language used in the element."
454
+ },
400
455
  nonce: { required: false, control: "text", type: "string" },
401
- placeholder: { required: false, control: "text", type: "string" },
456
+ placeholder: {
457
+ required: false,
458
+ control: "text",
459
+ type: "string",
460
+ description: "Provides a hint to the user of what can be entered in the field."
461
+ },
402
462
  prefix: { required: false, control: "text", type: "string" },
403
463
  property: { required: false, control: "text", type: "string" },
404
464
  radioGroup: { required: false, control: "text", type: "string" },
405
- rel: { required: false, control: "text", type: "string" },
465
+ rel: {
466
+ required: false,
467
+ control: "text",
468
+ type: "string",
469
+ description: "Specifies the relationship of the target object to the link object."
470
+ },
406
471
  resource: { required: false, control: "text", type: "string" },
407
472
  results: { required: false, control: "number", type: "number" },
408
473
  rev: { required: false, control: "text", type: "string" },
409
- role: { required: false, control: "text", type: "string" },
474
+ role: {
475
+ required: false,
476
+ control: "text",
477
+ type: "string",
478
+ description: "Defines an explicit role for an element for use by assistive technologies."
479
+ },
410
480
  security: { required: false, control: "text", type: "string" },
411
- slot: { required: false, control: "text", type: "string" },
412
- spellCheck: { required: false, control: "boolean", type: "boolean" },
481
+ slot: {
482
+ required: false,
483
+ control: "text",
484
+ type: "string",
485
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
486
+ },
487
+ spellCheck: {
488
+ required: false,
489
+ control: "boolean",
490
+ type: "boolean",
491
+ description: "Indicates whether spell checking is allowed for the element."
492
+ },
413
493
  suppressContentEditableWarning: {
414
494
  required: false,
415
495
  control: "boolean",
@@ -420,13 +500,24 @@ const props = {
420
500
  control: "boolean",
421
501
  type: "boolean"
422
502
  },
423
- tabIndex: { required: false, control: "number", type: "number" },
424
- title: { required: false, control: "text", type: "string" },
503
+ tabIndex: {
504
+ required: false,
505
+ control: "number",
506
+ type: "number",
507
+ description: "Overrides the browser's default tab order and follows the one specified instead."
508
+ },
509
+ title: {
510
+ required: false,
511
+ control: "text",
512
+ type: "string",
513
+ description: "Text to be displayed in a tooltip when hovering over the element."
514
+ },
425
515
  translate: {
426
516
  required: false,
427
517
  control: "radio",
428
518
  type: "string",
429
- options: ["yes", "no"]
519
+ options: ["yes", "no"],
520
+ 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."
430
521
  },
431
522
  typeof: { required: false, control: "text", type: "string" },
432
523
  unselectable: {
@@ -23,7 +23,12 @@ __export(vimeo_props_exports, {
23
23
  module.exports = __toCommonJS(vimeo_props_exports);
24
24
  const props = {
25
25
  about: { required: false, control: "text", type: "string" },
26
- accessKey: { required: false, control: "text", type: "string" },
26
+ accessKey: {
27
+ required: false,
28
+ control: "text",
29
+ type: "string",
30
+ description: "Keyboard shortcut to activate or add focus to the element."
31
+ },
27
32
  "aria-activedescendant": {
28
33
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
29
34
  required: false,
@@ -179,7 +184,7 @@ const props = {
179
184
  type: "string"
180
185
  },
181
186
  "aria-label": {
182
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
187
+ 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.",
183
188
  required: false,
184
189
  control: "text",
185
190
  type: "string"
@@ -355,9 +360,19 @@ const props = {
355
360
  control: "text",
356
361
  type: "string"
357
362
  },
358
- autoCapitalize: { required: false, control: "text", type: "string" },
363
+ autoCapitalize: {
364
+ required: false,
365
+ control: "text",
366
+ type: "string",
367
+ description: "Sets whether input is automatically capitalized when entered by user."
368
+ },
359
369
  autoCorrect: { required: false, control: "text", type: "string" },
360
- autoFocus: { required: false, control: "boolean", type: "boolean" },
370
+ autoFocus: {
371
+ required: false,
372
+ control: "boolean",
373
+ type: "boolean",
374
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
375
+ },
361
376
  autopause: {
362
377
  description: "Whether to pause the current video when another Vimeo video on the same page starts to play. Set this value to false to permit simultaneous playback of all the videos on the page. This option has no effect if you've disabled cookies in your browser, either through browser settings or with an extension or plugin.",
363
378
  required: false,
@@ -387,9 +402,24 @@ const props = {
387
402
  defaultValue: false
388
403
  },
389
404
  className: { required: false, control: "text", type: "string" },
390
- color: { required: false, control: "color", type: "string" },
391
- content: { required: false, control: "text", type: "string" },
392
- contextMenu: { required: false, control: "text", type: "string" },
405
+ color: {
406
+ required: false,
407
+ control: "color",
408
+ type: "string",
409
+ description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
410
+ },
411
+ content: {
412
+ required: false,
413
+ control: "text",
414
+ type: "string",
415
+ description: "A value associated with http-equiv orname depending on the context."
416
+ },
417
+ contextMenu: {
418
+ required: false,
419
+ control: "text",
420
+ type: "string",
421
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
422
+ },
393
423
  controlsColor: {
394
424
  description: "A color value of the playback controls, which is normally #00ADEF. The embed settings of the video might override this value.",
395
425
  required: false,
@@ -398,7 +428,12 @@ const props = {
398
428
  },
399
429
  datatype: { required: false, control: "text", type: "string" },
400
430
  defaultChecked: { required: false, control: "boolean", type: "boolean" },
401
- dir: { required: false, control: "text", type: "string" },
431
+ dir: {
432
+ required: false,
433
+ control: "text",
434
+ type: "string",
435
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
436
+ },
402
437
  doNotTrack: {
403
438
  description: "Whether to prevent the player from tracking session data, including cookies. Keep in mind that setting this argument to true also blocks video stats.",
404
439
  required: false,
@@ -406,9 +441,24 @@ const props = {
406
441
  type: "boolean",
407
442
  defaultValue: false
408
443
  },
409
- draggable: { required: false, control: "boolean", type: "boolean" },
410
- hidden: { required: false, control: "boolean", type: "boolean" },
411
- id: { required: false, control: "text", type: "string" },
444
+ draggable: {
445
+ required: false,
446
+ control: "boolean",
447
+ type: "boolean",
448
+ description: "Defines whether the element can be dragged."
449
+ },
450
+ hidden: {
451
+ required: false,
452
+ control: "boolean",
453
+ type: "boolean",
454
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
455
+ },
456
+ id: {
457
+ required: false,
458
+ control: "text",
459
+ type: "string",
460
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
461
+ },
412
462
  inputMode: {
413
463
  description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
414
464
  required: false,
@@ -449,7 +499,12 @@ const props = {
449
499
  type: "boolean",
450
500
  defaultValue: true
451
501
  },
452
- lang: { required: false, control: "text", type: "string" },
502
+ lang: {
503
+ required: false,
504
+ control: "text",
505
+ type: "string",
506
+ description: "Defines the language used in the element."
507
+ },
453
508
  loop: {
454
509
  description: "Whether to restart the video automatically after reaching the end.",
455
510
  required: false,
@@ -472,7 +527,12 @@ const props = {
472
527
  type: "boolean",
473
528
  defaultValue: false
474
529
  },
475
- placeholder: { required: false, control: "text", type: "string" },
530
+ placeholder: {
531
+ required: false,
532
+ control: "text",
533
+ type: "string",
534
+ description: "Provides a hint to the user of what can be entered in the field."
535
+ },
476
536
  playsinline: {
477
537
  description: "Whether the video plays inline on supported mobile devices. To force the device to play the video in fullscreen mode instead, set this value to false.",
478
538
  required: false,
@@ -491,7 +551,12 @@ const props = {
491
551
  options: ["auto", "360p", "540p", "720p", "1080p", "2k", "4k"]
492
552
  },
493
553
  radioGroup: { required: false, control: "text", type: "string" },
494
- rel: { required: false, control: "text", type: "string" },
554
+ rel: {
555
+ required: false,
556
+ control: "text",
557
+ type: "string",
558
+ description: "Specifies the relationship of the target object to the link object."
559
+ },
495
560
  resource: { required: false, control: "text", type: "string" },
496
561
  responsive: {
497
562
  description: "Whether to return a responsive embed code, or one that provides intelligent adjustments based on viewing conditions. We recommend this option for mobile-optimized sites.",
@@ -502,7 +567,12 @@ const props = {
502
567
  },
503
568
  results: { required: false, control: "number", type: "number" },
504
569
  rev: { required: false, control: "text", type: "string" },
505
- role: { required: false, control: "text", type: "string" },
570
+ role: {
571
+ required: false,
572
+ control: "text",
573
+ type: "string",
574
+ description: "Defines an explicit role for an element for use by assistive technologies."
575
+ },
506
576
  security: { required: false, control: "text", type: "string" },
507
577
  showByline: {
508
578
  description: "Whether to display the video owner's name.",
@@ -539,7 +609,12 @@ const props = {
539
609
  type: "boolean",
540
610
  defaultValue: false
541
611
  },
542
- slot: { required: false, control: "text", type: "string" },
612
+ slot: {
613
+ required: false,
614
+ control: "text",
615
+ type: "string",
616
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
617
+ },
543
618
  speed: {
544
619
  description: "Whether the player displays speed controls in the preferences menu and enables the playback rate API.",
545
620
  required: false,
@@ -547,7 +622,12 @@ const props = {
547
622
  type: "boolean",
548
623
  defaultValue: false
549
624
  },
550
- spellCheck: { required: false, control: "boolean", type: "boolean" },
625
+ spellCheck: {
626
+ required: false,
627
+ control: "boolean",
628
+ type: "boolean",
629
+ description: "Indicates whether spell checking is allowed for the element."
630
+ },
551
631
  suppressContentEditableWarning: {
552
632
  required: false,
553
633
  control: "boolean",
@@ -558,19 +638,30 @@ const props = {
558
638
  control: "boolean",
559
639
  type: "boolean"
560
640
  },
561
- tabIndex: { required: false, control: "number", type: "number" },
641
+ tabIndex: {
642
+ required: false,
643
+ control: "number",
644
+ type: "number",
645
+ description: "Overrides the browser's default tab order and follows the one specified instead."
646
+ },
562
647
  texttrack: {
563
648
  description: "The text track to display with the video. Specify the text track by its language code (en), the language code and locale (en-US), or the language code and kind (en.captions). For this argument to work, the video must already have a text track of the given type; see our Help Center or Working with Text Track Uploads for more information.\nTo enable automatically generated closed captions instead, provide the value en-x-autogen. Please note that, at the present time, automatic captions are always in English.",
564
649
  required: false,
565
650
  control: "text",
566
651
  type: "string"
567
652
  },
568
- title: { required: false, control: "text", type: "string" },
653
+ title: {
654
+ required: false,
655
+ control: "text",
656
+ type: "string",
657
+ description: "Text to be displayed in a tooltip when hovering over the element."
658
+ },
569
659
  translate: {
570
660
  required: false,
571
661
  control: "radio",
572
662
  type: "string",
573
- options: ["yes", "no"]
663
+ options: ["yes", "no"],
664
+ 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."
574
665
  },
575
666
  transparent: {
576
667
  description: "Whether the responsive player and transparent background are enabled.",
@@ -587,7 +678,7 @@ const props = {
587
678
  options: ["on", "off"]
588
679
  },
589
680
  url: {
590
- description: "The ID or the URL of the video on Vimeo. You must supply one of these values to identify the video. When the video's privacy setting is Private, you must use the URL, and the URL must include the h parameter. For more information, see our introductory guide.",
681
+ description: "The ID or the URL of the video on Vimeo. You must supply one of these values to identify the video. When the video's privacy setting is Private, you must use the URL, and the URL must include the h parameter. For more information, see Vimeo\u2019s introductory guide.",
591
682
  required: false,
592
683
  control: "text",
593
684
  type: "string"
@@ -77,6 +77,7 @@ const meta = {
77
77
  category: "text",
78
78
  type: "container",
79
79
  label: "Blockquote",
80
+ description: "Use to style a quote from an external source like an article or book.",
80
81
  icon: import_svg.BlockquoteIcon,
81
82
  states: import_react_sdk.defaultStates,
82
83
  presetStyle,
package/lib/cjs/box.ws.js CHANGED
@@ -42,6 +42,7 @@ const meta = {
42
42
  category: "general",
43
43
  type: "container",
44
44
  label: "Box",
45
+ description: "A container for content. By default this is a Div, but the tag can be changed in settings.",
45
46
  icon: import_svg.BoxIcon,
46
47
  states: import_react_sdk.defaultStates,
47
48
  presetStyle,
@@ -34,6 +34,7 @@ const meta = {
34
34
  type: "container",
35
35
  invalidAncestors: ["Button"],
36
36
  label: "Button",
37
+ description: "Use a button to submit forms or trigger actions within a page. Do not use a button to navigate users to another resource or another page - that\u2019s what a link is used for.",
37
38
  icon: import_svg.ButtonElementIcon,
38
39
  presetStyle,
39
40
  states: [
@@ -40,6 +40,7 @@ const meta = {
40
40
  invalidAncestors: ["Button"],
41
41
  type: "control",
42
42
  label: "Checkbox",
43
+ description: "Use within a form to allow your users to toggle between checked and not checked. Group checkboxes by matching their \u201CName\u201D properties. Unlike radios, any number of checkboxes in a group can be checked.",
43
44
  icon: import_svg.CheckboxCheckedIcon,
44
45
  presetStyle,
45
46
  order: 6,
@@ -55,7 +55,9 @@ const meta = {
55
55
  category: "general",
56
56
  type: "container",
57
57
  label: "Code Text",
58
+ description: "Use this component when you want to display code as text on the page.",
58
59
  icon: import_svg.CodeTextIcon,
60
+ invalidAncestors: ["CodeText"],
59
61
  states: import_react_sdk.defaultStates,
60
62
  presetStyle,
61
63
  template: [
@@ -37,6 +37,7 @@ const meta = {
37
37
  type: "container",
38
38
  invalidAncestors: ["Form"],
39
39
  label: "Form",
40
+ description: "Collect information from your users using validation rules.",
40
41
  icon: import_svg.FormIcon,
41
42
  states: import_react_sdk.defaultStates,
42
43
  presetStyle,
@@ -38,7 +38,9 @@ const meta = {
38
38
  category: "text",
39
39
  type: "container",
40
40
  label: "Heading",
41
+ description: "Use HTML headings to structure and organize content. Use the Tag property in settings to change the heading level (h1-h6).",
41
42
  icon: import_svg.HeadingIcon,
43
+ invalidAncestors: ["Heading"],
42
44
  states: import_react_sdk.defaultStates,
43
45
  presetStyle,
44
46
  template: [
@@ -28,6 +28,7 @@ const meta = {
28
28
  category: "general",
29
29
  type: "embed",
30
30
  label: "HTML Embed",
31
+ description: "Used to add HTML code to the page, such as an SVG or script.",
31
32
  icon: import_svg.EmbedIcon,
32
33
  stylable: false,
33
34
  order: 7
@@ -47,6 +47,7 @@ const meta = {
47
47
  category: "media",
48
48
  type: "embed",
49
49
  label: "Image",
50
+ description: "Add an image asset to the page. Webstudio automatically converts images to WebP or AVIF format and makes them responsive for best performance.",
50
51
  icon: import_svg.ImageIcon,
51
52
  states: import_react_sdk.defaultStates,
52
53
  presetStyle,
@@ -40,6 +40,7 @@ const meta = {
40
40
  invalidAncestors: ["Button"],
41
41
  type: "control",
42
42
  label: "Text Input",
43
+ description: "A single-line text input for collecting string data from your users.",
43
44
  icon: import_svg.FormTextFieldIcon,
44
45
  presetStyle,
45
46
  order: 3,
@@ -34,7 +34,7 @@ const presetStyle = {
34
34
  };
35
35
  const meta = {
36
36
  category: "forms",
37
- invalidAncestors: ["Button"],
37
+ invalidAncestors: ["Button", "Label"],
38
38
  type: "container",
39
39
  label: "Input Label",
40
40
  icon: import_svg.LabelIcon,
@@ -43,7 +43,9 @@ const meta = {
43
43
  category: "general",
44
44
  type: "container",
45
45
  label: "Link",
46
+ description: "Use a link to send your users to another page, section, or resource. Configure links in the Settings panel.",
46
47
  icon: import_svg.LinkIcon,
48
+ invalidAncestors: ["Link"],
47
49
  presetStyle,
48
50
  order: 1,
49
51
  states: [
@@ -34,6 +34,7 @@ const meta = {
34
34
  type: "container",
35
35
  requiredAncestors: ["List"],
36
36
  label: "List Item",
37
+ description: "Adds a new item to an existing list.",
37
38
  icon: import_svg.ListItemIcon,
38
39
  states: import_react_sdk.defaultStates,
39
40
  presetStyle,
@@ -62,6 +62,7 @@ const meta = {
62
62
  category: "general",
63
63
  type: "container",
64
64
  label: "List",
65
+ description: "Groups content, like links in a menu or steps in a recipe.",
65
66
  icon: import_svg.ListIcon,
66
67
  states: import_react_sdk.defaultStates,
67
68
  presetStyle,
@@ -33,7 +33,9 @@ const meta = {
33
33
  category: "text",
34
34
  type: "container",
35
35
  label: "Paragraph",
36
+ description: "A container for multi-line text.",
36
37
  icon: import_svg.TextAlignLeftIcon,
38
+ invalidAncestors: ["Paragraph"],
37
39
  states: import_react_sdk.defaultStates,
38
40
  presetStyle,
39
41
  template: [
@@ -40,6 +40,7 @@ const meta = {
40
40
  invalidAncestors: ["Button"],
41
41
  type: "control",
42
42
  label: "Radio",
43
+ description: "Use within a form to allow your users to select a single option from a set of mutually exclusive choices. Group multiple radios by matching their \u201CName\u201D properties.",
43
44
  icon: import_svg.RadioCheckedIcon,
44
45
  presetStyle,
45
46
  order: 5,
@@ -59,6 +59,7 @@ const meta = {
59
59
  category: "general",
60
60
  type: "embed",
61
61
  label: "Separator",
62
+ description: "Used to visually divide sections of content, helping to improve readability and organization within a webpage.",
62
63
  icon: import_svg.DashIcon,
63
64
  states: import_react_sdk.defaultStates,
64
65
  presetStyle,
@@ -39,6 +39,7 @@ const meta = {
39
39
  category: "text",
40
40
  type: "container",
41
41
  label: "Text",
42
+ description: "A generic container for any text content that is not a heading or a link.",
42
43
  icon: import_svg.TextIcon,
43
44
  states: import_react_sdk.defaultStates,
44
45
  presetStyle,
@@ -41,6 +41,7 @@ const meta = {
41
41
  category: "forms",
42
42
  type: "control",
43
43
  label: "Text Area",
44
+ description: "A multi-line text input for collecting longer string data from your users.",
44
45
  icon: import_svg.FormTextAreaIcon,
45
46
  presetStyle,
46
47
  order: 4,
@@ -34,6 +34,7 @@ const meta = {
34
34
  category: "media",
35
35
  type: "container",
36
36
  label: "Vimeo",
37
+ description: "Add a video to your page that is hosted on Vimeo. Paste a Vimeo URL and configure the video in the Settings tab.",
37
38
  order: 1,
38
39
  icon: import_svg.VimeoIcon,
39
40
  states: import_react_sdk.defaultStates,
@@ -33,7 +33,9 @@ const meta = {
33
33
  category: "general",
34
34
  type: "container",
35
35
  label: "Code Text",
36
+ description: "Use this component when you want to display code as text on the page.",
36
37
  icon: CodeTextIcon,
38
+ invalidAncestors: ["CodeText"],
37
39
  states: defaultStates,
38
40
  presetStyle,
39
41
  template: [
package/lib/form.ws.js CHANGED
@@ -15,6 +15,7 @@ const meta = {
15
15
  type: "container",
16
16
  invalidAncestors: ["Form"],
17
17
  label: "Form",
18
+ description: "Collect information from your users using validation rules.",
18
19
  icon: FormIcon,
19
20
  states: defaultStates,
20
21
  presetStyle,
package/lib/heading.ws.js CHANGED
@@ -16,7 +16,9 @@ const meta = {
16
16
  category: "text",
17
17
  type: "container",
18
18
  label: "Heading",
19
+ description: "Use HTML headings to structure and organize content. Use the Tag property in settings to change the heading level (h1-h6).",
19
20
  icon: HeadingIcon,
21
+ invalidAncestors: ["Heading"],
20
22
  states: defaultStates,
21
23
  presetStyle,
22
24
  template: [
@@ -4,6 +4,7 @@ const meta = {
4
4
  category: "general",
5
5
  type: "embed",
6
6
  label: "HTML Embed",
7
+ description: "Used to add HTML code to the page, such as an SVG or script.",
7
8
  icon: EmbedIcon,
8
9
  stylable: false,
9
10
  order: 7
package/lib/image.ws.js CHANGED
@@ -24,6 +24,7 @@ const meta = {
24
24
  category: "media",
25
25
  type: "embed",
26
26
  label: "Image",
27
+ description: "Add an image asset to the page. Webstudio automatically converts images to WebP or AVIF format and makes them responsive for best performance.",
27
28
  icon: ImageIcon,
28
29
  states: defaultStates,
29
30
  presetStyle,