@webstudio-is/sdk-components-react-radix 0.87.1 → 0.89.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/__generated__/accordion.props.js +605 -114
- package/lib/__generated__/button.props.js +158 -47
- package/lib/__generated__/checkbox.props.js +1083 -0
- package/lib/__generated__/collapsible.props.js +234 -44
- package/lib/__generated__/dialog.props.js +611 -121
- package/lib/__generated__/input.props.js +264 -47
- package/lib/__generated__/label.props.js +123 -23
- package/lib/__generated__/navigation-menu.props.js +2565 -0
- package/lib/__generated__/popover.props.js +129 -28
- package/lib/__generated__/radio-group.props.js +1627 -0
- package/lib/__generated__/select.props.js +3678 -0
- package/lib/__generated__/sheet.props.js +591 -121
- package/lib/__generated__/switch.props.js +1083 -0
- package/lib/__generated__/tabs.props.js +906 -68
- package/lib/__generated__/textarea.props.js +177 -31
- package/lib/__generated__/tooltip.props.js +131 -29
- package/lib/accordion.js +11 -4
- package/lib/accordion.ws.js +88 -72
- package/lib/checkbox.js +13 -0
- package/lib/checkbox.ws.js +153 -0
- package/lib/cjs/__generated__/accordion.props.js +605 -114
- package/lib/cjs/__generated__/button.props.js +158 -47
- package/lib/cjs/__generated__/checkbox.props.js +1103 -0
- package/lib/cjs/__generated__/collapsible.props.js +234 -44
- package/lib/cjs/__generated__/dialog.props.js +611 -121
- package/lib/cjs/__generated__/input.props.js +264 -47
- package/lib/cjs/__generated__/label.props.js +123 -23
- package/lib/cjs/__generated__/navigation-menu.props.js +2585 -0
- package/lib/cjs/__generated__/popover.props.js +129 -28
- package/lib/cjs/__generated__/radio-group.props.js +1647 -0
- package/lib/cjs/__generated__/select.props.js +3698 -0
- package/lib/cjs/__generated__/sheet.props.js +591 -121
- package/lib/cjs/__generated__/switch.props.js +1103 -0
- package/lib/cjs/__generated__/tabs.props.js +906 -68
- package/lib/cjs/__generated__/textarea.props.js +177 -31
- package/lib/cjs/__generated__/tooltip.props.js +131 -29
- package/lib/cjs/accordion.js +11 -4
- package/lib/cjs/accordion.ws.js +86 -71
- package/lib/cjs/{textarea.js → checkbox.js} +9 -6
- package/lib/cjs/checkbox.ws.js +174 -0
- package/lib/cjs/collapsible.ws.js +5 -1
- package/lib/cjs/components.js +27 -14
- package/lib/cjs/dialog.ws.js +18 -17
- package/lib/cjs/hooks.js +5 -1
- package/lib/cjs/label.ws.js +2 -1
- package/lib/cjs/metas.js +29 -14
- package/lib/cjs/navigation-menu.js +107 -0
- package/lib/cjs/navigation-menu.ws.js +514 -0
- package/lib/cjs/popover.ws.js +13 -9
- package/lib/cjs/props-descriptions.js +56 -0
- package/lib/cjs/props.js +27 -14
- package/lib/cjs/{button.js → radio-group.js} +10 -8
- package/lib/cjs/radio-group.ws.js +191 -0
- package/lib/cjs/select.js +83 -0
- package/lib/cjs/select.ws.js +350 -0
- package/lib/cjs/sheet.ws.js +88 -176
- package/lib/cjs/{input.js → switch.js} +8 -9
- package/lib/cjs/switch.ws.js +173 -0
- package/lib/cjs/tabs.js +2 -3
- package/lib/cjs/tabs.ws.js +14 -18
- package/lib/cjs/theme/styles.js +100 -0
- package/lib/cjs/theme/tailwind-classes.js +125 -16
- package/lib/cjs/theme/tailwind-colors.js +1 -0
- package/lib/cjs/tooltip.ws.js +12 -8
- package/lib/collapsible.ws.js +5 -1
- package/lib/components.js +44 -22
- package/lib/dialog.ws.js +18 -17
- package/lib/hooks.js +5 -1
- package/lib/label.ws.js +2 -1
- package/lib/metas.js +58 -24
- package/lib/navigation-menu.js +85 -0
- package/lib/navigation-menu.ws.js +501 -0
- package/lib/popover.ws.js +13 -9
- package/lib/props-descriptions.js +36 -0
- package/lib/props.js +56 -24
- package/lib/radio-group.js +11 -0
- package/lib/radio-group.ws.js +173 -0
- package/lib/select.js +75 -0
- package/lib/select.ws.js +338 -0
- package/lib/sheet.ws.js +89 -194
- package/lib/switch.js +7 -0
- package/lib/switch.ws.js +145 -0
- package/lib/tabs.js +3 -5
- package/lib/tabs.ws.js +15 -19
- package/lib/theme/styles.js +70 -0
- package/lib/theme/tailwind-classes.js +125 -16
- package/lib/theme/tailwind-colors.js +1 -0
- package/lib/tooltip.ws.js +12 -8
- package/lib/types/__generated__/checkbox.props.d.ts +3 -0
- package/lib/types/__generated__/navigation-menu.props.d.ts +8 -0
- package/lib/types/__generated__/radio-group.props.d.ts +4 -0
- package/lib/types/__generated__/select.props.d.ts +9 -0
- package/lib/types/__generated__/switch.props.d.ts +3 -0
- package/lib/types/checkbox.d.ts +6 -0
- package/lib/types/checkbox.stories.d.ts +11 -0
- package/lib/types/checkbox.ws.d.ts +5 -0
- package/lib/types/components.d.ts +5 -4
- package/lib/types/metas.d.ts +6 -4
- package/lib/types/navigation-menu.d.ts +15 -0
- package/lib/types/navigation-menu.ws.d.ts +15 -0
- package/lib/types/props-descriptions.d.ts +29 -0
- package/lib/types/props.d.ts +5 -4
- package/lib/types/radio-group.d.ts +5 -0
- package/lib/types/radio-group.stories.d.ts +9 -0
- package/lib/types/radio-group.ws.d.ts +7 -0
- package/lib/types/select.d.ts +14 -0
- package/lib/types/select.ws.d.ts +17 -0
- package/lib/types/sheet.ws.d.ts +2 -15
- package/lib/types/switch.d.ts +4 -0
- package/lib/types/switch.stories.d.ts +9 -0
- package/lib/types/switch.ws.d.ts +5 -0
- package/lib/types/tabs.d.ts +3 -12
- package/lib/types/theme/radix-common-types.d.ts +3 -2
- package/lib/types/theme/styles.d.ts +215 -0
- package/lib/types/theme/tailwind-classes.d.ts +16 -6
- package/lib/types/theme/tailwind-colors.d.ts +1 -0
- package/lib/types/theme/tailwind-theme.d.ts +1 -1
- package/package.json +12 -7
- package/src/__generated__/accordion.props.ts +675 -108
- package/src/__generated__/button.props.ts +177 -45
- package/src/__generated__/checkbox.props.ts +1217 -0
- package/src/__generated__/collapsible.props.ts +261 -42
- package/src/__generated__/dialog.props.ts +682 -115
- package/src/__generated__/input.props.ts +292 -44
- package/src/__generated__/label.props.ts +137 -22
- package/src/__generated__/navigation-menu.props.ts +2882 -0
- package/src/__generated__/popover.props.ts +142 -24
- package/src/__generated__/radio-group.props.ts +1828 -0
- package/src/__generated__/select.props.ts +4130 -0
- package/src/__generated__/sheet.props.ts +657 -110
- package/src/__generated__/switch.props.ts +1217 -0
- package/src/__generated__/tabs.props.ts +1019 -67
- package/src/__generated__/textarea.props.ts +195 -30
- package/src/__generated__/tooltip.props.ts +145 -25
- package/src/accordion.tsx +14 -7
- package/src/accordion.ws.ts +87 -70
- package/src/{textarea.stories.ts → checkbox.stories.ts} +6 -11
- package/src/checkbox.tsx +22 -0
- package/src/checkbox.ws.ts +154 -0
- package/src/collapsible.ws.ts +6 -1
- package/src/components.ts +25 -12
- package/src/dialog.ws.tsx +17 -16
- package/src/hooks.ts +4 -0
- package/src/label.ws.ts +3 -1
- package/src/metas.ts +36 -12
- package/src/navigation-menu.stories.tsx +21 -0
- package/src/navigation-menu.tsx +130 -0
- package/src/navigation-menu.ws.ts +524 -0
- package/src/popover.ws.tsx +13 -9
- package/src/props-descriptions.ts +43 -0
- package/src/props.ts +35 -12
- package/src/{input.stories.ts → radio-group.stories.ts} +6 -15
- package/src/radio-group.tsx +17 -0
- package/src/radio-group.ws.ts +178 -0
- package/src/select.stories.tsx +21 -0
- package/src/select.tsx +112 -0
- package/src/select.ws.ts +349 -0
- package/src/sheet.ws.tsx +91 -209
- package/src/{button.stories.ts → switch.stories.ts} +6 -19
- package/src/switch.tsx +10 -0
- package/src/switch.ws.ts +146 -0
- package/src/tabs.tsx +4 -17
- package/src/tabs.ws.ts +19 -19
- package/src/theme/radix-common-types.ts +3 -2
- package/src/theme/styles.ts +80 -0
- package/src/theme/tailwind-classes.ts +150 -14
- package/src/theme/tailwind-colors.ts +1 -0
- package/src/tooltip.ws.tsx +13 -8
- package/lib/button.js +0 -8
- package/lib/button.ws.js +0 -133
- package/lib/cjs/button.ws.js +0 -160
- package/lib/cjs/input.ws.js +0 -103
- package/lib/cjs/textarea.ws.js +0 -98
- package/lib/input.js +0 -8
- package/lib/input.ws.js +0 -75
- package/lib/textarea.js +0 -8
- package/lib/textarea.ws.js +0 -70
- package/lib/types/button.d.ts +0 -7
- package/lib/types/button.stories.d.ts +0 -20
- package/lib/types/button.ws.d.ts +0 -7
- package/lib/types/input.d.ts +0 -2
- package/lib/types/input.stories.d.ts +0 -20
- package/lib/types/input.ws.d.ts +0 -3
- package/lib/types/textarea.d.ts +0 -2
- package/lib/types/textarea.stories.d.ts +0 -14
- package/lib/types/textarea.ws.d.ts +0 -3
- package/src/button.tsx +0 -25
- package/src/button.ws.ts +0 -155
- package/src/input.tsx +0 -12
- package/src/input.ws.ts +0 -78
- package/src/textarea.tsx +0 -12
- package/src/textarea.ws.ts +0 -74
|
@@ -2,7 +2,12 @@ import type { PropMeta } from "@webstudio-is/generate-arg-types";
|
|
|
2
2
|
|
|
3
3
|
export const propsCollapsible: 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 propsCollapsible: 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,21 +387,78 @@ export const propsCollapsible: 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
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
429
|
+
dir: {
|
|
430
|
+
required: false,
|
|
431
|
+
control: "text",
|
|
432
|
+
type: "string",
|
|
433
|
+
description:
|
|
434
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
435
|
+
},
|
|
436
|
+
disabled: {
|
|
437
|
+
required: false,
|
|
438
|
+
control: "boolean",
|
|
439
|
+
type: "boolean",
|
|
440
|
+
description: "Indicates whether the user can interact with the element.",
|
|
441
|
+
},
|
|
442
|
+
draggable: {
|
|
443
|
+
required: false,
|
|
444
|
+
control: "boolean",
|
|
445
|
+
type: "boolean",
|
|
446
|
+
description: "Defines whether the element can be dragged.",
|
|
447
|
+
},
|
|
448
|
+
hidden: {
|
|
449
|
+
required: false,
|
|
450
|
+
control: "boolean",
|
|
451
|
+
type: "boolean",
|
|
452
|
+
description:
|
|
453
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
454
|
+
},
|
|
455
|
+
id: {
|
|
456
|
+
required: false,
|
|
457
|
+
control: "text",
|
|
458
|
+
type: "string",
|
|
459
|
+
description:
|
|
460
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
461
|
+
},
|
|
400
462
|
inputMode: {
|
|
401
463
|
description:
|
|
402
464
|
"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",
|
|
@@ -426,21 +488,60 @@ export const propsCollapsible: Record<string, PropMeta> = {
|
|
|
426
488
|
itemRef: { required: false, control: "text", type: "string" },
|
|
427
489
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
428
490
|
itemType: { required: false, control: "text", type: "string" },
|
|
429
|
-
lang: {
|
|
491
|
+
lang: {
|
|
492
|
+
required: false,
|
|
493
|
+
control: "text",
|
|
494
|
+
type: "string",
|
|
495
|
+
description: "Defines the language used in the element.",
|
|
496
|
+
},
|
|
430
497
|
nonce: { required: false, control: "text", type: "string" },
|
|
431
|
-
open: {
|
|
432
|
-
|
|
498
|
+
open: {
|
|
499
|
+
required: false,
|
|
500
|
+
control: "boolean",
|
|
501
|
+
type: "boolean",
|
|
502
|
+
description:
|
|
503
|
+
"Show or hide the content of this component on the canvas. This will not affect the initial state of the component.",
|
|
504
|
+
},
|
|
505
|
+
placeholder: {
|
|
506
|
+
required: false,
|
|
507
|
+
control: "text",
|
|
508
|
+
type: "string",
|
|
509
|
+
description:
|
|
510
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
511
|
+
},
|
|
433
512
|
prefix: { required: false, control: "text", type: "string" },
|
|
434
513
|
property: { required: false, control: "text", type: "string" },
|
|
435
514
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
436
|
-
rel: {
|
|
515
|
+
rel: {
|
|
516
|
+
required: false,
|
|
517
|
+
control: "text",
|
|
518
|
+
type: "string",
|
|
519
|
+
description:
|
|
520
|
+
"Specifies the relationship of the target object to the link object.",
|
|
521
|
+
},
|
|
437
522
|
resource: { required: false, control: "text", type: "string" },
|
|
438
523
|
results: { required: false, control: "number", type: "number" },
|
|
439
524
|
rev: { required: false, control: "text", type: "string" },
|
|
440
|
-
role: {
|
|
525
|
+
role: {
|
|
526
|
+
required: false,
|
|
527
|
+
control: "text",
|
|
528
|
+
type: "string",
|
|
529
|
+
description:
|
|
530
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
531
|
+
},
|
|
441
532
|
security: { required: false, control: "text", type: "string" },
|
|
442
|
-
slot: {
|
|
443
|
-
|
|
533
|
+
slot: {
|
|
534
|
+
required: false,
|
|
535
|
+
control: "text",
|
|
536
|
+
type: "string",
|
|
537
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
538
|
+
},
|
|
539
|
+
spellCheck: {
|
|
540
|
+
required: false,
|
|
541
|
+
control: "boolean",
|
|
542
|
+
type: "boolean",
|
|
543
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
544
|
+
},
|
|
444
545
|
suppressContentEditableWarning: {
|
|
445
546
|
required: false,
|
|
446
547
|
control: "boolean",
|
|
@@ -451,13 +552,27 @@ export const propsCollapsible: Record<string, PropMeta> = {
|
|
|
451
552
|
control: "boolean",
|
|
452
553
|
type: "boolean",
|
|
453
554
|
},
|
|
454
|
-
tabIndex: {
|
|
455
|
-
|
|
555
|
+
tabIndex: {
|
|
556
|
+
required: false,
|
|
557
|
+
control: "number",
|
|
558
|
+
type: "number",
|
|
559
|
+
description:
|
|
560
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
561
|
+
},
|
|
562
|
+
title: {
|
|
563
|
+
required: false,
|
|
564
|
+
control: "text",
|
|
565
|
+
type: "string",
|
|
566
|
+
description:
|
|
567
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
568
|
+
},
|
|
456
569
|
translate: {
|
|
457
570
|
required: false,
|
|
458
571
|
control: "radio",
|
|
459
572
|
type: "string",
|
|
460
573
|
options: ["yes", "no"],
|
|
574
|
+
description:
|
|
575
|
+
"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.",
|
|
461
576
|
},
|
|
462
577
|
typeof: { required: false, control: "text", type: "string" },
|
|
463
578
|
unselectable: {
|
|
@@ -471,7 +586,12 @@ export const propsCollapsible: Record<string, PropMeta> = {
|
|
|
471
586
|
export const propsCollapsibleTrigger: Record<string, PropMeta> = {};
|
|
472
587
|
export const propsCollapsibleContent: Record<string, PropMeta> = {
|
|
473
588
|
about: { required: false, control: "text", type: "string" },
|
|
474
|
-
accessKey: {
|
|
589
|
+
accessKey: {
|
|
590
|
+
required: false,
|
|
591
|
+
control: "text",
|
|
592
|
+
type: "string",
|
|
593
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
594
|
+
},
|
|
475
595
|
"aria-activedescendant": {
|
|
476
596
|
description:
|
|
477
597
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -652,7 +772,7 @@ export const propsCollapsibleContent: Record<string, PropMeta> = {
|
|
|
652
772
|
},
|
|
653
773
|
"aria-label": {
|
|
654
774
|
description:
|
|
655
|
-
"
|
|
775
|
+
"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.",
|
|
656
776
|
required: false,
|
|
657
777
|
control: "text",
|
|
658
778
|
type: "string",
|
|
@@ -851,20 +971,72 @@ export const propsCollapsibleContent: Record<string, PropMeta> = {
|
|
|
851
971
|
control: "text",
|
|
852
972
|
type: "string",
|
|
853
973
|
},
|
|
854
|
-
autoCapitalize: {
|
|
974
|
+
autoCapitalize: {
|
|
975
|
+
required: false,
|
|
976
|
+
control: "text",
|
|
977
|
+
type: "string",
|
|
978
|
+
description:
|
|
979
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
980
|
+
},
|
|
855
981
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
856
|
-
autoFocus: {
|
|
982
|
+
autoFocus: {
|
|
983
|
+
required: false,
|
|
984
|
+
control: "boolean",
|
|
985
|
+
type: "boolean",
|
|
986
|
+
description:
|
|
987
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
988
|
+
},
|
|
857
989
|
autoSave: { required: false, control: "text", type: "string" },
|
|
858
990
|
className: { required: false, control: "text", type: "string" },
|
|
859
|
-
color: {
|
|
860
|
-
|
|
861
|
-
|
|
991
|
+
color: {
|
|
992
|
+
required: false,
|
|
993
|
+
control: "color",
|
|
994
|
+
type: "string",
|
|
995
|
+
description:
|
|
996
|
+
"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.",
|
|
997
|
+
},
|
|
998
|
+
content: {
|
|
999
|
+
required: false,
|
|
1000
|
+
control: "text",
|
|
1001
|
+
type: "string",
|
|
1002
|
+
description:
|
|
1003
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
1004
|
+
},
|
|
1005
|
+
contextMenu: {
|
|
1006
|
+
required: false,
|
|
1007
|
+
control: "text",
|
|
1008
|
+
type: "string",
|
|
1009
|
+
description:
|
|
1010
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
1011
|
+
},
|
|
862
1012
|
datatype: { required: false, control: "text", type: "string" },
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
1013
|
+
dir: {
|
|
1014
|
+
required: false,
|
|
1015
|
+
control: "text",
|
|
1016
|
+
type: "string",
|
|
1017
|
+
description:
|
|
1018
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
1019
|
+
},
|
|
1020
|
+
draggable: {
|
|
1021
|
+
required: false,
|
|
1022
|
+
control: "boolean",
|
|
1023
|
+
type: "boolean",
|
|
1024
|
+
description: "Defines whether the element can be dragged.",
|
|
1025
|
+
},
|
|
1026
|
+
hidden: {
|
|
1027
|
+
required: false,
|
|
1028
|
+
control: "boolean",
|
|
1029
|
+
type: "boolean",
|
|
1030
|
+
description:
|
|
1031
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
1032
|
+
},
|
|
1033
|
+
id: {
|
|
1034
|
+
required: false,
|
|
1035
|
+
control: "text",
|
|
1036
|
+
type: "string",
|
|
1037
|
+
description:
|
|
1038
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
1039
|
+
},
|
|
868
1040
|
inputMode: {
|
|
869
1041
|
description:
|
|
870
1042
|
"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",
|
|
@@ -894,20 +1066,53 @@ export const propsCollapsibleContent: Record<string, PropMeta> = {
|
|
|
894
1066
|
itemRef: { required: false, control: "text", type: "string" },
|
|
895
1067
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
896
1068
|
itemType: { required: false, control: "text", type: "string" },
|
|
897
|
-
lang: {
|
|
1069
|
+
lang: {
|
|
1070
|
+
required: false,
|
|
1071
|
+
control: "text",
|
|
1072
|
+
type: "string",
|
|
1073
|
+
description: "Defines the language used in the element.",
|
|
1074
|
+
},
|
|
898
1075
|
nonce: { required: false, control: "text", type: "string" },
|
|
899
|
-
placeholder: {
|
|
1076
|
+
placeholder: {
|
|
1077
|
+
required: false,
|
|
1078
|
+
control: "text",
|
|
1079
|
+
type: "string",
|
|
1080
|
+
description:
|
|
1081
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
1082
|
+
},
|
|
900
1083
|
prefix: { required: false, control: "text", type: "string" },
|
|
901
1084
|
property: { required: false, control: "text", type: "string" },
|
|
902
1085
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
903
|
-
rel: {
|
|
1086
|
+
rel: {
|
|
1087
|
+
required: false,
|
|
1088
|
+
control: "text",
|
|
1089
|
+
type: "string",
|
|
1090
|
+
description:
|
|
1091
|
+
"Specifies the relationship of the target object to the link object.",
|
|
1092
|
+
},
|
|
904
1093
|
resource: { required: false, control: "text", type: "string" },
|
|
905
1094
|
results: { required: false, control: "number", type: "number" },
|
|
906
1095
|
rev: { required: false, control: "text", type: "string" },
|
|
907
|
-
role: {
|
|
1096
|
+
role: {
|
|
1097
|
+
required: false,
|
|
1098
|
+
control: "text",
|
|
1099
|
+
type: "string",
|
|
1100
|
+
description:
|
|
1101
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
1102
|
+
},
|
|
908
1103
|
security: { required: false, control: "text", type: "string" },
|
|
909
|
-
slot: {
|
|
910
|
-
|
|
1104
|
+
slot: {
|
|
1105
|
+
required: false,
|
|
1106
|
+
control: "text",
|
|
1107
|
+
type: "string",
|
|
1108
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
1109
|
+
},
|
|
1110
|
+
spellCheck: {
|
|
1111
|
+
required: false,
|
|
1112
|
+
control: "boolean",
|
|
1113
|
+
type: "boolean",
|
|
1114
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
1115
|
+
},
|
|
911
1116
|
suppressContentEditableWarning: {
|
|
912
1117
|
required: false,
|
|
913
1118
|
control: "boolean",
|
|
@@ -918,13 +1123,27 @@ export const propsCollapsibleContent: Record<string, PropMeta> = {
|
|
|
918
1123
|
control: "boolean",
|
|
919
1124
|
type: "boolean",
|
|
920
1125
|
},
|
|
921
|
-
tabIndex: {
|
|
922
|
-
|
|
1126
|
+
tabIndex: {
|
|
1127
|
+
required: false,
|
|
1128
|
+
control: "number",
|
|
1129
|
+
type: "number",
|
|
1130
|
+
description:
|
|
1131
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
1132
|
+
},
|
|
1133
|
+
title: {
|
|
1134
|
+
required: false,
|
|
1135
|
+
control: "text",
|
|
1136
|
+
type: "string",
|
|
1137
|
+
description:
|
|
1138
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
1139
|
+
},
|
|
923
1140
|
translate: {
|
|
924
1141
|
required: false,
|
|
925
1142
|
control: "radio",
|
|
926
1143
|
type: "string",
|
|
927
1144
|
options: ["yes", "no"],
|
|
1145
|
+
description:
|
|
1146
|
+
"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.",
|
|
928
1147
|
},
|
|
929
1148
|
typeof: { required: false, control: "text", type: "string" },
|
|
930
1149
|
unselectable: {
|