@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 propsSheet: 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 propsSheetTrigger: Record<string, PropMeta> = {};
|
|
8
13
|
export const propsSheetOverlay: 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 propsSheetOverlay: 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 propsSheetOverlay: 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,13 +492,30 @@ export const propsSheetOverlay: 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" },
|
|
@@ -446,10 +524,22 @@ export const propsSheetOverlay: Record<string, PropMeta> = {
|
|
|
446
524
|
control: "text",
|
|
447
525
|
type: "string",
|
|
448
526
|
defaultValue: "navigation",
|
|
527
|
+
description:
|
|
528
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
449
529
|
},
|
|
450
530
|
security: { required: false, control: "text", type: "string" },
|
|
451
|
-
slot: {
|
|
452
|
-
|
|
531
|
+
slot: {
|
|
532
|
+
required: false,
|
|
533
|
+
control: "text",
|
|
534
|
+
type: "string",
|
|
535
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
536
|
+
},
|
|
537
|
+
spellCheck: {
|
|
538
|
+
required: false,
|
|
539
|
+
control: "boolean",
|
|
540
|
+
type: "boolean",
|
|
541
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
542
|
+
},
|
|
453
543
|
suppressContentEditableWarning: {
|
|
454
544
|
required: false,
|
|
455
545
|
control: "boolean",
|
|
@@ -460,13 +550,27 @@ export const propsSheetOverlay: Record<string, PropMeta> = {
|
|
|
460
550
|
control: "boolean",
|
|
461
551
|
type: "boolean",
|
|
462
552
|
},
|
|
463
|
-
tabIndex: {
|
|
464
|
-
|
|
553
|
+
tabIndex: {
|
|
554
|
+
required: false,
|
|
555
|
+
control: "number",
|
|
556
|
+
type: "number",
|
|
557
|
+
description:
|
|
558
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
559
|
+
},
|
|
560
|
+
title: {
|
|
561
|
+
required: false,
|
|
562
|
+
control: "text",
|
|
563
|
+
type: "string",
|
|
564
|
+
description:
|
|
565
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
566
|
+
},
|
|
465
567
|
translate: {
|
|
466
568
|
required: false,
|
|
467
569
|
control: "radio",
|
|
468
570
|
type: "string",
|
|
469
571
|
options: ["yes", "no"],
|
|
572
|
+
description:
|
|
573
|
+
"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.",
|
|
470
574
|
},
|
|
471
575
|
typeof: { required: false, control: "text", type: "string" },
|
|
472
576
|
unselectable: {
|
|
@@ -479,7 +583,12 @@ export const propsSheetOverlay: Record<string, PropMeta> = {
|
|
|
479
583
|
};
|
|
480
584
|
export const propsSheetClose: Record<string, PropMeta> = {
|
|
481
585
|
about: { required: false, control: "text", type: "string" },
|
|
482
|
-
accessKey: {
|
|
586
|
+
accessKey: {
|
|
587
|
+
required: false,
|
|
588
|
+
control: "text",
|
|
589
|
+
type: "string",
|
|
590
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
591
|
+
},
|
|
483
592
|
"aria-activedescendant": {
|
|
484
593
|
description:
|
|
485
594
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -660,7 +769,7 @@ export const propsSheetClose: Record<string, PropMeta> = {
|
|
|
660
769
|
},
|
|
661
770
|
"aria-label": {
|
|
662
771
|
description:
|
|
663
|
-
"
|
|
772
|
+
"Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
664
773
|
required: false,
|
|
665
774
|
control: "text",
|
|
666
775
|
type: "string",
|
|
@@ -859,28 +968,119 @@ export const propsSheetClose: Record<string, PropMeta> = {
|
|
|
859
968
|
control: "text",
|
|
860
969
|
type: "string",
|
|
861
970
|
},
|
|
862
|
-
|
|
863
|
-
|
|
971
|
+
autoCapitalize: {
|
|
972
|
+
required: false,
|
|
973
|
+
control: "text",
|
|
974
|
+
type: "string",
|
|
975
|
+
description:
|
|
976
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
977
|
+
},
|
|
864
978
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
865
|
-
autoFocus: {
|
|
979
|
+
autoFocus: {
|
|
980
|
+
required: false,
|
|
981
|
+
control: "boolean",
|
|
982
|
+
type: "boolean",
|
|
983
|
+
description:
|
|
984
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
985
|
+
},
|
|
866
986
|
autoSave: { required: false, control: "text", type: "string" },
|
|
867
987
|
className: { required: false, control: "text", type: "string" },
|
|
868
|
-
color: {
|
|
869
|
-
|
|
870
|
-
|
|
988
|
+
color: {
|
|
989
|
+
required: false,
|
|
990
|
+
control: "color",
|
|
991
|
+
type: "string",
|
|
992
|
+
description:
|
|
993
|
+
"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.",
|
|
994
|
+
},
|
|
995
|
+
content: {
|
|
996
|
+
required: false,
|
|
997
|
+
control: "text",
|
|
998
|
+
type: "string",
|
|
999
|
+
description:
|
|
1000
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
1001
|
+
},
|
|
1002
|
+
contextMenu: {
|
|
1003
|
+
required: false,
|
|
1004
|
+
control: "text",
|
|
1005
|
+
type: "string",
|
|
1006
|
+
description:
|
|
1007
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
1008
|
+
},
|
|
871
1009
|
datatype: { required: false, control: "text", type: "string" },
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
1010
|
+
dir: {
|
|
1011
|
+
required: false,
|
|
1012
|
+
control: "text",
|
|
1013
|
+
type: "string",
|
|
1014
|
+
description:
|
|
1015
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
1016
|
+
},
|
|
1017
|
+
disabled: {
|
|
1018
|
+
required: false,
|
|
1019
|
+
control: "boolean",
|
|
1020
|
+
type: "boolean",
|
|
1021
|
+
description: "Indicates whether the user can interact with the element.",
|
|
1022
|
+
},
|
|
1023
|
+
draggable: {
|
|
1024
|
+
required: false,
|
|
1025
|
+
control: "boolean",
|
|
1026
|
+
type: "boolean",
|
|
1027
|
+
description: "Defines whether the element can be dragged.",
|
|
1028
|
+
},
|
|
1029
|
+
form: {
|
|
1030
|
+
required: false,
|
|
1031
|
+
control: "text",
|
|
1032
|
+
type: "string",
|
|
1033
|
+
description: "Indicates the form that is the owner of the element.",
|
|
1034
|
+
},
|
|
1035
|
+
formAction: {
|
|
1036
|
+
required: false,
|
|
1037
|
+
control: "text",
|
|
1038
|
+
type: "string",
|
|
1039
|
+
description:
|
|
1040
|
+
"Indicates the action of the element, overriding the action defined inthe form.",
|
|
1041
|
+
},
|
|
1042
|
+
formEncType: {
|
|
1043
|
+
required: false,
|
|
1044
|
+
control: "text",
|
|
1045
|
+
type: "string",
|
|
1046
|
+
description:
|
|
1047
|
+
'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.',
|
|
1048
|
+
},
|
|
1049
|
+
formMethod: {
|
|
1050
|
+
required: false,
|
|
1051
|
+
control: "text",
|
|
1052
|
+
type: "string",
|
|
1053
|
+
description:
|
|
1054
|
+
'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.',
|
|
1055
|
+
},
|
|
1056
|
+
formNoValidate: {
|
|
1057
|
+
required: false,
|
|
1058
|
+
control: "boolean",
|
|
1059
|
+
type: "boolean",
|
|
1060
|
+
description:
|
|
1061
|
+
'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.',
|
|
1062
|
+
},
|
|
1063
|
+
formTarget: {
|
|
1064
|
+
required: false,
|
|
1065
|
+
control: "text",
|
|
1066
|
+
type: "string",
|
|
1067
|
+
description:
|
|
1068
|
+
'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.',
|
|
1069
|
+
},
|
|
1070
|
+
hidden: {
|
|
1071
|
+
required: false,
|
|
1072
|
+
control: "boolean",
|
|
1073
|
+
type: "boolean",
|
|
1074
|
+
description:
|
|
1075
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
1076
|
+
},
|
|
1077
|
+
id: {
|
|
1078
|
+
required: false,
|
|
1079
|
+
control: "text",
|
|
1080
|
+
type: "string",
|
|
1081
|
+
description:
|
|
1082
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
1083
|
+
},
|
|
884
1084
|
inputMode: {
|
|
885
1085
|
description:
|
|
886
1086
|
"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",
|
|
@@ -910,14 +1110,37 @@ export const propsSheetClose: Record<string, PropMeta> = {
|
|
|
910
1110
|
itemRef: { required: false, control: "text", type: "string" },
|
|
911
1111
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
912
1112
|
itemType: { required: false, control: "text", type: "string" },
|
|
913
|
-
lang: {
|
|
914
|
-
|
|
1113
|
+
lang: {
|
|
1114
|
+
required: false,
|
|
1115
|
+
control: "text",
|
|
1116
|
+
type: "string",
|
|
1117
|
+
description: "Defines the language used in the element.",
|
|
1118
|
+
},
|
|
1119
|
+
name: {
|
|
1120
|
+
required: false,
|
|
1121
|
+
control: "text",
|
|
1122
|
+
type: "string",
|
|
1123
|
+
description:
|
|
1124
|
+
"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).",
|
|
1125
|
+
},
|
|
915
1126
|
nonce: { required: false, control: "text", type: "string" },
|
|
916
|
-
placeholder: {
|
|
1127
|
+
placeholder: {
|
|
1128
|
+
required: false,
|
|
1129
|
+
control: "text",
|
|
1130
|
+
type: "string",
|
|
1131
|
+
description:
|
|
1132
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
1133
|
+
},
|
|
917
1134
|
prefix: { required: false, control: "text", type: "string" },
|
|
918
1135
|
property: { required: false, control: "text", type: "string" },
|
|
919
1136
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
920
|
-
rel: {
|
|
1137
|
+
rel: {
|
|
1138
|
+
required: false,
|
|
1139
|
+
control: "text",
|
|
1140
|
+
type: "string",
|
|
1141
|
+
description:
|
|
1142
|
+
"Specifies the relationship of the target object to the link object.",
|
|
1143
|
+
},
|
|
921
1144
|
resource: { required: false, control: "text", type: "string" },
|
|
922
1145
|
results: { required: false, control: "number", type: "number" },
|
|
923
1146
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -926,10 +1149,22 @@ export const propsSheetClose: Record<string, PropMeta> = {
|
|
|
926
1149
|
control: "text",
|
|
927
1150
|
type: "string",
|
|
928
1151
|
defaultValue: "navigation",
|
|
1152
|
+
description:
|
|
1153
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
929
1154
|
},
|
|
930
1155
|
security: { required: false, control: "text", type: "string" },
|
|
931
|
-
slot: {
|
|
932
|
-
|
|
1156
|
+
slot: {
|
|
1157
|
+
required: false,
|
|
1158
|
+
control: "text",
|
|
1159
|
+
type: "string",
|
|
1160
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
1161
|
+
},
|
|
1162
|
+
spellCheck: {
|
|
1163
|
+
required: false,
|
|
1164
|
+
control: "boolean",
|
|
1165
|
+
type: "boolean",
|
|
1166
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
1167
|
+
},
|
|
933
1168
|
suppressContentEditableWarning: {
|
|
934
1169
|
required: false,
|
|
935
1170
|
control: "boolean",
|
|
@@ -940,19 +1175,34 @@ export const propsSheetClose: Record<string, PropMeta> = {
|
|
|
940
1175
|
control: "boolean",
|
|
941
1176
|
type: "boolean",
|
|
942
1177
|
},
|
|
943
|
-
tabIndex: {
|
|
944
|
-
|
|
1178
|
+
tabIndex: {
|
|
1179
|
+
required: false,
|
|
1180
|
+
control: "number",
|
|
1181
|
+
type: "number",
|
|
1182
|
+
description:
|
|
1183
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
1184
|
+
},
|
|
1185
|
+
title: {
|
|
1186
|
+
required: false,
|
|
1187
|
+
control: "text",
|
|
1188
|
+
type: "string",
|
|
1189
|
+
description:
|
|
1190
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
1191
|
+
},
|
|
945
1192
|
translate: {
|
|
946
1193
|
required: false,
|
|
947
1194
|
control: "radio",
|
|
948
1195
|
type: "string",
|
|
949
1196
|
options: ["yes", "no"],
|
|
1197
|
+
description:
|
|
1198
|
+
"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.",
|
|
950
1199
|
},
|
|
951
1200
|
type: {
|
|
952
1201
|
required: false,
|
|
953
1202
|
control: "radio",
|
|
954
1203
|
type: "string",
|
|
955
1204
|
options: ["button", "submit", "reset"],
|
|
1205
|
+
description: "Defines the type of the element.",
|
|
956
1206
|
},
|
|
957
1207
|
typeof: { required: false, control: "text", type: "string" },
|
|
958
1208
|
unselectable: {
|
|
@@ -965,7 +1215,12 @@ export const propsSheetClose: Record<string, PropMeta> = {
|
|
|
965
1215
|
};
|
|
966
1216
|
export const propsSheetTitle: Record<string, PropMeta> = {
|
|
967
1217
|
about: { required: false, control: "text", type: "string" },
|
|
968
|
-
accessKey: {
|
|
1218
|
+
accessKey: {
|
|
1219
|
+
required: false,
|
|
1220
|
+
control: "text",
|
|
1221
|
+
type: "string",
|
|
1222
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
1223
|
+
},
|
|
969
1224
|
"aria-activedescendant": {
|
|
970
1225
|
description:
|
|
971
1226
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -1146,7 +1401,7 @@ export const propsSheetTitle: Record<string, PropMeta> = {
|
|
|
1146
1401
|
},
|
|
1147
1402
|
"aria-label": {
|
|
1148
1403
|
description:
|
|
1149
|
-
"
|
|
1404
|
+
"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.",
|
|
1150
1405
|
required: false,
|
|
1151
1406
|
control: "text",
|
|
1152
1407
|
type: "string",
|
|
@@ -1345,21 +1600,72 @@ export const propsSheetTitle: Record<string, PropMeta> = {
|
|
|
1345
1600
|
control: "text",
|
|
1346
1601
|
type: "string",
|
|
1347
1602
|
},
|
|
1348
|
-
|
|
1349
|
-
|
|
1603
|
+
autoCapitalize: {
|
|
1604
|
+
required: false,
|
|
1605
|
+
control: "text",
|
|
1606
|
+
type: "string",
|
|
1607
|
+
description:
|
|
1608
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
1609
|
+
},
|
|
1350
1610
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1351
|
-
autoFocus: {
|
|
1611
|
+
autoFocus: {
|
|
1612
|
+
required: false,
|
|
1613
|
+
control: "boolean",
|
|
1614
|
+
type: "boolean",
|
|
1615
|
+
description:
|
|
1616
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
1617
|
+
},
|
|
1352
1618
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1353
1619
|
className: { required: false, control: "text", type: "string" },
|
|
1354
|
-
color: {
|
|
1355
|
-
|
|
1356
|
-
|
|
1620
|
+
color: {
|
|
1621
|
+
required: false,
|
|
1622
|
+
control: "color",
|
|
1623
|
+
type: "string",
|
|
1624
|
+
description:
|
|
1625
|
+
"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.",
|
|
1626
|
+
},
|
|
1627
|
+
content: {
|
|
1628
|
+
required: false,
|
|
1629
|
+
control: "text",
|
|
1630
|
+
type: "string",
|
|
1631
|
+
description:
|
|
1632
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
1633
|
+
},
|
|
1634
|
+
contextMenu: {
|
|
1635
|
+
required: false,
|
|
1636
|
+
control: "text",
|
|
1637
|
+
type: "string",
|
|
1638
|
+
description:
|
|
1639
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
1640
|
+
},
|
|
1357
1641
|
datatype: { required: false, control: "text", type: "string" },
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1642
|
+
dir: {
|
|
1643
|
+
required: false,
|
|
1644
|
+
control: "text",
|
|
1645
|
+
type: "string",
|
|
1646
|
+
description:
|
|
1647
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
1648
|
+
},
|
|
1649
|
+
draggable: {
|
|
1650
|
+
required: false,
|
|
1651
|
+
control: "boolean",
|
|
1652
|
+
type: "boolean",
|
|
1653
|
+
description: "Defines whether the element can be dragged.",
|
|
1654
|
+
},
|
|
1655
|
+
hidden: {
|
|
1656
|
+
required: false,
|
|
1657
|
+
control: "boolean",
|
|
1658
|
+
type: "boolean",
|
|
1659
|
+
description:
|
|
1660
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
1661
|
+
},
|
|
1662
|
+
id: {
|
|
1663
|
+
required: false,
|
|
1664
|
+
control: "text",
|
|
1665
|
+
type: "string",
|
|
1666
|
+
description:
|
|
1667
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
1668
|
+
},
|
|
1363
1669
|
inputMode: {
|
|
1364
1670
|
description:
|
|
1365
1671
|
"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",
|
|
@@ -1389,13 +1695,30 @@ export const propsSheetTitle: Record<string, PropMeta> = {
|
|
|
1389
1695
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1390
1696
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1391
1697
|
itemType: { required: false, control: "text", type: "string" },
|
|
1392
|
-
lang: {
|
|
1698
|
+
lang: {
|
|
1699
|
+
required: false,
|
|
1700
|
+
control: "text",
|
|
1701
|
+
type: "string",
|
|
1702
|
+
description: "Defines the language used in the element.",
|
|
1703
|
+
},
|
|
1393
1704
|
nonce: { required: false, control: "text", type: "string" },
|
|
1394
|
-
placeholder: {
|
|
1705
|
+
placeholder: {
|
|
1706
|
+
required: false,
|
|
1707
|
+
control: "text",
|
|
1708
|
+
type: "string",
|
|
1709
|
+
description:
|
|
1710
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
1711
|
+
},
|
|
1395
1712
|
prefix: { required: false, control: "text", type: "string" },
|
|
1396
1713
|
property: { required: false, control: "text", type: "string" },
|
|
1397
1714
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1398
|
-
rel: {
|
|
1715
|
+
rel: {
|
|
1716
|
+
required: false,
|
|
1717
|
+
control: "text",
|
|
1718
|
+
type: "string",
|
|
1719
|
+
description:
|
|
1720
|
+
"Specifies the relationship of the target object to the link object.",
|
|
1721
|
+
},
|
|
1399
1722
|
resource: { required: false, control: "text", type: "string" },
|
|
1400
1723
|
results: { required: false, control: "number", type: "number" },
|
|
1401
1724
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -1404,10 +1727,22 @@ export const propsSheetTitle: Record<string, PropMeta> = {
|
|
|
1404
1727
|
control: "text",
|
|
1405
1728
|
type: "string",
|
|
1406
1729
|
defaultValue: "navigation",
|
|
1730
|
+
description:
|
|
1731
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
1407
1732
|
},
|
|
1408
1733
|
security: { required: false, control: "text", type: "string" },
|
|
1409
|
-
slot: {
|
|
1410
|
-
|
|
1734
|
+
slot: {
|
|
1735
|
+
required: false,
|
|
1736
|
+
control: "text",
|
|
1737
|
+
type: "string",
|
|
1738
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
1739
|
+
},
|
|
1740
|
+
spellCheck: {
|
|
1741
|
+
required: false,
|
|
1742
|
+
control: "boolean",
|
|
1743
|
+
type: "boolean",
|
|
1744
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
1745
|
+
},
|
|
1411
1746
|
suppressContentEditableWarning: {
|
|
1412
1747
|
required: false,
|
|
1413
1748
|
control: "boolean",
|
|
@@ -1418,13 +1753,27 @@ export const propsSheetTitle: Record<string, PropMeta> = {
|
|
|
1418
1753
|
control: "boolean",
|
|
1419
1754
|
type: "boolean",
|
|
1420
1755
|
},
|
|
1421
|
-
tabIndex: {
|
|
1422
|
-
|
|
1756
|
+
tabIndex: {
|
|
1757
|
+
required: false,
|
|
1758
|
+
control: "number",
|
|
1759
|
+
type: "number",
|
|
1760
|
+
description:
|
|
1761
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
1762
|
+
},
|
|
1763
|
+
title: {
|
|
1764
|
+
required: false,
|
|
1765
|
+
control: "text",
|
|
1766
|
+
type: "string",
|
|
1767
|
+
description:
|
|
1768
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
1769
|
+
},
|
|
1423
1770
|
translate: {
|
|
1424
1771
|
required: false,
|
|
1425
1772
|
control: "radio",
|
|
1426
1773
|
type: "string",
|
|
1427
1774
|
options: ["yes", "no"],
|
|
1775
|
+
description:
|
|
1776
|
+
"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.",
|
|
1428
1777
|
},
|
|
1429
1778
|
typeof: { required: false, control: "text", type: "string" },
|
|
1430
1779
|
unselectable: {
|
|
@@ -1437,7 +1786,12 @@ export const propsSheetTitle: Record<string, PropMeta> = {
|
|
|
1437
1786
|
};
|
|
1438
1787
|
export const propsSheetDescription: Record<string, PropMeta> = {
|
|
1439
1788
|
about: { required: false, control: "text", type: "string" },
|
|
1440
|
-
accessKey: {
|
|
1789
|
+
accessKey: {
|
|
1790
|
+
required: false,
|
|
1791
|
+
control: "text",
|
|
1792
|
+
type: "string",
|
|
1793
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
1794
|
+
},
|
|
1441
1795
|
"aria-activedescendant": {
|
|
1442
1796
|
description:
|
|
1443
1797
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -1618,7 +1972,7 @@ export const propsSheetDescription: Record<string, PropMeta> = {
|
|
|
1618
1972
|
},
|
|
1619
1973
|
"aria-label": {
|
|
1620
1974
|
description:
|
|
1621
|
-
"
|
|
1975
|
+
"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.",
|
|
1622
1976
|
required: false,
|
|
1623
1977
|
control: "text",
|
|
1624
1978
|
type: "string",
|
|
@@ -1817,21 +2171,72 @@ export const propsSheetDescription: Record<string, PropMeta> = {
|
|
|
1817
2171
|
control: "text",
|
|
1818
2172
|
type: "string",
|
|
1819
2173
|
},
|
|
1820
|
-
|
|
1821
|
-
|
|
2174
|
+
autoCapitalize: {
|
|
2175
|
+
required: false,
|
|
2176
|
+
control: "text",
|
|
2177
|
+
type: "string",
|
|
2178
|
+
description:
|
|
2179
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
2180
|
+
},
|
|
1822
2181
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1823
|
-
autoFocus: {
|
|
2182
|
+
autoFocus: {
|
|
2183
|
+
required: false,
|
|
2184
|
+
control: "boolean",
|
|
2185
|
+
type: "boolean",
|
|
2186
|
+
description:
|
|
2187
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
2188
|
+
},
|
|
1824
2189
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1825
2190
|
className: { required: false, control: "text", type: "string" },
|
|
1826
|
-
color: {
|
|
1827
|
-
|
|
1828
|
-
|
|
2191
|
+
color: {
|
|
2192
|
+
required: false,
|
|
2193
|
+
control: "color",
|
|
2194
|
+
type: "string",
|
|
2195
|
+
description:
|
|
2196
|
+
"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.",
|
|
2197
|
+
},
|
|
2198
|
+
content: {
|
|
2199
|
+
required: false,
|
|
2200
|
+
control: "text",
|
|
2201
|
+
type: "string",
|
|
2202
|
+
description:
|
|
2203
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
2204
|
+
},
|
|
2205
|
+
contextMenu: {
|
|
2206
|
+
required: false,
|
|
2207
|
+
control: "text",
|
|
2208
|
+
type: "string",
|
|
2209
|
+
description:
|
|
2210
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
2211
|
+
},
|
|
1829
2212
|
datatype: { required: false, control: "text", type: "string" },
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
2213
|
+
dir: {
|
|
2214
|
+
required: false,
|
|
2215
|
+
control: "text",
|
|
2216
|
+
type: "string",
|
|
2217
|
+
description:
|
|
2218
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
2219
|
+
},
|
|
2220
|
+
draggable: {
|
|
2221
|
+
required: false,
|
|
2222
|
+
control: "boolean",
|
|
2223
|
+
type: "boolean",
|
|
2224
|
+
description: "Defines whether the element can be dragged.",
|
|
2225
|
+
},
|
|
2226
|
+
hidden: {
|
|
2227
|
+
required: false,
|
|
2228
|
+
control: "boolean",
|
|
2229
|
+
type: "boolean",
|
|
2230
|
+
description:
|
|
2231
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
2232
|
+
},
|
|
2233
|
+
id: {
|
|
2234
|
+
required: false,
|
|
2235
|
+
control: "text",
|
|
2236
|
+
type: "string",
|
|
2237
|
+
description:
|
|
2238
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
2239
|
+
},
|
|
1835
2240
|
inputMode: {
|
|
1836
2241
|
description:
|
|
1837
2242
|
"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",
|
|
@@ -1861,13 +2266,30 @@ export const propsSheetDescription: Record<string, PropMeta> = {
|
|
|
1861
2266
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1862
2267
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1863
2268
|
itemType: { required: false, control: "text", type: "string" },
|
|
1864
|
-
lang: {
|
|
2269
|
+
lang: {
|
|
2270
|
+
required: false,
|
|
2271
|
+
control: "text",
|
|
2272
|
+
type: "string",
|
|
2273
|
+
description: "Defines the language used in the element.",
|
|
2274
|
+
},
|
|
1865
2275
|
nonce: { required: false, control: "text", type: "string" },
|
|
1866
|
-
placeholder: {
|
|
2276
|
+
placeholder: {
|
|
2277
|
+
required: false,
|
|
2278
|
+
control: "text",
|
|
2279
|
+
type: "string",
|
|
2280
|
+
description:
|
|
2281
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
2282
|
+
},
|
|
1867
2283
|
prefix: { required: false, control: "text", type: "string" },
|
|
1868
2284
|
property: { required: false, control: "text", type: "string" },
|
|
1869
2285
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1870
|
-
rel: {
|
|
2286
|
+
rel: {
|
|
2287
|
+
required: false,
|
|
2288
|
+
control: "text",
|
|
2289
|
+
type: "string",
|
|
2290
|
+
description:
|
|
2291
|
+
"Specifies the relationship of the target object to the link object.",
|
|
2292
|
+
},
|
|
1871
2293
|
resource: { required: false, control: "text", type: "string" },
|
|
1872
2294
|
results: { required: false, control: "number", type: "number" },
|
|
1873
2295
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -1876,10 +2298,22 @@ export const propsSheetDescription: Record<string, PropMeta> = {
|
|
|
1876
2298
|
control: "text",
|
|
1877
2299
|
type: "string",
|
|
1878
2300
|
defaultValue: "navigation",
|
|
2301
|
+
description:
|
|
2302
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
1879
2303
|
},
|
|
1880
2304
|
security: { required: false, control: "text", type: "string" },
|
|
1881
|
-
slot: {
|
|
1882
|
-
|
|
2305
|
+
slot: {
|
|
2306
|
+
required: false,
|
|
2307
|
+
control: "text",
|
|
2308
|
+
type: "string",
|
|
2309
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
2310
|
+
},
|
|
2311
|
+
spellCheck: {
|
|
2312
|
+
required: false,
|
|
2313
|
+
control: "boolean",
|
|
2314
|
+
type: "boolean",
|
|
2315
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
2316
|
+
},
|
|
1883
2317
|
suppressContentEditableWarning: {
|
|
1884
2318
|
required: false,
|
|
1885
2319
|
control: "boolean",
|
|
@@ -1890,13 +2324,27 @@ export const propsSheetDescription: Record<string, PropMeta> = {
|
|
|
1890
2324
|
control: "boolean",
|
|
1891
2325
|
type: "boolean",
|
|
1892
2326
|
},
|
|
1893
|
-
tabIndex: {
|
|
1894
|
-
|
|
2327
|
+
tabIndex: {
|
|
2328
|
+
required: false,
|
|
2329
|
+
control: "number",
|
|
2330
|
+
type: "number",
|
|
2331
|
+
description:
|
|
2332
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
2333
|
+
},
|
|
2334
|
+
title: {
|
|
2335
|
+
required: false,
|
|
2336
|
+
control: "text",
|
|
2337
|
+
type: "string",
|
|
2338
|
+
description:
|
|
2339
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
2340
|
+
},
|
|
1895
2341
|
translate: {
|
|
1896
2342
|
required: false,
|
|
1897
2343
|
control: "radio",
|
|
1898
2344
|
type: "string",
|
|
1899
2345
|
options: ["yes", "no"],
|
|
2346
|
+
description:
|
|
2347
|
+
"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.",
|
|
1900
2348
|
},
|
|
1901
2349
|
typeof: { required: false, control: "text", type: "string" },
|
|
1902
2350
|
unselectable: {
|
|
@@ -1909,7 +2357,12 @@ export const propsSheetDescription: Record<string, PropMeta> = {
|
|
|
1909
2357
|
};
|
|
1910
2358
|
export const propsSheetContent: Record<string, PropMeta> = {
|
|
1911
2359
|
about: { required: false, control: "text", type: "string" },
|
|
1912
|
-
accessKey: {
|
|
2360
|
+
accessKey: {
|
|
2361
|
+
required: false,
|
|
2362
|
+
control: "text",
|
|
2363
|
+
type: "string",
|
|
2364
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
2365
|
+
},
|
|
1913
2366
|
"aria-activedescendant": {
|
|
1914
2367
|
description:
|
|
1915
2368
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -2090,7 +2543,7 @@ export const propsSheetContent: Record<string, PropMeta> = {
|
|
|
2090
2543
|
},
|
|
2091
2544
|
"aria-label": {
|
|
2092
2545
|
description:
|
|
2093
|
-
"
|
|
2546
|
+
"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.",
|
|
2094
2547
|
required: false,
|
|
2095
2548
|
control: "text",
|
|
2096
2549
|
type: "string",
|
|
@@ -2289,21 +2742,72 @@ export const propsSheetContent: Record<string, PropMeta> = {
|
|
|
2289
2742
|
control: "text",
|
|
2290
2743
|
type: "string",
|
|
2291
2744
|
},
|
|
2292
|
-
|
|
2293
|
-
|
|
2745
|
+
autoCapitalize: {
|
|
2746
|
+
required: false,
|
|
2747
|
+
control: "text",
|
|
2748
|
+
type: "string",
|
|
2749
|
+
description:
|
|
2750
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
2751
|
+
},
|
|
2294
2752
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
2295
|
-
autoFocus: {
|
|
2753
|
+
autoFocus: {
|
|
2754
|
+
required: false,
|
|
2755
|
+
control: "boolean",
|
|
2756
|
+
type: "boolean",
|
|
2757
|
+
description:
|
|
2758
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
2759
|
+
},
|
|
2296
2760
|
autoSave: { required: false, control: "text", type: "string" },
|
|
2297
2761
|
className: { required: false, control: "text", type: "string" },
|
|
2298
|
-
color: {
|
|
2299
|
-
|
|
2300
|
-
|
|
2762
|
+
color: {
|
|
2763
|
+
required: false,
|
|
2764
|
+
control: "color",
|
|
2765
|
+
type: "string",
|
|
2766
|
+
description:
|
|
2767
|
+
"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.",
|
|
2768
|
+
},
|
|
2769
|
+
content: {
|
|
2770
|
+
required: false,
|
|
2771
|
+
control: "text",
|
|
2772
|
+
type: "string",
|
|
2773
|
+
description:
|
|
2774
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
2775
|
+
},
|
|
2776
|
+
contextMenu: {
|
|
2777
|
+
required: false,
|
|
2778
|
+
control: "text",
|
|
2779
|
+
type: "string",
|
|
2780
|
+
description:
|
|
2781
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
2782
|
+
},
|
|
2301
2783
|
datatype: { required: false, control: "text", type: "string" },
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2784
|
+
dir: {
|
|
2785
|
+
required: false,
|
|
2786
|
+
control: "text",
|
|
2787
|
+
type: "string",
|
|
2788
|
+
description:
|
|
2789
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
2790
|
+
},
|
|
2791
|
+
draggable: {
|
|
2792
|
+
required: false,
|
|
2793
|
+
control: "boolean",
|
|
2794
|
+
type: "boolean",
|
|
2795
|
+
description: "Defines whether the element can be dragged.",
|
|
2796
|
+
},
|
|
2797
|
+
hidden: {
|
|
2798
|
+
required: false,
|
|
2799
|
+
control: "boolean",
|
|
2800
|
+
type: "boolean",
|
|
2801
|
+
description:
|
|
2802
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
2803
|
+
},
|
|
2804
|
+
id: {
|
|
2805
|
+
required: false,
|
|
2806
|
+
control: "text",
|
|
2807
|
+
type: "string",
|
|
2808
|
+
description:
|
|
2809
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
2810
|
+
},
|
|
2307
2811
|
inputMode: {
|
|
2308
2812
|
description:
|
|
2309
2813
|
"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",
|
|
@@ -2333,13 +2837,30 @@ export const propsSheetContent: Record<string, PropMeta> = {
|
|
|
2333
2837
|
itemRef: { required: false, control: "text", type: "string" },
|
|
2334
2838
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
2335
2839
|
itemType: { required: false, control: "text", type: "string" },
|
|
2336
|
-
lang: {
|
|
2840
|
+
lang: {
|
|
2841
|
+
required: false,
|
|
2842
|
+
control: "text",
|
|
2843
|
+
type: "string",
|
|
2844
|
+
description: "Defines the language used in the element.",
|
|
2845
|
+
},
|
|
2337
2846
|
nonce: { required: false, control: "text", type: "string" },
|
|
2338
|
-
placeholder: {
|
|
2847
|
+
placeholder: {
|
|
2848
|
+
required: false,
|
|
2849
|
+
control: "text",
|
|
2850
|
+
type: "string",
|
|
2851
|
+
description:
|
|
2852
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
2853
|
+
},
|
|
2339
2854
|
prefix: { required: false, control: "text", type: "string" },
|
|
2340
2855
|
property: { required: false, control: "text", type: "string" },
|
|
2341
2856
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
2342
|
-
rel: {
|
|
2857
|
+
rel: {
|
|
2858
|
+
required: false,
|
|
2859
|
+
control: "text",
|
|
2860
|
+
type: "string",
|
|
2861
|
+
description:
|
|
2862
|
+
"Specifies the relationship of the target object to the link object.",
|
|
2863
|
+
},
|
|
2343
2864
|
resource: { required: false, control: "text", type: "string" },
|
|
2344
2865
|
results: { required: false, control: "number", type: "number" },
|
|
2345
2866
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -2348,6 +2869,8 @@ export const propsSheetContent: Record<string, PropMeta> = {
|
|
|
2348
2869
|
control: "text",
|
|
2349
2870
|
type: "string",
|
|
2350
2871
|
defaultValue: "navigation",
|
|
2872
|
+
description:
|
|
2873
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
2351
2874
|
},
|
|
2352
2875
|
security: { required: false, control: "text", type: "string" },
|
|
2353
2876
|
side: {
|
|
@@ -2357,8 +2880,18 @@ export const propsSheetContent: Record<string, PropMeta> = {
|
|
|
2357
2880
|
defaultValue: "left",
|
|
2358
2881
|
options: ["top", "right", "bottom", "left"],
|
|
2359
2882
|
},
|
|
2360
|
-
slot: {
|
|
2361
|
-
|
|
2883
|
+
slot: {
|
|
2884
|
+
required: false,
|
|
2885
|
+
control: "text",
|
|
2886
|
+
type: "string",
|
|
2887
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
2888
|
+
},
|
|
2889
|
+
spellCheck: {
|
|
2890
|
+
required: false,
|
|
2891
|
+
control: "boolean",
|
|
2892
|
+
type: "boolean",
|
|
2893
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
2894
|
+
},
|
|
2362
2895
|
suppressContentEditableWarning: {
|
|
2363
2896
|
required: false,
|
|
2364
2897
|
control: "boolean",
|
|
@@ -2369,7 +2902,13 @@ export const propsSheetContent: Record<string, PropMeta> = {
|
|
|
2369
2902
|
control: "boolean",
|
|
2370
2903
|
type: "boolean",
|
|
2371
2904
|
},
|
|
2372
|
-
tabIndex: {
|
|
2905
|
+
tabIndex: {
|
|
2906
|
+
required: false,
|
|
2907
|
+
control: "number",
|
|
2908
|
+
type: "number",
|
|
2909
|
+
description:
|
|
2910
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
2911
|
+
},
|
|
2373
2912
|
tag: {
|
|
2374
2913
|
required: false,
|
|
2375
2914
|
control: "radio",
|
|
@@ -2377,12 +2916,20 @@ export const propsSheetContent: Record<string, PropMeta> = {
|
|
|
2377
2916
|
defaultValue: "nav",
|
|
2378
2917
|
options: ["div", "nav"],
|
|
2379
2918
|
},
|
|
2380
|
-
title: {
|
|
2919
|
+
title: {
|
|
2920
|
+
required: false,
|
|
2921
|
+
control: "text",
|
|
2922
|
+
type: "string",
|
|
2923
|
+
description:
|
|
2924
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
2925
|
+
},
|
|
2381
2926
|
translate: {
|
|
2382
2927
|
required: false,
|
|
2383
2928
|
control: "radio",
|
|
2384
2929
|
type: "string",
|
|
2385
2930
|
options: ["yes", "no"],
|
|
2931
|
+
description:
|
|
2932
|
+
"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.",
|
|
2386
2933
|
},
|
|
2387
2934
|
typeof: { required: false, control: "text", type: "string" },
|
|
2388
2935
|
unselectable: {
|