Skip to content

chore(deps): update dependency @ark-ui/react to v5.38.2 - #12

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ark-ui-react-5.x-lockfile
Open

chore(deps): update dependency @ark-ui/react to v5.38.2#12
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ark-ui-react-5.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@ark-ui/react (source) 5.37.25.38.2 age confidence

Release Notes

chakra-ui/ark (@​ark-ui/react)

v5.38.2

Compare Source

Fixed
  • Fix Fieldset.Root re-rendering whenever its subtree mutated, even if helper and error text were unchanged. A nested
    Field.Textarea with defaultValue could turn that into a loop that froze the tab.

  • Fix Next.js 15 production builds failing because React's optional Activity export was imported statically. Ark now
    resolves Activity at runtime and falls back to display-none when the active React build does not expose it.

    • 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.

v5.38.1

Compare Source

Fixed
  • Fix composeRefs/useComposedRefs not resetting plain callback refs and object refs to null on detach when
    composed alongside a React 19 ref that returns a cleanup function.

v5.38.0

Compare Source

Added
  • Added hideMode ('display-none' | 'activity') for how kept-mounted content is hidden when closed. Covers
    presence-based overlays and Collapsible (including Accordion and TreeView).

    • 'display-none' (default): HTML hidden. Effects stay alive.
    • 'activity': React 19 Activity. Effects pause. Applies while
      content stays mounted:
    // applies from the start
    <Dialog.Root hideMode="activity" />
    // applies after the first open (lazyMount only delays the first mount)
    <Dialog.Root lazyMount hideMode="activity" />
    <Collapsible.Root hideMode="activity" />
    <Accordion.Root hideMode="activity" />

    Does not apply when content is unmounted:

    // unmountOnExit removes the tree on close, so hideMode never runs
    <Dialog.Root lazyMount unmountOnExit hideMode="activity" />
    • Number Input: Add largeStep and smallStep props for configurable keyboard stepping. Hold Shift for
      largeStep (defaults to 10 * step), Alt for smallStep (defaults to step / 10). The defaults match the
      previous behavior.
      <NumberInput.Root largeStep={20} smallStep={0.5} />
    • Slider: Add largeStep prop, applied on Shift or PageUp/PageDown (defaults to 10 * step). The default
      matches the previous behavior.
    • Autofocus Control: Add data-autofocus and data-no-autofocus to decide what gets focus when an overlay opens.
      Mark chrome like the close button with data-no-autofocus to skip it, or mark the real target with
      data-autofocus.
      <Dialog.Content>
        <Dialog.CloseTrigger data-no-autofocus>Close</Dialog.CloseTrigger>
        <input data-autofocus />
        <button>Save</button>
      </Dialog.Content>
      Focus goes to initialFocusEl, then [data-autofocus], then the first tabbable element without
      [data-no-autofocus], then the content root.

      Supported in Dialog and Drawer.

    • Focus Trap: Add persistentElements to treat portalled content as part of the trap when it isn't reachable via
      aria-controls/aria-expanded. Pass getters so the elements can be resolved lazily.
      <FocusTrap persistentElements={[() => document.getElementById('toast-region')]} />
    • Image Cropper: getCropData() now returns the exact corners and outputSize of the crop in natural-image
      pixels, so you can hand the region straight to a server-side cropper.
    • Image Cropper: Add maxSize to getCroppedImage() to cap the output dimensions. The crop keeps its aspect
      ratio and scales down to fit.
      const blob = await imageCropper.getCroppedImage({ maxSize: { width: 512, height: 512 } })
