@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
package/lib/metas.js
CHANGED
|
@@ -23,24 +23,21 @@ import { meta as meta22 } from "./list-item.ws";
|
|
|
23
23
|
import { meta as meta23 } from "./separator.ws";
|
|
24
24
|
import { meta as meta24 } from "./code-text.ws";
|
|
25
25
|
import { meta as meta25 } from "./label.ws";
|
|
26
|
-
import { meta as meta26 } from "./
|
|
27
|
-
import { meta as meta27 } from "./
|
|
28
|
-
import { meta as meta28 } from "./
|
|
29
|
-
import { meta as meta29 } from "./
|
|
30
|
-
import { meta as meta30 } from "./
|
|
31
|
-
import { meta as meta31 } from "./vimeo.ws";
|
|
32
|
-
import { meta as meta32 } from "./vimeo-
|
|
33
|
-
import { meta as meta33 } from "./vimeo-play-button.ws";
|
|
34
|
-
import { meta as meta34 } from "./vimeo-spinner.ws";
|
|
26
|
+
import { meta as meta26 } from "./textarea.ws";
|
|
27
|
+
import { meta as meta27 } from "./radio-button.ws";
|
|
28
|
+
import { meta as meta28 } from "./checkbox.ws";
|
|
29
|
+
import { meta as meta29 } from "./vimeo.ws";
|
|
30
|
+
import { meta as meta30 } from "./vimeo-preview-image.ws";
|
|
31
|
+
import { meta as meta31 } from "./vimeo-play-button.ws";
|
|
32
|
+
import { meta as meta32 } from "./vimeo-spinner.ws";
|
|
35
33
|
export {
|
|
36
34
|
meta20 as Blockquote,
|
|
37
35
|
meta4 as Body,
|
|
38
36
|
meta12 as Bold,
|
|
39
37
|
meta5 as Box,
|
|
40
38
|
meta16 as Button,
|
|
41
|
-
|
|
39
|
+
meta28 as Checkbox,
|
|
42
40
|
meta24 as CodeText,
|
|
43
|
-
meta27 as ErrorMessage,
|
|
44
41
|
meta18 as Form,
|
|
45
42
|
meta2 as Fragment,
|
|
46
43
|
meta7 as Heading,
|
|
@@ -53,18 +50,17 @@ export {
|
|
|
53
50
|
meta21 as List,
|
|
54
51
|
meta22 as ListItem,
|
|
55
52
|
meta8 as Paragraph,
|
|
56
|
-
|
|
53
|
+
meta27 as RadioButton,
|
|
57
54
|
meta10 as RichTextLink,
|
|
58
55
|
meta23 as Separator,
|
|
59
56
|
meta as Slot,
|
|
60
57
|
meta11 as Span,
|
|
61
58
|
meta15 as Subscript,
|
|
62
|
-
meta26 as SuccessMessage,
|
|
63
59
|
meta14 as Superscript,
|
|
64
60
|
meta6 as Text,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
61
|
+
meta26 as Textarea,
|
|
62
|
+
meta29 as Vimeo,
|
|
63
|
+
meta31 as VimeoPlayButton,
|
|
64
|
+
meta30 as VimeoPreviewImage,
|
|
65
|
+
meta32 as VimeoSpinner
|
|
70
66
|
};
|
package/lib/props.js
CHANGED
|
@@ -23,24 +23,21 @@ import { propsMeta as propsMeta22 } from "./list-item.ws";
|
|
|
23
23
|
import { propsMeta as propsMeta23 } from "./separator.ws";
|
|
24
24
|
import { propsMeta as propsMeta24 } from "./code-text.ws";
|
|
25
25
|
import { propsMeta as propsMeta25 } from "./label.ws";
|
|
26
|
-
import { propsMeta as propsMeta26 } from "./
|
|
27
|
-
import { propsMeta as propsMeta27 } from "./
|
|
28
|
-
import { propsMeta as propsMeta28 } from "./
|
|
29
|
-
import { propsMeta as propsMeta29 } from "./
|
|
30
|
-
import { propsMeta as propsMeta30 } from "./
|
|
31
|
-
import { propsMeta as propsMeta31 } from "./vimeo.ws";
|
|
32
|
-
import { propsMeta as propsMeta32 } from "./vimeo-
|
|
33
|
-
import { propsMeta as propsMeta33 } from "./vimeo-play-button.ws";
|
|
34
|
-
import { propsMeta as propsMeta34 } from "./vimeo-spinner.ws";
|
|
26
|
+
import { propsMeta as propsMeta26 } from "./textarea.ws";
|
|
27
|
+
import { propsMeta as propsMeta27 } from "./radio-button.ws";
|
|
28
|
+
import { propsMeta as propsMeta28 } from "./checkbox.ws";
|
|
29
|
+
import { propsMeta as propsMeta29 } from "./vimeo.ws";
|
|
30
|
+
import { propsMeta as propsMeta30 } from "./vimeo-preview-image.ws";
|
|
31
|
+
import { propsMeta as propsMeta31 } from "./vimeo-play-button.ws";
|
|
32
|
+
import { propsMeta as propsMeta32 } from "./vimeo-spinner.ws";
|
|
35
33
|
export {
|
|
36
34
|
propsMeta20 as Blockquote,
|
|
37
35
|
propsMeta4 as Body,
|
|
38
36
|
propsMeta12 as Bold,
|
|
39
37
|
propsMeta5 as Box,
|
|
40
38
|
propsMeta16 as Button,
|
|
41
|
-
|
|
39
|
+
propsMeta28 as Checkbox,
|
|
42
40
|
propsMeta24 as CodeText,
|
|
43
|
-
propsMeta27 as ErrorMessage,
|
|
44
41
|
propsMeta18 as Form,
|
|
45
42
|
propsMeta2 as Fragment,
|
|
46
43
|
propsMeta7 as Heading,
|
|
@@ -53,18 +50,17 @@ export {
|
|
|
53
50
|
propsMeta21 as List,
|
|
54
51
|
propsMeta22 as ListItem,
|
|
55
52
|
propsMeta8 as Paragraph,
|
|
56
|
-
|
|
53
|
+
propsMeta27 as RadioButton,
|
|
57
54
|
propsMeta10 as RichTextLink,
|
|
58
55
|
propsMeta23 as Separator,
|
|
59
56
|
propsMeta as Slot,
|
|
60
57
|
propsMeta11 as Span,
|
|
61
58
|
propsMeta15 as Subscript,
|
|
62
|
-
propsMeta26 as SuccessMessage,
|
|
63
59
|
propsMeta14 as Superscript,
|
|
64
60
|
propsMeta6 as Text,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
61
|
+
propsMeta26 as Textarea,
|
|
62
|
+
propsMeta29 as Vimeo,
|
|
63
|
+
propsMeta31 as VimeoPlayButton,
|
|
64
|
+
propsMeta30 as VimeoPreviewImage,
|
|
65
|
+
propsMeta32 as VimeoSpinner
|
|
70
66
|
};
|
package/lib/types/code-text.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ComponentProps } from "react";
|
|
2
2
|
export declare const defaultTag = "code";
|
|
3
|
-
export declare const displayVarNamespace:
|
|
3
|
+
export declare const displayVarNamespace: "--code-display-w7ovd";
|
|
4
4
|
type Props = Omit<ComponentProps<typeof defaultTag>, "inline"> & {
|
|
5
5
|
inline?: boolean;
|
|
6
6
|
meta?: string;
|
|
@@ -23,8 +23,6 @@ export { ListItem } from "./list-item";
|
|
|
23
23
|
export { Separator } from "./separator";
|
|
24
24
|
export { CodeText } from "./code-text";
|
|
25
25
|
export { Label } from "./label";
|
|
26
|
-
export { SuccessMessage } from "./success-message";
|
|
27
|
-
export { ErrorMessage } from "./error-message";
|
|
28
26
|
export { Textarea } from "./textarea";
|
|
29
27
|
export { RadioButton } from "./radio-button";
|
|
30
28
|
export { Checkbox } from "./checkbox";
|
package/lib/types/metas.d.ts
CHANGED
|
@@ -23,8 +23,6 @@ export { meta as ListItem } from "./list-item.ws";
|
|
|
23
23
|
export { meta as Separator } from "./separator.ws";
|
|
24
24
|
export { meta as CodeText } from "./code-text.ws";
|
|
25
25
|
export { meta as Label } from "./label.ws";
|
|
26
|
-
export { meta as SuccessMessage } from "./success-message.ws";
|
|
27
|
-
export { meta as ErrorMessage } from "./error-message.ws";
|
|
28
26
|
export { meta as Textarea } from "./textarea.ws";
|
|
29
27
|
export { meta as RadioButton } from "./radio-button.ws";
|
|
30
28
|
export { meta as Checkbox } from "./checkbox.ws";
|
package/lib/types/props.d.ts
CHANGED
|
@@ -23,8 +23,6 @@ export { propsMeta as ListItem } from "./list-item.ws";
|
|
|
23
23
|
export { propsMeta as Separator } from "./separator.ws";
|
|
24
24
|
export { propsMeta as CodeText } from "./code-text.ws";
|
|
25
25
|
export { propsMeta as Label } from "./label.ws";
|
|
26
|
-
export { propsMeta as SuccessMessage } from "./success-message.ws";
|
|
27
|
-
export { propsMeta as ErrorMessage } from "./error-message.ws";
|
|
28
26
|
export { propsMeta as Textarea } from "./textarea.ws";
|
|
29
27
|
export { propsMeta as RadioButton } from "./radio-button.ws";
|
|
30
28
|
export { propsMeta as Checkbox } from "./checkbox.ws";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk-components-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.77.0",
|
|
4
4
|
"description": "Webstudio default library for react",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@react-aria/utils": "^3.13.3",
|
|
41
41
|
"colord": "^2.9.3",
|
|
42
42
|
"shallow-equal": "^3.1.0",
|
|
43
|
-
"@webstudio-is/css-vars": "^0.
|
|
44
|
-
"@webstudio-is/generate-arg-types": "^0.
|
|
45
|
-
"@webstudio-is/icons": "^0.
|
|
46
|
-
"@webstudio-is/image": "^0.
|
|
47
|
-
"@webstudio-is/react-sdk": "^0.
|
|
43
|
+
"@webstudio-is/css-vars": "^0.77.0",
|
|
44
|
+
"@webstudio-is/generate-arg-types": "^0.77.0",
|
|
45
|
+
"@webstudio-is/icons": "^0.77.0",
|
|
46
|
+
"@webstudio-is/image": "^0.77.0",
|
|
47
|
+
"@webstudio-is/react-sdk": "^0.77.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@storybook/react": "^
|
|
50
|
+
"@storybook/react": "^7.0.23",
|
|
51
51
|
"@types/react": "^18.0.35",
|
|
52
52
|
"@types/react-dom": "^18.0.11",
|
|
53
53
|
"react": "^18.2.0",
|
|
@@ -63,9 +63,8 @@
|
|
|
63
63
|
"build:args": "generate-arg-types './src/*.tsx !./src/*.stories.tsx !./src/*.ws.tsx' && prettier --write \"**/*.props.ts\"",
|
|
64
64
|
"dts": "tsc --project tsconfig.dts.json",
|
|
65
65
|
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"storybook:
|
|
69
|
-
"storybook:build": "build-storybook"
|
|
66
|
+
"checks": "pnpm typecheck",
|
|
67
|
+
"storybook:dev": "storybook dev -p 6006",
|
|
68
|
+
"storybook:build": "storybook build"
|
|
70
69
|
}
|
|
71
70
|
}
|
|
@@ -1,96 +1,8 @@
|
|
|
1
1
|
import type { PropMeta } from "@webstudio-is/generate-arg-types";
|
|
2
2
|
|
|
3
3
|
export const props: Record<string, PropMeta> = {
|
|
4
|
-
cite: { 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
|
-
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
9
|
-
defaultValue: { required: false, control: "text", type: "string" },
|
|
10
|
-
suppressContentEditableWarning: {
|
|
11
|
-
required: false,
|
|
12
|
-
control: "boolean",
|
|
13
|
-
type: "boolean",
|
|
14
|
-
},
|
|
15
|
-
suppressHydrationWarning: {
|
|
16
|
-
required: false,
|
|
17
|
-
control: "boolean",
|
|
18
|
-
type: "boolean",
|
|
19
|
-
},
|
|
20
|
-
accessKey: { required: false, control: "text", type: "string" },
|
|
21
|
-
autoFocus: { required: false, control: "boolean", type: "boolean" },
|
|
22
|
-
className: { required: false, control: "text", type: "string" },
|
|
23
|
-
contentEditable: { required: false, control: "text", type: "string" },
|
|
24
|
-
contextMenu: { required: false, control: "text", type: "string" },
|
|
25
|
-
dir: { required: false, control: "text", type: "string" },
|
|
26
|
-
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
27
|
-
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
28
|
-
id: { required: false, control: "text", type: "string" },
|
|
29
|
-
lang: { required: false, control: "text", type: "string" },
|
|
30
|
-
nonce: { required: false, control: "text", type: "string" },
|
|
31
|
-
placeholder: { required: false, control: "text", type: "string" },
|
|
32
|
-
spellCheck: { required: false, control: "boolean", type: "boolean" },
|
|
33
|
-
tabIndex: { required: false, control: "number", type: "number" },
|
|
34
|
-
translate: {
|
|
35
|
-
required: false,
|
|
36
|
-
control: "radio",
|
|
37
|
-
type: "string",
|
|
38
|
-
options: ["yes", "no"],
|
|
39
|
-
},
|
|
40
|
-
radioGroup: { required: false, control: "text", type: "string" },
|
|
41
|
-
role: { required: false, control: "text", type: "string" },
|
|
42
4
|
about: { required: false, control: "text", type: "string" },
|
|
43
|
-
|
|
44
|
-
datatype: { required: false, control: "text", type: "string" },
|
|
45
|
-
inlist: { required: false, control: "text", type: "string" },
|
|
46
|
-
prefix: { required: false, control: "text", type: "string" },
|
|
47
|
-
property: { required: false, control: "text", type: "string" },
|
|
48
|
-
rel: { required: false, control: "text", type: "string" },
|
|
49
|
-
resource: { required: false, control: "text", type: "string" },
|
|
50
|
-
rev: { required: false, control: "text", type: "string" },
|
|
51
|
-
typeof: { required: false, control: "text", type: "string" },
|
|
52
|
-
vocab: { required: false, control: "text", type: "string" },
|
|
53
|
-
autoCapitalize: { required: false, control: "text", type: "string" },
|
|
54
|
-
autoCorrect: { required: false, control: "text", type: "string" },
|
|
55
|
-
autoSave: { required: false, control: "text", type: "string" },
|
|
56
|
-
color: { required: false, control: "color", type: "string" },
|
|
57
|
-
itemProp: { required: false, control: "text", type: "string" },
|
|
58
|
-
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
59
|
-
itemType: { required: false, control: "text", type: "string" },
|
|
60
|
-
itemID: { required: false, control: "text", type: "string" },
|
|
61
|
-
itemRef: { required: false, control: "text", type: "string" },
|
|
62
|
-
results: { required: false, control: "number", type: "number" },
|
|
63
|
-
security: { required: false, control: "text", type: "string" },
|
|
64
|
-
unselectable: {
|
|
65
|
-
required: false,
|
|
66
|
-
control: "radio",
|
|
67
|
-
type: "string",
|
|
68
|
-
options: ["on", "off"],
|
|
69
|
-
},
|
|
70
|
-
inputMode: {
|
|
71
|
-
description:
|
|
72
|
-
"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",
|
|
73
|
-
required: false,
|
|
74
|
-
control: "select",
|
|
75
|
-
type: "string",
|
|
76
|
-
options: [
|
|
77
|
-
"text",
|
|
78
|
-
"none",
|
|
79
|
-
"search",
|
|
80
|
-
"tel",
|
|
81
|
-
"url",
|
|
82
|
-
"email",
|
|
83
|
-
"numeric",
|
|
84
|
-
"decimal",
|
|
85
|
-
],
|
|
86
|
-
},
|
|
87
|
-
is: {
|
|
88
|
-
description:
|
|
89
|
-
"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",
|
|
90
|
-
required: false,
|
|
91
|
-
control: "text",
|
|
92
|
-
type: "string",
|
|
93
|
-
},
|
|
5
|
+
accessKey: { required: false, control: "text", type: "string" },
|
|
94
6
|
"aria-activedescendant": {
|
|
95
7
|
description:
|
|
96
8
|
"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.",
|
|
@@ -441,4 +353,88 @@ export const props: Record<string, PropMeta> = {
|
|
|
441
353
|
control: "text",
|
|
442
354
|
type: "string",
|
|
443
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
|
+
cite: { required: false, control: "text", type: "string" },
|
|
361
|
+
className: { required: false, control: "text", type: "string" },
|
|
362
|
+
color: { required: false, control: "color", type: "string" },
|
|
363
|
+
content: { required: false, control: "text", type: "string" },
|
|
364
|
+
contextMenu: { required: false, control: "text", type: "string" },
|
|
365
|
+
datatype: { required: false, control: "text", type: "string" },
|
|
366
|
+
defaultChecked: { required: false, control: "boolean", type: "boolean" },
|
|
367
|
+
dir: { required: false, control: "text", type: "string" },
|
|
368
|
+
draggable: { required: false, control: "boolean", type: "boolean" },
|
|
369
|
+
hidden: { required: false, control: "boolean", type: "boolean" },
|
|
370
|
+
id: { required: false, control: "text", type: "string" },
|
|
371
|
+
inputMode: {
|
|
372
|
+
description:
|
|
373
|
+
"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",
|
|
374
|
+
required: false,
|
|
375
|
+
control: "select",
|
|
376
|
+
type: "string",
|
|
377
|
+
options: [
|
|
378
|
+
"text",
|
|
379
|
+
"none",
|
|
380
|
+
"search",
|
|
381
|
+
"tel",
|
|
382
|
+
"url",
|
|
383
|
+
"email",
|
|
384
|
+
"numeric",
|
|
385
|
+
"decimal",
|
|
386
|
+
],
|
|
387
|
+
},
|
|
388
|
+
is: {
|
|
389
|
+
description:
|
|
390
|
+
"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",
|
|
391
|
+
required: false,
|
|
392
|
+
control: "text",
|
|
393
|
+
type: "string",
|
|
394
|
+
},
|
|
395
|
+
itemID: { required: false, control: "text", type: "string" },
|
|
396
|
+
itemProp: { required: false, control: "text", type: "string" },
|
|
397
|
+
itemRef: { required: false, control: "text", type: "string" },
|
|
398
|
+
itemScope: { required: false, control: "boolean", type: "boolean" },
|
|
399
|
+
itemType: { required: false, control: "text", type: "string" },
|
|
400
|
+
lang: { required: false, control: "text", type: "string" },
|
|
401
|
+
nonce: { required: false, control: "text", type: "string" },
|
|
402
|
+
placeholder: { required: false, control: "text", type: "string" },
|
|
403
|
+
prefix: { required: false, control: "text", type: "string" },
|
|
404
|
+
property: { required: false, control: "text", type: "string" },
|
|
405
|
+
radioGroup: { required: false, control: "text", type: "string" },
|
|
406
|
+
rel: { required: false, control: "text", type: "string" },
|
|
407
|
+
resource: { required: false, control: "text", type: "string" },
|
|
408
|
+
results: { required: false, control: "number", type: "number" },
|
|
409
|
+
rev: { required: false, control: "text", type: "string" },
|
|
410
|
+
role: { required: false, control: "text", type: "string" },
|
|
411
|
+
security: { required: false, control: "text", type: "string" },
|
|
412
|
+
slot: { required: false, control: "text", type: "string" },
|
|
413
|
+
spellCheck: { required: false, control: "boolean", type: "boolean" },
|
|
414
|
+
suppressContentEditableWarning: {
|
|
415
|
+
required: false,
|
|
416
|
+
control: "boolean",
|
|
417
|
+
type: "boolean",
|
|
418
|
+
},
|
|
419
|
+
suppressHydrationWarning: {
|
|
420
|
+
required: false,
|
|
421
|
+
control: "boolean",
|
|
422
|
+
type: "boolean",
|
|
423
|
+
},
|
|
424
|
+
tabIndex: { required: false, control: "number", type: "number" },
|
|
425
|
+
title: { required: false, control: "text", type: "string" },
|
|
426
|
+
translate: {
|
|
427
|
+
required: false,
|
|
428
|
+
control: "radio",
|
|
429
|
+
type: "string",
|
|
430
|
+
options: ["yes", "no"],
|
|
431
|
+
},
|
|
432
|
+
typeof: { required: false, control: "text", type: "string" },
|
|
433
|
+
unselectable: {
|
|
434
|
+
required: false,
|
|
435
|
+
control: "radio",
|
|
436
|
+
type: "string",
|
|
437
|
+
options: ["on", "off"],
|
|
438
|
+
},
|
|
439
|
+
vocab: { required: false, control: "text", type: "string" },
|
|
444
440
|
};
|
|
@@ -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
|
};
|