Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Releases: benface/tailwindcss-gap

v7.0.0

05 Aug 00:01
Compare
Choose a tag to compare

Changed

  • Got rid of the internal hack we used in order to support variants, thanks to Tailwind’s addComponents() accepting a variants option since v1.5

Removed

  • Removed the legacy option; use Tailwind’s target option instead (see README for more information)

v6.0.0

19 Apr 19:20
Compare
Choose a tag to compare

Added

  • Added a c-gap-wrapper class which should be used to wrap c-gap / c-gap-padding elements in order to avoid issues related to collapsing margins

Fixed

  • Fixed an issue where gaps wouldn’t work after passing through a CSS minifier

v5.0.2

08 Mar 18:24
Compare
Choose a tag to compare

Fixed

  • Fixed botched release of v5.0.1
  • Fixed an issue where a 0 gap in one dimension would break the gaps in the other dimension (e.g. c-gap c-gap-x-4 c-gap-y-0)

v5.0.0

06 Feb 19:06
Compare
Choose a tag to compare

Added

  • Added the prefix option which is set to c- by default to avoid conflicting with Tailwind 1.2’s gap classes (sorry about that!)

v4.0.0

05 Feb 16:33
Compare
Choose a tag to compare

Changed

  • Changed to use Tailwind 1.2’s new plugin definition syntax
  • Gaps are now generated by default using the theme’s spacing scale (they can be extended with theme.extend.gap, or replaced with theme.gap)

v3.1.1

11 Jul 16:41
Compare
Choose a tag to compare

Fixed

  • Fixed the generated variant selectors in legacy mode (requires Tailwind v1.0.5+)

v3.1.0

08 Jul 17:33
Compare
Choose a tag to compare

Added

  • Added a legacy option to generate IE-compatible CSS (no custom properties)

v3.0.0

15 May 23:20
Compare
Choose a tag to compare

Changed since 3.0.0-beta.1

  • Added support for global variants thanks to Tailwind’s variants() helper function

Fixed since 3.0.0-beta.1

  • gap-* utilities with variants now correctly override gap-x-* and gap-y-* utilities (e.g. gap-x-4 gap-y-2 sm:gap-0 now removes all gaps at the sm breakpoint as expected)

Added since 2.x

  • Tailwind 1.0.0 compatibility

Changed since 2.x

  • The plugin doesn’t accept a config object anymore; instead it finds what it needs in the theme and variants keys of your config (see README for more info)
  • Responsive variants are now generated by default

v3.0.0-beta.1

08 Apr 02:50
Compare
Choose a tag to compare
v3.0.0-beta.1 Pre-release
Pre-release

Added

  • Tailwind 1.0.0 compatibility

Changed

  • The plugin doesn’t accept a config object anymore; instead it finds what it needs in the theme and variants keys of your config (see README for more info)
  • Responsive variants are now generated by default

v2.0.0

30 Mar 01:32
Compare
Choose a tag to compare

Added

  • A base gap class now needs to be added to gap containers in addition to the gap-*, gap-x-*, and/or gap-y-* classes
  • Added an alternative gap-padding base class to use padding on gap children, instead of margin

Changed

  • The generated CSS now uses custom properties to avoid repetition, so the resulting CSS is much smaller