@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 propsDialog: 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 propsDialogTrigger: Record<string, PropMeta> = {};
8
13
  export const propsDialogOverlay: 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 propsDialogOverlay: 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 propsDialogOverlay: 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,20 +492,53 @@ export const propsDialogOverlay: 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" },
444
- role: { required: false, control: "text", type: "string" },
522
+ role: {
523
+ required: false,
524
+ control: "text",
525
+ type: "string",
526
+ description:
527
+ "Defines an explicit role for an element for use by assistive technologies.",
528
+ },
445
529
  security: { required: false, control: "text", type: "string" },
446
- slot: { required: false, control: "text", type: "string" },
447
- spellCheck: { required: false, control: "boolean", type: "boolean" },
530
+ slot: {
531
+ required: false,
532
+ control: "text",
533
+ type: "string",
534
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
535
+ },
536
+ spellCheck: {
537
+ required: false,
538
+ control: "boolean",
539
+ type: "boolean",
540
+ description: "Indicates whether spell checking is allowed for the element.",
541
+ },
448
542
  suppressContentEditableWarning: {
449
543
  required: false,
450
544
  control: "boolean",
@@ -455,13 +549,27 @@ export const propsDialogOverlay: Record<string, PropMeta> = {
455
549
  control: "boolean",
456
550
  type: "boolean",
457
551
  },
458
- tabIndex: { required: false, control: "number", type: "number" },
459
- title: { required: false, control: "text", type: "string" },
552
+ tabIndex: {
553
+ required: false,
554
+ control: "number",
555
+ type: "number",
556
+ description:
557
+ "Overrides the browser's default tab order and follows the one specified instead.",
558
+ },
559
+ title: {
560
+ required: false,
561
+ control: "text",
562
+ type: "string",
563
+ description:
564
+ "Text to be displayed in a tooltip when hovering over the element.",
565
+ },
460
566
  translate: {
461
567
  required: false,
462
568
  control: "radio",
463
569
  type: "string",
464
570
  options: ["yes", "no"],
571
+ description:
572
+ "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.",
465
573
  },
466
574
  typeof: { required: false, control: "text", type: "string" },
467
575
  unselectable: {
@@ -474,7 +582,12 @@ export const propsDialogOverlay: Record<string, PropMeta> = {
474
582
  };
475
583
  export const propsDialogContent: Record<string, PropMeta> = {
476
584
  about: { required: false, control: "text", type: "string" },
477
- accessKey: { required: false, control: "text", type: "string" },
585
+ accessKey: {
586
+ required: false,
587
+ control: "text",
588
+ type: "string",
589
+ description: "Keyboard shortcut to activate or add focus to the element.",
590
+ },
478
591
  "aria-activedescendant": {
479
592
  description:
480
593
  "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
@@ -655,7 +768,7 @@ export const propsDialogContent: Record<string, PropMeta> = {
655
768
  },
656
769
  "aria-label": {
657
770
  description:
658
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
771
+ "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.",
659
772
  required: false,
660
773
  control: "text",
661
774
  type: "string",
@@ -854,21 +967,72 @@ export const propsDialogContent: Record<string, PropMeta> = {
854
967
  control: "text",
855
968
  type: "string",
856
969
  },
857
- asChild: { required: false, control: "boolean", type: "boolean" },
858
- autoCapitalize: { required: false, control: "text", type: "string" },
970
+ autoCapitalize: {
971
+ required: false,
972
+ control: "text",
973
+ type: "string",
974
+ description:
975
+ "Sets whether input is automatically capitalized when entered by user.",
976
+ },
859
977
  autoCorrect: { required: false, control: "text", type: "string" },
860
- autoFocus: { required: false, control: "boolean", type: "boolean" },
978
+ autoFocus: {
979
+ required: false,
980
+ control: "boolean",
981
+ type: "boolean",
982
+ description:
983
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
984
+ },
861
985
  autoSave: { required: false, control: "text", type: "string" },
862
986
  className: { required: false, control: "text", type: "string" },
863
- color: { required: false, control: "color", type: "string" },
864
- content: { required: false, control: "text", type: "string" },
865
- contextMenu: { required: false, control: "text", type: "string" },
987
+ color: {
988
+ required: false,
989
+ control: "color",
990
+ type: "string",
991
+ description:
992
+ "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.",
993
+ },
994
+ content: {
995
+ required: false,
996
+ control: "text",
997
+ type: "string",
998
+ description:
999
+ "A value associated with http-equiv orname depending on the context.",
1000
+ },
1001
+ contextMenu: {
1002
+ required: false,
1003
+ control: "text",
1004
+ type: "string",
1005
+ description:
1006
+ "Defines the ID of a menu element which willserve as the element's context menu.",
1007
+ },
866
1008
  datatype: { required: false, control: "text", type: "string" },
867
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
868
- dir: { required: false, control: "text", type: "string" },
869
- draggable: { required: false, control: "boolean", type: "boolean" },
870
- hidden: { required: false, control: "boolean", type: "boolean" },
871
- id: { required: false, control: "text", type: "string" },
1009
+ dir: {
1010
+ required: false,
1011
+ control: "text",
1012
+ type: "string",
1013
+ description:
1014
+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
1015
+ },
1016
+ draggable: {
1017
+ required: false,
1018
+ control: "boolean",
1019
+ type: "boolean",
1020
+ description: "Defines whether the element can be dragged.",
1021
+ },
1022
+ hidden: {
1023
+ required: false,
1024
+ control: "boolean",
1025
+ type: "boolean",
1026
+ description:
1027
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
1028
+ },
1029
+ id: {
1030
+ required: false,
1031
+ control: "text",
1032
+ type: "string",
1033
+ description:
1034
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
1035
+ },
872
1036
  inputMode: {
873
1037
  description:
874
1038
  "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",
@@ -898,20 +1062,53 @@ export const propsDialogContent: Record<string, PropMeta> = {
898
1062
  itemRef: { required: false, control: "text", type: "string" },
899
1063
  itemScope: { required: false, control: "boolean", type: "boolean" },
900
1064
  itemType: { required: false, control: "text", type: "string" },
901
- lang: { required: false, control: "text", type: "string" },
1065
+ lang: {
1066
+ required: false,
1067
+ control: "text",
1068
+ type: "string",
1069
+ description: "Defines the language used in the element.",
1070
+ },
902
1071
  nonce: { required: false, control: "text", type: "string" },
903
- placeholder: { required: false, control: "text", type: "string" },
1072
+ placeholder: {
1073
+ required: false,
1074
+ control: "text",
1075
+ type: "string",
1076
+ description:
1077
+ "Provides a hint to the user of what can be entered in the field.",
1078
+ },
904
1079
  prefix: { required: false, control: "text", type: "string" },
905
1080
  property: { required: false, control: "text", type: "string" },
906
1081
  radioGroup: { required: false, control: "text", type: "string" },
907
- rel: { required: false, control: "text", type: "string" },
1082
+ rel: {
1083
+ required: false,
1084
+ control: "text",
1085
+ type: "string",
1086
+ description:
1087
+ "Specifies the relationship of the target object to the link object.",
1088
+ },
908
1089
  resource: { required: false, control: "text", type: "string" },
909
1090
  results: { required: false, control: "number", type: "number" },
910
1091
  rev: { required: false, control: "text", type: "string" },
911
- role: { required: false, control: "text", type: "string" },
1092
+ role: {
1093
+ required: false,
1094
+ control: "text",
1095
+ type: "string",
1096
+ description:
1097
+ "Defines an explicit role for an element for use by assistive technologies.",
1098
+ },
912
1099
  security: { required: false, control: "text", type: "string" },
913
- slot: { required: false, control: "text", type: "string" },
914
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1100
+ slot: {
1101
+ required: false,
1102
+ control: "text",
1103
+ type: "string",
1104
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
1105
+ },
1106
+ spellCheck: {
1107
+ required: false,
1108
+ control: "boolean",
1109
+ type: "boolean",
1110
+ description: "Indicates whether spell checking is allowed for the element.",
1111
+ },
915
1112
  suppressContentEditableWarning: {
916
1113
  required: false,
917
1114
  control: "boolean",
@@ -922,13 +1119,27 @@ export const propsDialogContent: Record<string, PropMeta> = {
922
1119
  control: "boolean",
923
1120
  type: "boolean",
924
1121
  },
925
- tabIndex: { required: false, control: "number", type: "number" },
926
- title: { required: false, control: "text", type: "string" },
1122
+ tabIndex: {
1123
+ required: false,
1124
+ control: "number",
1125
+ type: "number",
1126
+ description:
1127
+ "Overrides the browser's default tab order and follows the one specified instead.",
1128
+ },
1129
+ title: {
1130
+ required: false,
1131
+ control: "text",
1132
+ type: "string",
1133
+ description:
1134
+ "Text to be displayed in a tooltip when hovering over the element.",
1135
+ },
927
1136
  translate: {
928
1137
  required: false,
929
1138
  control: "radio",
930
1139
  type: "string",
931
1140
  options: ["yes", "no"],
1141
+ description:
1142
+ "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.",
932
1143
  },
933
1144
  typeof: { required: false, control: "text", type: "string" },
934
1145
  unselectable: {
@@ -941,7 +1152,12 @@ export const propsDialogContent: Record<string, PropMeta> = {
941
1152
  };
942
1153
  export const propsDialogClose: Record<string, PropMeta> = {
943
1154
  about: { required: false, control: "text", type: "string" },
944
- accessKey: { required: false, control: "text", type: "string" },
1155
+ accessKey: {
1156
+ required: false,
1157
+ control: "text",
1158
+ type: "string",
1159
+ description: "Keyboard shortcut to activate or add focus to the element.",
1160
+ },
945
1161
  "aria-activedescendant": {
946
1162
  description:
947
1163
  "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
@@ -1122,7 +1338,7 @@ export const propsDialogClose: Record<string, PropMeta> = {
1122
1338
  },
1123
1339
  "aria-label": {
1124
1340
  description:
1125
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
1341
+ "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.",
1126
1342
  required: false,
1127
1343
  control: "text",
1128
1344
  type: "string",
@@ -1321,28 +1537,119 @@ export const propsDialogClose: Record<string, PropMeta> = {
1321
1537
  control: "text",
1322
1538
  type: "string",
1323
1539
  },
1324
- asChild: { required: false, control: "boolean", type: "boolean" },
1325
- autoCapitalize: { required: false, control: "text", type: "string" },
1540
+ autoCapitalize: {
1541
+ required: false,
1542
+ control: "text",
1543
+ type: "string",
1544
+ description:
1545
+ "Sets whether input is automatically capitalized when entered by user.",
1546
+ },
1326
1547
  autoCorrect: { required: false, control: "text", type: "string" },
1327
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1548
+ autoFocus: {
1549
+ required: false,
1550
+ control: "boolean",
1551
+ type: "boolean",
1552
+ description:
1553
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
1554
+ },
1328
1555
  autoSave: { required: false, control: "text", type: "string" },
1329
1556
  className: { required: false, control: "text", type: "string" },
1330
- color: { required: false, control: "color", type: "string" },
1331
- content: { required: false, control: "text", type: "string" },
1332
- contextMenu: { required: false, control: "text", type: "string" },
1557
+ color: {
1558
+ required: false,
1559
+ control: "color",
1560
+ type: "string",
1561
+ description:
1562
+ "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.",
1563
+ },
1564
+ content: {
1565
+ required: false,
1566
+ control: "text",
1567
+ type: "string",
1568
+ description:
1569
+ "A value associated with http-equiv orname depending on the context.",
1570
+ },
1571
+ contextMenu: {
1572
+ required: false,
1573
+ control: "text",
1574
+ type: "string",
1575
+ description:
1576
+ "Defines the ID of a menu element which willserve as the element's context menu.",
1577
+ },
1333
1578
  datatype: { required: false, control: "text", type: "string" },
1334
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
1335
- dir: { required: false, control: "text", type: "string" },
1336
- disabled: { required: false, control: "boolean", type: "boolean" },
1337
- draggable: { required: false, control: "boolean", type: "boolean" },
1338
- form: { required: false, control: "text", type: "string" },
1339
- formAction: { required: false, control: "text", type: "string" },
1340
- formEncType: { required: false, control: "text", type: "string" },
1341
- formMethod: { required: false, control: "text", type: "string" },
1342
- formNoValidate: { required: false, control: "boolean", type: "boolean" },
1343
- formTarget: { required: false, control: "text", type: "string" },
1344
- hidden: { required: false, control: "boolean", type: "boolean" },
1345
- id: { required: false, control: "text", type: "string" },
1579
+ dir: {
1580
+ required: false,
1581
+ control: "text",
1582
+ type: "string",
1583
+ description:
1584
+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
1585
+ },
1586
+ disabled: {
1587
+ required: false,
1588
+ control: "boolean",
1589
+ type: "boolean",
1590
+ description: "Indicates whether the user can interact with the element.",
1591
+ },
1592
+ draggable: {
1593
+ required: false,
1594
+ control: "boolean",
1595
+ type: "boolean",
1596
+ description: "Defines whether the element can be dragged.",
1597
+ },
1598
+ form: {
1599
+ required: false,
1600
+ control: "text",
1601
+ type: "string",
1602
+ description: "Indicates the form that is the owner of the element.",
1603
+ },
1604
+ formAction: {
1605
+ required: false,
1606
+ control: "text",
1607
+ type: "string",
1608
+ description:
1609
+ "Indicates the action of the element, overriding the action defined inthe form.",
1610
+ },
1611
+ formEncType: {
1612
+ required: false,
1613
+ control: "text",
1614
+ type: "string",
1615
+ description:
1616
+ '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.',
1617
+ },
1618
+ formMethod: {
1619
+ required: false,
1620
+ control: "text",
1621
+ type: "string",
1622
+ description:
1623
+ '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.',
1624
+ },
1625
+ formNoValidate: {
1626
+ required: false,
1627
+ control: "boolean",
1628
+ type: "boolean",
1629
+ description:
1630
+ '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.',
1631
+ },
1632
+ formTarget: {
1633
+ required: false,
1634
+ control: "text",
1635
+ type: "string",
1636
+ description:
1637
+ '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.',
1638
+ },
1639
+ hidden: {
1640
+ required: false,
1641
+ control: "boolean",
1642
+ type: "boolean",
1643
+ description:
1644
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
1645
+ },
1646
+ id: {
1647
+ required: false,
1648
+ control: "text",
1649
+ type: "string",
1650
+ description:
1651
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
1652
+ },
1346
1653
  inputMode: {
1347
1654
  description:
1348
1655
  "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",
@@ -1372,21 +1679,60 @@ export const propsDialogClose: Record<string, PropMeta> = {
1372
1679
  itemRef: { required: false, control: "text", type: "string" },
1373
1680
  itemScope: { required: false, control: "boolean", type: "boolean" },
1374
1681
  itemType: { required: false, control: "text", type: "string" },
1375
- lang: { required: false, control: "text", type: "string" },
1376
- name: { required: false, control: "text", type: "string" },
1682
+ lang: {
1683
+ required: false,
1684
+ control: "text",
1685
+ type: "string",
1686
+ description: "Defines the language used in the element.",
1687
+ },
1688
+ name: {
1689
+ required: false,
1690
+ control: "text",
1691
+ type: "string",
1692
+ description:
1693
+ "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).",
1694
+ },
1377
1695
  nonce: { required: false, control: "text", type: "string" },
1378
- placeholder: { required: false, control: "text", type: "string" },
1696
+ placeholder: {
1697
+ required: false,
1698
+ control: "text",
1699
+ type: "string",
1700
+ description:
1701
+ "Provides a hint to the user of what can be entered in the field.",
1702
+ },
1379
1703
  prefix: { required: false, control: "text", type: "string" },
1380
1704
  property: { required: false, control: "text", type: "string" },
1381
1705
  radioGroup: { required: false, control: "text", type: "string" },
1382
- rel: { required: false, control: "text", type: "string" },
1706
+ rel: {
1707
+ required: false,
1708
+ control: "text",
1709
+ type: "string",
1710
+ description:
1711
+ "Specifies the relationship of the target object to the link object.",
1712
+ },
1383
1713
  resource: { required: false, control: "text", type: "string" },
1384
1714
  results: { required: false, control: "number", type: "number" },
1385
1715
  rev: { required: false, control: "text", type: "string" },
1386
- role: { required: false, control: "text", type: "string" },
1716
+ role: {
1717
+ required: false,
1718
+ control: "text",
1719
+ type: "string",
1720
+ description:
1721
+ "Defines an explicit role for an element for use by assistive technologies.",
1722
+ },
1387
1723
  security: { required: false, control: "text", type: "string" },
1388
- slot: { required: false, control: "text", type: "string" },
1389
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1724
+ slot: {
1725
+ required: false,
1726
+ control: "text",
1727
+ type: "string",
1728
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
1729
+ },
1730
+ spellCheck: {
1731
+ required: false,
1732
+ control: "boolean",
1733
+ type: "boolean",
1734
+ description: "Indicates whether spell checking is allowed for the element.",
1735
+ },
1390
1736
  suppressContentEditableWarning: {
1391
1737
  required: false,
1392
1738
  control: "boolean",
@@ -1397,19 +1743,34 @@ export const propsDialogClose: Record<string, PropMeta> = {
1397
1743
  control: "boolean",
1398
1744
  type: "boolean",
1399
1745
  },
1400
- tabIndex: { required: false, control: "number", type: "number" },
1401
- title: { required: false, control: "text", type: "string" },
1746
+ tabIndex: {
1747
+ required: false,
1748
+ control: "number",
1749
+ type: "number",
1750
+ description:
1751
+ "Overrides the browser's default tab order and follows the one specified instead.",
1752
+ },
1753
+ title: {
1754
+ required: false,
1755
+ control: "text",
1756
+ type: "string",
1757
+ description:
1758
+ "Text to be displayed in a tooltip when hovering over the element.",
1759
+ },
1402
1760
  translate: {
1403
1761
  required: false,
1404
1762
  control: "radio",
1405
1763
  type: "string",
1406
1764
  options: ["yes", "no"],
1765
+ description:
1766
+ "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.",
1407
1767
  },
1408
1768
  type: {
1409
1769
  required: false,
1410
1770
  control: "radio",
1411
1771
  type: "string",
1412
1772
  options: ["button", "submit", "reset"],
1773
+ description: "Defines the type of the element.",
1413
1774
  },
1414
1775
  typeof: { required: false, control: "text", type: "string" },
1415
1776
  unselectable: {
@@ -1422,7 +1783,12 @@ export const propsDialogClose: Record<string, PropMeta> = {
1422
1783
  };
1423
1784
  export const propsDialogTitle: Record<string, PropMeta> = {
1424
1785
  about: { required: false, control: "text", type: "string" },
1425
- accessKey: { required: false, control: "text", type: "string" },
1786
+ accessKey: {
1787
+ required: false,
1788
+ control: "text",
1789
+ type: "string",
1790
+ description: "Keyboard shortcut to activate or add focus to the element.",
1791
+ },
1426
1792
  "aria-activedescendant": {
1427
1793
  description:
1428
1794
  "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
@@ -1603,7 +1969,7 @@ export const propsDialogTitle: Record<string, PropMeta> = {
1603
1969
  },
1604
1970
  "aria-label": {
1605
1971
  description:
1606
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
1972
+ "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.",
1607
1973
  required: false,
1608
1974
  control: "text",
1609
1975
  type: "string",
@@ -1802,21 +2168,72 @@ export const propsDialogTitle: Record<string, PropMeta> = {
1802
2168
  control: "text",
1803
2169
  type: "string",
1804
2170
  },
1805
- asChild: { required: false, control: "boolean", type: "boolean" },
1806
- autoCapitalize: { required: false, control: "text", type: "string" },
2171
+ autoCapitalize: {
2172
+ required: false,
2173
+ control: "text",
2174
+ type: "string",
2175
+ description:
2176
+ "Sets whether input is automatically capitalized when entered by user.",
2177
+ },
1807
2178
  autoCorrect: { required: false, control: "text", type: "string" },
1808
- autoFocus: { required: false, control: "boolean", type: "boolean" },
2179
+ autoFocus: {
2180
+ required: false,
2181
+ control: "boolean",
2182
+ type: "boolean",
2183
+ description:
2184
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
2185
+ },
1809
2186
  autoSave: { required: false, control: "text", type: "string" },
1810
2187
  className: { required: false, control: "text", type: "string" },
1811
- color: { required: false, control: "color", type: "string" },
1812
- content: { required: false, control: "text", type: "string" },
1813
- contextMenu: { required: false, control: "text", type: "string" },
2188
+ color: {
2189
+ required: false,
2190
+ control: "color",
2191
+ type: "string",
2192
+ description:
2193
+ "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.",
2194
+ },
2195
+ content: {
2196
+ required: false,
2197
+ control: "text",
2198
+ type: "string",
2199
+ description:
2200
+ "A value associated with http-equiv orname depending on the context.",
2201
+ },
2202
+ contextMenu: {
2203
+ required: false,
2204
+ control: "text",
2205
+ type: "string",
2206
+ description:
2207
+ "Defines the ID of a menu element which willserve as the element's context menu.",
2208
+ },
1814
2209
  datatype: { required: false, control: "text", type: "string" },
1815
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
1816
- dir: { required: false, control: "text", type: "string" },
1817
- draggable: { required: false, control: "boolean", type: "boolean" },
1818
- hidden: { required: false, control: "boolean", type: "boolean" },
1819
- id: { required: false, control: "text", type: "string" },
2210
+ dir: {
2211
+ required: false,
2212
+ control: "text",
2213
+ type: "string",
2214
+ description:
2215
+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
2216
+ },
2217
+ draggable: {
2218
+ required: false,
2219
+ control: "boolean",
2220
+ type: "boolean",
2221
+ description: "Defines whether the element can be dragged.",
2222
+ },
2223
+ hidden: {
2224
+ required: false,
2225
+ control: "boolean",
2226
+ type: "boolean",
2227
+ description:
2228
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
2229
+ },
2230
+ id: {
2231
+ required: false,
2232
+ control: "text",
2233
+ type: "string",
2234
+ description:
2235
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
2236
+ },
1820
2237
  inputMode: {
1821
2238
  description:
1822
2239
  "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",
@@ -1846,20 +2263,53 @@ export const propsDialogTitle: Record<string, PropMeta> = {
1846
2263
  itemRef: { required: false, control: "text", type: "string" },
1847
2264
  itemScope: { required: false, control: "boolean", type: "boolean" },
1848
2265
  itemType: { required: false, control: "text", type: "string" },
1849
- lang: { required: false, control: "text", type: "string" },
2266
+ lang: {
2267
+ required: false,
2268
+ control: "text",
2269
+ type: "string",
2270
+ description: "Defines the language used in the element.",
2271
+ },
1850
2272
  nonce: { required: false, control: "text", type: "string" },
1851
- placeholder: { required: false, control: "text", type: "string" },
2273
+ placeholder: {
2274
+ required: false,
2275
+ control: "text",
2276
+ type: "string",
2277
+ description:
2278
+ "Provides a hint to the user of what can be entered in the field.",
2279
+ },
1852
2280
  prefix: { required: false, control: "text", type: "string" },
1853
2281
  property: { required: false, control: "text", type: "string" },
1854
2282
  radioGroup: { required: false, control: "text", type: "string" },
1855
- rel: { required: false, control: "text", type: "string" },
2283
+ rel: {
2284
+ required: false,
2285
+ control: "text",
2286
+ type: "string",
2287
+ description:
2288
+ "Specifies the relationship of the target object to the link object.",
2289
+ },
1856
2290
  resource: { required: false, control: "text", type: "string" },
1857
2291
  results: { required: false, control: "number", type: "number" },
1858
2292
  rev: { required: false, control: "text", type: "string" },
1859
- role: { required: false, control: "text", type: "string" },
2293
+ role: {
2294
+ required: false,
2295
+ control: "text",
2296
+ type: "string",
2297
+ description:
2298
+ "Defines an explicit role for an element for use by assistive technologies.",
2299
+ },
1860
2300
  security: { required: false, control: "text", type: "string" },
1861
- slot: { required: false, control: "text", type: "string" },
1862
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2301
+ slot: {
2302
+ required: false,
2303
+ control: "text",
2304
+ type: "string",
2305
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
2306
+ },
2307
+ spellCheck: {
2308
+ required: false,
2309
+ control: "boolean",
2310
+ type: "boolean",
2311
+ description: "Indicates whether spell checking is allowed for the element.",
2312
+ },
1863
2313
  suppressContentEditableWarning: {
1864
2314
  required: false,
1865
2315
  control: "boolean",
@@ -1870,13 +2320,27 @@ export const propsDialogTitle: Record<string, PropMeta> = {
1870
2320
  control: "boolean",
1871
2321
  type: "boolean",
1872
2322
  },
1873
- tabIndex: { required: false, control: "number", type: "number" },
1874
- title: { required: false, control: "text", type: "string" },
2323
+ tabIndex: {
2324
+ required: false,
2325
+ control: "number",
2326
+ type: "number",
2327
+ description:
2328
+ "Overrides the browser's default tab order and follows the one specified instead.",
2329
+ },
2330
+ title: {
2331
+ required: false,
2332
+ control: "text",
2333
+ type: "string",
2334
+ description:
2335
+ "Text to be displayed in a tooltip when hovering over the element.",
2336
+ },
1875
2337
  translate: {
1876
2338
  required: false,
1877
2339
  control: "radio",
1878
2340
  type: "string",
1879
2341
  options: ["yes", "no"],
2342
+ description:
2343
+ "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.",
1880
2344
  },
1881
2345
  typeof: { required: false, control: "text", type: "string" },
1882
2346
  unselectable: {
@@ -1889,7 +2353,12 @@ export const propsDialogTitle: Record<string, PropMeta> = {
1889
2353
  };
1890
2354
  export const propsDialogDescription: Record<string, PropMeta> = {
1891
2355
  about: { required: false, control: "text", type: "string" },
1892
- accessKey: { required: false, control: "text", type: "string" },
2356
+ accessKey: {
2357
+ required: false,
2358
+ control: "text",
2359
+ type: "string",
2360
+ description: "Keyboard shortcut to activate or add focus to the element.",
2361
+ },
1893
2362
  "aria-activedescendant": {
1894
2363
  description:
1895
2364
  "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
@@ -2070,7 +2539,7 @@ export const propsDialogDescription: Record<string, PropMeta> = {
2070
2539
  },
2071
2540
  "aria-label": {
2072
2541
  description:
2073
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
2542
+ "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.",
2074
2543
  required: false,
2075
2544
  control: "text",
2076
2545
  type: "string",
@@ -2269,21 +2738,72 @@ export const propsDialogDescription: Record<string, PropMeta> = {
2269
2738
  control: "text",
2270
2739
  type: "string",
2271
2740
  },
2272
- asChild: { required: false, control: "boolean", type: "boolean" },
2273
- autoCapitalize: { required: false, control: "text", type: "string" },
2741
+ autoCapitalize: {
2742
+ required: false,
2743
+ control: "text",
2744
+ type: "string",
2745
+ description:
2746
+ "Sets whether input is automatically capitalized when entered by user.",
2747
+ },
2274
2748
  autoCorrect: { required: false, control: "text", type: "string" },
2275
- autoFocus: { required: false, control: "boolean", type: "boolean" },
2749
+ autoFocus: {
2750
+ required: false,
2751
+ control: "boolean",
2752
+ type: "boolean",
2753
+ description:
2754
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
2755
+ },
2276
2756
  autoSave: { required: false, control: "text", type: "string" },
2277
2757
  className: { required: false, control: "text", type: "string" },
2278
- color: { required: false, control: "color", type: "string" },
2279
- content: { required: false, control: "text", type: "string" },
2280
- contextMenu: { required: false, control: "text", type: "string" },
2758
+ color: {
2759
+ required: false,
2760
+ control: "color",
2761
+ type: "string",
2762
+ description:
2763
+ "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.",
2764
+ },
2765
+ content: {
2766
+ required: false,
2767
+ control: "text",
2768
+ type: "string",
2769
+ description:
2770
+ "A value associated with http-equiv orname depending on the context.",
2771
+ },
2772
+ contextMenu: {
2773
+ required: false,
2774
+ control: "text",
2775
+ type: "string",
2776
+ description:
2777
+ "Defines the ID of a menu element which willserve as the element's context menu.",
2778
+ },
2281
2779
  datatype: { required: false, control: "text", type: "string" },
2282
- defaultChecked: { required: false, control: "boolean", type: "boolean" },
2283
- dir: { required: false, control: "text", type: "string" },
2284
- draggable: { required: false, control: "boolean", type: "boolean" },
2285
- hidden: { required: false, control: "boolean", type: "boolean" },
2286
- id: { required: false, control: "text", type: "string" },
2780
+ dir: {
2781
+ required: false,
2782
+ control: "text",
2783
+ type: "string",
2784
+ description:
2785
+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
2786
+ },
2787
+ draggable: {
2788
+ required: false,
2789
+ control: "boolean",
2790
+ type: "boolean",
2791
+ description: "Defines whether the element can be dragged.",
2792
+ },
2793
+ hidden: {
2794
+ required: false,
2795
+ control: "boolean",
2796
+ type: "boolean",
2797
+ description:
2798
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
2799
+ },
2800
+ id: {
2801
+ required: false,
2802
+ control: "text",
2803
+ type: "string",
2804
+ description:
2805
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
2806
+ },
2287
2807
  inputMode: {
2288
2808
  description:
2289
2809
  "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",
@@ -2313,20 +2833,53 @@ export const propsDialogDescription: Record<string, PropMeta> = {
2313
2833
  itemRef: { required: false, control: "text", type: "string" },
2314
2834
  itemScope: { required: false, control: "boolean", type: "boolean" },
2315
2835
  itemType: { required: false, control: "text", type: "string" },
2316
- lang: { required: false, control: "text", type: "string" },
2836
+ lang: {
2837
+ required: false,
2838
+ control: "text",
2839
+ type: "string",
2840
+ description: "Defines the language used in the element.",
2841
+ },
2317
2842
  nonce: { required: false, control: "text", type: "string" },
2318
- placeholder: { required: false, control: "text", type: "string" },
2843
+ placeholder: {
2844
+ required: false,
2845
+ control: "text",
2846
+ type: "string",
2847
+ description:
2848
+ "Provides a hint to the user of what can be entered in the field.",
2849
+ },
2319
2850
  prefix: { required: false, control: "text", type: "string" },
2320
2851
  property: { required: false, control: "text", type: "string" },
2321
2852
  radioGroup: { required: false, control: "text", type: "string" },
2322
- rel: { required: false, control: "text", type: "string" },
2853
+ rel: {
2854
+ required: false,
2855
+ control: "text",
2856
+ type: "string",
2857
+ description:
2858
+ "Specifies the relationship of the target object to the link object.",
2859
+ },
2323
2860
  resource: { required: false, control: "text", type: "string" },
2324
2861
  results: { required: false, control: "number", type: "number" },
2325
2862
  rev: { required: false, control: "text", type: "string" },
2326
- role: { required: false, control: "text", type: "string" },
2863
+ role: {
2864
+ required: false,
2865
+ control: "text",
2866
+ type: "string",
2867
+ description:
2868
+ "Defines an explicit role for an element for use by assistive technologies.",
2869
+ },
2327
2870
  security: { required: false, control: "text", type: "string" },
2328
- slot: { required: false, control: "text", type: "string" },
2329
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2871
+ slot: {
2872
+ required: false,
2873
+ control: "text",
2874
+ type: "string",
2875
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
2876
+ },
2877
+ spellCheck: {
2878
+ required: false,
2879
+ control: "boolean",
2880
+ type: "boolean",
2881
+ description: "Indicates whether spell checking is allowed for the element.",
2882
+ },
2330
2883
  suppressContentEditableWarning: {
2331
2884
  required: false,
2332
2885
  control: "boolean",
@@ -2337,13 +2890,27 @@ export const propsDialogDescription: Record<string, PropMeta> = {
2337
2890
  control: "boolean",
2338
2891
  type: "boolean",
2339
2892
  },
2340
- tabIndex: { required: false, control: "number", type: "number" },
2341
- title: { required: false, control: "text", type: "string" },
2893
+ tabIndex: {
2894
+ required: false,
2895
+ control: "number",
2896
+ type: "number",
2897
+ description:
2898
+ "Overrides the browser's default tab order and follows the one specified instead.",
2899
+ },
2900
+ title: {
2901
+ required: false,
2902
+ control: "text",
2903
+ type: "string",
2904
+ description:
2905
+ "Text to be displayed in a tooltip when hovering over the element.",
2906
+ },
2342
2907
  translate: {
2343
2908
  required: false,
2344
2909
  control: "radio",
2345
2910
  type: "string",
2346
2911
  options: ["yes", "no"],
2912
+ description:
2913
+ "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.",
2347
2914
  },
2348
2915
  typeof: { required: false, control: "text", type: "string" },
2349
2916
  unselectable: {