* Implement `filter` helper classes with all methods
* Rename filter plugins/utilities, drop filter opacity, add drop shadow
* Remove non-final default filter values
* Working on default filter values, add basic JIT support
* Working on blur values
* New blur values (these are ~okay)
* Match drop-shadow values to box-shadows by eye as best as possible
* Update tests
* Fix kitchen sink test
* Add filter variants configuration
* Move drop-shadow to end of filters list
Co-Authored-By: Peter Neupauer <peter@neupauer.sk>
* Add invert variants configuration
* Add backdrop-filter utilities
* Update tests
* Transition filters by default
* Alphabetize new config keys
* Optimize filter plugins for JIT + add arbitrary value support
Except for drop-shadow, will add that once we can think it through a bit.
Co-authored-by: Nick Schmidt <nick@kreativgebiet.com>
Co-authored-by: Peter Neupauer <peter@neupauer.sk>
* Added support for display : inline-table
* Moved the inline-table class to the suggested spot and updated the tests
Co-authored-by: Erik Verbeek <erik@evidencio.com>
* fix memory leak
* add optional condition to hasAtRule
* use known tree to handle `@apply` when required `@tailwind` at rules exists
Otherwise we will generate the lookup tree.
* only generate the missing `@tailwind` atrules when using `@apply`
* update perf config to reflect 2.0 changes
* update changelog
* ensure lookup tree is correctly cached based on used tailwind atrules
* Add failing test for #2823
* cleanup string literals
* use prettier for toMatchCSS diffs
* make sure that importants are applied correctly
Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
* prefix custom properties with tw-
* prefix custom properties with tw- in tests
* prefix gradient values in the defaultConfig
* inline gradient-via-color
* simplify --tw-tailwind-empty to --tw-empty
* replace the long --tw-font-variant-numeric-... to the way shorter --tw-fvn-...
* Rename --tw-box-shadow to --tw-shadow
To match class name.
* Rename font-variant-numeric variables
* Remove 'transform' from transform variables
* Shorten gradient variables
* Fix style
Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
* Add failing test for purge preserving element selectors when `defaultExtractor` is overridden
* `preserveHtmlElements` works with user-defined purge extractors