@webstudio-is/sdk-components-react-radix 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 (192) hide show
  1. package/lib/__generated__/accordion.props.js +605 -114
  2. package/lib/__generated__/button.props.js +158 -47
  3. package/lib/__generated__/checkbox.props.js +1083 -0
  4. package/lib/__generated__/collapsible.props.js +234 -44
  5. package/lib/__generated__/dialog.props.js +611 -121
  6. package/lib/__generated__/input.props.js +264 -47
  7. package/lib/__generated__/label.props.js +123 -23
  8. package/lib/__generated__/navigation-menu.props.js +2565 -0
  9. package/lib/__generated__/popover.props.js +129 -28
  10. package/lib/__generated__/radio-group.props.js +1627 -0
  11. package/lib/__generated__/select.props.js +3678 -0
  12. package/lib/__generated__/sheet.props.js +591 -121
  13. package/lib/__generated__/switch.props.js +1083 -0
  14. package/lib/__generated__/tabs.props.js +906 -68
  15. package/lib/__generated__/textarea.props.js +177 -31
  16. package/lib/__generated__/tooltip.props.js +131 -29
  17. package/lib/accordion.js +11 -4
  18. package/lib/accordion.ws.js +88 -72
  19. package/lib/checkbox.js +13 -0
  20. package/lib/checkbox.ws.js +153 -0
  21. package/lib/cjs/__generated__/accordion.props.js +605 -114
  22. package/lib/cjs/__generated__/button.props.js +158 -47
  23. package/lib/cjs/__generated__/checkbox.props.js +1103 -0
  24. package/lib/cjs/__generated__/collapsible.props.js +234 -44
  25. package/lib/cjs/__generated__/dialog.props.js +611 -121
  26. package/lib/cjs/__generated__/input.props.js +264 -47
  27. package/lib/cjs/__generated__/label.props.js +123 -23
  28. package/lib/cjs/__generated__/navigation-menu.props.js +2585 -0
  29. package/lib/cjs/__generated__/popover.props.js +129 -28
  30. package/lib/cjs/__generated__/radio-group.props.js +1647 -0
  31. package/lib/cjs/__generated__/select.props.js +3698 -0
  32. package/lib/cjs/__generated__/sheet.props.js +591 -121
  33. package/lib/cjs/__generated__/switch.props.js +1103 -0
  34. package/lib/cjs/__generated__/tabs.props.js +906 -68
  35. package/lib/cjs/__generated__/textarea.props.js +177 -31
  36. package/lib/cjs/__generated__/tooltip.props.js +131 -29
  37. package/lib/cjs/accordion.js +11 -4
  38. package/lib/cjs/accordion.ws.js +86 -71
  39. package/lib/cjs/{textarea.js → checkbox.js} +9 -6
  40. package/lib/cjs/checkbox.ws.js +174 -0
  41. package/lib/cjs/collapsible.ws.js +5 -1
  42. package/lib/cjs/components.js +27 -14
  43. package/lib/cjs/dialog.ws.js +18 -17
  44. package/lib/cjs/hooks.js +5 -1
  45. package/lib/cjs/label.ws.js +2 -1
  46. package/lib/cjs/metas.js +29 -14
  47. package/lib/cjs/navigation-menu.js +107 -0
  48. package/lib/cjs/navigation-menu.ws.js +514 -0
  49. package/lib/cjs/popover.ws.js +13 -9
  50. package/lib/cjs/props-descriptions.js +56 -0
  51. package/lib/cjs/props.js +27 -14
  52. package/lib/cjs/{button.js → radio-group.js} +10 -8
  53. package/lib/cjs/radio-group.ws.js +191 -0
  54. package/lib/cjs/select.js +83 -0
  55. package/lib/cjs/select.ws.js +350 -0
  56. package/lib/cjs/sheet.ws.js +88 -176
  57. package/lib/cjs/{input.js → switch.js} +8 -9
  58. package/lib/cjs/switch.ws.js +173 -0
  59. package/lib/cjs/tabs.js +2 -3
  60. package/lib/cjs/tabs.ws.js +14 -18
  61. package/lib/cjs/theme/styles.js +100 -0
  62. package/lib/cjs/theme/tailwind-classes.js +125 -16
  63. package/lib/cjs/theme/tailwind-colors.js +1 -0
  64. package/lib/cjs/tooltip.ws.js +12 -8
  65. package/lib/collapsible.ws.js +5 -1
  66. package/lib/components.js +44 -22
  67. package/lib/dialog.ws.js +18 -17
  68. package/lib/hooks.js +5 -1
  69. package/lib/label.ws.js +2 -1
  70. package/lib/metas.js +58 -24
  71. package/lib/navigation-menu.js +85 -0
  72. package/lib/navigation-menu.ws.js +501 -0
  73. package/lib/popover.ws.js +13 -9
  74. package/lib/props-descriptions.js +36 -0
  75. package/lib/props.js +56 -24
  76. package/lib/radio-group.js +11 -0
  77. package/lib/radio-group.ws.js +173 -0
  78. package/lib/select.js +75 -0
  79. package/lib/select.ws.js +338 -0
  80. package/lib/sheet.ws.js +89 -194
  81. package/lib/switch.js +7 -0
  82. package/lib/switch.ws.js +145 -0
  83. package/lib/tabs.js +3 -5
  84. package/lib/tabs.ws.js +15 -19
  85. package/lib/theme/styles.js +70 -0
  86. package/lib/theme/tailwind-classes.js +125 -16
  87. package/lib/theme/tailwind-colors.js +1 -0
  88. package/lib/tooltip.ws.js +12 -8
  89. package/lib/types/__generated__/checkbox.props.d.ts +3 -0
  90. package/lib/types/__generated__/navigation-menu.props.d.ts +8 -0
  91. package/lib/types/__generated__/radio-group.props.d.ts +4 -0
  92. package/lib/types/__generated__/select.props.d.ts +9 -0
  93. package/lib/types/__generated__/switch.props.d.ts +3 -0
  94. package/lib/types/checkbox.d.ts +6 -0
  95. package/lib/types/checkbox.stories.d.ts +11 -0
  96. package/lib/types/checkbox.ws.d.ts +5 -0
  97. package/lib/types/components.d.ts +5 -4
  98. package/lib/types/metas.d.ts +6 -4
  99. package/lib/types/navigation-menu.d.ts +15 -0
  100. package/lib/types/navigation-menu.ws.d.ts +15 -0
  101. package/lib/types/props-descriptions.d.ts +29 -0
  102. package/lib/types/props.d.ts +5 -4
  103. package/lib/types/radio-group.d.ts +5 -0
  104. package/lib/types/radio-group.stories.d.ts +9 -0
  105. package/lib/types/radio-group.ws.d.ts +7 -0
  106. package/lib/types/select.d.ts +14 -0
  107. package/lib/types/select.ws.d.ts +17 -0
  108. package/lib/types/sheet.ws.d.ts +2 -15
  109. package/lib/types/switch.d.ts +4 -0
  110. package/lib/types/switch.stories.d.ts +9 -0
  111. package/lib/types/switch.ws.d.ts +5 -0
  112. package/lib/types/tabs.d.ts +3 -12
  113. package/lib/types/theme/radix-common-types.d.ts +3 -2
  114. package/lib/types/theme/styles.d.ts +215 -0
  115. package/lib/types/theme/tailwind-classes.d.ts +16 -6
  116. package/lib/types/theme/tailwind-colors.d.ts +1 -0
  117. package/lib/types/theme/tailwind-theme.d.ts +1 -1
  118. package/package.json +12 -7
  119. package/src/__generated__/accordion.props.ts +675 -108
  120. package/src/__generated__/button.props.ts +177 -45
  121. package/src/__generated__/checkbox.props.ts +1217 -0
  122. package/src/__generated__/collapsible.props.ts +261 -42
  123. package/src/__generated__/dialog.props.ts +682 -115
  124. package/src/__generated__/input.props.ts +292 -44
  125. package/src/__generated__/label.props.ts +137 -22
  126. package/src/__generated__/navigation-menu.props.ts +2882 -0
  127. package/src/__generated__/popover.props.ts +142 -24
  128. package/src/__generated__/radio-group.props.ts +1828 -0
  129. package/src/__generated__/select.props.ts +4130 -0
  130. package/src/__generated__/sheet.props.ts +657 -110
  131. package/src/__generated__/switch.props.ts +1217 -0
  132. package/src/__generated__/tabs.props.ts +1019 -67
  133. package/src/__generated__/textarea.props.ts +195 -30
  134. package/src/__generated__/tooltip.props.ts +145 -25
  135. package/src/accordion.tsx +14 -7
  136. package/src/accordion.ws.ts +87 -70
  137. package/src/{textarea.stories.ts → checkbox.stories.ts} +6 -11
  138. package/src/checkbox.tsx +22 -0
  139. package/src/checkbox.ws.ts +154 -0
  140. package/src/collapsible.ws.ts +6 -1
  141. package/src/components.ts +25 -12
  142. package/src/dialog.ws.tsx +17 -16
  143. package/src/hooks.ts +4 -0
  144. package/src/label.ws.ts +3 -1
  145. package/src/metas.ts +36 -12
  146. package/src/navigation-menu.stories.tsx +21 -0
  147. package/src/navigation-menu.tsx +130 -0
  148. package/src/navigation-menu.ws.ts +524 -0
  149. package/src/popover.ws.tsx +13 -9
  150. package/src/props-descriptions.ts +43 -0
  151. package/src/props.ts +35 -12
  152. package/src/{input.stories.ts → radio-group.stories.ts} +6 -15
  153. package/src/radio-group.tsx +17 -0
  154. package/src/radio-group.ws.ts +178 -0
  155. package/src/select.stories.tsx +21 -0
  156. package/src/select.tsx +112 -0
  157. package/src/select.ws.ts +349 -0
  158. package/src/sheet.ws.tsx +91 -209
  159. package/src/{button.stories.ts → switch.stories.ts} +6 -19
  160. package/src/switch.tsx +10 -0
  161. package/src/switch.ws.ts +146 -0
  162. package/src/tabs.tsx +4 -17
  163. package/src/tabs.ws.ts +19 -19
  164. package/src/theme/radix-common-types.ts +3 -2
  165. package/src/theme/styles.ts +80 -0
  166. package/src/theme/tailwind-classes.ts +150 -14
  167. package/src/theme/tailwind-colors.ts +1 -0
  168. package/src/tooltip.ws.tsx +13 -8
  169. package/lib/button.js +0 -8
  170. package/lib/button.ws.js +0 -133
  171. package/lib/cjs/button.ws.js +0 -160
  172. package/lib/cjs/input.ws.js +0 -103
  173. package/lib/cjs/textarea.ws.js +0 -98
  174. package/lib/input.js +0 -8
  175. package/lib/input.ws.js +0 -75
  176. package/lib/textarea.js +0 -8
  177. package/lib/textarea.ws.js +0 -70
  178. package/lib/types/button.d.ts +0 -7
  179. package/lib/types/button.stories.d.ts +0 -20
  180. package/lib/types/button.ws.d.ts +0 -7
  181. package/lib/types/input.d.ts +0 -2
  182. package/lib/types/input.stories.d.ts +0 -20
  183. package/lib/types/input.ws.d.ts +0 -3
  184. package/lib/types/textarea.d.ts +0 -2
  185. package/lib/types/textarea.stories.d.ts +0 -14
  186. package/lib/types/textarea.ws.d.ts +0 -3
  187. package/src/button.tsx +0 -25
  188. package/src/button.ws.ts +0 -155
  189. package/src/input.tsx +0 -12
  190. package/src/input.ws.ts +0 -78
  191. package/src/textarea.tsx +0 -12
  192. package/src/textarea.ws.ts +0 -74
