Skip to content

v0.4.0 - Visual Editor, Hide/Disable & Tab Name

Choose a tag to compare

@spasma spasma released this 25 May 15:20
v0.4.0
15db9f7

🚨 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 hide attribute (boolean or Jinja template)
  • Added support for disabling tabs using the disable attribute (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-bar and @material/mwc-tab to the newer @material/web package
    • 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)

Full Changelog: v0.3.5...v0.4.0