feat(css.breakpoints): add constraint-based CSS breakpoint helpers and container context utilities
This commit is contained in:
10
changelog.md
10
changelog.md
@@ -1,5 +1,15 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-03-11 - 2.4.0 - feat(css.breakpoints)
|
||||
add constraint-based CSS breakpoint helpers and container context utilities
|
||||
|
||||
- Introduce constraint-based API: ICssForConstraints and buildCondition for composing min/max width conditions
|
||||
- Add cssForViewport and cssForContainer helpers to centralize @container and @media generation
|
||||
- Add curried factories cssForCustom and cssForCustomContainer for reusable custom constraint styles
|
||||
- Add containerContextStyles to generate container-name/type host styles used with container queries
|
||||
- Refactor existing presets (cssForDesktop, cssForNotebook, cssForTablet, cssForPhablet, cssForPhone) to delegate to the new helpers while preserving behaviour
|
||||
- Import css from 'lit' (in addition to CSSResult and unsafeCSS) to support the new containerContextStyles factory
|
||||
|
||||
## 2026-03-05 - 2.3.9 - fix(deps)
|
||||
bump dependency and devDependency versions, update lik import paths, add tsbundle config, export test start, and tidy readme install snippet
|
||||
|
||||
|
||||
Reference in New Issue
Block a user