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": {