@webstudio-is/sdk-components-react-radix 0.87.1 → 0.89.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/__generated__/accordion.props.js +605 -114
- package/lib/__generated__/button.props.js +158 -47
- package/lib/__generated__/checkbox.props.js +1083 -0
- package/lib/__generated__/collapsible.props.js +234 -44
- package/lib/__generated__/dialog.props.js +611 -121
- package/lib/__generated__/input.props.js +264 -47
- package/lib/__generated__/label.props.js +123 -23
- package/lib/__generated__/navigation-menu.props.js +2565 -0
- package/lib/__generated__/popover.props.js +129 -28
- package/lib/__generated__/radio-group.props.js +1627 -0
- package/lib/__generated__/select.props.js +3678 -0
- package/lib/__generated__/sheet.props.js +591 -121
- package/lib/__generated__/switch.props.js +1083 -0
- package/lib/__generated__/tabs.props.js +906 -68
- package/lib/__generated__/textarea.props.js +177 -31
- package/lib/__generated__/tooltip.props.js +131 -29
- package/lib/accordion.js +11 -4
- package/lib/accordion.ws.js +88 -72
- package/lib/checkbox.js +13 -0
- package/lib/checkbox.ws.js +153 -0
- package/lib/cjs/__generated__/accordion.props.js +605 -114
- package/lib/cjs/__generated__/button.props.js +158 -47
- package/lib/cjs/__generated__/checkbox.props.js +1103 -0
- package/lib/cjs/__generated__/collapsible.props.js +234 -44
- package/lib/cjs/__generated__/dialog.props.js +611 -121
- package/lib/cjs/__generated__/input.props.js +264 -47
- package/lib/cjs/__generated__/label.props.js +123 -23
- package/lib/cjs/__generated__/navigation-menu.props.js +2585 -0
- package/lib/cjs/__generated__/popover.props.js +129 -28
- package/lib/cjs/__generated__/radio-group.props.js +1647 -0
- package/lib/cjs/__generated__/select.props.js +3698 -0
- package/lib/cjs/__generated__/sheet.props.js +591 -121
- package/lib/cjs/__generated__/switch.props.js +1103 -0
- package/lib/cjs/__generated__/tabs.props.js +906 -68
- package/lib/cjs/__generated__/textarea.props.js +177 -31
- package/lib/cjs/__generated__/tooltip.props.js +131 -29
- package/lib/cjs/accordion.js +11 -4
- package/lib/cjs/accordion.ws.js +86 -71
- package/lib/cjs/{textarea.js → checkbox.js} +9 -6
- package/lib/cjs/checkbox.ws.js +174 -0
- package/lib/cjs/collapsible.ws.js +5 -1
- package/lib/cjs/components.js +27 -14
- package/lib/cjs/dialog.ws.js +18 -17
- package/lib/cjs/hooks.js +5 -1
- package/lib/cjs/label.ws.js +2 -1
- package/lib/cjs/metas.js +29 -14
- package/lib/cjs/navigation-menu.js +107 -0
- package/lib/cjs/navigation-menu.ws.js +514 -0
- package/lib/cjs/popover.ws.js +13 -9
- package/lib/cjs/props-descriptions.js +56 -0
- package/lib/cjs/props.js +27 -14
- package/lib/cjs/{button.js → radio-group.js} +10 -8
- package/lib/cjs/radio-group.ws.js +191 -0
- package/lib/cjs/select.js +83 -0
- package/lib/cjs/select.ws.js +350 -0
- package/lib/cjs/sheet.ws.js +88 -176
- package/lib/cjs/{input.js → switch.js} +8 -9
- package/lib/cjs/switch.ws.js +173 -0
- package/lib/cjs/tabs.js +2 -3
- package/lib/cjs/tabs.ws.js +14 -18
- package/lib/cjs/theme/styles.js +100 -0
- package/lib/cjs/theme/tailwind-classes.js +125 -16
- package/lib/cjs/theme/tailwind-colors.js +1 -0
- package/lib/cjs/tooltip.ws.js +12 -8
- package/lib/collapsible.ws.js +5 -1
- package/lib/components.js +44 -22
- package/lib/dialog.ws.js +18 -17
- package/lib/hooks.js +5 -1
- package/lib/label.ws.js +2 -1
- package/lib/metas.js +58 -24
- package/lib/navigation-menu.js +85 -0
- package/lib/navigation-menu.ws.js +501 -0
- package/lib/popover.ws.js +13 -9
- package/lib/props-descriptions.js +36 -0
- package/lib/props.js +56 -24
- package/lib/radio-group.js +11 -0
- package/lib/radio-group.ws.js +173 -0
- package/lib/select.js +75 -0
- package/lib/select.ws.js +338 -0
- package/lib/sheet.ws.js +89 -194
- package/lib/switch.js +7 -0
- package/lib/switch.ws.js +145 -0
- package/lib/tabs.js +3 -5
- package/lib/tabs.ws.js +15 -19
- package/lib/theme/styles.js +70 -0
- package/lib/theme/tailwind-classes.js +125 -16
- package/lib/theme/tailwind-colors.js +1 -0
- package/lib/tooltip.ws.js +12 -8
- package/lib/types/__generated__/checkbox.props.d.ts +3 -0
- package/lib/types/__generated__/navigation-menu.props.d.ts +8 -0
- package/lib/types/__generated__/radio-group.props.d.ts +4 -0
- package/lib/types/__generated__/select.props.d.ts +9 -0
- package/lib/types/__generated__/switch.props.d.ts +3 -0
- package/lib/types/checkbox.d.ts +6 -0
- package/lib/types/checkbox.stories.d.ts +11 -0
- package/lib/types/checkbox.ws.d.ts +5 -0
- package/lib/types/components.d.ts +5 -4
- package/lib/types/metas.d.ts +6 -4
- package/lib/types/navigation-menu.d.ts +15 -0
- package/lib/types/navigation-menu.ws.d.ts +15 -0
- package/lib/types/props-descriptions.d.ts +29 -0
- package/lib/types/props.d.ts +5 -4
- package/lib/types/radio-group.d.ts +5 -0
- package/lib/types/radio-group.stories.d.ts +9 -0
- package/lib/types/radio-group.ws.d.ts +7 -0
- package/lib/types/select.d.ts +14 -0
- package/lib/types/select.ws.d.ts +17 -0
- package/lib/types/sheet.ws.d.ts +2 -15
- package/lib/types/switch.d.ts +4 -0
- package/lib/types/switch.stories.d.ts +9 -0
- package/lib/types/switch.ws.d.ts +5 -0
- package/lib/types/tabs.d.ts +3 -12
- package/lib/types/theme/radix-common-types.d.ts +3 -2
- package/lib/types/theme/styles.d.ts +215 -0
- package/lib/types/theme/tailwind-classes.d.ts +16 -6
- package/lib/types/theme/tailwind-colors.d.ts +1 -0
- package/lib/types/theme/tailwind-theme.d.ts +1 -1
- package/package.json +12 -7
- package/src/__generated__/accordion.props.ts +675 -108
- package/src/__generated__/button.props.ts +177 -45
- package/src/__generated__/checkbox.props.ts +1217 -0
- package/src/__generated__/collapsible.props.ts +261 -42
- package/src/__generated__/dialog.props.ts +682 -115
- package/src/__generated__/input.props.ts +292 -44
- package/src/__generated__/label.props.ts +137 -22
- package/src/__generated__/navigation-menu.props.ts +2882 -0
- package/src/__generated__/popover.props.ts +142 -24
- package/src/__generated__/radio-group.props.ts +1828 -0
- package/src/__generated__/select.props.ts +4130 -0
- package/src/__generated__/sheet.props.ts +657 -110
- package/src/__generated__/switch.props.ts +1217 -0
- package/src/__generated__/tabs.props.ts +1019 -67
- package/src/__generated__/textarea.props.ts +195 -30
- package/src/__generated__/tooltip.props.ts +145 -25
- package/src/accordion.tsx +14 -7
- package/src/accordion.ws.ts +87 -70
- package/src/{textarea.stories.ts → checkbox.stories.ts} +6 -11
- package/src/checkbox.tsx +22 -0
- package/src/checkbox.ws.ts +154 -0
- package/src/collapsible.ws.ts +6 -1
- package/src/components.ts +25 -12
- package/src/dialog.ws.tsx +17 -16
- package/src/hooks.ts +4 -0
- package/src/label.ws.ts +3 -1
- package/src/metas.ts +36 -12
- package/src/navigation-menu.stories.tsx +21 -0
- package/src/navigation-menu.tsx +130 -0
- package/src/navigation-menu.ws.ts +524 -0
- package/src/popover.ws.tsx +13 -9
- package/src/props-descriptions.ts +43 -0
- package/src/props.ts +35 -12
- package/src/{input.stories.ts → radio-group.stories.ts} +6 -15
- package/src/radio-group.tsx +17 -0
- package/src/radio-group.ws.ts +178 -0
- package/src/select.stories.tsx +21 -0
- package/src/select.tsx +112 -0
- package/src/select.ws.ts +349 -0
- package/src/sheet.ws.tsx +91 -209
- package/src/{button.stories.ts → switch.stories.ts} +6 -19
- package/src/switch.tsx +10 -0
- package/src/switch.ws.ts +146 -0
- package/src/tabs.tsx +4 -17
- package/src/tabs.ws.ts +19 -19
- package/src/theme/radix-common-types.ts +3 -2
- package/src/theme/styles.ts +80 -0
- package/src/theme/tailwind-classes.ts +150 -14
- package/src/theme/tailwind-colors.ts +1 -0
- package/src/tooltip.ws.tsx +13 -8
- package/lib/button.js +0 -8
- package/lib/button.ws.js +0 -133
- package/lib/cjs/button.ws.js +0 -160
- package/lib/cjs/input.ws.js +0 -103
- package/lib/cjs/textarea.ws.js +0 -98
- package/lib/input.js +0 -8
- package/lib/input.ws.js +0 -75
- package/lib/textarea.js +0 -8
- package/lib/textarea.ws.js +0 -70
- package/lib/types/button.d.ts +0 -7
- package/lib/types/button.stories.d.ts +0 -20
- package/lib/types/button.ws.d.ts +0 -7
- package/lib/types/input.d.ts +0 -2
- package/lib/types/input.stories.d.ts +0 -20
- package/lib/types/input.ws.d.ts +0 -3
- package/lib/types/textarea.d.ts +0 -2
- package/lib/types/textarea.stories.d.ts +0 -14
- package/lib/types/textarea.ws.d.ts +0 -3
- package/src/button.tsx +0 -25
- package/src/button.ws.ts +0 -155
- package/src/input.tsx +0 -12
- package/src/input.ws.ts +0 -78
- package/src/textarea.tsx +0 -12
- package/src/textarea.ws.ts +0 -74
|
@@ -28,13 +28,22 @@ __export(sheet_props_exports, {
|
|
|
28
28
|
});
|
|
29
29
|
module.exports = __toCommonJS(sheet_props_exports);
|
|
30
30
|
const propsSheet = {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
open: {
|
|
32
|
+
required: false,
|
|
33
|
+
control: "boolean",
|
|
34
|
+
type: "boolean",
|
|
35
|
+
description: "Show or hide the content of this component on the canvas. This will not affect the initial state of the component."
|
|
36
|
+
}
|
|
33
37
|
};
|
|
34
38
|
const propsSheetTrigger = {};
|
|
35
39
|
const propsSheetOverlay = {
|
|
36
40
|
about: { required: false, control: "text", type: "string" },
|
|
37
|
-
accessKey: {
|
|
41
|
+
accessKey: {
|
|
42
|
+
required: false,
|
|
43
|
+
control: "text",
|
|
44
|
+
type: "string",
|
|
45
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
46
|
+
},
|
|
38
47
|
"aria-activedescendant": {
|
|
39
48
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
40
49
|
required: false,
|
|
@@ -190,7 +199,7 @@ const propsSheetOverlay = {
|
|
|
190
199
|
type: "string"
|
|
191
200
|
},
|
|
192
201
|
"aria-label": {
|
|
193
|
-
description: "
|
|
202
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
194
203
|
required: false,
|
|
195
204
|
control: "text",
|
|
196
205
|
type: "string"
|
|
@@ -366,21 +375,64 @@ const propsSheetOverlay = {
|
|
|
366
375
|
control: "text",
|
|
367
376
|
type: "string"
|
|
368
377
|
},
|
|
369
|
-
|
|
370
|
-
|
|
378
|
+
autoCapitalize: {
|
|
379
|
+
required: false,
|
|
380
|
+
control: "text",
|
|
381
|
+
type: "string",
|
|
382
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
383
|
+
},
|
|
371
384
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
372
|
-
autoFocus: {
|
|
385
|
+
autoFocus: {
|
|
386
|
+
required: false,
|
|
387
|
+
control: "boolean",
|
|
388
|
+
type: "boolean",
|
|
389
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
390
|
+
},
|
|
373
391
|
autoSave: { required: false, control: "text", type: "string" },
|
|
374
392
|
className: { required: false, control: "text", type: "string" },
|
|
375
|
-
color: {
|
|
376
|
-
|
|
377
|
-
|
|
393
|
+
color: {
|
|
394
|
+
required: false,
|
|
395
|
+
control: "color",
|
|
396
|
+
type: "string",
|
|
397
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
398
|
+
},
|
|
399
|
+
content: {
|
|
400
|
+
required: false,
|
|
401
|
+
control: "text",
|
|
402
|
+
type: "string",
|
|
403
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
404
|
+
},
|
|
405
|
+
contextMenu: {
|
|
406
|
+
required: false,
|
|
407
|
+
control: "text",
|
|
408
|
+
type: "string",
|
|
409
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
410
|
+
},
|
|
378
411
|
datatype: { required: false, control: "text", type: "string" },
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
412
|
+
dir: {
|
|
413
|
+
required: false,
|
|
414
|
+
control: "text",
|
|
415
|
+
type: "string",
|
|
416
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
417
|
+
},
|
|
418
|
+
draggable: {
|
|
419
|
+
required: false,
|
|
420
|
+
control: "boolean",
|
|
421
|
+
type: "boolean",
|
|
422
|
+
description: "Defines whether the element can be dragged."
|
|
423
|
+
},
|
|
424
|
+
hidden: {
|
|
425
|
+
required: false,
|
|
426
|
+
control: "boolean",
|
|
427
|
+
type: "boolean",
|
|
428
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
429
|
+
},
|
|
430
|
+
id: {
|
|
431
|
+
required: false,
|
|
432
|
+
control: "text",
|
|
433
|
+
type: "string",
|
|
434
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
435
|
+
},
|
|
384
436
|
inputMode: {
|
|
385
437
|
description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
386
438
|
required: false,
|
|
@@ -408,13 +460,28 @@ const propsSheetOverlay = {
|
|
|
408
460
|
itemRef: { required: false, control: "text", type: "string" },
|
|
409
461
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
410
462
|
itemType: { required: false, control: "text", type: "string" },
|
|
411
|
-
lang: {
|
|
463
|
+
lang: {
|
|
464
|
+
required: false,
|
|
465
|
+
control: "text",
|
|
466
|
+
type: "string",
|
|
467
|
+
description: "Defines the language used in the element."
|
|
468
|
+
},
|
|
412
469
|
nonce: { required: false, control: "text", type: "string" },
|
|
413
|
-
placeholder: {
|
|
470
|
+
placeholder: {
|
|
471
|
+
required: false,
|
|
472
|
+
control: "text",
|
|
473
|
+
type: "string",
|
|
474
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
475
|
+
},
|
|
414
476
|
prefix: { required: false, control: "text", type: "string" },
|
|
415
477
|
property: { required: false, control: "text", type: "string" },
|
|
416
478
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
417
|
-
rel: {
|
|
479
|
+
rel: {
|
|
480
|
+
required: false,
|
|
481
|
+
control: "text",
|
|
482
|
+
type: "string",
|
|
483
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
484
|
+
},
|
|
418
485
|
resource: { required: false, control: "text", type: "string" },
|
|
419
486
|
results: { required: false, control: "number", type: "number" },
|
|
420
487
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -422,11 +489,22 @@ const propsSheetOverlay = {
|
|
|
422
489
|
required: false,
|
|
423
490
|
control: "text",
|
|
424
491
|
type: "string",
|
|
425
|
-
defaultValue: "navigation"
|
|
492
|
+
defaultValue: "navigation",
|
|
493
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
426
494
|
},
|
|
427
495
|
security: { required: false, control: "text", type: "string" },
|
|
428
|
-
slot: {
|
|
429
|
-
|
|
496
|
+
slot: {
|
|
497
|
+
required: false,
|
|
498
|
+
control: "text",
|
|
499
|
+
type: "string",
|
|
500
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
501
|
+
},
|
|
502
|
+
spellCheck: {
|
|
503
|
+
required: false,
|
|
504
|
+
control: "boolean",
|
|
505
|
+
type: "boolean",
|
|
506
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
507
|
+
},
|
|
430
508
|
suppressContentEditableWarning: {
|
|
431
509
|
required: false,
|
|
432
510
|
control: "boolean",
|
|
@@ -437,13 +515,24 @@ const propsSheetOverlay = {
|
|
|
437
515
|
control: "boolean",
|
|
438
516
|
type: "boolean"
|
|
439
517
|
},
|
|
440
|
-
tabIndex: {
|
|
441
|
-
|
|
518
|
+
tabIndex: {
|
|
519
|
+
required: false,
|
|
520
|
+
control: "number",
|
|
521
|
+
type: "number",
|
|
522
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
523
|
+
},
|
|
524
|
+
title: {
|
|
525
|
+
required: false,
|
|
526
|
+
control: "text",
|
|
527
|
+
type: "string",
|
|
528
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
529
|
+
},
|
|
442
530
|
translate: {
|
|
443
531
|
required: false,
|
|
444
532
|
control: "radio",
|
|
445
533
|
type: "string",
|
|
446
|
-
options: ["yes", "no"]
|
|
534
|
+
options: ["yes", "no"],
|
|
535
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
447
536
|
},
|
|
448
537
|
typeof: { required: false, control: "text", type: "string" },
|
|
449
538
|
unselectable: {
|
|
@@ -456,7 +545,12 @@ const propsSheetOverlay = {
|
|
|
456
545
|
};
|
|
457
546
|
const propsSheetClose = {
|
|
458
547
|
about: { required: false, control: "text", type: "string" },
|
|
459
|
-
accessKey: {
|
|
548
|
+
accessKey: {
|
|
549
|
+
required: false,
|
|
550
|
+
control: "text",
|
|
551
|
+
type: "string",
|
|
552
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
553
|
+
},
|
|
460
554
|
"aria-activedescendant": {
|
|
461
555
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
462
556
|
required: false,
|
|
@@ -612,7 +706,7 @@ const propsSheetClose = {
|
|
|
612
706
|
type: "string"
|
|
613
707
|
},
|
|
614
708
|
"aria-label": {
|
|
615
|
-
description: "
|
|
709
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
616
710
|
required: false,
|
|
617
711
|
control: "text",
|
|
618
712
|
type: "string"
|
|
@@ -788,28 +882,106 @@ const propsSheetClose = {
|
|
|
788
882
|
control: "text",
|
|
789
883
|
type: "string"
|
|
790
884
|
},
|
|
791
|
-
|
|
792
|
-
|
|
885
|
+
autoCapitalize: {
|
|
886
|
+
required: false,
|
|
887
|
+
control: "text",
|
|
888
|
+
type: "string",
|
|
889
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
890
|
+
},
|
|
793
891
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
794
|
-
autoFocus: {
|
|
892
|
+
autoFocus: {
|
|
893
|
+
required: false,
|
|
894
|
+
control: "boolean",
|
|
895
|
+
type: "boolean",
|
|
896
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
897
|
+
},
|
|
795
898
|
autoSave: { required: false, control: "text", type: "string" },
|
|
796
899
|
className: { required: false, control: "text", type: "string" },
|
|
797
|
-
color: {
|
|
798
|
-
|
|
799
|
-
|
|
900
|
+
color: {
|
|
901
|
+
required: false,
|
|
902
|
+
control: "color",
|
|
903
|
+
type: "string",
|
|
904
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
905
|
+
},
|
|
906
|
+
content: {
|
|
907
|
+
required: false,
|
|
908
|
+
control: "text",
|
|
909
|
+
type: "string",
|
|
910
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
911
|
+
},
|
|
912
|
+
contextMenu: {
|
|
913
|
+
required: false,
|
|
914
|
+
control: "text",
|
|
915
|
+
type: "string",
|
|
916
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
917
|
+
},
|
|
800
918
|
datatype: { required: false, control: "text", type: "string" },
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
919
|
+
dir: {
|
|
920
|
+
required: false,
|
|
921
|
+
control: "text",
|
|
922
|
+
type: "string",
|
|
923
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
924
|
+
},
|
|
925
|
+
disabled: {
|
|
926
|
+
required: false,
|
|
927
|
+
control: "boolean",
|
|
928
|
+
type: "boolean",
|
|
929
|
+
description: "Indicates whether the user can interact with the element."
|
|
930
|
+
},
|
|
931
|
+
draggable: {
|
|
932
|
+
required: false,
|
|
933
|
+
control: "boolean",
|
|
934
|
+
type: "boolean",
|
|
935
|
+
description: "Defines whether the element can be dragged."
|
|
936
|
+
},
|
|
937
|
+
form: {
|
|
938
|
+
required: false,
|
|
939
|
+
control: "text",
|
|
940
|
+
type: "string",
|
|
941
|
+
description: "Indicates the form that is the owner of the element."
|
|
942
|
+
},
|
|
943
|
+
formAction: {
|
|
944
|
+
required: false,
|
|
945
|
+
control: "text",
|
|
946
|
+
type: "string",
|
|
947
|
+
description: "Indicates the action of the element, overriding the action defined inthe form."
|
|
948
|
+
},
|
|
949
|
+
formEncType: {
|
|
950
|
+
required: false,
|
|
951
|
+
control: "text",
|
|
952
|
+
type: "string",
|
|
953
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the encoding type to use during form submission. If this attribute is specified, it overrides theenctype attribute of the button's form owner.`
|
|
954
|
+
},
|
|
955
|
+
formMethod: {
|
|
956
|
+
required: false,
|
|
957
|
+
control: "text",
|
|
958
|
+
type: "string",
|
|
959
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the submission method to use during form submission (GET, POST, etc.). If this attribute is specified, it overrides the method attribute of the button's form owner.`
|
|
960
|
+
},
|
|
961
|
+
formNoValidate: {
|
|
962
|
+
required: false,
|
|
963
|
+
control: "boolean",
|
|
964
|
+
type: "boolean",
|
|
965
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this boolean attribute specifies that the form is not to be validatedwhen it is submitted. If this attribute is specified, it overrides thenovalidate attribute of the button's form owner.`
|
|
966
|
+
},
|
|
967
|
+
formTarget: {
|
|
968
|
+
required: false,
|
|
969
|
+
control: "text",
|
|
970
|
+
type: "string",
|
|
971
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this attribute specifies the browsing context (for example, tab, window, or inline frame) in which to display the response that is received aftersubmitting the form. If this attribute is specified, it overrides thetarget attribute of the button's form owner.`
|
|
972
|
+
},
|
|
973
|
+
hidden: {
|
|
974
|
+
required: false,
|
|
975
|
+
control: "boolean",
|
|
976
|
+
type: "boolean",
|
|
977
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
978
|
+
},
|
|
979
|
+
id: {
|
|
980
|
+
required: false,
|
|
981
|
+
control: "text",
|
|
982
|
+
type: "string",
|
|
983
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
984
|
+
},
|
|
813
985
|
inputMode: {
|
|
814
986
|
description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
815
987
|
required: false,
|
|
@@ -837,14 +1009,34 @@ const propsSheetClose = {
|
|
|
837
1009
|
itemRef: { required: false, control: "text", type: "string" },
|
|
838
1010
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
839
1011
|
itemType: { required: false, control: "text", type: "string" },
|
|
840
|
-
lang: {
|
|
841
|
-
|
|
1012
|
+
lang: {
|
|
1013
|
+
required: false,
|
|
1014
|
+
control: "text",
|
|
1015
|
+
type: "string",
|
|
1016
|
+
description: "Defines the language used in the element."
|
|
1017
|
+
},
|
|
1018
|
+
name: {
|
|
1019
|
+
required: false,
|
|
1020
|
+
control: "text",
|
|
1021
|
+
type: "string",
|
|
1022
|
+
description: "This name is important when submitting form data to the server, as it identifies the data associated with the input. When multiple inputs share the same name attribute, they are treated as part of the same group (e.g., radio buttons or checkboxes)."
|
|
1023
|
+
},
|
|
842
1024
|
nonce: { required: false, control: "text", type: "string" },
|
|
843
|
-
placeholder: {
|
|
1025
|
+
placeholder: {
|
|
1026
|
+
required: false,
|
|
1027
|
+
control: "text",
|
|
1028
|
+
type: "string",
|
|
1029
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
1030
|
+
},
|
|
844
1031
|
prefix: { required: false, control: "text", type: "string" },
|
|
845
1032
|
property: { required: false, control: "text", type: "string" },
|
|
846
1033
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
847
|
-
rel: {
|
|
1034
|
+
rel: {
|
|
1035
|
+
required: false,
|
|
1036
|
+
control: "text",
|
|
1037
|
+
type: "string",
|
|
1038
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1039
|
+
},
|
|
848
1040
|
resource: { required: false, control: "text", type: "string" },
|
|
849
1041
|
results: { required: false, control: "number", type: "number" },
|
|
850
1042
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -852,11 +1044,22 @@ const propsSheetClose = {
|
|
|
852
1044
|
required: false,
|
|
853
1045
|
control: "text",
|
|
854
1046
|
type: "string",
|
|
855
|
-
defaultValue: "navigation"
|
|
1047
|
+
defaultValue: "navigation",
|
|
1048
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
856
1049
|
},
|
|
857
1050
|
security: { required: false, control: "text", type: "string" },
|
|
858
|
-
slot: {
|
|
859
|
-
|
|
1051
|
+
slot: {
|
|
1052
|
+
required: false,
|
|
1053
|
+
control: "text",
|
|
1054
|
+
type: "string",
|
|
1055
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1056
|
+
},
|
|
1057
|
+
spellCheck: {
|
|
1058
|
+
required: false,
|
|
1059
|
+
control: "boolean",
|
|
1060
|
+
type: "boolean",
|
|
1061
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1062
|
+
},
|
|
860
1063
|
suppressContentEditableWarning: {
|
|
861
1064
|
required: false,
|
|
862
1065
|
control: "boolean",
|
|
@@ -867,19 +1070,31 @@ const propsSheetClose = {
|
|
|
867
1070
|
control: "boolean",
|
|
868
1071
|
type: "boolean"
|
|
869
1072
|
},
|
|
870
|
-
tabIndex: {
|
|
871
|
-
|
|
1073
|
+
tabIndex: {
|
|
1074
|
+
required: false,
|
|
1075
|
+
control: "number",
|
|
1076
|
+
type: "number",
|
|
1077
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1078
|
+
},
|
|
1079
|
+
title: {
|
|
1080
|
+
required: false,
|
|
1081
|
+
control: "text",
|
|
1082
|
+
type: "string",
|
|
1083
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1084
|
+
},
|
|
872
1085
|
translate: {
|
|
873
1086
|
required: false,
|
|
874
1087
|
control: "radio",
|
|
875
1088
|
type: "string",
|
|
876
|
-
options: ["yes", "no"]
|
|
1089
|
+
options: ["yes", "no"],
|
|
1090
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
877
1091
|
},
|
|
878
1092
|
type: {
|
|
879
1093
|
required: false,
|
|
880
1094
|
control: "radio",
|
|
881
1095
|
type: "string",
|
|
882
|
-
options: ["button", "submit", "reset"]
|
|
1096
|
+
options: ["button", "submit", "reset"],
|
|
1097
|
+
description: "Defines the type of the element."
|
|
883
1098
|
},
|
|
884
1099
|
typeof: { required: false, control: "text", type: "string" },
|
|
885
1100
|
unselectable: {
|
|
@@ -892,7 +1107,12 @@ const propsSheetClose = {
|
|
|
892
1107
|
};
|
|
893
1108
|
const propsSheetTitle = {
|
|
894
1109
|
about: { required: false, control: "text", type: "string" },
|
|
895
|
-
accessKey: {
|
|
1110
|
+
accessKey: {
|
|
1111
|
+
required: false,
|
|
1112
|
+
control: "text",
|
|
1113
|
+
type: "string",
|
|
1114
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1115
|
+
},
|
|
896
1116
|
"aria-activedescendant": {
|
|
897
1117
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
898
1118
|
required: false,
|
|
@@ -1048,7 +1268,7 @@ const propsSheetTitle = {
|
|
|
1048
1268
|
type: "string"
|
|
1049
1269
|
},
|
|
1050
1270
|
"aria-label": {
|
|
1051
|
-
description: "
|
|
1271
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
1052
1272
|
required: false,
|
|
1053
1273
|
control: "text",
|
|
1054
1274
|
type: "string"
|
|
@@ -1224,21 +1444,64 @@ const propsSheetTitle = {
|
|
|
1224
1444
|
control: "text",
|
|
1225
1445
|
type: "string"
|
|
1226
1446
|
},
|
|
1227
|
-
|
|
1228
|
-
|
|
1447
|
+
autoCapitalize: {
|
|
1448
|
+
required: false,
|
|
1449
|
+
control: "text",
|
|
1450
|
+
type: "string",
|
|
1451
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1452
|
+
},
|
|
1229
1453
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1230
|
-
autoFocus: {
|
|
1454
|
+
autoFocus: {
|
|
1455
|
+
required: false,
|
|
1456
|
+
control: "boolean",
|
|
1457
|
+
type: "boolean",
|
|
1458
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1459
|
+
},
|
|
1231
1460
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1232
1461
|
className: { required: false, control: "text", type: "string" },
|
|
1233
|
-
color: {
|
|
1234
|
-
|
|
1235
|
-
|
|
1462
|
+
color: {
|
|
1463
|
+
required: false,
|
|
1464
|
+
control: "color",
|
|
1465
|
+
type: "string",
|
|
1466
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
1467
|
+
},
|
|
1468
|
+
content: {
|
|
1469
|
+
required: false,
|
|
1470
|
+
control: "text",
|
|
1471
|
+
type: "string",
|
|
1472
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1473
|
+
},
|
|
1474
|
+
contextMenu: {
|
|
1475
|
+
required: false,
|
|
1476
|
+
control: "text",
|
|
1477
|
+
type: "string",
|
|
1478
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1479
|
+
},
|
|
1236
1480
|
datatype: { required: false, control: "text", type: "string" },
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1481
|
+
dir: {
|
|
1482
|
+
required: false,
|
|
1483
|
+
control: "text",
|
|
1484
|
+
type: "string",
|
|
1485
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1486
|
+
},
|
|
1487
|
+
draggable: {
|
|
1488
|
+
required: false,
|
|
1489
|
+
control: "boolean",
|
|
1490
|
+
type: "boolean",
|
|
1491
|
+
description: "Defines whether the element can be dragged."
|
|
1492
|
+
},
|
|
1493
|
+
hidden: {
|
|
1494
|
+
required: false,
|
|
1495
|
+
control: "boolean",
|
|
1496
|
+
type: "boolean",
|
|
1497
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
1498
|
+
},
|
|
1499
|
+
id: {
|
|
1500
|
+
required: false,
|
|
1501
|
+
control: "text",
|
|
1502
|
+
type: "string",
|
|
1503
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
1504
|
+
},
|
|
1242
1505
|
inputMode: {
|
|
1243
1506
|
description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
1244
1507
|
required: false,
|
|
@@ -1266,13 +1529,28 @@ const propsSheetTitle = {
|
|
|
1266
1529
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1267
1530
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1268
1531
|
itemType: { required: false, control: "text", type: "string" },
|
|
1269
|
-
lang: {
|
|
1532
|
+
lang: {
|
|
1533
|
+
required: false,
|
|
1534
|
+
control: "text",
|
|
1535
|
+
type: "string",
|
|
1536
|
+
description: "Defines the language used in the element."
|
|
1537
|
+
},
|
|
1270
1538
|
nonce: { required: false, control: "text", type: "string" },
|
|
1271
|
-
placeholder: {
|
|
1539
|
+
placeholder: {
|
|
1540
|
+
required: false,
|
|
1541
|
+
control: "text",
|
|
1542
|
+
type: "string",
|
|
1543
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
1544
|
+
},
|
|
1272
1545
|
prefix: { required: false, control: "text", type: "string" },
|
|
1273
1546
|
property: { required: false, control: "text", type: "string" },
|
|
1274
1547
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1275
|
-
rel: {
|
|
1548
|
+
rel: {
|
|
1549
|
+
required: false,
|
|
1550
|
+
control: "text",
|
|
1551
|
+
type: "string",
|
|
1552
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1553
|
+
},
|
|
1276
1554
|
resource: { required: false, control: "text", type: "string" },
|
|
1277
1555
|
results: { required: false, control: "number", type: "number" },
|
|
1278
1556
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -1280,11 +1558,22 @@ const propsSheetTitle = {
|
|
|
1280
1558
|
required: false,
|
|
1281
1559
|
control: "text",
|
|
1282
1560
|
type: "string",
|
|
1283
|
-
defaultValue: "navigation"
|
|
1561
|
+
defaultValue: "navigation",
|
|
1562
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1284
1563
|
},
|
|
1285
1564
|
security: { required: false, control: "text", type: "string" },
|
|
1286
|
-
slot: {
|
|
1287
|
-
|
|
1565
|
+
slot: {
|
|
1566
|
+
required: false,
|
|
1567
|
+
control: "text",
|
|
1568
|
+
type: "string",
|
|
1569
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1570
|
+
},
|
|
1571
|
+
spellCheck: {
|
|
1572
|
+
required: false,
|
|
1573
|
+
control: "boolean",
|
|
1574
|
+
type: "boolean",
|
|
1575
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1576
|
+
},
|
|
1288
1577
|
suppressContentEditableWarning: {
|
|
1289
1578
|
required: false,
|
|
1290
1579
|
control: "boolean",
|
|
@@ -1295,13 +1584,24 @@ const propsSheetTitle = {
|
|
|
1295
1584
|
control: "boolean",
|
|
1296
1585
|
type: "boolean"
|
|
1297
1586
|
},
|
|
1298
|
-
tabIndex: {
|
|
1299
|
-
|
|
1587
|
+
tabIndex: {
|
|
1588
|
+
required: false,
|
|
1589
|
+
control: "number",
|
|
1590
|
+
type: "number",
|
|
1591
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1592
|
+
},
|
|
1593
|
+
title: {
|
|
1594
|
+
required: false,
|
|
1595
|
+
control: "text",
|
|
1596
|
+
type: "string",
|
|
1597
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1598
|
+
},
|
|
1300
1599
|
translate: {
|
|
1301
1600
|
required: false,
|
|
1302
1601
|
control: "radio",
|
|
1303
1602
|
type: "string",
|
|
1304
|
-
options: ["yes", "no"]
|
|
1603
|
+
options: ["yes", "no"],
|
|
1604
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
1305
1605
|
},
|
|
1306
1606
|
typeof: { required: false, control: "text", type: "string" },
|
|
1307
1607
|
unselectable: {
|
|
@@ -1314,7 +1614,12 @@ const propsSheetTitle = {
|
|
|
1314
1614
|
};
|
|
1315
1615
|
const propsSheetDescription = {
|
|
1316
1616
|
about: { required: false, control: "text", type: "string" },
|
|
1317
|
-
accessKey: {
|
|
1617
|
+
accessKey: {
|
|
1618
|
+
required: false,
|
|
1619
|
+
control: "text",
|
|
1620
|
+
type: "string",
|
|
1621
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1622
|
+
},
|
|
1318
1623
|
"aria-activedescendant": {
|
|
1319
1624
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
1320
1625
|
required: false,
|
|
@@ -1470,7 +1775,7 @@ const propsSheetDescription = {
|
|
|
1470
1775
|
type: "string"
|
|
1471
1776
|
},
|
|
1472
1777
|
"aria-label": {
|
|
1473
|
-
description: "
|
|
1778
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
1474
1779
|
required: false,
|
|
1475
1780
|
control: "text",
|
|
1476
1781
|
type: "string"
|
|
@@ -1646,21 +1951,64 @@ const propsSheetDescription = {
|
|
|
1646
1951
|
control: "text",
|
|
1647
1952
|
type: "string"
|
|
1648
1953
|
},
|
|
1649
|
-
|
|
1650
|
-
|
|
1954
|
+
autoCapitalize: {
|
|
1955
|
+
required: false,
|
|
1956
|
+
control: "text",
|
|
1957
|
+
type: "string",
|
|
1958
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1959
|
+
},
|
|
1651
1960
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1652
|
-
autoFocus: {
|
|
1961
|
+
autoFocus: {
|
|
1962
|
+
required: false,
|
|
1963
|
+
control: "boolean",
|
|
1964
|
+
type: "boolean",
|
|
1965
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1966
|
+
},
|
|
1653
1967
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1654
1968
|
className: { required: false, control: "text", type: "string" },
|
|
1655
|
-
color: {
|
|
1656
|
-
|
|
1657
|
-
|
|
1969
|
+
color: {
|
|
1970
|
+
required: false,
|
|
1971
|
+
control: "color",
|
|
1972
|
+
type: "string",
|
|
1973
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
1974
|
+
},
|
|
1975
|
+
content: {
|
|
1976
|
+
required: false,
|
|
1977
|
+
control: "text",
|
|
1978
|
+
type: "string",
|
|
1979
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1980
|
+
},
|
|
1981
|
+
contextMenu: {
|
|
1982
|
+
required: false,
|
|
1983
|
+
control: "text",
|
|
1984
|
+
type: "string",
|
|
1985
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1986
|
+
},
|
|
1658
1987
|
datatype: { required: false, control: "text", type: "string" },
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1988
|
+
dir: {
|
|
1989
|
+
required: false,
|
|
1990
|
+
control: "text",
|
|
1991
|
+
type: "string",
|
|
1992
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1993
|
+
},
|
|
1994
|
+
draggable: {
|
|
1995
|
+
required: false,
|
|
1996
|
+
control: "boolean",
|
|
1997
|
+
type: "boolean",
|
|
1998
|
+
description: "Defines whether the element can be dragged."
|
|
1999
|
+
},
|
|
2000
|
+
hidden: {
|
|
2001
|
+
required: false,
|
|
2002
|
+
control: "boolean",
|
|
2003
|
+
type: "boolean",
|
|
2004
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
2005
|
+
},
|
|
2006
|
+
id: {
|
|
2007
|
+
required: false,
|
|
2008
|
+
control: "text",
|
|
2009
|
+
type: "string",
|
|
2010
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
2011
|
+
},
|
|
1664
2012
|
inputMode: {
|
|
1665
2013
|
description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
1666
2014
|
required: false,
|
|
@@ -1688,13 +2036,28 @@ const propsSheetDescription = {
|
|
|
1688
2036
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1689
2037
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1690
2038
|
itemType: { required: false, control: "text", type: "string" },
|
|
1691
|
-
lang: {
|
|
2039
|
+
lang: {
|
|
2040
|
+
required: false,
|
|
2041
|
+
control: "text",
|
|
2042
|
+
type: "string",
|
|
2043
|
+
description: "Defines the language used in the element."
|
|
2044
|
+
},
|
|
1692
2045
|
nonce: { required: false, control: "text", type: "string" },
|
|
1693
|
-
placeholder: {
|
|
2046
|
+
placeholder: {
|
|
2047
|
+
required: false,
|
|
2048
|
+
control: "text",
|
|
2049
|
+
type: "string",
|
|
2050
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
2051
|
+
},
|
|
1694
2052
|
prefix: { required: false, control: "text", type: "string" },
|
|
1695
2053
|
property: { required: false, control: "text", type: "string" },
|
|
1696
2054
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1697
|
-
rel: {
|
|
2055
|
+
rel: {
|
|
2056
|
+
required: false,
|
|
2057
|
+
control: "text",
|
|
2058
|
+
type: "string",
|
|
2059
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
2060
|
+
},
|
|
1698
2061
|
resource: { required: false, control: "text", type: "string" },
|
|
1699
2062
|
results: { required: false, control: "number", type: "number" },
|
|
1700
2063
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -1702,11 +2065,22 @@ const propsSheetDescription = {
|
|
|
1702
2065
|
required: false,
|
|
1703
2066
|
control: "text",
|
|
1704
2067
|
type: "string",
|
|
1705
|
-
defaultValue: "navigation"
|
|
2068
|
+
defaultValue: "navigation",
|
|
2069
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1706
2070
|
},
|
|
1707
2071
|
security: { required: false, control: "text", type: "string" },
|
|
1708
|
-
slot: {
|
|
1709
|
-
|
|
2072
|
+
slot: {
|
|
2073
|
+
required: false,
|
|
2074
|
+
control: "text",
|
|
2075
|
+
type: "string",
|
|
2076
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
2077
|
+
},
|
|
2078
|
+
spellCheck: {
|
|
2079
|
+
required: false,
|
|
2080
|
+
control: "boolean",
|
|
2081
|
+
type: "boolean",
|
|
2082
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
2083
|
+
},
|
|
1710
2084
|
suppressContentEditableWarning: {
|
|
1711
2085
|
required: false,
|
|
1712
2086
|
control: "boolean",
|
|
@@ -1717,13 +2091,24 @@ const propsSheetDescription = {
|
|
|
1717
2091
|
control: "boolean",
|
|
1718
2092
|
type: "boolean"
|
|
1719
2093
|
},
|
|
1720
|
-
tabIndex: {
|
|
1721
|
-
|
|
2094
|
+
tabIndex: {
|
|
2095
|
+
required: false,
|
|
2096
|
+
control: "number",
|
|
2097
|
+
type: "number",
|
|
2098
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
2099
|
+
},
|
|
2100
|
+
title: {
|
|
2101
|
+
required: false,
|
|
2102
|
+
control: "text",
|
|
2103
|
+
type: "string",
|
|
2104
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
2105
|
+
},
|
|
1722
2106
|
translate: {
|
|
1723
2107
|
required: false,
|
|
1724
2108
|
control: "radio",
|
|
1725
2109
|
type: "string",
|
|
1726
|
-
options: ["yes", "no"]
|
|
2110
|
+
options: ["yes", "no"],
|
|
2111
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
1727
2112
|
},
|
|
1728
2113
|
typeof: { required: false, control: "text", type: "string" },
|
|
1729
2114
|
unselectable: {
|
|
@@ -1736,7 +2121,12 @@ const propsSheetDescription = {
|
|
|
1736
2121
|
};
|
|
1737
2122
|
const propsSheetContent = {
|
|
1738
2123
|
about: { required: false, control: "text", type: "string" },
|
|
1739
|
-
accessKey: {
|
|
2124
|
+
accessKey: {
|
|
2125
|
+
required: false,
|
|
2126
|
+
control: "text",
|
|
2127
|
+
type: "string",
|
|
2128
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
2129
|
+
},
|
|
1740
2130
|
"aria-activedescendant": {
|
|
1741
2131
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
1742
2132
|
required: false,
|
|
@@ -1892,7 +2282,7 @@ const propsSheetContent = {
|
|
|
1892
2282
|
type: "string"
|
|
1893
2283
|
},
|
|
1894
2284
|
"aria-label": {
|
|
1895
|
-
description: "
|
|
2285
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
1896
2286
|
required: false,
|
|
1897
2287
|
control: "text",
|
|
1898
2288
|
type: "string"
|
|
@@ -2068,21 +2458,64 @@ const propsSheetContent = {
|
|
|
2068
2458
|
control: "text",
|
|
2069
2459
|
type: "string"
|
|
2070
2460
|
},
|
|
2071
|
-
|
|
2072
|
-
|
|
2461
|
+
autoCapitalize: {
|
|
2462
|
+
required: false,
|
|
2463
|
+
control: "text",
|
|
2464
|
+
type: "string",
|
|
2465
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
2466
|
+
},
|
|
2073
2467
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
2074
|
-
autoFocus: {
|
|
2468
|
+
autoFocus: {
|
|
2469
|
+
required: false,
|
|
2470
|
+
control: "boolean",
|
|
2471
|
+
type: "boolean",
|
|
2472
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
2473
|
+
},
|
|
2075
2474
|
autoSave: { required: false, control: "text", type: "string" },
|
|
2076
2475
|
className: { required: false, control: "text", type: "string" },
|
|
2077
|
-
color: {
|
|
2078
|
-
|
|
2079
|
-
|
|
2476
|
+
color: {
|
|
2477
|
+
required: false,
|
|
2478
|
+
control: "color",
|
|
2479
|
+
type: "string",
|
|
2480
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
2481
|
+
},
|
|
2482
|
+
content: {
|
|
2483
|
+
required: false,
|
|
2484
|
+
control: "text",
|
|
2485
|
+
type: "string",
|
|
2486
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
2487
|
+
},
|
|
2488
|
+
contextMenu: {
|
|
2489
|
+
required: false,
|
|
2490
|
+
control: "text",
|
|
2491
|
+
type: "string",
|
|
2492
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
2493
|
+
},
|
|
2080
2494
|
datatype: { required: false, control: "text", type: "string" },
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2495
|
+
dir: {
|
|
2496
|
+
required: false,
|
|
2497
|
+
control: "text",
|
|
2498
|
+
type: "string",
|
|
2499
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
2500
|
+
},
|
|
2501
|
+
draggable: {
|
|
2502
|
+
required: false,
|
|
2503
|
+
control: "boolean",
|
|
2504
|
+
type: "boolean",
|
|
2505
|
+
description: "Defines whether the element can be dragged."
|
|
2506
|
+
},
|
|
2507
|
+
hidden: {
|
|
2508
|
+
required: false,
|
|
2509
|
+
control: "boolean",
|
|
2510
|
+
type: "boolean",
|
|
2511
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
2512
|
+
},
|
|
2513
|
+
id: {
|
|
2514
|
+
required: false,
|
|
2515
|
+
control: "text",
|
|
2516
|
+
type: "string",
|
|
2517
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
2518
|
+
},
|
|
2086
2519
|
inputMode: {
|
|
2087
2520
|
description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
2088
2521
|
required: false,
|
|
@@ -2110,13 +2543,28 @@ const propsSheetContent = {
|
|
|
2110
2543
|
itemRef: { required: false, control: "text", type: "string" },
|
|
2111
2544
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
2112
2545
|
itemType: { required: false, control: "text", type: "string" },
|
|
2113
|
-
lang: {
|
|
2546
|
+
lang: {
|
|
2547
|
+
required: false,
|
|
2548
|
+
control: "text",
|
|
2549
|
+
type: "string",
|
|
2550
|
+
description: "Defines the language used in the element."
|
|
2551
|
+
},
|
|
2114
2552
|
nonce: { required: false, control: "text", type: "string" },
|
|
2115
|
-
placeholder: {
|
|
2553
|
+
placeholder: {
|
|
2554
|
+
required: false,
|
|
2555
|
+
control: "text",
|
|
2556
|
+
type: "string",
|
|
2557
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
2558
|
+
},
|
|
2116
2559
|
prefix: { required: false, control: "text", type: "string" },
|
|
2117
2560
|
property: { required: false, control: "text", type: "string" },
|
|
2118
2561
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
2119
|
-
rel: {
|
|
2562
|
+
rel: {
|
|
2563
|
+
required: false,
|
|
2564
|
+
control: "text",
|
|
2565
|
+
type: "string",
|
|
2566
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
2567
|
+
},
|
|
2120
2568
|
resource: { required: false, control: "text", type: "string" },
|
|
2121
2569
|
results: { required: false, control: "number", type: "number" },
|
|
2122
2570
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -2124,7 +2572,8 @@ const propsSheetContent = {
|
|
|
2124
2572
|
required: false,
|
|
2125
2573
|
control: "text",
|
|
2126
2574
|
type: "string",
|
|
2127
|
-
defaultValue: "navigation"
|
|
2575
|
+
defaultValue: "navigation",
|
|
2576
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
2128
2577
|
},
|
|
2129
2578
|
security: { required: false, control: "text", type: "string" },
|
|
2130
2579
|
side: {
|
|
@@ -2134,8 +2583,18 @@ const propsSheetContent = {
|
|
|
2134
2583
|
defaultValue: "left",
|
|
2135
2584
|
options: ["top", "right", "bottom", "left"]
|
|
2136
2585
|
},
|
|
2137
|
-
slot: {
|
|
2138
|
-
|
|
2586
|
+
slot: {
|
|
2587
|
+
required: false,
|
|
2588
|
+
control: "text",
|
|
2589
|
+
type: "string",
|
|
2590
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
2591
|
+
},
|
|
2592
|
+
spellCheck: {
|
|
2593
|
+
required: false,
|
|
2594
|
+
control: "boolean",
|
|
2595
|
+
type: "boolean",
|
|
2596
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
2597
|
+
},
|
|
2139
2598
|
suppressContentEditableWarning: {
|
|
2140
2599
|
required: false,
|
|
2141
2600
|
control: "boolean",
|
|
@@ -2146,7 +2605,12 @@ const propsSheetContent = {
|
|
|
2146
2605
|
control: "boolean",
|
|
2147
2606
|
type: "boolean"
|
|
2148
2607
|
},
|
|
2149
|
-
tabIndex: {
|
|
2608
|
+
tabIndex: {
|
|
2609
|
+
required: false,
|
|
2610
|
+
control: "number",
|
|
2611
|
+
type: "number",
|
|
2612
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
2613
|
+
},
|
|
2150
2614
|
tag: {
|
|
2151
2615
|
required: false,
|
|
2152
2616
|
control: "radio",
|
|
@@ -2154,12 +2618,18 @@ const propsSheetContent = {
|
|
|
2154
2618
|
defaultValue: "nav",
|
|
2155
2619
|
options: ["div", "nav"]
|
|
2156
2620
|
},
|
|
2157
|
-
title: {
|
|
2621
|
+
title: {
|
|
2622
|
+
required: false,
|
|
2623
|
+
control: "text",
|
|
2624
|
+
type: "string",
|
|
2625
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
2626
|
+
},
|
|
2158
2627
|
translate: {
|
|
2159
2628
|
required: false,
|
|
2160
2629
|
control: "radio",
|
|
2161
2630
|
type: "string",
|
|
2162
|
-
options: ["yes", "no"]
|
|
2631
|
+
options: ["yes", "no"],
|
|
2632
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
2163
2633
|
},
|
|
2164
2634
|
typeof: { required: false, control: "text", type: "string" },
|
|
2165
2635
|
unselectable: {
|