@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
@@ -2,7 +2,12 @@ import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
2
 
3
3
  export const propsTabs: Record<string, PropMeta> = {
4
4
  about: { required: false, control: "text", type: "string" },
5
- accessKey: { required: false, control: "text", type: "string" },
5
+ accessKey: {
6
+ required: false,
7
+ control: "text",
8
+ type: "string",
9
+ description: "Keyboard shortcut to activate or add focus to the element.",
10
+ },
6
11
  activationMode: {
7
12
  description:
8
13
  "Whether a tab is activated automatically or manually.\n@defaultValue automatic",
@@ -191,7 +196,7 @@ export const propsTabs: Record<string, PropMeta> = {
191
196
  },
192
197
  "aria-label": {
193
198
  description:
194
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
199
+ "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.",
195
200
  required: false,
196
201
  control: "text",
197
202
  type: "string",
@@ -390,16 +395,45 @@ export const propsTabs: Record<string, PropMeta> = {
390
395
  control: "text",
391
396
  type: "string",
392
397
  },
393
- autoCapitalize: { required: false, control: "text", type: "string" },
398
+ autoCapitalize: {
399
+ required: false,
400
+ control: "text",
401
+ type: "string",
402
+ description:
403
+ "Sets whether input is automatically capitalized when entered by user.",
404
+ },
394
405
  autoCorrect: { required: false, control: "text", type: "string" },
395
- autoFocus: { required: false, control: "boolean", type: "boolean" },
406
+ autoFocus: {
407
+ required: false,
408
+ control: "boolean",
409
+ type: "boolean",
410
+ description:
411
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
412
+ },
396
413
  autoSave: { required: false, control: "text", type: "string" },
397
414
  className: { required: false, control: "text", type: "string" },
398
- color: { required: false, control: "color", type: "string" },
399
- content: { required: false, control: "text", type: "string" },
400
- contextMenu: { required: false, control: "text", type: "string" },
415
+ color: {
416
+ required: false,
417
+ control: "color",
418
+ type: "string",
419
+ description:
420
+ "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.",
421
+ },
422
+ content: {
423
+ required: false,
424
+ control: "text",
425
+ type: "string",
426
+ description:
427
+ "A value associated with http-equiv orname depending on the context.",
428
+ },
429
+ contextMenu: {
430
+ required: false,
431
+ control: "text",
432
+ type: "string",
433
+ description:
434
+ "Defines the ID of a menu element which willserve as the element's context menu.",
435
+ },
401
436
  datatype: { required: false, control: "text", type: "string" },
402
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
403
437
  dir: {
404
438
  description: "The direction of navigation between toolbar items.",
405
439
  required: false,
@@ -407,9 +441,26 @@ export const propsTabs: Record<string, PropMeta> = {
407
441
  type: "string",
408
442
  options: ["ltr", "rtl"],
409
443
  },
410
- draggable: { required: false, control: "boolean", type: "boolean" },
411
- hidden: { required: false, control: "boolean", type: "boolean" },
412
- id: { required: false, control: "text", type: "string" },
444
+ draggable: {
445
+ required: false,
446
+ control: "boolean",
447
+ type: "boolean",
448
+ description: "Defines whether the element can be dragged.",
449
+ },
450
+ hidden: {
451
+ required: false,
452
+ control: "boolean",
453
+ type: "boolean",
454
+ description:
455
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
456
+ },
457
+ id: {
458
+ required: false,
459
+ control: "text",
460
+ type: "string",
461
+ description:
462
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
463
+ },
413
464
  inputMode: {
414
465
  description:
415
466
  "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",
@@ -439,7 +490,12 @@ export const propsTabs: Record<string, PropMeta> = {
439
490
  itemRef: { required: false, control: "text", type: "string" },
440
491
  itemScope: { required: false, control: "boolean", type: "boolean" },
441
492
  itemType: { required: false, control: "text", type: "string" },
442
- lang: { required: false, control: "text", type: "string" },
493
+ lang: {
494
+ required: false,
495
+ control: "text",
496
+ type: "string",
497
+ description: "Defines the language used in the element.",
498
+ },
443
499
  nonce: { required: false, control: "text", type: "string" },
444
500
  orientation: {
445
501
  description:
@@ -449,18 +505,46 @@ export const propsTabs: Record<string, PropMeta> = {
449
505
  type: "string",
450
506
  options: ["horizontal", "vertical"],
451
507
  },
452
- placeholder: { required: false, control: "text", type: "string" },
508
+ placeholder: {
509
+ required: false,
510
+ control: "text",
511
+ type: "string",
512
+ description:
513
+ "Provides a hint to the user of what can be entered in the field.",
514
+ },
453
515
  prefix: { required: false, control: "text", type: "string" },
454
516
  property: { required: false, control: "text", type: "string" },
455
517
  radioGroup: { required: false, control: "text", type: "string" },
456
- rel: { required: false, control: "text", type: "string" },
518
+ rel: {
519
+ required: false,
520
+ control: "text",
521
+ type: "string",
522
+ description:
523
+ "Specifies the relationship of the target object to the link object.",
524
+ },
457
525
  resource: { required: false, control: "text", type: "string" },
458
526
  results: { required: false, control: "number", type: "number" },
459
527
  rev: { required: false, control: "text", type: "string" },
460
- role: { required: false, control: "text", type: "string" },
528
+ role: {
529
+ required: false,
530
+ control: "text",
531
+ type: "string",
532
+ description:
533
+ "Defines an explicit role for an element for use by assistive technologies.",
534
+ },
461
535
  security: { required: false, control: "text", type: "string" },
462
- slot: { required: false, control: "text", type: "string" },
463
- spellCheck: { required: false, control: "boolean", type: "boolean" },
536
+ slot: {
537
+ required: false,
538
+ control: "text",
539
+ type: "string",
540
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
541
+ },
542
+ spellCheck: {
543
+ required: false,
544
+ control: "boolean",
545
+ type: "boolean",
546
+ description: "Indicates whether spell checking is allowed for the element.",
547
+ },
464
548
  suppressContentEditableWarning: {
465
549
  required: false,
466
550
  control: "boolean",
@@ -471,13 +555,27 @@ export const propsTabs: Record<string, PropMeta> = {
471
555
  control: "boolean",
472
556
  type: "boolean",
473
557
  },
474
- tabIndex: { required: false, control: "number", type: "number" },
475
- title: { required: false, control: "text", type: "string" },
558
+ tabIndex: {
559
+ required: false,
560
+ control: "number",
561
+ type: "number",
562
+ description:
563
+ "Overrides the browser's default tab order and follows the one specified instead.",
564
+ },
565
+ title: {
566
+ required: false,
567
+ control: "text",
568
+ type: "string",
569
+ description:
570
+ "Text to be displayed in a tooltip when hovering over the element.",
571
+ },
476
572
  translate: {
477
573
  required: false,
478
574
  control: "radio",
479
575
  type: "string",
480
576
  options: ["yes", "no"],
577
+ description:
578
+ "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.",
481
579
  },
482
580
  typeof: { required: false, control: "text", type: "string" },
483
581
  unselectable: {
@@ -496,7 +594,12 @@ export const propsTabs: Record<string, PropMeta> = {
496
594
  };
497
595
  export const propsTabsList: Record<string, PropMeta> = {
498
596
  about: { required: false, control: "text", type: "string" },
499
- accessKey: { required: false, control: "text", type: "string" },
597
+ accessKey: {
598
+ required: false,
599
+ control: "text",
600
+ type: "string",
601
+ description: "Keyboard shortcut to activate or add focus to the element.",
602
+ },
500
603
  "aria-activedescendant": {
501
604
  description:
502
605
  "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
@@ -677,7 +780,7 @@ export const propsTabsList: Record<string, PropMeta> = {
677
780
  },
678
781
  "aria-label": {
679
782
  description:
680
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
783
+ "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.",
681
784
  required: false,
682
785
  control: "text",
683
786
  type: "string",
@@ -876,21 +979,72 @@ export const propsTabsList: Record<string, PropMeta> = {
876
979
  control: "text",
877
980
  type: "string",
878
981
  },
879
- asChild: { required: false, control: "boolean", type: "boolean" },
880
- autoCapitalize: { required: false, control: "text", type: "string" },
982
+ autoCapitalize: {
983
+ required: false,
984
+ control: "text",
985
+ type: "string",
986
+ description:
987
+ "Sets whether input is automatically capitalized when entered by user.",
988
+ },
881
989
  autoCorrect: { required: false, control: "text", type: "string" },
882
- autoFocus: { required: false, control: "boolean", type: "boolean" },
990
+ autoFocus: {
991
+ required: false,
992
+ control: "boolean",
993
+ type: "boolean",
994
+ description:
995
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
996
+ },
883
997
  autoSave: { required: false, control: "text", type: "string" },
884
998
  className: { required: false, control: "text", type: "string" },
885
- color: { required: false, control: "color", type: "string" },
886
- content: { required: false, control: "text", type: "string" },
887
- contextMenu: { required: false, control: "text", type: "string" },
999
+ color: {
1000
+ required: false,
1001
+ control: "color",
1002
+ type: "string",
1003
+ description:
1004
+ "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.",
1005
+ },
1006
+ content: {
1007
+ required: false,
1008
+ control: "text",
1009
+ type: "string",
1010
+ description:
1011
+ "A value associated with http-equiv orname depending on the context.",
1012
+ },
1013
+ contextMenu: {
1014
+ required: false,
1015
+ control: "text",
1016
+ type: "string",
1017
+ description:
1018
+ "Defines the ID of a menu element which willserve as the element's context menu.",
1019
+ },
888
1020
  datatype: { required: false, control: "text", type: "string" },
889
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
890
- dir: { required: false, control: "text", type: "string" },
891
- draggable: { required: false, control: "boolean", type: "boolean" },
892
- hidden: { required: false, control: "boolean", type: "boolean" },
893
- id: { required: false, control: "text", type: "string" },
1021
+ dir: {
1022
+ required: false,
1023
+ control: "text",
1024
+ type: "string",
1025
+ description:
1026
+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
1027
+ },
1028
+ draggable: {
1029
+ required: false,
1030
+ control: "boolean",
1031
+ type: "boolean",
1032
+ description: "Defines whether the element can be dragged.",
1033
+ },
1034
+ hidden: {
1035
+ required: false,
1036
+ control: "boolean",
1037
+ type: "boolean",
1038
+ description:
1039
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
1040
+ },
1041
+ id: {
1042
+ required: false,
1043
+ control: "text",
1044
+ type: "string",
1045
+ description:
1046
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
1047
+ },
894
1048
  inputMode: {
895
1049
  description:
896
1050
  "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",
@@ -920,21 +1074,60 @@ export const propsTabsList: Record<string, PropMeta> = {
920
1074
  itemRef: { required: false, control: "text", type: "string" },
921
1075
  itemScope: { required: false, control: "boolean", type: "boolean" },
922
1076
  itemType: { required: false, control: "text", type: "string" },
923
- lang: { required: false, control: "text", type: "string" },
924
- loop: { required: false, control: "boolean", type: "boolean" },
1077
+ lang: {
1078
+ required: false,
1079
+ control: "text",
1080
+ type: "string",
1081
+ description: "Defines the language used in the element.",
1082
+ },
1083
+ loop: {
1084
+ required: false,
1085
+ control: "boolean",
1086
+ type: "boolean",
1087
+ description:
1088
+ "Indicates whether the media should start playing from the start when it's finished.",
1089
+ },
925
1090
  nonce: { required: false, control: "text", type: "string" },
926
- placeholder: { required: false, control: "text", type: "string" },
1091
+ placeholder: {
1092
+ required: false,
1093
+ control: "text",
1094
+ type: "string",
1095
+ description:
1096
+ "Provides a hint to the user of what can be entered in the field.",
1097
+ },
927
1098
  prefix: { required: false, control: "text", type: "string" },
928
1099
  property: { required: false, control: "text", type: "string" },
929
1100
  radioGroup: { required: false, control: "text", type: "string" },
930
- rel: { required: false, control: "text", type: "string" },
1101
+ rel: {
1102
+ required: false,
1103
+ control: "text",
1104
+ type: "string",
1105
+ description:
1106
+ "Specifies the relationship of the target object to the link object.",
1107
+ },
931
1108
  resource: { required: false, control: "text", type: "string" },
932
1109
  results: { required: false, control: "number", type: "number" },
933
1110
  rev: { required: false, control: "text", type: "string" },
934
- role: { required: false, control: "text", type: "string" },
1111
+ role: {
1112
+ required: false,
1113
+ control: "text",
1114
+ type: "string",
1115
+ description:
1116
+ "Defines an explicit role for an element for use by assistive technologies.",
1117
+ },
935
1118
  security: { required: false, control: "text", type: "string" },
936
- slot: { required: false, control: "text", type: "string" },
937
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1119
+ slot: {
1120
+ required: false,
1121
+ control: "text",
1122
+ type: "string",
1123
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
1124
+ },
1125
+ spellCheck: {
1126
+ required: false,
1127
+ control: "boolean",
1128
+ type: "boolean",
1129
+ description: "Indicates whether spell checking is allowed for the element.",
1130
+ },
938
1131
  suppressContentEditableWarning: {
939
1132
  required: false,
940
1133
  control: "boolean",
@@ -945,13 +1138,27 @@ export const propsTabsList: Record<string, PropMeta> = {
945
1138
  control: "boolean",
946
1139
  type: "boolean",
947
1140
  },
948
- tabIndex: { required: false, control: "number", type: "number" },
949
- title: { required: false, control: "text", type: "string" },
1141
+ tabIndex: {
1142
+ required: false,
1143
+ control: "number",
1144
+ type: "number",
1145
+ description:
1146
+ "Overrides the browser's default tab order and follows the one specified instead.",
1147
+ },
1148
+ title: {
1149
+ required: false,
1150
+ control: "text",
1151
+ type: "string",
1152
+ description:
1153
+ "Text to be displayed in a tooltip when hovering over the element.",
1154
+ },
950
1155
  translate: {
951
1156
  required: false,
952
1157
  control: "radio",
953
1158
  type: "string",
954
1159
  options: ["yes", "no"],
1160
+ description:
1161
+ "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.",
955
1162
  },
956
1163
  typeof: { required: false, control: "text", type: "string" },
957
1164
  unselectable: {
@@ -963,11 +1170,13 @@ export const propsTabsList: Record<string, PropMeta> = {
963
1170
  vocab: { required: false, control: "text", type: "string" },
964
1171
  };
965
1172
  export const propsTabsTrigger: Record<string, PropMeta> = {
966
- value: { required: true, control: "text", type: "string" },
967
- };
968
- export const propsTabsContent: Record<string, PropMeta> = {
969
1173
  about: { required: false, control: "text", type: "string" },
970
- accessKey: { required: false, control: "text", type: "string" },
1174
+ accessKey: {
1175
+ required: false,
1176
+ control: "text",
1177
+ type: "string",
1178
+ description: "Keyboard shortcut to activate or add focus to the element.",
1179
+ },
971
1180
  "aria-activedescendant": {
972
1181
  description:
973
1182
  "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
@@ -1148,7 +1357,7 @@ export const propsTabsContent: Record<string, PropMeta> = {
1148
1357
  },
1149
1358
  "aria-label": {
1150
1359
  description:
1151
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
1360
+ "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.",
1152
1361
  required: false,
1153
1362
  control: "text",
1154
1363
  type: "string",
@@ -1347,20 +1556,119 @@ export const propsTabsContent: Record<string, PropMeta> = {
1347
1556
  control: "text",
1348
1557
  type: "string",
1349
1558
  },
1350
- autoCapitalize: { required: false, control: "text", type: "string" },
1559
+ autoCapitalize: {
1560
+ required: false,
1561
+ control: "text",
1562
+ type: "string",
1563
+ description:
1564
+ "Sets whether input is automatically capitalized when entered by user.",
1565
+ },
1351
1566
  autoCorrect: { required: false, control: "text", type: "string" },
1352
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1567
+ autoFocus: {
1568
+ required: false,
1569
+ control: "boolean",
1570
+ type: "boolean",
1571
+ description:
1572
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
1573
+ },
1353
1574
  autoSave: { required: false, control: "text", type: "string" },
1354
1575
  className: { required: false, control: "text", type: "string" },
1355
- color: { required: false, control: "color", type: "string" },
1356
- content: { required: false, control: "text", type: "string" },
1357
- contextMenu: { required: false, control: "text", type: "string" },
1576
+ color: {
1577
+ required: false,
1578
+ control: "color",
1579
+ type: "string",
1580
+ description:
1581
+ "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.",
1582
+ },
1583
+ content: {
1584
+ required: false,
1585
+ control: "text",
1586
+ type: "string",
1587
+ description:
1588
+ "A value associated with http-equiv orname depending on the context.",
1589
+ },
1590
+ contextMenu: {
1591
+ required: false,
1592
+ control: "text",
1593
+ type: "string",
1594
+ description:
1595
+ "Defines the ID of a menu element which willserve as the element's context menu.",
1596
+ },
1358
1597
  datatype: { required: false, control: "text", type: "string" },
1359
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
1360
- dir: { required: false, control: "text", type: "string" },
1361
- draggable: { required: false, control: "boolean", type: "boolean" },
1362
- hidden: { required: false, control: "boolean", type: "boolean" },
1363
- id: { required: false, control: "text", type: "string" },
1598
+ dir: {
1599
+ required: false,
1600
+ control: "text",
1601
+ type: "string",
1602
+ description:
1603
+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
1604
+ },
1605
+ disabled: {
1606
+ required: false,
1607
+ control: "boolean",
1608
+ type: "boolean",
1609
+ description: "Indicates whether the user can interact with the element.",
1610
+ },
1611
+ draggable: {
1612
+ required: false,
1613
+ control: "boolean",
1614
+ type: "boolean",
1615
+ description: "Defines whether the element can be dragged.",
1616
+ },
1617
+ form: {
1618
+ required: false,
1619
+ control: "text",
1620
+ type: "string",
1621
+ description: "Indicates the form that is the owner of the element.",
1622
+ },
1623
+ formAction: {
1624
+ required: false,
1625
+ control: "text",
1626
+ type: "string",
1627
+ description:
1628
+ "Indicates the action of the element, overriding the action defined inthe form.",
1629
+ },
1630
+ formEncType: {
1631
+ required: false,
1632
+ control: "text",
1633
+ type: "string",
1634
+ description:
1635
+ '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.',
1636
+ },
1637
+ formMethod: {
1638
+ required: false,
1639
+ control: "text",
1640
+ type: "string",
1641
+ description:
1642
+ '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.',
1643
+ },
1644
+ formNoValidate: {
1645
+ required: false,
1646
+ control: "boolean",
1647
+ type: "boolean",
1648
+ description:
1649
+ '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.',
1650
+ },
1651
+ formTarget: {
1652
+ required: false,
1653
+ control: "text",
1654
+ type: "string",
1655
+ description:
1656
+ '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.',
1657
+ },
1658
+ hidden: {
1659
+ required: false,
1660
+ control: "boolean",
1661
+ type: "boolean",
1662
+ description:
1663
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
1664
+ },
1665
+ id: {
1666
+ required: false,
1667
+ control: "text",
1668
+ type: "string",
1669
+ description:
1670
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
1671
+ },
1364
1672
  inputMode: {
1365
1673
  description:
1366
1674
  "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",
@@ -1390,20 +1698,644 @@ export const propsTabsContent: Record<string, PropMeta> = {
1390
1698
  itemRef: { required: false, control: "text", type: "string" },
1391
1699
  itemScope: { required: false, control: "boolean", type: "boolean" },
1392
1700
  itemType: { required: false, control: "text", type: "string" },
1393
- lang: { required: false, control: "text", type: "string" },
1394
- nonce: { required: false, control: "text", type: "string" },
1395
- placeholder: { required: false, control: "text", type: "string" },
1396
- prefix: { required: false, control: "text", type: "string" },
1701
+ lang: {
1702
+ required: false,
1703
+ control: "text",
1704
+ type: "string",
1705
+ description: "Defines the language used in the element.",
1706
+ },
1707
+ name: {
1708
+ required: false,
1709
+ control: "text",
1710
+ type: "string",
1711
+ description:
1712
+ "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).",
1713
+ },
1714
+ nonce: { required: false, control: "text", type: "string" },
1715
+ placeholder: {
1716
+ required: false,
1717
+ control: "text",
1718
+ type: "string",
1719
+ description:
1720
+ "Provides a hint to the user of what can be entered in the field.",
1721
+ },
1722
+ prefix: { required: false, control: "text", type: "string" },
1723
+ property: { required: false, control: "text", type: "string" },
1724
+ radioGroup: { required: false, control: "text", type: "string" },
1725
+ rel: {
1726
+ required: false,
1727
+ control: "text",
1728
+ type: "string",
1729
+ description:
1730
+ "Specifies the relationship of the target object to the link object.",
1731
+ },
1732
+ resource: { required: false, control: "text", type: "string" },
1733
+ results: { required: false, control: "number", type: "number" },
1734
+ rev: { required: false, control: "text", type: "string" },
1735
+ role: {
1736
+ required: false,
1737
+ control: "text",
1738
+ type: "string",
1739
+ description:
1740
+ "Defines an explicit role for an element for use by assistive technologies.",
1741
+ },
1742
+ security: { required: false, control: "text", type: "string" },
1743
+ slot: {
1744
+ required: false,
1745
+ control: "text",
1746
+ type: "string",
1747
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
1748
+ },
1749
+ spellCheck: {
1750
+ required: false,
1751
+ control: "boolean",
1752
+ type: "boolean",
1753
+ description: "Indicates whether spell checking is allowed for the element.",
1754
+ },
1755
+ suppressContentEditableWarning: {
1756
+ required: false,
1757
+ control: "boolean",
1758
+ type: "boolean",
1759
+ },
1760
+ suppressHydrationWarning: {
1761
+ required: false,
1762
+ control: "boolean",
1763
+ type: "boolean",
1764
+ },
1765
+ tabIndex: {
1766
+ required: false,
1767
+ control: "number",
1768
+ type: "number",
1769
+ description:
1770
+ "Overrides the browser's default tab order and follows the one specified instead.",
1771
+ },
1772
+ title: {
1773
+ required: false,
1774
+ control: "text",
1775
+ type: "string",
1776
+ description:
1777
+ "Text to be displayed in a tooltip when hovering over the element.",
1778
+ },
1779
+ translate: {
1780
+ required: false,
1781
+ control: "radio",
1782
+ type: "string",
1783
+ options: ["yes", "no"],
1784
+ description:
1785
+ "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.",
1786
+ },
1787
+ type: {
1788
+ required: false,
1789
+ control: "radio",
1790
+ type: "string",
1791
+ options: ["button", "submit", "reset"],
1792
+ description: "Defines the type of the element.",
1793
+ },
1794
+ typeof: { required: false, control: "text", type: "string" },
1795
+ unselectable: {
1796
+ required: false,
1797
+ control: "radio",
1798
+ type: "string",
1799
+ options: ["on", "off"],
1800
+ },
1801
+ value: {
1802
+ required: true,
1803
+ control: "text",
1804
+ type: "string",
1805
+ description:
1806
+ "Defines a default value which will be displayed in the element on pageload.",
1807
+ },
1808
+ vocab: { required: false, control: "text", type: "string" },
1809
+ };
1810
+ export const propsTabsContent: Record<string, PropMeta> = {
1811
+ about: { required: false, control: "text", type: "string" },
1812
+ accessKey: {
1813
+ required: false,
1814
+ control: "text",
1815
+ type: "string",
1816
+ description: "Keyboard shortcut to activate or add focus to the element.",
1817
+ },
1818
+ "aria-activedescendant": {
1819
+ description:
1820
+ "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
1821
+ required: false,
1822
+ control: "text",
1823
+ type: "string",
1824
+ },
1825
+ "aria-atomic": {
1826
+ description:
1827
+ "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.",
1828
+ required: false,
1829
+ control: "boolean",
1830
+ type: "boolean",
1831
+ },
1832
+ "aria-autocomplete": {
1833
+ description:
1834
+ "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.",
1835
+ required: false,
1836
+ control: "select",
1837
+ type: "string",
1838
+ options: ["list", "none", "inline", "both"],
1839
+ },
1840
+ "aria-braillelabel": {
1841
+ description:
1842
+ "Defines a string value that labels the current element, which is intended to be converted into Braille.\n@see aria-label.",
1843
+ required: false,
1844
+ control: "text",
1845
+ type: "string",
1846
+ },
1847
+ "aria-brailleroledescription": {
1848
+ description:
1849
+ "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.",
1850
+ required: false,
1851
+ control: "text",
1852
+ type: "string",
1853
+ },
1854
+ "aria-busy": { required: false, control: "boolean", type: "boolean" },
1855
+ "aria-checked": {
1856
+ description:
1857
+ 'Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.\n@see aria-pressed\n@see aria-selected.',
1858
+ required: false,
1859
+ control: "text",
1860
+ type: "string",
1861
+ },
1862
+ "aria-colcount": {
1863
+ description:
1864
+ "Defines the total number of columns in a table, grid, or treegrid.\n@see aria-colindex.",
1865
+ required: false,
1866
+ control: "number",
1867
+ type: "number",
1868
+ },
1869
+ "aria-colindex": {
1870
+ description:
1871
+ "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.",
1872
+ required: false,
1873
+ control: "number",
1874
+ type: "number",
1875
+ },
1876
+ "aria-colindextext": {
1877
+ description:
1878
+ "Defines a human readable text alternative of aria-colindex.\n@see aria-rowindextext.",
1879
+ required: false,
1880
+ control: "text",
1881
+ type: "string",
1882
+ },
1883
+ "aria-colspan": {
1884
+ description:
1885
+ "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.",
1886
+ required: false,
1887
+ control: "number",
1888
+ type: "number",
1889
+ },
1890
+ "aria-controls": {
1891
+ description:
1892
+ "Identifies the element (or elements) whose contents or presence are controlled by the current element.\n@see aria-owns.",
1893
+ required: false,
1894
+ control: "text",
1895
+ type: "string",
1896
+ },
1897
+ "aria-current": {
1898
+ description:
1899
+ "Indicates the element that represents the current item within a container or set of related elements.",
1900
+ required: false,
1901
+ control: "text",
1902
+ type: "string",
1903
+ },
1904
+ "aria-describedby": {
1905
+ description:
1906
+ "Identifies the element (or elements) that describes the object.\n@see aria-labelledby",
1907
+ required: false,
1908
+ control: "text",
1909
+ type: "string",
1910
+ },
1911
+ "aria-description": {
1912
+ description:
1913
+ "Defines a string value that describes or annotates the current element.\n@see related aria-describedby.",
1914
+ required: false,
1915
+ control: "text",
1916
+ type: "string",
1917
+ },
1918
+ "aria-details": {
1919
+ description:
1920
+ "Identifies the element that provides a detailed, extended description for the object.\n@see aria-describedby.",
1921
+ required: false,
1922
+ control: "text",
1923
+ type: "string",
1924
+ },
1925
+ "aria-disabled": {
1926
+ description:
1927
+ "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.\n@see aria-hidden\n@see aria-readonly.",
1928
+ required: false,
1929
+ control: "boolean",
1930
+ type: "boolean",
1931
+ },
1932
+ "aria-dropeffect": {
1933
+ description:
1934
+ "Indicates what functions can be performed when a dragged object is released on the drop target.\n@deprecated in ARIA 1.1",
1935
+ required: false,
1936
+ control: "select",
1937
+ type: "string",
1938
+ options: ["link", "none", "copy", "execute", "move", "popup"],
1939
+ },
1940
+ "aria-errormessage": {
1941
+ description:
1942
+ "Identifies the element that provides an error message for the object.\n@see aria-invalid\n@see aria-describedby.",
1943
+ required: false,
1944
+ control: "text",
1945
+ type: "string",
1946
+ },
1947
+ "aria-expanded": {
1948
+ description:
1949
+ "Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.",
1950
+ required: false,
1951
+ control: "boolean",
1952
+ type: "boolean",
1953
+ },
1954
+ "aria-flowto": {
1955
+ description:
1956
+ "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.",
1957
+ required: false,
1958
+ control: "text",
1959
+ type: "string",
1960
+ },
1961
+ "aria-grabbed": {
1962
+ description:
1963
+ 'Indicates an element\'s "grabbed" state in a drag-and-drop operation.\n@deprecated in ARIA 1.1',
1964
+ required: false,
1965
+ control: "boolean",
1966
+ type: "boolean",
1967
+ },
1968
+ "aria-haspopup": {
1969
+ description:
1970
+ "Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.",
1971
+ required: false,
1972
+ control: "text",
1973
+ type: "string",
1974
+ },
1975
+ "aria-hidden": {
1976
+ description:
1977
+ "Indicates whether the element is exposed to an accessibility API.\n@see aria-disabled.",
1978
+ required: false,
1979
+ control: "boolean",
1980
+ type: "boolean",
1981
+ },
1982
+ "aria-invalid": {
1983
+ description:
1984
+ "Indicates the entered value does not conform to the format expected by the application.\n@see aria-errormessage.",
1985
+ required: false,
1986
+ control: "text",
1987
+ type: "string",
1988
+ },
1989
+ "aria-keyshortcuts": {
1990
+ description:
1991
+ "Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.",
1992
+ required: false,
1993
+ control: "text",
1994
+ type: "string",
1995
+ },
1996
+ "aria-label": {
1997
+ description:
1998
+ "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.",
1999
+ required: false,
2000
+ control: "text",
2001
+ type: "string",
2002
+ },
2003
+ "aria-labelledby": {
2004
+ description:
2005
+ "Identifies the element (or elements) that labels the current element.\n@see aria-describedby.",
2006
+ required: false,
2007
+ control: "text",
2008
+ type: "string",
2009
+ },
2010
+ "aria-level": {
2011
+ description:
2012
+ "Defines the hierarchical level of an element within a structure.",
2013
+ required: false,
2014
+ control: "number",
2015
+ type: "number",
2016
+ },
2017
+ "aria-live": {
2018
+ description:
2019
+ "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.",
2020
+ required: false,
2021
+ control: "radio",
2022
+ type: "string",
2023
+ options: ["off", "assertive", "polite"],
2024
+ },
2025
+ "aria-modal": {
2026
+ description: "Indicates whether an element is modal when displayed.",
2027
+ required: false,
2028
+ control: "boolean",
2029
+ type: "boolean",
2030
+ },
2031
+ "aria-multiline": {
2032
+ description:
2033
+ "Indicates whether a text box accepts multiple lines of input or only a single line.",
2034
+ required: false,
2035
+ control: "boolean",
2036
+ type: "boolean",
2037
+ },
2038
+ "aria-multiselectable": {
2039
+ description:
2040
+ "Indicates that the user may select more than one item from the current selectable descendants.",
2041
+ required: false,
2042
+ control: "boolean",
2043
+ type: "boolean",
2044
+ },
2045
+ "aria-orientation": {
2046
+ description:
2047
+ "Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.",
2048
+ required: false,
2049
+ control: "radio",
2050
+ type: "string",
2051
+ options: ["horizontal", "vertical"],
2052
+ },
2053
+ "aria-owns": {
2054
+ description:
2055
+ "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.",
2056
+ required: false,
2057
+ control: "text",
2058
+ type: "string",
2059
+ },
2060
+ "aria-placeholder": {
2061
+ description:
2062
+ "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.",
2063
+ required: false,
2064
+ control: "text",
2065
+ type: "string",
2066
+ },
2067
+ "aria-posinset": {
2068
+ description:
2069
+ "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.",
2070
+ required: false,
2071
+ control: "number",
2072
+ type: "number",
2073
+ },
2074
+ "aria-pressed": {
2075
+ description:
2076
+ 'Indicates the current "pressed" state of toggle buttons.\n@see aria-checked\n@see aria-selected.',
2077
+ required: false,
2078
+ control: "text",
2079
+ type: "string",
2080
+ },
2081
+ "aria-readonly": {
2082
+ description:
2083
+ "Indicates that the element is not editable, but is otherwise operable.\n@see aria-disabled.",
2084
+ required: false,
2085
+ control: "boolean",
2086
+ type: "boolean",
2087
+ },
2088
+ "aria-relevant": {
2089
+ description:
2090
+ "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.\n@see aria-atomic.",
2091
+ required: false,
2092
+ control: "select",
2093
+ type: "string",
2094
+ options: [
2095
+ "text",
2096
+ "additions",
2097
+ "additions removals",
2098
+ "additions text",
2099
+ "all",
2100
+ "removals",
2101
+ "removals additions",
2102
+ "removals text",
2103
+ "text additions",
2104
+ "text removals",
2105
+ ],
2106
+ },
2107
+ "aria-required": {
2108
+ description:
2109
+ "Indicates that user input is required on the element before a form may be submitted.",
2110
+ required: false,
2111
+ control: "boolean",
2112
+ type: "boolean",
2113
+ },
2114
+ "aria-roledescription": {
2115
+ description:
2116
+ "Defines a human-readable, author-localized description for the role of an element.",
2117
+ required: false,
2118
+ control: "text",
2119
+ type: "string",
2120
+ },
2121
+ "aria-rowcount": {
2122
+ description:
2123
+ "Defines the total number of rows in a table, grid, or treegrid.\n@see aria-rowindex.",
2124
+ required: false,
2125
+ control: "number",
2126
+ type: "number",
2127
+ },
2128
+ "aria-rowindex": {
2129
+ description:
2130
+ "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.",
2131
+ required: false,
2132
+ control: "number",
2133
+ type: "number",
2134
+ },
2135
+ "aria-rowindextext": {
2136
+ description:
2137
+ "Defines a human readable text alternative of aria-rowindex.\n@see aria-colindextext.",
2138
+ required: false,
2139
+ control: "text",
2140
+ type: "string",
2141
+ },
2142
+ "aria-rowspan": {
2143
+ description:
2144
+ "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.",
2145
+ required: false,
2146
+ control: "number",
2147
+ type: "number",
2148
+ },
2149
+ "aria-selected": {
2150
+ description:
2151
+ 'Indicates the current "selected" state of various widgets.\n@see aria-checked\n@see aria-pressed.',
2152
+ required: false,
2153
+ control: "boolean",
2154
+ type: "boolean",
2155
+ },
2156
+ "aria-setsize": {
2157
+ description:
2158
+ "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.",
2159
+ required: false,
2160
+ control: "number",
2161
+ type: "number",
2162
+ },
2163
+ "aria-sort": {
2164
+ description:
2165
+ "Indicates if items in a table or grid are sorted in ascending or descending order.",
2166
+ required: false,
2167
+ control: "select",
2168
+ type: "string",
2169
+ options: ["none", "ascending", "descending", "other"],
2170
+ },
2171
+ "aria-valuemax": {
2172
+ description: "Defines the maximum allowed value for a range widget.",
2173
+ required: false,
2174
+ control: "number",
2175
+ type: "number",
2176
+ },
2177
+ "aria-valuemin": {
2178
+ description: "Defines the minimum allowed value for a range widget.",
2179
+ required: false,
2180
+ control: "number",
2181
+ type: "number",
2182
+ },
2183
+ "aria-valuenow": {
2184
+ description:
2185
+ "Defines the current value for a range widget.\n@see aria-valuetext.",
2186
+ required: false,
2187
+ control: "number",
2188
+ type: "number",
2189
+ },
2190
+ "aria-valuetext": {
2191
+ description:
2192
+ "Defines the human readable text alternative of aria-valuenow for a range widget.",
2193
+ required: false,
2194
+ control: "text",
2195
+ type: "string",
2196
+ },
2197
+ autoCapitalize: {
2198
+ required: false,
2199
+ control: "text",
2200
+ type: "string",
2201
+ description:
2202
+ "Sets whether input is automatically capitalized when entered by user.",
2203
+ },
2204
+ autoCorrect: { required: false, control: "text", type: "string" },
2205
+ autoFocus: {
2206
+ required: false,
2207
+ control: "boolean",
2208
+ type: "boolean",
2209
+ description:
2210
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
2211
+ },
2212
+ autoSave: { required: false, control: "text", type: "string" },
2213
+ className: { required: false, control: "text", type: "string" },
2214
+ color: {
2215
+ required: false,
2216
+ control: "color",
2217
+ type: "string",
2218
+ description:
2219
+ "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.",
2220
+ },
2221
+ content: {
2222
+ required: false,
2223
+ control: "text",
2224
+ type: "string",
2225
+ description:
2226
+ "A value associated with http-equiv orname depending on the context.",
2227
+ },
2228
+ contextMenu: {
2229
+ required: false,
2230
+ control: "text",
2231
+ type: "string",
2232
+ description:
2233
+ "Defines the ID of a menu element which willserve as the element's context menu.",
2234
+ },
2235
+ datatype: { required: false, control: "text", type: "string" },
2236
+ dir: {
2237
+ required: false,
2238
+ control: "text",
2239
+ type: "string",
2240
+ description:
2241
+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
2242
+ },
2243
+ draggable: {
2244
+ required: false,
2245
+ control: "boolean",
2246
+ type: "boolean",
2247
+ description: "Defines whether the element can be dragged.",
2248
+ },
2249
+ hidden: {
2250
+ required: false,
2251
+ control: "boolean",
2252
+ type: "boolean",
2253
+ description:
2254
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
2255
+ },
2256
+ id: {
2257
+ required: false,
2258
+ control: "text",
2259
+ type: "string",
2260
+ description:
2261
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
2262
+ },
2263
+ inputMode: {
2264
+ description:
2265
+ "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",
2266
+ required: false,
2267
+ control: "select",
2268
+ type: "string",
2269
+ options: [
2270
+ "search",
2271
+ "text",
2272
+ "none",
2273
+ "tel",
2274
+ "url",
2275
+ "email",
2276
+ "numeric",
2277
+ "decimal",
2278
+ ],
2279
+ },
2280
+ is: {
2281
+ description:
2282
+ "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",
2283
+ required: false,
2284
+ control: "text",
2285
+ type: "string",
2286
+ },
2287
+ itemID: { required: false, control: "text", type: "string" },
2288
+ itemProp: { required: false, control: "text", type: "string" },
2289
+ itemRef: { required: false, control: "text", type: "string" },
2290
+ itemScope: { required: false, control: "boolean", type: "boolean" },
2291
+ itemType: { required: false, control: "text", type: "string" },
2292
+ lang: {
2293
+ required: false,
2294
+ control: "text",
2295
+ type: "string",
2296
+ description: "Defines the language used in the element.",
2297
+ },
2298
+ nonce: { required: false, control: "text", type: "string" },
2299
+ placeholder: {
2300
+ required: false,
2301
+ control: "text",
2302
+ type: "string",
2303
+ description:
2304
+ "Provides a hint to the user of what can be entered in the field.",
2305
+ },
2306
+ prefix: { required: false, control: "text", type: "string" },
1397
2307
  property: { required: false, control: "text", type: "string" },
1398
2308
  radioGroup: { required: false, control: "text", type: "string" },
1399
- rel: { required: false, control: "text", type: "string" },
2309
+ rel: {
2310
+ required: false,
2311
+ control: "text",
2312
+ type: "string",
2313
+ description:
2314
+ "Specifies the relationship of the target object to the link object.",
2315
+ },
1400
2316
  resource: { required: false, control: "text", type: "string" },
1401
2317
  results: { required: false, control: "number", type: "number" },
1402
2318
  rev: { required: false, control: "text", type: "string" },
1403
- role: { required: false, control: "text", type: "string" },
2319
+ role: {
2320
+ required: false,
2321
+ control: "text",
2322
+ type: "string",
2323
+ description:
2324
+ "Defines an explicit role for an element for use by assistive technologies.",
2325
+ },
1404
2326
  security: { required: false, control: "text", type: "string" },
1405
- slot: { required: false, control: "text", type: "string" },
1406
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2327
+ slot: {
2328
+ required: false,
2329
+ control: "text",
2330
+ type: "string",
2331
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
2332
+ },
2333
+ spellCheck: {
2334
+ required: false,
2335
+ control: "boolean",
2336
+ type: "boolean",
2337
+ description: "Indicates whether spell checking is allowed for the element.",
2338
+ },
1407
2339
  suppressContentEditableWarning: {
1408
2340
  required: false,
1409
2341
  control: "boolean",
@@ -1414,13 +2346,27 @@ export const propsTabsContent: Record<string, PropMeta> = {
1414
2346
  control: "boolean",
1415
2347
  type: "boolean",
1416
2348
  },
1417
- tabIndex: { required: false, control: "number", type: "number" },
1418
- title: { required: false, control: "text", type: "string" },
2349
+ tabIndex: {
2350
+ required: false,
2351
+ control: "number",
2352
+ type: "number",
2353
+ description:
2354
+ "Overrides the browser's default tab order and follows the one specified instead.",
2355
+ },
2356
+ title: {
2357
+ required: false,
2358
+ control: "text",
2359
+ type: "string",
2360
+ description:
2361
+ "Text to be displayed in a tooltip when hovering over the element.",
2362
+ },
1419
2363
  translate: {
1420
2364
  required: false,
1421
2365
  control: "radio",
1422
2366
  type: "string",
1423
2367
  options: ["yes", "no"],
2368
+ description:
2369
+ "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.",
1424
2370
  },
1425
2371
  typeof: { required: false, control: "text", type: "string" },
1426
2372
  unselectable: {
@@ -1429,6 +2375,12 @@ export const propsTabsContent: Record<string, PropMeta> = {
1429
2375
  type: "string",
1430
2376
  options: ["on", "off"],
1431
2377
  },
1432
- value: { required: true, control: "text", type: "string" },
2378
+ value: {
2379
+ required: true,
2380
+ control: "text",
2381
+ type: "string",
2382
+ description:
2383
+ "Defines a default value which will be displayed in the element on pageload.",
2384
+ },
1433
2385
  vocab: { required: false, control: "text", type: "string" },
1434
2386
  };