bsbtd / Teste

0 stars 1 forks source link

[aws-mobile-appsync-chat-starter-angular] Update @ng-bootstrap/ng-bootstrap → 16.0.0 (unknown) #1567

Open depfu[bot] opened 10 months ago

depfu[bot] commented 10 months ago

Welcome to Depfu 👋

This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.

After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.

Let us know if you have any questions. Thanks so much for giving Depfu a try!


Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ @​ng-bootstrap/ng-bootstrap (^4.0.0 → ^16.0.0) · Repo · Changelog

Release Notes

16.0.0

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

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)