tailwindcss/src/util
Adam Wathan 32eac19858
Allow variant plugins to tell Tailwind they should stack (#2382)
* Fix unwanted stacking behavior on any non-darkModeVariant "dark" variant (#2380)

* Add failing tests for non-darkModeVariant "dark" variant stacking behavior

* Fix unwanted non-darkModeVariant "dark" variant stacking (by making the failing test pass)

* Add unstable_stack option for variants to tell Tailwind they should stack

* Update eslint to allow unstable_ variables

* Update changelog

Co-authored-by: Navith <28162694+JakeNavith@users.noreply.github.com>
2020-09-14 09:12:36 -04:00
..
buildMediaQuery.js Replaces use of Lodash isArray with built-in Array.isArray 2019-07-13 16:52:07 +02:00
buildSelectorVariant.js cache buildSelectorVariant 2020-08-18 08:21:33 -04:00
cloneNodes.js Convert new stuff to use ES6 modules 2017-08-27 18:02:41 -04:00
configurePlugins.js Make it possible to whitelist core plugins by passing an array 2019-04-18 10:31:14 -04:00
createPlugin.js Test making config function optional, refactor to default parameter 2020-01-04 12:35:12 -05:00
createUtilityPlugin.js Generate non-composable transforms in IE11 target mode 2020-04-29 16:25:20 -04:00
escapeClassName.js Remove dependency on cssesc 2019-02-27 16:40:19 -05:00
flattenColorPalette.js fix(colors): correctly flatten color closures 2020-08-18 22:35:10 +02:00
generateVariantFunction.js Allow variant plugins to tell Tailwind they should stack (#2382) 2020-09-14 09:12:36 -04:00
getAllConfigs.js Register dark mode plugin outside of resolveConfig code path (#2368) 2020-09-11 10:15:39 -04:00
increaseSpecificity.js Added Prefix Selector support via important config 2019-07-11 17:07:24 +12:00
log.js Log to stderr instead of stdout 2020-08-20 09:37:22 -04:00
negateValue.js Ignore values not parseable by reduce-css-calc 2019-08-09 16:10:41 -04:00
parseObjectStyles.js Add test, fix style 2019-05-27 08:05:51 +02:00
prefixNegativeModifiers.js Handle default keyword for negative prefix syntax. Write tests for negative prefix syntax 2019-06-28 10:11:47 -06:00
prefixSelector.js Use postcss-selector-parser class escape handling 2019-02-27 13:43:26 -05:00
processPlugins.js Allow variant plugins to tell Tailwind they should stack (#2382) 2020-09-14 09:12:36 -04:00
resolveConfig.js Support defining variants as functions for easier extending (#2309) 2020-09-04 10:59:02 -04:00
responsive.js Replaces use of Lodash isArray with built-in Array.isArray 2019-07-13 16:52:07 +02:00
useMemo.js introduce a useMemo utility 2020-08-18 08:21:33 -04:00
usesCustomProperties.js Add support for background images and 2/3-color-stop gradients 2020-08-16 15:23:49 -04:00
withAlphaVariable.js Improve API, support auto-transparent to, rename gradientColor plugin 2020-08-17 11:05:06 -04:00
wrapWithVariants.js Only wrap with variants if rules don't already contain any variants 2020-07-15 17:28:33 -04:00