@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 propsCheckbox: 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 propsCheckbox: 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,27 +387,126 @@ export const propsCheckbox: 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
|
-
checked: {
|
|
406
|
+
checked: {
|
|
407
|
+
required: true,
|
|
408
|
+
control: "boolean",
|
|
409
|
+
type: "boolean",
|
|
410
|
+
description:
|
|
411
|
+
"Indicates whether the element should be checked on page load.",
|
|
412
|
+
},
|
|
390
413
|
className: { required: false, control: "text", type: "string" },
|
|
391
|
-
color: {
|
|
392
|
-
|
|
393
|
-
|
|
414
|
+
color: {
|
|
415
|
+
required: false,
|
|
416
|
+
control: "color",
|
|
417
|
+
type: "string",
|
|
418
|
+
description:
|
|
419
|
+
"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.",
|
|
420
|
+
},
|
|
421
|
+
content: {
|
|
422
|
+
required: false,
|
|
423
|
+
control: "text",
|
|
424
|
+
type: "string",
|
|
425
|
+
description:
|
|
426
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
427
|
+
},
|
|
428
|
+
contextMenu: {
|
|
429
|
+
required: false,
|
|
430
|
+
control: "text",
|
|
431
|
+
type: "string",
|
|
432
|
+
description:
|
|
433
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
434
|
+
},
|
|
394
435
|
datatype: { required: false, control: "text", type: "string" },
|
|
395
|
-
dir: {
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
436
|
+
dir: {
|
|
437
|
+
required: false,
|
|
438
|
+
control: "text",
|
|
439
|
+
type: "string",
|
|
440
|
+
description:
|
|
441
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
442
|
+
},
|
|
443
|
+
disabled: {
|
|
444
|
+
required: false,
|
|
445
|
+
control: "boolean",
|
|
446
|
+
type: "boolean",
|
|
447
|
+
description: "Indicates whether the user can interact with the element.",
|
|
448
|
+
},
|
|
449
|
+
draggable: {
|
|
450
|
+
required: false,
|
|
451
|
+
control: "boolean",
|
|
452
|
+
type: "boolean",
|
|
453
|
+
description: "Defines whether the element can be dragged.",
|
|
454
|
+
},
|
|
455
|
+
form: {
|
|
456
|
+
required: false,
|
|
457
|
+
control: "text",
|
|
458
|
+
type: "string",
|
|
459
|
+
description: "Indicates the form that is the owner of the element.",
|
|
460
|
+
},
|
|
461
|
+
formAction: {
|
|
462
|
+
required: false,
|
|
463
|
+
control: "text",
|
|
464
|
+
type: "string",
|
|
465
|
+
description:
|
|
466
|
+
"Indicates the action of the element, overriding the action defined inthe form.",
|
|
467
|
+
},
|
|
468
|
+
formEncType: {
|
|
469
|
+
required: false,
|
|
470
|
+
control: "text",
|
|
471
|
+
type: "string",
|
|
472
|
+
description:
|
|
473
|
+
'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.',
|
|
474
|
+
},
|
|
475
|
+
formMethod: {
|
|
476
|
+
required: false,
|
|
477
|
+
control: "text",
|
|
478
|
+
type: "string",
|
|
479
|
+
description:
|
|
480
|
+
'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.',
|
|
481
|
+
},
|
|
482
|
+
formNoValidate: {
|
|
483
|
+
required: false,
|
|
484
|
+
control: "boolean",
|
|
485
|
+
type: "boolean",
|
|
486
|
+
description:
|
|
487
|
+
'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.',
|
|
488
|
+
},
|
|
489
|
+
formTarget: {
|
|
490
|
+
required: false,
|
|
491
|
+
control: "text",
|
|
492
|
+
type: "string",
|
|
493
|
+
description:
|
|
494
|
+
'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.',
|
|
495
|
+
},
|
|
496
|
+
hidden: {
|
|
497
|
+
required: false,
|
|
498
|
+
control: "boolean",
|
|
499
|
+
type: "boolean",
|
|
500
|
+
description:
|
|
501
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
502
|
+
},
|
|
503
|
+
id: {
|
|
504
|
+
required: false,
|
|
505
|
+
control: "text",
|
|
506
|
+
type: "string",
|
|
507
|
+
description:
|
|
508
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
509
|
+
},
|
|
406
510
|
inputMode: {
|
|
407
511
|
description:
|
|
408
512
|
"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",
|
|
@@ -432,22 +536,67 @@ export const propsCheckbox: Record<string, PropMeta> = {
|
|
|
432
536
|
itemRef: { required: false, control: "text", type: "string" },
|
|
433
537
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
434
538
|
itemType: { required: false, control: "text", type: "string" },
|
|
435
|
-
lang: {
|
|
436
|
-
|
|
539
|
+
lang: {
|
|
540
|
+
required: false,
|
|
541
|
+
control: "text",
|
|
542
|
+
type: "string",
|
|
543
|
+
description: "Defines the language used in the element.",
|
|
544
|
+
},
|
|
545
|
+
name: {
|
|
546
|
+
required: false,
|
|
547
|
+
control: "text",
|
|
548
|
+
type: "string",
|
|
549
|
+
description:
|
|
550
|
+
"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).",
|
|
551
|
+
},
|
|
437
552
|
nonce: { required: false, control: "text", type: "string" },
|
|
438
|
-
placeholder: {
|
|
553
|
+
placeholder: {
|
|
554
|
+
required: false,
|
|
555
|
+
control: "text",
|
|
556
|
+
type: "string",
|
|
557
|
+
description:
|
|
558
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
559
|
+
},
|
|
439
560
|
prefix: { required: false, control: "text", type: "string" },
|
|
440
561
|
property: { required: false, control: "text", type: "string" },
|
|
441
562
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
442
|
-
rel: {
|
|
443
|
-
|
|
563
|
+
rel: {
|
|
564
|
+
required: false,
|
|
565
|
+
control: "text",
|
|
566
|
+
type: "string",
|
|
567
|
+
description:
|
|
568
|
+
"Specifies the relationship of the target object to the link object.",
|
|
569
|
+
},
|
|
570
|
+
required: {
|
|
571
|
+
required: false,
|
|
572
|
+
control: "boolean",
|
|
573
|
+
type: "boolean",
|
|
574
|
+
description:
|
|
575
|
+
"Indicates whether this form element must be filled before the form can be submitted.",
|
|
576
|
+
},
|
|
444
577
|
resource: { required: false, control: "text", type: "string" },
|
|
445
578
|
results: { required: false, control: "number", type: "number" },
|
|
446
579
|
rev: { required: false, control: "text", type: "string" },
|
|
447
|
-
role: {
|
|
580
|
+
role: {
|
|
581
|
+
required: false,
|
|
582
|
+
control: "text",
|
|
583
|
+
type: "string",
|
|
584
|
+
description:
|
|
585
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
586
|
+
},
|
|
448
587
|
security: { required: false, control: "text", type: "string" },
|
|
449
|
-
slot: {
|
|
450
|
-
|
|
588
|
+
slot: {
|
|
589
|
+
required: false,
|
|
590
|
+
control: "text",
|
|
591
|
+
type: "string",
|
|
592
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
593
|
+
},
|
|
594
|
+
spellCheck: {
|
|
595
|
+
required: false,
|
|
596
|
+
control: "boolean",
|
|
597
|
+
type: "boolean",
|
|
598
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
599
|
+
},
|
|
451
600
|
suppressContentEditableWarning: {
|
|
452
601
|
required: false,
|
|
453
602
|
control: "boolean",
|
|
@@ -458,19 +607,34 @@ export const propsCheckbox: Record<string, PropMeta> = {
|
|
|
458
607
|
control: "boolean",
|
|
459
608
|
type: "boolean",
|
|
460
609
|
},
|
|
461
|
-
tabIndex: {
|
|
462
|
-
|
|
610
|
+
tabIndex: {
|
|
611
|
+
required: false,
|
|
612
|
+
control: "number",
|
|
613
|
+
type: "number",
|
|
614
|
+
description:
|
|
615
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
616
|
+
},
|
|
617
|
+
title: {
|
|
618
|
+
required: false,
|
|
619
|
+
control: "text",
|
|
620
|
+
type: "string",
|
|
621
|
+
description:
|
|
622
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
623
|
+
},
|
|
463
624
|
translate: {
|
|
464
625
|
required: false,
|
|
465
626
|
control: "radio",
|
|
466
627
|
type: "string",
|
|
467
628
|
options: ["yes", "no"],
|
|
629
|
+
description:
|
|
630
|
+
"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.",
|
|
468
631
|
},
|
|
469
632
|
type: {
|
|
470
633
|
required: false,
|
|
471
634
|
control: "radio",
|
|
472
635
|
type: "string",
|
|
473
636
|
options: ["button", "submit", "reset"],
|
|
637
|
+
description: "Defines the type of the element.",
|
|
474
638
|
},
|
|
475
639
|
typeof: { required: false, control: "text", type: "string" },
|
|
476
640
|
unselectable: {
|
|
@@ -483,7 +647,12 @@ export const propsCheckbox: Record<string, PropMeta> = {
|
|
|
483
647
|
};
|
|
484
648
|
export const propsCheckboxIndicator: Record<string, PropMeta> = {
|
|
485
649
|
about: { required: false, control: "text", type: "string" },
|
|
486
|
-
accessKey: {
|
|
650
|
+
accessKey: {
|
|
651
|
+
required: false,
|
|
652
|
+
control: "text",
|
|
653
|
+
type: "string",
|
|
654
|
+
description: "Keyboard shortcut to activate or add focus to the element.",
|
|
655
|
+
},
|
|
487
656
|
"aria-activedescendant": {
|
|
488
657
|
description:
|
|
489
658
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -664,7 +833,7 @@ export const propsCheckboxIndicator: Record<string, PropMeta> = {
|
|
|
664
833
|
},
|
|
665
834
|
"aria-label": {
|
|
666
835
|
description:
|
|
667
|
-
"
|
|
836
|
+
"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.",
|
|
668
837
|
required: false,
|
|
669
838
|
control: "text",
|
|
670
839
|
type: "string",
|
|
@@ -863,19 +1032,72 @@ export const propsCheckboxIndicator: Record<string, PropMeta> = {
|
|
|
863
1032
|
control: "text",
|
|
864
1033
|
type: "string",
|
|
865
1034
|
},
|
|
866
|
-
autoCapitalize: {
|
|
1035
|
+
autoCapitalize: {
|
|
1036
|
+
required: false,
|
|
1037
|
+
control: "text",
|
|
1038
|
+
type: "string",
|
|
1039
|
+
description:
|
|
1040
|
+
"Sets whether input is automatically capitalized when entered by user.",
|
|
1041
|
+
},
|
|
867
1042
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
868
|
-
autoFocus: {
|
|
1043
|
+
autoFocus: {
|
|
1044
|
+
required: false,
|
|
1045
|
+
control: "boolean",
|
|
1046
|
+
type: "boolean",
|
|
1047
|
+
description:
|
|
1048
|
+
"Indicates that an element should be focused on page load, or when its parent dialog is displayed.",
|
|
1049
|
+
},
|
|
869
1050
|
autoSave: { required: false, control: "text", type: "string" },
|
|
870
1051
|
className: { required: false, control: "text", type: "string" },
|
|
871
|
-
color: {
|
|
872
|
-
|
|
873
|
-
|
|
1052
|
+
color: {
|
|
1053
|
+
required: false,
|
|
1054
|
+
control: "color",
|
|
1055
|
+
type: "string",
|
|
1056
|
+
description:
|
|
1057
|
+
"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.",
|
|
1058
|
+
},
|
|
1059
|
+
content: {
|
|
1060
|
+
required: false,
|
|
1061
|
+
control: "text",
|
|
1062
|
+
type: "string",
|
|
1063
|
+
description:
|
|
1064
|
+
"A value associated with http-equiv orname depending on the context.",
|
|
1065
|
+
},
|
|
1066
|
+
contextMenu: {
|
|
1067
|
+
required: false,
|
|
1068
|
+
control: "text",
|
|
1069
|
+
type: "string",
|
|
1070
|
+
description:
|
|
1071
|
+
"Defines the ID of a menu element which willserve as the element's context menu.",
|
|
1072
|
+
},
|
|
874
1073
|
datatype: { required: false, control: "text", type: "string" },
|
|
875
|
-
dir: {
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
1074
|
+
dir: {
|
|
1075
|
+
required: false,
|
|
1076
|
+
control: "text",
|
|
1077
|
+
type: "string",
|
|
1078
|
+
description:
|
|
1079
|
+
"Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)",
|
|
1080
|
+
},
|
|
1081
|
+
draggable: {
|
|
1082
|
+
required: false,
|
|
1083
|
+
control: "boolean",
|
|
1084
|
+
type: "boolean",
|
|
1085
|
+
description: "Defines whether the element can be dragged.",
|
|
1086
|
+
},
|
|
1087
|
+
hidden: {
|
|
1088
|
+
required: false,
|
|
1089
|
+
control: "boolean",
|
|
1090
|
+
type: "boolean",
|
|
1091
|
+
description:
|
|
1092
|
+
"Prevents rendering of given element, while keeping child elements, e.g. script elements, active.",
|
|
1093
|
+
},
|
|
1094
|
+
id: {
|
|
1095
|
+
required: false,
|
|
1096
|
+
control: "text",
|
|
1097
|
+
type: "string",
|
|
1098
|
+
description:
|
|
1099
|
+
"Often used with CSS to style a specific element. The value of this attribute must be unique.",
|
|
1100
|
+
},
|
|
879
1101
|
inputMode: {
|
|
880
1102
|
description:
|
|
881
1103
|
"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",
|
|
@@ -905,20 +1127,53 @@ export const propsCheckboxIndicator: Record<string, PropMeta> = {
|
|
|
905
1127
|
itemRef: { required: false, control: "text", type: "string" },
|
|
906
1128
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
907
1129
|
itemType: { required: false, control: "text", type: "string" },
|
|
908
|
-
lang: {
|
|
1130
|
+
lang: {
|
|
1131
|
+
required: false,
|
|
1132
|
+
control: "text",
|
|
1133
|
+
type: "string",
|
|
1134
|
+
description: "Defines the language used in the element.",
|
|
1135
|
+
},
|
|
909
1136
|
nonce: { required: false, control: "text", type: "string" },
|
|
910
|
-
placeholder: {
|
|
1137
|
+
placeholder: {
|
|
1138
|
+
required: false,
|
|
1139
|
+
control: "text",
|
|
1140
|
+
type: "string",
|
|
1141
|
+
description:
|
|
1142
|
+
"Provides a hint to the user of what can be entered in the field.",
|
|
1143
|
+
},
|
|
911
1144
|
prefix: { required: false, control: "text", type: "string" },
|
|
912
1145
|
property: { required: false, control: "text", type: "string" },
|
|
913
1146
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
914
|
-
rel: {
|
|
1147
|
+
rel: {
|
|
1148
|
+
required: false,
|
|
1149
|
+
control: "text",
|
|
1150
|
+
type: "string",
|
|
1151
|
+
description:
|
|
1152
|
+
"Specifies the relationship of the target object to the link object.",
|
|
1153
|
+
},
|
|
915
1154
|
resource: { required: false, control: "text", type: "string" },
|
|
916
1155
|
results: { required: false, control: "number", type: "number" },
|
|
917
1156
|
rev: { required: false, control: "text", type: "string" },
|
|
918
|
-
role: {
|
|
1157
|
+
role: {
|
|
1158
|
+
required: false,
|
|
1159
|
+
control: "text",
|
|
1160
|
+
type: "string",
|
|
1161
|
+
description:
|
|
1162
|
+
"Defines an explicit role for an element for use by assistive technologies.",
|
|
1163
|
+
},
|
|
919
1164
|
security: { required: false, control: "text", type: "string" },
|
|
920
|
-
slot: {
|
|
921
|
-
|
|
1165
|
+
slot: {
|
|
1166
|
+
required: false,
|
|
1167
|
+
control: "text",
|
|
1168
|
+
type: "string",
|
|
1169
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element.",
|
|
1170
|
+
},
|
|
1171
|
+
spellCheck: {
|
|
1172
|
+
required: false,
|
|
1173
|
+
control: "boolean",
|
|
1174
|
+
type: "boolean",
|
|
1175
|
+
description: "Indicates whether spell checking is allowed for the element.",
|
|
1176
|
+
},
|
|
922
1177
|
suppressContentEditableWarning: {
|
|
923
1178
|
required: false,
|
|
924
1179
|
control: "boolean",
|
|
@@ -929,13 +1184,27 @@ export const propsCheckboxIndicator: Record<string, PropMeta> = {
|
|
|
929
1184
|
control: "boolean",
|
|
930
1185
|
type: "boolean",
|
|
931
1186
|
},
|
|
932
|
-
tabIndex: {
|
|
933
|
-
|
|
1187
|
+
tabIndex: {
|
|
1188
|
+
required: false,
|
|
1189
|
+
control: "number",
|
|
1190
|
+
type: "number",
|
|
1191
|
+
description:
|
|
1192
|
+
"Overrides the browser's default tab order and follows the one specified instead.",
|
|
1193
|
+
},
|
|
1194
|
+
title: {
|
|
1195
|
+
required: false,
|
|
1196
|
+
control: "text",
|
|
1197
|
+
type: "string",
|
|
1198
|
+
description:
|
|
1199
|
+
"Text to be displayed in a tooltip when hovering over the element.",
|
|
1200
|
+
},
|
|
934
1201
|
translate: {
|
|
935
1202
|
required: false,
|
|
936
1203
|
control: "radio",
|
|
937
1204
|
type: "string",
|
|
938
1205
|
options: ["yes", "no"],
|
|
1206
|
+
description:
|
|
1207
|
+
"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.",
|
|
939
1208
|
},
|
|
940
1209
|
typeof: { required: false, control: "text", type: "string" },
|
|
941
1210
|
unselectable: {
|