@webstudio-is/sdk-components-react-radix 0.88.0 → 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 (96) hide show
  1. package/lib/__generated__/accordion.props.js +605 -109
  2. package/lib/__generated__/button.props.js +161 -29
  3. package/lib/__generated__/checkbox.props.js +284 -51
  4. package/lib/__generated__/collapsible.props.js +234 -42
  5. package/lib/__generated__/dialog.props.js +611 -110
  6. package/lib/__generated__/input.props.js +264 -47
  7. package/lib/__generated__/label.props.js +123 -22
  8. package/lib/__generated__/navigation-menu.props.js +563 -102
  9. package/lib/__generated__/popover.props.js +129 -25
  10. package/lib/__generated__/radio-group.props.js +421 -76
  11. package/lib/__generated__/select.props.js +876 -160
  12. package/lib/__generated__/sheet.props.js +591 -110
  13. package/lib/__generated__/switch.props.js +284 -51
  14. package/lib/__generated__/tabs.props.js +506 -91
  15. package/lib/__generated__/textarea.props.js +177 -31
  16. package/lib/__generated__/tooltip.props.js +131 -27
  17. package/lib/accordion.ws.js +1 -0
  18. package/lib/checkbox.ws.js +2 -0
  19. package/lib/cjs/__generated__/accordion.props.js +605 -109
  20. package/lib/cjs/__generated__/button.props.js +161 -29
  21. package/lib/cjs/__generated__/checkbox.props.js +284 -51
  22. package/lib/cjs/__generated__/collapsible.props.js +234 -42
  23. package/lib/cjs/__generated__/dialog.props.js +611 -110
  24. package/lib/cjs/__generated__/input.props.js +264 -47
  25. package/lib/cjs/__generated__/label.props.js +123 -22
  26. package/lib/cjs/__generated__/navigation-menu.props.js +563 -102
  27. package/lib/cjs/__generated__/popover.props.js +129 -25
  28. package/lib/cjs/__generated__/radio-group.props.js +421 -76
  29. package/lib/cjs/__generated__/select.props.js +875 -159
  30. package/lib/cjs/__generated__/sheet.props.js +591 -110
  31. package/lib/cjs/__generated__/switch.props.js +284 -51
  32. package/lib/cjs/__generated__/tabs.props.js +506 -91
  33. package/lib/cjs/__generated__/textarea.props.js +177 -31
  34. package/lib/cjs/__generated__/tooltip.props.js +131 -27
  35. package/lib/cjs/accordion.ws.js +1 -0
  36. package/lib/cjs/checkbox.ws.js +2 -0
  37. package/lib/cjs/collapsible.ws.js +1 -0
  38. package/lib/cjs/dialog.ws.js +1 -0
  39. package/lib/cjs/label.ws.js +1 -0
  40. package/lib/cjs/navigation-menu.ws.js +1 -0
  41. package/lib/cjs/popover.ws.js +1 -0
  42. package/lib/cjs/props-descriptions.js +56 -0
  43. package/lib/cjs/radio-group.ws.js +3 -0
  44. package/lib/cjs/select.js +3 -1
  45. package/lib/cjs/select.ws.js +1 -0
  46. package/lib/cjs/sheet.ws.js +1 -0
  47. package/lib/cjs/switch.ws.js +2 -0
  48. package/lib/cjs/tabs.ws.js +1 -0
  49. package/lib/cjs/tooltip.ws.js +1 -0
  50. package/lib/collapsible.ws.js +1 -0
  51. package/lib/dialog.ws.js +1 -0
  52. package/lib/label.ws.js +1 -0
  53. package/lib/navigation-menu.ws.js +1 -0
  54. package/lib/popover.ws.js +1 -0
  55. package/lib/props-descriptions.js +36 -0
  56. package/lib/radio-group.ws.js +3 -0
  57. package/lib/select.js +3 -1
  58. package/lib/select.ws.js +1 -0
  59. package/lib/sheet.ws.js +1 -0
  60. package/lib/switch.ws.js +2 -0
  61. package/lib/tabs.ws.js +1 -0
  62. package/lib/tooltip.ws.js +1 -0
  63. package/lib/types/props-descriptions.d.ts +29 -0
  64. package/lib/types/select.d.ts +4 -2
  65. package/package.json +6 -6
  66. package/src/__generated__/accordion.props.ts +675 -103
  67. package/src/__generated__/button.props.ts +180 -27
  68. package/src/__generated__/checkbox.props.ts +317 -48
  69. package/src/__generated__/collapsible.props.ts +261 -40
  70. package/src/__generated__/dialog.props.ts +682 -104
  71. package/src/__generated__/input.props.ts +292 -44
  72. package/src/__generated__/label.props.ts +137 -21
  73. package/src/__generated__/navigation-menu.props.ts +629 -96
  74. package/src/__generated__/popover.props.ts +142 -21
  75. package/src/__generated__/radio-group.props.ts +470 -71
  76. package/src/__generated__/select.props.ts +979 -153
  77. package/src/__generated__/sheet.props.ts +657 -99
  78. package/src/__generated__/switch.props.ts +317 -48
  79. package/src/__generated__/tabs.props.ts +565 -86
  80. package/src/__generated__/textarea.props.ts +195 -30
  81. package/src/__generated__/tooltip.props.ts +145 -23
  82. package/src/accordion.ws.ts +2 -0
  83. package/src/checkbox.ws.ts +3 -0
  84. package/src/collapsible.ws.ts +2 -0
  85. package/src/dialog.ws.tsx +2 -0
  86. package/src/label.ws.ts +2 -0
  87. package/src/navigation-menu.ws.ts +1 -0
  88. package/src/popover.ws.tsx +1 -0
  89. package/src/props-descriptions.ts +43 -0
  90. package/src/radio-group.ws.ts +4 -0
  91. package/src/select.tsx +8 -3
  92. package/src/select.ws.ts +2 -0
  93. package/src/sheet.ws.tsx +2 -0
  94. package/src/switch.ws.ts +3 -0
  95. package/src/tabs.ws.ts +2 -0
  96. package/src/tooltip.ws.tsx +2 -0
