@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
@@ -1,6 +1,11 @@
1
1
  const propsTabs = {
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
  activationMode: {
5
10
  description: "Whether a tab is activated automatically or manually.\n@defaultValue automatic",
6
11
  required: false,
@@ -163,7 +168,7 @@ const propsTabs = {
163
168
  type: "string"
164
169
  },
165
170
  "aria-label": {
166
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
171
+ 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.",
167
172
  required: false,
168
173
  control: "text",
169
174
  type: "string"
@@ -339,16 +344,40 @@ const propsTabs = {
339
344
  control: "text",
340
345
  type: "string"
341
346
  },
342
- autoCapitalize: { required: false, control: "text", type: "string" },
347
+ autoCapitalize: {
348
+ required: false,
349
+ control: "text",
350
+ type: "string",
351
+ description: "Sets whether input is automatically capitalized when entered by user."
352
+ },
343
353
  autoCorrect: { required: false, control: "text", type: "string" },
344
- autoFocus: { required: false, control: "boolean", type: "boolean" },
354
+ autoFocus: {
355
+ required: false,
356
+ control: "boolean",
357
+ type: "boolean",
358
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
359
+ },
345
360
  autoSave: { required: false, control: "text", type: "string" },
346
361
  className: { required: false, control: "text", type: "string" },
347
- color: { required: false, control: "color", type: "string" },
348
- content: { required: false, control: "text", type: "string" },
349
- contextMenu: { required: false, control: "text", type: "string" },
362
+ color: {
363
+ required: false,
364
+ control: "color",
365
+ type: "string",
366
+ 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."
367
+ },
368
+ content: {
369
+ required: false,
370
+ control: "text",
371
+ type: "string",
372
+ description: "A value associated with http-equiv orname depending on the context."
373
+ },
374
+ contextMenu: {
375
+ required: false,
376
+ control: "text",
377
+ type: "string",
378
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
379
+ },
350
380
  datatype: { required: false, control: "text", type: "string" },
351
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
352
381
  dir: {
353
382
  description: "The direction of navigation between toolbar items.",
354
383
  required: false,
@@ -356,9 +385,24 @@ const propsTabs = {
356
385
  type: "string",
357
386
  options: ["ltr", "rtl"]
358
387
  },
359
- draggable: { required: false, control: "boolean", type: "boolean" },
360
- hidden: { required: false, control: "boolean", type: "boolean" },
361
- id: { required: false, control: "text", type: "string" },
388
+ draggable: {
389
+ required: false,
390
+ control: "boolean",
391
+ type: "boolean",
392
+ description: "Defines whether the element can be dragged."
393
+ },
394
+ hidden: {
395
+ required: false,
396
+ control: "boolean",
397
+ type: "boolean",
398
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
399
+ },
400
+ id: {
401
+ required: false,
402
+ control: "text",
403
+ type: "string",
404
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
405
+ },
362
406
  inputMode: {
363
407
  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",
364
408
  required: false,
@@ -386,7 +430,12 @@ const propsTabs = {
386
430
  itemRef: { required: false, control: "text", type: "string" },
387
431
  itemScope: { required: false, control: "boolean", type: "boolean" },
388
432
  itemType: { required: false, control: "text", type: "string" },
389
- lang: { required: false, control: "text", type: "string" },
433
+ lang: {
434
+ required: false,
435
+ control: "text",
436
+ type: "string",
437
+ description: "Defines the language used in the element."
438
+ },
390
439
  nonce: { required: false, control: "text", type: "string" },
391
440
  orientation: {
392
441
  description: "The orientation the tabs are layed out.\nMainly so arrow navigation is done accordingly (left & right vs. up & down)\n@defaultValue horizontal",
@@ -395,18 +444,43 @@ const propsTabs = {
395
444
  type: "string",
396
445
  options: ["horizontal", "vertical"]
397
446
  },
398
- placeholder: { required: false, control: "text", type: "string" },
447
+ placeholder: {
448
+ required: false,
449
+ control: "text",
450
+ type: "string",
451
+ description: "Provides a hint to the user of what can be entered in the field."
452
+ },
399
453
  prefix: { required: false, control: "text", type: "string" },
400
454
  property: { required: false, control: "text", type: "string" },
401
455
  radioGroup: { required: false, control: "text", type: "string" },
402
- rel: { required: false, control: "text", type: "string" },
456
+ rel: {
457
+ required: false,
458
+ control: "text",
459
+ type: "string",
460
+ description: "Specifies the relationship of the target object to the link object."
461
+ },
403
462
  resource: { required: false, control: "text", type: "string" },
404
463
  results: { required: false, control: "number", type: "number" },
405
464
  rev: { required: false, control: "text", type: "string" },
406
- role: { required: false, control: "text", type: "string" },
465
+ role: {
466
+ required: false,
467
+ control: "text",
468
+ type: "string",
469
+ description: "Defines an explicit role for an element for use by assistive technologies."
470
+ },
407
471
  security: { required: false, control: "text", type: "string" },
408
- slot: { required: false, control: "text", type: "string" },
409
- spellCheck: { required: false, control: "boolean", type: "boolean" },
472
+ slot: {
473
+ required: false,
474
+ control: "text",
475
+ type: "string",
476
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
477
+ },
478
+ spellCheck: {
479
+ required: false,
480
+ control: "boolean",
481
+ type: "boolean",
482
+ description: "Indicates whether spell checking is allowed for the element."
483
+ },
410
484
  suppressContentEditableWarning: {
411
485
  required: false,
412
486
  control: "boolean",
@@ -417,13 +491,24 @@ const propsTabs = {
417
491
  control: "boolean",
418
492
  type: "boolean"
419
493
  },
420
- tabIndex: { required: false, control: "number", type: "number" },
421
- title: { required: false, control: "text", type: "string" },
494
+ tabIndex: {
495
+ required: false,
496
+ control: "number",
497
+ type: "number",
498
+ description: "Overrides the browser's default tab order and follows the one specified instead."
499
+ },
500
+ title: {
501
+ required: false,
502
+ control: "text",
503
+ type: "string",
504
+ description: "Text to be displayed in a tooltip when hovering over the element."
505
+ },
422
506
  translate: {
423
507
  required: false,
424
508
  control: "radio",
425
509
  type: "string",
426
- options: ["yes", "no"]
510
+ options: ["yes", "no"],
511
+ 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."
427
512
  },
428
513
  typeof: { required: false, control: "text", type: "string" },
429
514
  unselectable: {
@@ -442,7 +527,12 @@ const propsTabs = {
442
527
  };
443
528
  const propsTabsList = {
444
529
  about: { required: false, control: "text", type: "string" },
445
- accessKey: { required: false, control: "text", type: "string" },
530
+ accessKey: {
531
+ required: false,
532
+ control: "text",
533
+ type: "string",
534
+ description: "Keyboard shortcut to activate or add focus to the element."
535
+ },
446
536
  "aria-activedescendant": {
447
537
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
448
538
  required: false,
@@ -598,7 +688,7 @@ const propsTabsList = {
598
688
  type: "string"
599
689
  },
600
690
  "aria-label": {
601
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
691
+ 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.",
602
692
  required: false,
603
693
  control: "text",
604
694
  type: "string"
@@ -774,21 +864,64 @@ const propsTabsList = {
774
864
  control: "text",
775
865
  type: "string"
776
866
  },
777
- asChild: { required: false, control: "boolean", type: "boolean" },
778
- autoCapitalize: { required: false, control: "text", type: "string" },
867
+ autoCapitalize: {
868
+ required: false,
869
+ control: "text",
870
+ type: "string",
871
+ description: "Sets whether input is automatically capitalized when entered by user."
872
+ },
779
873
  autoCorrect: { required: false, control: "text", type: "string" },
780
- autoFocus: { required: false, control: "boolean", type: "boolean" },
874
+ autoFocus: {
875
+ required: false,
876
+ control: "boolean",
877
+ type: "boolean",
878
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
879
+ },
781
880
  autoSave: { required: false, control: "text", type: "string" },
782
881
  className: { required: false, control: "text", type: "string" },
783
- color: { required: false, control: "color", type: "string" },
784
- content: { required: false, control: "text", type: "string" },
785
- contextMenu: { required: false, control: "text", type: "string" },
882
+ color: {
883
+ required: false,
884
+ control: "color",
885
+ type: "string",
886
+ 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."
887
+ },
888
+ content: {
889
+ required: false,
890
+ control: "text",
891
+ type: "string",
892
+ description: "A value associated with http-equiv orname depending on the context."
893
+ },
894
+ contextMenu: {
895
+ required: false,
896
+ control: "text",
897
+ type: "string",
898
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
899
+ },
786
900
  datatype: { required: false, control: "text", type: "string" },
787
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
788
- dir: { required: false, control: "text", type: "string" },
789
- draggable: { required: false, control: "boolean", type: "boolean" },
790
- hidden: { required: false, control: "boolean", type: "boolean" },
791
- id: { required: false, control: "text", type: "string" },
901
+ dir: {
902
+ required: false,
903
+ control: "text",
904
+ type: "string",
905
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
906
+ },
907
+ draggable: {
908
+ required: false,
909
+ control: "boolean",
910
+ type: "boolean",
911
+ description: "Defines whether the element can be dragged."
912
+ },
913
+ hidden: {
914
+ required: false,
915
+ control: "boolean",
916
+ type: "boolean",
917
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
918
+ },
919
+ id: {
920
+ required: false,
921
+ control: "text",
922
+ type: "string",
923
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
924
+ },
792
925
  inputMode: {
793
926
  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",
794
927
  required: false,
@@ -816,21 +949,56 @@ const propsTabsList = {
816
949
  itemRef: { required: false, control: "text", type: "string" },
817
950
  itemScope: { required: false, control: "boolean", type: "boolean" },
818
951
  itemType: { required: false, control: "text", type: "string" },
819
- lang: { required: false, control: "text", type: "string" },
820
- loop: { required: false, control: "boolean", type: "boolean" },
952
+ lang: {
953
+ required: false,
954
+ control: "text",
955
+ type: "string",
956
+ description: "Defines the language used in the element."
957
+ },
958
+ loop: {
959
+ required: false,
960
+ control: "boolean",
961
+ type: "boolean",
962
+ description: "Indicates whether the media should start playing from the start when it's finished."
963
+ },
821
964
  nonce: { required: false, control: "text", type: "string" },
822
- placeholder: { required: false, control: "text", type: "string" },
965
+ placeholder: {
966
+ required: false,
967
+ control: "text",
968
+ type: "string",
969
+ description: "Provides a hint to the user of what can be entered in the field."
970
+ },
823
971
  prefix: { required: false, control: "text", type: "string" },
824
972
  property: { required: false, control: "text", type: "string" },
825
973
  radioGroup: { required: false, control: "text", type: "string" },
826
- rel: { required: false, control: "text", type: "string" },
974
+ rel: {
975
+ required: false,
976
+ control: "text",
977
+ type: "string",
978
+ description: "Specifies the relationship of the target object to the link object."
979
+ },
827
980
  resource: { required: false, control: "text", type: "string" },
828
981
  results: { required: false, control: "number", type: "number" },
829
982
  rev: { required: false, control: "text", type: "string" },
830
- role: { required: false, control: "text", type: "string" },
983
+ role: {
984
+ required: false,
985
+ control: "text",
986
+ type: "string",
987
+ description: "Defines an explicit role for an element for use by assistive technologies."
988
+ },
831
989
  security: { required: false, control: "text", type: "string" },
832
- slot: { required: false, control: "text", type: "string" },
833
- spellCheck: { required: false, control: "boolean", type: "boolean" },
990
+ slot: {
991
+ required: false,
992
+ control: "text",
993
+ type: "string",
994
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
995
+ },
996
+ spellCheck: {
997
+ required: false,
998
+ control: "boolean",
999
+ type: "boolean",
1000
+ description: "Indicates whether spell checking is allowed for the element."
1001
+ },
834
1002
  suppressContentEditableWarning: {
835
1003
  required: false,
836
1004
  control: "boolean",
@@ -841,13 +1009,24 @@ const propsTabsList = {
841
1009
  control: "boolean",
842
1010
  type: "boolean"
843
1011
  },
844
- tabIndex: { required: false, control: "number", type: "number" },
845
- title: { required: false, control: "text", type: "string" },
1012
+ tabIndex: {
1013
+ required: false,
1014
+ control: "number",
1015
+ type: "number",
1016
+ description: "Overrides the browser's default tab order and follows the one specified instead."
1017
+ },
1018
+ title: {
1019
+ required: false,
1020
+ control: "text",
1021
+ type: "string",
1022
+ description: "Text to be displayed in a tooltip when hovering over the element."
1023
+ },
846
1024
  translate: {
847
1025
  required: false,
848
1026
  control: "radio",
849
1027
  type: "string",
850
- options: ["yes", "no"]
1028
+ options: ["yes", "no"],
1029
+ 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."
851
1030
  },
852
1031
  typeof: { required: false, control: "text", type: "string" },
853
1032
  unselectable: {
@@ -859,11 +1038,13 @@ const propsTabsList = {
859
1038
  vocab: { required: false, control: "text", type: "string" }
860
1039
  };
861
1040
  const propsTabsTrigger = {
862
- value: { required: true, control: "text", type: "string" }
863
- };
864
- const propsTabsContent = {
865
1041
  about: { required: false, control: "text", type: "string" },
866
- accessKey: { required: false, control: "text", type: "string" },
1042
+ accessKey: {
1043
+ required: false,
1044
+ control: "text",
1045
+ type: "string",
1046
+ description: "Keyboard shortcut to activate or add focus to the element."
1047
+ },
867
1048
  "aria-activedescendant": {
868
1049
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
869
1050
  required: false,
@@ -1019,7 +1200,7 @@ const propsTabsContent = {
1019
1200
  type: "string"
1020
1201
  },
1021
1202
  "aria-label": {
1022
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
1203
+ 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.",
1023
1204
  required: false,
1024
1205
  control: "text",
1025
1206
  type: "string"
@@ -1195,20 +1376,106 @@ const propsTabsContent = {
1195
1376
  control: "text",
1196
1377
  type: "string"
1197
1378
  },
1198
- autoCapitalize: { required: false, control: "text", type: "string" },
1379
+ autoCapitalize: {
1380
+ required: false,
1381
+ control: "text",
1382
+ type: "string",
1383
+ description: "Sets whether input is automatically capitalized when entered by user."
1384
+ },
1199
1385
  autoCorrect: { required: false, control: "text", type: "string" },
1200
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1386
+ autoFocus: {
1387
+ required: false,
1388
+ control: "boolean",
1389
+ type: "boolean",
1390
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1391
+ },
1201
1392
  autoSave: { required: false, control: "text", type: "string" },
1202
1393
  className: { required: false, control: "text", type: "string" },
1203
- color: { required: false, control: "color", type: "string" },
1204
- content: { required: false, control: "text", type: "string" },
1205
- contextMenu: { required: false, control: "text", type: "string" },
1394
+ color: {
1395
+ required: false,
1396
+ control: "color",
1397
+ type: "string",
1398
+ 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."
1399
+ },
1400
+ content: {
1401
+ required: false,
1402
+ control: "text",
1403
+ type: "string",
1404
+ description: "A value associated with http-equiv orname depending on the context."
1405
+ },
1406
+ contextMenu: {
1407
+ required: false,
1408
+ control: "text",
1409
+ type: "string",
1410
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
1411
+ },
1206
1412
  datatype: { required: false, control: "text", type: "string" },
1207
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
1208
- dir: { required: false, control: "text", type: "string" },
1209
- draggable: { required: false, control: "boolean", type: "boolean" },
1210
- hidden: { required: false, control: "boolean", type: "boolean" },
1211
- id: { required: false, control: "text", type: "string" },
1413
+ dir: {
1414
+ required: false,
1415
+ control: "text",
1416
+ type: "string",
1417
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
1418
+ },
1419
+ disabled: {
1420
+ required: false,
1421
+ control: "boolean",
1422
+ type: "boolean",
1423
+ description: "Indicates whether the user can interact with the element."
1424
+ },
1425
+ draggable: {
1426
+ required: false,
1427
+ control: "boolean",
1428
+ type: "boolean",
1429
+ description: "Defines whether the element can be dragged."
1430
+ },
1431
+ form: {
1432
+ required: false,
1433
+ control: "text",
1434
+ type: "string",
1435
+ description: "Indicates the form that is the owner of the element."
1436
+ },
1437
+ formAction: {
1438
+ required: false,
1439
+ control: "text",
1440
+ type: "string",
1441
+ description: "Indicates the action of the element, overriding the action defined inthe form."
1442
+ },
1443
+ formEncType: {
1444
+ required: false,
1445
+ control: "text",
1446
+ type: "string",
1447
+ 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.`
1448
+ },
1449
+ formMethod: {
1450
+ required: false,
1451
+ control: "text",
1452
+ type: "string",
1453
+ 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.`
1454
+ },
1455
+ formNoValidate: {
1456
+ required: false,
1457
+ control: "boolean",
1458
+ type: "boolean",
1459
+ 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.`
1460
+ },
1461
+ formTarget: {
1462
+ required: false,
1463
+ control: "text",
1464
+ type: "string",
1465
+ 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.`
1466
+ },
1467
+ hidden: {
1468
+ required: false,
1469
+ control: "boolean",
1470
+ type: "boolean",
1471
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
1472
+ },
1473
+ id: {
1474
+ required: false,
1475
+ control: "text",
1476
+ type: "string",
1477
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
1478
+ },
1212
1479
  inputMode: {
1213
1480
  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",
1214
1481
  required: false,
@@ -1236,20 +1503,56 @@ const propsTabsContent = {
1236
1503
  itemRef: { required: false, control: "text", type: "string" },
1237
1504
  itemScope: { required: false, control: "boolean", type: "boolean" },
1238
1505
  itemType: { required: false, control: "text", type: "string" },
1239
- lang: { required: false, control: "text", type: "string" },
1506
+ lang: {
1507
+ required: false,
1508
+ control: "text",
1509
+ type: "string",
1510
+ description: "Defines the language used in the element."
1511
+ },
1512
+ name: {
1513
+ required: false,
1514
+ control: "text",
1515
+ type: "string",
1516
+ 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)."
1517
+ },
1240
1518
  nonce: { required: false, control: "text", type: "string" },
1241
- placeholder: { required: false, control: "text", type: "string" },
1519
+ placeholder: {
1520
+ required: false,
1521
+ control: "text",
1522
+ type: "string",
1523
+ description: "Provides a hint to the user of what can be entered in the field."
1524
+ },
1242
1525
  prefix: { required: false, control: "text", type: "string" },
1243
1526
  property: { required: false, control: "text", type: "string" },
1244
1527
  radioGroup: { required: false, control: "text", type: "string" },
1245
- rel: { required: false, control: "text", type: "string" },
1528
+ rel: {
1529
+ required: false,
1530
+ control: "text",
1531
+ type: "string",
1532
+ description: "Specifies the relationship of the target object to the link object."
1533
+ },
1246
1534
  resource: { required: false, control: "text", type: "string" },
1247
1535
  results: { required: false, control: "number", type: "number" },
1248
1536
  rev: { required: false, control: "text", type: "string" },
1249
- role: { required: false, control: "text", type: "string" },
1537
+ role: {
1538
+ required: false,
1539
+ control: "text",
1540
+ type: "string",
1541
+ description: "Defines an explicit role for an element for use by assistive technologies."
1542
+ },
1250
1543
  security: { required: false, control: "text", type: "string" },
1251
- slot: { required: false, control: "text", type: "string" },
1252
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1544
+ slot: {
1545
+ required: false,
1546
+ control: "text",
1547
+ type: "string",
1548
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
1549
+ },
1550
+ spellCheck: {
1551
+ required: false,
1552
+ control: "boolean",
1553
+ type: "boolean",
1554
+ description: "Indicates whether spell checking is allowed for the element."
1555
+ },
1253
1556
  suppressContentEditableWarning: {
1254
1557
  required: false,
1255
1558
  control: "boolean",
@@ -1260,13 +1563,31 @@ const propsTabsContent = {
1260
1563
  control: "boolean",
1261
1564
  type: "boolean"
1262
1565
  },
1263
- tabIndex: { required: false, control: "number", type: "number" },
1264
- title: { required: false, control: "text", type: "string" },
1566
+ tabIndex: {
1567
+ required: false,
1568
+ control: "number",
1569
+ type: "number",
1570
+ description: "Overrides the browser's default tab order and follows the one specified instead."
1571
+ },
1572
+ title: {
1573
+ required: false,
1574
+ control: "text",
1575
+ type: "string",
1576
+ description: "Text to be displayed in a tooltip when hovering over the element."
1577
+ },
1265
1578
  translate: {
1266
1579
  required: false,
1267
1580
  control: "radio",
1268
1581
  type: "string",
1269
- options: ["yes", "no"]
1582
+ options: ["yes", "no"],
1583
+ 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."
1584
+ },
1585
+ type: {
1586
+ required: false,
1587
+ control: "radio",
1588
+ type: "string",
1589
+ options: ["button", "submit", "reset"],
1590
+ description: "Defines the type of the element."
1270
1591
  },
1271
1592
  typeof: { required: false, control: "text", type: "string" },
1272
1593
  unselectable: {
@@ -1275,7 +1596,524 @@ const propsTabsContent = {
1275
1596
  type: "string",
1276
1597
  options: ["on", "off"]
1277
1598
  },
1278
- value: { required: true, control: "text", type: "string" },
1599
+ value: {
1600
+ required: true,
1601
+ control: "text",
1602
+ type: "string",
1603
+ description: "Defines a default value which will be displayed in the element on pageload."
1604
+ },
1605
+ vocab: { required: false, control: "text", type: "string" }
1606
+ };
1607
+ const propsTabsContent = {
1608
+ about: { required: false, control: "text", type: "string" },
1609
+ accessKey: {
1610
+ required: false,
1611
+ control: "text",
1612
+ type: "string",
1613
+ description: "Keyboard shortcut to activate or add focus to the element."
1614
+ },
1615
+ "aria-activedescendant": {
1616
+ description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
1617
+ required: false,
1618
+ control: "text",
1619
+ type: "string"
1620
+ },
1621
+ "aria-atomic": {
1622
+ 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.",
1623
+ required: false,
1624
+ control: "boolean",
1625
+ type: "boolean"
1626
+ },
1627
+ "aria-autocomplete": {
1628
+ 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.",
1629
+ required: false,
1630
+ control: "select",
1631
+ type: "string",
1632
+ options: ["list", "none", "inline", "both"]
1633
+ },
1634
+ "aria-braillelabel": {
1635
+ description: "Defines a string value that labels the current element, which is intended to be converted into Braille.\n@see aria-label.",
1636
+ required: false,
1637
+ control: "text",
1638
+ type: "string"
1639
+ },
1640
+ "aria-brailleroledescription": {
1641
+ 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.",
1642
+ required: false,
1643
+ control: "text",
1644
+ type: "string"
1645
+ },
1646
+ "aria-busy": { required: false, control: "boolean", type: "boolean" },
1647
+ "aria-checked": {
1648
+ description: 'Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.\n@see aria-pressed\n@see aria-selected.',
1649
+ required: false,
1650
+ control: "text",
1651
+ type: "string"
1652
+ },
1653
+ "aria-colcount": {
1654
+ description: "Defines the total number of columns in a table, grid, or treegrid.\n@see aria-colindex.",
1655
+ required: false,
1656
+ control: "number",
1657
+ type: "number"
1658
+ },
1659
+ "aria-colindex": {
1660
+ 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.",
1661
+ required: false,
1662
+ control: "number",
1663
+ type: "number"
1664
+ },
1665
+ "aria-colindextext": {
1666
+ description: "Defines a human readable text alternative of aria-colindex.\n@see aria-rowindextext.",
1667
+ required: false,
1668
+ control: "text",
1669
+ type: "string"
1670
+ },
1671
+ "aria-colspan": {
1672
+ 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.",
1673
+ required: false,
1674
+ control: "number",
1675
+ type: "number"
1676
+ },
1677
+ "aria-controls": {
1678
+ description: "Identifies the element (or elements) whose contents or presence are controlled by the current element.\n@see aria-owns.",
1679
+ required: false,
1680
+ control: "text",
1681
+ type: "string"
1682
+ },
1683
+ "aria-current": {
1684
+ description: "Indicates the element that represents the current item within a container or set of related elements.",
1685
+ required: false,
1686
+ control: "text",
1687
+ type: "string"
1688
+ },
1689
+ "aria-describedby": {
1690
+ description: "Identifies the element (or elements) that describes the object.\n@see aria-labelledby",
1691
+ required: false,
1692
+ control: "text",
1693
+ type: "string"
1694
+ },
1695
+ "aria-description": {
1696
+ description: "Defines a string value that describes or annotates the current element.\n@see related aria-describedby.",
1697
+ required: false,
1698
+ control: "text",
1699
+ type: "string"
1700
+ },
1701
+ "aria-details": {
1702
+ description: "Identifies the element that provides a detailed, extended description for the object.\n@see aria-describedby.",
1703
+ required: false,
1704
+ control: "text",
1705
+ type: "string"
1706
+ },
1707
+ "aria-disabled": {
1708
+ 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.",
1709
+ required: false,
1710
+ control: "boolean",
1711
+ type: "boolean"
1712
+ },
1713
+ "aria-dropeffect": {
1714
+ description: "Indicates what functions can be performed when a dragged object is released on the drop target.\n@deprecated in ARIA 1.1",
1715
+ required: false,
1716
+ control: "select",
1717
+ type: "string",
1718
+ options: ["link", "none", "copy", "execute", "move", "popup"]
1719
+ },
1720
+ "aria-errormessage": {
1721
+ description: "Identifies the element that provides an error message for the object.\n@see aria-invalid\n@see aria-describedby.",
1722
+ required: false,
1723
+ control: "text",
1724
+ type: "string"
1725
+ },
1726
+ "aria-expanded": {
1727
+ description: "Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.",
1728
+ required: false,
1729
+ control: "boolean",
1730
+ type: "boolean"
1731
+ },
1732
+ "aria-flowto": {
1733
+ 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.",
1734
+ required: false,
1735
+ control: "text",
1736
+ type: "string"
1737
+ },
1738
+ "aria-grabbed": {
1739
+ description: `Indicates an element's "grabbed" state in a drag-and-drop operation.
1740
+ @deprecated in ARIA 1.1`,
1741
+ required: false,
1742
+ control: "boolean",
1743
+ type: "boolean"
1744
+ },
1745
+ "aria-haspopup": {
1746
+ description: "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
1747
+ required: false,
1748
+ control: "text",
1749
+ type: "string"
1750
+ },
1751
+ "aria-hidden": {
1752
+ description: "Indicates whether the element is exposed to an accessibility API.\n@see aria-disabled.",
1753
+ required: false,
1754
+ control: "boolean",
1755
+ type: "boolean"
1756
+ },
1757
+ "aria-invalid": {
1758
+ description: "Indicates the entered value does not conform to the format expected by the application.\n@see aria-errormessage.",
1759
+ required: false,
1760
+ control: "text",
1761
+ type: "string"
1762
+ },
1763
+ "aria-keyshortcuts": {
1764
+ description: "Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.",
1765
+ required: false,
1766
+ control: "text",
1767
+ type: "string"
1768
+ },
1769
+ "aria-label": {
1770
+ 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.",
1771
+ required: false,
1772
+ control: "text",
1773
+ type: "string"
1774
+ },
1775
+ "aria-labelledby": {
1776
+ description: "Identifies the element (or elements) that labels the current element.\n@see aria-describedby.",
1777
+ required: false,
1778
+ control: "text",
1779
+ type: "string"
1780
+ },
1781
+ "aria-level": {
1782
+ description: "Defines the hierarchical level of an element within a structure.",
1783
+ required: false,
1784
+ control: "number",
1785
+ type: "number"
1786
+ },
1787
+ "aria-live": {
1788
+ 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.",
1789
+ required: false,
1790
+ control: "radio",
1791
+ type: "string",
1792
+ options: ["off", "assertive", "polite"]
1793
+ },
1794
+ "aria-modal": {
1795
+ description: "Indicates whether an element is modal when displayed.",
1796
+ required: false,
1797
+ control: "boolean",
1798
+ type: "boolean"
1799
+ },
1800
+ "aria-multiline": {
1801
+ description: "Indicates whether a text box accepts multiple lines of input or only a single line.",
1802
+ required: false,
1803
+ control: "boolean",
1804
+ type: "boolean"
1805
+ },
1806
+ "aria-multiselectable": {
1807
+ description: "Indicates that the user may select more than one item from the current selectable descendants.",
1808
+ required: false,
1809
+ control: "boolean",
1810
+ type: "boolean"
1811
+ },
1812
+ "aria-orientation": {
1813
+ description: "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
1814
+ required: false,
1815
+ control: "radio",
1816
+ type: "string",
1817
+ options: ["horizontal", "vertical"]
1818
+ },
1819
+ "aria-owns": {
1820
+ 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.",
1821
+ required: false,
1822
+ control: "text",
1823
+ type: "string"
1824
+ },
1825
+ "aria-placeholder": {
1826
+ 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.",
1827
+ required: false,
1828
+ control: "text",
1829
+ type: "string"
1830
+ },
1831
+ "aria-posinset": {
1832
+ 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.",
1833
+ required: false,
1834
+ control: "number",
1835
+ type: "number"
1836
+ },
1837
+ "aria-pressed": {
1838
+ description: 'Indicates the current "pressed" state of toggle buttons.\n@see aria-checked\n@see aria-selected.',
1839
+ required: false,
1840
+ control: "text",
1841
+ type: "string"
1842
+ },
1843
+ "aria-readonly": {
1844
+ description: "Indicates that the element is not editable, but is otherwise operable.\n@see aria-disabled.",
1845
+ required: false,
1846
+ control: "boolean",
1847
+ type: "boolean"
1848
+ },
1849
+ "aria-relevant": {
1850
+ description: "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.\n@see aria-atomic.",
1851
+ required: false,
1852
+ control: "select",
1853
+ type: "string",
1854
+ options: [
1855
+ "text",
1856
+ "additions",
1857
+ "additions removals",
1858
+ "additions text",
1859
+ "all",
1860
+ "removals",
1861
+ "removals additions",
1862
+ "removals text",
1863
+ "text additions",
1864
+ "text removals"
1865
+ ]
1866
+ },
1867
+ "aria-required": {
1868
+ description: "Indicates that user input is required on the element before a form may be submitted.",
1869
+ required: false,
1870
+ control: "boolean",
1871
+ type: "boolean"
1872
+ },
1873
+ "aria-roledescription": {
1874
+ description: "Defines a human-readable, author-localized description for the role of an element.",
1875
+ required: false,
1876
+ control: "text",
1877
+ type: "string"
1878
+ },
1879
+ "aria-rowcount": {
1880
+ description: "Defines the total number of rows in a table, grid, or treegrid.\n@see aria-rowindex.",
1881
+ required: false,
1882
+ control: "number",
1883
+ type: "number"
1884
+ },
1885
+ "aria-rowindex": {
1886
+ 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.",
1887
+ required: false,
1888
+ control: "number",
1889
+ type: "number"
1890
+ },
1891
+ "aria-rowindextext": {
1892
+ description: "Defines a human readable text alternative of aria-rowindex.\n@see aria-colindextext.",
1893
+ required: false,
1894
+ control: "text",
1895
+ type: "string"
1896
+ },
1897
+ "aria-rowspan": {
1898
+ 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.",
1899
+ required: false,
1900
+ control: "number",
1901
+ type: "number"
1902
+ },
1903
+ "aria-selected": {
1904
+ description: 'Indicates the current "selected" state of various widgets.\n@see aria-checked\n@see aria-pressed.',
1905
+ required: false,
1906
+ control: "boolean",
1907
+ type: "boolean"
1908
+ },
1909
+ "aria-setsize": {
1910
+ 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.",
1911
+ required: false,
1912
+ control: "number",
1913
+ type: "number"
1914
+ },
1915
+ "aria-sort": {
1916
+ description: "Indicates if items in a table or grid are sorted in ascending or descending order.",
1917
+ required: false,
1918
+ control: "select",
1919
+ type: "string",
1920
+ options: ["none", "ascending", "descending", "other"]
1921
+ },
1922
+ "aria-valuemax": {
1923
+ description: "Defines the maximum allowed value for a range widget.",
1924
+ required: false,
1925
+ control: "number",
1926
+ type: "number"
1927
+ },
1928
+ "aria-valuemin": {
1929
+ description: "Defines the minimum allowed value for a range widget.",
1930
+ required: false,
1931
+ control: "number",
1932
+ type: "number"
1933
+ },
1934
+ "aria-valuenow": {
1935
+ description: "Defines the current value for a range widget.\n@see aria-valuetext.",
1936
+ required: false,
1937
+ control: "number",
1938
+ type: "number"
1939
+ },
1940
+ "aria-valuetext": {
1941
+ description: "Defines the human readable text alternative of aria-valuenow for a range widget.",
1942
+ required: false,
1943
+ control: "text",
1944
+ type: "string"
1945
+ },
1946
+ autoCapitalize: {
1947
+ required: false,
1948
+ control: "text",
1949
+ type: "string",
1950
+ description: "Sets whether input is automatically capitalized when entered by user."
1951
+ },
1952
+ autoCorrect: { required: false, control: "text", type: "string" },
1953
+ autoFocus: {
1954
+ required: false,
1955
+ control: "boolean",
1956
+ type: "boolean",
1957
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1958
+ },
1959
+ autoSave: { required: false, control: "text", type: "string" },
1960
+ className: { required: false, control: "text", type: "string" },
1961
+ color: {
1962
+ required: false,
1963
+ control: "color",
1964
+ type: "string",
1965
+ 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."
1966
+ },
1967
+ content: {
1968
+ required: false,
1969
+ control: "text",
1970
+ type: "string",
1971
+ description: "A value associated with http-equiv orname depending on the context."
1972
+ },
1973
+ contextMenu: {
1974
+ required: false,
1975
+ control: "text",
1976
+ type: "string",
1977
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
1978
+ },
1979
+ datatype: { required: false, control: "text", type: "string" },
1980
+ dir: {
1981
+ required: false,
1982
+ control: "text",
1983
+ type: "string",
1984
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
1985
+ },
1986
+ draggable: {
1987
+ required: false,
1988
+ control: "boolean",
1989
+ type: "boolean",
1990
+ description: "Defines whether the element can be dragged."
1991
+ },
1992
+ hidden: {
1993
+ required: false,
1994
+ control: "boolean",
1995
+ type: "boolean",
1996
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
1997
+ },
1998
+ id: {
1999
+ required: false,
2000
+ control: "text",
2001
+ type: "string",
2002
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
2003
+ },
2004
+ inputMode: {
2005
+ 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",
2006
+ required: false,
2007
+ control: "select",
2008
+ type: "string",
2009
+ options: [
2010
+ "search",
2011
+ "text",
2012
+ "none",
2013
+ "tel",
2014
+ "url",
2015
+ "email",
2016
+ "numeric",
2017
+ "decimal"
2018
+ ]
2019
+ },
2020
+ is: {
2021
+ 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",
2022
+ required: false,
2023
+ control: "text",
2024
+ type: "string"
2025
+ },
2026
+ itemID: { required: false, control: "text", type: "string" },
2027
+ itemProp: { required: false, control: "text", type: "string" },
2028
+ itemRef: { required: false, control: "text", type: "string" },
2029
+ itemScope: { required: false, control: "boolean", type: "boolean" },
2030
+ itemType: { required: false, control: "text", type: "string" },
2031
+ lang: {
2032
+ required: false,
2033
+ control: "text",
2034
+ type: "string",
2035
+ description: "Defines the language used in the element."
2036
+ },
2037
+ nonce: { required: false, control: "text", type: "string" },
2038
+ placeholder: {
2039
+ required: false,
2040
+ control: "text",
2041
+ type: "string",
2042
+ description: "Provides a hint to the user of what can be entered in the field."
2043
+ },
2044
+ prefix: { required: false, control: "text", type: "string" },
2045
+ property: { required: false, control: "text", type: "string" },
2046
+ radioGroup: { required: false, control: "text", type: "string" },
2047
+ rel: {
2048
+ required: false,
2049
+ control: "text",
2050
+ type: "string",
2051
+ description: "Specifies the relationship of the target object to the link object."
2052
+ },
2053
+ resource: { required: false, control: "text", type: "string" },
2054
+ results: { required: false, control: "number", type: "number" },
2055
+ rev: { required: false, control: "text", type: "string" },
2056
+ role: {
2057
+ required: false,
2058
+ control: "text",
2059
+ type: "string",
2060
+ description: "Defines an explicit role for an element for use by assistive technologies."
2061
+ },
2062
+ security: { required: false, control: "text", type: "string" },
2063
+ slot: {
2064
+ required: false,
2065
+ control: "text",
2066
+ type: "string",
2067
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
2068
+ },
2069
+ spellCheck: {
2070
+ required: false,
2071
+ control: "boolean",
2072
+ type: "boolean",
2073
+ description: "Indicates whether spell checking is allowed for the element."
2074
+ },
2075
+ suppressContentEditableWarning: {
2076
+ required: false,
2077
+ control: "boolean",
2078
+ type: "boolean"
2079
+ },
2080
+ suppressHydrationWarning: {
2081
+ required: false,
2082
+ control: "boolean",
2083
+ type: "boolean"
2084
+ },
2085
+ tabIndex: {
2086
+ required: false,
2087
+ control: "number",
2088
+ type: "number",
2089
+ description: "Overrides the browser's default tab order and follows the one specified instead."
2090
+ },
2091
+ title: {
2092
+ required: false,
2093
+ control: "text",
2094
+ type: "string",
2095
+ description: "Text to be displayed in a tooltip when hovering over the element."
2096
+ },
2097
+ translate: {
2098
+ required: false,
2099
+ control: "radio",
2100
+ type: "string",
2101
+ options: ["yes", "no"],
2102
+ 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."
2103
+ },
2104
+ typeof: { required: false, control: "text", type: "string" },
2105
+ unselectable: {
2106
+ required: false,
2107
+ control: "radio",
2108
+ type: "string",
2109
+ options: ["on", "off"]
2110
+ },
2111
+ value: {
2112
+ required: true,
2113
+ control: "text",
2114
+ type: "string",
2115
+ description: "Defines a default value which will be displayed in the element on pageload."
2116
+ },
1279
2117
  vocab: { required: false, control: "text", type: "string" }
1280
2118
  };
1281
2119
  export {