@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,20 +337,65 @@ 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
- draggable: { required: false, control: "boolean", type: "boolean" },
347
- hidden: { required: false, control: "boolean", type: "boolean" },
348
- 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
+ draggable: {
382
+ required: false,
383
+ control: "boolean",
384
+ type: "boolean",
385
+ description: "Defines whether the element can be dragged."
386
+ },
387
+ hidden: {
388
+ required: false,
389
+ control: "boolean",
390
+ type: "boolean",
391
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
392
+ },
393
+ id: {
394
+ required: false,
395
+ control: "text",
396
+ type: "string",
397
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
398
+ },
349
399
  inputMode: {
350
400
  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",
351
401
  required: false,
@@ -373,20 +423,50 @@ const props = {
373
423
  itemRef: { required: false, control: "text", type: "string" },
374
424
  itemScope: { required: false, control: "boolean", type: "boolean" },
375
425
  itemType: { required: false, control: "text", type: "string" },
376
- lang: { required: false, control: "text", type: "string" },
426
+ lang: {
427
+ required: false,
428
+ control: "text",
429
+ type: "string",
430
+ description: "Defines the language used in the element."
431
+ },
377
432
  nonce: { required: false, control: "text", type: "string" },
378
- placeholder: { required: false, control: "text", type: "string" },
433
+ placeholder: {
434
+ required: false,
435
+ control: "text",
436
+ type: "string",
437
+ description: "Provides a hint to the user of what can be entered in the field."
438
+ },
379
439
  prefix: { required: false, control: "text", type: "string" },
380
440
  property: { required: false, control: "text", type: "string" },
381
441
  radioGroup: { required: false, control: "text", type: "string" },
382
- rel: { required: false, control: "text", type: "string" },
442
+ rel: {
443
+ required: false,
444
+ control: "text",
445
+ type: "string",
446
+ description: "Specifies the relationship of the target object to the link object."
447
+ },
383
448
  resource: { required: false, control: "text", type: "string" },
384
449
  results: { required: false, control: "number", type: "number" },
385
450
  rev: { required: false, control: "text", type: "string" },
386
- role: { required: false, control: "text", type: "string" },
451
+ role: {
452
+ required: false,
453
+ control: "text",
454
+ type: "string",
455
+ description: "Defines an explicit role for an element for use by assistive technologies."
456
+ },
387
457
  security: { required: false, control: "text", type: "string" },
388
- slot: { required: false, control: "text", type: "string" },
389
- spellCheck: { required: false, control: "boolean", type: "boolean" },
458
+ slot: {
459
+ required: false,
460
+ control: "text",
461
+ type: "string",
462
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
463
+ },
464
+ spellCheck: {
465
+ required: false,
466
+ control: "boolean",
467
+ type: "boolean",
468
+ description: "Indicates whether spell checking is allowed for the element."
469
+ },
390
470
  suppressContentEditableWarning: {
391
471
  required: false,
392
472
  control: "boolean",
@@ -397,13 +477,24 @@ const props = {
397
477
  control: "boolean",
398
478
  type: "boolean"
399
479
  },
400
- tabIndex: { required: false, control: "number", type: "number" },
401
- title: { required: false, control: "text", type: "string" },
480
+ tabIndex: {
481
+ required: false,
482
+ control: "number",
483
+ type: "number",
484
+ description: "Overrides the browser's default tab order and follows the one specified instead."
485
+ },
486
+ title: {
487
+ required: false,
488
+ control: "text",
489
+ type: "string",
490
+ description: "Text to be displayed in a tooltip when hovering over the element."
491
+ },
402
492
  translate: {
403
493
  required: false,
404
494
  control: "radio",
405
495
  type: "string",
406
- options: ["yes", "no"]
496
+ options: ["yes", "no"],
497
+ 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."
407
498
  },
408
499
  typeof: { required: false, control: "text", type: "string" },
409
500
  unselectable: {
@@ -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,22 +337,77 @@ 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
- draggable: { required: false, control: "boolean", type: "boolean" },
347
- form: { required: false, control: "text", type: "string" },
348
- hidden: { required: false, control: "boolean", type: "boolean" },
349
- htmlFor: { required: false, control: "text", type: "string" },
350
- 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
+ draggable: {
382
+ required: false,
383
+ control: "boolean",
384
+ type: "boolean",
385
+ description: "Defines whether the element can be dragged."
386
+ },
387
+ form: {
388
+ required: false,
389
+ control: "text",
390
+ type: "string",
391
+ description: "Indicates the form that is the owner of the element."
392
+ },
393
+ hidden: {
394
+ required: false,
395
+ control: "boolean",
396
+ type: "boolean",
397
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
398
+ },
399
+ htmlFor: {
400
+ required: false,
401
+ control: "text",
402
+ type: "string",
403
+ description: "Associates this Label with an Input. The value of the \u201CFor\u201D attribute should match the ID attribute of the corresponding Input element"
404
+ },
405
+ id: {
406
+ required: false,
407
+ control: "text",
408
+ type: "string",
409
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
410
+ },
351
411
  inputMode: {
352
412
  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",
353
413
  required: false,
@@ -375,20 +435,50 @@ const props = {
375
435
  itemRef: { required: false, control: "text", type: "string" },
376
436
  itemScope: { required: false, control: "boolean", type: "boolean" },
377
437
  itemType: { required: false, control: "text", type: "string" },
378
- lang: { required: false, control: "text", type: "string" },
438
+ lang: {
439
+ required: false,
440
+ control: "text",
441
+ type: "string",
442
+ description: "Defines the language used in the element."
443
+ },
379
444
  nonce: { required: false, control: "text", type: "string" },
380
- placeholder: { required: false, control: "text", type: "string" },
445
+ placeholder: {
446
+ required: false,
447
+ control: "text",
448
+ type: "string",
449
+ description: "Provides a hint to the user of what can be entered in the field."
450
+ },
381
451
  prefix: { required: false, control: "text", type: "string" },
382
452
  property: { required: false, control: "text", type: "string" },
383
453
  radioGroup: { required: false, control: "text", type: "string" },
384
- rel: { required: false, control: "text", type: "string" },
454
+ rel: {
455
+ required: false,
456
+ control: "text",
457
+ type: "string",
458
+ description: "Specifies the relationship of the target object to the link object."
459
+ },
385
460
  resource: { required: false, control: "text", type: "string" },
386
461
  results: { required: false, control: "number", type: "number" },
387
462
  rev: { required: false, control: "text", type: "string" },
388
- role: { required: false, control: "text", type: "string" },
463
+ role: {
464
+ required: false,
465
+ control: "text",
466
+ type: "string",
467
+ description: "Defines an explicit role for an element for use by assistive technologies."
468
+ },
389
469
  security: { required: false, control: "text", type: "string" },
390
- slot: { required: false, control: "text", type: "string" },
391
- spellCheck: { required: false, control: "boolean", type: "boolean" },
470
+ slot: {
471
+ required: false,
472
+ control: "text",
473
+ type: "string",
474
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
475
+ },
476
+ spellCheck: {
477
+ required: false,
478
+ control: "boolean",
479
+ type: "boolean",
480
+ description: "Indicates whether spell checking is allowed for the element."
481
+ },
392
482
  suppressContentEditableWarning: {
393
483
  required: false,
394
484
  control: "boolean",
@@ -399,13 +489,24 @@ const props = {
399
489
  control: "boolean",
400
490
  type: "boolean"
401
491
  },
402
- tabIndex: { required: false, control: "number", type: "number" },
403
- title: { required: false, control: "text", type: "string" },
492
+ tabIndex: {
493
+ required: false,
494
+ control: "number",
495
+ type: "number",
496
+ description: "Overrides the browser's default tab order and follows the one specified instead."
497
+ },
498
+ title: {
499
+ required: false,
500
+ control: "text",
501
+ type: "string",
502
+ description: "Text to be displayed in a tooltip when hovering over the element."
503
+ },
404
504
  translate: {
405
505
  required: false,
406
506
  control: "radio",
407
507
  type: "string",
408
- options: ["yes", "no"]
508
+ options: ["yes", "no"],
509
+ 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."
409
510
  },
410
511
  typeof: { required: false, control: "text", type: "string" },
411
512
  unselectable: {
@@ -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,22 +337,77 @@ 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
- draggable: { required: false, control: "boolean", type: "boolean" },
347
- hidden: { required: false, control: "boolean", type: "boolean" },
348
- href: { required: false, control: "text", type: "string" },
349
- hrefLang: { required: false, control: "text", type: "string" },
350
- 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
+ draggable: {
382
+ required: false,
383
+ control: "boolean",
384
+ type: "boolean",
385
+ description: "Defines whether the element can be dragged."
386
+ },
387
+ hidden: {
388
+ required: false,
389
+ control: "boolean",
390
+ type: "boolean",
391
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
392
+ },
393
+ href: {
394
+ required: false,
395
+ control: "text",
396
+ type: "string",
397
+ description: "The URL of a linked resource."
398
+ },
399
+ hrefLang: {
400
+ required: false,
401
+ control: "text",
402
+ type: "string",
403
+ description: "Specifies the language of the linked resource."
404
+ },
405
+ id: {
406
+ required: false,
407
+ control: "text",
408
+ type: "string",
409
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
410
+ },
351
411
  inputMode: {
352
412
  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",
353
413
  required: false,
@@ -375,11 +435,31 @@ const props = {
375
435
  itemRef: { required: false, control: "text", type: "string" },
376
436
  itemScope: { required: false, control: "boolean", type: "boolean" },
377
437
  itemType: { required: false, control: "text", type: "string" },
378
- lang: { required: false, control: "text", type: "string" },
379
- media: { required: false, control: "text", type: "string" },
438
+ lang: {
439
+ required: false,
440
+ control: "text",
441
+ type: "string",
442
+ description: "Defines the language used in the element."
443
+ },
444
+ media: {
445
+ required: false,
446
+ control: "text",
447
+ type: "string",
448
+ description: "Specifies a hint of the media for which the linked resource was designed."
449
+ },
380
450
  nonce: { required: false, control: "text", type: "string" },
381
- ping: { required: false, control: "text", type: "string" },
382
- placeholder: { required: false, control: "text", type: "string" },
451
+ ping: {
452
+ required: false,
453
+ control: "text",
454
+ type: "string",
455
+ description: "The ping attribute specifies a space-separated list of URLs to be notified if a user follows the hyperlink."
456
+ },
457
+ placeholder: {
458
+ required: false,
459
+ control: "text",
460
+ type: "string",
461
+ description: "Provides a hint to the user of what can be entered in the field."
462
+ },
383
463
  prefix: { required: false, control: "text", type: "string" },
384
464
  property: { required: false, control: "text", type: "string" },
385
465
  radioGroup: { required: false, control: "text", type: "string" },
@@ -397,16 +477,37 @@ const props = {
397
477
  "strict-origin",
398
478
  "strict-origin-when-cross-origin",
399
479
  "unsafe-url"
400
- ]
480
+ ],
481
+ description: "Specifies which referrer is sent when fetching the resource."
482
+ },
483
+ rel: {
484
+ required: false,
485
+ control: "text",
486
+ type: "string",
487
+ description: "Specifies the relationship of the target object to the link object."
401
488
  },
402
- rel: { required: false, control: "text", type: "string" },
403
489
  resource: { required: false, control: "text", type: "string" },
404
490
  results: { required: false, control: "number", type: "number" },
405
491
  rev: { required: false, control: "text", type: "string" },
406
- role: { required: false, control: "text", type: "string" },
492
+ role: {
493
+ required: false,
494
+ control: "text",
495
+ type: "string",
496
+ description: "Defines an explicit role for an element for use by assistive technologies."
497
+ },
407
498
  security: { required: false, control: "text", type: "string" },
408
- slot: { required: false, control: "text", type: "string" },
409
- spellCheck: { required: false, control: "boolean", type: "boolean" },
499
+ slot: {
500
+ required: false,
501
+ control: "text",
502
+ type: "string",
503
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
504
+ },
505
+ spellCheck: {
506
+ required: false,
507
+ control: "boolean",
508
+ type: "boolean",
509
+ description: "Indicates whether spell checking is allowed for the element."
510
+ },
410
511
  suppressContentEditableWarning: {
411
512
  required: false,
412
513
  control: "boolean",
@@ -417,21 +518,38 @@ const props = {
417
518
  control: "boolean",
418
519
  type: "boolean"
419
520
  },
420
- tabIndex: { required: false, control: "number", type: "number" },
521
+ tabIndex: {
522
+ required: false,
523
+ control: "number",
524
+ type: "number",
525
+ description: "Overrides the browser's default tab order and follows the one specified instead."
526
+ },
421
527
  target: {
422
528
  required: false,
423
529
  control: "select",
424
530
  type: "string",
425
- options: ["_self", "_blank", "_parent", "_top"]
531
+ options: ["_self", "_blank", "_parent", "_top"],
532
+ description: "Specifies where to open the linked document (in the case of an <a> element) or where to display the response received (in the case of a <form> element)"
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."
426
539
  },
427
- title: { required: false, control: "text", type: "string" },
428
540
  translate: {
429
541
  required: false,
430
542
  control: "radio",
431
543
  type: "string",
432
- 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."
546
+ },
547
+ type: {
548
+ required: false,
549
+ control: "text",
550
+ type: "string",
551
+ description: "Defines the type of the element."
433
552
  },
434
- type: { required: false, control: "text", type: "string" },
435
553
  typeof: { required: false, control: "text", type: "string" },
436
554
  unselectable: {
437
555
  required: false,