@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.
- package/lib/__generated__/accordion.props.js +605 -109
- package/lib/__generated__/button.props.js +161 -29
- package/lib/__generated__/checkbox.props.js +284 -51
- package/lib/__generated__/collapsible.props.js +234 -42
- package/lib/__generated__/dialog.props.js +611 -110
- package/lib/__generated__/input.props.js +264 -47
- package/lib/__generated__/label.props.js +123 -22
- package/lib/__generated__/navigation-menu.props.js +563 -102
- package/lib/__generated__/popover.props.js +129 -25
- package/lib/__generated__/radio-group.props.js +421 -76
- package/lib/__generated__/select.props.js +876 -160
- package/lib/__generated__/sheet.props.js +591 -110
- package/lib/__generated__/switch.props.js +284 -51
- package/lib/__generated__/tabs.props.js +506 -91
- package/lib/__generated__/textarea.props.js +177 -31
- package/lib/__generated__/tooltip.props.js +131 -27
- package/lib/accordion.ws.js +1 -0
- package/lib/checkbox.ws.js +2 -0
- package/lib/cjs/__generated__/accordion.props.js +605 -109
- package/lib/cjs/__generated__/button.props.js +161 -29
- package/lib/cjs/__generated__/checkbox.props.js +284 -51
- package/lib/cjs/__generated__/collapsible.props.js +234 -42
- package/lib/cjs/__generated__/dialog.props.js +611 -110
- package/lib/cjs/__generated__/input.props.js +264 -47
- package/lib/cjs/__generated__/label.props.js +123 -22
- package/lib/cjs/__generated__/navigation-menu.props.js +563 -102
- package/lib/cjs/__generated__/popover.props.js +129 -25
- package/lib/cjs/__generated__/radio-group.props.js +421 -76
- package/lib/cjs/__generated__/select.props.js +875 -159
- package/lib/cjs/__generated__/sheet.props.js +591 -110
- package/lib/cjs/__generated__/switch.props.js +284 -51
- package/lib/cjs/__generated__/tabs.props.js +506 -91
- package/lib/cjs/__generated__/textarea.props.js +177 -31
- package/lib/cjs/__generated__/tooltip.props.js +131 -27
- package/lib/cjs/accordion.ws.js +1 -0
- package/lib/cjs/checkbox.ws.js +2 -0
- package/lib/cjs/collapsible.ws.js +1 -0
- package/lib/cjs/dialog.ws.js +1 -0
- package/lib/cjs/label.ws.js +1 -0
- package/lib/cjs/navigation-menu.ws.js +1 -0
- package/lib/cjs/popover.ws.js +1 -0
- package/lib/cjs/props-descriptions.js +56 -0
- package/lib/cjs/radio-group.ws.js +3 -0
- package/lib/cjs/select.js +3 -1
- package/lib/cjs/select.ws.js +1 -0
- package/lib/cjs/sheet.ws.js +1 -0
- package/lib/cjs/switch.ws.js +2 -0
- package/lib/cjs/tabs.ws.js +1 -0
- package/lib/cjs/tooltip.ws.js +1 -0
- package/lib/collapsible.ws.js +1 -0
- package/lib/dialog.ws.js +1 -0
- package/lib/label.ws.js +1 -0
- package/lib/navigation-menu.ws.js +1 -0
- package/lib/popover.ws.js +1 -0
- package/lib/props-descriptions.js +36 -0
- package/lib/radio-group.ws.js +3 -0
- package/lib/select.js +3 -1
- package/lib/select.ws.js +1 -0
- package/lib/sheet.ws.js +1 -0
- package/lib/switch.ws.js +2 -0
- package/lib/tabs.ws.js +1 -0
- package/lib/tooltip.ws.js +1 -0
- package/lib/types/props-descriptions.d.ts +29 -0
- package/lib/types/select.d.ts +4 -2
- package/package.json +6 -6
- package/src/__generated__/accordion.props.ts +675 -103
- package/src/__generated__/button.props.ts +180 -27
- package/src/__generated__/checkbox.props.ts +317 -48
- package/src/__generated__/collapsible.props.ts +261 -40
- package/src/__generated__/dialog.props.ts +682 -104
- package/src/__generated__/input.props.ts +292 -44
- package/src/__generated__/label.props.ts +137 -21
- package/src/__generated__/navigation-menu.props.ts +629 -96
- package/src/__generated__/popover.props.ts +142 -21
- package/src/__generated__/radio-group.props.ts +470 -71
- package/src/__generated__/select.props.ts +979 -153
- package/src/__generated__/sheet.props.ts +657 -99
- package/src/__generated__/switch.props.ts +317 -48
- package/src/__generated__/tabs.props.ts +565 -86
- package/src/__generated__/textarea.props.ts +195 -30
- package/src/__generated__/tooltip.props.ts +145 -23
- package/src/accordion.ws.ts +2 -0
- package/src/checkbox.ws.ts +3 -0
- package/src/collapsible.ws.ts +2 -0
- package/src/dialog.ws.tsx +2 -0
- package/src/label.ws.ts +2 -0
- package/src/navigation-menu.ws.ts +1 -0
- package/src/popover.ws.tsx +1 -0
- package/src/props-descriptions.ts +43 -0
- package/src/radio-group.ws.ts +4 -0
- package/src/select.tsx +8 -3
- package/src/select.ws.ts +2 -0
- package/src/sheet.ws.tsx +2 -0
- package/src/switch.ws.ts +3 -0
- package/src/tabs.ws.ts +2 -0
- package/src/tooltip.ws.tsx +2 -0
|
@@ -26,7 +26,12 @@ __export(tabs_props_exports, {
|
|
|
26
26
|
module.exports = __toCommonJS(tabs_props_exports);
|
|
27
27
|
const propsTabs = {
|
|
28
28
|
about: { required: false, control: "text", type: "string" },
|
|
29
|
-
accessKey: {
|
|
29
|
+
accessKey: {
|
|
30
|
+
required: false,
|
|
31
|
+
control: "text",
|
|
32
|
+
type: "string",
|
|
33
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
34
|
+
},
|
|
30
35
|
activationMode: {
|
|
31
36
|
description: "Whether a tab is activated automatically or manually.\n@defaultValue automatic",
|
|
32
37
|
required: false,
|
|
@@ -189,7 +194,7 @@ const propsTabs = {
|
|
|
189
194
|
type: "string"
|
|
190
195
|
},
|
|
191
196
|
"aria-label": {
|
|
192
|
-
description: "
|
|
197
|
+
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.",
|
|
193
198
|
required: false,
|
|
194
199
|
control: "text",
|
|
195
200
|
type: "string"
|
|
@@ -365,14 +370,39 @@ const propsTabs = {
|
|
|
365
370
|
control: "text",
|
|
366
371
|
type: "string"
|
|
367
372
|
},
|
|
368
|
-
autoCapitalize: {
|
|
373
|
+
autoCapitalize: {
|
|
374
|
+
required: false,
|
|
375
|
+
control: "text",
|
|
376
|
+
type: "string",
|
|
377
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
378
|
+
},
|
|
369
379
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
370
|
-
autoFocus: {
|
|
380
|
+
autoFocus: {
|
|
381
|
+
required: false,
|
|
382
|
+
control: "boolean",
|
|
383
|
+
type: "boolean",
|
|
384
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
385
|
+
},
|
|
371
386
|
autoSave: { required: false, control: "text", type: "string" },
|
|
372
387
|
className: { required: false, control: "text", type: "string" },
|
|
373
|
-
color: {
|
|
374
|
-
|
|
375
|
-
|
|
388
|
+
color: {
|
|
389
|
+
required: false,
|
|
390
|
+
control: "color",
|
|
391
|
+
type: "string",
|
|
392
|
+
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."
|
|
393
|
+
},
|
|
394
|
+
content: {
|
|
395
|
+
required: false,
|
|
396
|
+
control: "text",
|
|
397
|
+
type: "string",
|
|
398
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
399
|
+
},
|
|
400
|
+
contextMenu: {
|
|
401
|
+
required: false,
|
|
402
|
+
control: "text",
|
|
403
|
+
type: "string",
|
|
404
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
405
|
+
},
|
|
376
406
|
datatype: { required: false, control: "text", type: "string" },
|
|
377
407
|
dir: {
|
|
378
408
|
description: "The direction of navigation between toolbar items.",
|
|
@@ -381,9 +411,24 @@ const propsTabs = {
|
|
|
381
411
|
type: "string",
|
|
382
412
|
options: ["ltr", "rtl"]
|
|
383
413
|
},
|
|
384
|
-
draggable: {
|
|
385
|
-
|
|
386
|
-
|
|
414
|
+
draggable: {
|
|
415
|
+
required: false,
|
|
416
|
+
control: "boolean",
|
|
417
|
+
type: "boolean",
|
|
418
|
+
description: "Defines whether the element can be dragged."
|
|
419
|
+
},
|
|
420
|
+
hidden: {
|
|
421
|
+
required: false,
|
|
422
|
+
control: "boolean",
|
|
423
|
+
type: "boolean",
|
|
424
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
425
|
+
},
|
|
426
|
+
id: {
|
|
427
|
+
required: false,
|
|
428
|
+
control: "text",
|
|
429
|
+
type: "string",
|
|
430
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
431
|
+
},
|
|
387
432
|
inputMode: {
|
|
388
433
|
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",
|
|
389
434
|
required: false,
|
|
@@ -411,7 +456,12 @@ const propsTabs = {
|
|
|
411
456
|
itemRef: { required: false, control: "text", type: "string" },
|
|
412
457
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
413
458
|
itemType: { required: false, control: "text", type: "string" },
|
|
414
|
-
lang: {
|
|
459
|
+
lang: {
|
|
460
|
+
required: false,
|
|
461
|
+
control: "text",
|
|
462
|
+
type: "string",
|
|
463
|
+
description: "Defines the language used in the element."
|
|
464
|
+
},
|
|
415
465
|
nonce: { required: false, control: "text", type: "string" },
|
|
416
466
|
orientation: {
|
|
417
467
|
description: "The orientation the tabs are layed out.\nMainly so arrow navigation is done accordingly (left & right vs. up & down)\n@defaultValue horizontal",
|
|
@@ -420,18 +470,43 @@ const propsTabs = {
|
|
|
420
470
|
type: "string",
|
|
421
471
|
options: ["horizontal", "vertical"]
|
|
422
472
|
},
|
|
423
|
-
placeholder: {
|
|
473
|
+
placeholder: {
|
|
474
|
+
required: false,
|
|
475
|
+
control: "text",
|
|
476
|
+
type: "string",
|
|
477
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
478
|
+
},
|
|
424
479
|
prefix: { required: false, control: "text", type: "string" },
|
|
425
480
|
property: { required: false, control: "text", type: "string" },
|
|
426
481
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
427
|
-
rel: {
|
|
482
|
+
rel: {
|
|
483
|
+
required: false,
|
|
484
|
+
control: "text",
|
|
485
|
+
type: "string",
|
|
486
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
487
|
+
},
|
|
428
488
|
resource: { required: false, control: "text", type: "string" },
|
|
429
489
|
results: { required: false, control: "number", type: "number" },
|
|
430
490
|
rev: { required: false, control: "text", type: "string" },
|
|
431
|
-
role: {
|
|
491
|
+
role: {
|
|
492
|
+
required: false,
|
|
493
|
+
control: "text",
|
|
494
|
+
type: "string",
|
|
495
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
496
|
+
},
|
|
432
497
|
security: { required: false, control: "text", type: "string" },
|
|
433
|
-
slot: {
|
|
434
|
-
|
|
498
|
+
slot: {
|
|
499
|
+
required: false,
|
|
500
|
+
control: "text",
|
|
501
|
+
type: "string",
|
|
502
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
503
|
+
},
|
|
504
|
+
spellCheck: {
|
|
505
|
+
required: false,
|
|
506
|
+
control: "boolean",
|
|
507
|
+
type: "boolean",
|
|
508
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
509
|
+
},
|
|
435
510
|
suppressContentEditableWarning: {
|
|
436
511
|
required: false,
|
|
437
512
|
control: "boolean",
|
|
@@ -442,13 +517,24 @@ const propsTabs = {
|
|
|
442
517
|
control: "boolean",
|
|
443
518
|
type: "boolean"
|
|
444
519
|
},
|
|
445
|
-
tabIndex: {
|
|
446
|
-
|
|
520
|
+
tabIndex: {
|
|
521
|
+
required: false,
|
|
522
|
+
control: "number",
|
|
523
|
+
type: "number",
|
|
524
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
525
|
+
},
|
|
526
|
+
title: {
|
|
527
|
+
required: false,
|
|
528
|
+
control: "text",
|
|
529
|
+
type: "string",
|
|
530
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
531
|
+
},
|
|
447
532
|
translate: {
|
|
448
533
|
required: false,
|
|
449
534
|
control: "radio",
|
|
450
535
|
type: "string",
|
|
451
|
-
options: ["yes", "no"]
|
|
536
|
+
options: ["yes", "no"],
|
|
537
|
+
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."
|
|
452
538
|
},
|
|
453
539
|
typeof: { required: false, control: "text", type: "string" },
|
|
454
540
|
unselectable: {
|
|
@@ -467,7 +553,12 @@ const propsTabs = {
|
|
|
467
553
|
};
|
|
468
554
|
const propsTabsList = {
|
|
469
555
|
about: { required: false, control: "text", type: "string" },
|
|
470
|
-
accessKey: {
|
|
556
|
+
accessKey: {
|
|
557
|
+
required: false,
|
|
558
|
+
control: "text",
|
|
559
|
+
type: "string",
|
|
560
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
561
|
+
},
|
|
471
562
|
"aria-activedescendant": {
|
|
472
563
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
473
564
|
required: false,
|
|
@@ -623,7 +714,7 @@ const propsTabsList = {
|
|
|
623
714
|
type: "string"
|
|
624
715
|
},
|
|
625
716
|
"aria-label": {
|
|
626
|
-
description: "
|
|
717
|
+
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.",
|
|
627
718
|
required: false,
|
|
628
719
|
control: "text",
|
|
629
720
|
type: "string"
|
|
@@ -799,19 +890,64 @@ const propsTabsList = {
|
|
|
799
890
|
control: "text",
|
|
800
891
|
type: "string"
|
|
801
892
|
},
|
|
802
|
-
autoCapitalize: {
|
|
893
|
+
autoCapitalize: {
|
|
894
|
+
required: false,
|
|
895
|
+
control: "text",
|
|
896
|
+
type: "string",
|
|
897
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
898
|
+
},
|
|
803
899
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
804
|
-
autoFocus: {
|
|
900
|
+
autoFocus: {
|
|
901
|
+
required: false,
|
|
902
|
+
control: "boolean",
|
|
903
|
+
type: "boolean",
|
|
904
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
905
|
+
},
|
|
805
906
|
autoSave: { required: false, control: "text", type: "string" },
|
|
806
907
|
className: { required: false, control: "text", type: "string" },
|
|
807
|
-
color: {
|
|
808
|
-
|
|
809
|
-
|
|
908
|
+
color: {
|
|
909
|
+
required: false,
|
|
910
|
+
control: "color",
|
|
911
|
+
type: "string",
|
|
912
|
+
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."
|
|
913
|
+
},
|
|
914
|
+
content: {
|
|
915
|
+
required: false,
|
|
916
|
+
control: "text",
|
|
917
|
+
type: "string",
|
|
918
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
919
|
+
},
|
|
920
|
+
contextMenu: {
|
|
921
|
+
required: false,
|
|
922
|
+
control: "text",
|
|
923
|
+
type: "string",
|
|
924
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
925
|
+
},
|
|
810
926
|
datatype: { required: false, control: "text", type: "string" },
|
|
811
|
-
dir: {
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
927
|
+
dir: {
|
|
928
|
+
required: false,
|
|
929
|
+
control: "text",
|
|
930
|
+
type: "string",
|
|
931
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
932
|
+
},
|
|
933
|
+
draggable: {
|
|
934
|
+
required: false,
|
|
935
|
+
control: "boolean",
|
|
936
|
+
type: "boolean",
|
|
937
|
+
description: "Defines whether the element can be dragged."
|
|
938
|
+
},
|
|
939
|
+
hidden: {
|
|
940
|
+
required: false,
|
|
941
|
+
control: "boolean",
|
|
942
|
+
type: "boolean",
|
|
943
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
944
|
+
},
|
|
945
|
+
id: {
|
|
946
|
+
required: false,
|
|
947
|
+
control: "text",
|
|
948
|
+
type: "string",
|
|
949
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
950
|
+
},
|
|
815
951
|
inputMode: {
|
|
816
952
|
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",
|
|
817
953
|
required: false,
|
|
@@ -839,21 +975,56 @@ const propsTabsList = {
|
|
|
839
975
|
itemRef: { required: false, control: "text", type: "string" },
|
|
840
976
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
841
977
|
itemType: { required: false, control: "text", type: "string" },
|
|
842
|
-
lang: {
|
|
843
|
-
|
|
978
|
+
lang: {
|
|
979
|
+
required: false,
|
|
980
|
+
control: "text",
|
|
981
|
+
type: "string",
|
|
982
|
+
description: "Defines the language used in the element."
|
|
983
|
+
},
|
|
984
|
+
loop: {
|
|
985
|
+
required: false,
|
|
986
|
+
control: "boolean",
|
|
987
|
+
type: "boolean",
|
|
988
|
+
description: "Indicates whether the media should start playing from the start when it's finished."
|
|
989
|
+
},
|
|
844
990
|
nonce: { required: false, control: "text", type: "string" },
|
|
845
|
-
placeholder: {
|
|
991
|
+
placeholder: {
|
|
992
|
+
required: false,
|
|
993
|
+
control: "text",
|
|
994
|
+
type: "string",
|
|
995
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
996
|
+
},
|
|
846
997
|
prefix: { required: false, control: "text", type: "string" },
|
|
847
998
|
property: { required: false, control: "text", type: "string" },
|
|
848
999
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
849
|
-
rel: {
|
|
1000
|
+
rel: {
|
|
1001
|
+
required: false,
|
|
1002
|
+
control: "text",
|
|
1003
|
+
type: "string",
|
|
1004
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1005
|
+
},
|
|
850
1006
|
resource: { required: false, control: "text", type: "string" },
|
|
851
1007
|
results: { required: false, control: "number", type: "number" },
|
|
852
1008
|
rev: { required: false, control: "text", type: "string" },
|
|
853
|
-
role: {
|
|
1009
|
+
role: {
|
|
1010
|
+
required: false,
|
|
1011
|
+
control: "text",
|
|
1012
|
+
type: "string",
|
|
1013
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1014
|
+
},
|
|
854
1015
|
security: { required: false, control: "text", type: "string" },
|
|
855
|
-
slot: {
|
|
856
|
-
|
|
1016
|
+
slot: {
|
|
1017
|
+
required: false,
|
|
1018
|
+
control: "text",
|
|
1019
|
+
type: "string",
|
|
1020
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1021
|
+
},
|
|
1022
|
+
spellCheck: {
|
|
1023
|
+
required: false,
|
|
1024
|
+
control: "boolean",
|
|
1025
|
+
type: "boolean",
|
|
1026
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1027
|
+
},
|
|
857
1028
|
suppressContentEditableWarning: {
|
|
858
1029
|
required: false,
|
|
859
1030
|
control: "boolean",
|
|
@@ -864,13 +1035,24 @@ const propsTabsList = {
|
|
|
864
1035
|
control: "boolean",
|
|
865
1036
|
type: "boolean"
|
|
866
1037
|
},
|
|
867
|
-
tabIndex: {
|
|
868
|
-
|
|
1038
|
+
tabIndex: {
|
|
1039
|
+
required: false,
|
|
1040
|
+
control: "number",
|
|
1041
|
+
type: "number",
|
|
1042
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1043
|
+
},
|
|
1044
|
+
title: {
|
|
1045
|
+
required: false,
|
|
1046
|
+
control: "text",
|
|
1047
|
+
type: "string",
|
|
1048
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1049
|
+
},
|
|
869
1050
|
translate: {
|
|
870
1051
|
required: false,
|
|
871
1052
|
control: "radio",
|
|
872
1053
|
type: "string",
|
|
873
|
-
options: ["yes", "no"]
|
|
1054
|
+
options: ["yes", "no"],
|
|
1055
|
+
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."
|
|
874
1056
|
},
|
|
875
1057
|
typeof: { required: false, control: "text", type: "string" },
|
|
876
1058
|
unselectable: {
|
|
@@ -883,7 +1065,12 @@ const propsTabsList = {
|
|
|
883
1065
|
};
|
|
884
1066
|
const propsTabsTrigger = {
|
|
885
1067
|
about: { required: false, control: "text", type: "string" },
|
|
886
|
-
accessKey: {
|
|
1068
|
+
accessKey: {
|
|
1069
|
+
required: false,
|
|
1070
|
+
control: "text",
|
|
1071
|
+
type: "string",
|
|
1072
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1073
|
+
},
|
|
887
1074
|
"aria-activedescendant": {
|
|
888
1075
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
889
1076
|
required: false,
|
|
@@ -1039,7 +1226,7 @@ const propsTabsTrigger = {
|
|
|
1039
1226
|
type: "string"
|
|
1040
1227
|
},
|
|
1041
1228
|
"aria-label": {
|
|
1042
|
-
description: "
|
|
1229
|
+
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.",
|
|
1043
1230
|
required: false,
|
|
1044
1231
|
control: "text",
|
|
1045
1232
|
type: "string"
|
|
@@ -1215,26 +1402,106 @@ const propsTabsTrigger = {
|
|
|
1215
1402
|
control: "text",
|
|
1216
1403
|
type: "string"
|
|
1217
1404
|
},
|
|
1218
|
-
autoCapitalize: {
|
|
1405
|
+
autoCapitalize: {
|
|
1406
|
+
required: false,
|
|
1407
|
+
control: "text",
|
|
1408
|
+
type: "string",
|
|
1409
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1410
|
+
},
|
|
1219
1411
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1220
|
-
autoFocus: {
|
|
1412
|
+
autoFocus: {
|
|
1413
|
+
required: false,
|
|
1414
|
+
control: "boolean",
|
|
1415
|
+
type: "boolean",
|
|
1416
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1417
|
+
},
|
|
1221
1418
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1222
1419
|
className: { required: false, control: "text", type: "string" },
|
|
1223
|
-
color: {
|
|
1224
|
-
|
|
1225
|
-
|
|
1420
|
+
color: {
|
|
1421
|
+
required: false,
|
|
1422
|
+
control: "color",
|
|
1423
|
+
type: "string",
|
|
1424
|
+
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."
|
|
1425
|
+
},
|
|
1426
|
+
content: {
|
|
1427
|
+
required: false,
|
|
1428
|
+
control: "text",
|
|
1429
|
+
type: "string",
|
|
1430
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1431
|
+
},
|
|
1432
|
+
contextMenu: {
|
|
1433
|
+
required: false,
|
|
1434
|
+
control: "text",
|
|
1435
|
+
type: "string",
|
|
1436
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1437
|
+
},
|
|
1226
1438
|
datatype: { required: false, control: "text", type: "string" },
|
|
1227
|
-
dir: {
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1439
|
+
dir: {
|
|
1440
|
+
required: false,
|
|
1441
|
+
control: "text",
|
|
1442
|
+
type: "string",
|
|
1443
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1444
|
+
},
|
|
1445
|
+
disabled: {
|
|
1446
|
+
required: false,
|
|
1447
|
+
control: "boolean",
|
|
1448
|
+
type: "boolean",
|
|
1449
|
+
description: "Indicates whether the user can interact with the element."
|
|
1450
|
+
},
|
|
1451
|
+
draggable: {
|
|
1452
|
+
required: false,
|
|
1453
|
+
control: "boolean",
|
|
1454
|
+
type: "boolean",
|
|
1455
|
+
description: "Defines whether the element can be dragged."
|
|
1456
|
+
},
|
|
1457
|
+
form: {
|
|
1458
|
+
required: false,
|
|
1459
|
+
control: "text",
|
|
1460
|
+
type: "string",
|
|
1461
|
+
description: "Indicates the form that is the owner of the element."
|
|
1462
|
+
},
|
|
1463
|
+
formAction: {
|
|
1464
|
+
required: false,
|
|
1465
|
+
control: "text",
|
|
1466
|
+
type: "string",
|
|
1467
|
+
description: "Indicates the action of the element, overriding the action defined inthe form."
|
|
1468
|
+
},
|
|
1469
|
+
formEncType: {
|
|
1470
|
+
required: false,
|
|
1471
|
+
control: "text",
|
|
1472
|
+
type: "string",
|
|
1473
|
+
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.`
|
|
1474
|
+
},
|
|
1475
|
+
formMethod: {
|
|
1476
|
+
required: false,
|
|
1477
|
+
control: "text",
|
|
1478
|
+
type: "string",
|
|
1479
|
+
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.`
|
|
1480
|
+
},
|
|
1481
|
+
formNoValidate: {
|
|
1482
|
+
required: false,
|
|
1483
|
+
control: "boolean",
|
|
1484
|
+
type: "boolean",
|
|
1485
|
+
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.`
|
|
1486
|
+
},
|
|
1487
|
+
formTarget: {
|
|
1488
|
+
required: false,
|
|
1489
|
+
control: "text",
|
|
1490
|
+
type: "string",
|
|
1491
|
+
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.`
|
|
1492
|
+
},
|
|
1493
|
+
hidden: {
|
|
1494
|
+
required: false,
|
|
1495
|
+
control: "boolean",
|
|
1496
|
+
type: "boolean",
|
|
1497
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
1498
|
+
},
|
|
1499
|
+
id: {
|
|
1500
|
+
required: false,
|
|
1501
|
+
control: "text",
|
|
1502
|
+
type: "string",
|
|
1503
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
1504
|
+
},
|
|
1238
1505
|
inputMode: {
|
|
1239
1506
|
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",
|
|
1240
1507
|
required: false,
|
|
@@ -1262,21 +1529,56 @@ const propsTabsTrigger = {
|
|
|
1262
1529
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1263
1530
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1264
1531
|
itemType: { required: false, control: "text", type: "string" },
|
|
1265
|
-
lang: {
|
|
1266
|
-
|
|
1532
|
+
lang: {
|
|
1533
|
+
required: false,
|
|
1534
|
+
control: "text",
|
|
1535
|
+
type: "string",
|
|
1536
|
+
description: "Defines the language used in the element."
|
|
1537
|
+
},
|
|
1538
|
+
name: {
|
|
1539
|
+
required: false,
|
|
1540
|
+
control: "text",
|
|
1541
|
+
type: "string",
|
|
1542
|
+
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)."
|
|
1543
|
+
},
|
|
1267
1544
|
nonce: { required: false, control: "text", type: "string" },
|
|
1268
|
-
placeholder: {
|
|
1545
|
+
placeholder: {
|
|
1546
|
+
required: false,
|
|
1547
|
+
control: "text",
|
|
1548
|
+
type: "string",
|
|
1549
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
1550
|
+
},
|
|
1269
1551
|
prefix: { required: false, control: "text", type: "string" },
|
|
1270
1552
|
property: { required: false, control: "text", type: "string" },
|
|
1271
1553
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1272
|
-
rel: {
|
|
1554
|
+
rel: {
|
|
1555
|
+
required: false,
|
|
1556
|
+
control: "text",
|
|
1557
|
+
type: "string",
|
|
1558
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1559
|
+
},
|
|
1273
1560
|
resource: { required: false, control: "text", type: "string" },
|
|
1274
1561
|
results: { required: false, control: "number", type: "number" },
|
|
1275
1562
|
rev: { required: false, control: "text", type: "string" },
|
|
1276
|
-
role: {
|
|
1563
|
+
role: {
|
|
1564
|
+
required: false,
|
|
1565
|
+
control: "text",
|
|
1566
|
+
type: "string",
|
|
1567
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1568
|
+
},
|
|
1277
1569
|
security: { required: false, control: "text", type: "string" },
|
|
1278
|
-
slot: {
|
|
1279
|
-
|
|
1570
|
+
slot: {
|
|
1571
|
+
required: false,
|
|
1572
|
+
control: "text",
|
|
1573
|
+
type: "string",
|
|
1574
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1575
|
+
},
|
|
1576
|
+
spellCheck: {
|
|
1577
|
+
required: false,
|
|
1578
|
+
control: "boolean",
|
|
1579
|
+
type: "boolean",
|
|
1580
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1581
|
+
},
|
|
1280
1582
|
suppressContentEditableWarning: {
|
|
1281
1583
|
required: false,
|
|
1282
1584
|
control: "boolean",
|
|
@@ -1287,19 +1589,31 @@ const propsTabsTrigger = {
|
|
|
1287
1589
|
control: "boolean",
|
|
1288
1590
|
type: "boolean"
|
|
1289
1591
|
},
|
|
1290
|
-
tabIndex: {
|
|
1291
|
-
|
|
1592
|
+
tabIndex: {
|
|
1593
|
+
required: false,
|
|
1594
|
+
control: "number",
|
|
1595
|
+
type: "number",
|
|
1596
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1597
|
+
},
|
|
1598
|
+
title: {
|
|
1599
|
+
required: false,
|
|
1600
|
+
control: "text",
|
|
1601
|
+
type: "string",
|
|
1602
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1603
|
+
},
|
|
1292
1604
|
translate: {
|
|
1293
1605
|
required: false,
|
|
1294
1606
|
control: "radio",
|
|
1295
1607
|
type: "string",
|
|
1296
|
-
options: ["yes", "no"]
|
|
1608
|
+
options: ["yes", "no"],
|
|
1609
|
+
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."
|
|
1297
1610
|
},
|
|
1298
1611
|
type: {
|
|
1299
1612
|
required: false,
|
|
1300
1613
|
control: "radio",
|
|
1301
1614
|
type: "string",
|
|
1302
|
-
options: ["button", "submit", "reset"]
|
|
1615
|
+
options: ["button", "submit", "reset"],
|
|
1616
|
+
description: "Defines the type of the element."
|
|
1303
1617
|
},
|
|
1304
1618
|
typeof: { required: false, control: "text", type: "string" },
|
|
1305
1619
|
unselectable: {
|
|
@@ -1308,12 +1622,22 @@ const propsTabsTrigger = {
|
|
|
1308
1622
|
type: "string",
|
|
1309
1623
|
options: ["on", "off"]
|
|
1310
1624
|
},
|
|
1311
|
-
value: {
|
|
1625
|
+
value: {
|
|
1626
|
+
required: true,
|
|
1627
|
+
control: "text",
|
|
1628
|
+
type: "string",
|
|
1629
|
+
description: "Defines a default value which will be displayed in the element on pageload."
|
|
1630
|
+
},
|
|
1312
1631
|
vocab: { required: false, control: "text", type: "string" }
|
|
1313
1632
|
};
|
|
1314
1633
|
const propsTabsContent = {
|
|
1315
1634
|
about: { required: false, control: "text", type: "string" },
|
|
1316
|
-
accessKey: {
|
|
1635
|
+
accessKey: {
|
|
1636
|
+
required: false,
|
|
1637
|
+
control: "text",
|
|
1638
|
+
type: "string",
|
|
1639
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1640
|
+
},
|
|
1317
1641
|
"aria-activedescendant": {
|
|
1318
1642
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
1319
1643
|
required: false,
|
|
@@ -1469,7 +1793,7 @@ const propsTabsContent = {
|
|
|
1469
1793
|
type: "string"
|
|
1470
1794
|
},
|
|
1471
1795
|
"aria-label": {
|
|
1472
|
-
description: "
|
|
1796
|
+
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.",
|
|
1473
1797
|
required: false,
|
|
1474
1798
|
control: "text",
|
|
1475
1799
|
type: "string"
|
|
@@ -1645,19 +1969,64 @@ const propsTabsContent = {
|
|
|
1645
1969
|
control: "text",
|
|
1646
1970
|
type: "string"
|
|
1647
1971
|
},
|
|
1648
|
-
autoCapitalize: {
|
|
1972
|
+
autoCapitalize: {
|
|
1973
|
+
required: false,
|
|
1974
|
+
control: "text",
|
|
1975
|
+
type: "string",
|
|
1976
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1977
|
+
},
|
|
1649
1978
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1650
|
-
autoFocus: {
|
|
1979
|
+
autoFocus: {
|
|
1980
|
+
required: false,
|
|
1981
|
+
control: "boolean",
|
|
1982
|
+
type: "boolean",
|
|
1983
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1984
|
+
},
|
|
1651
1985
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1652
1986
|
className: { required: false, control: "text", type: "string" },
|
|
1653
|
-
color: {
|
|
1654
|
-
|
|
1655
|
-
|
|
1987
|
+
color: {
|
|
1988
|
+
required: false,
|
|
1989
|
+
control: "color",
|
|
1990
|
+
type: "string",
|
|
1991
|
+
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."
|
|
1992
|
+
},
|
|
1993
|
+
content: {
|
|
1994
|
+
required: false,
|
|
1995
|
+
control: "text",
|
|
1996
|
+
type: "string",
|
|
1997
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1998
|
+
},
|
|
1999
|
+
contextMenu: {
|
|
2000
|
+
required: false,
|
|
2001
|
+
control: "text",
|
|
2002
|
+
type: "string",
|
|
2003
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
2004
|
+
},
|
|
1656
2005
|
datatype: { required: false, control: "text", type: "string" },
|
|
1657
|
-
dir: {
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
2006
|
+
dir: {
|
|
2007
|
+
required: false,
|
|
2008
|
+
control: "text",
|
|
2009
|
+
type: "string",
|
|
2010
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
2011
|
+
},
|
|
2012
|
+
draggable: {
|
|
2013
|
+
required: false,
|
|
2014
|
+
control: "boolean",
|
|
2015
|
+
type: "boolean",
|
|
2016
|
+
description: "Defines whether the element can be dragged."
|
|
2017
|
+
},
|
|
2018
|
+
hidden: {
|
|
2019
|
+
required: false,
|
|
2020
|
+
control: "boolean",
|
|
2021
|
+
type: "boolean",
|
|
2022
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
2023
|
+
},
|
|
2024
|
+
id: {
|
|
2025
|
+
required: false,
|
|
2026
|
+
control: "text",
|
|
2027
|
+
type: "string",
|
|
2028
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
2029
|
+
},
|
|
1661
2030
|
inputMode: {
|
|
1662
2031
|
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",
|
|
1663
2032
|
required: false,
|
|
@@ -1685,20 +2054,50 @@ const propsTabsContent = {
|
|
|
1685
2054
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1686
2055
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1687
2056
|
itemType: { required: false, control: "text", type: "string" },
|
|
1688
|
-
lang: {
|
|
2057
|
+
lang: {
|
|
2058
|
+
required: false,
|
|
2059
|
+
control: "text",
|
|
2060
|
+
type: "string",
|
|
2061
|
+
description: "Defines the language used in the element."
|
|
2062
|
+
},
|
|
1689
2063
|
nonce: { required: false, control: "text", type: "string" },
|
|
1690
|
-
placeholder: {
|
|
2064
|
+
placeholder: {
|
|
2065
|
+
required: false,
|
|
2066
|
+
control: "text",
|
|
2067
|
+
type: "string",
|
|
2068
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
2069
|
+
},
|
|
1691
2070
|
prefix: { required: false, control: "text", type: "string" },
|
|
1692
2071
|
property: { required: false, control: "text", type: "string" },
|
|
1693
2072
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1694
|
-
rel: {
|
|
2073
|
+
rel: {
|
|
2074
|
+
required: false,
|
|
2075
|
+
control: "text",
|
|
2076
|
+
type: "string",
|
|
2077
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
2078
|
+
},
|
|
1695
2079
|
resource: { required: false, control: "text", type: "string" },
|
|
1696
2080
|
results: { required: false, control: "number", type: "number" },
|
|
1697
2081
|
rev: { required: false, control: "text", type: "string" },
|
|
1698
|
-
role: {
|
|
2082
|
+
role: {
|
|
2083
|
+
required: false,
|
|
2084
|
+
control: "text",
|
|
2085
|
+
type: "string",
|
|
2086
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
2087
|
+
},
|
|
1699
2088
|
security: { required: false, control: "text", type: "string" },
|
|
1700
|
-
slot: {
|
|
1701
|
-
|
|
2089
|
+
slot: {
|
|
2090
|
+
required: false,
|
|
2091
|
+
control: "text",
|
|
2092
|
+
type: "string",
|
|
2093
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
2094
|
+
},
|
|
2095
|
+
spellCheck: {
|
|
2096
|
+
required: false,
|
|
2097
|
+
control: "boolean",
|
|
2098
|
+
type: "boolean",
|
|
2099
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
2100
|
+
},
|
|
1702
2101
|
suppressContentEditableWarning: {
|
|
1703
2102
|
required: false,
|
|
1704
2103
|
control: "boolean",
|
|
@@ -1709,13 +2108,24 @@ const propsTabsContent = {
|
|
|
1709
2108
|
control: "boolean",
|
|
1710
2109
|
type: "boolean"
|
|
1711
2110
|
},
|
|
1712
|
-
tabIndex: {
|
|
1713
|
-
|
|
2111
|
+
tabIndex: {
|
|
2112
|
+
required: false,
|
|
2113
|
+
control: "number",
|
|
2114
|
+
type: "number",
|
|
2115
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
2116
|
+
},
|
|
2117
|
+
title: {
|
|
2118
|
+
required: false,
|
|
2119
|
+
control: "text",
|
|
2120
|
+
type: "string",
|
|
2121
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
2122
|
+
},
|
|
1714
2123
|
translate: {
|
|
1715
2124
|
required: false,
|
|
1716
2125
|
control: "radio",
|
|
1717
2126
|
type: "string",
|
|
1718
|
-
options: ["yes", "no"]
|
|
2127
|
+
options: ["yes", "no"],
|
|
2128
|
+
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."
|
|
1719
2129
|
},
|
|
1720
2130
|
typeof: { required: false, control: "text", type: "string" },
|
|
1721
2131
|
unselectable: {
|
|
@@ -1724,6 +2134,11 @@ const propsTabsContent = {
|
|
|
1724
2134
|
type: "string",
|
|
1725
2135
|
options: ["on", "off"]
|
|
1726
2136
|
},
|
|
1727
|
-
value: {
|
|
2137
|
+
value: {
|
|
2138
|
+
required: true,
|
|
2139
|
+
control: "text",
|
|
2140
|
+
type: "string",
|
|
2141
|
+
description: "Defines a default value which will be displayed in the element on pageload."
|
|
2142
|
+
},
|
|
1728
2143
|
vocab: { required: false, control: "text", type: "string" }
|
|
1729
2144
|
};
|