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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/lib/__generated__/accordion.props.js +605 -109
  2. package/lib/__generated__/button.props.js +161 -29
  3. package/lib/__generated__/checkbox.props.js +284 -51
  4. package/lib/__generated__/collapsible.props.js +234 -42
  5. package/lib/__generated__/dialog.props.js +611 -110
  6. package/lib/__generated__/input.props.js +264 -47
  7. package/lib/__generated__/label.props.js +123 -22
  8. package/lib/__generated__/navigation-menu.props.js +563 -102
  9. package/lib/__generated__/popover.props.js +129 -25
  10. package/lib/__generated__/radio-group.props.js +421 -76
  11. package/lib/__generated__/select.props.js +876 -160
  12. package/lib/__generated__/sheet.props.js +591 -110
  13. package/lib/__generated__/switch.props.js +284 -51
  14. package/lib/__generated__/tabs.props.js +506 -91
  15. package/lib/__generated__/textarea.props.js +177 -31
  16. package/lib/__generated__/tooltip.props.js +131 -27
  17. package/lib/accordion.ws.js +1 -0
  18. package/lib/checkbox.ws.js +2 -0
  19. package/lib/cjs/__generated__/accordion.props.js +605 -109
  20. package/lib/cjs/__generated__/button.props.js +161 -29
  21. package/lib/cjs/__generated__/checkbox.props.js +284 -51
  22. package/lib/cjs/__generated__/collapsible.props.js +234 -42
  23. package/lib/cjs/__generated__/dialog.props.js +611 -110
  24. package/lib/cjs/__generated__/input.props.js +264 -47
  25. package/lib/cjs/__generated__/label.props.js +123 -22
  26. package/lib/cjs/__generated__/navigation-menu.props.js +563 -102
  27. package/lib/cjs/__generated__/popover.props.js +129 -25
  28. package/lib/cjs/__generated__/radio-group.props.js +421 -76
  29. package/lib/cjs/__generated__/select.props.js +875 -159
  30. package/lib/cjs/__generated__/sheet.props.js +591 -110
  31. package/lib/cjs/__generated__/switch.props.js +284 -51
  32. package/lib/cjs/__generated__/tabs.props.js +506 -91
  33. package/lib/cjs/__generated__/textarea.props.js +177 -31
  34. package/lib/cjs/__generated__/tooltip.props.js +131 -27
  35. package/lib/cjs/accordion.ws.js +1 -0
  36. package/lib/cjs/checkbox.ws.js +2 -0
  37. package/lib/cjs/collapsible.ws.js +1 -0
  38. package/lib/cjs/dialog.ws.js +1 -0
  39. package/lib/cjs/label.ws.js +1 -0
  40. package/lib/cjs/navigation-menu.ws.js +1 -0
  41. package/lib/cjs/popover.ws.js +1 -0
  42. package/lib/cjs/props-descriptions.js +56 -0
  43. package/lib/cjs/radio-group.ws.js +3 -0
  44. package/lib/cjs/select.js +3 -1
  45. package/lib/cjs/select.ws.js +1 -0
  46. package/lib/cjs/sheet.ws.js +1 -0
  47. package/lib/cjs/switch.ws.js +2 -0
  48. package/lib/cjs/tabs.ws.js +1 -0
  49. package/lib/cjs/tooltip.ws.js +1 -0
  50. package/lib/collapsible.ws.js +1 -0
  51. package/lib/dialog.ws.js +1 -0
  52. package/lib/label.ws.js +1 -0
  53. package/lib/navigation-menu.ws.js +1 -0
  54. package/lib/popover.ws.js +1 -0
  55. package/lib/props-descriptions.js +36 -0
  56. package/lib/radio-group.ws.js +3 -0
  57. package/lib/select.js +3 -1
  58. package/lib/select.ws.js +1 -0
  59. package/lib/sheet.ws.js +1 -0
  60. package/lib/switch.ws.js +2 -0
  61. package/lib/tabs.ws.js +1 -0
  62. package/lib/tooltip.ws.js +1 -0
  63. package/lib/types/props-descriptions.d.ts +29 -0
  64. package/lib/types/select.d.ts +4 -2
  65. package/package.json +6 -6
  66. package/src/__generated__/accordion.props.ts +675 -103
  67. package/src/__generated__/button.props.ts +180 -27
  68. package/src/__generated__/checkbox.props.ts +317 -48
  69. package/src/__generated__/collapsible.props.ts +261 -40
  70. package/src/__generated__/dialog.props.ts +682 -104
  71. package/src/__generated__/input.props.ts +292 -44
  72. package/src/__generated__/label.props.ts +137 -21
  73. package/src/__generated__/navigation-menu.props.ts +629 -96
  74. package/src/__generated__/popover.props.ts +142 -21
  75. package/src/__generated__/radio-group.props.ts +470 -71
  76. package/src/__generated__/select.props.ts +979 -153
  77. package/src/__generated__/sheet.props.ts +657 -99
  78. package/src/__generated__/switch.props.ts +317 -48
  79. package/src/__generated__/tabs.props.ts +565 -86
  80. package/src/__generated__/textarea.props.ts +195 -30
  81. package/src/__generated__/tooltip.props.ts +145 -23
  82. package/src/accordion.ws.ts +2 -0
  83. package/src/checkbox.ws.ts +3 -0
  84. package/src/collapsible.ws.ts +2 -0
  85. package/src/dialog.ws.tsx +2 -0
  86. package/src/label.ws.ts +2 -0
  87. package/src/navigation-menu.ws.ts +1 -0
  88. package/src/popover.ws.tsx +1 -0
  89. package/src/props-descriptions.ts +43 -0
  90. package/src/radio-group.ws.ts +4 -0
  91. package/src/select.tsx +8 -3
  92. package/src/select.ws.ts +2 -0
  93. package/src/sheet.ws.tsx +2 -0
  94. package/src/switch.ws.ts +3 -0
  95. package/src/tabs.ws.ts +2 -0
  96. package/src/tooltip.ws.tsx +2 -0
