@webstudio-is/css-engine 0.144.1-710b1d2.0 → 0.145.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.
@@ -1,2 +1,2 @@
1
1
  import type { MediaRuleOptions } from "./rules";
2
- export declare const findApplicableMedia: <Media extends MediaRuleOptions>(media: Media[], width: number) => Media | undefined;
2
+ export declare const findApplicableMedia: <Media extends MediaRuleOptions>(media: Array<Media>, width: number) => Media | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/css-engine",
3
- "version": "0.144.1-710b1d2.0",
3
+ "version": "0.145.0",
4
4
  "description": "CSS Renderer for Webstudio",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -9,8 +9,8 @@
9
9
  "@emotion/hash": "^0.9.1",
10
10
  "hyphenate-style-name": "^1.0.4",
11
11
  "zod": "^3.22.4",
12
- "@webstudio-is/error-utils": "0.144.1-710b1d2.0",
13
- "@webstudio-is/fonts": "0.144.1-710b1d2.0"
12
+ "@webstudio-is/fonts": "0.145.0",
13
+ "@webstudio-is/error-utils": "0.145.0"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@jest/globals": "^29.7.0",
@@ -18,14 +18,14 @@
18
18
  "@storybook/addon-links": "^7.4.0",
19
19
  "@storybook/react": "^7.4.0",
20
20
  "@types/hyphenate-style-name": "^1.0.0",
21
- "@types/react": "^18.2.21",
22
- "@types/react-dom": "^18.2.7",
23
- "react": "^18.2.0",
24
- "react-dom": "^18.2.0",
25
- "typescript": "5.2.2",
26
- "@webstudio-is/jest-config": "1.0.8-710b1d2.0",
27
- "@webstudio-is/storybook-config": "0.0.1-710b1d2.0",
28
- "@webstudio-is/tsconfig": "1.0.8-710b1d2.0"
21
+ "@types/react": "^18.2.70",
22
+ "@types/react-dom": "^18.2.25",
23
+ "react": "18.3.0-canary-14898b6a9-20240318",
24
+ "react-dom": "18.3.0-canary-14898b6a9-20240318",
25
+ "typescript": "5.4.5",
26
+ "@webstudio-is/jest-config": "1.0.7",
27
+ "@webstudio-is/storybook-config": "0.0.0",
28
+ "@webstudio-is/tsconfig": "1.0.7"
29
29
  },
30
30
  "exports": {
31
31
  "webstudio": "./src/index.ts",