Angular powered Bootstrap
This release improves navs accessibility and introduces a new accordion implementation based on directives. The new implementation is more flexible and allows for easier customization. Old accordion implementation is still available, but deprecated and will be removed in one of the future major releases.
See the documentation for more details.
OnPush
change detection strategy behavior (#4480) (d39d508)NgbAccordionItem
directive to the template (#4479) (c0c6358)NgbAccordionButton
directive (f1eefe0)NgbNavLink
on a button element (7db38b8)aria-textvalue
(#4453) (064fef3)Fixes a DI issue with modal dependencies in lazy-loaded modules introduced in 14.0.0
.
NgbModal
at the correct level (#4464) (8ac01c2), closes #4447
inject
for NgbRTL
dependency (7f2146d), closes #4403
text-bg-color
class when no textType
(#4461) (54bf804)'bootstrap/scss/bootstrap'
imports (#4465) (56b166b), closes #4463
This release bumps minimum supported versions to Angular 15.0.0, Bootstrap 5.2.3 and Popper 2.11.6.
It also introduces support for standalone components, which means that you can now import ng-bootstrap inside your standalone components in 3 ways:
imports: [NgbModule] // import all ng-bootstrap components
imports: [NgbNavModule] // import a certain type of components
imports: [NgbNav, NgbNavOutlet, etc... ] // import required components individually
The demo site, stackblitzes and documentation have been updated to reflect these changes.
This release bumps minimum supported versions to Angular 15.0.0, Bootstrap 5.2.3 and Popper 2.11.6.
It also introduces support for standalone components, which means that you can now import ng-bootstrap inside your standalone components in 3 ways:
imports: [NgbModule] // import all ng-bootstrap components
imports: [NgbNavModule] // import a certain type of components
imports: [NgbNav, NgbNavOutlet, etc... ] // import required components individually
The demo site, stackblitzes and documentation have been updated to reflect these changes.
This release adds several features, notably:
positionTarget
for popovers and tooltipsNgbDateStructAdapter
to export list (#4335) (a6e9f2e)@angular/localize
to devDependencies
(5289e8a)exportAs
property for ngbTimepicker (#3980) (94e7b35)popperOptions
API (#4323) (a6f6803)tabindex
with provided value (#4309) (9d80e66)This release adds Angular 14.1 and Bootstrap 5.2.0 support. It also removes deprecated checkboxes and radio buttons.
-bs-xxx
variables for colors (3012aaf)ComponentFactory
with new createComponent
API (9a011f3), closes #4343
setInput()
API instead of setting inputs manually (eec4e43)This is the first beta version that adds Angular 14 support.