@@ -1,10 +1,20 @@
1
1
  const propsDialog = {
2
- open: { required: false, control: "boolean", type: "boolean" }
2
+ open: {
3
+ required: false,
4
+ control: "boolean",
5
+ type: "boolean",
6
+ description: "Show or hide the content of this component on the canvas. This will not affect the initial state of the component."
7
+ }
3
8
  };
4
9
  const propsDialogTrigger = {};
5
10
  const propsDialogOverlay = {
6
11
  about: { required: false, control: "text", type: "string" },
7
- accessKey: { required: false, control: "text", type: "string" },
12
+ accessKey: {
13
+ required: false,
14
+ control: "text",
15
+ type: "string",
16
+ description: "Keyboard shortcut to activate or add focus to the element."
17
+ },
8
18
  "aria-activedescendant": {
9
19
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
10
20
  required: false,
@@ -160,7 +170,7 @@ const propsDialogOverlay = {
160
170
  type: "string"
161
171
  },
162
172
  "aria-label": {
163
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
173
+ description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
164
174
  required: false,
165
175
  control: "text",
166
176
  type: "string"
@@ -336,19 +346,64 @@ const propsDialogOverlay = {
336
346
  control: "text",
337
347
  type: "string"
338
348
  },
339
- autoCapitalize: { required: false, control: "text", type: "string" },
349
+ autoCapitalize: {
350
+ required: false,
351
+ control: "text",
352
+ type: "string",
353
+ description: "Sets whether input is automatically capitalized when entered by user."
354
+ },
340
355
  autoCorrect: { required: false, control: "text", type: "string" },
341
- autoFocus: { required: false, control: "boolean", type: "boolean" },
356
+ autoFocus: {
357
+ required: false,
358
+ control: "boolean",
359
+ type: "boolean",
360
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
361
+ },
342
362
  autoSave: { required: false, control: "text", type: "string" },
343
363
  className: { required: false, control: "text", type: "string" },
344
- color: { required: false, control: "color", type: "string" },
345
- content: { required: false, control: "text", type: "string" },
346
- contextMenu: { required: false, control: "text", type: "string" },
364
+ color: {
365
+ required: false,
366
+ control: "color",
367
+ type: "string",
368
+ description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
369
+ },
370
+ content: {
371
+ required: false,
372
+ control: "text",
373
+ type: "string",
374
+ description: "A value associated with http-equiv orname depending on the context."
375
+ },
376
+ contextMenu: {
377
+ required: false,
378
+ control: "text",
379
+ type: "string",
380
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
381
+ },
347
382
  datatype: { required: false, control: "text", type: "string" },
348
- dir: { required: false, control: "text", type: "string" },
349
- draggable: { required: false, control: "boolean", type: "boolean" },
350
- hidden: { required: false, control: "boolean", type: "boolean" },
351
- id: { required: false, control: "text", type: "string" },
383
+ dir: {
384
+ required: false,
385
+ control: "text",
386
+ type: "string",
387
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
388
+ },
389
+ draggable: {
390
+ required: false,
391
+ control: "boolean",
392
+ type: "boolean",
393
+ description: "Defines whether the element can be dragged."
394
+ },
395
+ hidden: {
396
+ required: false,
397
+ control: "boolean",
398
+ type: "boolean",
399
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
400
+ },
401
+ id: {
402
+ required: false,
403
+ control: "text",
404
+ type: "string",
405
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
406
+ },
352
407
  inputMode: {
353
408
  description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
354
409
  required: false,
@@ -376,20 +431,50 @@ const propsDialogOverlay = {
376
431
  itemRef: { required: false, control: "text", type: "string" },
377
432
  itemScope: { required: false, control: "boolean", type: "boolean" },
378
433
  itemType: { required: false, control: "text", type: "string" },
379
- lang: { required: false, control: "text", type: "string" },
434
+ lang: {
435
+ required: false,
436
+ control: "text",
437
+ type: "string",
438
+ description: "Defines the language used in the element."
439
+ },
380
440
  nonce: { required: false, control: "text", type: "string" },
381
- placeholder: { required: false, control: "text", type: "string" },
441
+ placeholder: {
442
+ required: false,
443
+ control: "text",
444
+ type: "string",
445
+ description: "Provides a hint to the user of what can be entered in the field."
446
+ },
382
447
  prefix: { required: false, control: "text", type: "string" },
383
448
  property: { required: false, control: "text", type: "string" },
384
449
  radioGroup: { required: false, control: "text", type: "string" },
385
- rel: { required: false, control: "text", type: "string" },
450
+ rel: {
451
+ required: false,
452
+ control: "text",
453
+ type: "string",
454
+ description: "Specifies the relationship of the target object to the link object."
455
+ },
386
456
  resource: { required: false, control: "text", type: "string" },
387
457
  results: { required: false, control: "number", type: "number" },
388
458
  rev: { required: false, control: "text", type: "string" },
389
- role: { required: false, control: "text", type: "string" },
459
+ role: {
460
+ required: false,
461
+ control: "text",
462
+ type: "string",
463
+ description: "Defines an explicit role for an element for use by assistive technologies."
464
+ },
390
465
  security: { required: false, control: "text", type: "string" },
391
- slot: { required: false, control: "text", type: "string" },
392
- spellCheck: { required: false, control: "boolean", type: "boolean" },
466
+ slot: {
467
+ required: false,
468
+ control: "text",
469
+ type: "string",
470
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
471
+ },
472
+ spellCheck: {
473
+ required: false,
474
+ control: "boolean",
475
+ type: "boolean",
476
+ description: "Indicates whether spell checking is allowed for the element."
477
+ },
393
478
  suppressContentEditableWarning: {
394
479
  required: false,
395
480
  control: "boolean",
@@ -400,13 +485,24 @@ const propsDialogOverlay = {
400
485
  control: "boolean",
401
486
  type: "boolean"
402
487
  },
403
- tabIndex: { required: false, control: "number", type: "number" },
404
- title: { required: false, control: "text", type: "string" },
488
+ tabIndex: {
489
+ required: false,
490
+ control: "number",
491
+ type: "number",
492
+ description: "Overrides the browser's default tab order and follows the one specified instead."
493
+ },
494
+ title: {
495
+ required: false,
496
+ control: "text",
497
+ type: "string",
498
+ description: "Text to be displayed in a tooltip when hovering over the element."
499
+ },
405
500
  translate: {
406
501
  required: false,
407
502
  control: "radio",
408
503
  type: "string",
409
- options: ["yes", "no"]
504
+ options: ["yes", "no"],
505
+ 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."
410
506
  },
411
507
  typeof: { required: false, control: "text", type: "string" },
412
508
  unselectable: {
@@ -419,7 +515,12 @@ const propsDialogOverlay = {
419
515
  };
420
516
  const propsDialogContent = {
421
517
  about: { required: false, control: "text", type: "string" },
422
- accessKey: { required: false, control: "text", type: "string" },
518
+ accessKey: {
519
+ required: false,
520
+ control: "text",
521
+ type: "string",
522
+ description: "Keyboard shortcut to activate or add focus to the element."
523
+ },
423
524
  "aria-activedescendant": {
424
525
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
425
526
  required: false,
@@ -575,7 +676,7 @@ const propsDialogContent = {
575
676
  type: "string"
576
677
  },
577
678
  "aria-label": {
578
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
679
+ 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.",
579
680
  required: false,
580
681
  control: "text",
581
682
  type: "string"
@@ -751,19 +852,64 @@ const propsDialogContent = {
751
852
  control: "text",
752
853
  type: "string"
753
854
  },
754
- autoCapitalize: { required: false, control: "text", type: "string" },
855
+ autoCapitalize: {
856
+ required: false,
857
+ control: "text",
858
+ type: "string",
859
+ description: "Sets whether input is automatically capitalized when entered by user."
860
+ },
755
861
  autoCorrect: { required: false, control: "text", type: "string" },
756
- autoFocus: { required: false, control: "boolean", type: "boolean" },
862
+ autoFocus: {
863
+ required: false,
864
+ control: "boolean",
865
+ type: "boolean",
866
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
867
+ },
757
868
  autoSave: { required: false, control: "text", type: "string" },
758
869
  className: { required: false, control: "text", type: "string" },
759
- color: { required: false, control: "color", type: "string" },
760
- content: { required: false, control: "text", type: "string" },
761
- contextMenu: { required: false, control: "text", type: "string" },
870
+ color: {
871
+ required: false,
872
+ control: "color",
873
+ type: "string",
874
+ 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."
875
+ },
876
+ content: {
877
+ required: false,
878
+ control: "text",
879
+ type: "string",
880
+ description: "A value associated with http-equiv orname depending on the context."
881
+ },
882
+ contextMenu: {
883
+ required: false,
884
+ control: "text",
885
+ type: "string",
886
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
887
+ },
762
888
  datatype: { required: false, control: "text", type: "string" },
763
- dir: { required: false, control: "text", type: "string" },
764
- draggable: { required: false, control: "boolean", type: "boolean" },
765
- hidden: { required: false, control: "boolean", type: "boolean" },
766
- id: { required: false, control: "text", type: "string" },
889
+ dir: {
890
+ required: false,
891
+ control: "text",
892
+ type: "string",
893
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
894
+ },
895
+ draggable: {
896
+ required: false,
897
+ control: "boolean",
898
+ type: "boolean",
899
+ description: "Defines whether the element can be dragged."
900
+ },
901
+ hidden: {
902
+ required: false,
903
+ control: "boolean",
904
+ type: "boolean",
905
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
906
+ },
907
+ id: {
908
+ required: false,
909
+ control: "text",
910
+ type: "string",
911
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
912
+ },
767
913
  inputMode: {
768
914
  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",
769
915
  required: false,
@@ -791,20 +937,50 @@ const propsDialogContent = {
791
937
  itemRef: { required: false, control: "text", type: "string" },
792
938
  itemScope: { required: false, control: "boolean", type: "boolean" },
793
939
  itemType: { required: false, control: "text", type: "string" },
794
- lang: { required: false, control: "text", type: "string" },
940
+ lang: {
941
+ required: false,
942
+ control: "text",
943
+ type: "string",
944
+ description: "Defines the language used in the element."
945
+ },
795
946
  nonce: { required: false, control: "text", type: "string" },
796
- placeholder: { required: false, control: "text", type: "string" },
947
+ placeholder: {
948
+ required: false,
949
+ control: "text",
950
+ type: "string",
951
+ description: "Provides a hint to the user of what can be entered in the field."
952
+ },
797
953
  prefix: { required: false, control: "text", type: "string" },
798
954
  property: { required: false, control: "text", type: "string" },
799
955
  radioGroup: { required: false, control: "text", type: "string" },
800
- rel: { required: false, control: "text", type: "string" },
956
+ rel: {
957
+ required: false,
958
+ control: "text",
959
+ type: "string",
960
+ description: "Specifies the relationship of the target object to the link object."
961
+ },
801
962
  resource: { required: false, control: "text", type: "string" },
802
963
  results: { required: false, control: "number", type: "number" },
803
964
  rev: { required: false, control: "text", type: "string" },
804
- role: { required: false, control: "text", type: "string" },
965
+ role: {
966
+ required: false,
967
+ control: "text",
968
+ type: "string",
969
+ description: "Defines an explicit role for an element for use by assistive technologies."
970
+ },
805
971
  security: { required: false, control: "text", type: "string" },
806
- slot: { required: false, control: "text", type: "string" },
807
- spellCheck: { required: false, control: "boolean", type: "boolean" },
972
+ slot: {
973
+ required: false,
974
+ control: "text",
975
+ type: "string",
976
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
977
+ },
978
+ spellCheck: {
979
+ required: false,
980
+ control: "boolean",
981
+ type: "boolean",
982
+ description: "Indicates whether spell checking is allowed for the element."
983
+ },
808
984
  suppressContentEditableWarning: {
809
985
  required: false,
810
986
  control: "boolean",
@@ -815,13 +991,24 @@ const propsDialogContent = {
815
991
  control: "boolean",
816
992
  type: "boolean"
817
993
  },
818
- tabIndex: { required: false, control: "number", type: "number" },
819
- title: { required: false, control: "text", type: "string" },
994
+ tabIndex: {
995
+ required: false,
996
+ control: "number",
997
+ type: "number",
998
+ description: "Overrides the browser's default tab order and follows the one specified instead."
999
+ },
1000
+ title: {
1001
+ required: false,
1002
+ control: "text",
1003
+ type: "string",
1004
+ description: "Text to be displayed in a tooltip when hovering over the element."
1005
+ },
820
1006
  translate: {
821
1007
  required: false,
822
1008
  control: "radio",
823
1009
  type: "string",
824
- options: ["yes", "no"]
1010
+ options: ["yes", "no"],
1011
+ 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."
825
1012
  },
826
1013
  typeof: { required: false, control: "text", type: "string" },
827
1014
  unselectable: {
@@ -834,7 +1021,12 @@ const propsDialogContent = {
834
1021
  };
835
1022
  const propsDialogClose = {
836
1023
  about: { required: false, control: "text", type: "string" },
837
- accessKey: { required: false, control: "text", type: "string" },
1024
+ accessKey: {
1025
+ required: false,
1026
+ control: "text",
1027
+ type: "string",
1028
+ description: "Keyboard shortcut to activate or add focus to the element."
1029
+ },
838
1030
  "aria-activedescendant": {
839
1031
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
840
1032
  required: false,
@@ -990,7 +1182,7 @@ const propsDialogClose = {
990
1182
  type: "string"
991
1183
  },
992
1184
  "aria-label": {
993
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
1185
+ 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.",
994
1186
  required: false,
995
1187
  control: "text",
996
1188
  type: "string"
@@ -1166,26 +1358,106 @@ const propsDialogClose = {
1166
1358
  control: "text",
1167
1359
  type: "string"
1168
1360
  },
1169
- autoCapitalize: { required: false, control: "text", type: "string" },
1361
+ autoCapitalize: {
1362
+ required: false,
1363
+ control: "text",
1364
+ type: "string",
1365
+ description: "Sets whether input is automatically capitalized when entered by user."
1366
+ },
1170
1367
  autoCorrect: { required: false, control: "text", type: "string" },
1171
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1368
+ autoFocus: {
1369
+ required: false,
1370
+ control: "boolean",
1371
+ type: "boolean",
1372
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1373
+ },
1172
1374
  autoSave: { required: false, control: "text", type: "string" },
1173
1375
  className: { required: false, control: "text", type: "string" },
1174
- color: { required: false, control: "color", type: "string" },
1175
- content: { required: false, control: "text", type: "string" },
1176
- contextMenu: { required: false, control: "text", type: "string" },
1376
+ color: {
1377
+ required: false,
1378
+ control: "color",
1379
+ type: "string",
1380
+ 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."
1381
+ },
1382
+ content: {
1383
+ required: false,
1384
+ control: "text",
1385
+ type: "string",
1386
+ description: "A value associated with http-equiv orname depending on the context."
1387
+ },
1388
+ contextMenu: {
1389
+ required: false,
1390
+ control: "text",
1391
+ type: "string",
1392
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
1393
+ },
1177
1394
  datatype: { required: false, control: "text", type: "string" },
1178
- dir: { required: false, control: "text", type: "string" },
1179
- disabled: { required: false, control: "boolean", type: "boolean" },
1180
- draggable: { required: false, control: "boolean", type: "boolean" },
1181
- form: { required: false, control: "text", type: "string" },
1182
- formAction: { required: false, control: "text", type: "string" },
1183
- formEncType: { required: false, control: "text", type: "string" },
1184
- formMethod: { required: false, control: "text", type: "string" },
1185
- formNoValidate: { required: false, control: "boolean", type: "boolean" },
1186
- formTarget: { required: false, control: "text", type: "string" },
1187
- hidden: { required: false, control: "boolean", type: "boolean" },
1188
- id: { required: false, control: "text", type: "string" },
1395
+ dir: {
1396
+ required: false,
1397
+ control: "text",
1398
+ type: "string",
1399
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
1400
+ },
1401
+ disabled: {
1402
+ required: false,
1403
+ control: "boolean",
1404
+ type: "boolean",
1405
+ description: "Indicates whether the user can interact with the element."
1406
+ },
1407
+ draggable: {
1408
+ required: false,
1409
+ control: "boolean",
1410
+ type: "boolean",
1411
+ description: "Defines whether the element can be dragged."
1412
+ },
1413
+ form: {
1414
+ required: false,
1415
+ control: "text",
1416
+ type: "string",
1417
+ description: "Indicates the form that is the owner of the element."
1418
+ },
1419
+ formAction: {
1420
+ required: false,
1421
+ control: "text",
1422
+ type: "string",
1423
+ description: "Indicates the action of the element, overriding the action defined inthe form."
1424
+ },
1425
+ formEncType: {
1426
+ required: false,
1427
+ control: "text",
1428
+ type: "string",
1429
+ 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.`
1430
+ },
1431
+ formMethod: {
1432
+ required: false,
1433
+ control: "text",
1434
+ type: "string",
1435
+ 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.`
1436
+ },
1437
+ formNoValidate: {
1438
+ required: false,
1439
+ control: "boolean",
1440
+ type: "boolean",
1441
+ 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.`
1442
+ },
1443
+ formTarget: {
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 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.`
1448
+ },
1449
+ hidden: {
1450
+ required: false,
1451
+ control: "boolean",
1452
+ type: "boolean",
1453
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
1454
+ },
1455
+ id: {
1456
+ required: false,
1457
+ control: "text",
1458
+ type: "string",
1459
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
1460
+ },
1189
1461
  inputMode: {
1190
1462
  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",
1191
1463
  required: false,
@@ -1213,21 +1485,56 @@ const propsDialogClose = {
1213
1485
  itemRef: { required: false, control: "text", type: "string" },
1214
1486
  itemScope: { required: false, control: "boolean", type: "boolean" },
1215
1487
  itemType: { required: false, control: "text", type: "string" },
1216
- lang: { required: false, control: "text", type: "string" },
1217
- name: { required: false, control: "text", type: "string" },
1488
+ lang: {
1489
+ required: false,
1490
+ control: "text",
1491
+ type: "string",
1492
+ description: "Defines the language used in the element."
1493
+ },
1494
+ name: {
1495
+ required: false,
1496
+ control: "text",
1497
+ type: "string",
1498
+ 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)."
1499
+ },
1218
1500
  nonce: { required: false, control: "text", type: "string" },
1219
- placeholder: { required: false, control: "text", type: "string" },
1501
+ placeholder: {
1502
+ required: false,
1503
+ control: "text",
1504
+ type: "string",
1505
+ description: "Provides a hint to the user of what can be entered in the field."
1506
+ },
1220
1507
  prefix: { required: false, control: "text", type: "string" },
1221
1508
  property: { required: false, control: "text", type: "string" },
1222
1509
  radioGroup: { required: false, control: "text", type: "string" },
1223
- rel: { required: false, control: "text", type: "string" },
1510
+ rel: {
1511
+ required: false,
1512
+ control: "text",
1513
+ type: "string",
1514
+ description: "Specifies the relationship of the target object to the link object."
1515
+ },
1224
1516
  resource: { required: false, control: "text", type: "string" },
1225
1517
  results: { required: false, control: "number", type: "number" },
1226
1518
  rev: { required: false, control: "text", type: "string" },
1227
- role: { required: false, control: "text", type: "string" },
1519
+ role: {
1520
+ required: false,
1521
+ control: "text",
1522
+ type: "string",
1523
+ description: "Defines an explicit role for an element for use by assistive technologies."
1524
+ },
1228
1525
  security: { required: false, control: "text", type: "string" },
1229
- slot: { required: false, control: "text", type: "string" },
1230
- spellCheck: { required: false, control: "boolean", type: "boolean" },
1526
+ slot: {
1527
+ required: false,
1528
+ control: "text",
1529
+ type: "string",
1530
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
1531
+ },
1532
+ spellCheck: {
1533
+ required: false,
1534
+ control: "boolean",
1535
+ type: "boolean",
1536
+ description: "Indicates whether spell checking is allowed for the element."
1537
+ },
1231
1538
  suppressContentEditableWarning: {
1232
1539
  required: false,
1233
1540
  control: "boolean",
@@ -1238,19 +1545,31 @@ const propsDialogClose = {
1238
1545
  control: "boolean",
1239
1546
  type: "boolean"
1240
1547
  },
1241
- tabIndex: { required: false, control: "number", type: "number" },
1242
- title: { required: false, control: "text", type: "string" },
1548
+ tabIndex: {
1549
+ required: false,
1550
+ control: "number",
1551
+ type: "number",
1552
+ description: "Overrides the browser's default tab order and follows the one specified instead."
1553
+ },
1554
+ title: {
1555
+ required: false,
1556
+ control: "text",
1557
+ type: "string",
1558
+ description: "Text to be displayed in a tooltip when hovering over the element."
1559
+ },
1243
1560
  translate: {
1244
1561
  required: false,
1245
1562
  control: "radio",
1246
1563
  type: "string",
1247
- options: ["yes", "no"]
1564
+ options: ["yes", "no"],
1565
+ 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."
1248
1566
  },
1249
1567
  type: {
1250
1568
  required: false,
1251
1569
  control: "radio",
1252
1570
  type: "string",
1253
- options: ["button", "submit", "reset"]
1571
+ options: ["button", "submit", "reset"],
1572
+ description: "Defines the type of the element."
1254
1573
  },
1255
1574
  typeof: { required: false, control: "text", type: "string" },
1256
1575
  unselectable: {
@@ -1263,7 +1582,12 @@ const propsDialogClose = {
1263
1582
  };
1264
1583
  const propsDialogTitle = {
1265
1584
  about: { required: false, control: "text", type: "string" },
1266
- accessKey: { required: false, control: "text", type: "string" },
1585
+ accessKey: {
1586
+ required: false,
1587
+ control: "text",
1588
+ type: "string",
1589
+ description: "Keyboard shortcut to activate or add focus to the element."
1590
+ },
1267
1591
  "aria-activedescendant": {
1268
1592
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
1269
1593
  required: false,
@@ -1419,7 +1743,7 @@ const propsDialogTitle = {
1419
1743
  type: "string"
1420
1744
  },
1421
1745
  "aria-label": {
1422
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
1746
+ 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.",
1423
1747
  required: false,
1424
1748
  control: "text",
1425
1749
  type: "string"
@@ -1595,19 +1919,64 @@ const propsDialogTitle = {
1595
1919
  control: "text",
1596
1920
  type: "string"
1597
1921
  },
1598
- autoCapitalize: { required: false, control: "text", type: "string" },
1922
+ autoCapitalize: {
1923
+ required: false,
1924
+ control: "text",
1925
+ type: "string",
1926
+ description: "Sets whether input is automatically capitalized when entered by user."
1927
+ },
1599
1928
  autoCorrect: { required: false, control: "text", type: "string" },
1600
- autoFocus: { required: false, control: "boolean", type: "boolean" },
1929
+ autoFocus: {
1930
+ required: false,
1931
+ control: "boolean",
1932
+ type: "boolean",
1933
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
1934
+ },
1601
1935
  autoSave: { required: false, control: "text", type: "string" },
1602
1936
  className: { required: false, control: "text", type: "string" },
1603
- color: { required: false, control: "color", type: "string" },
1604
- content: { required: false, control: "text", type: "string" },
1605
- contextMenu: { required: false, control: "text", type: "string" },
1937
+ color: {
1938
+ required: false,
1939
+ control: "color",
1940
+ type: "string",
1941
+ 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."
1942
+ },
1943
+ content: {
1944
+ required: false,
1945
+ control: "text",
1946
+ type: "string",
1947
+ description: "A value associated with http-equiv orname depending on the context."
1948
+ },
1949
+ contextMenu: {
1950
+ required: false,
1951
+ control: "text",
1952
+ type: "string",
1953
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
1954
+ },
1606
1955
  datatype: { required: false, control: "text", type: "string" },
1607
- dir: { required: false, control: "text", type: "string" },
1608
- draggable: { required: false, control: "boolean", type: "boolean" },
1609
- hidden: { required: false, control: "boolean", type: "boolean" },
1610
- id: { required: false, control: "text", type: "string" },
1956
+ dir: {
1957
+ required: false,
1958
+ control: "text",
1959
+ type: "string",
1960
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
1961
+ },
1962
+ draggable: {
1963
+ required: false,
1964
+ control: "boolean",
1965
+ type: "boolean",
1966
+ description: "Defines whether the element can be dragged."
1967
+ },
1968
+ hidden: {
1969
+ required: false,
1970
+ control: "boolean",
1971
+ type: "boolean",
1972
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
1973
+ },
1974
+ id: {
1975
+ required: false,
1976
+ control: "text",
1977
+ type: "string",
1978
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
1979
+ },
1611
1980
  inputMode: {
1612
1981
  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",
1613
1982
  required: false,
@@ -1635,20 +2004,50 @@ const propsDialogTitle = {
1635
2004
  itemRef: { required: false, control: "text", type: "string" },
1636
2005
  itemScope: { required: false, control: "boolean", type: "boolean" },
1637
2006
  itemType: { required: false, control: "text", type: "string" },
1638
- lang: { required: false, control: "text", type: "string" },
2007
+ lang: {
2008
+ required: false,
2009
+ control: "text",
2010
+ type: "string",
2011
+ description: "Defines the language used in the element."
2012
+ },
1639
2013
  nonce: { required: false, control: "text", type: "string" },
1640
- placeholder: { required: false, control: "text", type: "string" },
2014
+ placeholder: {
2015
+ required: false,
2016
+ control: "text",
2017
+ type: "string",
2018
+ description: "Provides a hint to the user of what can be entered in the field."
2019
+ },
1641
2020
  prefix: { required: false, control: "text", type: "string" },
1642
2021
  property: { required: false, control: "text", type: "string" },
1643
2022
  radioGroup: { required: false, control: "text", type: "string" },
1644
- rel: { required: false, control: "text", type: "string" },
2023
+ rel: {
2024
+ required: false,
2025
+ control: "text",
2026
+ type: "string",
2027
+ description: "Specifies the relationship of the target object to the link object."
2028
+ },
1645
2029
  resource: { required: false, control: "text", type: "string" },
1646
2030
  results: { required: false, control: "number", type: "number" },
1647
2031
  rev: { required: false, control: "text", type: "string" },
1648
- role: { required: false, control: "text", type: "string" },
2032
+ role: {
2033
+ required: false,
2034
+ control: "text",
2035
+ type: "string",
2036
+ description: "Defines an explicit role for an element for use by assistive technologies."
2037
+ },
1649
2038
  security: { required: false, control: "text", type: "string" },
1650
- slot: { required: false, control: "text", type: "string" },
1651
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2039
+ slot: {
2040
+ required: false,
2041
+ control: "text",
2042
+ type: "string",
2043
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
2044
+ },
2045
+ spellCheck: {
2046
+ required: false,
2047
+ control: "boolean",
2048
+ type: "boolean",
2049
+ description: "Indicates whether spell checking is allowed for the element."
2050
+ },
1652
2051
  suppressContentEditableWarning: {
1653
2052
  required: false,
1654
2053
  control: "boolean",
@@ -1659,13 +2058,24 @@ const propsDialogTitle = {
1659
2058
  control: "boolean",
1660
2059
  type: "boolean"
1661
2060
  },
1662
- tabIndex: { required: false, control: "number", type: "number" },
1663
- title: { required: false, control: "text", type: "string" },
2061
+ tabIndex: {
2062
+ required: false,
2063
+ control: "number",
2064
+ type: "number",
2065
+ description: "Overrides the browser's default tab order and follows the one specified instead."
2066
+ },
2067
+ title: {
2068
+ required: false,
2069
+ control: "text",
2070
+ type: "string",
2071
+ description: "Text to be displayed in a tooltip when hovering over the element."
2072
+ },
1664
2073
  translate: {
1665
2074
  required: false,
1666
2075
  control: "radio",
1667
2076
  type: "string",
1668
- options: ["yes", "no"]
2077
+ options: ["yes", "no"],
2078
+ 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."
1669
2079
  },
1670
2080
  typeof: { required: false, control: "text", type: "string" },
1671
2081
  unselectable: {
@@ -1678,7 +2088,12 @@ const propsDialogTitle = {
1678
2088
  };
1679
2089
  const propsDialogDescription = {
1680
2090
  about: { required: false, control: "text", type: "string" },
1681
- accessKey: { required: false, control: "text", type: "string" },
2091
+ accessKey: {
2092
+ required: false,
2093
+ control: "text",
2094
+ type: "string",
2095
+ description: "Keyboard shortcut to activate or add focus to the element."
2096
+ },
1682
2097
  "aria-activedescendant": {
1683
2098
  description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
1684
2099
  required: false,
@@ -1834,7 +2249,7 @@ const propsDialogDescription = {
1834
2249
  type: "string"
1835
2250
  },
1836
2251
  "aria-label": {
1837
- description: "Defines a string value that labels the current element.\n@see aria-labelledby.",
2252
+ 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.",
1838
2253
  required: false,
1839
2254
  control: "text",
1840
2255
  type: "string"
@@ -2010,19 +2425,64 @@ const propsDialogDescription = {
2010
2425
  control: "text",
2011
2426
  type: "string"
2012
2427
  },
2013
- autoCapitalize: { required: false, control: "text", type: "string" },
2428
+ autoCapitalize: {
2429
+ required: false,
2430
+ control: "text",
2431
+ type: "string",
2432
+ description: "Sets whether input is automatically capitalized when entered by user."
2433
+ },
2014
2434
  autoCorrect: { required: false, control: "text", type: "string" },
2015
- autoFocus: { required: false, control: "boolean", type: "boolean" },
2435
+ autoFocus: {
2436
+ required: false,
2437
+ control: "boolean",
2438
+ type: "boolean",
2439
+ description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
2440
+ },
2016
2441
  autoSave: { required: false, control: "text", type: "string" },
2017
2442
  className: { required: false, control: "text", type: "string" },
2018
- color: { required: false, control: "color", type: "string" },
2019
- content: { required: false, control: "text", type: "string" },
2020
- contextMenu: { required: false, control: "text", type: "string" },
2443
+ color: {
2444
+ required: false,
2445
+ control: "color",
2446
+ type: "string",
2447
+ 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."
2448
+ },
2449
+ content: {
2450
+ required: false,
2451
+ control: "text",
2452
+ type: "string",
2453
+ description: "A value associated with http-equiv orname depending on the context."
2454
+ },
2455
+ contextMenu: {
2456
+ required: false,
2457
+ control: "text",
2458
+ type: "string",
2459
+ description: "Defines the ID of a menu element which willserve as the element's context menu."
2460
+ },
2021
2461
  datatype: { required: false, control: "text", type: "string" },
2022
- dir: { required: false, control: "text", type: "string" },
2023
- draggable: { required: false, control: "boolean", type: "boolean" },
2024
- hidden: { required: false, control: "boolean", type: "boolean" },
2025
- id: { required: false, control: "text", type: "string" },
2462
+ dir: {
2463
+ required: false,
2464
+ control: "text",
2465
+ type: "string",
2466
+ description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
2467
+ },
2468
+ draggable: {
2469
+ required: false,
2470
+ control: "boolean",
2471
+ type: "boolean",
2472
+ description: "Defines whether the element can be dragged."
2473
+ },
2474
+ hidden: {
2475
+ required: false,
2476
+ control: "boolean",
2477
+ type: "boolean",
2478
+ description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
2479
+ },
2480
+ id: {
2481
+ required: false,
2482
+ control: "text",
2483
+ type: "string",
2484
+ description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
2485
+ },
2026
2486
  inputMode: {
2027
2487
  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",
2028
2488
  required: false,
@@ -2050,20 +2510,50 @@ const propsDialogDescription = {
2050
2510
  itemRef: { required: false, control: "text", type: "string" },
2051
2511
  itemScope: { required: false, control: "boolean", type: "boolean" },
2052
2512
  itemType: { required: false, control: "text", type: "string" },
2053
- lang: { required: false, control: "text", type: "string" },
2513
+ lang: {
2514
+ required: false,
2515
+ control: "text",
2516
+ type: "string",
2517
+ description: "Defines the language used in the element."
2518
+ },
2054
2519
  nonce: { required: false, control: "text", type: "string" },
2055
- placeholder: { required: false, control: "text", type: "string" },
2520
+ placeholder: {
2521
+ required: false,
2522
+ control: "text",
2523
+ type: "string",
2524
+ description: "Provides a hint to the user of what can be entered in the field."
2525
+ },
2056
2526
  prefix: { required: false, control: "text", type: "string" },
2057
2527
  property: { required: false, control: "text", type: "string" },
2058
2528
  radioGroup: { required: false, control: "text", type: "string" },
2059
- rel: { required: false, control: "text", type: "string" },
2529
+ rel: {
2530
+ required: false,
2531
+ control: "text",
2532
+ type: "string",
2533
+ description: "Specifies the relationship of the target object to the link object."
2534
+ },
2060
2535
  resource: { required: false, control: "text", type: "string" },
2061
2536
  results: { required: false, control: "number", type: "number" },
2062
2537
  rev: { required: false, control: "text", type: "string" },
2063
- role: { required: false, control: "text", type: "string" },
2538
+ role: {
2539
+ required: false,
2540
+ control: "text",
2541
+ type: "string",
2542
+ description: "Defines an explicit role for an element for use by assistive technologies."
2543
+ },
2064
2544
  security: { required: false, control: "text", type: "string" },
2065
- slot: { required: false, control: "text", type: "string" },
2066
- spellCheck: { required: false, control: "boolean", type: "boolean" },
2545
+ slot: {
2546
+ required: false,
2547
+ control: "text",
2548
+ type: "string",
2549
+ description: "Assigns a slot in a shadow DOM shadow tree to an element."
2550
+ },
2551
+ spellCheck: {
2552
+ required: false,
2553
+ control: "boolean",
2554
+ type: "boolean",
2555
+ description: "Indicates whether spell checking is allowed for the element."
2556
+ },
2067
2557
  suppressContentEditableWarning: {
2068
2558
  required: false,
2069
2559
  control: "boolean",
@@ -2074,13 +2564,24 @@ const propsDialogDescription = {
2074
2564
  control: "boolean",
2075
2565
  type: "boolean"
2076
2566
  },
2077
- tabIndex: { required: false, control: "number", type: "number" },
2078
- title: { required: false, control: "text", type: "string" },
2567
+ tabIndex: {
2568
+ required: false,
2569
+ control: "number",
2570
+ type: "number",
2571
+ description: "Overrides the browser's default tab order and follows the one specified instead."
2572
+ },
2573
+ title: {
2574
+ required: false,
2575
+ control: "text",
2576
+ type: "string",
2577
+ description: "Text to be displayed in a tooltip when hovering over the element."
2578
+ },
2079
2579
  translate: {
2080
2580
  required: false,
2081
2581
  control: "radio",
2082
2582
  type: "string",
2083
- options: ["yes", "no"]
2583
+ options: ["yes", "no"],
2584
+ 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."
2084
2585
  },
2085
2586
  typeof: { required: false, control: "text", type: "string" },
2086
2587
  unselectable: {