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
52 changes: 52 additions & 0 deletions .changeset/zag-1-43-1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
'@ark-ui/react': patch
'@ark-ui/solid': patch
'@ark-ui/svelte': patch
'@ark-ui/vue': patch
---

- **Date Picker**
- Fix `translations` requiring every message. It's now `Partial`, so you can override one message and let the rest
fall back to the defaults.
- Fix the view trigger's `aria-label` naming the wrong view. In day view it announced "Switch to year view" while the
trigger actually switches to month view. The trigger also disables itself once there's no further view to switch to.
- Fix dates between a range's start and end announcing the generic "Choose" label. They now announce "In range".

- **Escape Dismissal**: Fix `Escape` being ignored right after an overlay opens. Handlers registered a frame late, so
the overlay was painted and focus-trapped before it could listen. Under CPU load that gap grew well past one frame and
swallowed the keypress. They now register as soon as the layer mounts.

> Affects Dialog, Drawer, Menu, Popover, and anything else that closes on `Escape`.

- **Floating Panel**
- Fix closing a panel leaving it on the stack, so the next panel now becomes topmost.
- Fix stack order not applying to the positioner, so focusing a panel raises it above its siblings.

- **Focus Visible**: Fix clicking a label adding `data-focus-visible` to the control. Activating the label briefly moved
focus to an overlay container, which was read as virtual focus.

> Affects Checkbox, Radio Group, and Switch.

- **Form Submission**: Fix trigger and close trigger buttons submitting an ancestor form on click. They carried no
`type`, so they defaulted to `type="submit"`.

> Affects Drawer, Navigation Menu, Steps, and Tour.

- **Hover Highlight**: Fix keyboard navigation losing or moving the highlighted item while the pointer rests over
scrollable content. Scrolling the item into view moved the content under the cursor, and the resulting `pointerleave`
(or `pointermove` in Safari) counted as a real hover.

> Affects Cascade Select, Combobox, Listbox, Menu, and Select.

- **Image Cropper**: Fix `fixedCropArea` disabling every keyboard interaction on the crop selection, including the `+`
and `-` zoom shortcuts that still apply in fixed mode. The selection is now always focusable, and arrow keys pan the
image since there's nothing to move or resize.

- **QR Code**: Fix `getDataUrl()` and the download trigger dropping the overlay. The export contained only the QR
matrix, so a logo or badge placed over the code went missing.

- **Splitter**: Fix the resize trigger matching `:focus-visible` after a pointer drag. It still takes focus, so keyboard
resizing keeps working, but no longer shows the focus ring.

- **Tags Input**: Fix an XSS vector in the hidden element that measures input width. It set the tag value with
`innerHTML`, so a value containing markup was parsed and could execute. It now uses `textContent`.
Loading