chore: release packages#3907
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
d8d029b to
4a8eea7
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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@ark-ui/svelte@5.22.1
@ark-ui/svelte
[5.22.1] - 2026-05-29
Fixed
onExitComplete) onDrawer.RootProviderandDialog.RootProvidertypedeclarations.
[5.22.0] - 2026-05-26
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.[5.21.2] - 2026-04-22
Fixed
Field: Export
FieldItemcomponent from the top-level package. The component was previously only accessible viathe
Field.Itemnamespace.DownloadTrigger: Extract the download logic into a
useDownloadhook. TheDownloadTriggercomponent now simplyconsumes this hook, making the browser-download behavior reusable outside of the trigger component.
[5.21.1] - 2026-04-14
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.[5.21.0] - 2026-04-10
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
Dialog, Drawer, NavigationMenu, Tabs, Tour: Fix
lazyMountandunmountOnExitnot working for backdrop.NumberInput, Progress: Fix
localefromLocaleProvidernot being passed to the underlying machine.Select, TagsInput, RadioGroup, RatingGroup, Pagination: Fix unwanted props being forwarded to the DOM elements.
Date Input: Fix crash where
event.nativeEvent.isComposingisundefined. The composing check now uses aframework-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.
[5.20.0] - 2026-03-26
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.
[5.19.1] - 2026-03-03
Fixed
at mount time
slidesPerPage,slidesPerMove, direction, or orientation changeslidesPerMoveprogression more predictablefiltered collections
Changed
Format.Timenow acceptsamLabelandpmLabelas separate props instead of the previousamPmLabelsobject
[5.19.0] - 2026-02-27
Added
Format.Timefor formatting time values and examples for basic, date input, seconds, custom AM/PMlabels, and locale
Fixed
[5.18.0] - 2026-02-26
Added
Date Picker: Added non-Gregorian calendar support via
createCalendarprop (Persian, Buddhist, Islamic, Hebrew,and other calendar systems)
Date Picker: Added
data-typeattribute to weekend table header and cellFixed
onValueChangereturning emptyitemsarray when using controlled valueparent/indexare exposed as props andexpand/collapseare exposed on thestore
spanper W3C ARIA patternAdded
useDateFormatterhook for localized date formatting using@internationalized/dateSwapcomponent for toggling between two visual states with CSS animations using dual presenceinstances
maxSelectedValuesprop toCheckboxGroupto limit the number of selected valuesBottomSheetwith newDrawercomponent supporting multi-directional swipe viaswipeDirectionprop (
up,down,left,right), a newPositionerpart, andsnapToSequentialPointsoptionfocusoption toapi.clearValue({ focus?: boolean })api.setTime(time, index?)for date-time picker supportmaxSelectedDatesprop to limit selected dates inmultipleselection modeapi.isMaxSelectedto check if maximum number of dates has been selectedopenOnClickprop to open the calendar when clicking the input fieldshowWeekNumberssupport to display ISO 8601 week number column in the day viewsizeMiddlewarepositioning option to optionally disable the size middlewareautoCompleteprop for browser autofill hintsFixed
aria-selectedbeing set on highlighted items instead of selected itemsselectedItemsgetting out of sync withvaluein controlled modedisabledpropapi.selectToday()sending incorrect value formatCalendarDateTimeandZonedDateTime)modalisfalseinvalidprop being ignored when value is out of rangestate_unsafe_mutationwarning during component teardown[5.16.0] - 2026-02-04
Added
ValueTextcomponent for displaying selected date value(s) with placeholder support andsnippet for custom formatting
--scroll-area-overflow-{x,y}-{start,end}) for scroll fade effectsthumbCollisionBehaviorprop (none,push,swap)isStepValid,isStepSkippable, andonStepInvalidfor validation supportplaceholderprop (shown only when no tags exist)data-instantattribute for instant animationsFixed
visibleRangeTextto show correct format based on current view (year/month/day)CheckboxGroupreset()destroying cropper, prop changes not updating instantly, and panning boundscountis0thumbAlignment="contain"modeapi.toggleChecked()not working[5.15.0] - 2025-12-10
Added
requiredandinvalidpropsonValueCommitcallback that fires when the input loses focus or Enter is pressedFirstTriggerandLastTriggercomponents for navigating to first/last pageboundaryCountparameter for controlling boundary pages (start/end)invalidandrequiredprops with correspondingdata-*andaria-*attributesscrollToIndexFnprop to enable keyboard navigation in virtualized treesFixed
aria-controlsattribute could fail when lazy mountingthe content
role="dialog"to content andaria-haspopup="dialog"to trigger when not inline for betteraccessibility
dirprop now properly delegated to all panel partsevent.defaultPreventedfor custom behaviordata-highlightedwasn't applied to the first item when usingautoHighlightwith inputfiltering
formatOptionschanges dynamicallyEnterkey is pressed and formatting is triggeredChanged
getVisibleNodes()now returns{ node, indexPath }[]instead ofnode[][5.14.1] - 2025-11-22
Fixed
naxis by explicitly settingtop: 0draggableandresizableoptions not being respected when set tofalse[5.14.0] - 2025-11-20
Added
valuetoOpenChangeDetailsfor better contextwhen handling open state changes
autoSizeprop to allow variable width/height slide itemsSplitter.ResizeTriggerIndicatorto render an indicator when resizinggetLayoutandgetSplitterLayoutfunctions for calculating splitter panel layoutsFixed
allowMouseDragis enabledonHighlightChangenot being invoked when collection is filtered to emptyfield multiple times
picker
data-focus-visibleanddata-focusattributesdata-*attached[5.13.0] - 2025-11-14
Added
InteractOutsideEvent,FocusOutsideEvent, andPointerDownOutsideEventtypes for better typesafety
Carousel.AutoplayIndicatorcomponent for conditionally rendering content based on autoplay stateCarousel.ProgressTextcomponent for displaying current page progress (e.g., "1 / 5")ToastOptionsandToastStorePropstypes for better type safetyChanged
initialItemsto acceptreadonlyarrays for better compatibility with immutable datapatterns.
Fixed
Slider.ValueTextnot displaying default value when no children providedSliderThumbPropsProviderto use modern Svelte 5 runes ($props()and{@render children?.()})aria-hiddenbehavior to allow interaction with other page elements[5.12.1] - 2025-11-02
Fixed
scrollbar-gutter: stablein CSSonValueChangeEndcallback not triggering for programmatic value changes[5.12.0] - 2025-11-01
Added
Fixed
Angle Slider: Resolved an issue where dragging the thumb from non-center positions caused unexpected value jumps.
The thumb now maintains consistent positioning relative to the initial click point.
Slider: Fixed a problem where the thumb offset shifted dynamically during dragging, resulting in value jumps. The
offset now remains constant from the pointer throughout the drag operation.
Svelte: Refactored
mergePropsto return class values as arrays, delegating resolution to Svelte's native classhandling for improved support of conditional classes and objects.
Date Picker: Resolved a crash in the range date picker occurring when users typed the end date first by
implementing
null/undefinedchecks for date property access.Radio Group: Reverted to
offsetLeft/offsetTopcalculations to restore correct indicator positioning withinscrollable container contexts.
Tabs: Reverted to
offsetLeft/offsetTopcalculations to fix indicator positioning issues in scrollablecontainers.
Tour:
[5.11.2] - 2025-10-18
Fixed
Angle Slider: Fix accessibility violation where the slider thumb element lacked an accessible name. The thumb now
supports
aria-labelandaria-labelledbyprops, and automatically falls back to the label element's ID for properARIA labeling.
Select: Fix accessibility violation where the required state was not set correctly to on the trigger.
Tags Input: Fix issue where entering a custom tag with combobox integration required pressing
Entertwice. Thetags-input now correctly handles custom values when the combobox has no highlighted item (
aria-activedescendantisempty), allowing the tag to be added on the first
Enterpress.[5.11.1] - 2025-10-15
Fixed
Checkbox
indeterminatedoesn't workapi.checkedStatereturns the correct checked state (boolean | "indeterminate")Collapsible: Fix issue where
dirprop value was hardcoded toltrinstead of using the provided valueCombobox: Fix issue where controlled single-select combobox does not propagate its initial value to
inputValueListbox: Fix issue where pressing Enter key when no highlighted item still calls
event.preventDefault()Radio Group: Refactor to use
getBoundingClientRect()for precise indicator positioningSlider
minStepsBetweenThumbsTabs: Refactor to use
getBoundingClientRect()for precise indicator positioningTags Input: Fix issue where
maxLengthdoesn't apply to the edit input as well[5.11.0] - 2025-10-08
Added
Collapsible: Add support for
collapsedHeightandcollapsedWidthprops to control the dimensions of thecollapsible content when in its collapsed state.
Focus Trap: Allow elements referenced by
aria-controlsto be included in the trap scope. This makes it possiblefor menus, popovers, etc. to be portalled and work correctly.
Pagination: Add
getPageUrlprop for generatinghrefattributes when using pagination as links.Select: Add
SelectRootComponentPropstype export for better component type composition.Listbox: Add
ListboxRootComponentPropstype export for better component type composition.Combobox: Add
ComboboxRootComponentPropstype export for better component type composition.TreeView:
TreeViewRootComponentPropstype export for better component type composition.TreeViewNodeRenameInputcomponent for inline node label editingcanRenameprop to control which nodes can be renamedonRenameStart,onBeforeRename, andonRenameCompletecallbacks for rename lifecycleCheckedChangeDetails,LoadChildrenErrorDetails,RenameStartDetails, andRenameCompleteDetailstypeexports
Fixed
Select: Fix issue where
Select.HiddenSelectdoesn't emit correct values when using custom objects withitemToValueField: Fix issue where
bind:valuedoesn't work correctly inField.Textarea,Field.Input, andField.Selectcomponents
Password Input: Fix issue where
bind:valuedoesn't work correctly inPasswordInput.InputcomponentScroll Area: Fix RTL horizontal scrollbar positioning on Safari
Slider: Fix issue where slider continues dragging when disabled during drag operation.
Switch: Fix issue where
data-activeis inconsistently applied whendisabledstate changes at runtimePresence: Fix issue where exit animations don't work on subsequent toggles when using
lazyMountandunmountOnExittogether[5.10.1] - 2025-09-27
Fixed
Date Picker
FormatByte: Add support for
unitSystemproperty to allow changing between decimal (1000 bytes) and binary (1024bytes) systems.
Number Input: When
formatOptionsis used (likestyle: "currency"), the cursor would jump to the end of theinput when typing in the middle. The cursor now maintains its relative position during formatting changes.
Pin Input: Fix issue where using the keyboard shortcuts
Cmd+BackspaceandCmd+Deleteto delete text in pininputs would insert "undefined" instead of clearing the field.
Scroll Area: Fix issue where resize tracking was not observing the root element, which caused the scrollbar to not
update when the root element's size changed.
Select: Fix inconsistent
lazyMount/unmountOnExitbehavior where the positioner remained in the DOM when thecomponent was closed, while the content was correctly unmounted.
Exports: Fix issue where Node.js programs like PandaCSS were not able to resolve the
@ark-ui/svelte/anatomyentrypoint due to the missing
defaultcondition[5.10.0] - 2025-09-17
Added
mergePropsutility for combining multiple props objects with proper event handler and className merging.createContextutility for creating typed React contexts with improved DX.[5.9.1] - 2025-09-14
Fixed
mergePropsthrows whenpropsisundefinedornull[5.9.0] - 2025-09-14
Removed
TimePicker: The TimePicker component has been removed from this release. This component was never part of the
public API and was considered experimental. It had significant bugs and usability issues across all frameworks and
locales, making it unsuitable for production use.
Migration: We recommend building a custom time picker using the Select component for simple use cases, or
implementing a time grid pattern for more complex scenarios.
Added
Combobox: Add
alwaysSubmitOnEnterprop to allow bypassing the default two-step behavior (Enter to closecombobox, then Enter to submit form) and instead submit the form immediately on Enter press. This is useful for
single-field autocomplete forms where Enter should submit the form directly.
Dismissable: Add support for layer types in dismissable layer stack. Layers can now be categorized as
dialog,popover,menu, orlistbox. This enables:data-nestedattribute on nested layers of the same typedata-has-nestedattribute on parent layers with nested children of the same type--nested-layer-countCSS variable indicating the number of nested layers of the same typeChanged
Hover Card: Change default delay values for hover card to improve accessibility.
openDelay: from700msto600msTooltip: Change default delay values for tooltip to improve accessibility.
Learn more
openDelay: from1000msto400mscloseDelay: from500msto150msFixed
Editable: Allow text selection in editable preview when
autoResizeis enabledPreviously, when
autoResizewas set totrue, the preview element haduserSelect: "none"applied, preventingusers from selecting text. This has been fixed by removing the
userSelectstyle property.File Upload: Fix regression where clicking the trigger doesn't open the file picker when used within the dropzone
Svelte: Fix Svelte warning about state reference capturing initial value instead of current reactive state
Menu
target="_blank"would open two tabsTabs: Fix issue where
idsforitemandcontentcould not be customizedToast: Allow creating a toast store without any arguments
[5.8.0] - 2025-09-08
Added
data-requiredattribute toField.LabelRootComponentandRootProviderComponenttypes which are usefulwhen building compositions that wrap the
RootandRootProvidercomponents and you still want type-safety for thecollection.
Fixed
Menu.ItemTextnot working insideMenu.TriggerItem[5.7.0] - 2025-08-28
Added
Combobox: Add
ComboboxEmptycomponent to display content when the combobox has no itemsListbox: Add
ListboxEmptycomponent to display content when the listbox has no itemsHover Card: Add support for
disabledpropFixed
Collection: Fix issue where disabled items could be reached via typeahead
Color Picker: Fix issue where color picker was not working correctly in RTL mode
Date Picker: Fix issue where datepicker doesn't revert to a valid value when the input value exceeds the min/max
and blurred
Dismissable: Expose
onRequestDismisscustom event handler for event a parent layer requests the child layer todismiss. If prevented via
event.preventDefault(), the child layer will not dismiss when the parent layer isdismissed.
Number Input
patternwhenformatOptionsis provided. This prevents native pattern validation from conflictingwith formatted values (e.g., currency or percent).
data-scrubbingattribute to the number input parts.Tags Input: Fix issue where highlighted item doesn't clear when tabbing out of the input to an external button
within the
controlpart.Tooltip
closeOnPointerdowntofalsewhencloseOnClickis set tofalse@zag-js/storedependency with a lightweight store implementation.[5.6.0] - 2025-08-24
Added
useAsyncListanduseCollatorfunctions for managing asynchronous list operations andlocale-aware string comparison
ToastActionOptions,ToastPlacement,ToastPromiseOptions,ToastStatus,ToastStatusChangeDetails, andToastTypeChanged
divinstead oflegendelement for improved styling flexibilityaria-labelledbyattribute to fieldset root for better accessibility by linking to legendFixed
Date Picker
area.
min/maxconstraints.disabledonapi.getMonths()andapi.getYears()results to indicate options out of range for currentconstraints.
Listbox
currently highlighted.
getElementtoscrollToIndexFndetailshighlightedValueif the item is no longer in the collection.ScrollArea
data-draggingattribute to scroll area parts.Select: Add
getElementtoscrollToIndexFndetailsCombobox: Add
getElementtoscrollToIndexFndetails[5.5.0] - 2025-08-20
Added
exactMatchoption that enables whole-word matching using regex word boundaries.Fixed
Menu: Fix context menu repositioning logic
Scroll Area: Add
data-hoverto scroll area[5.4.0] - 2025-08-18
Added
Fixed
ListCollection
at()andindexOf()find()method (was checking!= nullinstead of!== -1)GridCollection: Avoid recomputing rows on every call to
getRows()Menu
data-stateattribute for context menu trigger[5.3.4] - 2025-08-14
Fixed
Listbox: Add support for navigating grid collections
Carousel:
slideCountorautoplayprops change.loop: falsewas ignored when using autoplay. Now, the carousel will stop when it gets to thelast slide.
Date Picker: Expose
data-inlineattribute on Content part to enable distinct styling for inline date pickersversus popover date pickers.
Menu: Fix issue where
onCheckedChangecould be called twice on checkbox or radio itemRadio Group: Fixed issue where arrow key navigation doesn't apply
data-focus-visibleon the newly focused item.TagsInput: Export
InputValueChangeDetailstypeChanged
Async List: Improve type inference for descriptors
Framework Components: Improve runtime performance of components
[5.3.3] - 2025-08-01
Fixed
[5.3.2] - 2025-07-26
Fixed
--layer-indexwith positioner and backdroptrapFocusfrommodalso it's possible to setmodal=falseandtrapFocus=true[5.3.1] - 2025-07-23
Fixed
Date Picker: Fixed issue where hovered range was connect to selected values, when it shouldn't
Tree View: Fixed issue where tree view doesn't scroll into view when content overflows.
Portal: Fix issue in SvelteKit where
Portalcomponent doesn't work as expected.[5.3.0] - 2025-07-22
Added
Collection: Add
useListSelectionfunction for managing collection item selection with support forsingle/multiple selection modes
File Upload: Add support for
bind:acceptedFilesanddefaultAcceptedFilesto programmatically control theaccepted files
Signature Pad: Add support for
bind:pathsanddefaultPathsto programmatically control the pathsDate Picker: Added hover range preview support for date picker range selection. Added
inHoveredRange,firstInHoveredRange, andlastInHoveredRangeproperties toDayTableCellStatewith corresponding data attributesdata-in-hover-range,data-hover-range-start, anddata-hover-range-end.Hover range states are only active when not overlapping with actual selected range, enabling distinct styling for
hover preview vs actual selection in range mode.
Fixed
comparison operations when different date types (
CalendarDate,CalendarDateTime,ZonedDateTime) are mixed,particularly in scenarios involving time components.
[5.2.0] - 2025-07-18
Added
CheckboxGroupProvidercomponent for external checkbox group state managementFixed
Carousel: Fix issue where full page carousel could trap scrolling
ListCollection: Export
UseListCollectionReturntypeTreeCollection: Fix issue where the
filtermethod completely deletes the children key from the node when thereare no matching children
Number Input: Fix issue where default pattern does not allow negative numbers with decimal point
File Upload
FileError,FileMimeType, andFileRejectiontypesapi.setFilesinvokes validation with incorrectacceptedFilessecurity restrictions. As a fallback in the file validation logic, we now infer the mime type from the file
extension.
Portal: Fix issue where
lifecycle_double_unmountwarning could be triggered.[5.1.1] - 2025-07-05
Fixed
Combobox
reasontoonOpenChangeandonInputValueChangecallbacksapi.clearHighlightedValuefunction to clear highlighted valueDate Picker
selectionMode=rangeandminView=yearfocusedValuecould not be fully controlledListbox: Select highlighted item only if it exists in the collection
Progress: Improve
valueAsStringformattingSelect
api.clearHighlightedValuefunction to clear highlighted valueTour: Fix an issue where the
gotofunction inStepActionMapdoesn't work when passing step IDs (string)Tree View: Expose
idin the tree node state[5.1.0] - 2025-07-01
Added
inlineprop to render color picker inlineinlineprop to render the date calendar inlineFixed
#if missing when using thehexchannel input[5.0.5] - 2025-06-28
Fixed
Fix issue where
bind:refdoesn't work with components, making it impossible to access the underlying DOM element.Now, you can pass
bind:refto all components.Improve prop reactivity across all components.
[5.0.4] - 2025-06-27
Fixed
defaultValueorvalueafter fetching items doesn'tupdate the
valueAsString[5.0.3] - 2025-06-27
Fixed
[5.0.2] - 2025-06-26
Fixed
Date Picker: Fix issue with keyboard selection where setting unavailable date causes month view to behave
differently from clicking with mouse
Toast: Fix issue where app crashes when
toaster.promiseis called without loading option. Theloadingoptionis now required. A warning will be logged if it is not provided
Tree View
aria-busyattribute from branch trigger when not loading childrenonExpandChange,onSelectionChangeandonFocusChangeAngle Slider: Fix issue where scrubbing doesn't feel smooth on touch devices
Timer
targetMswhen window is not visiblestartMsandtargetMsare configured correctlyprogressPercentcalculation for countdown timers[5.0.1] - 2025-06-23
Fixed
Accordion.ItemContextdoesn't workListbox.ItemContextwas not exported[5.0.0] - 2025-06-23
Added
defaultCheckedValue,checkedValue,onCheckedChangepropsloadChildrenfails viaonLoadChildrenErrorpropFixed
verticaldon't workdefaultValuetonulldoesn't show indeterminate state[5.0.0-0] - 2025-06-19
Added
[0.3.0] - 2025-01-08
Formatcomponent.Progresscomponent.[0.2.0] - 2024-12-12
Added
Arkfactory component forasChildprop.Environmentcomponent.Collectionhelpers.Timercomponent.Highlightcomponent.QrCodecomponent.[0.1.0] - 2024-11-27
Added
Avatarcomponent.[0.0.0] - 2024-11-27