@webstudio-is/css-engine 0.201.0 → 0.203.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 (2) hide show
  1. package/lib/index.js +2 -2
  2. package/package.json +2 -3
package/lib/index.js CHANGED
@@ -23,7 +23,6 @@ var prefixStyles = (styleMap) => {
23
23
  import { z } from "zod";
24
24
 
25
25
  // src/core/to-value.ts
26
- import { captureError } from "@webstudio-is/error-utils";
27
26
  import { DEFAULT_FONT_FALLBACK, SYSTEM_FONTS } from "@webstudio-is/fonts";
28
27
  var fallbackTransform = (styleValue) => {
29
28
  if (styleValue.type !== "fontFamily") {
@@ -115,7 +114,8 @@ var toValue = (styleValue, transformValue) => {
115
114
  if (value.type === "guaranteedInvalid") {
116
115
  return "";
117
116
  }
118
- return captureError(new Error("Unknown value type"), value);
117
+ value;
118
+ return "";
119
119
  };
120
120
 
121
121
  // src/schema.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/css-engine",
3
- "version": "0.201.0",
3
+ "version": "0.203.0",
4
4
  "description": "CSS Renderer for Webstudio",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -8,8 +8,7 @@
8
8
  "dependencies": {
9
9
  "@emotion/hash": "^0.9.2",
10
10
  "zod": "^3.22.4",
11
- "@webstudio-is/error-utils": "0.201.0",
12
- "@webstudio-is/fonts": "0.201.0"
11
+ "@webstudio-is/fonts": "0.203.0"
13
12
  },
14
13
  "devDependencies": {
15
14
  "@types/react": "^18.2.70",