diff --git a/.changeset/empty-flies-exist.md b/.changeset/empty-flies-exist.md deleted file mode 100644 index c8d3df8..0000000 --- a/.changeset/empty-flies-exist.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'tailwindcss-capsize': minor ---- - -Allow custom activation class via `className` option - -```js -require('tailwindcss-capsize')({ className: 'leading-trim' }) -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 44069ae..9b29774 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,19 +1,27 @@ # Change Log +## 2.1.0 — 2021-09-21 + +#### 🎁 Added + +- Allow custom activation class via new `className` option [#103](https://github.com/stormwarning/tailwindcss-capsize/pull/103) + + ```js + require('tailwindcss-capsize')({ className: 'leading-trim' }) + ``` + ## 2.0.0 — 2021-09-21 #### 💣 Breaking Changes -- Use new `@capsize/core` library [#94](https://github.com/stormwarning/tailwindcss-capsize/pull/94) - Thanks [@DylanVann](https://github.com/DylanVann)! +- Use new `@capsize/core` library [#94](https://github.com/stormwarning/tailwindcss-capsize/pull/94) Thanks [@DylanVann](https://github.com/DylanVann)! This _will_ change the final output CSS, as the technique to perform the leading trim has been simplified. See the [capsize release notes](https://github.com/seek-oss/capsize/releases/tag/capsize%402.0.0) for more details. #### 🐛 Fixed -- Fix usage when `require`ing plugin [#95](https://github.com/stormwarning/tailwindcss-capsize/pull/95) - Thanks [@DylanVann](https://github.com/DylanVann)! +- Fix usage when `require`ing plugin [#95](https://github.com/stormwarning/tailwindcss-capsize/pull/95) Thanks [@DylanVann](https://github.com/DylanVann)! ```diff - require('tailwindcss-capsize').default diff --git a/package.json b/package.json index 70032ee..19050d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tailwindcss-capsize", - "version": "2.0.0", + "version": "2.1.0", "description": "TailwindCSS leading-trim utility classes.", "keywords": [ "tailwindcss",