fix(deps): update dependency @ark-ui/react to v5.37.2#91
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
d3527a8 to
ee3af85
Compare
ee3af85 to
da70e1e
Compare
da70e1e to
f23972c
Compare
f23972c to
58eff55
Compare
58eff55 to
19d0944
Compare
19d0944 to
7d5f281
Compare
7d5f281 to
27071eb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.34.1→5.37.2Release Notes
chakra-ui/ark (@ark-ui/react)
v5.37.2Compare Source
Fixed
v5.37.1Compare Source
Fixed
opensetter is async(e.g. the History API or a delayed state update).
getCroppedImageandgetCropDatareturning the wrong region when the image is shown at asize different from its natural resolution (e.g.
width/heightof100%).data-filledbeing set on every input on first render.dirprop being accepted but never forwarded to the DOM.v5.37.0Compare Source
Added
Floating Components: Add
data-sideto placement-aware parts so you can style them based on the current placement(
top,bottom,left,right).Date Input: Add
hideTimeZoneprop. When the value is aZonedDateTime, thetimeZoneNamesegment now rendersautomatically — set
hideTimeZoneto hide it. Arrow navigation and auto-advance after typing now reach read-onlyfocusable segments too.
Splitter
Accept CSS units (
px,em,rem,vh,vw) fordefaultSize,minSize, andmaxSizein addition topercentages.
Add
resizeBehaviorper panel. Set to"preserve-pixel-size"to keep a panel's pixel size constant when the parentsplitter group resizes.
Allow non-panel children (toolbars, rails, status bars) inside the splitter root. Use partial trigger ids
(
"left:",":right") to bind handles around the fixed element.Fixed
Accordion: Remove redundant
aria-disabledfrom item triggers.Color Picker: Fire
onValueChangeEndwhen you pick a color with the EyeDropper API — matches the behavior whenending a drag on the area or channel sliders.
Combobox: Stop
Enterfrom submitting the form when an item is highlighted, or when the typed value will berejected by
allowCustomValue: false.Date Input
Preserve entered segments when applying min/max. Values clamp segment-by-segment on blur, so
06/15/1999with min2000-01-01becomes06/15/2000instead of snapping to01/01/2000.Fix range mode keyboard navigation so
ArrowRightmoves from the last segment of the start date to the firstsegment of the end date.
Fix time-only formatters (no
yearsegment) never firingonValueChange.Fix
setSegmentValuereading stale display values.Fix
dayPeriod(AM/PM) arrow up/down not updating the visible segment whenhourCyclechanges at runtime.Fix typing "A" / "P" on the
dayPeriodsegment not updating the visible AM/PM.Date Picker
Fix clearing the value not resetting
activeIndexandhoveredValuein range mode when input parts are notrendered.
Fix date input not being writable in locales with multi-character separators (e.g.
cs-CZ,sk-SK,hu-HU,ko-KR).Fix Firefox issue where the native month/year
<select>was not interactive when the picker is inside a modaldialog.
Fix range selection with
outsideDaySelectable: hovering outside-month days no longer changes the visible month;hover preview for the end date still updates.
Dialog, Drawer, Hover Card, Menu, Popover, Tooltip: Fix custom trigger elements (via
ids.trigger) being ignoredwhen shared across components — e.g. wrapping a
Popover.Triggerin aTooltipwith the same id no longer breakspositioning. Also fix trigger lookups in shadow root.
Dialog, Drawer, Popover: Fix dismissable layers losing their
pointer-eventsin Svelte and Vue, where a spreadupdate could rewrite the whole
styleattribute and wipe the value.Drawer
Fix controlled drawers snapping back open before the close animation when dismissed by swipe.
Fix the indent and indent background snapping into place after the close animation instead of transitioning in sync.
Fix
--drawer-swipe-progressjumping straight to1at the start of a dismiss swipe — it now moves smoothly from0(at rest) to1(fully dismissed).Fix the drawer freezing mid-drag on release when its content mounts lazily, which left snap points unmeasured.
React 19 Strict Mode: Fix dialog, drawer, and popover leaving
<body>uninteractive (data-scroll-lock,data-inert,overflow: hidden,pointer-events: none) after closing.Number Input: Fix inconsistent blur behavior when the input is cleared and
minis greater than0.Splitter
Fix clicking a resize trigger not moving focus to it, which prevented arrow keys from resizing the splitter until it
was tab-focused (notably on Safari).
Fix
data-focusbeing applied on hover — it now only sets when the trigger is actually focused.Tabs: Observe the tab list with
ResizeObserverso the indicator updates when the list resizes without individualtab triggers changing size (e.g. responsive grid reflow).
Floating Panel: Re-export additional types (
ResizeTriggerAxis,Stage,ElementIds,IntlTranslations,AnchorPositionDetails,Point,Size) and theresizeTriggerAxesconstant from@zag-js/floating-panel.v5.36.2Compare Source
Fixed
Field: Export
FieldItemcomponent from the top-level package. The component was previously only accessible viathe
Field.Itemnamespace.Fix React Server Components build failure caused by a stray
"use client"directive on the shared_virtual/_rolldown/runtime.jshelper emitted by vite 8's rolldown backend.DownloadTrigger: Extract the download logic into a
useDownloadhook. TheDownloadTriggercomponent now simplyconsumes this hook, making the browser-download behavior reusable outside of the trigger component.
v5.36.1Compare Source
Fixed
finalFocusElandrestoreFocusprops to control focus behavior when the popover closes.finalFocusEllets you specify an element to receive focus instead of the trigger, andrestoreFocus(defaulttrue) controls whether focus returns to the trigger at all.Color Picker: Fix color value to respect the specified
formatwhen setting values via props orsetValue.Previously, the internal color object could retain a mismatched format (e.g., RGB when
formatishsla), causinginconsistent
valueobjects inonValueChangecallbacks.Date Input: Fix min/max constraints resetting other segments mid-keystroke. Validation now defers until the
segment is fully typed or on blur.
Date Picker: Fix
onValueChangenot firing when only time segments change inCalendarDateTimeorZonedDateTimevalues.Navigation Menu: Remove aggressive and redundant default
aria-label.v5.36.0Compare Source
Added
DateInputcomponent for typing dates with keyboard input.Multiple Trigger Support: No more duplicating a Dialog for every button in a list — render one instance and share
it across as many triggers as you need. Each trigger gets a
value, and the component repositions automatically whenswitching between them.
Splitter: Nest splitters to build grid-like layouts. When a horizontal and vertical splitter meet at an
intersection, you can drag both directions at once. Use
createRegistry()to connect the splitter instances.Tags Input: Add
sanitizeValueprop to clean up tag values before they're added — trim whitespace, lowercase,strip special characters, whatever you need. Defaults to
(v) => v.trim().Toast: Add priority-based queuing. When you've hit the max visible toasts, incoming ones are queued and sorted so
the most important ones show first.
Floating Panel: Add
initialFocusEl,finalFocusEl, andrestoreFocusprops to control which element gets focuswhen the panel opens or closes.
Fixed
Date Input: Fix crash in non-React frameworks (Vue, Solid, Svelte) where
event.nativeEvent.isComposingisundefined. The composing check now uses a framework-agnostic utility that works across all adapters.Dialog / Drawer: Avoid setting inline
pointer-eventswhen modal, letting the dismissable layer manage itinstead.
File Upload: Automatically reject duplicate files with
FILE_EXISTSerror. Previously, uploading the same filetwice was silently accepted and deleting one duplicate removed all of them.
Splitter: Fix
onResizeStartandonResizeEndcallbacks to fire for programmatic resizes.Tags Input: Set
enterKeyHintto"done"on the input element so mobile virtual keyboards show a "Done" buttonthat triggers tag addition.
Toast: Restore
role="region"on the toast group element. The role was previously removed to reduce screen readerlandmark noise, but this caused an axe
aria-prohibited-attrviolation sincearia-labelis not permitted on adivwithout a valid role.
Tour: Fix step navigation events (
next,prev,setStep) firing when the tour is inactive, bypassing thestartflow. Fix popper styles not being cleaned up when transitioning from a tooltip step to a dialog step.Tree View: Add
data-checkedanddata-indeterminateattributes to item and branch control elements for stylingbased on checked state.
Accordion: Fix missing
data-focusattribute ongetItemTriggerProps.Combobox: Fix VoiceOver not announcing combobox options when navigating with arrow keys. Safari/VoiceOver ignores
aria-activedescendantchanges on combobox inputs, so a live region is now used to announce the highlighted item onApple devices.
Menu: Fix issue where quick diagonal pointer movement toward an open submenu could flash the highlight across
sibling items you skim past.
v5.35.0Compare Source
Added
Date Picker: Improved range picker mode with new data attributes and state properties.
data-range-start,data-range-end,data-in-hover-range,data-hover-range-start,data-hover-range-end) to month and year cell triggers.TableCellStatenow includesfirstInRange,lastInRange,inHoveredRange,firstInHoveredRange,lastInHoveredRange, andoutsideRange.context.
selectablestate that caused years outside the visible decade or min/max range to appearselectable.
DayTableCellState.formattedDateremoved — usevalueTextinstead (inherited fromTableCellState).Drawer: Added new anatomy parts and improved swipe gestures.
descriptionanatomy part witharia-describedbysupport on the content element.SwipeAreapart for swipe-to-open gestures from screen edges.pointer-events: noneon positioner in non-modal mode so the page stays interactive.open: truewithoutonOpenChangenow blocks dismiss).Field: Added
Field.Itemcomponent andtargetprop onField.Rootfor multi-control fields (e.g., currencyselect + amount input). Use
Field.Itemwith avalueto scope controls, andtargetto specify which item thelabel should focus when clicked.
Interaction: Added
useInteractionModalityanduseFocusVisiblehooks for tracking user input method (keyboard,pointer, virtual) and conditionally showing focus rings.
Listbox: Added
keyboardPriorityto input props to control whether key handling prioritizes text editing or listnavigation for
Home/Endand horizontal arrows in grid collections. AddedhighlightFirst,highlightLast,highlightNext, andhighlightPreviousto the API for programmatic highlight navigation.Pin Input: Overhauled deletion, focus management, and added new props.
[1, 2, 3]yields[1, 3, ""]— not[1, "", 3].same-key skip advances focus, and roving tabIndex treats the entire pin input as a single tab stop.
enterKeyHintshowing "next" on intermediate slots and "done" on the last.autoSubmitprop to automatically submit the owning form when all inputs are filled.sanitizeValueprop to sanitize pasted values before validation (e.g. strip dashes from "1-2-3").Tags Input: Added
allowDuplicatesprop to allow duplicate tags.Clipboard, Navigation Menu, Popover, Select, Timer, Tree View: Added
translationsprop for localizing hardcodedaccessibility labels.
Fixed
Carousel: Fixed controlled carousel inside dialog jumping or skipping pages. Fixed navigation inside
CSS-transformed containers (e.g., dialogs with open/close animations). Fixed scroll position drifting when container
layout shifts (e.g., scrollbar removal).
Color Picker: Fixed vertical slider orientation not preserved on pointer updates.
Date Input: Improved focus management.
Dialog: Improved non-modal mode behavior.
pointer-events: noneon positioner in non-modal mode so the page stays interactive.aria-modalto reflect actualmodalprop value instead of hardcodedtrue.Floating Panel: Fixed
opentaking precedence overdefaultOpenduring initialization. FixedsetPositionandsetSizeto work independently of drag/resize state. Fixed maximize/minimize restore reverting to(0, 0)incontrolled mode. Fixed
Maximum update depth exceededwhen content usesResizeObserver(React). Fixed Escape duringdrag/resize to cancel and revert to original position/size.
Focus Trap: Fixed edge cases in focus trapping.
initialFocusnodes more safely.Interact Outside: Fixed Safari-specific interaction issue.
focusinevents racing with pointer interactions.
Menu: Fixed trigger to keep
aria-expanded="false"when closed.Pin Input: Fixed crash when typing the same character in a completed pin input.
Radio Group, Tabs: Fixed indicator only animating on value change, not on initial render or resize.
Splitter: Fixed shadow root compatibility.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.