Releases: clarinetJWD/lovelace-yet-another-expander-card
Releases · clarinetJWD/lovelace-yet-another-expander-card
v0.0.4
Release version v0.0.4.
Changes since v0.0.2:
New Features and Functionality Changes
- Made Title optional, and default to blank.
- Added a second text field "button-text" that shows immediately to the left of the button.
- Added font size options for both the title text and button text.
- Default font sizes are determined by global CSS variable
paper-font-button_-_font-size
before defaulting to1em
.
Bug Fixes
- Fixed an issue where internal CSS variable names could collide with global theme variables leading to unexpected results.
- Fixed an issue where the button-background color might not be applied successfully. (CSS variable generation issue)
- Made sure that "clear" fully clears the card, regardless of other CSS variable states.
- Fixed an issue where the text and button color was not using the default text color for the theme.
Known Issues and Workarounds
- When the card is initially generated, the "expander-card" class ha-card will also add the class for its parent card. This can result in CSS styles from the parent card being erroneously applied to the expander card. I added a work-around that enforces the background color on the expander-card and marks it as !important to ensure it doesn't inherit background color from the parent. (If anyone knows why the extra class is added, and can fix that, it would solve a lot of issues I had).
Full Changelog: v0.0.3f...v0.0.3g
v0.0.3
Release version v0.0.3.
Full Changelog: V0.0.2...v0.0.3