@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
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
const propsTabs = {
|
|
2
2
|
about: { required: false, control: "text", type: "string" },
|
|
3
|
-
accessKey: {
|
|
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: "
|
|
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: {
|
|
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: {
|
|
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: {
|
|
348
|
-
|
|
349
|
-
|
|
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: {
|
|
359
|
-
|
|
360
|
-
|
|
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: {
|
|
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: {
|
|
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: {
|
|
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: {
|
|
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: {
|
|
408
|
-
|
|
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: {
|
|
420
|
-
|
|
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: {
|
|
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: "
|
|
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: {
|
|
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: {
|
|
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: {
|
|
782
|
-
|
|
783
|
-
|
|
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: {
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
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: {
|
|
817
|
-
|
|
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: {
|
|
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: {
|
|
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: {
|
|
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: {
|
|
830
|
-
|
|
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: {
|
|
842
|
-
|
|
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: {
|
|
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: "
|
|
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: {
|
|
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: {
|
|
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: {
|
|
1198
|
-
|
|
1199
|
-
|
|
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: {
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
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: {
|
|
1240
|
-
|
|
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: {
|
|
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: {
|
|
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: {
|
|
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: {
|
|
1253
|
-
|
|
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: {
|
|
1265
|
-
|
|
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: {
|
|
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: {
|
|
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: "
|
|
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: {
|
|
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: {
|
|
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: {
|
|
1628
|
-
|
|
1629
|
-
|
|
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: {
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
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: {
|
|
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: {
|
|
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: {
|
|
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: {
|
|
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: {
|
|
1675
|
-
|
|
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: {
|
|
1687
|
-
|
|
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: {
|
|
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 {
|