diff --git a/.changeset/small-guests-film.md b/.changeset/small-guests-film.md deleted file mode 100644 index 260d5fd58..000000000 --- a/.changeset/small-guests-film.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@vanilla-extract/css': minor ---- - -Add `composeStyles` function diff --git a/.changeset/spicy-panthers-deny.md b/.changeset/spicy-panthers-deny.md deleted file mode 100644 index 41d4de906..000000000 --- a/.changeset/spicy-panthers-deny.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -'@vanilla-extract/babel-plugin': minor -'@vanilla-extract/css': minor ---- - -Rename `mapToStyles` to `styleVariants` - -**BREAKING CHANGE** - -```diff --import { mapToStyles } from '@vanilla-extract/css'; -+import { styleVariants } from '@vanilla-extract/css'; - --export const variant = mapToStyles({ -+export const variant = styleVariants({ - primary: { background: 'blue' }, - secondary: { background: 'aqua' }, -}); -``` diff --git a/.changeset/stale-scissors-beg.md b/.changeset/stale-scissors-beg.md deleted file mode 100644 index b33ae95db..000000000 --- a/.changeset/stale-scissors-beg.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@vanilla-extract/css': patch ---- - -Reduce CSS var and identifier lengths diff --git a/fixtures/low-level/package.json b/fixtures/low-level/package.json index 24ad870e0..3f1bc7a24 100644 --- a/fixtures/low-level/package.json +++ b/fixtures/low-level/package.json @@ -5,6 +5,6 @@ "author": "SEEK", "private": true, "dependencies": { - "@vanilla-extract/css": "0.2.0" + "@vanilla-extract/css": "0.3.0" } } diff --git a/fixtures/themed/package.json b/fixtures/themed/package.json index f3b0e8d40..8d2cb0c5b 100644 --- a/fixtures/themed/package.json +++ b/fixtures/themed/package.json @@ -6,7 +6,7 @@ "author": "SEEK", "private": true, "dependencies": { - "@vanilla-extract/css": "0.2.0", + "@vanilla-extract/css": "0.3.0", "@vanilla-extract/dynamic": "0.1.0" } } diff --git a/fixtures/unused-modules/package.json b/fixtures/unused-modules/package.json index 52306c270..151613d49 100644 --- a/fixtures/unused-modules/package.json +++ b/fixtures/unused-modules/package.json @@ -8,6 +8,6 @@ "author": "SEEK", "private": true, "dependencies": { - "@vanilla-extract/css": "0.2.0" + "@vanilla-extract/css": "0.3.0" } } diff --git a/packages/babel-plugin/CHANGELOG.md b/packages/babel-plugin/CHANGELOG.md index eb8edf33a..c16b64e61 100644 --- a/packages/babel-plugin/CHANGELOG.md +++ b/packages/babel-plugin/CHANGELOG.md @@ -1,5 +1,24 @@ # @vanilla-extract/babel-plugin +## 0.3.0 + +### Minor Changes + +- [#37](https://github.com/seek-oss/vanilla-extract/pull/37) [`ae9864c`](https://github.com/seek-oss/vanilla-extract/commit/ae9864c727c2edd0d415b77f738a3c959c98fca6) Thanks [@markdalgleish](https://github.com/markdalgleish)! - Rename `mapToStyles` to `styleVariants` + + **BREAKING CHANGE** + + ```diff + -import { mapToStyles } from '@vanilla-extract/css'; + +import { styleVariants } from '@vanilla-extract/css'; + + -export const variant = mapToStyles({ + +export const variant = styleVariants({ + primary: { background: 'blue' }, + secondary: { background: 'aqua' }, + }); + ``` + ## 0.2.1 ### Patch Changes diff --git a/packages/babel-plugin/package.json b/packages/babel-plugin/package.json index 1d41b9645..c31fc6cc0 100644 --- a/packages/babel-plugin/package.json +++ b/packages/babel-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vanilla-extract/babel-plugin", - "version": "0.2.1", + "version": "0.3.0", "description": "Zero-runtime Stylesheets-in-TypeScript", "main": "dist/vanilla-extract-babel-plugin.cjs.js", "module": "dist/vanilla-extract-babel-plugin.esm.js", diff --git a/packages/css/CHANGELOG.md b/packages/css/CHANGELOG.md index 6c0c38588..f7e1bdb76 100644 --- a/packages/css/CHANGELOG.md +++ b/packages/css/CHANGELOG.md @@ -1,5 +1,30 @@ # @vanilla-extract/css +## 0.3.0 + +### Minor Changes + +- [#38](https://github.com/seek-oss/vanilla-extract/pull/38) [`156b491`](https://github.com/seek-oss/vanilla-extract/commit/156b49182367bf233564eae7fd3ea9d3f50fd68a) Thanks [@markdalgleish](https://github.com/markdalgleish)! - Add `composeStyles` function + +* [#37](https://github.com/seek-oss/vanilla-extract/pull/37) [`ae9864c`](https://github.com/seek-oss/vanilla-extract/commit/ae9864c727c2edd0d415b77f738a3c959c98fca6) Thanks [@markdalgleish](https://github.com/markdalgleish)! - Rename `mapToStyles` to `styleVariants` + + **BREAKING CHANGE** + + ```diff + -import { mapToStyles } from '@vanilla-extract/css'; + +import { styleVariants } from '@vanilla-extract/css'; + + -export const variant = mapToStyles({ + +export const variant = styleVariants({ + primary: { background: 'blue' }, + secondary: { background: 'aqua' }, + }); + ``` + +### Patch Changes + +- [#34](https://github.com/seek-oss/vanilla-extract/pull/34) [`756d9b0`](https://github.com/seek-oss/vanilla-extract/commit/756d9b0d0305e8b8a63f0ca1ebe635ab320a5f5b) Thanks [@mattcompiles](https://github.com/mattcompiles)! - Reduce CSS var and identifier lengths + ## 0.2.0 ### Minor Changes diff --git a/packages/css/package.json b/packages/css/package.json index 26c65e236..81d13497b 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -1,6 +1,6 @@ { "name": "@vanilla-extract/css", - "version": "0.2.0", + "version": "0.3.0", "description": "Zero-runtime Stylesheets-in-TypeScript", "sideEffects": true, "main": "dist/vanilla-extract-css.cjs.js", diff --git a/packages/esbuild-plugin/CHANGELOG.md b/packages/esbuild-plugin/CHANGELOG.md index 87e6e15db..737a0486c 100644 --- a/packages/esbuild-plugin/CHANGELOG.md +++ b/packages/esbuild-plugin/CHANGELOG.md @@ -1,5 +1,12 @@ # @vanilla-extract/esbuild-plugin +## 0.1.2 + +### Patch Changes + +- Updated dependencies [[`156b491`](https://github.com/seek-oss/vanilla-extract/commit/156b49182367bf233564eae7fd3ea9d3f50fd68a), [`ae9864c`](https://github.com/seek-oss/vanilla-extract/commit/ae9864c727c2edd0d415b77f738a3c959c98fca6), [`756d9b0`](https://github.com/seek-oss/vanilla-extract/commit/756d9b0d0305e8b8a63f0ca1ebe635ab320a5f5b)]: + - @vanilla-extract/css@0.3.0 + ## 0.1.1 ### Patch Changes diff --git a/packages/esbuild-plugin/package.json b/packages/esbuild-plugin/package.json index 56ad510e8..1c4e255d5 100644 --- a/packages/esbuild-plugin/package.json +++ b/packages/esbuild-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vanilla-extract/esbuild-plugin", - "version": "0.1.1", + "version": "0.1.2", "description": "Zero-runtime Stylesheets-in-TypeScript", "main": "dist/vanilla-extract-esbuild-plugin.cjs.js", "module": "dist/vanilla-extract-esbuild-plugin.esm.js", @@ -18,7 +18,7 @@ "esbuild": ">=0.11.1" }, "dependencies": { - "@vanilla-extract/css": "^0.2.0", + "@vanilla-extract/css": "^0.3.0", "chalk": "^4.1.0", "dedent": "^0.7.0", "eval": "^0.1.6", diff --git a/packages/webpack-plugin/CHANGELOG.md b/packages/webpack-plugin/CHANGELOG.md index 81af9047b..dc58f520a 100644 --- a/packages/webpack-plugin/CHANGELOG.md +++ b/packages/webpack-plugin/CHANGELOG.md @@ -1,5 +1,12 @@ # @vanilla-extract/webpack-plugin +## 0.2.1 + +### Patch Changes + +- Updated dependencies [[`156b491`](https://github.com/seek-oss/vanilla-extract/commit/156b49182367bf233564eae7fd3ea9d3f50fd68a), [`ae9864c`](https://github.com/seek-oss/vanilla-extract/commit/ae9864c727c2edd0d415b77f738a3c959c98fca6), [`756d9b0`](https://github.com/seek-oss/vanilla-extract/commit/756d9b0d0305e8b8a63f0ca1ebe635ab320a5f5b)]: + - @vanilla-extract/css@0.3.0 + ## 0.2.0 ### Minor Changes diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index d528f9d63..38926a961 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vanilla-extract/webpack-plugin", - "version": "0.2.0", + "version": "0.2.1", "description": "Zero-runtime Stylesheets-in-TypeScript", "main": "dist/vanilla-extract-webpack-plugin.cjs.js", "module": "dist/vanilla-extract-webpack-plugin.esm.js", @@ -29,7 +29,7 @@ "webpack": "^4.30.0 || ^5.20.2" }, "dependencies": { - "@vanilla-extract/css": "^0.2.0", + "@vanilla-extract/css": "^0.3.0", "chalk": "^4.1.0", "debug": "^4.3.1", "dedent": "^0.7.0", diff --git a/yarn.lock b/yarn.lock index 47e9061a8..833c4138d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1572,7 +1572,7 @@ __metadata: version: 0.0.0-use.local resolution: "@fixtures/low-level@workspace:fixtures/low-level" dependencies: - "@vanilla-extract/css": 0.2.0 + "@vanilla-extract/css": 0.3.0 languageName: unknown linkType: soft @@ -1580,7 +1580,7 @@ __metadata: version: 0.0.0-use.local resolution: "@fixtures/themed@workspace:fixtures/themed" dependencies: - "@vanilla-extract/css": 0.2.0 + "@vanilla-extract/css": 0.3.0 "@vanilla-extract/dynamic": 0.1.0 languageName: unknown linkType: soft @@ -1589,7 +1589,7 @@ __metadata: version: 0.0.0-use.local resolution: "@fixtures/unused-modules@workspace:fixtures/unused-modules" dependencies: - "@vanilla-extract/css": 0.2.0 + "@vanilla-extract/css": 0.3.0 languageName: unknown linkType: soft @@ -2685,7 +2685,7 @@ __metadata: languageName: unknown linkType: soft -"@vanilla-extract/css@0.2.0, @vanilla-extract/css@^0.2.0, @vanilla-extract/css@workspace:packages/css": +"@vanilla-extract/css@0.3.0, @vanilla-extract/css@^0.3.0, @vanilla-extract/css@workspace:packages/css": version: 0.0.0-use.local resolution: "@vanilla-extract/css@workspace:packages/css" dependencies: @@ -2713,7 +2713,7 @@ __metadata: resolution: "@vanilla-extract/esbuild-plugin@workspace:packages/esbuild-plugin" dependencies: "@types/dedent": ^0.7.0 - "@vanilla-extract/css": ^0.2.0 + "@vanilla-extract/css": ^0.3.0 chalk: ^4.1.0 dedent: ^0.7.0 esbuild: ^0.11.1 @@ -2739,7 +2739,7 @@ __metadata: "@types/debug": ^4.1.5 "@types/dedent": ^0.7.0 "@types/lodash": ^4.14.168 - "@vanilla-extract/css": ^0.2.0 + "@vanilla-extract/css": ^0.3.0 chalk: ^4.1.0 debug: ^4.3.1 dedent: ^0.7.0