webstudio 0.261.1 → 0.262.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/cli.js CHANGED
@@ -2644,7 +2644,7 @@ var toValue = (styleValue, transformValue) => {
2644
2644
  case "oklch":
2645
2645
  return `oklch(${c1} ${c2} ${c3} / ${alpha})`;
2646
2646
  // Fall back to color() function for less common color spaces.
2647
- // Webstudio uses colorjs internal names; map to CSS predefined color space names.
2647
+ // colorjs uses internal short names that differ from CSS predefined color space identifiers.
2648
2648
  case "p3":
2649
2649
  return `color(display-p3 ${c1} ${c2} ${c3} / ${alpha})`;
2650
2650
  case "a98rgb":
@@ -3703,7 +3703,7 @@ var DefaultPagePage = z.string().refine((path) => path !== "", "Can't be empty")
3703
3703
  // And we cannot customize it due to bug in Remix: https://github.com/remix-run/remix/issues/2933
3704
3704
  (path) => path !== "/build" && path.startsWith("/build/") === false,
3705
3705
  "/build prefix is reserved for the system"
3706
- );
3706
+ ).refine((path) => path.length <= 255, "Path can't exceed 255 characters");
3707
3707
  var OldPagePath = z.string().refine((path) => path !== "", "Can't be empty").refine((path) => path !== "/", "Can't be just a /").refine(
3708
3708
  (path) => path === "" || path.startsWith("/"),
3709
3709
  "Must start with a / or a full URL e.g. https://website.org"
@@ -4172,7 +4172,8 @@ var StyleSourceId = z.string();
4172
4172
  var StyleSourceToken = z.object({
4173
4173
  type: z.literal("token"),
4174
4174
  id: StyleSourceId,
4175
- name: z.string()
4175
+ name: z.string(),
4176
+ locked: z.boolean().optional()
4176
4177
  });
4177
4178
  var StyleSourceLocal = z.object({
4178
4179
  type: z.literal("local"),
@@ -10962,7 +10963,7 @@ const getDeploymentInstructions = (deployTarget) => {
10962
10963
  }
10963
10964
  };
10964
10965
  const name = "webstudio";
10965
- const version = "0.261.1";
10966
+ const version = "0.262.1";
10966
10967
  const description = "Webstudio CLI";
10967
10968
  const author = "Webstudio <github@webstudio.is>";
10968
10969
  const homepage = "https://webstudio.is";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webstudio",
3
- "version": "0.261.1",
3
+ "version": "0.262.1",
4
4
  "description": "Webstudio CLI",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -71,17 +71,17 @@
71
71
  "vite": "^6.3.4",
72
72
  "vitest": "^3.1.2",
73
73
  "wrangler": "^3.63.2",
74
- "@webstudio-is/css-engine": "0.261.1",
75
- "@webstudio-is/http-client": "0.261.1",
76
- "@webstudio-is/image": "0.261.1",
77
- "@webstudio-is/react-sdk": "0.261.1",
78
- "@webstudio-is/sdk": "0.261.1",
79
- "@webstudio-is/sdk-components-animation": "0.261.1",
80
- "@webstudio-is/sdk-components-react": "0.261.1",
81
- "@webstudio-is/sdk-components-react-remix": "0.261.1",
82
- "@webstudio-is/tsconfig": "1.0.7",
83
- "@webstudio-is/sdk-components-react-router": "0.261.1",
84
- "@webstudio-is/sdk-components-react-radix": "0.261.1"
74
+ "@webstudio-is/http-client": "0.262.1",
75
+ "@webstudio-is/image": "0.262.1",
76
+ "@webstudio-is/css-engine": "0.262.1",
77
+ "@webstudio-is/sdk": "0.262.1",
78
+ "@webstudio-is/sdk-components-animation": "0.262.1",
79
+ "@webstudio-is/sdk-components-react": "0.262.1",
80
+ "@webstudio-is/react-sdk": "0.262.1",
81
+ "@webstudio-is/sdk-components-react-radix": "0.262.1",
82
+ "@webstudio-is/sdk-components-react-router": "0.262.1",
83
+ "@webstudio-is/sdk-components-react-remix": "0.262.1",
84
+ "@webstudio-is/tsconfig": "1.0.7"
85
85
  },
86
86
  "scripts": {
87
87
  "typecheck": "tsgo --noEmit",
@@ -11,13 +11,13 @@
11
11
  "@remix-run/node": "2.16.5",
12
12
  "@remix-run/react": "2.16.5",
13
13
  "@remix-run/server-runtime": "2.16.5",
14
- "@webstudio-is/image": "0.261.1",
15
- "@webstudio-is/react-sdk": "0.261.1",
16
- "@webstudio-is/sdk": "0.261.1",
17
- "@webstudio-is/sdk-components-react": "0.261.1",
18
- "@webstudio-is/sdk-components-animation": "0.261.1",
19
- "@webstudio-is/sdk-components-react-radix": "0.261.1",
20
- "@webstudio-is/sdk-components-react-remix": "0.261.1",
14
+ "@webstudio-is/image": "0.262.1",
15
+ "@webstudio-is/react-sdk": "0.262.1",
16
+ "@webstudio-is/sdk": "0.262.1",
17
+ "@webstudio-is/sdk-components-react": "0.262.1",
18
+ "@webstudio-is/sdk-components-animation": "0.262.1",
19
+ "@webstudio-is/sdk-components-react-radix": "0.262.1",
20
+ "@webstudio-is/sdk-components-react-remix": "0.262.1",
21
21
  "isbot": "^5.1.25",
22
22
  "react": "18.3.0-canary-14898b6a9-20240318",
23
23
  "react-dom": "18.3.0-canary-14898b6a9-20240318"
@@ -10,13 +10,13 @@
10
10
  "dependencies": {
11
11
  "@react-router/dev": "^7.5.3",
12
12
  "@react-router/fs-routes": "^7.5.3",
13
- "@webstudio-is/image": "0.261.1",
14
- "@webstudio-is/react-sdk": "0.261.1",
15
- "@webstudio-is/sdk": "0.261.1",
16
- "@webstudio-is/sdk-components-animation": "0.261.1",
17
- "@webstudio-is/sdk-components-react-radix": "0.261.1",
18
- "@webstudio-is/sdk-components-react-router": "0.261.1",
19
- "@webstudio-is/sdk-components-react": "0.261.1",
13
+ "@webstudio-is/image": "0.262.1",
14
+ "@webstudio-is/react-sdk": "0.262.1",
15
+ "@webstudio-is/sdk": "0.262.1",
16
+ "@webstudio-is/sdk-components-animation": "0.262.1",
17
+ "@webstudio-is/sdk-components-react-radix": "0.262.1",
18
+ "@webstudio-is/sdk-components-react-router": "0.262.1",
19
+ "@webstudio-is/sdk-components-react": "0.262.1",
20
20
  "isbot": "^5.1.25",
21
21
  "react": "18.3.0-canary-14898b6a9-20240318",
22
22
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
@@ -8,12 +8,12 @@
8
8
  "typecheck": "tsgo --noEmit"
9
9
  },
10
10
  "dependencies": {
11
- "@webstudio-is/image": "0.261.1",
12
- "@webstudio-is/react-sdk": "0.261.1",
13
- "@webstudio-is/sdk": "0.261.1",
14
- "@webstudio-is/sdk-components-react": "0.261.1",
15
- "@webstudio-is/sdk-components-animation": "0.261.1",
16
- "@webstudio-is/sdk-components-react-radix": "0.261.1",
11
+ "@webstudio-is/image": "0.262.1",
12
+ "@webstudio-is/react-sdk": "0.262.1",
13
+ "@webstudio-is/sdk": "0.262.1",
14
+ "@webstudio-is/sdk-components-react": "0.262.1",
15
+ "@webstudio-is/sdk-components-animation": "0.262.1",
16
+ "@webstudio-is/sdk-components-react-radix": "0.262.1",
17
17
  "react": "18.3.0-canary-14898b6a9-20240318",
18
18
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
19
19
  "vike": "^0.4.229"