tailwindcss/src
Jordan Pittman 1402be2dd0
Handle utilities with multiple and/or grouped selectors better (#8262)
* Add failing test cases

* Flatten finalizeSelector code

* Use AST operations to format selector classes

With this change we only parse the selector once and operate on the AST until we need to turn it back into a selector. In addition this lets us solve an issue where .replace(…) did the wrong thing because it doesn’t understand that .base and .base-foo are two different classes

* Remove extraneous, non-matching selectors from utilities

* Update changelog
2022-05-03 13:10:27 -04:00
..
css Remove default [hidden] style in preflight (#8248) 2022-05-02 10:30:06 -04:00
lib Only check selectors containing apply candidates for circular dependencies (#8222) 2022-05-02 11:11:21 -04:00
postcss-plugins/nesting Redirect to the up-to-date plugin url (#8081) 2022-04-11 13:06:10 -04:00
public Improve warnings (#5666) 2021-10-01 11:47:02 -04:00
util Handle utilities with multiple and/or grouped selectors better (#8262) 2022-05-03 13:10:27 -04:00
cli-peer-dependencies.js Improve new JIT-compatible CLI (#4558) 2021-06-04 10:28:09 -04:00
cli.js Support postcss config options in config file in the CLI (#8226) 2022-04-28 15:14:36 -04:00
constants.js Adds support for tailwind.config.cjs files (#3181) 2021-05-07 13:56:10 -04:00
corePlugins.js Re-enable new features 2022-04-12 14:13:04 -04:00
featureFlags.js Replace chalk with picocolors (#6039) 2022-02-24 16:37:31 +00:00
index.js Re-enable new features 2022-04-12 14:13:04 -04:00
processTailwindFeatures.js Fix @apply order regression (in addComponents, addUtilities, ...) (#7232) 2022-01-27 13:16:44 +01:00