@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,11 +1,20 @@
|
|
|
1
1
|
const propsDialog = {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
open: {
|
|
3
|
+
required: false,
|
|
4
|
+
control: "boolean",
|
|
5
|
+
type: "boolean",
|
|
6
|
+
description: "Show or hide the content of this component on the canvas. This will not affect the initial state of the component."
|
|
7
|
+
}
|
|
4
8
|
};
|
|
5
9
|
const propsDialogTrigger = {};
|
|
6
10
|
const propsDialogOverlay = {
|
|
7
11
|
about: { required: false, control: "text", type: "string" },
|
|
8
|
-
accessKey: {
|
|
12
|
+
accessKey: {
|
|
13
|
+
required: false,
|
|
14
|
+
control: "text",
|
|
15
|
+
type: "string",
|
|
16
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
17
|
+
},
|
|
9
18
|
"aria-activedescendant": {
|
|
10
19
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
11
20
|
required: false,
|
|
@@ -161,7 +170,7 @@ const propsDialogOverlay = {
|
|
|
161
170
|
type: "string"
|
|
162
171
|
},
|
|
163
172
|
"aria-label": {
|
|
164
|
-
description: "
|
|
173
|
+
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.",
|
|
165
174
|
required: false,
|
|
166
175
|
control: "text",
|
|
167
176
|
type: "string"
|
|
@@ -337,21 +346,64 @@ const propsDialogOverlay = {
|
|
|
337
346
|
control: "text",
|
|
338
347
|
type: "string"
|
|
339
348
|
},
|
|
340
|
-
|
|
341
|
-
|
|
349
|
+
autoCapitalize: {
|
|
350
|
+
required: false,
|
|
351
|
+
control: "text",
|
|
352
|
+
type: "string",
|
|
353
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
354
|
+
},
|
|
342
355
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
343
|
-
autoFocus: {
|
|
356
|
+
autoFocus: {
|
|
357
|
+
required: false,
|
|
358
|
+
control: "boolean",
|
|
359
|
+
type: "boolean",
|
|
360
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
361
|
+
},
|
|
344
362
|
autoSave: { required: false, control: "text", type: "string" },
|
|
345
363
|
className: { required: false, control: "text", type: "string" },
|
|
346
|
-
color: {
|
|
347
|
-
|
|
348
|
-
|
|
364
|
+
color: {
|
|
365
|
+
required: false,
|
|
366
|
+
control: "color",
|
|
367
|
+
type: "string",
|
|
368
|
+
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."
|
|
369
|
+
},
|
|
370
|
+
content: {
|
|
371
|
+
required: false,
|
|
372
|
+
control: "text",
|
|
373
|
+
type: "string",
|
|
374
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
375
|
+
},
|
|
376
|
+
contextMenu: {
|
|
377
|
+
required: false,
|
|
378
|
+
control: "text",
|
|
379
|
+
type: "string",
|
|
380
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
381
|
+
},
|
|
349
382
|
datatype: { required: false, control: "text", type: "string" },
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
383
|
+
dir: {
|
|
384
|
+
required: false,
|
|
385
|
+
control: "text",
|
|
386
|
+
type: "string",
|
|
387
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
388
|
+
},
|
|
389
|
+
draggable: {
|
|
390
|
+
required: false,
|
|
391
|
+
control: "boolean",
|
|
392
|
+
type: "boolean",
|
|
393
|
+
description: "Defines whether the element can be dragged."
|
|
394
|
+
},
|
|
395
|
+
hidden: {
|
|
396
|
+
required: false,
|
|
397
|
+
control: "boolean",
|
|
398
|
+
type: "boolean",
|
|
399
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
400
|
+
},
|
|
401
|
+
id: {
|
|
402
|
+
required: false,
|
|
403
|
+
control: "text",
|
|
404
|
+
type: "string",
|
|
405
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
406
|
+
},
|
|
355
407
|
inputMode: {
|
|
356
408
|
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",
|
|
357
409
|
required: false,
|
|
@@ -379,20 +431,50 @@ const propsDialogOverlay = {
|
|
|
379
431
|
itemRef: { required: false, control: "text", type: "string" },
|
|
380
432
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
381
433
|
itemType: { required: false, control: "text", type: "string" },
|
|
382
|
-
lang: {
|
|
434
|
+
lang: {
|
|
435
|
+
required: false,
|
|
436
|
+
control: "text",
|
|
437
|
+
type: "string",
|
|
438
|
+
description: "Defines the language used in the element."
|
|
439
|
+
},
|
|
383
440
|
nonce: { required: false, control: "text", type: "string" },
|
|
384
|
-
placeholder: {
|
|
441
|
+
placeholder: {
|
|
442
|
+
required: false,
|
|
443
|
+
control: "text",
|
|
444
|
+
type: "string",
|
|
445
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
446
|
+
},
|
|
385
447
|
prefix: { required: false, control: "text", type: "string" },
|
|
386
448
|
property: { required: false, control: "text", type: "string" },
|
|
387
449
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
388
|
-
rel: {
|
|
450
|
+
rel: {
|
|
451
|
+
required: false,
|
|
452
|
+
control: "text",
|
|
453
|
+
type: "string",
|
|
454
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
455
|
+
},
|
|
389
456
|
resource: { required: false, control: "text", type: "string" },
|
|
390
457
|
results: { required: false, control: "number", type: "number" },
|
|
391
458
|
rev: { required: false, control: "text", type: "string" },
|
|
392
|
-
role: {
|
|
459
|
+
role: {
|
|
460
|
+
required: false,
|
|
461
|
+
control: "text",
|
|
462
|
+
type: "string",
|
|
463
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
464
|
+
},
|
|
393
465
|
security: { required: false, control: "text", type: "string" },
|
|
394
|
-
slot: {
|
|
395
|
-
|
|
466
|
+
slot: {
|
|
467
|
+
required: false,
|
|
468
|
+
control: "text",
|
|
469
|
+
type: "string",
|
|
470
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
471
|
+
},
|
|
472
|
+
spellCheck: {
|
|
473
|
+
required: false,
|
|
474
|
+
control: "boolean",
|
|
475
|
+
type: "boolean",
|
|
476
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
477
|
+
},
|
|
396
478
|
suppressContentEditableWarning: {
|
|
397
479
|
required: false,
|
|
398
480
|
control: "boolean",
|
|
@@ -403,13 +485,24 @@ const propsDialogOverlay = {
|
|
|
403
485
|
control: "boolean",
|
|
404
486
|
type: "boolean"
|
|
405
487
|
},
|
|
406
|
-
tabIndex: {
|
|
407
|
-
|
|
488
|
+
tabIndex: {
|
|
489
|
+
required: false,
|
|
490
|
+
control: "number",
|
|
491
|
+
type: "number",
|
|
492
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
493
|
+
},
|
|
494
|
+
title: {
|
|
495
|
+
required: false,
|
|
496
|
+
control: "text",
|
|
497
|
+
type: "string",
|
|
498
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
499
|
+
},
|
|
408
500
|
translate: {
|
|
409
501
|
required: false,
|
|
410
502
|
control: "radio",
|
|
411
503
|
type: "string",
|
|
412
|
-
options: ["yes", "no"]
|
|
504
|
+
options: ["yes", "no"],
|
|
505
|
+
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."
|
|
413
506
|
},
|
|
414
507
|
typeof: { required: false, control: "text", type: "string" },
|
|
415
508
|
unselectable: {
|
|
@@ -422,7 +515,12 @@ const propsDialogOverlay = {
|
|
|
422
515
|
};
|
|
423
516
|
const propsDialogContent = {
|
|
424
517
|
about: { required: false, control: "text", type: "string" },
|
|
425
|
-
accessKey: {
|
|
518
|
+
accessKey: {
|
|
519
|
+
required: false,
|
|
520
|
+
control: "text",
|
|
521
|
+
type: "string",
|
|
522
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
523
|
+
},
|
|
426
524
|
"aria-activedescendant": {
|
|
427
525
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
428
526
|
required: false,
|
|
@@ -578,7 +676,7 @@ const propsDialogContent = {
|
|
|
578
676
|
type: "string"
|
|
579
677
|
},
|
|
580
678
|
"aria-label": {
|
|
581
|
-
description: "
|
|
679
|
+
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.",
|
|
582
680
|
required: false,
|
|
583
681
|
control: "text",
|
|
584
682
|
type: "string"
|
|
@@ -754,21 +852,64 @@ const propsDialogContent = {
|
|
|
754
852
|
control: "text",
|
|
755
853
|
type: "string"
|
|
756
854
|
},
|
|
757
|
-
|
|
758
|
-
|
|
855
|
+
autoCapitalize: {
|
|
856
|
+
required: false,
|
|
857
|
+
control: "text",
|
|
858
|
+
type: "string",
|
|
859
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
860
|
+
},
|
|
759
861
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
760
|
-
autoFocus: {
|
|
862
|
+
autoFocus: {
|
|
863
|
+
required: false,
|
|
864
|
+
control: "boolean",
|
|
865
|
+
type: "boolean",
|
|
866
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
867
|
+
},
|
|
761
868
|
autoSave: { required: false, control: "text", type: "string" },
|
|
762
869
|
className: { required: false, control: "text", type: "string" },
|
|
763
|
-
color: {
|
|
764
|
-
|
|
765
|
-
|
|
870
|
+
color: {
|
|
871
|
+
required: false,
|
|
872
|
+
control: "color",
|
|
873
|
+
type: "string",
|
|
874
|
+
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."
|
|
875
|
+
},
|
|
876
|
+
content: {
|
|
877
|
+
required: false,
|
|
878
|
+
control: "text",
|
|
879
|
+
type: "string",
|
|
880
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
881
|
+
},
|
|
882
|
+
contextMenu: {
|
|
883
|
+
required: false,
|
|
884
|
+
control: "text",
|
|
885
|
+
type: "string",
|
|
886
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
887
|
+
},
|
|
766
888
|
datatype: { required: false, control: "text", type: "string" },
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
889
|
+
dir: {
|
|
890
|
+
required: false,
|
|
891
|
+
control: "text",
|
|
892
|
+
type: "string",
|
|
893
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
894
|
+
},
|
|
895
|
+
draggable: {
|
|
896
|
+
required: false,
|
|
897
|
+
control: "boolean",
|
|
898
|
+
type: "boolean",
|
|
899
|
+
description: "Defines whether the element can be dragged."
|
|
900
|
+
},
|
|
901
|
+
hidden: {
|
|
902
|
+
required: false,
|
|
903
|
+
control: "boolean",
|
|
904
|
+
type: "boolean",
|
|
905
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
906
|
+
},
|
|
907
|
+
id: {
|
|
908
|
+
required: false,
|
|
909
|
+
control: "text",
|
|
910
|
+
type: "string",
|
|
911
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
912
|
+
},
|
|
772
913
|
inputMode: {
|
|
773
914
|
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",
|
|
774
915
|
required: false,
|
|
@@ -796,20 +937,50 @@ const propsDialogContent = {
|
|
|
796
937
|
itemRef: { required: false, control: "text", type: "string" },
|
|
797
938
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
798
939
|
itemType: { required: false, control: "text", type: "string" },
|
|
799
|
-
lang: {
|
|
940
|
+
lang: {
|
|
941
|
+
required: false,
|
|
942
|
+
control: "text",
|
|
943
|
+
type: "string",
|
|
944
|
+
description: "Defines the language used in the element."
|
|
945
|
+
},
|
|
800
946
|
nonce: { required: false, control: "text", type: "string" },
|
|
801
|
-
placeholder: {
|
|
947
|
+
placeholder: {
|
|
948
|
+
required: false,
|
|
949
|
+
control: "text",
|
|
950
|
+
type: "string",
|
|
951
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
952
|
+
},
|
|
802
953
|
prefix: { required: false, control: "text", type: "string" },
|
|
803
954
|
property: { required: false, control: "text", type: "string" },
|
|
804
955
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
805
|
-
rel: {
|
|
956
|
+
rel: {
|
|
957
|
+
required: false,
|
|
958
|
+
control: "text",
|
|
959
|
+
type: "string",
|
|
960
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
961
|
+
},
|
|
806
962
|
resource: { required: false, control: "text", type: "string" },
|
|
807
963
|
results: { required: false, control: "number", type: "number" },
|
|
808
964
|
rev: { required: false, control: "text", type: "string" },
|
|
809
|
-
role: {
|
|
965
|
+
role: {
|
|
966
|
+
required: false,
|
|
967
|
+
control: "text",
|
|
968
|
+
type: "string",
|
|
969
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
970
|
+
},
|
|
810
971
|
security: { required: false, control: "text", type: "string" },
|
|
811
|
-
slot: {
|
|
812
|
-
|
|
972
|
+
slot: {
|
|
973
|
+
required: false,
|
|
974
|
+
control: "text",
|
|
975
|
+
type: "string",
|
|
976
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
977
|
+
},
|
|
978
|
+
spellCheck: {
|
|
979
|
+
required: false,
|
|
980
|
+
control: "boolean",
|
|
981
|
+
type: "boolean",
|
|
982
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
983
|
+
},
|
|
813
984
|
suppressContentEditableWarning: {
|
|
814
985
|
required: false,
|
|
815
986
|
control: "boolean",
|
|
@@ -820,13 +991,24 @@ const propsDialogContent = {
|
|
|
820
991
|
control: "boolean",
|
|
821
992
|
type: "boolean"
|
|
822
993
|
},
|
|
823
|
-
tabIndex: {
|
|
824
|
-
|
|
994
|
+
tabIndex: {
|
|
995
|
+
required: false,
|
|
996
|
+
control: "number",
|
|
997
|
+
type: "number",
|
|
998
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
999
|
+
},
|
|
1000
|
+
title: {
|
|
1001
|
+
required: false,
|
|
1002
|
+
control: "text",
|
|
1003
|
+
type: "string",
|
|
1004
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1005
|
+
},
|
|
825
1006
|
translate: {
|
|
826
1007
|
required: false,
|
|
827
1008
|
control: "radio",
|
|
828
1009
|
type: "string",
|
|
829
|
-
options: ["yes", "no"]
|
|
1010
|
+
options: ["yes", "no"],
|
|
1011
|
+
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."
|
|
830
1012
|
},
|
|
831
1013
|
typeof: { required: false, control: "text", type: "string" },
|
|
832
1014
|
unselectable: {
|
|
@@ -839,7 +1021,12 @@ const propsDialogContent = {
|
|
|
839
1021
|
};
|
|
840
1022
|
const propsDialogClose = {
|
|
841
1023
|
about: { required: false, control: "text", type: "string" },
|
|
842
|
-
accessKey: {
|
|
1024
|
+
accessKey: {
|
|
1025
|
+
required: false,
|
|
1026
|
+
control: "text",
|
|
1027
|
+
type: "string",
|
|
1028
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1029
|
+
},
|
|
843
1030
|
"aria-activedescendant": {
|
|
844
1031
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
845
1032
|
required: false,
|
|
@@ -995,7 +1182,7 @@ const propsDialogClose = {
|
|
|
995
1182
|
type: "string"
|
|
996
1183
|
},
|
|
997
1184
|
"aria-label": {
|
|
998
|
-
description: "
|
|
1185
|
+
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.",
|
|
999
1186
|
required: false,
|
|
1000
1187
|
control: "text",
|
|
1001
1188
|
type: "string"
|
|
@@ -1171,28 +1358,106 @@ const propsDialogClose = {
|
|
|
1171
1358
|
control: "text",
|
|
1172
1359
|
type: "string"
|
|
1173
1360
|
},
|
|
1174
|
-
|
|
1175
|
-
|
|
1361
|
+
autoCapitalize: {
|
|
1362
|
+
required: false,
|
|
1363
|
+
control: "text",
|
|
1364
|
+
type: "string",
|
|
1365
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1366
|
+
},
|
|
1176
1367
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1177
|
-
autoFocus: {
|
|
1368
|
+
autoFocus: {
|
|
1369
|
+
required: false,
|
|
1370
|
+
control: "boolean",
|
|
1371
|
+
type: "boolean",
|
|
1372
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1373
|
+
},
|
|
1178
1374
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1179
1375
|
className: { required: false, control: "text", type: "string" },
|
|
1180
|
-
color: {
|
|
1181
|
-
|
|
1182
|
-
|
|
1376
|
+
color: {
|
|
1377
|
+
required: false,
|
|
1378
|
+
control: "color",
|
|
1379
|
+
type: "string",
|
|
1380
|
+
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."
|
|
1381
|
+
},
|
|
1382
|
+
content: {
|
|
1383
|
+
required: false,
|
|
1384
|
+
control: "text",
|
|
1385
|
+
type: "string",
|
|
1386
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1387
|
+
},
|
|
1388
|
+
contextMenu: {
|
|
1389
|
+
required: false,
|
|
1390
|
+
control: "text",
|
|
1391
|
+
type: "string",
|
|
1392
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1393
|
+
},
|
|
1183
1394
|
datatype: { required: false, control: "text", type: "string" },
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1395
|
+
dir: {
|
|
1396
|
+
required: false,
|
|
1397
|
+
control: "text",
|
|
1398
|
+
type: "string",
|
|
1399
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1400
|
+
},
|
|
1401
|
+
disabled: {
|
|
1402
|
+
required: false,
|
|
1403
|
+
control: "boolean",
|
|
1404
|
+
type: "boolean",
|
|
1405
|
+
description: "Indicates whether the user can interact with the element."
|
|
1406
|
+
},
|
|
1407
|
+
draggable: {
|
|
1408
|
+
required: false,
|
|
1409
|
+
control: "boolean",
|
|
1410
|
+
type: "boolean",
|
|
1411
|
+
description: "Defines whether the element can be dragged."
|
|
1412
|
+
},
|
|
1413
|
+
form: {
|
|
1414
|
+
required: false,
|
|
1415
|
+
control: "text",
|
|
1416
|
+
type: "string",
|
|
1417
|
+
description: "Indicates the form that is the owner of the element."
|
|
1418
|
+
},
|
|
1419
|
+
formAction: {
|
|
1420
|
+
required: false,
|
|
1421
|
+
control: "text",
|
|
1422
|
+
type: "string",
|
|
1423
|
+
description: "Indicates the action of the element, overriding the action defined inthe form."
|
|
1424
|
+
},
|
|
1425
|
+
formEncType: {
|
|
1426
|
+
required: false,
|
|
1427
|
+
control: "text",
|
|
1428
|
+
type: "string",
|
|
1429
|
+
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.`
|
|
1430
|
+
},
|
|
1431
|
+
formMethod: {
|
|
1432
|
+
required: false,
|
|
1433
|
+
control: "text",
|
|
1434
|
+
type: "string",
|
|
1435
|
+
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.`
|
|
1436
|
+
},
|
|
1437
|
+
formNoValidate: {
|
|
1438
|
+
required: false,
|
|
1439
|
+
control: "boolean",
|
|
1440
|
+
type: "boolean",
|
|
1441
|
+
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.`
|
|
1442
|
+
},
|
|
1443
|
+
formTarget: {
|
|
1444
|
+
required: false,
|
|
1445
|
+
control: "text",
|
|
1446
|
+
type: "string",
|
|
1447
|
+
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.`
|
|
1448
|
+
},
|
|
1449
|
+
hidden: {
|
|
1450
|
+
required: false,
|
|
1451
|
+
control: "boolean",
|
|
1452
|
+
type: "boolean",
|
|
1453
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
1454
|
+
},
|
|
1455
|
+
id: {
|
|
1456
|
+
required: false,
|
|
1457
|
+
control: "text",
|
|
1458
|
+
type: "string",
|
|
1459
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
1460
|
+
},
|
|
1196
1461
|
inputMode: {
|
|
1197
1462
|
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",
|
|
1198
1463
|
required: false,
|
|
@@ -1220,21 +1485,56 @@ const propsDialogClose = {
|
|
|
1220
1485
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1221
1486
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1222
1487
|
itemType: { required: false, control: "text", type: "string" },
|
|
1223
|
-
lang: {
|
|
1224
|
-
|
|
1488
|
+
lang: {
|
|
1489
|
+
required: false,
|
|
1490
|
+
control: "text",
|
|
1491
|
+
type: "string",
|
|
1492
|
+
description: "Defines the language used in the element."
|
|
1493
|
+
},
|
|
1494
|
+
name: {
|
|
1495
|
+
required: false,
|
|
1496
|
+
control: "text",
|
|
1497
|
+
type: "string",
|
|
1498
|
+
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)."
|
|
1499
|
+
},
|
|
1225
1500
|
nonce: { required: false, control: "text", type: "string" },
|
|
1226
|
-
placeholder: {
|
|
1501
|
+
placeholder: {
|
|
1502
|
+
required: false,
|
|
1503
|
+
control: "text",
|
|
1504
|
+
type: "string",
|
|
1505
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
1506
|
+
},
|
|
1227
1507
|
prefix: { required: false, control: "text", type: "string" },
|
|
1228
1508
|
property: { required: false, control: "text", type: "string" },
|
|
1229
1509
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1230
|
-
rel: {
|
|
1510
|
+
rel: {
|
|
1511
|
+
required: false,
|
|
1512
|
+
control: "text",
|
|
1513
|
+
type: "string",
|
|
1514
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
1515
|
+
},
|
|
1231
1516
|
resource: { required: false, control: "text", type: "string" },
|
|
1232
1517
|
results: { required: false, control: "number", type: "number" },
|
|
1233
1518
|
rev: { required: false, control: "text", type: "string" },
|
|
1234
|
-
role: {
|
|
1519
|
+
role: {
|
|
1520
|
+
required: false,
|
|
1521
|
+
control: "text",
|
|
1522
|
+
type: "string",
|
|
1523
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
1524
|
+
},
|
|
1235
1525
|
security: { required: false, control: "text", type: "string" },
|
|
1236
|
-
slot: {
|
|
1237
|
-
|
|
1526
|
+
slot: {
|
|
1527
|
+
required: false,
|
|
1528
|
+
control: "text",
|
|
1529
|
+
type: "string",
|
|
1530
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
1531
|
+
},
|
|
1532
|
+
spellCheck: {
|
|
1533
|
+
required: false,
|
|
1534
|
+
control: "boolean",
|
|
1535
|
+
type: "boolean",
|
|
1536
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
1537
|
+
},
|
|
1238
1538
|
suppressContentEditableWarning: {
|
|
1239
1539
|
required: false,
|
|
1240
1540
|
control: "boolean",
|
|
@@ -1245,19 +1545,31 @@ const propsDialogClose = {
|
|
|
1245
1545
|
control: "boolean",
|
|
1246
1546
|
type: "boolean"
|
|
1247
1547
|
},
|
|
1248
|
-
tabIndex: {
|
|
1249
|
-
|
|
1548
|
+
tabIndex: {
|
|
1549
|
+
required: false,
|
|
1550
|
+
control: "number",
|
|
1551
|
+
type: "number",
|
|
1552
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
1553
|
+
},
|
|
1554
|
+
title: {
|
|
1555
|
+
required: false,
|
|
1556
|
+
control: "text",
|
|
1557
|
+
type: "string",
|
|
1558
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
1559
|
+
},
|
|
1250
1560
|
translate: {
|
|
1251
1561
|
required: false,
|
|
1252
1562
|
control: "radio",
|
|
1253
1563
|
type: "string",
|
|
1254
|
-
options: ["yes", "no"]
|
|
1564
|
+
options: ["yes", "no"],
|
|
1565
|
+
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."
|
|
1255
1566
|
},
|
|
1256
1567
|
type: {
|
|
1257
1568
|
required: false,
|
|
1258
1569
|
control: "radio",
|
|
1259
1570
|
type: "string",
|
|
1260
|
-
options: ["button", "submit", "reset"]
|
|
1571
|
+
options: ["button", "submit", "reset"],
|
|
1572
|
+
description: "Defines the type of the element."
|
|
1261
1573
|
},
|
|
1262
1574
|
typeof: { required: false, control: "text", type: "string" },
|
|
1263
1575
|
unselectable: {
|
|
@@ -1270,7 +1582,12 @@ const propsDialogClose = {
|
|
|
1270
1582
|
};
|
|
1271
1583
|
const propsDialogTitle = {
|
|
1272
1584
|
about: { required: false, control: "text", type: "string" },
|
|
1273
|
-
accessKey: {
|
|
1585
|
+
accessKey: {
|
|
1586
|
+
required: false,
|
|
1587
|
+
control: "text",
|
|
1588
|
+
type: "string",
|
|
1589
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
1590
|
+
},
|
|
1274
1591
|
"aria-activedescendant": {
|
|
1275
1592
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
1276
1593
|
required: false,
|
|
@@ -1426,7 +1743,7 @@ const propsDialogTitle = {
|
|
|
1426
1743
|
type: "string"
|
|
1427
1744
|
},
|
|
1428
1745
|
"aria-label": {
|
|
1429
|
-
description: "
|
|
1746
|
+
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.",
|
|
1430
1747
|
required: false,
|
|
1431
1748
|
control: "text",
|
|
1432
1749
|
type: "string"
|
|
@@ -1602,21 +1919,64 @@ const propsDialogTitle = {
|
|
|
1602
1919
|
control: "text",
|
|
1603
1920
|
type: "string"
|
|
1604
1921
|
},
|
|
1605
|
-
|
|
1606
|
-
|
|
1922
|
+
autoCapitalize: {
|
|
1923
|
+
required: false,
|
|
1924
|
+
control: "text",
|
|
1925
|
+
type: "string",
|
|
1926
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
1927
|
+
},
|
|
1607
1928
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
1608
|
-
autoFocus: {
|
|
1929
|
+
autoFocus: {
|
|
1930
|
+
required: false,
|
|
1931
|
+
control: "boolean",
|
|
1932
|
+
type: "boolean",
|
|
1933
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
1934
|
+
},
|
|
1609
1935
|
autoSave: { required: false, control: "text", type: "string" },
|
|
1610
1936
|
className: { required: false, control: "text", type: "string" },
|
|
1611
|
-
color: {
|
|
1612
|
-
|
|
1613
|
-
|
|
1937
|
+
color: {
|
|
1938
|
+
required: false,
|
|
1939
|
+
control: "color",
|
|
1940
|
+
type: "string",
|
|
1941
|
+
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."
|
|
1942
|
+
},
|
|
1943
|
+
content: {
|
|
1944
|
+
required: false,
|
|
1945
|
+
control: "text",
|
|
1946
|
+
type: "string",
|
|
1947
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
1948
|
+
},
|
|
1949
|
+
contextMenu: {
|
|
1950
|
+
required: false,
|
|
1951
|
+
control: "text",
|
|
1952
|
+
type: "string",
|
|
1953
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
1954
|
+
},
|
|
1614
1955
|
datatype: { required: false, control: "text", type: "string" },
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1956
|
+
dir: {
|
|
1957
|
+
required: false,
|
|
1958
|
+
control: "text",
|
|
1959
|
+
type: "string",
|
|
1960
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
1961
|
+
},
|
|
1962
|
+
draggable: {
|
|
1963
|
+
required: false,
|
|
1964
|
+
control: "boolean",
|
|
1965
|
+
type: "boolean",
|
|
1966
|
+
description: "Defines whether the element can be dragged."
|
|
1967
|
+
},
|
|
1968
|
+
hidden: {
|
|
1969
|
+
required: false,
|
|
1970
|
+
control: "boolean",
|
|
1971
|
+
type: "boolean",
|
|
1972
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
1973
|
+
},
|
|
1974
|
+
id: {
|
|
1975
|
+
required: false,
|
|
1976
|
+
control: "text",
|
|
1977
|
+
type: "string",
|
|
1978
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
1979
|
+
},
|
|
1620
1980
|
inputMode: {
|
|
1621
1981
|
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",
|
|
1622
1982
|
required: false,
|
|
@@ -1644,20 +2004,50 @@ const propsDialogTitle = {
|
|
|
1644
2004
|
itemRef: { required: false, control: "text", type: "string" },
|
|
1645
2005
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
1646
2006
|
itemType: { required: false, control: "text", type: "string" },
|
|
1647
|
-
lang: {
|
|
2007
|
+
lang: {
|
|
2008
|
+
required: false,
|
|
2009
|
+
control: "text",
|
|
2010
|
+
type: "string",
|
|
2011
|
+
description: "Defines the language used in the element."
|
|
2012
|
+
},
|
|
1648
2013
|
nonce: { required: false, control: "text", type: "string" },
|
|
1649
|
-
placeholder: {
|
|
2014
|
+
placeholder: {
|
|
2015
|
+
required: false,
|
|
2016
|
+
control: "text",
|
|
2017
|
+
type: "string",
|
|
2018
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
2019
|
+
},
|
|
1650
2020
|
prefix: { required: false, control: "text", type: "string" },
|
|
1651
2021
|
property: { required: false, control: "text", type: "string" },
|
|
1652
2022
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
1653
|
-
rel: {
|
|
2023
|
+
rel: {
|
|
2024
|
+
required: false,
|
|
2025
|
+
control: "text",
|
|
2026
|
+
type: "string",
|
|
2027
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
2028
|
+
},
|
|
1654
2029
|
resource: { required: false, control: "text", type: "string" },
|
|
1655
2030
|
results: { required: false, control: "number", type: "number" },
|
|
1656
2031
|
rev: { required: false, control: "text", type: "string" },
|
|
1657
|
-
role: {
|
|
2032
|
+
role: {
|
|
2033
|
+
required: false,
|
|
2034
|
+
control: "text",
|
|
2035
|
+
type: "string",
|
|
2036
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
2037
|
+
},
|
|
1658
2038
|
security: { required: false, control: "text", type: "string" },
|
|
1659
|
-
slot: {
|
|
1660
|
-
|
|
2039
|
+
slot: {
|
|
2040
|
+
required: false,
|
|
2041
|
+
control: "text",
|
|
2042
|
+
type: "string",
|
|
2043
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
2044
|
+
},
|
|
2045
|
+
spellCheck: {
|
|
2046
|
+
required: false,
|
|
2047
|
+
control: "boolean",
|
|
2048
|
+
type: "boolean",
|
|
2049
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
2050
|
+
},
|
|
1661
2051
|
suppressContentEditableWarning: {
|
|
1662
2052
|
required: false,
|
|
1663
2053
|
control: "boolean",
|
|
@@ -1668,13 +2058,24 @@ const propsDialogTitle = {
|
|
|
1668
2058
|
control: "boolean",
|
|
1669
2059
|
type: "boolean"
|
|
1670
2060
|
},
|
|
1671
|
-
tabIndex: {
|
|
1672
|
-
|
|
2061
|
+
tabIndex: {
|
|
2062
|
+
required: false,
|
|
2063
|
+
control: "number",
|
|
2064
|
+
type: "number",
|
|
2065
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
2066
|
+
},
|
|
2067
|
+
title: {
|
|
2068
|
+
required: false,
|
|
2069
|
+
control: "text",
|
|
2070
|
+
type: "string",
|
|
2071
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
2072
|
+
},
|
|
1673
2073
|
translate: {
|
|
1674
2074
|
required: false,
|
|
1675
2075
|
control: "radio",
|
|
1676
2076
|
type: "string",
|
|
1677
|
-
options: ["yes", "no"]
|
|
2077
|
+
options: ["yes", "no"],
|
|
2078
|
+
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."
|
|
1678
2079
|
},
|
|
1679
2080
|
typeof: { required: false, control: "text", type: "string" },
|
|
1680
2081
|
unselectable: {
|
|
@@ -1687,7 +2088,12 @@ const propsDialogTitle = {
|
|
|
1687
2088
|
};
|
|
1688
2089
|
const propsDialogDescription = {
|
|
1689
2090
|
about: { required: false, control: "text", type: "string" },
|
|
1690
|
-
accessKey: {
|
|
2091
|
+
accessKey: {
|
|
2092
|
+
required: false,
|
|
2093
|
+
control: "text",
|
|
2094
|
+
type: "string",
|
|
2095
|
+
description: "Keyboard shortcut to activate or add focus to the element."
|
|
2096
|
+
},
|
|
1691
2097
|
"aria-activedescendant": {
|
|
1692
2098
|
description: "Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
1693
2099
|
required: false,
|
|
@@ -1843,7 +2249,7 @@ const propsDialogDescription = {
|
|
|
1843
2249
|
type: "string"
|
|
1844
2250
|
},
|
|
1845
2251
|
"aria-label": {
|
|
1846
|
-
description: "
|
|
2252
|
+
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.",
|
|
1847
2253
|
required: false,
|
|
1848
2254
|
control: "text",
|
|
1849
2255
|
type: "string"
|
|
@@ -2019,21 +2425,64 @@ const propsDialogDescription = {
|
|
|
2019
2425
|
control: "text",
|
|
2020
2426
|
type: "string"
|
|
2021
2427
|
},
|
|
2022
|
-
|
|
2023
|
-
|
|
2428
|
+
autoCapitalize: {
|
|
2429
|
+
required: false,
|
|
2430
|
+
control: "text",
|
|
2431
|
+
type: "string",
|
|
2432
|
+
description: "Sets whether input is automatically capitalized when entered by user."
|
|
2433
|
+
},
|
|
2024
2434
|
autoCorrect: { required: false, control: "text", type: "string" },
|
|
2025
|
-
autoFocus: {
|
|
2435
|
+
autoFocus: {
|
|
2436
|
+
required: false,
|
|
2437
|
+
control: "boolean",
|
|
2438
|
+
type: "boolean",
|
|
2439
|
+
description: "Indicates that an element should be focused on page load, or when its parent dialog is displayed."
|
|
2440
|
+
},
|
|
2026
2441
|
autoSave: { required: false, control: "text", type: "string" },
|
|
2027
2442
|
className: { required: false, control: "text", type: "string" },
|
|
2028
|
-
color: {
|
|
2029
|
-
|
|
2030
|
-
|
|
2443
|
+
color: {
|
|
2444
|
+
required: false,
|
|
2445
|
+
control: "color",
|
|
2446
|
+
type: "string",
|
|
2447
|
+
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."
|
|
2448
|
+
},
|
|
2449
|
+
content: {
|
|
2450
|
+
required: false,
|
|
2451
|
+
control: "text",
|
|
2452
|
+
type: "string",
|
|
2453
|
+
description: "A value associated with http-equiv orname depending on the context."
|
|
2454
|
+
},
|
|
2455
|
+
contextMenu: {
|
|
2456
|
+
required: false,
|
|
2457
|
+
control: "text",
|
|
2458
|
+
type: "string",
|
|
2459
|
+
description: "Defines the ID of a menu element which willserve as the element's context menu."
|
|
2460
|
+
},
|
|
2031
2461
|
datatype: { required: false, control: "text", type: "string" },
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2462
|
+
dir: {
|
|
2463
|
+
required: false,
|
|
2464
|
+
control: "text",
|
|
2465
|
+
type: "string",
|
|
2466
|
+
description: "Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)"
|
|
2467
|
+
},
|
|
2468
|
+
draggable: {
|
|
2469
|
+
required: false,
|
|
2470
|
+
control: "boolean",
|
|
2471
|
+
type: "boolean",
|
|
2472
|
+
description: "Defines whether the element can be dragged."
|
|
2473
|
+
},
|
|
2474
|
+
hidden: {
|
|
2475
|
+
required: false,
|
|
2476
|
+
control: "boolean",
|
|
2477
|
+
type: "boolean",
|
|
2478
|
+
description: "Prevents rendering of given element, while keeping child elements, e.g. script elements, active."
|
|
2479
|
+
},
|
|
2480
|
+
id: {
|
|
2481
|
+
required: false,
|
|
2482
|
+
control: "text",
|
|
2483
|
+
type: "string",
|
|
2484
|
+
description: "Often used with CSS to style a specific element. The value of this attribute must be unique."
|
|
2485
|
+
},
|
|
2037
2486
|
inputMode: {
|
|
2038
2487
|
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",
|
|
2039
2488
|
required: false,
|
|
@@ -2061,20 +2510,50 @@ const propsDialogDescription = {
|
|
|
2061
2510
|
itemRef: { required: false, control: "text", type: "string" },
|
|
2062
2511
|
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
2063
2512
|
itemType: { required: false, control: "text", type: "string" },
|
|
2064
|
-
lang: {
|
|
2513
|
+
lang: {
|
|
2514
|
+
required: false,
|
|
2515
|
+
control: "text",
|
|
2516
|
+
type: "string",
|
|
2517
|
+
description: "Defines the language used in the element."
|
|
2518
|
+
},
|
|
2065
2519
|
nonce: { required: false, control: "text", type: "string" },
|
|
2066
|
-
placeholder: {
|
|
2520
|
+
placeholder: {
|
|
2521
|
+
required: false,
|
|
2522
|
+
control: "text",
|
|
2523
|
+
type: "string",
|
|
2524
|
+
description: "Provides a hint to the user of what can be entered in the field."
|
|
2525
|
+
},
|
|
2067
2526
|
prefix: { required: false, control: "text", type: "string" },
|
|
2068
2527
|
property: { required: false, control: "text", type: "string" },
|
|
2069
2528
|
radioGroup: { required: false, control: "text", type: "string" },
|
|
2070
|
-
rel: {
|
|
2529
|
+
rel: {
|
|
2530
|
+
required: false,
|
|
2531
|
+
control: "text",
|
|
2532
|
+
type: "string",
|
|
2533
|
+
description: "Specifies the relationship of the target object to the link object."
|
|
2534
|
+
},
|
|
2071
2535
|
resource: { required: false, control: "text", type: "string" },
|
|
2072
2536
|
results: { required: false, control: "number", type: "number" },
|
|
2073
2537
|
rev: { required: false, control: "text", type: "string" },
|
|
2074
|
-
role: {
|
|
2538
|
+
role: {
|
|
2539
|
+
required: false,
|
|
2540
|
+
control: "text",
|
|
2541
|
+
type: "string",
|
|
2542
|
+
description: "Defines an explicit role for an element for use by assistive technologies."
|
|
2543
|
+
},
|
|
2075
2544
|
security: { required: false, control: "text", type: "string" },
|
|
2076
|
-
slot: {
|
|
2077
|
-
|
|
2545
|
+
slot: {
|
|
2546
|
+
required: false,
|
|
2547
|
+
control: "text",
|
|
2548
|
+
type: "string",
|
|
2549
|
+
description: "Assigns a slot in a shadow DOM shadow tree to an element."
|
|
2550
|
+
},
|
|
2551
|
+
spellCheck: {
|
|
2552
|
+
required: false,
|
|
2553
|
+
control: "boolean",
|
|
2554
|
+
type: "boolean",
|
|
2555
|
+
description: "Indicates whether spell checking is allowed for the element."
|
|
2556
|
+
},
|
|
2078
2557
|
suppressContentEditableWarning: {
|
|
2079
2558
|
required: false,
|
|
2080
2559
|
control: "boolean",
|
|
@@ -2085,13 +2564,24 @@ const propsDialogDescription = {
|
|
|
2085
2564
|
control: "boolean",
|
|
2086
2565
|
type: "boolean"
|
|
2087
2566
|
},
|
|
2088
|
-
tabIndex: {
|
|
2089
|
-
|
|
2567
|
+
tabIndex: {
|
|
2568
|
+
required: false,
|
|
2569
|
+
control: "number",
|
|
2570
|
+
type: "number",
|
|
2571
|
+
description: "Overrides the browser's default tab order and follows the one specified instead."
|
|
2572
|
+
},
|
|
2573
|
+
title: {
|
|
2574
|
+
required: false,
|
|
2575
|
+
control: "text",
|
|
2576
|
+
type: "string",
|
|
2577
|
+
description: "Text to be displayed in a tooltip when hovering over the element."
|
|
2578
|
+
},
|
|
2090
2579
|
translate: {
|
|
2091
2580
|
required: false,
|
|
2092
2581
|
control: "radio",
|
|
2093
2582
|
type: "string",
|
|
2094
|
-
options: ["yes", "no"]
|
|
2583
|
+
options: ["yes", "no"],
|
|
2584
|
+
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."
|
|
2095
2585
|
},
|
|
2096
2586
|
typeof: { required: false, control: "text", type: "string" },
|
|
2097
2587
|
unselectable: {
|