Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.53 KB

CHANGELOG.md

File metadata and controls

31 lines (21 loc) · 1.53 KB

3.1.1

Bug fixes

  • Fixed bug where --overlay-opacity was not applied.

3.1.0

New Features

  • Added support for centered bars.

3.0.0

New features

  • Bars use dialog elements, providing a native accessibility.
  • Multiple bars can now be open simultaneously.
  • Bar can be opened as a modal (restrict interaction to the bar) or as a standard dialog (allow interaction with the content outside).
  • Use CSS custom properties to provide an easy way to customize bar transforms, transitions etc.
  • Wrap elements for Bartender or Bartender content are no longer needed.
  • UMD build is included.
  • Removed all dependencies.

Breaking changes

  • Bar mode property is removed. Due to the nature of dialog elements and the removal of content wrap, only float mode can be supported.
  • "Polyfilling" dvh units is removed. Bars will use dvh and dvw units with vh and vw as fallbacks.
  • Pushable elements are removed. Since the library now supports multiple bars to be open simultaneously, the implementation was proven even more unreliable. Similar feature can be archieved with event listeners and CSS.
  • .bartender--ready class name is changed to .bartender-ready.
  • .bartender__bar class name is changed to .bartender-bar.