|
1 | 1 | # @ark-ui/react |
2 | 2 |
|
| 3 | +## [5.36.0] - 2026-04-10 |
| 4 | + |
| 5 | +### Added |
| 6 | + |
| 7 | +- Add new `DateInput` component for typing dates with keyboard input. |
| 8 | + |
| 9 | + ```jsx |
| 10 | + <DateInput.Root> |
| 11 | + <DateInput.Label>Date</DateInput.Label> |
| 12 | + <DateInput.Control> |
| 13 | + <DateInput.SegmentGroup> |
| 14 | + {segments.map((segment) => ( |
| 15 | + <DateInput.Segment segment={segment} /> |
| 16 | + ))} |
| 17 | + </DateInput.SegmentGroup> |
| 18 | + </DateInput.Control> |
| 19 | + <DateInput.HiddenInput /> |
| 20 | + </DateInput.Root> |
| 21 | + ``` |
| 22 | + |
| 23 | +- ### Added |
| 24 | + - **Dialog, Drawer, Hover Card, Menu, Popover, Tooltip**: Add support for multiple triggers. A single component |
| 25 | + instance can now be shared across multiple trigger elements. Each trigger is identified by a `value` passed to |
| 26 | + `getTriggerProps`. When the component is open and a different trigger is activated, it switches and repositions |
| 27 | + without closing. |
| 28 | + - **Splitter**: Add multi-drag support for nested splitter layouts. When a horizontal and vertical splitter meet at |
| 29 | + the same point (e.g. a grid layout), users can drag the intersection to resize both directions at once. Create a |
| 30 | + shared registry via `createSplitterRegistry()` and pass it to each splitter instance. |
| 31 | + - **Tags Input**: Add `sanitizeValue` prop to normalize tag values before they are added. This runs on every new tag, |
| 32 | + so you can enforce consistent formatting in one place — strip whitespace, lowercase, remove special characters, etc. |
| 33 | + Defaults to `(v) => v.trim()`. |
| 34 | + - **Toast**: Add priority-based queue system. When the max number of visible toasts is reached, incoming toasts are |
| 35 | + queued and sorted by priority so the most important ones display first. You can override the automatic priority by |
| 36 | + passing a custom `priority` value. |
| 37 | + - **Floating Panel**: Add `initialFocusEl`, `finalFocusEl`, and `restoreFocus` props for focus management when the |
| 38 | + panel opens or closes. |
| 39 | + ### Fixed |
| 40 | + - **Date Input**: Fix crash in non-React frameworks (Vue, Solid, Svelte) where `event.nativeEvent.isComposing` is |
| 41 | + `undefined`. The composing check now uses a framework-agnostic utility that works across all adapters. |
| 42 | + - **Dialog / Drawer**: Avoid setting inline `pointer-events` when modal, letting the dismissable layer manage it |
| 43 | + instead. |
| 44 | + - **File Upload**: Automatically reject duplicate files with `FILE_EXISTS` error. Previously, uploading the same file |
| 45 | + twice was silently accepted and deleting one duplicate removed all of them. |
| 46 | + - **Splitter**: Fix `onResizeStart` and `onResizeEnd` callbacks to fire for programmatic resizes. |
| 47 | + - **Tags Input**: Set `enterKeyHint` to `"done"` on the input element so mobile virtual keyboards show a "Done" button |
| 48 | + that triggers tag addition. |
| 49 | + - **Toast**: Restore `role="region"` on the toast group element. The role was previously removed to reduce screen |
| 50 | + reader landmark noise, but this caused an axe `aria-prohibited-attr` violation since `aria-label` is not permitted |
| 51 | + on a `div` without a valid role. |
| 52 | + - **Tour**: Fix step navigation events (`next`, `prev`, `setStep`) firing when the tour is inactive, bypassing the |
| 53 | + `start` flow. Fix popper styles not being cleaned up when transitioning from a tooltip step to a dialog step. |
| 54 | + - **Tree View**: Add `data-checked` and `data-indeterminate` attributes to item and branch control elements for |
| 55 | + styling based on checked state. |
| 56 | + - **Accordion**: Fix missing `data-focus` attribute on `getItemTriggerProps`. |
| 57 | + - **Combobox**: Fix VoiceOver not announcing combobox options when navigating with arrow keys. Safari/VoiceOver |
| 58 | + ignores `aria-activedescendant` changes on combobox inputs, so a live region is now used to announce the highlighted |
| 59 | + item on Apple devices. |
| 60 | + - **Menu**: Fix issue where quick diagonal pointer movement toward an open submenu could flash the highlight across |
| 61 | + sibling items you skim past. |
| 62 | + - **Popper**: Fix incorrect positioning when the anchor or floating element changes while the popover is still open |
| 63 | + (e.g. switching between multiple triggers without closing first). |
| 64 | + - **Vue**: Fix keyboard navigation for nested menus. ArrowRight now correctly opens submenus when using nested |
| 65 | + component patterns. |
| 66 | + |
3 | 67 | ## [5.35.0] - 2026-03-26 |
4 | 68 |
|
5 | 69 | ### Added |
|
0 commit comments