@webstudio-is/sdk-components-react 0.87.1 → 0.89.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 (163) 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 +261 -50
  7. package/lib/__generated__/code-text.props.js +108 -24
  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 +263 -51
  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 +261 -50
  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 +114 -22
  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 +2 -1
  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 +261 -50
  40. package/lib/cjs/__generated__/code-text.props.js +108 -24
  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 +263 -51
  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 +261 -50
  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 +114 -22
  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 +2 -1
  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.js +4 -13
  68. package/lib/cjs/code-text.ws.js +10 -9
  69. package/lib/cjs/form.ws.js +1 -0
  70. package/lib/cjs/heading.ws.js +2 -0
  71. package/lib/cjs/html-embed.ws.js +1 -0
  72. package/lib/cjs/image.ws.js +1 -0
  73. package/lib/cjs/input.ws.js +1 -0
  74. package/lib/cjs/label.ws.js +1 -1
  75. package/lib/cjs/link.ws.js +2 -0
  76. package/lib/cjs/list-item.ws.js +1 -0
  77. package/lib/cjs/list.ws.js +1 -0
  78. package/lib/cjs/paragraph.ws.js +2 -0
  79. package/lib/cjs/radio-button.ws.js +1 -0
  80. package/lib/cjs/separator.ws.js +1 -0
  81. package/lib/cjs/text.ws.js +1 -0
  82. package/lib/cjs/textarea.ws.js +1 -0
  83. package/lib/cjs/vimeo.ws.js +1 -0
  84. package/lib/code-text.js +4 -13
  85. package/lib/code-text.ws.js +8 -7
  86. package/lib/form.ws.js +1 -0
  87. package/lib/heading.ws.js +2 -0
  88. package/lib/html-embed.ws.js +1 -0
  89. package/lib/image.ws.js +1 -0
  90. package/lib/input.ws.js +1 -0
  91. package/lib/label.ws.js +1 -1
  92. package/lib/link.ws.js +2 -0
  93. package/lib/list-item.ws.js +1 -0
  94. package/lib/list.ws.js +1 -0
  95. package/lib/paragraph.ws.js +2 -0
  96. package/lib/radio-button.ws.js +1 -0
  97. package/lib/separator.ws.js +1 -0
  98. package/lib/text.ws.js +1 -0
  99. package/lib/textarea.ws.js +1 -0
  100. package/lib/types/box.d.ts +1 -0
  101. package/lib/types/code-text.d.ts +2 -8
  102. package/lib/types/heading.d.ts +1 -0
  103. package/lib/types/list.d.ts +1 -0
  104. package/lib/types/text.d.ts +2 -1
  105. package/lib/types/vimeo-preview-image.d.ts +2 -2
  106. package/lib/types/vimeo.d.ts +1 -1
  107. package/lib/vimeo.ws.js +1 -0
  108. package/package.json +6 -6
  109. package/src/__generated__/blockquote.props.ts +131 -20
  110. package/src/__generated__/body.props.ts +124 -19
  111. package/src/__generated__/bold.props.ts +124 -19
  112. package/src/__generated__/box.props.ts +126 -19
  113. package/src/__generated__/button.props.ts +180 -27
  114. package/src/__generated__/checkbox.props.ts +289 -47
  115. package/src/__generated__/code-text.props.ts +121 -23
  116. package/src/__generated__/form.props.ts +179 -27
  117. package/src/__generated__/heading.props.ts +126 -19
  118. package/src/__generated__/image.props.ts +160 -24
  119. package/src/__generated__/input.props.ts +291 -47
  120. package/src/__generated__/italic.props.ts +124 -19
  121. package/src/__generated__/label.props.ts +137 -21
  122. package/src/__generated__/link.props.ts +159 -24
  123. package/src/__generated__/list-item.props.ts +124 -19
  124. package/src/__generated__/list.props.ts +140 -21
  125. package/src/__generated__/paragraph.props.ts +124 -19
  126. package/src/__generated__/radio-button.props.ts +289 -47
  127. package/src/__generated__/rich-text-link.props.ts +159 -24
  128. package/src/__generated__/separator.props.ts +124 -19
  129. package/src/__generated__/span.props.ts +124 -19
  130. package/src/__generated__/subscript.props.ts +124 -19
  131. package/src/__generated__/superscript.props.ts +124 -19
  132. package/src/__generated__/text.props.ts +128 -21
  133. package/src/__generated__/textarea.props.ts +195 -30
  134. package/src/__generated__/vimeo-play-button.props.ts +179 -27
  135. package/src/__generated__/vimeo-preview-image.props.ts +160 -24
  136. package/src/__generated__/vimeo-spinner.props.ts +124 -19
  137. package/src/__generated__/vimeo.props.ts +125 -20
  138. package/src/blockquote.ws.tsx +3 -1
  139. package/src/box.tsx +1 -0
  140. package/src/box.ws.ts +2 -0
  141. package/src/button.ws.tsx +2 -0
  142. package/src/checkbox.ws.tsx +2 -0
  143. package/src/code-text.tsx +8 -22
  144. package/src/code-text.ws.tsx +10 -7
  145. package/src/form.ws.tsx +1 -0
  146. package/src/heading.tsx +1 -0
  147. package/src/heading.ws.tsx +3 -0
  148. package/src/html-embed.ws.ts +1 -0
  149. package/src/image.ws.tsx +2 -0
  150. package/src/input.ws.tsx +2 -0
  151. package/src/label.ws.tsx +1 -1
  152. package/src/link.ws.tsx +3 -0
  153. package/src/list-item.ws.tsx +1 -0
  154. package/src/list.tsx +1 -0
  155. package/src/list.ws.tsx +1 -0
  156. package/src/paragraph.ws.tsx +2 -0
  157. package/src/radio-button.ws.tsx +2 -0
  158. package/src/separator.ws.tsx +2 -0
  159. package/src/text.tsx +2 -1
  160. package/src/text.ws.tsx +2 -0
  161. package/src/textarea.ws.tsx +2 -0
  162. package/src/vimeo.tsx +1 -1
  163. package/src/vimeo.ws.ts +2 -0