@@ -26,7 +26,12 @@ __export(tabs_props_exports, {
26
26
  module.exports = __toCommonJS(tabs_props_exports);
27
27
  const propsTabs = {
28
28
  about: { required: false, control: "text", type: "string" },
29
- accessKey: { required: false, control: "text", type: "string" },
29
+ accessKey: {
30
+ required: false,
31
+ control: "text",
32
+ type: "string",
33
+ description: "Keyboard shortcut to activate or add focus to the element."
34
+ },
30
35
  activationMode: {
31
36
  description: "Whether a tab is activated automatically or manually.\n@defaultValue automatic",
32
37
  required: false,
@@ -189,7 +194,7 @@ const propsTabs = {
189
194
  type: "string"
190
195
  },
191
196
  "aria-label": {
192
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
197
+ 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.",
193
198
  required: false,
194
199
  control: "text",
195
200
  type: "string"
@@ -365,16 +370,40 @@ const propsTabs = {
365
370
  control: "text",
366
371
  type: "string"
367
372
  },
368
- autoCapitalize: { required: false, control: "text", type: "string" },
373
+ autoCapitalize: {
374
+ required: false,
375
+ control: "text",
376
+ type: "string",
377
+ description: "Sets whether input is automatically capitalized when entered by user."
378
+ },
369
379
  autoCorrect: { required: false, control: "text", type: "string" },
370
- autoFocus: { required: false, control: "boolean", type: "boolean" },
380
+ autoFocus: {
381
+ required: false,
382
+ control: "boolean",
383
+ type: "boolean",
384
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
385
+ },
371
386
  autoSave: { required: false, control: "text", type: "string" },
372
387
  className: { required: false, control: "text", type: "string" },
373
- color: { required: false, control: "color", type: "string" },
374
- content: { required: false, control: "text", type: "string" },
375
- contextMenu: { required: false, control: "text", type: "string" },
388
+ color: {
389
+ required: false,
390
+ control: "color",
391
+ type: "string",
392
+ 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."
393
+ },
394
+ content: {
395
+ required: false,
396
+ control: "text",
397
+ type: "string",
398
+ description: "A value associated with http-equiv orname depending on the context."
399
+ },
400
+ contextMenu: {
401
+ required: false,
402
+ control: "text",
403
+ type: "string",
404
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
405
+ },
376
406
  datatype: { required: false, control: "text", type: "string" },
377
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
378
407
  dir: {
379
408
  description: "The direction of navigation between toolbar items.",
380
409
  required: false,
@@ -382,9 +411,24 @@ const propsTabs = {
382
411
  type: "string",
383
412
  options: ["ltr", "rtl"]
384
413
  },
385
- draggable: { required: false, control: "boolean", type: "boolean" },
386
- hidden: { required: false, control: "boolean", type: "boolean" },
387
- id: { required: false, control: "text", type: "string" },
414
+ draggable: {
415
+ required: false,
416
+ control: "boolean",
417
+ type: "boolean",
418
+ description: "Defines whether the element can be dragged."
419
+ },
420
+ hidden: {
421
+ required: false,
422
+ control: "boolean",
423
+ type: "boolean",
424
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
425
+ },
426
+ id: {
427
+ required: false,
428
+ control: "text",
429
+ type: "string",
430
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
431
+ },
388
432
  inputMode: {
389
433
  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",
390
434
  required: false,
@@ -412,7 +456,12 @@ const propsTabs = {
412
456
  itemRef: { required: false, control: "text", type: "string" },
413
457
  itemScope: { required: false, control: "boolean", type: "boolean" },
414
458
  itemType: { required: false, control: "text", type: "string" },
415
- lang: { required: false, control: "text", type: "string" },
459
+ lang: {
460
+ required: false,
461
+ control: "text",
462
+ type: "string",
463
+ description: "Defines the language used in the element."
464
+ },
416
465
  nonce: { required: false, control: "text", type: "string" },
417
466
  orientation: {
418
467
  description: "The orientation the tabs are layed out.\nMainly so arrow navigation is done accordingly (left & right vs. up & down)\n@defaultValue horizontal",
@@ -421,18 +470,43 @@ const propsTabs = {
421
470
  type: "string",
422
471
  options: ["horizontal", "vertical"]
423
472
  },
424
- placeholder: { required: false, control: "text", type: "string" },
473
+ placeholder: {
474
+ required: false,
475
+ control: "text",
476
+ type: "string",
477
+ description: "Provides a hint to the user of what can be entered in the field."
478
+ },
425
479
  prefix: { required: false, control: "text", type: "string" },
426
480
  property: { required: false, control: "text", type: "string" },
427
481
  radioGroup: { required: false, control: "text", type: "string" },
428
- rel: { required: false, control: "text", type: "string" },
482
+ rel: {
483
+ required: false,
484
+ control: "text",
485
+ type: "string",
486
+ description: "Specifies the relationship of the target object to the link object."
487
+ },
429
488
  resource: { required: false, control: "text", type: "string" },
430
489
  results: { required: false, control: "number", type: "number" },
431
490
  rev: { required: false, control: "text", type: "string" },
432
- role: { required: false, control: "text", type: "string" },
491
+ role: {
492
+ required: false,
493
+ control: "text",
494
+ type: "string",
495
+ description: "Defines an explicit role for an element for use by assistive technologies."
496
+ },
433
497
  security: { required: false, control: "text", type: "string" },
434
- slot: { required: false, control: "text", type: "string" },
435
- spellCheck: { required: false, control: "boolean", type: "boolean" },
498
+ slot: {
499
+ required: false,
500
+ control: "text",
501
+ type: "string",
502
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
503
+ },
504
+ spellCheck: {
505
+ required: false,
506
+ control: "boolean",
507
+ type: "boolean",
508
+ description: "Indicates whether spell checking is allowed for the element."
509
+ },
436
510
  suppressContentEditableWarning: {
437
511
  required: false,
438
512
  control: "boolean",
@@ -443,13 +517,24 @@ const propsTabs = {
443
517
  control: "boolean",
444
518
  type: "boolean"
445
519
  },
446
- tabIndex: { required: false, control: "number", type: "number" },
447
- title: { required: false, control: "text", type: "string" },
520
+ tabIndex: {
521
+ required: false,
522
+ control: "number",
523
+ type: "number",
524
+ description: "Overrides the browser's default tab order and follows the one specified instead."
525
+ },
526
+ title: {
527
+ required: false,
528
+ control: "text",
529
+ type: "string",
530
+ description: "Text to be displayed in a tooltip when hovering over the element."
531
+ },
448
532
  translate: {
449
533
  required: false,
450
534
  control: "radio",
451
535
  type: "string",
452
- options: ["yes", "no"]
536
+ options: ["yes", "no"],
537
+ 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."
453
538
  },
454
539
  typeof: { required: false, control: "text", type: "string" },
455
540
  unselectable: {
@@ -468,7 +553,12 @@ const propsTabs = {
468
553
  };
469
554
  const propsTabsList = {
470
555
  about: { required: false, control: "text", type: "string" },
471
- accessKey: { required: false, control: "text", type: "string" },
556
+ accessKey: {
557
+ required: false,
558
+ control: "text",
559
+ type: "string",
560
+ description: "Keyboard shortcut to activate or add focus to the element."
561
+ },
472
562
  "aria-activedescendant": {
473
563
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
474
564
  required: false,
@@ -624,7 +714,7 @@ const propsTabsList = {
624
714
  type: "string"
625
715
  },
626
716
  "aria-label": {
627
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
717
+ 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.",
628
718
  required: false,
629
719
  control: "text",
630
720
  type: "string"
@@ -800,21 +890,64 @@ const propsTabsList = {
800
890
  control: "text",
801
891
  type: "string"
802
892
  },
803
- asChild: { required: false, control: "boolean", type: "boolean" },
804
- autoCapitalize: { required: false, control: "text", type: "string" },
893
+ autoCapitalize: {
894
+ required: false,
895
+ control: "text",
896
+ type: "string",
897
+ description: "Sets whether input is automatically capitalized when entered by user."
898
+ },
805
899
  autoCorrect: { required: false, control: "text", type: "string" },
806
- autoFocus: { required: false, control: "boolean", type: "boolean" },
900
+ autoFocus: {
901
+ required: false,
902
+ control: "boolean",
903
+ type: "boolean",
904
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
905
+ },
807
906
  autoSave: { required: false, control: "text", type: "string" },
808
907
  className: { required: false, control: "text", type: "string" },
809
- color: { required: false, control: "color", type: "string" },
810
- content: { required: false, control: "text", type: "string" },
811
- contextMenu: { required: false, control: "text", type: "string" },
908
+ color: {
909
+ required: false,
910
+ control: "color",
911
+ type: "string",
912
+ 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."
913
+ },
914
+ content: {
915
+ required: false,
916
+ control: "text",
917
+ type: "string",
918
+ description: "A value associated with http-equiv orname depending on the context."
919
+ },
920
+ contextMenu: {
921
+ required: false,
922
+ control: "text",
923
+ type: "string",
924
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
925
+ },
812
926
  datatype: { required: false, control: "text", type: "string" },
813
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
814
- dir: { required: false, control: "text", type: "string" },
815
- draggable: { required: false, control: "boolean", type: "boolean" },
816
- hidden: { required: false, control: "boolean", type: "boolean" },
817
- id: { required: false, control: "text", type: "string" },
927
+ dir: {
928
+ required: false,
929
+ control: "text",
930
+ type: "string",
931
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
932
+ },
933
+ draggable: {
934
+ required: false,
935
+ control: "boolean",
936
+ type: "boolean",
937
+ description: "Defines whether the element can be dragged."
938
+ },
939
+ hidden: {
940
+ required: false,
941
+ control: "boolean",
942
+ type: "boolean",
943
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
944
+ },
945
+ id: {
946
+ required: false,
947
+ control: "text",
948
+ type: "string",
949
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
950
+ },
818
951
  inputMode: {
819
952
  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",
820
953
  required: false,
@@ -842,21 +975,56 @@ const propsTabsList = {
842
975
  itemRef: { required: false, control: "text", type: "string" },
843
976
  itemScope: { required: false, control: "boolean", type: "boolean" },
844
977
  itemType: { required: false, control: "text", type: "string" },
845
- lang: { required: false, control: "text", type: "string" },
846
- loop: { required: false, control: "boolean", type: "boolean" },
978
+ lang: {
979
+ required: false,
980
+ control: "text",
981
+ type: "string",
982
+ description: "Defines the language used in the element."
983
+ },
984
+ loop: {
985
+ required: false,
986
+ control: "boolean",
987
+ type: "boolean",
988
+ description: "Indicates whether the media should start playing from the start when it's finished."
989
+ },
847
990
  nonce: { required: false, control: "text", type: "string" },
848
- placeholder: { required: false, control: "text", type: "string" },
991
+ placeholder: {
992
+ required: false,
993
+ control: "text",
994
+ type: "string",
995
+ description: "Provides a hint to the user of what can be entered in the field."
996
+ },
849
997
  prefix: { required: false, control: "text", type: "string" },
850
998
  property: { required: false, control: "text", type: "string" },
851
999
  radioGroup: { required: false, control: "text", type: "string" },
852
- rel: { required: false, control: "text", type: "string" },
1000
+ rel: {
1001
+ required: false,
1002
+ control: "text",
1003
+ type: "string",
1004
+ description: "Specifies the relationship of the target object to the link object."
1005
+ },
853
1006
  resource: { required: false, control: "text", type: "string" },
854
1007
  results: { required: false, control: "number", type: "number" },
855
1008
  rev: { required: false, control: "text", type: "string" },
856
- role: { required: false, control: "text", type: "string" },
1009
+ role: {
1010
+ required: false,
1011
+ control: "text",
1012
+ type: "string",
1013
+ description: "Defines an explicit role for an element for use by assistive technologies."
1014
+ },
857
1015
  security: { required: false, control: "text", type: "string" },
858
- slot: { required: false, control: "text", type: "string" },
859
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1016
+ slot: {
1017
+ required: false,
1018
+ control: "text",
1019
+ type: "string",
1020
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
1021
+ },
1022
+ spellCheck: {
1023
+ required: false,
1024
+ control: "boolean",
1025
+ type: "boolean",
1026
+ description: "Indicates whether spell checking is allowed for the element."
1027
+ },
860
1028
  suppressContentEditableWarning: {
861
1029
  required: false,
862
1030
  control: "boolean",
@@ -867,13 +1035,24 @@ const propsTabsList = {
867
1035
  control: "boolean",
868
1036
  type: "boolean"
869
1037
  },
870
- tabIndex: { required: false, control: "number", type: "number" },
871
- title: { required: false, control: "text", type: "string" },
1038
+ tabIndex: {
1039
+ required: false,
1040
+ control: "number",
1041
+ type: "number",
1042
+ description: "Overrides the browser's default tab order and follows the one specified instead."
1043
+ },
1044
+ title: {
1045
+ required: false,
1046
+ control: "text",
1047
+ type: "string",
1048
+ description: "Text to be displayed in a tooltip when hovering over the element."
1049
+ },
872
1050
  translate: {
873
1051
  required: false,
874
1052
  control: "radio",
875
1053
  type: "string",
876
- options: ["yes", "no"]
1054
+ options: ["yes", "no"],
1055
+ 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."
877
1056
  },
878
1057
  typeof: { required: false, control: "text", type: "string" },
879
1058
  unselectable: {
@@ -885,11 +1064,13 @@ const propsTabsList = {
885
1064
  vocab: { required: false, control: "text", type: "string" }
886
1065
  };
887
1066
  const propsTabsTrigger = {
888
- value: { required: true, control: "text", type: "string" }
889
- };
890
- const propsTabsContent = {
891
1067
  about: { required: false, control: "text", type: "string" },
892
- accessKey: { required: false, control: "text", type: "string" },
1068
+ accessKey: {
1069
+ required: false,
1070
+ control: "text",
1071
+ type: "string",
1072
+ description: "Keyboard shortcut to activate or add focus to the element."
1073
+ },
893
1074
  "aria-activedescendant": {
894
1075
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
895
1076
  required: false,
@@ -1045,7 +1226,7 @@ const propsTabsContent = {
1045
1226
  type: "string"
1046
1227
  },
1047
1228
  "aria-label": {
1048
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
1229
+ 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.",
1049
1230
  required: false,
1050
1231
  control: "text",
1051
1232
  type: "string"
@@ -1221,20 +1402,106 @@ const propsTabsContent = {
1221
1402
  control: "text",
1222
1403
  type: "string"
1223
1404
  },
1224
- autoCapitalize: { required: false, control: "text", type: "string" },
1405
+ autoCapitalize: {
1406
+ required: false,
1407
+ control: "text",
1408
+ type: "string",
1409
+ description: "Sets whether input is automatically capitalized when entered by user."
1410
+ },
1225
1411
  autoCorrect: { required: false, control: "text", type: "string" },
1226
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1412
+ autoFocus: {
1413
+ required: false,
1414
+ control: "boolean",
1415
+ type: "boolean",
1416
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1417
+ },
1227
1418
  autoSave: { required: false, control: "text", type: "string" },
1228
1419
  className: { required: false, control: "text", type: "string" },
1229
- color: { required: false, control: "color", type: "string" },
1230
- content: { required: false, control: "text", type: "string" },
1231
- contextMenu: { required: false, control: "text", type: "string" },
1420
+ color: {
1421
+ required: false,
1422
+ control: "color",
1423
+ type: "string",
1424
+ 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."
1425
+ },
1426
+ content: {
1427
+ required: false,
1428
+ control: "text",
1429
+ type: "string",
1430
+ description: "A value associated with http-equiv orname depending on the context."
1431
+ },
1432
+ contextMenu: {
1433
+ required: false,
1434
+ control: "text",
1435
+ type: "string",
1436
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
1437
+ },
1232
1438
  datatype: { required: false, control: "text", type: "string" },
1233
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
1234
- dir: { required: false, control: "text", type: "string" },
1235
- draggable: { required: false, control: "boolean", type: "boolean" },
1236
- hidden: { required: false, control: "boolean", type: "boolean" },
1237
- id: { required: false, control: "text", type: "string" },
1439
+ dir: {
1440
+ required: false,
1441
+ control: "text",
1442
+ type: "string",
1443
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
1444
+ },
1445
+ disabled: {
1446
+ required: false,
1447
+ control: "boolean",
1448
+ type: "boolean",
1449
+ description: "Indicates whether the user can interact with the element."
1450
+ },
1451
+ draggable: {
1452
+ required: false,
1453
+ control: "boolean",
1454
+ type: "boolean",
1455
+ description: "Defines whether the element can be dragged."
1456
+ },
1457
+ form: {
1458
+ required: false,
1459
+ control: "text",
1460
+ type: "string",
1461
+ description: "Indicates the form that is the owner of the element."
1462
+ },
1463
+ formAction: {
1464
+ required: false,
1465
+ control: "text",
1466
+ type: "string",
1467
+ description: "Indicates the action of the element, overriding the action defined inthe form."
1468
+ },
1469
+ formEncType: {
1470
+ required: false,
1471
+ control: "text",
1472
+ type: "string",
1473
+ 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.`
1474
+ },
1475
+ formMethod: {
1476
+ required: false,
1477
+ control: "text",
1478
+ type: "string",
1479
+ 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.`
1480
+ },
1481
+ formNoValidate: {
1482
+ required: false,
1483
+ control: "boolean",
1484
+ type: "boolean",
1485
+ 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.`
1486
+ },
1487
+ formTarget: {
1488
+ required: false,
1489
+ control: "text",
1490
+ type: "string",
1491
+ 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.`
1492
+ },
1493
+ hidden: {
1494
+ required: false,
1495
+ control: "boolean",
1496
+ type: "boolean",
1497
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
1498
+ },
1499
+ id: {
1500
+ required: false,
1501
+ control: "text",
1502
+ type: "string",
1503
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
1504
+ },
1238
1505
  inputMode: {
1239
1506
  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",
1240
1507
  required: false,
@@ -1262,20 +1529,56 @@ const propsTabsContent = {
1262
1529
  itemRef: { required: false, control: "text", type: "string" },
1263
1530
  itemScope: { required: false, control: "boolean", type: "boolean" },
1264
1531
  itemType: { required: false, control: "text", type: "string" },
1265
- lang: { required: false, control: "text", type: "string" },
1532
+ lang: {
1533
+ required: false,
1534
+ control: "text",
1535
+ type: "string",
1536
+ description: "Defines the language used in the element."
1537
+ },
1538
+ name: {
1539
+ required: false,
1540
+ control: "text",
1541
+ type: "string",
1542
+ 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)."
1543
+ },
1266
1544
  nonce: { required: false, control: "text", type: "string" },
1267
- placeholder: { required: false, control: "text", type: "string" },
1545
+ placeholder: {
1546
+ required: false,
1547
+ control: "text",
1548
+ type: "string",
1549
+ description: "Provides a hint to the user of what can be entered in the field."
1550
+ },
1268
1551
  prefix: { required: false, control: "text", type: "string" },
1269
1552
  property: { required: false, control: "text", type: "string" },
1270
1553
  radioGroup: { required: false, control: "text", type: "string" },
1271
- rel: { required: false, control: "text", type: "string" },
1554
+ rel: {
1555
+ required: false,
1556
+ control: "text",
1557
+ type: "string",
1558
+ description: "Specifies the relationship of the target object to the link object."
1559
+ },
1272
1560
  resource: { required: false, control: "text", type: "string" },
1273
1561
  results: { required: false, control: "number", type: "number" },
1274
1562
  rev: { required: false, control: "text", type: "string" },
1275
- role: { required: false, control: "text", type: "string" },
1563
+ role: {
1564
+ required: false,
1565
+ control: "text",
1566
+ type: "string",
1567
+ description: "Defines an explicit role for an element for use by assistive technologies."
1568
+ },
1276
1569
  security: { required: false, control: "text", type: "string" },
1277
- slot: { required: false, control: "text", type: "string" },
1278
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1570
+ slot: {
1571
+ required: false,
1572
+ control: "text",
1573
+ type: "string",
1574
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
1575
+ },
1576
+ spellCheck: {
1577
+ required: false,
1578
+ control: "boolean",
1579
+ type: "boolean",
1580
+ description: "Indicates whether spell checking is allowed for the element."
1581
+ },
1279
1582
  suppressContentEditableWarning: {
1280
1583
  required: false,
1281
1584
  control: "boolean",
@@ -1286,13 +1589,31 @@ const propsTabsContent = {
1286
1589
  control: "boolean",
1287
1590
  type: "boolean"
1288
1591
  },
1289
- tabIndex: { required: false, control: "number", type: "number" },
1290
- title: { required: false, control: "text", type: "string" },
1592
+ tabIndex: {
1593
+ required: false,
1594
+ control: "number",
1595
+ type: "number",
1596
+ description: "Overrides the browser's default tab order and follows the one specified instead."
1597
+ },
1598
+ title: {
1599
+ required: false,
1600
+ control: "text",
1601
+ type: "string",
1602
+ description: "Text to be displayed in a tooltip when hovering over the element."
1603
+ },
1291
1604
  translate: {
1292
1605
  required: false,
1293
1606
  control: "radio",
1294
1607
  type: "string",
1295
- options: ["yes", "no"]
1608
+ options: ["yes", "no"],
1609
+ 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."
1610
+ },
1611
+ type: {
1612
+ required: false,
1613
+ control: "radio",
1614
+ type: "string",
1615
+ options: ["button", "submit", "reset"],
1616
+ description: "Defines the type of the element."
1296
1617
  },
1297
1618
  typeof: { required: false, control: "text", type: "string" },
1298
1619
  unselectable: {
@@ -1301,6 +1622,523 @@ const propsTabsContent = {
1301
1622
  type: "string",
1302
1623
  options: ["on", "off"]
1303
1624
  },
1304
- value: { required: true, control: "text", type: "string" },
1625
+ value: {
1626
+ required: true,
1627
+ control: "text",
1628
+ type: "string",
1629
+ description: "Defines a default value which will be displayed in the element on pageload."
1630
+ },
1631
+ vocab: { required: false, control: "text", type: "string" }
1632
+ };
1633
+ const propsTabsContent = {
1634
+ about: { required: false, control: "text", type: "string" },
1635
+ accessKey: {
1636
+ required: false,
1637
+ control: "text",
1638
+ type: "string",
1639
+ description: "Keyboard shortcut to activate or add focus to the element."
1640
+ },
1641
+ "aria-activedescendant": {
1642
+ description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
1643
+ required: false,
1644
+ control: "text",
1645
+ type: "string"
1646
+ },
1647
+ "aria-atomic": {
1648
+ description: "Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.",
1649
+ required: false,
1650
+ control: "boolean",
1651
+ type: "boolean"
1652
+ },
1653
+ "aria-autocomplete": {
1654
+ description: "Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be\npresented if they are made.",
1655
+ required: false,
1656
+ control: "select",
1657
+ type: "string",
1658
+ options: ["list", "none", "inline", "both"]
1659
+ },
1660
+ "aria-braillelabel": {
1661
+ description: "Defines a string value that labels the current element, which is intended to be converted into Braille.\n@see aria-label.",
1662
+ required: false,
1663
+ control: "text",
1664
+ type: "string"
1665
+ },
1666
+ "aria-brailleroledescription": {
1667
+ description: "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.\n@see aria-roledescription.",
1668
+ required: false,
1669
+ control: "text",
1670
+ type: "string"
1671
+ },
1672
+ "aria-busy": { required: false, control: "boolean", type: "boolean" },
1673
+ "aria-checked": {
1674
+ description: 'Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.\n@see aria-pressed\n@see aria-selected.',
1675
+ required: false,
1676
+ control: "text",
1677
+ type: "string"
1678
+ },
1679
+ "aria-colcount": {
1680
+ description: "Defines the total number of columns in a table, grid, or treegrid.\n@see aria-colindex.",
1681
+ required: false,
1682
+ control: "number",
1683
+ type: "number"
1684
+ },
1685
+ "aria-colindex": {
1686
+ description: "Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.\n@see aria-colcount\n@see aria-colspan.",
1687
+ required: false,
1688
+ control: "number",
1689
+ type: "number"
1690
+ },
1691
+ "aria-colindextext": {
1692
+ description: "Defines a human readable text alternative of aria-colindex.\n@see aria-rowindextext.",
1693
+ required: false,
1694
+ control: "text",
1695
+ type: "string"
1696
+ },
1697
+ "aria-colspan": {
1698
+ description: "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.\n@see aria-colindex\n@see aria-rowspan.",
1699
+ required: false,
1700
+ control: "number",
1701
+ type: "number"
1702
+ },
1703
+ "aria-controls": {
1704
+ description: "Identifies the element (or elements) whose contents or presence are controlled by the current element.\n@see aria-owns.",
1705
+ required: false,
1706
+ control: "text",
1707
+ type: "string"
1708
+ },
1709
+ "aria-current": {
1710
+ description: "Indicates the element that represents the current item within a container or set of related elements.",
1711
+ required: false,
1712
+ control: "text",
1713
+ type: "string"
1714
+ },
1715
+ "aria-describedby": {
1716
+ description: "Identifies the element (or elements) that describes the object.\n@see aria-labelledby",
1717
+ required: false,
1718
+ control: "text",
1719
+ type: "string"
1720
+ },
1721
+ "aria-description": {
1722
+ description: "Defines a string value that describes or annotates the current element.\n@see related aria-describedby.",
1723
+ required: false,
1724
+ control: "text",
1725
+ type: "string"
1726
+ },
1727
+ "aria-details": {
1728
+ description: "Identifies the element that provides a detailed, extended description for the object.\n@see aria-describedby.",
1729
+ required: false,
1730
+ control: "text",
1731
+ type: "string"
1732
+ },
1733
+ "aria-disabled": {
1734
+ description: "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.\n@see aria-hidden\n@see aria-readonly.",
1735
+ required: false,
1736
+ control: "boolean",
1737
+ type: "boolean"
1738
+ },
1739
+ "aria-dropeffect": {
1740
+ description: "Indicates what functions can be performed when a dragged object is released on the drop target.\n@deprecated in ARIA 1.1",
1741
+ required: false,
1742
+ control: "select",
1743
+ type: "string",
1744
+ options: ["link", "none", "copy", "execute", "move", "popup"]
1745
+ },
1746
+ "aria-errormessage": {
1747
+ description: "Identifies the element that provides an error message for the object.\n@see aria-invalid\n@see aria-describedby.",
1748
+ required: false,
1749
+ control: "text",
1750
+ type: "string"
1751
+ },
1752
+ "aria-expanded": {
1753
+ description: "Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.",
1754
+ required: false,
1755
+ control: "boolean",
1756
+ type: "boolean"
1757
+ },
1758
+ "aria-flowto": {
1759
+ description: "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,\nallows assistive technology to override the general default of reading in document source order.",
1760
+ required: false,
1761
+ control: "text",
1762
+ type: "string"
1763
+ },
1764
+ "aria-grabbed": {
1765
+ description: `Indicates an element's "grabbed" state in a drag-and-drop operation.
1766
+ @deprecated in ARIA 1.1`,
1767
+ required: false,
1768
+ control: "boolean",
1769
+ type: "boolean"
1770
+ },
1771
+ "aria-haspopup": {
1772
+ description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
1773
+ required: false,
1774
+ control: "text",
1775
+ type: "string"
1776
+ },
1777
+ "aria-hidden": {
1778
+ description: "Indicates whether the element is exposed to an accessibility API.\n@see aria-disabled.",
1779
+ required: false,
1780
+ control: "boolean",
1781
+ type: "boolean"
1782
+ },
1783
+ "aria-invalid": {
1784
+ description: "Indicates the entered value does not conform to the format expected by the application.\n@see aria-errormessage.",
1785
+ required: false,
1786
+ control: "text",
1787
+ type: "string"
1788
+ },
1789
+ "aria-keyshortcuts": {
1790
+ description: "Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.",
1791
+ required: false,
1792
+ control: "text",
1793
+ type: "string"
1794
+ },
1795
+ "aria-label": {
1796
+ 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.",
1797
+ required: false,
1798
+ control: "text",
1799
+ type: "string"
1800
+ },
1801
+ "aria-labelledby": {
1802
+ description: "Identifies the element (or elements) that labels the current element.\n@see aria-describedby.",
1803
+ required: false,
1804
+ control: "text",
1805
+ type: "string"
1806
+ },
1807
+ "aria-level": {
1808
+ description: "Defines the hierarchical level of an element within a structure.",
1809
+ required: false,
1810
+ control: "number",
1811
+ type: "number"
1812
+ },
1813
+ "aria-live": {
1814
+ description: "Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.",
1815
+ required: false,
1816
+ control: "radio",
1817
+ type: "string",
1818
+ options: ["off", "assertive", "polite"]
1819
+ },
1820
+ "aria-modal": {
1821
+ description: "Indicates whether an element is modal when displayed.",
1822
+ required: false,
1823
+ control: "boolean",
1824
+ type: "boolean"
1825
+ },
1826
+ "aria-multiline": {
1827
+ description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
1828
+ required: false,
1829
+ control: "boolean",
1830
+ type: "boolean"
1831
+ },
1832
+ "aria-multiselectable": {
1833
+ description: "Indicates that the user may select more than one item from the current selectable descendants.",
1834
+ required: false,
1835
+ control: "boolean",
1836
+ type: "boolean"
1837
+ },
1838
+ "aria-orientation": {
1839
+ description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
1840
+ required: false,
1841
+ control: "radio",
1842
+ type: "string",
1843
+ options: ["horizontal", "vertical"]
1844
+ },
1845
+ "aria-owns": {
1846
+ description: "Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship\nbetween DOM elements where the DOM hierarchy cannot be used to represent the relationship.\n@see aria-controls.",
1847
+ required: false,
1848
+ control: "text",
1849
+ type: "string"
1850
+ },
1851
+ "aria-placeholder": {
1852
+ description: "Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.\nA hint could be a sample value or a brief description of the expected format.",
1853
+ required: false,
1854
+ control: "text",
1855
+ type: "string"
1856
+ },
1857
+ "aria-posinset": {
1858
+ description: "Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.\n@see aria-setsize.",
1859
+ required: false,
1860
+ control: "number",
1861
+ type: "number"
1862
+ },
1863
+ "aria-pressed": {
1864
+ description: 'Indicates the current "pressed" state of toggle buttons.\n@see aria-checked\n@see aria-selected.',
1865
+ required: false,
1866
+ control: "text",
1867
+ type: "string"
1868
+ },
1869
+ "aria-readonly": {
1870
+ description: "Indicates that the element is not editable, but is otherwise operable.\n@see aria-disabled.",
1871
+ required: false,
1872
+ control: "boolean",
1873
+ type: "boolean"
1874
+ },
1875
+ "aria-relevant": {
1876
+ description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.\n@see aria-atomic.",
1877
+ required: false,
1878
+ control: "select",
1879
+ type: "string",
1880
+ options: [
1881
+ "text",
1882
+ "additions",
1883
+ "additions removals",
1884
+ "additions text",
1885
+ "all",
1886
+ "removals",
1887
+ "removals additions",
1888
+ "removals text",
1889
+ "text additions",
1890
+ "text removals"
1891
+ ]
1892
+ },
1893
+ "aria-required": {
1894
+ description: "Indicates that user input is required on the element before a form may be submitted.",
1895
+ required: false,
1896
+ control: "boolean",
1897
+ type: "boolean"
1898
+ },
1899
+ "aria-roledescription": {
1900
+ description: "Defines a human-readable, author-localized description for the role of an element.",
1901
+ required: false,
1902
+ control: "text",
1903
+ type: "string"
1904
+ },
1905
+ "aria-rowcount": {
1906
+ description: "Defines the total number of rows in a table, grid, or treegrid.\n@see aria-rowindex.",
1907
+ required: false,
1908
+ control: "number",
1909
+ type: "number"
1910
+ },
1911
+ "aria-rowindex": {
1912
+ description: "Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.\n@see aria-rowcount\n@see aria-rowspan.",
1913
+ required: false,
1914
+ control: "number",
1915
+ type: "number"
1916
+ },
1917
+ "aria-rowindextext": {
1918
+ description: "Defines a human readable text alternative of aria-rowindex.\n@see aria-colindextext.",
1919
+ required: false,
1920
+ control: "text",
1921
+ type: "string"
1922
+ },
1923
+ "aria-rowspan": {
1924
+ description: "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.\n@see aria-rowindex\n@see aria-colspan.",
1925
+ required: false,
1926
+ control: "number",
1927
+ type: "number"
1928
+ },
1929
+ "aria-selected": {
1930
+ description: 'Indicates the current "selected" state of various widgets.\n@see aria-checked\n@see aria-pressed.',
1931
+ required: false,
1932
+ control: "boolean",
1933
+ type: "boolean"
1934
+ },
1935
+ "aria-setsize": {
1936
+ description: "Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.\n@see aria-posinset.",
1937
+ required: false,
1938
+ control: "number",
1939
+ type: "number"
1940
+ },
1941
+ "aria-sort": {
1942
+ description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
1943
+ required: false,
1944
+ control: "select",
1945
+ type: "string",
1946
+ options: ["none", "ascending", "descending", "other"]
1947
+ },
1948
+ "aria-valuemax": {
1949
+ description: "Defines the maximum allowed value for a range widget.",
1950
+ required: false,
1951
+ control: "number",
1952
+ type: "number"
1953
+ },
1954
+ "aria-valuemin": {
1955
+ description: "Defines the minimum allowed value for a range widget.",
1956
+ required: false,
1957
+ control: "number",
1958
+ type: "number"
1959
+ },
1960
+ "aria-valuenow": {
1961
+ description: "Defines the current value for a range widget.\n@see aria-valuetext.",
1962
+ required: false,
1963
+ control: "number",
1964
+ type: "number"
1965
+ },
1966
+ "aria-valuetext": {
1967
+ description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
1968
+ required: false,
1969
+ control: "text",
1970
+ type: "string"
1971
+ },
1972
+ autoCapitalize: {
1973
+ required: false,
1974
+ control: "text",
1975
+ type: "string",
1976
+ description: "Sets whether input is automatically capitalized when entered by user."
1977
+ },
1978
+ autoCorrect: { required: false, control: "text", type: "string" },
1979
+ autoFocus: {
1980
+ required: false,
1981
+ control: "boolean",
1982
+ type: "boolean",
1983
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1984
+ },
1985
+ autoSave: { required: false, control: "text", type: "string" },
1986
+ className: { required: false, control: "text", type: "string" },
1987
+ color: {
1988
+ required: false,
1989
+ control: "color",
1990
+ type: "string",
1991
+ 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."
1992
+ },
1993
+ content: {
1994
+ required: false,
1995
+ control: "text",
1996
+ type: "string",
1997
+ description: "A value associated with http-equiv orname depending on the context."
1998
+ },
1999
+ contextMenu: {
2000
+ required: false,
2001
+ control: "text",
2002
+ type: "string",
2003
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
2004
+ },
2005
+ datatype: { required: false, control: "text", type: "string" },
2006
+ dir: {
2007
+ required: false,
2008
+ control: "text",
2009
+ type: "string",
2010
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
2011
+ },
2012
+ draggable: {
2013
+ required: false,
2014
+ control: "boolean",
2015
+ type: "boolean",
2016
+ description: "Defines whether the element can be dragged."
2017
+ },
2018
+ hidden: {
2019
+ required: false,
2020
+ control: "boolean",
2021
+ type: "boolean",
2022
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
2023
+ },
2024
+ id: {
2025
+ required: false,
2026
+ control: "text",
2027
+ type: "string",
2028
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
2029
+ },
2030
+ inputMode: {
2031
+ 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",
2032
+ required: false,
2033
+ control: "select",
2034
+ type: "string",
2035
+ options: [
2036
+ "search",
2037
+ "text",
2038
+ "none",
2039
+ "tel",
2040
+ "url",
2041
+ "email",
2042
+ "numeric",
2043
+ "decimal"
2044
+ ]
2045
+ },
2046
+ is: {
2047
+ description: "Specify that a standard HTML element should behave like a defined custom built-in element\n@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is",
2048
+ required: false,
2049
+ control: "text",
2050
+ type: "string"
2051
+ },
2052
+ itemID: { required: false, control: "text", type: "string" },
2053
+ itemProp: { required: false, control: "text", type: "string" },
2054
+ itemRef: { required: false, control: "text", type: "string" },
2055
+ itemScope: { required: false, control: "boolean", type: "boolean" },
2056
+ itemType: { required: false, control: "text", type: "string" },
2057
+ lang: {
2058
+ required: false,
2059
+ control: "text",
2060
+ type: "string",
2061
+ description: "Defines the language used in the element."
2062
+ },
2063
+ nonce: { required: false, control: "text", type: "string" },
2064
+ placeholder: {
2065
+ required: false,
2066
+ control: "text",
2067
+ type: "string",
2068
+ description: "Provides a hint to the user of what can be entered in the field."
2069
+ },
2070
+ prefix: { required: false, control: "text", type: "string" },
2071
+ property: { required: false, control: "text", type: "string" },
2072
+ radioGroup: { required: false, control: "text", type: "string" },
2073
+ rel: {
2074
+ required: false,
2075
+ control: "text",
2076
+ type: "string",
2077
+ description: "Specifies the relationship of the target object to the link object."
2078
+ },
2079
+ resource: { required: false, control: "text", type: "string" },
2080
+ results: { required: false, control: "number", type: "number" },
2081
+ rev: { required: false, control: "text", type: "string" },
2082
+ role: {
2083
+ required: false,
2084
+ control: "text",
2085
+ type: "string",
2086
+ description: "Defines an explicit role for an element for use by assistive technologies."
2087
+ },
2088
+ security: { required: false, control: "text", type: "string" },
2089
+ slot: {
2090
+ required: false,
2091
+ control: "text",
2092
+ type: "string",
2093
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
2094
+ },
2095
+ spellCheck: {
2096
+ required: false,
2097
+ control: "boolean",
2098
+ type: "boolean",
2099
+ description: "Indicates whether spell checking is allowed for the element."
2100
+ },
2101
+ suppressContentEditableWarning: {
2102
+ required: false,
2103
+ control: "boolean",
2104
+ type: "boolean"
2105
+ },
2106
+ suppressHydrationWarning: {
2107
+ required: false,
2108
+ control: "boolean",
2109
+ type: "boolean"
2110
+ },
2111
+ tabIndex: {
2112
+ required: false,
2113
+ control: "number",
2114
+ type: "number",
2115
+ description: "Overrides the browser's default tab order and follows the one specified instead."
2116
+ },
2117
+ title: {
2118
+ required: false,
2119
+ control: "text",
2120
+ type: "string",
2121
+ description: "Text to be displayed in a tooltip when hovering over the element."
2122
+ },
2123
+ translate: {
2124
+ required: false,
2125
+ control: "radio",
2126
+ type: "string",
2127
+ options: ["yes", "no"],
2128
+ 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."
2129
+ },
2130
+ typeof: { required: false, control: "text", type: "string" },
2131
+ unselectable: {
2132
+ required: false,
2133
+ control: "radio",
2134
+ type: "string",
2135
+ options: ["on", "off"]
2136
+ },
2137
+ value: {
2138
+ required: true,
2139
+ control: "text",
2140
+ type: "string",
2141
+ description: "Defines a default value which will be displayed in the element on pageload."
2142
+ },
1305
2143
  vocab: { required: false, control: "text", type: "string" }
1306
2144
  };