@webstudio-is/sdk-components-react-radix 0.88.0 → 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 -109
- package/lib/__generated__/button.props.js +161 -29
- package/lib/__generated__/checkbox.props.js +284 -51
- package/lib/__generated__/collapsible.props.js +234 -42
- package/lib/__generated__/dialog.props.js +611 -110
- package/lib/__generated__/input.props.js +264 -47
- package/lib/__generated__/label.props.js +123 -22
- package/lib/__generated__/navigation-menu.props.js +563 -102
- package/lib/__generated__/popover.props.js +129 -25
- package/lib/__generated__/radio-group.props.js +421 -76
- package/lib/__generated__/select.props.js +876 -160
- package/lib/__generated__/sheet.props.js +591 -110
- package/lib/__generated__/switch.props.js +284 -51
- package/lib/__generated__/tabs.props.js +506 -91
- package/lib/__generated__/textarea.props.js +177 -31
- package/lib/__generated__/tooltip.props.js +131 -27
- package/lib/accordion.ws.js +1 -0
- package/lib/checkbox.ws.js +2 -0
- package/lib/cjs/__generated__/accordion.props.js +605 -109
- package/lib/cjs/__generated__/button.props.js +161 -29
- package/lib/cjs/__generated__/checkbox.props.js +284 -51
- package/lib/cjs/__generated__/collapsible.props.js +234 -42
- package/lib/cjs/__generated__/dialog.props.js +611 -110
- package/lib/cjs/__generated__/input.props.js +264 -47
- package/lib/cjs/__generated__/label.props.js +123 -22
- package/lib/cjs/__generated__/navigation-menu.props.js +563 -102
- package/lib/cjs/__generated__/popover.props.js +129 -25
- package/lib/cjs/__generated__/radio-group.props.js +421 -76
- package/lib/cjs/__generated__/select.props.js +875 -159
- package/lib/cjs/__generated__/sheet.props.js +591 -110
- package/lib/cjs/__generated__/switch.props.js +284 -51
- package/lib/cjs/__generated__/tabs.props.js +506 -91
- package/lib/cjs/__generated__/textarea.props.js +177 -31
- package/lib/cjs/__generated__/tooltip.props.js +131 -27
- package/lib/cjs/accordion.ws.js +1 -0
- package/lib/cjs/checkbox.ws.js +2 -0
- package/lib/cjs/collapsible.ws.js +1 -0
- package/lib/cjs/dialog.ws.js +1 -0
- package/lib/cjs/label.ws.js +1 -0
- package/lib/cjs/navigation-menu.ws.js +1 -0
- package/lib/cjs/popover.ws.js +1 -0
- package/lib/cjs/props-descriptions.js +56 -0
- package/lib/cjs/radio-group.ws.js +3 -0
- package/lib/cjs/select.js +3 -1
- package/lib/cjs/select.ws.js +1 -0
- package/lib/cjs/sheet.ws.js +1 -0
- package/lib/cjs/switch.ws.js +2 -0
- package/lib/cjs/tabs.ws.js +1 -0
- package/lib/cjs/tooltip.ws.js +1 -0
- package/lib/collapsible.ws.js +1 -0
- package/lib/dialog.ws.js +1 -0
- package/lib/label.ws.js +1 -0
- package/lib/navigation-menu.ws.js +1 -0
- package/lib/popover.ws.js +1 -0
- package/lib/props-descriptions.js +36 -0
- package/lib/radio-group.ws.js +3 -0
- package/lib/select.js +3 -1
- package/lib/select.ws.js +1 -0
- package/lib/sheet.ws.js +1 -0
- package/lib/switch.ws.js +2 -0
- package/lib/tabs.ws.js +1 -0
- package/lib/tooltip.ws.js +1 -0
- package/lib/types/props-descriptions.d.ts +29 -0
- package/lib/types/select.d.ts +4 -2
- package/package.json +6 -6
- package/src/__generated__/accordion.props.ts +675 -103
- package/src/__generated__/button.props.ts +180 -27
- package/src/__generated__/checkbox.props.ts +317 -48
- package/src/__generated__/collapsible.props.ts +261 -40
- package/src/__generated__/dialog.props.ts +682 -104
- package/src/__generated__/input.props.ts +292 -44
- package/src/__generated__/label.props.ts +137 -21
- package/src/__generated__/navigation-menu.props.ts +629 -96
- package/src/__generated__/popover.props.ts +142 -21
- package/src/__generated__/radio-group.props.ts +470 -71
- package/src/__generated__/select.props.ts +979 -153
- package/src/__generated__/sheet.props.ts +657 -99
- package/src/__generated__/switch.props.ts +317 -48
- package/src/__generated__/tabs.props.ts +565 -86
- package/src/__generated__/textarea.props.ts +195 -30
- package/src/__generated__/tooltip.props.ts +145 -23
- package/src/accordion.ws.ts +2 -0
- package/src/checkbox.ws.ts +3 -0
- package/src/collapsible.ws.ts +2 -0
- package/src/dialog.ws.tsx +2 -0
- package/src/label.ws.ts +2 -0
- package/src/navigation-menu.ws.ts +1 -0
- package/src/popover.ws.tsx +1 -0
- package/src/props-descriptions.ts +43 -0
- package/src/radio-group.ws.ts +4 -0
- package/src/select.tsx +8 -3
- package/src/select.ws.ts +2 -0
- package/src/sheet.ws.tsx +2 -0
- package/src/switch.ws.ts +3 -0
- package/src/tabs.ws.ts +2 -0
- package/src/tooltip.ws.tsx +2 -0
|
@@ -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,14 +387,44 @@ 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
429
|
dir: {
|
|
395
430
|
description: "The language read direction.",
|
|
@@ -405,9 +440,26 @@ export const propsAccordion: Record<string, PropMeta> = {
|
|
|
405
440
|
control: "boolean",
|
|
406
441
|
type: "boolean",
|
|
407
442
|
},
|
|
408
|
-
draggable: {
|
|
409
|
-
|
|
410
|
-
|
|
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
|
+
},
|
|
411
463
|
inputMode: {
|
|
412
464
|
description:
|
|
413
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",
|
|
@@ -437,7 +489,12 @@ export const propsAccordion: Record<string, PropMeta> = {
|
|
|
437
489
|
itemRef: { required: false, control: "text", type: "string" },
|
|
438
490
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
439
491
|
itemType: { required: false, control: "text", type: "string" },
|
|
440
|
-
lang: {
|
|
492
|
+
lang: {
|
|
493
|
+
required: false,
|
|
494
|
+
control: "text",
|
|
495
|
+
type: "string",
|
|
496
|
+
description: "Defines the language used in the element.",
|
|
497
|
+
},
|
|
441
498
|
nonce: { required: false, control: "text", type: "string" },
|
|
442
499
|
orientation: {
|
|
443
500
|
description: "The layout in which the Accordion operates.",
|
|
@@ -447,18 +504,46 @@ export const propsAccordion: Record<string, PropMeta> = {
|
|
|
447
504
|
defaultValue: "vertical",
|
|
448
505
|
options: ["horizontal", "vertical"],
|
|
449
506
|
},
|
|
450
|
-
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
|
+
},
|
|
451
514
|
prefix: { required: false, control: "text", type: "string" },
|
|
452
515
|
property: { required: false, control: "text", type: "string" },
|
|
453
516
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
454
|
-
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
|
+
},
|
|
455
524
|
resource: { required: false, control: "text", type: "string" },
|
|
456
525
|
results: { required: false, control: "number", type: "number" },
|
|
457
526
|
rev: { required: false, control: "text", type: "string" },
|
|
458
|
-
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
|
+
},
|
|
459
534
|
security: { required: false, control: "text", type: "string" },
|
|
460
|
-
slot: {
|
|
461
|
-
|
|
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
|
+
},
|
|
462
547
|
suppressContentEditableWarning: {
|
|
463
548
|
required: false,
|
|
464
549
|
control: "boolean",
|
|
@@ -469,13 +554,27 @@ export const propsAccordion: Record<string, PropMeta> = {
|
|
|
469
554
|
control: "boolean",
|
|
470
555
|
type: "boolean",
|
|
471
556
|
},
|
|
472
|
-
tabIndex: {
|
|
473
|
-
|
|
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
|
+
},
|
|
474
571
|
translate: {
|
|
475
572
|
required: false,
|
|
476
573
|
control: "radio",
|
|
477
574
|
type: "string",
|
|
478
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.",
|
|
479
578
|
},
|
|
480
579
|
typeof: { required: false, control: "text", type: "string" },
|
|
481
580
|
unselectable: {
|
|
@@ -484,12 +583,23 @@ export const propsAccordion: Record<string, PropMeta> = {
|
|
|
484
583
|
type: "string",
|
|
485
584
|
options: ["on", "off"],
|
|
486
585
|
},
|
|
487
|
-
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
|
+
},
|
|
488
593
|
vocab: { required: false, control: "text", type: "string" },
|
|
489
594
|
};
|
|
490
595
|
export const propsAccordionItem: Record<string, PropMeta> = {
|
|
491
596
|
about: { required: false, control: "text", type: "string" },
|
|
492
|
-
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
|
+
},
|
|
493
603
|
"aria-activedescendant": {
|
|
494
604
|
description:
|
|
495
605
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -670,7 +780,7 @@ export const propsAccordionItem: Record<string, PropMeta> = {
|
|
|
670
780
|
},
|
|
671
781
|
"aria-label": {
|
|
672
782
|
description:
|
|
673
|
-
"
|
|
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.",
|
|
674
784
|
required: false,
|
|
675
785
|
control: "text",
|
|
676
786
|
type: "string",
|
|
@@ -869,16 +979,52 @@ export const propsAccordionItem: Record<string, PropMeta> = {
|
|
|
869
979
|
control: "text",
|
|
870
980
|
type: "string",
|
|
871
981
|
},
|
|
872
|
-
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
|
+
},
|
|
873
989
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
874
|
-
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
|
+
},
|
|
875
997
|
autoSave: { required: false, control: "text", type: "string" },
|
|
876
998
|
className: { required: false, control: "text", type: "string" },
|
|
877
|
-
color: {
|
|
878
|
-
|
|
879
|
-
|
|
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
|
+
},
|
|
880
1020
|
datatype: { required: false, control: "text", type: "string" },
|
|
881
|
-
dir: {
|
|
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
|
+
},
|
|
882
1028
|
disabled: {
|
|
883
1029
|
description:
|
|
884
1030
|
"Whether or not an accordion item is disabled from user interaction.\n@defaultValue false",
|
|
@@ -886,9 +1032,26 @@ export const propsAccordionItem: Record<string, PropMeta> = {
|
|
|
886
1032
|
control: "boolean",
|
|
887
1033
|
type: "boolean",
|
|
888
1034
|
},
|
|
889
|
-
draggable: {
|
|
890
|
-
|
|
891
|
-
|
|
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
|
+
},
|
|
892
1055
|
inputMode: {
|
|
893
1056
|
description:
|
|
894
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",
|
|
@@ -918,20 +1081,53 @@ export const propsAccordionItem: Record<string, PropMeta> = {
|
|
|
918
1081
|
itemRef: { required: false, control: "text", type: "string" },
|
|
919
1082
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
920
1083
|
itemType: { required: false, control: "text", type: "string" },
|
|
921
|
-
lang: {
|
|
1084
|
+
lang: {
|
|
1085
|
+
required: false,
|
|
1086
|
+
control: "text",
|
|
1087
|
+
type: "string",
|
|
1088
|
+
description: "Defines the language used in the element.",
|
|
1089
|
+
},
|
|
922
1090
|
nonce: { required: false, control: "text", type: "string" },
|
|
923
|
-
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
|
+
},
|
|
924
1098
|
prefix: { required: false, control: "text", type: "string" },
|
|
925
1099
|
property: { required: false, control: "text", type: "string" },
|
|
926
1100
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
927
|
-
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
|
+
},
|
|
928
1108
|
resource: { required: false, control: "text", type: "string" },
|
|
929
1109
|
results: { required: false, control: "number", type: "number" },
|
|
930
1110
|
rev: { required: false, control: "text", type: "string" },
|
|
931
|
-
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
|
+
},
|
|
932
1118
|
security: { required: false, control: "text", type: "string" },
|
|
933
|
-
slot: {
|
|
934
|
-
|
|
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
|
+
},
|
|
935
1131
|
suppressContentEditableWarning: {
|
|
936
1132
|
required: false,
|
|
937
1133
|
control: "boolean",
|
|
@@ -942,13 +1138,27 @@ export const propsAccordionItem: Record<string, PropMeta> = {
|
|
|
942
1138
|
control: "boolean",
|
|
943
1139
|
type: "boolean",
|
|
944
1140
|
},
|
|
945
|
-
tabIndex: {
|
|
946
|
-
|
|
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
|
+
},
|
|
947
1155
|
translate: {
|
|
948
1156
|
required: false,
|
|
949
1157
|
control: "radio",
|
|
950
1158
|
type: "string",
|
|
951
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.",
|
|
952
1162
|
},
|
|
953
1163
|
typeof: { required: false, control: "text", type: "string" },
|
|
954
1164
|
unselectable: {
|
|
@@ -968,7 +1178,12 @@ export const propsAccordionItem: Record<string, PropMeta> = {
|
|
|
968
1178
|
};
|
|
969
1179
|
export const propsAccordionHeader: Record<string, PropMeta> = {
|
|
970
1180
|
about: { required: false, control: "text", type: "string" },
|
|
971
|
-
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
|
+
},
|
|
972
1187
|
"aria-activedescendant": {
|
|
973
1188
|
description:
|
|
974
1189
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -1149,7 +1364,7 @@ export const propsAccordionHeader: Record<string, PropMeta> = {
|
|
|
1149
1364
|
},
|
|
1150
1365
|
"aria-label": {
|
|
1151
1366
|
description:
|
|
1152
|
-
"
|
|
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.",
|
|
1153
1368
|
required: false,
|
|
1154
1369
|
control: "text",
|
|
1155
1370
|
type: "string",
|
|
@@ -1348,19 +1563,72 @@ export const propsAccordionHeader: Record<string, PropMeta> = {
|
|
|
1348
1563
|
control: "text",
|
|
1349
1564
|
type: "string",
|
|
1350
1565
|
},
|
|
1351
|
-
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
|
+
},
|
|
1352
1573
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1353
|
-
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
|
+
},
|
|
1354
1581
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1355
1582
|
className: { required: false, control: "text", type: "string" },
|
|
1356
|
-
color: {
|
|
1357
|
-
|
|
1358
|
-
|
|
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
|
+
},
|
|
1359
1604
|
datatype: { required: false, control: "text", type: "string" },
|
|
1360
|
-
dir: {
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
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
|
+
},
|
|
1364
1632
|
inputMode: {
|
|
1365
1633
|
description:
|
|
1366
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",
|
|
@@ -1390,20 +1658,53 @@ export const propsAccordionHeader: Record<string, PropMeta> = {
|
|
|
1390
1658
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1391
1659
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1392
1660
|
itemType: { required: false, control: "text", type: "string" },
|
|
1393
|
-
lang: {
|
|
1661
|
+
lang: {
|
|
1662
|
+
required: false,
|
|
1663
|
+
control: "text",
|
|
1664
|
+
type: "string",
|
|
1665
|
+
description: "Defines the language used in the element.",
|
|
1666
|
+
},
|
|
1394
1667
|
nonce: { required: false, control: "text", type: "string" },
|
|
1395
|
-
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
|
+
},
|
|
1396
1675
|
prefix: { required: false, control: "text", type: "string" },
|
|
1397
1676
|
property: { required: false, control: "text", type: "string" },
|
|
1398
1677
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1399
|
-
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
|
+
},
|
|
1400
1685
|
resource: { required: false, control: "text", type: "string" },
|
|
1401
1686
|
results: { required: false, control: "number", type: "number" },
|
|
1402
1687
|
rev: { required: false, control: "text", type: "string" },
|
|
1403
|
-
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
|
+
},
|
|
1404
1695
|
security: { required: false, control: "text", type: "string" },
|
|
1405
|
-
slot: {
|
|
1406
|
-
|
|
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
|
+
},
|
|
1407
1708
|
suppressContentEditableWarning: {
|
|
1408
1709
|
required: false,
|
|
1409
1710
|
control: "boolean",
|
|
@@ -1414,13 +1715,27 @@ export const propsAccordionHeader: Record<string, PropMeta> = {
|
|
|
1414
1715
|
control: "boolean",
|
|
1415
1716
|
type: "boolean",
|
|
1416
1717
|
},
|
|
1417
|
-
tabIndex: {
|
|
1418
|
-
|
|
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
|
+
},
|
|
1419
1732
|
translate: {
|
|
1420
1733
|
required: false,
|
|
1421
1734
|
control: "radio",
|
|
1422
1735
|
type: "string",
|
|
1423
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.",
|
|
1424
1739
|
},
|
|
1425
1740
|
typeof: { required: false, control: "text", type: "string" },
|
|
1426
1741
|
unselectable: {
|
|
@@ -1433,7 +1748,12 @@ export const propsAccordionHeader: Record<string, PropMeta> = {
|
|
|
1433
1748
|
};
|
|
1434
1749
|
export const propsAccordionTrigger: Record<string, PropMeta> = {
|
|
1435
1750
|
about: { required: false, control: "text", type: "string" },
|
|
1436
|
-
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
|
+
},
|
|
1437
1757
|
"aria-activedescendant": {
|
|
1438
1758
|
description:
|
|
1439
1759
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -1614,7 +1934,7 @@ export const propsAccordionTrigger: Record<string, PropMeta> = {
|
|
|
1614
1934
|
},
|
|
1615
1935
|
"aria-label": {
|
|
1616
1936
|
description:
|
|
1617
|
-
"
|
|
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.",
|
|
1618
1938
|
required: false,
|
|
1619
1939
|
control: "text",
|
|
1620
1940
|
type: "string",
|
|
@@ -1813,26 +2133,119 @@ export const propsAccordionTrigger: Record<string, PropMeta> = {
|
|
|
1813
2133
|
control: "text",
|
|
1814
2134
|
type: "string",
|
|
1815
2135
|
},
|
|
1816
|
-
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
|
+
},
|
|
1817
2143
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1818
|
-
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
|
+
},
|
|
1819
2151
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1820
2152
|
className: { required: false, control: "text", type: "string" },
|
|
1821
|
-
color: {
|
|
1822
|
-
|
|
1823
|
-
|
|
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
|
+
},
|
|
1824
2174
|
datatype: { required: false, control: "text", type: "string" },
|
|
1825
|
-
dir: {
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
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
|
+
},
|
|
1836
2249
|
inputMode: {
|
|
1837
2250
|
description:
|
|
1838
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",
|
|
@@ -1862,21 +2275,60 @@ export const propsAccordionTrigger: Record<string, PropMeta> = {
|
|
|
1862
2275
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1863
2276
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1864
2277
|
itemType: { required: false, control: "text", type: "string" },
|
|
1865
|
-
lang: {
|
|
1866
|
-
|
|
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
|
+
},
|
|
1867
2291
|
nonce: { required: false, control: "text", type: "string" },
|
|
1868
|
-
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
|
+
},
|
|
1869
2299
|
prefix: { required: false, control: "text", type: "string" },
|
|
1870
2300
|
property: { required: false, control: "text", type: "string" },
|
|
1871
2301
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1872
|
-
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
|
+
},
|
|
1873
2309
|
resource: { required: false, control: "text", type: "string" },
|
|
1874
2310
|
results: { required: false, control: "number", type: "number" },
|
|
1875
2311
|
rev: { required: false, control: "text", type: "string" },
|
|
1876
|
-
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
|
+
},
|
|
1877
2319
|
security: { required: false, control: "text", type: "string" },
|
|
1878
|
-
slot: {
|
|
1879
|
-
|
|
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
|
+
},
|
|
1880
2332
|
suppressContentEditableWarning: {
|
|
1881
2333
|
required: false,
|
|
1882
2334
|
control: "boolean",
|
|
@@ -1887,19 +2339,34 @@ export const propsAccordionTrigger: Record<string, PropMeta> = {
|
|
|
1887
2339
|
control: "boolean",
|
|
1888
2340
|
type: "boolean",
|
|
1889
2341
|
},
|
|
1890
|
-
tabIndex: {
|
|
1891
|
-
|
|
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
|
+
},
|
|
1892
2356
|
translate: {
|
|
1893
2357
|
required: false,
|
|
1894
2358
|
control: "radio",
|
|
1895
2359
|
type: "string",
|
|
1896
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.",
|
|
1897
2363
|
},
|
|
1898
2364
|
type: {
|
|
1899
2365
|
required: false,
|
|
1900
2366
|
control: "radio",
|
|
1901
2367
|
type: "string",
|
|
1902
2368
|
options: ["button", "submit", "reset"],
|
|
2369
|
+
description: "Defines the type of the element.",
|
|
1903
2370
|
},
|
|
1904
2371
|
typeof: { required: false, control: "text", type: "string" },
|
|
1905
2372
|
unselectable: {
|
|
@@ -1912,7 +2379,12 @@ export const propsAccordionTrigger: Record<string, PropMeta> = {
|
|
|
1912
2379
|
};
|
|
1913
2380
|
export const propsAccordionContent: Record<string, PropMeta> = {
|
|
1914
2381
|
about: { required: false, control: "text", type: "string" },
|
|
1915
|
-
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
|
+
},
|
|
1916
2388
|
"aria-activedescendant": {
|
|
1917
2389
|
description:
|
|
1918
2390
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -2093,7 +2565,7 @@ export const propsAccordionContent: Record<string, PropMeta> = {
|
|
|
2093
2565
|
},
|
|
2094
2566
|
"aria-label": {
|
|
2095
2567
|
description:
|
|
2096
|
-
"
|
|
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.",
|
|
2097
2569
|
required: false,
|
|
2098
2570
|
control: "text",
|
|
2099
2571
|
type: "string",
|
|
@@ -2292,19 +2764,72 @@ export const propsAccordionContent: Record<string, PropMeta> = {
|
|
|
2292
2764
|
control: "text",
|
|
2293
2765
|
type: "string",
|
|
2294
2766
|
},
|
|
2295
|
-
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
|
+
},
|
|
2296
2774
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
2297
|
-
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
|
+
},
|
|
2298
2782
|
autoSave: { required: false, control: "text", type: "string" },
|
|
2299
2783
|
className: { required: false, control: "text", type: "string" },
|
|
2300
|
-
color: {
|
|
2301
|
-
|
|
2302
|
-
|
|
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
|
+
},
|
|
2303
2805
|
datatype: { required: false, control: "text", type: "string" },
|
|
2304
|
-
dir: {
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
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
|
+
},
|
|
2308
2833
|
inputMode: {
|
|
2309
2834
|
description:
|
|
2310
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",
|
|
@@ -2334,20 +2859,53 @@ export const propsAccordionContent: Record<string, PropMeta> = {
|
|
|
2334
2859
|
itemRef: { required: false, control: "text", type: "string" },
|
|
2335
2860
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
2336
2861
|
itemType: { required: false, control: "text", type: "string" },
|
|
2337
|
-
lang: {
|
|
2862
|
+
lang: {
|
|
2863
|
+
required: false,
|
|
2864
|
+
control: "text",
|
|
2865
|
+
type: "string",
|
|
2866
|
+
description: "Defines the language used in the element.",
|
|
2867
|
+
},
|
|
2338
2868
|
nonce: { required: false, control: "text", type: "string" },
|
|
2339
|
-
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
|
+
},
|
|
2340
2876
|
prefix: { required: false, control: "text", type: "string" },
|
|
2341
2877
|
property: { required: false, control: "text", type: "string" },
|
|
2342
2878
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
2343
|
-
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
|
+
},
|
|
2344
2886
|
resource: { required: false, control: "text", type: "string" },
|
|
2345
2887
|
results: { required: false, control: "number", type: "number" },
|
|
2346
2888
|
rev: { required: false, control: "text", type: "string" },
|
|
2347
|
-
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
|
+
},
|
|
2348
2896
|
security: { required: false, control: "text", type: "string" },
|
|
2349
|
-
slot: {
|
|
2350
|
-
|
|
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
|
+
},
|
|
2351
2909
|
suppressContentEditableWarning: {
|
|
2352
2910
|
required: false,
|
|
2353
2911
|
control: "boolean",
|
|
@@ -2358,13 +2916,27 @@ export const propsAccordionContent: Record<string, PropMeta> = {
|
|
|
2358
2916
|
control: "boolean",
|
|
2359
2917
|
type: "boolean",
|
|
2360
2918
|
},
|
|
2361
|
-
tabIndex: {
|
|
2362
|
-
|
|
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
|
+
},
|
|
2363
2933
|
translate: {
|
|
2364
2934
|
required: false,
|
|
2365
2935
|
control: "radio",
|
|
2366
2936
|
type: "string",
|
|
2367
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.",
|
|
2368
2940
|
},
|
|
2369
2941
|
typeof: { required: false, control: "text", type: "string" },
|
|
2370
2942
|
unselectable: {
|