Skip to content

Latest commit

 

History

History
136 lines (77 loc) · 4.39 KB

CHANGELOG.md

File metadata and controls

136 lines (77 loc) · 4.39 KB

Change Log

3.0.5

Patch Changes

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

3.0.4

Patch Changes

  • Fix fontSize utility not including default fontWeight settings #209

3.0.3 — 2022-12-21

Patch Changes

3.0.2 — 2022-05-06

🐛 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.

3.0.1 — 2022-01-17

🐛 Fixed

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

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

3.0.0 — 2022-01-11

💣 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.

2.1.0 — 2021-09-21

🎁 Added

  • Allow custom activation class via new className option #103

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

2.0.0 — 2021-09-21

💣 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')

1.2.2 — 2021-03-03

🐛 Fixed

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

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

1.2.1 — 2021-02-08

🐛 Fixed

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

1.2.0 — 2020-10-11

🎁 Added

  • Allow unitless or percentage-based leading values #34
    Uses the inherited font-size to determine pixel line-height value.

🐛 Fixed

  • Use correct path for types import #30
    This should clear up any TypeScript warnings during local builds.

1.1.0 — 2020-09-04

💣 Breaking Changes

  • Rename plugin using common prefix convention eac9127
    tailwind-capsizetailwindcss-capsize

1.0.3 — 2020-09-03

♻️ Changed

  • Cleaned out unused code and fix up docs examples bc1372f

1.0.2 — 2020-09-01

🐛 Fixed

  • Fixed error when trying to set a custom root font-size value #16

1.0.1 — 2020-08-13

🐛 Fixed

  • Added actual README and package description & keywords 327886e

1.0.0 — 2020-08-11

🎉 Initial release