@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,13 +1,23 @@
1
1
  import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
2
 
3
3
  export const propsSheet: Record<string, PropMeta> = {
4
- modal: { required: false, control: "boolean", type: "boolean" },
5
- open: { required: false, control: "boolean", type: "boolean" },
4
+ open: {
5
+ required: false,
6
+ control: "boolean",
7
+ type: "boolean",
8
+ description:
9
+ "Show or hide the content of this component on the canvas. This will not affect the initial state of the component.",
10
+ },
6
11
  };
7
12
  export const propsSheetTrigger: Record<string, PropMeta> = {};
8
13
  export const propsSheetOverlay: Record<string, PropMeta> = {
9
14
  about: { required: false, control: "text", type: "string" },
10
- accessKey: { required: false, control: "text", type: "string" },
15
+ accessKey: {
16
+ required: false,
17
+ control: "text",
18
+ type: "string",
19
+ description: "Keyboard shortcut to activate or add focus to the element.",
20
+ },
11
21
  "aria-activedescendant": {
12
22
  description:
13
23
  "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
@@ -188,7 +198,7 @@ export const propsSheetOverlay: Record<string, PropMeta> = {
188
198
  },
189
199
  "aria-label": {
190
200
  description:
191
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
201
+ "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.",
192
202
  required: false,
193
203
  control: "text",
194
204
  type: "string",
@@ -387,21 +397,72 @@ export const propsSheetOverlay: Record<string, PropMeta> = {
387
397
  control: "text",
388
398
  type: "string",
389
399
  },
390
- asChild: { required: false, control: "boolean", type: "boolean" },
391
- autoCapitalize: { required: false, control: "text", type: "string" },
400
+ autoCapitalize: {
401
+ required: false,
402
+ control: "text",
403
+ type: "string",
404
+ description:
405
+ "Sets whether input is automatically capitalized when entered by user.",
406
+ },
392
407
  autoCorrect: { required: false, control: "text", type: "string" },
393
- autoFocus: { required: false, control: "boolean", type: "boolean" },
408
+ autoFocus: {
409
+ required: false,
410
+ control: "boolean",
411
+ type: "boolean",
412
+ description:
413
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
414
+ },
394
415
  autoSave: { required: false, control: "text", type: "string" },
395
416
  className: { required: false, control: "text", type: "string" },
396
- color: { required: false, control: "color", type: "string" },
397
- content: { required: false, control: "text", type: "string" },
398
- contextMenu: { required: false, control: "text", type: "string" },
417
+ color: {
418
+ required: false,
419
+ control: "color",
420
+ type: "string",
421
+ description:
422
+ "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.",
423
+ },
424
+ content: {
425
+ required: false,
426
+ control: "text",
427
+ type: "string",
428
+ description:
429
+ "A value associated with http-equiv orname depending on the context.",
430
+ },
431
+ contextMenu: {
432
+ required: false,
433
+ control: "text",
434
+ type: "string",
435
+ description:
436
+ "Defines the ID of a menu element which willserve as the element's context menu.",
437
+ },
399
438
  datatype: { required: false, control: "text", type: "string" },
400
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
401
- dir: { required: false, control: "text", type: "string" },
402
- draggable: { required: false, control: "boolean", type: "boolean" },
403
- hidden: { required: false, control: "boolean", type: "boolean" },
404
- id: { required: false, control: "text", type: "string" },
439
+ dir: {
440
+ required: false,
441
+ control: "text",
442
+ type: "string",
443
+ description:
444
+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
445
+ },
446
+ draggable: {
447
+ required: false,
448
+ control: "boolean",
449
+ type: "boolean",
450
+ description: "Defines whether the element can be dragged.",
451
+ },
452
+ hidden: {
453
+ required: false,
454
+ control: "boolean",
455
+ type: "boolean",
456
+ description:
457
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
458
+ },
459
+ id: {
460
+ required: false,
461
+ control: "text",
462
+ type: "string",
463
+ description:
464
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
465
+ },
405
466
  inputMode: {
406
467
  description:
407
468
  "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",
@@ -431,13 +492,30 @@ export const propsSheetOverlay: Record<string, PropMeta> = {
431
492
  itemRef: { required: false, control: "text", type: "string" },
432
493
  itemScope: { required: false, control: "boolean", type: "boolean" },
433
494
  itemType: { required: false, control: "text", type: "string" },
434
- lang: { required: false, control: "text", type: "string" },
495
+ lang: {
496
+ required: false,
497
+ control: "text",
498
+ type: "string",
499
+ description: "Defines the language used in the element.",
500
+ },
435
501
  nonce: { required: false, control: "text", type: "string" },
436
- placeholder: { required: false, control: "text", type: "string" },
502
+ placeholder: {
503
+ required: false,
504
+ control: "text",
505
+ type: "string",
506
+ description:
507
+ "Provides a hint to the user of what can be entered in the field.",
508
+ },
437
509
  prefix: { required: false, control: "text", type: "string" },
438
510
  property: { required: false, control: "text", type: "string" },
439
511
  radioGroup: { required: false, control: "text", type: "string" },
440
- rel: { required: false, control: "text", type: "string" },
512
+ rel: {
513
+ required: false,
514
+ control: "text",
515
+ type: "string",
516
+ description:
517
+ "Specifies the relationship of the target object to the link object.",
518
+ },
441
519
  resource: { required: false, control: "text", type: "string" },
442
520
  results: { required: false, control: "number", type: "number" },
443
521
  rev: { required: false, control: "text", type: "string" },
@@ -446,10 +524,22 @@ export const propsSheetOverlay: Record<string, PropMeta> = {
446
524
  control: "text",
447
525
  type: "string",
448
526
  defaultValue: "navigation",
527
+ description:
528
+ "Defines an explicit role for an element for use by assistive technologies.",
449
529
  },
450
530
  security: { required: false, control: "text", type: "string" },
451
- slot: { required: false, control: "text", type: "string" },
452
- spellCheck: { required: false, control: "boolean", type: "boolean" },
531
+ slot: {
532
+ required: false,
533
+ control: "text",
534
+ type: "string",
535
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
536
+ },
537
+ spellCheck: {
538
+ required: false,
539
+ control: "boolean",
540
+ type: "boolean",
541
+ description: "Indicates whether spell checking is allowed for the element.",
542
+ },
453
543
  suppressContentEditableWarning: {
454
544
  required: false,
455
545
  control: "boolean",
@@ -460,13 +550,27 @@ export const propsSheetOverlay: Record<string, PropMeta> = {
460
550
  control: "boolean",
461
551
  type: "boolean",
462
552
  },
463
- tabIndex: { required: false, control: "number", type: "number" },
464
- title: { required: false, control: "text", type: "string" },
553
+ tabIndex: {
554
+ required: false,
555
+ control: "number",
556
+ type: "number",
557
+ description:
558
+ "Overrides the browser's default tab order and follows the one specified instead.",
559
+ },
560
+ title: {
561
+ required: false,
562
+ control: "text",
563
+ type: "string",
564
+ description:
565
+ "Text to be displayed in a tooltip when hovering over the element.",
566
+ },
465
567
  translate: {
466
568
  required: false,
467
569
  control: "radio",
468
570
  type: "string",
469
571
  options: ["yes", "no"],
572
+ description:
573
+ "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.",
470
574
  },
471
575
  typeof: { required: false, control: "text", type: "string" },
472
576
  unselectable: {
@@ -479,7 +583,12 @@ export const propsSheetOverlay: Record<string, PropMeta> = {
479
583
  };
480
584
  export const propsSheetClose: Record<string, PropMeta> = {
481
585
  about: { required: false, control: "text", type: "string" },
482
- accessKey: { required: false, control: "text", type: "string" },
586
+ accessKey: {
587
+ required: false,
588
+ control: "text",
589
+ type: "string",
590
+ description: "Keyboard shortcut to activate or add focus to the element.",
591
+ },
483
592
  "aria-activedescendant": {
484
593
  description:
485
594
  "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
@@ -660,7 +769,7 @@ export const propsSheetClose: Record<string, PropMeta> = {
660
769
  },
661
770
  "aria-label": {
662
771
  description:
663
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
772
+ "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.",
664
773
  required: false,
665
774
  control: "text",
666
775
  type: "string",
@@ -859,28 +968,119 @@ export const propsSheetClose: Record<string, PropMeta> = {
859
968
  control: "text",
860
969
  type: "string",
861
970
  },
862
- asChild: { required: false, control: "boolean", type: "boolean" },
863
- autoCapitalize: { required: false, control: "text", type: "string" },
971
+ autoCapitalize: {
972
+ required: false,
973
+ control: "text",
974
+ type: "string",
975
+ description:
976
+ "Sets whether input is automatically capitalized when entered by user.",
977
+ },
864
978
  autoCorrect: { required: false, control: "text", type: "string" },
865
- autoFocus: { required: false, control: "boolean", type: "boolean" },
979
+ autoFocus: {
980
+ required: false,
981
+ control: "boolean",
982
+ type: "boolean",
983
+ description:
984
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
985
+ },
866
986
  autoSave: { required: false, control: "text", type: "string" },
867
987
  className: { required: false, control: "text", type: "string" },
868
- color: { required: false, control: "color", type: "string" },
869
- content: { required: false, control: "text", type: "string" },
870
- contextMenu: { required: false, control: "text", type: "string" },
988
+ color: {
989
+ required: false,
990
+ control: "color",
991
+ type: "string",
992
+ description:
993
+ "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.",
994
+ },
995
+ content: {
996
+ required: false,
997
+ control: "text",
998
+ type: "string",
999
+ description:
1000
+ "A value associated with http-equiv orname depending on the context.",
1001
+ },
1002
+ contextMenu: {
1003
+ required: false,
1004
+ control: "text",
1005
+ type: "string",
1006
+ description:
1007
+ "Defines the ID of a menu element which willserve as the element's context menu.",
1008
+ },
871
1009
  datatype: { required: false, control: "text", type: "string" },
872
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
873
- dir: { required: false, control: "text", type: "string" },
874
- disabled: { required: false, control: "boolean", type: "boolean" },
875
- draggable: { required: false, control: "boolean", type: "boolean" },
876
- form: { required: false, control: "text", type: "string" },
877
- formAction: { required: false, control: "text", type: "string" },
878
- formEncType: { required: false, control: "text", type: "string" },
879
- formMethod: { required: false, control: "text", type: "string" },
880
- formNoValidate: { required: false, control: "boolean", type: "boolean" },
881
- formTarget: { required: false, control: "text", type: "string" },
882
- hidden: { required: false, control: "boolean", type: "boolean" },
883
- id: { required: false, control: "text", type: "string" },
1010
+ dir: {
1011
+ required: false,
1012
+ control: "text",
1013
+ type: "string",
1014
+ description:
1015
+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
1016
+ },
1017
+ disabled: {
1018
+ required: false,
1019
+ control: "boolean",
1020
+ type: "boolean",
1021
+ description: "Indicates whether the user can interact with the element.",
1022
+ },
1023
+ draggable: {
1024
+ required: false,
1025
+ control: "boolean",
1026
+ type: "boolean",
1027
+ description: "Defines whether the element can be dragged.",
1028
+ },
1029
+ form: {
1030
+ required: false,
1031
+ control: "text",
1032
+ type: "string",
1033
+ description: "Indicates the form that is the owner of the element.",
1034
+ },
1035
+ formAction: {
1036
+ required: false,
1037
+ control: "text",
1038
+ type: "string",
1039
+ description:
1040
+ "Indicates the action of the element, overriding the action defined inthe form.",
1041
+ },
1042
+ formEncType: {
1043
+ required: false,
1044
+ control: "text",
1045
+ type: "string",
1046
+ description:
1047
+ '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.',
1048
+ },
1049
+ formMethod: {
1050
+ required: false,
1051
+ control: "text",
1052
+ type: "string",
1053
+ description:
1054
+ '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.',
1055
+ },
1056
+ formNoValidate: {
1057
+ required: false,
1058
+ control: "boolean",
1059
+ type: "boolean",
1060
+ description:
1061
+ '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.',
1062
+ },
1063
+ formTarget: {
1064
+ required: false,
1065
+ control: "text",
1066
+ type: "string",
1067
+ description:
1068
+ '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.',
1069
+ },
1070
+ hidden: {
1071
+ required: false,
1072
+ control: "boolean",
1073
+ type: "boolean",
1074
+ description:
1075
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
1076
+ },
1077
+ id: {
1078
+ required: false,
1079
+ control: "text",
1080
+ type: "string",
1081
+ description:
1082
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
1083
+ },
884
1084
  inputMode: {
885
1085
  description:
886
1086
  "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",
@@ -910,14 +1110,37 @@ export const propsSheetClose: Record<string, PropMeta> = {
910
1110
  itemRef: { required: false, control: "text", type: "string" },
911
1111
  itemScope: { required: false, control: "boolean", type: "boolean" },
912
1112
  itemType: { required: false, control: "text", type: "string" },
913
- lang: { required: false, control: "text", type: "string" },
914
- name: { required: false, control: "text", type: "string" },
1113
+ lang: {
1114
+ required: false,
1115
+ control: "text",
1116
+ type: "string",
1117
+ description: "Defines the language used in the element.",
1118
+ },
1119
+ name: {
1120
+ required: false,
1121
+ control: "text",
1122
+ type: "string",
1123
+ description:
1124
+ "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).",
1125
+ },
915
1126
  nonce: { required: false, control: "text", type: "string" },
916
- placeholder: { required: false, control: "text", type: "string" },
1127
+ placeholder: {
1128
+ required: false,
1129
+ control: "text",
1130
+ type: "string",
1131
+ description:
1132
+ "Provides a hint to the user of what can be entered in the field.",
1133
+ },
917
1134
  prefix: { required: false, control: "text", type: "string" },
918
1135
  property: { required: false, control: "text", type: "string" },
919
1136
  radioGroup: { required: false, control: "text", type: "string" },
920
- rel: { required: false, control: "text", type: "string" },
1137
+ rel: {
1138
+ required: false,
1139
+ control: "text",
1140
+ type: "string",
1141
+ description:
1142
+ "Specifies the relationship of the target object to the link object.",
1143
+ },
921
1144
  resource: { required: false, control: "text", type: "string" },
922
1145
  results: { required: false, control: "number", type: "number" },
923
1146
  rev: { required: false, control: "text", type: "string" },
@@ -926,10 +1149,22 @@ export const propsSheetClose: Record<string, PropMeta> = {
926
1149
  control: "text",
927
1150
  type: "string",
928
1151
  defaultValue: "navigation",
1152
+ description:
1153
+ "Defines an explicit role for an element for use by assistive technologies.",
929
1154
  },
930
1155
  security: { required: false, control: "text", type: "string" },
931
- slot: { required: false, control: "text", type: "string" },
932
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1156
+ slot: {
1157
+ required: false,
1158
+ control: "text",
1159
+ type: "string",
1160
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
1161
+ },
1162
+ spellCheck: {
1163
+ required: false,
1164
+ control: "boolean",
1165
+ type: "boolean",
1166
+ description: "Indicates whether spell checking is allowed for the element.",
1167
+ },
933
1168
  suppressContentEditableWarning: {
934
1169
  required: false,
935
1170
  control: "boolean",
@@ -940,19 +1175,34 @@ export const propsSheetClose: Record<string, PropMeta> = {
940
1175
  control: "boolean",
941
1176
  type: "boolean",
942
1177
  },
943
- tabIndex: { required: false, control: "number", type: "number" },
944
- title: { required: false, control: "text", type: "string" },
1178
+ tabIndex: {
1179
+ required: false,
1180
+ control: "number",
1181
+ type: "number",
1182
+ description:
1183
+ "Overrides the browser's default tab order and follows the one specified instead.",
1184
+ },
1185
+ title: {
1186
+ required: false,
1187
+ control: "text",
1188
+ type: "string",
1189
+ description:
1190
+ "Text to be displayed in a tooltip when hovering over the element.",
1191
+ },
945
1192
  translate: {
946
1193
  required: false,
947
1194
  control: "radio",
948
1195
  type: "string",
949
1196
  options: ["yes", "no"],
1197
+ description:
1198
+ "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.",
950
1199
  },
951
1200
  type: {
952
1201
  required: false,
953
1202
  control: "radio",
954
1203
  type: "string",
955
1204
  options: ["button", "submit", "reset"],
1205
+ description: "Defines the type of the element.",
956
1206
  },
957
1207
  typeof: { required: false, control: "text", type: "string" },
958
1208
  unselectable: {
@@ -965,7 +1215,12 @@ export const propsSheetClose: Record<string, PropMeta> = {
965
1215
  };
966
1216
  export const propsSheetTitle: Record<string, PropMeta> = {
967
1217
  about: { required: false, control: "text", type: "string" },
968
- accessKey: { required: false, control: "text", type: "string" },
1218
+ accessKey: {
1219
+ required: false,
1220
+ control: "text",
1221
+ type: "string",
1222
+ description: "Keyboard shortcut to activate or add focus to the element.",
1223
+ },
969
1224
  "aria-activedescendant": {
970
1225
  description:
971
1226
  "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
@@ -1146,7 +1401,7 @@ export const propsSheetTitle: Record<string, PropMeta> = {
1146
1401
  },
1147
1402
  "aria-label": {
1148
1403
  description:
1149
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
1404
+ "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.",
1150
1405
  required: false,
1151
1406
  control: "text",
1152
1407
  type: "string",
@@ -1345,21 +1600,72 @@ export const propsSheetTitle: Record<string, PropMeta> = {
1345
1600
  control: "text",
1346
1601
  type: "string",
1347
1602
  },
1348
- asChild: { required: false, control: "boolean", type: "boolean" },
1349
- autoCapitalize: { required: false, control: "text", type: "string" },
1603
+ autoCapitalize: {
1604
+ required: false,
1605
+ control: "text",
1606
+ type: "string",
1607
+ description:
1608
+ "Sets whether input is automatically capitalized when entered by user.",
1609
+ },
1350
1610
  autoCorrect: { required: false, control: "text", type: "string" },
1351
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1611
+ autoFocus: {
1612
+ required: false,
1613
+ control: "boolean",
1614
+ type: "boolean",
1615
+ description:
1616
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
1617
+ },
1352
1618
  autoSave: { required: false, control: "text", type: "string" },
1353
1619
  className: { required: false, control: "text", type: "string" },
1354
- color: { required: false, control: "color", type: "string" },
1355
- content: { required: false, control: "text", type: "string" },
1356
- contextMenu: { required: false, control: "text", type: "string" },
1620
+ color: {
1621
+ required: false,
1622
+ control: "color",
1623
+ type: "string",
1624
+ description:
1625
+ "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.",
1626
+ },
1627
+ content: {
1628
+ required: false,
1629
+ control: "text",
1630
+ type: "string",
1631
+ description:
1632
+ "A value associated with http-equiv orname depending on the context.",
1633
+ },
1634
+ contextMenu: {
1635
+ required: false,
1636
+ control: "text",
1637
+ type: "string",
1638
+ description:
1639
+ "Defines the ID of a menu element which willserve as the element's context menu.",
1640
+ },
1357
1641
  datatype: { required: false, control: "text", type: "string" },
1358
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
1359
- dir: { required: false, control: "text", type: "string" },
1360
- draggable: { required: false, control: "boolean", type: "boolean" },
1361
- hidden: { required: false, control: "boolean", type: "boolean" },
1362
- id: { required: false, control: "text", type: "string" },
1642
+ dir: {
1643
+ required: false,
1644
+ control: "text",
1645
+ type: "string",
1646
+ description:
1647
+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
1648
+ },
1649
+ draggable: {
1650
+ required: false,
1651
+ control: "boolean",
1652
+ type: "boolean",
1653
+ description: "Defines whether the element can be dragged.",
1654
+ },
1655
+ hidden: {
1656
+ required: false,
1657
+ control: "boolean",
1658
+ type: "boolean",
1659
+ description:
1660
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
1661
+ },
1662
+ id: {
1663
+ required: false,
1664
+ control: "text",
1665
+ type: "string",
1666
+ description:
1667
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
1668
+ },
1363
1669
  inputMode: {
1364
1670
  description:
1365
1671
  "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",
@@ -1389,13 +1695,30 @@ export const propsSheetTitle: Record<string, PropMeta> = {
1389
1695
  itemRef: { required: false, control: "text", type: "string" },
1390
1696
  itemScope: { required: false, control: "boolean", type: "boolean" },
1391
1697
  itemType: { required: false, control: "text", type: "string" },
1392
- lang: { required: false, control: "text", type: "string" },
1698
+ lang: {
1699
+ required: false,
1700
+ control: "text",
1701
+ type: "string",
1702
+ description: "Defines the language used in the element.",
1703
+ },
1393
1704
  nonce: { required: false, control: "text", type: "string" },
1394
- placeholder: { required: false, control: "text", type: "string" },
1705
+ placeholder: {
1706
+ required: false,
1707
+ control: "text",
1708
+ type: "string",
1709
+ description:
1710
+ "Provides a hint to the user of what can be entered in the field.",
1711
+ },
1395
1712
  prefix: { required: false, control: "text", type: "string" },
1396
1713
  property: { required: false, control: "text", type: "string" },
1397
1714
  radioGroup: { required: false, control: "text", type: "string" },
1398
- rel: { required: false, control: "text", type: "string" },
1715
+ rel: {
1716
+ required: false,
1717
+ control: "text",
1718
+ type: "string",
1719
+ description:
1720
+ "Specifies the relationship of the target object to the link object.",
1721
+ },
1399
1722
  resource: { required: false, control: "text", type: "string" },
1400
1723
  results: { required: false, control: "number", type: "number" },
1401
1724
  rev: { required: false, control: "text", type: "string" },
@@ -1404,10 +1727,22 @@ export const propsSheetTitle: Record<string, PropMeta> = {
1404
1727
  control: "text",
1405
1728
  type: "string",
1406
1729
  defaultValue: "navigation",
1730
+ description:
1731
+ "Defines an explicit role for an element for use by assistive technologies.",
1407
1732
  },
1408
1733
  security: { required: false, control: "text", type: "string" },
1409
- slot: { required: false, control: "text", type: "string" },
1410
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1734
+ slot: {
1735
+ required: false,
1736
+ control: "text",
1737
+ type: "string",
1738
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
1739
+ },
1740
+ spellCheck: {
1741
+ required: false,
1742
+ control: "boolean",
1743
+ type: "boolean",
1744
+ description: "Indicates whether spell checking is allowed for the element.",
1745
+ },
1411
1746
  suppressContentEditableWarning: {
1412
1747
  required: false,
1413
1748
  control: "boolean",
@@ -1418,13 +1753,27 @@ export const propsSheetTitle: Record<string, PropMeta> = {
1418
1753
  control: "boolean",
1419
1754
  type: "boolean",
1420
1755
  },
1421
- tabIndex: { required: false, control: "number", type: "number" },
1422
- title: { required: false, control: "text", type: "string" },
1756
+ tabIndex: {
1757
+ required: false,
1758
+ control: "number",
1759
+ type: "number",
1760
+ description:
1761
+ "Overrides the browser's default tab order and follows the one specified instead.",
1762
+ },
1763
+ title: {
1764
+ required: false,
1765
+ control: "text",
1766
+ type: "string",
1767
+ description:
1768
+ "Text to be displayed in a tooltip when hovering over the element.",
1769
+ },
1423
1770
  translate: {
1424
1771
  required: false,
1425
1772
  control: "radio",
1426
1773
  type: "string",
1427
1774
  options: ["yes", "no"],
1775
+ description:
1776
+ "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.",
1428
1777
  },
1429
1778
  typeof: { required: false, control: "text", type: "string" },
1430
1779
  unselectable: {
@@ -1437,7 +1786,12 @@ export const propsSheetTitle: Record<string, PropMeta> = {
1437
1786
  };
1438
1787
  export const propsSheetDescription: Record<string, PropMeta> = {
1439
1788
  about: { required: false, control: "text", type: "string" },
1440
- accessKey: { required: false, control: "text", type: "string" },
1789
+ accessKey: {
1790
+ required: false,
1791
+ control: "text",
1792
+ type: "string",
1793
+ description: "Keyboard shortcut to activate or add focus to the element.",
1794
+ },
1441
1795
  "aria-activedescendant": {
1442
1796
  description:
1443
1797
  "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
@@ -1618,7 +1972,7 @@ export const propsSheetDescription: Record<string, PropMeta> = {
1618
1972
  },
1619
1973
  "aria-label": {
1620
1974
  description:
1621
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
1975
+ "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.",
1622
1976
  required: false,
1623
1977
  control: "text",
1624
1978
  type: "string",
@@ -1817,21 +2171,72 @@ export const propsSheetDescription: Record<string, PropMeta> = {
1817
2171
  control: "text",
1818
2172
  type: "string",
1819
2173
  },
1820
- asChild: { required: false, control: "boolean", type: "boolean" },
1821
- autoCapitalize: { required: false, control: "text", type: "string" },
2174
+ autoCapitalize: {
2175
+ required: false,
2176
+ control: "text",
2177
+ type: "string",
2178
+ description:
2179
+ "Sets whether input is automatically capitalized when entered by user.",
2180
+ },
1822
2181
  autoCorrect: { required: false, control: "text", type: "string" },
1823
- autoFocus: { required: false, control: "boolean", type: "boolean" },
2182
+ autoFocus: {
2183
+ required: false,
2184
+ control: "boolean",
2185
+ type: "boolean",
2186
+ description:
2187
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
2188
+ },
1824
2189
  autoSave: { required: false, control: "text", type: "string" },
1825
2190
  className: { required: false, control: "text", type: "string" },
1826
- color: { required: false, control: "color", type: "string" },
1827
- content: { required: false, control: "text", type: "string" },
1828
- contextMenu: { required: false, control: "text", type: "string" },
2191
+ color: {
2192
+ required: false,
2193
+ control: "color",
2194
+ type: "string",
2195
+ description:
2196
+ "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.",
2197
+ },
2198
+ content: {
2199
+ required: false,
2200
+ control: "text",
2201
+ type: "string",
2202
+ description:
2203
+ "A value associated with http-equiv orname depending on the context.",
2204
+ },
2205
+ contextMenu: {
2206
+ required: false,
2207
+ control: "text",
2208
+ type: "string",
2209
+ description:
2210
+ "Defines the ID of a menu element which willserve as the element's context menu.",
2211
+ },
1829
2212
  datatype: { required: false, control: "text", type: "string" },
1830
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
1831
- dir: { required: false, control: "text", type: "string" },
1832
- draggable: { required: false, control: "boolean", type: "boolean" },
1833
- hidden: { required: false, control: "boolean", type: "boolean" },
1834
- id: { required: false, control: "text", type: "string" },
2213
+ dir: {
2214
+ required: false,
2215
+ control: "text",
2216
+ type: "string",
2217
+ description:
2218
+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
2219
+ },
2220
+ draggable: {
2221
+ required: false,
2222
+ control: "boolean",
2223
+ type: "boolean",
2224
+ description: "Defines whether the element can be dragged.",
2225
+ },
2226
+ hidden: {
2227
+ required: false,
2228
+ control: "boolean",
2229
+ type: "boolean",
2230
+ description:
2231
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
2232
+ },
2233
+ id: {
2234
+ required: false,
2235
+ control: "text",
2236
+ type: "string",
2237
+ description:
2238
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
2239
+ },
1835
2240
  inputMode: {
1836
2241
  description:
1837
2242
  "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",
@@ -1861,13 +2266,30 @@ export const propsSheetDescription: Record<string, PropMeta> = {
1861
2266
  itemRef: { required: false, control: "text", type: "string" },
1862
2267
  itemScope: { required: false, control: "boolean", type: "boolean" },
1863
2268
  itemType: { required: false, control: "text", type: "string" },
1864
- lang: { required: false, control: "text", type: "string" },
2269
+ lang: {
2270
+ required: false,
2271
+ control: "text",
2272
+ type: "string",
2273
+ description: "Defines the language used in the element.",
2274
+ },
1865
2275
  nonce: { required: false, control: "text", type: "string" },
1866
- placeholder: { required: false, control: "text", type: "string" },
2276
+ placeholder: {
2277
+ required: false,
2278
+ control: "text",
2279
+ type: "string",
2280
+ description:
2281
+ "Provides a hint to the user of what can be entered in the field.",
2282
+ },
1867
2283
  prefix: { required: false, control: "text", type: "string" },
1868
2284
  property: { required: false, control: "text", type: "string" },
1869
2285
  radioGroup: { required: false, control: "text", type: "string" },
1870
- rel: { required: false, control: "text", type: "string" },
2286
+ rel: {
2287
+ required: false,
2288
+ control: "text",
2289
+ type: "string",
2290
+ description:
2291
+ "Specifies the relationship of the target object to the link object.",
2292
+ },
1871
2293
  resource: { required: false, control: "text", type: "string" },
1872
2294
  results: { required: false, control: "number", type: "number" },
1873
2295
  rev: { required: false, control: "text", type: "string" },
@@ -1876,10 +2298,22 @@ export const propsSheetDescription: Record<string, PropMeta> = {
1876
2298
  control: "text",
1877
2299
  type: "string",
1878
2300
  defaultValue: "navigation",
2301
+ description:
2302
+ "Defines an explicit role for an element for use by assistive technologies.",
1879
2303
  },
1880
2304
  security: { required: false, control: "text", type: "string" },
1881
- slot: { required: false, control: "text", type: "string" },
1882
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2305
+ slot: {
2306
+ required: false,
2307
+ control: "text",
2308
+ type: "string",
2309
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
2310
+ },
2311
+ spellCheck: {
2312
+ required: false,
2313
+ control: "boolean",
2314
+ type: "boolean",
2315
+ description: "Indicates whether spell checking is allowed for the element.",
2316
+ },
1883
2317
  suppressContentEditableWarning: {
1884
2318
  required: false,
1885
2319
  control: "boolean",
@@ -1890,13 +2324,27 @@ export const propsSheetDescription: Record<string, PropMeta> = {
1890
2324
  control: "boolean",
1891
2325
  type: "boolean",
1892
2326
  },
1893
- tabIndex: { required: false, control: "number", type: "number" },
1894
- title: { required: false, control: "text", type: "string" },
2327
+ tabIndex: {
2328
+ required: false,
2329
+ control: "number",
2330
+ type: "number",
2331
+ description:
2332
+ "Overrides the browser's default tab order and follows the one specified instead.",
2333
+ },
2334
+ title: {
2335
+ required: false,
2336
+ control: "text",
2337
+ type: "string",
2338
+ description:
2339
+ "Text to be displayed in a tooltip when hovering over the element.",
2340
+ },
1895
2341
  translate: {
1896
2342
  required: false,
1897
2343
  control: "radio",
1898
2344
  type: "string",
1899
2345
  options: ["yes", "no"],
2346
+ description:
2347
+ "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.",
1900
2348
  },
1901
2349
  typeof: { required: false, control: "text", type: "string" },
1902
2350
  unselectable: {
@@ -1909,7 +2357,12 @@ export const propsSheetDescription: Record<string, PropMeta> = {
1909
2357
  };
1910
2358
  export const propsSheetContent: Record<string, PropMeta> = {
1911
2359
  about: { required: false, control: "text", type: "string" },
1912
- accessKey: { required: false, control: "text", type: "string" },
2360
+ accessKey: {
2361
+ required: false,
2362
+ control: "text",
2363
+ type: "string",
2364
+ description: "Keyboard shortcut to activate or add focus to the element.",
2365
+ },
1913
2366
  "aria-activedescendant": {
1914
2367
  description:
1915
2368
  "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
@@ -2090,7 +2543,7 @@ export const propsSheetContent: Record<string, PropMeta> = {
2090
2543
  },
2091
2544
  "aria-label": {
2092
2545
  description:
2093
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
2546
+ "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.",
2094
2547
  required: false,
2095
2548
  control: "text",
2096
2549
  type: "string",
@@ -2289,21 +2742,72 @@ export const propsSheetContent: Record<string, PropMeta> = {
2289
2742
  control: "text",
2290
2743
  type: "string",
2291
2744
  },
2292
- asChild: { required: false, control: "boolean", type: "boolean" },
2293
- autoCapitalize: { required: false, control: "text", type: "string" },
2745
+ autoCapitalize: {
2746
+ required: false,
2747
+ control: "text",
2748
+ type: "string",
2749
+ description:
2750
+ "Sets whether input is automatically capitalized when entered by user.",
2751
+ },
2294
2752
  autoCorrect: { required: false, control: "text", type: "string" },
2295
- autoFocus: { required: false, control: "boolean", type: "boolean" },
2753
+ autoFocus: {
2754
+ required: false,
2755
+ control: "boolean",
2756
+ type: "boolean",
2757
+ description:
2758
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
2759
+ },
2296
2760
  autoSave: { required: false, control: "text", type: "string" },
2297
2761
  className: { required: false, control: "text", type: "string" },
2298
- color: { required: false, control: "color", type: "string" },
2299
- content: { required: false, control: "text", type: "string" },
2300
- contextMenu: { required: false, control: "text", type: "string" },
2762
+ color: {
2763
+ required: false,
2764
+ control: "color",
2765
+ type: "string",
2766
+ description:
2767
+ "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.",
2768
+ },
2769
+ content: {
2770
+ required: false,
2771
+ control: "text",
2772
+ type: "string",
2773
+ description:
2774
+ "A value associated with http-equiv orname depending on the context.",
2775
+ },
2776
+ contextMenu: {
2777
+ required: false,
2778
+ control: "text",
2779
+ type: "string",
2780
+ description:
2781
+ "Defines the ID of a menu element which willserve as the element's context menu.",
2782
+ },
2301
2783
  datatype: { required: false, control: "text", type: "string" },
2302
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
2303
- dir: { required: false, control: "text", type: "string" },
2304
- draggable: { required: false, control: "boolean", type: "boolean" },
2305
- hidden: { required: false, control: "boolean", type: "boolean" },
2306
- id: { required: false, control: "text", type: "string" },
2784
+ dir: {
2785
+ required: false,
2786
+ control: "text",
2787
+ type: "string",
2788
+ description:
2789
+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
2790
+ },
2791
+ draggable: {
2792
+ required: false,
2793
+ control: "boolean",
2794
+ type: "boolean",
2795
+ description: "Defines whether the element can be dragged.",
2796
+ },
2797
+ hidden: {
2798
+ required: false,
2799
+ control: "boolean",
2800
+ type: "boolean",
2801
+ description:
2802
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
2803
+ },
2804
+ id: {
2805
+ required: false,
2806
+ control: "text",
2807
+ type: "string",
2808
+ description:
2809
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
2810
+ },
2307
2811
  inputMode: {
2308
2812
  description:
2309
2813
  "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",
@@ -2333,13 +2837,30 @@ export const propsSheetContent: Record<string, PropMeta> = {
2333
2837
  itemRef: { required: false, control: "text", type: "string" },
2334
2838
  itemScope: { required: false, control: "boolean", type: "boolean" },
2335
2839
  itemType: { required: false, control: "text", type: "string" },
2336
- lang: { required: false, control: "text", type: "string" },
2840
+ lang: {
2841
+ required: false,
2842
+ control: "text",
2843
+ type: "string",
2844
+ description: "Defines the language used in the element.",
2845
+ },
2337
2846
  nonce: { required: false, control: "text", type: "string" },
2338
- placeholder: { required: false, control: "text", type: "string" },
2847
+ placeholder: {
2848
+ required: false,
2849
+ control: "text",
2850
+ type: "string",
2851
+ description:
2852
+ "Provides a hint to the user of what can be entered in the field.",
2853
+ },
2339
2854
  prefix: { required: false, control: "text", type: "string" },
2340
2855
  property: { required: false, control: "text", type: "string" },
2341
2856
  radioGroup: { required: false, control: "text", type: "string" },
2342
- rel: { required: false, control: "text", type: "string" },
2857
+ rel: {
2858
+ required: false,
2859
+ control: "text",
2860
+ type: "string",
2861
+ description:
2862
+ "Specifies the relationship of the target object to the link object.",
2863
+ },
2343
2864
  resource: { required: false, control: "text", type: "string" },
2344
2865
  results: { required: false, control: "number", type: "number" },
2345
2866
  rev: { required: false, control: "text", type: "string" },
@@ -2348,6 +2869,8 @@ export const propsSheetContent: Record<string, PropMeta> = {
2348
2869
  control: "text",
2349
2870
  type: "string",
2350
2871
  defaultValue: "navigation",
2872
+ description:
2873
+ "Defines an explicit role for an element for use by assistive technologies.",
2351
2874
  },
2352
2875
  security: { required: false, control: "text", type: "string" },
2353
2876
  side: {
@@ -2357,8 +2880,18 @@ export const propsSheetContent: Record<string, PropMeta> = {
2357
2880
  defaultValue: "left",
2358
2881
  options: ["top", "right", "bottom", "left"],
2359
2882
  },
2360
- slot: { required: false, control: "text", type: "string" },
2361
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2883
+ slot: {
2884
+ required: false,
2885
+ control: "text",
2886
+ type: "string",
2887
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
2888
+ },
2889
+ spellCheck: {
2890
+ required: false,
2891
+ control: "boolean",
2892
+ type: "boolean",
2893
+ description: "Indicates whether spell checking is allowed for the element.",
2894
+ },
2362
2895
  suppressContentEditableWarning: {
2363
2896
  required: false,
2364
2897
  control: "boolean",
@@ -2369,7 +2902,13 @@ export const propsSheetContent: Record<string, PropMeta> = {
2369
2902
  control: "boolean",
2370
2903
  type: "boolean",
2371
2904
  },
2372
- tabIndex: { required: false, control: "number", type: "number" },
2905
+ tabIndex: {
2906
+ required: false,
2907
+ control: "number",
2908
+ type: "number",
2909
+ description:
2910
+ "Overrides the browser's default tab order and follows the one specified instead.",
2911
+ },
2373
2912
  tag: {
2374
2913
  required: false,
2375
2914
  control: "radio",
@@ -2377,12 +2916,20 @@ export const propsSheetContent: Record<string, PropMeta> = {
2377
2916
  defaultValue: "nav",
2378
2917
  options: ["div", "nav"],
2379
2918
  },
2380
- title: { required: false, control: "text", type: "string" },
2919
+ title: {
2920
+ required: false,
2921
+ control: "text",
2922
+ type: "string",
2923
+ description:
2924
+ "Text to be displayed in a tooltip when hovering over the element.",
2925
+ },
2381
2926
  translate: {
2382
2927
  required: false,
2383
2928
  control: "radio",
2384
2929
  type: "string",
2385
2930
  options: ["yes", "no"],
2931
+ description:
2932
+ "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.",
2386
2933
  },
2387
2934
  typeof: { required: false, control: "text", type: "string" },
2388
2935
  unselectable: {