Welcome to release 0.9.0 of navbar-card! This one comes with a handful of new features 🎊
Support for double_tap_action
With this new release, both routes and popup items can be configured to react to double click events, using the double_tap_action
field.
type: custom:navbar-card
routes:
- icon: mdi:label
double_tap_action:
action: open-popup
tap_action:
action: toggle-menu
popup:
- icon: mdi:cog
label: Settings
url: /config/dashboard
Ripple effect for buttons
Minor change, but a much needed improvement, is the addition of ripple effect for clickable elements in navbar-card.
Support for toggle-sidebar
on all actions
In the previous release, support for a custom toggle-sidebar
action was added for tap_action
events. As of this new release, toggle-sidebar
is supported for tap_action
, hold_action
and double_tap_action
ESC key to close popup
Another minor but useful change, is the addition of a listener for ESC keys, when a popup is open. Allowing for easier interaction with navbar-card on desktop devices.
All changes in this release
- Added support for
double_tap_action
- Ripple effect for buttons
- Support for
toggle-sidebar
on all actions (closes #52 ) - ESC key to close popup
- Improvements on configuration checking
- Refactor event handling logic