@webstudio-is/sdk-components-react-radix 0.88.0 → 0.90.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 (101) 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 +21 -9
  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 +19 -9
  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 +19 -5
  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 +16 -1
  47. package/lib/cjs/switch.ws.js +2 -0
  48. package/lib/cjs/tabs.ws.js +12 -2
  49. package/lib/cjs/theme/styles.js +0 -4
  50. package/lib/cjs/tooltip.ws.js +1 -0
  51. package/lib/collapsible.ws.js +1 -0
  52. package/lib/dialog.ws.js +22 -7
  53. package/lib/label.ws.js +1 -0
  54. package/lib/navigation-menu.ws.js +1 -0
  55. package/lib/popover.ws.js +1 -0
  56. package/lib/props-descriptions.js +36 -0
  57. package/lib/radio-group.ws.js +3 -0
  58. package/lib/select.js +3 -1
  59. package/lib/select.ws.js +1 -0
  60. package/lib/sheet.ws.js +17 -2
  61. package/lib/switch.ws.js +2 -0
  62. package/lib/tabs.ws.js +14 -2
  63. package/lib/theme/styles.js +0 -4
  64. package/lib/tooltip.ws.js +1 -0
  65. package/lib/types/accordion.ws.d.ts +1 -1
  66. package/lib/types/props-descriptions.d.ts +29 -0
  67. package/lib/types/select.d.ts +4 -2
  68. package/lib/types/tabs.ws.d.ts +1 -1
  69. package/package.json +6 -6
  70. package/src/__generated__/accordion.props.ts +675 -103
  71. package/src/__generated__/button.props.ts +180 -27
  72. package/src/__generated__/checkbox.props.ts +317 -48
  73. package/src/__generated__/collapsible.props.ts +261 -40
  74. package/src/__generated__/dialog.props.ts +682 -104
  75. package/src/__generated__/input.props.ts +292 -44
  76. package/src/__generated__/label.props.ts +137 -21
  77. package/src/__generated__/navigation-menu.props.ts +629 -96
  78. package/src/__generated__/popover.props.ts +142 -21
  79. package/src/__generated__/radio-group.props.ts +470 -71
  80. package/src/__generated__/select.props.ts +979 -153
  81. package/src/__generated__/sheet.props.ts +657 -99
  82. package/src/__generated__/switch.props.ts +317 -48
  83. package/src/__generated__/tabs.props.ts +565 -86
  84. package/src/__generated__/textarea.props.ts +195 -30
  85. package/src/__generated__/tooltip.props.ts +145 -23
  86. package/src/accordion.ws.ts +22 -11
  87. package/src/checkbox.ws.ts +3 -0
  88. package/src/collapsible.ws.ts +2 -0
  89. package/src/dialog.ws.tsx +22 -7
  90. package/src/label.ws.ts +2 -0
  91. package/src/navigation-menu.ws.ts +1 -0
  92. package/src/popover.ws.tsx +1 -0
  93. package/src/props-descriptions.ts +43 -0
  94. package/src/radio-group.ws.ts +4 -0
  95. package/src/select.tsx +8 -3
  96. package/src/select.ws.ts +2 -0
  97. package/src/sheet.ws.tsx +18 -2
  98. package/src/switch.ws.ts +3 -0
  99. package/src/tabs.ws.ts +17 -6
  100. package/src/theme/styles.ts +0 -4
  101. package/src/tooltip.ws.tsx +2 -0
