Releases: ng-bootstrap/ng-bootstrap
14.1.1
14.1.0
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.
Bug Fixes
- accordion: fix
OnPush
change detection strategy behavior (#4480) (d39d508) - nav: add 'presentation' role to nav items (e88c5c5), closes #4398
Features
- accordion: export
NgbAccordionItem
directive to the template (#4479) (c0c6358) - accordion: add
NgbAccordionButton
directive (f1eefe0) - accordion: new accordion implemented with directives (#4437) (fd56d0e)
- nav: allow using
NgbNavLink
on a button element (7db38b8) - rating: allow customizing
aria-textvalue
(#4453) (064fef3)
14.0.1
Fixes a DI issue with modal dependencies in lazy-loaded modules introduced in 14.0.0
.
Bug Fixes
- modal: provide
NgbModal
at the correct level (#4464) (8ac01c2), closes #4447 - positioning: use
inject
forNgbRTL
dependency (7f2146d), closes #4403 - progressbar: add aria attributes in parent and
text-bg-color
class when notextType
(#4461) (54bf804) - schematics: correct
'bootstrap/scss/bootstrap'
imports (#4465) (56b166b), closes #4463
14.0.0
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.
Bug Fixes
Features
- migrate all components and directives to standalone (5e6d11c)
14.0.0-rc.1
14.0.0-rc.0
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.
13.1.1
13.1.0
This release adds several features, notably:
- the ability to override Popper positioning options for dropdowns, tooltips, popovers, datepickers and typeaheads.
- better RTL support with Popper
- horizontal collapse with animation
- relative
positionTarget
for popovers and tooltips
Bug Fixes
- collapse: restore previous transition logic (#4388) (ec372c3)
- collapse: solved running transition twice (#4374) (9c8bf98)
- datepicker: add
NgbDateStructAdapter
to export list (#4335) (a6e9f2e) - positioning: generate correct RTL placements for popper (5379cd0)
- offcanvas: change animations to be like in Bootstrap 5.2.0 (#4366) (cb4406d)
- schematics: install
@angular/localize
todevDependencies
(5289e8a) - timepicker: add
exportAs
property for ngbTimepicker (#3980) (94e7b35)
Features
- positioning: allow configuring Popper via
popperOptions
API (#4323) (a6f6803) - collapse: add horizontal collapse (98f0527)
- offcanvas: add static backdrop option (#4367) (fe4c798)
- popover: allow specifying target for popover (711bfd3)
- progressbar: add aria-label (6a3ebaa), closes #4133
- rating: allow overriding
tabindex
with provided value (#4309) (9d80e66) - tooltip: allow specifying target for tooltip (dc82372)
13.0.0
This release adds Angular 14.1 and Bootstrap 5.2.0 support. It also removes deprecated checkboxes and radio buttons.
Bug Fixes
- datepicker: better display for a disabled datepicker (52ec5b5)
- datepicker: use
-bs-xxx
variables for colors (3012aaf) - replace
ComponentFactory
with newcreateComponent
API (9a011f3), closes #4343 - use new
setInput()
API instead of setting inputs manually (eec4e43)
BREAKING CHANGES
- buttons: Checkbox and Radio buttons are no longer a part of ng-bootstrap, please use native Angular. They were deprecated in ng-bootstrap 12, see this page for more details.
13.0.0-beta.1
This is the first beta version that adds Angular 14 support.
BREAKING CHANGES
- buttons: Checkbox and Radio buttons are no longer a part of ng-bootstrap, please use native Angular. They were deprecated in ng-bootstrap 12, see this page for more details.