Jordan Pittman 7c337f24fc
Only check selectors containing apply candidates for circular dependencies (#8222)
* Only check selectors containing base apply candidates for circular dependencies

When given a two rule like `html.dark .a, .b { … }` and `html.dark .c { @apply b }` we would see `.dark` in both the base rule and the rule being applied and consider it a circular dependency. However, the selectors `html.dark .a` and `.b` are considered on their own and is therefore do not introduce a circular dependency.

This better matches the user’s mental model that the selectors are just two definitions sharing the same properties.

* Update changelog
2022-05-02 11:11:21 -04:00
..
2021-12-15 18:13:09 +01:00
2022-04-12 14:13:04 -04:00
2022-04-12 14:13:04 -04:00
2022-04-12 14:13:04 -04:00
2022-04-12 14:13:04 -04:00
2022-04-12 14:13:04 -04:00
2022-04-12 14:13:04 -04:00
2022-04-12 14:13:04 -04:00
2022-04-12 14:13:04 -04:00
2022-04-12 14:13:04 -04:00
2021-09-21 12:43:44 -04:00
2021-09-21 12:37:49 -04:00
2022-04-12 14:13:04 -04:00
2022-04-12 14:13:04 -04:00