@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
|
@@ -2,7 +2,12 @@ import type { PropMeta } from "@webstudio-is/generate-arg-types";
|
|
|
2
2
|
|
|
3
3
|
export const propsAccordion: Record<string, PropMeta> = {
|
|
4
4
|
about: { required: false, control: "text", type: "string" },
|
|
5
|
-
accessKey: {
|
|
5
|
+
accessKey: {
|
|
6
|
+
required: false,
|
|
7
|
+
control: "text",
|
|
8
|
+
type: "string",
|
|
9
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
10
|
+
},
|
|
6
11
|
"aria-activedescendant": {
|
|
7
12
|
description:
|
|
8
13
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -183,7 +188,7 @@ export const propsAccordion: Record<string, PropMeta> = {
|
|
|
183
188
|
},
|
|
184
189
|
"aria-label": {
|
|
185
190
|
description:
|
|
186
|
-
"
|
|
191
|
+
"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",
|
|
@@ -382,16 +387,45 @@ export const propsAccordion: Record<string, PropMeta> = {
|
|
|
382
387
|
control: "text",
|
|
383
388
|
type: "string",
|
|
384
389
|
},
|
|
385
|
-
autoCapitalize: {
|
|
390
|
+
autoCapitalize: {
|
|
391
|
+
required: false,
|
|
392
|
+
control: "text",
|
|
393
|
+
type: "string",
|
|
394
|
+
description:
|
|
395
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
396
|
+
},
|
|
386
397
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
387
|
-
autoFocus: {
|
|
398
|
+
autoFocus: {
|
|
399
|
+
required: false,
|
|
400
|
+
control: "boolean",
|
|
401
|
+
type: "boolean",
|
|
402
|
+
description:
|
|
403
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
404
|
+
},
|
|
388
405
|
autoSave: { required: false, control: "text", type: "string" },
|
|
389
406
|
className: { required: false, control: "text", type: "string" },
|
|
390
|
-
color: {
|
|
391
|
-
|
|
392
|
-
|
|
407
|
+
color: {
|
|
408
|
+
required: false,
|
|
409
|
+
control: "color",
|
|
410
|
+
type: "string",
|
|
411
|
+
description:
|
|
412
|
+
"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.",
|
|
413
|
+
},
|
|
414
|
+
content: {
|
|
415
|
+
required: false,
|
|
416
|
+
control: "text",
|
|
417
|
+
type: "string",
|
|
418
|
+
description:
|
|
419
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
420
|
+
},
|
|
421
|
+
contextMenu: {
|
|
422
|
+
required: false,
|
|
423
|
+
control: "text",
|
|
424
|
+
type: "string",
|
|
425
|
+
description:
|
|
426
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
427
|
+
},
|
|
393
428
|
datatype: { required: false, control: "text", type: "string" },
|
|
394
|
-
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
395
429
|
dir: {
|
|
396
430
|
description: "The language read direction.",
|
|
397
431
|
required: false,
|
|
@@ -406,9 +440,26 @@ export const propsAccordion: Record<string, PropMeta> = {
|
|
|
406
440
|
control: "boolean",
|
|
407
441
|
type: "boolean",
|
|
408
442
|
},
|
|
409
|
-
draggable: {
|
|
410
|
-
|
|
411
|
-
|
|
443
|
+
draggable: {
|
|
444
|
+
required: false,
|
|
445
|
+
control: "boolean",
|
|
446
|
+
type: "boolean",
|
|
447
|
+
description: "Defines whether the element can be dragged.",
|
|
448
|
+
},
|
|
449
|
+
hidden: {
|
|
450
|
+
required: false,
|
|
451
|
+
control: "boolean",
|
|
452
|
+
type: "boolean",
|
|
453
|
+
description:
|
|
454
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
455
|
+
},
|
|
456
|
+
id: {
|
|
457
|
+
required: false,
|
|
458
|
+
control: "text",
|
|
459
|
+
type: "string",
|
|
460
|
+
description:
|
|
461
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
462
|
+
},
|
|
412
463
|
inputMode: {
|
|
413
464
|
description:
|
|
414
465
|
"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",
|
|
@@ -438,7 +489,12 @@ export const propsAccordion: Record<string, PropMeta> = {
|
|
|
438
489
|
itemRef: { required: false, control: "text", type: "string" },
|
|
439
490
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
440
491
|
itemType: { required: false, control: "text", type: "string" },
|
|
441
|
-
lang: {
|
|
492
|
+
lang: {
|
|
493
|
+
required: false,
|
|
494
|
+
control: "text",
|
|
495
|
+
type: "string",
|
|
496
|
+
description: "Defines the language used in the element.",
|
|
497
|
+
},
|
|
442
498
|
nonce: { required: false, control: "text", type: "string" },
|
|
443
499
|
orientation: {
|
|
444
500
|
description: "The layout in which the Accordion operates.",
|
|
@@ -448,18 +504,46 @@ export const propsAccordion: Record<string, PropMeta> = {
|
|
|
448
504
|
defaultValue: "vertical",
|
|
449
505
|
options: ["horizontal", "vertical"],
|
|
450
506
|
},
|
|
451
|
-
placeholder: {
|
|
507
|
+
placeholder: {
|
|
508
|
+
required: false,
|
|
509
|
+
control: "text",
|
|
510
|
+
type: "string",
|
|
511
|
+
description:
|
|
512
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
513
|
+
},
|
|
452
514
|
prefix: { required: false, control: "text", type: "string" },
|
|
453
515
|
property: { required: false, control: "text", type: "string" },
|
|
454
516
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
455
|
-
rel: {
|
|
517
|
+
rel: {
|
|
518
|
+
required: false,
|
|
519
|
+
control: "text",
|
|
520
|
+
type: "string",
|
|
521
|
+
description:
|
|
522
|
+
"Specifies the relationship of the target object to the link object.",
|
|
523
|
+
},
|
|
456
524
|
resource: { required: false, control: "text", type: "string" },
|
|
457
525
|
results: { required: false, control: "number", type: "number" },
|
|
458
526
|
rev: { required: false, control: "text", type: "string" },
|
|
459
|
-
role: {
|
|
527
|
+
role: {
|
|
528
|
+
required: false,
|
|
529
|
+
control: "text",
|
|
530
|
+
type: "string",
|
|
531
|
+
description:
|
|
532
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
533
|
+
},
|
|
460
534
|
security: { required: false, control: "text", type: "string" },
|
|
461
|
-
slot: {
|
|
462
|
-
|
|
535
|
+
slot: {
|
|
536
|
+
required: false,
|
|
537
|
+
control: "text",
|
|
538
|
+
type: "string",
|
|
539
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
540
|
+
},
|
|
541
|
+
spellCheck: {
|
|
542
|
+
required: false,
|
|
543
|
+
control: "boolean",
|
|
544
|
+
type: "boolean",
|
|
545
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
546
|
+
},
|
|
463
547
|
suppressContentEditableWarning: {
|
|
464
548
|
required: false,
|
|
465
549
|
control: "boolean",
|
|
@@ -470,13 +554,27 @@ export const propsAccordion: Record<string, PropMeta> = {
|
|
|
470
554
|
control: "boolean",
|
|
471
555
|
type: "boolean",
|
|
472
556
|
},
|
|
473
|
-
tabIndex: {
|
|
474
|
-
|
|
557
|
+
tabIndex: {
|
|
558
|
+
required: false,
|
|
559
|
+
control: "number",
|
|
560
|
+
type: "number",
|
|
561
|
+
description:
|
|
562
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
563
|
+
},
|
|
564
|
+
title: {
|
|
565
|
+
required: false,
|
|
566
|
+
control: "text",
|
|
567
|
+
type: "string",
|
|
568
|
+
description:
|
|
569
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
570
|
+
},
|
|
475
571
|
translate: {
|
|
476
572
|
required: false,
|
|
477
573
|
control: "radio",
|
|
478
574
|
type: "string",
|
|
479
575
|
options: ["yes", "no"],
|
|
576
|
+
description:
|
|
577
|
+
"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.",
|
|
480
578
|
},
|
|
481
579
|
typeof: { required: false, control: "text", type: "string" },
|
|
482
580
|
unselectable: {
|
|
@@ -485,12 +583,23 @@ export const propsAccordion: Record<string, PropMeta> = {
|
|
|
485
583
|
type: "string",
|
|
486
584
|
options: ["on", "off"],
|
|
487
585
|
},
|
|
488
|
-
value: {
|
|
586
|
+
value: {
|
|
587
|
+
required: true,
|
|
588
|
+
control: "text",
|
|
589
|
+
type: "string",
|
|
590
|
+
description:
|
|
591
|
+
"Defines a default value which will be displayed in the element on pageload.",
|
|
592
|
+
},
|
|
489
593
|
vocab: { required: false, control: "text", type: "string" },
|
|
490
594
|
};
|
|
491
595
|
export const propsAccordionItem: Record<string, PropMeta> = {
|
|
492
596
|
about: { required: false, control: "text", type: "string" },
|
|
493
|
-
accessKey: {
|
|
597
|
+
accessKey: {
|
|
598
|
+
required: false,
|
|
599
|
+
control: "text",
|
|
600
|
+
type: "string",
|
|
601
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
602
|
+
},
|
|
494
603
|
"aria-activedescendant": {
|
|
495
604
|
description:
|
|
496
605
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -671,7 +780,7 @@ export const propsAccordionItem: Record<string, PropMeta> = {
|
|
|
671
780
|
},
|
|
672
781
|
"aria-label": {
|
|
673
782
|
description:
|
|
674
|
-
"
|
|
783
|
+
"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.",
|
|
675
784
|
required: false,
|
|
676
785
|
control: "text",
|
|
677
786
|
type: "string",
|
|
@@ -870,17 +979,52 @@ export const propsAccordionItem: Record<string, PropMeta> = {
|
|
|
870
979
|
control: "text",
|
|
871
980
|
type: "string",
|
|
872
981
|
},
|
|
873
|
-
autoCapitalize: {
|
|
982
|
+
autoCapitalize: {
|
|
983
|
+
required: false,
|
|
984
|
+
control: "text",
|
|
985
|
+
type: "string",
|
|
986
|
+
description:
|
|
987
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
988
|
+
},
|
|
874
989
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
875
|
-
autoFocus: {
|
|
990
|
+
autoFocus: {
|
|
991
|
+
required: false,
|
|
992
|
+
control: "boolean",
|
|
993
|
+
type: "boolean",
|
|
994
|
+
description:
|
|
995
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
996
|
+
},
|
|
876
997
|
autoSave: { required: false, control: "text", type: "string" },
|
|
877
998
|
className: { required: false, control: "text", type: "string" },
|
|
878
|
-
color: {
|
|
879
|
-
|
|
880
|
-
|
|
999
|
+
color: {
|
|
1000
|
+
required: false,
|
|
1001
|
+
control: "color",
|
|
1002
|
+
type: "string",
|
|
1003
|
+
description:
|
|
1004
|
+
"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.",
|
|
1005
|
+
},
|
|
1006
|
+
content: {
|
|
1007
|
+
required: false,
|
|
1008
|
+
control: "text",
|
|
1009
|
+
type: "string",
|
|
1010
|
+
description:
|
|
1011
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
1012
|
+
},
|
|
1013
|
+
contextMenu: {
|
|
1014
|
+
required: false,
|
|
1015
|
+
control: "text",
|
|
1016
|
+
type: "string",
|
|
1017
|
+
description:
|
|
1018
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
1019
|
+
},
|
|
881
1020
|
datatype: { required: false, control: "text", type: "string" },
|
|
882
|
-
|
|
883
|
-
|
|
1021
|
+
dir: {
|
|
1022
|
+
required: false,
|
|
1023
|
+
control: "text",
|
|
1024
|
+
type: "string",
|
|
1025
|
+
description:
|
|
1026
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
1027
|
+
},
|
|
884
1028
|
disabled: {
|
|
885
1029
|
description:
|
|
886
1030
|
"Whether or not an accordion item is disabled from user interaction.\n@defaultValue false",
|
|
@@ -888,9 +1032,26 @@ export const propsAccordionItem: Record<string, PropMeta> = {
|
|
|
888
1032
|
control: "boolean",
|
|
889
1033
|
type: "boolean",
|
|
890
1034
|
},
|
|
891
|
-
draggable: {
|
|
892
|
-
|
|
893
|
-
|
|
1035
|
+
draggable: {
|
|
1036
|
+
required: false,
|
|
1037
|
+
control: "boolean",
|
|
1038
|
+
type: "boolean",
|
|
1039
|
+
description: "Defines whether the element can be dragged.",
|
|
1040
|
+
},
|
|
1041
|
+
hidden: {
|
|
1042
|
+
required: false,
|
|
1043
|
+
control: "boolean",
|
|
1044
|
+
type: "boolean",
|
|
1045
|
+
description:
|
|
1046
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
1047
|
+
},
|
|
1048
|
+
id: {
|
|
1049
|
+
required: false,
|
|
1050
|
+
control: "text",
|
|
1051
|
+
type: "string",
|
|
1052
|
+
description:
|
|
1053
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
1054
|
+
},
|
|
894
1055
|
inputMode: {
|
|
895
1056
|
description:
|
|
896
1057
|
"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",
|
|
@@ -920,20 +1081,53 @@ export const propsAccordionItem: Record<string, PropMeta> = {
|
|
|
920
1081
|
itemRef: { required: false, control: "text", type: "string" },
|
|
921
1082
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
922
1083
|
itemType: { required: false, control: "text", type: "string" },
|
|
923
|
-
lang: {
|
|
1084
|
+
lang: {
|
|
1085
|
+
required: false,
|
|
1086
|
+
control: "text",
|
|
1087
|
+
type: "string",
|
|
1088
|
+
description: "Defines the language used in the element.",
|
|
1089
|
+
},
|
|
924
1090
|
nonce: { required: false, control: "text", type: "string" },
|
|
925
|
-
placeholder: {
|
|
1091
|
+
placeholder: {
|
|
1092
|
+
required: false,
|
|
1093
|
+
control: "text",
|
|
1094
|
+
type: "string",
|
|
1095
|
+
description:
|
|
1096
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
1097
|
+
},
|
|
926
1098
|
prefix: { required: false, control: "text", type: "string" },
|
|
927
1099
|
property: { required: false, control: "text", type: "string" },
|
|
928
1100
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
929
|
-
rel: {
|
|
1101
|
+
rel: {
|
|
1102
|
+
required: false,
|
|
1103
|
+
control: "text",
|
|
1104
|
+
type: "string",
|
|
1105
|
+
description:
|
|
1106
|
+
"Specifies the relationship of the target object to the link object.",
|
|
1107
|
+
},
|
|
930
1108
|
resource: { required: false, control: "text", type: "string" },
|
|
931
1109
|
results: { required: false, control: "number", type: "number" },
|
|
932
1110
|
rev: { required: false, control: "text", type: "string" },
|
|
933
|
-
role: {
|
|
1111
|
+
role: {
|
|
1112
|
+
required: false,
|
|
1113
|
+
control: "text",
|
|
1114
|
+
type: "string",
|
|
1115
|
+
description:
|
|
1116
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
1117
|
+
},
|
|
934
1118
|
security: { required: false, control: "text", type: "string" },
|
|
935
|
-
slot: {
|
|
936
|
-
|
|
1119
|
+
slot: {
|
|
1120
|
+
required: false,
|
|
1121
|
+
control: "text",
|
|
1122
|
+
type: "string",
|
|
1123
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
1124
|
+
},
|
|
1125
|
+
spellCheck: {
|
|
1126
|
+
required: false,
|
|
1127
|
+
control: "boolean",
|
|
1128
|
+
type: "boolean",
|
|
1129
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
1130
|
+
},
|
|
937
1131
|
suppressContentEditableWarning: {
|
|
938
1132
|
required: false,
|
|
939
1133
|
control: "boolean",
|
|
@@ -944,13 +1138,27 @@ export const propsAccordionItem: Record<string, PropMeta> = {
|
|
|
944
1138
|
control: "boolean",
|
|
945
1139
|
type: "boolean",
|
|
946
1140
|
},
|
|
947
|
-
tabIndex: {
|
|
948
|
-
|
|
1141
|
+
tabIndex: {
|
|
1142
|
+
required: false,
|
|
1143
|
+
control: "number",
|
|
1144
|
+
type: "number",
|
|
1145
|
+
description:
|
|
1146
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
1147
|
+
},
|
|
1148
|
+
title: {
|
|
1149
|
+
required: false,
|
|
1150
|
+
control: "text",
|
|
1151
|
+
type: "string",
|
|
1152
|
+
description:
|
|
1153
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
1154
|
+
},
|
|
949
1155
|
translate: {
|
|
950
1156
|
required: false,
|
|
951
1157
|
control: "radio",
|
|
952
1158
|
type: "string",
|
|
953
1159
|
options: ["yes", "no"],
|
|
1160
|
+
description:
|
|
1161
|
+
"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.",
|
|
954
1162
|
},
|
|
955
1163
|
typeof: { required: false, control: "text", type: "string" },
|
|
956
1164
|
unselectable: {
|
|
@@ -970,7 +1178,12 @@ export const propsAccordionItem: Record<string, PropMeta> = {
|
|
|
970
1178
|
};
|
|
971
1179
|
export const propsAccordionHeader: Record<string, PropMeta> = {
|
|
972
1180
|
about: { required: false, control: "text", type: "string" },
|
|
973
|
-
accessKey: {
|
|
1181
|
+
accessKey: {
|
|
1182
|
+
required: false,
|
|
1183
|
+
control: "text",
|
|
1184
|
+
type: "string",
|
|
1185
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
1186
|
+
},
|
|
974
1187
|
"aria-activedescendant": {
|
|
975
1188
|
description:
|
|
976
1189
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -1151,7 +1364,7 @@ export const propsAccordionHeader: Record<string, PropMeta> = {
|
|
|
1151
1364
|
},
|
|
1152
1365
|
"aria-label": {
|
|
1153
1366
|
description:
|
|
1154
|
-
"
|
|
1367
|
+
"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.",
|
|
1155
1368
|
required: false,
|
|
1156
1369
|
control: "text",
|
|
1157
1370
|
type: "string",
|
|
@@ -1350,20 +1563,72 @@ export const propsAccordionHeader: Record<string, PropMeta> = {
|
|
|
1350
1563
|
control: "text",
|
|
1351
1564
|
type: "string",
|
|
1352
1565
|
},
|
|
1353
|
-
autoCapitalize: {
|
|
1566
|
+
autoCapitalize: {
|
|
1567
|
+
required: false,
|
|
1568
|
+
control: "text",
|
|
1569
|
+
type: "string",
|
|
1570
|
+
description:
|
|
1571
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
1572
|
+
},
|
|
1354
1573
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1355
|
-
autoFocus: {
|
|
1574
|
+
autoFocus: {
|
|
1575
|
+
required: false,
|
|
1576
|
+
control: "boolean",
|
|
1577
|
+
type: "boolean",
|
|
1578
|
+
description:
|
|
1579
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
1580
|
+
},
|
|
1356
1581
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1357
1582
|
className: { required: false, control: "text", type: "string" },
|
|
1358
|
-
color: {
|
|
1359
|
-
|
|
1360
|
-
|
|
1583
|
+
color: {
|
|
1584
|
+
required: false,
|
|
1585
|
+
control: "color",
|
|
1586
|
+
type: "string",
|
|
1587
|
+
description:
|
|
1588
|
+
"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.",
|
|
1589
|
+
},
|
|
1590
|
+
content: {
|
|
1591
|
+
required: false,
|
|
1592
|
+
control: "text",
|
|
1593
|
+
type: "string",
|
|
1594
|
+
description:
|
|
1595
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
1596
|
+
},
|
|
1597
|
+
contextMenu: {
|
|
1598
|
+
required: false,
|
|
1599
|
+
control: "text",
|
|
1600
|
+
type: "string",
|
|
1601
|
+
description:
|
|
1602
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
1603
|
+
},
|
|
1361
1604
|
datatype: { required: false, control: "text", type: "string" },
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1605
|
+
dir: {
|
|
1606
|
+
required: false,
|
|
1607
|
+
control: "text",
|
|
1608
|
+
type: "string",
|
|
1609
|
+
description:
|
|
1610
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
1611
|
+
},
|
|
1612
|
+
draggable: {
|
|
1613
|
+
required: false,
|
|
1614
|
+
control: "boolean",
|
|
1615
|
+
type: "boolean",
|
|
1616
|
+
description: "Defines whether the element can be dragged.",
|
|
1617
|
+
},
|
|
1618
|
+
hidden: {
|
|
1619
|
+
required: false,
|
|
1620
|
+
control: "boolean",
|
|
1621
|
+
type: "boolean",
|
|
1622
|
+
description:
|
|
1623
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
1624
|
+
},
|
|
1625
|
+
id: {
|
|
1626
|
+
required: false,
|
|
1627
|
+
control: "text",
|
|
1628
|
+
type: "string",
|
|
1629
|
+
description:
|
|
1630
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
1631
|
+
},
|
|
1367
1632
|
inputMode: {
|
|
1368
1633
|
description:
|
|
1369
1634
|
"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",
|
|
@@ -1393,20 +1658,53 @@ export const propsAccordionHeader: Record<string, PropMeta> = {
|
|
|
1393
1658
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1394
1659
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1395
1660
|
itemType: { required: false, control: "text", type: "string" },
|
|
1396
|
-
lang: {
|
|
1661
|
+
lang: {
|
|
1662
|
+
required: false,
|
|
1663
|
+
control: "text",
|
|
1664
|
+
type: "string",
|
|
1665
|
+
description: "Defines the language used in the element.",
|
|
1666
|
+
},
|
|
1397
1667
|
nonce: { required: false, control: "text", type: "string" },
|
|
1398
|
-
placeholder: {
|
|
1668
|
+
placeholder: {
|
|
1669
|
+
required: false,
|
|
1670
|
+
control: "text",
|
|
1671
|
+
type: "string",
|
|
1672
|
+
description:
|
|
1673
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
1674
|
+
},
|
|
1399
1675
|
prefix: { required: false, control: "text", type: "string" },
|
|
1400
1676
|
property: { required: false, control: "text", type: "string" },
|
|
1401
1677
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1402
|
-
rel: {
|
|
1678
|
+
rel: {
|
|
1679
|
+
required: false,
|
|
1680
|
+
control: "text",
|
|
1681
|
+
type: "string",
|
|
1682
|
+
description:
|
|
1683
|
+
"Specifies the relationship of the target object to the link object.",
|
|
1684
|
+
},
|
|
1403
1685
|
resource: { required: false, control: "text", type: "string" },
|
|
1404
1686
|
results: { required: false, control: "number", type: "number" },
|
|
1405
1687
|
rev: { required: false, control: "text", type: "string" },
|
|
1406
|
-
role: {
|
|
1688
|
+
role: {
|
|
1689
|
+
required: false,
|
|
1690
|
+
control: "text",
|
|
1691
|
+
type: "string",
|
|
1692
|
+
description:
|
|
1693
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
1694
|
+
},
|
|
1407
1695
|
security: { required: false, control: "text", type: "string" },
|
|
1408
|
-
slot: {
|
|
1409
|
-
|
|
1696
|
+
slot: {
|
|
1697
|
+
required: false,
|
|
1698
|
+
control: "text",
|
|
1699
|
+
type: "string",
|
|
1700
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
1701
|
+
},
|
|
1702
|
+
spellCheck: {
|
|
1703
|
+
required: false,
|
|
1704
|
+
control: "boolean",
|
|
1705
|
+
type: "boolean",
|
|
1706
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
1707
|
+
},
|
|
1410
1708
|
suppressContentEditableWarning: {
|
|
1411
1709
|
required: false,
|
|
1412
1710
|
control: "boolean",
|
|
@@ -1417,13 +1715,27 @@ export const propsAccordionHeader: Record<string, PropMeta> = {
|
|
|
1417
1715
|
control: "boolean",
|
|
1418
1716
|
type: "boolean",
|
|
1419
1717
|
},
|
|
1420
|
-
tabIndex: {
|
|
1421
|
-
|
|
1718
|
+
tabIndex: {
|
|
1719
|
+
required: false,
|
|
1720
|
+
control: "number",
|
|
1721
|
+
type: "number",
|
|
1722
|
+
description:
|
|
1723
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
1724
|
+
},
|
|
1725
|
+
title: {
|
|
1726
|
+
required: false,
|
|
1727
|
+
control: "text",
|
|
1728
|
+
type: "string",
|
|
1729
|
+
description:
|
|
1730
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
1731
|
+
},
|
|
1422
1732
|
translate: {
|
|
1423
1733
|
required: false,
|
|
1424
1734
|
control: "radio",
|
|
1425
1735
|
type: "string",
|
|
1426
1736
|
options: ["yes", "no"],
|
|
1737
|
+
description:
|
|
1738
|
+
"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.",
|
|
1427
1739
|
},
|
|
1428
1740
|
typeof: { required: false, control: "text", type: "string" },
|
|
1429
1741
|
unselectable: {
|
|
@@ -1436,7 +1748,12 @@ export const propsAccordionHeader: Record<string, PropMeta> = {
|
|
|
1436
1748
|
};
|
|
1437
1749
|
export const propsAccordionTrigger: Record<string, PropMeta> = {
|
|
1438
1750
|
about: { required: false, control: "text", type: "string" },
|
|
1439
|
-
accessKey: {
|
|
1751
|
+
accessKey: {
|
|
1752
|
+
required: false,
|
|
1753
|
+
control: "text",
|
|
1754
|
+
type: "string",
|
|
1755
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
1756
|
+
},
|
|
1440
1757
|
"aria-activedescendant": {
|
|
1441
1758
|
description:
|
|
1442
1759
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -1617,7 +1934,7 @@ export const propsAccordionTrigger: Record<string, PropMeta> = {
|
|
|
1617
1934
|
},
|
|
1618
1935
|
"aria-label": {
|
|
1619
1936
|
description:
|
|
1620
|
-
"
|
|
1937
|
+
"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.",
|
|
1621
1938
|
required: false,
|
|
1622
1939
|
control: "text",
|
|
1623
1940
|
type: "string",
|
|
@@ -1816,27 +2133,119 @@ export const propsAccordionTrigger: Record<string, PropMeta> = {
|
|
|
1816
2133
|
control: "text",
|
|
1817
2134
|
type: "string",
|
|
1818
2135
|
},
|
|
1819
|
-
autoCapitalize: {
|
|
2136
|
+
autoCapitalize: {
|
|
2137
|
+
required: false,
|
|
2138
|
+
control: "text",
|
|
2139
|
+
type: "string",
|
|
2140
|
+
description:
|
|
2141
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
2142
|
+
},
|
|
1820
2143
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1821
|
-
autoFocus: {
|
|
2144
|
+
autoFocus: {
|
|
2145
|
+
required: false,
|
|
2146
|
+
control: "boolean",
|
|
2147
|
+
type: "boolean",
|
|
2148
|
+
description:
|
|
2149
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
2150
|
+
},
|
|
1822
2151
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1823
2152
|
className: { required: false, control: "text", type: "string" },
|
|
1824
|
-
color: {
|
|
1825
|
-
|
|
1826
|
-
|
|
2153
|
+
color: {
|
|
2154
|
+
required: false,
|
|
2155
|
+
control: "color",
|
|
2156
|
+
type: "string",
|
|
2157
|
+
description:
|
|
2158
|
+
"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.",
|
|
2159
|
+
},
|
|
2160
|
+
content: {
|
|
2161
|
+
required: false,
|
|
2162
|
+
control: "text",
|
|
2163
|
+
type: "string",
|
|
2164
|
+
description:
|
|
2165
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
2166
|
+
},
|
|
2167
|
+
contextMenu: {
|
|
2168
|
+
required: false,
|
|
2169
|
+
control: "text",
|
|
2170
|
+
type: "string",
|
|
2171
|
+
description:
|
|
2172
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
2173
|
+
},
|
|
1827
2174
|
datatype: { required: false, control: "text", type: "string" },
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
2175
|
+
dir: {
|
|
2176
|
+
required: false,
|
|
2177
|
+
control: "text",
|
|
2178
|
+
type: "string",
|
|
2179
|
+
description:
|
|
2180
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
2181
|
+
},
|
|
2182
|
+
disabled: {
|
|
2183
|
+
required: false,
|
|
2184
|
+
control: "boolean",
|
|
2185
|
+
type: "boolean",
|
|
2186
|
+
description: "Indicates whether the user can interact with the element.",
|
|
2187
|
+
},
|
|
2188
|
+
draggable: {
|
|
2189
|
+
required: false,
|
|
2190
|
+
control: "boolean",
|
|
2191
|
+
type: "boolean",
|
|
2192
|
+
description: "Defines whether the element can be dragged.",
|
|
2193
|
+
},
|
|
2194
|
+
form: {
|
|
2195
|
+
required: false,
|
|
2196
|
+
control: "text",
|
|
2197
|
+
type: "string",
|
|
2198
|
+
description: "Indicates the form that is the owner of the element.",
|
|
2199
|
+
},
|
|
2200
|
+
formAction: {
|
|
2201
|
+
required: false,
|
|
2202
|
+
control: "text",
|
|
2203
|
+
type: "string",
|
|
2204
|
+
description:
|
|
2205
|
+
"Indicates the action of the element, overriding the action defined inthe form.",
|
|
2206
|
+
},
|
|
2207
|
+
formEncType: {
|
|
2208
|
+
required: false,
|
|
2209
|
+
control: "text",
|
|
2210
|
+
type: "string",
|
|
2211
|
+
description:
|
|
2212
|
+
'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.',
|
|
2213
|
+
},
|
|
2214
|
+
formMethod: {
|
|
2215
|
+
required: false,
|
|
2216
|
+
control: "text",
|
|
2217
|
+
type: "string",
|
|
2218
|
+
description:
|
|
2219
|
+
'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.',
|
|
2220
|
+
},
|
|
2221
|
+
formNoValidate: {
|
|
2222
|
+
required: false,
|
|
2223
|
+
control: "boolean",
|
|
2224
|
+
type: "boolean",
|
|
2225
|
+
description:
|
|
2226
|
+
'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.',
|
|
2227
|
+
},
|
|
2228
|
+
formTarget: {
|
|
2229
|
+
required: false,
|
|
2230
|
+
control: "text",
|
|
2231
|
+
type: "string",
|
|
2232
|
+
description:
|
|
2233
|
+
'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.',
|
|
2234
|
+
},
|
|
2235
|
+
hidden: {
|
|
2236
|
+
required: false,
|
|
2237
|
+
control: "boolean",
|
|
2238
|
+
type: "boolean",
|
|
2239
|
+
description:
|
|
2240
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
2241
|
+
},
|
|
2242
|
+
id: {
|
|
2243
|
+
required: false,
|
|
2244
|
+
control: "text",
|
|
2245
|
+
type: "string",
|
|
2246
|
+
description:
|
|
2247
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
2248
|
+
},
|
|
1840
2249
|
inputMode: {
|
|
1841
2250
|
description:
|
|
1842
2251
|
"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",
|
|
@@ -1866,21 +2275,60 @@ export const propsAccordionTrigger: Record<string, PropMeta> = {
|
|
|
1866
2275
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1867
2276
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1868
2277
|
itemType: { required: false, control: "text", type: "string" },
|
|
1869
|
-
lang: {
|
|
1870
|
-
|
|
2278
|
+
lang: {
|
|
2279
|
+
required: false,
|
|
2280
|
+
control: "text",
|
|
2281
|
+
type: "string",
|
|
2282
|
+
description: "Defines the language used in the element.",
|
|
2283
|
+
},
|
|
2284
|
+
name: {
|
|
2285
|
+
required: false,
|
|
2286
|
+
control: "text",
|
|
2287
|
+
type: "string",
|
|
2288
|
+
description:
|
|
2289
|
+
"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).",
|
|
2290
|
+
},
|
|
1871
2291
|
nonce: { required: false, control: "text", type: "string" },
|
|
1872
|
-
placeholder: {
|
|
2292
|
+
placeholder: {
|
|
2293
|
+
required: false,
|
|
2294
|
+
control: "text",
|
|
2295
|
+
type: "string",
|
|
2296
|
+
description:
|
|
2297
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
2298
|
+
},
|
|
1873
2299
|
prefix: { required: false, control: "text", type: "string" },
|
|
1874
2300
|
property: { required: false, control: "text", type: "string" },
|
|
1875
2301
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1876
|
-
rel: {
|
|
2302
|
+
rel: {
|
|
2303
|
+
required: false,
|
|
2304
|
+
control: "text",
|
|
2305
|
+
type: "string",
|
|
2306
|
+
description:
|
|
2307
|
+
"Specifies the relationship of the target object to the link object.",
|
|
2308
|
+
},
|
|
1877
2309
|
resource: { required: false, control: "text", type: "string" },
|
|
1878
2310
|
results: { required: false, control: "number", type: "number" },
|
|
1879
2311
|
rev: { required: false, control: "text", type: "string" },
|
|
1880
|
-
role: {
|
|
2312
|
+
role: {
|
|
2313
|
+
required: false,
|
|
2314
|
+
control: "text",
|
|
2315
|
+
type: "string",
|
|
2316
|
+
description:
|
|
2317
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
2318
|
+
},
|
|
1881
2319
|
security: { required: false, control: "text", type: "string" },
|
|
1882
|
-
slot: {
|
|
1883
|
-
|
|
2320
|
+
slot: {
|
|
2321
|
+
required: false,
|
|
2322
|
+
control: "text",
|
|
2323
|
+
type: "string",
|
|
2324
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
2325
|
+
},
|
|
2326
|
+
spellCheck: {
|
|
2327
|
+
required: false,
|
|
2328
|
+
control: "boolean",
|
|
2329
|
+
type: "boolean",
|
|
2330
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
2331
|
+
},
|
|
1884
2332
|
suppressContentEditableWarning: {
|
|
1885
2333
|
required: false,
|
|
1886
2334
|
control: "boolean",
|
|
@@ -1891,19 +2339,34 @@ export const propsAccordionTrigger: Record<string, PropMeta> = {
|
|
|
1891
2339
|
control: "boolean",
|
|
1892
2340
|
type: "boolean",
|
|
1893
2341
|
},
|
|
1894
|
-
tabIndex: {
|
|
1895
|
-
|
|
2342
|
+
tabIndex: {
|
|
2343
|
+
required: false,
|
|
2344
|
+
control: "number",
|
|
2345
|
+
type: "number",
|
|
2346
|
+
description:
|
|
2347
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
2348
|
+
},
|
|
2349
|
+
title: {
|
|
2350
|
+
required: false,
|
|
2351
|
+
control: "text",
|
|
2352
|
+
type: "string",
|
|
2353
|
+
description:
|
|
2354
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
2355
|
+
},
|
|
1896
2356
|
translate: {
|
|
1897
2357
|
required: false,
|
|
1898
2358
|
control: "radio",
|
|
1899
2359
|
type: "string",
|
|
1900
2360
|
options: ["yes", "no"],
|
|
2361
|
+
description:
|
|
2362
|
+
"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.",
|
|
1901
2363
|
},
|
|
1902
2364
|
type: {
|
|
1903
2365
|
required: false,
|
|
1904
2366
|
control: "radio",
|
|
1905
2367
|
type: "string",
|
|
1906
2368
|
options: ["button", "submit", "reset"],
|
|
2369
|
+
description: "Defines the type of the element.",
|
|
1907
2370
|
},
|
|
1908
2371
|
typeof: { required: false, control: "text", type: "string" },
|
|
1909
2372
|
unselectable: {
|
|
@@ -1916,7 +2379,12 @@ export const propsAccordionTrigger: Record<string, PropMeta> = {
|
|
|
1916
2379
|
};
|
|
1917
2380
|
export const propsAccordionContent: Record<string, PropMeta> = {
|
|
1918
2381
|
about: { required: false, control: "text", type: "string" },
|
|
1919
|
-
accessKey: {
|
|
2382
|
+
accessKey: {
|
|
2383
|
+
required: false,
|
|
2384
|
+
control: "text",
|
|
2385
|
+
type: "string",
|
|
2386
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
2387
|
+
},
|
|
1920
2388
|
"aria-activedescendant": {
|
|
1921
2389
|
description:
|
|
1922
2390
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -2097,7 +2565,7 @@ export const propsAccordionContent: Record<string, PropMeta> = {
|
|
|
2097
2565
|
},
|
|
2098
2566
|
"aria-label": {
|
|
2099
2567
|
description:
|
|
2100
|
-
"
|
|
2568
|
+
"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.",
|
|
2101
2569
|
required: false,
|
|
2102
2570
|
control: "text",
|
|
2103
2571
|
type: "string",
|
|
@@ -2296,20 +2764,72 @@ export const propsAccordionContent: Record<string, PropMeta> = {
|
|
|
2296
2764
|
control: "text",
|
|
2297
2765
|
type: "string",
|
|
2298
2766
|
},
|
|
2299
|
-
autoCapitalize: {
|
|
2767
|
+
autoCapitalize: {
|
|
2768
|
+
required: false,
|
|
2769
|
+
control: "text",
|
|
2770
|
+
type: "string",
|
|
2771
|
+
description:
|
|
2772
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
2773
|
+
},
|
|
2300
2774
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
2301
|
-
autoFocus: {
|
|
2775
|
+
autoFocus: {
|
|
2776
|
+
required: false,
|
|
2777
|
+
control: "boolean",
|
|
2778
|
+
type: "boolean",
|
|
2779
|
+
description:
|
|
2780
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
2781
|
+
},
|
|
2302
2782
|
autoSave: { required: false, control: "text", type: "string" },
|
|
2303
2783
|
className: { required: false, control: "text", type: "string" },
|
|
2304
|
-
color: {
|
|
2305
|
-
|
|
2306
|
-
|
|
2784
|
+
color: {
|
|
2785
|
+
required: false,
|
|
2786
|
+
control: "color",
|
|
2787
|
+
type: "string",
|
|
2788
|
+
description:
|
|
2789
|
+
"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.",
|
|
2790
|
+
},
|
|
2791
|
+
content: {
|
|
2792
|
+
required: false,
|
|
2793
|
+
control: "text",
|
|
2794
|
+
type: "string",
|
|
2795
|
+
description:
|
|
2796
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
2797
|
+
},
|
|
2798
|
+
contextMenu: {
|
|
2799
|
+
required: false,
|
|
2800
|
+
control: "text",
|
|
2801
|
+
type: "string",
|
|
2802
|
+
description:
|
|
2803
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
2804
|
+
},
|
|
2307
2805
|
datatype: { required: false, control: "text", type: "string" },
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2806
|
+
dir: {
|
|
2807
|
+
required: false,
|
|
2808
|
+
control: "text",
|
|
2809
|
+
type: "string",
|
|
2810
|
+
description:
|
|
2811
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
2812
|
+
},
|
|
2813
|
+
draggable: {
|
|
2814
|
+
required: false,
|
|
2815
|
+
control: "boolean",
|
|
2816
|
+
type: "boolean",
|
|
2817
|
+
description: "Defines whether the element can be dragged.",
|
|
2818
|
+
},
|
|
2819
|
+
hidden: {
|
|
2820
|
+
required: false,
|
|
2821
|
+
control: "boolean",
|
|
2822
|
+
type: "boolean",
|
|
2823
|
+
description:
|
|
2824
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
2825
|
+
},
|
|
2826
|
+
id: {
|
|
2827
|
+
required: false,
|
|
2828
|
+
control: "text",
|
|
2829
|
+
type: "string",
|
|
2830
|
+
description:
|
|
2831
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
2832
|
+
},
|
|
2313
2833
|
inputMode: {
|
|
2314
2834
|
description:
|
|
2315
2835
|
"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",
|
|
@@ -2339,20 +2859,53 @@ export const propsAccordionContent: Record<string, PropMeta> = {
|
|
|
2339
2859
|
itemRef: { required: false, control: "text", type: "string" },
|
|
2340
2860
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
2341
2861
|
itemType: { required: false, control: "text", type: "string" },
|
|
2342
|
-
lang: {
|
|
2862
|
+
lang: {
|
|
2863
|
+
required: false,
|
|
2864
|
+
control: "text",
|
|
2865
|
+
type: "string",
|
|
2866
|
+
description: "Defines the language used in the element.",
|
|
2867
|
+
},
|
|
2343
2868
|
nonce: { required: false, control: "text", type: "string" },
|
|
2344
|
-
placeholder: {
|
|
2869
|
+
placeholder: {
|
|
2870
|
+
required: false,
|
|
2871
|
+
control: "text",
|
|
2872
|
+
type: "string",
|
|
2873
|
+
description:
|
|
2874
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
2875
|
+
},
|
|
2345
2876
|
prefix: { required: false, control: "text", type: "string" },
|
|
2346
2877
|
property: { required: false, control: "text", type: "string" },
|
|
2347
2878
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
2348
|
-
rel: {
|
|
2879
|
+
rel: {
|
|
2880
|
+
required: false,
|
|
2881
|
+
control: "text",
|
|
2882
|
+
type: "string",
|
|
2883
|
+
description:
|
|
2884
|
+
"Specifies the relationship of the target object to the link object.",
|
|
2885
|
+
},
|
|
2349
2886
|
resource: { required: false, control: "text", type: "string" },
|
|
2350
2887
|
results: { required: false, control: "number", type: "number" },
|
|
2351
2888
|
rev: { required: false, control: "text", type: "string" },
|
|
2352
|
-
role: {
|
|
2889
|
+
role: {
|
|
2890
|
+
required: false,
|
|
2891
|
+
control: "text",
|
|
2892
|
+
type: "string",
|
|
2893
|
+
description:
|
|
2894
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
2895
|
+
},
|
|
2353
2896
|
security: { required: false, control: "text", type: "string" },
|
|
2354
|
-
slot: {
|
|
2355
|
-
|
|
2897
|
+
slot: {
|
|
2898
|
+
required: false,
|
|
2899
|
+
control: "text",
|
|
2900
|
+
type: "string",
|
|
2901
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
2902
|
+
},
|
|
2903
|
+
spellCheck: {
|
|
2904
|
+
required: false,
|
|
2905
|
+
control: "boolean",
|
|
2906
|
+
type: "boolean",
|
|
2907
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
2908
|
+
},
|
|
2356
2909
|
suppressContentEditableWarning: {
|
|
2357
2910
|
required: false,
|
|
2358
2911
|
control: "boolean",
|
|
@@ -2363,13 +2916,27 @@ export const propsAccordionContent: Record<string, PropMeta> = {
|
|
|
2363
2916
|
control: "boolean",
|
|
2364
2917
|
type: "boolean",
|
|
2365
2918
|
},
|
|
2366
|
-
tabIndex: {
|
|
2367
|
-
|
|
2919
|
+
tabIndex: {
|
|
2920
|
+
required: false,
|
|
2921
|
+
control: "number",
|
|
2922
|
+
type: "number",
|
|
2923
|
+
description:
|
|
2924
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
2925
|
+
},
|
|
2926
|
+
title: {
|
|
2927
|
+
required: false,
|
|
2928
|
+
control: "text",
|
|
2929
|
+
type: "string",
|
|
2930
|
+
description:
|
|
2931
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
2932
|
+
},
|
|
2368
2933
|
translate: {
|
|
2369
2934
|
required: false,
|
|
2370
2935
|
control: "radio",
|
|
2371
2936
|
type: "string",
|
|
2372
2937
|
options: ["yes", "no"],
|
|
2938
|
+
description:
|
|
2939
|
+
"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.",
|
|
2373
2940
|
},
|
|
2374
2941
|
typeof: { required: false, control: "text", type: "string" },
|
|
2375
2942
|
unselectable: {
|