fix(deps): update dependency @ark-ui/react to v5.38.0 - #111
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
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.37.2→5.38.0Release Notes
chakra-ui/ark (@ark-ui/react)
v5.38.0Compare Source
Added
Added
hideMode('display-none' | 'activity') for how kept-mounted content is hidden when closed. Coverspresence-based overlays and Collapsible (including Accordion and TreeView).
'display-none'(default): HTMLhidden. Effects stay alive.'activity': React 19Activity. Effects pause. Applies whilecontent stays mounted:
Does not apply when content is unmounted:
largeStepandsmallStepprops for configurable keyboard stepping. HoldShiftforlargeStep(defaults to10 * step),AltforsmallStep(defaults tostep / 10). The defaults match theprevious behavior.
largeStepprop, applied onShiftorPageUp/PageDown(defaults to10 * step). The defaultmatches the previous behavior.
data-autofocusanddata-no-autofocusto decide what gets focus when an overlay opens.Mark chrome like the close button with
data-no-autofocusto skip it, or mark the real target withdata-autofocus.initialFocusEl, then[data-autofocus], then the first tabbable element without[data-no-autofocus], then the content root.persistentElementsto treat portalled content as part of the trap when it isn't reachable viaaria-controls/aria-expanded. Pass getters so the elements can be resolved lazily.getCropData()now returns the exactcornersandoutputSizeof the crop in natural-imagepixels, so you can hand the region straight to a server-side cropper.
maxSizetogetCroppedImage()to cap the output dimensions. The crop keeps its aspectratio and scales down to fit.
Fixed
Fixed composed refs to keep stable callback refs attached across re-renders.
Exposed the toast content generic on
createToastersoCreateToasterReturn<T>can type custom toast data.Fixed Steps
RootProviderrendering children twice via bothmergedPropsand explicit{props.children}.٠-٩, Devanagari०-९), not just ASCII digits.CalendarDate/CalendarDateTime) shifting by your local UTC offset when you pass acustom
formatterwithout atimeZone. A wall-clock value now round-trips unchanged.visibleRangeTextreturning a stale value when multiple pickers share a visible range. This was also causingSSR hydration mismatches.
longer open stuck at
(0,0).api.setValuethrowing when you pass a number andformatOptionsis set.Cmd/Ctrl+ arrow keys producing values off thestepgrid.Cmd/Ctrl+ arrow keys producing values off thestepgrid.FormDatareflects the current tags. The hidden input used to keep itsinitial value after you added, removed, or cleared tags.
scaletransform.Enterto confirm an IMEcomposition.
ArrowUp/ArrowDown/Home/Endnow land on the segment you're actually editing.pickers keep roving-focus navigation; disabled pickers drop out of the tab order.
minView,maxView, anddefaultViewbeing ignored when resolving the initial view, which was hardcoded today through year.
defaultOpenwinning overopen, so a controlled picker could open against its own prop.maxSelectedDatesnot being enforced on month and year cells inmultipleselection mode.hover preview updates for
Enter,Home,End, andPageUp/PageDown.opensetter is async.Field.Textareawithautoresizedispatching a syntheticinputevent when you setvalueprogrammatically, which fed the value back into your framework and broke controlled state.
dialog opened right after closing the first.
connected focusable element at that moment.
Escape.getCroppedImage()andgetCropData()returning a different region from the one you seeafter rotating or flipping the image.
actual translation distance, so
speedmatches real pixel speed even when the content is narrower than theviewport.
tabbable element on the page. Focus now moves to the next tabbable element after the trigger.
<body>on layouts where<html>is the real scroll container,which meant nothing was locked while an overlay was open.
pathsdrifting out of sync because the in-progress stroke was appended topaths. It now stays inonDraw.currentPathuntil the stroke ends.minSizeinstead ofcollapsedSize.effectskipping cleanup, which could miss firing thecompletedstatus.action: "skip"doing nothing when clicked.valueofnullbeing read as uncontrolled, so controlled components fell back to internal state.defaultValuebeing resolved beforevalue, unlike React and Solid.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.