@webstudio-is/sdk-components-react 0.238.0 → 0.252.1

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/image.ws.js CHANGED
@@ -44,7 +44,8 @@ const o = {
44
44
  type: "string",
45
45
  control: "file",
46
46
  label: "Source",
47
- required: !1
47
+ required: !1,
48
+ accept: "image/*"
48
49
  }
49
50
  }
50
51
  };
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @deprecated This component will be replaced by the Element component in the future.
3
+ * Use Element with tag="h1", "h2", etc. instead.
4
+ */
1
5
  import { type ComponentProps } from "react";
2
6
  declare const defaultTag = "h1";
3
7
  type Props = ComponentProps<typeof defaultTag> & {
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @deprecated This component will be replaced by the Element component in the future.
3
+ * Use Element with tag="ul" or tag="ol" instead.
4
+ */
1
5
  import { type ComponentProps } from "react";
2
6
  declare const unorderedTag = "ul";
3
7
  declare const orderedTag = "ol";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/sdk-components-react",
3
- "version": "0.238.0",
3
+ "version": "0.252.1",
4
4
  "description": "Webstudio default library for react",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -44,10 +44,10 @@
44
44
  "colord": "^2.9.3",
45
45
  "micromark": "^4.0.2",
46
46
  "micromark-extension-gfm-table": "^2.1.1",
47
- "@webstudio-is/icons": "0.238.0",
48
- "@webstudio-is/image": "0.238.0",
49
- "@webstudio-is/sdk": "0.238.0",
50
- "@webstudio-is/react-sdk": "0.238.0"
47
+ "@webstudio-is/icons": "0.252.1",
48
+ "@webstudio-is/image": "0.252.1",
49
+ "@webstudio-is/react-sdk": "0.252.1",
50
+ "@webstudio-is/sdk": "0.252.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@testing-library/dom": "^10.4.0",
@@ -58,10 +58,10 @@
58
58
  "react": "18.3.0-canary-14898b6a9-20240318",
59
59
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
60
60
  "vitest": "^3.1.2",
61
+ "@webstudio-is/template": "0.252.1",
61
62
  "@webstudio-is/sdk-cli": "0.94.0",
62
- "@webstudio-is/template": "0.238.0",
63
- "@webstudio-is/generate-arg-types": "0.0.0",
64
- "@webstudio-is/tsconfig": "1.0.7"
63
+ "@webstudio-is/tsconfig": "1.0.7",
64
+ "@webstudio-is/generate-arg-types": "0.0.0"
65
65
  },
66
66
  "scripts": {
67
67
  "build": "vite build --config ../../vite.sdk-components.config.ts",
@@ -69,6 +69,6 @@
69
69
  "build:stories": "webstudio-sdk generate-stories && prettier --write \"src/__generated__/*.stories.tsx\"",
70
70
  "dts": "tsc --project tsconfig.dts.json",
71
71
  "test": "vitest run",
72
- "typecheck": "tsc"
72
+ "typecheck": "tsgo --noEmit"
73
73
  }
74
74
  }