@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_play_button_props_exports, {
23
23
  module.exports = __toCommonJS(vimeo_play_button_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,27 +360,107 @@ 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
- disabled: { required: false, control: "boolean", type: "boolean" },
370
- draggable: { required: false, control: "boolean", type: "boolean" },
371
- form: { required: false, control: "text", type: "string" },
372
- formAction: { required: false, control: "text", type: "string" },
373
- formEncType: { required: false, control: "text", type: "string" },
374
- formMethod: { required: false, control: "text", type: "string" },
375
- formNoValidate: { required: false, control: "boolean", type: "boolean" },
376
- formTarget: { required: false, control: "text", type: "string" },
377
- hidden: { required: false, control: "boolean", type: "boolean" },
378
- 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
+ disabled: {
405
+ required: false,
406
+ control: "boolean",
407
+ type: "boolean",
408
+ description: "Indicates whether the user can interact with the element."
409
+ },
410
+ draggable: {
411
+ required: false,
412
+ control: "boolean",
413
+ type: "boolean",
414
+ description: "Defines whether the element can be dragged."
415
+ },
416
+ form: {
417
+ required: false,
418
+ control: "text",
419
+ type: "string",
420
+ description: "Indicates the form that is the owner of the element."
421
+ },
422
+ formAction: {
423
+ required: false,
424
+ control: "text",
425
+ type: "string",
426
+ description: "Indicates the action of the element, overriding the action defined inthe form."
427
+ },
428
+ formEncType: {
429
+ required: false,
430
+ control: "text",
431
+ type: "string",
432
+ description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the encoding type to use during form submission. If this attribute is specified, it overrides theenctype attribute of the button's form owner.`
433
+ },
434
+ formMethod: {
435
+ required: false,
436
+ control: "text",
437
+ type: "string",
438
+ description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the submission method to use during form submission (GET, POST, etc.). If this attribute is specified, it overrides the method attribute of the button's form owner.`
439
+ },
440
+ formNoValidate: {
441
+ required: false,
442
+ control: "boolean",
443
+ type: "boolean",
444
+ description: `If the button/input is a submit button (e.g. type="submit"), this boolean attribute specifies that the form is not to be validatedwhen it is submitted. If this attribute is specified, it overrides thenovalidate attribute of the button's form owner.`
445
+ },
446
+ formTarget: {
447
+ required: false,
448
+ control: "text",
449
+ type: "string",
450
+ description: `If the button/input is a submit button (e.g. type="submit"), this attribute specifies the browsing context (for example, tab, window, or inline frame) in which to display the response that is received aftersubmitting the form. If this attribute is specified, it overrides thetarget attribute of the button's form owner.`
451
+ },
452
+ hidden: {
453
+ required: false,
454
+ control: "boolean",
455
+ type: "boolean",
456
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
457
+ },
458
+ id: {
459
+ required: false,
460
+ control: "text",
461
+ type: "string",
462
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
463
+ },
379
464
  inputMode: {
380
465
  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",
381
466
  required: false,
@@ -403,21 +488,56 @@ const props = {
403
488
  itemRef: { required: false, control: "text", type: "string" },
404
489
  itemScope: { required: false, control: "boolean", type: "boolean" },
405
490
  itemType: { required: false, control: "text", type: "string" },
406
- lang: { required: false, control: "text", type: "string" },
407
- name: { required: false, control: "text", type: "string" },
491
+ lang: {
492
+ required: false,
493
+ control: "text",
494
+ type: "string",
495
+ description: "Defines the language used in the element."
496
+ },
497
+ name: {
498
+ required: false,
499
+ control: "text",
500
+ type: "string",
501
+ description: "This name is important when submitting form data to the server, as it identifies the data associated with the input. When multiple inputs share the same name attribute, they are treated as part of the same group (e.g., radio buttons or checkboxes)."
502
+ },
408
503
  nonce: { required: false, control: "text", type: "string" },
409
- placeholder: { required: false, control: "text", type: "string" },
504
+ placeholder: {
505
+ required: false,
506
+ control: "text",
507
+ type: "string",
508
+ description: "Provides a hint to the user of what can be entered in the field."
509
+ },
410
510
  prefix: { required: false, control: "text", type: "string" },
411
511
  property: { required: false, control: "text", type: "string" },
412
512
  radioGroup: { required: false, control: "text", type: "string" },
413
- rel: { required: false, control: "text", type: "string" },
513
+ rel: {
514
+ required: false,
515
+ control: "text",
516
+ type: "string",
517
+ description: "Specifies the relationship of the target object to the link object."
518
+ },
414
519
  resource: { required: false, control: "text", type: "string" },
415
520
  results: { required: false, control: "number", type: "number" },
416
521
  rev: { required: false, control: "text", type: "string" },
417
- role: { required: false, control: "text", type: "string" },
522
+ role: {
523
+ required: false,
524
+ control: "text",
525
+ type: "string",
526
+ description: "Defines an explicit role for an element for use by assistive technologies."
527
+ },
418
528
  security: { required: false, control: "text", type: "string" },
419
- slot: { required: false, control: "text", type: "string" },
420
- spellCheck: { required: false, control: "boolean", type: "boolean" },
529
+ slot: {
530
+ required: false,
531
+ control: "text",
532
+ type: "string",
533
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
534
+ },
535
+ spellCheck: {
536
+ required: false,
537
+ control: "boolean",
538
+ type: "boolean",
539
+ description: "Indicates whether spell checking is allowed for the element."
540
+ },
421
541
  suppressContentEditableWarning: {
422
542
  required: false,
423
543
  control: "boolean",
@@ -428,19 +548,31 @@ const props = {
428
548
  control: "boolean",
429
549
  type: "boolean"
430
550
  },
431
- tabIndex: { required: false, control: "number", type: "number" },
432
- title: { required: false, control: "text", type: "string" },
551
+ tabIndex: {
552
+ required: false,
553
+ control: "number",
554
+ type: "number",
555
+ description: "Overrides the browser's default tab order and follows the one specified instead."
556
+ },
557
+ title: {
558
+ required: false,
559
+ control: "text",
560
+ type: "string",
561
+ description: "Text to be displayed in a tooltip when hovering over the element."
562
+ },
433
563
  translate: {
434
564
  required: false,
435
565
  control: "radio",
436
566
  type: "string",
437
- options: ["yes", "no"]
567
+ options: ["yes", "no"],
568
+ 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."
438
569
  },
439
570
  type: {
440
571
  required: false,
441
572
  control: "radio",
442
573
  type: "string",
443
- options: ["button", "submit", "reset"]
574
+ options: ["button", "submit", "reset"],
575
+ description: "Defines the type of the element."
444
576
  },
445
577
  typeof: { required: false, control: "text", type: "string" },
446
578
  unselectable: {
@@ -23,8 +23,18 @@ __export(vimeo_preview_image_props_exports, {
23
23
  module.exports = __toCommonJS(vimeo_preview_image_props_exports);
24
24
  const props = {
25
25
  about: { required: false, control: "text", type: "string" },
26
- accessKey: { required: false, control: "text", type: "string" },
27
- alt: { 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
+ },
32
+ alt: {
33
+ required: false,
34
+ control: "text",
35
+ type: "string",
36
+ description: "Text description of the image, which is very important for accessibility and search engine optimization. Screen readers read this description to users so they know what the image means. Alt text is also displayed on the page if the image can't be loaded for some reason."
37
+ },
28
38
  "aria-activedescendant": {
29
39
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
30
40
  required: false,
@@ -180,7 +190,7 @@ const props = {
180
190
  type: "string"
181
191
  },
182
192
  "aria-label": {
183
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
193
+ 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.",
184
194
  required: false,
185
195
  control: "text",
186
196
  type: "string"
@@ -356,33 +366,85 @@ const props = {
356
366
  control: "text",
357
367
  type: "string"
358
368
  },
359
- autoCapitalize: { required: false, control: "text", type: "string" },
369
+ autoCapitalize: {
370
+ required: false,
371
+ control: "text",
372
+ type: "string",
373
+ description: "Sets whether input is automatically capitalized when entered by user."
374
+ },
360
375
  autoCorrect: { required: false, control: "text", type: "string" },
361
- autoFocus: { required: false, control: "boolean", type: "boolean" },
376
+ autoFocus: {
377
+ required: false,
378
+ control: "boolean",
379
+ type: "boolean",
380
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
381
+ },
362
382
  autoSave: { required: false, control: "text", type: "string" },
363
383
  className: { required: false, control: "text", type: "string" },
364
- color: { required: false, control: "color", type: "string" },
365
- content: { required: false, control: "text", type: "string" },
366
- contextMenu: { required: false, control: "text", type: "string" },
384
+ color: {
385
+ required: false,
386
+ control: "color",
387
+ type: "string",
388
+ 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."
389
+ },
390
+ content: {
391
+ required: false,
392
+ control: "text",
393
+ type: "string",
394
+ description: "A value associated with http-equiv orname depending on the context."
395
+ },
396
+ contextMenu: {
397
+ required: false,
398
+ control: "text",
399
+ type: "string",
400
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
401
+ },
367
402
  crossOrigin: {
368
403
  required: false,
369
404
  control: "radio",
370
405
  type: "string",
371
- options: ["", "anonymous", "use-credentials"]
406
+ options: ["", "anonymous", "use-credentials"],
407
+ description: "How the element handles cross-origin requests"
372
408
  },
373
409
  datatype: { required: false, control: "text", type: "string" },
374
410
  decoding: {
375
411
  required: false,
376
412
  control: "radio",
377
413
  type: "string",
378
- options: ["async", "auto", "sync"]
414
+ options: ["async", "auto", "sync"],
415
+ description: "Indicates the preferred method to decode the image."
379
416
  },
380
417
  defaultChecked: { required: false, control: "boolean", type: "boolean" },
381
- dir: { required: false, control: "text", type: "string" },
382
- draggable: { required: false, control: "boolean", type: "boolean" },
383
- height: { required: false, control: "number", type: "number" },
384
- hidden: { required: false, control: "boolean", type: "boolean" },
385
- id: { required: false, control: "text", type: "string" },
418
+ dir: {
419
+ required: false,
420
+ control: "text",
421
+ type: "string",
422
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
423
+ },
424
+ draggable: {
425
+ required: false,
426
+ control: "boolean",
427
+ type: "boolean",
428
+ description: "Defines whether the element can be dragged."
429
+ },
430
+ height: {
431
+ required: false,
432
+ control: "number",
433
+ type: "number",
434
+ description: "Defines the image\u2019s height in pixels."
435
+ },
436
+ hidden: {
437
+ required: false,
438
+ control: "boolean",
439
+ type: "boolean",
440
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
441
+ },
442
+ id: {
443
+ required: false,
444
+ control: "text",
445
+ type: "string",
446
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
447
+ },
386
448
  inputMode: {
387
449
  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",
388
450
  required: false,
@@ -410,16 +472,27 @@ const props = {
410
472
  itemRef: { required: false, control: "text", type: "string" },
411
473
  itemScope: { required: false, control: "boolean", type: "boolean" },
412
474
  itemType: { required: false, control: "text", type: "string" },
413
- lang: { required: false, control: "text", type: "string" },
475
+ lang: {
476
+ required: false,
477
+ control: "text",
478
+ type: "string",
479
+ description: "Defines the language used in the element."
480
+ },
414
481
  loading: {
415
482
  required: false,
416
483
  control: "radio",
417
484
  type: "string",
418
- options: ["eager", "lazy"]
485
+ options: ["eager", "lazy"],
486
+ description: "Determines whether the image will load as soon as possible (Eager), or when it scrolls into view (Lazy). Lazy loading is a great option for pages with many images because it can significantly reduce the time it takes for the page to load initially."
419
487
  },
420
488
  nonce: { required: false, control: "text", type: "string" },
421
489
  optimize: { required: false, control: "boolean", type: "boolean" },
422
- placeholder: { required: false, control: "text", type: "string" },
490
+ placeholder: {
491
+ required: false,
492
+ control: "text",
493
+ type: "string",
494
+ description: "Provides a hint to the user of what can be entered in the field."
495
+ },
423
496
  prefix: { required: false, control: "text", type: "string" },
424
497
  property: { required: false, control: "text", type: "string" },
425
498
  quality: { required: false, control: "number", type: "number" },
@@ -438,19 +511,50 @@ const props = {
438
511
  "strict-origin",
439
512
  "strict-origin-when-cross-origin",
440
513
  "unsafe-url"
441
- ]
514
+ ],
515
+ description: "Specifies which referrer is sent when fetching the resource."
516
+ },
517
+ rel: {
518
+ required: false,
519
+ control: "text",
520
+ type: "string",
521
+ description: "Specifies the relationship of the target object to the link object."
442
522
  },
443
- rel: { required: false, control: "text", type: "string" },
444
523
  resource: { required: false, control: "text", type: "string" },
445
524
  results: { required: false, control: "number", type: "number" },
446
525
  rev: { required: false, control: "text", type: "string" },
447
- role: { required: false, control: "text", type: "string" },
526
+ role: {
527
+ required: false,
528
+ control: "text",
529
+ type: "string",
530
+ description: "Defines an explicit role for an element for use by assistive technologies."
531
+ },
448
532
  security: { required: false, control: "text", type: "string" },
449
533
  sizes: { required: false, control: "text", type: "string" },
450
- slot: { required: false, control: "text", type: "string" },
451
- spellCheck: { required: false, control: "boolean", type: "boolean" },
452
- src: { required: false, control: "text", type: "string" },
453
- srcSet: { required: false, control: "text", type: "string" },
534
+ slot: {
535
+ required: false,
536
+ control: "text",
537
+ type: "string",
538
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
539
+ },
540
+ spellCheck: {
541
+ required: false,
542
+ control: "boolean",
543
+ type: "boolean",
544
+ description: "Indicates whether spell checking is allowed for the element."
545
+ },
546
+ src: {
547
+ required: false,
548
+ control: "text",
549
+ type: "string",
550
+ description: "The URL of the embeddable content."
551
+ },
552
+ srcSet: {
553
+ required: false,
554
+ control: "text",
555
+ type: "string",
556
+ description: "One or more responsive image candidates."
557
+ },
454
558
  suppressContentEditableWarning: {
455
559
  required: false,
456
560
  control: "boolean",
@@ -461,13 +565,24 @@ const props = {
461
565
  control: "boolean",
462
566
  type: "boolean"
463
567
  },
464
- tabIndex: { required: false, control: "number", type: "number" },
465
- title: { required: false, control: "text", type: "string" },
568
+ tabIndex: {
569
+ required: false,
570
+ control: "number",
571
+ type: "number",
572
+ description: "Overrides the browser's default tab order and follows the one specified instead."
573
+ },
574
+ title: {
575
+ required: false,
576
+ control: "text",
577
+ type: "string",
578
+ description: "Text to be displayed in a tooltip when hovering over the element."
579
+ },
466
580
  translate: {
467
581
  required: false,
468
582
  control: "radio",
469
583
  type: "string",
470
- options: ["yes", "no"]
584
+ options: ["yes", "no"],
585
+ 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."
471
586
  },
472
587
  typeof: { required: false, control: "text", type: "string" },
473
588
  unselectable: {
@@ -478,5 +593,10 @@ const props = {
478
593
  },
479
594
  useMap: { required: false, control: "text", type: "string" },
480
595
  vocab: { required: false, control: "text", type: "string" },
481
- width: { required: false, control: "number", type: "number" }
596
+ width: {
597
+ required: false,
598
+ control: "number",
599
+ type: "number",
600
+ description: "Defines the image\u2019s width in pixels."
601
+ }
482
602
  };