linkedin / linkedin/css-blocks
Conflict Resolver API Changes
Open
@css-blocks/core
bug
enhancement
- Dominant language
- TypeScript
- Stars
- 6.3k
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
The current resolver resolves all selectors that match the target block object in the key selector. This means that states targeting that same object get overridden too. That seemed like a good idea, but it turns out to be sub-optimal for many use cases, especially inheritance (which is a resolution abstraction)
A new syntax for resolution is documented in the readme and needs to be implemented.
https://github.com/css-blocks/css-blocks/blob/master/README.md#resolving-state-conflicts
Contributor guide
Assessment
This issue has not been assessed yet.