@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
|
@@ -27,7 +27,12 @@ __export(accordion_props_exports, {
|
|
|
27
27
|
module.exports = __toCommonJS(accordion_props_exports);
|
|
28
28
|
const propsAccordion = {
|
|
29
29
|
about: { required: false, control: "text", type: "string" },
|
|
30
|
-
accessKey: {
|
|
30
|
+
accessKey: {
|
|
31
|
+
required: false,
|
|
32
|
+
control: "text",
|
|
33
|
+
type: "string",
|
|
34
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
35
|
+
},
|
|
31
36
|
"aria-activedescendant": {
|
|
32
37
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
33
38
|
required: false,
|
|
@@ -183,7 +188,7 @@ const propsAccordion = {
|
|
|
183
188
|
type: "string"
|
|
184
189
|
},
|
|
185
190
|
"aria-label": {
|
|
186
|
-
description: "
|
|
191
|
+
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.",
|
|
187
192
|
required: false,
|
|
188
193
|
control: "text",
|
|
189
194
|
type: "string"
|
|
@@ -359,16 +364,40 @@ const propsAccordion = {
|
|
|
359
364
|
control: "text",
|
|
360
365
|
type: "string"
|
|
361
366
|
},
|
|
362
|
-
autoCapitalize: {
|
|
367
|
+
autoCapitalize: {
|
|
368
|
+
required: false,
|
|
369
|
+
control: "text",
|
|
370
|
+
type: "string",
|
|
371
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
372
|
+
},
|
|
363
373
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
364
|
-
autoFocus: {
|
|
374
|
+
autoFocus: {
|
|
375
|
+
required: false,
|
|
376
|
+
control: "boolean",
|
|
377
|
+
type: "boolean",
|
|
378
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
379
|
+
},
|
|
365
380
|
autoSave: { required: false, control: "text", type: "string" },
|
|
366
381
|
className: { required: false, control: "text", type: "string" },
|
|
367
|
-
color: {
|
|
368
|
-
|
|
369
|
-
|
|
382
|
+
color: {
|
|
383
|
+
required: false,
|
|
384
|
+
control: "color",
|
|
385
|
+
type: "string",
|
|
386
|
+
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."
|
|
387
|
+
},
|
|
388
|
+
content: {
|
|
389
|
+
required: false,
|
|
390
|
+
control: "text",
|
|
391
|
+
type: "string",
|
|
392
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
393
|
+
},
|
|
394
|
+
contextMenu: {
|
|
395
|
+
required: false,
|
|
396
|
+
control: "text",
|
|
397
|
+
type: "string",
|
|
398
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
399
|
+
},
|
|
370
400
|
datatype: { required: false, control: "text", type: "string" },
|
|
371
|
-
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
372
401
|
dir: {
|
|
373
402
|
description: "The language read direction.",
|
|
374
403
|
required: false,
|
|
@@ -382,9 +411,24 @@ const propsAccordion = {
|
|
|
382
411
|
control: "boolean",
|
|
383
412
|
type: "boolean"
|
|
384
413
|
},
|
|
385
|
-
draggable: {
|
|
386
|
-
|
|
387
|
-
|
|
414
|
+
draggable: {
|
|
415
|
+
required: false,
|
|
416
|
+
control: "boolean",
|
|
417
|
+
type: "boolean",
|
|
418
|
+
description: "Defines whether the element can be dragged."
|
|
419
|
+
},
|
|
420
|
+
hidden: {
|
|
421
|
+
required: false,
|
|
422
|
+
control: "boolean",
|
|
423
|
+
type: "boolean",
|
|
424
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
425
|
+
},
|
|
426
|
+
id: {
|
|
427
|
+
required: false,
|
|
428
|
+
control: "text",
|
|
429
|
+
type: "string",
|
|
430
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
431
|
+
},
|
|
388
432
|
inputMode: {
|
|
389
433
|
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",
|
|
390
434
|
required: false,
|
|
@@ -412,7 +456,12 @@ const propsAccordion = {
|
|
|
412
456
|
itemRef: { required: false, control: "text", type: "string" },
|
|
413
457
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
414
458
|
itemType: { required: false, control: "text", type: "string" },
|
|
415
|
-
lang: {
|
|
459
|
+
lang: {
|
|
460
|
+
required: false,
|
|
461
|
+
control: "text",
|
|
462
|
+
type: "string",
|
|
463
|
+
description: "Defines the language used in the element."
|
|
464
|
+
},
|
|
416
465
|
nonce: { required: false, control: "text", type: "string" },
|
|
417
466
|
orientation: {
|
|
418
467
|
description: "The layout in which the Accordion operates.",
|
|
@@ -422,18 +471,43 @@ const propsAccordion = {
|
|
|
422
471
|
defaultValue: "vertical",
|
|
423
472
|
options: ["horizontal", "vertical"]
|
|
424
473
|
},
|
|
425
|
-
placeholder: {
|
|
474
|
+
placeholder: {
|
|
475
|
+
required: false,
|
|
476
|
+
control: "text",
|
|
477
|
+
type: "string",
|
|
478
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
479
|
+
},
|
|
426
480
|
prefix: { required: false, control: "text", type: "string" },
|
|
427
481
|
property: { required: false, control: "text", type: "string" },
|
|
428
482
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
429
|
-
rel: {
|
|
483
|
+
rel: {
|
|
484
|
+
required: false,
|
|
485
|
+
control: "text",
|
|
486
|
+
type: "string",
|
|
487
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
488
|
+
},
|
|
430
489
|
resource: { required: false, control: "text", type: "string" },
|
|
431
490
|
results: { required: false, control: "number", type: "number" },
|
|
432
491
|
rev: { required: false, control: "text", type: "string" },
|
|
433
|
-
role: {
|
|
492
|
+
role: {
|
|
493
|
+
required: false,
|
|
494
|
+
control: "text",
|
|
495
|
+
type: "string",
|
|
496
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
497
|
+
},
|
|
434
498
|
security: { required: false, control: "text", type: "string" },
|
|
435
|
-
slot: {
|
|
436
|
-
|
|
499
|
+
slot: {
|
|
500
|
+
required: false,
|
|
501
|
+
control: "text",
|
|
502
|
+
type: "string",
|
|
503
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
504
|
+
},
|
|
505
|
+
spellCheck: {
|
|
506
|
+
required: false,
|
|
507
|
+
control: "boolean",
|
|
508
|
+
type: "boolean",
|
|
509
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
510
|
+
},
|
|
437
511
|
suppressContentEditableWarning: {
|
|
438
512
|
required: false,
|
|
439
513
|
control: "boolean",
|
|
@@ -444,13 +518,24 @@ const propsAccordion = {
|
|
|
444
518
|
control: "boolean",
|
|
445
519
|
type: "boolean"
|
|
446
520
|
},
|
|
447
|
-
tabIndex: {
|
|
448
|
-
|
|
521
|
+
tabIndex: {
|
|
522
|
+
required: false,
|
|
523
|
+
control: "number",
|
|
524
|
+
type: "number",
|
|
525
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
526
|
+
},
|
|
527
|
+
title: {
|
|
528
|
+
required: false,
|
|
529
|
+
control: "text",
|
|
530
|
+
type: "string",
|
|
531
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
532
|
+
},
|
|
449
533
|
translate: {
|
|
450
534
|
required: false,
|
|
451
535
|
control: "radio",
|
|
452
536
|
type: "string",
|
|
453
|
-
options: ["yes", "no"]
|
|
537
|
+
options: ["yes", "no"],
|
|
538
|
+
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."
|
|
454
539
|
},
|
|
455
540
|
typeof: { required: false, control: "text", type: "string" },
|
|
456
541
|
unselectable: {
|
|
@@ -459,12 +544,22 @@ const propsAccordion = {
|
|
|
459
544
|
type: "string",
|
|
460
545
|
options: ["on", "off"]
|
|
461
546
|
},
|
|
462
|
-
value: {
|
|
547
|
+
value: {
|
|
548
|
+
required: true,
|
|
549
|
+
control: "text",
|
|
550
|
+
type: "string",
|
|
551
|
+
description: "Defines a default value which will be displayed in the element on pageload."
|
|
552
|
+
},
|
|
463
553
|
vocab: { required: false, control: "text", type: "string" }
|
|
464
554
|
};
|
|
465
555
|
const propsAccordionItem = {
|
|
466
556
|
about: { required: false, control: "text", type: "string" },
|
|
467
|
-
accessKey: {
|
|
557
|
+
accessKey: {
|
|
558
|
+
required: false,
|
|
559
|
+
control: "text",
|
|
560
|
+
type: "string",
|
|
561
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
562
|
+
},
|
|
468
563
|
"aria-activedescendant": {
|
|
469
564
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
470
565
|
required: false,
|
|
@@ -620,7 +715,7 @@ const propsAccordionItem = {
|
|
|
620
715
|
type: "string"
|
|
621
716
|
},
|
|
622
717
|
"aria-label": {
|
|
623
|
-
description: "
|
|
718
|
+
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.",
|
|
624
719
|
required: false,
|
|
625
720
|
control: "text",
|
|
626
721
|
type: "string"
|
|
@@ -796,26 +891,70 @@ const propsAccordionItem = {
|
|
|
796
891
|
control: "text",
|
|
797
892
|
type: "string"
|
|
798
893
|
},
|
|
799
|
-
autoCapitalize: {
|
|
894
|
+
autoCapitalize: {
|
|
895
|
+
required: false,
|
|
896
|
+
control: "text",
|
|
897
|
+
type: "string",
|
|
898
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
899
|
+
},
|
|
800
900
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
801
|
-
autoFocus: {
|
|
901
|
+
autoFocus: {
|
|
902
|
+
required: false,
|
|
903
|
+
control: "boolean",
|
|
904
|
+
type: "boolean",
|
|
905
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
906
|
+
},
|
|
802
907
|
autoSave: { required: false, control: "text", type: "string" },
|
|
803
908
|
className: { required: false, control: "text", type: "string" },
|
|
804
|
-
color: {
|
|
805
|
-
|
|
806
|
-
|
|
909
|
+
color: {
|
|
910
|
+
required: false,
|
|
911
|
+
control: "color",
|
|
912
|
+
type: "string",
|
|
913
|
+
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."
|
|
914
|
+
},
|
|
915
|
+
content: {
|
|
916
|
+
required: false,
|
|
917
|
+
control: "text",
|
|
918
|
+
type: "string",
|
|
919
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
920
|
+
},
|
|
921
|
+
contextMenu: {
|
|
922
|
+
required: false,
|
|
923
|
+
control: "text",
|
|
924
|
+
type: "string",
|
|
925
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
926
|
+
},
|
|
807
927
|
datatype: { required: false, control: "text", type: "string" },
|
|
808
|
-
|
|
809
|
-
|
|
928
|
+
dir: {
|
|
929
|
+
required: false,
|
|
930
|
+
control: "text",
|
|
931
|
+
type: "string",
|
|
932
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
933
|
+
},
|
|
810
934
|
disabled: {
|
|
811
935
|
description: "Whether or not an accordion item is disabled from user interaction.\n@defaultValue false",
|
|
812
936
|
required: false,
|
|
813
937
|
control: "boolean",
|
|
814
938
|
type: "boolean"
|
|
815
939
|
},
|
|
816
|
-
draggable: {
|
|
817
|
-
|
|
818
|
-
|
|
940
|
+
draggable: {
|
|
941
|
+
required: false,
|
|
942
|
+
control: "boolean",
|
|
943
|
+
type: "boolean",
|
|
944
|
+
description: "Defines whether the element can be dragged."
|
|
945
|
+
},
|
|
946
|
+
hidden: {
|
|
947
|
+
required: false,
|
|
948
|
+
control: "boolean",
|
|
949
|
+
type: "boolean",
|
|
950
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
951
|
+
},
|
|
952
|
+
id: {
|
|
953
|
+
required: false,
|
|
954
|
+
control: "text",
|
|
955
|
+
type: "string",
|
|
956
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
957
|
+
},
|
|
819
958
|
inputMode: {
|
|
820
959
|
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",
|
|
821
960
|
required: false,
|
|
@@ -843,20 +982,50 @@ const propsAccordionItem = {
|
|
|
843
982
|
itemRef: { required: false, control: "text", type: "string" },
|
|
844
983
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
845
984
|
itemType: { required: false, control: "text", type: "string" },
|
|
846
|
-
lang: {
|
|
985
|
+
lang: {
|
|
986
|
+
required: false,
|
|
987
|
+
control: "text",
|
|
988
|
+
type: "string",
|
|
989
|
+
description: "Defines the language used in the element."
|
|
990
|
+
},
|
|
847
991
|
nonce: { required: false, control: "text", type: "string" },
|
|
848
|
-
placeholder: {
|
|
992
|
+
placeholder: {
|
|
993
|
+
required: false,
|
|
994
|
+
control: "text",
|
|
995
|
+
type: "string",
|
|
996
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
997
|
+
},
|
|
849
998
|
prefix: { required: false, control: "text", type: "string" },
|
|
850
999
|
property: { required: false, control: "text", type: "string" },
|
|
851
1000
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
852
|
-
rel: {
|
|
1001
|
+
rel: {
|
|
1002
|
+
required: false,
|
|
1003
|
+
control: "text",
|
|
1004
|
+
type: "string",
|
|
1005
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1006
|
+
},
|
|
853
1007
|
resource: { required: false, control: "text", type: "string" },
|
|
854
1008
|
results: { required: false, control: "number", type: "number" },
|
|
855
1009
|
rev: { required: false, control: "text", type: "string" },
|
|
856
|
-
role: {
|
|
1010
|
+
role: {
|
|
1011
|
+
required: false,
|
|
1012
|
+
control: "text",
|
|
1013
|
+
type: "string",
|
|
1014
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1015
|
+
},
|
|
857
1016
|
security: { required: false, control: "text", type: "string" },
|
|
858
|
-
slot: {
|
|
859
|
-
|
|
1017
|
+
slot: {
|
|
1018
|
+
required: false,
|
|
1019
|
+
control: "text",
|
|
1020
|
+
type: "string",
|
|
1021
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1022
|
+
},
|
|
1023
|
+
spellCheck: {
|
|
1024
|
+
required: false,
|
|
1025
|
+
control: "boolean",
|
|
1026
|
+
type: "boolean",
|
|
1027
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1028
|
+
},
|
|
860
1029
|
suppressContentEditableWarning: {
|
|
861
1030
|
required: false,
|
|
862
1031
|
control: "boolean",
|
|
@@ -867,13 +1036,24 @@ const propsAccordionItem = {
|
|
|
867
1036
|
control: "boolean",
|
|
868
1037
|
type: "boolean"
|
|
869
1038
|
},
|
|
870
|
-
tabIndex: {
|
|
871
|
-
|
|
1039
|
+
tabIndex: {
|
|
1040
|
+
required: false,
|
|
1041
|
+
control: "number",
|
|
1042
|
+
type: "number",
|
|
1043
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1044
|
+
},
|
|
1045
|
+
title: {
|
|
1046
|
+
required: false,
|
|
1047
|
+
control: "text",
|
|
1048
|
+
type: "string",
|
|
1049
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1050
|
+
},
|
|
872
1051
|
translate: {
|
|
873
1052
|
required: false,
|
|
874
1053
|
control: "radio",
|
|
875
1054
|
type: "string",
|
|
876
|
-
options: ["yes", "no"]
|
|
1055
|
+
options: ["yes", "no"],
|
|
1056
|
+
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
1057
|
},
|
|
878
1058
|
typeof: { required: false, control: "text", type: "string" },
|
|
879
1059
|
unselectable: {
|
|
@@ -892,7 +1072,12 @@ const propsAccordionItem = {
|
|
|
892
1072
|
};
|
|
893
1073
|
const propsAccordionHeader = {
|
|
894
1074
|
about: { required: false, control: "text", type: "string" },
|
|
895
|
-
accessKey: {
|
|
1075
|
+
accessKey: {
|
|
1076
|
+
required: false,
|
|
1077
|
+
control: "text",
|
|
1078
|
+
type: "string",
|
|
1079
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1080
|
+
},
|
|
896
1081
|
"aria-activedescendant": {
|
|
897
1082
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
898
1083
|
required: false,
|
|
@@ -1048,7 +1233,7 @@ const propsAccordionHeader = {
|
|
|
1048
1233
|
type: "string"
|
|
1049
1234
|
},
|
|
1050
1235
|
"aria-label": {
|
|
1051
|
-
description: "
|
|
1236
|
+
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
1237
|
required: false,
|
|
1053
1238
|
control: "text",
|
|
1054
1239
|
type: "string"
|
|
@@ -1224,20 +1409,64 @@ const propsAccordionHeader = {
|
|
|
1224
1409
|
control: "text",
|
|
1225
1410
|
type: "string"
|
|
1226
1411
|
},
|
|
1227
|
-
autoCapitalize: {
|
|
1412
|
+
autoCapitalize: {
|
|
1413
|
+
required: false,
|
|
1414
|
+
control: "text",
|
|
1415
|
+
type: "string",
|
|
1416
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1417
|
+
},
|
|
1228
1418
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1229
|
-
autoFocus: {
|
|
1419
|
+
autoFocus: {
|
|
1420
|
+
required: false,
|
|
1421
|
+
control: "boolean",
|
|
1422
|
+
type: "boolean",
|
|
1423
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1424
|
+
},
|
|
1230
1425
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1231
1426
|
className: { required: false, control: "text", type: "string" },
|
|
1232
|
-
color: {
|
|
1233
|
-
|
|
1234
|
-
|
|
1427
|
+
color: {
|
|
1428
|
+
required: false,
|
|
1429
|
+
control: "color",
|
|
1430
|
+
type: "string",
|
|
1431
|
+
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."
|
|
1432
|
+
},
|
|
1433
|
+
content: {
|
|
1434
|
+
required: false,
|
|
1435
|
+
control: "text",
|
|
1436
|
+
type: "string",
|
|
1437
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1438
|
+
},
|
|
1439
|
+
contextMenu: {
|
|
1440
|
+
required: false,
|
|
1441
|
+
control: "text",
|
|
1442
|
+
type: "string",
|
|
1443
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1444
|
+
},
|
|
1235
1445
|
datatype: { required: false, control: "text", type: "string" },
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1446
|
+
dir: {
|
|
1447
|
+
required: false,
|
|
1448
|
+
control: "text",
|
|
1449
|
+
type: "string",
|
|
1450
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1451
|
+
},
|
|
1452
|
+
draggable: {
|
|
1453
|
+
required: false,
|
|
1454
|
+
control: "boolean",
|
|
1455
|
+
type: "boolean",
|
|
1456
|
+
description: "Defines whether the element can be dragged."
|
|
1457
|
+
},
|
|
1458
|
+
hidden: {
|
|
1459
|
+
required: false,
|
|
1460
|
+
control: "boolean",
|
|
1461
|
+
type: "boolean",
|
|
1462
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
1463
|
+
},
|
|
1464
|
+
id: {
|
|
1465
|
+
required: false,
|
|
1466
|
+
control: "text",
|
|
1467
|
+
type: "string",
|
|
1468
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
1469
|
+
},
|
|
1241
1470
|
inputMode: {
|
|
1242
1471
|
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",
|
|
1243
1472
|
required: false,
|
|
@@ -1265,20 +1494,50 @@ const propsAccordionHeader = {
|
|
|
1265
1494
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1266
1495
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1267
1496
|
itemType: { required: false, control: "text", type: "string" },
|
|
1268
|
-
lang: {
|
|
1497
|
+
lang: {
|
|
1498
|
+
required: false,
|
|
1499
|
+
control: "text",
|
|
1500
|
+
type: "string",
|
|
1501
|
+
description: "Defines the language used in the element."
|
|
1502
|
+
},
|
|
1269
1503
|
nonce: { required: false, control: "text", type: "string" },
|
|
1270
|
-
placeholder: {
|
|
1504
|
+
placeholder: {
|
|
1505
|
+
required: false,
|
|
1506
|
+
control: "text",
|
|
1507
|
+
type: "string",
|
|
1508
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
1509
|
+
},
|
|
1271
1510
|
prefix: { required: false, control: "text", type: "string" },
|
|
1272
1511
|
property: { required: false, control: "text", type: "string" },
|
|
1273
1512
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1274
|
-
rel: {
|
|
1513
|
+
rel: {
|
|
1514
|
+
required: false,
|
|
1515
|
+
control: "text",
|
|
1516
|
+
type: "string",
|
|
1517
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1518
|
+
},
|
|
1275
1519
|
resource: { required: false, control: "text", type: "string" },
|
|
1276
1520
|
results: { required: false, control: "number", type: "number" },
|
|
1277
1521
|
rev: { required: false, control: "text", type: "string" },
|
|
1278
|
-
role: {
|
|
1522
|
+
role: {
|
|
1523
|
+
required: false,
|
|
1524
|
+
control: "text",
|
|
1525
|
+
type: "string",
|
|
1526
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1527
|
+
},
|
|
1279
1528
|
security: { required: false, control: "text", type: "string" },
|
|
1280
|
-
slot: {
|
|
1281
|
-
|
|
1529
|
+
slot: {
|
|
1530
|
+
required: false,
|
|
1531
|
+
control: "text",
|
|
1532
|
+
type: "string",
|
|
1533
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1534
|
+
},
|
|
1535
|
+
spellCheck: {
|
|
1536
|
+
required: false,
|
|
1537
|
+
control: "boolean",
|
|
1538
|
+
type: "boolean",
|
|
1539
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1540
|
+
},
|
|
1282
1541
|
suppressContentEditableWarning: {
|
|
1283
1542
|
required: false,
|
|
1284
1543
|
control: "boolean",
|
|
@@ -1289,13 +1548,24 @@ const propsAccordionHeader = {
|
|
|
1289
1548
|
control: "boolean",
|
|
1290
1549
|
type: "boolean"
|
|
1291
1550
|
},
|
|
1292
|
-
tabIndex: {
|
|
1293
|
-
|
|
1551
|
+
tabIndex: {
|
|
1552
|
+
required: false,
|
|
1553
|
+
control: "number",
|
|
1554
|
+
type: "number",
|
|
1555
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1556
|
+
},
|
|
1557
|
+
title: {
|
|
1558
|
+
required: false,
|
|
1559
|
+
control: "text",
|
|
1560
|
+
type: "string",
|
|
1561
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1562
|
+
},
|
|
1294
1563
|
translate: {
|
|
1295
1564
|
required: false,
|
|
1296
1565
|
control: "radio",
|
|
1297
1566
|
type: "string",
|
|
1298
|
-
options: ["yes", "no"]
|
|
1567
|
+
options: ["yes", "no"],
|
|
1568
|
+
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."
|
|
1299
1569
|
},
|
|
1300
1570
|
typeof: { required: false, control: "text", type: "string" },
|
|
1301
1571
|
unselectable: {
|
|
@@ -1308,7 +1578,12 @@ const propsAccordionHeader = {
|
|
|
1308
1578
|
};
|
|
1309
1579
|
const propsAccordionTrigger = {
|
|
1310
1580
|
about: { required: false, control: "text", type: "string" },
|
|
1311
|
-
accessKey: {
|
|
1581
|
+
accessKey: {
|
|
1582
|
+
required: false,
|
|
1583
|
+
control: "text",
|
|
1584
|
+
type: "string",
|
|
1585
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1586
|
+
},
|
|
1312
1587
|
"aria-activedescendant": {
|
|
1313
1588
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
1314
1589
|
required: false,
|
|
@@ -1464,7 +1739,7 @@ const propsAccordionTrigger = {
|
|
|
1464
1739
|
type: "string"
|
|
1465
1740
|
},
|
|
1466
1741
|
"aria-label": {
|
|
1467
|
-
description: "
|
|
1742
|
+
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.",
|
|
1468
1743
|
required: false,
|
|
1469
1744
|
control: "text",
|
|
1470
1745
|
type: "string"
|
|
@@ -1640,27 +1915,106 @@ const propsAccordionTrigger = {
|
|
|
1640
1915
|
control: "text",
|
|
1641
1916
|
type: "string"
|
|
1642
1917
|
},
|
|
1643
|
-
autoCapitalize: {
|
|
1918
|
+
autoCapitalize: {
|
|
1919
|
+
required: false,
|
|
1920
|
+
control: "text",
|
|
1921
|
+
type: "string",
|
|
1922
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1923
|
+
},
|
|
1644
1924
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1645
|
-
autoFocus: {
|
|
1925
|
+
autoFocus: {
|
|
1926
|
+
required: false,
|
|
1927
|
+
control: "boolean",
|
|
1928
|
+
type: "boolean",
|
|
1929
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1930
|
+
},
|
|
1646
1931
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1647
1932
|
className: { required: false, control: "text", type: "string" },
|
|
1648
|
-
color: {
|
|
1649
|
-
|
|
1650
|
-
|
|
1933
|
+
color: {
|
|
1934
|
+
required: false,
|
|
1935
|
+
control: "color",
|
|
1936
|
+
type: "string",
|
|
1937
|
+
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."
|
|
1938
|
+
},
|
|
1939
|
+
content: {
|
|
1940
|
+
required: false,
|
|
1941
|
+
control: "text",
|
|
1942
|
+
type: "string",
|
|
1943
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1944
|
+
},
|
|
1945
|
+
contextMenu: {
|
|
1946
|
+
required: false,
|
|
1947
|
+
control: "text",
|
|
1948
|
+
type: "string",
|
|
1949
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1950
|
+
},
|
|
1651
1951
|
datatype: { required: false, control: "text", type: "string" },
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1952
|
+
dir: {
|
|
1953
|
+
required: false,
|
|
1954
|
+
control: "text",
|
|
1955
|
+
type: "string",
|
|
1956
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1957
|
+
},
|
|
1958
|
+
disabled: {
|
|
1959
|
+
required: false,
|
|
1960
|
+
control: "boolean",
|
|
1961
|
+
type: "boolean",
|
|
1962
|
+
description: "Indicates whether the user can interact with the element."
|
|
1963
|
+
},
|
|
1964
|
+
draggable: {
|
|
1965
|
+
required: false,
|
|
1966
|
+
control: "boolean",
|
|
1967
|
+
type: "boolean",
|
|
1968
|
+
description: "Defines whether the element can be dragged."
|
|
1969
|
+
},
|
|
1970
|
+
form: {
|
|
1971
|
+
required: false,
|
|
1972
|
+
control: "text",
|
|
1973
|
+
type: "string",
|
|
1974
|
+
description: "Indicates the form that is the owner of the element."
|
|
1975
|
+
},
|
|
1976
|
+
formAction: {
|
|
1977
|
+
required: false,
|
|
1978
|
+
control: "text",
|
|
1979
|
+
type: "string",
|
|
1980
|
+
description: "Indicates the action of the element, overriding the action defined inthe form."
|
|
1981
|
+
},
|
|
1982
|
+
formEncType: {
|
|
1983
|
+
required: false,
|
|
1984
|
+
control: "text",
|
|
1985
|
+
type: "string",
|
|
1986
|
+
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.`
|
|
1987
|
+
},
|
|
1988
|
+
formMethod: {
|
|
1989
|
+
required: false,
|
|
1990
|
+
control: "text",
|
|
1991
|
+
type: "string",
|
|
1992
|
+
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.`
|
|
1993
|
+
},
|
|
1994
|
+
formNoValidate: {
|
|
1995
|
+
required: false,
|
|
1996
|
+
control: "boolean",
|
|
1997
|
+
type: "boolean",
|
|
1998
|
+
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.`
|
|
1999
|
+
},
|
|
2000
|
+
formTarget: {
|
|
2001
|
+
required: false,
|
|
2002
|
+
control: "text",
|
|
2003
|
+
type: "string",
|
|
2004
|
+
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.`
|
|
2005
|
+
},
|
|
2006
|
+
hidden: {
|
|
2007
|
+
required: false,
|
|
2008
|
+
control: "boolean",
|
|
2009
|
+
type: "boolean",
|
|
2010
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
2011
|
+
},
|
|
2012
|
+
id: {
|
|
2013
|
+
required: false,
|
|
2014
|
+
control: "text",
|
|
2015
|
+
type: "string",
|
|
2016
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
2017
|
+
},
|
|
1664
2018
|
inputMode: {
|
|
1665
2019
|
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
2020
|
required: false,
|
|
@@ -1688,21 +2042,56 @@ const propsAccordionTrigger = {
|
|
|
1688
2042
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1689
2043
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1690
2044
|
itemType: { required: false, control: "text", type: "string" },
|
|
1691
|
-
lang: {
|
|
1692
|
-
|
|
2045
|
+
lang: {
|
|
2046
|
+
required: false,
|
|
2047
|
+
control: "text",
|
|
2048
|
+
type: "string",
|
|
2049
|
+
description: "Defines the language used in the element."
|
|
2050
|
+
},
|
|
2051
|
+
name: {
|
|
2052
|
+
required: false,
|
|
2053
|
+
control: "text",
|
|
2054
|
+
type: "string",
|
|
2055
|
+
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)."
|
|
2056
|
+
},
|
|
1693
2057
|
nonce: { required: false, control: "text", type: "string" },
|
|
1694
|
-
placeholder: {
|
|
2058
|
+
placeholder: {
|
|
2059
|
+
required: false,
|
|
2060
|
+
control: "text",
|
|
2061
|
+
type: "string",
|
|
2062
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
2063
|
+
},
|
|
1695
2064
|
prefix: { required: false, control: "text", type: "string" },
|
|
1696
2065
|
property: { required: false, control: "text", type: "string" },
|
|
1697
2066
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1698
|
-
rel: {
|
|
2067
|
+
rel: {
|
|
2068
|
+
required: false,
|
|
2069
|
+
control: "text",
|
|
2070
|
+
type: "string",
|
|
2071
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
2072
|
+
},
|
|
1699
2073
|
resource: { required: false, control: "text", type: "string" },
|
|
1700
2074
|
results: { required: false, control: "number", type: "number" },
|
|
1701
2075
|
rev: { required: false, control: "text", type: "string" },
|
|
1702
|
-
role: {
|
|
2076
|
+
role: {
|
|
2077
|
+
required: false,
|
|
2078
|
+
control: "text",
|
|
2079
|
+
type: "string",
|
|
2080
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
2081
|
+
},
|
|
1703
2082
|
security: { required: false, control: "text", type: "string" },
|
|
1704
|
-
slot: {
|
|
1705
|
-
|
|
2083
|
+
slot: {
|
|
2084
|
+
required: false,
|
|
2085
|
+
control: "text",
|
|
2086
|
+
type: "string",
|
|
2087
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
2088
|
+
},
|
|
2089
|
+
spellCheck: {
|
|
2090
|
+
required: false,
|
|
2091
|
+
control: "boolean",
|
|
2092
|
+
type: "boolean",
|
|
2093
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
2094
|
+
},
|
|
1706
2095
|
suppressContentEditableWarning: {
|
|
1707
2096
|
required: false,
|
|
1708
2097
|
control: "boolean",
|
|
@@ -1713,19 +2102,31 @@ const propsAccordionTrigger = {
|
|
|
1713
2102
|
control: "boolean",
|
|
1714
2103
|
type: "boolean"
|
|
1715
2104
|
},
|
|
1716
|
-
tabIndex: {
|
|
1717
|
-
|
|
2105
|
+
tabIndex: {
|
|
2106
|
+
required: false,
|
|
2107
|
+
control: "number",
|
|
2108
|
+
type: "number",
|
|
2109
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
2110
|
+
},
|
|
2111
|
+
title: {
|
|
2112
|
+
required: false,
|
|
2113
|
+
control: "text",
|
|
2114
|
+
type: "string",
|
|
2115
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
2116
|
+
},
|
|
1718
2117
|
translate: {
|
|
1719
2118
|
required: false,
|
|
1720
2119
|
control: "radio",
|
|
1721
2120
|
type: "string",
|
|
1722
|
-
options: ["yes", "no"]
|
|
2121
|
+
options: ["yes", "no"],
|
|
2122
|
+
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."
|
|
1723
2123
|
},
|
|
1724
2124
|
type: {
|
|
1725
2125
|
required: false,
|
|
1726
2126
|
control: "radio",
|
|
1727
2127
|
type: "string",
|
|
1728
|
-
options: ["button", "submit", "reset"]
|
|
2128
|
+
options: ["button", "submit", "reset"],
|
|
2129
|
+
description: "Defines the type of the element."
|
|
1729
2130
|
},
|
|
1730
2131
|
typeof: { required: false, control: "text", type: "string" },
|
|
1731
2132
|
unselectable: {
|
|
@@ -1738,7 +2139,12 @@ const propsAccordionTrigger = {
|
|
|
1738
2139
|
};
|
|
1739
2140
|
const propsAccordionContent = {
|
|
1740
2141
|
about: { required: false, control: "text", type: "string" },
|
|
1741
|
-
accessKey: {
|
|
2142
|
+
accessKey: {
|
|
2143
|
+
required: false,
|
|
2144
|
+
control: "text",
|
|
2145
|
+
type: "string",
|
|
2146
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
2147
|
+
},
|
|
1742
2148
|
"aria-activedescendant": {
|
|
1743
2149
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
1744
2150
|
required: false,
|
|
@@ -1894,7 +2300,7 @@ const propsAccordionContent = {
|
|
|
1894
2300
|
type: "string"
|
|
1895
2301
|
},
|
|
1896
2302
|
"aria-label": {
|
|
1897
|
-
description: "
|
|
2303
|
+
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.",
|
|
1898
2304
|
required: false,
|
|
1899
2305
|
control: "text",
|
|
1900
2306
|
type: "string"
|
|
@@ -2070,20 +2476,64 @@ const propsAccordionContent = {
|
|
|
2070
2476
|
control: "text",
|
|
2071
2477
|
type: "string"
|
|
2072
2478
|
},
|
|
2073
|
-
autoCapitalize: {
|
|
2479
|
+
autoCapitalize: {
|
|
2480
|
+
required: false,
|
|
2481
|
+
control: "text",
|
|
2482
|
+
type: "string",
|
|
2483
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
2484
|
+
},
|
|
2074
2485
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
2075
|
-
autoFocus: {
|
|
2486
|
+
autoFocus: {
|
|
2487
|
+
required: false,
|
|
2488
|
+
control: "boolean",
|
|
2489
|
+
type: "boolean",
|
|
2490
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
2491
|
+
},
|
|
2076
2492
|
autoSave: { required: false, control: "text", type: "string" },
|
|
2077
2493
|
className: { required: false, control: "text", type: "string" },
|
|
2078
|
-
color: {
|
|
2079
|
-
|
|
2080
|
-
|
|
2494
|
+
color: {
|
|
2495
|
+
required: false,
|
|
2496
|
+
control: "color",
|
|
2497
|
+
type: "string",
|
|
2498
|
+
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."
|
|
2499
|
+
},
|
|
2500
|
+
content: {
|
|
2501
|
+
required: false,
|
|
2502
|
+
control: "text",
|
|
2503
|
+
type: "string",
|
|
2504
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
2505
|
+
},
|
|
2506
|
+
contextMenu: {
|
|
2507
|
+
required: false,
|
|
2508
|
+
control: "text",
|
|
2509
|
+
type: "string",
|
|
2510
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
2511
|
+
},
|
|
2081
2512
|
datatype: { required: false, control: "text", type: "string" },
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2513
|
+
dir: {
|
|
2514
|
+
required: false,
|
|
2515
|
+
control: "text",
|
|
2516
|
+
type: "string",
|
|
2517
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
2518
|
+
},
|
|
2519
|
+
draggable: {
|
|
2520
|
+
required: false,
|
|
2521
|
+
control: "boolean",
|
|
2522
|
+
type: "boolean",
|
|
2523
|
+
description: "Defines whether the element can be dragged."
|
|
2524
|
+
},
|
|
2525
|
+
hidden: {
|
|
2526
|
+
required: false,
|
|
2527
|
+
control: "boolean",
|
|
2528
|
+
type: "boolean",
|
|
2529
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
2530
|
+
},
|
|
2531
|
+
id: {
|
|
2532
|
+
required: false,
|
|
2533
|
+
control: "text",
|
|
2534
|
+
type: "string",
|
|
2535
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
2536
|
+
},
|
|
2087
2537
|
inputMode: {
|
|
2088
2538
|
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",
|
|
2089
2539
|
required: false,
|
|
@@ -2111,20 +2561,50 @@ const propsAccordionContent = {
|
|
|
2111
2561
|
itemRef: { required: false, control: "text", type: "string" },
|
|
2112
2562
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
2113
2563
|
itemType: { required: false, control: "text", type: "string" },
|
|
2114
|
-
lang: {
|
|
2564
|
+
lang: {
|
|
2565
|
+
required: false,
|
|
2566
|
+
control: "text",
|
|
2567
|
+
type: "string",
|
|
2568
|
+
description: "Defines the language used in the element."
|
|
2569
|
+
},
|
|
2115
2570
|
nonce: { required: false, control: "text", type: "string" },
|
|
2116
|
-
placeholder: {
|
|
2571
|
+
placeholder: {
|
|
2572
|
+
required: false,
|
|
2573
|
+
control: "text",
|
|
2574
|
+
type: "string",
|
|
2575
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
2576
|
+
},
|
|
2117
2577
|
prefix: { required: false, control: "text", type: "string" },
|
|
2118
2578
|
property: { required: false, control: "text", type: "string" },
|
|
2119
2579
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
2120
|
-
rel: {
|
|
2580
|
+
rel: {
|
|
2581
|
+
required: false,
|
|
2582
|
+
control: "text",
|
|
2583
|
+
type: "string",
|
|
2584
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
2585
|
+
},
|
|
2121
2586
|
resource: { required: false, control: "text", type: "string" },
|
|
2122
2587
|
results: { required: false, control: "number", type: "number" },
|
|
2123
2588
|
rev: { required: false, control: "text", type: "string" },
|
|
2124
|
-
role: {
|
|
2589
|
+
role: {
|
|
2590
|
+
required: false,
|
|
2591
|
+
control: "text",
|
|
2592
|
+
type: "string",
|
|
2593
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
2594
|
+
},
|
|
2125
2595
|
security: { required: false, control: "text", type: "string" },
|
|
2126
|
-
slot: {
|
|
2127
|
-
|
|
2596
|
+
slot: {
|
|
2597
|
+
required: false,
|
|
2598
|
+
control: "text",
|
|
2599
|
+
type: "string",
|
|
2600
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
2601
|
+
},
|
|
2602
|
+
spellCheck: {
|
|
2603
|
+
required: false,
|
|
2604
|
+
control: "boolean",
|
|
2605
|
+
type: "boolean",
|
|
2606
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
2607
|
+
},
|
|
2128
2608
|
suppressContentEditableWarning: {
|
|
2129
2609
|
required: false,
|
|
2130
2610
|
control: "boolean",
|
|
@@ -2135,13 +2615,24 @@ const propsAccordionContent = {
|
|
|
2135
2615
|
control: "boolean",
|
|
2136
2616
|
type: "boolean"
|
|
2137
2617
|
},
|
|
2138
|
-
tabIndex: {
|
|
2139
|
-
|
|
2618
|
+
tabIndex: {
|
|
2619
|
+
required: false,
|
|
2620
|
+
control: "number",
|
|
2621
|
+
type: "number",
|
|
2622
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
2623
|
+
},
|
|
2624
|
+
title: {
|
|
2625
|
+
required: false,
|
|
2626
|
+
control: "text",
|
|
2627
|
+
type: "string",
|
|
2628
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
2629
|
+
},
|
|
2140
2630
|
translate: {
|
|
2141
2631
|
required: false,
|
|
2142
2632
|
control: "radio",
|
|
2143
2633
|
type: "string",
|
|
2144
|
-
options: ["yes", "no"]
|
|
2634
|
+
options: ["yes", "no"],
|
|
2635
|
+
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."
|
|
2145
2636
|
},
|
|
2146
2637
|
typeof: { required: false, control: "text", type: "string" },
|
|
2147
2638
|
unselectable: {
|