Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Releases: benface/tailwindcss-transforms

v2.2.0

06 Jul 00:47
Compare
Choose a tag to compare

Added

  • Added transform-box utilities (transform-border, transform-fill, and transform-view)

Fixed

  • Fixed the transform-style and backface-visibility utility class selectors (thanks, @slavanossar!)

v2.1.0

26 May 17:31
Compare
Choose a tag to compare

Added

  • Added support for multi-axis transforms by using an array for the value in the translate, scale, or rotate theme objects

v2.0.0

16 May 19:00
Compare
Choose a tag to compare

Removed since 2.0.0-beta.1

  • Removed the negativeTranslate, negativeScale, negativeRotate, and negativeSkew theme objects as they are not needed anymore; just like negative margins in Tailwind 1.0, if the key of a translate, scale, rotate, or skew utility starts with a minus sign (-), the generated class will now automatically start with a minus sign as well (e.g. '-full': '-100%' in translate will generate a -translate-x-full class)

Changed since 2.0.0-beta.1

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

Added since 1.x

  • Tailwind 1.0.0 compatibility
  • Added a 3d option (false by default) to generate a bunch of new utilities (see README for more info)
  • Added a transform theme object for custom transforms (it’s also what generates the transform-none utility)
  • Added perspective and perspectiveOrigin theme objects (for use with the new 3d option)

Changed since 1.x

  • Most of the config options have been moved to the theme and variants objects in your Tailwind config (see README for more info)
  • Transform origin utilities and responsive variants are now generated by default
  • Renamed the transform origin classes from transform-origin-[key] to transform-[key]

v2.0.0-beta.1

07 Apr 17:52
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

Added

  • Tailwind 1.0.0 compatibility
  • Added a 3d option (false by default) to generate a bunch of new utilities (see README for more info)
  • Added a transform theme object for custom transforms (it’s also what generates the transform-none utility)
  • Added a negativeScale theme object (useful for flipping an element horizontally and/or vertically)
  • Added perspective and perspectiveOrigin theme objects (for use with the new 3d option)

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)
  • Transform origin utilities and responsive variants are now generated by default
  • Renamed the transform origin classes from transform-origin-[key] to transform-[key]

v1.0.2

05 Nov 02:00
Compare
Choose a tag to compare

Added

  • Added proper tests with Jest