tailwindcss/src/lib
Adam Wathan 97062c398b
Make negative values a first-class feature, rather than theme-driven (#5709)
* WIP

* Add failing test for negating default values

* Add dynamic negative value opt-in (#5713)

* Add `supportsNegativeValues` plugin option

* Update `getClassList` to support dynamic negative values

* Add test for using a negative scale value with a plugin that does not support dynamic negative values

* Support dynamic negation of `DEFAULT` values (#5718)

* Add test case

Co-authored-by: Brad Cornes <bradlc41@gmail.com>
2021-10-06 13:42:05 -04:00
..
collapseAdjacentRules.js Remove AOT (#5340) 2021-09-01 17:13:59 +02:00
detectNesting.js Warn when nesting is detected (#5489) 2021-09-16 14:13:45 +02:00
evaluateTailwindFunctions.js Remove lodash (#5390) 2021-09-06 14:15:10 -04:00
expandApplyAtRules.js Support @apply for classes outside of a @layer (#5378) 2021-09-07 21:03:46 -04:00
expandTailwindAtRules.js Handle old to new config when normalizing the config (#5658) 2021-10-01 12:56:54 +02:00
generateRules.js Make negative values a first-class feature, rather than theme-driven (#5709) 2021-10-06 13:42:05 -04:00
getModuleDependencies.js Prettier likes parens a lot now 2020-10-16 15:39:44 -04:00
normalizeTailwindDirectives.js Improve warnings (#5666) 2021-10-01 11:47:02 -04:00
resolveDefaultsAtRules.js Enable optimize universal defaults by default (#5635) 2021-10-06 17:45:26 +02:00
setupContextUtils.js Make negative values a first-class feature, rather than theme-driven (#5709) 2021-10-06 13:42:05 -04:00
setupTrackingContext.js Handle old to new config when normalizing the config (#5658) 2021-10-01 12:56:54 +02:00
setupWatchingContext.js Handle old to new config when normalizing the config (#5658) 2021-10-01 12:56:54 +02:00
sharedState.js Handle old to new config when normalizing the config (#5658) 2021-10-01 12:56:54 +02:00
substituteScreenAtRules.js Remove lodash (#5390) 2021-09-06 14:15:10 -04:00