Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ng-bootstrap/ng-bootstrap

Package Overview
Dependencies
Maintainers
5
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ng-bootstrap/ng-bootstrap - npm Package Versions

23
16

17.0.1

Diff

Changelog

Source

17.0.1 (2024-08-28)

Hopefully fixes that one datepicker bug with weekday labels.

Also replacing NgZone.onStable() with afterRender()/afterNextRender() internally and using esbuild with zoneless CD for the demo site.

Bug Fixes

  • datepicker: generate weekday labels in correct order (04010d6)
  • datepicker: config not inherited from datepicker-input (db14075), closes #3848
  • datepicker: global config not applied (18919c9), closes #4697

This release bumps minimum required versions to Angular 18.0.0.

We do not officially support provideExperimentalZonelessChangeDetection() yet, it will come in a future minor release. Please remember this an experimental API, follow #4709 and open new issues if you find any problems.

Signal support will come later, most likely in the next major release.

Bug Fixes

  • datepicker: track weekdays by $index (#4712) (ca1028d)
  • datepicker: track weekdays by index to avoid clashes (7c693d6)
  • datepicker: type of ngAcceptInputType_weekdays (5ad11bb)
  • pagination: track page by index since -1 can be there twice (1d190a8)
  • timepicker: get period from angular formatDate (56b0368)
  • typeahead track by index in NgbHighlight (#4707) (2085265), closes #4705
  • typeahead: track results by index in NgbTypeahead (#4711) (fa8aba9), closes #4702
maxokorokov
published 17.0.0 •

Changelog

Source

17.0.1 (2024-08-28)

Hopefully fixes that one datepicker bug with weekday labels.

Also replacing NgZone.onStable() with afterRender()/afterNextRender() internally and using esbuild with zoneless CD for the demo site.

Bug Fixes

  • datepicker: generate weekday labels in correct order (04010d6)
  • datepicker: config not inherited from datepicker-input (db14075), closes #3848
  • datepicker: global config not applied (18919c9), closes #4697

This release bumps minimum required versions to Angular 18.0.0.

We do not officially support provideExperimentalZonelessChangeDetection() yet, it will come in a future minor release. Please remember this an experimental API, follow #4709 and open new issues if you find any problems.

Signal support will come later, most likely in the next major release.

Bug Fixes

  • datepicker: track weekdays by $index (#4712) (ca1028d)
  • datepicker: track weekdays by index to avoid clashes (7c693d6)
  • datepicker: type of ngAcceptInputType_weekdays (5ad11bb)
  • pagination: track page by index since -1 can be there twice (1d190a8)
  • timepicker: get period from angular formatDate (56b0368)
  • typeahead track by index in NgbHighlight (#4707) (2085265), closes #4705
  • typeahead: track results by index in NgbTypeahead (#4711) (fa8aba9), closes #4702
maxokorokov
published 16.0.0 •

Changelog

Source

16.0.0 (2023-11-22)

This release bumps minimum required versions to Angular 17.0.0 and Bootstrap 5.3.2.

Main features:

  • dark mode support for all components and demo site.
  • new stacked progressbar markup in Bootstrap 5.3 allowed us to do the long-standing stacked progressbar feature request.
  • Ethiopian calendar for datepicker.
  • old component-based accordion implementation is removed (it was deprecated in 14.1.0 in favor of directive-based implementation).
  • we're using new control flow syntax internally and for all demos.

Please make sure to check the BREAKING CHANGES section below.

Bug Fixes

  • use setInput where possible for dynamic components (f29a7b5)
  • datepicker: fix day hover color in dark mode (519bbc3)
  • dropdown: add show class to dropdown toggle when dropdown is open (#4532) (6bf2ab0), closes #4531
  • nav: NgbNavLinkBase matches multiple times (02ab48b), closes #4594
  • schematics: use getMainFilePath() to get main project file (acd635a)
  • tooltip: add offset to align with Bootstrap 5.3 (6fd04af), closes #4574
  • datepicker: startDate type should accept dates with days (#4618) (81ec20a), closes #4616
  • accordion: allow querying body template (#4625) (472d842), closes #4623
  • dropdown: allow setting custom tabindex on items (#4626) (3d9f052), closes #4592
  • nav: correct focus handing with keyboard (184b6bd)

Features

  • bootstrap 5.3 and dark mode (99c2162), closes #4450
  • add axe a11y tests of the demo site (#4588) (b573a2b)
  • progressbar: add stacked progressbar (#4621) (1982133)
  • datepicker: add ethiopian date picker (bf02fb0), closes #4499
  • migrate to the new control flow syntax (6c3570b)
  • accordion: remove type from configuration (ed7732a)
  • accordion: remove component-based version (7aab9e3)
  • dropdown: remove deprecated NgbNavbar directive (c2c8061)

BREAKING CHANGES

  • minimum required versions are now Angular 17.0.0, Bootstrap 5.3.2 and Popper 2.11.8
  • accordion: removed component-based accordion. It was deprecated in 14.1.0
  • accordion: removed type property from the NgbAccordionConfig. It was deprecated in 14.1.0.
  • we use 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.
  • nav: NgbNavbar directive is removed, as it is no longer required. It was deprecated in 14.2.0.
  • nav: default value for the @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
maxokorokov
published 16.0.0-rc.2 •

maxokorokov
published 16.0.0-rc.1 •

maxokorokov
published 16.0.0-rc.0 •

maxokorokov
published 15.1.2 •

Changelog

Source

15.1.2 (2023-10-24)

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.

Bug Fixes

  • accordion: initialize destroyOnHide from configuration (a8b39be)
  • rating: generate correct aria-readonly/disabled attributes (#4586) (f99bc96)
  • tooltip: align closing behavior with Bootstrap (55f45fd), closes #3889
  • tooltip: fixed closing on hover from arrow direction (4417ee6), closes #3997
  • tooltip: remove padding for non-standard placements (c7c0978), closes #4369
maxokorokov
published 15.1.1 •

Changelog

Source

15.1.1 (2023-08-07)

Bug Fixes

  • accordion: override destroyOnHide correctly (#4545) (e0f15c6), closes #4541
  • dropdown: fix arrow navigation inside shadow dom (#4548) (995d22d), closes #4540
  • scrollspy: change active to '' (empty) after explicit stop (cec803d)
  • scrollspy: recompute active when unobserving fragments (4dac691)
maxokorokov
published 15.1.0 •

Changelog

Source

15.1.0 (2023-07-06)

This release introduces Scrollspy service and directives.

Features

  • accordion: add 'show' and 'hide' events (#4537) (005290e), closes #4528
  • popover/tooltip: allow specifying context via template (#4512) (56779ae)
  • scrollspy: add scrollspy service and directives (a16430f), closes #5
maxokorokov
published 15.0.1 •

Changelog

Source

15.0.1 (2023-06-06)

Bug Fixes

  • dropdown: set display when inside a navbar and guarded by ngIf (#4521) (05eafb2), closes #4520
  • revert some inputs to optional (#4519) (decfe41), closes #4516 #4518
  • schematics: don't use deprecated --name option (be75dcc)
  • schematics: support apps created with --standalone flag (7f5f7b6), closes #4511
23
16
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc