@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
@@ -28,12 +28,22 @@ __export(sheet_props_exports, {
28
28
  });
29
29
  module.exports = __toCommonJS(sheet_props_exports);
30
30
  const propsSheet = {
31
- open: { required: false, control: "boolean", type: "boolean" }
31
+ open: {
32
+ required: false,
33
+ control: "boolean",
34
+ type: "boolean",
35
+ description: "Show or hide the content of this component on the canvas. This will not affect the initial state of the component."
36
+ }
32
37
  };
33
38
  const propsSheetTrigger = {};
34
39
  const propsSheetOverlay = {
35
40
  about: { required: false, control: "text", type: "string" },
36
- accessKey: { required: false, control: "text", type: "string" },
41
+ accessKey: {
42
+ required: false,
43
+ control: "text",
44
+ type: "string",
45
+ description: "Keyboard shortcut to activate or add focus to the element."
46
+ },
37
47
  "aria-activedescendant": {
38
48
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
39
49
  required: false,
@@ -189,7 +199,7 @@ const propsSheetOverlay = {
189
199
  type: "string"
190
200
  },
191
201
  "aria-label": {
192
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
202
+ description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
193
203
  required: false,
194
204
  control: "text",
195
205
  type: "string"
@@ -365,19 +375,64 @@ const propsSheetOverlay = {
365
375
  control: "text",
366
376
  type: "string"
367
377
  },
368
- autoCapitalize: { required: false, control: "text", type: "string" },
378
+ autoCapitalize: {
379
+ required: false,
380
+ control: "text",
381
+ type: "string",
382
+ description: "Sets whether input is automatically capitalized when entered by user."
383
+ },
369
384
  autoCorrect: { required: false, control: "text", type: "string" },
370
- autoFocus: { required: false, control: "boolean", type: "boolean" },
385
+ autoFocus: {
386
+ required: false,
387
+ control: "boolean",
388
+ type: "boolean",
389
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
390
+ },
371
391
  autoSave: { required: false, control: "text", type: "string" },
372
392
  className: { required: false, control: "text", type: "string" },
373
- color: { required: false, control: "color", type: "string" },
374
- content: { required: false, control: "text", type: "string" },
375
- contextMenu: { required: false, control: "text", type: "string" },
393
+ color: {
394
+ required: false,
395
+ control: "color",
396
+ type: "string",
397
+ description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
398
+ },
399
+ content: {
400
+ required: false,
401
+ control: "text",
402
+ type: "string",
403
+ description: "A value associated with http-equiv orname depending on the context."
404
+ },
405
+ contextMenu: {
406
+ required: false,
407
+ control: "text",
408
+ type: "string",
409
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
410
+ },
376
411
  datatype: { required: false, control: "text", type: "string" },
377
- dir: { required: false, control: "text", type: "string" },
378
- draggable: { required: false, control: "boolean", type: "boolean" },
379
- hidden: { required: false, control: "boolean", type: "boolean" },
380
- id: { required: false, control: "text", type: "string" },
412
+ dir: {
413
+ required: false,
414
+ control: "text",
415
+ type: "string",
416
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
417
+ },
418
+ draggable: {
419
+ required: false,
420
+ control: "boolean",
421
+ type: "boolean",
422
+ description: "Defines whether the element can be dragged."
423
+ },
424
+ hidden: {
425
+ required: false,
426
+ control: "boolean",
427
+ type: "boolean",
428
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
429
+ },
430
+ id: {
431
+ required: false,
432
+ control: "text",
433
+ type: "string",
434
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
435
+ },
381
436
  inputMode: {
382
437
  description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
383
438
  required: false,
@@ -405,13 +460,28 @@ const propsSheetOverlay = {
405
460
  itemRef: { required: false, control: "text", type: "string" },
406
461
  itemScope: { required: false, control: "boolean", type: "boolean" },
407
462
  itemType: { required: false, control: "text", type: "string" },
408
- lang: { required: false, control: "text", type: "string" },
463
+ lang: {
464
+ required: false,
465
+ control: "text",
466
+ type: "string",
467
+ description: "Defines the language used in the element."
468
+ },
409
469
  nonce: { required: false, control: "text", type: "string" },
410
- placeholder: { required: false, control: "text", type: "string" },
470
+ placeholder: {
471
+ required: false,
472
+ control: "text",
473
+ type: "string",
474
+ description: "Provides a hint to the user of what can be entered in the field."
475
+ },
411
476
  prefix: { required: false, control: "text", type: "string" },
412
477
  property: { required: false, control: "text", type: "string" },
413
478
  radioGroup: { required: false, control: "text", type: "string" },
414
- rel: { required: false, control: "text", type: "string" },
479
+ rel: {
480
+ required: false,
481
+ control: "text",
482
+ type: "string",
483
+ description: "Specifies the relationship of the target object to the link object."
484
+ },
415
485
  resource: { required: false, control: "text", type: "string" },
416
486
  results: { required: false, control: "number", type: "number" },
417
487
  rev: { required: false, control: "text", type: "string" },
@@ -419,11 +489,22 @@ const propsSheetOverlay = {
419
489
  required: false,
420
490
  control: "text",
421
491
  type: "string",
422
- defaultValue: "navigation"
492
+ defaultValue: "navigation",
493
+ description: "Defines an explicit role for an element for use by assistive technologies."
423
494
  },
424
495
  security: { required: false, control: "text", type: "string" },
425
- slot: { required: false, control: "text", type: "string" },
426
- spellCheck: { required: false, control: "boolean", type: "boolean" },
496
+ slot: {
497
+ required: false,
498
+ control: "text",
499
+ type: "string",
500
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
501
+ },
502
+ spellCheck: {
503
+ required: false,
504
+ control: "boolean",
505
+ type: "boolean",
506
+ description: "Indicates whether spell checking is allowed for the element."
507
+ },
427
508
  suppressContentEditableWarning: {
428
509
  required: false,
429
510
  control: "boolean",
@@ -434,13 +515,24 @@ const propsSheetOverlay = {
434
515
  control: "boolean",
435
516
  type: "boolean"
436
517
  },
437
- tabIndex: { required: false, control: "number", type: "number" },
438
- title: { required: false, control: "text", type: "string" },
518
+ tabIndex: {
519
+ required: false,
520
+ control: "number",
521
+ type: "number",
522
+ description: "Overrides the browser's default tab order and follows the one specified instead."
523
+ },
524
+ title: {
525
+ required: false,
526
+ control: "text",
527
+ type: "string",
528
+ description: "Text to be displayed in a tooltip when hovering over the element."
529
+ },
439
530
  translate: {
440
531
  required: false,
441
532
  control: "radio",
442
533
  type: "string",
443
- options: ["yes", "no"]
534
+ options: ["yes", "no"],
535
+ description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
444
536
  },
445
537
  typeof: { required: false, control: "text", type: "string" },
446
538
  unselectable: {
@@ -453,7 +545,12 @@ const propsSheetOverlay = {
453
545
  };
454
546
  const propsSheetClose = {
455
547
  about: { required: false, control: "text", type: "string" },
456
- accessKey: { required: false, control: "text", type: "string" },
548
+ accessKey: {
549
+ required: false,
550
+ control: "text",
551
+ type: "string",
552
+ description: "Keyboard shortcut to activate or add focus to the element."
553
+ },
457
554
  "aria-activedescendant": {
458
555
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
459
556
  required: false,
@@ -609,7 +706,7 @@ const propsSheetClose = {
609
706
  type: "string"
610
707
  },
611
708
  "aria-label": {
612
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
709
+ description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
613
710
  required: false,
614
711
  control: "text",
615
712
  type: "string"
@@ -785,26 +882,106 @@ const propsSheetClose = {
785
882
  control: "text",
786
883
  type: "string"
787
884
  },
788
- autoCapitalize: { required: false, control: "text", type: "string" },
885
+ autoCapitalize: {
886
+ required: false,
887
+ control: "text",
888
+ type: "string",
889
+ description: "Sets whether input is automatically capitalized when entered by user."
890
+ },
789
891
  autoCorrect: { required: false, control: "text", type: "string" },
790
- autoFocus: { required: false, control: "boolean", type: "boolean" },
892
+ autoFocus: {
893
+ required: false,
894
+ control: "boolean",
895
+ type: "boolean",
896
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
897
+ },
791
898
  autoSave: { required: false, control: "text", type: "string" },
792
899
  className: { required: false, control: "text", type: "string" },
793
- color: { required: false, control: "color", type: "string" },
794
- content: { required: false, control: "text", type: "string" },
795
- contextMenu: { required: false, control: "text", type: "string" },
900
+ color: {
901
+ required: false,
902
+ control: "color",
903
+ type: "string",
904
+ description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
905
+ },
906
+ content: {
907
+ required: false,
908
+ control: "text",
909
+ type: "string",
910
+ description: "A value associated with http-equiv orname depending on the context."
911
+ },
912
+ contextMenu: {
913
+ required: false,
914
+ control: "text",
915
+ type: "string",
916
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
917
+ },
796
918
  datatype: { required: false, control: "text", type: "string" },
797
- dir: { required: false, control: "text", type: "string" },
798
- disabled: { required: false, control: "boolean", type: "boolean" },
799
- draggable: { required: false, control: "boolean", type: "boolean" },
800
- form: { required: false, control: "text", type: "string" },
801
- formAction: { required: false, control: "text", type: "string" },
802
- formEncType: { required: false, control: "text", type: "string" },
803
- formMethod: { required: false, control: "text", type: "string" },
804
- formNoValidate: { required: false, control: "boolean", type: "boolean" },
805
- formTarget: { required: false, control: "text", type: "string" },
806
- hidden: { required: false, control: "boolean", type: "boolean" },
807
- id: { required: false, control: "text", type: "string" },
919
+ dir: {
920
+ required: false,
921
+ control: "text",
922
+ type: "string",
923
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
924
+ },
925
+ disabled: {
926
+ required: false,
927
+ control: "boolean",
928
+ type: "boolean",
929
+ description: "Indicates whether the user can interact with the element."
930
+ },
931
+ draggable: {
932
+ required: false,
933
+ control: "boolean",
934
+ type: "boolean",
935
+ description: "Defines whether the element can be dragged."
936
+ },
937
+ form: {
938
+ required: false,
939
+ control: "text",
940
+ type: "string",
941
+ description: "Indicates the form that is the owner of the element."
942
+ },
943
+ formAction: {
944
+ required: false,
945
+ control: "text",
946
+ type: "string",
947
+ description: "Indicates the action of the element, overriding the action defined inthe form."
948
+ },
949
+ formEncType: {
950
+ required: false,
951
+ control: "text",
952
+ type: "string",
953
+ description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the encoding type to use during form submission. If this attribute is specified, it overrides theenctype attribute of the button's form owner.`
954
+ },
955
+ formMethod: {
956
+ required: false,
957
+ control: "text",
958
+ type: "string",
959
+ description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the submission method to use during form submission (GET, POST, etc.). If this attribute is specified, it overrides the method attribute of the button's form owner.`
960
+ },
961
+ formNoValidate: {
962
+ required: false,
963
+ control: "boolean",
964
+ type: "boolean",
965
+ description: `If the button/input is a submit button (e.g. type="submit"), this boolean attribute specifies that the form is not to be validatedwhen it is submitted. If this attribute is specified, it overrides thenovalidate attribute of the button's form owner.`
966
+ },
967
+ formTarget: {
968
+ required: false,
969
+ control: "text",
970
+ type: "string",
971
+ description: `If the button/input is a submit button (e.g. type="submit"), this attribute specifies the browsing context (for example, tab, window, or inline frame) in which to display the response that is received aftersubmitting the form. If this attribute is specified, it overrides thetarget attribute of the button's form owner.`
972
+ },
973
+ hidden: {
974
+ required: false,
975
+ control: "boolean",
976
+ type: "boolean",
977
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
978
+ },
979
+ id: {
980
+ required: false,
981
+ control: "text",
982
+ type: "string",
983
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
984
+ },
808
985
  inputMode: {
809
986
  description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
810
987
  required: false,
@@ -832,14 +1009,34 @@ const propsSheetClose = {
832
1009
  itemRef: { required: false, control: "text", type: "string" },
833
1010
  itemScope: { required: false, control: "boolean", type: "boolean" },
834
1011
  itemType: { required: false, control: "text", type: "string" },
835
- lang: { required: false, control: "text", type: "string" },
836
- name: { required: false, control: "text", type: "string" },
1012
+ lang: {
1013
+ required: false,
1014
+ control: "text",
1015
+ type: "string",
1016
+ description: "Defines the language used in the element."
1017
+ },
1018
+ name: {
1019
+ required: false,
1020
+ control: "text",
1021
+ type: "string",
1022
+ description: "This name is important when submitting form data to the server, as it identifies the data associated with the input. When multiple inputs share the same name attribute, they are treated as part of the same group (e.g., radio buttons or checkboxes)."
1023
+ },
837
1024
  nonce: { required: false, control: "text", type: "string" },
838
- placeholder: { required: false, control: "text", type: "string" },
1025
+ placeholder: {
1026
+ required: false,
1027
+ control: "text",
1028
+ type: "string",
1029
+ description: "Provides a hint to the user of what can be entered in the field."
1030
+ },
839
1031
  prefix: { required: false, control: "text", type: "string" },
840
1032
  property: { required: false, control: "text", type: "string" },
841
1033
  radioGroup: { required: false, control: "text", type: "string" },
842
- rel: { required: false, control: "text", type: "string" },
1034
+ rel: {
1035
+ required: false,
1036
+ control: "text",
1037
+ type: "string",
1038
+ description: "Specifies the relationship of the target object to the link object."
1039
+ },
843
1040
  resource: { required: false, control: "text", type: "string" },
844
1041
  results: { required: false, control: "number", type: "number" },
845
1042
  rev: { required: false, control: "text", type: "string" },
@@ -847,11 +1044,22 @@ const propsSheetClose = {
847
1044
  required: false,
848
1045
  control: "text",
849
1046
  type: "string",
850
- defaultValue: "navigation"
1047
+ defaultValue: "navigation",
1048
+ description: "Defines an explicit role for an element for use by assistive technologies."
851
1049
  },
852
1050
  security: { required: false, control: "text", type: "string" },
853
- slot: { required: false, control: "text", type: "string" },
854
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1051
+ slot: {
1052
+ required: false,
1053
+ control: "text",
1054
+ type: "string",
1055
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
1056
+ },
1057
+ spellCheck: {
1058
+ required: false,
1059
+ control: "boolean",
1060
+ type: "boolean",
1061
+ description: "Indicates whether spell checking is allowed for the element."
1062
+ },
855
1063
  suppressContentEditableWarning: {
856
1064
  required: false,
857
1065
  control: "boolean",
@@ -862,19 +1070,31 @@ const propsSheetClose = {
862
1070
  control: "boolean",
863
1071
  type: "boolean"
864
1072
  },
865
- tabIndex: { required: false, control: "number", type: "number" },
866
- title: { required: false, control: "text", type: "string" },
1073
+ tabIndex: {
1074
+ required: false,
1075
+ control: "number",
1076
+ type: "number",
1077
+ description: "Overrides the browser's default tab order and follows the one specified instead."
1078
+ },
1079
+ title: {
1080
+ required: false,
1081
+ control: "text",
1082
+ type: "string",
1083
+ description: "Text to be displayed in a tooltip when hovering over the element."
1084
+ },
867
1085
  translate: {
868
1086
  required: false,
869
1087
  control: "radio",
870
1088
  type: "string",
871
- options: ["yes", "no"]
1089
+ options: ["yes", "no"],
1090
+ description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
872
1091
  },
873
1092
  type: {
874
1093
  required: false,
875
1094
  control: "radio",
876
1095
  type: "string",
877
- options: ["button", "submit", "reset"]
1096
+ options: ["button", "submit", "reset"],
1097
+ description: "Defines the type of the element."
878
1098
  },
879
1099
  typeof: { required: false, control: "text", type: "string" },
880
1100
  unselectable: {
@@ -887,7 +1107,12 @@ const propsSheetClose = {
887
1107
  };
888
1108
  const propsSheetTitle = {
889
1109
  about: { required: false, control: "text", type: "string" },
890
- accessKey: { required: false, control: "text", type: "string" },
1110
+ accessKey: {
1111
+ required: false,
1112
+ control: "text",
1113
+ type: "string",
1114
+ description: "Keyboard shortcut to activate or add focus to the element."
1115
+ },
891
1116
  "aria-activedescendant": {
892
1117
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
893
1118
  required: false,
@@ -1043,7 +1268,7 @@ const propsSheetTitle = {
1043
1268
  type: "string"
1044
1269
  },
1045
1270
  "aria-label": {
1046
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
1271
+ description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
1047
1272
  required: false,
1048
1273
  control: "text",
1049
1274
  type: "string"
@@ -1219,19 +1444,64 @@ const propsSheetTitle = {
1219
1444
  control: "text",
1220
1445
  type: "string"
1221
1446
  },
1222
- autoCapitalize: { required: false, control: "text", type: "string" },
1447
+ autoCapitalize: {
1448
+ required: false,
1449
+ control: "text",
1450
+ type: "string",
1451
+ description: "Sets whether input is automatically capitalized when entered by user."
1452
+ },
1223
1453
  autoCorrect: { required: false, control: "text", type: "string" },
1224
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1454
+ autoFocus: {
1455
+ required: false,
1456
+ control: "boolean",
1457
+ type: "boolean",
1458
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1459
+ },
1225
1460
  autoSave: { required: false, control: "text", type: "string" },
1226
1461
  className: { required: false, control: "text", type: "string" },
1227
- color: { required: false, control: "color", type: "string" },
1228
- content: { required: false, control: "text", type: "string" },
1229
- contextMenu: { required: false, control: "text", type: "string" },
1462
+ color: {
1463
+ required: false,
1464
+ control: "color",
1465
+ type: "string",
1466
+ description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
1467
+ },
1468
+ content: {
1469
+ required: false,
1470
+ control: "text",
1471
+ type: "string",
1472
+ description: "A value associated with http-equiv orname depending on the context."
1473
+ },
1474
+ contextMenu: {
1475
+ required: false,
1476
+ control: "text",
1477
+ type: "string",
1478
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
1479
+ },
1230
1480
  datatype: { required: false, control: "text", type: "string" },
1231
- dir: { required: false, control: "text", type: "string" },
1232
- draggable: { required: false, control: "boolean", type: "boolean" },
1233
- hidden: { required: false, control: "boolean", type: "boolean" },
1234
- id: { required: false, control: "text", type: "string" },
1481
+ dir: {
1482
+ required: false,
1483
+ control: "text",
1484
+ type: "string",
1485
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
1486
+ },
1487
+ draggable: {
1488
+ required: false,
1489
+ control: "boolean",
1490
+ type: "boolean",
1491
+ description: "Defines whether the element can be dragged."
1492
+ },
1493
+ hidden: {
1494
+ required: false,
1495
+ control: "boolean",
1496
+ type: "boolean",
1497
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
1498
+ },
1499
+ id: {
1500
+ required: false,
1501
+ control: "text",
1502
+ type: "string",
1503
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
1504
+ },
1235
1505
  inputMode: {
1236
1506
  description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
1237
1507
  required: false,
@@ -1259,13 +1529,28 @@ const propsSheetTitle = {
1259
1529
  itemRef: { required: false, control: "text", type: "string" },
1260
1530
  itemScope: { required: false, control: "boolean", type: "boolean" },
1261
1531
  itemType: { required: false, control: "text", type: "string" },
1262
- lang: { required: false, control: "text", type: "string" },
1532
+ lang: {
1533
+ required: false,
1534
+ control: "text",
1535
+ type: "string",
1536
+ description: "Defines the language used in the element."
1537
+ },
1263
1538
  nonce: { required: false, control: "text", type: "string" },
1264
- placeholder: { required: false, control: "text", type: "string" },
1539
+ placeholder: {
1540
+ required: false,
1541
+ control: "text",
1542
+ type: "string",
1543
+ description: "Provides a hint to the user of what can be entered in the field."
1544
+ },
1265
1545
  prefix: { required: false, control: "text", type: "string" },
1266
1546
  property: { required: false, control: "text", type: "string" },
1267
1547
  radioGroup: { required: false, control: "text", type: "string" },
1268
- rel: { required: false, control: "text", type: "string" },
1548
+ rel: {
1549
+ required: false,
1550
+ control: "text",
1551
+ type: "string",
1552
+ description: "Specifies the relationship of the target object to the link object."
1553
+ },
1269
1554
  resource: { required: false, control: "text", type: "string" },
1270
1555
  results: { required: false, control: "number", type: "number" },
1271
1556
  rev: { required: false, control: "text", type: "string" },
@@ -1273,11 +1558,22 @@ const propsSheetTitle = {
1273
1558
  required: false,
1274
1559
  control: "text",
1275
1560
  type: "string",
1276
- defaultValue: "navigation"
1561
+ defaultValue: "navigation",
1562
+ description: "Defines an explicit role for an element for use by assistive technologies."
1277
1563
  },
1278
1564
  security: { required: false, control: "text", type: "string" },
1279
- slot: { required: false, control: "text", type: "string" },
1280
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1565
+ slot: {
1566
+ required: false,
1567
+ control: "text",
1568
+ type: "string",
1569
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
1570
+ },
1571
+ spellCheck: {
1572
+ required: false,
1573
+ control: "boolean",
1574
+ type: "boolean",
1575
+ description: "Indicates whether spell checking is allowed for the element."
1576
+ },
1281
1577
  suppressContentEditableWarning: {
1282
1578
  required: false,
1283
1579
  control: "boolean",
@@ -1288,13 +1584,24 @@ const propsSheetTitle = {
1288
1584
  control: "boolean",
1289
1585
  type: "boolean"
1290
1586
  },
1291
- tabIndex: { required: false, control: "number", type: "number" },
1292
- title: { required: false, control: "text", type: "string" },
1587
+ tabIndex: {
1588
+ required: false,
1589
+ control: "number",
1590
+ type: "number",
1591
+ description: "Overrides the browser's default tab order and follows the one specified instead."
1592
+ },
1593
+ title: {
1594
+ required: false,
1595
+ control: "text",
1596
+ type: "string",
1597
+ description: "Text to be displayed in a tooltip when hovering over the element."
1598
+ },
1293
1599
  translate: {
1294
1600
  required: false,
1295
1601
  control: "radio",
1296
1602
  type: "string",
1297
- options: ["yes", "no"]
1603
+ options: ["yes", "no"],
1604
+ description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
1298
1605
  },
1299
1606
  typeof: { required: false, control: "text", type: "string" },
1300
1607
  unselectable: {
@@ -1307,7 +1614,12 @@ const propsSheetTitle = {
1307
1614
  };
1308
1615
  const propsSheetDescription = {
1309
1616
  about: { required: false, control: "text", type: "string" },
1310
- accessKey: { required: false, control: "text", type: "string" },
1617
+ accessKey: {
1618
+ required: false,
1619
+ control: "text",
1620
+ type: "string",
1621
+ description: "Keyboard shortcut to activate or add focus to the element."
1622
+ },
1311
1623
  "aria-activedescendant": {
1312
1624
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
1313
1625
  required: false,
@@ -1463,7 +1775,7 @@ const propsSheetDescription = {
1463
1775
  type: "string"
1464
1776
  },
1465
1777
  "aria-label": {
1466
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
1778
+ description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
1467
1779
  required: false,
1468
1780
  control: "text",
1469
1781
  type: "string"
@@ -1639,19 +1951,64 @@ const propsSheetDescription = {
1639
1951
  control: "text",
1640
1952
  type: "string"
1641
1953
  },
1642
- autoCapitalize: { required: false, control: "text", type: "string" },
1954
+ autoCapitalize: {
1955
+ required: false,
1956
+ control: "text",
1957
+ type: "string",
1958
+ description: "Sets whether input is automatically capitalized when entered by user."
1959
+ },
1643
1960
  autoCorrect: { required: false, control: "text", type: "string" },
1644
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1961
+ autoFocus: {
1962
+ required: false,
1963
+ control: "boolean",
1964
+ type: "boolean",
1965
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1966
+ },
1645
1967
  autoSave: { required: false, control: "text", type: "string" },
1646
1968
  className: { required: false, control: "text", type: "string" },
1647
- color: { required: false, control: "color", type: "string" },
1648
- content: { required: false, control: "text", type: "string" },
1649
- contextMenu: { required: false, control: "text", type: "string" },
1969
+ color: {
1970
+ required: false,
1971
+ control: "color",
1972
+ type: "string",
1973
+ description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
1974
+ },
1975
+ content: {
1976
+ required: false,
1977
+ control: "text",
1978
+ type: "string",
1979
+ description: "A value associated with http-equiv orname depending on the context."
1980
+ },
1981
+ contextMenu: {
1982
+ required: false,
1983
+ control: "text",
1984
+ type: "string",
1985
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
1986
+ },
1650
1987
  datatype: { required: false, control: "text", type: "string" },
1651
- dir: { required: false, control: "text", type: "string" },
1652
- draggable: { required: false, control: "boolean", type: "boolean" },
1653
- hidden: { required: false, control: "boolean", type: "boolean" },
1654
- id: { required: false, control: "text", type: "string" },
1988
+ dir: {
1989
+ required: false,
1990
+ control: "text",
1991
+ type: "string",
1992
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
1993
+ },
1994
+ draggable: {
1995
+ required: false,
1996
+ control: "boolean",
1997
+ type: "boolean",
1998
+ description: "Defines whether the element can be dragged."
1999
+ },
2000
+ hidden: {
2001
+ required: false,
2002
+ control: "boolean",
2003
+ type: "boolean",
2004
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
2005
+ },
2006
+ id: {
2007
+ required: false,
2008
+ control: "text",
2009
+ type: "string",
2010
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
2011
+ },
1655
2012
  inputMode: {
1656
2013
  description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
1657
2014
  required: false,
@@ -1679,13 +2036,28 @@ const propsSheetDescription = {
1679
2036
  itemRef: { required: false, control: "text", type: "string" },
1680
2037
  itemScope: { required: false, control: "boolean", type: "boolean" },
1681
2038
  itemType: { required: false, control: "text", type: "string" },
1682
- lang: { required: false, control: "text", type: "string" },
2039
+ lang: {
2040
+ required: false,
2041
+ control: "text",
2042
+ type: "string",
2043
+ description: "Defines the language used in the element."
2044
+ },
1683
2045
  nonce: { required: false, control: "text", type: "string" },
1684
- placeholder: { required: false, control: "text", type: "string" },
2046
+ placeholder: {
2047
+ required: false,
2048
+ control: "text",
2049
+ type: "string",
2050
+ description: "Provides a hint to the user of what can be entered in the field."
2051
+ },
1685
2052
  prefix: { required: false, control: "text", type: "string" },
1686
2053
  property: { required: false, control: "text", type: "string" },
1687
2054
  radioGroup: { required: false, control: "text", type: "string" },
1688
- rel: { required: false, control: "text", type: "string" },
2055
+ rel: {
2056
+ required: false,
2057
+ control: "text",
2058
+ type: "string",
2059
+ description: "Specifies the relationship of the target object to the link object."
2060
+ },
1689
2061
  resource: { required: false, control: "text", type: "string" },
1690
2062
  results: { required: false, control: "number", type: "number" },
1691
2063
  rev: { required: false, control: "text", type: "string" },
@@ -1693,11 +2065,22 @@ const propsSheetDescription = {
1693
2065
  required: false,
1694
2066
  control: "text",
1695
2067
  type: "string",
1696
- defaultValue: "navigation"
2068
+ defaultValue: "navigation",
2069
+ description: "Defines an explicit role for an element for use by assistive technologies."
1697
2070
  },
1698
2071
  security: { required: false, control: "text", type: "string" },
1699
- slot: { required: false, control: "text", type: "string" },
1700
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2072
+ slot: {
2073
+ required: false,
2074
+ control: "text",
2075
+ type: "string",
2076
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
2077
+ },
2078
+ spellCheck: {
2079
+ required: false,
2080
+ control: "boolean",
2081
+ type: "boolean",
2082
+ description: "Indicates whether spell checking is allowed for the element."
2083
+ },
1701
2084
  suppressContentEditableWarning: {
1702
2085
  required: false,
1703
2086
  control: "boolean",
@@ -1708,13 +2091,24 @@ const propsSheetDescription = {
1708
2091
  control: "boolean",
1709
2092
  type: "boolean"
1710
2093
  },
1711
- tabIndex: { required: false, control: "number", type: "number" },
1712
- title: { required: false, control: "text", type: "string" },
2094
+ tabIndex: {
2095
+ required: false,
2096
+ control: "number",
2097
+ type: "number",
2098
+ description: "Overrides the browser's default tab order and follows the one specified instead."
2099
+ },
2100
+ title: {
2101
+ required: false,
2102
+ control: "text",
2103
+ type: "string",
2104
+ description: "Text to be displayed in a tooltip when hovering over the element."
2105
+ },
1713
2106
  translate: {
1714
2107
  required: false,
1715
2108
  control: "radio",
1716
2109
  type: "string",
1717
- options: ["yes", "no"]
2110
+ options: ["yes", "no"],
2111
+ description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
1718
2112
  },
1719
2113
  typeof: { required: false, control: "text", type: "string" },
1720
2114
  unselectable: {
@@ -1727,7 +2121,12 @@ const propsSheetDescription = {
1727
2121
  };
1728
2122
  const propsSheetContent = {
1729
2123
  about: { required: false, control: "text", type: "string" },
1730
- accessKey: { required: false, control: "text", type: "string" },
2124
+ accessKey: {
2125
+ required: false,
2126
+ control: "text",
2127
+ type: "string",
2128
+ description: "Keyboard shortcut to activate or add focus to the element."
2129
+ },
1731
2130
  "aria-activedescendant": {
1732
2131
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
1733
2132
  required: false,
@@ -1883,7 +2282,7 @@ const propsSheetContent = {
1883
2282
  type: "string"
1884
2283
  },
1885
2284
  "aria-label": {
1886
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
2285
+ description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
1887
2286
  required: false,
1888
2287
  control: "text",
1889
2288
  type: "string"
@@ -2059,19 +2458,64 @@ const propsSheetContent = {
2059
2458
  control: "text",
2060
2459
  type: "string"
2061
2460
  },
2062
- autoCapitalize: { required: false, control: "text", type: "string" },
2461
+ autoCapitalize: {
2462
+ required: false,
2463
+ control: "text",
2464
+ type: "string",
2465
+ description: "Sets whether input is automatically capitalized when entered by user."
2466
+ },
2063
2467
  autoCorrect: { required: false, control: "text", type: "string" },
2064
- autoFocus: { required: false, control: "boolean", type: "boolean" },
2468
+ autoFocus: {
2469
+ required: false,
2470
+ control: "boolean",
2471
+ type: "boolean",
2472
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
2473
+ },
2065
2474
  autoSave: { required: false, control: "text", type: "string" },
2066
2475
  className: { required: false, control: "text", type: "string" },
2067
- color: { required: false, control: "color", type: "string" },
2068
- content: { required: false, control: "text", type: "string" },
2069
- contextMenu: { required: false, control: "text", type: "string" },
2476
+ color: {
2477
+ required: false,
2478
+ control: "color",
2479
+ type: "string",
2480
+ description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
2481
+ },
2482
+ content: {
2483
+ required: false,
2484
+ control: "text",
2485
+ type: "string",
2486
+ description: "A value associated with http-equiv orname depending on the context."
2487
+ },
2488
+ contextMenu: {
2489
+ required: false,
2490
+ control: "text",
2491
+ type: "string",
2492
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
2493
+ },
2070
2494
  datatype: { required: false, control: "text", type: "string" },
2071
- dir: { required: false, control: "text", type: "string" },
2072
- draggable: { required: false, control: "boolean", type: "boolean" },
2073
- hidden: { required: false, control: "boolean", type: "boolean" },
2074
- id: { required: false, control: "text", type: "string" },
2495
+ dir: {
2496
+ required: false,
2497
+ control: "text",
2498
+ type: "string",
2499
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
2500
+ },
2501
+ draggable: {
2502
+ required: false,
2503
+ control: "boolean",
2504
+ type: "boolean",
2505
+ description: "Defines whether the element can be dragged."
2506
+ },
2507
+ hidden: {
2508
+ required: false,
2509
+ control: "boolean",
2510
+ type: "boolean",
2511
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
2512
+ },
2513
+ id: {
2514
+ required: false,
2515
+ control: "text",
2516
+ type: "string",
2517
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
2518
+ },
2075
2519
  inputMode: {
2076
2520
  description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
2077
2521
  required: false,
@@ -2099,13 +2543,28 @@ const propsSheetContent = {
2099
2543
  itemRef: { required: false, control: "text", type: "string" },
2100
2544
  itemScope: { required: false, control: "boolean", type: "boolean" },
2101
2545
  itemType: { required: false, control: "text", type: "string" },
2102
- lang: { required: false, control: "text", type: "string" },
2546
+ lang: {
2547
+ required: false,
2548
+ control: "text",
2549
+ type: "string",
2550
+ description: "Defines the language used in the element."
2551
+ },
2103
2552
  nonce: { required: false, control: "text", type: "string" },
2104
- placeholder: { required: false, control: "text", type: "string" },
2553
+ placeholder: {
2554
+ required: false,
2555
+ control: "text",
2556
+ type: "string",
2557
+ description: "Provides a hint to the user of what can be entered in the field."
2558
+ },
2105
2559
  prefix: { required: false, control: "text", type: "string" },
2106
2560
  property: { required: false, control: "text", type: "string" },
2107
2561
  radioGroup: { required: false, control: "text", type: "string" },
2108
- rel: { required: false, control: "text", type: "string" },
2562
+ rel: {
2563
+ required: false,
2564
+ control: "text",
2565
+ type: "string",
2566
+ description: "Specifies the relationship of the target object to the link object."
2567
+ },
2109
2568
  resource: { required: false, control: "text", type: "string" },
2110
2569
  results: { required: false, control: "number", type: "number" },
2111
2570
  rev: { required: false, control: "text", type: "string" },
@@ -2113,7 +2572,8 @@ const propsSheetContent = {
2113
2572
  required: false,
2114
2573
  control: "text",
2115
2574
  type: "string",
2116
- defaultValue: "navigation"
2575
+ defaultValue: "navigation",
2576
+ description: "Defines an explicit role for an element for use by assistive technologies."
2117
2577
  },
2118
2578
  security: { required: false, control: "text", type: "string" },
2119
2579
  side: {
@@ -2123,8 +2583,18 @@ const propsSheetContent = {
2123
2583
  defaultValue: "left",
2124
2584
  options: ["top", "right", "bottom", "left"]
2125
2585
  },
2126
- slot: { required: false, control: "text", type: "string" },
2127
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2586
+ slot: {
2587
+ required: false,
2588
+ control: "text",
2589
+ type: "string",
2590
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
2591
+ },
2592
+ spellCheck: {
2593
+ required: false,
2594
+ control: "boolean",
2595
+ type: "boolean",
2596
+ description: "Indicates whether spell checking is allowed for the element."
2597
+ },
2128
2598
  suppressContentEditableWarning: {
2129
2599
  required: false,
2130
2600
  control: "boolean",
@@ -2135,7 +2605,12 @@ const propsSheetContent = {
2135
2605
  control: "boolean",
2136
2606
  type: "boolean"
2137
2607
  },
2138
- tabIndex: { required: false, control: "number", type: "number" },
2608
+ tabIndex: {
2609
+ required: false,
2610
+ control: "number",
2611
+ type: "number",
2612
+ description: "Overrides the browser's default tab order and follows the one specified instead."
2613
+ },
2139
2614
  tag: {
2140
2615
  required: false,
2141
2616
  control: "radio",
@@ -2143,12 +2618,18 @@ const propsSheetContent = {
2143
2618
  defaultValue: "nav",
2144
2619
  options: ["div", "nav"]
2145
2620
  },
2146
- title: { required: false, control: "text", type: "string" },
2621
+ title: {
2622
+ required: false,
2623
+ control: "text",
2624
+ type: "string",
2625
+ description: "Text to be displayed in a tooltip when hovering over the element."
2626
+ },
2147
2627
  translate: {
2148
2628
  required: false,
2149
2629
  control: "radio",
2150
2630
  type: "string",
2151
- options: ["yes", "no"]
2631
+ options: ["yes", "no"],
2632
+ description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
2152
2633
  },
2153
2634
  typeof: { required: false, control: "text", type: "string" },
2154
2635
  unselectable: {