@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,11 +1,20 @@
|
|
|
1
1
|
const propsSheet = {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
open: {
|
|
3
|
+
required: false,
|
|
4
|
+
control: "boolean",
|
|
5
|
+
type: "boolean",
|
|
6
|
+
description: "Show or hide the content of this component on the canvas. This will not affect the initial state of the component."
|
|
7
|
+
}
|
|
4
8
|
};
|
|
5
9
|
const propsSheetTrigger = {};
|
|
6
10
|
const propsSheetOverlay = {
|
|
7
11
|
about: { required: false, control: "text", type: "string" },
|
|
8
|
-
accessKey: {
|
|
12
|
+
accessKey: {
|
|
13
|
+
required: false,
|
|
14
|
+
control: "text",
|
|
15
|
+
type: "string",
|
|
16
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
17
|
+
},
|
|
9
18
|
"aria-activedescendant": {
|
|
10
19
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
11
20
|
required: false,
|
|
@@ -161,7 +170,7 @@ const propsSheetOverlay = {
|
|
|
161
170
|
type: "string"
|
|
162
171
|
},
|
|
163
172
|
"aria-label": {
|
|
164
|
-
description: "
|
|
173
|
+
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.",
|
|
165
174
|
required: false,
|
|
166
175
|
control: "text",
|
|
167
176
|
type: "string"
|
|
@@ -337,21 +346,64 @@ const propsSheetOverlay = {
|
|
|
337
346
|
control: "text",
|
|
338
347
|
type: "string"
|
|
339
348
|
},
|
|
340
|
-
|
|
341
|
-
|
|
349
|
+
autoCapitalize: {
|
|
350
|
+
required: false,
|
|
351
|
+
control: "text",
|
|
352
|
+
type: "string",
|
|
353
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
354
|
+
},
|
|
342
355
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
343
|
-
autoFocus: {
|
|
356
|
+
autoFocus: {
|
|
357
|
+
required: false,
|
|
358
|
+
control: "boolean",
|
|
359
|
+
type: "boolean",
|
|
360
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
361
|
+
},
|
|
344
362
|
autoSave: { required: false, control: "text", type: "string" },
|
|
345
363
|
className: { required: false, control: "text", type: "string" },
|
|
346
|
-
color: {
|
|
347
|
-
|
|
348
|
-
|
|
364
|
+
color: {
|
|
365
|
+
required: false,
|
|
366
|
+
control: "color",
|
|
367
|
+
type: "string",
|
|
368
|
+
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."
|
|
369
|
+
},
|
|
370
|
+
content: {
|
|
371
|
+
required: false,
|
|
372
|
+
control: "text",
|
|
373
|
+
type: "string",
|
|
374
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
375
|
+
},
|
|
376
|
+
contextMenu: {
|
|
377
|
+
required: false,
|
|
378
|
+
control: "text",
|
|
379
|
+
type: "string",
|
|
380
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
381
|
+
},
|
|
349
382
|
datatype: { required: false, control: "text", type: "string" },
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
383
|
+
dir: {
|
|
384
|
+
required: false,
|
|
385
|
+
control: "text",
|
|
386
|
+
type: "string",
|
|
387
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
388
|
+
},
|
|
389
|
+
draggable: {
|
|
390
|
+
required: false,
|
|
391
|
+
control: "boolean",
|
|
392
|
+
type: "boolean",
|
|
393
|
+
description: "Defines whether the element can be dragged."
|
|
394
|
+
},
|
|
395
|
+
hidden: {
|
|
396
|
+
required: false,
|
|
397
|
+
control: "boolean",
|
|
398
|
+
type: "boolean",
|
|
399
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
400
|
+
},
|
|
401
|
+
id: {
|
|
402
|
+
required: false,
|
|
403
|
+
control: "text",
|
|
404
|
+
type: "string",
|
|
405
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
406
|
+
},
|
|
355
407
|
inputMode: {
|
|
356
408
|
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",
|
|
357
409
|
required: false,
|
|
@@ -379,13 +431,28 @@ const propsSheetOverlay = {
|
|
|
379
431
|
itemRef: { required: false, control: "text", type: "string" },
|
|
380
432
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
381
433
|
itemType: { required: false, control: "text", type: "string" },
|
|
382
|
-
lang: {
|
|
434
|
+
lang: {
|
|
435
|
+
required: false,
|
|
436
|
+
control: "text",
|
|
437
|
+
type: "string",
|
|
438
|
+
description: "Defines the language used in the element."
|
|
439
|
+
},
|
|
383
440
|
nonce: { required: false, control: "text", type: "string" },
|
|
384
|
-
placeholder: {
|
|
441
|
+
placeholder: {
|
|
442
|
+
required: false,
|
|
443
|
+
control: "text",
|
|
444
|
+
type: "string",
|
|
445
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
446
|
+
},
|
|
385
447
|
prefix: { required: false, control: "text", type: "string" },
|
|
386
448
|
property: { required: false, control: "text", type: "string" },
|
|
387
449
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
388
|
-
rel: {
|
|
450
|
+
rel: {
|
|
451
|
+
required: false,
|
|
452
|
+
control: "text",
|
|
453
|
+
type: "string",
|
|
454
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
455
|
+
},
|
|
389
456
|
resource: { required: false, control: "text", type: "string" },
|
|
390
457
|
results: { required: false, control: "number", type: "number" },
|
|
391
458
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -393,11 +460,22 @@ const propsSheetOverlay = {
|
|
|
393
460
|
required: false,
|
|
394
461
|
control: "text",
|
|
395
462
|
type: "string",
|
|
396
|
-
defaultValue: "navigation"
|
|
463
|
+
defaultValue: "navigation",
|
|
464
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
397
465
|
},
|
|
398
466
|
security: { required: false, control: "text", type: "string" },
|
|
399
|
-
slot: {
|
|
400
|
-
|
|
467
|
+
slot: {
|
|
468
|
+
required: false,
|
|
469
|
+
control: "text",
|
|
470
|
+
type: "string",
|
|
471
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
472
|
+
},
|
|
473
|
+
spellCheck: {
|
|
474
|
+
required: false,
|
|
475
|
+
control: "boolean",
|
|
476
|
+
type: "boolean",
|
|
477
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
478
|
+
},
|
|
401
479
|
suppressContentEditableWarning: {
|
|
402
480
|
required: false,
|
|
403
481
|
control: "boolean",
|
|
@@ -408,13 +486,24 @@ const propsSheetOverlay = {
|
|
|
408
486
|
control: "boolean",
|
|
409
487
|
type: "boolean"
|
|
410
488
|
},
|
|
411
|
-
tabIndex: {
|
|
412
|
-
|
|
489
|
+
tabIndex: {
|
|
490
|
+
required: false,
|
|
491
|
+
control: "number",
|
|
492
|
+
type: "number",
|
|
493
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
494
|
+
},
|
|
495
|
+
title: {
|
|
496
|
+
required: false,
|
|
497
|
+
control: "text",
|
|
498
|
+
type: "string",
|
|
499
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
500
|
+
},
|
|
413
501
|
translate: {
|
|
414
502
|
required: false,
|
|
415
503
|
control: "radio",
|
|
416
504
|
type: "string",
|
|
417
|
-
options: ["yes", "no"]
|
|
505
|
+
options: ["yes", "no"],
|
|
506
|
+
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."
|
|
418
507
|
},
|
|
419
508
|
typeof: { required: false, control: "text", type: "string" },
|
|
420
509
|
unselectable: {
|
|
@@ -427,7 +516,12 @@ const propsSheetOverlay = {
|
|
|
427
516
|
};
|
|
428
517
|
const propsSheetClose = {
|
|
429
518
|
about: { required: false, control: "text", type: "string" },
|
|
430
|
-
accessKey: {
|
|
519
|
+
accessKey: {
|
|
520
|
+
required: false,
|
|
521
|
+
control: "text",
|
|
522
|
+
type: "string",
|
|
523
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
524
|
+
},
|
|
431
525
|
"aria-activedescendant": {
|
|
432
526
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
433
527
|
required: false,
|
|
@@ -583,7 +677,7 @@ const propsSheetClose = {
|
|
|
583
677
|
type: "string"
|
|
584
678
|
},
|
|
585
679
|
"aria-label": {
|
|
586
|
-
description: "
|
|
680
|
+
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.",
|
|
587
681
|
required: false,
|
|
588
682
|
control: "text",
|
|
589
683
|
type: "string"
|
|
@@ -759,28 +853,106 @@ const propsSheetClose = {
|
|
|
759
853
|
control: "text",
|
|
760
854
|
type: "string"
|
|
761
855
|
},
|
|
762
|
-
|
|
763
|
-
|
|
856
|
+
autoCapitalize: {
|
|
857
|
+
required: false,
|
|
858
|
+
control: "text",
|
|
859
|
+
type: "string",
|
|
860
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
861
|
+
},
|
|
764
862
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
765
|
-
autoFocus: {
|
|
863
|
+
autoFocus: {
|
|
864
|
+
required: false,
|
|
865
|
+
control: "boolean",
|
|
866
|
+
type: "boolean",
|
|
867
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
868
|
+
},
|
|
766
869
|
autoSave: { required: false, control: "text", type: "string" },
|
|
767
870
|
className: { required: false, control: "text", type: "string" },
|
|
768
|
-
color: {
|
|
769
|
-
|
|
770
|
-
|
|
871
|
+
color: {
|
|
872
|
+
required: false,
|
|
873
|
+
control: "color",
|
|
874
|
+
type: "string",
|
|
875
|
+
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."
|
|
876
|
+
},
|
|
877
|
+
content: {
|
|
878
|
+
required: false,
|
|
879
|
+
control: "text",
|
|
880
|
+
type: "string",
|
|
881
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
882
|
+
},
|
|
883
|
+
contextMenu: {
|
|
884
|
+
required: false,
|
|
885
|
+
control: "text",
|
|
886
|
+
type: "string",
|
|
887
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
888
|
+
},
|
|
771
889
|
datatype: { required: false, control: "text", type: "string" },
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
890
|
+
dir: {
|
|
891
|
+
required: false,
|
|
892
|
+
control: "text",
|
|
893
|
+
type: "string",
|
|
894
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
895
|
+
},
|
|
896
|
+
disabled: {
|
|
897
|
+
required: false,
|
|
898
|
+
control: "boolean",
|
|
899
|
+
type: "boolean",
|
|
900
|
+
description: "Indicates whether the user can interact with the element."
|
|
901
|
+
},
|
|
902
|
+
draggable: {
|
|
903
|
+
required: false,
|
|
904
|
+
control: "boolean",
|
|
905
|
+
type: "boolean",
|
|
906
|
+
description: "Defines whether the element can be dragged."
|
|
907
|
+
},
|
|
908
|
+
form: {
|
|
909
|
+
required: false,
|
|
910
|
+
control: "text",
|
|
911
|
+
type: "string",
|
|
912
|
+
description: "Indicates the form that is the owner of the element."
|
|
913
|
+
},
|
|
914
|
+
formAction: {
|
|
915
|
+
required: false,
|
|
916
|
+
control: "text",
|
|
917
|
+
type: "string",
|
|
918
|
+
description: "Indicates the action of the element, overriding the action defined inthe form."
|
|
919
|
+
},
|
|
920
|
+
formEncType: {
|
|
921
|
+
required: false,
|
|
922
|
+
control: "text",
|
|
923
|
+
type: "string",
|
|
924
|
+
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.`
|
|
925
|
+
},
|
|
926
|
+
formMethod: {
|
|
927
|
+
required: false,
|
|
928
|
+
control: "text",
|
|
929
|
+
type: "string",
|
|
930
|
+
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.`
|
|
931
|
+
},
|
|
932
|
+
formNoValidate: {
|
|
933
|
+
required: false,
|
|
934
|
+
control: "boolean",
|
|
935
|
+
type: "boolean",
|
|
936
|
+
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.`
|
|
937
|
+
},
|
|
938
|
+
formTarget: {
|
|
939
|
+
required: false,
|
|
940
|
+
control: "text",
|
|
941
|
+
type: "string",
|
|
942
|
+
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.`
|
|
943
|
+
},
|
|
944
|
+
hidden: {
|
|
945
|
+
required: false,
|
|
946
|
+
control: "boolean",
|
|
947
|
+
type: "boolean",
|
|
948
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
949
|
+
},
|
|
950
|
+
id: {
|
|
951
|
+
required: false,
|
|
952
|
+
control: "text",
|
|
953
|
+
type: "string",
|
|
954
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
955
|
+
},
|
|
784
956
|
inputMode: {
|
|
785
957
|
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",
|
|
786
958
|
required: false,
|
|
@@ -808,14 +980,34 @@ const propsSheetClose = {
|
|
|
808
980
|
itemRef: { required: false, control: "text", type: "string" },
|
|
809
981
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
810
982
|
itemType: { required: false, control: "text", type: "string" },
|
|
811
|
-
lang: {
|
|
812
|
-
|
|
983
|
+
lang: {
|
|
984
|
+
required: false,
|
|
985
|
+
control: "text",
|
|
986
|
+
type: "string",
|
|
987
|
+
description: "Defines the language used in the element."
|
|
988
|
+
},
|
|
989
|
+
name: {
|
|
990
|
+
required: false,
|
|
991
|
+
control: "text",
|
|
992
|
+
type: "string",
|
|
993
|
+
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)."
|
|
994
|
+
},
|
|
813
995
|
nonce: { required: false, control: "text", type: "string" },
|
|
814
|
-
placeholder: {
|
|
996
|
+
placeholder: {
|
|
997
|
+
required: false,
|
|
998
|
+
control: "text",
|
|
999
|
+
type: "string",
|
|
1000
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
1001
|
+
},
|
|
815
1002
|
prefix: { required: false, control: "text", type: "string" },
|
|
816
1003
|
property: { required: false, control: "text", type: "string" },
|
|
817
1004
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
818
|
-
rel: {
|
|
1005
|
+
rel: {
|
|
1006
|
+
required: false,
|
|
1007
|
+
control: "text",
|
|
1008
|
+
type: "string",
|
|
1009
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1010
|
+
},
|
|
819
1011
|
resource: { required: false, control: "text", type: "string" },
|
|
820
1012
|
results: { required: false, control: "number", type: "number" },
|
|
821
1013
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -823,11 +1015,22 @@ const propsSheetClose = {
|
|
|
823
1015
|
required: false,
|
|
824
1016
|
control: "text",
|
|
825
1017
|
type: "string",
|
|
826
|
-
defaultValue: "navigation"
|
|
1018
|
+
defaultValue: "navigation",
|
|
1019
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
827
1020
|
},
|
|
828
1021
|
security: { required: false, control: "text", type: "string" },
|
|
829
|
-
slot: {
|
|
830
|
-
|
|
1022
|
+
slot: {
|
|
1023
|
+
required: false,
|
|
1024
|
+
control: "text",
|
|
1025
|
+
type: "string",
|
|
1026
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1027
|
+
},
|
|
1028
|
+
spellCheck: {
|
|
1029
|
+
required: false,
|
|
1030
|
+
control: "boolean",
|
|
1031
|
+
type: "boolean",
|
|
1032
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1033
|
+
},
|
|
831
1034
|
suppressContentEditableWarning: {
|
|
832
1035
|
required: false,
|
|
833
1036
|
control: "boolean",
|
|
@@ -838,19 +1041,31 @@ const propsSheetClose = {
|
|
|
838
1041
|
control: "boolean",
|
|
839
1042
|
type: "boolean"
|
|
840
1043
|
},
|
|
841
|
-
tabIndex: {
|
|
842
|
-
|
|
1044
|
+
tabIndex: {
|
|
1045
|
+
required: false,
|
|
1046
|
+
control: "number",
|
|
1047
|
+
type: "number",
|
|
1048
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1049
|
+
},
|
|
1050
|
+
title: {
|
|
1051
|
+
required: false,
|
|
1052
|
+
control: "text",
|
|
1053
|
+
type: "string",
|
|
1054
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1055
|
+
},
|
|
843
1056
|
translate: {
|
|
844
1057
|
required: false,
|
|
845
1058
|
control: "radio",
|
|
846
1059
|
type: "string",
|
|
847
|
-
options: ["yes", "no"]
|
|
1060
|
+
options: ["yes", "no"],
|
|
1061
|
+
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."
|
|
848
1062
|
},
|
|
849
1063
|
type: {
|
|
850
1064
|
required: false,
|
|
851
1065
|
control: "radio",
|
|
852
1066
|
type: "string",
|
|
853
|
-
options: ["button", "submit", "reset"]
|
|
1067
|
+
options: ["button", "submit", "reset"],
|
|
1068
|
+
description: "Defines the type of the element."
|
|
854
1069
|
},
|
|
855
1070
|
typeof: { required: false, control: "text", type: "string" },
|
|
856
1071
|
unselectable: {
|
|
@@ -863,7 +1078,12 @@ const propsSheetClose = {
|
|
|
863
1078
|
};
|
|
864
1079
|
const propsSheetTitle = {
|
|
865
1080
|
about: { required: false, control: "text", type: "string" },
|
|
866
|
-
accessKey: {
|
|
1081
|
+
accessKey: {
|
|
1082
|
+
required: false,
|
|
1083
|
+
control: "text",
|
|
1084
|
+
type: "string",
|
|
1085
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1086
|
+
},
|
|
867
1087
|
"aria-activedescendant": {
|
|
868
1088
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
869
1089
|
required: false,
|
|
@@ -1019,7 +1239,7 @@ const propsSheetTitle = {
|
|
|
1019
1239
|
type: "string"
|
|
1020
1240
|
},
|
|
1021
1241
|
"aria-label": {
|
|
1022
|
-
description: "
|
|
1242
|
+
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.",
|
|
1023
1243
|
required: false,
|
|
1024
1244
|
control: "text",
|
|
1025
1245
|
type: "string"
|
|
@@ -1195,21 +1415,64 @@ const propsSheetTitle = {
|
|
|
1195
1415
|
control: "text",
|
|
1196
1416
|
type: "string"
|
|
1197
1417
|
},
|
|
1198
|
-
|
|
1199
|
-
|
|
1418
|
+
autoCapitalize: {
|
|
1419
|
+
required: false,
|
|
1420
|
+
control: "text",
|
|
1421
|
+
type: "string",
|
|
1422
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1423
|
+
},
|
|
1200
1424
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1201
|
-
autoFocus: {
|
|
1425
|
+
autoFocus: {
|
|
1426
|
+
required: false,
|
|
1427
|
+
control: "boolean",
|
|
1428
|
+
type: "boolean",
|
|
1429
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1430
|
+
},
|
|
1202
1431
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1203
1432
|
className: { required: false, control: "text", type: "string" },
|
|
1204
|
-
color: {
|
|
1205
|
-
|
|
1206
|
-
|
|
1433
|
+
color: {
|
|
1434
|
+
required: false,
|
|
1435
|
+
control: "color",
|
|
1436
|
+
type: "string",
|
|
1437
|
+
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."
|
|
1438
|
+
},
|
|
1439
|
+
content: {
|
|
1440
|
+
required: false,
|
|
1441
|
+
control: "text",
|
|
1442
|
+
type: "string",
|
|
1443
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1444
|
+
},
|
|
1445
|
+
contextMenu: {
|
|
1446
|
+
required: false,
|
|
1447
|
+
control: "text",
|
|
1448
|
+
type: "string",
|
|
1449
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1450
|
+
},
|
|
1207
1451
|
datatype: { required: false, control: "text", type: "string" },
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1452
|
+
dir: {
|
|
1453
|
+
required: false,
|
|
1454
|
+
control: "text",
|
|
1455
|
+
type: "string",
|
|
1456
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1457
|
+
},
|
|
1458
|
+
draggable: {
|
|
1459
|
+
required: false,
|
|
1460
|
+
control: "boolean",
|
|
1461
|
+
type: "boolean",
|
|
1462
|
+
description: "Defines whether the element can be dragged."
|
|
1463
|
+
},
|
|
1464
|
+
hidden: {
|
|
1465
|
+
required: false,
|
|
1466
|
+
control: "boolean",
|
|
1467
|
+
type: "boolean",
|
|
1468
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
1469
|
+
},
|
|
1470
|
+
id: {
|
|
1471
|
+
required: false,
|
|
1472
|
+
control: "text",
|
|
1473
|
+
type: "string",
|
|
1474
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
1475
|
+
},
|
|
1213
1476
|
inputMode: {
|
|
1214
1477
|
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",
|
|
1215
1478
|
required: false,
|
|
@@ -1237,13 +1500,28 @@ const propsSheetTitle = {
|
|
|
1237
1500
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1238
1501
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1239
1502
|
itemType: { required: false, control: "text", type: "string" },
|
|
1240
|
-
lang: {
|
|
1503
|
+
lang: {
|
|
1504
|
+
required: false,
|
|
1505
|
+
control: "text",
|
|
1506
|
+
type: "string",
|
|
1507
|
+
description: "Defines the language used in the element."
|
|
1508
|
+
},
|
|
1241
1509
|
nonce: { required: false, control: "text", type: "string" },
|
|
1242
|
-
placeholder: {
|
|
1510
|
+
placeholder: {
|
|
1511
|
+
required: false,
|
|
1512
|
+
control: "text",
|
|
1513
|
+
type: "string",
|
|
1514
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
1515
|
+
},
|
|
1243
1516
|
prefix: { required: false, control: "text", type: "string" },
|
|
1244
1517
|
property: { required: false, control: "text", type: "string" },
|
|
1245
1518
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1246
|
-
rel: {
|
|
1519
|
+
rel: {
|
|
1520
|
+
required: false,
|
|
1521
|
+
control: "text",
|
|
1522
|
+
type: "string",
|
|
1523
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1524
|
+
},
|
|
1247
1525
|
resource: { required: false, control: "text", type: "string" },
|
|
1248
1526
|
results: { required: false, control: "number", type: "number" },
|
|
1249
1527
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -1251,11 +1529,22 @@ const propsSheetTitle = {
|
|
|
1251
1529
|
required: false,
|
|
1252
1530
|
control: "text",
|
|
1253
1531
|
type: "string",
|
|
1254
|
-
defaultValue: "navigation"
|
|
1532
|
+
defaultValue: "navigation",
|
|
1533
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1255
1534
|
},
|
|
1256
1535
|
security: { required: false, control: "text", type: "string" },
|
|
1257
|
-
slot: {
|
|
1258
|
-
|
|
1536
|
+
slot: {
|
|
1537
|
+
required: false,
|
|
1538
|
+
control: "text",
|
|
1539
|
+
type: "string",
|
|
1540
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1541
|
+
},
|
|
1542
|
+
spellCheck: {
|
|
1543
|
+
required: false,
|
|
1544
|
+
control: "boolean",
|
|
1545
|
+
type: "boolean",
|
|
1546
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1547
|
+
},
|
|
1259
1548
|
suppressContentEditableWarning: {
|
|
1260
1549
|
required: false,
|
|
1261
1550
|
control: "boolean",
|
|
@@ -1266,13 +1555,24 @@ const propsSheetTitle = {
|
|
|
1266
1555
|
control: "boolean",
|
|
1267
1556
|
type: "boolean"
|
|
1268
1557
|
},
|
|
1269
|
-
tabIndex: {
|
|
1270
|
-
|
|
1558
|
+
tabIndex: {
|
|
1559
|
+
required: false,
|
|
1560
|
+
control: "number",
|
|
1561
|
+
type: "number",
|
|
1562
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1563
|
+
},
|
|
1564
|
+
title: {
|
|
1565
|
+
required: false,
|
|
1566
|
+
control: "text",
|
|
1567
|
+
type: "string",
|
|
1568
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1569
|
+
},
|
|
1271
1570
|
translate: {
|
|
1272
1571
|
required: false,
|
|
1273
1572
|
control: "radio",
|
|
1274
1573
|
type: "string",
|
|
1275
|
-
options: ["yes", "no"]
|
|
1574
|
+
options: ["yes", "no"],
|
|
1575
|
+
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."
|
|
1276
1576
|
},
|
|
1277
1577
|
typeof: { required: false, control: "text", type: "string" },
|
|
1278
1578
|
unselectable: {
|
|
@@ -1285,7 +1585,12 @@ const propsSheetTitle = {
|
|
|
1285
1585
|
};
|
|
1286
1586
|
const propsSheetDescription = {
|
|
1287
1587
|
about: { required: false, control: "text", type: "string" },
|
|
1288
|
-
accessKey: {
|
|
1588
|
+
accessKey: {
|
|
1589
|
+
required: false,
|
|
1590
|
+
control: "text",
|
|
1591
|
+
type: "string",
|
|
1592
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1593
|
+
},
|
|
1289
1594
|
"aria-activedescendant": {
|
|
1290
1595
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
1291
1596
|
required: false,
|
|
@@ -1441,7 +1746,7 @@ const propsSheetDescription = {
|
|
|
1441
1746
|
type: "string"
|
|
1442
1747
|
},
|
|
1443
1748
|
"aria-label": {
|
|
1444
|
-
description: "
|
|
1749
|
+
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.",
|
|
1445
1750
|
required: false,
|
|
1446
1751
|
control: "text",
|
|
1447
1752
|
type: "string"
|
|
@@ -1617,21 +1922,64 @@ const propsSheetDescription = {
|
|
|
1617
1922
|
control: "text",
|
|
1618
1923
|
type: "string"
|
|
1619
1924
|
},
|
|
1620
|
-
|
|
1621
|
-
|
|
1925
|
+
autoCapitalize: {
|
|
1926
|
+
required: false,
|
|
1927
|
+
control: "text",
|
|
1928
|
+
type: "string",
|
|
1929
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1930
|
+
},
|
|
1622
1931
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1623
|
-
autoFocus: {
|
|
1932
|
+
autoFocus: {
|
|
1933
|
+
required: false,
|
|
1934
|
+
control: "boolean",
|
|
1935
|
+
type: "boolean",
|
|
1936
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1937
|
+
},
|
|
1624
1938
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1625
1939
|
className: { required: false, control: "text", type: "string" },
|
|
1626
|
-
color: {
|
|
1627
|
-
|
|
1628
|
-
|
|
1940
|
+
color: {
|
|
1941
|
+
required: false,
|
|
1942
|
+
control: "color",
|
|
1943
|
+
type: "string",
|
|
1944
|
+
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."
|
|
1945
|
+
},
|
|
1946
|
+
content: {
|
|
1947
|
+
required: false,
|
|
1948
|
+
control: "text",
|
|
1949
|
+
type: "string",
|
|
1950
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1951
|
+
},
|
|
1952
|
+
contextMenu: {
|
|
1953
|
+
required: false,
|
|
1954
|
+
control: "text",
|
|
1955
|
+
type: "string",
|
|
1956
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1957
|
+
},
|
|
1629
1958
|
datatype: { required: false, control: "text", type: "string" },
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1959
|
+
dir: {
|
|
1960
|
+
required: false,
|
|
1961
|
+
control: "text",
|
|
1962
|
+
type: "string",
|
|
1963
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1964
|
+
},
|
|
1965
|
+
draggable: {
|
|
1966
|
+
required: false,
|
|
1967
|
+
control: "boolean",
|
|
1968
|
+
type: "boolean",
|
|
1969
|
+
description: "Defines whether the element can be dragged."
|
|
1970
|
+
},
|
|
1971
|
+
hidden: {
|
|
1972
|
+
required: false,
|
|
1973
|
+
control: "boolean",
|
|
1974
|
+
type: "boolean",
|
|
1975
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
1976
|
+
},
|
|
1977
|
+
id: {
|
|
1978
|
+
required: false,
|
|
1979
|
+
control: "text",
|
|
1980
|
+
type: "string",
|
|
1981
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
1982
|
+
},
|
|
1635
1983
|
inputMode: {
|
|
1636
1984
|
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",
|
|
1637
1985
|
required: false,
|
|
@@ -1659,13 +2007,28 @@ const propsSheetDescription = {
|
|
|
1659
2007
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1660
2008
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1661
2009
|
itemType: { required: false, control: "text", type: "string" },
|
|
1662
|
-
lang: {
|
|
2010
|
+
lang: {
|
|
2011
|
+
required: false,
|
|
2012
|
+
control: "text",
|
|
2013
|
+
type: "string",
|
|
2014
|
+
description: "Defines the language used in the element."
|
|
2015
|
+
},
|
|
1663
2016
|
nonce: { required: false, control: "text", type: "string" },
|
|
1664
|
-
placeholder: {
|
|
2017
|
+
placeholder: {
|
|
2018
|
+
required: false,
|
|
2019
|
+
control: "text",
|
|
2020
|
+
type: "string",
|
|
2021
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
2022
|
+
},
|
|
1665
2023
|
prefix: { required: false, control: "text", type: "string" },
|
|
1666
2024
|
property: { required: false, control: "text", type: "string" },
|
|
1667
2025
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1668
|
-
rel: {
|
|
2026
|
+
rel: {
|
|
2027
|
+
required: false,
|
|
2028
|
+
control: "text",
|
|
2029
|
+
type: "string",
|
|
2030
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
2031
|
+
},
|
|
1669
2032
|
resource: { required: false, control: "text", type: "string" },
|
|
1670
2033
|
results: { required: false, control: "number", type: "number" },
|
|
1671
2034
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -1673,11 +2036,22 @@ const propsSheetDescription = {
|
|
|
1673
2036
|
required: false,
|
|
1674
2037
|
control: "text",
|
|
1675
2038
|
type: "string",
|
|
1676
|
-
defaultValue: "navigation"
|
|
2039
|
+
defaultValue: "navigation",
|
|
2040
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1677
2041
|
},
|
|
1678
2042
|
security: { required: false, control: "text", type: "string" },
|
|
1679
|
-
slot: {
|
|
1680
|
-
|
|
2043
|
+
slot: {
|
|
2044
|
+
required: false,
|
|
2045
|
+
control: "text",
|
|
2046
|
+
type: "string",
|
|
2047
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
2048
|
+
},
|
|
2049
|
+
spellCheck: {
|
|
2050
|
+
required: false,
|
|
2051
|
+
control: "boolean",
|
|
2052
|
+
type: "boolean",
|
|
2053
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
2054
|
+
},
|
|
1681
2055
|
suppressContentEditableWarning: {
|
|
1682
2056
|
required: false,
|
|
1683
2057
|
control: "boolean",
|
|
@@ -1688,13 +2062,24 @@ const propsSheetDescription = {
|
|
|
1688
2062
|
control: "boolean",
|
|
1689
2063
|
type: "boolean"
|
|
1690
2064
|
},
|
|
1691
|
-
tabIndex: {
|
|
1692
|
-
|
|
2065
|
+
tabIndex: {
|
|
2066
|
+
required: false,
|
|
2067
|
+
control: "number",
|
|
2068
|
+
type: "number",
|
|
2069
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
2070
|
+
},
|
|
2071
|
+
title: {
|
|
2072
|
+
required: false,
|
|
2073
|
+
control: "text",
|
|
2074
|
+
type: "string",
|
|
2075
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
2076
|
+
},
|
|
1693
2077
|
translate: {
|
|
1694
2078
|
required: false,
|
|
1695
2079
|
control: "radio",
|
|
1696
2080
|
type: "string",
|
|
1697
|
-
options: ["yes", "no"]
|
|
2081
|
+
options: ["yes", "no"],
|
|
2082
|
+
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."
|
|
1698
2083
|
},
|
|
1699
2084
|
typeof: { required: false, control: "text", type: "string" },
|
|
1700
2085
|
unselectable: {
|
|
@@ -1707,7 +2092,12 @@ const propsSheetDescription = {
|
|
|
1707
2092
|
};
|
|
1708
2093
|
const propsSheetContent = {
|
|
1709
2094
|
about: { required: false, control: "text", type: "string" },
|
|
1710
|
-
accessKey: {
|
|
2095
|
+
accessKey: {
|
|
2096
|
+
required: false,
|
|
2097
|
+
control: "text",
|
|
2098
|
+
type: "string",
|
|
2099
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
2100
|
+
},
|
|
1711
2101
|
"aria-activedescendant": {
|
|
1712
2102
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
1713
2103
|
required: false,
|
|
@@ -1863,7 +2253,7 @@ const propsSheetContent = {
|
|
|
1863
2253
|
type: "string"
|
|
1864
2254
|
},
|
|
1865
2255
|
"aria-label": {
|
|
1866
|
-
description: "
|
|
2256
|
+
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.",
|
|
1867
2257
|
required: false,
|
|
1868
2258
|
control: "text",
|
|
1869
2259
|
type: "string"
|
|
@@ -2039,21 +2429,64 @@ const propsSheetContent = {
|
|
|
2039
2429
|
control: "text",
|
|
2040
2430
|
type: "string"
|
|
2041
2431
|
},
|
|
2042
|
-
|
|
2043
|
-
|
|
2432
|
+
autoCapitalize: {
|
|
2433
|
+
required: false,
|
|
2434
|
+
control: "text",
|
|
2435
|
+
type: "string",
|
|
2436
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
2437
|
+
},
|
|
2044
2438
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
2045
|
-
autoFocus: {
|
|
2439
|
+
autoFocus: {
|
|
2440
|
+
required: false,
|
|
2441
|
+
control: "boolean",
|
|
2442
|
+
type: "boolean",
|
|
2443
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
2444
|
+
},
|
|
2046
2445
|
autoSave: { required: false, control: "text", type: "string" },
|
|
2047
2446
|
className: { required: false, control: "text", type: "string" },
|
|
2048
|
-
color: {
|
|
2049
|
-
|
|
2050
|
-
|
|
2447
|
+
color: {
|
|
2448
|
+
required: false,
|
|
2449
|
+
control: "color",
|
|
2450
|
+
type: "string",
|
|
2451
|
+
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."
|
|
2452
|
+
},
|
|
2453
|
+
content: {
|
|
2454
|
+
required: false,
|
|
2455
|
+
control: "text",
|
|
2456
|
+
type: "string",
|
|
2457
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
2458
|
+
},
|
|
2459
|
+
contextMenu: {
|
|
2460
|
+
required: false,
|
|
2461
|
+
control: "text",
|
|
2462
|
+
type: "string",
|
|
2463
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
2464
|
+
},
|
|
2051
2465
|
datatype: { required: false, control: "text", type: "string" },
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2466
|
+
dir: {
|
|
2467
|
+
required: false,
|
|
2468
|
+
control: "text",
|
|
2469
|
+
type: "string",
|
|
2470
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
2471
|
+
},
|
|
2472
|
+
draggable: {
|
|
2473
|
+
required: false,
|
|
2474
|
+
control: "boolean",
|
|
2475
|
+
type: "boolean",
|
|
2476
|
+
description: "Defines whether the element can be dragged."
|
|
2477
|
+
},
|
|
2478
|
+
hidden: {
|
|
2479
|
+
required: false,
|
|
2480
|
+
control: "boolean",
|
|
2481
|
+
type: "boolean",
|
|
2482
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
2483
|
+
},
|
|
2484
|
+
id: {
|
|
2485
|
+
required: false,
|
|
2486
|
+
control: "text",
|
|
2487
|
+
type: "string",
|
|
2488
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
2489
|
+
},
|
|
2057
2490
|
inputMode: {
|
|
2058
2491
|
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",
|
|
2059
2492
|
required: false,
|
|
@@ -2081,13 +2514,28 @@ const propsSheetContent = {
|
|
|
2081
2514
|
itemRef: { required: false, control: "text", type: "string" },
|
|
2082
2515
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
2083
2516
|
itemType: { required: false, control: "text", type: "string" },
|
|
2084
|
-
lang: {
|
|
2517
|
+
lang: {
|
|
2518
|
+
required: false,
|
|
2519
|
+
control: "text",
|
|
2520
|
+
type: "string",
|
|
2521
|
+
description: "Defines the language used in the element."
|
|
2522
|
+
},
|
|
2085
2523
|
nonce: { required: false, control: "text", type: "string" },
|
|
2086
|
-
placeholder: {
|
|
2524
|
+
placeholder: {
|
|
2525
|
+
required: false,
|
|
2526
|
+
control: "text",
|
|
2527
|
+
type: "string",
|
|
2528
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
2529
|
+
},
|
|
2087
2530
|
prefix: { required: false, control: "text", type: "string" },
|
|
2088
2531
|
property: { required: false, control: "text", type: "string" },
|
|
2089
2532
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
2090
|
-
rel: {
|
|
2533
|
+
rel: {
|
|
2534
|
+
required: false,
|
|
2535
|
+
control: "text",
|
|
2536
|
+
type: "string",
|
|
2537
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
2538
|
+
},
|
|
2091
2539
|
resource: { required: false, control: "text", type: "string" },
|
|
2092
2540
|
results: { required: false, control: "number", type: "number" },
|
|
2093
2541
|
rev: { required: false, control: "text", type: "string" },
|
|
@@ -2095,7 +2543,8 @@ const propsSheetContent = {
|
|
|
2095
2543
|
required: false,
|
|
2096
2544
|
control: "text",
|
|
2097
2545
|
type: "string",
|
|
2098
|
-
defaultValue: "navigation"
|
|
2546
|
+
defaultValue: "navigation",
|
|
2547
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
2099
2548
|
},
|
|
2100
2549
|
security: { required: false, control: "text", type: "string" },
|
|
2101
2550
|
side: {
|
|
@@ -2105,8 +2554,18 @@ const propsSheetContent = {
|
|
|
2105
2554
|
defaultValue: "left",
|
|
2106
2555
|
options: ["top", "right", "bottom", "left"]
|
|
2107
2556
|
},
|
|
2108
|
-
slot: {
|
|
2109
|
-
|
|
2557
|
+
slot: {
|
|
2558
|
+
required: false,
|
|
2559
|
+
control: "text",
|
|
2560
|
+
type: "string",
|
|
2561
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
2562
|
+
},
|
|
2563
|
+
spellCheck: {
|
|
2564
|
+
required: false,
|
|
2565
|
+
control: "boolean",
|
|
2566
|
+
type: "boolean",
|
|
2567
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
2568
|
+
},
|
|
2110
2569
|
suppressContentEditableWarning: {
|
|
2111
2570
|
required: false,
|
|
2112
2571
|
control: "boolean",
|
|
@@ -2117,7 +2576,12 @@ const propsSheetContent = {
|
|
|
2117
2576
|
control: "boolean",
|
|
2118
2577
|
type: "boolean"
|
|
2119
2578
|
},
|
|
2120
|
-
tabIndex: {
|
|
2579
|
+
tabIndex: {
|
|
2580
|
+
required: false,
|
|
2581
|
+
control: "number",
|
|
2582
|
+
type: "number",
|
|
2583
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
2584
|
+
},
|
|
2121
2585
|
tag: {
|
|
2122
2586
|
required: false,
|
|
2123
2587
|
control: "radio",
|
|
@@ -2125,12 +2589,18 @@ const propsSheetContent = {
|
|
|
2125
2589
|
defaultValue: "nav",
|
|
2126
2590
|
options: ["div", "nav"]
|
|
2127
2591
|
},
|
|
2128
|
-
title: {
|
|
2592
|
+
title: {
|
|
2593
|
+
required: false,
|
|
2594
|
+
control: "text",
|
|
2595
|
+
type: "string",
|
|
2596
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
2597
|
+
},
|
|
2129
2598
|
translate: {
|
|
2130
2599
|
required: false,
|
|
2131
2600
|
control: "radio",
|
|
2132
2601
|
type: "string",
|
|
2133
|
-
options: ["yes", "no"]
|
|
2602
|
+
options: ["yes", "no"],
|
|
2603
|
+
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."
|
|
2134
2604
|
},
|
|
2135
2605
|
typeof: { required: false, control: "text", type: "string" },
|
|
2136
2606
|
unselectable: {
|