@@ -1,6 +1,11 @@
1
1
  const propsAccordion = {
2
2
  about: { required: false, control: "text", type: "string" },
3
- accessKey: { required: false, control: "text", type: "string" },
3
+ accessKey: {
4
+ required: false,
5
+ control: "text",
6
+ type: "string",
7
+ description: "Keyboard shortcut to activate or add focus to the element."
8
+ },
4
9
  "aria-activedescendant": {
5
10
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
6
11
  required: false,
@@ -156,7 +161,7 @@ const propsAccordion = {
156
161
  type: "string"
157
162
  },
158
163
  "aria-label": {
159
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
164
+ 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.",
160
165
  required: false,
161
166
  control: "text",
162
167
  type: "string"
@@ -332,14 +337,39 @@ const propsAccordion = {
332
337
  control: "text",
333
338
  type: "string"
334
339
  },
335
- autoCapitalize: { required: false, control: "text", type: "string" },
340
+ autoCapitalize: {
341
+ required: false,
342
+ control: "text",
343
+ type: "string",
344
+ description: "Sets whether input is automatically capitalized when entered by user."
345
+ },
336
346
  autoCorrect: { required: false, control: "text", type: "string" },
337
- autoFocus: { required: false, control: "boolean", type: "boolean" },
347
+ autoFocus: {
348
+ required: false,
349
+ control: "boolean",
350
+ type: "boolean",
351
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
352
+ },
338
353
  autoSave: { required: false, control: "text", type: "string" },
339
354
  className: { required: false, control: "text", type: "string" },
340
- color: { required: false, control: "color", type: "string" },
341
- content: { required: false, control: "text", type: "string" },
342
- contextMenu: { required: false, control: "text", type: "string" },
355
+ color: {
356
+ required: false,
357
+ control: "color",
358
+ type: "string",
359
+ 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."
360
+ },
361
+ content: {
362
+ required: false,
363
+ control: "text",
364
+ type: "string",
365
+ description: "A value associated with http-equiv orname depending on the context."
366
+ },
367
+ contextMenu: {
368
+ required: false,
369
+ control: "text",
370
+ type: "string",
371
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
372
+ },
343
373
  datatype: { required: false, control: "text", type: "string" },
344
374
  dir: {
345
375
  description: "The language read direction.",
@@ -354,9 +384,24 @@ const propsAccordion = {
354
384
  control: "boolean",
355
385
  type: "boolean"
356
386
  },
357
- draggable: { required: false, control: "boolean", type: "boolean" },
358
- hidden: { required: false, control: "boolean", type: "boolean" },
359
- id: { required: false, control: "text", type: "string" },
387
+ draggable: {
388
+ required: false,
389
+ control: "boolean",
390
+ type: "boolean",
391
+ description: "Defines whether the element can be dragged."
392
+ },
393
+ hidden: {
394
+ required: false,
395
+ control: "boolean",
396
+ type: "boolean",
397
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
398
+ },
399
+ id: {
400
+ required: false,
401
+ control: "text",
402
+ type: "string",
403
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
404
+ },
360
405
  inputMode: {
361
406
  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",
362
407
  required: false,
@@ -384,7 +429,12 @@ const propsAccordion = {
384
429
  itemRef: { required: false, control: "text", type: "string" },
385
430
  itemScope: { required: false, control: "boolean", type: "boolean" },
386
431
  itemType: { required: false, control: "text", type: "string" },
387
- lang: { required: false, control: "text", type: "string" },
432
+ lang: {
433
+ required: false,
434
+ control: "text",
435
+ type: "string",
436
+ description: "Defines the language used in the element."
437
+ },
388
438
  nonce: { required: false, control: "text", type: "string" },
389
439
  orientation: {
390
440
  description: "The layout in which the Accordion operates.",
@@ -394,18 +444,43 @@ const propsAccordion = {
394
444
  defaultValue: "vertical",
395
445
  options: ["horizontal", "vertical"]
396
446
  },
397
- placeholder: { required: false, control: "text", type: "string" },
447
+ placeholder: {
448
+ required: false,
449
+ control: "text",
450
+ type: "string",
451
+ description: "Provides a hint to the user of what can be entered in the field."
452
+ },
398
453
  prefix: { required: false, control: "text", type: "string" },
399
454
  property: { required: false, control: "text", type: "string" },
400
455
  radioGroup: { required: false, control: "text", type: "string" },
401
- rel: { required: false, control: "text", type: "string" },
456
+ rel: {
457
+ required: false,
458
+ control: "text",
459
+ type: "string",
460
+ description: "Specifies the relationship of the target object to the link object."
461
+ },
402
462
  resource: { required: false, control: "text", type: "string" },
403
463
  results: { required: false, control: "number", type: "number" },
404
464
  rev: { required: false, control: "text", type: "string" },
405
- role: { required: false, control: "text", type: "string" },
465
+ role: {
466
+ required: false,
467
+ control: "text",
468
+ type: "string",
469
+ description: "Defines an explicit role for an element for use by assistive technologies."
470
+ },
406
471
  security: { required: false, control: "text", type: "string" },
407
- slot: { required: false, control: "text", type: "string" },
408
- spellCheck: { required: false, control: "boolean", type: "boolean" },
472
+ slot: {
473
+ required: false,
474
+ control: "text",
475
+ type: "string",
476
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
477
+ },
478
+ spellCheck: {
479
+ required: false,
480
+ control: "boolean",
481
+ type: "boolean",
482
+ description: "Indicates whether spell checking is allowed for the element."
483
+ },
409
484
  suppressContentEditableWarning: {
410
485
  required: false,
411
486
  control: "boolean",
@@ -416,13 +491,24 @@ const propsAccordion = {
416
491
  control: "boolean",
417
492
  type: "boolean"
418
493
  },
419
- tabIndex: { required: false, control: "number", type: "number" },
420
- title: { required: false, control: "text", type: "string" },
494
+ tabIndex: {
495
+ required: false,
496
+ control: "number",
497
+ type: "number",
498
+ description: "Overrides the browser's default tab order and follows the one specified instead."
499
+ },
500
+ title: {
501
+ required: false,
502
+ control: "text",
503
+ type: "string",
504
+ description: "Text to be displayed in a tooltip when hovering over the element."
505
+ },
421
506
  translate: {
422
507
  required: false,
423
508
  control: "radio",
424
509
  type: "string",
425
- options: ["yes", "no"]
510
+ options: ["yes", "no"],
511
+ 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."
426
512
  },
427
513
  typeof: { required: false, control: "text", type: "string" },
428
514
  unselectable: {
@@ -431,12 +517,22 @@ const propsAccordion = {
431
517
  type: "string",
432
518
  options: ["on", "off"]
433
519
  },
434
- value: { required: true, control: "text", type: "string" },
520
+ value: {
521
+ required: true,
522
+ control: "text",
523
+ type: "string",
524
+ description: "Defines a default value which will be displayed in the element on pageload."
525
+ },
435
526
  vocab: { required: false, control: "text", type: "string" }
436
527
  };
437
528
  const propsAccordionItem = {
438
529
  about: { required: false, control: "text", type: "string" },
439
- accessKey: { required: false, control: "text", type: "string" },
530
+ accessKey: {
531
+ required: false,
532
+ control: "text",
533
+ type: "string",
534
+ description: "Keyboard shortcut to activate or add focus to the element."
535
+ },
440
536
  "aria-activedescendant": {
441
537
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
442
538
  required: false,
@@ -592,7 +688,7 @@ const propsAccordionItem = {
592
688
  type: "string"
593
689
  },
594
690
  "aria-label": {
595
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
691
+ 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.",
596
692
  required: false,
597
693
  control: "text",
598
694
  type: "string"
@@ -768,25 +864,70 @@ const propsAccordionItem = {
768
864
  control: "text",
769
865
  type: "string"
770
866
  },
771
- autoCapitalize: { required: false, control: "text", type: "string" },
867
+ autoCapitalize: {
868
+ required: false,
869
+ control: "text",
870
+ type: "string",
871
+ description: "Sets whether input is automatically capitalized when entered by user."
872
+ },
772
873
  autoCorrect: { required: false, control: "text", type: "string" },
773
- autoFocus: { required: false, control: "boolean", type: "boolean" },
874
+ autoFocus: {
875
+ required: false,
876
+ control: "boolean",
877
+ type: "boolean",
878
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
879
+ },
774
880
  autoSave: { required: false, control: "text", type: "string" },
775
881
  className: { required: false, control: "text", type: "string" },
776
- color: { required: false, control: "color", type: "string" },
777
- content: { required: false, control: "text", type: "string" },
778
- contextMenu: { required: false, control: "text", type: "string" },
882
+ color: {
883
+ required: false,
884
+ control: "color",
885
+ type: "string",
886
+ 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."
887
+ },
888
+ content: {
889
+ required: false,
890
+ control: "text",
891
+ type: "string",
892
+ description: "A value associated with http-equiv orname depending on the context."
893
+ },
894
+ contextMenu: {
895
+ required: false,
896
+ control: "text",
897
+ type: "string",
898
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
899
+ },
779
900
  datatype: { required: false, control: "text", type: "string" },
780
- dir: { required: false, control: "text", type: "string" },
901
+ dir: {
902
+ required: false,
903
+ control: "text",
904
+ type: "string",
905
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
906
+ },
781
907
  disabled: {
782
908
  description: "Whether or not an accordion item is disabled from user interaction.\n@defaultValue false",
783
909
  required: false,
784
910
  control: "boolean",
785
911
  type: "boolean"
786
912
  },
787
- draggable: { required: false, control: "boolean", type: "boolean" },
788
- hidden: { required: false, control: "boolean", type: "boolean" },
789
- id: { required: false, control: "text", type: "string" },
913
+ draggable: {
914
+ required: false,
915
+ control: "boolean",
916
+ type: "boolean",
917
+ description: "Defines whether the element can be dragged."
918
+ },
919
+ hidden: {
920
+ required: false,
921
+ control: "boolean",
922
+ type: "boolean",
923
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
924
+ },
925
+ id: {
926
+ required: false,
927
+ control: "text",
928
+ type: "string",
929
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
930
+ },
790
931
  inputMode: {
791
932
  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",
792
933
  required: false,
@@ -814,20 +955,50 @@ const propsAccordionItem = {
814
955
  itemRef: { required: false, control: "text", type: "string" },
815
956
  itemScope: { required: false, control: "boolean", type: "boolean" },
816
957
  itemType: { required: false, control: "text", type: "string" },
817
- lang: { required: false, control: "text", type: "string" },
958
+ lang: {
959
+ required: false,
960
+ control: "text",
961
+ type: "string",
962
+ description: "Defines the language used in the element."
963
+ },
818
964
  nonce: { required: false, control: "text", type: "string" },
819
- placeholder: { required: false, control: "text", type: "string" },
965
+ placeholder: {
966
+ required: false,
967
+ control: "text",
968
+ type: "string",
969
+ description: "Provides a hint to the user of what can be entered in the field."
970
+ },
820
971
  prefix: { required: false, control: "text", type: "string" },
821
972
  property: { required: false, control: "text", type: "string" },
822
973
  radioGroup: { required: false, control: "text", type: "string" },
823
- rel: { required: false, control: "text", type: "string" },
974
+ rel: {
975
+ required: false,
976
+ control: "text",
977
+ type: "string",
978
+ description: "Specifies the relationship of the target object to the link object."
979
+ },
824
980
  resource: { required: false, control: "text", type: "string" },
825
981
  results: { required: false, control: "number", type: "number" },
826
982
  rev: { required: false, control: "text", type: "string" },
827
- role: { required: false, control: "text", type: "string" },
983
+ role: {
984
+ required: false,
985
+ control: "text",
986
+ type: "string",
987
+ description: "Defines an explicit role for an element for use by assistive technologies."
988
+ },
828
989
  security: { required: false, control: "text", type: "string" },
829
- slot: { required: false, control: "text", type: "string" },
830
- spellCheck: { required: false, control: "boolean", type: "boolean" },
990
+ slot: {
991
+ required: false,
992
+ control: "text",
993
+ type: "string",
994
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
995
+ },
996
+ spellCheck: {
997
+ required: false,
998
+ control: "boolean",
999
+ type: "boolean",
1000
+ description: "Indicates whether spell checking is allowed for the element."
1001
+ },
831
1002
  suppressContentEditableWarning: {
832
1003
  required: false,
833
1004
  control: "boolean",
@@ -838,13 +1009,24 @@ const propsAccordionItem = {
838
1009
  control: "boolean",
839
1010
  type: "boolean"
840
1011
  },
841
- tabIndex: { required: false, control: "number", type: "number" },
842
- title: { required: false, control: "text", type: "string" },
1012
+ tabIndex: {
1013
+ required: false,
1014
+ control: "number",
1015
+ type: "number",
1016
+ description: "Overrides the browser's default tab order and follows the one specified instead."
1017
+ },
1018
+ title: {
1019
+ required: false,
1020
+ control: "text",
1021
+ type: "string",
1022
+ description: "Text to be displayed in a tooltip when hovering over the element."
1023
+ },
843
1024
  translate: {
844
1025
  required: false,
845
1026
  control: "radio",
846
1027
  type: "string",
847
- options: ["yes", "no"]
1028
+ options: ["yes", "no"],
1029
+ 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."
848
1030
  },
849
1031
  typeof: { required: false, control: "text", type: "string" },
850
1032
  unselectable: {
@@ -863,7 +1045,12 @@ const propsAccordionItem = {
863
1045
  };
864
1046
  const propsAccordionHeader = {
865
1047
  about: { required: false, control: "text", type: "string" },
866
- accessKey: { required: false, control: "text", type: "string" },
1048
+ accessKey: {
1049
+ required: false,
1050
+ control: "text",
1051
+ type: "string",
1052
+ description: "Keyboard shortcut to activate or add focus to the element."
1053
+ },
867
1054
  "aria-activedescendant": {
868
1055
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
869
1056
  required: false,
@@ -1019,7 +1206,7 @@ const propsAccordionHeader = {
1019
1206
  type: "string"
1020
1207
  },
1021
1208
  "aria-label": {
1022
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
1209
+ 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.",
1023
1210
  required: false,
1024
1211
  control: "text",
1025
1212
  type: "string"
@@ -1195,19 +1382,64 @@ const propsAccordionHeader = {
1195
1382
  control: "text",
1196
1383
  type: "string"
1197
1384
  },
1198
- autoCapitalize: { required: false, control: "text", type: "string" },
1385
+ autoCapitalize: {
1386
+ required: false,
1387
+ control: "text",
1388
+ type: "string",
1389
+ description: "Sets whether input is automatically capitalized when entered by user."
1390
+ },
1199
1391
  autoCorrect: { required: false, control: "text", type: "string" },
1200
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1392
+ autoFocus: {
1393
+ required: false,
1394
+ control: "boolean",
1395
+ type: "boolean",
1396
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1397
+ },
1201
1398
  autoSave: { required: false, control: "text", type: "string" },
1202
1399
  className: { required: false, control: "text", type: "string" },
1203
- color: { required: false, control: "color", type: "string" },
1204
- content: { required: false, control: "text", type: "string" },
1205
- contextMenu: { required: false, control: "text", type: "string" },
1400
+ color: {
1401
+ required: false,
1402
+ control: "color",
1403
+ type: "string",
1404
+ 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."
1405
+ },
1406
+ content: {
1407
+ required: false,
1408
+ control: "text",
1409
+ type: "string",
1410
+ description: "A value associated with http-equiv orname depending on the context."
1411
+ },
1412
+ contextMenu: {
1413
+ required: false,
1414
+ control: "text",
1415
+ type: "string",
1416
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
1417
+ },
1206
1418
  datatype: { required: false, control: "text", type: "string" },
1207
- dir: { required: false, control: "text", type: "string" },
1208
- draggable: { required: false, control: "boolean", type: "boolean" },
1209
- hidden: { required: false, control: "boolean", type: "boolean" },
1210
- id: { required: false, control: "text", type: "string" },
1419
+ dir: {
1420
+ required: false,
1421
+ control: "text",
1422
+ type: "string",
1423
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
1424
+ },
1425
+ draggable: {
1426
+ required: false,
1427
+ control: "boolean",
1428
+ type: "boolean",
1429
+ description: "Defines whether the element can be dragged."
1430
+ },
1431
+ hidden: {
1432
+ required: false,
1433
+ control: "boolean",
1434
+ type: "boolean",
1435
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
1436
+ },
1437
+ id: {
1438
+ required: false,
1439
+ control: "text",
1440
+ type: "string",
1441
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
1442
+ },
1211
1443
  inputMode: {
1212
1444
  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",
1213
1445
  required: false,
@@ -1235,20 +1467,50 @@ const propsAccordionHeader = {
1235
1467
  itemRef: { required: false, control: "text", type: "string" },
1236
1468
  itemScope: { required: false, control: "boolean", type: "boolean" },
1237
1469
  itemType: { required: false, control: "text", type: "string" },
1238
- lang: { required: false, control: "text", type: "string" },
1470
+ lang: {
1471
+ required: false,
1472
+ control: "text",
1473
+ type: "string",
1474
+ description: "Defines the language used in the element."
1475
+ },
1239
1476
  nonce: { required: false, control: "text", type: "string" },
1240
- placeholder: { required: false, control: "text", type: "string" },
1477
+ placeholder: {
1478
+ required: false,
1479
+ control: "text",
1480
+ type: "string",
1481
+ description: "Provides a hint to the user of what can be entered in the field."
1482
+ },
1241
1483
  prefix: { required: false, control: "text", type: "string" },
1242
1484
  property: { required: false, control: "text", type: "string" },
1243
1485
  radioGroup: { required: false, control: "text", type: "string" },
1244
- rel: { required: false, control: "text", type: "string" },
1486
+ rel: {
1487
+ required: false,
1488
+ control: "text",
1489
+ type: "string",
1490
+ description: "Specifies the relationship of the target object to the link object."
1491
+ },
1245
1492
  resource: { required: false, control: "text", type: "string" },
1246
1493
  results: { required: false, control: "number", type: "number" },
1247
1494
  rev: { required: false, control: "text", type: "string" },
1248
- role: { required: false, control: "text", type: "string" },
1495
+ role: {
1496
+ required: false,
1497
+ control: "text",
1498
+ type: "string",
1499
+ description: "Defines an explicit role for an element for use by assistive technologies."
1500
+ },
1249
1501
  security: { required: false, control: "text", type: "string" },
1250
- slot: { required: false, control: "text", type: "string" },
1251
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1502
+ slot: {
1503
+ required: false,
1504
+ control: "text",
1505
+ type: "string",
1506
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
1507
+ },
1508
+ spellCheck: {
1509
+ required: false,
1510
+ control: "boolean",
1511
+ type: "boolean",
1512
+ description: "Indicates whether spell checking is allowed for the element."
1513
+ },
1252
1514
  suppressContentEditableWarning: {
1253
1515
  required: false,
1254
1516
  control: "boolean",
@@ -1259,13 +1521,24 @@ const propsAccordionHeader = {
1259
1521
  control: "boolean",
1260
1522
  type: "boolean"
1261
1523
  },
1262
- tabIndex: { required: false, control: "number", type: "number" },
1263
- title: { required: false, control: "text", type: "string" },
1524
+ tabIndex: {
1525
+ required: false,
1526
+ control: "number",
1527
+ type: "number",
1528
+ description: "Overrides the browser's default tab order and follows the one specified instead."
1529
+ },
1530
+ title: {
1531
+ required: false,
1532
+ control: "text",
1533
+ type: "string",
1534
+ description: "Text to be displayed in a tooltip when hovering over the element."
1535
+ },
1264
1536
  translate: {
1265
1537
  required: false,
1266
1538
  control: "radio",
1267
1539
  type: "string",
1268
- options: ["yes", "no"]
1540
+ options: ["yes", "no"],
1541
+ 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
1542
  },
1270
1543
  typeof: { required: false, control: "text", type: "string" },
1271
1544
  unselectable: {
@@ -1278,7 +1551,12 @@ const propsAccordionHeader = {
1278
1551
  };
1279
1552
  const propsAccordionTrigger = {
1280
1553
  about: { required: false, control: "text", type: "string" },
1281
- accessKey: { required: false, control: "text", type: "string" },
1554
+ accessKey: {
1555
+ required: false,
1556
+ control: "text",
1557
+ type: "string",
1558
+ description: "Keyboard shortcut to activate or add focus to the element."
1559
+ },
1282
1560
  "aria-activedescendant": {
1283
1561
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
1284
1562
  required: false,
@@ -1434,7 +1712,7 @@ const propsAccordionTrigger = {
1434
1712
  type: "string"
1435
1713
  },
1436
1714
  "aria-label": {
1437
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
1715
+ 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
1716
  required: false,
1439
1717
  control: "text",
1440
1718
  type: "string"
@@ -1610,26 +1888,106 @@ const propsAccordionTrigger = {
1610
1888
  control: "text",
1611
1889
  type: "string"
1612
1890
  },
1613
- autoCapitalize: { required: false, control: "text", type: "string" },
1891
+ autoCapitalize: {
1892
+ required: false,
1893
+ control: "text",
1894
+ type: "string",
1895
+ description: "Sets whether input is automatically capitalized when entered by user."
1896
+ },
1614
1897
  autoCorrect: { required: false, control: "text", type: "string" },
1615
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1898
+ autoFocus: {
1899
+ required: false,
1900
+ control: "boolean",
1901
+ type: "boolean",
1902
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1903
+ },
1616
1904
  autoSave: { required: false, control: "text", type: "string" },
1617
1905
  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" },
1906
+ color: {
1907
+ required: false,
1908
+ control: "color",
1909
+ type: "string",
1910
+ 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."
1911
+ },
1912
+ content: {
1913
+ required: false,
1914
+ control: "text",
1915
+ type: "string",
1916
+ description: "A value associated with http-equiv orname depending on the context."
1917
+ },
1918
+ contextMenu: {
1919
+ required: false,
1920
+ control: "text",
1921
+ type: "string",
1922
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
1923
+ },
1621
1924
  datatype: { required: false, control: "text", type: "string" },
1622
- dir: { required: false, control: "text", type: "string" },
1623
- disabled: { required: false, control: "boolean", type: "boolean" },
1624
- draggable: { required: false, control: "boolean", type: "boolean" },
1625
- form: { required: false, control: "text", type: "string" },
1626
- formAction: { required: false, control: "text", type: "string" },
1627
- formEncType: { required: false, control: "text", type: "string" },
1628
- formMethod: { required: false, control: "text", type: "string" },
1629
- formNoValidate: { required: false, control: "boolean", type: "boolean" },
1630
- formTarget: { required: false, control: "text", type: "string" },
1631
- hidden: { required: false, control: "boolean", type: "boolean" },
1632
- id: { required: false, control: "text", type: "string" },
1925
+ dir: {
1926
+ required: false,
1927
+ control: "text",
1928
+ type: "string",
1929
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
1930
+ },
1931
+ disabled: {
1932
+ required: false,
1933
+ control: "boolean",
1934
+ type: "boolean",
1935
+ description: "Indicates whether the user can interact with the element."
1936
+ },
1937
+ draggable: {
1938
+ required: false,
1939
+ control: "boolean",
1940
+ type: "boolean",
1941
+ description: "Defines whether the element can be dragged."
1942
+ },
1943
+ form: {
1944
+ required: false,
1945
+ control: "text",
1946
+ type: "string",
1947
+ description: "Indicates the form that is the owner of the element."
1948
+ },
1949
+ formAction: {
1950
+ required: false,
1951
+ control: "text",
1952
+ type: "string",
1953
+ description: "Indicates the action of the element, overriding the action defined inthe form."
1954
+ },
1955
+ formEncType: {
1956
+ required: false,
1957
+ control: "text",
1958
+ type: "string",
1959
+ 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.`
1960
+ },
1961
+ formMethod: {
1962
+ required: false,
1963
+ control: "text",
1964
+ type: "string",
1965
+ 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.`
1966
+ },
1967
+ formNoValidate: {
1968
+ required: false,
1969
+ control: "boolean",
1970
+ type: "boolean",
1971
+ 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.`
1972
+ },
1973
+ formTarget: {
1974
+ required: false,
1975
+ control: "text",
1976
+ type: "string",
1977
+ 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.`
1978
+ },
1979
+ hidden: {
1980
+ required: false,
1981
+ control: "boolean",
1982
+ type: "boolean",
1983
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
1984
+ },
1985
+ id: {
1986
+ required: false,
1987
+ control: "text",
1988
+ type: "string",
1989
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
1990
+ },
1633
1991
  inputMode: {
1634
1992
  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",
1635
1993
  required: false,
@@ -1657,21 +2015,56 @@ const propsAccordionTrigger = {
1657
2015
  itemRef: { required: false, control: "text", type: "string" },
1658
2016
  itemScope: { required: false, control: "boolean", type: "boolean" },
1659
2017
  itemType: { required: false, control: "text", type: "string" },
1660
- lang: { required: false, control: "text", type: "string" },
1661
- name: { required: false, control: "text", type: "string" },
2018
+ lang: {
2019
+ required: false,
2020
+ control: "text",
2021
+ type: "string",
2022
+ description: "Defines the language used in the element."
2023
+ },
2024
+ name: {
2025
+ required: false,
2026
+ control: "text",
2027
+ type: "string",
2028
+ 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)."
2029
+ },
1662
2030
  nonce: { required: false, control: "text", type: "string" },
1663
- placeholder: { required: false, control: "text", type: "string" },
2031
+ placeholder: {
2032
+ required: false,
2033
+ control: "text",
2034
+ type: "string",
2035
+ description: "Provides a hint to the user of what can be entered in the field."
2036
+ },
1664
2037
  prefix: { required: false, control: "text", type: "string" },
1665
2038
  property: { required: false, control: "text", type: "string" },
1666
2039
  radioGroup: { required: false, control: "text", type: "string" },
1667
- rel: { required: false, control: "text", type: "string" },
2040
+ rel: {
2041
+ required: false,
2042
+ control: "text",
2043
+ type: "string",
2044
+ description: "Specifies the relationship of the target object to the link object."
2045
+ },
1668
2046
  resource: { required: false, control: "text", type: "string" },
1669
2047
  results: { required: false, control: "number", type: "number" },
1670
2048
  rev: { required: false, control: "text", type: "string" },
1671
- role: { required: false, control: "text", type: "string" },
2049
+ role: {
2050
+ required: false,
2051
+ control: "text",
2052
+ type: "string",
2053
+ description: "Defines an explicit role for an element for use by assistive technologies."
2054
+ },
1672
2055
  security: { required: false, control: "text", type: "string" },
1673
- slot: { required: false, control: "text", type: "string" },
1674
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2056
+ slot: {
2057
+ required: false,
2058
+ control: "text",
2059
+ type: "string",
2060
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
2061
+ },
2062
+ spellCheck: {
2063
+ required: false,
2064
+ control: "boolean",
2065
+ type: "boolean",
2066
+ description: "Indicates whether spell checking is allowed for the element."
2067
+ },
1675
2068
  suppressContentEditableWarning: {
1676
2069
  required: false,
1677
2070
  control: "boolean",
@@ -1682,19 +2075,31 @@ const propsAccordionTrigger = {
1682
2075
  control: "boolean",
1683
2076
  type: "boolean"
1684
2077
  },
1685
- tabIndex: { required: false, control: "number", type: "number" },
1686
- title: { required: false, control: "text", type: "string" },
2078
+ tabIndex: {
2079
+ required: false,
2080
+ control: "number",
2081
+ type: "number",
2082
+ description: "Overrides the browser's default tab order and follows the one specified instead."
2083
+ },
2084
+ title: {
2085
+ required: false,
2086
+ control: "text",
2087
+ type: "string",
2088
+ description: "Text to be displayed in a tooltip when hovering over the element."
2089
+ },
1687
2090
  translate: {
1688
2091
  required: false,
1689
2092
  control: "radio",
1690
2093
  type: "string",
1691
- options: ["yes", "no"]
2094
+ options: ["yes", "no"],
2095
+ 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."
1692
2096
  },
1693
2097
  type: {
1694
2098
  required: false,
1695
2099
  control: "radio",
1696
2100
  type: "string",
1697
- options: ["button", "submit", "reset"]
2101
+ options: ["button", "submit", "reset"],
2102
+ description: "Defines the type of the element."
1698
2103
  },
1699
2104
  typeof: { required: false, control: "text", type: "string" },
1700
2105
  unselectable: {
@@ -1707,7 +2112,12 @@ const propsAccordionTrigger = {
1707
2112
  };
1708
2113
  const propsAccordionContent = {
1709
2114
  about: { required: false, control: "text", type: "string" },
1710
- accessKey: { required: false, control: "text", type: "string" },
2115
+ accessKey: {
2116
+ required: false,
2117
+ control: "text",
2118
+ type: "string",
2119
+ description: "Keyboard shortcut to activate or add focus to the element."
2120
+ },
1711
2121
  "aria-activedescendant": {
1712
2122
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
1713
2123
  required: false,
@@ -1863,7 +2273,7 @@ const propsAccordionContent = {
1863
2273
  type: "string"
1864
2274
  },
1865
2275
  "aria-label": {
1866
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
2276
+ 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.",
1867
2277
  required: false,
1868
2278
  control: "text",
1869
2279
  type: "string"
@@ -2039,19 +2449,64 @@ const propsAccordionContent = {
2039
2449
  control: "text",
2040
2450
  type: "string"
2041
2451
  },
2042
- autoCapitalize: { required: false, control: "text", type: "string" },
2452
+ autoCapitalize: {
2453
+ required: false,
2454
+ control: "text",
2455
+ type: "string",
2456
+ description: "Sets whether input is automatically capitalized when entered by user."
2457
+ },
2043
2458
  autoCorrect: { required: false, control: "text", type: "string" },
2044
- autoFocus: { required: false, control: "boolean", type: "boolean" },
2459
+ autoFocus: {
2460
+ required: false,
2461
+ control: "boolean",
2462
+ type: "boolean",
2463
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
2464
+ },
2045
2465
  autoSave: { required: false, control: "text", type: "string" },
2046
2466
  className: { required: false, control: "text", type: "string" },
2047
- color: { required: false, control: "color", type: "string" },
2048
- content: { required: false, control: "text", type: "string" },
2049
- contextMenu: { required: false, control: "text", type: "string" },
2467
+ color: {
2468
+ required: false,
2469
+ control: "color",
2470
+ type: "string",
2471
+ 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."
2472
+ },
2473
+ content: {
2474
+ required: false,
2475
+ control: "text",
2476
+ type: "string",
2477
+ description: "A value associated with http-equiv orname depending on the context."
2478
+ },
2479
+ contextMenu: {
2480
+ required: false,
2481
+ control: "text",
2482
+ type: "string",
2483
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
2484
+ },
2050
2485
  datatype: { required: false, control: "text", type: "string" },
2051
- dir: { required: false, control: "text", type: "string" },
2052
- draggable: { required: false, control: "boolean", type: "boolean" },
2053
- hidden: { required: false, control: "boolean", type: "boolean" },
2054
- id: { required: false, control: "text", type: "string" },
2486
+ dir: {
2487
+ required: false,
2488
+ control: "text",
2489
+ type: "string",
2490
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
2491
+ },
2492
+ draggable: {
2493
+ required: false,
2494
+ control: "boolean",
2495
+ type: "boolean",
2496
+ description: "Defines whether the element can be dragged."
2497
+ },
2498
+ hidden: {
2499
+ required: false,
2500
+ control: "boolean",
2501
+ type: "boolean",
2502
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
2503
+ },
2504
+ id: {
2505
+ required: false,
2506
+ control: "text",
2507
+ type: "string",
2508
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
2509
+ },
2055
2510
  inputMode: {
2056
2511
  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",
2057
2512
  required: false,
@@ -2079,20 +2534,50 @@ const propsAccordionContent = {
2079
2534
  itemRef: { required: false, control: "text", type: "string" },
2080
2535
  itemScope: { required: false, control: "boolean", type: "boolean" },
2081
2536
  itemType: { required: false, control: "text", type: "string" },
2082
- lang: { required: false, control: "text", type: "string" },
2537
+ lang: {
2538
+ required: false,
2539
+ control: "text",
2540
+ type: "string",
2541
+ description: "Defines the language used in the element."
2542
+ },
2083
2543
  nonce: { required: false, control: "text", type: "string" },
2084
- placeholder: { required: false, control: "text", type: "string" },
2544
+ placeholder: {
2545
+ required: false,
2546
+ control: "text",
2547
+ type: "string",
2548
+ description: "Provides a hint to the user of what can be entered in the field."
2549
+ },
2085
2550
  prefix: { required: false, control: "text", type: "string" },
2086
2551
  property: { required: false, control: "text", type: "string" },
2087
2552
  radioGroup: { required: false, control: "text", type: "string" },
2088
- rel: { required: false, control: "text", type: "string" },
2553
+ rel: {
2554
+ required: false,
2555
+ control: "text",
2556
+ type: "string",
2557
+ description: "Specifies the relationship of the target object to the link object."
2558
+ },
2089
2559
  resource: { required: false, control: "text", type: "string" },
2090
2560
  results: { required: false, control: "number", type: "number" },
2091
2561
  rev: { required: false, control: "text", type: "string" },
2092
- role: { required: false, control: "text", type: "string" },
2562
+ role: {
2563
+ required: false,
2564
+ control: "text",
2565
+ type: "string",
2566
+ description: "Defines an explicit role for an element for use by assistive technologies."
2567
+ },
2093
2568
  security: { required: false, control: "text", type: "string" },
2094
- slot: { required: false, control: "text", type: "string" },
2095
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2569
+ slot: {
2570
+ required: false,
2571
+ control: "text",
2572
+ type: "string",
2573
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
2574
+ },
2575
+ spellCheck: {
2576
+ required: false,
2577
+ control: "boolean",
2578
+ type: "boolean",
2579
+ description: "Indicates whether spell checking is allowed for the element."
2580
+ },
2096
2581
  suppressContentEditableWarning: {
2097
2582
  required: false,
2098
2583
  control: "boolean",
@@ -2103,13 +2588,24 @@ const propsAccordionContent = {
2103
2588
  control: "boolean",
2104
2589
  type: "boolean"
2105
2590
  },
2106
- tabIndex: { required: false, control: "number", type: "number" },
2107
- title: { required: false, control: "text", type: "string" },
2591
+ tabIndex: {
2592
+ required: false,
2593
+ control: "number",
2594
+ type: "number",
2595
+ description: "Overrides the browser's default tab order and follows the one specified instead."
2596
+ },
2597
+ title: {
2598
+ required: false,
2599
+ control: "text",
2600
+ type: "string",
2601
+ description: "Text to be displayed in a tooltip when hovering over the element."
2602
+ },
2108
2603
  translate: {
2109
2604
  required: false,
2110
2605
  control: "radio",
2111
2606
  type: "string",
2112
- options: ["yes", "no"]
2607
+ options: ["yes", "no"],
2608
+ 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."
2113
2609
  },
2114
2610
  typeof: { required: false, control: "text", type: "string" },
2115
2611
  unselectable: {