v0.4.0 - Visual Editor, Hide/Disable & Tab Name
🚨 WARNING: This is a breaking change release for styling properties. Please read the release notes carefully.
0.4.0 (2025-05-25)
New Features
- Added support for hiding tabs using the
hideattribute (boolean or Jinja template) - Added support for disabling tabs using the
disableattribute (boolean or Jinja template) - Added support for dynamic tab labels using Jinja templates
Improvements
- Improved error handling for tab selection events
- Added registry patch to prevent conflicts with Home Assistant's built-in Material Web components
- Added support for the visual editor for configuring tabs and their properties
- Support for adding, removing, and configuring tabs visually
- JSON editing for card configurations
Breaking Changes
- Material Web Components Migration: Upgraded from deprecated
@material/mwc-tab-barand@material/mwc-tabto the newer@material/webpackage- CSS custom properties for styling have changed:
--mdc-theme-primary→--md-sys-color-primary--mdc-tab-text-label-color-default→--md-sys-color-on-surface-variant--mdc-typography-button-font-size→--md-sys-typescale-label-large-font-size
Check the Material Web documentation for the full list of custom colors and properties.
- Removed support for attributes no longer available in Material Web:
isFadingIndicator(removed)isMinWidthIndicator(removed)minWidth(removed)
- CSS custom properties for styling have changed:
Full Changelog: v0.3.5...v0.4.0