From 8e29c96894d18018ec4b286b9063e0775138f465 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Nov 2025 13:48:13 +0000 Subject: [PATCH 01/11] chore(deps): bump actions/checkout from 5 to 6 Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ba09f6..9761af7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Use Node.js ${{ env.NODE_VERSION }} uses: actions/setup-node@v6 with: @@ -36,7 +36,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Use Node.js ${{ env.NODE_VERSION }} uses: actions/setup-node@v6 with: @@ -60,7 +60,7 @@ jobs: #mkdocs: # runs-on: ubuntu-latest # steps: - # - uses: actions/checkout@v5 + # - uses: actions/checkout@v6 # - name: Setup python ${{ env.PYTHON_VERSION }} # uses: actions/setup-python@v6 # with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b19937..08df675 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: new_release_version: ${{ steps.semantic.outputs.new_release_version }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Use Node.js ${{ env.NODE_VERSION }} uses: actions/setup-node@v6 with: From e6fcb185e6ed55f6849da672a0f3bcedfb538264 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Dec 2025 12:59:24 +0000 Subject: [PATCH 02/11] chore(deps): bump actions/cache from 4 to 5 Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ba09f6..70530fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: with: node-version: ${{ env.NODE_VERSION }} - name: Cache Node.js modules - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: node_modules key: ${{ runner.OS }}-node-${{ env.NODE_VERSION }}-${{ hashFiles('yarn.lock') }} @@ -42,7 +42,7 @@ jobs: with: node-version: ${{ env.NODE_VERSION }} - name: Cache Node.js modules - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: node_modules key: ${{ runner.OS }}-node-${{ env.NODE_VERSION }}-${{ hashFiles('yarn.lock') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b19937..cc21d6b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: with: node-version: ${{ env.NODE_VERSION }} - name: Cache Node.js modules - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: node_modules key: ${{ runner.OS }}-node-${{ env.NODE_VERSION }}-${{ hashFiles('yarn.lock') }} From 49905511d405fabb91e5a2adc9fa5992435689f2 Mon Sep 17 00:00:00 2001 From: dcapslock Date: Wed, 11 Feb 2026 20:53:26 +1100 Subject: [PATCH 03/11] build: Fix links in package.json --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c8a1bfe..bb5481b 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/dcapslock/flipdown-timer-card.git" + "url": "git+https://github.com/Lint-Free-Technology/flipdown-timer-card.git" }, "keywords": [ "lovelace" @@ -26,9 +26,9 @@ ], "license": "MIT", "bugs": { - "url": "https://github.com/dcapslock/flipdown-timer-card/issues" + "url": "https://github.com/Lint-Free-Technology/flipdown-timer-card/issues" }, - "homepage": "https://github.com/dcapslock/flipdown-timer-card#readme", + "homepage": "https://github.com/Lint-Free-Technology/flipdown-timer-card#readme", "devDependencies": { "@babel/core": "^7.12.3", "@babel/plugin-proposal-class-properties": "^7.12.1", From 03a1f7137efa8580185eae4711a556223320fbc7 Mon Sep 17 00:00:00 2001 From: dcapslock Date: Wed, 11 Feb 2026 20:54:01 +1100 Subject: [PATCH 04/11] build: Add context for rollup to fix formatjs warning/issue --- rollup.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/rollup.config.js b/rollup.config.js index c78c9c1..130f5da 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -49,5 +49,6 @@ export default [ watch: { exclude: 'node_modules/**', }, + context: 'window', }, ]; From b1d363c7babf5ad63edeebbdebd353bf6c4bc9fb Mon Sep 17 00:00:00 2001 From: dcapslock Date: Wed, 11 Feb 2026 20:55:44 +1100 Subject: [PATCH 05/11] fix: Styling button width fails when buttons are placed at bottom. Fixes #13 --- src/styles.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/styles.ts b/src/styles.ts index 6db7834..6c7518a 100755 --- a/src/styles.ts +++ b/src/styles.ts @@ -270,10 +270,9 @@ export const styles = css` .flipdown .button-group.button-bottom .btn-top, .flipdown .button-group.button-bottom .btn-bottom { overflow: hidden; - width: var( - var(--flipdown-button-width, var(--button-width, 50px)), - calc(var(--flipdown-rotor-width, var(--rotor-width, 50px)) * 2 + 5px) - ); + --flipdown-calculated-button-width: calc(var(--flipdown-rotor-width, var(--rotor-width, 50px)) * 2 + 5px); + --flipdown-styled-button-width: var(--flipdown-button-width, var(--button-width)); + width: var(--flipdown-styled-button-width, var(--flipdown-calculated-button-width)); margin: 0px; height: var(--flipdown-button-height, var(--button-height, 20px)); padding: 0px; From c25cb70bcb2beeff79537f04824ddb6506def9d4 Mon Sep 17 00:00:00 2001 From: dcapslock Date: Wed, 11 Feb 2026 21:03:31 +1100 Subject: [PATCH 06/11] build: Update console installed notification branding --- src/flipdown-timer-card.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/flipdown-timer-card.ts b/src/flipdown-timer-card.ts index 60e8297..3c1c661 100755 --- a/src/flipdown-timer-card.ts +++ b/src/flipdown-timer-card.ts @@ -11,11 +11,12 @@ import { FlipDown } from './library/flipdown.js'; import { styles } from './styles'; /* eslint no-console: 0 */ -console.info( - `%c FLIPDOWN-TIMER-CARD \n%c ${localize('common.version')} ${pjson.version} `, - 'color: orange; font-weight: bold; background: black', - 'color: white; font-weight: bold; background: dimgray', +console.groupCollapsed( + `%c💡 FLIPDOWN-TIMER-CARD ${pjson.version} IS INSTALLED 💡`, + 'color: white; background-color: #CE3226; padding: 2px 5px; font-weight: bold; border-radius: 5px;', ); +console.log('Readme:', 'https://github.com/Lint-Free-Technology/flipdown-timer-card'); +console.groupEnd(); // This puts your card into the UI card picker dialog (window as any).customCards = (window as any).customCards || []; From e40e16f06249a0229f01595bf289002f1f2d718f Mon Sep 17 00:00:00 2001 From: dcapslock Date: Wed, 11 Feb 2026 21:13:10 +1100 Subject: [PATCH 07/11] chore(ci): Add types to commit presets for semantic-release --- release.config.cjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/release.config.cjs b/release.config.cjs index c9bcf25..fa866e9 100644 --- a/release.config.cjs +++ b/release.config.cjs @@ -19,6 +19,11 @@ module.exports = { { type: 'doc', hidden: false, section: 'Documentation' }, { type: 'docs', hidden: false, section: 'Documentation' }, { type: 'chore', hidden: true, section: 'Chores' }, + { type: 'build', hidden: false, section: 'Miscellaneous' }, + { type: 'ci', hidden: false, section: 'Miscellaneous' }, + { type: 'refactor', hidden: false, section: 'Miscellaneous' }, + { type: 'perf', hidden: false, section: 'Miscellaneous' }, + { type: 'test', hidden: false, section: 'Miscellaneous' }, ], }, }, From bafb44bc3b61dfd34535fa2a1b5d43d854bb33d3 Mon Sep 17 00:00:00 2001 From: dcapslock Date: Wed, 11 Feb 2026 21:16:22 +1100 Subject: [PATCH 08/11] chore(ci): Update incorrect repository URL --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 14822f4..7d43c1b 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/Lint-Free-Technology/flipdown-timer-card.git" + "url": "git@github.com:Lint-Free-Technology/flipdown-timer-card.git" }, "keywords": [ "lovelace" From c02517f4930d6364f79398730301b975bb7054e8 Mon Sep 17 00:00:00 2001 From: dcapslock Date: Wed, 11 Feb 2026 21:24:04 +1100 Subject: [PATCH 09/11] chore(ci): Adjust release permission --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5656bce..dc21053 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,6 +2,11 @@ name: Release on: workflow_dispatch +permissions: + contents: write + issues: write + pull-requests: write + env: NODE_VERSION: '24.x' PYTHON_VERSION: '3.13' From 61ec69858e1af8606cb26674f9b4a220039d0dcf Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 11 Feb 2026 10:25:23 +0000 Subject: [PATCH 10/11] chore(release): 1.1.1-dev.1 [skip ci] ## [1.1.1-dev.1](https://github.com/Lint-Free-Technology/flipdown-timer-card/compare/v1.1.0...v1.1.1-dev.1) (2026-02-11) ### Bug Fixes * Styling button width fails when buttons are placed at bottom. ([b1d363c](https://github.com/Lint-Free-Technology/flipdown-timer-card/commit/b1d363c7babf5ad63edeebbdebd353bf6c4bc9fb)), closes [#13](https://github.com/Lint-Free-Technology/flipdown-timer-card/issues/13) ### Miscellaneous * Add context for rollup to fix formatjs warning/issue ([03a1f71](https://github.com/Lint-Free-Technology/flipdown-timer-card/commit/03a1f7137efa8580185eae4711a556223320fbc7)) * Fix links in package.json ([4990551](https://github.com/Lint-Free-Technology/flipdown-timer-card/commit/49905511d405fabb91e5a2adc9fa5992435689f2)) * Update console installed notification branding ([c25cb70](https://github.com/Lint-Free-Technology/flipdown-timer-card/commit/c25cb70bcb2beeff79537f04824ddb6506def9d4)) --- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ffca234..216bc92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## [1.1.1-dev.1](https://github.com/Lint-Free-Technology/flipdown-timer-card/compare/v1.1.0...v1.1.1-dev.1) (2026-02-11) + +### Bug Fixes + +* Styling button width fails when buttons are placed at bottom. ([b1d363c](https://github.com/Lint-Free-Technology/flipdown-timer-card/commit/b1d363c7babf5ad63edeebbdebd353bf6c4bc9fb)), closes [#13](https://github.com/Lint-Free-Technology/flipdown-timer-card/issues/13) + +### Miscellaneous + +* Add context for rollup to fix formatjs warning/issue ([03a1f71](https://github.com/Lint-Free-Technology/flipdown-timer-card/commit/03a1f7137efa8580185eae4711a556223320fbc7)) +* Fix links in package.json ([4990551](https://github.com/Lint-Free-Technology/flipdown-timer-card/commit/49905511d405fabb91e5a2adc9fa5992435689f2)) +* Update console installed notification branding ([c25cb70](https://github.com/Lint-Free-Technology/flipdown-timer-card/commit/c25cb70bcb2beeff79537f04824ddb6506def9d4)) + ## [1.1.0](https://github.com/dcapslock/flipdown-timer-card/compare/v1.0.1...v1.1.0) (2025-11-07) ### Features diff --git a/package.json b/package.json index 7d43c1b..a0f0a17 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flipdown-timer-card", - "version": "1.1.0", + "version": "1.1.1-dev.1", "description": "Flipdown timer card for lovelace", "main": "dist/flipdown-timer-card.js", "type": "module", From ded36992e15af39e193366d38b363b223bcdcf11 Mon Sep 17 00:00:00 2001 From: dcapslock Date: Wed, 11 Feb 2026 21:37:48 +1100 Subject: [PATCH 11/11] chore(ci): Add icons to release notes. Update dev to beta. --- release.config.cjs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/release.config.cjs b/release.config.cjs index fa866e9..dff661d 100644 --- a/release.config.cjs +++ b/release.config.cjs @@ -13,17 +13,17 @@ module.exports = { preset: 'conventionalcommits', presetConfig: { types: [ - { type: 'feat', section: 'Features' }, - { type: 'fix', section: 'Bug Fixes' }, - { type: 'Fix', section: 'Bug Fixes' }, - { type: 'doc', hidden: false, section: 'Documentation' }, - { type: 'docs', hidden: false, section: 'Documentation' }, - { type: 'chore', hidden: true, section: 'Chores' }, - { type: 'build', hidden: false, section: 'Miscellaneous' }, - { type: 'ci', hidden: false, section: 'Miscellaneous' }, - { type: 'refactor', hidden: false, section: 'Miscellaneous' }, - { type: 'perf', hidden: false, section: 'Miscellaneous' }, - { type: 'test', hidden: false, section: 'Miscellaneous' }, + { type: 'feat', section: '⭐ New Features' }, + { type: 'fix', section: '🐞 Bug Fixes' }, + { type: 'Fix', section: '🐞 Bug Fixes' }, + { type: 'perf', hidden: false, section: '⚡ Performance Improvements' }, + { type: 'doc', hidden: false, section: '📔 Documentation' }, + { type: 'docs', hidden: false, section: '📔 Documentation' }, + { type: 'chore', hidden: true, section: '🔧 Chores' }, + { type: 'build', hidden: false, section: '⚙️ Miscellaneous' }, + { type: 'ci', hidden: false, section: '⚙️ Miscellaneous' }, + { type: 'refactor', hidden: false, section: '⚙️ Miscellaneous' }, + { type: 'test', hidden: false, section: '⚙️ Miscellaneous' }, ], }, }, @@ -49,5 +49,5 @@ module.exports = { ], ], preset: 'conventionalcommits', - branches: [{ name: 'master' }, { name: 'dev', channel: 'beta', prerelease: true }], + branches: [{ name: 'master' }, { name: 'dev', channel: 'beta', prerelease: 'beta' }], };