@webstudio-is/sdk-components-react-radix 0.88.0 → 0.89.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/lib/__generated__/accordion.props.js +605 -109
  2. package/lib/__generated__/button.props.js +161 -29
  3. package/lib/__generated__/checkbox.props.js +284 -51
  4. package/lib/__generated__/collapsible.props.js +234 -42
  5. package/lib/__generated__/dialog.props.js +611 -110
  6. package/lib/__generated__/input.props.js +264 -47
  7. package/lib/__generated__/label.props.js +123 -22
  8. package/lib/__generated__/navigation-menu.props.js +563 -102
  9. package/lib/__generated__/popover.props.js +129 -25
  10. package/lib/__generated__/radio-group.props.js +421 -76
  11. package/lib/__generated__/select.props.js +876 -160
  12. package/lib/__generated__/sheet.props.js +591 -110
  13. package/lib/__generated__/switch.props.js +284 -51
  14. package/lib/__generated__/tabs.props.js +506 -91
  15. package/lib/__generated__/textarea.props.js +177 -31
  16. package/lib/__generated__/tooltip.props.js +131 -27
  17. package/lib/accordion.ws.js +1 -0
  18. package/lib/checkbox.ws.js +2 -0
  19. package/lib/cjs/__generated__/accordion.props.js +605 -109
  20. package/lib/cjs/__generated__/button.props.js +161 -29
  21. package/lib/cjs/__generated__/checkbox.props.js +284 -51
  22. package/lib/cjs/__generated__/collapsible.props.js +234 -42
  23. package/lib/cjs/__generated__/dialog.props.js +611 -110
  24. package/lib/cjs/__generated__/input.props.js +264 -47
  25. package/lib/cjs/__generated__/label.props.js +123 -22
  26. package/lib/cjs/__generated__/navigation-menu.props.js +563 -102
  27. package/lib/cjs/__generated__/popover.props.js +129 -25
  28. package/lib/cjs/__generated__/radio-group.props.js +421 -76
  29. package/lib/cjs/__generated__/select.props.js +875 -159
  30. package/lib/cjs/__generated__/sheet.props.js +591 -110
  31. package/lib/cjs/__generated__/switch.props.js +284 -51
  32. package/lib/cjs/__generated__/tabs.props.js +506 -91
  33. package/lib/cjs/__generated__/textarea.props.js +177 -31
  34. package/lib/cjs/__generated__/tooltip.props.js +131 -27
  35. package/lib/cjs/accordion.ws.js +1 -0
  36. package/lib/cjs/checkbox.ws.js +2 -0
  37. package/lib/cjs/collapsible.ws.js +1 -0
  38. package/lib/cjs/dialog.ws.js +1 -0
  39. package/lib/cjs/label.ws.js +1 -0
  40. package/lib/cjs/navigation-menu.ws.js +1 -0
  41. package/lib/cjs/popover.ws.js +1 -0
  42. package/lib/cjs/props-descriptions.js +56 -0
  43. package/lib/cjs/radio-group.ws.js +3 -0
  44. package/lib/cjs/select.js +3 -1
  45. package/lib/cjs/select.ws.js +1 -0
  46. package/lib/cjs/sheet.ws.js +1 -0
  47. package/lib/cjs/switch.ws.js +2 -0
  48. package/lib/cjs/tabs.ws.js +1 -0
  49. package/lib/cjs/tooltip.ws.js +1 -0
  50. package/lib/collapsible.ws.js +1 -0
  51. package/lib/dialog.ws.js +1 -0
  52. package/lib/label.ws.js +1 -0
  53. package/lib/navigation-menu.ws.js +1 -0
  54. package/lib/popover.ws.js +1 -0
  55. package/lib/props-descriptions.js +36 -0
  56. package/lib/radio-group.ws.js +3 -0
  57. package/lib/select.js +3 -1
  58. package/lib/select.ws.js +1 -0
  59. package/lib/sheet.ws.js +1 -0
  60. package/lib/switch.ws.js +2 -0
  61. package/lib/tabs.ws.js +1 -0
  62. package/lib/tooltip.ws.js +1 -0
  63. package/lib/types/props-descriptions.d.ts +29 -0
  64. package/lib/types/select.d.ts +4 -2
  65. package/package.json +6 -6
  66. package/src/__generated__/accordion.props.ts +675 -103
  67. package/src/__generated__/button.props.ts +180 -27
  68. package/src/__generated__/checkbox.props.ts +317 -48
  69. package/src/__generated__/collapsible.props.ts +261 -40
  70. package/src/__generated__/dialog.props.ts +682 -104
  71. package/src/__generated__/input.props.ts +292 -44
  72. package/src/__generated__/label.props.ts +137 -21
  73. package/src/__generated__/navigation-menu.props.ts +629 -96
  74. package/src/__generated__/popover.props.ts +142 -21
  75. package/src/__generated__/radio-group.props.ts +470 -71
  76. package/src/__generated__/select.props.ts +979 -153
  77. package/src/__generated__/sheet.props.ts +657 -99
  78. package/src/__generated__/switch.props.ts +317 -48
  79. package/src/__generated__/tabs.props.ts +565 -86
  80. package/src/__generated__/textarea.props.ts +195 -30
  81. package/src/__generated__/tooltip.props.ts +145 -23
  82. package/src/accordion.ws.ts +2 -0
  83. package/src/checkbox.ws.ts +3 -0
  84. package/src/collapsible.ws.ts +2 -0
  85. package/src/dialog.ws.tsx +2 -0
  86. package/src/label.ws.ts +2 -0
  87. package/src/navigation-menu.ws.ts +1 -0
  88. package/src/popover.ws.tsx +1 -0
  89. package/src/props-descriptions.ts +43 -0
  90. package/src/radio-group.ws.ts +4 -0
  91. package/src/select.tsx +8 -3
  92. package/src/select.ws.ts +2 -0
  93. package/src/sheet.ws.tsx +2 -0
  94. package/src/switch.ws.ts +3 -0
  95. package/src/tabs.ws.ts +2 -0
  96. package/src/tooltip.ws.tsx +2 -0
