@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
@@ -1,10 +1,20 @@
1
1
  const propsSheet = {
2
- open: { required: false, control: "boolean", type: "boolean" }
2
+ open: {
3
+ required: false,
4
+ control: "boolean",
5
+ type: "boolean",
6
+ description: "Show or hide the content of this component on the canvas. This will not affect the initial state of the component."
7
+ }
3
8
  };
4
9
  const propsSheetTrigger = {};
5
10
  const propsSheetOverlay = {
6
11
  about: { required: false, control: "text", type: "string" },
7
- accessKey: { required: false, control: "text", type: "string" },
12
+ accessKey: {
13
+ required: false,
14
+ control: "text",
15
+ type: "string",
16
+ description: "Keyboard shortcut to activate or add focus to the element."
17
+ },
8
18
  "aria-activedescendant": {
9
19
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
10
20
  required: false,
@@ -160,7 +170,7 @@ const propsSheetOverlay = {
160
170
  type: "string"
161
171
  },
162
172
  "aria-label": {
163
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
173
+ 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.",
164
174
  required: false,
165
175
  control: "text",
166
176
  type: "string"
@@ -336,19 +346,64 @@ const propsSheetOverlay = {
336
346
  control: "text",
337
347
  type: "string"
338
348
  },
339
- autoCapitalize: { required: false, control: "text", type: "string" },
349
+ autoCapitalize: {
350
+ required: false,
351
+ control: "text",
352
+ type: "string",
353
+ description: "Sets whether input is automatically capitalized when entered by user."
354
+ },
340
355
  autoCorrect: { required: false, control: "text", type: "string" },
341
- autoFocus: { required: false, control: "boolean", type: "boolean" },
356
+ autoFocus: {
357
+ required: false,
358
+ control: "boolean",
359
+ type: "boolean",
360
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
361
+ },
342
362
  autoSave: { required: false, control: "text", type: "string" },
343
363
  className: { required: false, control: "text", type: "string" },
344
- color: { required: false, control: "color", type: "string" },
345
- content: { required: false, control: "text", type: "string" },
346
- contextMenu: { required: false, control: "text", type: "string" },
364
+ color: {
365
+ required: false,
366
+ control: "color",
367
+ type: "string",
368
+ 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."
369
+ },
370
+ content: {
371
+ required: false,
372
+ control: "text",
373
+ type: "string",
374
+ description: "A value associated with http-equiv orname depending on the context."
375
+ },
376
+ contextMenu: {
377
+ required: false,
378
+ control: "text",
379
+ type: "string",
380
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
381
+ },
347
382
  datatype: { required: false, control: "text", type: "string" },
348
- dir: { required: false, control: "text", type: "string" },
349
- draggable: { required: false, control: "boolean", type: "boolean" },
350
- hidden: { required: false, control: "boolean", type: "boolean" },
351
- id: { required: false, control: "text", type: "string" },
383
+ dir: {
384
+ required: false,
385
+ control: "text",
386
+ type: "string",
387
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
388
+ },
389
+ draggable: {
390
+ required: false,
391
+ control: "boolean",
392
+ type: "boolean",
393
+ description: "Defines whether the element can be dragged."
394
+ },
395
+ hidden: {
396
+ required: false,
397
+ control: "boolean",
398
+ type: "boolean",
399
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
400
+ },
401
+ id: {
402
+ required: false,
403
+ control: "text",
404
+ type: "string",
405
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
406
+ },
352
407
  inputMode: {
353
408
  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",
354
409
  required: false,
@@ -376,13 +431,28 @@ const propsSheetOverlay = {
376
431
  itemRef: { required: false, control: "text", type: "string" },
377
432
  itemScope: { required: false, control: "boolean", type: "boolean" },
378
433
  itemType: { required: false, control: "text", type: "string" },
379
- lang: { required: false, control: "text", type: "string" },
434
+ lang: {
435
+ required: false,
436
+ control: "text",
437
+ type: "string",
438
+ description: "Defines the language used in the element."
439
+ },
380
440
  nonce: { required: false, control: "text", type: "string" },
381
- placeholder: { required: false, control: "text", type: "string" },
441
+ placeholder: {
442
+ required: false,
443
+ control: "text",
444
+ type: "string",
445
+ description: "Provides a hint to the user of what can be entered in the field."
446
+ },
382
447
  prefix: { required: false, control: "text", type: "string" },
383
448
  property: { required: false, control: "text", type: "string" },
384
449
  radioGroup: { required: false, control: "text", type: "string" },
385
- rel: { required: false, control: "text", type: "string" },
450
+ rel: {
451
+ required: false,
452
+ control: "text",
453
+ type: "string",
454
+ description: "Specifies the relationship of the target object to the link object."
455
+ },
386
456
  resource: { required: false, control: "text", type: "string" },
387
457
  results: { required: false, control: "number", type: "number" },
388
458
  rev: { required: false, control: "text", type: "string" },
@@ -390,11 +460,22 @@ const propsSheetOverlay = {
390
460
  required: false,
391
461
  control: "text",
392
462
  type: "string",
393
- defaultValue: "navigation"
463
+ defaultValue: "navigation",
464
+ description: "Defines an explicit role for an element for use by assistive technologies."
394
465
  },
395
466
  security: { required: false, control: "text", type: "string" },
396
- slot: { required: false, control: "text", type: "string" },
397
- spellCheck: { required: false, control: "boolean", type: "boolean" },
467
+ slot: {
468
+ required: false,
469
+ control: "text",
470
+ type: "string",
471
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
472
+ },
473
+ spellCheck: {
474
+ required: false,
475
+ control: "boolean",
476
+ type: "boolean",
477
+ description: "Indicates whether spell checking is allowed for the element."
478
+ },
398
479
  suppressContentEditableWarning: {
399
480
  required: false,
400
481
  control: "boolean",
@@ -405,13 +486,24 @@ const propsSheetOverlay = {
405
486
  control: "boolean",
406
487
  type: "boolean"
407
488
  },
408
- tabIndex: { required: false, control: "number", type: "number" },
409
- title: { required: false, control: "text", type: "string" },
489
+ tabIndex: {
490
+ required: false,
491
+ control: "number",
492
+ type: "number",
493
+ description: "Overrides the browser's default tab order and follows the one specified instead."
494
+ },
495
+ title: {
496
+ required: false,
497
+ control: "text",
498
+ type: "string",
499
+ description: "Text to be displayed in a tooltip when hovering over the element."
500
+ },
410
501
  translate: {
411
502
  required: false,
412
503
  control: "radio",
413
504
  type: "string",
414
- options: ["yes", "no"]
505
+ options: ["yes", "no"],
506
+ 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."
415
507
  },
416
508
  typeof: { required: false, control: "text", type: "string" },
417
509
  unselectable: {
@@ -424,7 +516,12 @@ const propsSheetOverlay = {
424
516
  };
425
517
  const propsSheetClose = {
426
518
  about: { required: false, control: "text", type: "string" },
427
- accessKey: { required: false, control: "text", type: "string" },
519
+ accessKey: {
520
+ required: false,
521
+ control: "text",
522
+ type: "string",
523
+ description: "Keyboard shortcut to activate or add focus to the element."
524
+ },
428
525
  "aria-activedescendant": {
429
526
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
430
527
  required: false,
@@ -580,7 +677,7 @@ const propsSheetClose = {
580
677
  type: "string"
581
678
  },
582
679
  "aria-label": {
583
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
680
+ 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.",
584
681
  required: false,
585
682
  control: "text",
586
683
  type: "string"
@@ -756,26 +853,106 @@ const propsSheetClose = {
756
853
  control: "text",
757
854
  type: "string"
758
855
  },
759
- autoCapitalize: { required: false, control: "text", type: "string" },
856
+ autoCapitalize: {
857
+ required: false,
858
+ control: "text",
859
+ type: "string",
860
+ description: "Sets whether input is automatically capitalized when entered by user."
861
+ },
760
862
  autoCorrect: { required: false, control: "text", type: "string" },
761
- autoFocus: { required: false, control: "boolean", type: "boolean" },
863
+ autoFocus: {
864
+ required: false,
865
+ control: "boolean",
866
+ type: "boolean",
867
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
868
+ },
762
869
  autoSave: { required: false, control: "text", type: "string" },
763
870
  className: { required: false, control: "text", type: "string" },
764
- color: { required: false, control: "color", type: "string" },
765
- content: { required: false, control: "text", type: "string" },
766
- contextMenu: { required: false, control: "text", type: "string" },
871
+ color: {
872
+ required: false,
873
+ control: "color",
874
+ type: "string",
875
+ 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."
876
+ },
877
+ content: {
878
+ required: false,
879
+ control: "text",
880
+ type: "string",
881
+ description: "A value associated with http-equiv orname depending on the context."
882
+ },
883
+ contextMenu: {
884
+ required: false,
885
+ control: "text",
886
+ type: "string",
887
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
888
+ },
767
889
  datatype: { required: false, control: "text", type: "string" },
768
- dir: { required: false, control: "text", type: "string" },
769
- disabled: { required: false, control: "boolean", type: "boolean" },
770
- draggable: { required: false, control: "boolean", type: "boolean" },
771
- form: { required: false, control: "text", type: "string" },
772
- formAction: { required: false, control: "text", type: "string" },
773
- formEncType: { required: false, control: "text", type: "string" },
774
- formMethod: { required: false, control: "text", type: "string" },
775
- formNoValidate: { required: false, control: "boolean", type: "boolean" },
776
- formTarget: { required: false, control: "text", type: "string" },
777
- hidden: { required: false, control: "boolean", type: "boolean" },
778
- id: { required: false, control: "text", type: "string" },
890
+ dir: {
891
+ required: false,
892
+ control: "text",
893
+ type: "string",
894
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
895
+ },
896
+ disabled: {
897
+ required: false,
898
+ control: "boolean",
899
+ type: "boolean",
900
+ description: "Indicates whether the user can interact with the element."
901
+ },
902
+ draggable: {
903
+ required: false,
904
+ control: "boolean",
905
+ type: "boolean",
906
+ description: "Defines whether the element can be dragged."
907
+ },
908
+ form: {
909
+ required: false,
910
+ control: "text",
911
+ type: "string",
912
+ description: "Indicates the form that is the owner of the element."
913
+ },
914
+ formAction: {
915
+ required: false,
916
+ control: "text",
917
+ type: "string",
918
+ description: "Indicates the action of the element, overriding the action defined inthe form."
919
+ },
920
+ formEncType: {
921
+ required: false,
922
+ control: "text",
923
+ type: "string",
924
+ 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.`
925
+ },
926
+ formMethod: {
927
+ required: false,
928
+ control: "text",
929
+ type: "string",
930
+ 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.`
931
+ },
932
+ formNoValidate: {
933
+ required: false,
934
+ control: "boolean",
935
+ type: "boolean",
936
+ 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.`
937
+ },
938
+ formTarget: {
939
+ required: false,
940
+ control: "text",
941
+ type: "string",
942
+ 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.`
943
+ },
944
+ hidden: {
945
+ required: false,
946
+ control: "boolean",
947
+ type: "boolean",
948
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
949
+ },
950
+ id: {
951
+ required: false,
952
+ control: "text",
953
+ type: "string",
954
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
955
+ },
779
956
  inputMode: {
780
957
  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",
781
958
  required: false,
@@ -803,14 +980,34 @@ const propsSheetClose = {
803
980
  itemRef: { required: false, control: "text", type: "string" },
804
981
  itemScope: { required: false, control: "boolean", type: "boolean" },
805
982
  itemType: { required: false, control: "text", type: "string" },
806
- lang: { required: false, control: "text", type: "string" },
807
- name: { required: false, control: "text", type: "string" },
983
+ lang: {
984
+ required: false,
985
+ control: "text",
986
+ type: "string",
987
+ description: "Defines the language used in the element."
988
+ },
989
+ name: {
990
+ required: false,
991
+ control: "text",
992
+ type: "string",
993
+ 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)."
994
+ },
808
995
  nonce: { required: false, control: "text", type: "string" },
809
- placeholder: { required: false, control: "text", type: "string" },
996
+ placeholder: {
997
+ required: false,
998
+ control: "text",
999
+ type: "string",
1000
+ description: "Provides a hint to the user of what can be entered in the field."
1001
+ },
810
1002
  prefix: { required: false, control: "text", type: "string" },
811
1003
  property: { required: false, control: "text", type: "string" },
812
1004
  radioGroup: { required: false, control: "text", type: "string" },
813
- rel: { required: false, control: "text", type: "string" },
1005
+ rel: {
1006
+ required: false,
1007
+ control: "text",
1008
+ type: "string",
1009
+ description: "Specifies the relationship of the target object to the link object."
1010
+ },
814
1011
  resource: { required: false, control: "text", type: "string" },
815
1012
  results: { required: false, control: "number", type: "number" },
816
1013
  rev: { required: false, control: "text", type: "string" },
@@ -818,11 +1015,22 @@ const propsSheetClose = {
818
1015
  required: false,
819
1016
  control: "text",
820
1017
  type: "string",
821
- defaultValue: "navigation"
1018
+ defaultValue: "navigation",
1019
+ description: "Defines an explicit role for an element for use by assistive technologies."
822
1020
  },
823
1021
  security: { required: false, control: "text", type: "string" },
824
- slot: { required: false, control: "text", type: "string" },
825
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1022
+ slot: {
1023
+ required: false,
1024
+ control: "text",
1025
+ type: "string",
1026
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
1027
+ },
1028
+ spellCheck: {
1029
+ required: false,
1030
+ control: "boolean",
1031
+ type: "boolean",
1032
+ description: "Indicates whether spell checking is allowed for the element."
1033
+ },
826
1034
  suppressContentEditableWarning: {
827
1035
  required: false,
828
1036
  control: "boolean",
@@ -833,19 +1041,31 @@ const propsSheetClose = {
833
1041
  control: "boolean",
834
1042
  type: "boolean"
835
1043
  },
836
- tabIndex: { required: false, control: "number", type: "number" },
837
- title: { required: false, control: "text", type: "string" },
1044
+ tabIndex: {
1045
+ required: false,
1046
+ control: "number",
1047
+ type: "number",
1048
+ description: "Overrides the browser's default tab order and follows the one specified instead."
1049
+ },
1050
+ title: {
1051
+ required: false,
1052
+ control: "text",
1053
+ type: "string",
1054
+ description: "Text to be displayed in a tooltip when hovering over the element."
1055
+ },
838
1056
  translate: {
839
1057
  required: false,
840
1058
  control: "radio",
841
1059
  type: "string",
842
- options: ["yes", "no"]
1060
+ options: ["yes", "no"],
1061
+ 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."
843
1062
  },
844
1063
  type: {
845
1064
  required: false,
846
1065
  control: "radio",
847
1066
  type: "string",
848
- options: ["button", "submit", "reset"]
1067
+ options: ["button", "submit", "reset"],
1068
+ description: "Defines the type of the element."
849
1069
  },
850
1070
  typeof: { required: false, control: "text", type: "string" },
851
1071
  unselectable: {
@@ -858,7 +1078,12 @@ const propsSheetClose = {
858
1078
  };
859
1079
  const propsSheetTitle = {
860
1080
  about: { required: false, control: "text", type: "string" },
861
- accessKey: { required: false, control: "text", type: "string" },
1081
+ accessKey: {
1082
+ required: false,
1083
+ control: "text",
1084
+ type: "string",
1085
+ description: "Keyboard shortcut to activate or add focus to the element."
1086
+ },
862
1087
  "aria-activedescendant": {
863
1088
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
864
1089
  required: false,
@@ -1014,7 +1239,7 @@ const propsSheetTitle = {
1014
1239
  type: "string"
1015
1240
  },
1016
1241
  "aria-label": {
1017
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
1242
+ 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.",
1018
1243
  required: false,
1019
1244
  control: "text",
1020
1245
  type: "string"
@@ -1190,19 +1415,64 @@ const propsSheetTitle = {
1190
1415
  control: "text",
1191
1416
  type: "string"
1192
1417
  },
1193
- autoCapitalize: { required: false, control: "text", type: "string" },
1418
+ autoCapitalize: {
1419
+ required: false,
1420
+ control: "text",
1421
+ type: "string",
1422
+ description: "Sets whether input is automatically capitalized when entered by user."
1423
+ },
1194
1424
  autoCorrect: { required: false, control: "text", type: "string" },
1195
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1425
+ autoFocus: {
1426
+ required: false,
1427
+ control: "boolean",
1428
+ type: "boolean",
1429
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1430
+ },
1196
1431
  autoSave: { required: false, control: "text", type: "string" },
1197
1432
  className: { required: false, control: "text", type: "string" },
1198
- color: { required: false, control: "color", type: "string" },
1199
- content: { required: false, control: "text", type: "string" },
1200
- contextMenu: { required: false, control: "text", type: "string" },
1433
+ color: {
1434
+ required: false,
1435
+ control: "color",
1436
+ type: "string",
1437
+ 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."
1438
+ },
1439
+ content: {
1440
+ required: false,
1441
+ control: "text",
1442
+ type: "string",
1443
+ description: "A value associated with http-equiv orname depending on the context."
1444
+ },
1445
+ contextMenu: {
1446
+ required: false,
1447
+ control: "text",
1448
+ type: "string",
1449
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
1450
+ },
1201
1451
  datatype: { required: false, control: "text", type: "string" },
1202
- dir: { required: false, control: "text", type: "string" },
1203
- draggable: { required: false, control: "boolean", type: "boolean" },
1204
- hidden: { required: false, control: "boolean", type: "boolean" },
1205
- id: { required: false, control: "text", type: "string" },
1452
+ dir: {
1453
+ required: false,
1454
+ control: "text",
1455
+ type: "string",
1456
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
1457
+ },
1458
+ draggable: {
1459
+ required: false,
1460
+ control: "boolean",
1461
+ type: "boolean",
1462
+ description: "Defines whether the element can be dragged."
1463
+ },
1464
+ hidden: {
1465
+ required: false,
1466
+ control: "boolean",
1467
+ type: "boolean",
1468
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
1469
+ },
1470
+ id: {
1471
+ required: false,
1472
+ control: "text",
1473
+ type: "string",
1474
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
1475
+ },
1206
1476
  inputMode: {
1207
1477
  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",
1208
1478
  required: false,
@@ -1230,13 +1500,28 @@ const propsSheetTitle = {
1230
1500
  itemRef: { required: false, control: "text", type: "string" },
1231
1501
  itemScope: { required: false, control: "boolean", type: "boolean" },
1232
1502
  itemType: { required: false, control: "text", type: "string" },
1233
- lang: { required: false, control: "text", type: "string" },
1503
+ lang: {
1504
+ required: false,
1505
+ control: "text",
1506
+ type: "string",
1507
+ description: "Defines the language used in the element."
1508
+ },
1234
1509
  nonce: { required: false, control: "text", type: "string" },
1235
- placeholder: { required: false, control: "text", type: "string" },
1510
+ placeholder: {
1511
+ required: false,
1512
+ control: "text",
1513
+ type: "string",
1514
+ description: "Provides a hint to the user of what can be entered in the field."
1515
+ },
1236
1516
  prefix: { required: false, control: "text", type: "string" },
1237
1517
  property: { required: false, control: "text", type: "string" },
1238
1518
  radioGroup: { required: false, control: "text", type: "string" },
1239
- rel: { required: false, control: "text", type: "string" },
1519
+ rel: {
1520
+ required: false,
1521
+ control: "text",
1522
+ type: "string",
1523
+ description: "Specifies the relationship of the target object to the link object."
1524
+ },
1240
1525
  resource: { required: false, control: "text", type: "string" },
1241
1526
  results: { required: false, control: "number", type: "number" },
1242
1527
  rev: { required: false, control: "text", type: "string" },
@@ -1244,11 +1529,22 @@ const propsSheetTitle = {
1244
1529
  required: false,
1245
1530
  control: "text",
1246
1531
  type: "string",
1247
- defaultValue: "navigation"
1532
+ defaultValue: "navigation",
1533
+ description: "Defines an explicit role for an element for use by assistive technologies."
1248
1534
  },
1249
1535
  security: { required: false, control: "text", type: "string" },
1250
- slot: { required: false, control: "text", type: "string" },
1251
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1536
+ slot: {
1537
+ required: false,
1538
+ control: "text",
1539
+ type: "string",
1540
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
1541
+ },
1542
+ spellCheck: {
1543
+ required: false,
1544
+ control: "boolean",
1545
+ type: "boolean",
1546
+ description: "Indicates whether spell checking is allowed for the element."
1547
+ },
1252
1548
  suppressContentEditableWarning: {
1253
1549
  required: false,
1254
1550
  control: "boolean",
@@ -1259,13 +1555,24 @@ const propsSheetTitle = {
1259
1555
  control: "boolean",
1260
1556
  type: "boolean"
1261
1557
  },
1262
- tabIndex: { required: false, control: "number", type: "number" },
1263
- title: { required: false, control: "text", type: "string" },
1558
+ tabIndex: {
1559
+ required: false,
1560
+ control: "number",
1561
+ type: "number",
1562
+ description: "Overrides the browser's default tab order and follows the one specified instead."
1563
+ },
1564
+ title: {
1565
+ required: false,
1566
+ control: "text",
1567
+ type: "string",
1568
+ description: "Text to be displayed in a tooltip when hovering over the element."
1569
+ },
1264
1570
  translate: {
1265
1571
  required: false,
1266
1572
  control: "radio",
1267
1573
  type: "string",
1268
- options: ["yes", "no"]
1574
+ options: ["yes", "no"],
1575
+ 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."
1269
1576
  },
1270
1577
  typeof: { required: false, control: "text", type: "string" },
1271
1578
  unselectable: {
@@ -1278,7 +1585,12 @@ const propsSheetTitle = {
1278
1585
  };
1279
1586
  const propsSheetDescription = {
1280
1587
  about: { required: false, control: "text", type: "string" },
1281
- accessKey: { required: false, control: "text", type: "string" },
1588
+ accessKey: {
1589
+ required: false,
1590
+ control: "text",
1591
+ type: "string",
1592
+ description: "Keyboard shortcut to activate or add focus to the element."
1593
+ },
1282
1594
  "aria-activedescendant": {
1283
1595
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
1284
1596
  required: false,
@@ -1434,7 +1746,7 @@ const propsSheetDescription = {
1434
1746
  type: "string"
1435
1747
  },
1436
1748
  "aria-label": {
1437
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
1749
+ 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.",
1438
1750
  required: false,
1439
1751
  control: "text",
1440
1752
  type: "string"
@@ -1610,19 +1922,64 @@ const propsSheetDescription = {
1610
1922
  control: "text",
1611
1923
  type: "string"
1612
1924
  },
1613
- autoCapitalize: { required: false, control: "text", type: "string" },
1925
+ autoCapitalize: {
1926
+ required: false,
1927
+ control: "text",
1928
+ type: "string",
1929
+ description: "Sets whether input is automatically capitalized when entered by user."
1930
+ },
1614
1931
  autoCorrect: { required: false, control: "text", type: "string" },
1615
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1932
+ autoFocus: {
1933
+ required: false,
1934
+ control: "boolean",
1935
+ type: "boolean",
1936
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1937
+ },
1616
1938
  autoSave: { required: false, control: "text", type: "string" },
1617
1939
  className: { required: false, control: "text", type: "string" },
1618
- color: { required: false, control: "color", type: "string" },
1619
- content: { required: false, control: "text", type: "string" },
1620
- contextMenu: { required: false, control: "text", type: "string" },
1940
+ color: {
1941
+ required: false,
1942
+ control: "color",
1943
+ type: "string",
1944
+ 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."
1945
+ },
1946
+ content: {
1947
+ required: false,
1948
+ control: "text",
1949
+ type: "string",
1950
+ description: "A value associated with http-equiv orname depending on the context."
1951
+ },
1952
+ contextMenu: {
1953
+ required: false,
1954
+ control: "text",
1955
+ type: "string",
1956
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
1957
+ },
1621
1958
  datatype: { required: false, control: "text", type: "string" },
1622
- dir: { required: false, control: "text", type: "string" },
1623
- draggable: { required: false, control: "boolean", type: "boolean" },
1624
- hidden: { required: false, control: "boolean", type: "boolean" },
1625
- id: { required: false, control: "text", type: "string" },
1959
+ dir: {
1960
+ required: false,
1961
+ control: "text",
1962
+ type: "string",
1963
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
1964
+ },
1965
+ draggable: {
1966
+ required: false,
1967
+ control: "boolean",
1968
+ type: "boolean",
1969
+ description: "Defines whether the element can be dragged."
1970
+ },
1971
+ hidden: {
1972
+ required: false,
1973
+ control: "boolean",
1974
+ type: "boolean",
1975
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
1976
+ },
1977
+ id: {
1978
+ required: false,
1979
+ control: "text",
1980
+ type: "string",
1981
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
1982
+ },
1626
1983
  inputMode: {
1627
1984
  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",
1628
1985
  required: false,
@@ -1650,13 +2007,28 @@ const propsSheetDescription = {
1650
2007
  itemRef: { required: false, control: "text", type: "string" },
1651
2008
  itemScope: { required: false, control: "boolean", type: "boolean" },
1652
2009
  itemType: { required: false, control: "text", type: "string" },
1653
- lang: { required: false, control: "text", type: "string" },
2010
+ lang: {
2011
+ required: false,
2012
+ control: "text",
2013
+ type: "string",
2014
+ description: "Defines the language used in the element."
2015
+ },
1654
2016
  nonce: { required: false, control: "text", type: "string" },
1655
- placeholder: { required: false, control: "text", type: "string" },
2017
+ placeholder: {
2018
+ required: false,
2019
+ control: "text",
2020
+ type: "string",
2021
+ description: "Provides a hint to the user of what can be entered in the field."
2022
+ },
1656
2023
  prefix: { required: false, control: "text", type: "string" },
1657
2024
  property: { required: false, control: "text", type: "string" },
1658
2025
  radioGroup: { required: false, control: "text", type: "string" },
1659
- rel: { required: false, control: "text", type: "string" },
2026
+ rel: {
2027
+ required: false,
2028
+ control: "text",
2029
+ type: "string",
2030
+ description: "Specifies the relationship of the target object to the link object."
2031
+ },
1660
2032
  resource: { required: false, control: "text", type: "string" },
1661
2033
  results: { required: false, control: "number", type: "number" },
1662
2034
  rev: { required: false, control: "text", type: "string" },
@@ -1664,11 +2036,22 @@ const propsSheetDescription = {
1664
2036
  required: false,
1665
2037
  control: "text",
1666
2038
  type: "string",
1667
- defaultValue: "navigation"
2039
+ defaultValue: "navigation",
2040
+ description: "Defines an explicit role for an element for use by assistive technologies."
1668
2041
  },
1669
2042
  security: { required: false, control: "text", type: "string" },
1670
- slot: { required: false, control: "text", type: "string" },
1671
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2043
+ slot: {
2044
+ required: false,
2045
+ control: "text",
2046
+ type: "string",
2047
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
2048
+ },
2049
+ spellCheck: {
2050
+ required: false,
2051
+ control: "boolean",
2052
+ type: "boolean",
2053
+ description: "Indicates whether spell checking is allowed for the element."
2054
+ },
1672
2055
  suppressContentEditableWarning: {
1673
2056
  required: false,
1674
2057
  control: "boolean",
@@ -1679,13 +2062,24 @@ const propsSheetDescription = {
1679
2062
  control: "boolean",
1680
2063
  type: "boolean"
1681
2064
  },
1682
- tabIndex: { required: false, control: "number", type: "number" },
1683
- title: { required: false, control: "text", type: "string" },
2065
+ tabIndex: {
2066
+ required: false,
2067
+ control: "number",
2068
+ type: "number",
2069
+ description: "Overrides the browser's default tab order and follows the one specified instead."
2070
+ },
2071
+ title: {
2072
+ required: false,
2073
+ control: "text",
2074
+ type: "string",
2075
+ description: "Text to be displayed in a tooltip when hovering over the element."
2076
+ },
1684
2077
  translate: {
1685
2078
  required: false,
1686
2079
  control: "radio",
1687
2080
  type: "string",
1688
- options: ["yes", "no"]
2081
+ options: ["yes", "no"],
2082
+ 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."
1689
2083
  },
1690
2084
  typeof: { required: false, control: "text", type: "string" },
1691
2085
  unselectable: {
@@ -1698,7 +2092,12 @@ const propsSheetDescription = {
1698
2092
  };
1699
2093
  const propsSheetContent = {
1700
2094
  about: { required: false, control: "text", type: "string" },
1701
- accessKey: { required: false, control: "text", type: "string" },
2095
+ accessKey: {
2096
+ required: false,
2097
+ control: "text",
2098
+ type: "string",
2099
+ description: "Keyboard shortcut to activate or add focus to the element."
2100
+ },
1702
2101
  "aria-activedescendant": {
1703
2102
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
1704
2103
  required: false,
@@ -1854,7 +2253,7 @@ const propsSheetContent = {
1854
2253
  type: "string"
1855
2254
  },
1856
2255
  "aria-label": {
1857
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
2256
+ 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.",
1858
2257
  required: false,
1859
2258
  control: "text",
1860
2259
  type: "string"
@@ -2030,19 +2429,64 @@ const propsSheetContent = {
2030
2429
  control: "text",
2031
2430
  type: "string"
2032
2431
  },
2033
- autoCapitalize: { required: false, control: "text", type: "string" },
2432
+ autoCapitalize: {
2433
+ required: false,
2434
+ control: "text",
2435
+ type: "string",
2436
+ description: "Sets whether input is automatically capitalized when entered by user."
2437
+ },
2034
2438
  autoCorrect: { required: false, control: "text", type: "string" },
2035
- autoFocus: { required: false, control: "boolean", type: "boolean" },
2439
+ autoFocus: {
2440
+ required: false,
2441
+ control: "boolean",
2442
+ type: "boolean",
2443
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
2444
+ },
2036
2445
  autoSave: { required: false, control: "text", type: "string" },
2037
2446
  className: { required: false, control: "text", type: "string" },
2038
- color: { required: false, control: "color", type: "string" },
2039
- content: { required: false, control: "text", type: "string" },
2040
- contextMenu: { required: false, control: "text", type: "string" },
2447
+ color: {
2448
+ required: false,
2449
+ control: "color",
2450
+ type: "string",
2451
+ 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."
2452
+ },
2453
+ content: {
2454
+ required: false,
2455
+ control: "text",
2456
+ type: "string",
2457
+ description: "A value associated with http-equiv orname depending on the context."
2458
+ },
2459
+ contextMenu: {
2460
+ required: false,
2461
+ control: "text",
2462
+ type: "string",
2463
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
2464
+ },
2041
2465
  datatype: { required: false, control: "text", type: "string" },
2042
- dir: { required: false, control: "text", type: "string" },
2043
- draggable: { required: false, control: "boolean", type: "boolean" },
2044
- hidden: { required: false, control: "boolean", type: "boolean" },
2045
- id: { required: false, control: "text", type: "string" },
2466
+ dir: {
2467
+ required: false,
2468
+ control: "text",
2469
+ type: "string",
2470
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
2471
+ },
2472
+ draggable: {
2473
+ required: false,
2474
+ control: "boolean",
2475
+ type: "boolean",
2476
+ description: "Defines whether the element can be dragged."
2477
+ },
2478
+ hidden: {
2479
+ required: false,
2480
+ control: "boolean",
2481
+ type: "boolean",
2482
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
2483
+ },
2484
+ id: {
2485
+ required: false,
2486
+ control: "text",
2487
+ type: "string",
2488
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
2489
+ },
2046
2490
  inputMode: {
2047
2491
  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",
2048
2492
  required: false,
@@ -2070,13 +2514,28 @@ const propsSheetContent = {
2070
2514
  itemRef: { required: false, control: "text", type: "string" },
2071
2515
  itemScope: { required: false, control: "boolean", type: "boolean" },
2072
2516
  itemType: { required: false, control: "text", type: "string" },
2073
- lang: { required: false, control: "text", type: "string" },
2517
+ lang: {
2518
+ required: false,
2519
+ control: "text",
2520
+ type: "string",
2521
+ description: "Defines the language used in the element."
2522
+ },
2074
2523
  nonce: { required: false, control: "text", type: "string" },
2075
- placeholder: { required: false, control: "text", type: "string" },
2524
+ placeholder: {
2525
+ required: false,
2526
+ control: "text",
2527
+ type: "string",
2528
+ description: "Provides a hint to the user of what can be entered in the field."
2529
+ },
2076
2530
  prefix: { required: false, control: "text", type: "string" },
2077
2531
  property: { required: false, control: "text", type: "string" },
2078
2532
  radioGroup: { required: false, control: "text", type: "string" },
2079
- rel: { required: false, control: "text", type: "string" },
2533
+ rel: {
2534
+ required: false,
2535
+ control: "text",
2536
+ type: "string",
2537
+ description: "Specifies the relationship of the target object to the link object."
2538
+ },
2080
2539
  resource: { required: false, control: "text", type: "string" },
2081
2540
  results: { required: false, control: "number", type: "number" },
2082
2541
  rev: { required: false, control: "text", type: "string" },
@@ -2084,7 +2543,8 @@ const propsSheetContent = {
2084
2543
  required: false,
2085
2544
  control: "text",
2086
2545
  type: "string",
2087
- defaultValue: "navigation"
2546
+ defaultValue: "navigation",
2547
+ description: "Defines an explicit role for an element for use by assistive technologies."
2088
2548
  },
2089
2549
  security: { required: false, control: "text", type: "string" },
2090
2550
  side: {
@@ -2094,8 +2554,18 @@ const propsSheetContent = {
2094
2554
  defaultValue: "left",
2095
2555
  options: ["top", "right", "bottom", "left"]
2096
2556
  },
2097
- slot: { required: false, control: "text", type: "string" },
2098
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2557
+ slot: {
2558
+ required: false,
2559
+ control: "text",
2560
+ type: "string",
2561
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
2562
+ },
2563
+ spellCheck: {
2564
+ required: false,
2565
+ control: "boolean",
2566
+ type: "boolean",
2567
+ description: "Indicates whether spell checking is allowed for the element."
2568
+ },
2099
2569
  suppressContentEditableWarning: {
2100
2570
  required: false,
2101
2571
  control: "boolean",
@@ -2106,7 +2576,12 @@ const propsSheetContent = {
2106
2576
  control: "boolean",
2107
2577
  type: "boolean"
2108
2578
  },
2109
- tabIndex: { required: false, control: "number", type: "number" },
2579
+ tabIndex: {
2580
+ required: false,
2581
+ control: "number",
2582
+ type: "number",
2583
+ description: "Overrides the browser's default tab order and follows the one specified instead."
2584
+ },
2110
2585
  tag: {
2111
2586
  required: false,
2112
2587
  control: "radio",
@@ -2114,12 +2589,18 @@ const propsSheetContent = {
2114
2589
  defaultValue: "nav",
2115
2590
  options: ["div", "nav"]
2116
2591
  },
2117
- title: { required: false, control: "text", type: "string" },
2592
+ title: {
2593
+ required: false,
2594
+ control: "text",
2595
+ type: "string",
2596
+ description: "Text to be displayed in a tooltip when hovering over the element."
2597
+ },
2118
2598
  translate: {
2119
2599
  required: false,
2120
2600
  control: "radio",
2121
2601
  type: "string",
2122
- options: ["yes", "no"]
2602
+ options: ["yes", "no"],
2603
+ 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."
2123
2604
  },
2124
2605
  typeof: { required: false, control: "text", type: "string" },
2125
2606
  unselectable: {