- Fixed bug where
--overlay-opacity
was not applied.
- Added support for centered bars.
- 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.
- Bar
mode
property is removed. Due to the nature of dialog elements and the removal of content wrap, onlyfloat
mode can be supported. - "Polyfilling" dvh units is removed. Bars will use
dvh
anddvw
units withvh
andvw
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
.