- Typed events
- Removed incorrect global type declaration
- Fixed bug where
--overlay-opacitywas 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
modeproperty is removed. Due to the nature of dialog elements and the removal of content wrap, onlyfloatmode can be supported. - "Polyfilling" dvh units is removed. Bars will use
dvhanddvwunits withvhandvwas 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--readyclass name is changed to.bartender-ready..bartender__barclass name is changed to.bartender-bar.