@webstudio-is/sdk-components-react 0.74.0 → 0.76.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.
Files changed (171) hide show
  1. package/lib/__generated__/blockquote.props.js +84 -88
  2. package/lib/__generated__/body.props.js +83 -87
  3. package/lib/__generated__/bold.props.js +83 -87
  4. package/lib/__generated__/box.props.js +83 -87
  5. package/lib/__generated__/button.props.js +98 -103
  6. package/lib/__generated__/checkbox.props.js +120 -127
  7. package/lib/__generated__/code-text.props.js +84 -88
  8. package/lib/__generated__/form.props.js +90 -94
  9. package/lib/__generated__/heading.props.js +83 -87
  10. package/lib/__generated__/image.props.js +124 -128
  11. package/lib/__generated__/input.props.js +126 -133
  12. package/lib/__generated__/italic.props.js +83 -87
  13. package/lib/__generated__/label.props.js +85 -89
  14. package/lib/__generated__/link.props.js +110 -115
  15. package/lib/__generated__/list-item.props.js +83 -88
  16. package/lib/__generated__/list.props.js +87 -91
  17. package/lib/__generated__/paragraph.props.js +83 -87
  18. package/lib/__generated__/radio-button.props.js +120 -127
  19. package/lib/__generated__/rich-text-link.props.js +110 -115
  20. package/lib/__generated__/separator.props.js +83 -87
  21. package/lib/__generated__/span.props.js +83 -87
  22. package/lib/__generated__/subscript.props.js +83 -87
  23. package/lib/__generated__/superscript.props.js +83 -87
  24. package/lib/__generated__/text.props.js +83 -87
  25. package/lib/__generated__/textarea.props.js +95 -101
  26. package/lib/__generated__/vimeo-play-button.props.js +97 -102
  27. package/lib/__generated__/vimeo-preview-image.props.js +124 -128
  28. package/lib/__generated__/vimeo-spinner.props.js +83 -87
  29. package/lib/__generated__/vimeo.props.js +127 -131
  30. package/lib/body.ws.js +1 -25
  31. package/lib/cjs/__generated__/blockquote.props.js +84 -88
  32. package/lib/cjs/__generated__/body.props.js +83 -87
  33. package/lib/cjs/__generated__/bold.props.js +83 -87
  34. package/lib/cjs/__generated__/box.props.js +83 -87
  35. package/lib/cjs/__generated__/button.props.js +98 -103
  36. package/lib/cjs/__generated__/checkbox.props.js +120 -127
  37. package/lib/cjs/__generated__/code-text.props.js +84 -88
  38. package/lib/cjs/__generated__/form.props.js +90 -94
  39. package/lib/cjs/__generated__/heading.props.js +83 -87
  40. package/lib/cjs/__generated__/image.props.js +124 -128
  41. package/lib/cjs/__generated__/input.props.js +126 -133
  42. package/lib/cjs/__generated__/italic.props.js +83 -87
  43. package/lib/cjs/__generated__/label.props.js +85 -89
  44. package/lib/cjs/__generated__/link.props.js +110 -115
  45. package/lib/cjs/__generated__/list-item.props.js +83 -88
  46. package/lib/cjs/__generated__/list.props.js +87 -91
  47. package/lib/cjs/__generated__/paragraph.props.js +83 -87
  48. package/lib/cjs/__generated__/radio-button.props.js +120 -127
  49. package/lib/cjs/__generated__/rich-text-link.props.js +110 -115
  50. package/lib/cjs/__generated__/separator.props.js +83 -87
  51. package/lib/cjs/__generated__/span.props.js +83 -87
  52. package/lib/cjs/__generated__/subscript.props.js +83 -87
  53. package/lib/cjs/__generated__/superscript.props.js +83 -87
  54. package/lib/cjs/__generated__/text.props.js +83 -87
  55. package/lib/cjs/__generated__/textarea.props.js +95 -101
  56. package/lib/cjs/__generated__/vimeo-play-button.props.js +97 -102
  57. package/lib/cjs/__generated__/vimeo-preview-image.props.js +124 -128
  58. package/lib/cjs/__generated__/vimeo-spinner.props.js +83 -87
  59. package/lib/cjs/__generated__/vimeo.props.js +127 -131
  60. package/lib/cjs/body.ws.js +1 -25
  61. package/lib/cjs/code-text.js +2 -2
  62. package/lib/cjs/components.js +0 -4
  63. package/lib/cjs/form.ws.js +1 -0
  64. package/lib/cjs/link.js +6 -2
  65. package/lib/cjs/list.ws.js +1 -1
  66. package/lib/cjs/metas.js +0 -4
  67. package/lib/cjs/props.js +0 -4
  68. package/lib/cjs/slot.ws.js +1 -0
  69. package/lib/code-text.js +2 -2
  70. package/lib/components.js +0 -4
  71. package/lib/form.ws.js +1 -0
  72. package/lib/link.js +6 -2
  73. package/lib/list.ws.js +1 -1
  74. package/lib/metas.js +14 -18
  75. package/lib/props.js +14 -18
  76. package/lib/slot.ws.js +1 -0
  77. package/lib/types/code-text.d.ts +1 -1
  78. package/lib/types/components.d.ts +0 -2
  79. package/lib/types/metas.d.ts +0 -2
  80. package/lib/types/props.d.ts +0 -2
  81. package/package.json +17 -18
  82. package/src/__generated__/blockquote.props.ts +85 -89
  83. package/src/__generated__/body.props.ts +84 -88
  84. package/src/__generated__/bold.props.ts +84 -88
  85. package/src/__generated__/box.props.ts +84 -88
  86. package/src/__generated__/button.props.ts +99 -104
  87. package/src/__generated__/checkbox.props.ts +121 -128
  88. package/src/__generated__/code-text.props.ts +85 -89
  89. package/src/__generated__/form.props.ts +91 -95
  90. package/src/__generated__/heading.props.ts +84 -88
  91. package/src/__generated__/image.props.ts +126 -130
  92. package/src/__generated__/input.props.ts +127 -134
  93. package/src/__generated__/italic.props.ts +84 -88
  94. package/src/__generated__/label.props.ts +86 -90
  95. package/src/__generated__/link.props.ts +111 -116
  96. package/src/__generated__/list-item.props.ts +84 -89
  97. package/src/__generated__/list.props.ts +88 -92
  98. package/src/__generated__/paragraph.props.ts +84 -88
  99. package/src/__generated__/radio-button.props.ts +121 -128
  100. package/src/__generated__/rich-text-link.props.ts +111 -116
  101. package/src/__generated__/separator.props.ts +84 -88
  102. package/src/__generated__/span.props.ts +84 -88
  103. package/src/__generated__/subscript.props.ts +84 -88
  104. package/src/__generated__/superscript.props.ts +84 -88
  105. package/src/__generated__/text.props.ts +84 -88
  106. package/src/__generated__/textarea.props.ts +96 -102
  107. package/src/__generated__/vimeo-play-button.props.ts +98 -103
  108. package/src/__generated__/vimeo-preview-image.props.ts +126 -130
  109. package/src/__generated__/vimeo-spinner.props.ts +84 -88
  110. package/src/__generated__/vimeo.props.ts +131 -135
  111. package/src/body.ws.tsx +1 -26
  112. package/src/code-text.tsx +2 -2
  113. package/src/components.ts +0 -2
  114. package/src/form.ws.tsx +1 -0
  115. package/src/link.tsx +7 -2
  116. package/src/list.ws.tsx +1 -1
  117. package/src/metas.ts +0 -2
  118. package/src/props.ts +0 -2
  119. package/src/slot.ws.ts +2 -0
  120. package/src/subscript.stories.tsx +9 -9
  121. package/lib/__generated__/error-message.props.js +0 -398
  122. package/lib/__generated__/success-message.props.js +0 -398
  123. package/lib/cjs/__generated__/error-message.props.js +0 -418
  124. package/lib/cjs/__generated__/success-message.props.js +0 -418
  125. package/lib/cjs/error-message.js +0 -29
  126. package/lib/cjs/error-message.ws.js +0 -40
  127. package/lib/cjs/success-message.js +0 -29
  128. package/lib/cjs/success-message.ws.js +0 -40
  129. package/lib/error-message.js +0 -9
  130. package/lib/error-message.ws.js +0 -20
  131. package/lib/success-message.js +0 -9
  132. package/lib/success-message.ws.js +0 -20
  133. package/lib/types/__generated__/error-message.props.d.ts +0 -2
  134. package/lib/types/__generated__/success-message.props.d.ts +0 -2
  135. package/lib/types/blockquote.stories.d.ts +0 -5
  136. package/lib/types/body.stories.d.ts +0 -6
  137. package/lib/types/bold.stories.d.ts +0 -5
  138. package/lib/types/box.stories.d.ts +0 -9
  139. package/lib/types/button.stories.d.ts +0 -5
  140. package/lib/types/code-text.stories.d.ts +0 -11
  141. package/lib/types/error-message.d.ts +0 -3
  142. package/lib/types/error-message.ws.d.ts +0 -3
  143. package/lib/types/form.stories.d.ts +0 -5
  144. package/lib/types/heading.stories.d.ts +0 -9
  145. package/lib/types/html-embed.stories.d.ts +0 -11
  146. package/lib/types/image.stories.d.ts +0 -562
  147. package/lib/types/input.stories.d.ts +0 -9
  148. package/lib/types/italic.stories.d.ts +0 -5
  149. package/lib/types/link.stories.d.ts +0 -9
  150. package/lib/types/list-item.stories.d.ts +0 -5
  151. package/lib/types/list.stories.d.ts +0 -9
  152. package/lib/types/paragraph.stories.d.ts +0 -5
  153. package/lib/types/rich-text-link.stories.d.ts +0 -9
  154. package/lib/types/separator.stories.d.ts +0 -5
  155. package/lib/types/slot.stories.d.ts +0 -9
  156. package/lib/types/span.stories.d.ts +0 -5
  157. package/lib/types/subscript.stories.d.ts +0 -5
  158. package/lib/types/success-message.d.ts +0 -3
  159. package/lib/types/success-message.ws.d.ts +0 -3
  160. package/lib/types/superscript.stories.d.ts +0 -5
  161. package/lib/types/text.stories.d.ts +0 -9
  162. package/lib/types/vimeo-play-button.stories.d.ts +0 -5
  163. package/lib/types/vimeo-preview-image.stories.d.ts +0 -562
  164. package/lib/types/vimeo-spinner.stories.d.ts +0 -5
  165. package/lib/types/vimeo.stories.d.ts +0 -71
  166. package/src/__generated__/error-message.props.ts +0 -443
  167. package/src/__generated__/success-message.props.ts +0 -443
  168. package/src/error-message.tsx +0 -10
  169. package/src/error-message.ws.tsx +0 -24
  170. package/src/success-message.tsx +0 -10
  171. package/src/success-message.ws.tsx +0 -24
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 "./success-message.ws";
27
- import { propsMeta as propsMeta27 } from "./error-message.ws";
28
- import { propsMeta as propsMeta28 } from "./textarea.ws";
29
- import { propsMeta as propsMeta29 } from "./radio-button.ws";
30
- import { propsMeta as propsMeta30 } from "./checkbox.ws";
31
- import { propsMeta as propsMeta31 } from "./vimeo.ws";
32
- import { propsMeta as propsMeta32 } from "./vimeo-preview-image.ws";
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
- propsMeta30 as Checkbox,
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
- propsMeta29 as RadioButton,
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
- propsMeta28 as Textarea,
66
- propsMeta31 as Vimeo,
67
- propsMeta33 as VimeoPlayButton,
68
- propsMeta32 as VimeoPreviewImage,
69
- propsMeta34 as VimeoSpinner
61
+ propsMeta26 as Textarea,
62
+ propsMeta29 as Vimeo,
63
+ propsMeta31 as VimeoPlayButton,
64
+ propsMeta30 as VimeoPreviewImage,
65
+ propsMeta32 as VimeoSpinner
70
66
  };
