@webstudio-is/sdk-components-react 0.75.0 → 0.77.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__/blockquote.props.js +84 -88
- package/lib/__generated__/body.props.js +83 -87
- package/lib/__generated__/bold.props.js +83 -87
- package/lib/__generated__/box.props.js +83 -87
- package/lib/__generated__/button.props.js +98 -103
- package/lib/__generated__/checkbox.props.js +120 -127
- package/lib/__generated__/code-text.props.js +84 -88
- package/lib/__generated__/form.props.js +90 -94
- package/lib/__generated__/heading.props.js +83 -87
- package/lib/__generated__/image.props.js +124 -128
- package/lib/__generated__/input.props.js +126 -133
- package/lib/__generated__/italic.props.js +83 -87
- package/lib/__generated__/label.props.js +85 -89
- package/lib/__generated__/link.props.js +110 -115
- package/lib/__generated__/list-item.props.js +83 -88
- package/lib/__generated__/list.props.js +87 -91
- package/lib/__generated__/paragraph.props.js +83 -87
- package/lib/__generated__/radio-button.props.js +120 -127
- package/lib/__generated__/rich-text-link.props.js +110 -115
- package/lib/__generated__/separator.props.js +83 -87
- package/lib/__generated__/span.props.js +83 -87
- package/lib/__generated__/subscript.props.js +83 -87
- package/lib/__generated__/superscript.props.js +83 -87
- package/lib/__generated__/text.props.js +83 -87
- package/lib/__generated__/textarea.props.js +95 -101
- package/lib/__generated__/vimeo-play-button.props.js +97 -102
- package/lib/__generated__/vimeo-preview-image.props.js +124 -128
- package/lib/__generated__/vimeo-spinner.props.js +83 -87
- package/lib/__generated__/vimeo.props.js +127 -131
- package/lib/blockquote.ws.js +2 -46
- package/lib/body.ws.js +1 -21
- package/lib/cjs/__generated__/blockquote.props.js +84 -88
- package/lib/cjs/__generated__/body.props.js +83 -87
- package/lib/cjs/__generated__/bold.props.js +83 -87
- package/lib/cjs/__generated__/box.props.js +83 -87
- package/lib/cjs/__generated__/button.props.js +98 -103
- package/lib/cjs/__generated__/checkbox.props.js +120 -127
- package/lib/cjs/__generated__/code-text.props.js +84 -88
- package/lib/cjs/__generated__/form.props.js +90 -94
- package/lib/cjs/__generated__/heading.props.js +83 -87
- package/lib/cjs/__generated__/image.props.js +124 -128
- package/lib/cjs/__generated__/input.props.js +126 -133
- package/lib/cjs/__generated__/italic.props.js +83 -87
- package/lib/cjs/__generated__/label.props.js +85 -89
- package/lib/cjs/__generated__/link.props.js +110 -115
- package/lib/cjs/__generated__/list-item.props.js +83 -88
- package/lib/cjs/__generated__/list.props.js +87 -91
- package/lib/cjs/__generated__/paragraph.props.js +83 -87
- package/lib/cjs/__generated__/radio-button.props.js +120 -127
- package/lib/cjs/__generated__/rich-text-link.props.js +110 -115
- package/lib/cjs/__generated__/separator.props.js +83 -87
- package/lib/cjs/__generated__/span.props.js +83 -87
- package/lib/cjs/__generated__/subscript.props.js +83 -87
- package/lib/cjs/__generated__/superscript.props.js +83 -87
- package/lib/cjs/__generated__/text.props.js +83 -87
- package/lib/cjs/__generated__/textarea.props.js +95 -101
- package/lib/cjs/__generated__/vimeo-play-button.props.js +97 -102
- package/lib/cjs/__generated__/vimeo-preview-image.props.js +124 -128
- package/lib/cjs/__generated__/vimeo-spinner.props.js +83 -87
- package/lib/cjs/__generated__/vimeo.props.js +127 -131
- package/lib/cjs/blockquote.ws.js +2 -46
- package/lib/cjs/body.ws.js +1 -21
- package/lib/cjs/code-text.js +2 -2
- package/lib/cjs/components.js +0 -4
- package/lib/cjs/form.ws.js +1 -0
- package/lib/cjs/link.js +6 -2
- package/lib/cjs/list.ws.js +1 -1
- package/lib/cjs/metas.js +0 -4
- package/lib/cjs/props.js +0 -4
- package/lib/code-text.js +2 -2
- package/lib/components.js +0 -4
- package/lib/form.ws.js +1 -0
- package/lib/link.js +6 -2
- package/lib/list.ws.js +1 -1
- package/lib/metas.js +14 -18
- package/lib/props.js +14 -18
- package/lib/types/code-text.d.ts +1 -1
- package/lib/types/components.d.ts +0 -2
- package/lib/types/metas.d.ts +0 -2
- package/lib/types/props.d.ts +0 -2
- package/package.json +10 -11
- package/src/__generated__/blockquote.props.ts +85 -89
- package/src/__generated__/body.props.ts +84 -88
- package/src/__generated__/bold.props.ts +84 -88
- package/src/__generated__/box.props.ts +84 -88
- package/src/__generated__/button.props.ts +99 -104
- package/src/__generated__/checkbox.props.ts +121 -128
- package/src/__generated__/code-text.props.ts +85 -89
- package/src/__generated__/form.props.ts +91 -95
- package/src/__generated__/heading.props.ts +84 -88
- package/src/__generated__/image.props.ts +126 -130
- package/src/__generated__/input.props.ts +127 -134
- package/src/__generated__/italic.props.ts +84 -88
- package/src/__generated__/label.props.ts +86 -90
- package/src/__generated__/link.props.ts +111 -116
- package/src/__generated__/list-item.props.ts +84 -89
- package/src/__generated__/list.props.ts +88 -92
- package/src/__generated__/paragraph.props.ts +84 -88
- package/src/__generated__/radio-button.props.ts +121 -128
- package/src/__generated__/rich-text-link.props.ts +111 -116
- package/src/__generated__/separator.props.ts +84 -88
- package/src/__generated__/span.props.ts +84 -88
- package/src/__generated__/subscript.props.ts +84 -88
- package/src/__generated__/superscript.props.ts +84 -88
- package/src/__generated__/text.props.ts +84 -88
- package/src/__generated__/textarea.props.ts +96 -102
- package/src/__generated__/vimeo-play-button.props.ts +98 -103
- package/src/__generated__/vimeo-preview-image.props.ts +126 -130
- package/src/__generated__/vimeo-spinner.props.ts +84 -88
- package/src/__generated__/vimeo.props.ts +131 -135
- package/src/blockquote.ws.tsx +2 -48
- package/src/body.ws.tsx +1 -21
- package/src/code-text.tsx +2 -2
- package/src/components.ts +0 -2
- package/src/form.ws.tsx +1 -0
- package/src/link.tsx +7 -2
- package/src/list.ws.tsx +1 -1
- package/src/metas.ts +0 -2
- package/src/props.ts +0 -2
- package/src/subscript.stories.tsx +9 -9
- package/lib/__generated__/error-message.props.js +0 -398
- package/lib/__generated__/success-message.props.js +0 -398
- package/lib/cjs/__generated__/error-message.props.js +0 -418
- package/lib/cjs/__generated__/success-message.props.js +0 -418
- package/lib/cjs/error-message.js +0 -29
- package/lib/cjs/error-message.ws.js +0 -40
- package/lib/cjs/success-message.js +0 -29
- package/lib/cjs/success-message.ws.js +0 -40
- package/lib/error-message.js +0 -9
- package/lib/error-message.ws.js +0 -20
- package/lib/success-message.js +0 -9
- package/lib/success-message.ws.js +0 -20
- package/lib/types/__generated__/error-message.props.d.ts +0 -2
- package/lib/types/__generated__/success-message.props.d.ts +0 -2
- package/lib/types/blockquote.stories.d.ts +0 -5
- package/lib/types/body.stories.d.ts +0 -6
- package/lib/types/bold.stories.d.ts +0 -5
- package/lib/types/box.stories.d.ts +0 -9
- package/lib/types/button.stories.d.ts +0 -5
- package/lib/types/code-text.stories.d.ts +0 -11
- package/lib/types/error-message.d.ts +0 -3
- package/lib/types/error-message.ws.d.ts +0 -3
- package/lib/types/form.stories.d.ts +0 -5
- package/lib/types/heading.stories.d.ts +0 -9
- package/lib/types/html-embed.stories.d.ts +0 -11
- package/lib/types/image.stories.d.ts +0 -562
- package/lib/types/input.stories.d.ts +0 -9
- package/lib/types/italic.stories.d.ts +0 -5
- package/lib/types/link.stories.d.ts +0 -9
- package/lib/types/list-item.stories.d.ts +0 -5
- package/lib/types/list.stories.d.ts +0 -9
- package/lib/types/paragraph.stories.d.ts +0 -5
- package/lib/types/rich-text-link.stories.d.ts +0 -9
- package/lib/types/separator.stories.d.ts +0 -5
- package/lib/types/slot.stories.d.ts +0 -9
- package/lib/types/span.stories.d.ts +0 -5
- package/lib/types/subscript.stories.d.ts +0 -5
- package/lib/types/success-message.d.ts +0 -3
- package/lib/types/success-message.ws.d.ts +0 -3
- package/lib/types/superscript.stories.d.ts +0 -5
- package/lib/types/text.stories.d.ts +0 -9
- package/lib/types/vimeo-play-button.stories.d.ts +0 -5
- package/lib/types/vimeo-preview-image.stories.d.ts +0 -562
- package/lib/types/vimeo-spinner.stories.d.ts +0 -5
- package/lib/types/vimeo.stories.d.ts +0 -71
- package/src/__generated__/error-message.props.ts +0 -443
- package/src/__generated__/success-message.props.ts +0 -443
- package/src/error-message.tsx +0 -10
- package/src/error-message.ws.tsx +0 -24
- package/src/success-message.tsx +0 -10
- package/src/success-message.ws.tsx +0 -24
|
@@ -1,95 +1,8 @@
|
|
|
1
1
|
import type { PropMeta } from "@webstudio-is/generate-arg-types";
|
|
2
2
|
|
|
3
3
|
export const props: Record<string, PropMeta> = {
|
|
4
|
-
slot: { required: false, control: "text", type: "string" },
|
|
5
|
-
style: { required: false, control: "text", type: "string" },
|
|
6
|
-
title: { required: false, control: "text", type: "string" },
|
|
7
|
-
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
8
|
-
defaultValue: { required: false, control: "text", type: "string" },
|
|
9
|
-
suppressContentEditableWarning: {
|
|
10
|
-
required: false,
|
|
11
|
-
control: "boolean",
|
|
12
|
-
type: "boolean",
|
|
13
|
-
},
|
|
14
|
-
suppressHydrationWarning: {
|
|
15
|
-
required: false,
|
|
16
|
-
control: "boolean",
|
|
17
|
-
type: "boolean",
|
|
18
|
-
},
|
|
19
|
-
accessKey: { required: false, control: "text", type: "string" },
|
|
20
|
-
autoFocus: { required: false, control: "boolean", type: "boolean" },
|
|
21
|
-
className: { required: false, control: "text", type: "string" },
|
|
22
|
-
contentEditable: { required: false, control: "text", type: "string" },
|
|
23
|
-
contextMenu: { required: false, control: "text", type: "string" },
|
|
24
|
-
dir: { required: false, control: "text", type: "string" },
|
|
25
|
-
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
26
|
-
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
27
|
-
id: { required: false, control: "text", type: "string" },
|
|
28
|
-
lang: { required: false, control: "text", type: "string" },
|
|
29
|
-
nonce: { required: false, control: "text", type: "string" },
|
|
30
|
-
placeholder: { required: false, control: "text", type: "string" },
|
|
31
|
-
spellCheck: { required: false, control: "boolean", type: "boolean" },
|
|
32
|
-
tabIndex: { required: false, control: "number", type: "number" },
|
|
33
|
-
translate: {
|
|
34
|
-
required: false,
|
|
35
|
-
control: "radio",
|
|
36
|
-
type: "string",
|
|
37
|
-
options: ["yes", "no"],
|
|
38
|
-
},
|
|
39
|
-
radioGroup: { required: false, control: "text", type: "string" },
|
|
40
|
-
role: { required: false, control: "text", type: "string" },
|
|
41
4
|
about: { required: false, control: "text", type: "string" },
|
|
42
|
-
|
|
43
|
-
datatype: { required: false, control: "text", type: "string" },
|
|
44
|
-
inlist: { required: false, control: "text", type: "string" },
|
|
45
|
-
prefix: { required: false, control: "text", type: "string" },
|
|
46
|
-
property: { required: false, control: "text", type: "string" },
|
|
47
|
-
rel: { required: false, control: "text", type: "string" },
|
|
48
|
-
resource: { required: false, control: "text", type: "string" },
|
|
49
|
-
rev: { required: false, control: "text", type: "string" },
|
|
50
|
-
typeof: { required: false, control: "text", type: "string" },
|
|
51
|
-
vocab: { required: false, control: "text", type: "string" },
|
|
52
|
-
autoCapitalize: { required: false, control: "text", type: "string" },
|
|
53
|
-
autoCorrect: { required: false, control: "text", type: "string" },
|
|
54
|
-
autoSave: { required: false, control: "text", type: "string" },
|
|
55
|
-
color: { required: false, control: "color", type: "string" },
|
|
56
|
-
itemProp: { required: false, control: "text", type: "string" },
|
|
57
|
-
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
58
|
-
itemType: { required: false, control: "text", type: "string" },
|
|
59
|
-
itemID: { required: false, control: "text", type: "string" },
|
|
60
|
-
itemRef: { required: false, control: "text", type: "string" },
|
|
61
|
-
results: { required: false, control: "number", type: "number" },
|
|
62
|
-
security: { required: false, control: "text", type: "string" },
|
|
63
|
-
unselectable: {
|
|
64
|
-
required: false,
|
|
65
|
-
control: "radio",
|
|
66
|
-
type: "string",
|
|
67
|
-
options: ["on", "off"],
|
|
68
|
-
},
|
|
69
|
-
inputMode: {
|
|
70
|
-
description:
|
|
71
|
-
"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",
|
|
72
|
-
required: false,
|
|
73
|
-
control: "select",
|
|
74
|
-
type: "string",
|
|
75
|
-
options: [
|
|
76
|
-
"text",
|
|
77
|
-
"none",
|
|
78
|
-
"search",
|
|
79
|
-
"tel",
|
|
80
|
-
"url",
|
|
81
|
-
"email",
|
|
82
|
-
"numeric",
|
|
83
|
-
"decimal",
|
|
84
|
-
],
|
|
85
|
-
},
|
|
86
|
-
is: {
|
|
87
|
-
description:
|
|
88
|
-
"Specify that a standard HTML element should behave like a defined custom built-in element\n@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is",
|
|
89
|
-
required: false,
|
|
90
|
-
control: "text",
|
|
91
|
-
type: "string",
|
|
92
|
-
},
|
|
5
|
+
accessKey: { required: false, control: "text", type: "string" },
|
|
93
6
|
"aria-activedescendant": {
|
|
94
7
|
description:
|
|
95
8
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -440,4 +353,87 @@ export const props: Record<string, PropMeta> = {
|
|
|
440
353
|
control: "text",
|
|
441
354
|
type: "string",
|
|
442
355
|
},
|
|
356
|
+
autoCapitalize: { required: false, control: "text", type: "string" },
|
|
357
|
+
autoCorrect: { required: false, control: "text", type: "string" },
|
|
358
|
+
autoFocus: { required: false, control: "boolean", type: "boolean" },
|
|
359
|
+
autoSave: { required: false, control: "text", type: "string" },
|
|
360
|
+
className: { required: false, control: "text", type: "string" },
|
|
361
|
+
color: { required: false, control: "color", type: "string" },
|
|
362
|
+
content: { required: false, control: "text", type: "string" },
|
|
363
|
+
contextMenu: { required: false, control: "text", type: "string" },
|
|
364
|
+
datatype: { required: false, control: "text", type: "string" },
|
|
365
|
+
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
366
|
+
dir: { required: false, control: "text", type: "string" },
|
|
367
|
+
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
368
|
+
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
369
|
+
id: { required: false, control: "text", type: "string" },
|
|
370
|
+
inputMode: {
|
|
371
|
+
description:
|
|
372
|
+
"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",
|
|
373
|
+
required: false,
|
|
374
|
+
control: "select",
|
|
375
|
+
type: "string",
|
|
376
|
+
options: [
|
|
377
|
+
"text",
|
|
378
|
+
"none",
|
|
379
|
+
"search",
|
|
380
|
+
"tel",
|
|
381
|
+
"url",
|
|
382
|
+
"email",
|
|
383
|
+
"numeric",
|
|
384
|
+
"decimal",
|
|
385
|
+
],
|
|
386
|
+
},
|
|
387
|
+
is: {
|
|
388
|
+
description:
|
|
389
|
+
"Specify that a standard HTML element should behave like a defined custom built-in element\n@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is",
|
|
390
|
+
required: false,
|
|
391
|
+
control: "text",
|
|
392
|
+
type: "string",
|
|
393
|
+
},
|
|
394
|
+
itemID: { required: false, control: "text", type: "string" },
|
|
395
|
+
itemProp: { required: false, control: "text", type: "string" },
|
|
396
|
+
itemRef: { required: false, control: "text", type: "string" },
|
|
397
|
+
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
398
|
+
itemType: { required: false, control: "text", type: "string" },
|
|
399
|
+
lang: { required: false, control: "text", type: "string" },
|
|
400
|
+
nonce: { required: false, control: "text", type: "string" },
|
|
401
|
+
placeholder: { required: false, control: "text", type: "string" },
|
|
402
|
+
prefix: { required: false, control: "text", type: "string" },
|
|
403
|
+
property: { required: false, control: "text", type: "string" },
|
|
404
|
+
radioGroup: { required: false, control: "text", type: "string" },
|
|
405
|
+
rel: { required: false, control: "text", type: "string" },
|
|
406
|
+
resource: { required: false, control: "text", type: "string" },
|
|
407
|
+
results: { required: false, control: "number", type: "number" },
|
|
408
|
+
rev: { required: false, control: "text", type: "string" },
|
|
409
|
+
role: { required: false, control: "text", type: "string" },
|
|
410
|
+
security: { required: false, control: "text", type: "string" },
|
|
411
|
+
slot: { required: false, control: "text", type: "string" },
|
|
412
|
+
spellCheck: { required: false, control: "boolean", type: "boolean" },
|
|
413
|
+
suppressContentEditableWarning: {
|
|
414
|
+
required: false,
|
|
415
|
+
control: "boolean",
|
|
416
|
+
type: "boolean",
|
|
417
|
+
},
|
|
418
|
+
suppressHydrationWarning: {
|
|
419
|
+
required: false,
|
|
420
|
+
control: "boolean",
|
|
421
|
+
type: "boolean",
|
|
422
|
+
},
|
|
423
|
+
tabIndex: { required: false, control: "number", type: "number" },
|
|
424
|
+
title: { required: false, control: "text", type: "string" },
|
|
425
|
+
translate: {
|
|
426
|
+
required: false,
|
|
427
|
+
control: "radio",
|
|
428
|
+
type: "string",
|
|
429
|
+
options: ["yes", "no"],
|
|
430
|
+
},
|
|
431
|
+
typeof: { required: false, control: "text", type: "string" },
|
|
432
|
+
unselectable: {
|
|
433
|
+
required: false,
|
|
434
|
+
control: "radio",
|
|
435
|
+
type: "string",
|
|
436
|
+
options: ["on", "off"],
|
|
437
|
+
},
|
|
438
|
+
vocab: { required: false, control: "text", type: "string" },
|
|
443
439
|
};
|
|
@@ -1,95 +1,8 @@
|
|
|
1
1
|
import type { PropMeta } from "@webstudio-is/generate-arg-types";
|
|
2
2
|
|
|
3
3
|
export const props: Record<string, PropMeta> = {
|
|
4
|
-
slot: { required: false, control: "text", type: "string" },
|
|
5
|
-
style: { required: false, control: "text", type: "string" },
|
|
6
|
-
title: { required: false, control: "text", type: "string" },
|
|
7
|
-
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
8
|
-
defaultValue: { required: false, control: "text", type: "string" },
|
|
9
|
-
suppressContentEditableWarning: {
|
|
10
|
-
required: false,
|
|
11
|
-
control: "boolean",
|
|
12
|
-
type: "boolean",
|
|
13
|
-
},
|
|
14
|
-
suppressHydrationWarning: {
|
|
15
|
-
required: false,
|
|
16
|
-
control: "boolean",
|
|
17
|
-
type: "boolean",
|
|
18
|
-
},
|
|
19
|
-
accessKey: { required: false, control: "text", type: "string" },
|
|
20
|
-
autoFocus: { required: false, control: "boolean", type: "boolean" },
|
|
21
|
-
className: { required: false, control: "text", type: "string" },
|
|
22
|
-
contentEditable: { required: false, control: "text", type: "string" },
|
|
23
|
-
contextMenu: { required: false, control: "text", type: "string" },
|
|
24
|
-
dir: { required: false, control: "text", type: "string" },
|
|
25
|
-
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
26
|
-
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
27
|
-
id: { required: false, control: "text", type: "string" },
|
|
28
|
-
lang: { required: false, control: "text", type: "string" },
|
|
29
|
-
nonce: { required: false, control: "text", type: "string" },
|
|
30
|
-
placeholder: { required: false, control: "text", type: "string" },
|
|
31
|
-
spellCheck: { required: false, control: "boolean", type: "boolean" },
|
|
32
|
-
tabIndex: { required: false, control: "number", type: "number" },
|
|
33
|
-
translate: {
|
|
34
|
-
required: false,
|
|
35
|
-
control: "radio",
|
|
36
|
-
type: "string",
|
|
37
|
-
options: ["yes", "no"],
|
|
38
|
-
},
|
|
39
|
-
radioGroup: { required: false, control: "text", type: "string" },
|
|
40
|
-
role: { required: false, control: "text", type: "string" },
|
|
41
4
|
about: { required: false, control: "text", type: "string" },
|
|
42
|
-
|
|
43
|
-
datatype: { required: false, control: "text", type: "string" },
|
|
44
|
-
inlist: { required: false, control: "text", type: "string" },
|
|
45
|
-
prefix: { required: false, control: "text", type: "string" },
|
|
46
|
-
property: { required: false, control: "text", type: "string" },
|
|
47
|
-
rel: { required: false, control: "text", type: "string" },
|
|
48
|
-
resource: { required: false, control: "text", type: "string" },
|
|
49
|
-
rev: { required: false, control: "text", type: "string" },
|
|
50
|
-
typeof: { required: false, control: "text", type: "string" },
|
|
51
|
-
vocab: { required: false, control: "text", type: "string" },
|
|
52
|
-
autoCapitalize: { required: false, control: "text", type: "string" },
|
|
53
|
-
autoCorrect: { required: false, control: "text", type: "string" },
|
|
54
|
-
autoSave: { required: false, control: "text", type: "string" },
|
|
55
|
-
color: { required: false, control: "color", type: "string" },
|
|
56
|
-
itemProp: { required: false, control: "text", type: "string" },
|
|
57
|
-
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
58
|
-
itemType: { required: false, control: "text", type: "string" },
|
|
59
|
-
itemID: { required: false, control: "text", type: "string" },
|
|
60
|
-
itemRef: { required: false, control: "text", type: "string" },
|
|
61
|
-
results: { required: false, control: "number", type: "number" },
|
|
62
|
-
security: { required: false, control: "text", type: "string" },
|
|
63
|
-
unselectable: {
|
|
64
|
-
required: false,
|
|
65
|
-
control: "radio",
|
|
66
|
-
type: "string",
|
|
67
|
-
options: ["on", "off"],
|
|
68
|
-
},
|
|
69
|
-
inputMode: {
|
|
70
|
-
description:
|
|
71
|
-
"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",
|
|
72
|
-
required: false,
|
|
73
|
-
control: "select",
|
|
74
|
-
type: "string",
|
|
75
|
-
options: [
|
|
76
|
-
"text",
|
|
77
|
-
"none",
|
|
78
|
-
"search",
|
|
79
|
-
"tel",
|
|
80
|
-
"url",
|
|
81
|
-
"email",
|
|
82
|
-
"numeric",
|
|
83
|
-
"decimal",
|
|
84
|
-
],
|
|
85
|
-
},
|
|
86
|
-
is: {
|
|
87
|
-
description:
|
|
88
|
-
"Specify that a standard HTML element should behave like a defined custom built-in element\n@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is",
|
|
89
|
-
required: false,
|
|
90
|
-
control: "text",
|
|
91
|
-
type: "string",
|
|
92
|
-
},
|
|
5
|
+
accessKey: { required: false, control: "text", type: "string" },
|
|
93
6
|
"aria-activedescendant": {
|
|
94
7
|
description:
|
|
95
8
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -440,6 +353,74 @@ export const props: Record<string, PropMeta> = {
|
|
|
440
353
|
control: "text",
|
|
441
354
|
type: "string",
|
|
442
355
|
},
|
|
356
|
+
autoCapitalize: { required: false, control: "text", type: "string" },
|
|
357
|
+
autoCorrect: { required: false, control: "text", type: "string" },
|
|
358
|
+
autoFocus: { required: false, control: "boolean", type: "boolean" },
|
|
359
|
+
autoSave: { required: false, control: "text", type: "string" },
|
|
360
|
+
className: { required: false, control: "text", type: "string" },
|
|
361
|
+
color: { required: false, control: "color", type: "string" },
|
|
362
|
+
content: { required: false, control: "text", type: "string" },
|
|
363
|
+
contextMenu: { required: false, control: "text", type: "string" },
|
|
364
|
+
datatype: { required: false, control: "text", type: "string" },
|
|
365
|
+
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
366
|
+
dir: { required: false, control: "text", type: "string" },
|
|
367
|
+
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
368
|
+
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
369
|
+
id: { required: false, control: "text", type: "string" },
|
|
370
|
+
inputMode: {
|
|
371
|
+
description:
|
|
372
|
+
"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",
|
|
373
|
+
required: false,
|
|
374
|
+
control: "select",
|
|
375
|
+
type: "string",
|
|
376
|
+
options: [
|
|
377
|
+
"text",
|
|
378
|
+
"none",
|
|
379
|
+
"search",
|
|
380
|
+
"tel",
|
|
381
|
+
"url",
|
|
382
|
+
"email",
|
|
383
|
+
"numeric",
|
|
384
|
+
"decimal",
|
|
385
|
+
],
|
|
386
|
+
},
|
|
387
|
+
is: {
|
|
388
|
+
description:
|
|
389
|
+
"Specify that a standard HTML element should behave like a defined custom built-in element\n@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is",
|
|
390
|
+
required: false,
|
|
391
|
+
control: "text",
|
|
392
|
+
type: "string",
|
|
393
|
+
},
|
|
394
|
+
itemID: { required: false, control: "text", type: "string" },
|
|
395
|
+
itemProp: { required: false, control: "text", type: "string" },
|
|
396
|
+
itemRef: { required: false, control: "text", type: "string" },
|
|
397
|
+
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
398
|
+
itemType: { required: false, control: "text", type: "string" },
|
|
399
|
+
lang: { required: false, control: "text", type: "string" },
|
|
400
|
+
nonce: { required: false, control: "text", type: "string" },
|
|
401
|
+
placeholder: { required: false, control: "text", type: "string" },
|
|
402
|
+
prefix: { required: false, control: "text", type: "string" },
|
|
403
|
+
property: { required: false, control: "text", type: "string" },
|
|
404
|
+
radioGroup: { required: false, control: "text", type: "string" },
|
|
405
|
+
rel: { required: false, control: "text", type: "string" },
|
|
406
|
+
resource: { required: false, control: "text", type: "string" },
|
|
407
|
+
results: { required: false, control: "number", type: "number" },
|
|
408
|
+
rev: { required: false, control: "text", type: "string" },
|
|
409
|
+
role: { required: false, control: "text", type: "string" },
|
|
410
|
+
security: { required: false, control: "text", type: "string" },
|
|
411
|
+
slot: { required: false, control: "text", type: "string" },
|
|
412
|
+
spellCheck: { required: false, control: "boolean", type: "boolean" },
|
|
413
|
+
suppressContentEditableWarning: {
|
|
414
|
+
required: false,
|
|
415
|
+
control: "boolean",
|
|
416
|
+
type: "boolean",
|
|
417
|
+
},
|
|
418
|
+
suppressHydrationWarning: {
|
|
419
|
+
required: false,
|
|
420
|
+
control: "boolean",
|
|
421
|
+
type: "boolean",
|
|
422
|
+
},
|
|
423
|
+
tabIndex: { required: false, control: "number", type: "number" },
|
|
443
424
|
tag: {
|
|
444
425
|
required: false,
|
|
445
426
|
control: "select",
|
|
@@ -458,4 +439,19 @@ export const props: Record<string, PropMeta> = {
|
|
|
458
439
|
"section",
|
|
459
440
|
],
|
|
460
441
|
},
|
|
442
|
+
title: { required: false, control: "text", type: "string" },
|
|
443
|
+
translate: {
|
|
444
|
+
required: false,
|
|
445
|
+
control: "radio",
|
|
446
|
+
type: "string",
|
|
447
|
+
options: ["yes", "no"],
|
|
448
|
+
},
|
|
449
|
+
typeof: { required: false, control: "text", type: "string" },
|
|
450
|
+
unselectable: {
|
|
451
|
+
required: false,
|
|
452
|
+
control: "radio",
|
|
453
|
+
type: "string",
|
|
454
|
+
options: ["on", "off"],
|
|
455
|
+
},
|
|
456
|
+
vocab: { required: false, control: "text", type: "string" },
|
|
461
457
|
};
|
|
@@ -1,111 +1,8 @@
|
|
|
1
1
|
import type { PropMeta } from "@webstudio-is/generate-arg-types";
|
|
2
2
|
|
|
3
3
|
export const props: Record<string, PropMeta> = {
|
|
4
|
-
form: { required: false, control: "text", type: "string" },
|
|
5
|
-
slot: { required: false, control: "text", type: "string" },
|
|
6
|
-
style: { required: false, control: "text", type: "string" },
|
|
7
|
-
title: { required: false, control: "text", type: "string" },
|
|
8
|
-
disabled: { required: false, control: "boolean", type: "boolean" },
|
|
9
|
-
formAction: { required: false, control: "text", type: "string" },
|
|
10
|
-
formEncType: { required: false, control: "text", type: "string" },
|
|
11
|
-
formMethod: { required: false, control: "text", type: "string" },
|
|
12
|
-
formNoValidate: { required: false, control: "boolean", type: "boolean" },
|
|
13
|
-
formTarget: { required: false, control: "text", type: "string" },
|
|
14
|
-
name: { required: false, control: "text", type: "string" },
|
|
15
|
-
type: {
|
|
16
|
-
required: false,
|
|
17
|
-
control: "radio",
|
|
18
|
-
type: "string",
|
|
19
|
-
defaultValue: "submit",
|
|
20
|
-
options: ["button", "submit", "reset"],
|
|
21
|
-
},
|
|
22
|
-
value: { required: false, control: "text", type: "string" },
|
|
23
|
-
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
24
|
-
defaultValue: { required: false, control: "text", type: "string" },
|
|
25
|
-
suppressContentEditableWarning: {
|
|
26
|
-
required: false,
|
|
27
|
-
control: "boolean",
|
|
28
|
-
type: "boolean",
|
|
29
|
-
},
|
|
30
|
-
suppressHydrationWarning: {
|
|
31
|
-
required: false,
|
|
32
|
-
control: "boolean",
|
|
33
|
-
type: "boolean",
|
|
34
|
-
},
|
|
35
|
-
accessKey: { required: false, control: "text", type: "string" },
|
|
36
|
-
autoFocus: { required: false, control: "boolean", type: "boolean" },
|
|
37
|
-
className: { required: false, control: "text", type: "string" },
|
|
38
|
-
contentEditable: { required: false, control: "text", type: "string" },
|
|
39
|
-
contextMenu: { required: false, control: "text", type: "string" },
|
|
40
|
-
dir: { required: false, control: "text", type: "string" },
|
|
41
|
-
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
42
|
-
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
43
|
-
id: { required: false, control: "text", type: "string" },
|
|
44
|
-
lang: { required: false, control: "text", type: "string" },
|
|
45
|
-
nonce: { required: false, control: "text", type: "string" },
|
|
46
|
-
placeholder: { required: false, control: "text", type: "string" },
|
|
47
|
-
spellCheck: { required: false, control: "boolean", type: "boolean" },
|
|
48
|
-
tabIndex: { required: false, control: "number", type: "number" },
|
|
49
|
-
translate: {
|
|
50
|
-
required: false,
|
|
51
|
-
control: "radio",
|
|
52
|
-
type: "string",
|
|
53
|
-
options: ["yes", "no"],
|
|
54
|
-
},
|
|
55
|
-
radioGroup: { required: false, control: "text", type: "string" },
|
|
56
|
-
role: { required: false, control: "text", type: "string" },
|
|
57
4
|
about: { required: false, control: "text", type: "string" },
|
|
58
|
-
|
|
59
|
-
datatype: { required: false, control: "text", type: "string" },
|
|
60
|
-
inlist: { required: false, control: "text", type: "string" },
|
|
61
|
-
prefix: { required: false, control: "text", type: "string" },
|
|
62
|
-
property: { required: false, control: "text", type: "string" },
|
|
63
|
-
rel: { required: false, control: "text", type: "string" },
|
|
64
|
-
resource: { required: false, control: "text", type: "string" },
|
|
65
|
-
rev: { required: false, control: "text", type: "string" },
|
|
66
|
-
typeof: { required: false, control: "text", type: "string" },
|
|
67
|
-
vocab: { required: false, control: "text", type: "string" },
|
|
68
|
-
autoCapitalize: { required: false, control: "text", type: "string" },
|
|
69
|
-
autoCorrect: { required: false, control: "text", type: "string" },
|
|
70
|
-
autoSave: { required: false, control: "text", type: "string" },
|
|
71
|
-
color: { required: false, control: "color", type: "string" },
|
|
72
|
-
itemProp: { required: false, control: "text", type: "string" },
|
|
73
|
-
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
74
|
-
itemType: { required: false, control: "text", type: "string" },
|
|
75
|
-
itemID: { required: false, control: "text", type: "string" },
|
|
76
|
-
itemRef: { required: false, control: "text", type: "string" },
|
|
77
|
-
results: { required: false, control: "number", type: "number" },
|
|
78
|
-
security: { required: false, control: "text", type: "string" },
|
|
79
|
-
unselectable: {
|
|
80
|
-
required: false,
|
|
81
|
-
control: "radio",
|
|
82
|
-
type: "string",
|
|
83
|
-
options: ["on", "off"],
|
|
84
|
-
},
|
|
85
|
-
inputMode: {
|
|
86
|
-
description:
|
|
87
|
-
"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",
|
|
88
|
-
required: false,
|
|
89
|
-
control: "select",
|
|
90
|
-
type: "string",
|
|
91
|
-
options: [
|
|
92
|
-
"text",
|
|
93
|
-
"none",
|
|
94
|
-
"search",
|
|
95
|
-
"tel",
|
|
96
|
-
"url",
|
|
97
|
-
"email",
|
|
98
|
-
"numeric",
|
|
99
|
-
"decimal",
|
|
100
|
-
],
|
|
101
|
-
},
|
|
102
|
-
is: {
|
|
103
|
-
description:
|
|
104
|
-
"Specify that a standard HTML element should behave like a defined custom built-in element\n@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is",
|
|
105
|
-
required: false,
|
|
106
|
-
control: "text",
|
|
107
|
-
type: "string",
|
|
108
|
-
},
|
|
5
|
+
accessKey: { required: false, control: "text", type: "string" },
|
|
109
6
|
"aria-activedescendant": {
|
|
110
7
|
description:
|
|
111
8
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -456,4 +353,102 @@ export const props: Record<string, PropMeta> = {
|
|
|
456
353
|
control: "text",
|
|
457
354
|
type: "string",
|
|
458
355
|
},
|
|
356
|
+
autoCapitalize: { required: false, control: "text", type: "string" },
|
|
357
|
+
autoCorrect: { required: false, control: "text", type: "string" },
|
|
358
|
+
autoFocus: { required: false, control: "boolean", type: "boolean" },
|
|
359
|
+
autoSave: { required: false, control: "text", type: "string" },
|
|
360
|
+
className: { required: false, control: "text", type: "string" },
|
|
361
|
+
color: { required: false, control: "color", type: "string" },
|
|
362
|
+
content: { required: false, control: "text", type: "string" },
|
|
363
|
+
contextMenu: { required: false, control: "text", type: "string" },
|
|
364
|
+
datatype: { required: false, control: "text", type: "string" },
|
|
365
|
+
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
366
|
+
dir: { required: false, control: "text", type: "string" },
|
|
367
|
+
disabled: { required: false, control: "boolean", type: "boolean" },
|
|
368
|
+
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
369
|
+
form: { required: false, control: "text", type: "string" },
|
|
370
|
+
formAction: { required: false, control: "text", type: "string" },
|
|
371
|
+
formEncType: { required: false, control: "text", type: "string" },
|
|
372
|
+
formMethod: { required: false, control: "text", type: "string" },
|
|
373
|
+
formNoValidate: { required: false, control: "boolean", type: "boolean" },
|
|
374
|
+
formTarget: { required: false, control: "text", type: "string" },
|
|
375
|
+
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
376
|
+
id: { required: false, control: "text", type: "string" },
|
|
377
|
+
inputMode: {
|
|
378
|
+
description:
|
|
379
|
+
"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",
|
|
380
|
+
required: false,
|
|
381
|
+
control: "select",
|
|
382
|
+
type: "string",
|
|
383
|
+
options: [
|
|
384
|
+
"text",
|
|
385
|
+
"none",
|
|
386
|
+
"search",
|
|
387
|
+
"tel",
|
|
388
|
+
"url",
|
|
389
|
+
"email",
|
|
390
|
+
"numeric",
|
|
391
|
+
"decimal",
|
|
392
|
+
],
|
|
393
|
+
},
|
|
394
|
+
is: {
|
|
395
|
+
description:
|
|
396
|
+
"Specify that a standard HTML element should behave like a defined custom built-in element\n@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is",
|
|
397
|
+
required: false,
|
|
398
|
+
control: "text",
|
|
399
|
+
type: "string",
|
|
400
|
+
},
|
|
401
|
+
itemID: { required: false, control: "text", type: "string" },
|
|
402
|
+
itemProp: { required: false, control: "text", type: "string" },
|
|
403
|
+
itemRef: { required: false, control: "text", type: "string" },
|
|
404
|
+
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
405
|
+
itemType: { required: false, control: "text", type: "string" },
|
|
406
|
+
lang: { required: false, control: "text", type: "string" },
|
|
407
|
+
name: { required: false, control: "text", type: "string" },
|
|
408
|
+
nonce: { required: false, control: "text", type: "string" },
|
|
409
|
+
placeholder: { required: false, control: "text", type: "string" },
|
|
410
|
+
prefix: { required: false, control: "text", type: "string" },
|
|
411
|
+
property: { required: false, control: "text", type: "string" },
|
|
412
|
+
radioGroup: { required: false, control: "text", type: "string" },
|
|
413
|
+
rel: { required: false, control: "text", type: "string" },
|
|
414
|
+
resource: { required: false, control: "text", type: "string" },
|
|
415
|
+
results: { required: false, control: "number", type: "number" },
|
|
416
|
+
rev: { required: false, control: "text", type: "string" },
|
|
417
|
+
role: { required: false, control: "text", type: "string" },
|
|
418
|
+
security: { required: false, control: "text", type: "string" },
|
|
419
|
+
slot: { required: false, control: "text", type: "string" },
|
|
420
|
+
spellCheck: { required: false, control: "boolean", type: "boolean" },
|
|
421
|
+
suppressContentEditableWarning: {
|
|
422
|
+
required: false,
|
|
423
|
+
control: "boolean",
|
|
424
|
+
type: "boolean",
|
|
425
|
+
},
|
|
426
|
+
suppressHydrationWarning: {
|
|
427
|
+
required: false,
|
|
428
|
+
control: "boolean",
|
|
429
|
+
type: "boolean",
|
|
430
|
+
},
|
|
431
|
+
tabIndex: { required: false, control: "number", type: "number" },
|
|
432
|
+
title: { required: false, control: "text", type: "string" },
|
|
433
|
+
translate: {
|
|
434
|
+
required: false,
|
|
435
|
+
control: "radio",
|
|
436
|
+
type: "string",
|
|
437
|
+
options: ["yes", "no"],
|
|
438
|
+
},
|
|
439
|
+
type: {
|
|
440
|
+
required: false,
|
|
441
|
+
control: "radio",
|
|
442
|
+
type: "string",
|
|
443
|
+
defaultValue: "submit",
|
|
444
|
+
options: ["button", "submit", "reset"],
|
|
445
|
+
},
|
|
446
|
+
typeof: { required: false, control: "text", type: "string" },
|
|
447
|
+
unselectable: {
|
|
448
|
+
required: false,
|
|
449
|
+
control: "radio",
|
|
450
|
+
type: "string",
|
|
451
|
+
options: ["on", "off"],
|
|
452
|
+
},
|
|
453
|
+
vocab: { required: false, control: "text", type: "string" },
|
|
459
454
|
};
|