@webstudio-is/sdk-components-react-radix 0.88.0 → 0.89.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/__generated__/accordion.props.js +605 -109
- package/lib/__generated__/button.props.js +161 -29
- package/lib/__generated__/checkbox.props.js +284 -51
- package/lib/__generated__/collapsible.props.js +234 -42
- package/lib/__generated__/dialog.props.js +611 -110
- package/lib/__generated__/input.props.js +264 -47
- package/lib/__generated__/label.props.js +123 -22
- package/lib/__generated__/navigation-menu.props.js +563 -102
- package/lib/__generated__/popover.props.js +129 -25
- package/lib/__generated__/radio-group.props.js +421 -76
- package/lib/__generated__/select.props.js +876 -160
- package/lib/__generated__/sheet.props.js +591 -110
- package/lib/__generated__/switch.props.js +284 -51
- package/lib/__generated__/tabs.props.js +506 -91
- package/lib/__generated__/textarea.props.js +177 -31
- package/lib/__generated__/tooltip.props.js +131 -27
- package/lib/accordion.ws.js +1 -0
- package/lib/checkbox.ws.js +2 -0
- package/lib/cjs/__generated__/accordion.props.js +605 -109
- package/lib/cjs/__generated__/button.props.js +161 -29
- package/lib/cjs/__generated__/checkbox.props.js +284 -51
- package/lib/cjs/__generated__/collapsible.props.js +234 -42
- package/lib/cjs/__generated__/dialog.props.js +611 -110
- package/lib/cjs/__generated__/input.props.js +264 -47
- package/lib/cjs/__generated__/label.props.js +123 -22
- package/lib/cjs/__generated__/navigation-menu.props.js +563 -102
- package/lib/cjs/__generated__/popover.props.js +129 -25
- package/lib/cjs/__generated__/radio-group.props.js +421 -76
- package/lib/cjs/__generated__/select.props.js +875 -159
- package/lib/cjs/__generated__/sheet.props.js +591 -110
- package/lib/cjs/__generated__/switch.props.js +284 -51
- package/lib/cjs/__generated__/tabs.props.js +506 -91
- package/lib/cjs/__generated__/textarea.props.js +177 -31
- package/lib/cjs/__generated__/tooltip.props.js +131 -27
- package/lib/cjs/accordion.ws.js +1 -0
- package/lib/cjs/checkbox.ws.js +2 -0
- package/lib/cjs/collapsible.ws.js +1 -0
- package/lib/cjs/dialog.ws.js +1 -0
- package/lib/cjs/label.ws.js +1 -0
- package/lib/cjs/navigation-menu.ws.js +1 -0
- package/lib/cjs/popover.ws.js +1 -0
- package/lib/cjs/props-descriptions.js +56 -0
- package/lib/cjs/radio-group.ws.js +3 -0
- package/lib/cjs/select.js +3 -1
- package/lib/cjs/select.ws.js +1 -0
- package/lib/cjs/sheet.ws.js +1 -0
- package/lib/cjs/switch.ws.js +2 -0
- package/lib/cjs/tabs.ws.js +1 -0
- package/lib/cjs/tooltip.ws.js +1 -0
- package/lib/collapsible.ws.js +1 -0
- package/lib/dialog.ws.js +1 -0
- package/lib/label.ws.js +1 -0
- package/lib/navigation-menu.ws.js +1 -0
- package/lib/popover.ws.js +1 -0
- package/lib/props-descriptions.js +36 -0
- package/lib/radio-group.ws.js +3 -0
- package/lib/select.js +3 -1
- package/lib/select.ws.js +1 -0
- package/lib/sheet.ws.js +1 -0
- package/lib/switch.ws.js +2 -0
- package/lib/tabs.ws.js +1 -0
- package/lib/tooltip.ws.js +1 -0
- package/lib/types/props-descriptions.d.ts +29 -0
- package/lib/types/select.d.ts +4 -2
- package/package.json +6 -6
- package/src/__generated__/accordion.props.ts +675 -103
- package/src/__generated__/button.props.ts +180 -27
- package/src/__generated__/checkbox.props.ts +317 -48
- package/src/__generated__/collapsible.props.ts +261 -40
- package/src/__generated__/dialog.props.ts +682 -104
- package/src/__generated__/input.props.ts +292 -44
- package/src/__generated__/label.props.ts +137 -21
- package/src/__generated__/navigation-menu.props.ts +629 -96
- package/src/__generated__/popover.props.ts +142 -21
- package/src/__generated__/radio-group.props.ts +470 -71
- package/src/__generated__/select.props.ts +979 -153
- package/src/__generated__/sheet.props.ts +657 -99
- package/src/__generated__/switch.props.ts +317 -48
- package/src/__generated__/tabs.props.ts +565 -86
- package/src/__generated__/textarea.props.ts +195 -30
- package/src/__generated__/tooltip.props.ts +145 -23
- package/src/accordion.ws.ts +2 -0
- package/src/checkbox.ws.ts +3 -0
- package/src/collapsible.ws.ts +2 -0
- package/src/dialog.ws.tsx +2 -0
- package/src/label.ws.ts +2 -0
- package/src/navigation-menu.ws.ts +1 -0
- package/src/popover.ws.tsx +1 -0
- package/src/props-descriptions.ts +43 -0
- package/src/radio-group.ws.ts +4 -0
- package/src/select.tsx +8 -3
- package/src/select.ws.ts +2 -0
- package/src/sheet.ws.tsx +2 -0
- package/src/switch.ws.ts +3 -0
- package/src/tabs.ws.ts +2 -0
- package/src/tooltip.ws.tsx +2 -0
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
const propsNavigationMenu = {
|
|
2
2
|
about: { required: false, control: "text", type: "string" },
|
|
3
|
-
accessKey: {
|
|
3
|
+
accessKey: {
|
|
4
|
+
required: false,
|
|
5
|
+
control: "text",
|
|
6
|
+
type: "string",
|
|
7
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
8
|
+
},
|
|
4
9
|
"aria-activedescendant": {
|
|
5
10
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
6
11
|
required: false,
|
|
@@ -156,7 +161,7 @@ const propsNavigationMenu = {
|
|
|
156
161
|
type: "string"
|
|
157
162
|
},
|
|
158
163
|
"aria-label": {
|
|
159
|
-
description: "
|
|
164
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
160
165
|
required: false,
|
|
161
166
|
control: "text",
|
|
162
167
|
type: "string"
|
|
@@ -325,14 +330,39 @@ const propsNavigationMenu = {
|
|
|
325
330
|
control: "text",
|
|
326
331
|
type: "string"
|
|
327
332
|
},
|
|
328
|
-
autoCapitalize: {
|
|
333
|
+
autoCapitalize: {
|
|
334
|
+
required: false,
|
|
335
|
+
control: "text",
|
|
336
|
+
type: "string",
|
|
337
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
338
|
+
},
|
|
329
339
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
330
|
-
autoFocus: {
|
|
340
|
+
autoFocus: {
|
|
341
|
+
required: false,
|
|
342
|
+
control: "boolean",
|
|
343
|
+
type: "boolean",
|
|
344
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
345
|
+
},
|
|
331
346
|
autoSave: { required: false, control: "text", type: "string" },
|
|
332
347
|
className: { required: false, control: "text", type: "string" },
|
|
333
|
-
color: {
|
|
334
|
-
|
|
335
|
-
|
|
348
|
+
color: {
|
|
349
|
+
required: false,
|
|
350
|
+
control: "color",
|
|
351
|
+
type: "string",
|
|
352
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
353
|
+
},
|
|
354
|
+
content: {
|
|
355
|
+
required: false,
|
|
356
|
+
control: "text",
|
|
357
|
+
type: "string",
|
|
358
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
359
|
+
},
|
|
360
|
+
contextMenu: {
|
|
361
|
+
required: false,
|
|
362
|
+
control: "text",
|
|
363
|
+
type: "string",
|
|
364
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
365
|
+
},
|
|
336
366
|
datatype: { required: false, control: "text", type: "string" },
|
|
337
367
|
delayDuration: {
|
|
338
368
|
description: "The duration from when the pointer enters the trigger until the tooltip gets opened.\n@defaultValue 200",
|
|
@@ -344,11 +374,27 @@ const propsNavigationMenu = {
|
|
|
344
374
|
required: false,
|
|
345
375
|
control: "radio",
|
|
346
376
|
type: "string",
|
|
347
|
-
options: ["ltr", "rtl"]
|
|
377
|
+
options: ["ltr", "rtl"],
|
|
378
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
379
|
+
},
|
|
380
|
+
draggable: {
|
|
381
|
+
required: false,
|
|
382
|
+
control: "boolean",
|
|
383
|
+
type: "boolean",
|
|
384
|
+
description: "Defines whether the element can be dragged."
|
|
385
|
+
},
|
|
386
|
+
hidden: {
|
|
387
|
+
required: false,
|
|
388
|
+
control: "boolean",
|
|
389
|
+
type: "boolean",
|
|
390
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
391
|
+
},
|
|
392
|
+
id: {
|
|
393
|
+
required: false,
|
|
394
|
+
control: "text",
|
|
395
|
+
type: "string",
|
|
396
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
348
397
|
},
|
|
349
|
-
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
350
|
-
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
351
|
-
id: { required: false, control: "text", type: "string" },
|
|
352
398
|
inputMode: {
|
|
353
399
|
description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
354
400
|
required: false,
|
|
@@ -376,17 +422,37 @@ const propsNavigationMenu = {
|
|
|
376
422
|
itemRef: { required: false, control: "text", type: "string" },
|
|
377
423
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
378
424
|
itemType: { required: false, control: "text", type: "string" },
|
|
379
|
-
lang: {
|
|
425
|
+
lang: {
|
|
426
|
+
required: false,
|
|
427
|
+
control: "text",
|
|
428
|
+
type: "string",
|
|
429
|
+
description: "Defines the language used in the element."
|
|
430
|
+
},
|
|
380
431
|
nonce: { required: false, control: "text", type: "string" },
|
|
381
|
-
placeholder: {
|
|
432
|
+
placeholder: {
|
|
433
|
+
required: false,
|
|
434
|
+
control: "text",
|
|
435
|
+
type: "string",
|
|
436
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
437
|
+
},
|
|
382
438
|
prefix: { required: false, control: "text", type: "string" },
|
|
383
439
|
property: { required: false, control: "text", type: "string" },
|
|
384
440
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
385
|
-
rel: {
|
|
441
|
+
rel: {
|
|
442
|
+
required: false,
|
|
443
|
+
control: "text",
|
|
444
|
+
type: "string",
|
|
445
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
446
|
+
},
|
|
386
447
|
resource: { required: false, control: "text", type: "string" },
|
|
387
448
|
results: { required: false, control: "number", type: "number" },
|
|
388
449
|
rev: { required: false, control: "text", type: "string" },
|
|
389
|
-
role: {
|
|
450
|
+
role: {
|
|
451
|
+
required: false,
|
|
452
|
+
control: "text",
|
|
453
|
+
type: "string",
|
|
454
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
455
|
+
},
|
|
390
456
|
security: { required: false, control: "text", type: "string" },
|
|
391
457
|
skipDelayDuration: {
|
|
392
458
|
description: "How much time a user has to enter another trigger without incurring a delay again.\n@defaultValue 300",
|
|
@@ -394,8 +460,18 @@ const propsNavigationMenu = {
|
|
|
394
460
|
control: "number",
|
|
395
461
|
type: "number"
|
|
396
462
|
},
|
|
397
|
-
slot: {
|
|
398
|
-
|
|
463
|
+
slot: {
|
|
464
|
+
required: false,
|
|
465
|
+
control: "text",
|
|
466
|
+
type: "string",
|
|
467
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
468
|
+
},
|
|
469
|
+
spellCheck: {
|
|
470
|
+
required: false,
|
|
471
|
+
control: "boolean",
|
|
472
|
+
type: "boolean",
|
|
473
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
474
|
+
},
|
|
399
475
|
suppressContentEditableWarning: {
|
|
400
476
|
required: false,
|
|
401
477
|
control: "boolean",
|
|
@@ -406,13 +482,24 @@ const propsNavigationMenu = {
|
|
|
406
482
|
control: "boolean",
|
|
407
483
|
type: "boolean"
|
|
408
484
|
},
|
|
409
|
-
tabIndex: {
|
|
410
|
-
|
|
485
|
+
tabIndex: {
|
|
486
|
+
required: false,
|
|
487
|
+
control: "number",
|
|
488
|
+
type: "number",
|
|
489
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
490
|
+
},
|
|
491
|
+
title: {
|
|
492
|
+
required: false,
|
|
493
|
+
control: "text",
|
|
494
|
+
type: "string",
|
|
495
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
496
|
+
},
|
|
411
497
|
translate: {
|
|
412
498
|
required: false,
|
|
413
499
|
control: "radio",
|
|
414
500
|
type: "string",
|
|
415
|
-
options: ["yes", "no"]
|
|
501
|
+
options: ["yes", "no"],
|
|
502
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
416
503
|
},
|
|
417
504
|
typeof: { required: false, control: "text", type: "string" },
|
|
418
505
|
unselectable: {
|
|
@@ -421,12 +508,22 @@ const propsNavigationMenu = {
|
|
|
421
508
|
type: "string",
|
|
422
509
|
options: ["on", "off"]
|
|
423
510
|
},
|
|
424
|
-
value: {
|
|
511
|
+
value: {
|
|
512
|
+
required: false,
|
|
513
|
+
control: "text",
|
|
514
|
+
type: "string",
|
|
515
|
+
description: "Defines a default value which will be displayed in the element on pageload."
|
|
516
|
+
},
|
|
425
517
|
vocab: { required: false, control: "text", type: "string" }
|
|
426
518
|
};
|
|
427
519
|
const propsNavigationMenuList = {
|
|
428
520
|
about: { required: false, control: "text", type: "string" },
|
|
429
|
-
accessKey: {
|
|
521
|
+
accessKey: {
|
|
522
|
+
required: false,
|
|
523
|
+
control: "text",
|
|
524
|
+
type: "string",
|
|
525
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
526
|
+
},
|
|
430
527
|
"aria-activedescendant": {
|
|
431
528
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
432
529
|
required: false,
|
|
@@ -582,7 +679,7 @@ const propsNavigationMenuList = {
|
|
|
582
679
|
type: "string"
|
|
583
680
|
},
|
|
584
681
|
"aria-label": {
|
|
585
|
-
description: "
|
|
682
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
586
683
|
required: false,
|
|
587
684
|
control: "text",
|
|
588
685
|
type: "string"
|
|
@@ -758,19 +855,64 @@ const propsNavigationMenuList = {
|
|
|
758
855
|
control: "text",
|
|
759
856
|
type: "string"
|
|
760
857
|
},
|
|
761
|
-
autoCapitalize: {
|
|
858
|
+
autoCapitalize: {
|
|
859
|
+
required: false,
|
|
860
|
+
control: "text",
|
|
861
|
+
type: "string",
|
|
862
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
863
|
+
},
|
|
762
864
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
763
|
-
autoFocus: {
|
|
865
|
+
autoFocus: {
|
|
866
|
+
required: false,
|
|
867
|
+
control: "boolean",
|
|
868
|
+
type: "boolean",
|
|
869
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
870
|
+
},
|
|
764
871
|
autoSave: { required: false, control: "text", type: "string" },
|
|
765
872
|
className: { required: false, control: "text", type: "string" },
|
|
766
|
-
color: {
|
|
767
|
-
|
|
768
|
-
|
|
873
|
+
color: {
|
|
874
|
+
required: false,
|
|
875
|
+
control: "color",
|
|
876
|
+
type: "string",
|
|
877
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
878
|
+
},
|
|
879
|
+
content: {
|
|
880
|
+
required: false,
|
|
881
|
+
control: "text",
|
|
882
|
+
type: "string",
|
|
883
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
884
|
+
},
|
|
885
|
+
contextMenu: {
|
|
886
|
+
required: false,
|
|
887
|
+
control: "text",
|
|
888
|
+
type: "string",
|
|
889
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
890
|
+
},
|
|
769
891
|
datatype: { required: false, control: "text", type: "string" },
|
|
770
|
-
dir: {
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
892
|
+
dir: {
|
|
893
|
+
required: false,
|
|
894
|
+
control: "text",
|
|
895
|
+
type: "string",
|
|
896
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
897
|
+
},
|
|
898
|
+
draggable: {
|
|
899
|
+
required: false,
|
|
900
|
+
control: "boolean",
|
|
901
|
+
type: "boolean",
|
|
902
|
+
description: "Defines whether the element can be dragged."
|
|
903
|
+
},
|
|
904
|
+
hidden: {
|
|
905
|
+
required: false,
|
|
906
|
+
control: "boolean",
|
|
907
|
+
type: "boolean",
|
|
908
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
909
|
+
},
|
|
910
|
+
id: {
|
|
911
|
+
required: false,
|
|
912
|
+
control: "text",
|
|
913
|
+
type: "string",
|
|
914
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
915
|
+
},
|
|
774
916
|
inputMode: {
|
|
775
917
|
description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
776
918
|
required: false,
|
|
@@ -798,20 +940,50 @@ const propsNavigationMenuList = {
|
|
|
798
940
|
itemRef: { required: false, control: "text", type: "string" },
|
|
799
941
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
800
942
|
itemType: { required: false, control: "text", type: "string" },
|
|
801
|
-
lang: {
|
|
943
|
+
lang: {
|
|
944
|
+
required: false,
|
|
945
|
+
control: "text",
|
|
946
|
+
type: "string",
|
|
947
|
+
description: "Defines the language used in the element."
|
|
948
|
+
},
|
|
802
949
|
nonce: { required: false, control: "text", type: "string" },
|
|
803
|
-
placeholder: {
|
|
950
|
+
placeholder: {
|
|
951
|
+
required: false,
|
|
952
|
+
control: "text",
|
|
953
|
+
type: "string",
|
|
954
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
955
|
+
},
|
|
804
956
|
prefix: { required: false, control: "text", type: "string" },
|
|
805
957
|
property: { required: false, control: "text", type: "string" },
|
|
806
958
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
807
|
-
rel: {
|
|
959
|
+
rel: {
|
|
960
|
+
required: false,
|
|
961
|
+
control: "text",
|
|
962
|
+
type: "string",
|
|
963
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
964
|
+
},
|
|
808
965
|
resource: { required: false, control: "text", type: "string" },
|
|
809
966
|
results: { required: false, control: "number", type: "number" },
|
|
810
967
|
rev: { required: false, control: "text", type: "string" },
|
|
811
|
-
role: {
|
|
968
|
+
role: {
|
|
969
|
+
required: false,
|
|
970
|
+
control: "text",
|
|
971
|
+
type: "string",
|
|
972
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
973
|
+
},
|
|
812
974
|
security: { required: false, control: "text", type: "string" },
|
|
813
|
-
slot: {
|
|
814
|
-
|
|
975
|
+
slot: {
|
|
976
|
+
required: false,
|
|
977
|
+
control: "text",
|
|
978
|
+
type: "string",
|
|
979
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
980
|
+
},
|
|
981
|
+
spellCheck: {
|
|
982
|
+
required: false,
|
|
983
|
+
control: "boolean",
|
|
984
|
+
type: "boolean",
|
|
985
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
986
|
+
},
|
|
815
987
|
suppressContentEditableWarning: {
|
|
816
988
|
required: false,
|
|
817
989
|
control: "boolean",
|
|
@@ -822,13 +994,24 @@ const propsNavigationMenuList = {
|
|
|
822
994
|
control: "boolean",
|
|
823
995
|
type: "boolean"
|
|
824
996
|
},
|
|
825
|
-
tabIndex: {
|
|
826
|
-
|
|
997
|
+
tabIndex: {
|
|
998
|
+
required: false,
|
|
999
|
+
control: "number",
|
|
1000
|
+
type: "number",
|
|
1001
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1002
|
+
},
|
|
1003
|
+
title: {
|
|
1004
|
+
required: false,
|
|
1005
|
+
control: "text",
|
|
1006
|
+
type: "string",
|
|
1007
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1008
|
+
},
|
|
827
1009
|
translate: {
|
|
828
1010
|
required: false,
|
|
829
1011
|
control: "radio",
|
|
830
1012
|
type: "string",
|
|
831
|
-
options: ["yes", "no"]
|
|
1013
|
+
options: ["yes", "no"],
|
|
1014
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
832
1015
|
},
|
|
833
1016
|
typeof: { required: false, control: "text", type: "string" },
|
|
834
1017
|
unselectable: {
|
|
@@ -841,7 +1024,12 @@ const propsNavigationMenuList = {
|
|
|
841
1024
|
};
|
|
842
1025
|
const propsNavigationMenuViewport = {
|
|
843
1026
|
about: { required: false, control: "text", type: "string" },
|
|
844
|
-
accessKey: {
|
|
1027
|
+
accessKey: {
|
|
1028
|
+
required: false,
|
|
1029
|
+
control: "text",
|
|
1030
|
+
type: "string",
|
|
1031
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1032
|
+
},
|
|
845
1033
|
"aria-activedescendant": {
|
|
846
1034
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
847
1035
|
required: false,
|
|
@@ -997,7 +1185,7 @@ const propsNavigationMenuViewport = {
|
|
|
997
1185
|
type: "string"
|
|
998
1186
|
},
|
|
999
1187
|
"aria-label": {
|
|
1000
|
-
description: "
|
|
1188
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
1001
1189
|
required: false,
|
|
1002
1190
|
control: "text",
|
|
1003
1191
|
type: "string"
|
|
@@ -1173,19 +1361,64 @@ const propsNavigationMenuViewport = {
|
|
|
1173
1361
|
control: "text",
|
|
1174
1362
|
type: "string"
|
|
1175
1363
|
},
|
|
1176
|
-
autoCapitalize: {
|
|
1364
|
+
autoCapitalize: {
|
|
1365
|
+
required: false,
|
|
1366
|
+
control: "text",
|
|
1367
|
+
type: "string",
|
|
1368
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1369
|
+
},
|
|
1177
1370
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1178
|
-
autoFocus: {
|
|
1371
|
+
autoFocus: {
|
|
1372
|
+
required: false,
|
|
1373
|
+
control: "boolean",
|
|
1374
|
+
type: "boolean",
|
|
1375
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1376
|
+
},
|
|
1179
1377
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1180
1378
|
className: { required: false, control: "text", type: "string" },
|
|
1181
|
-
color: {
|
|
1182
|
-
|
|
1183
|
-
|
|
1379
|
+
color: {
|
|
1380
|
+
required: false,
|
|
1381
|
+
control: "color",
|
|
1382
|
+
type: "string",
|
|
1383
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
1384
|
+
},
|
|
1385
|
+
content: {
|
|
1386
|
+
required: false,
|
|
1387
|
+
control: "text",
|
|
1388
|
+
type: "string",
|
|
1389
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1390
|
+
},
|
|
1391
|
+
contextMenu: {
|
|
1392
|
+
required: false,
|
|
1393
|
+
control: "text",
|
|
1394
|
+
type: "string",
|
|
1395
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1396
|
+
},
|
|
1184
1397
|
datatype: { required: false, control: "text", type: "string" },
|
|
1185
|
-
dir: {
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1398
|
+
dir: {
|
|
1399
|
+
required: false,
|
|
1400
|
+
control: "text",
|
|
1401
|
+
type: "string",
|
|
1402
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1403
|
+
},
|
|
1404
|
+
draggable: {
|
|
1405
|
+
required: false,
|
|
1406
|
+
control: "boolean",
|
|
1407
|
+
type: "boolean",
|
|
1408
|
+
description: "Defines whether the element can be dragged."
|
|
1409
|
+
},
|
|
1410
|
+
hidden: {
|
|
1411
|
+
required: false,
|
|
1412
|
+
control: "boolean",
|
|
1413
|
+
type: "boolean",
|
|
1414
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
1415
|
+
},
|
|
1416
|
+
id: {
|
|
1417
|
+
required: false,
|
|
1418
|
+
control: "text",
|
|
1419
|
+
type: "string",
|
|
1420
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
1421
|
+
},
|
|
1189
1422
|
inputMode: {
|
|
1190
1423
|
description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
1191
1424
|
required: false,
|
|
@@ -1213,20 +1446,50 @@ const propsNavigationMenuViewport = {
|
|
|
1213
1446
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1214
1447
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1215
1448
|
itemType: { required: false, control: "text", type: "string" },
|
|
1216
|
-
lang: {
|
|
1449
|
+
lang: {
|
|
1450
|
+
required: false,
|
|
1451
|
+
control: "text",
|
|
1452
|
+
type: "string",
|
|
1453
|
+
description: "Defines the language used in the element."
|
|
1454
|
+
},
|
|
1217
1455
|
nonce: { required: false, control: "text", type: "string" },
|
|
1218
|
-
placeholder: {
|
|
1456
|
+
placeholder: {
|
|
1457
|
+
required: false,
|
|
1458
|
+
control: "text",
|
|
1459
|
+
type: "string",
|
|
1460
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
1461
|
+
},
|
|
1219
1462
|
prefix: { required: false, control: "text", type: "string" },
|
|
1220
1463
|
property: { required: false, control: "text", type: "string" },
|
|
1221
1464
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1222
|
-
rel: {
|
|
1465
|
+
rel: {
|
|
1466
|
+
required: false,
|
|
1467
|
+
control: "text",
|
|
1468
|
+
type: "string",
|
|
1469
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1470
|
+
},
|
|
1223
1471
|
resource: { required: false, control: "text", type: "string" },
|
|
1224
1472
|
results: { required: false, control: "number", type: "number" },
|
|
1225
1473
|
rev: { required: false, control: "text", type: "string" },
|
|
1226
|
-
role: {
|
|
1474
|
+
role: {
|
|
1475
|
+
required: false,
|
|
1476
|
+
control: "text",
|
|
1477
|
+
type: "string",
|
|
1478
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1479
|
+
},
|
|
1227
1480
|
security: { required: false, control: "text", type: "string" },
|
|
1228
|
-
slot: {
|
|
1229
|
-
|
|
1481
|
+
slot: {
|
|
1482
|
+
required: false,
|
|
1483
|
+
control: "text",
|
|
1484
|
+
type: "string",
|
|
1485
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1486
|
+
},
|
|
1487
|
+
spellCheck: {
|
|
1488
|
+
required: false,
|
|
1489
|
+
control: "boolean",
|
|
1490
|
+
type: "boolean",
|
|
1491
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1492
|
+
},
|
|
1230
1493
|
suppressContentEditableWarning: {
|
|
1231
1494
|
required: false,
|
|
1232
1495
|
control: "boolean",
|
|
@@ -1237,13 +1500,24 @@ const propsNavigationMenuViewport = {
|
|
|
1237
1500
|
control: "boolean",
|
|
1238
1501
|
type: "boolean"
|
|
1239
1502
|
},
|
|
1240
|
-
tabIndex: {
|
|
1241
|
-
|
|
1503
|
+
tabIndex: {
|
|
1504
|
+
required: false,
|
|
1505
|
+
control: "number",
|
|
1506
|
+
type: "number",
|
|
1507
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1508
|
+
},
|
|
1509
|
+
title: {
|
|
1510
|
+
required: false,
|
|
1511
|
+
control: "text",
|
|
1512
|
+
type: "string",
|
|
1513
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1514
|
+
},
|
|
1242
1515
|
translate: {
|
|
1243
1516
|
required: false,
|
|
1244
1517
|
control: "radio",
|
|
1245
1518
|
type: "string",
|
|
1246
|
-
options: ["yes", "no"]
|
|
1519
|
+
options: ["yes", "no"],
|
|
1520
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
1247
1521
|
},
|
|
1248
1522
|
typeof: { required: false, control: "text", type: "string" },
|
|
1249
1523
|
unselectable: {
|
|
@@ -1256,7 +1530,12 @@ const propsNavigationMenuViewport = {
|
|
|
1256
1530
|
};
|
|
1257
1531
|
const propsNavigationMenuContent = {
|
|
1258
1532
|
about: { required: false, control: "text", type: "string" },
|
|
1259
|
-
accessKey: {
|
|
1533
|
+
accessKey: {
|
|
1534
|
+
required: false,
|
|
1535
|
+
control: "text",
|
|
1536
|
+
type: "string",
|
|
1537
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1538
|
+
},
|
|
1260
1539
|
"aria-activedescendant": {
|
|
1261
1540
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
1262
1541
|
required: false,
|
|
@@ -1412,7 +1691,7 @@ const propsNavigationMenuContent = {
|
|
|
1412
1691
|
type: "string"
|
|
1413
1692
|
},
|
|
1414
1693
|
"aria-label": {
|
|
1415
|
-
description: "
|
|
1694
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
1416
1695
|
required: false,
|
|
1417
1696
|
control: "text",
|
|
1418
1697
|
type: "string"
|
|
@@ -1588,25 +1867,70 @@ const propsNavigationMenuContent = {
|
|
|
1588
1867
|
control: "text",
|
|
1589
1868
|
type: "string"
|
|
1590
1869
|
},
|
|
1591
|
-
autoCapitalize: {
|
|
1870
|
+
autoCapitalize: {
|
|
1871
|
+
required: false,
|
|
1872
|
+
control: "text",
|
|
1873
|
+
type: "string",
|
|
1874
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1875
|
+
},
|
|
1592
1876
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1593
|
-
autoFocus: {
|
|
1877
|
+
autoFocus: {
|
|
1878
|
+
required: false,
|
|
1879
|
+
control: "boolean",
|
|
1880
|
+
type: "boolean",
|
|
1881
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1882
|
+
},
|
|
1594
1883
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1595
1884
|
className: { required: false, control: "text", type: "string" },
|
|
1596
|
-
color: {
|
|
1597
|
-
|
|
1598
|
-
|
|
1885
|
+
color: {
|
|
1886
|
+
required: false,
|
|
1887
|
+
control: "color",
|
|
1888
|
+
type: "string",
|
|
1889
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
1890
|
+
},
|
|
1891
|
+
content: {
|
|
1892
|
+
required: false,
|
|
1893
|
+
control: "text",
|
|
1894
|
+
type: "string",
|
|
1895
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1896
|
+
},
|
|
1897
|
+
contextMenu: {
|
|
1898
|
+
required: false,
|
|
1899
|
+
control: "text",
|
|
1900
|
+
type: "string",
|
|
1901
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1902
|
+
},
|
|
1599
1903
|
datatype: { required: false, control: "text", type: "string" },
|
|
1600
|
-
dir: {
|
|
1904
|
+
dir: {
|
|
1905
|
+
required: false,
|
|
1906
|
+
control: "text",
|
|
1907
|
+
type: "string",
|
|
1908
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1909
|
+
},
|
|
1601
1910
|
disableOutsidePointerEvents: {
|
|
1602
1911
|
description: "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.",
|
|
1603
1912
|
required: false,
|
|
1604
1913
|
control: "boolean",
|
|
1605
1914
|
type: "boolean"
|
|
1606
1915
|
},
|
|
1607
|
-
draggable: {
|
|
1608
|
-
|
|
1609
|
-
|
|
1916
|
+
draggable: {
|
|
1917
|
+
required: false,
|
|
1918
|
+
control: "boolean",
|
|
1919
|
+
type: "boolean",
|
|
1920
|
+
description: "Defines whether the element can be dragged."
|
|
1921
|
+
},
|
|
1922
|
+
hidden: {
|
|
1923
|
+
required: false,
|
|
1924
|
+
control: "boolean",
|
|
1925
|
+
type: "boolean",
|
|
1926
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
1927
|
+
},
|
|
1928
|
+
id: {
|
|
1929
|
+
required: false,
|
|
1930
|
+
control: "text",
|
|
1931
|
+
type: "string",
|
|
1932
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
1933
|
+
},
|
|
1610
1934
|
inputMode: {
|
|
1611
1935
|
description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
1612
1936
|
required: false,
|
|
@@ -1634,20 +1958,50 @@ const propsNavigationMenuContent = {
|
|
|
1634
1958
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1635
1959
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1636
1960
|
itemType: { required: false, control: "text", type: "string" },
|
|
1637
|
-
lang: {
|
|
1961
|
+
lang: {
|
|
1962
|
+
required: false,
|
|
1963
|
+
control: "text",
|
|
1964
|
+
type: "string",
|
|
1965
|
+
description: "Defines the language used in the element."
|
|
1966
|
+
},
|
|
1638
1967
|
nonce: { required: false, control: "text", type: "string" },
|
|
1639
|
-
placeholder: {
|
|
1968
|
+
placeholder: {
|
|
1969
|
+
required: false,
|
|
1970
|
+
control: "text",
|
|
1971
|
+
type: "string",
|
|
1972
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
1973
|
+
},
|
|
1640
1974
|
prefix: { required: false, control: "text", type: "string" },
|
|
1641
1975
|
property: { required: false, control: "text", type: "string" },
|
|
1642
1976
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1643
|
-
rel: {
|
|
1977
|
+
rel: {
|
|
1978
|
+
required: false,
|
|
1979
|
+
control: "text",
|
|
1980
|
+
type: "string",
|
|
1981
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1982
|
+
},
|
|
1644
1983
|
resource: { required: false, control: "text", type: "string" },
|
|
1645
1984
|
results: { required: false, control: "number", type: "number" },
|
|
1646
1985
|
rev: { required: false, control: "text", type: "string" },
|
|
1647
|
-
role: {
|
|
1986
|
+
role: {
|
|
1987
|
+
required: false,
|
|
1988
|
+
control: "text",
|
|
1989
|
+
type: "string",
|
|
1990
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1991
|
+
},
|
|
1648
1992
|
security: { required: false, control: "text", type: "string" },
|
|
1649
|
-
slot: {
|
|
1650
|
-
|
|
1993
|
+
slot: {
|
|
1994
|
+
required: false,
|
|
1995
|
+
control: "text",
|
|
1996
|
+
type: "string",
|
|
1997
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1998
|
+
},
|
|
1999
|
+
spellCheck: {
|
|
2000
|
+
required: false,
|
|
2001
|
+
control: "boolean",
|
|
2002
|
+
type: "boolean",
|
|
2003
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
2004
|
+
},
|
|
1651
2005
|
suppressContentEditableWarning: {
|
|
1652
2006
|
required: false,
|
|
1653
2007
|
control: "boolean",
|
|
@@ -1658,13 +2012,24 @@ const propsNavigationMenuContent = {
|
|
|
1658
2012
|
control: "boolean",
|
|
1659
2013
|
type: "boolean"
|
|
1660
2014
|
},
|
|
1661
|
-
tabIndex: {
|
|
1662
|
-
|
|
2015
|
+
tabIndex: {
|
|
2016
|
+
required: false,
|
|
2017
|
+
control: "number",
|
|
2018
|
+
type: "number",
|
|
2019
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
2020
|
+
},
|
|
2021
|
+
title: {
|
|
2022
|
+
required: false,
|
|
2023
|
+
control: "text",
|
|
2024
|
+
type: "string",
|
|
2025
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
2026
|
+
},
|
|
1663
2027
|
translate: {
|
|
1664
2028
|
required: false,
|
|
1665
2029
|
control: "radio",
|
|
1666
2030
|
type: "string",
|
|
1667
|
-
options: ["yes", "no"]
|
|
2031
|
+
options: ["yes", "no"],
|
|
2032
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
1668
2033
|
},
|
|
1669
2034
|
typeof: { required: false, control: "text", type: "string" },
|
|
1670
2035
|
unselectable: {
|
|
@@ -1677,7 +2042,12 @@ const propsNavigationMenuContent = {
|
|
|
1677
2042
|
};
|
|
1678
2043
|
const propsNavigationMenuItem = {
|
|
1679
2044
|
about: { required: false, control: "text", type: "string" },
|
|
1680
|
-
accessKey: {
|
|
2045
|
+
accessKey: {
|
|
2046
|
+
required: false,
|
|
2047
|
+
control: "text",
|
|
2048
|
+
type: "string",
|
|
2049
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
2050
|
+
},
|
|
1681
2051
|
"aria-activedescendant": {
|
|
1682
2052
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
1683
2053
|
required: false,
|
|
@@ -1833,7 +2203,7 @@ const propsNavigationMenuItem = {
|
|
|
1833
2203
|
type: "string"
|
|
1834
2204
|
},
|
|
1835
2205
|
"aria-label": {
|
|
1836
|
-
description: "
|
|
2206
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
1837
2207
|
required: false,
|
|
1838
2208
|
control: "text",
|
|
1839
2209
|
type: "string"
|
|
@@ -2009,19 +2379,64 @@ const propsNavigationMenuItem = {
|
|
|
2009
2379
|
control: "text",
|
|
2010
2380
|
type: "string"
|
|
2011
2381
|
},
|
|
2012
|
-
autoCapitalize: {
|
|
2382
|
+
autoCapitalize: {
|
|
2383
|
+
required: false,
|
|
2384
|
+
control: "text",
|
|
2385
|
+
type: "string",
|
|
2386
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
2387
|
+
},
|
|
2013
2388
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
2014
|
-
autoFocus: {
|
|
2389
|
+
autoFocus: {
|
|
2390
|
+
required: false,
|
|
2391
|
+
control: "boolean",
|
|
2392
|
+
type: "boolean",
|
|
2393
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
2394
|
+
},
|
|
2015
2395
|
autoSave: { required: false, control: "text", type: "string" },
|
|
2016
2396
|
className: { required: false, control: "text", type: "string" },
|
|
2017
|
-
color: {
|
|
2018
|
-
|
|
2019
|
-
|
|
2397
|
+
color: {
|
|
2398
|
+
required: false,
|
|
2399
|
+
control: "color",
|
|
2400
|
+
type: "string",
|
|
2401
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
2402
|
+
},
|
|
2403
|
+
content: {
|
|
2404
|
+
required: false,
|
|
2405
|
+
control: "text",
|
|
2406
|
+
type: "string",
|
|
2407
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
2408
|
+
},
|
|
2409
|
+
contextMenu: {
|
|
2410
|
+
required: false,
|
|
2411
|
+
control: "text",
|
|
2412
|
+
type: "string",
|
|
2413
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
2414
|
+
},
|
|
2020
2415
|
datatype: { required: false, control: "text", type: "string" },
|
|
2021
|
-
dir: {
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2416
|
+
dir: {
|
|
2417
|
+
required: false,
|
|
2418
|
+
control: "text",
|
|
2419
|
+
type: "string",
|
|
2420
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
2421
|
+
},
|
|
2422
|
+
draggable: {
|
|
2423
|
+
required: false,
|
|
2424
|
+
control: "boolean",
|
|
2425
|
+
type: "boolean",
|
|
2426
|
+
description: "Defines whether the element can be dragged."
|
|
2427
|
+
},
|
|
2428
|
+
hidden: {
|
|
2429
|
+
required: false,
|
|
2430
|
+
control: "boolean",
|
|
2431
|
+
type: "boolean",
|
|
2432
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
2433
|
+
},
|
|
2434
|
+
id: {
|
|
2435
|
+
required: false,
|
|
2436
|
+
control: "text",
|
|
2437
|
+
type: "string",
|
|
2438
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
2439
|
+
},
|
|
2025
2440
|
inputMode: {
|
|
2026
2441
|
description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
2027
2442
|
required: false,
|
|
@@ -2049,20 +2464,50 @@ const propsNavigationMenuItem = {
|
|
|
2049
2464
|
itemRef: { required: false, control: "text", type: "string" },
|
|
2050
2465
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
2051
2466
|
itemType: { required: false, control: "text", type: "string" },
|
|
2052
|
-
lang: {
|
|
2467
|
+
lang: {
|
|
2468
|
+
required: false,
|
|
2469
|
+
control: "text",
|
|
2470
|
+
type: "string",
|
|
2471
|
+
description: "Defines the language used in the element."
|
|
2472
|
+
},
|
|
2053
2473
|
nonce: { required: false, control: "text", type: "string" },
|
|
2054
|
-
placeholder: {
|
|
2474
|
+
placeholder: {
|
|
2475
|
+
required: false,
|
|
2476
|
+
control: "text",
|
|
2477
|
+
type: "string",
|
|
2478
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
2479
|
+
},
|
|
2055
2480
|
prefix: { required: false, control: "text", type: "string" },
|
|
2056
2481
|
property: { required: false, control: "text", type: "string" },
|
|
2057
2482
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
2058
|
-
rel: {
|
|
2483
|
+
rel: {
|
|
2484
|
+
required: false,
|
|
2485
|
+
control: "text",
|
|
2486
|
+
type: "string",
|
|
2487
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
2488
|
+
},
|
|
2059
2489
|
resource: { required: false, control: "text", type: "string" },
|
|
2060
2490
|
results: { required: false, control: "number", type: "number" },
|
|
2061
2491
|
rev: { required: false, control: "text", type: "string" },
|
|
2062
|
-
role: {
|
|
2492
|
+
role: {
|
|
2493
|
+
required: false,
|
|
2494
|
+
control: "text",
|
|
2495
|
+
type: "string",
|
|
2496
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
2497
|
+
},
|
|
2063
2498
|
security: { required: false, control: "text", type: "string" },
|
|
2064
|
-
slot: {
|
|
2065
|
-
|
|
2499
|
+
slot: {
|
|
2500
|
+
required: false,
|
|
2501
|
+
control: "text",
|
|
2502
|
+
type: "string",
|
|
2503
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
2504
|
+
},
|
|
2505
|
+
spellCheck: {
|
|
2506
|
+
required: false,
|
|
2507
|
+
control: "boolean",
|
|
2508
|
+
type: "boolean",
|
|
2509
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
2510
|
+
},
|
|
2066
2511
|
suppressContentEditableWarning: {
|
|
2067
2512
|
required: false,
|
|
2068
2513
|
control: "boolean",
|
|
@@ -2073,13 +2518,24 @@ const propsNavigationMenuItem = {
|
|
|
2073
2518
|
control: "boolean",
|
|
2074
2519
|
type: "boolean"
|
|
2075
2520
|
},
|
|
2076
|
-
tabIndex: {
|
|
2077
|
-
|
|
2521
|
+
tabIndex: {
|
|
2522
|
+
required: false,
|
|
2523
|
+
control: "number",
|
|
2524
|
+
type: "number",
|
|
2525
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
2526
|
+
},
|
|
2527
|
+
title: {
|
|
2528
|
+
required: false,
|
|
2529
|
+
control: "text",
|
|
2530
|
+
type: "string",
|
|
2531
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
2532
|
+
},
|
|
2078
2533
|
translate: {
|
|
2079
2534
|
required: false,
|
|
2080
2535
|
control: "radio",
|
|
2081
2536
|
type: "string",
|
|
2082
|
-
options: ["yes", "no"]
|
|
2537
|
+
options: ["yes", "no"],
|
|
2538
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
2083
2539
|
},
|
|
2084
2540
|
typeof: { required: false, control: "text", type: "string" },
|
|
2085
2541
|
unselectable: {
|
|
@@ -2088,7 +2544,12 @@ const propsNavigationMenuItem = {
|
|
|
2088
2544
|
type: "string",
|
|
2089
2545
|
options: ["on", "off"]
|
|
2090
2546
|
},
|
|
2091
|
-
value: {
|
|
2547
|
+
value: {
|
|
2548
|
+
required: false,
|
|
2549
|
+
control: "text",
|
|
2550
|
+
type: "string",
|
|
2551
|
+
description: "Defines a default value which will be displayed in the element on pageload."
|
|
2552
|
+
},
|
|
2092
2553
|
vocab: { required: false, control: "text", type: "string" }
|
|
2093
2554
|
};
|
|
2094
2555
|
const propsNavigationMenuLink = {};
|