Repository navigation
v1.3.2
Overview
🔧 Bug Fixes
- Carousel: autoplay stays stopped until play() is called again (#1128)
- Carousel: a drag keeps the slide under the pointer until release (#1135)
- Carousel: hovering pauses autoplay until the pointer leaves (#1132)
- Carousel: expose the viewport element (#1133)
- components: injected contexts report a live
size(#1142) - Progress: an unlabeled bar has an accessible name (#1129)
- createQueue: ticket.unregister() clears its timer and advances the queue (#1139)
- createRegistry: survivors of a removal carry canonical indexes by the end of the batch or the next tick (#1144)
- createRegistry: keep sync effects and bounds consistent across register, unregister, clear, batch, move, seek and dispose (#1144)
- createSelection: tickets moved between registries act on the registry that onboards them (#1141)
- Tour: flip the card when the preferred side does not fit (#1145)
Patch Changes
-
#1128
ba9aefcThanks @johnleider! - fix(Carousel): autoplay stays stopped until play() is called againMoving keyboard focus into the carousel, or dragging a slide, stops rotation. It does not start again on its own. While rotation is running, the slide announcement region is silent. The default accessible name is "Slides".
-
#1135
b687a1fThanks @johnleider! - fix(Carousel): a drag keeps the slide under the pointer until releaseThe track no longer snaps onto the nearest slide while the pointer button is still down.
-
#1132
b14720dThanks @johnleider! - fix(Carousel): hovering pauses autoplay until the pointer leavesHovering the slides, arrows, dots, or progress pauses rotation and leaving resumes it. A play button in the root still starts rotation while the pointer is on it. A Stop press, a pause() call, or keyboard focus inside the carousel keeps it from resuming.
-
#1133
abf8ee6Thanks @johnleider! - fix(Carousel): expose the viewport elementCarousel.Viewport exposes its scroll element, so a template ref can listen for scrollend.
-
#1142
5fd4c0aThanks @johnleider! - fix(components): injected contexts report a livesizeThe context injected by
Tabs.Root,Radio.Group,Progress.Root,Slider.Root,Locale, andThemenow reports the current number of registered items instead of the count when the root mounted.Rating.Rootfollows itssizeandhalfprops. -
#1129
3e64c98Thanks @johnleider! - fix(Progress): an unlabeled bar has an accessible nameA bar with no
Progress.Labeland noariaLabelis named "Loading" (locale keyProgress.label). A visible label orariaLabelstill wins. -
#1139
3ed4743Thanks @johnleider! - fix(createQueue): ticket.unregister() clears its timer and advances the queueCalling
unregister()on a queue ticket now matchesdismiss()andqueue.unregister(id): the ticket's timeout is cleared and the next ticket starts its countdown immediately instead of waiting for the removed ticket's timer to fire. -
#1144
9e97c28Thanks @johnleider! - fix(createRegistry): survivors of a removal carry canonical indexes by the end of the batch or the next tickRemoving a ticket from a registry whose tickets carry explicit values left the remaining tickets'
indexstale until the next position-based call. The registry now reindexes survivors at the end of the enclosingbatch()and, outside a batch, before the next tick.createSortablemove/swap/reorderandcreateKanbantransferread canonical positions in the same tick as a sibling removal. -
#1144
9e97c28Thanks @johnleider! - fix(createRegistry): keep sync effects and bounds consistent across register, unregister, clear, batch, move, seek and dispose- In
reactive: truemode a sync effect that fires onregister,unregister,offboardorclearnow readskeys(),values(),entries()andbrowse()that already reflect the mutation, never a removed id or a missing new one. - A listener that opens its own
batch()during end-of-batch dispatch no longer suppresses the outer batch's iteration notification, so templates iterating the registry pick up the registration. move()andseek()truncate a fractional index and clamp it to the valid range;Infinitytargets the last position,-InfinityandNaNthe first. A fractionalmove()no longer throws and leaves the order inconsistent.dispose()dispatchesclear:registrybefore dropping listeners, so auseProxyRegistrysnapshot empties when its registry is disposed. Listeners are dropped even when one of them throws, and adispose()call made from inside a listener is ignored.
- In
-
#1141
3f52e94Thanks @johnleider! - fix(createSelection): tickets moved between registries act on the registry that onboards themA ticket moved with
destination.onboard(source.offboard(ids))now selects, unselects and toggles in the destination. Patching an existing ticket withupsertkeeps itsunregisterbound to the registry that holds it. -
#1145
7be81d6Thanks @johnleider! - fix(Tour): flip the card when the preferred side does not fit (#1145)The card moves to the opposite side when the preferred side does not fit. The activator scrolls with room for the open card.