Skip to content

Releases: stormwarning/tailwindcss-capsize

v3.0.5

18 Apr 03:26
8239deb
Compare
Choose a tag to compare

Patch Changes

  • Reworked internals (#214)
    No notable change in CSS output. Should support Tailwind TypeScript configs better now.

v3.0.4

21 Aug 18:06
5320ac5
Compare
Choose a tag to compare

Patch Changes

  • Fix fontSize utility not including default fontWeight settings #209

v3.0.3

21 Dec 17:17
f8e3d98
Compare
Choose a tag to compare

Patch Changes

v3.0.2

07 May 03:36
e803b6f
Compare
Choose a tag to compare

🐛 Fixed

  • Use correct custom property with default lineHeight values #153

    Fixes issue with a leading-* class being required even with fontSize values including a default lineHeight.

v3.0.1

17 Jan 17:06
ca09a11
Compare
Choose a tag to compare

🐛 Fixed

  • Remove unit from --font-size-px custom property #128

    Thanks @essejmclean!
    Fixes issue with calc() functions not working correctly.

v3.0.0

13 Jan 04:05
c982527
Compare
Choose a tag to compare

💣 Breaking Changes

  • Add modern output mode #123

    In this mode the fontFamily, fontSize, and lineHeight core plugins are replaced, adding custom properties to the output of each which are used in the calc() expressions in the utility class.

    modern mode is enabled by default. The previous functionality can be maintained if needed by switching to classic mode.

v2.1.0

21 Sep 17:29
d9b4143
Compare
Choose a tag to compare

🎁 Added

  • Allow custom activation class via new className option #103

    require('tailwindcss-capsize')({ className: 'leading-trim' })

v2.0.0

21 Sep 16:09
e6bc1a9
Compare
Choose a tag to compare

💣 Breaking Changes

  • Use new @capsize/core library #94 Thanks @DylanVann!
    This will change the final output CSS, as the technique to perform
    the leading trim has been simplified. See the capsize release notes
    for more details.

🐛 Fixed

  • Fix usage when requireing plugin #95 Thanks @DylanVann!

    - require('tailwindcss-capsize').default
    + require('tailwindcss-capsize')

v1.2.2

03 Mar 20:47
69c3681
Compare
Choose a tag to compare

🐛 Fixed

  • Fix issue requiring an empty options object to be passed in #68

    - require('tailwindcss-capsize')({})
    + require('tailwindcss-capsize')

v1.2.1

08 Feb 17:00
a1a1f75
Compare
Choose a tag to compare

🐛 Fixed

  • Avoid error when normalizeValue gets an array e18c905
    Still needs to account fully for Tailwind v2 configs, but this helps.