Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .changeset/wheel-responsive-countdown.md

This file was deleted.

14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# react-raffle-picker

## 0.4.1

### Patch Changes

- 17535f9: Make `<RafflePick.Wheel>` 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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down