@webstudio-is/css-engine 0.189.0 → 0.191.4

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 (32) hide show
  1. package/package.json +5 -7
  2. package/lib/index.js +0 -951
  3. package/lib/types/__generated__/types.d.ts +0 -2
  4. package/lib/types/core/atomic.d.ts +0 -14
  5. package/lib/types/core/atomic.test.d.ts +0 -1
  6. package/lib/types/core/compare-media.d.ts +0 -6
  7. package/lib/types/core/compare-media.test.d.ts +0 -1
  8. package/lib/types/core/create-style-sheet.d.ts +0 -4
  9. package/lib/types/core/css-engine.stories.d.ts +0 -5
  10. package/lib/types/core/equal-media.d.ts +0 -2
  11. package/lib/types/core/equal-media.test.d.ts +0 -1
  12. package/lib/types/core/find-applicable-media.d.ts +0 -2
  13. package/lib/types/core/find-applicable-media.test.d.ts +0 -1
  14. package/lib/types/core/index.d.ts +0 -13
  15. package/lib/types/core/match-media.d.ts +0 -2
  16. package/lib/types/core/match-media.test.d.ts +0 -1
  17. package/lib/types/core/merger.d.ts +0 -274
  18. package/lib/types/core/merger.test.d.ts +0 -1
  19. package/lib/types/core/prefixer.d.ts +0 -2
  20. package/lib/types/core/prefixer.test.d.ts +0 -1
  21. package/lib/types/core/rules.d.ts +0 -104
  22. package/lib/types/core/style-element.d.ts +0 -10
  23. package/lib/types/core/style-sheet-regular.d.ts +0 -3
  24. package/lib/types/core/style-sheet-regular.test.d.ts +0 -1
  25. package/lib/types/core/style-sheet.d.ts +0 -24
  26. package/lib/types/core/to-property.d.ts +0 -4
  27. package/lib/types/core/to-property.test.d.ts +0 -1
  28. package/lib/types/core/to-value.d.ts +0 -3
  29. package/lib/types/core/to-value.test.d.ts +0 -1
  30. package/lib/types/css.d.ts +0 -1
  31. package/lib/types/index.d.ts +0 -4
  32. package/lib/types/schema.d.ts +0 -3925
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/css-engine",
3
- "version": "0.189.0",
3
+ "version": "0.191.4",
4
4
  "description": "CSS Renderer for Webstudio",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -8,17 +8,15 @@
8
8
  "dependencies": {
9
9
  "@emotion/hash": "^0.9.2",
10
10
  "zod": "^3.22.4",
11
- "@webstudio-is/error-utils": "0.189.0",
12
- "@webstudio-is/fonts": "0.189.0"
11
+ "@webstudio-is/error-utils": "0.191.4",
12
+ "@webstudio-is/fonts": "0.191.4"
13
13
  },
14
14
  "devDependencies": {
15
- "@jest/globals": "^29.7.0",
16
15
  "@types/react": "^18.2.70",
17
16
  "@types/react-dom": "^18.2.25",
18
17
  "react": "18.3.0-canary-14898b6a9-20240318",
19
18
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
20
- "typescript": "5.6.3",
21
- "@webstudio-is/jest-config": "1.0.7",
19
+ "vitest": "^2.1.8",
22
20
  "@webstudio-is/tsconfig": "1.0.7"
23
21
  },
24
22
  "exports": {
@@ -37,6 +35,6 @@
37
35
  "typecheck": "tsc",
38
36
  "build": "rm -rf lib && esbuild src/index.ts --outdir=lib --bundle --format=esm --packages=external",
39
37
  "dts": "tsc --project tsconfig.dts.json",
40
- "test": "NODE_OPTIONS=--experimental-vm-modules jest"
38
+ "test": "vitest run"
41
39
  }
42
40
  }