@@ -2,7 +2,12 @@ import type { PropMeta } from "@webstudio-is/generate-arg-types";
2
2
 
3
3
  export const propsTabs: Record<string, PropMeta> = {
4
4
  about: { required: false, control: "text", type: "string" },
5
- accessKey: { required: false, control: "text", type: "string" },
5
+ accessKey: {
6
+ required: false,
7
+ control: "text",
8
+ type: "string",
9
+ description: "Keyboard shortcut to activate or add focus to the element.",
10
+ },
6
11
  activationMode: {
7
12
  description:
8
13
  "Whether a tab is activated automatically or manually.\n@defaultValue automatic",
@@ -191,7 +196,7 @@ export const propsTabs: Record<string, PropMeta> = {
191
196
  },
192
197
  "aria-label": {
193
198
  description:
194
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
199
+ "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
195
200
  required: false,
196
201
  control: "text",
197
202
  type: "string",
@@ -390,14 +395,44 @@ export const propsTabs: Record<string, PropMeta> = {
390
395
  control: "text",
391
396
  type: "string",
392
397
  },
393
- autoCapitalize: { required: false, control: "text", type: "string" },
398
+ autoCapitalize: {
399
+ required: false,
400
+ control: "text",
401
+ type: "string",
402
+ description:
403
+ "Sets whether input is automatically capitalized when entered by user.",
404
+ },
394
405
  autoCorrect: { required: false, control: "text", type: "string" },
395
- autoFocus: { required: false, control: "boolean", type: "boolean" },
406
+ autoFocus: {
407
+ required: false,
408
+ control: "boolean",
409
+ type: "boolean",
410
+ description:
411
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
412
+ },
396
413
  autoSave: { required: false, control: "text", type: "string" },
397
414
  className: { required: false, control: "text", type: "string" },
398
- color: { required: false, control: "color", type: "string" },
399
- content: { required: false, control: "text", type: "string" },
400
- contextMenu: { required: false, control: "text", type: "string" },
415
+ color: {
416
+ required: false,
417
+ control: "color",
418
+ type: "string",
419
+ description:
420
+ "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead.",
421
+ },
422
+ content: {
423
+ required: false,
424
+ control: "text",
425
+ type: "string",
426
+ description:
427
+ "A value associated with http-equiv orname depending on the context.",
428
+ },
429
+ contextMenu: {
430
+ required: false,
431
+ control: "text",
432
+ type: "string",
433
+ description:
434
+ "Defines the ID of a menu element which willserve as the element's context menu.",
435
+ },
401
436
  datatype: { required: false, control: "text", type: "string" },
402
437
  dir: {
403
438
  description: "The direction of navigation between toolbar items.",
@@ -406,9 +441,26 @@ export const propsTabs: Record<string, PropMeta> = {
406
441
  type: "string",
407
442
  options: ["ltr", "rtl"],
408
443
  },
409
- draggable: { required: false, control: "boolean", type: "boolean" },
410
- hidden: { required: false, control: "boolean", type: "boolean" },
411
- id: { required: false, control: "text", type: "string" },
444
+ draggable: {
445
+ required: false,
446
+ control: "boolean",
447
+ type: "boolean",
448
+ description: "Defines whether the element can be dragged.",
449
+ },
450
+ hidden: {
451
+ required: false,
452
+ control: "boolean",
453
+ type: "boolean",
454
+ description:
455
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
456
+ },
457
+ id: {
458
+ required: false,
459
+ control: "text",
460
+ type: "string",
461
+ description:
462
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
463
+ },
412
464
  inputMode: {
413
465
  description:
414
466
  "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
@@ -438,7 +490,12 @@ export const propsTabs: Record<string, PropMeta> = {
438
490
  itemRef: { required: false, control: "text", type: "string" },
439
491
  itemScope: { required: false, control: "boolean", type: "boolean" },
440
492
  itemType: { required: false, control: "text", type: "string" },
441
- lang: { required: false, control: "text", type: "string" },
493
+ lang: {
494
+ required: false,
495
+ control: "text",
496
+ type: "string",
497
+ description: "Defines the language used in the element.",
498
+ },
442
499
  nonce: { required: false, control: "text", type: "string" },
443
500
  orientation: {
444
501
  description:
@@ -448,18 +505,46 @@ export const propsTabs: Record<string, PropMeta> = {
448
505
  type: "string",
449
506
  options: ["horizontal", "vertical"],
450
507
  },
451
- placeholder: { required: false, control: "text", type: "string" },
508
+ placeholder: {
509
+ required: false,
510
+ control: "text",
511
+ type: "string",
512
+ description:
513
+ "Provides a hint to the user of what can be entered in the field.",
514
+ },
452
515
  prefix: { required: false, control: "text", type: "string" },
453
516
  property: { required: false, control: "text", type: "string" },
454
517
  radioGroup: { required: false, control: "text", type: "string" },
455
- rel: { required: false, control: "text", type: "string" },
518
+ rel: {
519
+ required: false,
520
+ control: "text",
521
+ type: "string",
522
+ description:
523
+ "Specifies the relationship of the target object to the link object.",
524
+ },
456
525
  resource: { required: false, control: "text", type: "string" },
457
526
  results: { required: false, control: "number", type: "number" },
458
527
  rev: { required: false, control: "text", type: "string" },
459
- role: { required: false, control: "text", type: "string" },
528
+ role: {
529
+ required: false,
530
+ control: "text",
531
+ type: "string",
532
+ description:
533
+ "Defines an explicit role for an element for use by assistive technologies.",
534
+ },
460
535
  security: { required: false, control: "text", type: "string" },
461
- slot: { required: false, control: "text", type: "string" },
462
- spellCheck: { required: false, control: "boolean", type: "boolean" },
536
+ slot: {
537
+ required: false,
538
+ control: "text",
539
+ type: "string",
540
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
541
+ },
542
+ spellCheck: {
543
+ required: false,
544
+ control: "boolean",
545
+ type: "boolean",
546
+ description: "Indicates whether spell checking is allowed for the element.",
547
+ },
463
548
  suppressContentEditableWarning: {
464
549
  required: false,
465
550
  control: "boolean",
@@ -470,13 +555,27 @@ export const propsTabs: Record<string, PropMeta> = {
470
555
  control: "boolean",
471
556
  type: "boolean",
472
557
  },
473
- tabIndex: { required: false, control: "number", type: "number" },
474
- title: { required: false, control: "text", type: "string" },
558
+ tabIndex: {
559
+ required: false,
560
+ control: "number",
561
+ type: "number",
562
+ description:
563
+ "Overrides the browser's default tab order and follows the one specified instead.",
564
+ },
565
+ title: {
566
+ required: false,
567
+ control: "text",
568
+ type: "string",
569
+ description:
570
+ "Text to be displayed in a tooltip when hovering over the element.",
571
+ },
475
572
  translate: {
476
573
  required: false,
477
574
  control: "radio",
478
575
  type: "string",
479
576
  options: ["yes", "no"],
577
+ description:
578
+ "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged.",
480
579
  },
481
580
  typeof: { required: false, control: "text", type: "string" },
482
581
  unselectable: {
@@ -495,7 +594,12 @@ export const propsTabs: Record<string, PropMeta> = {
495
594
  };
496
595
  export const propsTabsList: Record<string, PropMeta> = {
497
596
  about: { required: false, control: "text", type: "string" },
498
- accessKey: { required: false, control: "text", type: "string" },
597
+ accessKey: {
598
+ required: false,
599
+ control: "text",
600
+ type: "string",
601
+ description: "Keyboard shortcut to activate or add focus to the element.",
602
+ },
499
603
  "aria-activedescendant": {
500
604
  description:
501
605
  "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
@@ -676,7 +780,7 @@ export const propsTabsList: Record<string, PropMeta> = {
676
780
  },
677
781
  "aria-label": {
678
782
  description:
679
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
783
+ "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
680
784
  required: false,
681
785
  control: "text",
682
786
  type: "string",
@@ -875,19 +979,72 @@ export const propsTabsList: Record<string, PropMeta> = {
875
979
  control: "text",
876
980
  type: "string",
877
981
  },
878
- autoCapitalize: { required: false, control: "text", type: "string" },
982
+ autoCapitalize: {
983
+ required: false,
984
+ control: "text",
985
+ type: "string",
986
+ description:
987
+ "Sets whether input is automatically capitalized when entered by user.",
988
+ },
879
989
  autoCorrect: { required: false, control: "text", type: "string" },
880
- autoFocus: { required: false, control: "boolean", type: "boolean" },
990
+ autoFocus: {
991
+ required: false,
992
+ control: "boolean",
993
+ type: "boolean",
994
+ description:
995
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
996
+ },
881
997
  autoSave: { required: false, control: "text", type: "string" },
882
998
  className: { required: false, control: "text", type: "string" },
883
- color: { required: false, control: "color", type: "string" },
884
- content: { required: false, control: "text", type: "string" },
885
- contextMenu: { required: false, control: "text", type: "string" },
999
+ color: {
1000
+ required: false,
1001
+ control: "color",
1002
+ type: "string",
1003
+ description:
1004
+ "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead.",
1005
+ },
1006
+ content: {
1007
+ required: false,
1008
+ control: "text",
1009
+ type: "string",
1010
+ description:
1011
+ "A value associated with http-equiv orname depending on the context.",
1012
+ },
1013
+ contextMenu: {
1014
+ required: false,
1015
+ control: "text",
1016
+ type: "string",
1017
+ description:
1018
+ "Defines the ID of a menu element which willserve as the element's context menu.",
1019
+ },
886
1020
  datatype: { required: false, control: "text", type: "string" },
887
- dir: { required: false, control: "text", type: "string" },
888
- draggable: { required: false, control: "boolean", type: "boolean" },
889
- hidden: { required: false, control: "boolean", type: "boolean" },
890
- id: { required: false, control: "text", type: "string" },
1021
+ dir: {
1022
+ required: false,
1023
+ control: "text",
1024
+ type: "string",
1025
+ description:
1026
+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
1027
+ },
1028
+ draggable: {
1029
+ required: false,
1030
+ control: "boolean",
1031
+ type: "boolean",
1032
+ description: "Defines whether the element can be dragged.",
1033
+ },
1034
+ hidden: {
1035
+ required: false,
1036
+ control: "boolean",
1037
+ type: "boolean",
1038
+ description:
1039
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
1040
+ },
1041
+ id: {
1042
+ required: false,
1043
+ control: "text",
1044
+ type: "string",
1045
+ description:
1046
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
1047
+ },
891
1048
  inputMode: {
892
1049
  description:
893
1050
  "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
@@ -917,21 +1074,60 @@ export const propsTabsList: Record<string, PropMeta> = {
917
1074
  itemRef: { required: false, control: "text", type: "string" },
918
1075
  itemScope: { required: false, control: "boolean", type: "boolean" },
919
1076
  itemType: { required: false, control: "text", type: "string" },
920
- lang: { required: false, control: "text", type: "string" },
921
- loop: { required: false, control: "boolean", type: "boolean" },
1077
+ lang: {
1078
+ required: false,
1079
+ control: "text",
1080
+ type: "string",
1081
+ description: "Defines the language used in the element.",
1082
+ },
1083
+ loop: {
1084
+ required: false,
1085
+ control: "boolean",
1086
+ type: "boolean",
1087
+ description:
1088
+ "Indicates whether the media should start playing from the start when it's finished.",
1089
+ },
922
1090
  nonce: { required: false, control: "text", type: "string" },
923
- placeholder: { required: false, control: "text", type: "string" },
1091
+ placeholder: {
1092
+ required: false,
1093
+ control: "text",
1094
+ type: "string",
1095
+ description:
1096
+ "Provides a hint to the user of what can be entered in the field.",
1097
+ },
924
1098
  prefix: { required: false, control: "text", type: "string" },
925
1099
  property: { required: false, control: "text", type: "string" },
926
1100
  radioGroup: { required: false, control: "text", type: "string" },
927
- rel: { required: false, control: "text", type: "string" },
1101
+ rel: {
1102
+ required: false,
1103
+ control: "text",
1104
+ type: "string",
1105
+ description:
1106
+ "Specifies the relationship of the target object to the link object.",
1107
+ },
928
1108
  resource: { required: false, control: "text", type: "string" },
929
1109
  results: { required: false, control: "number", type: "number" },
930
1110
  rev: { required: false, control: "text", type: "string" },
931
- role: { required: false, control: "text", type: "string" },
1111
+ role: {
1112
+ required: false,
1113
+ control: "text",
1114
+ type: "string",
1115
+ description:
1116
+ "Defines an explicit role for an element for use by assistive technologies.",
1117
+ },
932
1118
  security: { required: false, control: "text", type: "string" },
933
- slot: { required: false, control: "text", type: "string" },
934
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1119
+ slot: {
1120
+ required: false,
1121
+ control: "text",
1122
+ type: "string",
1123
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
1124
+ },
1125
+ spellCheck: {
1126
+ required: false,
1127
+ control: "boolean",
1128
+ type: "boolean",
1129
+ description: "Indicates whether spell checking is allowed for the element.",
1130
+ },
935
1131
  suppressContentEditableWarning: {
936
1132
  required: false,
937
1133
  control: "boolean",
@@ -942,13 +1138,27 @@ export const propsTabsList: Record<string, PropMeta> = {
942
1138
  control: "boolean",
943
1139
  type: "boolean",
944
1140
  },
945
- tabIndex: { required: false, control: "number", type: "number" },
946
- title: { required: false, control: "text", type: "string" },
1141
+ tabIndex: {
1142
+ required: false,
1143
+ control: "number",
1144
+ type: "number",
1145
+ description:
1146
+ "Overrides the browser's default tab order and follows the one specified instead.",
1147
+ },
1148
+ title: {
1149
+ required: false,
1150
+ control: "text",
1151
+ type: "string",
1152
+ description:
1153
+ "Text to be displayed in a tooltip when hovering over the element.",
1154
+ },
947
1155
  translate: {
948
1156
  required: false,
949
1157
  control: "radio",
950
1158
  type: "string",
951
1159
  options: ["yes", "no"],
1160
+ description:
1161
+ "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged.",
952
1162
  },
953
1163
  typeof: { required: false, control: "text", type: "string" },
954
1164
  unselectable: {
@@ -961,7 +1171,12 @@ export const propsTabsList: Record<string, PropMeta> = {
961
1171
  };
962
1172
  export const propsTabsTrigger: Record<string, PropMeta> = {
963
1173
  about: { required: false, control: "text", type: "string" },
964
- accessKey: { required: false, control: "text", type: "string" },
1174
+ accessKey: {
1175
+ required: false,
1176
+ control: "text",
1177
+ type: "string",
1178
+ description: "Keyboard shortcut to activate or add focus to the element.",
1179
+ },
965
1180
  "aria-activedescendant": {
966
1181
  description:
967
1182
  "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
@@ -1142,7 +1357,7 @@ export const propsTabsTrigger: Record<string, PropMeta> = {
1142
1357
  },
1143
1358
  "aria-label": {
1144
1359
  description:
1145
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
1360
+ "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
1146
1361
  required: false,
1147
1362
  control: "text",
1148
1363
  type: "string",
@@ -1341,26 +1556,119 @@ export const propsTabsTrigger: Record<string, PropMeta> = {
1341
1556
  control: "text",
1342
1557
  type: "string",
1343
1558
  },
1344
- autoCapitalize: { required: false, control: "text", type: "string" },
1559
+ autoCapitalize: {
1560
+ required: false,
1561
+ control: "text",
1562
+ type: "string",
1563
+ description:
1564
+ "Sets whether input is automatically capitalized when entered by user.",
1565
+ },
1345
1566
  autoCorrect: { required: false, control: "text", type: "string" },
1346
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1567
+ autoFocus: {
1568
+ required: false,
1569
+ control: "boolean",
1570
+ type: "boolean",
1571
+ description:
1572
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
1573
+ },
1347
1574
  autoSave: { required: false, control: "text", type: "string" },
1348
1575
  className: { required: false, control: "text", type: "string" },
1349
- color: { required: false, control: "color", type: "string" },
1350
- content: { required: false, control: "text", type: "string" },
1351
- contextMenu: { required: false, control: "text", type: "string" },
1576
+ color: {
1577
+ required: false,
1578
+ control: "color",
1579
+ type: "string",
1580
+ description:
1581
+ "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead.",
1582
+ },
1583
+ content: {
1584
+ required: false,
1585
+ control: "text",
1586
+ type: "string",
1587
+ description:
1588
+ "A value associated with http-equiv orname depending on the context.",
1589
+ },
1590
+ contextMenu: {
1591
+ required: false,
1592
+ control: "text",
1593
+ type: "string",
1594
+ description:
1595
+ "Defines the ID of a menu element which willserve as the element's context menu.",
1596
+ },
1352
1597
  datatype: { required: false, control: "text", type: "string" },
1353
- dir: { required: false, control: "text", type: "string" },
1354
- disabled: { required: false, control: "boolean", type: "boolean" },
1355
- draggable: { required: false, control: "boolean", type: "boolean" },
1356
- form: { required: false, control: "text", type: "string" },
1357
- formAction: { required: false, control: "text", type: "string" },
1358
- formEncType: { required: false, control: "text", type: "string" },
1359
- formMethod: { required: false, control: "text", type: "string" },
1360
- formNoValidate: { required: false, control: "boolean", type: "boolean" },
1361
- formTarget: { required: false, control: "text", type: "string" },
1362
- hidden: { required: false, control: "boolean", type: "boolean" },
1363
- id: { required: false, control: "text", type: "string" },
1598
+ dir: {
1599
+ required: false,
1600
+ control: "text",
1601
+ type: "string",
1602
+ description:
1603
+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
1604
+ },
1605
+ disabled: {
1606
+ required: false,
1607
+ control: "boolean",
1608
+ type: "boolean",
1609
+ description: "Indicates whether the user can interact with the element.",
1610
+ },
1611
+ draggable: {
1612
+ required: false,
1613
+ control: "boolean",
1614
+ type: "boolean",
1615
+ description: "Defines whether the element can be dragged.",
1616
+ },
1617
+ form: {
1618
+ required: false,
1619
+ control: "text",
1620
+ type: "string",
1621
+ description: "Indicates the form that is the owner of the element.",
1622
+ },
1623
+ formAction: {
1624
+ required: false,
1625
+ control: "text",
1626
+ type: "string",
1627
+ description:
1628
+ "Indicates the action of the element, overriding the action defined inthe form.",
1629
+ },
1630
+ formEncType: {
1631
+ required: false,
1632
+ control: "text",
1633
+ type: "string",
1634
+ description:
1635
+ 'If the button/input is a submit button (e.g. type="submit"), this attribute sets the encoding type to use during form submission. If this attribute is specified, it overrides theenctype attribute of the button\'s form owner.',
1636
+ },
1637
+ formMethod: {
1638
+ required: false,
1639
+ control: "text",
1640
+ type: "string",
1641
+ description:
1642
+ 'If the button/input is a submit button (e.g. type="submit"), this attribute sets the submission method to use during form submission (GET, POST, etc.). If this attribute is specified, it overrides the method attribute of the button\'s form owner.',
1643
+ },
1644
+ formNoValidate: {
1645
+ required: false,
1646
+ control: "boolean",
1647
+ type: "boolean",
1648
+ description:
1649
+ 'If the button/input is a submit button (e.g. type="submit"), this boolean attribute specifies that the form is not to be validatedwhen it is submitted. If this attribute is specified, it overrides thenovalidate attribute of the button\'s form owner.',
1650
+ },
1651
+ formTarget: {
1652
+ required: false,
1653
+ control: "text",
1654
+ type: "string",
1655
+ description:
1656
+ 'If the button/input is a submit button (e.g. type="submit"), this attribute specifies the browsing context (for example, tab, window, or inline frame) in which to display the response that is received aftersubmitting the form. If this attribute is specified, it overrides thetarget attribute of the button\'s form owner.',
1657
+ },
1658
+ hidden: {
1659
+ required: false,
1660
+ control: "boolean",
1661
+ type: "boolean",
1662
+ description:
1663
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
1664
+ },
1665
+ id: {
1666
+ required: false,
1667
+ control: "text",
1668
+ type: "string",
1669
+ description:
1670
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
1671
+ },
1364
1672
  inputMode: {
1365
1673
  description:
1366
1674
  "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
@@ -1390,21 +1698,60 @@ export const propsTabsTrigger: Record<string, PropMeta> = {
1390
1698
  itemRef: { required: false, control: "text", type: "string" },
1391
1699
  itemScope: { required: false, control: "boolean", type: "boolean" },
1392
1700
  itemType: { required: false, control: "text", type: "string" },
1393
- lang: { required: false, control: "text", type: "string" },
1394
- name: { required: false, control: "text", type: "string" },
1701
+ lang: {
1702
+ required: false,
1703
+ control: "text",
1704
+ type: "string",
1705
+ description: "Defines the language used in the element.",
1706
+ },
1707
+ name: {
1708
+ required: false,
1709
+ control: "text",
1710
+ type: "string",
1711
+ description:
1712
+ "This name is important when submitting form data to the server, as it identifies the data associated with the input. When multiple inputs share the same name attribute, they are treated as part of the same group (e.g., radio buttons or checkboxes).",
1713
+ },
1395
1714
  nonce: { required: false, control: "text", type: "string" },
1396
- placeholder: { required: false, control: "text", type: "string" },
1715
+ placeholder: {
1716
+ required: false,
1717
+ control: "text",
1718
+ type: "string",
1719
+ description:
1720
+ "Provides a hint to the user of what can be entered in the field.",
1721
+ },
1397
1722
  prefix: { required: false, control: "text", type: "string" },
1398
1723
  property: { required: false, control: "text", type: "string" },
1399
1724
  radioGroup: { required: false, control: "text", type: "string" },
1400
- rel: { required: false, control: "text", type: "string" },
1725
+ rel: {
1726
+ required: false,
1727
+ control: "text",
1728
+ type: "string",
1729
+ description:
1730
+ "Specifies the relationship of the target object to the link object.",
1731
+ },
1401
1732
  resource: { required: false, control: "text", type: "string" },
1402
1733
  results: { required: false, control: "number", type: "number" },
1403
1734
  rev: { required: false, control: "text", type: "string" },
1404
- role: { required: false, control: "text", type: "string" },
1735
+ role: {
1736
+ required: false,
1737
+ control: "text",
1738
+ type: "string",
1739
+ description:
1740
+ "Defines an explicit role for an element for use by assistive technologies.",
1741
+ },
1405
1742
  security: { required: false, control: "text", type: "string" },
1406
- slot: { required: false, control: "text", type: "string" },
1407
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1743
+ slot: {
1744
+ required: false,
1745
+ control: "text",
1746
+ type: "string",
1747
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
1748
+ },
1749
+ spellCheck: {
1750
+ required: false,
1751
+ control: "boolean",
1752
+ type: "boolean",
1753
+ description: "Indicates whether spell checking is allowed for the element.",
1754
+ },
1408
1755
  suppressContentEditableWarning: {
1409
1756
  required: false,
1410
1757
  control: "boolean",
@@ -1415,19 +1762,34 @@ export const propsTabsTrigger: Record<string, PropMeta> = {
1415
1762
  control: "boolean",
1416
1763
  type: "boolean",
1417
1764
  },
1418
- tabIndex: { required: false, control: "number", type: "number" },
1419
- title: { required: false, control: "text", type: "string" },
1765
+ tabIndex: {
1766
+ required: false,
1767
+ control: "number",
1768
+ type: "number",
1769
+ description:
1770
+ "Overrides the browser's default tab order and follows the one specified instead.",
1771
+ },
1772
+ title: {
1773
+ required: false,
1774
+ control: "text",
1775
+ type: "string",
1776
+ description:
1777
+ "Text to be displayed in a tooltip when hovering over the element.",
1778
+ },
1420
1779
  translate: {
1421
1780
  required: false,
1422
1781
  control: "radio",
1423
1782
  type: "string",
1424
1783
  options: ["yes", "no"],
1784
+ description:
1785
+ "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged.",
1425
1786
  },
1426
1787
  type: {
1427
1788
  required: false,
1428
1789
  control: "radio",
1429
1790
  type: "string",
1430
1791
  options: ["button", "submit", "reset"],
1792
+ description: "Defines the type of the element.",
1431
1793
  },
1432
1794
  typeof: { required: false, control: "text", type: "string" },
1433
1795
  unselectable: {
@@ -1436,12 +1798,23 @@ export const propsTabsTrigger: Record<string, PropMeta> = {
1436
1798
  type: "string",
1437
1799
  options: ["on", "off"],
1438
1800
  },
1439
- value: { required: true, control: "text", type: "string" },
1801
+ value: {
1802
+ required: true,
1803
+ control: "text",
1804
+ type: "string",
1805
+ description:
1806
+ "Defines a default value which will be displayed in the element on pageload.",
1807
+ },
1440
1808
  vocab: { required: false, control: "text", type: "string" },
1441
1809
  };
1442
1810
  export const propsTabsContent: Record<string, PropMeta> = {
1443
1811
  about: { required: false, control: "text", type: "string" },
1444
- accessKey: { required: false, control: "text", type: "string" },
1812
+ accessKey: {
1813
+ required: false,
1814
+ control: "text",
1815
+ type: "string",
1816
+ description: "Keyboard shortcut to activate or add focus to the element.",
1817
+ },
1445
1818
  "aria-activedescendant": {
1446
1819
  description:
1447
1820
  "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
@@ -1622,7 +1995,7 @@ export const propsTabsContent: Record<string, PropMeta> = {
1622
1995
  },
1623
1996
  "aria-label": {
1624
1997
  description:
1625
- "Defines a string value that labels the current element.\n@see aria-labelledby.",
1998
+ "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
1626
1999
  required: false,
1627
2000
  control: "text",
1628
2001
  type: "string",
@@ -1821,19 +2194,72 @@ export const propsTabsContent: Record<string, PropMeta> = {
1821
2194
  control: "text",
1822
2195
  type: "string",
1823
2196
  },
1824
- autoCapitalize: { required: false, control: "text", type: "string" },
2197
+ autoCapitalize: {
2198
+ required: false,
2199
+ control: "text",
2200
+ type: "string",
2201
+ description:
2202
+ "Sets whether input is automatically capitalized when entered by user.",
2203
+ },
1825
2204
  autoCorrect: { required: false, control: "text", type: "string" },
1826
- autoFocus: { required: false, control: "boolean", type: "boolean" },
2205
+ autoFocus: {
2206
+ required: false,
2207
+ control: "boolean",
2208
+ type: "boolean",
2209
+ description:
2210
+ "Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
2211
+ },
1827
2212
  autoSave: { required: false, control: "text", type: "string" },
1828
2213
  className: { required: false, control: "text", type: "string" },
1829
- color: { required: false, control: "color", type: "string" },
1830
- content: { required: false, control: "text", type: "string" },
1831
- contextMenu: { required: false, control: "text", type: "string" },
2214
+ color: {
2215
+ required: false,
2216
+ control: "color",
2217
+ type: "string",
2218
+ description:
2219
+ "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead.",
2220
+ },
2221
+ content: {
2222
+ required: false,
2223
+ control: "text",
2224
+ type: "string",
2225
+ description:
2226
+ "A value associated with http-equiv orname depending on the context.",
2227
+ },
2228
+ contextMenu: {
2229
+ required: false,
2230
+ control: "text",
2231
+ type: "string",
2232
+ description:
2233
+ "Defines the ID of a menu element which willserve as the element's context menu.",
2234
+ },
1832
2235
  datatype: { required: false, control: "text", type: "string" },
1833
- dir: { required: false, control: "text", type: "string" },
1834
- draggable: { required: false, control: "boolean", type: "boolean" },
1835
- hidden: { required: false, control: "boolean", type: "boolean" },
1836
- id: { required: false, control: "text", type: "string" },
2236
+ dir: {
2237
+ required: false,
2238
+ control: "text",
2239
+ type: "string",
2240
+ description:
2241
+ "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
2242
+ },
2243
+ draggable: {
2244
+ required: false,
2245
+ control: "boolean",
2246
+ type: "boolean",
2247
+ description: "Defines whether the element can be dragged.",
2248
+ },
2249
+ hidden: {
2250
+ required: false,
2251
+ control: "boolean",
2252
+ type: "boolean",
2253
+ description:
2254
+ "Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
2255
+ },
2256
+ id: {
2257
+ required: false,
2258
+ control: "text",
2259
+ type: "string",
2260
+ description:
2261
+ "Often used with CSS to style a specific element. The value of this attribute must be unique.",
2262
+ },
1837
2263
  inputMode: {
1838
2264
  description:
1839
2265
  "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
@@ -1863,20 +2289,53 @@ export const propsTabsContent: Record<string, PropMeta> = {
1863
2289
  itemRef: { required: false, control: "text", type: "string" },
1864
2290
  itemScope: { required: false, control: "boolean", type: "boolean" },
1865
2291
  itemType: { required: false, control: "text", type: "string" },
1866
- lang: { required: false, control: "text", type: "string" },
2292
+ lang: {
2293
+ required: false,
2294
+ control: "text",
2295
+ type: "string",
2296
+ description: "Defines the language used in the element.",
2297
+ },
1867
2298
  nonce: { required: false, control: "text", type: "string" },
1868
- placeholder: { required: false, control: "text", type: "string" },
2299
+ placeholder: {
2300
+ required: false,
2301
+ control: "text",
2302
+ type: "string",
2303
+ description:
2304
+ "Provides a hint to the user of what can be entered in the field.",
2305
+ },
1869
2306
  prefix: { required: false, control: "text", type: "string" },
1870
2307
  property: { required: false, control: "text", type: "string" },
1871
2308
  radioGroup: { required: false, control: "text", type: "string" },
1872
- rel: { required: false, control: "text", type: "string" },
2309
+ rel: {
2310
+ required: false,
2311
+ control: "text",
2312
+ type: "string",
2313
+ description:
2314
+ "Specifies the relationship of the target object to the link object.",
2315
+ },
1873
2316
  resource: { required: false, control: "text", type: "string" },
1874
2317
  results: { required: false, control: "number", type: "number" },
1875
2318
  rev: { required: false, control: "text", type: "string" },
1876
- role: { required: false, control: "text", type: "string" },
2319
+ role: {
2320
+ required: false,
2321
+ control: "text",
2322
+ type: "string",
2323
+ description:
2324
+ "Defines an explicit role for an element for use by assistive technologies.",
2325
+ },
1877
2326
  security: { required: false, control: "text", type: "string" },
1878
- slot: { required: false, control: "text", type: "string" },
1879
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2327
+ slot: {
2328
+ required: false,
2329
+ control: "text",
2330
+ type: "string",
2331
+ description: "Assigns a slot in a shadow DOM shadow tree to an element.",
2332
+ },
2333
+ spellCheck: {
2334
+ required: false,
2335
+ control: "boolean",
2336
+ type: "boolean",
2337
+ description: "Indicates whether spell checking is allowed for the element.",
2338
+ },
1880
2339
  suppressContentEditableWarning: {
1881
2340
  required: false,
1882
2341
  control: "boolean",
@@ -1887,13 +2346,27 @@ export const propsTabsContent: Record<string, PropMeta> = {
1887
2346
  control: "boolean",
1888
2347
  type: "boolean",
1889
2348
  },
1890
- tabIndex: { required: false, control: "number", type: "number" },
1891
- title: { required: false, control: "text", type: "string" },
2349
+ tabIndex: {
2350
+ required: false,
2351
+ control: "number",
2352
+ type: "number",
2353
+ description:
2354
+ "Overrides the browser's default tab order and follows the one specified instead.",
2355
+ },
2356
+ title: {
2357
+ required: false,
2358
+ control: "text",
2359
+ type: "string",
2360
+ description:
2361
+ "Text to be displayed in a tooltip when hovering over the element.",
2362
+ },
1892
2363
  translate: {
1893
2364
  required: false,
1894
2365
  control: "radio",
1895
2366
  type: "string",
1896
2367
  options: ["yes", "no"],
2368
+ description:
2369
+ "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged.",
1897
2370
  },
1898
2371
  typeof: { required: false, control: "text", type: "string" },
1899
2372
  unselectable: {
@@ -1902,6 +2375,12 @@ export const propsTabsContent: Record<string, PropMeta> = {
1902
2375
  type: "string",
1903
2376
  options: ["on", "off"],
1904
2377
  },
1905
- value: { required: true, control: "text", type: "string" },
2378
+ value: {
2379
+ required: true,
2380
+ control: "text",
2381
+ type: "string",
2382
+ description:
2383
+ "Defines a default value which will be displayed in the element on pageload.",
2384
+ },
1906
2385
  vocab: { required: false, control: "text", type: "string" },
1907
2386
  };