@@ -1,6 +1,11 @@
1
1
  const props = {
2
2
  about: { required: false, control: "text", type: "string" },
3
- accessKey: { required: false, control: "text", type: "string" },
3
+ accessKey: {
4
+ required: false,
5
+ control: "text",
6
+ type: "string",
7
+ description: "Keyboard shortcut to activate or add focus to the element."
8
+ },
4
9
  "aria-activedescendant": {
5
10
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
6
11
  required: false,
@@ -156,7 +161,7 @@ const props = {
156
161
  type: "string"
157
162
  },
158
163
  "aria-label": {
159
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
164
+ 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.",
160
165
  required: false,
161
166
  control: "text",
162
167
  type: "string"
@@ -332,27 +337,107 @@ const props = {
332
337
  control: "text",
333
338
  type: "string"
334
339
  },
335
- autoCapitalize: { required: false, control: "text", type: "string" },
340
+ autoCapitalize: {
341
+ required: false,
342
+ control: "text",
343
+ type: "string",
344
+ description: "Sets whether input is automatically capitalized when entered by user."
345
+ },
336
346
  autoCorrect: { required: false, control: "text", type: "string" },
337
- autoFocus: { required: false, control: "boolean", type: "boolean" },
347
+ autoFocus: {
348
+ required: false,
349
+ control: "boolean",
350
+ type: "boolean",
351
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
352
+ },
338
353
  autoSave: { required: false, control: "text", type: "string" },
339
354
  className: { required: false, control: "text", type: "string" },
340
- color: { required: false, control: "color", type: "string" },
341
- content: { required: false, control: "text", type: "string" },
342
- contextMenu: { required: false, control: "text", type: "string" },
355
+ color: {
356
+ required: false,
357
+ control: "color",
358
+ type: "string",
359
+ 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."
360
+ },
361
+ content: {
362
+ required: false,
363
+ control: "text",
364
+ type: "string",
365
+ description: "A value associated with http-equiv orname depending on the context."
366
+ },
367
+ contextMenu: {
368
+ required: false,
369
+ control: "text",
370
+ type: "string",
371
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
372
+ },
343
373
  datatype: { required: false, control: "text", type: "string" },
344
374
  defaultChecked: { required: false, control: "boolean", type: "boolean" },
345
- dir: { required: false, control: "text", type: "string" },
346
- disabled: { required: false, control: "boolean", type: "boolean" },
347
- draggable: { required: false, control: "boolean", type: "boolean" },
348
- form: { required: false, control: "text", type: "string" },
349
- formAction: { required: false, control: "text", type: "string" },
350
- formEncType: { required: false, control: "text", type: "string" },
351
- formMethod: { required: false, control: "text", type: "string" },
352
- formNoValidate: { required: false, control: "boolean", type: "boolean" },
353
- formTarget: { required: false, control: "text", type: "string" },
354
- hidden: { required: false, control: "boolean", type: "boolean" },
355
- id: { required: false, control: "text", type: "string" },
375
+ dir: {
376
+ required: false,
377
+ control: "text",
378
+ type: "string",
379
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
380
+ },
381
+ disabled: {
382
+ required: false,
383
+ control: "boolean",
384
+ type: "boolean",
385
+ description: "Indicates whether the user can interact with the element."
386
+ },
387
+ draggable: {
388
+ required: false,
389
+ control: "boolean",
390
+ type: "boolean",
391
+ description: "Defines whether the element can be dragged."
392
+ },
393
+ form: {
394
+ required: false,
395
+ control: "text",
396
+ type: "string",
397
+ description: "Indicates the form that is the owner of the element."
398
+ },
399
+ formAction: {
400
+ required: false,
401
+ control: "text",
402
+ type: "string",
403
+ description: "Indicates the action of the element, overriding the action defined inthe form."
404
+ },
405
+ formEncType: {
406
+ required: false,
407
+ control: "text",
408
+ type: "string",
409
+ 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.`
410
+ },
411
+ formMethod: {
412
+ required: false,
413
+ control: "text",
414
+ type: "string",
415
+ 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.`
416
+ },
417
+ formNoValidate: {
418
+ required: false,
419
+ control: "boolean",
420
+ type: "boolean",
421
+ 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.`
422
+ },
423
+ formTarget: {
424
+ required: false,
425
+ control: "text",
426
+ type: "string",
427
+ 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.`
428
+ },
429
+ hidden: {
430
+ required: false,
431
+ control: "boolean",
432
+ type: "boolean",
433
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
434
+ },
435
+ id: {
436
+ required: false,
437
+ control: "text",
438
+ type: "string",
439
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
440
+ },
356
441
  inputMode: {
357
442
  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",
358
443
  required: false,
@@ -380,21 +465,56 @@ const props = {
380
465
  itemRef: { required: false, control: "text", type: "string" },
381
466
  itemScope: { required: false, control: "boolean", type: "boolean" },
382
467
  itemType: { required: false, control: "text", type: "string" },
383
- lang: { required: false, control: "text", type: "string" },
384
- name: { required: false, control: "text", type: "string" },
468
+ lang: {
469
+ required: false,
470
+ control: "text",
471
+ type: "string",
472
+ description: "Defines the language used in the element."
473
+ },
474
+ name: {
475
+ required: false,
476
+ control: "text",
477
+ type: "string",
478
+ 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)."
479
+ },
385
480
  nonce: { required: false, control: "text", type: "string" },
386
- placeholder: { required: false, control: "text", type: "string" },
481
+ placeholder: {
482
+ required: false,
483
+ control: "text",
484
+ type: "string",
485
+ description: "Provides a hint to the user of what can be entered in the field."
486
+ },
387
487
  prefix: { required: false, control: "text", type: "string" },
388
488
  property: { required: false, control: "text", type: "string" },
389
489
  radioGroup: { required: false, control: "text", type: "string" },
390
- rel: { required: false, control: "text", type: "string" },
490
+ rel: {
491
+ required: false,
492
+ control: "text",
493
+ type: "string",
494
+ description: "Specifies the relationship of the target object to the link object."
495
+ },
391
496
  resource: { required: false, control: "text", type: "string" },
392
497
  results: { required: false, control: "number", type: "number" },
393
498
  rev: { required: false, control: "text", type: "string" },
394
- role: { required: false, control: "text", type: "string" },
499
+ role: {
500
+ required: false,
501
+ control: "text",
502
+ type: "string",
503
+ description: "Defines an explicit role for an element for use by assistive technologies."
504
+ },
395
505
  security: { required: false, control: "text", type: "string" },
396
- slot: { required: false, control: "text", type: "string" },
397
- spellCheck: { required: false, control: "boolean", type: "boolean" },
506
+ slot: {
507
+ required: false,
508
+ control: "text",
509
+ type: "string",
510
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
511
+ },
512
+ spellCheck: {
513
+ required: false,
514
+ control: "boolean",
515
+ type: "boolean",
516
+ description: "Indicates whether spell checking is allowed for the element."
517
+ },
398
518
  suppressContentEditableWarning: {
399
519
  required: false,
400
520
  control: "boolean",
@@ -405,19 +525,31 @@ const props = {
405
525
  control: "boolean",
406
526
  type: "boolean"
407
527
  },
408
- tabIndex: { required: false, control: "number", type: "number" },
409
- title: { required: false, control: "text", type: "string" },
528
+ tabIndex: {
529
+ required: false,
530
+ control: "number",
531
+ type: "number",
532
+ description: "Overrides the browser's default tab order and follows the one specified instead."
533
+ },
534
+ title: {
535
+ required: false,
536
+ control: "text",
537
+ type: "string",
538
+ description: "Text to be displayed in a tooltip when hovering over the element."
539
+ },
410
540
  translate: {
411
541
  required: false,
412
542
  control: "radio",
413
543
  type: "string",
414
- options: ["yes", "no"]
544
+ options: ["yes", "no"],
545
+ 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."
415
546
  },
416
547
  type: {
417
548
  required: false,
418
549
  control: "radio",
419
550
  type: "string",
420
- options: ["button", "submit", "reset"]
551
+ options: ["button", "submit", "reset"],
552
+ description: "Defines the type of the element."
421
553
  },
422
554
  typeof: { required: false, control: "text", type: "string" },
423
555
  unselectable: {
@@ -1,7 +1,17 @@
1
1
  const props = {
2
2
  about: { required: false, control: "text", type: "string" },
3
- accessKey: { required: false, control: "text", type: "string" },
4
- alt: { required: false, control: "text", type: "string" },
3
+ accessKey: {
4
+ required: false,
5
+ control: "text",
6
+ type: "string",
7
+ description: "Keyboard shortcut to activate or add focus to the element."
8
+ },
9
+ alt: {
10
+ required: false,
11
+ control: "text",
12
+ type: "string",
13
+ 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."
14
+ },
5
15
  "aria-activedescendant": {
6
16
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
7
17
  required: false,
@@ -157,7 +167,7 @@ const props = {
157
167
  type: "string"
158
168
  },
159
169
  "aria-label": {
160
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
170
+ 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.",
161
171
  required: false,
162
172
  control: "text",
163
173
  type: "string"
@@ -333,33 +343,85 @@ const props = {
333
343
  control: "text",
334
344
  type: "string"
335
345
  },
336
- autoCapitalize: { required: false, control: "text", type: "string" },
346
+ autoCapitalize: {
347
+ required: false,
348
+ control: "text",
349
+ type: "string",
350
+ description: "Sets whether input is automatically capitalized when entered by user."
351
+ },
337
352
  autoCorrect: { required: false, control: "text", type: "string" },
338
- autoFocus: { required: false, control: "boolean", type: "boolean" },
353
+ autoFocus: {
354
+ required: false,
355
+ control: "boolean",
356
+ type: "boolean",
357
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
358
+ },
339
359
  autoSave: { required: false, control: "text", type: "string" },
340
360
  className: { required: false, control: "text", type: "string" },
341
- color: { required: false, control: "color", type: "string" },
342
- content: { required: false, control: "text", type: "string" },
343
- contextMenu: { required: false, control: "text", type: "string" },
361
+ color: {
362
+ required: false,
363
+ control: "color",
364
+ type: "string",
365
+ 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."
366
+ },
367
+ content: {
368
+ required: false,
369
+ control: "text",
370
+ type: "string",
371
+ description: "A value associated with http-equiv orname depending on the context."
372
+ },
373
+ contextMenu: {
374
+ required: false,
375
+ control: "text",
376
+ type: "string",
377
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
378
+ },
344
379
  crossOrigin: {
345
380
  required: false,
346
381
  control: "radio",
347
382
  type: "string",
348
- options: ["", "anonymous", "use-credentials"]
383
+ options: ["", "anonymous", "use-credentials"],
384
+ description: "How the element handles cross-origin requests"
349
385
  },
350
386
  datatype: { required: false, control: "text", type: "string" },
351
387
  decoding: {
352
388
  required: false,
353
389
  control: "radio",
354
390
  type: "string",
355
- options: ["async", "auto", "sync"]
391
+ options: ["async", "auto", "sync"],
392
+ description: "Indicates the preferred method to decode the image."
356
393
  },
357
394
  defaultChecked: { required: false, control: "boolean", type: "boolean" },
358
- dir: { required: false, control: "text", type: "string" },
359
- draggable: { required: false, control: "boolean", type: "boolean" },
360
- height: { required: false, control: "number", type: "number" },
361
- hidden: { required: false, control: "boolean", type: "boolean" },
362
- id: { required: false, control: "text", type: "string" },
395
+ dir: {
396
+ required: false,
397
+ control: "text",
398
+ type: "string",
399
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
400
+ },
401
+ draggable: {
402
+ required: false,
403
+ control: "boolean",
404
+ type: "boolean",
405
+ description: "Defines whether the element can be dragged."
406
+ },
407
+ height: {
408
+ required: false,
409
+ control: "number",
410
+ type: "number",
411
+ description: "Defines the image\u2019s height in pixels."
412
+ },
413
+ hidden: {
414
+ required: false,
415
+ control: "boolean",
416
+ type: "boolean",
417
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
418
+ },
419
+ id: {
420
+ required: false,
421
+ control: "text",
422
+ type: "string",
423
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
424
+ },
363
425
  inputMode: {
364
426
  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",
365
427
  required: false,
@@ -387,16 +449,27 @@ const props = {
387
449
  itemRef: { required: false, control: "text", type: "string" },
388
450
  itemScope: { required: false, control: "boolean", type: "boolean" },
389
451
  itemType: { required: false, control: "text", type: "string" },
390
- lang: { required: false, control: "text", type: "string" },
452
+ lang: {
453
+ required: false,
454
+ control: "text",
455
+ type: "string",
456
+ description: "Defines the language used in the element."
457
+ },
391
458
  loading: {
392
459
  required: false,
393
460
  control: "radio",
394
461
  type: "string",
395
- options: ["eager", "lazy"]
462
+ options: ["eager", "lazy"],
463
+ 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."
396
464
  },
397
465
  nonce: { required: false, control: "text", type: "string" },
398
466
  optimize: { required: false, control: "boolean", type: "boolean" },
399
- placeholder: { required: false, control: "text", type: "string" },
467
+ placeholder: {
468
+ required: false,
469
+ control: "text",
470
+ type: "string",
471
+ description: "Provides a hint to the user of what can be entered in the field."
472
+ },
400
473
  prefix: { required: false, control: "text", type: "string" },
401
474
  property: { required: false, control: "text", type: "string" },
402
475
  quality: { required: false, control: "number", type: "number" },
@@ -415,19 +488,50 @@ const props = {
415
488
  "strict-origin",
416
489
  "strict-origin-when-cross-origin",
417
490
  "unsafe-url"
418
- ]
491
+ ],
492
+ description: "Specifies which referrer is sent when fetching the resource."
493
+ },
494
+ rel: {
495
+ required: false,
496
+ control: "text",
497
+ type: "string",
498
+ description: "Specifies the relationship of the target object to the link object."
419
499
  },
420
- rel: { required: false, control: "text", type: "string" },
421
500
  resource: { required: false, control: "text", type: "string" },
422
501
  results: { required: false, control: "number", type: "number" },
423
502
  rev: { required: false, control: "text", type: "string" },
424
- role: { required: false, control: "text", type: "string" },
503
+ role: {
504
+ required: false,
505
+ control: "text",
506
+ type: "string",
507
+ description: "Defines an explicit role for an element for use by assistive technologies."
508
+ },
425
509
  security: { required: false, control: "text", type: "string" },
426
510
  sizes: { required: false, control: "text", type: "string" },
427
- slot: { required: false, control: "text", type: "string" },
428
- spellCheck: { required: false, control: "boolean", type: "boolean" },
429
- src: { required: false, control: "text", type: "string" },
430
- srcSet: { required: false, control: "text", type: "string" },
511
+ slot: {
512
+ required: false,
513
+ control: "text",
514
+ type: "string",
515
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
516
+ },
517
+ spellCheck: {
518
+ required: false,
519
+ control: "boolean",
520
+ type: "boolean",
521
+ description: "Indicates whether spell checking is allowed for the element."
522
+ },
523
+ src: {
524
+ required: false,
525
+ control: "text",
526
+ type: "string",
527
+ description: "The URL of the embeddable content."
528
+ },
529
+ srcSet: {
530
+ required: false,
531
+ control: "text",
532
+ type: "string",
533
+ description: "One or more responsive image candidates."
534
+ },
431
535
  suppressContentEditableWarning: {
432
536
  required: false,
433
537
  control: "boolean",
@@ -438,13 +542,24 @@ const props = {
438
542
  control: "boolean",
439
543
  type: "boolean"
440
544
  },
441
- tabIndex: { required: false, control: "number", type: "number" },
442
- title: { required: false, control: "text", type: "string" },
545
+ tabIndex: {
546
+ required: false,
547
+ control: "number",
548
+ type: "number",
549
+ description: "Overrides the browser's default tab order and follows the one specified instead."
550
+ },
551
+ title: {
552
+ required: false,
553
+ control: "text",
554
+ type: "string",
555
+ description: "Text to be displayed in a tooltip when hovering over the element."
556
+ },
443
557
  translate: {
444
558
  required: false,
445
559
  control: "radio",
446
560
  type: "string",
447
- options: ["yes", "no"]
561
+ options: ["yes", "no"],
562
+ 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."
448
563
  },
449
564
  typeof: { required: false, control: "text", type: "string" },
450
565
  unselectable: {
@@ -455,7 +570,12 @@ const props = {
455
570
  },
456
571
  useMap: { required: false, control: "text", type: "string" },
457
572
  vocab: { required: false, control: "text", type: "string" },
458
- width: { required: false, control: "number", type: "number" }
573
+ width: {
574
+ required: false,
575
+ control: "number",
576
+ type: "number",
577
+ description: "Defines the image\u2019s width in pixels."
578
+ }
459
579
  };
460
580
  export {
461
581
  props