@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
|
@@ -2,7 +2,12 @@ import type { PropMeta } from "@webstudio-is/generate-arg-types";
|
|
|
2
2
|
|
|
3
3
|
export const propsNavigationMenu: Record<string, PropMeta> = {
|
|
4
4
|
about: { required: false, control: "text", type: "string" },
|
|
5
|
-
accessKey: {
|
|
5
|
+
accessKey: {
|
|
6
|
+
required: false,
|
|
7
|
+
control: "text",
|
|
8
|
+
type: "string",
|
|
9
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
10
|
+
},
|
|
6
11
|
"aria-activedescendant": {
|
|
7
12
|
description:
|
|
8
13
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -183,7 +188,7 @@ export const propsNavigationMenu: Record<string, PropMeta> = {
|
|
|
183
188
|
},
|
|
184
189
|
"aria-label": {
|
|
185
190
|
description:
|
|
186
|
-
"
|
|
191
|
+
"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.",
|
|
187
192
|
required: false,
|
|
188
193
|
control: "text",
|
|
189
194
|
type: "string",
|
|
@@ -374,14 +379,44 @@ export const propsNavigationMenu: Record<string, PropMeta> = {
|
|
|
374
379
|
control: "text",
|
|
375
380
|
type: "string",
|
|
376
381
|
},
|
|
377
|
-
autoCapitalize: {
|
|
382
|
+
autoCapitalize: {
|
|
383
|
+
required: false,
|
|
384
|
+
control: "text",
|
|
385
|
+
type: "string",
|
|
386
|
+
description:
|
|
387
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
388
|
+
},
|
|
378
389
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
379
|
-
autoFocus: {
|
|
390
|
+
autoFocus: {
|
|
391
|
+
required: false,
|
|
392
|
+
control: "boolean",
|
|
393
|
+
type: "boolean",
|
|
394
|
+
description:
|
|
395
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
396
|
+
},
|
|
380
397
|
autoSave: { required: false, control: "text", type: "string" },
|
|
381
398
|
className: { required: false, control: "text", type: "string" },
|
|
382
|
-
color: {
|
|
383
|
-
|
|
384
|
-
|
|
399
|
+
color: {
|
|
400
|
+
required: false,
|
|
401
|
+
control: "color",
|
|
402
|
+
type: "string",
|
|
403
|
+
description:
|
|
404
|
+
"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.",
|
|
405
|
+
},
|
|
406
|
+
content: {
|
|
407
|
+
required: false,
|
|
408
|
+
control: "text",
|
|
409
|
+
type: "string",
|
|
410
|
+
description:
|
|
411
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
412
|
+
},
|
|
413
|
+
contextMenu: {
|
|
414
|
+
required: false,
|
|
415
|
+
control: "text",
|
|
416
|
+
type: "string",
|
|
417
|
+
description:
|
|
418
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
419
|
+
},
|
|
385
420
|
datatype: { required: false, control: "text", type: "string" },
|
|
386
421
|
delayDuration: {
|
|
387
422
|
description:
|
|
@@ -395,10 +430,29 @@ export const propsNavigationMenu: Record<string, PropMeta> = {
|
|
|
395
430
|
control: "radio",
|
|
396
431
|
type: "string",
|
|
397
432
|
options: ["ltr", "rtl"],
|
|
433
|
+
description:
|
|
434
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
435
|
+
},
|
|
436
|
+
draggable: {
|
|
437
|
+
required: false,
|
|
438
|
+
control: "boolean",
|
|
439
|
+
type: "boolean",
|
|
440
|
+
description: "Defines whether the element can be dragged.",
|
|
441
|
+
},
|
|
442
|
+
hidden: {
|
|
443
|
+
required: false,
|
|
444
|
+
control: "boolean",
|
|
445
|
+
type: "boolean",
|
|
446
|
+
description:
|
|
447
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
448
|
+
},
|
|
449
|
+
id: {
|
|
450
|
+
required: false,
|
|
451
|
+
control: "text",
|
|
452
|
+
type: "string",
|
|
453
|
+
description:
|
|
454
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
398
455
|
},
|
|
399
|
-
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
400
|
-
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
401
|
-
id: { required: false, control: "text", type: "string" },
|
|
402
456
|
inputMode: {
|
|
403
457
|
description:
|
|
404
458
|
"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,17 +482,40 @@ export const propsNavigationMenu: Record<string, PropMeta> = {
|
|
|
428
482
|
itemRef: { required: false, control: "text", type: "string" },
|
|
429
483
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
430
484
|
itemType: { required: false, control: "text", type: "string" },
|
|
431
|
-
lang: {
|
|
485
|
+
lang: {
|
|
486
|
+
required: false,
|
|
487
|
+
control: "text",
|
|
488
|
+
type: "string",
|
|
489
|
+
description: "Defines the language used in the element.",
|
|
490
|
+
},
|
|
432
491
|
nonce: { required: false, control: "text", type: "string" },
|
|
433
|
-
placeholder: {
|
|
492
|
+
placeholder: {
|
|
493
|
+
required: false,
|
|
494
|
+
control: "text",
|
|
495
|
+
type: "string",
|
|
496
|
+
description:
|
|
497
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
498
|
+
},
|
|
434
499
|
prefix: { required: false, control: "text", type: "string" },
|
|
435
500
|
property: { required: false, control: "text", type: "string" },
|
|
436
501
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
437
|
-
rel: {
|
|
502
|
+
rel: {
|
|
503
|
+
required: false,
|
|
504
|
+
control: "text",
|
|
505
|
+
type: "string",
|
|
506
|
+
description:
|
|
507
|
+
"Specifies the relationship of the target object to the link object.",
|
|
508
|
+
},
|
|
438
509
|
resource: { required: false, control: "text", type: "string" },
|
|
439
510
|
results: { required: false, control: "number", type: "number" },
|
|
440
511
|
rev: { required: false, control: "text", type: "string" },
|
|
441
|
-
role: {
|
|
512
|
+
role: {
|
|
513
|
+
required: false,
|
|
514
|
+
control: "text",
|
|
515
|
+
type: "string",
|
|
516
|
+
description:
|
|
517
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
518
|
+
},
|
|
442
519
|
security: { required: false, control: "text", type: "string" },
|
|
443
520
|
skipDelayDuration: {
|
|
444
521
|
description:
|
|
@@ -447,8 +524,18 @@ export const propsNavigationMenu: Record<string, PropMeta> = {
|
|
|
447
524
|
control: "number",
|
|
448
525
|
type: "number",
|
|
449
526
|
},
|
|
450
|
-
slot: {
|
|
451
|
-
|
|
527
|
+
slot: {
|
|
528
|
+
required: false,
|
|
529
|
+
control: "text",
|
|
530
|
+
type: "string",
|
|
531
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
532
|
+
},
|
|
533
|
+
spellCheck: {
|
|
534
|
+
required: false,
|
|
535
|
+
control: "boolean",
|
|
536
|
+
type: "boolean",
|
|
537
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
538
|
+
},
|
|
452
539
|
suppressContentEditableWarning: {
|
|
453
540
|
required: false,
|
|
454
541
|
control: "boolean",
|
|
@@ -459,13 +546,27 @@ export const propsNavigationMenu: Record<string, PropMeta> = {
|
|
|
459
546
|
control: "boolean",
|
|
460
547
|
type: "boolean",
|
|
461
548
|
},
|
|
462
|
-
tabIndex: {
|
|
463
|
-
|
|
549
|
+
tabIndex: {
|
|
550
|
+
required: false,
|
|
551
|
+
control: "number",
|
|
552
|
+
type: "number",
|
|
553
|
+
description:
|
|
554
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
555
|
+
},
|
|
556
|
+
title: {
|
|
557
|
+
required: false,
|
|
558
|
+
control: "text",
|
|
559
|
+
type: "string",
|
|
560
|
+
description:
|
|
561
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
562
|
+
},
|
|
464
563
|
translate: {
|
|
465
564
|
required: false,
|
|
466
565
|
control: "radio",
|
|
467
566
|
type: "string",
|
|
468
567
|
options: ["yes", "no"],
|
|
568
|
+
description:
|
|
569
|
+
"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.",
|
|
469
570
|
},
|
|
470
571
|
typeof: { required: false, control: "text", type: "string" },
|
|
471
572
|
unselectable: {
|
|
@@ -474,12 +575,23 @@ export const propsNavigationMenu: Record<string, PropMeta> = {
|
|
|
474
575
|
type: "string",
|
|
475
576
|
options: ["on", "off"],
|
|
476
577
|
},
|
|
477
|
-
value: {
|
|
578
|
+
value: {
|
|
579
|
+
required: false,
|
|
580
|
+
control: "text",
|
|
581
|
+
type: "string",
|
|
582
|
+
description:
|
|
583
|
+
"Defines a default value which will be displayed in the element on pageload.",
|
|
584
|
+
},
|
|
478
585
|
vocab: { required: false, control: "text", type: "string" },
|
|
479
586
|
};
|
|
480
587
|
export const propsNavigationMenuList: Record<string, PropMeta> = {
|
|
481
588
|
about: { required: false, control: "text", type: "string" },
|
|
482
|
-
accessKey: {
|
|
589
|
+
accessKey: {
|
|
590
|
+
required: false,
|
|
591
|
+
control: "text",
|
|
592
|
+
type: "string",
|
|
593
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
594
|
+
},
|
|
483
595
|
"aria-activedescendant": {
|
|
484
596
|
description:
|
|
485
597
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -660,7 +772,7 @@ export const propsNavigationMenuList: Record<string, PropMeta> = {
|
|
|
660
772
|
},
|
|
661
773
|
"aria-label": {
|
|
662
774
|
description:
|
|
663
|
-
"
|
|
775
|
+
"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.",
|
|
664
776
|
required: false,
|
|
665
777
|
control: "text",
|
|
666
778
|
type: "string",
|
|
@@ -859,19 +971,72 @@ export const propsNavigationMenuList: Record<string, PropMeta> = {
|
|
|
859
971
|
control: "text",
|
|
860
972
|
type: "string",
|
|
861
973
|
},
|
|
862
|
-
autoCapitalize: {
|
|
974
|
+
autoCapitalize: {
|
|
975
|
+
required: false,
|
|
976
|
+
control: "text",
|
|
977
|
+
type: "string",
|
|
978
|
+
description:
|
|
979
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
980
|
+
},
|
|
863
981
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
864
|
-
autoFocus: {
|
|
982
|
+
autoFocus: {
|
|
983
|
+
required: false,
|
|
984
|
+
control: "boolean",
|
|
985
|
+
type: "boolean",
|
|
986
|
+
description:
|
|
987
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
988
|
+
},
|
|
865
989
|
autoSave: { required: false, control: "text", type: "string" },
|
|
866
990
|
className: { required: false, control: "text", type: "string" },
|
|
867
|
-
color: {
|
|
868
|
-
|
|
869
|
-
|
|
991
|
+
color: {
|
|
992
|
+
required: false,
|
|
993
|
+
control: "color",
|
|
994
|
+
type: "string",
|
|
995
|
+
description:
|
|
996
|
+
"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.",
|
|
997
|
+
},
|
|
998
|
+
content: {
|
|
999
|
+
required: false,
|
|
1000
|
+
control: "text",
|
|
1001
|
+
type: "string",
|
|
1002
|
+
description:
|
|
1003
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
1004
|
+
},
|
|
1005
|
+
contextMenu: {
|
|
1006
|
+
required: false,
|
|
1007
|
+
control: "text",
|
|
1008
|
+
type: "string",
|
|
1009
|
+
description:
|
|
1010
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
1011
|
+
},
|
|
870
1012
|
datatype: { required: false, control: "text", type: "string" },
|
|
871
|
-
dir: {
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
1013
|
+
dir: {
|
|
1014
|
+
required: false,
|
|
1015
|
+
control: "text",
|
|
1016
|
+
type: "string",
|
|
1017
|
+
description:
|
|
1018
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
1019
|
+
},
|
|
1020
|
+
draggable: {
|
|
1021
|
+
required: false,
|
|
1022
|
+
control: "boolean",
|
|
1023
|
+
type: "boolean",
|
|
1024
|
+
description: "Defines whether the element can be dragged.",
|
|
1025
|
+
},
|
|
1026
|
+
hidden: {
|
|
1027
|
+
required: false,
|
|
1028
|
+
control: "boolean",
|
|
1029
|
+
type: "boolean",
|
|
1030
|
+
description:
|
|
1031
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
1032
|
+
},
|
|
1033
|
+
id: {
|
|
1034
|
+
required: false,
|
|
1035
|
+
control: "text",
|
|
1036
|
+
type: "string",
|
|
1037
|
+
description:
|
|
1038
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
1039
|
+
},
|
|
875
1040
|
inputMode: {
|
|
876
1041
|
description:
|
|
877
1042
|
"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",
|
|
@@ -901,20 +1066,53 @@ export const propsNavigationMenuList: Record<string, PropMeta> = {
|
|
|
901
1066
|
itemRef: { required: false, control: "text", type: "string" },
|
|
902
1067
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
903
1068
|
itemType: { required: false, control: "text", type: "string" },
|
|
904
|
-
lang: {
|
|
1069
|
+
lang: {
|
|
1070
|
+
required: false,
|
|
1071
|
+
control: "text",
|
|
1072
|
+
type: "string",
|
|
1073
|
+
description: "Defines the language used in the element.",
|
|
1074
|
+
},
|
|
905
1075
|
nonce: { required: false, control: "text", type: "string" },
|
|
906
|
-
placeholder: {
|
|
1076
|
+
placeholder: {
|
|
1077
|
+
required: false,
|
|
1078
|
+
control: "text",
|
|
1079
|
+
type: "string",
|
|
1080
|
+
description:
|
|
1081
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
1082
|
+
},
|
|
907
1083
|
prefix: { required: false, control: "text", type: "string" },
|
|
908
1084
|
property: { required: false, control: "text", type: "string" },
|
|
909
1085
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
910
|
-
rel: {
|
|
1086
|
+
rel: {
|
|
1087
|
+
required: false,
|
|
1088
|
+
control: "text",
|
|
1089
|
+
type: "string",
|
|
1090
|
+
description:
|
|
1091
|
+
"Specifies the relationship of the target object to the link object.",
|
|
1092
|
+
},
|
|
911
1093
|
resource: { required: false, control: "text", type: "string" },
|
|
912
1094
|
results: { required: false, control: "number", type: "number" },
|
|
913
1095
|
rev: { required: false, control: "text", type: "string" },
|
|
914
|
-
role: {
|
|
1096
|
+
role: {
|
|
1097
|
+
required: false,
|
|
1098
|
+
control: "text",
|
|
1099
|
+
type: "string",
|
|
1100
|
+
description:
|
|
1101
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
1102
|
+
},
|
|
915
1103
|
security: { required: false, control: "text", type: "string" },
|
|
916
|
-
slot: {
|
|
917
|
-
|
|
1104
|
+
slot: {
|
|
1105
|
+
required: false,
|
|
1106
|
+
control: "text",
|
|
1107
|
+
type: "string",
|
|
1108
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
1109
|
+
},
|
|
1110
|
+
spellCheck: {
|
|
1111
|
+
required: false,
|
|
1112
|
+
control: "boolean",
|
|
1113
|
+
type: "boolean",
|
|
1114
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
1115
|
+
},
|
|
918
1116
|
suppressContentEditableWarning: {
|
|
919
1117
|
required: false,
|
|
920
1118
|
control: "boolean",
|
|
@@ -925,13 +1123,27 @@ export const propsNavigationMenuList: Record<string, PropMeta> = {
|
|
|
925
1123
|
control: "boolean",
|
|
926
1124
|
type: "boolean",
|
|
927
1125
|
},
|
|
928
|
-
tabIndex: {
|
|
929
|
-
|
|
1126
|
+
tabIndex: {
|
|
1127
|
+
required: false,
|
|
1128
|
+
control: "number",
|
|
1129
|
+
type: "number",
|
|
1130
|
+
description:
|
|
1131
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
1132
|
+
},
|
|
1133
|
+
title: {
|
|
1134
|
+
required: false,
|
|
1135
|
+
control: "text",
|
|
1136
|
+
type: "string",
|
|
1137
|
+
description:
|
|
1138
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
1139
|
+
},
|
|
930
1140
|
translate: {
|
|
931
1141
|
required: false,
|
|
932
1142
|
control: "radio",
|
|
933
1143
|
type: "string",
|
|
934
1144
|
options: ["yes", "no"],
|
|
1145
|
+
description:
|
|
1146
|
+
"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.",
|
|
935
1147
|
},
|
|
936
1148
|
typeof: { required: false, control: "text", type: "string" },
|
|
937
1149
|
unselectable: {
|
|
@@ -944,7 +1156,12 @@ export const propsNavigationMenuList: Record<string, PropMeta> = {
|
|
|
944
1156
|
};
|
|
945
1157
|
export const propsNavigationMenuViewport: Record<string, PropMeta> = {
|
|
946
1158
|
about: { required: false, control: "text", type: "string" },
|
|
947
|
-
accessKey: {
|
|
1159
|
+
accessKey: {
|
|
1160
|
+
required: false,
|
|
1161
|
+
control: "text",
|
|
1162
|
+
type: "string",
|
|
1163
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
1164
|
+
},
|
|
948
1165
|
"aria-activedescendant": {
|
|
949
1166
|
description:
|
|
950
1167
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -1125,7 +1342,7 @@ export const propsNavigationMenuViewport: Record<string, PropMeta> = {
|
|
|
1125
1342
|
},
|
|
1126
1343
|
"aria-label": {
|
|
1127
1344
|
description:
|
|
1128
|
-
"
|
|
1345
|
+
"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.",
|
|
1129
1346
|
required: false,
|
|
1130
1347
|
control: "text",
|
|
1131
1348
|
type: "string",
|
|
@@ -1324,19 +1541,72 @@ export const propsNavigationMenuViewport: Record<string, PropMeta> = {
|
|
|
1324
1541
|
control: "text",
|
|
1325
1542
|
type: "string",
|
|
1326
1543
|
},
|
|
1327
|
-
autoCapitalize: {
|
|
1544
|
+
autoCapitalize: {
|
|
1545
|
+
required: false,
|
|
1546
|
+
control: "text",
|
|
1547
|
+
type: "string",
|
|
1548
|
+
description:
|
|
1549
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
1550
|
+
},
|
|
1328
1551
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1329
|
-
autoFocus: {
|
|
1552
|
+
autoFocus: {
|
|
1553
|
+
required: false,
|
|
1554
|
+
control: "boolean",
|
|
1555
|
+
type: "boolean",
|
|
1556
|
+
description:
|
|
1557
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
1558
|
+
},
|
|
1330
1559
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1331
1560
|
className: { required: false, control: "text", type: "string" },
|
|
1332
|
-
color: {
|
|
1333
|
-
|
|
1334
|
-
|
|
1561
|
+
color: {
|
|
1562
|
+
required: false,
|
|
1563
|
+
control: "color",
|
|
1564
|
+
type: "string",
|
|
1565
|
+
description:
|
|
1566
|
+
"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.",
|
|
1567
|
+
},
|
|
1568
|
+
content: {
|
|
1569
|
+
required: false,
|
|
1570
|
+
control: "text",
|
|
1571
|
+
type: "string",
|
|
1572
|
+
description:
|
|
1573
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
1574
|
+
},
|
|
1575
|
+
contextMenu: {
|
|
1576
|
+
required: false,
|
|
1577
|
+
control: "text",
|
|
1578
|
+
type: "string",
|
|
1579
|
+
description:
|
|
1580
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
1581
|
+
},
|
|
1335
1582
|
datatype: { required: false, control: "text", type: "string" },
|
|
1336
|
-
dir: {
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1583
|
+
dir: {
|
|
1584
|
+
required: false,
|
|
1585
|
+
control: "text",
|
|
1586
|
+
type: "string",
|
|
1587
|
+
description:
|
|
1588
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
1589
|
+
},
|
|
1590
|
+
draggable: {
|
|
1591
|
+
required: false,
|
|
1592
|
+
control: "boolean",
|
|
1593
|
+
type: "boolean",
|
|
1594
|
+
description: "Defines whether the element can be dragged.",
|
|
1595
|
+
},
|
|
1596
|
+
hidden: {
|
|
1597
|
+
required: false,
|
|
1598
|
+
control: "boolean",
|
|
1599
|
+
type: "boolean",
|
|
1600
|
+
description:
|
|
1601
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
1602
|
+
},
|
|
1603
|
+
id: {
|
|
1604
|
+
required: false,
|
|
1605
|
+
control: "text",
|
|
1606
|
+
type: "string",
|
|
1607
|
+
description:
|
|
1608
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
1609
|
+
},
|
|
1340
1610
|
inputMode: {
|
|
1341
1611
|
description:
|
|
1342
1612
|
"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",
|
|
@@ -1366,20 +1636,53 @@ export const propsNavigationMenuViewport: Record<string, PropMeta> = {
|
|
|
1366
1636
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1367
1637
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1368
1638
|
itemType: { required: false, control: "text", type: "string" },
|
|
1369
|
-
lang: {
|
|
1639
|
+
lang: {
|
|
1640
|
+
required: false,
|
|
1641
|
+
control: "text",
|
|
1642
|
+
type: "string",
|
|
1643
|
+
description: "Defines the language used in the element.",
|
|
1644
|
+
},
|
|
1370
1645
|
nonce: { required: false, control: "text", type: "string" },
|
|
1371
|
-
placeholder: {
|
|
1646
|
+
placeholder: {
|
|
1647
|
+
required: false,
|
|
1648
|
+
control: "text",
|
|
1649
|
+
type: "string",
|
|
1650
|
+
description:
|
|
1651
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
1652
|
+
},
|
|
1372
1653
|
prefix: { required: false, control: "text", type: "string" },
|
|
1373
1654
|
property: { required: false, control: "text", type: "string" },
|
|
1374
1655
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1375
|
-
rel: {
|
|
1656
|
+
rel: {
|
|
1657
|
+
required: false,
|
|
1658
|
+
control: "text",
|
|
1659
|
+
type: "string",
|
|
1660
|
+
description:
|
|
1661
|
+
"Specifies the relationship of the target object to the link object.",
|
|
1662
|
+
},
|
|
1376
1663
|
resource: { required: false, control: "text", type: "string" },
|
|
1377
1664
|
results: { required: false, control: "number", type: "number" },
|
|
1378
1665
|
rev: { required: false, control: "text", type: "string" },
|
|
1379
|
-
role: {
|
|
1666
|
+
role: {
|
|
1667
|
+
required: false,
|
|
1668
|
+
control: "text",
|
|
1669
|
+
type: "string",
|
|
1670
|
+
description:
|
|
1671
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
1672
|
+
},
|
|
1380
1673
|
security: { required: false, control: "text", type: "string" },
|
|
1381
|
-
slot: {
|
|
1382
|
-
|
|
1674
|
+
slot: {
|
|
1675
|
+
required: false,
|
|
1676
|
+
control: "text",
|
|
1677
|
+
type: "string",
|
|
1678
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
1679
|
+
},
|
|
1680
|
+
spellCheck: {
|
|
1681
|
+
required: false,
|
|
1682
|
+
control: "boolean",
|
|
1683
|
+
type: "boolean",
|
|
1684
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
1685
|
+
},
|
|
1383
1686
|
suppressContentEditableWarning: {
|
|
1384
1687
|
required: false,
|
|
1385
1688
|
control: "boolean",
|
|
@@ -1390,13 +1693,27 @@ export const propsNavigationMenuViewport: Record<string, PropMeta> = {
|
|
|
1390
1693
|
control: "boolean",
|
|
1391
1694
|
type: "boolean",
|
|
1392
1695
|
},
|
|
1393
|
-
tabIndex: {
|
|
1394
|
-
|
|
1696
|
+
tabIndex: {
|
|
1697
|
+
required: false,
|
|
1698
|
+
control: "number",
|
|
1699
|
+
type: "number",
|
|
1700
|
+
description:
|
|
1701
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
1702
|
+
},
|
|
1703
|
+
title: {
|
|
1704
|
+
required: false,
|
|
1705
|
+
control: "text",
|
|
1706
|
+
type: "string",
|
|
1707
|
+
description:
|
|
1708
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
1709
|
+
},
|
|
1395
1710
|
translate: {
|
|
1396
1711
|
required: false,
|
|
1397
1712
|
control: "radio",
|
|
1398
1713
|
type: "string",
|
|
1399
1714
|
options: ["yes", "no"],
|
|
1715
|
+
description:
|
|
1716
|
+
"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.",
|
|
1400
1717
|
},
|
|
1401
1718
|
typeof: { required: false, control: "text", type: "string" },
|
|
1402
1719
|
unselectable: {
|
|
@@ -1409,7 +1726,12 @@ export const propsNavigationMenuViewport: Record<string, PropMeta> = {
|
|
|
1409
1726
|
};
|
|
1410
1727
|
export const propsNavigationMenuContent: Record<string, PropMeta> = {
|
|
1411
1728
|
about: { required: false, control: "text", type: "string" },
|
|
1412
|
-
accessKey: {
|
|
1729
|
+
accessKey: {
|
|
1730
|
+
required: false,
|
|
1731
|
+
control: "text",
|
|
1732
|
+
type: "string",
|
|
1733
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
1734
|
+
},
|
|
1413
1735
|
"aria-activedescendant": {
|
|
1414
1736
|
description:
|
|
1415
1737
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -1590,7 +1912,7 @@ export const propsNavigationMenuContent: Record<string, PropMeta> = {
|
|
|
1590
1912
|
},
|
|
1591
1913
|
"aria-label": {
|
|
1592
1914
|
description:
|
|
1593
|
-
"
|
|
1915
|
+
"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.",
|
|
1594
1916
|
required: false,
|
|
1595
1917
|
control: "text",
|
|
1596
1918
|
type: "string",
|
|
@@ -1789,16 +2111,52 @@ export const propsNavigationMenuContent: Record<string, PropMeta> = {
|
|
|
1789
2111
|
control: "text",
|
|
1790
2112
|
type: "string",
|
|
1791
2113
|
},
|
|
1792
|
-
autoCapitalize: {
|
|
2114
|
+
autoCapitalize: {
|
|
2115
|
+
required: false,
|
|
2116
|
+
control: "text",
|
|
2117
|
+
type: "string",
|
|
2118
|
+
description:
|
|
2119
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
2120
|
+
},
|
|
1793
2121
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1794
|
-
autoFocus: {
|
|
2122
|
+
autoFocus: {
|
|
2123
|
+
required: false,
|
|
2124
|
+
control: "boolean",
|
|
2125
|
+
type: "boolean",
|
|
2126
|
+
description:
|
|
2127
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
2128
|
+
},
|
|
1795
2129
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1796
2130
|
className: { required: false, control: "text", type: "string" },
|
|
1797
|
-
color: {
|
|
1798
|
-
|
|
1799
|
-
|
|
2131
|
+
color: {
|
|
2132
|
+
required: false,
|
|
2133
|
+
control: "color",
|
|
2134
|
+
type: "string",
|
|
2135
|
+
description:
|
|
2136
|
+
"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.",
|
|
2137
|
+
},
|
|
2138
|
+
content: {
|
|
2139
|
+
required: false,
|
|
2140
|
+
control: "text",
|
|
2141
|
+
type: "string",
|
|
2142
|
+
description:
|
|
2143
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
2144
|
+
},
|
|
2145
|
+
contextMenu: {
|
|
2146
|
+
required: false,
|
|
2147
|
+
control: "text",
|
|
2148
|
+
type: "string",
|
|
2149
|
+
description:
|
|
2150
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
2151
|
+
},
|
|
1800
2152
|
datatype: { required: false, control: "text", type: "string" },
|
|
1801
|
-
dir: {
|
|
2153
|
+
dir: {
|
|
2154
|
+
required: false,
|
|
2155
|
+
control: "text",
|
|
2156
|
+
type: "string",
|
|
2157
|
+
description:
|
|
2158
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
2159
|
+
},
|
|
1802
2160
|
disableOutsidePointerEvents: {
|
|
1803
2161
|
description:
|
|
1804
2162
|
"When `true`, hover/focus/click interactions will be disabled on elements outside\nthe `DismissableLayer`. Users will need to click twice on outside elements to\ninteract with them: once to close the `DismissableLayer`, and again to trigger the element.",
|
|
@@ -1806,9 +2164,26 @@ export const propsNavigationMenuContent: Record<string, PropMeta> = {
|
|
|
1806
2164
|
control: "boolean",
|
|
1807
2165
|
type: "boolean",
|
|
1808
2166
|
},
|
|
1809
|
-
draggable: {
|
|
1810
|
-
|
|
1811
|
-
|
|
2167
|
+
draggable: {
|
|
2168
|
+
required: false,
|
|
2169
|
+
control: "boolean",
|
|
2170
|
+
type: "boolean",
|
|
2171
|
+
description: "Defines whether the element can be dragged.",
|
|
2172
|
+
},
|
|
2173
|
+
hidden: {
|
|
2174
|
+
required: false,
|
|
2175
|
+
control: "boolean",
|
|
2176
|
+
type: "boolean",
|
|
2177
|
+
description:
|
|
2178
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
2179
|
+
},
|
|
2180
|
+
id: {
|
|
2181
|
+
required: false,
|
|
2182
|
+
control: "text",
|
|
2183
|
+
type: "string",
|
|
2184
|
+
description:
|
|
2185
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
2186
|
+
},
|
|
1812
2187
|
inputMode: {
|
|
1813
2188
|
description:
|
|
1814
2189
|
"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",
|
|
@@ -1838,20 +2213,53 @@ export const propsNavigationMenuContent: Record<string, PropMeta> = {
|
|
|
1838
2213
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1839
2214
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1840
2215
|
itemType: { required: false, control: "text", type: "string" },
|
|
1841
|
-
lang: {
|
|
2216
|
+
lang: {
|
|
2217
|
+
required: false,
|
|
2218
|
+
control: "text",
|
|
2219
|
+
type: "string",
|
|
2220
|
+
description: "Defines the language used in the element.",
|
|
2221
|
+
},
|
|
1842
2222
|
nonce: { required: false, control: "text", type: "string" },
|
|
1843
|
-
placeholder: {
|
|
2223
|
+
placeholder: {
|
|
2224
|
+
required: false,
|
|
2225
|
+
control: "text",
|
|
2226
|
+
type: "string",
|
|
2227
|
+
description:
|
|
2228
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
2229
|
+
},
|
|
1844
2230
|
prefix: { required: false, control: "text", type: "string" },
|
|
1845
2231
|
property: { required: false, control: "text", type: "string" },
|
|
1846
2232
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1847
|
-
rel: {
|
|
2233
|
+
rel: {
|
|
2234
|
+
required: false,
|
|
2235
|
+
control: "text",
|
|
2236
|
+
type: "string",
|
|
2237
|
+
description:
|
|
2238
|
+
"Specifies the relationship of the target object to the link object.",
|
|
2239
|
+
},
|
|
1848
2240
|
resource: { required: false, control: "text", type: "string" },
|
|
1849
2241
|
results: { required: false, control: "number", type: "number" },
|
|
1850
2242
|
rev: { required: false, control: "text", type: "string" },
|
|
1851
|
-
role: {
|
|
2243
|
+
role: {
|
|
2244
|
+
required: false,
|
|
2245
|
+
control: "text",
|
|
2246
|
+
type: "string",
|
|
2247
|
+
description:
|
|
2248
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
2249
|
+
},
|
|
1852
2250
|
security: { required: false, control: "text", type: "string" },
|
|
1853
|
-
slot: {
|
|
1854
|
-
|
|
2251
|
+
slot: {
|
|
2252
|
+
required: false,
|
|
2253
|
+
control: "text",
|
|
2254
|
+
type: "string",
|
|
2255
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
2256
|
+
},
|
|
2257
|
+
spellCheck: {
|
|
2258
|
+
required: false,
|
|
2259
|
+
control: "boolean",
|
|
2260
|
+
type: "boolean",
|
|
2261
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
2262
|
+
},
|
|
1855
2263
|
suppressContentEditableWarning: {
|
|
1856
2264
|
required: false,
|
|
1857
2265
|
control: "boolean",
|
|
@@ -1862,13 +2270,27 @@ export const propsNavigationMenuContent: Record<string, PropMeta> = {
|
|
|
1862
2270
|
control: "boolean",
|
|
1863
2271
|
type: "boolean",
|
|
1864
2272
|
},
|
|
1865
|
-
tabIndex: {
|
|
1866
|
-
|
|
2273
|
+
tabIndex: {
|
|
2274
|
+
required: false,
|
|
2275
|
+
control: "number",
|
|
2276
|
+
type: "number",
|
|
2277
|
+
description:
|
|
2278
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
2279
|
+
},
|
|
2280
|
+
title: {
|
|
2281
|
+
required: false,
|
|
2282
|
+
control: "text",
|
|
2283
|
+
type: "string",
|
|
2284
|
+
description:
|
|
2285
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
2286
|
+
},
|
|
1867
2287
|
translate: {
|
|
1868
2288
|
required: false,
|
|
1869
2289
|
control: "radio",
|
|
1870
2290
|
type: "string",
|
|
1871
2291
|
options: ["yes", "no"],
|
|
2292
|
+
description:
|
|
2293
|
+
"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.",
|
|
1872
2294
|
},
|
|
1873
2295
|
typeof: { required: false, control: "text", type: "string" },
|
|
1874
2296
|
unselectable: {
|
|
@@ -1881,7 +2303,12 @@ export const propsNavigationMenuContent: Record<string, PropMeta> = {
|
|
|
1881
2303
|
};
|
|
1882
2304
|
export const propsNavigationMenuItem: Record<string, PropMeta> = {
|
|
1883
2305
|
about: { required: false, control: "text", type: "string" },
|
|
1884
|
-
accessKey: {
|
|
2306
|
+
accessKey: {
|
|
2307
|
+
required: false,
|
|
2308
|
+
control: "text",
|
|
2309
|
+
type: "string",
|
|
2310
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
2311
|
+
},
|
|
1885
2312
|
"aria-activedescendant": {
|
|
1886
2313
|
description:
|
|
1887
2314
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -2062,7 +2489,7 @@ export const propsNavigationMenuItem: Record<string, PropMeta> = {
|
|
|
2062
2489
|
},
|
|
2063
2490
|
"aria-label": {
|
|
2064
2491
|
description:
|
|
2065
|
-
"
|
|
2492
|
+
"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.",
|
|
2066
2493
|
required: false,
|
|
2067
2494
|
control: "text",
|
|
2068
2495
|
type: "string",
|
|
@@ -2261,19 +2688,72 @@ export const propsNavigationMenuItem: Record<string, PropMeta> = {
|
|
|
2261
2688
|
control: "text",
|
|
2262
2689
|
type: "string",
|
|
2263
2690
|
},
|
|
2264
|
-
autoCapitalize: {
|
|
2691
|
+
autoCapitalize: {
|
|
2692
|
+
required: false,
|
|
2693
|
+
control: "text",
|
|
2694
|
+
type: "string",
|
|
2695
|
+
description:
|
|
2696
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
2697
|
+
},
|
|
2265
2698
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
2266
|
-
autoFocus: {
|
|
2699
|
+
autoFocus: {
|
|
2700
|
+
required: false,
|
|
2701
|
+
control: "boolean",
|
|
2702
|
+
type: "boolean",
|
|
2703
|
+
description:
|
|
2704
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
2705
|
+
},
|
|
2267
2706
|
autoSave: { required: false, control: "text", type: "string" },
|
|
2268
2707
|
className: { required: false, control: "text", type: "string" },
|
|
2269
|
-
color: {
|
|
2270
|
-
|
|
2271
|
-
|
|
2708
|
+
color: {
|
|
2709
|
+
required: false,
|
|
2710
|
+
control: "color",
|
|
2711
|
+
type: "string",
|
|
2712
|
+
description:
|
|
2713
|
+
"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.",
|
|
2714
|
+
},
|
|
2715
|
+
content: {
|
|
2716
|
+
required: false,
|
|
2717
|
+
control: "text",
|
|
2718
|
+
type: "string",
|
|
2719
|
+
description:
|
|
2720
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
2721
|
+
},
|
|
2722
|
+
contextMenu: {
|
|
2723
|
+
required: false,
|
|
2724
|
+
control: "text",
|
|
2725
|
+
type: "string",
|
|
2726
|
+
description:
|
|
2727
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
2728
|
+
},
|
|
2272
2729
|
datatype: { required: false, control: "text", type: "string" },
|
|
2273
|
-
dir: {
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2730
|
+
dir: {
|
|
2731
|
+
required: false,
|
|
2732
|
+
control: "text",
|
|
2733
|
+
type: "string",
|
|
2734
|
+
description:
|
|
2735
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
2736
|
+
},
|
|
2737
|
+
draggable: {
|
|
2738
|
+
required: false,
|
|
2739
|
+
control: "boolean",
|
|
2740
|
+
type: "boolean",
|
|
2741
|
+
description: "Defines whether the element can be dragged.",
|
|
2742
|
+
},
|
|
2743
|
+
hidden: {
|
|
2744
|
+
required: false,
|
|
2745
|
+
control: "boolean",
|
|
2746
|
+
type: "boolean",
|
|
2747
|
+
description:
|
|
2748
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
2749
|
+
},
|
|
2750
|
+
id: {
|
|
2751
|
+
required: false,
|
|
2752
|
+
control: "text",
|
|
2753
|
+
type: "string",
|
|
2754
|
+
description:
|
|
2755
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
2756
|
+
},
|
|
2277
2757
|
inputMode: {
|
|
2278
2758
|
description:
|
|
2279
2759
|
"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",
|
|
@@ -2303,20 +2783,53 @@ export const propsNavigationMenuItem: Record<string, PropMeta> = {
|
|
|
2303
2783
|
itemRef: { required: false, control: "text", type: "string" },
|
|
2304
2784
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
2305
2785
|
itemType: { required: false, control: "text", type: "string" },
|
|
2306
|
-
lang: {
|
|
2786
|
+
lang: {
|
|
2787
|
+
required: false,
|
|
2788
|
+
control: "text",
|
|
2789
|
+
type: "string",
|
|
2790
|
+
description: "Defines the language used in the element.",
|
|
2791
|
+
},
|
|
2307
2792
|
nonce: { required: false, control: "text", type: "string" },
|
|
2308
|
-
placeholder: {
|
|
2793
|
+
placeholder: {
|
|
2794
|
+
required: false,
|
|
2795
|
+
control: "text",
|
|
2796
|
+
type: "string",
|
|
2797
|
+
description:
|
|
2798
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
2799
|
+
},
|
|
2309
2800
|
prefix: { required: false, control: "text", type: "string" },
|
|
2310
2801
|
property: { required: false, control: "text", type: "string" },
|
|
2311
2802
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
2312
|
-
rel: {
|
|
2803
|
+
rel: {
|
|
2804
|
+
required: false,
|
|
2805
|
+
control: "text",
|
|
2806
|
+
type: "string",
|
|
2807
|
+
description:
|
|
2808
|
+
"Specifies the relationship of the target object to the link object.",
|
|
2809
|
+
},
|
|
2313
2810
|
resource: { required: false, control: "text", type: "string" },
|
|
2314
2811
|
results: { required: false, control: "number", type: "number" },
|
|
2315
2812
|
rev: { required: false, control: "text", type: "string" },
|
|
2316
|
-
role: {
|
|
2813
|
+
role: {
|
|
2814
|
+
required: false,
|
|
2815
|
+
control: "text",
|
|
2816
|
+
type: "string",
|
|
2817
|
+
description:
|
|
2818
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
2819
|
+
},
|
|
2317
2820
|
security: { required: false, control: "text", type: "string" },
|
|
2318
|
-
slot: {
|
|
2319
|
-
|
|
2821
|
+
slot: {
|
|
2822
|
+
required: false,
|
|
2823
|
+
control: "text",
|
|
2824
|
+
type: "string",
|
|
2825
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
2826
|
+
},
|
|
2827
|
+
spellCheck: {
|
|
2828
|
+
required: false,
|
|
2829
|
+
control: "boolean",
|
|
2830
|
+
type: "boolean",
|
|
2831
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
2832
|
+
},
|
|
2320
2833
|
suppressContentEditableWarning: {
|
|
2321
2834
|
required: false,
|
|
2322
2835
|
control: "boolean",
|
|
@@ -2327,13 +2840,27 @@ export const propsNavigationMenuItem: Record<string, PropMeta> = {
|
|
|
2327
2840
|
control: "boolean",
|
|
2328
2841
|
type: "boolean",
|
|
2329
2842
|
},
|
|
2330
|
-
tabIndex: {
|
|
2331
|
-
|
|
2843
|
+
tabIndex: {
|
|
2844
|
+
required: false,
|
|
2845
|
+
control: "number",
|
|
2846
|
+
type: "number",
|
|
2847
|
+
description:
|
|
2848
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
2849
|
+
},
|
|
2850
|
+
title: {
|
|
2851
|
+
required: false,
|
|
2852
|
+
control: "text",
|
|
2853
|
+
type: "string",
|
|
2854
|
+
description:
|
|
2855
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
2856
|
+
},
|
|
2332
2857
|
translate: {
|
|
2333
2858
|
required: false,
|
|
2334
2859
|
control: "radio",
|
|
2335
2860
|
type: "string",
|
|
2336
2861
|
options: ["yes", "no"],
|
|
2862
|
+
description:
|
|
2863
|
+
"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.",
|
|
2337
2864
|
},
|
|
2338
2865
|
typeof: { required: false, control: "text", type: "string" },
|
|
2339
2866
|
unselectable: {
|
|
@@ -2342,7 +2869,13 @@ export const propsNavigationMenuItem: Record<string, PropMeta> = {
|
|
|
2342
2869
|
type: "string",
|
|
2343
2870
|
options: ["on", "off"],
|
|
2344
2871
|
},
|
|
2345
|
-
value: {
|
|
2872
|
+
value: {
|
|
2873
|
+
required: false,
|
|
2874
|
+
control: "text",
|
|
2875
|
+
type: "string",
|
|
2876
|
+
description:
|
|
2877
|
+
"Defines a default value which will be displayed in the element on pageload.",
|
|
2878
|
+
},
|
|
2346
2879
|
vocab: { required: false, control: "text", type: "string" },
|
|
2347
2880
|
};
|
|
2348
2881
|
export const propsNavigationMenuLink: Record<string, PropMeta> = {};
|