@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,12 +1,23 @@
|
|
|
1
1
|
import type { PropMeta } from "@webstudio-is/generate-arg-types";
|
|
2
2
|
|
|
3
3
|
export const propsSheet: Record<string, PropMeta> = {
|
|
4
|
-
open: {
|
|
4
|
+
open: {
|
|
5
|
+
required: false,
|
|
6
|
+
control: "boolean",
|
|
7
|
+
type: "boolean",
|
|
8
|
+
description:
|
|
9
|
+
"Show or hide the content of this component on the canvas. This will not affect the initial state of the component.",
|
|
10
|
+
},
|
|
5
11
|
};
|
|
6
12
|
export const propsSheetTrigger: Record<string, PropMeta> = {};
|
|
7
13
|
export const propsSheetOverlay: Record<string, PropMeta> = {
|
|
8
14
|
about: { required: false, control: "text", type: "string" },
|
|
9
|
-
accessKey: {
|
|
15
|
+
accessKey: {
|
|
16
|
+
required: false,
|
|
17
|
+
control: "text",
|
|
18
|
+
type: "string",
|
|
19
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
20
|
+
},
|
|
10
21
|
"aria-activedescendant": {
|
|
11
22
|
description:
|
|
12
23
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -187,7 +198,7 @@ export const propsSheetOverlay: Record<string, PropMeta> = {
|
|
|
187
198
|
},
|
|
188
199
|
"aria-label": {
|
|
189
200
|
description:
|
|
190
|
-
"
|
|
201
|
+
"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.",
|
|
191
202
|
required: false,
|
|
192
203
|
control: "text",
|
|
193
204
|
type: "string",
|
|
@@ -386,19 +397,72 @@ export const propsSheetOverlay: Record<string, PropMeta> = {
|
|
|
386
397
|
control: "text",
|
|
387
398
|
type: "string",
|
|
388
399
|
},
|
|
389
|
-
autoCapitalize: {
|
|
400
|
+
autoCapitalize: {
|
|
401
|
+
required: false,
|
|
402
|
+
control: "text",
|
|
403
|
+
type: "string",
|
|
404
|
+
description:
|
|
405
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
406
|
+
},
|
|
390
407
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
391
|
-
autoFocus: {
|
|
408
|
+
autoFocus: {
|
|
409
|
+
required: false,
|
|
410
|
+
control: "boolean",
|
|
411
|
+
type: "boolean",
|
|
412
|
+
description:
|
|
413
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
414
|
+
},
|
|
392
415
|
autoSave: { required: false, control: "text", type: "string" },
|
|
393
416
|
className: { required: false, control: "text", type: "string" },
|
|
394
|
-
color: {
|
|
395
|
-
|
|
396
|
-
|
|
417
|
+
color: {
|
|
418
|
+
required: false,
|
|
419
|
+
control: "color",
|
|
420
|
+
type: "string",
|
|
421
|
+
description:
|
|
422
|
+
"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.",
|
|
423
|
+
},
|
|
424
|
+
content: {
|
|
425
|
+
required: false,
|
|
426
|
+
control: "text",
|
|
427
|
+
type: "string",
|
|
428
|
+
description:
|
|
429
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
430
|
+
},
|
|
431
|
+
contextMenu: {
|
|
432
|
+
required: false,
|
|
433
|
+
control: "text",
|
|
434
|
+
type: "string",
|
|
435
|
+
description:
|
|
436
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
437
|
+
},
|
|
397
438
|
datatype: { required: false, control: "text", type: "string" },
|
|
398
|
-
dir: {
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
439
|
+
dir: {
|
|
440
|
+
required: false,
|
|
441
|
+
control: "text",
|
|
442
|
+
type: "string",
|
|
443
|
+
description:
|
|
444
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
445
|
+
},
|
|
446
|
+
draggable: {
|
|
447
|
+
required: false,
|
|
448
|
+
control: "boolean",
|
|
449
|
+
type: "boolean",
|
|
450
|
+
description: "Defines whether the element can be dragged.",
|
|
451
|
+
},
|
|
452
|
+
hidden: {
|
|
453
|
+
required: false,
|
|
454
|
+
control: "boolean",
|
|
455
|
+
type: "boolean",
|
|
456
|
+
description:
|
|
457
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
458
|
+
},
|
|
459
|
+
id: {
|
|
460
|
+
required: false,
|
|
461
|
+
control: "text",
|
|
462
|
+
type: "string",
|
|
463
|
+
description:
|
|
464
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
465
|
+
},
|
|
402
466
|
inputMode: {
|
|
403
467
|
description:
|
|
404
468
|
"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",
|
|
@@ -428,13 +492,30 @@ export const propsSheetOverlay: Record<string, PropMeta> = {
|
|
|
428
492
|
itemRef: { required: false, control: "text", type: "string" },
|
|
429
493
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
430
494
|
itemType: { required: false, control: "text", type: "string" },
|
|
431
|
-
lang: {
|
|
495
|
+
lang: {
|
|
496
|
+
required: false,
|
|
497
|
+
control: "text",
|
|
498
|
+
type: "string",
|
|
499
|
+
description: "Defines the language used in the element.",
|
|
500
|
+
},
|
|
432
501
|
nonce: { required: false, control: "text", type: "string" },
|
|
433
|
-
placeholder: {
|
|
502
|
+
placeholder: {
|
|
503
|
+
required: false,
|
|
504
|
+
control: "text",
|
|
505
|
+
type: "string",
|
|
506
|
+
description:
|
|
507
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
508
|
+
},
|
|
434
509
|
prefix: { required: false, control: "text", type: "string" },
|
|
435
510
|
property: { required: false, control: "text", type: "string" },
|
|
436
511
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
437
|
-
rel: {
|
|
512
|
+
rel: {
|
|
513
|
+
required: false,
|
|
514
|
+
control: "text",
|
|
515
|
+
type: "string",
|
|
516
|
+
description:
|
|
517
|
+
"Specifies the relationship of the target object to the link object.",
|
|
518
|
+
},
|
|
438
519
|
resource: { required: false, control: "text", type: "string" },
|
|
439
520
|
results: { required: false, control: "number", type: "number" },
|
|
440
521
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -443,10 +524,22 @@ export const propsSheetOverlay: Record<string, PropMeta> = {
|
|
|
443
524
|
control: "text",
|
|
444
525
|
type: "string",
|
|
445
526
|
defaultValue: "navigation",
|
|
527
|
+
description:
|
|
528
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
446
529
|
},
|
|
447
530
|
security: { required: false, control: "text", type: "string" },
|
|
448
|
-
slot: {
|
|
449
|
-
|
|
531
|
+
slot: {
|
|
532
|
+
required: false,
|
|
533
|
+
control: "text",
|
|
534
|
+
type: "string",
|
|
535
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
536
|
+
},
|
|
537
|
+
spellCheck: {
|
|
538
|
+
required: false,
|
|
539
|
+
control: "boolean",
|
|
540
|
+
type: "boolean",
|
|
541
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
542
|
+
},
|
|
450
543
|
suppressContentEditableWarning: {
|
|
451
544
|
required: false,
|
|
452
545
|
control: "boolean",
|
|
@@ -457,13 +550,27 @@ export const propsSheetOverlay: Record<string, PropMeta> = {
|
|
|
457
550
|
control: "boolean",
|
|
458
551
|
type: "boolean",
|
|
459
552
|
},
|
|
460
|
-
tabIndex: {
|
|
461
|
-
|
|
553
|
+
tabIndex: {
|
|
554
|
+
required: false,
|
|
555
|
+
control: "number",
|
|
556
|
+
type: "number",
|
|
557
|
+
description:
|
|
558
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
559
|
+
},
|
|
560
|
+
title: {
|
|
561
|
+
required: false,
|
|
562
|
+
control: "text",
|
|
563
|
+
type: "string",
|
|
564
|
+
description:
|
|
565
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
566
|
+
},
|
|
462
567
|
translate: {
|
|
463
568
|
required: false,
|
|
464
569
|
control: "radio",
|
|
465
570
|
type: "string",
|
|
466
571
|
options: ["yes", "no"],
|
|
572
|
+
description:
|
|
573
|
+
"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.",
|
|
467
574
|
},
|
|
468
575
|
typeof: { required: false, control: "text", type: "string" },
|
|
469
576
|
unselectable: {
|
|
@@ -476,7 +583,12 @@ export const propsSheetOverlay: Record<string, PropMeta> = {
|
|
|
476
583
|
};
|
|
477
584
|
export const propsSheetClose: Record<string, PropMeta> = {
|
|
478
585
|
about: { required: false, control: "text", type: "string" },
|
|
479
|
-
accessKey: {
|
|
586
|
+
accessKey: {
|
|
587
|
+
required: false,
|
|
588
|
+
control: "text",
|
|
589
|
+
type: "string",
|
|
590
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
591
|
+
},
|
|
480
592
|
"aria-activedescendant": {
|
|
481
593
|
description:
|
|
482
594
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -657,7 +769,7 @@ export const propsSheetClose: Record<string, PropMeta> = {
|
|
|
657
769
|
},
|
|
658
770
|
"aria-label": {
|
|
659
771
|
description:
|
|
660
|
-
"
|
|
772
|
+
"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.",
|
|
661
773
|
required: false,
|
|
662
774
|
control: "text",
|
|
663
775
|
type: "string",
|
|
@@ -856,26 +968,119 @@ export const propsSheetClose: Record<string, PropMeta> = {
|
|
|
856
968
|
control: "text",
|
|
857
969
|
type: "string",
|
|
858
970
|
},
|
|
859
|
-
autoCapitalize: {
|
|
971
|
+
autoCapitalize: {
|
|
972
|
+
required: false,
|
|
973
|
+
control: "text",
|
|
974
|
+
type: "string",
|
|
975
|
+
description:
|
|
976
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
977
|
+
},
|
|
860
978
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
861
|
-
autoFocus: {
|
|
979
|
+
autoFocus: {
|
|
980
|
+
required: false,
|
|
981
|
+
control: "boolean",
|
|
982
|
+
type: "boolean",
|
|
983
|
+
description:
|
|
984
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
985
|
+
},
|
|
862
986
|
autoSave: { required: false, control: "text", type: "string" },
|
|
863
987
|
className: { required: false, control: "text", type: "string" },
|
|
864
|
-
color: {
|
|
865
|
-
|
|
866
|
-
|
|
988
|
+
color: {
|
|
989
|
+
required: false,
|
|
990
|
+
control: "color",
|
|
991
|
+
type: "string",
|
|
992
|
+
description:
|
|
993
|
+
"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.",
|
|
994
|
+
},
|
|
995
|
+
content: {
|
|
996
|
+
required: false,
|
|
997
|
+
control: "text",
|
|
998
|
+
type: "string",
|
|
999
|
+
description:
|
|
1000
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
1001
|
+
},
|
|
1002
|
+
contextMenu: {
|
|
1003
|
+
required: false,
|
|
1004
|
+
control: "text",
|
|
1005
|
+
type: "string",
|
|
1006
|
+
description:
|
|
1007
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
1008
|
+
},
|
|
867
1009
|
datatype: { required: false, control: "text", type: "string" },
|
|
868
|
-
dir: {
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
1010
|
+
dir: {
|
|
1011
|
+
required: false,
|
|
1012
|
+
control: "text",
|
|
1013
|
+
type: "string",
|
|
1014
|
+
description:
|
|
1015
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
1016
|
+
},
|
|
1017
|
+
disabled: {
|
|
1018
|
+
required: false,
|
|
1019
|
+
control: "boolean",
|
|
1020
|
+
type: "boolean",
|
|
1021
|
+
description: "Indicates whether the user can interact with the element.",
|
|
1022
|
+
},
|
|
1023
|
+
draggable: {
|
|
1024
|
+
required: false,
|
|
1025
|
+
control: "boolean",
|
|
1026
|
+
type: "boolean",
|
|
1027
|
+
description: "Defines whether the element can be dragged.",
|
|
1028
|
+
},
|
|
1029
|
+
form: {
|
|
1030
|
+
required: false,
|
|
1031
|
+
control: "text",
|
|
1032
|
+
type: "string",
|
|
1033
|
+
description: "Indicates the form that is the owner of the element.",
|
|
1034
|
+
},
|
|
1035
|
+
formAction: {
|
|
1036
|
+
required: false,
|
|
1037
|
+
control: "text",
|
|
1038
|
+
type: "string",
|
|
1039
|
+
description:
|
|
1040
|
+
"Indicates the action of the element, overriding the action defined inthe form.",
|
|
1041
|
+
},
|
|
1042
|
+
formEncType: {
|
|
1043
|
+
required: false,
|
|
1044
|
+
control: "text",
|
|
1045
|
+
type: "string",
|
|
1046
|
+
description:
|
|
1047
|
+
'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.',
|
|
1048
|
+
},
|
|
1049
|
+
formMethod: {
|
|
1050
|
+
required: false,
|
|
1051
|
+
control: "text",
|
|
1052
|
+
type: "string",
|
|
1053
|
+
description:
|
|
1054
|
+
'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.',
|
|
1055
|
+
},
|
|
1056
|
+
formNoValidate: {
|
|
1057
|
+
required: false,
|
|
1058
|
+
control: "boolean",
|
|
1059
|
+
type: "boolean",
|
|
1060
|
+
description:
|
|
1061
|
+
'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.',
|
|
1062
|
+
},
|
|
1063
|
+
formTarget: {
|
|
1064
|
+
required: false,
|
|
1065
|
+
control: "text",
|
|
1066
|
+
type: "string",
|
|
1067
|
+
description:
|
|
1068
|
+
'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.',
|
|
1069
|
+
},
|
|
1070
|
+
hidden: {
|
|
1071
|
+
required: false,
|
|
1072
|
+
control: "boolean",
|
|
1073
|
+
type: "boolean",
|
|
1074
|
+
description:
|
|
1075
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
1076
|
+
},
|
|
1077
|
+
id: {
|
|
1078
|
+
required: false,
|
|
1079
|
+
control: "text",
|
|
1080
|
+
type: "string",
|
|
1081
|
+
description:
|
|
1082
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
1083
|
+
},
|
|
879
1084
|
inputMode: {
|
|
880
1085
|
description:
|
|
881
1086
|
"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",
|
|
@@ -905,14 +1110,37 @@ export const propsSheetClose: Record<string, PropMeta> = {
|
|
|
905
1110
|
itemRef: { required: false, control: "text", type: "string" },
|
|
906
1111
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
907
1112
|
itemType: { required: false, control: "text", type: "string" },
|
|
908
|
-
lang: {
|
|
909
|
-
|
|
1113
|
+
lang: {
|
|
1114
|
+
required: false,
|
|
1115
|
+
control: "text",
|
|
1116
|
+
type: "string",
|
|
1117
|
+
description: "Defines the language used in the element.",
|
|
1118
|
+
},
|
|
1119
|
+
name: {
|
|
1120
|
+
required: false,
|
|
1121
|
+
control: "text",
|
|
1122
|
+
type: "string",
|
|
1123
|
+
description:
|
|
1124
|
+
"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).",
|
|
1125
|
+
},
|
|
910
1126
|
nonce: { required: false, control: "text", type: "string" },
|
|
911
|
-
placeholder: {
|
|
1127
|
+
placeholder: {
|
|
1128
|
+
required: false,
|
|
1129
|
+
control: "text",
|
|
1130
|
+
type: "string",
|
|
1131
|
+
description:
|
|
1132
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
1133
|
+
},
|
|
912
1134
|
prefix: { required: false, control: "text", type: "string" },
|
|
913
1135
|
property: { required: false, control: "text", type: "string" },
|
|
914
1136
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
915
|
-
rel: {
|
|
1137
|
+
rel: {
|
|
1138
|
+
required: false,
|
|
1139
|
+
control: "text",
|
|
1140
|
+
type: "string",
|
|
1141
|
+
description:
|
|
1142
|
+
"Specifies the relationship of the target object to the link object.",
|
|
1143
|
+
},
|
|
916
1144
|
resource: { required: false, control: "text", type: "string" },
|
|
917
1145
|
results: { required: false, control: "number", type: "number" },
|
|
918
1146
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -921,10 +1149,22 @@ export const propsSheetClose: Record<string, PropMeta> = {
|
|
|
921
1149
|
control: "text",
|
|
922
1150
|
type: "string",
|
|
923
1151
|
defaultValue: "navigation",
|
|
1152
|
+
description:
|
|
1153
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
924
1154
|
},
|
|
925
1155
|
security: { required: false, control: "text", type: "string" },
|
|
926
|
-
slot: {
|
|
927
|
-
|
|
1156
|
+
slot: {
|
|
1157
|
+
required: false,
|
|
1158
|
+
control: "text",
|
|
1159
|
+
type: "string",
|
|
1160
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
1161
|
+
},
|
|
1162
|
+
spellCheck: {
|
|
1163
|
+
required: false,
|
|
1164
|
+
control: "boolean",
|
|
1165
|
+
type: "boolean",
|
|
1166
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
1167
|
+
},
|
|
928
1168
|
suppressContentEditableWarning: {
|
|
929
1169
|
required: false,
|
|
930
1170
|
control: "boolean",
|
|
@@ -935,19 +1175,34 @@ export const propsSheetClose: Record<string, PropMeta> = {
|
|
|
935
1175
|
control: "boolean",
|
|
936
1176
|
type: "boolean",
|
|
937
1177
|
},
|
|
938
|
-
tabIndex: {
|
|
939
|
-
|
|
1178
|
+
tabIndex: {
|
|
1179
|
+
required: false,
|
|
1180
|
+
control: "number",
|
|
1181
|
+
type: "number",
|
|
1182
|
+
description:
|
|
1183
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
1184
|
+
},
|
|
1185
|
+
title: {
|
|
1186
|
+
required: false,
|
|
1187
|
+
control: "text",
|
|
1188
|
+
type: "string",
|
|
1189
|
+
description:
|
|
1190
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
1191
|
+
},
|
|
940
1192
|
translate: {
|
|
941
1193
|
required: false,
|
|
942
1194
|
control: "radio",
|
|
943
1195
|
type: "string",
|
|
944
1196
|
options: ["yes", "no"],
|
|
1197
|
+
description:
|
|
1198
|
+
"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.",
|
|
945
1199
|
},
|
|
946
1200
|
type: {
|
|
947
1201
|
required: false,
|
|
948
1202
|
control: "radio",
|
|
949
1203
|
type: "string",
|
|
950
1204
|
options: ["button", "submit", "reset"],
|
|
1205
|
+
description: "Defines the type of the element.",
|
|
951
1206
|
},
|
|
952
1207
|
typeof: { required: false, control: "text", type: "string" },
|
|
953
1208
|
unselectable: {
|
|
@@ -960,7 +1215,12 @@ export const propsSheetClose: Record<string, PropMeta> = {
|
|
|
960
1215
|
};
|
|
961
1216
|
export const propsSheetTitle: Record<string, PropMeta> = {
|
|
962
1217
|
about: { required: false, control: "text", type: "string" },
|
|
963
|
-
accessKey: {
|
|
1218
|
+
accessKey: {
|
|
1219
|
+
required: false,
|
|
1220
|
+
control: "text",
|
|
1221
|
+
type: "string",
|
|
1222
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
1223
|
+
},
|
|
964
1224
|
"aria-activedescendant": {
|
|
965
1225
|
description:
|
|
966
1226
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -1141,7 +1401,7 @@ export const propsSheetTitle: Record<string, PropMeta> = {
|
|
|
1141
1401
|
},
|
|
1142
1402
|
"aria-label": {
|
|
1143
1403
|
description:
|
|
1144
|
-
"
|
|
1404
|
+
"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.",
|
|
1145
1405
|
required: false,
|
|
1146
1406
|
control: "text",
|
|
1147
1407
|
type: "string",
|
|
@@ -1340,19 +1600,72 @@ export const propsSheetTitle: Record<string, PropMeta> = {
|
|
|
1340
1600
|
control: "text",
|
|
1341
1601
|
type: "string",
|
|
1342
1602
|
},
|
|
1343
|
-
autoCapitalize: {
|
|
1603
|
+
autoCapitalize: {
|
|
1604
|
+
required: false,
|
|
1605
|
+
control: "text",
|
|
1606
|
+
type: "string",
|
|
1607
|
+
description:
|
|
1608
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
1609
|
+
},
|
|
1344
1610
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1345
|
-
autoFocus: {
|
|
1611
|
+
autoFocus: {
|
|
1612
|
+
required: false,
|
|
1613
|
+
control: "boolean",
|
|
1614
|
+
type: "boolean",
|
|
1615
|
+
description:
|
|
1616
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
1617
|
+
},
|
|
1346
1618
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1347
1619
|
className: { required: false, control: "text", type: "string" },
|
|
1348
|
-
color: {
|
|
1349
|
-
|
|
1350
|
-
|
|
1620
|
+
color: {
|
|
1621
|
+
required: false,
|
|
1622
|
+
control: "color",
|
|
1623
|
+
type: "string",
|
|
1624
|
+
description:
|
|
1625
|
+
"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.",
|
|
1626
|
+
},
|
|
1627
|
+
content: {
|
|
1628
|
+
required: false,
|
|
1629
|
+
control: "text",
|
|
1630
|
+
type: "string",
|
|
1631
|
+
description:
|
|
1632
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
1633
|
+
},
|
|
1634
|
+
contextMenu: {
|
|
1635
|
+
required: false,
|
|
1636
|
+
control: "text",
|
|
1637
|
+
type: "string",
|
|
1638
|
+
description:
|
|
1639
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
1640
|
+
},
|
|
1351
1641
|
datatype: { required: false, control: "text", type: "string" },
|
|
1352
|
-
dir: {
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1642
|
+
dir: {
|
|
1643
|
+
required: false,
|
|
1644
|
+
control: "text",
|
|
1645
|
+
type: "string",
|
|
1646
|
+
description:
|
|
1647
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
1648
|
+
},
|
|
1649
|
+
draggable: {
|
|
1650
|
+
required: false,
|
|
1651
|
+
control: "boolean",
|
|
1652
|
+
type: "boolean",
|
|
1653
|
+
description: "Defines whether the element can be dragged.",
|
|
1654
|
+
},
|
|
1655
|
+
hidden: {
|
|
1656
|
+
required: false,
|
|
1657
|
+
control: "boolean",
|
|
1658
|
+
type: "boolean",
|
|
1659
|
+
description:
|
|
1660
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
1661
|
+
},
|
|
1662
|
+
id: {
|
|
1663
|
+
required: false,
|
|
1664
|
+
control: "text",
|
|
1665
|
+
type: "string",
|
|
1666
|
+
description:
|
|
1667
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
1668
|
+
},
|
|
1356
1669
|
inputMode: {
|
|
1357
1670
|
description:
|
|
1358
1671
|
"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",
|
|
@@ -1382,13 +1695,30 @@ export const propsSheetTitle: Record<string, PropMeta> = {
|
|
|
1382
1695
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1383
1696
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1384
1697
|
itemType: { required: false, control: "text", type: "string" },
|
|
1385
|
-
lang: {
|
|
1698
|
+
lang: {
|
|
1699
|
+
required: false,
|
|
1700
|
+
control: "text",
|
|
1701
|
+
type: "string",
|
|
1702
|
+
description: "Defines the language used in the element.",
|
|
1703
|
+
},
|
|
1386
1704
|
nonce: { required: false, control: "text", type: "string" },
|
|
1387
|
-
placeholder: {
|
|
1705
|
+
placeholder: {
|
|
1706
|
+
required: false,
|
|
1707
|
+
control: "text",
|
|
1708
|
+
type: "string",
|
|
1709
|
+
description:
|
|
1710
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
1711
|
+
},
|
|
1388
1712
|
prefix: { required: false, control: "text", type: "string" },
|
|
1389
1713
|
property: { required: false, control: "text", type: "string" },
|
|
1390
1714
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1391
|
-
rel: {
|
|
1715
|
+
rel: {
|
|
1716
|
+
required: false,
|
|
1717
|
+
control: "text",
|
|
1718
|
+
type: "string",
|
|
1719
|
+
description:
|
|
1720
|
+
"Specifies the relationship of the target object to the link object.",
|
|
1721
|
+
},
|
|
1392
1722
|
resource: { required: false, control: "text", type: "string" },
|
|
1393
1723
|
results: { required: false, control: "number", type: "number" },
|
|
1394
1724
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -1397,10 +1727,22 @@ export const propsSheetTitle: Record<string, PropMeta> = {
|
|
|
1397
1727
|
control: "text",
|
|
1398
1728
|
type: "string",
|
|
1399
1729
|
defaultValue: "navigation",
|
|
1730
|
+
description:
|
|
1731
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
1400
1732
|
},
|
|
1401
1733
|
security: { required: false, control: "text", type: "string" },
|
|
1402
|
-
slot: {
|
|
1403
|
-
|
|
1734
|
+
slot: {
|
|
1735
|
+
required: false,
|
|
1736
|
+
control: "text",
|
|
1737
|
+
type: "string",
|
|
1738
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
1739
|
+
},
|
|
1740
|
+
spellCheck: {
|
|
1741
|
+
required: false,
|
|
1742
|
+
control: "boolean",
|
|
1743
|
+
type: "boolean",
|
|
1744
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
1745
|
+
},
|
|
1404
1746
|
suppressContentEditableWarning: {
|
|
1405
1747
|
required: false,
|
|
1406
1748
|
control: "boolean",
|
|
@@ -1411,13 +1753,27 @@ export const propsSheetTitle: Record<string, PropMeta> = {
|
|
|
1411
1753
|
control: "boolean",
|
|
1412
1754
|
type: "boolean",
|
|
1413
1755
|
},
|
|
1414
|
-
tabIndex: {
|
|
1415
|
-
|
|
1756
|
+
tabIndex: {
|
|
1757
|
+
required: false,
|
|
1758
|
+
control: "number",
|
|
1759
|
+
type: "number",
|
|
1760
|
+
description:
|
|
1761
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
1762
|
+
},
|
|
1763
|
+
title: {
|
|
1764
|
+
required: false,
|
|
1765
|
+
control: "text",
|
|
1766
|
+
type: "string",
|
|
1767
|
+
description:
|
|
1768
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
1769
|
+
},
|
|
1416
1770
|
translate: {
|
|
1417
1771
|
required: false,
|
|
1418
1772
|
control: "radio",
|
|
1419
1773
|
type: "string",
|
|
1420
1774
|
options: ["yes", "no"],
|
|
1775
|
+
description:
|
|
1776
|
+
"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.",
|
|
1421
1777
|
},
|
|
1422
1778
|
typeof: { required: false, control: "text", type: "string" },
|
|
1423
1779
|
unselectable: {
|
|
@@ -1430,7 +1786,12 @@ export const propsSheetTitle: Record<string, PropMeta> = {
|
|
|
1430
1786
|
};
|
|
1431
1787
|
export const propsSheetDescription: Record<string, PropMeta> = {
|
|
1432
1788
|
about: { required: false, control: "text", type: "string" },
|
|
1433
|
-
accessKey: {
|
|
1789
|
+
accessKey: {
|
|
1790
|
+
required: false,
|
|
1791
|
+
control: "text",
|
|
1792
|
+
type: "string",
|
|
1793
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
1794
|
+
},
|
|
1434
1795
|
"aria-activedescendant": {
|
|
1435
1796
|
description:
|
|
1436
1797
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -1611,7 +1972,7 @@ export const propsSheetDescription: Record<string, PropMeta> = {
|
|
|
1611
1972
|
},
|
|
1612
1973
|
"aria-label": {
|
|
1613
1974
|
description:
|
|
1614
|
-
"
|
|
1975
|
+
"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.",
|
|
1615
1976
|
required: false,
|
|
1616
1977
|
control: "text",
|
|
1617
1978
|
type: "string",
|
|
@@ -1810,19 +2171,72 @@ export const propsSheetDescription: Record<string, PropMeta> = {
|
|
|
1810
2171
|
control: "text",
|
|
1811
2172
|
type: "string",
|
|
1812
2173
|
},
|
|
1813
|
-
autoCapitalize: {
|
|
2174
|
+
autoCapitalize: {
|
|
2175
|
+
required: false,
|
|
2176
|
+
control: "text",
|
|
2177
|
+
type: "string",
|
|
2178
|
+
description:
|
|
2179
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
2180
|
+
},
|
|
1814
2181
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1815
|
-
autoFocus: {
|
|
2182
|
+
autoFocus: {
|
|
2183
|
+
required: false,
|
|
2184
|
+
control: "boolean",
|
|
2185
|
+
type: "boolean",
|
|
2186
|
+
description:
|
|
2187
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
2188
|
+
},
|
|
1816
2189
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1817
2190
|
className: { required: false, control: "text", type: "string" },
|
|
1818
|
-
color: {
|
|
1819
|
-
|
|
1820
|
-
|
|
2191
|
+
color: {
|
|
2192
|
+
required: false,
|
|
2193
|
+
control: "color",
|
|
2194
|
+
type: "string",
|
|
2195
|
+
description:
|
|
2196
|
+
"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.",
|
|
2197
|
+
},
|
|
2198
|
+
content: {
|
|
2199
|
+
required: false,
|
|
2200
|
+
control: "text",
|
|
2201
|
+
type: "string",
|
|
2202
|
+
description:
|
|
2203
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
2204
|
+
},
|
|
2205
|
+
contextMenu: {
|
|
2206
|
+
required: false,
|
|
2207
|
+
control: "text",
|
|
2208
|
+
type: "string",
|
|
2209
|
+
description:
|
|
2210
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
2211
|
+
},
|
|
1821
2212
|
datatype: { required: false, control: "text", type: "string" },
|
|
1822
|
-
dir: {
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
2213
|
+
dir: {
|
|
2214
|
+
required: false,
|
|
2215
|
+
control: "text",
|
|
2216
|
+
type: "string",
|
|
2217
|
+
description:
|
|
2218
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
2219
|
+
},
|
|
2220
|
+
draggable: {
|
|
2221
|
+
required: false,
|
|
2222
|
+
control: "boolean",
|
|
2223
|
+
type: "boolean",
|
|
2224
|
+
description: "Defines whether the element can be dragged.",
|
|
2225
|
+
},
|
|
2226
|
+
hidden: {
|
|
2227
|
+
required: false,
|
|
2228
|
+
control: "boolean",
|
|
2229
|
+
type: "boolean",
|
|
2230
|
+
description:
|
|
2231
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
2232
|
+
},
|
|
2233
|
+
id: {
|
|
2234
|
+
required: false,
|
|
2235
|
+
control: "text",
|
|
2236
|
+
type: "string",
|
|
2237
|
+
description:
|
|
2238
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
2239
|
+
},
|
|
1826
2240
|
inputMode: {
|
|
1827
2241
|
description:
|
|
1828
2242
|
"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",
|
|
@@ -1852,13 +2266,30 @@ export const propsSheetDescription: Record<string, PropMeta> = {
|
|
|
1852
2266
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1853
2267
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1854
2268
|
itemType: { required: false, control: "text", type: "string" },
|
|
1855
|
-
lang: {
|
|
2269
|
+
lang: {
|
|
2270
|
+
required: false,
|
|
2271
|
+
control: "text",
|
|
2272
|
+
type: "string",
|
|
2273
|
+
description: "Defines the language used in the element.",
|
|
2274
|
+
},
|
|
1856
2275
|
nonce: { required: false, control: "text", type: "string" },
|
|
1857
|
-
placeholder: {
|
|
2276
|
+
placeholder: {
|
|
2277
|
+
required: false,
|
|
2278
|
+
control: "text",
|
|
2279
|
+
type: "string",
|
|
2280
|
+
description:
|
|
2281
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
2282
|
+
},
|
|
1858
2283
|
prefix: { required: false, control: "text", type: "string" },
|
|
1859
2284
|
property: { required: false, control: "text", type: "string" },
|
|
1860
2285
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1861
|
-
rel: {
|
|
2286
|
+
rel: {
|
|
2287
|
+
required: false,
|
|
2288
|
+
control: "text",
|
|
2289
|
+
type: "string",
|
|
2290
|
+
description:
|
|
2291
|
+
"Specifies the relationship of the target object to the link object.",
|
|
2292
|
+
},
|
|
1862
2293
|
resource: { required: false, control: "text", type: "string" },
|
|
1863
2294
|
results: { required: false, control: "number", type: "number" },
|
|
1864
2295
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -1867,10 +2298,22 @@ export const propsSheetDescription: Record<string, PropMeta> = {
|
|
|
1867
2298
|
control: "text",
|
|
1868
2299
|
type: "string",
|
|
1869
2300
|
defaultValue: "navigation",
|
|
2301
|
+
description:
|
|
2302
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
1870
2303
|
},
|
|
1871
2304
|
security: { required: false, control: "text", type: "string" },
|
|
1872
|
-
slot: {
|
|
1873
|
-
|
|
2305
|
+
slot: {
|
|
2306
|
+
required: false,
|
|
2307
|
+
control: "text",
|
|
2308
|
+
type: "string",
|
|
2309
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
2310
|
+
},
|
|
2311
|
+
spellCheck: {
|
|
2312
|
+
required: false,
|
|
2313
|
+
control: "boolean",
|
|
2314
|
+
type: "boolean",
|
|
2315
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
2316
|
+
},
|
|
1874
2317
|
suppressContentEditableWarning: {
|
|
1875
2318
|
required: false,
|
|
1876
2319
|
control: "boolean",
|
|
@@ -1881,13 +2324,27 @@ export const propsSheetDescription: Record<string, PropMeta> = {
|
|
|
1881
2324
|
control: "boolean",
|
|
1882
2325
|
type: "boolean",
|
|
1883
2326
|
},
|
|
1884
|
-
tabIndex: {
|
|
1885
|
-
|
|
2327
|
+
tabIndex: {
|
|
2328
|
+
required: false,
|
|
2329
|
+
control: "number",
|
|
2330
|
+
type: "number",
|
|
2331
|
+
description:
|
|
2332
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
2333
|
+
},
|
|
2334
|
+
title: {
|
|
2335
|
+
required: false,
|
|
2336
|
+
control: "text",
|
|
2337
|
+
type: "string",
|
|
2338
|
+
description:
|
|
2339
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
2340
|
+
},
|
|
1886
2341
|
translate: {
|
|
1887
2342
|
required: false,
|
|
1888
2343
|
control: "radio",
|
|
1889
2344
|
type: "string",
|
|
1890
2345
|
options: ["yes", "no"],
|
|
2346
|
+
description:
|
|
2347
|
+
"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.",
|
|
1891
2348
|
},
|
|
1892
2349
|
typeof: { required: false, control: "text", type: "string" },
|
|
1893
2350
|
unselectable: {
|
|
@@ -1900,7 +2357,12 @@ export const propsSheetDescription: Record<string, PropMeta> = {
|
|
|
1900
2357
|
};
|
|
1901
2358
|
export const propsSheetContent: Record<string, PropMeta> = {
|
|
1902
2359
|
about: { required: false, control: "text", type: "string" },
|
|
1903
|
-
accessKey: {
|
|
2360
|
+
accessKey: {
|
|
2361
|
+
required: false,
|
|
2362
|
+
control: "text",
|
|
2363
|
+
type: "string",
|
|
2364
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
2365
|
+
},
|
|
1904
2366
|
"aria-activedescendant": {
|
|
1905
2367
|
description:
|
|
1906
2368
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -2081,7 +2543,7 @@ export const propsSheetContent: Record<string, PropMeta> = {
|
|
|
2081
2543
|
},
|
|
2082
2544
|
"aria-label": {
|
|
2083
2545
|
description:
|
|
2084
|
-
"
|
|
2546
|
+
"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.",
|
|
2085
2547
|
required: false,
|
|
2086
2548
|
control: "text",
|
|
2087
2549
|
type: "string",
|
|
@@ -2280,19 +2742,72 @@ export const propsSheetContent: Record<string, PropMeta> = {
|
|
|
2280
2742
|
control: "text",
|
|
2281
2743
|
type: "string",
|
|
2282
2744
|
},
|
|
2283
|
-
autoCapitalize: {
|
|
2745
|
+
autoCapitalize: {
|
|
2746
|
+
required: false,
|
|
2747
|
+
control: "text",
|
|
2748
|
+
type: "string",
|
|
2749
|
+
description:
|
|
2750
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
2751
|
+
},
|
|
2284
2752
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
2285
|
-
autoFocus: {
|
|
2753
|
+
autoFocus: {
|
|
2754
|
+
required: false,
|
|
2755
|
+
control: "boolean",
|
|
2756
|
+
type: "boolean",
|
|
2757
|
+
description:
|
|
2758
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
2759
|
+
},
|
|
2286
2760
|
autoSave: { required: false, control: "text", type: "string" },
|
|
2287
2761
|
className: { required: false, control: "text", type: "string" },
|
|
2288
|
-
color: {
|
|
2289
|
-
|
|
2290
|
-
|
|
2762
|
+
color: {
|
|
2763
|
+
required: false,
|
|
2764
|
+
control: "color",
|
|
2765
|
+
type: "string",
|
|
2766
|
+
description:
|
|
2767
|
+
"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.",
|
|
2768
|
+
},
|
|
2769
|
+
content: {
|
|
2770
|
+
required: false,
|
|
2771
|
+
control: "text",
|
|
2772
|
+
type: "string",
|
|
2773
|
+
description:
|
|
2774
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
2775
|
+
},
|
|
2776
|
+
contextMenu: {
|
|
2777
|
+
required: false,
|
|
2778
|
+
control: "text",
|
|
2779
|
+
type: "string",
|
|
2780
|
+
description:
|
|
2781
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
2782
|
+
},
|
|
2291
2783
|
datatype: { required: false, control: "text", type: "string" },
|
|
2292
|
-
dir: {
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2784
|
+
dir: {
|
|
2785
|
+
required: false,
|
|
2786
|
+
control: "text",
|
|
2787
|
+
type: "string",
|
|
2788
|
+
description:
|
|
2789
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
2790
|
+
},
|
|
2791
|
+
draggable: {
|
|
2792
|
+
required: false,
|
|
2793
|
+
control: "boolean",
|
|
2794
|
+
type: "boolean",
|
|
2795
|
+
description: "Defines whether the element can be dragged.",
|
|
2796
|
+
},
|
|
2797
|
+
hidden: {
|
|
2798
|
+
required: false,
|
|
2799
|
+
control: "boolean",
|
|
2800
|
+
type: "boolean",
|
|
2801
|
+
description:
|
|
2802
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
2803
|
+
},
|
|
2804
|
+
id: {
|
|
2805
|
+
required: false,
|
|
2806
|
+
control: "text",
|
|
2807
|
+
type: "string",
|
|
2808
|
+
description:
|
|
2809
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
2810
|
+
},
|
|
2296
2811
|
inputMode: {
|
|
2297
2812
|
description:
|
|
2298
2813
|
"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",
|
|
@@ -2322,13 +2837,30 @@ export const propsSheetContent: Record<string, PropMeta> = {
|
|
|
2322
2837
|
itemRef: { required: false, control: "text", type: "string" },
|
|
2323
2838
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
2324
2839
|
itemType: { required: false, control: "text", type: "string" },
|
|
2325
|
-
lang: {
|
|
2840
|
+
lang: {
|
|
2841
|
+
required: false,
|
|
2842
|
+
control: "text",
|
|
2843
|
+
type: "string",
|
|
2844
|
+
description: "Defines the language used in the element.",
|
|
2845
|
+
},
|
|
2326
2846
|
nonce: { required: false, control: "text", type: "string" },
|
|
2327
|
-
placeholder: {
|
|
2847
|
+
placeholder: {
|
|
2848
|
+
required: false,
|
|
2849
|
+
control: "text",
|
|
2850
|
+
type: "string",
|
|
2851
|
+
description:
|
|
2852
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
2853
|
+
},
|
|
2328
2854
|
prefix: { required: false, control: "text", type: "string" },
|
|
2329
2855
|
property: { required: false, control: "text", type: "string" },
|
|
2330
2856
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
2331
|
-
rel: {
|
|
2857
|
+
rel: {
|
|
2858
|
+
required: false,
|
|
2859
|
+
control: "text",
|
|
2860
|
+
type: "string",
|
|
2861
|
+
description:
|
|
2862
|
+
"Specifies the relationship of the target object to the link object.",
|
|
2863
|
+
},
|
|
2332
2864
|
resource: { required: false, control: "text", type: "string" },
|
|
2333
2865
|
results: { required: false, control: "number", type: "number" },
|
|
2334
2866
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -2337,6 +2869,8 @@ export const propsSheetContent: Record<string, PropMeta> = {
|
|
|
2337
2869
|
control: "text",
|
|
2338
2870
|
type: "string",
|
|
2339
2871
|
defaultValue: "navigation",
|
|
2872
|
+
description:
|
|
2873
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
2340
2874
|
},
|
|
2341
2875
|
security: { required: false, control: "text", type: "string" },
|
|
2342
2876
|
side: {
|
|
@@ -2346,8 +2880,18 @@ export const propsSheetContent: Record<string, PropMeta> = {
|
|
|
2346
2880
|
defaultValue: "left",
|
|
2347
2881
|
options: ["top", "right", "bottom", "left"],
|
|
2348
2882
|
},
|
|
2349
|
-
slot: {
|
|
2350
|
-
|
|
2883
|
+
slot: {
|
|
2884
|
+
required: false,
|
|
2885
|
+
control: "text",
|
|
2886
|
+
type: "string",
|
|
2887
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
2888
|
+
},
|
|
2889
|
+
spellCheck: {
|
|
2890
|
+
required: false,
|
|
2891
|
+
control: "boolean",
|
|
2892
|
+
type: "boolean",
|
|
2893
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
2894
|
+
},
|
|
2351
2895
|
suppressContentEditableWarning: {
|
|
2352
2896
|
required: false,
|
|
2353
2897
|
control: "boolean",
|
|
@@ -2358,7 +2902,13 @@ export const propsSheetContent: Record<string, PropMeta> = {
|
|
|
2358
2902
|
control: "boolean",
|
|
2359
2903
|
type: "boolean",
|
|
2360
2904
|
},
|
|
2361
|
-
tabIndex: {
|
|
2905
|
+
tabIndex: {
|
|
2906
|
+
required: false,
|
|
2907
|
+
control: "number",
|
|
2908
|
+
type: "number",
|
|
2909
|
+
description:
|
|
2910
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
2911
|
+
},
|
|
2362
2912
|
tag: {
|
|
2363
2913
|
required: false,
|
|
2364
2914
|
control: "radio",
|
|
@@ -2366,12 +2916,20 @@ export const propsSheetContent: Record<string, PropMeta> = {
|
|
|
2366
2916
|
defaultValue: "nav",
|
|
2367
2917
|
options: ["div", "nav"],
|
|
2368
2918
|
},
|
|
2369
|
-
title: {
|
|
2919
|
+
title: {
|
|
2920
|
+
required: false,
|
|
2921
|
+
control: "text",
|
|
2922
|
+
type: "string",
|
|
2923
|
+
description:
|
|
2924
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
2925
|
+
},
|
|
2370
2926
|
translate: {
|
|
2371
2927
|
required: false,
|
|
2372
2928
|
control: "radio",
|
|
2373
2929
|
type: "string",
|
|
2374
2930
|
options: ["yes", "no"],
|
|
2931
|
+
description:
|
|
2932
|
+
"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.",
|
|
2375
2933
|
},
|
|
2376
2934
|
typeof: { required: false, control: "text", type: "string" },
|
|
2377
2935
|
unselectable: {
|