@@ -1,6 +1,11 @@
1
1
  const propsTabs = {
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
  activationMode: {
5
10
  description: "Whether a tab is activated automatically or manually.\n@defaultValue automatic",
6
11
  required: false,
@@ -163,7 +168,7 @@ const propsTabs = {
163
168
  type: "string"
164
169
  },
165
170
  "aria-label": {
166
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
171
+ 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.",
167
172
  required: false,
168
173
  control: "text",
169
174
  type: "string"
@@ -339,14 +344,39 @@ const propsTabs = {
339
344
  control: "text",
340
345
  type: "string"
341
346
  },
342
- autoCapitalize: { required: false, control: "text", type: "string" },
347
+ autoCapitalize: {
348
+ required: false,
349
+ control: "text",
350
+ type: "string",
351
+ description: "Sets whether input is automatically capitalized when entered by user."
352
+ },
343
353
  autoCorrect: { required: false, control: "text", type: "string" },
344
- autoFocus: { required: false, control: "boolean", type: "boolean" },
354
+ autoFocus: {
355
+ required: false,
356
+ control: "boolean",
357
+ type: "boolean",
358
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
359
+ },
345
360
  autoSave: { required: false, control: "text", type: "string" },
346
361
  className: { required: false, control: "text", type: "string" },
347
- color: { required: false, control: "color", type: "string" },
348
- content: { required: false, control: "text", type: "string" },
349
- contextMenu: { required: false, control: "text", type: "string" },
362
+ color: {
363
+ required: false,
364
+ control: "color",
365
+ type: "string",
366
+ 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."
367
+ },
368
+ content: {
369
+ required: false,
370
+ control: "text",
371
+ type: "string",
372
+ description: "A value associated with http-equiv orname depending on the context."
373
+ },
374
+ contextMenu: {
375
+ required: false,
376
+ control: "text",
377
+ type: "string",
378
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
379
+ },
350
380
  datatype: { required: false, control: "text", type: "string" },
351
381
  dir: {
352
382
  description: "The direction of navigation between toolbar items.",
@@ -355,9 +385,24 @@ const propsTabs = {
355
385
  type: "string",
356
386
  options: ["ltr", "rtl"]
357
387
  },
358
- draggable: { required: false, control: "boolean", type: "boolean" },
359
- hidden: { required: false, control: "boolean", type: "boolean" },
360
- id: { required: false, control: "text", type: "string" },
388
+ draggable: {
389
+ required: false,
390
+ control: "boolean",
391
+ type: "boolean",
392
+ description: "Defines whether the element can be dragged."
393
+ },
394
+ hidden: {
395
+ required: false,
396
+ control: "boolean",
397
+ type: "boolean",
398
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
399
+ },
400
+ id: {
401
+ required: false,
402
+ control: "text",
403
+ type: "string",
404
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
405
+ },
361
406
  inputMode: {
362
407
  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",
363
408
  required: false,
@@ -385,7 +430,12 @@ const propsTabs = {
385
430
  itemRef: { required: false, control: "text", type: "string" },
386
431
  itemScope: { required: false, control: "boolean", type: "boolean" },
387
432
  itemType: { required: false, control: "text", type: "string" },
388
- lang: { required: false, control: "text", type: "string" },
433
+ lang: {
434
+ required: false,
435
+ control: "text",
436
+ type: "string",
437
+ description: "Defines the language used in the element."
438
+ },
389
439
  nonce: { required: false, control: "text", type: "string" },
390
440
  orientation: {
391
441
  description: "The orientation the tabs are layed out.\nMainly so arrow navigation is done accordingly (left & right vs. up & down)\n@defaultValue horizontal",
@@ -394,18 +444,43 @@ const propsTabs = {
394
444
  type: "string",
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 propsTabs = {
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: {
@@ -441,7 +527,12 @@ const propsTabs = {
441
527
  };
442
528
  const propsTabsList = {
443
529
  about: { required: false, control: "text", type: "string" },
444
- 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
+ },
445
536
  "aria-activedescendant": {
446
537
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
447
538
  required: false,
@@ -597,7 +688,7 @@ const propsTabsList = {
597
688
  type: "string"
598
689
  },
599
690
  "aria-label": {
600
- 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.",
601
692
  required: false,
602
693
  control: "text",
603
694
  type: "string"
@@ -773,19 +864,64 @@ const propsTabsList = {
773
864
  control: "text",
774
865
  type: "string"
775
866
  },
776
- 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
+ },
777
873
  autoCorrect: { required: false, control: "text", type: "string" },
778
- 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
+ },
779
880
  autoSave: { required: false, control: "text", type: "string" },
780
881
  className: { required: false, control: "text", type: "string" },
781
- color: { required: false, control: "color", type: "string" },
782
- content: { required: false, control: "text", type: "string" },
783
- 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
+ },
784
900
  datatype: { required: false, control: "text", type: "string" },
785
- dir: { required: false, control: "text", type: "string" },
786
- draggable: { required: false, control: "boolean", type: "boolean" },
787
- hidden: { required: false, control: "boolean", type: "boolean" },
788
- id: { 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
+ },
907
+ draggable: {
908
+ required: false,
909
+ control: "boolean",
910
+ type: "boolean",
911
+ description: "Defines whether the element can be dragged."
912
+ },
913
+ hidden: {
914
+ required: false,
915
+ control: "boolean",
916
+ type: "boolean",
917
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
918
+ },
919
+ id: {
920
+ required: false,
921
+ control: "text",
922
+ type: "string",
923
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
924
+ },
789
925
  inputMode: {
790
926
  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",
791
927
  required: false,
@@ -813,21 +949,56 @@ const propsTabsList = {
813
949
  itemRef: { required: false, control: "text", type: "string" },
814
950
  itemScope: { required: false, control: "boolean", type: "boolean" },
815
951
  itemType: { required: false, control: "text", type: "string" },
816
- lang: { required: false, control: "text", type: "string" },
817
- loop: { required: false, control: "boolean", type: "boolean" },
952
+ lang: {
953
+ required: false,
954
+ control: "text",
955
+ type: "string",
956
+ description: "Defines the language used in the element."
957
+ },
958
+ loop: {
959
+ required: false,
960
+ control: "boolean",
961
+ type: "boolean",
962
+ description: "Indicates whether the media should start playing from the start when it's finished."
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 propsTabsList = {
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: {
@@ -857,7 +1039,12 @@ const propsTabsList = {
857
1039
  };
858
1040
  const propsTabsTrigger = {
859
1041
  about: { required: false, control: "text", type: "string" },
860
- accessKey: { required: false, control: "text", type: "string" },
1042
+ accessKey: {
1043
+ required: false,
1044
+ control: "text",
1045
+ type: "string",
1046
+ description: "Keyboard shortcut to activate or add focus to the element."
1047
+ },
861
1048
  "aria-activedescendant": {
862
1049
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
863
1050
  required: false,
@@ -1013,7 +1200,7 @@ const propsTabsTrigger = {
1013
1200
  type: "string"
1014
1201
  },
1015
1202
  "aria-label": {
1016
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
1203
+ 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.",
1017
1204
  required: false,
1018
1205
  control: "text",
1019
1206
  type: "string"
@@ -1189,26 +1376,106 @@ const propsTabsTrigger = {
1189
1376
  control: "text",
1190
1377
  type: "string"
1191
1378
  },
1192
- autoCapitalize: { required: false, control: "text", type: "string" },
1379
+ autoCapitalize: {
1380
+ required: false,
1381
+ control: "text",
1382
+ type: "string",
1383
+ description: "Sets whether input is automatically capitalized when entered by user."
1384
+ },
1193
1385
  autoCorrect: { required: false, control: "text", type: "string" },
1194
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1386
+ autoFocus: {
1387
+ required: false,
1388
+ control: "boolean",
1389
+ type: "boolean",
1390
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1391
+ },
1195
1392
  autoSave: { required: false, control: "text", type: "string" },
1196
1393
  className: { required: false, control: "text", type: "string" },
1197
- color: { required: false, control: "color", type: "string" },
1198
- content: { required: false, control: "text", type: "string" },
1199
- contextMenu: { required: false, control: "text", type: "string" },
1394
+ color: {
1395
+ required: false,
1396
+ control: "color",
1397
+ type: "string",
1398
+ 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."
1399
+ },
1400
+ content: {
1401
+ required: false,
1402
+ control: "text",
1403
+ type: "string",
1404
+ description: "A value associated with http-equiv orname depending on the context."
1405
+ },
1406
+ contextMenu: {
1407
+ required: false,
1408
+ control: "text",
1409
+ type: "string",
1410
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
1411
+ },
1200
1412
  datatype: { required: false, control: "text", type: "string" },
1201
- dir: { required: false, control: "text", type: "string" },
1202
- disabled: { required: false, control: "boolean", type: "boolean" },
1203
- draggable: { required: false, control: "boolean", type: "boolean" },
1204
- form: { required: false, control: "text", type: "string" },
1205
- formAction: { required: false, control: "text", type: "string" },
1206
- formEncType: { required: false, control: "text", type: "string" },
1207
- formMethod: { required: false, control: "text", type: "string" },
1208
- formNoValidate: { required: false, control: "boolean", type: "boolean" },
1209
- formTarget: { required: false, control: "text", type: "string" },
1210
- hidden: { required: false, control: "boolean", type: "boolean" },
1211
- id: { required: false, control: "text", type: "string" },
1413
+ dir: {
1414
+ required: false,
1415
+ control: "text",
1416
+ type: "string",
1417
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
1418
+ },
1419
+ disabled: {
1420
+ required: false,
1421
+ control: "boolean",
1422
+ type: "boolean",
1423
+ description: "Indicates whether the user can interact with the element."
1424
+ },
1425
+ draggable: {
1426
+ required: false,
1427
+ control: "boolean",
1428
+ type: "boolean",
1429
+ description: "Defines whether the element can be dragged."
1430
+ },
1431
+ form: {
1432
+ required: false,
1433
+ control: "text",
1434
+ type: "string",
1435
+ description: "Indicates the form that is the owner of the element."
1436
+ },
1437
+ formAction: {
1438
+ required: false,
1439
+ control: "text",
1440
+ type: "string",
1441
+ description: "Indicates the action of the element, overriding the action defined inthe form."
1442
+ },
1443
+ formEncType: {
1444
+ required: false,
1445
+ control: "text",
1446
+ type: "string",
1447
+ 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.`
1448
+ },
1449
+ formMethod: {
1450
+ required: false,
1451
+ control: "text",
1452
+ type: "string",
1453
+ 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.`
1454
+ },
1455
+ formNoValidate: {
1456
+ required: false,
1457
+ control: "boolean",
1458
+ type: "boolean",
1459
+ 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.`
1460
+ },
1461
+ formTarget: {
1462
+ required: false,
1463
+ control: "text",
1464
+ type: "string",
1465
+ 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.`
1466
+ },
1467
+ hidden: {
1468
+ required: false,
1469
+ control: "boolean",
1470
+ type: "boolean",
1471
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
1472
+ },
1473
+ id: {
1474
+ required: false,
1475
+ control: "text",
1476
+ type: "string",
1477
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
1478
+ },
1212
1479
  inputMode: {
1213
1480
  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",
1214
1481
  required: false,
@@ -1236,21 +1503,56 @@ const propsTabsTrigger = {
1236
1503
  itemRef: { required: false, control: "text", type: "string" },
1237
1504
  itemScope: { required: false, control: "boolean", type: "boolean" },
1238
1505
  itemType: { required: false, control: "text", type: "string" },
1239
- lang: { required: false, control: "text", type: "string" },
1240
- name: { required: false, control: "text", type: "string" },
1506
+ lang: {
1507
+ required: false,
1508
+ control: "text",
1509
+ type: "string",
1510
+ description: "Defines the language used in the element."
1511
+ },
1512
+ name: {
1513
+ required: false,
1514
+ control: "text",
1515
+ type: "string",
1516
+ 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)."
1517
+ },
1241
1518
  nonce: { required: false, control: "text", type: "string" },
1242
- placeholder: { required: false, control: "text", type: "string" },
1519
+ placeholder: {
1520
+ required: false,
1521
+ control: "text",
1522
+ type: "string",
1523
+ description: "Provides a hint to the user of what can be entered in the field."
1524
+ },
1243
1525
  prefix: { required: false, control: "text", type: "string" },
1244
1526
  property: { required: false, control: "text", type: "string" },
1245
1527
  radioGroup: { required: false, control: "text", type: "string" },
1246
- rel: { required: false, control: "text", type: "string" },
1528
+ rel: {
1529
+ required: false,
1530
+ control: "text",
1531
+ type: "string",
1532
+ description: "Specifies the relationship of the target object to the link object."
1533
+ },
1247
1534
  resource: { required: false, control: "text", type: "string" },
1248
1535
  results: { required: false, control: "number", type: "number" },
1249
1536
  rev: { required: false, control: "text", type: "string" },
1250
- role: { required: false, control: "text", type: "string" },
1537
+ role: {
1538
+ required: false,
1539
+ control: "text",
1540
+ type: "string",
1541
+ description: "Defines an explicit role for an element for use by assistive technologies."
1542
+ },
1251
1543
  security: { required: false, control: "text", type: "string" },
1252
- slot: { required: false, control: "text", type: "string" },
1253
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1544
+ slot: {
1545
+ required: false,
1546
+ control: "text",
1547
+ type: "string",
1548
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
1549
+ },
1550
+ spellCheck: {
1551
+ required: false,
1552
+ control: "boolean",
1553
+ type: "boolean",
1554
+ description: "Indicates whether spell checking is allowed for the element."
1555
+ },
1254
1556
  suppressContentEditableWarning: {
1255
1557
  required: false,
1256
1558
  control: "boolean",
@@ -1261,19 +1563,31 @@ const propsTabsTrigger = {
1261
1563
  control: "boolean",
1262
1564
  type: "boolean"
1263
1565
  },
1264
- tabIndex: { required: false, control: "number", type: "number" },
1265
- title: { required: false, control: "text", type: "string" },
1566
+ tabIndex: {
1567
+ required: false,
1568
+ control: "number",
1569
+ type: "number",
1570
+ description: "Overrides the browser's default tab order and follows the one specified instead."
1571
+ },
1572
+ title: {
1573
+ required: false,
1574
+ control: "text",
1575
+ type: "string",
1576
+ description: "Text to be displayed in a tooltip when hovering over the element."
1577
+ },
1266
1578
  translate: {
1267
1579
  required: false,
1268
1580
  control: "radio",
1269
1581
  type: "string",
1270
- options: ["yes", "no"]
1582
+ options: ["yes", "no"],
1583
+ 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."
1271
1584
  },
1272
1585
  type: {
1273
1586
  required: false,
1274
1587
  control: "radio",
1275
1588
  type: "string",
1276
- options: ["button", "submit", "reset"]
1589
+ options: ["button", "submit", "reset"],
1590
+ description: "Defines the type of the element."
1277
1591
  },
1278
1592
  typeof: { required: false, control: "text", type: "string" },
1279
1593
  unselectable: {
@@ -1282,12 +1596,22 @@ const propsTabsTrigger = {
1282
1596
  type: "string",
1283
1597
  options: ["on", "off"]
1284
1598
  },
1285
- value: { required: true, control: "text", type: "string" },
1599
+ value: {
1600
+ required: true,
1601
+ control: "text",
1602
+ type: "string",
1603
+ description: "Defines a default value which will be displayed in the element on pageload."
1604
+ },
1286
1605
  vocab: { required: false, control: "text", type: "string" }
1287
1606
  };
1288
1607
  const propsTabsContent = {
1289
1608
  about: { required: false, control: "text", type: "string" },
1290
- accessKey: { required: false, control: "text", type: "string" },
1609
+ accessKey: {
1610
+ required: false,
1611
+ control: "text",
1612
+ type: "string",
1613
+ description: "Keyboard shortcut to activate or add focus to the element."
1614
+ },
1291
1615
  "aria-activedescendant": {
1292
1616
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
1293
1617
  required: false,
@@ -1443,7 +1767,7 @@ const propsTabsContent = {
1443
1767
  type: "string"
1444
1768
  },
1445
1769
  "aria-label": {
1446
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
1770
+ 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.",
1447
1771
  required: false,
1448
1772
  control: "text",
1449
1773
  type: "string"
@@ -1619,19 +1943,64 @@ const propsTabsContent = {
1619
1943
  control: "text",
1620
1944
  type: "string"
1621
1945
  },
1622
- autoCapitalize: { required: false, control: "text", type: "string" },
1946
+ autoCapitalize: {
1947
+ required: false,
1948
+ control: "text",
1949
+ type: "string",
1950
+ description: "Sets whether input is automatically capitalized when entered by user."
1951
+ },
1623
1952
  autoCorrect: { required: false, control: "text", type: "string" },
1624
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1953
+ autoFocus: {
1954
+ required: false,
1955
+ control: "boolean",
1956
+ type: "boolean",
1957
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1958
+ },
1625
1959
  autoSave: { required: false, control: "text", type: "string" },
1626
1960
  className: { required: false, control: "text", type: "string" },
1627
- color: { required: false, control: "color", type: "string" },
1628
- content: { required: false, control: "text", type: "string" },
1629
- contextMenu: { required: false, control: "text", type: "string" },
1961
+ color: {
1962
+ required: false,
1963
+ control: "color",
1964
+ type: "string",
1965
+ 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."
1966
+ },
1967
+ content: {
1968
+ required: false,
1969
+ control: "text",
1970
+ type: "string",
1971
+ description: "A value associated with http-equiv orname depending on the context."
1972
+ },
1973
+ contextMenu: {
1974
+ required: false,
1975
+ control: "text",
1976
+ type: "string",
1977
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
1978
+ },
1630
1979
  datatype: { required: false, control: "text", type: "string" },
1631
- dir: { required: false, control: "text", type: "string" },
1632
- draggable: { required: false, control: "boolean", type: "boolean" },
1633
- hidden: { required: false, control: "boolean", type: "boolean" },
1634
- id: { required: false, control: "text", type: "string" },
1980
+ dir: {
1981
+ required: false,
1982
+ control: "text",
1983
+ type: "string",
1984
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
1985
+ },
1986
+ draggable: {
1987
+ required: false,
1988
+ control: "boolean",
1989
+ type: "boolean",
1990
+ description: "Defines whether the element can be dragged."
1991
+ },
1992
+ hidden: {
1993
+ required: false,
1994
+ control: "boolean",
1995
+ type: "boolean",
1996
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
1997
+ },
1998
+ id: {
1999
+ required: false,
2000
+ control: "text",
2001
+ type: "string",
2002
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
2003
+ },
1635
2004
  inputMode: {
1636
2005
  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",
1637
2006
  required: false,
@@ -1659,20 +2028,50 @@ const propsTabsContent = {
1659
2028
  itemRef: { required: false, control: "text", type: "string" },
1660
2029
  itemScope: { required: false, control: "boolean", type: "boolean" },
1661
2030
  itemType: { required: false, control: "text", type: "string" },
1662
- lang: { required: false, control: "text", type: "string" },
2031
+ lang: {
2032
+ required: false,
2033
+ control: "text",
2034
+ type: "string",
2035
+ description: "Defines the language used in the element."
2036
+ },
1663
2037
  nonce: { required: false, control: "text", type: "string" },
1664
- placeholder: { required: false, control: "text", type: "string" },
2038
+ placeholder: {
2039
+ required: false,
2040
+ control: "text",
2041
+ type: "string",
2042
+ description: "Provides a hint to the user of what can be entered in the field."
2043
+ },
1665
2044
  prefix: { required: false, control: "text", type: "string" },
1666
2045
  property: { required: false, control: "text", type: "string" },
1667
2046
  radioGroup: { required: false, control: "text", type: "string" },
1668
- rel: { required: false, control: "text", type: "string" },
2047
+ rel: {
2048
+ required: false,
2049
+ control: "text",
2050
+ type: "string",
2051
+ description: "Specifies the relationship of the target object to the link object."
2052
+ },
1669
2053
  resource: { required: false, control: "text", type: "string" },
1670
2054
  results: { required: false, control: "number", type: "number" },
1671
2055
  rev: { required: false, control: "text", type: "string" },
1672
- role: { required: false, control: "text", type: "string" },
2056
+ role: {
2057
+ required: false,
2058
+ control: "text",
2059
+ type: "string",
2060
+ description: "Defines an explicit role for an element for use by assistive technologies."
2061
+ },
1673
2062
  security: { required: false, control: "text", type: "string" },
1674
- slot: { required: false, control: "text", type: "string" },
1675
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2063
+ slot: {
2064
+ required: false,
2065
+ control: "text",
2066
+ type: "string",
2067
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
2068
+ },
2069
+ spellCheck: {
2070
+ required: false,
2071
+ control: "boolean",
2072
+ type: "boolean",
2073
+ description: "Indicates whether spell checking is allowed for the element."
2074
+ },
1676
2075
  suppressContentEditableWarning: {
1677
2076
  required: false,
1678
2077
  control: "boolean",
@@ -1683,13 +2082,24 @@ const propsTabsContent = {
1683
2082
  control: "boolean",
1684
2083
  type: "boolean"
1685
2084
  },
1686
- tabIndex: { required: false, control: "number", type: "number" },
1687
- title: { required: false, control: "text", type: "string" },
2085
+ tabIndex: {
2086
+ required: false,
2087
+ control: "number",
2088
+ type: "number",
2089
+ description: "Overrides the browser's default tab order and follows the one specified instead."
2090
+ },
2091
+ title: {
2092
+ required: false,
2093
+ control: "text",
2094
+ type: "string",
2095
+ description: "Text to be displayed in a tooltip when hovering over the element."
2096
+ },
1688
2097
  translate: {
1689
2098
  required: false,
1690
2099
  control: "radio",
1691
2100
  type: "string",
1692
- options: ["yes", "no"]
2101
+ options: ["yes", "no"],
2102
+ 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."
1693
2103
  },
1694
2104
  typeof: { required: false, control: "text", type: "string" },
1695
2105
  unselectable: {
@@ -1698,7 +2108,12 @@ const propsTabsContent = {
1698
2108
  type: "string",
1699
2109
  options: ["on", "off"]
1700
2110
  },
1701
- value: { required: true, control: "text", type: "string" },
2111
+ value: {
2112
+ required: true,
2113
+ control: "text",
2114
+ type: "string",
2115
+ description: "Defines a default value which will be displayed in the element on pageload."
2116
+ },
1702
2117
  vocab: { required: false, control: "text", type: "string" }
1703
2118
  };
1704
2119
  export {