Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Releases: arkon/ng-sidebar

v7.2.0

30 May 03:41
Compare
Choose a tag to compare

New Features

  • Allow components with "ng-sidebar" attribute to be a sidebar, allowing encapsulation (#145)

v7.1.0

03 Apr 22:52
Compare
Choose a tag to compare

Bug fixes

  • Fixes an issue where tabindex might be removed from elements if it was explicitly set (in #72)

v7.0.0

01 Feb 02:45
Compare
Choose a tag to compare

Breaking Changes

  • Bump peer dependency to Angular 5 -- it's far too much effort to attempt to support multiple major versions of Angular (if it's even possible at all)

New Features

  • Added [autoCollapseOnInit] (#136)
  • Add (onTransitionEnd) (#137)

v6.0.4

09 Oct 19:08
Compare
Choose a tag to compare

Bug fixes

  • Make sure sidebar isn't visible on load even when it shouldn't be (#112)

v6.0.3

09 Oct 19:07
Compare
Choose a tag to compare

Bug fixes

  • Make scrolling on mobile a bit better (#119)

v6.0.2

09 Sep 02:35
Compare
Choose a tag to compare

Bug fixes

v6.0.0

26 Jun 21:14
Compare
Choose a tag to compare

Breaking changes

  • SidebarService has been removed
  • Default white background for sidebars was removed to avoid having to use dirty !important hacks
  • .ng-sidebar-container--animate removed in favour of .ng-sidebar__content--animate
  • [sidebarContentClass] renamed to [contentClass]

New features

These are also sort of breaking changes...

  • 🚨 IMPORTANT 🚨: Page content should be wrapped in a tag with the ng-sidebar-content attribute:
<ng-sidebar-container>
  <ng-sidebar>
    <!-- Your sidebar stuff -->
  </ng-sidebar>

  <div ng-sidebar-content>
    <!-- Your page content -->
  </div>
</ng-sidebar-container>

Bug fixes

  • With the new ng-sidebar-content wrapper, the issue (#79) where sidebar contents didn't remain "fixed" to the top in slide mode is fixed ✨
  • Everything should work better within a container (#51)
  • Backdrop no longer covers the sidebar when in slide mode (#94)

v5.0.0

01 Jun 20:27
Compare
Choose a tag to compare

Breaking changes

  • ViewEncapsulation is no longer None but instead the default setting (Emulated)
  • [trapFocus] now defaults to false since it would cause issues if there's multiple sidebars open
  • dock mode removed, because...

New features

  • [dock] input added -- now any mode can be docked when closed!

Misc

  • Server-side rendering fixes
  • Tweaks to how the container's animations are handled in the CSS

Code changes: f04b627...47582a5

v4.2.2

26 Apr 14:48
Compare
Choose a tag to compare

Bug fixes

  • Fix #70: set focus after transitionend to prevent scroll jump
  • Potentially fix #72: weird tabindex bug

v4.2.0

22 Apr 01:17
Compare
Choose a tag to compare

New features

  • Add closeOnClickBackdrop option (#69)