@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
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
import type { PropMeta } from "@webstudio-is/generate-arg-types";
|
|
2
2
|
|
|
3
3
|
export const propsDialog: Record<string, PropMeta> = {
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
},
|
|
6
11
|
};
|
|
7
12
|
export const propsDialogTrigger: Record<string, PropMeta> = {};
|
|
8
13
|
export const propsDialogOverlay: Record<string, PropMeta> = {
|
|
9
14
|
about: { required: false, control: "text", type: "string" },
|
|
10
|
-
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
|
+
},
|
|
11
21
|
"aria-activedescendant": {
|
|
12
22
|
description:
|
|
13
23
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -188,7 +198,7 @@ export const propsDialogOverlay: Record<string, PropMeta> = {
|
|
|
188
198
|
},
|
|
189
199
|
"aria-label": {
|
|
190
200
|
description:
|
|
191
|
-
"
|
|
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.",
|
|
192
202
|
required: false,
|
|
193
203
|
control: "text",
|
|
194
204
|
type: "string",
|
|
@@ -387,21 +397,72 @@ export const propsDialogOverlay: Record<string, PropMeta> = {
|
|
|
387
397
|
control: "text",
|
|
388
398
|
type: "string",
|
|
389
399
|
},
|
|
390
|
-
|
|
391
|
-
|
|
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
|
+
},
|
|
392
407
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
393
|
-
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
|
+
},
|
|
394
415
|
autoSave: { required: false, control: "text", type: "string" },
|
|
395
416
|
className: { required: false, control: "text", type: "string" },
|
|
396
|
-
color: {
|
|
397
|
-
|
|
398
|
-
|
|
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
|
+
},
|
|
399
438
|
datatype: { required: false, control: "text", type: "string" },
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
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
|
+
},
|
|
405
466
|
inputMode: {
|
|
406
467
|
description:
|
|
407
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",
|
|
@@ -431,20 +492,53 @@ export const propsDialogOverlay: Record<string, PropMeta> = {
|
|
|
431
492
|
itemRef: { required: false, control: "text", type: "string" },
|
|
432
493
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
433
494
|
itemType: { required: false, control: "text", type: "string" },
|
|
434
|
-
lang: {
|
|
495
|
+
lang: {
|
|
496
|
+
required: false,
|
|
497
|
+
control: "text",
|
|
498
|
+
type: "string",
|
|
499
|
+
description: "Defines the language used in the element.",
|
|
500
|
+
},
|
|
435
501
|
nonce: { required: false, control: "text", type: "string" },
|
|
436
|
-
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
|
+
},
|
|
437
509
|
prefix: { required: false, control: "text", type: "string" },
|
|
438
510
|
property: { required: false, control: "text", type: "string" },
|
|
439
511
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
440
|
-
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
|
+
},
|
|
441
519
|
resource: { required: false, control: "text", type: "string" },
|
|
442
520
|
results: { required: false, control: "number", type: "number" },
|
|
443
521
|
rev: { required: false, control: "text", type: "string" },
|
|
444
|
-
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
|
+
},
|
|
445
529
|
security: { required: false, control: "text", type: "string" },
|
|
446
|
-
slot: {
|
|
447
|
-
|
|
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
|
+
},
|
|
448
542
|
suppressContentEditableWarning: {
|
|
449
543
|
required: false,
|
|
450
544
|
control: "boolean",
|
|
@@ -455,13 +549,27 @@ export const propsDialogOverlay: Record<string, PropMeta> = {
|
|
|
455
549
|
control: "boolean",
|
|
456
550
|
type: "boolean",
|
|
457
551
|
},
|
|
458
|
-
tabIndex: {
|
|
459
|
-
|
|
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
|
+
},
|
|
460
566
|
translate: {
|
|
461
567
|
required: false,
|
|
462
568
|
control: "radio",
|
|
463
569
|
type: "string",
|
|
464
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.",
|
|
465
573
|
},
|
|
466
574
|
typeof: { required: false, control: "text", type: "string" },
|
|
467
575
|
unselectable: {
|
|
@@ -474,7 +582,12 @@ export const propsDialogOverlay: Record<string, PropMeta> = {
|
|
|
474
582
|
};
|
|
475
583
|
export const propsDialogContent: Record<string, PropMeta> = {
|
|
476
584
|
about: { required: false, control: "text", type: "string" },
|
|
477
|
-
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
|
+
},
|
|
478
591
|
"aria-activedescendant": {
|
|
479
592
|
description:
|
|
480
593
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -655,7 +768,7 @@ export const propsDialogContent: Record<string, PropMeta> = {
|
|
|
655
768
|
},
|
|
656
769
|
"aria-label": {
|
|
657
770
|
description:
|
|
658
|
-
"
|
|
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.",
|
|
659
772
|
required: false,
|
|
660
773
|
control: "text",
|
|
661
774
|
type: "string",
|
|
@@ -854,21 +967,72 @@ export const propsDialogContent: Record<string, PropMeta> = {
|
|
|
854
967
|
control: "text",
|
|
855
968
|
type: "string",
|
|
856
969
|
},
|
|
857
|
-
|
|
858
|
-
|
|
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
|
+
},
|
|
859
977
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
860
|
-
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
|
+
},
|
|
861
985
|
autoSave: { required: false, control: "text", type: "string" },
|
|
862
986
|
className: { required: false, control: "text", type: "string" },
|
|
863
|
-
color: {
|
|
864
|
-
|
|
865
|
-
|
|
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
|
+
},
|
|
866
1008
|
datatype: { required: false, control: "text", type: "string" },
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
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
|
+
},
|
|
872
1036
|
inputMode: {
|
|
873
1037
|
description:
|
|
874
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",
|
|
@@ -898,20 +1062,53 @@ export const propsDialogContent: Record<string, PropMeta> = {
|
|
|
898
1062
|
itemRef: { required: false, control: "text", type: "string" },
|
|
899
1063
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
900
1064
|
itemType: { required: false, control: "text", type: "string" },
|
|
901
|
-
lang: {
|
|
1065
|
+
lang: {
|
|
1066
|
+
required: false,
|
|
1067
|
+
control: "text",
|
|
1068
|
+
type: "string",
|
|
1069
|
+
description: "Defines the language used in the element.",
|
|
1070
|
+
},
|
|
902
1071
|
nonce: { required: false, control: "text", type: "string" },
|
|
903
|
-
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
|
+
},
|
|
904
1079
|
prefix: { required: false, control: "text", type: "string" },
|
|
905
1080
|
property: { required: false, control: "text", type: "string" },
|
|
906
1081
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
907
|
-
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
|
+
},
|
|
908
1089
|
resource: { required: false, control: "text", type: "string" },
|
|
909
1090
|
results: { required: false, control: "number", type: "number" },
|
|
910
1091
|
rev: { required: false, control: "text", type: "string" },
|
|
911
|
-
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
|
+
},
|
|
912
1099
|
security: { required: false, control: "text", type: "string" },
|
|
913
|
-
slot: {
|
|
914
|
-
|
|
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
|
+
},
|
|
915
1112
|
suppressContentEditableWarning: {
|
|
916
1113
|
required: false,
|
|
917
1114
|
control: "boolean",
|
|
@@ -922,13 +1119,27 @@ export const propsDialogContent: Record<string, PropMeta> = {
|
|
|
922
1119
|
control: "boolean",
|
|
923
1120
|
type: "boolean",
|
|
924
1121
|
},
|
|
925
|
-
tabIndex: {
|
|
926
|
-
|
|
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
|
+
},
|
|
927
1136
|
translate: {
|
|
928
1137
|
required: false,
|
|
929
1138
|
control: "radio",
|
|
930
1139
|
type: "string",
|
|
931
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.",
|
|
932
1143
|
},
|
|
933
1144
|
typeof: { required: false, control: "text", type: "string" },
|
|
934
1145
|
unselectable: {
|
|
@@ -941,7 +1152,12 @@ export const propsDialogContent: Record<string, PropMeta> = {
|
|
|
941
1152
|
};
|
|
942
1153
|
export const propsDialogClose: Record<string, PropMeta> = {
|
|
943
1154
|
about: { required: false, control: "text", type: "string" },
|
|
944
|
-
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
|
+
},
|
|
945
1161
|
"aria-activedescendant": {
|
|
946
1162
|
description:
|
|
947
1163
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -1122,7 +1338,7 @@ export const propsDialogClose: Record<string, PropMeta> = {
|
|
|
1122
1338
|
},
|
|
1123
1339
|
"aria-label": {
|
|
1124
1340
|
description:
|
|
1125
|
-
"
|
|
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.",
|
|
1126
1342
|
required: false,
|
|
1127
1343
|
control: "text",
|
|
1128
1344
|
type: "string",
|
|
@@ -1321,28 +1537,119 @@ export const propsDialogClose: Record<string, PropMeta> = {
|
|
|
1321
1537
|
control: "text",
|
|
1322
1538
|
type: "string",
|
|
1323
1539
|
},
|
|
1324
|
-
|
|
1325
|
-
|
|
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
|
+
},
|
|
1326
1547
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1327
|
-
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
|
+
},
|
|
1328
1555
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1329
1556
|
className: { required: false, control: "text", type: "string" },
|
|
1330
|
-
color: {
|
|
1331
|
-
|
|
1332
|
-
|
|
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
|
+
},
|
|
1333
1578
|
datatype: { required: false, control: "text", type: "string" },
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
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
|
+
},
|
|
1346
1653
|
inputMode: {
|
|
1347
1654
|
description:
|
|
1348
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",
|
|
@@ -1372,21 +1679,60 @@ export const propsDialogClose: Record<string, PropMeta> = {
|
|
|
1372
1679
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1373
1680
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1374
1681
|
itemType: { required: false, control: "text", type: "string" },
|
|
1375
|
-
lang: {
|
|
1376
|
-
|
|
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
|
+
},
|
|
1377
1695
|
nonce: { required: false, control: "text", type: "string" },
|
|
1378
|
-
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
|
+
},
|
|
1379
1703
|
prefix: { required: false, control: "text", type: "string" },
|
|
1380
1704
|
property: { required: false, control: "text", type: "string" },
|
|
1381
1705
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1382
|
-
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
|
+
},
|
|
1383
1713
|
resource: { required: false, control: "text", type: "string" },
|
|
1384
1714
|
results: { required: false, control: "number", type: "number" },
|
|
1385
1715
|
rev: { required: false, control: "text", type: "string" },
|
|
1386
|
-
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
|
+
},
|
|
1387
1723
|
security: { required: false, control: "text", type: "string" },
|
|
1388
|
-
slot: {
|
|
1389
|
-
|
|
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
|
+
},
|
|
1390
1736
|
suppressContentEditableWarning: {
|
|
1391
1737
|
required: false,
|
|
1392
1738
|
control: "boolean",
|
|
@@ -1397,19 +1743,34 @@ export const propsDialogClose: Record<string, PropMeta> = {
|
|
|
1397
1743
|
control: "boolean",
|
|
1398
1744
|
type: "boolean",
|
|
1399
1745
|
},
|
|
1400
|
-
tabIndex: {
|
|
1401
|
-
|
|
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
|
+
},
|
|
1402
1760
|
translate: {
|
|
1403
1761
|
required: false,
|
|
1404
1762
|
control: "radio",
|
|
1405
1763
|
type: "string",
|
|
1406
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.",
|
|
1407
1767
|
},
|
|
1408
1768
|
type: {
|
|
1409
1769
|
required: false,
|
|
1410
1770
|
control: "radio",
|
|
1411
1771
|
type: "string",
|
|
1412
1772
|
options: ["button", "submit", "reset"],
|
|
1773
|
+
description: "Defines the type of the element.",
|
|
1413
1774
|
},
|
|
1414
1775
|
typeof: { required: false, control: "text", type: "string" },
|
|
1415
1776
|
unselectable: {
|
|
@@ -1422,7 +1783,12 @@ export const propsDialogClose: Record<string, PropMeta> = {
|
|
|
1422
1783
|
};
|
|
1423
1784
|
export const propsDialogTitle: Record<string, PropMeta> = {
|
|
1424
1785
|
about: { required: false, control: "text", type: "string" },
|
|
1425
|
-
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
|
+
},
|
|
1426
1792
|
"aria-activedescendant": {
|
|
1427
1793
|
description:
|
|
1428
1794
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -1603,7 +1969,7 @@ export const propsDialogTitle: Record<string, PropMeta> = {
|
|
|
1603
1969
|
},
|
|
1604
1970
|
"aria-label": {
|
|
1605
1971
|
description:
|
|
1606
|
-
"
|
|
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.",
|
|
1607
1973
|
required: false,
|
|
1608
1974
|
control: "text",
|
|
1609
1975
|
type: "string",
|
|
@@ -1802,21 +2168,72 @@ export const propsDialogTitle: Record<string, PropMeta> = {
|
|
|
1802
2168
|
control: "text",
|
|
1803
2169
|
type: "string",
|
|
1804
2170
|
},
|
|
1805
|
-
|
|
1806
|
-
|
|
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
|
+
},
|
|
1807
2178
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1808
|
-
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
|
+
},
|
|
1809
2186
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1810
2187
|
className: { required: false, control: "text", type: "string" },
|
|
1811
|
-
color: {
|
|
1812
|
-
|
|
1813
|
-
|
|
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
|
+
},
|
|
1814
2209
|
datatype: { required: false, control: "text", type: "string" },
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
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
|
+
},
|
|
1820
2237
|
inputMode: {
|
|
1821
2238
|
description:
|
|
1822
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",
|
|
@@ -1846,20 +2263,53 @@ export const propsDialogTitle: Record<string, PropMeta> = {
|
|
|
1846
2263
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1847
2264
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1848
2265
|
itemType: { required: false, control: "text", type: "string" },
|
|
1849
|
-
lang: {
|
|
2266
|
+
lang: {
|
|
2267
|
+
required: false,
|
|
2268
|
+
control: "text",
|
|
2269
|
+
type: "string",
|
|
2270
|
+
description: "Defines the language used in the element.",
|
|
2271
|
+
},
|
|
1850
2272
|
nonce: { required: false, control: "text", type: "string" },
|
|
1851
|
-
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
|
+
},
|
|
1852
2280
|
prefix: { required: false, control: "text", type: "string" },
|
|
1853
2281
|
property: { required: false, control: "text", type: "string" },
|
|
1854
2282
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1855
|
-
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
|
+
},
|
|
1856
2290
|
resource: { required: false, control: "text", type: "string" },
|
|
1857
2291
|
results: { required: false, control: "number", type: "number" },
|
|
1858
2292
|
rev: { required: false, control: "text", type: "string" },
|
|
1859
|
-
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
|
+
},
|
|
1860
2300
|
security: { required: false, control: "text", type: "string" },
|
|
1861
|
-
slot: {
|
|
1862
|
-
|
|
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
|
+
},
|
|
1863
2313
|
suppressContentEditableWarning: {
|
|
1864
2314
|
required: false,
|
|
1865
2315
|
control: "boolean",
|
|
@@ -1870,13 +2320,27 @@ export const propsDialogTitle: Record<string, PropMeta> = {
|
|
|
1870
2320
|
control: "boolean",
|
|
1871
2321
|
type: "boolean",
|
|
1872
2322
|
},
|
|
1873
|
-
tabIndex: {
|
|
1874
|
-
|
|
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
|
+
},
|
|
1875
2337
|
translate: {
|
|
1876
2338
|
required: false,
|
|
1877
2339
|
control: "radio",
|
|
1878
2340
|
type: "string",
|
|
1879
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.",
|
|
1880
2344
|
},
|
|
1881
2345
|
typeof: { required: false, control: "text", type: "string" },
|
|
1882
2346
|
unselectable: {
|
|
@@ -1889,7 +2353,12 @@ export const propsDialogTitle: Record<string, PropMeta> = {
|
|
|
1889
2353
|
};
|
|
1890
2354
|
export const propsDialogDescription: Record<string, PropMeta> = {
|
|
1891
2355
|
about: { required: false, control: "text", type: "string" },
|
|
1892
|
-
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
|
+
},
|
|
1893
2362
|
"aria-activedescendant": {
|
|
1894
2363
|
description:
|
|
1895
2364
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -2070,7 +2539,7 @@ export const propsDialogDescription: Record<string, PropMeta> = {
|
|
|
2070
2539
|
},
|
|
2071
2540
|
"aria-label": {
|
|
2072
2541
|
description:
|
|
2073
|
-
"
|
|
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.",
|
|
2074
2543
|
required: false,
|
|
2075
2544
|
control: "text",
|
|
2076
2545
|
type: "string",
|
|
@@ -2269,21 +2738,72 @@ export const propsDialogDescription: Record<string, PropMeta> = {
|
|
|
2269
2738
|
control: "text",
|
|
2270
2739
|
type: "string",
|
|
2271
2740
|
},
|
|
2272
|
-
|
|
2273
|
-
|
|
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
|
+
},
|
|
2274
2748
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
2275
|
-
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
|
+
},
|
|
2276
2756
|
autoSave: { required: false, control: "text", type: "string" },
|
|
2277
2757
|
className: { required: false, control: "text", type: "string" },
|
|
2278
|
-
color: {
|
|
2279
|
-
|
|
2280
|
-
|
|
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
|
+
},
|
|
2281
2779
|
datatype: { required: false, control: "text", type: "string" },
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
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
|
+
},
|
|
2287
2807
|
inputMode: {
|
|
2288
2808
|
description:
|
|
2289
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",
|
|
@@ -2313,20 +2833,53 @@ export const propsDialogDescription: Record<string, PropMeta> = {
|
|
|
2313
2833
|
itemRef: { required: false, control: "text", type: "string" },
|
|
2314
2834
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
2315
2835
|
itemType: { required: false, control: "text", type: "string" },
|
|
2316
|
-
lang: {
|
|
2836
|
+
lang: {
|
|
2837
|
+
required: false,
|
|
2838
|
+
control: "text",
|
|
2839
|
+
type: "string",
|
|
2840
|
+
description: "Defines the language used in the element.",
|
|
2841
|
+
},
|
|
2317
2842
|
nonce: { required: false, control: "text", type: "string" },
|
|
2318
|
-
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
|
+
},
|
|
2319
2850
|
prefix: { required: false, control: "text", type: "string" },
|
|
2320
2851
|
property: { required: false, control: "text", type: "string" },
|
|
2321
2852
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
2322
|
-
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
|
+
},
|
|
2323
2860
|
resource: { required: false, control: "text", type: "string" },
|
|
2324
2861
|
results: { required: false, control: "number", type: "number" },
|
|
2325
2862
|
rev: { required: false, control: "text", type: "string" },
|
|
2326
|
-
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
|
+
},
|
|
2327
2870
|
security: { required: false, control: "text", type: "string" },
|
|
2328
|
-
slot: {
|
|
2329
|
-
|
|
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
|
+
},
|
|
2330
2883
|
suppressContentEditableWarning: {
|
|
2331
2884
|
required: false,
|
|
2332
2885
|
control: "boolean",
|
|
@@ -2337,13 +2890,27 @@ export const propsDialogDescription: Record<string, PropMeta> = {
|
|
|
2337
2890
|
control: "boolean",
|
|
2338
2891
|
type: "boolean",
|
|
2339
2892
|
},
|
|
2340
|
-
tabIndex: {
|
|
2341
|
-
|
|
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
|
+
},
|
|
2342
2907
|
translate: {
|
|
2343
2908
|
required: false,
|
|
2344
2909
|
control: "radio",
|
|
2345
2910
|
type: "string",
|
|
2346
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.",
|
|
2347
2914
|
},
|
|
2348
2915
|
typeof: { required: false, control: "text", type: "string" },
|
|
2349
2916
|
unselectable: {
|