Fixed
  • Fixed composed refs to keep stable callback refs attached across re-renders.

  • Exposed the toast content generic on createToaster so CreateToasterReturn<T> can type custom toast data.

  • Fixed Steps RootProvider rendering children twice via both mergedProps and explicit {props.children}.

    • Date Input
      • Type dates using your locale's native numerals (Arabic-Indic ٠-٩, Devanagari ०-९), not just ASCII digits.
      • Fix timezone-naive values (CalendarDate/CalendarDateTime) shifting by your local UTC offset when you pass a
        custom formatter without a timeZone. A wall-clock value now round-trips unchanged.
    • Date Picker
      • Type dates using your locale's native numerals, not just ASCII digits.
      • Reorder dates on blur in range selection, matching the other selection paths.
      • Fix the day view briefly flashing when you close the picker from the month or year view.
      • Fix visibleRangeText returning a stale value when multiple pickers share a visible range. This was also causing
        SSR hydration mismatches.
    • Menu: Fix the context menu flashing at the top-left before positioning. Long-press (touch) context menus no
      longer open stuck at (0,0).
    • Number Input
      • Fix api.setValue throwing when you pass a number and formatOptions is set.
      • Fix Cmd/Ctrl + arrow keys producing values off the step grid.
    • Slider: Fix Cmd/Ctrl + arrow keys producing values off the step grid.
    • Tags Input: Fix native form submit so FormData reflects the current tags. The hidden input used to keep its
      initial value after you added, removed, or cleared tags.
    • Toast: Fix a height flicker when expanding the stack in overlap mode. Heights are now measured without the
      scale transform.
    • Color Picker: Fix the channel input committing a partial value when you press Enter to confirm an IME
      composition.
    • Date Input
      • Fix segment text lagging behind while you type over an already committed date.
      • Fix in-progress edits being dropped while focus catches up after auto-advance. Fast typing and
        ArrowUp/ArrowDown/Home/End now land on the segment you're actually editing.
    • Date Picker
      • Fix disabled and read-only pickers still reacting to cell clicks, the clear trigger, and presets. Read-only
        pickers keep roving-focus navigation; disabled pickers drop out of the tab order.
      • Fix minView, maxView, and defaultView being ignored when resolving the initial view, which was hardcoded to
        day through year.
      • Fix defaultOpen winning over open, so a controlled picker could open against its own prop.
      • Fix maxSelectedDates not being enforced on month and year cells in multiple selection mode.
      • Fix keyboard range selection drifting from pointer behavior. Picking a third date restarts the range, and the
        hover preview updates for Enter, Home, End, and PageUp/PageDown.
      • Fix reopening the calendar with only a start date restarting the range instead of resuming it.
    • Drawer: Fix the backdrop flickering on a controlled close when the open setter is async.
    • Field: Fix Field.Textarea with autoresize dispatching a synthetic input event when you set value
      programmatically, which fed the value back into your framework and broke controlled state.
    • Focus Return: Fix three focus-trap issues you'd hit with overlays.
      • Closing an overlay no longer steals focus back from an element your app focused in the meantime, like a second
        dialog opened right after closing the first.
      • Closing a nested overlay, such as a popover inside a dialog, no longer throws when the outer container has no
        connected focusable element at that moment.
      • The focus ring now shows on the returned-to element after you close with Escape.

      Affects Dialog, Drawer, Popover, and anything else that traps focus.

    • Image Cropper: Fix getCroppedImage() and getCropData() returning a different region from the one you see
      after rotating or flipping the image.
    • Marquee: Fix scroll speed depending on content width. The duration now comes from the content size and the
      actual translation distance, so speed matches real pixel speed even when the content is narrower than the
      viewport.
    • Popover: Fix tabbing out of portalled content looping back into the content when the trigger was the last
      tabbable element on the page. Focus now moves to the next tabbable element after the trigger.
    • Scroll Lock: Fix the scroll lock targeting <body> on layouts where <html> is the real scroll container,
      which meant nothing was locked while an overlay was open.
    • Signature Pad: Fix controlled paths drifting out of sync because the in-progress stroke was appended to
      paths. It now stays in onDraw.currentPath until the stroke ends.
    • Splitter
      • Fix collapsed panels sizing to minSize instead of collapsedSize.
      • Fix keyboard resizing breaking when a resize trigger got focus while hovered.
    • Tour
      • Fix dismissing a tour from a step's effect skipping cleanup, which could miss firing the completed status.
      • Fix a tooltip step's position resetting unexpectedly when the tour closed.
      • Fix a step action with action: "skip" doing nothing when clicked.
    • Solid: Fix a value of null being read as uncontrolled, so controlled components fell back to internal state.
    • Solid, Svelte: Fix machine exit actions running when a component was disposed before the machine started.
    • Vue, Svelte: Fix defaultValue being resolved before value, unlike React and Solid.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the renovate label Aug 16, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 16, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
design 8cfbd55 Commit Preview URL

Branch Preview URL
Aug 25 2026, 01:15 PM

@socket-security

socket-security Bot commented Aug 16, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​ark-ui/​react@​5.38.29710010096100

View full report

@renovate
renovate Bot force-pushed the renovate/ark-ui-react-5.x-lockfile branch from 75aafd0 to 8cfbd55 Compare August 25, 2026 13:13
@renovate renovate Bot changed the title chore(deps): update dependency @ark-ui/react to v5.38.1 chore(deps): update dependency @ark-ui/react to v5.38.2 Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants