From 979b600ca2a028368fd19dab47007aee92c883e2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 13 Dec 2023 21:22:30 +0000 Subject: [PATCH] chore: update versions --- .changeset/fair-chicken-boil.md | 6 ------ .changeset/friendly-houses-develop.md | 5 ----- .changeset/happy-humans-shake.md | 5 ----- .changeset/pre.json | 17 ---------------- .changeset/sour-apples-stare.md | 22 --------------------- apps/docs/CHANGELOG.md | 24 +++++++++++++++++++++++ apps/docs/package.json | 2 +- packages/core/CHANGELOG.md | 25 ++++++++++++++++++++++++ packages/core/package.json | 2 +- packages/react/CHANGELOG.md | 28 +++++++++++++++++++++++++++ packages/react/package.json | 2 +- packages/solid/CHANGELOG.md | 11 +++++++++++ packages/solid/package.json | 2 +- 13 files changed, 92 insertions(+), 59 deletions(-) delete mode 100644 .changeset/fair-chicken-boil.md delete mode 100644 .changeset/friendly-houses-develop.md delete mode 100644 .changeset/happy-humans-shake.md delete mode 100644 .changeset/pre.json delete mode 100644 .changeset/sour-apples-stare.md diff --git a/.changeset/fair-chicken-boil.md b/.changeset/fair-chicken-boil.md deleted file mode 100644 index 7a28b088..00000000 --- a/.changeset/fair-chicken-boil.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@tw-classed/react": patch -"@tw-classed/core": patch ---- - -Ensure compatibility with `exactOptionalPropertyTypes:true` in tsconfig.json diff --git a/.changeset/friendly-houses-develop.md b/.changeset/friendly-houses-develop.md deleted file mode 100644 index 1abe237b..00000000 --- a/.changeset/friendly-houses-develop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tw-classed/solid": patch ---- - -Improve solidjs prop splitting diff --git a/.changeset/happy-humans-shake.md b/.changeset/happy-humans-shake.md deleted file mode 100644 index 85c88e51..00000000 --- a/.changeset/happy-humans-shake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tw-classed/solid": patch ---- - -Fix solid types - Rename Polymorphic.d.ts to polymorphic.ts to ensure dts plugin emits in bundle diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index df4a87a8..00000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "mode": "exit", - "tag": "canary", - "initialVersions": { - "benchmark": "0.1.0", - "docs": "2.0.21", - "@tw-classed/core": "1.6.0", - "@tw-classed/react": "1.6.1", - "@tw-classed/solid": "1.6.0" - }, - "changesets": [ - "fair-chicken-boil", - "friendly-houses-develop", - "happy-humans-shake", - "sour-apples-stare" - ] -} diff --git a/.changeset/sour-apples-stare.md b/.changeset/sour-apples-stare.md deleted file mode 100644 index c1f568a4..00000000 --- a/.changeset/sour-apples-stare.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -"@tw-classed/react": minor -"@tw-classed/core": minor -"docs": patch ---- - -Add `getVariantConfig()` utility to `core` & `react` api's. This extracts the entire parsed variant config from a classed component, also supports nested variants from component composition. - -Usage: - -```tsx -const Button = classed("button", { - variants: { - color: { - blue: "bg-blue-500", - }, - }, -}); - -const { variants } = getVariantConfig(Button); -variants.color.blue; // "bg-blue-500" -``` diff --git a/apps/docs/CHANGELOG.md b/apps/docs/CHANGELOG.md index b0cf78dc..c140b00b 100644 --- a/apps/docs/CHANGELOG.md +++ b/apps/docs/CHANGELOG.md @@ -1,5 +1,29 @@ # beta-docs +## 2.0.22 + +### Patch Changes + +- [#132](https://github.com/sannajammeh/tw-classed/pull/132) [`6fd3d61`](https://github.com/sannajammeh/tw-classed/commit/6fd3d6106e052481d2364cc7fb732ed6acf3f2a1) Thanks [@sannajammeh](https://github.com/sannajammeh)! - Add `getVariantConfig()` utility to `core` & `react` api's. This extracts the entire parsed variant config from a classed component, also supports nested variants from component composition. + + Usage: + + ```tsx + const Button = classed("button", { + variants: { + color: { + blue: "bg-blue-500", + }, + }, + }); + + const { variants } = getVariantConfig(Button); + variants.color.blue; // "bg-blue-500" + ``` + +- Updated dependencies [[`97130ec`](https://github.com/sannajammeh/tw-classed/commit/97130ecf63128d0061f3a20a11ef9052b97476a9), [`6fd3d61`](https://github.com/sannajammeh/tw-classed/commit/6fd3d6106e052481d2364cc7fb732ed6acf3f2a1)]: + - @tw-classed/react@1.7.0 + ## 2.0.22-canary.0 ### Patch Changes diff --git a/apps/docs/package.json b/apps/docs/package.json index 3a846532..bb4a546c 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "2.0.22-canary.0", + "version": "2.0.22", "private": true, "scripts": { "dev": "next dev", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index b8bb0809..07635486 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,30 @@ # @tw-classed/core +## 1.7.0 + +### Minor Changes + +- [#132](https://github.com/sannajammeh/tw-classed/pull/132) [`6fd3d61`](https://github.com/sannajammeh/tw-classed/commit/6fd3d6106e052481d2364cc7fb732ed6acf3f2a1) Thanks [@sannajammeh](https://github.com/sannajammeh)! - Add `getVariantConfig()` utility to `core` & `react` api's. This extracts the entire parsed variant config from a classed component, also supports nested variants from component composition. + + Usage: + + ```tsx + const Button = classed("button", { + variants: { + color: { + blue: "bg-blue-500", + }, + }, + }); + + const { variants } = getVariantConfig(Button); + variants.color.blue; // "bg-blue-500" + ``` + +### Patch Changes + +- [#133](https://github.com/sannajammeh/tw-classed/pull/133) [`97130ec`](https://github.com/sannajammeh/tw-classed/commit/97130ecf63128d0061f3a20a11ef9052b97476a9) Thanks [@sannajammeh](https://github.com/sannajammeh)! - Ensure compatibility with `exactOptionalPropertyTypes:true` in tsconfig.json + ## 1.7.0-canary.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index 6b9450e2..a01c9a22 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@tw-classed/core", - "version": "1.7.0-canary.0", + "version": "1.7.0", "description": "A Stitches & Styled-Components inspired library to create reusable Tailwind react components", "sideEffects": false, "main": "dist/index.cjs", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index a7fa34a4..c2495ff2 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,33 @@ # @tw-classed/react +## 1.7.0 + +### Minor Changes + +- [#132](https://github.com/sannajammeh/tw-classed/pull/132) [`6fd3d61`](https://github.com/sannajammeh/tw-classed/commit/6fd3d6106e052481d2364cc7fb732ed6acf3f2a1) Thanks [@sannajammeh](https://github.com/sannajammeh)! - Add `getVariantConfig()` utility to `core` & `react` api's. This extracts the entire parsed variant config from a classed component, also supports nested variants from component composition. + + Usage: + + ```tsx + const Button = classed("button", { + variants: { + color: { + blue: "bg-blue-500", + }, + }, + }); + + const { variants } = getVariantConfig(Button); + variants.color.blue; // "bg-blue-500" + ``` + +### Patch Changes + +- [#133](https://github.com/sannajammeh/tw-classed/pull/133) [`97130ec`](https://github.com/sannajammeh/tw-classed/commit/97130ecf63128d0061f3a20a11ef9052b97476a9) Thanks [@sannajammeh](https://github.com/sannajammeh)! - Ensure compatibility with `exactOptionalPropertyTypes:true` in tsconfig.json + +- Updated dependencies [[`97130ec`](https://github.com/sannajammeh/tw-classed/commit/97130ecf63128d0061f3a20a11ef9052b97476a9), [`6fd3d61`](https://github.com/sannajammeh/tw-classed/commit/6fd3d6106e052481d2364cc7fb732ed6acf3f2a1)]: + - @tw-classed/core@1.7.0 + ## 1.7.0-canary.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 0eee7452..2668ca35 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@tw-classed/react", - "version": "1.7.0-canary.0", + "version": "1.7.0", "description": "A Stitches & Styled-Components inspired library to create reusable Tailwind React components", "sideEffects": false, "main": "dist/index.cjs", diff --git a/packages/solid/CHANGELOG.md b/packages/solid/CHANGELOG.md index 2373d57f..87f0a85d 100644 --- a/packages/solid/CHANGELOG.md +++ b/packages/solid/CHANGELOG.md @@ -1,5 +1,16 @@ # @tw-classed/solid +## 1.7.0 + +### Patch Changes + +- [#137](https://github.com/sannajammeh/tw-classed/pull/137) [`86acac6`](https://github.com/sannajammeh/tw-classed/commit/86acac6abbb963d6a3af6888a3b18e26b834bf53) Thanks [@sannajammeh](https://github.com/sannajammeh)! - Improve solidjs prop splitting + +- [#135](https://github.com/sannajammeh/tw-classed/pull/135) [`f04cc69`](https://github.com/sannajammeh/tw-classed/commit/f04cc695ce2d5f643de3f346622cd9bab0b39091) Thanks [@sannajammeh](https://github.com/sannajammeh)! - Fix solid types - Rename Polymorphic.d.ts to polymorphic.ts to ensure dts plugin emits in bundle + +- Updated dependencies [[`97130ec`](https://github.com/sannajammeh/tw-classed/commit/97130ecf63128d0061f3a20a11ef9052b97476a9), [`6fd3d61`](https://github.com/sannajammeh/tw-classed/commit/6fd3d6106e052481d2364cc7fb732ed6acf3f2a1)]: + - @tw-classed/core@1.7.0 + ## 1.7.0-canary.2 ### Patch Changes diff --git a/packages/solid/package.json b/packages/solid/package.json index 8319f840..9e397d7a 100644 --- a/packages/solid/package.json +++ b/packages/solid/package.json @@ -1,6 +1,6 @@ { "name": "@tw-classed/solid", - "version": "1.7.0-canary.2", + "version": "1.7.0", "description": "A Stitches & Styled-Components inspired library to create reusable Tailwind Solid components", "sideEffects": false, "exports": {