Release 22.0.0
Angular 22 release of @ngbracket/ngx-layout.
⚠ BREAKING CHANGES
- Default* directives removed (#112) — replace each
Default<X>Directivewith<X>Directive(e.g.DefaultFlexDirective→FlexDirective). The base directives have identical selectors and behavior, so only the import/symbol name changes. fxLayoutGapnow emits the CSSgapproperty on the container rather thanmarginon children, so the element must be a flex container (applyfxLayout) for the gap to take effect. The legacy" grid"suffix is still accepted but is now equivalent to a plain gap.
Features
- breakpoints: add opt-in
MATERIAL_BREAKPOINTSpreset (#26, #111) - layout-gap: use CSS
gapinstead of child margins (#43, #110) - Upgrade to Angular 20, then Angular 22
- Provider function for standalone components and SSR testing support
Bug Fixes
- core: guard against undefined
element.styleduring style flush (#57, #108) - layout-gap: use direction-independent CSS properties for
fxLayoutGap(#95, #106)
See CHANGELOG.md for the full list.