@webstudio-is/sdk-components-react-radix 0.87.1 → 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 -114
- package/lib/__generated__/button.props.js +158 -47
- package/lib/__generated__/checkbox.props.js +1083 -0
- package/lib/__generated__/collapsible.props.js +234 -44
- package/lib/__generated__/dialog.props.js +611 -121
- package/lib/__generated__/input.props.js +264 -47
- package/lib/__generated__/label.props.js +123 -23
- package/lib/__generated__/navigation-menu.props.js +2565 -0
- package/lib/__generated__/popover.props.js +129 -28
- package/lib/__generated__/radio-group.props.js +1627 -0
- package/lib/__generated__/select.props.js +3678 -0
- package/lib/__generated__/sheet.props.js +591 -121
- package/lib/__generated__/switch.props.js +1083 -0
- package/lib/__generated__/tabs.props.js +906 -68
- package/lib/__generated__/textarea.props.js +177 -31
- package/lib/__generated__/tooltip.props.js +131 -29
- package/lib/accordion.js +11 -4
- package/lib/accordion.ws.js +88 -72
- package/lib/checkbox.js +13 -0
- package/lib/checkbox.ws.js +153 -0
- package/lib/cjs/__generated__/accordion.props.js +605 -114
- package/lib/cjs/__generated__/button.props.js +158 -47
- package/lib/cjs/__generated__/checkbox.props.js +1103 -0
- package/lib/cjs/__generated__/collapsible.props.js +234 -44
- package/lib/cjs/__generated__/dialog.props.js +611 -121
- package/lib/cjs/__generated__/input.props.js +264 -47
- package/lib/cjs/__generated__/label.props.js +123 -23
- package/lib/cjs/__generated__/navigation-menu.props.js +2585 -0
- package/lib/cjs/__generated__/popover.props.js +129 -28
- package/lib/cjs/__generated__/radio-group.props.js +1647 -0
- package/lib/cjs/__generated__/select.props.js +3698 -0
- package/lib/cjs/__generated__/sheet.props.js +591 -121
- package/lib/cjs/__generated__/switch.props.js +1103 -0
- package/lib/cjs/__generated__/tabs.props.js +906 -68
- package/lib/cjs/__generated__/textarea.props.js +177 -31
- package/lib/cjs/__generated__/tooltip.props.js +131 -29
- package/lib/cjs/accordion.js +11 -4
- package/lib/cjs/accordion.ws.js +86 -71
- package/lib/cjs/{textarea.js → checkbox.js} +9 -6
- package/lib/cjs/checkbox.ws.js +174 -0
- package/lib/cjs/collapsible.ws.js +5 -1
- package/lib/cjs/components.js +27 -14
- package/lib/cjs/dialog.ws.js +18 -17
- package/lib/cjs/hooks.js +5 -1
- package/lib/cjs/label.ws.js +2 -1
- package/lib/cjs/metas.js +29 -14
- package/lib/cjs/navigation-menu.js +107 -0
- package/lib/cjs/navigation-menu.ws.js +514 -0
- package/lib/cjs/popover.ws.js +13 -9
- package/lib/cjs/props-descriptions.js +56 -0
- package/lib/cjs/props.js +27 -14
- package/lib/cjs/{button.js → radio-group.js} +10 -8
- package/lib/cjs/radio-group.ws.js +191 -0
- package/lib/cjs/select.js +83 -0
- package/lib/cjs/select.ws.js +350 -0
- package/lib/cjs/sheet.ws.js +88 -176
- package/lib/cjs/{input.js → switch.js} +8 -9
- package/lib/cjs/switch.ws.js +173 -0
- package/lib/cjs/tabs.js +2 -3
- package/lib/cjs/tabs.ws.js +14 -18
- package/lib/cjs/theme/styles.js +100 -0
- package/lib/cjs/theme/tailwind-classes.js +125 -16
- package/lib/cjs/theme/tailwind-colors.js +1 -0
- package/lib/cjs/tooltip.ws.js +12 -8
- package/lib/collapsible.ws.js +5 -1
- package/lib/components.js +44 -22
- package/lib/dialog.ws.js +18 -17
- package/lib/hooks.js +5 -1
- package/lib/label.ws.js +2 -1
- package/lib/metas.js +58 -24
- package/lib/navigation-menu.js +85 -0
- package/lib/navigation-menu.ws.js +501 -0
- package/lib/popover.ws.js +13 -9
- package/lib/props-descriptions.js +36 -0
- package/lib/props.js +56 -24
- package/lib/radio-group.js +11 -0
- package/lib/radio-group.ws.js +173 -0
- package/lib/select.js +75 -0
- package/lib/select.ws.js +338 -0
- package/lib/sheet.ws.js +89 -194
- package/lib/switch.js +7 -0
- package/lib/switch.ws.js +145 -0
- package/lib/tabs.js +3 -5
- package/lib/tabs.ws.js +15 -19
- package/lib/theme/styles.js +70 -0
- package/lib/theme/tailwind-classes.js +125 -16
- package/lib/theme/tailwind-colors.js +1 -0
- package/lib/tooltip.ws.js +12 -8
- package/lib/types/__generated__/checkbox.props.d.ts +3 -0
- package/lib/types/__generated__/navigation-menu.props.d.ts +8 -0
- package/lib/types/__generated__/radio-group.props.d.ts +4 -0
- package/lib/types/__generated__/select.props.d.ts +9 -0
- package/lib/types/__generated__/switch.props.d.ts +3 -0
- package/lib/types/checkbox.d.ts +6 -0
- package/lib/types/checkbox.stories.d.ts +11 -0
- package/lib/types/checkbox.ws.d.ts +5 -0
- package/lib/types/components.d.ts +5 -4
- package/lib/types/metas.d.ts +6 -4
- package/lib/types/navigation-menu.d.ts +15 -0
- package/lib/types/navigation-menu.ws.d.ts +15 -0
- package/lib/types/props-descriptions.d.ts +29 -0
- package/lib/types/props.d.ts +5 -4
- package/lib/types/radio-group.d.ts +5 -0
- package/lib/types/radio-group.stories.d.ts +9 -0
- package/lib/types/radio-group.ws.d.ts +7 -0
- package/lib/types/select.d.ts +14 -0
- package/lib/types/select.ws.d.ts +17 -0
- package/lib/types/sheet.ws.d.ts +2 -15
- package/lib/types/switch.d.ts +4 -0
- package/lib/types/switch.stories.d.ts +9 -0
- package/lib/types/switch.ws.d.ts +5 -0
- package/lib/types/tabs.d.ts +3 -12
- package/lib/types/theme/radix-common-types.d.ts +3 -2
- package/lib/types/theme/styles.d.ts +215 -0
- package/lib/types/theme/tailwind-classes.d.ts +16 -6
- package/lib/types/theme/tailwind-colors.d.ts +1 -0
- package/lib/types/theme/tailwind-theme.d.ts +1 -1
- package/package.json +12 -7
- package/src/__generated__/accordion.props.ts +675 -108
- package/src/__generated__/button.props.ts +177 -45
- package/src/__generated__/checkbox.props.ts +1217 -0
- package/src/__generated__/collapsible.props.ts +261 -42
- package/src/__generated__/dialog.props.ts +682 -115
- package/src/__generated__/input.props.ts +292 -44
- package/src/__generated__/label.props.ts +137 -22
- package/src/__generated__/navigation-menu.props.ts +2882 -0
- package/src/__generated__/popover.props.ts +142 -24
- package/src/__generated__/radio-group.props.ts +1828 -0
- package/src/__generated__/select.props.ts +4130 -0
- package/src/__generated__/sheet.props.ts +657 -110
- package/src/__generated__/switch.props.ts +1217 -0
- package/src/__generated__/tabs.props.ts +1019 -67
- package/src/__generated__/textarea.props.ts +195 -30
- package/src/__generated__/tooltip.props.ts +145 -25
- package/src/accordion.tsx +14 -7
- package/src/accordion.ws.ts +87 -70
- package/src/{textarea.stories.ts → checkbox.stories.ts} +6 -11
- package/src/checkbox.tsx +22 -0
- package/src/checkbox.ws.ts +154 -0
- package/src/collapsible.ws.ts +6 -1
- package/src/components.ts +25 -12
- package/src/dialog.ws.tsx +17 -16
- package/src/hooks.ts +4 -0
- package/src/label.ws.ts +3 -1
- package/src/metas.ts +36 -12
- package/src/navigation-menu.stories.tsx +21 -0
- package/src/navigation-menu.tsx +130 -0
- package/src/navigation-menu.ws.ts +524 -0
- package/src/popover.ws.tsx +13 -9
- package/src/props-descriptions.ts +43 -0
- package/src/props.ts +35 -12
- package/src/{input.stories.ts → radio-group.stories.ts} +6 -15
- package/src/radio-group.tsx +17 -0
- package/src/radio-group.ws.ts +178 -0
- package/src/select.stories.tsx +21 -0
- package/src/select.tsx +112 -0
- package/src/select.ws.ts +349 -0
- package/src/sheet.ws.tsx +91 -209
- package/src/{button.stories.ts → switch.stories.ts} +6 -19
- package/src/switch.tsx +10 -0
- package/src/switch.ws.ts +146 -0
- package/src/tabs.tsx +4 -17
- package/src/tabs.ws.ts +19 -19
- package/src/theme/radix-common-types.ts +3 -2
- package/src/theme/styles.ts +80 -0
- package/src/theme/tailwind-classes.ts +150 -14
- package/src/theme/tailwind-colors.ts +1 -0
- package/src/tooltip.ws.tsx +13 -8
- package/lib/button.js +0 -8
- package/lib/button.ws.js +0 -133
- package/lib/cjs/button.ws.js +0 -160
- package/lib/cjs/input.ws.js +0 -103
- package/lib/cjs/textarea.ws.js +0 -98
- package/lib/input.js +0 -8
- package/lib/input.ws.js +0 -75
- package/lib/textarea.js +0 -8
- package/lib/textarea.ws.js +0 -70
- package/lib/types/button.d.ts +0 -7
- package/lib/types/button.stories.d.ts +0 -20
- package/lib/types/button.ws.d.ts +0 -7
- package/lib/types/input.d.ts +0 -2
- package/lib/types/input.stories.d.ts +0 -20
- package/lib/types/input.ws.d.ts +0 -3
- package/lib/types/textarea.d.ts +0 -2
- package/lib/types/textarea.stories.d.ts +0 -14
- package/lib/types/textarea.ws.d.ts +0 -3
- package/src/button.tsx +0 -25
- package/src/button.ws.ts +0 -155
- package/src/input.tsx +0 -12
- package/src/input.ws.ts +0 -78
- package/src/textarea.tsx +0 -12
- package/src/textarea.ws.ts +0 -74
|
@@ -28,13 +28,22 @@ __export(dialog_props_exports, {
|
|
|
28
28
|
});
|
|
29
29
|
module.exports = __toCommonJS(dialog_props_exports);
|
|
30
30
|
const propsDialog = {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
open: {
|
|
32
|
+
required: false,
|
|
33
|
+
control: "boolean",
|
|
34
|
+
type: "boolean",
|
|
35
|
+
description: "Show or hide the content of this component on the canvas. This will not affect the initial state of the component."
|
|
36
|
+
}
|
|
33
37
|
};
|
|
34
38
|
const propsDialogTrigger = {};
|
|
35
39
|
const propsDialogOverlay = {
|
|
36
40
|
about: { required: false, control: "text", type: "string" },
|
|
37
|
-
accessKey: {
|
|
41
|
+
accessKey: {
|
|
42
|
+
required: false,
|
|
43
|
+
control: "text",
|
|
44
|
+
type: "string",
|
|
45
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
46
|
+
},
|
|
38
47
|
"aria-activedescendant": {
|
|
39
48
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
40
49
|
required: false,
|
|
@@ -190,7 +199,7 @@ const propsDialogOverlay = {
|
|
|
190
199
|
type: "string"
|
|
191
200
|
},
|
|
192
201
|
"aria-label": {
|
|
193
|
-
description: "
|
|
202
|
+
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.",
|
|
194
203
|
required: false,
|
|
195
204
|
control: "text",
|
|
196
205
|
type: "string"
|
|
@@ -366,21 +375,64 @@ const propsDialogOverlay = {
|
|
|
366
375
|
control: "text",
|
|
367
376
|
type: "string"
|
|
368
377
|
},
|
|
369
|
-
|
|
370
|
-
|
|
378
|
+
autoCapitalize: {
|
|
379
|
+
required: false,
|
|
380
|
+
control: "text",
|
|
381
|
+
type: "string",
|
|
382
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
383
|
+
},
|
|
371
384
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
372
|
-
autoFocus: {
|
|
385
|
+
autoFocus: {
|
|
386
|
+
required: false,
|
|
387
|
+
control: "boolean",
|
|
388
|
+
type: "boolean",
|
|
389
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
390
|
+
},
|
|
373
391
|
autoSave: { required: false, control: "text", type: "string" },
|
|
374
392
|
className: { required: false, control: "text", type: "string" },
|
|
375
|
-
color: {
|
|
376
|
-
|
|
377
|
-
|
|
393
|
+
color: {
|
|
394
|
+
required: false,
|
|
395
|
+
control: "color",
|
|
396
|
+
type: "string",
|
|
397
|
+
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."
|
|
398
|
+
},
|
|
399
|
+
content: {
|
|
400
|
+
required: false,
|
|
401
|
+
control: "text",
|
|
402
|
+
type: "string",
|
|
403
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
404
|
+
},
|
|
405
|
+
contextMenu: {
|
|
406
|
+
required: false,
|
|
407
|
+
control: "text",
|
|
408
|
+
type: "string",
|
|
409
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
410
|
+
},
|
|
378
411
|
datatype: { required: false, control: "text", type: "string" },
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
412
|
+
dir: {
|
|
413
|
+
required: false,
|
|
414
|
+
control: "text",
|
|
415
|
+
type: "string",
|
|
416
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
417
|
+
},
|
|
418
|
+
draggable: {
|
|
419
|
+
required: false,
|
|
420
|
+
control: "boolean",
|
|
421
|
+
type: "boolean",
|
|
422
|
+
description: "Defines whether the element can be dragged."
|
|
423
|
+
},
|
|
424
|
+
hidden: {
|
|
425
|
+
required: false,
|
|
426
|
+
control: "boolean",
|
|
427
|
+
type: "boolean",
|
|
428
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
429
|
+
},
|
|
430
|
+
id: {
|
|
431
|
+
required: false,
|
|
432
|
+
control: "text",
|
|
433
|
+
type: "string",
|
|
434
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
435
|
+
},
|
|
384
436
|
inputMode: {
|
|
385
437
|
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",
|
|
386
438
|
required: false,
|
|
@@ -408,20 +460,50 @@ const propsDialogOverlay = {
|
|
|
408
460
|
itemRef: { required: false, control: "text", type: "string" },
|
|
409
461
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
410
462
|
itemType: { required: false, control: "text", type: "string" },
|
|
411
|
-
lang: {
|
|
463
|
+
lang: {
|
|
464
|
+
required: false,
|
|
465
|
+
control: "text",
|
|
466
|
+
type: "string",
|
|
467
|
+
description: "Defines the language used in the element."
|
|
468
|
+
},
|
|
412
469
|
nonce: { required: false, control: "text", type: "string" },
|
|
413
|
-
placeholder: {
|
|
470
|
+
placeholder: {
|
|
471
|
+
required: false,
|
|
472
|
+
control: "text",
|
|
473
|
+
type: "string",
|
|
474
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
475
|
+
},
|
|
414
476
|
prefix: { required: false, control: "text", type: "string" },
|
|
415
477
|
property: { required: false, control: "text", type: "string" },
|
|
416
478
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
417
|
-
rel: {
|
|
479
|
+
rel: {
|
|
480
|
+
required: false,
|
|
481
|
+
control: "text",
|
|
482
|
+
type: "string",
|
|
483
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
484
|
+
},
|
|
418
485
|
resource: { required: false, control: "text", type: "string" },
|
|
419
486
|
results: { required: false, control: "number", type: "number" },
|
|
420
487
|
rev: { required: false, control: "text", type: "string" },
|
|
421
|
-
role: {
|
|
488
|
+
role: {
|
|
489
|
+
required: false,
|
|
490
|
+
control: "text",
|
|
491
|
+
type: "string",
|
|
492
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
493
|
+
},
|
|
422
494
|
security: { required: false, control: "text", type: "string" },
|
|
423
|
-
slot: {
|
|
424
|
-
|
|
495
|
+
slot: {
|
|
496
|
+
required: false,
|
|
497
|
+
control: "text",
|
|
498
|
+
type: "string",
|
|
499
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
500
|
+
},
|
|
501
|
+
spellCheck: {
|
|
502
|
+
required: false,
|
|
503
|
+
control: "boolean",
|
|
504
|
+
type: "boolean",
|
|
505
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
506
|
+
},
|
|
425
507
|
suppressContentEditableWarning: {
|
|
426
508
|
required: false,
|
|
427
509
|
control: "boolean",
|
|
@@ -432,13 +514,24 @@ const propsDialogOverlay = {
|
|
|
432
514
|
control: "boolean",
|
|
433
515
|
type: "boolean"
|
|
434
516
|
},
|
|
435
|
-
tabIndex: {
|
|
436
|
-
|
|
517
|
+
tabIndex: {
|
|
518
|
+
required: false,
|
|
519
|
+
control: "number",
|
|
520
|
+
type: "number",
|
|
521
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
522
|
+
},
|
|
523
|
+
title: {
|
|
524
|
+
required: false,
|
|
525
|
+
control: "text",
|
|
526
|
+
type: "string",
|
|
527
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
528
|
+
},
|
|
437
529
|
translate: {
|
|
438
530
|
required: false,
|
|
439
531
|
control: "radio",
|
|
440
532
|
type: "string",
|
|
441
|
-
options: ["yes", "no"]
|
|
533
|
+
options: ["yes", "no"],
|
|
534
|
+
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."
|
|
442
535
|
},
|
|
443
536
|
typeof: { required: false, control: "text", type: "string" },
|
|
444
537
|
unselectable: {
|
|
@@ -451,7 +544,12 @@ const propsDialogOverlay = {
|
|
|
451
544
|
};
|
|
452
545
|
const propsDialogContent = {
|
|
453
546
|
about: { required: false, control: "text", type: "string" },
|
|
454
|
-
accessKey: {
|
|
547
|
+
accessKey: {
|
|
548
|
+
required: false,
|
|
549
|
+
control: "text",
|
|
550
|
+
type: "string",
|
|
551
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
552
|
+
},
|
|
455
553
|
"aria-activedescendant": {
|
|
456
554
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
457
555
|
required: false,
|
|
@@ -607,7 +705,7 @@ const propsDialogContent = {
|
|
|
607
705
|
type: "string"
|
|
608
706
|
},
|
|
609
707
|
"aria-label": {
|
|
610
|
-
description: "
|
|
708
|
+
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.",
|
|
611
709
|
required: false,
|
|
612
710
|
control: "text",
|
|
613
711
|
type: "string"
|
|
@@ -783,21 +881,64 @@ const propsDialogContent = {
|
|
|
783
881
|
control: "text",
|
|
784
882
|
type: "string"
|
|
785
883
|
},
|
|
786
|
-
|
|
787
|
-
|
|
884
|
+
autoCapitalize: {
|
|
885
|
+
required: false,
|
|
886
|
+
control: "text",
|
|
887
|
+
type: "string",
|
|
888
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
889
|
+
},
|
|
788
890
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
789
|
-
autoFocus: {
|
|
891
|
+
autoFocus: {
|
|
892
|
+
required: false,
|
|
893
|
+
control: "boolean",
|
|
894
|
+
type: "boolean",
|
|
895
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
896
|
+
},
|
|
790
897
|
autoSave: { required: false, control: "text", type: "string" },
|
|
791
898
|
className: { required: false, control: "text", type: "string" },
|
|
792
|
-
color: {
|
|
793
|
-
|
|
794
|
-
|
|
899
|
+
color: {
|
|
900
|
+
required: false,
|
|
901
|
+
control: "color",
|
|
902
|
+
type: "string",
|
|
903
|
+
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."
|
|
904
|
+
},
|
|
905
|
+
content: {
|
|
906
|
+
required: false,
|
|
907
|
+
control: "text",
|
|
908
|
+
type: "string",
|
|
909
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
910
|
+
},
|
|
911
|
+
contextMenu: {
|
|
912
|
+
required: false,
|
|
913
|
+
control: "text",
|
|
914
|
+
type: "string",
|
|
915
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
916
|
+
},
|
|
795
917
|
datatype: { required: false, control: "text", type: "string" },
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
918
|
+
dir: {
|
|
919
|
+
required: false,
|
|
920
|
+
control: "text",
|
|
921
|
+
type: "string",
|
|
922
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
923
|
+
},
|
|
924
|
+
draggable: {
|
|
925
|
+
required: false,
|
|
926
|
+
control: "boolean",
|
|
927
|
+
type: "boolean",
|
|
928
|
+
description: "Defines whether the element can be dragged."
|
|
929
|
+
},
|
|
930
|
+
hidden: {
|
|
931
|
+
required: false,
|
|
932
|
+
control: "boolean",
|
|
933
|
+
type: "boolean",
|
|
934
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
935
|
+
},
|
|
936
|
+
id: {
|
|
937
|
+
required: false,
|
|
938
|
+
control: "text",
|
|
939
|
+
type: "string",
|
|
940
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
941
|
+
},
|
|
801
942
|
inputMode: {
|
|
802
943
|
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",
|
|
803
944
|
required: false,
|
|
@@ -825,20 +966,50 @@ const propsDialogContent = {
|
|
|
825
966
|
itemRef: { required: false, control: "text", type: "string" },
|
|
826
967
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
827
968
|
itemType: { required: false, control: "text", type: "string" },
|
|
828
|
-
lang: {
|
|
969
|
+
lang: {
|
|
970
|
+
required: false,
|
|
971
|
+
control: "text",
|
|
972
|
+
type: "string",
|
|
973
|
+
description: "Defines the language used in the element."
|
|
974
|
+
},
|
|
829
975
|
nonce: { required: false, control: "text", type: "string" },
|
|
830
|
-
placeholder: {
|
|
976
|
+
placeholder: {
|
|
977
|
+
required: false,
|
|
978
|
+
control: "text",
|
|
979
|
+
type: "string",
|
|
980
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
981
|
+
},
|
|
831
982
|
prefix: { required: false, control: "text", type: "string" },
|
|
832
983
|
property: { required: false, control: "text", type: "string" },
|
|
833
984
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
834
|
-
rel: {
|
|
985
|
+
rel: {
|
|
986
|
+
required: false,
|
|
987
|
+
control: "text",
|
|
988
|
+
type: "string",
|
|
989
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
990
|
+
},
|
|
835
991
|
resource: { required: false, control: "text", type: "string" },
|
|
836
992
|
results: { required: false, control: "number", type: "number" },
|
|
837
993
|
rev: { required: false, control: "text", type: "string" },
|
|
838
|
-
role: {
|
|
994
|
+
role: {
|
|
995
|
+
required: false,
|
|
996
|
+
control: "text",
|
|
997
|
+
type: "string",
|
|
998
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
999
|
+
},
|
|
839
1000
|
security: { required: false, control: "text", type: "string" },
|
|
840
|
-
slot: {
|
|
841
|
-
|
|
1001
|
+
slot: {
|
|
1002
|
+
required: false,
|
|
1003
|
+
control: "text",
|
|
1004
|
+
type: "string",
|
|
1005
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1006
|
+
},
|
|
1007
|
+
spellCheck: {
|
|
1008
|
+
required: false,
|
|
1009
|
+
control: "boolean",
|
|
1010
|
+
type: "boolean",
|
|
1011
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1012
|
+
},
|
|
842
1013
|
suppressContentEditableWarning: {
|
|
843
1014
|
required: false,
|
|
844
1015
|
control: "boolean",
|
|
@@ -849,13 +1020,24 @@ const propsDialogContent = {
|
|
|
849
1020
|
control: "boolean",
|
|
850
1021
|
type: "boolean"
|
|
851
1022
|
},
|
|
852
|
-
tabIndex: {
|
|
853
|
-
|
|
1023
|
+
tabIndex: {
|
|
1024
|
+
required: false,
|
|
1025
|
+
control: "number",
|
|
1026
|
+
type: "number",
|
|
1027
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1028
|
+
},
|
|
1029
|
+
title: {
|
|
1030
|
+
required: false,
|
|
1031
|
+
control: "text",
|
|
1032
|
+
type: "string",
|
|
1033
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1034
|
+
},
|
|
854
1035
|
translate: {
|
|
855
1036
|
required: false,
|
|
856
1037
|
control: "radio",
|
|
857
1038
|
type: "string",
|
|
858
|
-
options: ["yes", "no"]
|
|
1039
|
+
options: ["yes", "no"],
|
|
1040
|
+
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."
|
|
859
1041
|
},
|
|
860
1042
|
typeof: { required: false, control: "text", type: "string" },
|
|
861
1043
|
unselectable: {
|
|
@@ -868,7 +1050,12 @@ const propsDialogContent = {
|
|
|
868
1050
|
};
|
|
869
1051
|
const propsDialogClose = {
|
|
870
1052
|
about: { required: false, control: "text", type: "string" },
|
|
871
|
-
accessKey: {
|
|
1053
|
+
accessKey: {
|
|
1054
|
+
required: false,
|
|
1055
|
+
control: "text",
|
|
1056
|
+
type: "string",
|
|
1057
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1058
|
+
},
|
|
872
1059
|
"aria-activedescendant": {
|
|
873
1060
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
874
1061
|
required: false,
|
|
@@ -1024,7 +1211,7 @@ const propsDialogClose = {
|
|
|
1024
1211
|
type: "string"
|
|
1025
1212
|
},
|
|
1026
1213
|
"aria-label": {
|
|
1027
|
-
description: "
|
|
1214
|
+
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.",
|
|
1028
1215
|
required: false,
|
|
1029
1216
|
control: "text",
|
|
1030
1217
|
type: "string"
|
|
@@ -1200,28 +1387,106 @@ const propsDialogClose = {
|
|
|
1200
1387
|
control: "text",
|
|
1201
1388
|
type: "string"
|
|
1202
1389
|
},
|
|
1203
|
-
|
|
1204
|
-
|
|
1390
|
+
autoCapitalize: {
|
|
1391
|
+
required: false,
|
|
1392
|
+
control: "text",
|
|
1393
|
+
type: "string",
|
|
1394
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1395
|
+
},
|
|
1205
1396
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1206
|
-
autoFocus: {
|
|
1397
|
+
autoFocus: {
|
|
1398
|
+
required: false,
|
|
1399
|
+
control: "boolean",
|
|
1400
|
+
type: "boolean",
|
|
1401
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1402
|
+
},
|
|
1207
1403
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1208
1404
|
className: { required: false, control: "text", type: "string" },
|
|
1209
|
-
color: {
|
|
1210
|
-
|
|
1211
|
-
|
|
1405
|
+
color: {
|
|
1406
|
+
required: false,
|
|
1407
|
+
control: "color",
|
|
1408
|
+
type: "string",
|
|
1409
|
+
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."
|
|
1410
|
+
},
|
|
1411
|
+
content: {
|
|
1412
|
+
required: false,
|
|
1413
|
+
control: "text",
|
|
1414
|
+
type: "string",
|
|
1415
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1416
|
+
},
|
|
1417
|
+
contextMenu: {
|
|
1418
|
+
required: false,
|
|
1419
|
+
control: "text",
|
|
1420
|
+
type: "string",
|
|
1421
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1422
|
+
},
|
|
1212
1423
|
datatype: { required: false, control: "text", type: "string" },
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1424
|
+
dir: {
|
|
1425
|
+
required: false,
|
|
1426
|
+
control: "text",
|
|
1427
|
+
type: "string",
|
|
1428
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1429
|
+
},
|
|
1430
|
+
disabled: {
|
|
1431
|
+
required: false,
|
|
1432
|
+
control: "boolean",
|
|
1433
|
+
type: "boolean",
|
|
1434
|
+
description: "Indicates whether the user can interact with the element."
|
|
1435
|
+
},
|
|
1436
|
+
draggable: {
|
|
1437
|
+
required: false,
|
|
1438
|
+
control: "boolean",
|
|
1439
|
+
type: "boolean",
|
|
1440
|
+
description: "Defines whether the element can be dragged."
|
|
1441
|
+
},
|
|
1442
|
+
form: {
|
|
1443
|
+
required: false,
|
|
1444
|
+
control: "text",
|
|
1445
|
+
type: "string",
|
|
1446
|
+
description: "Indicates the form that is the owner of the element."
|
|
1447
|
+
},
|
|
1448
|
+
formAction: {
|
|
1449
|
+
required: false,
|
|
1450
|
+
control: "text",
|
|
1451
|
+
type: "string",
|
|
1452
|
+
description: "Indicates the action of the element, overriding the action defined inthe form."
|
|
1453
|
+
},
|
|
1454
|
+
formEncType: {
|
|
1455
|
+
required: false,
|
|
1456
|
+
control: "text",
|
|
1457
|
+
type: "string",
|
|
1458
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the encoding type to use during form submission. If this attribute is specified, it overrides theenctype attribute of the button's form owner.`
|
|
1459
|
+
},
|
|
1460
|
+
formMethod: {
|
|
1461
|
+
required: false,
|
|
1462
|
+
control: "text",
|
|
1463
|
+
type: "string",
|
|
1464
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the submission method to use during form submission (GET, POST, etc.). If this attribute is specified, it overrides the method attribute of the button's form owner.`
|
|
1465
|
+
},
|
|
1466
|
+
formNoValidate: {
|
|
1467
|
+
required: false,
|
|
1468
|
+
control: "boolean",
|
|
1469
|
+
type: "boolean",
|
|
1470
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this boolean attribute specifies that the form is not to be validatedwhen it is submitted. If this attribute is specified, it overrides thenovalidate attribute of the button's form owner.`
|
|
1471
|
+
},
|
|
1472
|
+
formTarget: {
|
|
1473
|
+
required: false,
|
|
1474
|
+
control: "text",
|
|
1475
|
+
type: "string",
|
|
1476
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this attribute specifies the browsing context (for example, tab, window, or inline frame) in which to display the response that is received aftersubmitting the form. If this attribute is specified, it overrides thetarget attribute of the button's form owner.`
|
|
1477
|
+
},
|
|
1478
|
+
hidden: {
|
|
1479
|
+
required: false,
|
|
1480
|
+
control: "boolean",
|
|
1481
|
+
type: "boolean",
|
|
1482
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
1483
|
+
},
|
|
1484
|
+
id: {
|
|
1485
|
+
required: false,
|
|
1486
|
+
control: "text",
|
|
1487
|
+
type: "string",
|
|
1488
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
1489
|
+
},
|
|
1225
1490
|
inputMode: {
|
|
1226
1491
|
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",
|
|
1227
1492
|
required: false,
|
|
@@ -1249,21 +1514,56 @@ const propsDialogClose = {
|
|
|
1249
1514
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1250
1515
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1251
1516
|
itemType: { required: false, control: "text", type: "string" },
|
|
1252
|
-
lang: {
|
|
1253
|
-
|
|
1517
|
+
lang: {
|
|
1518
|
+
required: false,
|
|
1519
|
+
control: "text",
|
|
1520
|
+
type: "string",
|
|
1521
|
+
description: "Defines the language used in the element."
|
|
1522
|
+
},
|
|
1523
|
+
name: {
|
|
1524
|
+
required: false,
|
|
1525
|
+
control: "text",
|
|
1526
|
+
type: "string",
|
|
1527
|
+
description: "This name is important when submitting form data to the server, as it identifies the data associated with the input. When multiple inputs share the same name attribute, they are treated as part of the same group (e.g., radio buttons or checkboxes)."
|
|
1528
|
+
},
|
|
1254
1529
|
nonce: { required: false, control: "text", type: "string" },
|
|
1255
|
-
placeholder: {
|
|
1530
|
+
placeholder: {
|
|
1531
|
+
required: false,
|
|
1532
|
+
control: "text",
|
|
1533
|
+
type: "string",
|
|
1534
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
1535
|
+
},
|
|
1256
1536
|
prefix: { required: false, control: "text", type: "string" },
|
|
1257
1537
|
property: { required: false, control: "text", type: "string" },
|
|
1258
1538
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1259
|
-
rel: {
|
|
1539
|
+
rel: {
|
|
1540
|
+
required: false,
|
|
1541
|
+
control: "text",
|
|
1542
|
+
type: "string",
|
|
1543
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1544
|
+
},
|
|
1260
1545
|
resource: { required: false, control: "text", type: "string" },
|
|
1261
1546
|
results: { required: false, control: "number", type: "number" },
|
|
1262
1547
|
rev: { required: false, control: "text", type: "string" },
|
|
1263
|
-
role: {
|
|
1548
|
+
role: {
|
|
1549
|
+
required: false,
|
|
1550
|
+
control: "text",
|
|
1551
|
+
type: "string",
|
|
1552
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1553
|
+
},
|
|
1264
1554
|
security: { required: false, control: "text", type: "string" },
|
|
1265
|
-
slot: {
|
|
1266
|
-
|
|
1555
|
+
slot: {
|
|
1556
|
+
required: false,
|
|
1557
|
+
control: "text",
|
|
1558
|
+
type: "string",
|
|
1559
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1560
|
+
},
|
|
1561
|
+
spellCheck: {
|
|
1562
|
+
required: false,
|
|
1563
|
+
control: "boolean",
|
|
1564
|
+
type: "boolean",
|
|
1565
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1566
|
+
},
|
|
1267
1567
|
suppressContentEditableWarning: {
|
|
1268
1568
|
required: false,
|
|
1269
1569
|
control: "boolean",
|
|
@@ -1274,19 +1574,31 @@ const propsDialogClose = {
|
|
|
1274
1574
|
control: "boolean",
|
|
1275
1575
|
type: "boolean"
|
|
1276
1576
|
},
|
|
1277
|
-
tabIndex: {
|
|
1278
|
-
|
|
1577
|
+
tabIndex: {
|
|
1578
|
+
required: false,
|
|
1579
|
+
control: "number",
|
|
1580
|
+
type: "number",
|
|
1581
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1582
|
+
},
|
|
1583
|
+
title: {
|
|
1584
|
+
required: false,
|
|
1585
|
+
control: "text",
|
|
1586
|
+
type: "string",
|
|
1587
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1588
|
+
},
|
|
1279
1589
|
translate: {
|
|
1280
1590
|
required: false,
|
|
1281
1591
|
control: "radio",
|
|
1282
1592
|
type: "string",
|
|
1283
|
-
options: ["yes", "no"]
|
|
1593
|
+
options: ["yes", "no"],
|
|
1594
|
+
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."
|
|
1284
1595
|
},
|
|
1285
1596
|
type: {
|
|
1286
1597
|
required: false,
|
|
1287
1598
|
control: "radio",
|
|
1288
1599
|
type: "string",
|
|
1289
|
-
options: ["button", "submit", "reset"]
|
|
1600
|
+
options: ["button", "submit", "reset"],
|
|
1601
|
+
description: "Defines the type of the element."
|
|
1290
1602
|
},
|
|
1291
1603
|
typeof: { required: false, control: "text", type: "string" },
|
|
1292
1604
|
unselectable: {
|
|
@@ -1299,7 +1611,12 @@ const propsDialogClose = {
|
|
|
1299
1611
|
};
|
|
1300
1612
|
const propsDialogTitle = {
|
|
1301
1613
|
about: { required: false, control: "text", type: "string" },
|
|
1302
|
-
accessKey: {
|
|
1614
|
+
accessKey: {
|
|
1615
|
+
required: false,
|
|
1616
|
+
control: "text",
|
|
1617
|
+
type: "string",
|
|
1618
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1619
|
+
},
|
|
1303
1620
|
"aria-activedescendant": {
|
|
1304
1621
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
1305
1622
|
required: false,
|
|
@@ -1455,7 +1772,7 @@ const propsDialogTitle = {
|
|
|
1455
1772
|
type: "string"
|
|
1456
1773
|
},
|
|
1457
1774
|
"aria-label": {
|
|
1458
|
-
description: "
|
|
1775
|
+
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.",
|
|
1459
1776
|
required: false,
|
|
1460
1777
|
control: "text",
|
|
1461
1778
|
type: "string"
|
|
@@ -1631,21 +1948,64 @@ const propsDialogTitle = {
|
|
|
1631
1948
|
control: "text",
|
|
1632
1949
|
type: "string"
|
|
1633
1950
|
},
|
|
1634
|
-
|
|
1635
|
-
|
|
1951
|
+
autoCapitalize: {
|
|
1952
|
+
required: false,
|
|
1953
|
+
control: "text",
|
|
1954
|
+
type: "string",
|
|
1955
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1956
|
+
},
|
|
1636
1957
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1637
|
-
autoFocus: {
|
|
1958
|
+
autoFocus: {
|
|
1959
|
+
required: false,
|
|
1960
|
+
control: "boolean",
|
|
1961
|
+
type: "boolean",
|
|
1962
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1963
|
+
},
|
|
1638
1964
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1639
1965
|
className: { required: false, control: "text", type: "string" },
|
|
1640
|
-
color: {
|
|
1641
|
-
|
|
1642
|
-
|
|
1966
|
+
color: {
|
|
1967
|
+
required: false,
|
|
1968
|
+
control: "color",
|
|
1969
|
+
type: "string",
|
|
1970
|
+
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."
|
|
1971
|
+
},
|
|
1972
|
+
content: {
|
|
1973
|
+
required: false,
|
|
1974
|
+
control: "text",
|
|
1975
|
+
type: "string",
|
|
1976
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1977
|
+
},
|
|
1978
|
+
contextMenu: {
|
|
1979
|
+
required: false,
|
|
1980
|
+
control: "text",
|
|
1981
|
+
type: "string",
|
|
1982
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1983
|
+
},
|
|
1643
1984
|
datatype: { required: false, control: "text", type: "string" },
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1985
|
+
dir: {
|
|
1986
|
+
required: false,
|
|
1987
|
+
control: "text",
|
|
1988
|
+
type: "string",
|
|
1989
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1990
|
+
},
|
|
1991
|
+
draggable: {
|
|
1992
|
+
required: false,
|
|
1993
|
+
control: "boolean",
|
|
1994
|
+
type: "boolean",
|
|
1995
|
+
description: "Defines whether the element can be dragged."
|
|
1996
|
+
},
|
|
1997
|
+
hidden: {
|
|
1998
|
+
required: false,
|
|
1999
|
+
control: "boolean",
|
|
2000
|
+
type: "boolean",
|
|
2001
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
2002
|
+
},
|
|
2003
|
+
id: {
|
|
2004
|
+
required: false,
|
|
2005
|
+
control: "text",
|
|
2006
|
+
type: "string",
|
|
2007
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
2008
|
+
},
|
|
1649
2009
|
inputMode: {
|
|
1650
2010
|
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",
|
|
1651
2011
|
required: false,
|
|
@@ -1673,20 +2033,50 @@ const propsDialogTitle = {
|
|
|
1673
2033
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1674
2034
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1675
2035
|
itemType: { required: false, control: "text", type: "string" },
|
|
1676
|
-
lang: {
|
|
2036
|
+
lang: {
|
|
2037
|
+
required: false,
|
|
2038
|
+
control: "text",
|
|
2039
|
+
type: "string",
|
|
2040
|
+
description: "Defines the language used in the element."
|
|
2041
|
+
},
|
|
1677
2042
|
nonce: { required: false, control: "text", type: "string" },
|
|
1678
|
-
placeholder: {
|
|
2043
|
+
placeholder: {
|
|
2044
|
+
required: false,
|
|
2045
|
+
control: "text",
|
|
2046
|
+
type: "string",
|
|
2047
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
2048
|
+
},
|
|
1679
2049
|
prefix: { required: false, control: "text", type: "string" },
|
|
1680
2050
|
property: { required: false, control: "text", type: "string" },
|
|
1681
2051
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1682
|
-
rel: {
|
|
2052
|
+
rel: {
|
|
2053
|
+
required: false,
|
|
2054
|
+
control: "text",
|
|
2055
|
+
type: "string",
|
|
2056
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
2057
|
+
},
|
|
1683
2058
|
resource: { required: false, control: "text", type: "string" },
|
|
1684
2059
|
results: { required: false, control: "number", type: "number" },
|
|
1685
2060
|
rev: { required: false, control: "text", type: "string" },
|
|
1686
|
-
role: {
|
|
2061
|
+
role: {
|
|
2062
|
+
required: false,
|
|
2063
|
+
control: "text",
|
|
2064
|
+
type: "string",
|
|
2065
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
2066
|
+
},
|
|
1687
2067
|
security: { required: false, control: "text", type: "string" },
|
|
1688
|
-
slot: {
|
|
1689
|
-
|
|
2068
|
+
slot: {
|
|
2069
|
+
required: false,
|
|
2070
|
+
control: "text",
|
|
2071
|
+
type: "string",
|
|
2072
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
2073
|
+
},
|
|
2074
|
+
spellCheck: {
|
|
2075
|
+
required: false,
|
|
2076
|
+
control: "boolean",
|
|
2077
|
+
type: "boolean",
|
|
2078
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
2079
|
+
},
|
|
1690
2080
|
suppressContentEditableWarning: {
|
|
1691
2081
|
required: false,
|
|
1692
2082
|
control: "boolean",
|
|
@@ -1697,13 +2087,24 @@ const propsDialogTitle = {
|
|
|
1697
2087
|
control: "boolean",
|
|
1698
2088
|
type: "boolean"
|
|
1699
2089
|
},
|
|
1700
|
-
tabIndex: {
|
|
1701
|
-
|
|
2090
|
+
tabIndex: {
|
|
2091
|
+
required: false,
|
|
2092
|
+
control: "number",
|
|
2093
|
+
type: "number",
|
|
2094
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
2095
|
+
},
|
|
2096
|
+
title: {
|
|
2097
|
+
required: false,
|
|
2098
|
+
control: "text",
|
|
2099
|
+
type: "string",
|
|
2100
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
2101
|
+
},
|
|
1702
2102
|
translate: {
|
|
1703
2103
|
required: false,
|
|
1704
2104
|
control: "radio",
|
|
1705
2105
|
type: "string",
|
|
1706
|
-
options: ["yes", "no"]
|
|
2106
|
+
options: ["yes", "no"],
|
|
2107
|
+
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."
|
|
1707
2108
|
},
|
|
1708
2109
|
typeof: { required: false, control: "text", type: "string" },
|
|
1709
2110
|
unselectable: {
|
|
@@ -1716,7 +2117,12 @@ const propsDialogTitle = {
|
|
|
1716
2117
|
};
|
|
1717
2118
|
const propsDialogDescription = {
|
|
1718
2119
|
about: { required: false, control: "text", type: "string" },
|
|
1719
|
-
accessKey: {
|
|
2120
|
+
accessKey: {
|
|
2121
|
+
required: false,
|
|
2122
|
+
control: "text",
|
|
2123
|
+
type: "string",
|
|
2124
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
2125
|
+
},
|
|
1720
2126
|
"aria-activedescendant": {
|
|
1721
2127
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
1722
2128
|
required: false,
|
|
@@ -1872,7 +2278,7 @@ const propsDialogDescription = {
|
|
|
1872
2278
|
type: "string"
|
|
1873
2279
|
},
|
|
1874
2280
|
"aria-label": {
|
|
1875
|
-
description: "
|
|
2281
|
+
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.",
|
|
1876
2282
|
required: false,
|
|
1877
2283
|
control: "text",
|
|
1878
2284
|
type: "string"
|
|
@@ -2048,21 +2454,64 @@ const propsDialogDescription = {
|
|
|
2048
2454
|
control: "text",
|
|
2049
2455
|
type: "string"
|
|
2050
2456
|
},
|
|
2051
|
-
|
|
2052
|
-
|
|
2457
|
+
autoCapitalize: {
|
|
2458
|
+
required: false,
|
|
2459
|
+
control: "text",
|
|
2460
|
+
type: "string",
|
|
2461
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
2462
|
+
},
|
|
2053
2463
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
2054
|
-
autoFocus: {
|
|
2464
|
+
autoFocus: {
|
|
2465
|
+
required: false,
|
|
2466
|
+
control: "boolean",
|
|
2467
|
+
type: "boolean",
|
|
2468
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
2469
|
+
},
|
|
2055
2470
|
autoSave: { required: false, control: "text", type: "string" },
|
|
2056
2471
|
className: { required: false, control: "text", type: "string" },
|
|
2057
|
-
color: {
|
|
2058
|
-
|
|
2059
|
-
|
|
2472
|
+
color: {
|
|
2473
|
+
required: false,
|
|
2474
|
+
control: "color",
|
|
2475
|
+
type: "string",
|
|
2476
|
+
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."
|
|
2477
|
+
},
|
|
2478
|
+
content: {
|
|
2479
|
+
required: false,
|
|
2480
|
+
control: "text",
|
|
2481
|
+
type: "string",
|
|
2482
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
2483
|
+
},
|
|
2484
|
+
contextMenu: {
|
|
2485
|
+
required: false,
|
|
2486
|
+
control: "text",
|
|
2487
|
+
type: "string",
|
|
2488
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
2489
|
+
},
|
|
2060
2490
|
datatype: { required: false, control: "text", type: "string" },
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2491
|
+
dir: {
|
|
2492
|
+
required: false,
|
|
2493
|
+
control: "text",
|
|
2494
|
+
type: "string",
|
|
2495
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
2496
|
+
},
|
|
2497
|
+
draggable: {
|
|
2498
|
+
required: false,
|
|
2499
|
+
control: "boolean",
|
|
2500
|
+
type: "boolean",
|
|
2501
|
+
description: "Defines whether the element can be dragged."
|
|
2502
|
+
},
|
|
2503
|
+
hidden: {
|
|
2504
|
+
required: false,
|
|
2505
|
+
control: "boolean",
|
|
2506
|
+
type: "boolean",
|
|
2507
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
2508
|
+
},
|
|
2509
|
+
id: {
|
|
2510
|
+
required: false,
|
|
2511
|
+
control: "text",
|
|
2512
|
+
type: "string",
|
|
2513
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
2514
|
+
},
|
|
2066
2515
|
inputMode: {
|
|
2067
2516
|
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",
|
|
2068
2517
|
required: false,
|
|
@@ -2090,20 +2539,50 @@ const propsDialogDescription = {
|
|
|
2090
2539
|
itemRef: { required: false, control: "text", type: "string" },
|
|
2091
2540
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
2092
2541
|
itemType: { required: false, control: "text", type: "string" },
|
|
2093
|
-
lang: {
|
|
2542
|
+
lang: {
|
|
2543
|
+
required: false,
|
|
2544
|
+
control: "text",
|
|
2545
|
+
type: "string",
|
|
2546
|
+
description: "Defines the language used in the element."
|
|
2547
|
+
},
|
|
2094
2548
|
nonce: { required: false, control: "text", type: "string" },
|
|
2095
|
-
placeholder: {
|
|
2549
|
+
placeholder: {
|
|
2550
|
+
required: false,
|
|
2551
|
+
control: "text",
|
|
2552
|
+
type: "string",
|
|
2553
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
2554
|
+
},
|
|
2096
2555
|
prefix: { required: false, control: "text", type: "string" },
|
|
2097
2556
|
property: { required: false, control: "text", type: "string" },
|
|
2098
2557
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
2099
|
-
rel: {
|
|
2558
|
+
rel: {
|
|
2559
|
+
required: false,
|
|
2560
|
+
control: "text",
|
|
2561
|
+
type: "string",
|
|
2562
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
2563
|
+
},
|
|
2100
2564
|
resource: { required: false, control: "text", type: "string" },
|
|
2101
2565
|
results: { required: false, control: "number", type: "number" },
|
|
2102
2566
|
rev: { required: false, control: "text", type: "string" },
|
|
2103
|
-
role: {
|
|
2567
|
+
role: {
|
|
2568
|
+
required: false,
|
|
2569
|
+
control: "text",
|
|
2570
|
+
type: "string",
|
|
2571
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
2572
|
+
},
|
|
2104
2573
|
security: { required: false, control: "text", type: "string" },
|
|
2105
|
-
slot: {
|
|
2106
|
-
|
|
2574
|
+
slot: {
|
|
2575
|
+
required: false,
|
|
2576
|
+
control: "text",
|
|
2577
|
+
type: "string",
|
|
2578
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
2579
|
+
},
|
|
2580
|
+
spellCheck: {
|
|
2581
|
+
required: false,
|
|
2582
|
+
control: "boolean",
|
|
2583
|
+
type: "boolean",
|
|
2584
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
2585
|
+
},
|
|
2107
2586
|
suppressContentEditableWarning: {
|
|
2108
2587
|
required: false,
|
|
2109
2588
|
control: "boolean",
|
|
@@ -2114,13 +2593,24 @@ const propsDialogDescription = {
|
|
|
2114
2593
|
control: "boolean",
|
|
2115
2594
|
type: "boolean"
|
|
2116
2595
|
},
|
|
2117
|
-
tabIndex: {
|
|
2118
|
-
|
|
2596
|
+
tabIndex: {
|
|
2597
|
+
required: false,
|
|
2598
|
+
control: "number",
|
|
2599
|
+
type: "number",
|
|
2600
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
2601
|
+
},
|
|
2602
|
+
title: {
|
|
2603
|
+
required: false,
|
|
2604
|
+
control: "text",
|
|
2605
|
+
type: "string",
|
|
2606
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
2607
|
+
},
|
|
2119
2608
|
translate: {
|
|
2120
2609
|
required: false,
|
|
2121
2610
|
control: "radio",
|
|
2122
2611
|
type: "string",
|
|
2123
|
-
options: ["yes", "no"]
|
|
2612
|
+
options: ["yes", "no"],
|
|
2613
|
+
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."
|
|
2124
2614
|
},
|
|
2125
2615
|
typeof: { required: false, control: "text", type: "string" },
|
|
2126
2616
|
unselectable: {
|