package/lib/slot.ws.js CHANGED
@@ -3,6 +3,7 @@ const meta = {
3
3
  category: "general",
4
4
  type: "container",
5
5
  label: "Slot",
6
+ description: "Slot is a container for content that you want to reference across the project. Changes made to a Slot's children will be reflected in all other instances of that Slot.",
6
7
  icon: SlotComponentIcon,
7
8
  stylable: false,
8
9
  order: 6
@@ -1,6 +1,6 @@
1
1
  import { type ComponentProps } from "react";
2
2
  export declare const defaultTag = "code";
3
- export declare const displayVarNamespace: `code-display-${number}`;
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";
@@ -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";
@@ -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.74.0",
3
+ "version": "0.76.0",
4
4
  "description": "Webstudio default library for react",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -15,21 +15,21 @@
15
15
  "exports": {
16
16
  ".": {
17
17
  "source": "./src/components.ts",
18
+ "types": "./lib/types/components.d.ts",
18
19
  "import": "./lib/components.js",
19
- "require": "./lib/cjs/components.js",
20
- "types": "./lib/types/components.d.ts"
20
+ "require": "./lib/cjs/components.js"
21
21
  },
22
22
  "./metas": {
23
23
  "source": "./src/metas.ts",
24
+ "types": "./lib/types/metas.d.ts",
24
25
  "import": "./lib/metas.js",
25
- "require": "./lib/cjs/metas.js",
26
- "types": "./lib/types/metas.d.ts"
26
+ "require": "./lib/cjs/metas.js"
27
27
  },
28
28
  "./props": {
29
29
  "source": "./src/props.ts",
30
+ "types": "./lib/types/props.d.ts",
30
31
  "import": "./lib/props.js",
31
- "require": "./lib/cjs/props.js",
32
- "types": "./lib/types/props.d.ts"
32
+ "require": "./lib/cjs/props.js"
33
33
  }
34
34
  },
35
35
  "peerDependencies": {
@@ -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.74.0",
44
- "@webstudio-is/generate-arg-types": "^0.74.0",
45
- "@webstudio-is/icons": "^0.74.0",
46
- "@webstudio-is/image": "^0.74.0",
47
- "@webstudio-is/react-sdk": "^0.74.0"
43
+ "@webstudio-is/css-vars": "^0.76.0",
44
+ "@webstudio-is/generate-arg-types": "^0.76.0",
45
+ "@webstudio-is/icons": "^0.76.0",
46
+ "@webstudio-is/image": "^0.76.0",
47
+ "@webstudio-is/react-sdk": "^0.76.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@storybook/react": "^6.5.16",
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",
@@ -61,11 +61,10 @@
61
61
  "dev": "build-package --watch",
62
62
  "build": "build-package",
63
63
  "build:args": "generate-arg-types './src/*.tsx !./src/*.stories.tsx !./src/*.ws.tsx' && prettier --write \"**/*.props.ts\"",
64
- "dts": "tsc --declarationDir lib/types",
64
+ "dts": "tsc --project tsconfig.dts.json",
65
65
  "typecheck": "tsc --noEmit --emitDeclarationOnly false",
66
- "lint": "eslint ./src --ext .ts,.tsx --max-warnings 0",
67
- "checks": "pnpm typecheck && pnpm lint",
68
- "storybook:run": "start-storybook -p 6006",
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
- content: { required: false, control: "text", type: "string" },
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
- content: { required: false, control: "text", type: "string" },
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
  };