@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
@@ -29,7 +29,12 @@ __export(navigation_menu_props_exports, {
29
29
  module.exports = __toCommonJS(navigation_menu_props_exports);
30
30
  const propsNavigationMenu = {
31
31
  about: { required: false, control: "text", type: "string" },
32
- accessKey: { required: false, control: "text", type: "string" },
32
+ accessKey: {
33
+ required: false,
34
+ control: "text",
35
+ type: "string",
36
+ description: "Keyboard shortcut to activate or add focus to the element."
37
+ },
33
38
  "aria-activedescendant": {
34
39
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
35
40
  required: false,
@@ -185,7 +190,7 @@ const propsNavigationMenu = {
185
190
  type: "string"
186
191
  },
187
192
  "aria-label": {
188
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
193
+ 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.",
189
194
  required: false,
190
195
  control: "text",
191
196
  type: "string"
@@ -354,14 +359,39 @@ const propsNavigationMenu = {
354
359
  control: "text",
355
360
  type: "string"
356
361
  },
357
- autoCapitalize: { required: false, control: "text", type: "string" },
362
+ autoCapitalize: {
363
+ required: false,
364
+ control: "text",
365
+ type: "string",
366
+ description: "Sets whether input is automatically capitalized when entered by user."
367
+ },
358
368
  autoCorrect: { required: false, control: "text", type: "string" },
359
- autoFocus: { required: false, control: "boolean", type: "boolean" },
369
+ autoFocus: {
370
+ required: false,
371
+ control: "boolean",
372
+ type: "boolean",
373
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
374
+ },
360
375
  autoSave: { required: false, control: "text", type: "string" },
361
376
  className: { required: false, control: "text", type: "string" },
362
- color: { required: false, control: "color", type: "string" },
363
- content: { required: false, control: "text", type: "string" },
364
- contextMenu: { required: false, control: "text", type: "string" },
377
+ color: {
378
+ required: false,
379
+ control: "color",
380
+ type: "string",
381
+ 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."
382
+ },
383
+ content: {
384
+ required: false,
385
+ control: "text",
386
+ type: "string",
387
+ description: "A value associated with http-equiv orname depending on the context."
388
+ },
389
+ contextMenu: {
390
+ required: false,
391
+ control: "text",
392
+ type: "string",
393
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
394
+ },
365
395
  datatype: { required: false, control: "text", type: "string" },
366
396
  delayDuration: {
367
397
  description: "The duration from when the pointer enters the trigger until the tooltip gets opened.\n@defaultValue 200",
@@ -373,11 +403,27 @@ const propsNavigationMenu = {
373
403
  required: false,
374
404
  control: "radio",
375
405
  type: "string",
376
- options: ["ltr", "rtl"]
406
+ options: ["ltr", "rtl"],
407
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
408
+ },
409
+ draggable: {
410
+ required: false,
411
+ control: "boolean",
412
+ type: "boolean",
413
+ description: "Defines whether the element can be dragged."
414
+ },
415
+ hidden: {
416
+ required: false,
417
+ control: "boolean",
418
+ type: "boolean",
419
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
420
+ },
421
+ id: {
422
+ required: false,
423
+ control: "text",
424
+ type: "string",
425
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
377
426
  },
378
- draggable: { required: false, control: "boolean", type: "boolean" },
379
- hidden: { required: false, control: "boolean", type: "boolean" },
380
- id: { required: false, control: "text", type: "string" },
381
427
  inputMode: {
382
428
  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
429
  required: false,
@@ -405,17 +451,37 @@ const propsNavigationMenu = {
405
451
  itemRef: { required: false, control: "text", type: "string" },
406
452
  itemScope: { required: false, control: "boolean", type: "boolean" },
407
453
  itemType: { required: false, control: "text", type: "string" },
408
- lang: { required: false, control: "text", type: "string" },
454
+ lang: {
455
+ required: false,
456
+ control: "text",
457
+ type: "string",
458
+ description: "Defines the language used in the element."
459
+ },
409
460
  nonce: { required: false, control: "text", type: "string" },
410
- placeholder: { required: false, control: "text", type: "string" },
461
+ placeholder: {
462
+ required: false,
463
+ control: "text",
464
+ type: "string",
465
+ description: "Provides a hint to the user of what can be entered in the field."
466
+ },
411
467
  prefix: { required: false, control: "text", type: "string" },
412
468
  property: { required: false, control: "text", type: "string" },
413
469
  radioGroup: { required: false, control: "text", type: "string" },
414
- rel: { required: false, control: "text", type: "string" },
470
+ rel: {
471
+ required: false,
472
+ control: "text",
473
+ type: "string",
474
+ description: "Specifies the relationship of the target object to the link object."
475
+ },
415
476
  resource: { required: false, control: "text", type: "string" },
416
477
  results: { required: false, control: "number", type: "number" },
417
478
  rev: { required: false, control: "text", type: "string" },
418
- role: { required: false, control: "text", type: "string" },
479
+ role: {
480
+ required: false,
481
+ control: "text",
482
+ type: "string",
483
+ description: "Defines an explicit role for an element for use by assistive technologies."
484
+ },
419
485
  security: { required: false, control: "text", type: "string" },
420
486
  skipDelayDuration: {
421
487
  description: "How much time a user has to enter another trigger without incurring a delay again.\n@defaultValue 300",
@@ -423,8 +489,18 @@ const propsNavigationMenu = {
423
489
  control: "number",
424
490
  type: "number"
425
491
  },
426
- slot: { required: false, control: "text", type: "string" },
427
- spellCheck: { required: false, control: "boolean", type: "boolean" },
492
+ slot: {
493
+ required: false,
494
+ control: "text",
495
+ type: "string",
496
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
497
+ },
498
+ spellCheck: {
499
+ required: false,
500
+ control: "boolean",
501
+ type: "boolean",
502
+ description: "Indicates whether spell checking is allowed for the element."
503
+ },
428
504
  suppressContentEditableWarning: {
429
505
  required: false,
430
506
  control: "boolean",
@@ -435,13 +511,24 @@ const propsNavigationMenu = {
435
511
  control: "boolean",
436
512
  type: "boolean"
437
513
  },
438
- tabIndex: { required: false, control: "number", type: "number" },
439
- title: { required: false, control: "text", type: "string" },
514
+ tabIndex: {
515
+ required: false,
516
+ control: "number",
517
+ type: "number",
518
+ description: "Overrides the browser's default tab order and follows the one specified instead."
519
+ },
520
+ title: {
521
+ required: false,
522
+ control: "text",
523
+ type: "string",
524
+ description: "Text to be displayed in a tooltip when hovering over the element."
525
+ },
440
526
  translate: {
441
527
  required: false,
442
528
  control: "radio",
443
529
  type: "string",
444
- options: ["yes", "no"]
530
+ options: ["yes", "no"],
531
+ 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."
445
532
  },
446
533
  typeof: { required: false, control: "text", type: "string" },
447
534
  unselectable: {
@@ -450,12 +537,22 @@ const propsNavigationMenu = {
450
537
  type: "string",
451
538
  options: ["on", "off"]
452
539
  },
453
- value: { required: false, control: "text", type: "string" },
540
+ value: {
541
+ required: false,
542
+ control: "text",
543
+ type: "string",
544
+ description: "Defines a default value which will be displayed in the element on pageload."
545
+ },
454
546
  vocab: { required: false, control: "text", type: "string" }
455
547
  };
456
548
  const propsNavigationMenuList = {
457
549
  about: { required: false, control: "text", type: "string" },
458
- accessKey: { required: false, control: "text", type: "string" },
550
+ accessKey: {
551
+ required: false,
552
+ control: "text",
553
+ type: "string",
554
+ description: "Keyboard shortcut to activate or add focus to the element."
555
+ },
459
556
  "aria-activedescendant": {
460
557
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
461
558
  required: false,
@@ -611,7 +708,7 @@ const propsNavigationMenuList = {
611
708
  type: "string"
612
709
  },
613
710
  "aria-label": {
614
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
711
+ 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.",
615
712
  required: false,
616
713
  control: "text",
617
714
  type: "string"
@@ -787,19 +884,64 @@ const propsNavigationMenuList = {
787
884
  control: "text",
788
885
  type: "string"
789
886
  },
790
- autoCapitalize: { required: false, control: "text", type: "string" },
887
+ autoCapitalize: {
888
+ required: false,
889
+ control: "text",
890
+ type: "string",
891
+ description: "Sets whether input is automatically capitalized when entered by user."
892
+ },
791
893
  autoCorrect: { required: false, control: "text", type: "string" },
792
- autoFocus: { required: false, control: "boolean", type: "boolean" },
894
+ autoFocus: {
895
+ required: false,
896
+ control: "boolean",
897
+ type: "boolean",
898
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
899
+ },
793
900
  autoSave: { required: false, control: "text", type: "string" },
794
901
  className: { required: false, control: "text", type: "string" },
795
- color: { required: false, control: "color", type: "string" },
796
- content: { required: false, control: "text", type: "string" },
797
- contextMenu: { required: false, control: "text", type: "string" },
902
+ color: {
903
+ required: false,
904
+ control: "color",
905
+ type: "string",
906
+ 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."
907
+ },
908
+ content: {
909
+ required: false,
910
+ control: "text",
911
+ type: "string",
912
+ description: "A value associated with http-equiv orname depending on the context."
913
+ },
914
+ contextMenu: {
915
+ required: false,
916
+ control: "text",
917
+ type: "string",
918
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
919
+ },
798
920
  datatype: { required: false, control: "text", type: "string" },
799
- dir: { required: false, control: "text", type: "string" },
800
- draggable: { required: false, control: "boolean", type: "boolean" },
801
- hidden: { required: false, control: "boolean", type: "boolean" },
802
- id: { required: false, control: "text", type: "string" },
921
+ dir: {
922
+ required: false,
923
+ control: "text",
924
+ type: "string",
925
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
926
+ },
927
+ draggable: {
928
+ required: false,
929
+ control: "boolean",
930
+ type: "boolean",
931
+ description: "Defines whether the element can be dragged."
932
+ },
933
+ hidden: {
934
+ required: false,
935
+ control: "boolean",
936
+ type: "boolean",
937
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
938
+ },
939
+ id: {
940
+ required: false,
941
+ control: "text",
942
+ type: "string",
943
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
944
+ },
803
945
  inputMode: {
804
946
  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",
805
947
  required: false,
@@ -827,20 +969,50 @@ const propsNavigationMenuList = {
827
969
  itemRef: { required: false, control: "text", type: "string" },
828
970
  itemScope: { required: false, control: "boolean", type: "boolean" },
829
971
  itemType: { required: false, control: "text", type: "string" },
830
- lang: { required: false, control: "text", type: "string" },
972
+ lang: {
973
+ required: false,
974
+ control: "text",
975
+ type: "string",
976
+ description: "Defines the language used in the element."
977
+ },
831
978
  nonce: { required: false, control: "text", type: "string" },
832
- placeholder: { required: false, control: "text", type: "string" },
979
+ placeholder: {
980
+ required: false,
981
+ control: "text",
982
+ type: "string",
983
+ description: "Provides a hint to the user of what can be entered in the field."
984
+ },
833
985
  prefix: { required: false, control: "text", type: "string" },
834
986
  property: { required: false, control: "text", type: "string" },
835
987
  radioGroup: { required: false, control: "text", type: "string" },
836
- rel: { required: false, control: "text", type: "string" },
988
+ rel: {
989
+ required: false,
990
+ control: "text",
991
+ type: "string",
992
+ description: "Specifies the relationship of the target object to the link object."
993
+ },
837
994
  resource: { required: false, control: "text", type: "string" },
838
995
  results: { required: false, control: "number", type: "number" },
839
996
  rev: { required: false, control: "text", type: "string" },
840
- role: { required: false, control: "text", type: "string" },
997
+ role: {
998
+ required: false,
999
+ control: "text",
1000
+ type: "string",
1001
+ description: "Defines an explicit role for an element for use by assistive technologies."
1002
+ },
841
1003
  security: { required: false, control: "text", type: "string" },
842
- slot: { required: false, control: "text", type: "string" },
843
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1004
+ slot: {
1005
+ required: false,
1006
+ control: "text",
1007
+ type: "string",
1008
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
1009
+ },
1010
+ spellCheck: {
1011
+ required: false,
1012
+ control: "boolean",
1013
+ type: "boolean",
1014
+ description: "Indicates whether spell checking is allowed for the element."
1015
+ },
844
1016
  suppressContentEditableWarning: {
845
1017
  required: false,
846
1018
  control: "boolean",
@@ -851,13 +1023,24 @@ const propsNavigationMenuList = {
851
1023
  control: "boolean",
852
1024
  type: "boolean"
853
1025
  },
854
- tabIndex: { required: false, control: "number", type: "number" },
855
- title: { required: false, control: "text", type: "string" },
1026
+ tabIndex: {
1027
+ required: false,
1028
+ control: "number",
1029
+ type: "number",
1030
+ description: "Overrides the browser's default tab order and follows the one specified instead."
1031
+ },
1032
+ title: {
1033
+ required: false,
1034
+ control: "text",
1035
+ type: "string",
1036
+ description: "Text to be displayed in a tooltip when hovering over the element."
1037
+ },
856
1038
  translate: {
857
1039
  required: false,
858
1040
  control: "radio",
859
1041
  type: "string",
860
- options: ["yes", "no"]
1042
+ options: ["yes", "no"],
1043
+ 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."
861
1044
  },
862
1045
  typeof: { required: false, control: "text", type: "string" },
863
1046
  unselectable: {
@@ -870,7 +1053,12 @@ const propsNavigationMenuList = {
870
1053
  };
871
1054
  const propsNavigationMenuViewport = {
872
1055
  about: { required: false, control: "text", type: "string" },
873
- accessKey: { required: false, control: "text", type: "string" },
1056
+ accessKey: {
1057
+ required: false,
1058
+ control: "text",
1059
+ type: "string",
1060
+ description: "Keyboard shortcut to activate or add focus to the element."
1061
+ },
874
1062
  "aria-activedescendant": {
875
1063
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
876
1064
  required: false,
@@ -1026,7 +1214,7 @@ const propsNavigationMenuViewport = {
1026
1214
  type: "string"
1027
1215
  },
1028
1216
  "aria-label": {
1029
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
1217
+ 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.",
1030
1218
  required: false,
1031
1219
  control: "text",
1032
1220
  type: "string"
@@ -1202,19 +1390,64 @@ const propsNavigationMenuViewport = {
1202
1390
  control: "text",
1203
1391
  type: "string"
1204
1392
  },
1205
- autoCapitalize: { required: false, control: "text", type: "string" },
1393
+ autoCapitalize: {
1394
+ required: false,
1395
+ control: "text",
1396
+ type: "string",
1397
+ description: "Sets whether input is automatically capitalized when entered by user."
1398
+ },
1206
1399
  autoCorrect: { required: false, control: "text", type: "string" },
1207
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1400
+ autoFocus: {
1401
+ required: false,
1402
+ control: "boolean",
1403
+ type: "boolean",
1404
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1405
+ },
1208
1406
  autoSave: { required: false, control: "text", type: "string" },
1209
1407
  className: { required: false, control: "text", type: "string" },
1210
- color: { required: false, control: "color", type: "string" },
1211
- content: { required: false, control: "text", type: "string" },
1212
- contextMenu: { required: false, control: "text", type: "string" },
1408
+ color: {
1409
+ required: false,
1410
+ control: "color",
1411
+ type: "string",
1412
+ 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."
1413
+ },
1414
+ content: {
1415
+ required: false,
1416
+ control: "text",
1417
+ type: "string",
1418
+ description: "A value associated with http-equiv orname depending on the context."
1419
+ },
1420
+ contextMenu: {
1421
+ required: false,
1422
+ control: "text",
1423
+ type: "string",
1424
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
1425
+ },
1213
1426
  datatype: { required: false, control: "text", type: "string" },
1214
- dir: { required: false, control: "text", type: "string" },
1215
- draggable: { required: false, control: "boolean", type: "boolean" },
1216
- hidden: { required: false, control: "boolean", type: "boolean" },
1217
- id: { required: false, control: "text", type: "string" },
1427
+ dir: {
1428
+ required: false,
1429
+ control: "text",
1430
+ type: "string",
1431
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
1432
+ },
1433
+ draggable: {
1434
+ required: false,
1435
+ control: "boolean",
1436
+ type: "boolean",
1437
+ description: "Defines whether the element can be dragged."
1438
+ },
1439
+ hidden: {
1440
+ required: false,
1441
+ control: "boolean",
1442
+ type: "boolean",
1443
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
1444
+ },
1445
+ id: {
1446
+ required: false,
1447
+ control: "text",
1448
+ type: "string",
1449
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
1450
+ },
1218
1451
  inputMode: {
1219
1452
  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",
1220
1453
  required: false,
@@ -1242,20 +1475,50 @@ const propsNavigationMenuViewport = {
1242
1475
  itemRef: { required: false, control: "text", type: "string" },
1243
1476
  itemScope: { required: false, control: "boolean", type: "boolean" },
1244
1477
  itemType: { required: false, control: "text", type: "string" },
1245
- lang: { required: false, control: "text", type: "string" },
1478
+ lang: {
1479
+ required: false,
1480
+ control: "text",
1481
+ type: "string",
1482
+ description: "Defines the language used in the element."
1483
+ },
1246
1484
  nonce: { required: false, control: "text", type: "string" },
1247
- placeholder: { required: false, control: "text", type: "string" },
1485
+ placeholder: {
1486
+ required: false,
1487
+ control: "text",
1488
+ type: "string",
1489
+ description: "Provides a hint to the user of what can be entered in the field."
1490
+ },
1248
1491
  prefix: { required: false, control: "text", type: "string" },
1249
1492
  property: { required: false, control: "text", type: "string" },
1250
1493
  radioGroup: { required: false, control: "text", type: "string" },
1251
- rel: { required: false, control: "text", type: "string" },
1494
+ rel: {
1495
+ required: false,
1496
+ control: "text",
1497
+ type: "string",
1498
+ description: "Specifies the relationship of the target object to the link object."
1499
+ },
1252
1500
  resource: { required: false, control: "text", type: "string" },
1253
1501
  results: { required: false, control: "number", type: "number" },
1254
1502
  rev: { required: false, control: "text", type: "string" },
1255
- role: { required: false, control: "text", type: "string" },
1503
+ role: {
1504
+ required: false,
1505
+ control: "text",
1506
+ type: "string",
1507
+ description: "Defines an explicit role for an element for use by assistive technologies."
1508
+ },
1256
1509
  security: { required: false, control: "text", type: "string" },
1257
- slot: { required: false, control: "text", type: "string" },
1258
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1510
+ slot: {
1511
+ required: false,
1512
+ control: "text",
1513
+ type: "string",
1514
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
1515
+ },
1516
+ spellCheck: {
1517
+ required: false,
1518
+ control: "boolean",
1519
+ type: "boolean",
1520
+ description: "Indicates whether spell checking is allowed for the element."
1521
+ },
1259
1522
  suppressContentEditableWarning: {
1260
1523
  required: false,
1261
1524
  control: "boolean",
@@ -1266,13 +1529,24 @@ const propsNavigationMenuViewport = {
1266
1529
  control: "boolean",
1267
1530
  type: "boolean"
1268
1531
  },
1269
- tabIndex: { required: false, control: "number", type: "number" },
1270
- title: { required: false, control: "text", type: "string" },
1532
+ tabIndex: {
1533
+ required: false,
1534
+ control: "number",
1535
+ type: "number",
1536
+ description: "Overrides the browser's default tab order and follows the one specified instead."
1537
+ },
1538
+ title: {
1539
+ required: false,
1540
+ control: "text",
1541
+ type: "string",
1542
+ description: "Text to be displayed in a tooltip when hovering over the element."
1543
+ },
1271
1544
  translate: {
1272
1545
  required: false,
1273
1546
  control: "radio",
1274
1547
  type: "string",
1275
- options: ["yes", "no"]
1548
+ options: ["yes", "no"],
1549
+ 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."
1276
1550
  },
1277
1551
  typeof: { required: false, control: "text", type: "string" },
1278
1552
  unselectable: {
@@ -1285,7 +1559,12 @@ const propsNavigationMenuViewport = {
1285
1559
  };
1286
1560
  const propsNavigationMenuContent = {
1287
1561
  about: { required: false, control: "text", type: "string" },
1288
- accessKey: { required: false, control: "text", type: "string" },
1562
+ accessKey: {
1563
+ required: false,
1564
+ control: "text",
1565
+ type: "string",
1566
+ description: "Keyboard shortcut to activate or add focus to the element."
1567
+ },
1289
1568
  "aria-activedescendant": {
1290
1569
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
1291
1570
  required: false,
@@ -1441,7 +1720,7 @@ const propsNavigationMenuContent = {
1441
1720
  type: "string"
1442
1721
  },
1443
1722
  "aria-label": {
1444
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
1723
+ 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.",
1445
1724
  required: false,
1446
1725
  control: "text",
1447
1726
  type: "string"
@@ -1617,25 +1896,70 @@ const propsNavigationMenuContent = {
1617
1896
  control: "text",
1618
1897
  type: "string"
1619
1898
  },
1620
- autoCapitalize: { required: false, control: "text", type: "string" },
1899
+ autoCapitalize: {
1900
+ required: false,
1901
+ control: "text",
1902
+ type: "string",
1903
+ description: "Sets whether input is automatically capitalized when entered by user."
1904
+ },
1621
1905
  autoCorrect: { required: false, control: "text", type: "string" },
1622
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1906
+ autoFocus: {
1907
+ required: false,
1908
+ control: "boolean",
1909
+ type: "boolean",
1910
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1911
+ },
1623
1912
  autoSave: { required: false, control: "text", type: "string" },
1624
1913
  className: { required: false, control: "text", type: "string" },
1625
- color: { required: false, control: "color", type: "string" },
1626
- content: { required: false, control: "text", type: "string" },
1627
- contextMenu: { required: false, control: "text", type: "string" },
1914
+ color: {
1915
+ required: false,
1916
+ control: "color",
1917
+ type: "string",
1918
+ 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."
1919
+ },
1920
+ content: {
1921
+ required: false,
1922
+ control: "text",
1923
+ type: "string",
1924
+ description: "A value associated with http-equiv orname depending on the context."
1925
+ },
1926
+ contextMenu: {
1927
+ required: false,
1928
+ control: "text",
1929
+ type: "string",
1930
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
1931
+ },
1628
1932
  datatype: { required: false, control: "text", type: "string" },
1629
- dir: { required: false, control: "text", type: "string" },
1933
+ dir: {
1934
+ required: false,
1935
+ control: "text",
1936
+ type: "string",
1937
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
1938
+ },
1630
1939
  disableOutsidePointerEvents: {
1631
1940
  description: "When `true`, hover/focus/click interactions will be disabled on elements outside\nthe `DismissableLayer`. Users will need to click twice on outside elements to\ninteract with them: once to close the `DismissableLayer`, and again to trigger the element.",
1632
1941
  required: false,
1633
1942
  control: "boolean",
1634
1943
  type: "boolean"
1635
1944
  },
1636
- draggable: { required: false, control: "boolean", type: "boolean" },
1637
- hidden: { required: false, control: "boolean", type: "boolean" },
1638
- id: { required: false, control: "text", type: "string" },
1945
+ draggable: {
1946
+ required: false,
1947
+ control: "boolean",
1948
+ type: "boolean",
1949
+ description: "Defines whether the element can be dragged."
1950
+ },
1951
+ hidden: {
1952
+ required: false,
1953
+ control: "boolean",
1954
+ type: "boolean",
1955
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
1956
+ },
1957
+ id: {
1958
+ required: false,
1959
+ control: "text",
1960
+ type: "string",
1961
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
1962
+ },
1639
1963
  inputMode: {
1640
1964
  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",
1641
1965
  required: false,
@@ -1663,20 +1987,50 @@ const propsNavigationMenuContent = {
1663
1987
  itemRef: { required: false, control: "text", type: "string" },
1664
1988
  itemScope: { required: false, control: "boolean", type: "boolean" },
1665
1989
  itemType: { required: false, control: "text", type: "string" },
1666
- lang: { required: false, control: "text", type: "string" },
1990
+ lang: {
1991
+ required: false,
1992
+ control: "text",
1993
+ type: "string",
1994
+ description: "Defines the language used in the element."
1995
+ },
1667
1996
  nonce: { required: false, control: "text", type: "string" },
1668
- placeholder: { required: false, control: "text", type: "string" },
1997
+ placeholder: {
1998
+ required: false,
1999
+ control: "text",
2000
+ type: "string",
2001
+ description: "Provides a hint to the user of what can be entered in the field."
2002
+ },
1669
2003
  prefix: { required: false, control: "text", type: "string" },
1670
2004
  property: { required: false, control: "text", type: "string" },
1671
2005
  radioGroup: { required: false, control: "text", type: "string" },
1672
- rel: { required: false, control: "text", type: "string" },
2006
+ rel: {
2007
+ required: false,
2008
+ control: "text",
2009
+ type: "string",
2010
+ description: "Specifies the relationship of the target object to the link object."
2011
+ },
1673
2012
  resource: { required: false, control: "text", type: "string" },
1674
2013
  results: { required: false, control: "number", type: "number" },
1675
2014
  rev: { required: false, control: "text", type: "string" },
1676
- role: { required: false, control: "text", type: "string" },
2015
+ role: {
2016
+ required: false,
2017
+ control: "text",
2018
+ type: "string",
2019
+ description: "Defines an explicit role for an element for use by assistive technologies."
2020
+ },
1677
2021
  security: { required: false, control: "text", type: "string" },
1678
- slot: { required: false, control: "text", type: "string" },
1679
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2022
+ slot: {
2023
+ required: false,
2024
+ control: "text",
2025
+ type: "string",
2026
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
2027
+ },
2028
+ spellCheck: {
2029
+ required: false,
2030
+ control: "boolean",
2031
+ type: "boolean",
2032
+ description: "Indicates whether spell checking is allowed for the element."
2033
+ },
1680
2034
  suppressContentEditableWarning: {
1681
2035
  required: false,
1682
2036
  control: "boolean",
@@ -1687,13 +2041,24 @@ const propsNavigationMenuContent = {
1687
2041
  control: "boolean",
1688
2042
  type: "boolean"
1689
2043
  },
1690
- tabIndex: { required: false, control: "number", type: "number" },
1691
- title: { required: false, control: "text", type: "string" },
2044
+ tabIndex: {
2045
+ required: false,
2046
+ control: "number",
2047
+ type: "number",
2048
+ description: "Overrides the browser's default tab order and follows the one specified instead."
2049
+ },
2050
+ title: {
2051
+ required: false,
2052
+ control: "text",
2053
+ type: "string",
2054
+ description: "Text to be displayed in a tooltip when hovering over the element."
2055
+ },
1692
2056
  translate: {
1693
2057
  required: false,
1694
2058
  control: "radio",
1695
2059
  type: "string",
1696
- options: ["yes", "no"]
2060
+ options: ["yes", "no"],
2061
+ 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."
1697
2062
  },
1698
2063
  typeof: { required: false, control: "text", type: "string" },
1699
2064
  unselectable: {
@@ -1706,7 +2071,12 @@ const propsNavigationMenuContent = {
1706
2071
  };
1707
2072
  const propsNavigationMenuItem = {
1708
2073
  about: { required: false, control: "text", type: "string" },
1709
- accessKey: { required: false, control: "text", type: "string" },
2074
+ accessKey: {
2075
+ required: false,
2076
+ control: "text",
2077
+ type: "string",
2078
+ description: "Keyboard shortcut to activate or add focus to the element."
2079
+ },
1710
2080
  "aria-activedescendant": {
1711
2081
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
1712
2082
  required: false,
@@ -1862,7 +2232,7 @@ const propsNavigationMenuItem = {
1862
2232
  type: "string"
1863
2233
  },
1864
2234
  "aria-label": {
1865
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
2235
+ 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.",
1866
2236
  required: false,
1867
2237
  control: "text",
1868
2238
  type: "string"
@@ -2038,19 +2408,64 @@ const propsNavigationMenuItem = {
2038
2408
  control: "text",
2039
2409
  type: "string"
2040
2410
  },
2041
- autoCapitalize: { required: false, control: "text", type: "string" },
2411
+ autoCapitalize: {
2412
+ required: false,
2413
+ control: "text",
2414
+ type: "string",
2415
+ description: "Sets whether input is automatically capitalized when entered by user."
2416
+ },
2042
2417
  autoCorrect: { required: false, control: "text", type: "string" },
2043
- autoFocus: { required: false, control: "boolean", type: "boolean" },
2418
+ autoFocus: {
2419
+ required: false,
2420
+ control: "boolean",
2421
+ type: "boolean",
2422
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
2423
+ },
2044
2424
  autoSave: { required: false, control: "text", type: "string" },
2045
2425
  className: { required: false, control: "text", type: "string" },
2046
- color: { required: false, control: "color", type: "string" },
2047
- content: { required: false, control: "text", type: "string" },
2048
- contextMenu: { required: false, control: "text", type: "string" },
2426
+ color: {
2427
+ required: false,
2428
+ control: "color",
2429
+ type: "string",
2430
+ 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."
2431
+ },
2432
+ content: {
2433
+ required: false,
2434
+ control: "text",
2435
+ type: "string",
2436
+ description: "A value associated with http-equiv orname depending on the context."
2437
+ },
2438
+ contextMenu: {
2439
+ required: false,
2440
+ control: "text",
2441
+ type: "string",
2442
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
2443
+ },
2049
2444
  datatype: { required: false, control: "text", type: "string" },
2050
- dir: { required: false, control: "text", type: "string" },
2051
- draggable: { required: false, control: "boolean", type: "boolean" },
2052
- hidden: { required: false, control: "boolean", type: "boolean" },
2053
- id: { required: false, control: "text", type: "string" },
2445
+ dir: {
2446
+ required: false,
2447
+ control: "text",
2448
+ type: "string",
2449
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
2450
+ },
2451
+ draggable: {
2452
+ required: false,
2453
+ control: "boolean",
2454
+ type: "boolean",
2455
+ description: "Defines whether the element can be dragged."
2456
+ },
2457
+ hidden: {
2458
+ required: false,
2459
+ control: "boolean",
2460
+ type: "boolean",
2461
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
2462
+ },
2463
+ id: {
2464
+ required: false,
2465
+ control: "text",
2466
+ type: "string",
2467
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
2468
+ },
2054
2469
  inputMode: {
2055
2470
  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",
2056
2471
  required: false,
@@ -2078,20 +2493,50 @@ const propsNavigationMenuItem = {
2078
2493
  itemRef: { required: false, control: "text", type: "string" },
2079
2494
  itemScope: { required: false, control: "boolean", type: "boolean" },
2080
2495
  itemType: { required: false, control: "text", type: "string" },
2081
- lang: { required: false, control: "text", type: "string" },
2496
+ lang: {
2497
+ required: false,
2498
+ control: "text",
2499
+ type: "string",
2500
+ description: "Defines the language used in the element."
2501
+ },
2082
2502
  nonce: { required: false, control: "text", type: "string" },
2083
- placeholder: { required: false, control: "text", type: "string" },
2503
+ placeholder: {
2504
+ required: false,
2505
+ control: "text",
2506
+ type: "string",
2507
+ description: "Provides a hint to the user of what can be entered in the field."
2508
+ },
2084
2509
  prefix: { required: false, control: "text", type: "string" },
2085
2510
  property: { required: false, control: "text", type: "string" },
2086
2511
  radioGroup: { required: false, control: "text", type: "string" },
2087
- rel: { required: false, control: "text", type: "string" },
2512
+ rel: {
2513
+ required: false,
2514
+ control: "text",
2515
+ type: "string",
2516
+ description: "Specifies the relationship of the target object to the link object."
2517
+ },
2088
2518
  resource: { required: false, control: "text", type: "string" },
2089
2519
  results: { required: false, control: "number", type: "number" },
2090
2520
  rev: { required: false, control: "text", type: "string" },
2091
- role: { required: false, control: "text", type: "string" },
2521
+ role: {
2522
+ required: false,
2523
+ control: "text",
2524
+ type: "string",
2525
+ description: "Defines an explicit role for an element for use by assistive technologies."
2526
+ },
2092
2527
  security: { required: false, control: "text", type: "string" },
2093
- slot: { required: false, control: "text", type: "string" },
2094
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2528
+ slot: {
2529
+ required: false,
2530
+ control: "text",
2531
+ type: "string",
2532
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
2533
+ },
2534
+ spellCheck: {
2535
+ required: false,
2536
+ control: "boolean",
2537
+ type: "boolean",
2538
+ description: "Indicates whether spell checking is allowed for the element."
2539
+ },
2095
2540
  suppressContentEditableWarning: {
2096
2541
  required: false,
2097
2542
  control: "boolean",
@@ -2102,13 +2547,24 @@ const propsNavigationMenuItem = {
2102
2547
  control: "boolean",
2103
2548
  type: "boolean"
2104
2549
  },
2105
- tabIndex: { required: false, control: "number", type: "number" },
2106
- title: { required: false, control: "text", type: "string" },
2550
+ tabIndex: {
2551
+ required: false,
2552
+ control: "number",
2553
+ type: "number",
2554
+ description: "Overrides the browser's default tab order and follows the one specified instead."
2555
+ },
2556
+ title: {
2557
+ required: false,
2558
+ control: "text",
2559
+ type: "string",
2560
+ description: "Text to be displayed in a tooltip when hovering over the element."
2561
+ },
2107
2562
  translate: {
2108
2563
  required: false,
2109
2564
  control: "radio",
2110
2565
  type: "string",
2111
- options: ["yes", "no"]
2566
+ options: ["yes", "no"],
2567
+ 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."
2112
2568
  },
2113
2569
  typeof: { required: false, control: "text", type: "string" },
2114
2570
  unselectable: {
@@ -2117,7 +2573,12 @@ const propsNavigationMenuItem = {
2117
2573
  type: "string",
2118
2574
  options: ["on", "off"]
2119
2575
  },
2120
- value: { required: false, control: "text", type: "string" },
2576
+ value: {
2577
+ required: false,
2578
+ control: "text",
2579
+ type: "string",
2580
+ description: "Defines a default value which will be displayed in the element on pageload."
2581
+ },
2121
2582
  vocab: { required: false, control: "text", type: "string" }
2122
2583
  };
2123
2584
  const propsNavigationMenuLink = {};