npm @ng-bootstrap/ng-bootstrap 12.0.0

latest releases: 17.0.1, 17.0.0, 16.0.0...
2 years ago

This release adds Bootstrap 5 support.

Features

  • upgrade to bootstrap 5.0.0 (5f51908)
  • carousel: rename left right classes for positioning (bebd9ab)
  • datepicker: rename left right classes for positioning (a821d49)
  • dropdown: rename left right classes for positioning (da5d6d1)
  • popover: rename left right classes for positioning (23da190)
  • positioning: rename left and right classes (486a929)
  • tooltip: rename left right classes for positioning (e9bb545)
  • typeahead: rename left right classes for positioning (4628503)

Bug Fixes

  • .ml- and .mr- to .ms- and .me- (ca40910)
  • .pl- and .pr- to .ps- and .pe- (ae3a3fe)
  • .text-left .text-right to .text-start .text-end (65f8954)
  • accordion: follow bootstrap 5 markup (29f61d5)
  • accordion: update classes for the headers (7565054)
  • alert: new css class for close button (#3976) (43bae41)
  • button: button group (d598cb4)
  • dropdown: manage static menu (65ba6c3)
  • modal: adds overflow: hidden from code and fixes scrollbar measurement (5c58309), closes #4128
  • modal: close button (4794632)
  • modal: upgrade z-index for backdrop (fc84cb1)
  • popover: fix positioning after the beta2 (e782244)
  • positioning: use popper 2 for positioning (#4129) (5842eb5)
  • tabset: radios on the tabset demo (2294275)
  • toast: default delay and toasts container removal (ed5aca9)
  • toast: new css class for btn-close (#3986) (7dcead9)
  • add navbar containers when needed (9b0ade5)
  • change custom-select by form-select (5ec43b6)
  • e2e failed because of changed error message (e8a604a)
  • e2e failed because of dependencies (ff66111)
  • icon layout in input-group (e4ac56a)
  • margins/layout issues (e5e8461)
  • refactor form-inline and form-group (ddfde57)
  • rename float-left float-right to float-start float-end (292e123)
  • renamed .font-weight- utilities as .fw- (#3979) (1c2add3)
  • renamed .sr-only to .visually-hidden (#3982) (09eb6b2)
  • small sidebar fixes (a6f4dac)

BREAKING CHANGES

  • positioning: ng-bootstrap adds "@popperjs/core": "^2.10.2" as a peer dependency. All positioning logic for datepicker, dropdown, popover, tooltip and typeahead is outsourced to popper.js.
  • NgbSlideEventDirection : LEFT and RIGHT have been renamed to START and END

Before:

NgbSlideEventDirection.LEFT
NgbSlideEventDirection.RIGHT

After:

NgbSlideEventDirection.START
NgbSlideEventDirection.END

Don't miss a new ng-bootstrap release

NewReleases is sending notifications on new releases.