From 002dba1f614928282041ca01445b8fdcf85ee4e7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 7 Sep 2026 06:37:40 +0000 Subject: [PATCH] chore: release packages --- .changeset/wheel-responsive-countdown.md | 13 ------------- CHANGELOG.md | 14 ++++++++++++++ package.json | 2 +- 3 files changed, 15 insertions(+), 14 deletions(-) delete mode 100644 .changeset/wheel-responsive-countdown.md diff --git a/.changeset/wheel-responsive-countdown.md b/.changeset/wheel-responsive-countdown.md deleted file mode 100644 index 6b3774f..0000000 --- a/.changeset/wheel-responsive-countdown.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'react-raffle-picker': patch ---- - -Make `` shrink to fit. `size` now acts as a maximum rather -than a fixed box (`max-width: 100%` plus a square aspect ratio), and the pointer -is drawn as its own scaling SVG instead of a fixed-pixel CSS triangle. A -`size={340}` wheel no longer forces sideways scrolling on a 320px screen. - -Also stops the wheel from widening the page while it spins: a rotating square -SVG reports a layout box up to `side * sqrt(2)` wide, so the disc is now clipped -to its inscribed circle — the drawn wheel is unchanged, only the empty corners -go. diff --git a/CHANGELOG.md b/CHANGELOG.md index cace909..5844dbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # react-raffle-picker +## 0.4.1 + +### Patch Changes + +- 17535f9: Make `` shrink to fit. `size` now acts as a maximum rather + than a fixed box (`max-width: 100%` plus a square aspect ratio), and the pointer + is drawn as its own scaling SVG instead of a fixed-pixel CSS triangle. A + `size={340}` wheel no longer forces sideways scrolling on a 320px screen. + + Also stops the wheel from widening the page while it spins: a rotating square + SVG reports a layout box up to `side * sqrt(2)` wide, so the disc is now clipped + to its inscribed circle — the drawn wheel is unchanged, only the empty corners + go. + ## 0.4.0 ### Minor Changes diff --git a/package.json b/package.json index c0f0412..caed4f2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-raffle-picker", - "version": "0.4.0", + "version": "0.4.1", "description": "React random picker: draw a random winner or number with slot-machine, reel and countdown animations. Headless, typed, zero-dependency.", "type": "module", "publishConfig": {