From 49ca1cd8627381e2981f57906014f615f08301c9 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 20 Mar 2024 19:37:13 +0000 Subject: [PATCH 1/2] chore(release): 0.12.1 [skip ci] ## [0.12.1](https://github.com/kalkih/mini-graph-card/compare/v0.12.0...v0.12.1) (2024-03-20) ### Bug Fixes * tooltip interval start could be after end ([#1065](https://github.com/kalkih/mini-graph-card/issues/1065)) ([930ee39](https://github.com/kalkih/mini-graph-card/commit/930ee39f51744bc11f580f4198f579b5213371ca)), closes [#181](https://github.com/kalkih/mini-graph-card/issues/181) --- CHANGELOG.md | 7 +++++++ README.md | 6 +++--- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd907d3c..bb6c1715 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [0.12.1](https://github.com/kalkih/mini-graph-card/compare/v0.12.0...v0.12.1) (2024-03-20) + + +### Bug Fixes + +* tooltip interval start could be after end ([#1065](https://github.com/kalkih/mini-graph-card/issues/1065)) ([930ee39](https://github.com/kalkih/mini-graph-card/commit/930ee39f51744bc11f580f4198f579b5213371ca)), closes [#181](https://github.com/kalkih/mini-graph-card/issues/181) + # [0.12.0](https://github.com/kalkih/mini-graph-card/compare/v0.11.0...v0.12.0) (2024-01-27) diff --git a/README.md b/README.md index 5ea39508..de2e2a38 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ This card is available in [HACS](https://hacs.xyz/) (Home Assistant Community St 2. Grab `mini-graph-card-bundle.js`: ``` - $ wget https://github.com/kalkih/mini-graph-card/releases/download/v0.12.0/mini-graph-card-bundle.js + $ wget https://github.com/kalkih/mini-graph-card/releases/download/v0.12.1/mini-graph-card-bundle.js ``` 3. Add the resource reference as decribed below. @@ -37,7 +37,7 @@ If you configure Lovelace via YAML, add a reference to `mini-graph-card-bundle.j ```yaml resources: - - url: /local/mini-graph-card-bundle.js?v=0.12.0 + - url: /local/mini-graph-card-bundle.js?v=0.12.1 type: module ``` @@ -60,7 +60,7 @@ Else, if you prefer the graphical editor, use the menu to add the resource: ```yaml resources: - - url: /local/mini-graph-card-bundle.js?v=0.12.0 + - url: /local/mini-graph-card-bundle.js?v=0.12.1 type: module ``` diff --git a/package-lock.json b/package-lock.json index 48b23da6..baf1deea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "mini-graph-card", - "version": "0.12.0", + "version": "0.12.1", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index c9346372..f55e263c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mini-graph-card", - "version": "0.12.0", + "version": "0.12.1", "description": "A minimalistic and customizable graph card for Home Assistant Lovelace UI", "keywords": [ "home-assistant", From 8a551e8b96e3bf18d5879d6297557c1c775df4a9 Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Wed, 15 May 2024 19:26:13 +0300 Subject: [PATCH 2/2] fix indicator for the 1st state --- src/style.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/style.js b/src/style.js index e8d4f385..497c2aeb 100644 --- a/src/style.js +++ b/src/style.js @@ -168,6 +168,10 @@ const style = css` max-width: 100%; min-width: 0; } + .state > svg { + align-self: center; + border-radius: 100%; + } .state--small { font-size: .6em; margin-bottom: .6rem;