Angular powered Bootstrap
This release bumps minimum required versions to Angular 17.0.0
and Bootstrap 5.3.2
.
Main features:
5.3
allowed us to do the long-standing stacked progressbar feature request.14.1.0
in favor of directive-based implementation).Please make sure to check the BREAKING CHANGES
section below.
setInput
where possible for dynamic components (f29a7b5)show
class to dropdown toggle when dropdown is open (#4532) (6bf2ab0), closes #4531
NgbNavLinkBase
matches multiple times (02ab48b), closes #4594
getMainFilePath()
to get main project file (acd635a)startDate
type should accept dates with days (#4618) (81ec20a), closes #4616
type
from configuration (ed7732a)NgbNavbar
directive (c2c8061)17.0.0
, Bootstrap 5.3.2
and Popper 2.11.8
14.1.0
type
property from the NgbAccordionConfig
. It was deprecated in 14.1.0
.inject
function internally more than before, so constructor signatures have changed for all components. If you extend our components (and you really shouldn't do it), you might need to update your code. NgbNavbar
directive is removed, as it is no longer required. It was deprecated in 14.2.0
.@Input() keyboard: boolean | 'changeWithArrows'
was changed from false
to true
, meaning that all navs are now keyboard accessible by default and focus between navs moves with arrow keys. Focusing behavior follows the WAI-ARIA tab recommendation as well as Bootstrap's nav implementation. To turn off keyboard support set keyboard
to false
either on the individual NgbNav
or via NgbNavConfig
This release bumps minimum required versions to Angular 17.0.0
, Bootstrap 5.3.2
and introduces dark mode support for components and demo site.
It also removes old component-based accordion implementation, which was deprecated in 14.1.0
in favor of directive-based implementation.
setInput
where possible for dynamic components (f29a7b5)show
class to dropdown toggle when dropdown is open (#4532) (6bf2ab0), closes #4531
NgbNavLinkBase
matches multiple times (02ab48b), closes #4594
getMainFilePath()
to get main project file (acd635a)type
from configuration (ed7732a)NgbNavbar
directive (c2c8061)17.0.0
, Bootstrap 5.3.2
and Popper 2.11.8
14.1.0
type
property from the NgbAccordionConfig
. It was deprecated in 14.1.0
. NgbNavbar
directive is removed, as it is no longer required. It was deprecated in 14.2.0
.inject
function internally more than before, so constructor signatures have changed for all components. If you extend our components (and you really shouldn't do it), you might need to update your code.This release aligns tooltip closing behavior with Bootstrap (both desktop and mobile), fixes a long-standing bug with tooltip opening issues.
While we don't consider it a breaking change, some complex existing tooltips might behave differently.
destroyOnHide
from configuration (a8b39be)aria-readonly/disabled
attributes (#4586) (f99bc96)display
when inside a navbar and guarded by ngIf
(#4521) (05eafb2), closes #4520
--name
option (be75dcc)--standalone
flag (7f5f7b6), closes #4511
This release bumps minimum supported version of Angular to 16.0.0
.
No new features are introduced since 14.x
, apart from some inputs becoming required.
BEFORE:
<div class="ngb-dp-arrow"> <!-- left -->
<div class="ngb-dp-arrow right"> <!-- right -->
AFTER:
<div class="ngb-dp-arrow ngb-dp-arrow-prev"> <!-- prev -->
<div class="ngb-dp-arrow ngb-dp-arrow-next"> <!-- next -->
toggle()
too early (#4506) (08585a3), closes #4505
NgbAccordionBody
(#4507) (aedbab9), closes #4502
NgbNavbar
usage by DOM call to closest()
(#4471) (c524384), closes #4462
selectOnExact
option (4eb6cc7), closes #4371