@webstudio-is/sdk-components-react-radix 0.88.0 → 0.89.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/__generated__/accordion.props.js +605 -109
- package/lib/__generated__/button.props.js +161 -29
- package/lib/__generated__/checkbox.props.js +284 -51
- package/lib/__generated__/collapsible.props.js +234 -42
- package/lib/__generated__/dialog.props.js +611 -110
- package/lib/__generated__/input.props.js +264 -47
- package/lib/__generated__/label.props.js +123 -22
- package/lib/__generated__/navigation-menu.props.js +563 -102
- package/lib/__generated__/popover.props.js +129 -25
- package/lib/__generated__/radio-group.props.js +421 -76
- package/lib/__generated__/select.props.js +876 -160
- package/lib/__generated__/sheet.props.js +591 -110
- package/lib/__generated__/switch.props.js +284 -51
- package/lib/__generated__/tabs.props.js +506 -91
- package/lib/__generated__/textarea.props.js +177 -31
- package/lib/__generated__/tooltip.props.js +131 -27
- package/lib/accordion.ws.js +1 -0
- package/lib/checkbox.ws.js +2 -0
- package/lib/cjs/__generated__/accordion.props.js +605 -109
- package/lib/cjs/__generated__/button.props.js +161 -29
- package/lib/cjs/__generated__/checkbox.props.js +284 -51
- package/lib/cjs/__generated__/collapsible.props.js +234 -42
- package/lib/cjs/__generated__/dialog.props.js +611 -110
- package/lib/cjs/__generated__/input.props.js +264 -47
- package/lib/cjs/__generated__/label.props.js +123 -22
- package/lib/cjs/__generated__/navigation-menu.props.js +563 -102
- package/lib/cjs/__generated__/popover.props.js +129 -25
- package/lib/cjs/__generated__/radio-group.props.js +421 -76
- package/lib/cjs/__generated__/select.props.js +875 -159
- package/lib/cjs/__generated__/sheet.props.js +591 -110
- package/lib/cjs/__generated__/switch.props.js +284 -51
- package/lib/cjs/__generated__/tabs.props.js +506 -91
- package/lib/cjs/__generated__/textarea.props.js +177 -31
- package/lib/cjs/__generated__/tooltip.props.js +131 -27
- package/lib/cjs/accordion.ws.js +1 -0
- package/lib/cjs/checkbox.ws.js +2 -0
- package/lib/cjs/collapsible.ws.js +1 -0
- package/lib/cjs/dialog.ws.js +1 -0
- package/lib/cjs/label.ws.js +1 -0
- package/lib/cjs/navigation-menu.ws.js +1 -0
- package/lib/cjs/popover.ws.js +1 -0
- package/lib/cjs/props-descriptions.js +56 -0
- package/lib/cjs/radio-group.ws.js +3 -0
- package/lib/cjs/select.js +3 -1
- package/lib/cjs/select.ws.js +1 -0
- package/lib/cjs/sheet.ws.js +1 -0
- package/lib/cjs/switch.ws.js +2 -0
- package/lib/cjs/tabs.ws.js +1 -0
- package/lib/cjs/tooltip.ws.js +1 -0
- package/lib/collapsible.ws.js +1 -0
- package/lib/dialog.ws.js +1 -0
- package/lib/label.ws.js +1 -0
- package/lib/navigation-menu.ws.js +1 -0
- package/lib/popover.ws.js +1 -0
- package/lib/props-descriptions.js +36 -0
- package/lib/radio-group.ws.js +3 -0
- package/lib/select.js +3 -1
- package/lib/select.ws.js +1 -0
- package/lib/sheet.ws.js +1 -0
- package/lib/switch.ws.js +2 -0
- package/lib/tabs.ws.js +1 -0
- package/lib/tooltip.ws.js +1 -0
- package/lib/types/props-descriptions.d.ts +29 -0
- package/lib/types/select.d.ts +4 -2
- package/package.json +6 -6
- package/src/__generated__/accordion.props.ts +675 -103
- package/src/__generated__/button.props.ts +180 -27
- package/src/__generated__/checkbox.props.ts +317 -48
- package/src/__generated__/collapsible.props.ts +261 -40
- package/src/__generated__/dialog.props.ts +682 -104
- package/src/__generated__/input.props.ts +292 -44
- package/src/__generated__/label.props.ts +137 -21
- package/src/__generated__/navigation-menu.props.ts +629 -96
- package/src/__generated__/popover.props.ts +142 -21
- package/src/__generated__/radio-group.props.ts +470 -71
- package/src/__generated__/select.props.ts +979 -153
- package/src/__generated__/sheet.props.ts +657 -99
- package/src/__generated__/switch.props.ts +317 -48
- package/src/__generated__/tabs.props.ts +565 -86
- package/src/__generated__/textarea.props.ts +195 -30
- package/src/__generated__/tooltip.props.ts +145 -23
- package/src/accordion.ws.ts +2 -0
- package/src/checkbox.ws.ts +3 -0
- package/src/collapsible.ws.ts +2 -0
- package/src/dialog.ws.tsx +2 -0
- package/src/label.ws.ts +2 -0
- package/src/navigation-menu.ws.ts +1 -0
- package/src/popover.ws.tsx +1 -0
- package/src/props-descriptions.ts +43 -0
- package/src/radio-group.ws.ts +4 -0
- package/src/select.tsx +8 -3
- package/src/select.ws.ts +2 -0
- package/src/sheet.ws.tsx +2 -0
- package/src/switch.ws.ts +3 -0
- package/src/tabs.ws.ts +2 -0
- package/src/tooltip.ws.tsx +2 -0
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
import type { PropMeta } from "@webstudio-is/generate-arg-types";
|
|
2
2
|
|
|
3
3
|
export const propsDialog: Record<string, PropMeta> = {
|
|
4
|
-
open: {
|
|
4
|
+
open: {
|
|
5
|
+
required: false,
|
|
6
|
+
control: "boolean",
|
|
7
|
+
type: "boolean",
|
|
8
|
+
description:
|
|
9
|
+
"Show or hide the content of this component on the canvas. This will not affect the initial state of the component.",
|
|
10
|
+
},
|
|
5
11
|
};
|
|
6
12
|
export const propsDialogTrigger: Record<string, PropMeta> = {};
|
|
7
13
|
export const propsDialogOverlay: Record<string, PropMeta> = {
|
|
8
14
|
about: { required: false, control: "text", type: "string" },
|
|
9
|
-
accessKey: {
|
|
15
|
+
accessKey: {
|
|
16
|
+
required: false,
|
|
17
|
+
control: "text",
|
|
18
|
+
type: "string",
|
|
19
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
20
|
+
},
|
|
10
21
|
"aria-activedescendant": {
|
|
11
22
|
description:
|
|
12
23
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -187,7 +198,7 @@ export const propsDialogOverlay: Record<string, PropMeta> = {
|
|
|
187
198
|
},
|
|
188
199
|
"aria-label": {
|
|
189
200
|
description:
|
|
190
|
-
"
|
|
201
|
+
"Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
191
202
|
required: false,
|
|
192
203
|
control: "text",
|
|
193
204
|
type: "string",
|
|
@@ -386,19 +397,72 @@ export const propsDialogOverlay: Record<string, PropMeta> = {
|
|
|
386
397
|
control: "text",
|
|
387
398
|
type: "string",
|
|
388
399
|
},
|
|
389
|
-
autoCapitalize: {
|
|
400
|
+
autoCapitalize: {
|
|
401
|
+
required: false,
|
|
402
|
+
control: "text",
|
|
403
|
+
type: "string",
|
|
404
|
+
description:
|
|
405
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
406
|
+
},
|
|
390
407
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
391
|
-
autoFocus: {
|
|
408
|
+
autoFocus: {
|
|
409
|
+
required: false,
|
|
410
|
+
control: "boolean",
|
|
411
|
+
type: "boolean",
|
|
412
|
+
description:
|
|
413
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
414
|
+
},
|
|
392
415
|
autoSave: { required: false, control: "text", type: "string" },
|
|
393
416
|
className: { required: false, control: "text", type: "string" },
|
|
394
|
-
color: {
|
|
395
|
-
|
|
396
|
-
|
|
417
|
+
color: {
|
|
418
|
+
required: false,
|
|
419
|
+
control: "color",
|
|
420
|
+
type: "string",
|
|
421
|
+
description:
|
|
422
|
+
"This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead.",
|
|
423
|
+
},
|
|
424
|
+
content: {
|
|
425
|
+
required: false,
|
|
426
|
+
control: "text",
|
|
427
|
+
type: "string",
|
|
428
|
+
description:
|
|
429
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
430
|
+
},
|
|
431
|
+
contextMenu: {
|
|
432
|
+
required: false,
|
|
433
|
+
control: "text",
|
|
434
|
+
type: "string",
|
|
435
|
+
description:
|
|
436
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
437
|
+
},
|
|
397
438
|
datatype: { required: false, control: "text", type: "string" },
|
|
398
|
-
dir: {
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
439
|
+
dir: {
|
|
440
|
+
required: false,
|
|
441
|
+
control: "text",
|
|
442
|
+
type: "string",
|
|
443
|
+
description:
|
|
444
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
445
|
+
},
|
|
446
|
+
draggable: {
|
|
447
|
+
required: false,
|
|
448
|
+
control: "boolean",
|
|
449
|
+
type: "boolean",
|
|
450
|
+
description: "Defines whether the element can be dragged.",
|
|
451
|
+
},
|
|
452
|
+
hidden: {
|
|
453
|
+
required: false,
|
|
454
|
+
control: "boolean",
|
|
455
|
+
type: "boolean",
|
|
456
|
+
description:
|
|
457
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
458
|
+
},
|
|
459
|
+
id: {
|
|
460
|
+
required: false,
|
|
461
|
+
control: "text",
|
|
462
|
+
type: "string",
|
|
463
|
+
description:
|
|
464
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
465
|
+
},
|
|
402
466
|
inputMode: {
|
|
403
467
|
description:
|
|
404
468
|
"Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
@@ -428,20 +492,53 @@ export const propsDialogOverlay: Record<string, PropMeta> = {
|
|
|
428
492
|
itemRef: { required: false, control: "text", type: "string" },
|
|
429
493
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
430
494
|
itemType: { required: false, control: "text", type: "string" },
|
|
431
|
-
lang: {
|
|
495
|
+
lang: {
|
|
496
|
+
required: false,
|
|
497
|
+
control: "text",
|
|
498
|
+
type: "string",
|
|
499
|
+
description: "Defines the language used in the element.",
|
|
500
|
+
},
|
|
432
501
|
nonce: { required: false, control: "text", type: "string" },
|
|
433
|
-
placeholder: {
|
|
502
|
+
placeholder: {
|
|
503
|
+
required: false,
|
|
504
|
+
control: "text",
|
|
505
|
+
type: "string",
|
|
506
|
+
description:
|
|
507
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
508
|
+
},
|
|
434
509
|
prefix: { required: false, control: "text", type: "string" },
|
|
435
510
|
property: { required: false, control: "text", type: "string" },
|
|
436
511
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
437
|
-
rel: {
|
|
512
|
+
rel: {
|
|
513
|
+
required: false,
|
|
514
|
+
control: "text",
|
|
515
|
+
type: "string",
|
|
516
|
+
description:
|
|
517
|
+
"Specifies the relationship of the target object to the link object.",
|
|
518
|
+
},
|
|
438
519
|
resource: { required: false, control: "text", type: "string" },
|
|
439
520
|
results: { required: false, control: "number", type: "number" },
|
|
440
521
|
rev: { required: false, control: "text", type: "string" },
|
|
441
|
-
role: {
|
|
522
|
+
role: {
|
|
523
|
+
required: false,
|
|
524
|
+
control: "text",
|
|
525
|
+
type: "string",
|
|
526
|
+
description:
|
|
527
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
528
|
+
},
|
|
442
529
|
security: { required: false, control: "text", type: "string" },
|
|
443
|
-
slot: {
|
|
444
|
-
|
|
530
|
+
slot: {
|
|
531
|
+
required: false,
|
|
532
|
+
control: "text",
|
|
533
|
+
type: "string",
|
|
534
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
535
|
+
},
|
|
536
|
+
spellCheck: {
|
|
537
|
+
required: false,
|
|
538
|
+
control: "boolean",
|
|
539
|
+
type: "boolean",
|
|
540
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
541
|
+
},
|
|
445
542
|
suppressContentEditableWarning: {
|
|
446
543
|
required: false,
|
|
447
544
|
control: "boolean",
|
|
@@ -452,13 +549,27 @@ export const propsDialogOverlay: Record<string, PropMeta> = {
|
|
|
452
549
|
control: "boolean",
|
|
453
550
|
type: "boolean",
|
|
454
551
|
},
|
|
455
|
-
tabIndex: {
|
|
456
|
-
|
|
552
|
+
tabIndex: {
|
|
553
|
+
required: false,
|
|
554
|
+
control: "number",
|
|
555
|
+
type: "number",
|
|
556
|
+
description:
|
|
557
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
558
|
+
},
|
|
559
|
+
title: {
|
|
560
|
+
required: false,
|
|
561
|
+
control: "text",
|
|
562
|
+
type: "string",
|
|
563
|
+
description:
|
|
564
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
565
|
+
},
|
|
457
566
|
translate: {
|
|
458
567
|
required: false,
|
|
459
568
|
control: "radio",
|
|
460
569
|
type: "string",
|
|
461
570
|
options: ["yes", "no"],
|
|
571
|
+
description:
|
|
572
|
+
"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.",
|
|
462
573
|
},
|
|
463
574
|
typeof: { required: false, control: "text", type: "string" },
|
|
464
575
|
unselectable: {
|
|
@@ -471,7 +582,12 @@ export const propsDialogOverlay: Record<string, PropMeta> = {
|
|
|
471
582
|
};
|
|
472
583
|
export const propsDialogContent: Record<string, PropMeta> = {
|
|
473
584
|
about: { required: false, control: "text", type: "string" },
|
|
474
|
-
accessKey: {
|
|
585
|
+
accessKey: {
|
|
586
|
+
required: false,
|
|
587
|
+
control: "text",
|
|
588
|
+
type: "string",
|
|
589
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
590
|
+
},
|
|
475
591
|
"aria-activedescendant": {
|
|
476
592
|
description:
|
|
477
593
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -652,7 +768,7 @@ export const propsDialogContent: Record<string, PropMeta> = {
|
|
|
652
768
|
},
|
|
653
769
|
"aria-label": {
|
|
654
770
|
description:
|
|
655
|
-
"
|
|
771
|
+
"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.",
|
|
656
772
|
required: false,
|
|
657
773
|
control: "text",
|
|
658
774
|
type: "string",
|
|
@@ -851,19 +967,72 @@ export const propsDialogContent: Record<string, PropMeta> = {
|
|
|
851
967
|
control: "text",
|
|
852
968
|
type: "string",
|
|
853
969
|
},
|
|
854
|
-
autoCapitalize: {
|
|
970
|
+
autoCapitalize: {
|
|
971
|
+
required: false,
|
|
972
|
+
control: "text",
|
|
973
|
+
type: "string",
|
|
974
|
+
description:
|
|
975
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
976
|
+
},
|
|
855
977
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
856
|
-
autoFocus: {
|
|
978
|
+
autoFocus: {
|
|
979
|
+
required: false,
|
|
980
|
+
control: "boolean",
|
|
981
|
+
type: "boolean",
|
|
982
|
+
description:
|
|
983
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
984
|
+
},
|
|
857
985
|
autoSave: { required: false, control: "text", type: "string" },
|
|
858
986
|
className: { required: false, control: "text", type: "string" },
|
|
859
|
-
color: {
|
|
860
|
-
|
|
861
|
-
|
|
987
|
+
color: {
|
|
988
|
+
required: false,
|
|
989
|
+
control: "color",
|
|
990
|
+
type: "string",
|
|
991
|
+
description:
|
|
992
|
+
"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.",
|
|
993
|
+
},
|
|
994
|
+
content: {
|
|
995
|
+
required: false,
|
|
996
|
+
control: "text",
|
|
997
|
+
type: "string",
|
|
998
|
+
description:
|
|
999
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
1000
|
+
},
|
|
1001
|
+
contextMenu: {
|
|
1002
|
+
required: false,
|
|
1003
|
+
control: "text",
|
|
1004
|
+
type: "string",
|
|
1005
|
+
description:
|
|
1006
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
1007
|
+
},
|
|
862
1008
|
datatype: { required: false, control: "text", type: "string" },
|
|
863
|
-
dir: {
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
1009
|
+
dir: {
|
|
1010
|
+
required: false,
|
|
1011
|
+
control: "text",
|
|
1012
|
+
type: "string",
|
|
1013
|
+
description:
|
|
1014
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
1015
|
+
},
|
|
1016
|
+
draggable: {
|
|
1017
|
+
required: false,
|
|
1018
|
+
control: "boolean",
|
|
1019
|
+
type: "boolean",
|
|
1020
|
+
description: "Defines whether the element can be dragged.",
|
|
1021
|
+
},
|
|
1022
|
+
hidden: {
|
|
1023
|
+
required: false,
|
|
1024
|
+
control: "boolean",
|
|
1025
|
+
type: "boolean",
|
|
1026
|
+
description:
|
|
1027
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
1028
|
+
},
|
|
1029
|
+
id: {
|
|
1030
|
+
required: false,
|
|
1031
|
+
control: "text",
|
|
1032
|
+
type: "string",
|
|
1033
|
+
description:
|
|
1034
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
1035
|
+
},
|
|
867
1036
|
inputMode: {
|
|
868
1037
|
description:
|
|
869
1038
|
"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",
|
|
@@ -893,20 +1062,53 @@ export const propsDialogContent: Record<string, PropMeta> = {
|
|
|
893
1062
|
itemRef: { required: false, control: "text", type: "string" },
|
|
894
1063
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
895
1064
|
itemType: { required: false, control: "text", type: "string" },
|
|
896
|
-
lang: {
|
|
1065
|
+
lang: {
|
|
1066
|
+
required: false,
|
|
1067
|
+
control: "text",
|
|
1068
|
+
type: "string",
|
|
1069
|
+
description: "Defines the language used in the element.",
|
|
1070
|
+
},
|
|
897
1071
|
nonce: { required: false, control: "text", type: "string" },
|
|
898
|
-
placeholder: {
|
|
1072
|
+
placeholder: {
|
|
1073
|
+
required: false,
|
|
1074
|
+
control: "text",
|
|
1075
|
+
type: "string",
|
|
1076
|
+
description:
|
|
1077
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
1078
|
+
},
|
|
899
1079
|
prefix: { required: false, control: "text", type: "string" },
|
|
900
1080
|
property: { required: false, control: "text", type: "string" },
|
|
901
1081
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
902
|
-
rel: {
|
|
1082
|
+
rel: {
|
|
1083
|
+
required: false,
|
|
1084
|
+
control: "text",
|
|
1085
|
+
type: "string",
|
|
1086
|
+
description:
|
|
1087
|
+
"Specifies the relationship of the target object to the link object.",
|
|
1088
|
+
},
|
|
903
1089
|
resource: { required: false, control: "text", type: "string" },
|
|
904
1090
|
results: { required: false, control: "number", type: "number" },
|
|
905
1091
|
rev: { required: false, control: "text", type: "string" },
|
|
906
|
-
role: {
|
|
1092
|
+
role: {
|
|
1093
|
+
required: false,
|
|
1094
|
+
control: "text",
|
|
1095
|
+
type: "string",
|
|
1096
|
+
description:
|
|
1097
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
1098
|
+
},
|
|
907
1099
|
security: { required: false, control: "text", type: "string" },
|
|
908
|
-
slot: {
|
|
909
|
-
|
|
1100
|
+
slot: {
|
|
1101
|
+
required: false,
|
|
1102
|
+
control: "text",
|
|
1103
|
+
type: "string",
|
|
1104
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
1105
|
+
},
|
|
1106
|
+
spellCheck: {
|
|
1107
|
+
required: false,
|
|
1108
|
+
control: "boolean",
|
|
1109
|
+
type: "boolean",
|
|
1110
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
1111
|
+
},
|
|
910
1112
|
suppressContentEditableWarning: {
|
|
911
1113
|
required: false,
|
|
912
1114
|
control: "boolean",
|
|
@@ -917,13 +1119,27 @@ export const propsDialogContent: Record<string, PropMeta> = {
|
|
|
917
1119
|
control: "boolean",
|
|
918
1120
|
type: "boolean",
|
|
919
1121
|
},
|
|
920
|
-
tabIndex: {
|
|
921
|
-
|
|
1122
|
+
tabIndex: {
|
|
1123
|
+
required: false,
|
|
1124
|
+
control: "number",
|
|
1125
|
+
type: "number",
|
|
1126
|
+
description:
|
|
1127
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
1128
|
+
},
|
|
1129
|
+
title: {
|
|
1130
|
+
required: false,
|
|
1131
|
+
control: "text",
|
|
1132
|
+
type: "string",
|
|
1133
|
+
description:
|
|
1134
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
1135
|
+
},
|
|
922
1136
|
translate: {
|
|
923
1137
|
required: false,
|
|
924
1138
|
control: "radio",
|
|
925
1139
|
type: "string",
|
|
926
1140
|
options: ["yes", "no"],
|
|
1141
|
+
description:
|
|
1142
|
+
"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.",
|
|
927
1143
|
},
|
|
928
1144
|
typeof: { required: false, control: "text", type: "string" },
|
|
929
1145
|
unselectable: {
|
|
@@ -936,7 +1152,12 @@ export const propsDialogContent: Record<string, PropMeta> = {
|
|
|
936
1152
|
};
|
|
937
1153
|
export const propsDialogClose: Record<string, PropMeta> = {
|
|
938
1154
|
about: { required: false, control: "text", type: "string" },
|
|
939
|
-
accessKey: {
|
|
1155
|
+
accessKey: {
|
|
1156
|
+
required: false,
|
|
1157
|
+
control: "text",
|
|
1158
|
+
type: "string",
|
|
1159
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
1160
|
+
},
|
|
940
1161
|
"aria-activedescendant": {
|
|
941
1162
|
description:
|
|
942
1163
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -1117,7 +1338,7 @@ export const propsDialogClose: Record<string, PropMeta> = {
|
|
|
1117
1338
|
},
|
|
1118
1339
|
"aria-label": {
|
|
1119
1340
|
description:
|
|
1120
|
-
"
|
|
1341
|
+
"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.",
|
|
1121
1342
|
required: false,
|
|
1122
1343
|
control: "text",
|
|
1123
1344
|
type: "string",
|
|
@@ -1316,26 +1537,119 @@ export const propsDialogClose: Record<string, PropMeta> = {
|
|
|
1316
1537
|
control: "text",
|
|
1317
1538
|
type: "string",
|
|
1318
1539
|
},
|
|
1319
|
-
autoCapitalize: {
|
|
1540
|
+
autoCapitalize: {
|
|
1541
|
+
required: false,
|
|
1542
|
+
control: "text",
|
|
1543
|
+
type: "string",
|
|
1544
|
+
description:
|
|
1545
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
1546
|
+
},
|
|
1320
1547
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1321
|
-
autoFocus: {
|
|
1548
|
+
autoFocus: {
|
|
1549
|
+
required: false,
|
|
1550
|
+
control: "boolean",
|
|
1551
|
+
type: "boolean",
|
|
1552
|
+
description:
|
|
1553
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
1554
|
+
},
|
|
1322
1555
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1323
1556
|
className: { required: false, control: "text", type: "string" },
|
|
1324
|
-
color: {
|
|
1325
|
-
|
|
1326
|
-
|
|
1557
|
+
color: {
|
|
1558
|
+
required: false,
|
|
1559
|
+
control: "color",
|
|
1560
|
+
type: "string",
|
|
1561
|
+
description:
|
|
1562
|
+
"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.",
|
|
1563
|
+
},
|
|
1564
|
+
content: {
|
|
1565
|
+
required: false,
|
|
1566
|
+
control: "text",
|
|
1567
|
+
type: "string",
|
|
1568
|
+
description:
|
|
1569
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
1570
|
+
},
|
|
1571
|
+
contextMenu: {
|
|
1572
|
+
required: false,
|
|
1573
|
+
control: "text",
|
|
1574
|
+
type: "string",
|
|
1575
|
+
description:
|
|
1576
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
1577
|
+
},
|
|
1327
1578
|
datatype: { required: false, control: "text", type: "string" },
|
|
1328
|
-
dir: {
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1579
|
+
dir: {
|
|
1580
|
+
required: false,
|
|
1581
|
+
control: "text",
|
|
1582
|
+
type: "string",
|
|
1583
|
+
description:
|
|
1584
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
1585
|
+
},
|
|
1586
|
+
disabled: {
|
|
1587
|
+
required: false,
|
|
1588
|
+
control: "boolean",
|
|
1589
|
+
type: "boolean",
|
|
1590
|
+
description: "Indicates whether the user can interact with the element.",
|
|
1591
|
+
},
|
|
1592
|
+
draggable: {
|
|
1593
|
+
required: false,
|
|
1594
|
+
control: "boolean",
|
|
1595
|
+
type: "boolean",
|
|
1596
|
+
description: "Defines whether the element can be dragged.",
|
|
1597
|
+
},
|
|
1598
|
+
form: {
|
|
1599
|
+
required: false,
|
|
1600
|
+
control: "text",
|
|
1601
|
+
type: "string",
|
|
1602
|
+
description: "Indicates the form that is the owner of the element.",
|
|
1603
|
+
},
|
|
1604
|
+
formAction: {
|
|
1605
|
+
required: false,
|
|
1606
|
+
control: "text",
|
|
1607
|
+
type: "string",
|
|
1608
|
+
description:
|
|
1609
|
+
"Indicates the action of the element, overriding the action defined inthe form.",
|
|
1610
|
+
},
|
|
1611
|
+
formEncType: {
|
|
1612
|
+
required: false,
|
|
1613
|
+
control: "text",
|
|
1614
|
+
type: "string",
|
|
1615
|
+
description:
|
|
1616
|
+
'If the button/input is a submit button (e.g. type="submit"), this attribute sets the encoding type to use during form submission. If this attribute is specified, it overrides theenctype attribute of the button\'s form owner.',
|
|
1617
|
+
},
|
|
1618
|
+
formMethod: {
|
|
1619
|
+
required: false,
|
|
1620
|
+
control: "text",
|
|
1621
|
+
type: "string",
|
|
1622
|
+
description:
|
|
1623
|
+
'If the button/input is a submit button (e.g. type="submit"), this attribute sets the submission method to use during form submission (GET, POST, etc.). If this attribute is specified, it overrides the method attribute of the button\'s form owner.',
|
|
1624
|
+
},
|
|
1625
|
+
formNoValidate: {
|
|
1626
|
+
required: false,
|
|
1627
|
+
control: "boolean",
|
|
1628
|
+
type: "boolean",
|
|
1629
|
+
description:
|
|
1630
|
+
'If the button/input is a submit button (e.g. type="submit"), this boolean attribute specifies that the form is not to be validatedwhen it is submitted. If this attribute is specified, it overrides thenovalidate attribute of the button\'s form owner.',
|
|
1631
|
+
},
|
|
1632
|
+
formTarget: {
|
|
1633
|
+
required: false,
|
|
1634
|
+
control: "text",
|
|
1635
|
+
type: "string",
|
|
1636
|
+
description:
|
|
1637
|
+
'If the button/input is a submit button (e.g. type="submit"), this attribute specifies the browsing context (for example, tab, window, or inline frame) in which to display the response that is received aftersubmitting the form. If this attribute is specified, it overrides thetarget attribute of the button\'s form owner.',
|
|
1638
|
+
},
|
|
1639
|
+
hidden: {
|
|
1640
|
+
required: false,
|
|
1641
|
+
control: "boolean",
|
|
1642
|
+
type: "boolean",
|
|
1643
|
+
description:
|
|
1644
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
1645
|
+
},
|
|
1646
|
+
id: {
|
|
1647
|
+
required: false,
|
|
1648
|
+
control: "text",
|
|
1649
|
+
type: "string",
|
|
1650
|
+
description:
|
|
1651
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
1652
|
+
},
|
|
1339
1653
|
inputMode: {
|
|
1340
1654
|
description:
|
|
1341
1655
|
"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",
|
|
@@ -1365,21 +1679,60 @@ export const propsDialogClose: Record<string, PropMeta> = {
|
|
|
1365
1679
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1366
1680
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1367
1681
|
itemType: { required: false, control: "text", type: "string" },
|
|
1368
|
-
lang: {
|
|
1369
|
-
|
|
1682
|
+
lang: {
|
|
1683
|
+
required: false,
|
|
1684
|
+
control: "text",
|
|
1685
|
+
type: "string",
|
|
1686
|
+
description: "Defines the language used in the element.",
|
|
1687
|
+
},
|
|
1688
|
+
name: {
|
|
1689
|
+
required: false,
|
|
1690
|
+
control: "text",
|
|
1691
|
+
type: "string",
|
|
1692
|
+
description:
|
|
1693
|
+
"This name is important when submitting form data to the server, as it identifies the data associated with the input. When multiple inputs share the same name attribute, they are treated as part of the same group (e.g., radio buttons or checkboxes).",
|
|
1694
|
+
},
|
|
1370
1695
|
nonce: { required: false, control: "text", type: "string" },
|
|
1371
|
-
placeholder: {
|
|
1696
|
+
placeholder: {
|
|
1697
|
+
required: false,
|
|
1698
|
+
control: "text",
|
|
1699
|
+
type: "string",
|
|
1700
|
+
description:
|
|
1701
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
1702
|
+
},
|
|
1372
1703
|
prefix: { required: false, control: "text", type: "string" },
|
|
1373
1704
|
property: { required: false, control: "text", type: "string" },
|
|
1374
1705
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1375
|
-
rel: {
|
|
1706
|
+
rel: {
|
|
1707
|
+
required: false,
|
|
1708
|
+
control: "text",
|
|
1709
|
+
type: "string",
|
|
1710
|
+
description:
|
|
1711
|
+
"Specifies the relationship of the target object to the link object.",
|
|
1712
|
+
},
|
|
1376
1713
|
resource: { required: false, control: "text", type: "string" },
|
|
1377
1714
|
results: { required: false, control: "number", type: "number" },
|
|
1378
1715
|
rev: { required: false, control: "text", type: "string" },
|
|
1379
|
-
role: {
|
|
1716
|
+
role: {
|
|
1717
|
+
required: false,
|
|
1718
|
+
control: "text",
|
|
1719
|
+
type: "string",
|
|
1720
|
+
description:
|
|
1721
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
1722
|
+
},
|
|
1380
1723
|
security: { required: false, control: "text", type: "string" },
|
|
1381
|
-
slot: {
|
|
1382
|
-
|
|
1724
|
+
slot: {
|
|
1725
|
+
required: false,
|
|
1726
|
+
control: "text",
|
|
1727
|
+
type: "string",
|
|
1728
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
1729
|
+
},
|
|
1730
|
+
spellCheck: {
|
|
1731
|
+
required: false,
|
|
1732
|
+
control: "boolean",
|
|
1733
|
+
type: "boolean",
|
|
1734
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
1735
|
+
},
|
|
1383
1736
|
suppressContentEditableWarning: {
|
|
1384
1737
|
required: false,
|
|
1385
1738
|
control: "boolean",
|
|
@@ -1390,19 +1743,34 @@ export const propsDialogClose: Record<string, PropMeta> = {
|
|
|
1390
1743
|
control: "boolean",
|
|
1391
1744
|
type: "boolean",
|
|
1392
1745
|
},
|
|
1393
|
-
tabIndex: {
|
|
1394
|
-
|
|
1746
|
+
tabIndex: {
|
|
1747
|
+
required: false,
|
|
1748
|
+
control: "number",
|
|
1749
|
+
type: "number",
|
|
1750
|
+
description:
|
|
1751
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
1752
|
+
},
|
|
1753
|
+
title: {
|
|
1754
|
+
required: false,
|
|
1755
|
+
control: "text",
|
|
1756
|
+
type: "string",
|
|
1757
|
+
description:
|
|
1758
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
1759
|
+
},
|
|
1395
1760
|
translate: {
|
|
1396
1761
|
required: false,
|
|
1397
1762
|
control: "radio",
|
|
1398
1763
|
type: "string",
|
|
1399
1764
|
options: ["yes", "no"],
|
|
1765
|
+
description:
|
|
1766
|
+
"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
1767
|
},
|
|
1401
1768
|
type: {
|
|
1402
1769
|
required: false,
|
|
1403
1770
|
control: "radio",
|
|
1404
1771
|
type: "string",
|
|
1405
1772
|
options: ["button", "submit", "reset"],
|
|
1773
|
+
description: "Defines the type of the element.",
|
|
1406
1774
|
},
|
|
1407
1775
|
typeof: { required: false, control: "text", type: "string" },
|
|
1408
1776
|
unselectable: {
|
|
@@ -1415,7 +1783,12 @@ export const propsDialogClose: Record<string, PropMeta> = {
|
|
|
1415
1783
|
};
|
|
1416
1784
|
export const propsDialogTitle: Record<string, PropMeta> = {
|
|
1417
1785
|
about: { required: false, control: "text", type: "string" },
|
|
1418
|
-
accessKey: {
|
|
1786
|
+
accessKey: {
|
|
1787
|
+
required: false,
|
|
1788
|
+
control: "text",
|
|
1789
|
+
type: "string",
|
|
1790
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
1791
|
+
},
|
|
1419
1792
|
"aria-activedescendant": {
|
|
1420
1793
|
description:
|
|
1421
1794
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -1596,7 +1969,7 @@ export const propsDialogTitle: Record<string, PropMeta> = {
|
|
|
1596
1969
|
},
|
|
1597
1970
|
"aria-label": {
|
|
1598
1971
|
description:
|
|
1599
|
-
"
|
|
1972
|
+
"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.",
|
|
1600
1973
|
required: false,
|
|
1601
1974
|
control: "text",
|
|
1602
1975
|
type: "string",
|
|
@@ -1795,19 +2168,72 @@ export const propsDialogTitle: Record<string, PropMeta> = {
|
|
|
1795
2168
|
control: "text",
|
|
1796
2169
|
type: "string",
|
|
1797
2170
|
},
|
|
1798
|
-
autoCapitalize: {
|
|
2171
|
+
autoCapitalize: {
|
|
2172
|
+
required: false,
|
|
2173
|
+
control: "text",
|
|
2174
|
+
type: "string",
|
|
2175
|
+
description:
|
|
2176
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
2177
|
+
},
|
|
1799
2178
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1800
|
-
autoFocus: {
|
|
2179
|
+
autoFocus: {
|
|
2180
|
+
required: false,
|
|
2181
|
+
control: "boolean",
|
|
2182
|
+
type: "boolean",
|
|
2183
|
+
description:
|
|
2184
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
2185
|
+
},
|
|
1801
2186
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1802
2187
|
className: { required: false, control: "text", type: "string" },
|
|
1803
|
-
color: {
|
|
1804
|
-
|
|
1805
|
-
|
|
2188
|
+
color: {
|
|
2189
|
+
required: false,
|
|
2190
|
+
control: "color",
|
|
2191
|
+
type: "string",
|
|
2192
|
+
description:
|
|
2193
|
+
"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.",
|
|
2194
|
+
},
|
|
2195
|
+
content: {
|
|
2196
|
+
required: false,
|
|
2197
|
+
control: "text",
|
|
2198
|
+
type: "string",
|
|
2199
|
+
description:
|
|
2200
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
2201
|
+
},
|
|
2202
|
+
contextMenu: {
|
|
2203
|
+
required: false,
|
|
2204
|
+
control: "text",
|
|
2205
|
+
type: "string",
|
|
2206
|
+
description:
|
|
2207
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
2208
|
+
},
|
|
1806
2209
|
datatype: { required: false, control: "text", type: "string" },
|
|
1807
|
-
dir: {
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
2210
|
+
dir: {
|
|
2211
|
+
required: false,
|
|
2212
|
+
control: "text",
|
|
2213
|
+
type: "string",
|
|
2214
|
+
description:
|
|
2215
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
2216
|
+
},
|
|
2217
|
+
draggable: {
|
|
2218
|
+
required: false,
|
|
2219
|
+
control: "boolean",
|
|
2220
|
+
type: "boolean",
|
|
2221
|
+
description: "Defines whether the element can be dragged.",
|
|
2222
|
+
},
|
|
2223
|
+
hidden: {
|
|
2224
|
+
required: false,
|
|
2225
|
+
control: "boolean",
|
|
2226
|
+
type: "boolean",
|
|
2227
|
+
description:
|
|
2228
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
2229
|
+
},
|
|
2230
|
+
id: {
|
|
2231
|
+
required: false,
|
|
2232
|
+
control: "text",
|
|
2233
|
+
type: "string",
|
|
2234
|
+
description:
|
|
2235
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
2236
|
+
},
|
|
1811
2237
|
inputMode: {
|
|
1812
2238
|
description:
|
|
1813
2239
|
"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",
|
|
@@ -1837,20 +2263,53 @@ export const propsDialogTitle: Record<string, PropMeta> = {
|
|
|
1837
2263
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1838
2264
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1839
2265
|
itemType: { required: false, control: "text", type: "string" },
|
|
1840
|
-
lang: {
|
|
2266
|
+
lang: {
|
|
2267
|
+
required: false,
|
|
2268
|
+
control: "text",
|
|
2269
|
+
type: "string",
|
|
2270
|
+
description: "Defines the language used in the element.",
|
|
2271
|
+
},
|
|
1841
2272
|
nonce: { required: false, control: "text", type: "string" },
|
|
1842
|
-
placeholder: {
|
|
2273
|
+
placeholder: {
|
|
2274
|
+
required: false,
|
|
2275
|
+
control: "text",
|
|
2276
|
+
type: "string",
|
|
2277
|
+
description:
|
|
2278
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
2279
|
+
},
|
|
1843
2280
|
prefix: { required: false, control: "text", type: "string" },
|
|
1844
2281
|
property: { required: false, control: "text", type: "string" },
|
|
1845
2282
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1846
|
-
rel: {
|
|
2283
|
+
rel: {
|
|
2284
|
+
required: false,
|
|
2285
|
+
control: "text",
|
|
2286
|
+
type: "string",
|
|
2287
|
+
description:
|
|
2288
|
+
"Specifies the relationship of the target object to the link object.",
|
|
2289
|
+
},
|
|
1847
2290
|
resource: { required: false, control: "text", type: "string" },
|
|
1848
2291
|
results: { required: false, control: "number", type: "number" },
|
|
1849
2292
|
rev: { required: false, control: "text", type: "string" },
|
|
1850
|
-
role: {
|
|
2293
|
+
role: {
|
|
2294
|
+
required: false,
|
|
2295
|
+
control: "text",
|
|
2296
|
+
type: "string",
|
|
2297
|
+
description:
|
|
2298
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
2299
|
+
},
|
|
1851
2300
|
security: { required: false, control: "text", type: "string" },
|
|
1852
|
-
slot: {
|
|
1853
|
-
|
|
2301
|
+
slot: {
|
|
2302
|
+
required: false,
|
|
2303
|
+
control: "text",
|
|
2304
|
+
type: "string",
|
|
2305
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
2306
|
+
},
|
|
2307
|
+
spellCheck: {
|
|
2308
|
+
required: false,
|
|
2309
|
+
control: "boolean",
|
|
2310
|
+
type: "boolean",
|
|
2311
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
2312
|
+
},
|
|
1854
2313
|
suppressContentEditableWarning: {
|
|
1855
2314
|
required: false,
|
|
1856
2315
|
control: "boolean",
|
|
@@ -1861,13 +2320,27 @@ export const propsDialogTitle: Record<string, PropMeta> = {
|
|
|
1861
2320
|
control: "boolean",
|
|
1862
2321
|
type: "boolean",
|
|
1863
2322
|
},
|
|
1864
|
-
tabIndex: {
|
|
1865
|
-
|
|
2323
|
+
tabIndex: {
|
|
2324
|
+
required: false,
|
|
2325
|
+
control: "number",
|
|
2326
|
+
type: "number",
|
|
2327
|
+
description:
|
|
2328
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
2329
|
+
},
|
|
2330
|
+
title: {
|
|
2331
|
+
required: false,
|
|
2332
|
+
control: "text",
|
|
2333
|
+
type: "string",
|
|
2334
|
+
description:
|
|
2335
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
2336
|
+
},
|
|
1866
2337
|
translate: {
|
|
1867
2338
|
required: false,
|
|
1868
2339
|
control: "radio",
|
|
1869
2340
|
type: "string",
|
|
1870
2341
|
options: ["yes", "no"],
|
|
2342
|
+
description:
|
|
2343
|
+
"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.",
|
|
1871
2344
|
},
|
|
1872
2345
|
typeof: { required: false, control: "text", type: "string" },
|
|
1873
2346
|
unselectable: {
|
|
@@ -1880,7 +2353,12 @@ export const propsDialogTitle: Record<string, PropMeta> = {
|
|
|
1880
2353
|
};
|
|
1881
2354
|
export const propsDialogDescription: Record<string, PropMeta> = {
|
|
1882
2355
|
about: { required: false, control: "text", type: "string" },
|
|
1883
|
-
accessKey: {
|
|
2356
|
+
accessKey: {
|
|
2357
|
+
required: false,
|
|
2358
|
+
control: "text",
|
|
2359
|
+
type: "string",
|
|
2360
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
2361
|
+
},
|
|
1884
2362
|
"aria-activedescendant": {
|
|
1885
2363
|
description:
|
|
1886
2364
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -2061,7 +2539,7 @@ export const propsDialogDescription: Record<string, PropMeta> = {
|
|
|
2061
2539
|
},
|
|
2062
2540
|
"aria-label": {
|
|
2063
2541
|
description:
|
|
2064
|
-
"
|
|
2542
|
+
"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.",
|
|
2065
2543
|
required: false,
|
|
2066
2544
|
control: "text",
|
|
2067
2545
|
type: "string",
|
|
@@ -2260,19 +2738,72 @@ export const propsDialogDescription: Record<string, PropMeta> = {
|
|
|
2260
2738
|
control: "text",
|
|
2261
2739
|
type: "string",
|
|
2262
2740
|
},
|
|
2263
|
-
autoCapitalize: {
|
|
2741
|
+
autoCapitalize: {
|
|
2742
|
+
required: false,
|
|
2743
|
+
control: "text",
|
|
2744
|
+
type: "string",
|
|
2745
|
+
description:
|
|
2746
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
2747
|
+
},
|
|
2264
2748
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
2265
|
-
autoFocus: {
|
|
2749
|
+
autoFocus: {
|
|
2750
|
+
required: false,
|
|
2751
|
+
control: "boolean",
|
|
2752
|
+
type: "boolean",
|
|
2753
|
+
description:
|
|
2754
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
2755
|
+
},
|
|
2266
2756
|
autoSave: { required: false, control: "text", type: "string" },
|
|
2267
2757
|
className: { required: false, control: "text", type: "string" },
|
|
2268
|
-
color: {
|
|
2269
|
-
|
|
2270
|
-
|
|
2758
|
+
color: {
|
|
2759
|
+
required: false,
|
|
2760
|
+
control: "color",
|
|
2761
|
+
type: "string",
|
|
2762
|
+
description:
|
|
2763
|
+
"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.",
|
|
2764
|
+
},
|
|
2765
|
+
content: {
|
|
2766
|
+
required: false,
|
|
2767
|
+
control: "text",
|
|
2768
|
+
type: "string",
|
|
2769
|
+
description:
|
|
2770
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
2771
|
+
},
|
|
2772
|
+
contextMenu: {
|
|
2773
|
+
required: false,
|
|
2774
|
+
control: "text",
|
|
2775
|
+
type: "string",
|
|
2776
|
+
description:
|
|
2777
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
2778
|
+
},
|
|
2271
2779
|
datatype: { required: false, control: "text", type: "string" },
|
|
2272
|
-
dir: {
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2780
|
+
dir: {
|
|
2781
|
+
required: false,
|
|
2782
|
+
control: "text",
|
|
2783
|
+
type: "string",
|
|
2784
|
+
description:
|
|
2785
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
2786
|
+
},
|
|
2787
|
+
draggable: {
|
|
2788
|
+
required: false,
|
|
2789
|
+
control: "boolean",
|
|
2790
|
+
type: "boolean",
|
|
2791
|
+
description: "Defines whether the element can be dragged.",
|
|
2792
|
+
},
|
|
2793
|
+
hidden: {
|
|
2794
|
+
required: false,
|
|
2795
|
+
control: "boolean",
|
|
2796
|
+
type: "boolean",
|
|
2797
|
+
description:
|
|
2798
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
2799
|
+
},
|
|
2800
|
+
id: {
|
|
2801
|
+
required: false,
|
|
2802
|
+
control: "text",
|
|
2803
|
+
type: "string",
|
|
2804
|
+
description:
|
|
2805
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
2806
|
+
},
|
|
2276
2807
|
inputMode: {
|
|
2277
2808
|
description:
|
|
2278
2809
|
"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",
|
|
@@ -2302,20 +2833,53 @@ export const propsDialogDescription: Record<string, PropMeta> = {
|
|
|
2302
2833
|
itemRef: { required: false, control: "text", type: "string" },
|
|
2303
2834
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
2304
2835
|
itemType: { required: false, control: "text", type: "string" },
|
|
2305
|
-
lang: {
|
|
2836
|
+
lang: {
|
|
2837
|
+
required: false,
|
|
2838
|
+
control: "text",
|
|
2839
|
+
type: "string",
|
|
2840
|
+
description: "Defines the language used in the element.",
|
|
2841
|
+
},
|
|
2306
2842
|
nonce: { required: false, control: "text", type: "string" },
|
|
2307
|
-
placeholder: {
|
|
2843
|
+
placeholder: {
|
|
2844
|
+
required: false,
|
|
2845
|
+
control: "text",
|
|
2846
|
+
type: "string",
|
|
2847
|
+
description:
|
|
2848
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
2849
|
+
},
|
|
2308
2850
|
prefix: { required: false, control: "text", type: "string" },
|
|
2309
2851
|
property: { required: false, control: "text", type: "string" },
|
|
2310
2852
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
2311
|
-
rel: {
|
|
2853
|
+
rel: {
|
|
2854
|
+
required: false,
|
|
2855
|
+
control: "text",
|
|
2856
|
+
type: "string",
|
|
2857
|
+
description:
|
|
2858
|
+
"Specifies the relationship of the target object to the link object.",
|
|
2859
|
+
},
|
|
2312
2860
|
resource: { required: false, control: "text", type: "string" },
|
|
2313
2861
|
results: { required: false, control: "number", type: "number" },
|
|
2314
2862
|
rev: { required: false, control: "text", type: "string" },
|
|
2315
|
-
role: {
|
|
2863
|
+
role: {
|
|
2864
|
+
required: false,
|
|
2865
|
+
control: "text",
|
|
2866
|
+
type: "string",
|
|
2867
|
+
description:
|
|
2868
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
2869
|
+
},
|
|
2316
2870
|
security: { required: false, control: "text", type: "string" },
|
|
2317
|
-
slot: {
|
|
2318
|
-
|
|
2871
|
+
slot: {
|
|
2872
|
+
required: false,
|
|
2873
|
+
control: "text",
|
|
2874
|
+
type: "string",
|
|
2875
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
2876
|
+
},
|
|
2877
|
+
spellCheck: {
|
|
2878
|
+
required: false,
|
|
2879
|
+
control: "boolean",
|
|
2880
|
+
type: "boolean",
|
|
2881
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
2882
|
+
},
|
|
2319
2883
|
suppressContentEditableWarning: {
|
|
2320
2884
|
required: false,
|
|
2321
2885
|
control: "boolean",
|
|
@@ -2326,13 +2890,27 @@ export const propsDialogDescription: Record<string, PropMeta> = {
|
|
|
2326
2890
|
control: "boolean",
|
|
2327
2891
|
type: "boolean",
|
|
2328
2892
|
},
|
|
2329
|
-
tabIndex: {
|
|
2330
|
-
|
|
2893
|
+
tabIndex: {
|
|
2894
|
+
required: false,
|
|
2895
|
+
control: "number",
|
|
2896
|
+
type: "number",
|
|
2897
|
+
description:
|
|
2898
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
2899
|
+
},
|
|
2900
|
+
title: {
|
|
2901
|
+
required: false,
|
|
2902
|
+
control: "text",
|
|
2903
|
+
type: "string",
|
|
2904
|
+
description:
|
|
2905
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
2906
|
+
},
|
|
2331
2907
|
translate: {
|
|
2332
2908
|
required: false,
|
|
2333
2909
|
control: "radio",
|
|
2334
2910
|
type: "string",
|
|
2335
2911
|
options: ["yes", "no"],
|
|
2912
|
+
description:
|
|
2913
|
+
"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.",
|
|
2336
2914
|
},
|
|
2337
2915
|
typeof: { required: false, control: "text", type: "string" },
|
|
2338
2916
|
unselectable: {
|