From 9e5438df05ebbe06e78007ca469a4d37d3d1a092 Mon Sep 17 00:00:00 2001 From: vanilla-extract-ci <114379795+vanilla-extract-ci@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:25:10 +1100 Subject: [PATCH] Version Packages (#1514) Co-authored-by: github-actions[bot] --- .changeset/angry-rules-tease.md | 5 - .changeset/modern-cobras-sort.md | 30 ----- .changeset/nasty-wasps-tie.md | 51 --------- .changeset/poor-mirrors-care.md | 29 ----- packages/babel-plugin-debug-ids/CHANGELOG.md | 6 + packages/babel-plugin-debug-ids/package.json | 2 +- packages/css/CHANGELOG.md | 112 +++++++++++++++++++ packages/css/package.json | 2 +- packages/esbuild-plugin/CHANGELOG.md | 7 ++ packages/esbuild-plugin/package.json | 2 +- packages/integration/CHANGELOG.md | 8 ++ packages/integration/package.json | 2 +- packages/jest-transform/CHANGELOG.md | 7 ++ packages/jest-transform/package.json | 2 +- packages/next-plugin/CHANGELOG.md | 7 ++ packages/next-plugin/package.json | 2 +- packages/parcel-transformer/CHANGELOG.md | 7 ++ packages/parcel-transformer/package.json | 2 +- packages/rollup-plugin/CHANGELOG.md | 7 ++ packages/rollup-plugin/package.json | 2 +- packages/vite-plugin/CHANGELOG.md | 7 ++ packages/vite-plugin/package.json | 2 +- packages/webpack-plugin/CHANGELOG.md | 7 ++ packages/webpack-plugin/package.json | 2 +- 24 files changed, 185 insertions(+), 125 deletions(-) delete mode 100644 .changeset/angry-rules-tease.md delete mode 100644 .changeset/modern-cobras-sort.md delete mode 100644 .changeset/nasty-wasps-tie.md delete mode 100644 .changeset/poor-mirrors-care.md diff --git a/.changeset/angry-rules-tease.md b/.changeset/angry-rules-tease.md deleted file mode 100644 index 6d2c4755b..000000000 --- a/.changeset/angry-rules-tease.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@vanilla-extract/babel-plugin-debug-ids": minor ---- - -Add support for `createVar` calls that declare `@property` rules diff --git a/.changeset/modern-cobras-sort.md b/.changeset/modern-cobras-sort.md deleted file mode 100644 index 54bb0da62..000000000 --- a/.changeset/modern-cobras-sort.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -"@vanilla-extract/css": minor ---- - -`keyframes`: Add support for a `vars` property to steps within `keyframes` declarations - -Example usage: - -```ts -import { createVar, keyframes } from '@vanilla-extract/css'; - -const angle = createVar({ - syntax: '', - inherits: false, - initialValue: '0deg' -}); - -export const angleKeyframes = keyframes({ - '0%': { - vars: { - [angle]: '0deg' - } - }, - '100%': { - vars: { - [angle]: '360deg' - } - } -}); -``` diff --git a/.changeset/nasty-wasps-tie.md b/.changeset/nasty-wasps-tie.md deleted file mode 100644 index 5b004ca7b..000000000 --- a/.changeset/nasty-wasps-tie.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -'@vanilla-extract/css': minor ---- - -`createTheme`, `createGlobalTheme`: Add support for assigning themes to a layer - -Themes can now be assigned to a layer by name using the `@layer` key at the top-level of the theme definition. - -**EXAMPLE USAGE**: - -```ts -// themes.css.ts -import { createTheme, createGlobalTheme, layer } from '@vanilla-extract/css'; - -export const themeLayer = layer(); - -export const [themeA, vars] = createTheme({ - '@layer': themeLayer, - color: { - brand: 'blue' - }, - font: { - body: 'arial' - } -}); - -export const vars2 = createGlobalTheme(':root', { - '@layer': themeLayer, - space: { - small: '10px', - large: '20px', - } -}); -``` - -This will generate the following CSS: - -```css -@layer themes_themeLayer__1k6oxph0; -@layer themes_themeLayer__1k6oxph0 { - .themes_themeA__1k6oxph1 { - --color-brand__1k6oxph2: blue; - --font-body__1k6oxph3: arial; - } - - :root { - --space-small__z05zdf1: 10px; - --space-large__z05zdf2: 20px; - } -} -``` diff --git a/.changeset/poor-mirrors-care.md b/.changeset/poor-mirrors-care.md deleted file mode 100644 index 4565ff30e..000000000 --- a/.changeset/poor-mirrors-care.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -"@vanilla-extract/css": minor ---- - -`createVar`: Add support for defining [`@property`] rules - -Example usage: - -```ts -import { createVar } from '@vanilla-extract/css'; - -export const myVar = createVar({ - syntax: '', - inherits: false, - initialValue: '0.5', -}); -``` - -This will generate the following CSS: - -```css -@property --myVar__jteyb14 { - syntax: ""; - inherits: false; - initial-value: 0.5; -} -``` - -[`@property`]: https://developer.mozilla.org/en-US/docs/Web/CSS/@property diff --git a/packages/babel-plugin-debug-ids/CHANGELOG.md b/packages/babel-plugin-debug-ids/CHANGELOG.md index 28266ef39..cfdb46d2b 100644 --- a/packages/babel-plugin-debug-ids/CHANGELOG.md +++ b/packages/babel-plugin-debug-ids/CHANGELOG.md @@ -1,5 +1,11 @@ # @vanilla-extract/babel-plugin-debug-ids +## 1.2.0 + +### Minor Changes + +- [#1092](https://github.com/vanilla-extract-css/vanilla-extract/pull/1092) [`fd673f6`](https://github.com/vanilla-extract-css/vanilla-extract/commit/fd673f658da3b0019d19a0c7d6d9208d1685ff5b) Thanks [@z4o4z](https://github.com/z4o4z)! - Add support for `createVar` calls that declare `@property` rules + ## 1.1.0 ### Minor Changes diff --git a/packages/babel-plugin-debug-ids/package.json b/packages/babel-plugin-debug-ids/package.json index 19ee25609..48ac1cfac 100644 --- a/packages/babel-plugin-debug-ids/package.json +++ b/packages/babel-plugin-debug-ids/package.json @@ -1,6 +1,6 @@ { "name": "@vanilla-extract/babel-plugin-debug-ids", - "version": "1.1.0", + "version": "1.2.0", "description": "Zero-runtime Stylesheets-in-TypeScript", "main": "dist/vanilla-extract-babel-plugin-debug-ids.cjs.js", "module": "dist/vanilla-extract-babel-plugin-debug-ids.esm.js", diff --git a/packages/css/CHANGELOG.md b/packages/css/CHANGELOG.md index a06e523c8..66a022408 100644 --- a/packages/css/CHANGELOG.md +++ b/packages/css/CHANGELOG.md @@ -1,5 +1,117 @@ # @vanilla-extract/css +## 1.17.0 + +### Minor Changes + +- [#1092](https://github.com/vanilla-extract-css/vanilla-extract/pull/1092) [`fd673f6`](https://github.com/vanilla-extract-css/vanilla-extract/commit/fd673f658da3b0019d19a0c7d6d9208d1685ff5b) Thanks [@z4o4z](https://github.com/z4o4z)! - `keyframes`: Add support for a `vars` property to steps within `keyframes` declarations + + Example usage: + + ```ts + import { + createVar, + keyframes + } from '@vanilla-extract/css'; + + const angle = createVar({ + syntax: '', + inherits: false, + initialValue: '0deg' + }); + + export const angleKeyframes = keyframes({ + '0%': { + vars: { + [angle]: '0deg' + } + }, + '100%': { + vars: { + [angle]: '360deg' + } + } + }); + ``` + +- [#1512](https://github.com/vanilla-extract-css/vanilla-extract/pull/1512) [`4abfc0b`](https://github.com/vanilla-extract-css/vanilla-extract/commit/4abfc0b47c675f9a7bfdb4c3316b1c62d2b8e558) Thanks [@askoufis](https://github.com/askoufis)! - `createTheme`, `createGlobalTheme`: Add support for assigning themes to a layer + + Themes can now be assigned to a layer by name using the `@layer` key at the top-level of the theme definition. + + **EXAMPLE USAGE**: + + ```ts + // themes.css.ts + import { + createTheme, + createGlobalTheme, + layer + } from '@vanilla-extract/css'; + + export const themeLayer = layer(); + + export const [themeA, vars] = createTheme({ + '@layer': themeLayer, + color: { + brand: 'blue' + }, + font: { + body: 'arial' + } + }); + + export const vars2 = createGlobalTheme(':root', { + '@layer': themeLayer, + space: { + small: '10px', + large: '20px' + } + }); + ``` + + This will generate the following CSS: + + ```css + @layer themes_themeLayer__1k6oxph0; + @layer themes_themeLayer__1k6oxph0 { + .themes_themeA__1k6oxph1 { + --color-brand__1k6oxph2: blue; + --font-body__1k6oxph3: arial; + } + + :root { + --space-small__z05zdf1: 10px; + --space-large__z05zdf2: 20px; + } + } + ``` + +- [#1092](https://github.com/vanilla-extract-css/vanilla-extract/pull/1092) [`fd673f6`](https://github.com/vanilla-extract-css/vanilla-extract/commit/fd673f658da3b0019d19a0c7d6d9208d1685ff5b) Thanks [@z4o4z](https://github.com/z4o4z)! - `createVar`: Add support for defining [`@property`] rules + + Example usage: + + ```ts + import { createVar } from '@vanilla-extract/css'; + + export const myVar = createVar({ + syntax: '', + inherits: false, + initialValue: '0.5' + }); + ``` + + This will generate the following CSS: + + ```css + @property --myVar__jteyb14 { + syntax: ''; + inherits: false; + initial-value: 0.5; + } + ``` + + [`@property`]: https://developer.mozilla.org/en-US/docs/Web/CSS/@property + ## 1.16.1 ### Patch Changes diff --git a/packages/css/package.json b/packages/css/package.json index 6d101d4b7..e1266b1df 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -1,6 +1,6 @@ { "name": "@vanilla-extract/css", - "version": "1.16.1", + "version": "1.17.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 cc21b8087..c170224e2 100644 --- a/packages/esbuild-plugin/CHANGELOG.md +++ b/packages/esbuild-plugin/CHANGELOG.md @@ -1,5 +1,12 @@ # @vanilla-extract/esbuild-plugin +## 2.3.13 + +### Patch Changes + +- Updated dependencies []: + - @vanilla-extract/integration@7.1.12 + ## 2.3.12 ### Patch Changes diff --git a/packages/esbuild-plugin/package.json b/packages/esbuild-plugin/package.json index 7ffdddaeb..05b465e6c 100644 --- a/packages/esbuild-plugin/package.json +++ b/packages/esbuild-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vanilla-extract/esbuild-plugin", - "version": "2.3.12", + "version": "2.3.13", "description": "Zero-runtime Stylesheets-in-TypeScript", "main": "dist/vanilla-extract-esbuild-plugin.cjs.js", "module": "dist/vanilla-extract-esbuild-plugin.esm.js", diff --git a/packages/integration/CHANGELOG.md b/packages/integration/CHANGELOG.md index 66a29d51f..71985aac4 100644 --- a/packages/integration/CHANGELOG.md +++ b/packages/integration/CHANGELOG.md @@ -1,5 +1,13 @@ # @vanilla-extract/integration +## 7.1.12 + +### Patch Changes + +- Updated dependencies [[`fd673f6`](https://github.com/vanilla-extract-css/vanilla-extract/commit/fd673f658da3b0019d19a0c7d6d9208d1685ff5b), [`fd673f6`](https://github.com/vanilla-extract-css/vanilla-extract/commit/fd673f658da3b0019d19a0c7d6d9208d1685ff5b), [`4abfc0b`](https://github.com/vanilla-extract-css/vanilla-extract/commit/4abfc0b47c675f9a7bfdb4c3316b1c62d2b8e558), [`fd673f6`](https://github.com/vanilla-extract-css/vanilla-extract/commit/fd673f658da3b0019d19a0c7d6d9208d1685ff5b)]: + - @vanilla-extract/babel-plugin-debug-ids@1.2.0 + - @vanilla-extract/css@1.17.0 + ## 7.1.11 ### Patch Changes diff --git a/packages/integration/package.json b/packages/integration/package.json index 136c09e55..e685683ad 100644 --- a/packages/integration/package.json +++ b/packages/integration/package.json @@ -1,6 +1,6 @@ { "name": "@vanilla-extract/integration", - "version": "7.1.11", + "version": "7.1.12", "description": "Zero-runtime Stylesheets-in-TypeScript", "main": "dist/vanilla-extract-integration.cjs.js", "types": "dist/vanilla-extract-integration.cjs.d.ts", diff --git a/packages/jest-transform/CHANGELOG.md b/packages/jest-transform/CHANGELOG.md index 0ae6faf39..fc7b32bef 100644 --- a/packages/jest-transform/CHANGELOG.md +++ b/packages/jest-transform/CHANGELOG.md @@ -1,5 +1,12 @@ # @vanilla-extract/jest-transform +## 1.1.12 + +### Patch Changes + +- Updated dependencies []: + - @vanilla-extract/integration@7.1.12 + ## 1.1.11 ### Patch Changes diff --git a/packages/jest-transform/package.json b/packages/jest-transform/package.json index 9a9ca11bb..74d5e621d 100644 --- a/packages/jest-transform/package.json +++ b/packages/jest-transform/package.json @@ -1,6 +1,6 @@ { "name": "@vanilla-extract/jest-transform", - "version": "1.1.11", + "version": "1.1.12", "description": "Jest transformer for vanilla-extract", "main": "dist/vanilla-extract-jest-transform.cjs.js", "module": "dist/vanilla-extract-jest-transform.esm.js", diff --git a/packages/next-plugin/CHANGELOG.md b/packages/next-plugin/CHANGELOG.md index 2199a98ca..ed668c6d2 100644 --- a/packages/next-plugin/CHANGELOG.md +++ b/packages/next-plugin/CHANGELOG.md @@ -1,5 +1,12 @@ # @vanilla-extract/next-plugin +## 2.4.8 + +### Patch Changes + +- Updated dependencies []: + - @vanilla-extract/webpack-plugin@2.3.16 + ## 2.4.7 ### Patch Changes diff --git a/packages/next-plugin/package.json b/packages/next-plugin/package.json index d66483fb0..9a182f952 100644 --- a/packages/next-plugin/package.json +++ b/packages/next-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vanilla-extract/next-plugin", - "version": "2.4.7", + "version": "2.4.8", "description": "Zero-runtime Stylesheets-in-TypeScript", "main": "dist/vanilla-extract-next-plugin.cjs.js", "module": "dist/vanilla-extract-next-plugin.esm.js", diff --git a/packages/parcel-transformer/CHANGELOG.md b/packages/parcel-transformer/CHANGELOG.md index 672b98b4f..d522b6064 100644 --- a/packages/parcel-transformer/CHANGELOG.md +++ b/packages/parcel-transformer/CHANGELOG.md @@ -1,5 +1,12 @@ # @vanilla-extract/parcel-transformer +## 1.0.12 + +### Patch Changes + +- Updated dependencies []: + - @vanilla-extract/integration@7.1.12 + ## 1.0.11 ### Patch Changes diff --git a/packages/parcel-transformer/package.json b/packages/parcel-transformer/package.json index 00d8b66a1..cc947728f 100644 --- a/packages/parcel-transformer/package.json +++ b/packages/parcel-transformer/package.json @@ -1,6 +1,6 @@ { "name": "@vanilla-extract/parcel-transformer", - "version": "1.0.11", + "version": "1.0.12", "description": "Zero-runtime Stylesheets-in-TypeScript", "main": "dist/vanilla-extract-parcel-transformer.cjs.js", "module": "dist/vanilla-extract-parcel-transformer.esm.js", diff --git a/packages/rollup-plugin/CHANGELOG.md b/packages/rollup-plugin/CHANGELOG.md index 48c2155e7..df622e94e 100644 --- a/packages/rollup-plugin/CHANGELOG.md +++ b/packages/rollup-plugin/CHANGELOG.md @@ -1,5 +1,12 @@ # @vanilla-extract/rollup-plugin +## 1.3.12 + +### Patch Changes + +- Updated dependencies []: + - @vanilla-extract/integration@7.1.12 + ## 1.3.11 ### Patch Changes diff --git a/packages/rollup-plugin/package.json b/packages/rollup-plugin/package.json index 5dc31b008..94c1feda0 100644 --- a/packages/rollup-plugin/package.json +++ b/packages/rollup-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vanilla-extract/rollup-plugin", - "version": "1.3.11", + "version": "1.3.12", "description": "Zero-runtime Stylesheets-in-TypeScript", "main": "dist/vanilla-extract-rollup-plugin.cjs.js", "module": "dist/vanilla-extract-rollup-plugin.esm.js", diff --git a/packages/vite-plugin/CHANGELOG.md b/packages/vite-plugin/CHANGELOG.md index 2d1359ad6..df9229827 100644 --- a/packages/vite-plugin/CHANGELOG.md +++ b/packages/vite-plugin/CHANGELOG.md @@ -1,5 +1,12 @@ # @vanilla-extract/vite-plugin +## 4.0.19 + +### Patch Changes + +- Updated dependencies []: + - @vanilla-extract/integration@7.1.12 + ## 4.0.18 ### Patch Changes diff --git a/packages/vite-plugin/package.json b/packages/vite-plugin/package.json index 339f1c4d3..a73f16417 100644 --- a/packages/vite-plugin/package.json +++ b/packages/vite-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vanilla-extract/vite-plugin", - "version": "4.0.18", + "version": "4.0.19", "description": "Zero-runtime Stylesheets-in-TypeScript", "main": "dist/vanilla-extract-vite-plugin.cjs.js", "module": "dist/vanilla-extract-vite-plugin.esm.js", diff --git a/packages/webpack-plugin/CHANGELOG.md b/packages/webpack-plugin/CHANGELOG.md index df6d91b26..dafce448c 100644 --- a/packages/webpack-plugin/CHANGELOG.md +++ b/packages/webpack-plugin/CHANGELOG.md @@ -1,5 +1,12 @@ # @vanilla-extract/webpack-plugin +## 2.3.16 + +### Patch Changes + +- Updated dependencies []: + - @vanilla-extract/integration@7.1.12 + ## 2.3.15 ### Patch Changes diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index b8962e19e..1fddb0cc7 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vanilla-extract/webpack-plugin", - "version": "2.3.15", + "version": "2.3.16", "description": "Zero-runtime Stylesheets-in-TypeScript", "main": "dist/vanilla-extract-webpack-plugin.cjs.js", "module": "dist/vanilla-extract-webpack-plugin.esm.js",