@webstudio-is/sdk-components-react-radix 0.87.1 → 0.89.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/__generated__/accordion.props.js +605 -114
- package/lib/__generated__/button.props.js +158 -47
- package/lib/__generated__/checkbox.props.js +1083 -0
- package/lib/__generated__/collapsible.props.js +234 -44
- package/lib/__generated__/dialog.props.js +611 -121
- package/lib/__generated__/input.props.js +264 -47
- package/lib/__generated__/label.props.js +123 -23
- package/lib/__generated__/navigation-menu.props.js +2565 -0
- package/lib/__generated__/popover.props.js +129 -28
- package/lib/__generated__/radio-group.props.js +1627 -0
- package/lib/__generated__/select.props.js +3678 -0
- package/lib/__generated__/sheet.props.js +591 -121
- package/lib/__generated__/switch.props.js +1083 -0
- package/lib/__generated__/tabs.props.js +906 -68
- package/lib/__generated__/textarea.props.js +177 -31
- package/lib/__generated__/tooltip.props.js +131 -29
- package/lib/accordion.js +11 -4
- package/lib/accordion.ws.js +88 -72
- package/lib/checkbox.js +13 -0
- package/lib/checkbox.ws.js +153 -0
- package/lib/cjs/__generated__/accordion.props.js +605 -114
- package/lib/cjs/__generated__/button.props.js +158 -47
- package/lib/cjs/__generated__/checkbox.props.js +1103 -0
- package/lib/cjs/__generated__/collapsible.props.js +234 -44
- package/lib/cjs/__generated__/dialog.props.js +611 -121
- package/lib/cjs/__generated__/input.props.js +264 -47
- package/lib/cjs/__generated__/label.props.js +123 -23
- package/lib/cjs/__generated__/navigation-menu.props.js +2585 -0
- package/lib/cjs/__generated__/popover.props.js +129 -28
- package/lib/cjs/__generated__/radio-group.props.js +1647 -0
- package/lib/cjs/__generated__/select.props.js +3698 -0
- package/lib/cjs/__generated__/sheet.props.js +591 -121
- package/lib/cjs/__generated__/switch.props.js +1103 -0
- package/lib/cjs/__generated__/tabs.props.js +906 -68
- package/lib/cjs/__generated__/textarea.props.js +177 -31
- package/lib/cjs/__generated__/tooltip.props.js +131 -29
- package/lib/cjs/accordion.js +11 -4
- package/lib/cjs/accordion.ws.js +86 -71
- package/lib/cjs/{textarea.js → checkbox.js} +9 -6
- package/lib/cjs/checkbox.ws.js +174 -0
- package/lib/cjs/collapsible.ws.js +5 -1
- package/lib/cjs/components.js +27 -14
- package/lib/cjs/dialog.ws.js +18 -17
- package/lib/cjs/hooks.js +5 -1
- package/lib/cjs/label.ws.js +2 -1
- package/lib/cjs/metas.js +29 -14
- package/lib/cjs/navigation-menu.js +107 -0
- package/lib/cjs/navigation-menu.ws.js +514 -0
- package/lib/cjs/popover.ws.js +13 -9
- package/lib/cjs/props-descriptions.js +56 -0
- package/lib/cjs/props.js +27 -14
- package/lib/cjs/{button.js → radio-group.js} +10 -8
- package/lib/cjs/radio-group.ws.js +191 -0
- package/lib/cjs/select.js +83 -0
- package/lib/cjs/select.ws.js +350 -0
- package/lib/cjs/sheet.ws.js +88 -176
- package/lib/cjs/{input.js → switch.js} +8 -9
- package/lib/cjs/switch.ws.js +173 -0
- package/lib/cjs/tabs.js +2 -3
- package/lib/cjs/tabs.ws.js +14 -18
- package/lib/cjs/theme/styles.js +100 -0
- package/lib/cjs/theme/tailwind-classes.js +125 -16
- package/lib/cjs/theme/tailwind-colors.js +1 -0
- package/lib/cjs/tooltip.ws.js +12 -8
- package/lib/collapsible.ws.js +5 -1
- package/lib/components.js +44 -22
- package/lib/dialog.ws.js +18 -17
- package/lib/hooks.js +5 -1
- package/lib/label.ws.js +2 -1
- package/lib/metas.js +58 -24
- package/lib/navigation-menu.js +85 -0
- package/lib/navigation-menu.ws.js +501 -0
- package/lib/popover.ws.js +13 -9
- package/lib/props-descriptions.js +36 -0
- package/lib/props.js +56 -24
- package/lib/radio-group.js +11 -0
- package/lib/radio-group.ws.js +173 -0
- package/lib/select.js +75 -0
- package/lib/select.ws.js +338 -0
- package/lib/sheet.ws.js +89 -194
- package/lib/switch.js +7 -0
- package/lib/switch.ws.js +145 -0
- package/lib/tabs.js +3 -5
- package/lib/tabs.ws.js +15 -19
- package/lib/theme/styles.js +70 -0
- package/lib/theme/tailwind-classes.js +125 -16
- package/lib/theme/tailwind-colors.js +1 -0
- package/lib/tooltip.ws.js +12 -8
- package/lib/types/__generated__/checkbox.props.d.ts +3 -0
- package/lib/types/__generated__/navigation-menu.props.d.ts +8 -0
- package/lib/types/__generated__/radio-group.props.d.ts +4 -0
- package/lib/types/__generated__/select.props.d.ts +9 -0
- package/lib/types/__generated__/switch.props.d.ts +3 -0
- package/lib/types/checkbox.d.ts +6 -0
- package/lib/types/checkbox.stories.d.ts +11 -0
- package/lib/types/checkbox.ws.d.ts +5 -0
- package/lib/types/components.d.ts +5 -4
- package/lib/types/metas.d.ts +6 -4
- package/lib/types/navigation-menu.d.ts +15 -0
- package/lib/types/navigation-menu.ws.d.ts +15 -0
- package/lib/types/props-descriptions.d.ts +29 -0
- package/lib/types/props.d.ts +5 -4
- package/lib/types/radio-group.d.ts +5 -0
- package/lib/types/radio-group.stories.d.ts +9 -0
- package/lib/types/radio-group.ws.d.ts +7 -0
- package/lib/types/select.d.ts +14 -0
- package/lib/types/select.ws.d.ts +17 -0
- package/lib/types/sheet.ws.d.ts +2 -15
- package/lib/types/switch.d.ts +4 -0
- package/lib/types/switch.stories.d.ts +9 -0
- package/lib/types/switch.ws.d.ts +5 -0
- package/lib/types/tabs.d.ts +3 -12
- package/lib/types/theme/radix-common-types.d.ts +3 -2
- package/lib/types/theme/styles.d.ts +215 -0
- package/lib/types/theme/tailwind-classes.d.ts +16 -6
- package/lib/types/theme/tailwind-colors.d.ts +1 -0
- package/lib/types/theme/tailwind-theme.d.ts +1 -1
- package/package.json +12 -7
- package/src/__generated__/accordion.props.ts +675 -108
- package/src/__generated__/button.props.ts +177 -45
- package/src/__generated__/checkbox.props.ts +1217 -0
- package/src/__generated__/collapsible.props.ts +261 -42
- package/src/__generated__/dialog.props.ts +682 -115
- package/src/__generated__/input.props.ts +292 -44
- package/src/__generated__/label.props.ts +137 -22
- package/src/__generated__/navigation-menu.props.ts +2882 -0
- package/src/__generated__/popover.props.ts +142 -24
- package/src/__generated__/radio-group.props.ts +1828 -0
- package/src/__generated__/select.props.ts +4130 -0
- package/src/__generated__/sheet.props.ts +657 -110
- package/src/__generated__/switch.props.ts +1217 -0
- package/src/__generated__/tabs.props.ts +1019 -67
- package/src/__generated__/textarea.props.ts +195 -30
- package/src/__generated__/tooltip.props.ts +145 -25
- package/src/accordion.tsx +14 -7
- package/src/accordion.ws.ts +87 -70
- package/src/{textarea.stories.ts → checkbox.stories.ts} +6 -11
- package/src/checkbox.tsx +22 -0
- package/src/checkbox.ws.ts +154 -0
- package/src/collapsible.ws.ts +6 -1
- package/src/components.ts +25 -12
- package/src/dialog.ws.tsx +17 -16
- package/src/hooks.ts +4 -0
- package/src/label.ws.ts +3 -1
- package/src/metas.ts +36 -12
- package/src/navigation-menu.stories.tsx +21 -0
- package/src/navigation-menu.tsx +130 -0
- package/src/navigation-menu.ws.ts +524 -0
- package/src/popover.ws.tsx +13 -9
- package/src/props-descriptions.ts +43 -0
- package/src/props.ts +35 -12
- package/src/{input.stories.ts → radio-group.stories.ts} +6 -15
- package/src/radio-group.tsx +17 -0
- package/src/radio-group.ws.ts +178 -0
- package/src/select.stories.tsx +21 -0
- package/src/select.tsx +112 -0
- package/src/select.ws.ts +349 -0
- package/src/sheet.ws.tsx +91 -209
- package/src/{button.stories.ts → switch.stories.ts} +6 -19
- package/src/switch.tsx +10 -0
- package/src/switch.ws.ts +146 -0
- package/src/tabs.tsx +4 -17
- package/src/tabs.ws.ts +19 -19
- package/src/theme/radix-common-types.ts +3 -2
- package/src/theme/styles.ts +80 -0
- package/src/theme/tailwind-classes.ts +150 -14
- package/src/theme/tailwind-colors.ts +1 -0
- package/src/tooltip.ws.tsx +13 -8
- package/lib/button.js +0 -8
- package/lib/button.ws.js +0 -133
- package/lib/cjs/button.ws.js +0 -160
- package/lib/cjs/input.ws.js +0 -103
- package/lib/cjs/textarea.ws.js +0 -98
- package/lib/input.js +0 -8
- package/lib/input.ws.js +0 -75
- package/lib/textarea.js +0 -8
- package/lib/textarea.ws.js +0 -70
- package/lib/types/button.d.ts +0 -7
- package/lib/types/button.stories.d.ts +0 -20
- package/lib/types/button.ws.d.ts +0 -7
- package/lib/types/input.d.ts +0 -2
- package/lib/types/input.stories.d.ts +0 -20
- package/lib/types/input.ws.d.ts +0 -3
- package/lib/types/textarea.d.ts +0 -2
- package/lib/types/textarea.stories.d.ts +0 -14
- package/lib/types/textarea.ws.d.ts +0 -3
- package/src/button.tsx +0 -25
- package/src/button.ws.ts +0 -155
- package/src/input.tsx +0 -12
- package/src/input.ws.ts +0 -78
- package/src/textarea.tsx +0 -12
- package/src/textarea.ws.ts +0 -74
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
const propsAccordion = {
|
|
2
2
|
about: { required: false, control: "text", type: "string" },
|
|
3
|
-
accessKey: {
|
|
3
|
+
accessKey: {
|
|
4
|
+
required: false,
|
|
5
|
+
control: "text",
|
|
6
|
+
type: "string",
|
|
7
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
8
|
+
},
|
|
4
9
|
"aria-activedescendant": {
|
|
5
10
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
6
11
|
required: false,
|
|
@@ -156,7 +161,7 @@ const propsAccordion = {
|
|
|
156
161
|
type: "string"
|
|
157
162
|
},
|
|
158
163
|
"aria-label": {
|
|
159
|
-
description: "
|
|
164
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
160
165
|
required: false,
|
|
161
166
|
control: "text",
|
|
162
167
|
type: "string"
|
|
@@ -332,16 +337,40 @@ const propsAccordion = {
|
|
|
332
337
|
control: "text",
|
|
333
338
|
type: "string"
|
|
334
339
|
},
|
|
335
|
-
autoCapitalize: {
|
|
340
|
+
autoCapitalize: {
|
|
341
|
+
required: false,
|
|
342
|
+
control: "text",
|
|
343
|
+
type: "string",
|
|
344
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
345
|
+
},
|
|
336
346
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
337
|
-
autoFocus: {
|
|
347
|
+
autoFocus: {
|
|
348
|
+
required: false,
|
|
349
|
+
control: "boolean",
|
|
350
|
+
type: "boolean",
|
|
351
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
352
|
+
},
|
|
338
353
|
autoSave: { required: false, control: "text", type: "string" },
|
|
339
354
|
className: { required: false, control: "text", type: "string" },
|
|
340
|
-
color: {
|
|
341
|
-
|
|
342
|
-
|
|
355
|
+
color: {
|
|
356
|
+
required: false,
|
|
357
|
+
control: "color",
|
|
358
|
+
type: "string",
|
|
359
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
360
|
+
},
|
|
361
|
+
content: {
|
|
362
|
+
required: false,
|
|
363
|
+
control: "text",
|
|
364
|
+
type: "string",
|
|
365
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
366
|
+
},
|
|
367
|
+
contextMenu: {
|
|
368
|
+
required: false,
|
|
369
|
+
control: "text",
|
|
370
|
+
type: "string",
|
|
371
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
372
|
+
},
|
|
343
373
|
datatype: { required: false, control: "text", type: "string" },
|
|
344
|
-
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
345
374
|
dir: {
|
|
346
375
|
description: "The language read direction.",
|
|
347
376
|
required: false,
|
|
@@ -355,9 +384,24 @@ const propsAccordion = {
|
|
|
355
384
|
control: "boolean",
|
|
356
385
|
type: "boolean"
|
|
357
386
|
},
|
|
358
|
-
draggable: {
|
|
359
|
-
|
|
360
|
-
|
|
387
|
+
draggable: {
|
|
388
|
+
required: false,
|
|
389
|
+
control: "boolean",
|
|
390
|
+
type: "boolean",
|
|
391
|
+
description: "Defines whether the element can be dragged."
|
|
392
|
+
},
|
|
393
|
+
hidden: {
|
|
394
|
+
required: false,
|
|
395
|
+
control: "boolean",
|
|
396
|
+
type: "boolean",
|
|
397
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
398
|
+
},
|
|
399
|
+
id: {
|
|
400
|
+
required: false,
|
|
401
|
+
control: "text",
|
|
402
|
+
type: "string",
|
|
403
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
404
|
+
},
|
|
361
405
|
inputMode: {
|
|
362
406
|
description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
363
407
|
required: false,
|
|
@@ -385,7 +429,12 @@ const propsAccordion = {
|
|
|
385
429
|
itemRef: { required: false, control: "text", type: "string" },
|
|
386
430
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
387
431
|
itemType: { required: false, control: "text", type: "string" },
|
|
388
|
-
lang: {
|
|
432
|
+
lang: {
|
|
433
|
+
required: false,
|
|
434
|
+
control: "text",
|
|
435
|
+
type: "string",
|
|
436
|
+
description: "Defines the language used in the element."
|
|
437
|
+
},
|
|
389
438
|
nonce: { required: false, control: "text", type: "string" },
|
|
390
439
|
orientation: {
|
|
391
440
|
description: "The layout in which the Accordion operates.",
|
|
@@ -395,18 +444,43 @@ const propsAccordion = {
|
|
|
395
444
|
defaultValue: "vertical",
|
|
396
445
|
options: ["horizontal", "vertical"]
|
|
397
446
|
},
|
|
398
|
-
placeholder: {
|
|
447
|
+
placeholder: {
|
|
448
|
+
required: false,
|
|
449
|
+
control: "text",
|
|
450
|
+
type: "string",
|
|
451
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
452
|
+
},
|
|
399
453
|
prefix: { required: false, control: "text", type: "string" },
|
|
400
454
|
property: { required: false, control: "text", type: "string" },
|
|
401
455
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
402
|
-
rel: {
|
|
456
|
+
rel: {
|
|
457
|
+
required: false,
|
|
458
|
+
control: "text",
|
|
459
|
+
type: "string",
|
|
460
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
461
|
+
},
|
|
403
462
|
resource: { required: false, control: "text", type: "string" },
|
|
404
463
|
results: { required: false, control: "number", type: "number" },
|
|
405
464
|
rev: { required: false, control: "text", type: "string" },
|
|
406
|
-
role: {
|
|
465
|
+
role: {
|
|
466
|
+
required: false,
|
|
467
|
+
control: "text",
|
|
468
|
+
type: "string",
|
|
469
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
470
|
+
},
|
|
407
471
|
security: { required: false, control: "text", type: "string" },
|
|
408
|
-
slot: {
|
|
409
|
-
|
|
472
|
+
slot: {
|
|
473
|
+
required: false,
|
|
474
|
+
control: "text",
|
|
475
|
+
type: "string",
|
|
476
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
477
|
+
},
|
|
478
|
+
spellCheck: {
|
|
479
|
+
required: false,
|
|
480
|
+
control: "boolean",
|
|
481
|
+
type: "boolean",
|
|
482
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
483
|
+
},
|
|
410
484
|
suppressContentEditableWarning: {
|
|
411
485
|
required: false,
|
|
412
486
|
control: "boolean",
|
|
@@ -417,13 +491,24 @@ const propsAccordion = {
|
|
|
417
491
|
control: "boolean",
|
|
418
492
|
type: "boolean"
|
|
419
493
|
},
|
|
420
|
-
tabIndex: {
|
|
421
|
-
|
|
494
|
+
tabIndex: {
|
|
495
|
+
required: false,
|
|
496
|
+
control: "number",
|
|
497
|
+
type: "number",
|
|
498
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
499
|
+
},
|
|
500
|
+
title: {
|
|
501
|
+
required: false,
|
|
502
|
+
control: "text",
|
|
503
|
+
type: "string",
|
|
504
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
505
|
+
},
|
|
422
506
|
translate: {
|
|
423
507
|
required: false,
|
|
424
508
|
control: "radio",
|
|
425
509
|
type: "string",
|
|
426
|
-
options: ["yes", "no"]
|
|
510
|
+
options: ["yes", "no"],
|
|
511
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
427
512
|
},
|
|
428
513
|
typeof: { required: false, control: "text", type: "string" },
|
|
429
514
|
unselectable: {
|
|
@@ -432,12 +517,22 @@ const propsAccordion = {
|
|
|
432
517
|
type: "string",
|
|
433
518
|
options: ["on", "off"]
|
|
434
519
|
},
|
|
435
|
-
value: {
|
|
520
|
+
value: {
|
|
521
|
+
required: true,
|
|
522
|
+
control: "text",
|
|
523
|
+
type: "string",
|
|
524
|
+
description: "Defines a default value which will be displayed in the element on pageload."
|
|
525
|
+
},
|
|
436
526
|
vocab: { required: false, control: "text", type: "string" }
|
|
437
527
|
};
|
|
438
528
|
const propsAccordionItem = {
|
|
439
529
|
about: { required: false, control: "text", type: "string" },
|
|
440
|
-
accessKey: {
|
|
530
|
+
accessKey: {
|
|
531
|
+
required: false,
|
|
532
|
+
control: "text",
|
|
533
|
+
type: "string",
|
|
534
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
535
|
+
},
|
|
441
536
|
"aria-activedescendant": {
|
|
442
537
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
443
538
|
required: false,
|
|
@@ -593,7 +688,7 @@ const propsAccordionItem = {
|
|
|
593
688
|
type: "string"
|
|
594
689
|
},
|
|
595
690
|
"aria-label": {
|
|
596
|
-
description: "
|
|
691
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
597
692
|
required: false,
|
|
598
693
|
control: "text",
|
|
599
694
|
type: "string"
|
|
@@ -769,26 +864,70 @@ const propsAccordionItem = {
|
|
|
769
864
|
control: "text",
|
|
770
865
|
type: "string"
|
|
771
866
|
},
|
|
772
|
-
autoCapitalize: {
|
|
867
|
+
autoCapitalize: {
|
|
868
|
+
required: false,
|
|
869
|
+
control: "text",
|
|
870
|
+
type: "string",
|
|
871
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
872
|
+
},
|
|
773
873
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
774
|
-
autoFocus: {
|
|
874
|
+
autoFocus: {
|
|
875
|
+
required: false,
|
|
876
|
+
control: "boolean",
|
|
877
|
+
type: "boolean",
|
|
878
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
879
|
+
},
|
|
775
880
|
autoSave: { required: false, control: "text", type: "string" },
|
|
776
881
|
className: { required: false, control: "text", type: "string" },
|
|
777
|
-
color: {
|
|
778
|
-
|
|
779
|
-
|
|
882
|
+
color: {
|
|
883
|
+
required: false,
|
|
884
|
+
control: "color",
|
|
885
|
+
type: "string",
|
|
886
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
887
|
+
},
|
|
888
|
+
content: {
|
|
889
|
+
required: false,
|
|
890
|
+
control: "text",
|
|
891
|
+
type: "string",
|
|
892
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
893
|
+
},
|
|
894
|
+
contextMenu: {
|
|
895
|
+
required: false,
|
|
896
|
+
control: "text",
|
|
897
|
+
type: "string",
|
|
898
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
899
|
+
},
|
|
780
900
|
datatype: { required: false, control: "text", type: "string" },
|
|
781
|
-
|
|
782
|
-
|
|
901
|
+
dir: {
|
|
902
|
+
required: false,
|
|
903
|
+
control: "text",
|
|
904
|
+
type: "string",
|
|
905
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
906
|
+
},
|
|
783
907
|
disabled: {
|
|
784
908
|
description: "Whether or not an accordion item is disabled from user interaction.\n@defaultValue false",
|
|
785
909
|
required: false,
|
|
786
910
|
control: "boolean",
|
|
787
911
|
type: "boolean"
|
|
788
912
|
},
|
|
789
|
-
draggable: {
|
|
790
|
-
|
|
791
|
-
|
|
913
|
+
draggable: {
|
|
914
|
+
required: false,
|
|
915
|
+
control: "boolean",
|
|
916
|
+
type: "boolean",
|
|
917
|
+
description: "Defines whether the element can be dragged."
|
|
918
|
+
},
|
|
919
|
+
hidden: {
|
|
920
|
+
required: false,
|
|
921
|
+
control: "boolean",
|
|
922
|
+
type: "boolean",
|
|
923
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
924
|
+
},
|
|
925
|
+
id: {
|
|
926
|
+
required: false,
|
|
927
|
+
control: "text",
|
|
928
|
+
type: "string",
|
|
929
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
930
|
+
},
|
|
792
931
|
inputMode: {
|
|
793
932
|
description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
794
933
|
required: false,
|
|
@@ -816,20 +955,50 @@ const propsAccordionItem = {
|
|
|
816
955
|
itemRef: { required: false, control: "text", type: "string" },
|
|
817
956
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
818
957
|
itemType: { required: false, control: "text", type: "string" },
|
|
819
|
-
lang: {
|
|
958
|
+
lang: {
|
|
959
|
+
required: false,
|
|
960
|
+
control: "text",
|
|
961
|
+
type: "string",
|
|
962
|
+
description: "Defines the language used in the element."
|
|
963
|
+
},
|
|
820
964
|
nonce: { required: false, control: "text", type: "string" },
|
|
821
|
-
placeholder: {
|
|
965
|
+
placeholder: {
|
|
966
|
+
required: false,
|
|
967
|
+
control: "text",
|
|
968
|
+
type: "string",
|
|
969
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
970
|
+
},
|
|
822
971
|
prefix: { required: false, control: "text", type: "string" },
|
|
823
972
|
property: { required: false, control: "text", type: "string" },
|
|
824
973
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
825
|
-
rel: {
|
|
974
|
+
rel: {
|
|
975
|
+
required: false,
|
|
976
|
+
control: "text",
|
|
977
|
+
type: "string",
|
|
978
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
979
|
+
},
|
|
826
980
|
resource: { required: false, control: "text", type: "string" },
|
|
827
981
|
results: { required: false, control: "number", type: "number" },
|
|
828
982
|
rev: { required: false, control: "text", type: "string" },
|
|
829
|
-
role: {
|
|
983
|
+
role: {
|
|
984
|
+
required: false,
|
|
985
|
+
control: "text",
|
|
986
|
+
type: "string",
|
|
987
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
988
|
+
},
|
|
830
989
|
security: { required: false, control: "text", type: "string" },
|
|
831
|
-
slot: {
|
|
832
|
-
|
|
990
|
+
slot: {
|
|
991
|
+
required: false,
|
|
992
|
+
control: "text",
|
|
993
|
+
type: "string",
|
|
994
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
995
|
+
},
|
|
996
|
+
spellCheck: {
|
|
997
|
+
required: false,
|
|
998
|
+
control: "boolean",
|
|
999
|
+
type: "boolean",
|
|
1000
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1001
|
+
},
|
|
833
1002
|
suppressContentEditableWarning: {
|
|
834
1003
|
required: false,
|
|
835
1004
|
control: "boolean",
|
|
@@ -840,13 +1009,24 @@ const propsAccordionItem = {
|
|
|
840
1009
|
control: "boolean",
|
|
841
1010
|
type: "boolean"
|
|
842
1011
|
},
|
|
843
|
-
tabIndex: {
|
|
844
|
-
|
|
1012
|
+
tabIndex: {
|
|
1013
|
+
required: false,
|
|
1014
|
+
control: "number",
|
|
1015
|
+
type: "number",
|
|
1016
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1017
|
+
},
|
|
1018
|
+
title: {
|
|
1019
|
+
required: false,
|
|
1020
|
+
control: "text",
|
|
1021
|
+
type: "string",
|
|
1022
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1023
|
+
},
|
|
845
1024
|
translate: {
|
|
846
1025
|
required: false,
|
|
847
1026
|
control: "radio",
|
|
848
1027
|
type: "string",
|
|
849
|
-
options: ["yes", "no"]
|
|
1028
|
+
options: ["yes", "no"],
|
|
1029
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
850
1030
|
},
|
|
851
1031
|
typeof: { required: false, control: "text", type: "string" },
|
|
852
1032
|
unselectable: {
|
|
@@ -865,7 +1045,12 @@ const propsAccordionItem = {
|
|
|
865
1045
|
};
|
|
866
1046
|
const propsAccordionHeader = {
|
|
867
1047
|
about: { required: false, control: "text", type: "string" },
|
|
868
|
-
accessKey: {
|
|
1048
|
+
accessKey: {
|
|
1049
|
+
required: false,
|
|
1050
|
+
control: "text",
|
|
1051
|
+
type: "string",
|
|
1052
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1053
|
+
},
|
|
869
1054
|
"aria-activedescendant": {
|
|
870
1055
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
871
1056
|
required: false,
|
|
@@ -1021,7 +1206,7 @@ const propsAccordionHeader = {
|
|
|
1021
1206
|
type: "string"
|
|
1022
1207
|
},
|
|
1023
1208
|
"aria-label": {
|
|
1024
|
-
description: "
|
|
1209
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
1025
1210
|
required: false,
|
|
1026
1211
|
control: "text",
|
|
1027
1212
|
type: "string"
|
|
@@ -1197,20 +1382,64 @@ const propsAccordionHeader = {
|
|
|
1197
1382
|
control: "text",
|
|
1198
1383
|
type: "string"
|
|
1199
1384
|
},
|
|
1200
|
-
autoCapitalize: {
|
|
1385
|
+
autoCapitalize: {
|
|
1386
|
+
required: false,
|
|
1387
|
+
control: "text",
|
|
1388
|
+
type: "string",
|
|
1389
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1390
|
+
},
|
|
1201
1391
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1202
|
-
autoFocus: {
|
|
1392
|
+
autoFocus: {
|
|
1393
|
+
required: false,
|
|
1394
|
+
control: "boolean",
|
|
1395
|
+
type: "boolean",
|
|
1396
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1397
|
+
},
|
|
1203
1398
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1204
1399
|
className: { required: false, control: "text", type: "string" },
|
|
1205
|
-
color: {
|
|
1206
|
-
|
|
1207
|
-
|
|
1400
|
+
color: {
|
|
1401
|
+
required: false,
|
|
1402
|
+
control: "color",
|
|
1403
|
+
type: "string",
|
|
1404
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
1405
|
+
},
|
|
1406
|
+
content: {
|
|
1407
|
+
required: false,
|
|
1408
|
+
control: "text",
|
|
1409
|
+
type: "string",
|
|
1410
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1411
|
+
},
|
|
1412
|
+
contextMenu: {
|
|
1413
|
+
required: false,
|
|
1414
|
+
control: "text",
|
|
1415
|
+
type: "string",
|
|
1416
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1417
|
+
},
|
|
1208
1418
|
datatype: { required: false, control: "text", type: "string" },
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1419
|
+
dir: {
|
|
1420
|
+
required: false,
|
|
1421
|
+
control: "text",
|
|
1422
|
+
type: "string",
|
|
1423
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1424
|
+
},
|
|
1425
|
+
draggable: {
|
|
1426
|
+
required: false,
|
|
1427
|
+
control: "boolean",
|
|
1428
|
+
type: "boolean",
|
|
1429
|
+
description: "Defines whether the element can be dragged."
|
|
1430
|
+
},
|
|
1431
|
+
hidden: {
|
|
1432
|
+
required: false,
|
|
1433
|
+
control: "boolean",
|
|
1434
|
+
type: "boolean",
|
|
1435
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
1436
|
+
},
|
|
1437
|
+
id: {
|
|
1438
|
+
required: false,
|
|
1439
|
+
control: "text",
|
|
1440
|
+
type: "string",
|
|
1441
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
1442
|
+
},
|
|
1214
1443
|
inputMode: {
|
|
1215
1444
|
description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
1216
1445
|
required: false,
|
|
@@ -1238,20 +1467,50 @@ const propsAccordionHeader = {
|
|
|
1238
1467
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1239
1468
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1240
1469
|
itemType: { required: false, control: "text", type: "string" },
|
|
1241
|
-
lang: {
|
|
1470
|
+
lang: {
|
|
1471
|
+
required: false,
|
|
1472
|
+
control: "text",
|
|
1473
|
+
type: "string",
|
|
1474
|
+
description: "Defines the language used in the element."
|
|
1475
|
+
},
|
|
1242
1476
|
nonce: { required: false, control: "text", type: "string" },
|
|
1243
|
-
placeholder: {
|
|
1477
|
+
placeholder: {
|
|
1478
|
+
required: false,
|
|
1479
|
+
control: "text",
|
|
1480
|
+
type: "string",
|
|
1481
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
1482
|
+
},
|
|
1244
1483
|
prefix: { required: false, control: "text", type: "string" },
|
|
1245
1484
|
property: { required: false, control: "text", type: "string" },
|
|
1246
1485
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1247
|
-
rel: {
|
|
1486
|
+
rel: {
|
|
1487
|
+
required: false,
|
|
1488
|
+
control: "text",
|
|
1489
|
+
type: "string",
|
|
1490
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1491
|
+
},
|
|
1248
1492
|
resource: { required: false, control: "text", type: "string" },
|
|
1249
1493
|
results: { required: false, control: "number", type: "number" },
|
|
1250
1494
|
rev: { required: false, control: "text", type: "string" },
|
|
1251
|
-
role: {
|
|
1495
|
+
role: {
|
|
1496
|
+
required: false,
|
|
1497
|
+
control: "text",
|
|
1498
|
+
type: "string",
|
|
1499
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1500
|
+
},
|
|
1252
1501
|
security: { required: false, control: "text", type: "string" },
|
|
1253
|
-
slot: {
|
|
1254
|
-
|
|
1502
|
+
slot: {
|
|
1503
|
+
required: false,
|
|
1504
|
+
control: "text",
|
|
1505
|
+
type: "string",
|
|
1506
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1507
|
+
},
|
|
1508
|
+
spellCheck: {
|
|
1509
|
+
required: false,
|
|
1510
|
+
control: "boolean",
|
|
1511
|
+
type: "boolean",
|
|
1512
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1513
|
+
},
|
|
1255
1514
|
suppressContentEditableWarning: {
|
|
1256
1515
|
required: false,
|
|
1257
1516
|
control: "boolean",
|
|
@@ -1262,13 +1521,24 @@ const propsAccordionHeader = {
|
|
|
1262
1521
|
control: "boolean",
|
|
1263
1522
|
type: "boolean"
|
|
1264
1523
|
},
|
|
1265
|
-
tabIndex: {
|
|
1266
|
-
|
|
1524
|
+
tabIndex: {
|
|
1525
|
+
required: false,
|
|
1526
|
+
control: "number",
|
|
1527
|
+
type: "number",
|
|
1528
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1529
|
+
},
|
|
1530
|
+
title: {
|
|
1531
|
+
required: false,
|
|
1532
|
+
control: "text",
|
|
1533
|
+
type: "string",
|
|
1534
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1535
|
+
},
|
|
1267
1536
|
translate: {
|
|
1268
1537
|
required: false,
|
|
1269
1538
|
control: "radio",
|
|
1270
1539
|
type: "string",
|
|
1271
|
-
options: ["yes", "no"]
|
|
1540
|
+
options: ["yes", "no"],
|
|
1541
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
1272
1542
|
},
|
|
1273
1543
|
typeof: { required: false, control: "text", type: "string" },
|
|
1274
1544
|
unselectable: {
|
|
@@ -1281,7 +1551,12 @@ const propsAccordionHeader = {
|
|
|
1281
1551
|
};
|
|
1282
1552
|
const propsAccordionTrigger = {
|
|
1283
1553
|
about: { required: false, control: "text", type: "string" },
|
|
1284
|
-
accessKey: {
|
|
1554
|
+
accessKey: {
|
|
1555
|
+
required: false,
|
|
1556
|
+
control: "text",
|
|
1557
|
+
type: "string",
|
|
1558
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1559
|
+
},
|
|
1285
1560
|
"aria-activedescendant": {
|
|
1286
1561
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
1287
1562
|
required: false,
|
|
@@ -1437,7 +1712,7 @@ const propsAccordionTrigger = {
|
|
|
1437
1712
|
type: "string"
|
|
1438
1713
|
},
|
|
1439
1714
|
"aria-label": {
|
|
1440
|
-
description: "
|
|
1715
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
1441
1716
|
required: false,
|
|
1442
1717
|
control: "text",
|
|
1443
1718
|
type: "string"
|
|
@@ -1613,27 +1888,106 @@ const propsAccordionTrigger = {
|
|
|
1613
1888
|
control: "text",
|
|
1614
1889
|
type: "string"
|
|
1615
1890
|
},
|
|
1616
|
-
autoCapitalize: {
|
|
1891
|
+
autoCapitalize: {
|
|
1892
|
+
required: false,
|
|
1893
|
+
control: "text",
|
|
1894
|
+
type: "string",
|
|
1895
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1896
|
+
},
|
|
1617
1897
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1618
|
-
autoFocus: {
|
|
1898
|
+
autoFocus: {
|
|
1899
|
+
required: false,
|
|
1900
|
+
control: "boolean",
|
|
1901
|
+
type: "boolean",
|
|
1902
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1903
|
+
},
|
|
1619
1904
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1620
1905
|
className: { required: false, control: "text", type: "string" },
|
|
1621
|
-
color: {
|
|
1622
|
-
|
|
1623
|
-
|
|
1906
|
+
color: {
|
|
1907
|
+
required: false,
|
|
1908
|
+
control: "color",
|
|
1909
|
+
type: "string",
|
|
1910
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
1911
|
+
},
|
|
1912
|
+
content: {
|
|
1913
|
+
required: false,
|
|
1914
|
+
control: "text",
|
|
1915
|
+
type: "string",
|
|
1916
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1917
|
+
},
|
|
1918
|
+
contextMenu: {
|
|
1919
|
+
required: false,
|
|
1920
|
+
control: "text",
|
|
1921
|
+
type: "string",
|
|
1922
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1923
|
+
},
|
|
1624
1924
|
datatype: { required: false, control: "text", type: "string" },
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1925
|
+
dir: {
|
|
1926
|
+
required: false,
|
|
1927
|
+
control: "text",
|
|
1928
|
+
type: "string",
|
|
1929
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1930
|
+
},
|
|
1931
|
+
disabled: {
|
|
1932
|
+
required: false,
|
|
1933
|
+
control: "boolean",
|
|
1934
|
+
type: "boolean",
|
|
1935
|
+
description: "Indicates whether the user can interact with the element."
|
|
1936
|
+
},
|
|
1937
|
+
draggable: {
|
|
1938
|
+
required: false,
|
|
1939
|
+
control: "boolean",
|
|
1940
|
+
type: "boolean",
|
|
1941
|
+
description: "Defines whether the element can be dragged."
|
|
1942
|
+
},
|
|
1943
|
+
form: {
|
|
1944
|
+
required: false,
|
|
1945
|
+
control: "text",
|
|
1946
|
+
type: "string",
|
|
1947
|
+
description: "Indicates the form that is the owner of the element."
|
|
1948
|
+
},
|
|
1949
|
+
formAction: {
|
|
1950
|
+
required: false,
|
|
1951
|
+
control: "text",
|
|
1952
|
+
type: "string",
|
|
1953
|
+
description: "Indicates the action of the element, overriding the action defined inthe form."
|
|
1954
|
+
},
|
|
1955
|
+
formEncType: {
|
|
1956
|
+
required: false,
|
|
1957
|
+
control: "text",
|
|
1958
|
+
type: "string",
|
|
1959
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the encoding type to use during form submission. If this attribute is specified, it overrides theenctype attribute of the button's form owner.`
|
|
1960
|
+
},
|
|
1961
|
+
formMethod: {
|
|
1962
|
+
required: false,
|
|
1963
|
+
control: "text",
|
|
1964
|
+
type: "string",
|
|
1965
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this attribute sets the submission method to use during form submission (GET, POST, etc.). If this attribute is specified, it overrides the method attribute of the button's form owner.`
|
|
1966
|
+
},
|
|
1967
|
+
formNoValidate: {
|
|
1968
|
+
required: false,
|
|
1969
|
+
control: "boolean",
|
|
1970
|
+
type: "boolean",
|
|
1971
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this boolean attribute specifies that the form is not to be validatedwhen it is submitted. If this attribute is specified, it overrides thenovalidate attribute of the button's form owner.`
|
|
1972
|
+
},
|
|
1973
|
+
formTarget: {
|
|
1974
|
+
required: false,
|
|
1975
|
+
control: "text",
|
|
1976
|
+
type: "string",
|
|
1977
|
+
description: `If the button/input is a submit button (e.g. type="submit"), this attribute specifies the browsing context (for example, tab, window, or inline frame) in which to display the response that is received aftersubmitting the form. If this attribute is specified, it overrides thetarget attribute of the button's form owner.`
|
|
1978
|
+
},
|
|
1979
|
+
hidden: {
|
|
1980
|
+
required: false,
|
|
1981
|
+
control: "boolean",
|
|
1982
|
+
type: "boolean",
|
|
1983
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
1984
|
+
},
|
|
1985
|
+
id: {
|
|
1986
|
+
required: false,
|
|
1987
|
+
control: "text",
|
|
1988
|
+
type: "string",
|
|
1989
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
1990
|
+
},
|
|
1637
1991
|
inputMode: {
|
|
1638
1992
|
description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
1639
1993
|
required: false,
|
|
@@ -1661,21 +2015,56 @@ const propsAccordionTrigger = {
|
|
|
1661
2015
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1662
2016
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1663
2017
|
itemType: { required: false, control: "text", type: "string" },
|
|
1664
|
-
lang: {
|
|
1665
|
-
|
|
2018
|
+
lang: {
|
|
2019
|
+
required: false,
|
|
2020
|
+
control: "text",
|
|
2021
|
+
type: "string",
|
|
2022
|
+
description: "Defines the language used in the element."
|
|
2023
|
+
},
|
|
2024
|
+
name: {
|
|
2025
|
+
required: false,
|
|
2026
|
+
control: "text",
|
|
2027
|
+
type: "string",
|
|
2028
|
+
description: "This name is important when submitting form data to the server, as it identifies the data associated with the input. When multiple inputs share the same name attribute, they are treated as part of the same group (e.g., radio buttons or checkboxes)."
|
|
2029
|
+
},
|
|
1666
2030
|
nonce: { required: false, control: "text", type: "string" },
|
|
1667
|
-
placeholder: {
|
|
2031
|
+
placeholder: {
|
|
2032
|
+
required: false,
|
|
2033
|
+
control: "text",
|
|
2034
|
+
type: "string",
|
|
2035
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
2036
|
+
},
|
|
1668
2037
|
prefix: { required: false, control: "text", type: "string" },
|
|
1669
2038
|
property: { required: false, control: "text", type: "string" },
|
|
1670
2039
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1671
|
-
rel: {
|
|
2040
|
+
rel: {
|
|
2041
|
+
required: false,
|
|
2042
|
+
control: "text",
|
|
2043
|
+
type: "string",
|
|
2044
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
2045
|
+
},
|
|
1672
2046
|
resource: { required: false, control: "text", type: "string" },
|
|
1673
2047
|
results: { required: false, control: "number", type: "number" },
|
|
1674
2048
|
rev: { required: false, control: "text", type: "string" },
|
|
1675
|
-
role: {
|
|
2049
|
+
role: {
|
|
2050
|
+
required: false,
|
|
2051
|
+
control: "text",
|
|
2052
|
+
type: "string",
|
|
2053
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
2054
|
+
},
|
|
1676
2055
|
security: { required: false, control: "text", type: "string" },
|
|
1677
|
-
slot: {
|
|
1678
|
-
|
|
2056
|
+
slot: {
|
|
2057
|
+
required: false,
|
|
2058
|
+
control: "text",
|
|
2059
|
+
type: "string",
|
|
2060
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
2061
|
+
},
|
|
2062
|
+
spellCheck: {
|
|
2063
|
+
required: false,
|
|
2064
|
+
control: "boolean",
|
|
2065
|
+
type: "boolean",
|
|
2066
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
2067
|
+
},
|
|
1679
2068
|
suppressContentEditableWarning: {
|
|
1680
2069
|
required: false,
|
|
1681
2070
|
control: "boolean",
|
|
@@ -1686,19 +2075,31 @@ const propsAccordionTrigger = {
|
|
|
1686
2075
|
control: "boolean",
|
|
1687
2076
|
type: "boolean"
|
|
1688
2077
|
},
|
|
1689
|
-
tabIndex: {
|
|
1690
|
-
|
|
2078
|
+
tabIndex: {
|
|
2079
|
+
required: false,
|
|
2080
|
+
control: "number",
|
|
2081
|
+
type: "number",
|
|
2082
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
2083
|
+
},
|
|
2084
|
+
title: {
|
|
2085
|
+
required: false,
|
|
2086
|
+
control: "text",
|
|
2087
|
+
type: "string",
|
|
2088
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
2089
|
+
},
|
|
1691
2090
|
translate: {
|
|
1692
2091
|
required: false,
|
|
1693
2092
|
control: "radio",
|
|
1694
2093
|
type: "string",
|
|
1695
|
-
options: ["yes", "no"]
|
|
2094
|
+
options: ["yes", "no"],
|
|
2095
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
1696
2096
|
},
|
|
1697
2097
|
type: {
|
|
1698
2098
|
required: false,
|
|
1699
2099
|
control: "radio",
|
|
1700
2100
|
type: "string",
|
|
1701
|
-
options: ["button", "submit", "reset"]
|
|
2101
|
+
options: ["button", "submit", "reset"],
|
|
2102
|
+
description: "Defines the type of the element."
|
|
1702
2103
|
},
|
|
1703
2104
|
typeof: { required: false, control: "text", type: "string" },
|
|
1704
2105
|
unselectable: {
|
|
@@ -1711,7 +2112,12 @@ const propsAccordionTrigger = {
|
|
|
1711
2112
|
};
|
|
1712
2113
|
const propsAccordionContent = {
|
|
1713
2114
|
about: { required: false, control: "text", type: "string" },
|
|
1714
|
-
accessKey: {
|
|
2115
|
+
accessKey: {
|
|
2116
|
+
required: false,
|
|
2117
|
+
control: "text",
|
|
2118
|
+
type: "string",
|
|
2119
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
2120
|
+
},
|
|
1715
2121
|
"aria-activedescendant": {
|
|
1716
2122
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
1717
2123
|
required: false,
|
|
@@ -1867,7 +2273,7 @@ const propsAccordionContent = {
|
|
|
1867
2273
|
type: "string"
|
|
1868
2274
|
},
|
|
1869
2275
|
"aria-label": {
|
|
1870
|
-
description: "
|
|
2276
|
+
description: "Provides the accessible name that describes an interactive element if no other accessible name exists, for example in a button that contains an image with no text.",
|
|
1871
2277
|
required: false,
|
|
1872
2278
|
control: "text",
|
|
1873
2279
|
type: "string"
|
|
@@ -2043,20 +2449,64 @@ const propsAccordionContent = {
|
|
|
2043
2449
|
control: "text",
|
|
2044
2450
|
type: "string"
|
|
2045
2451
|
},
|
|
2046
|
-
autoCapitalize: {
|
|
2452
|
+
autoCapitalize: {
|
|
2453
|
+
required: false,
|
|
2454
|
+
control: "text",
|
|
2455
|
+
type: "string",
|
|
2456
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
2457
|
+
},
|
|
2047
2458
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
2048
|
-
autoFocus: {
|
|
2459
|
+
autoFocus: {
|
|
2460
|
+
required: false,
|
|
2461
|
+
control: "boolean",
|
|
2462
|
+
type: "boolean",
|
|
2463
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
2464
|
+
},
|
|
2049
2465
|
autoSave: { required: false, control: "text", type: "string" },
|
|
2050
2466
|
className: { required: false, control: "text", type: "string" },
|
|
2051
|
-
color: {
|
|
2052
|
-
|
|
2053
|
-
|
|
2467
|
+
color: {
|
|
2468
|
+
required: false,
|
|
2469
|
+
control: "color",
|
|
2470
|
+
type: "string",
|
|
2471
|
+
description: "This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format. Note: This is a legacy attribute. Please use the CSS color property instead."
|
|
2472
|
+
},
|
|
2473
|
+
content: {
|
|
2474
|
+
required: false,
|
|
2475
|
+
control: "text",
|
|
2476
|
+
type: "string",
|
|
2477
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
2478
|
+
},
|
|
2479
|
+
contextMenu: {
|
|
2480
|
+
required: false,
|
|
2481
|
+
control: "text",
|
|
2482
|
+
type: "string",
|
|
2483
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
2484
|
+
},
|
|
2054
2485
|
datatype: { required: false, control: "text", type: "string" },
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2486
|
+
dir: {
|
|
2487
|
+
required: false,
|
|
2488
|
+
control: "text",
|
|
2489
|
+
type: "string",
|
|
2490
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
2491
|
+
},
|
|
2492
|
+
draggable: {
|
|
2493
|
+
required: false,
|
|
2494
|
+
control: "boolean",
|
|
2495
|
+
type: "boolean",
|
|
2496
|
+
description: "Defines whether the element can be dragged."
|
|
2497
|
+
},
|
|
2498
|
+
hidden: {
|
|
2499
|
+
required: false,
|
|
2500
|
+
control: "boolean",
|
|
2501
|
+
type: "boolean",
|
|
2502
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
2503
|
+
},
|
|
2504
|
+
id: {
|
|
2505
|
+
required: false,
|
|
2506
|
+
control: "text",
|
|
2507
|
+
type: "string",
|
|
2508
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
2509
|
+
},
|
|
2060
2510
|
inputMode: {
|
|
2061
2511
|
description: "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
|
|
2062
2512
|
required: false,
|
|
@@ -2084,20 +2534,50 @@ const propsAccordionContent = {
|
|
|
2084
2534
|
itemRef: { required: false, control: "text", type: "string" },
|
|
2085
2535
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
2086
2536
|
itemType: { required: false, control: "text", type: "string" },
|
|
2087
|
-
lang: {
|
|
2537
|
+
lang: {
|
|
2538
|
+
required: false,
|
|
2539
|
+
control: "text",
|
|
2540
|
+
type: "string",
|
|
2541
|
+
description: "Defines the language used in the element."
|
|
2542
|
+
},
|
|
2088
2543
|
nonce: { required: false, control: "text", type: "string" },
|
|
2089
|
-
placeholder: {
|
|
2544
|
+
placeholder: {
|
|
2545
|
+
required: false,
|
|
2546
|
+
control: "text",
|
|
2547
|
+
type: "string",
|
|
2548
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
2549
|
+
},
|
|
2090
2550
|
prefix: { required: false, control: "text", type: "string" },
|
|
2091
2551
|
property: { required: false, control: "text", type: "string" },
|
|
2092
2552
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
2093
|
-
rel: {
|
|
2553
|
+
rel: {
|
|
2554
|
+
required: false,
|
|
2555
|
+
control: "text",
|
|
2556
|
+
type: "string",
|
|
2557
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
2558
|
+
},
|
|
2094
2559
|
resource: { required: false, control: "text", type: "string" },
|
|
2095
2560
|
results: { required: false, control: "number", type: "number" },
|
|
2096
2561
|
rev: { required: false, control: "text", type: "string" },
|
|
2097
|
-
role: {
|
|
2562
|
+
role: {
|
|
2563
|
+
required: false,
|
|
2564
|
+
control: "text",
|
|
2565
|
+
type: "string",
|
|
2566
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
2567
|
+
},
|
|
2098
2568
|
security: { required: false, control: "text", type: "string" },
|
|
2099
|
-
slot: {
|
|
2100
|
-
|
|
2569
|
+
slot: {
|
|
2570
|
+
required: false,
|
|
2571
|
+
control: "text",
|
|
2572
|
+
type: "string",
|
|
2573
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
2574
|
+
},
|
|
2575
|
+
spellCheck: {
|
|
2576
|
+
required: false,
|
|
2577
|
+
control: "boolean",
|
|
2578
|
+
type: "boolean",
|
|
2579
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
2580
|
+
},
|
|
2101
2581
|
suppressContentEditableWarning: {
|
|
2102
2582
|
required: false,
|
|
2103
2583
|
control: "boolean",
|
|
@@ -2108,13 +2588,24 @@ const propsAccordionContent = {
|
|
|
2108
2588
|
control: "boolean",
|
|
2109
2589
|
type: "boolean"
|
|
2110
2590
|
},
|
|
2111
|
-
tabIndex: {
|
|
2112
|
-
|
|
2591
|
+
tabIndex: {
|
|
2592
|
+
required: false,
|
|
2593
|
+
control: "number",
|
|
2594
|
+
type: "number",
|
|
2595
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
2596
|
+
},
|
|
2597
|
+
title: {
|
|
2598
|
+
required: false,
|
|
2599
|
+
control: "text",
|
|
2600
|
+
type: "string",
|
|
2601
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
2602
|
+
},
|
|
2113
2603
|
translate: {
|
|
2114
2604
|
required: false,
|
|
2115
2605
|
control: "radio",
|
|
2116
2606
|
type: "string",
|
|
2117
|
-
options: ["yes", "no"]
|
|
2607
|
+
options: ["yes", "no"],
|
|
2608
|
+
description: "Specify whether an element's attribute values and the values of its text node children are to be translated when the page is localized, or whether to leave them unchanged."
|
|
2118
2609
|
},
|
|
2119
2610
|
typeof: { required: false, control: "text", type: "string" },
|
|
2120
2611
|
unselectable: {
|