Version Packages (next) - #3252
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
segunadebayo
force-pushed
the
changeset-release/v2
branch
from
August 7, 2026 15:58
b0b24f8 to
5705b53
Compare
segunadebayo
force-pushed
the
changeset-release/v2
branch
from
August 7, 2026 16:18
5705b53 to
ec72261
Compare
segunadebayo
force-pushed
the
changeset-release/v2
branch
from
August 7, 2026 16:47
ec72261 to
4c4ba74
Compare
segunadebayo
force-pushed
the
changeset-release/v2
branch
from
August 7, 2026 20:07
4c4ba74 to
22a96aa
Compare
segunadebayo
force-pushed
the
changeset-release/v2
branch
from
August 9, 2026 14:04
22a96aa to
6ae6642
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 v2, this PR will be updated.
v2is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonv2.Releases
@zag-js/avatar@2.0.0-next.2
Major Changes
121207eThanks @segunadebayo! - Breaking: Removeapi.setSrc.You own the image
src, the machine observes the rendered image and owns its loading lifecycle.setSrcwrote thesrcattribute of the image you rendered, making it the only API method in the library that mutates a consumer-renderedelement. It also left
srcSetand<picture>untouched, so the displayed image did not always change.Migration
Setting the source: update
srcon the image you render. The machine reacts the same way, resetting toloadingand then to
loadedorerror.Without framework state, set it on the element directly. This is what
setSrcdid, and it works forsrcSetand<picture>too:Unchanged:
api.setLoaded()andapi.setError(), for images loaded by something that does not fireloadanderroron the element itself.Patch Changes
06ddeb3,6d57458]:@zag-js/core@2.0.0-next.2
Minor Changes
6d57458Thanks @segunadebayo! - Separate the props you pass touseMachinefrom the props the machine sees after defaults are applied.[zag-js] missing required props. Affectsasync-list,carousel,dnd,gridlist,listbox,pin-input,select,splitter,toastandtoc, whose required props were reported as optional.nullfrom its public type, so props that acceptnullrejected it.
Machine schemas now declare the public props type plus a
defaultPropKeyunion naming the props the machine fills in:Schemas that do not declare
defaultPropKeykeep the previous behaviour, so custom machines continue to work unchanged.Patch Changes
06ddeb3]:@zag-js/preact@2.0.0-next.2
Minor Changes
6d57458Thanks @segunadebayo! - Separate the props you pass touseMachinefrom the props the machine sees after defaults are applied.[zag-js] missing required props. Affectsasync-list,carousel,dnd,gridlist,listbox,pin-input,select,splitter,toastandtoc, whose required props were reported as optional.nullfrom its public type, so props that acceptnullrejected it.
Machine schemas now declare the public props type plus a
defaultPropKeyunion naming the props the machine fills in:Schemas that do not declare
defaultPropKeykeep the previous behaviour, so custom machines continue to work unchanged.Patch Changes
06ddeb3Thanks @github-actions! - - Fixed issue whereinitialFocusElrejectednull, despite it being handled at runtime. Ondialoganddraweritwas listed as a prop with a default, which stripped
null | undefinedfrom its public type.Portal'scontainerrejected theRefObject<T | null>that React 19'suseRef<T>(null)returns.6d57458]:@zag-js/react@2.0.0-next.2
Minor Changes
6d57458Thanks @segunadebayo! - Separate the props you pass touseMachinefrom the props the machine sees after defaults are applied.[zag-js] missing required props. Affectsasync-list,carousel,dnd,gridlist,listbox,pin-input,select,splitter,toastandtoc, whose required props were reported as optional.nullfrom its public type, so props that acceptnullrejected it.
Machine schemas now declare the public props type plus a
defaultPropKeyunion naming the props the machine fills in:Schemas that do not declare
defaultPropKeykeep the previous behaviour, so custom machines continue to work unchanged.Patch Changes
06ddeb3Thanks @github-actions! - - Fixed issue whereinitialFocusElrejectednull, despite it being handled at runtime. Ondialoganddraweritwas listed as a prop with a default, which stripped
null | undefinedfrom its public type.Portal'scontainerrejected theRefObject<T | null>that React 19'suseRef<T>(null)returns.6d57458]:@zag-js/solid@2.0.0-next.2
Minor Changes
6d57458Thanks @segunadebayo! - Separate the props you pass touseMachinefrom the props the machine sees after defaults are applied.[zag-js] missing required props. Affectsasync-list,carousel,dnd,gridlist,listbox,pin-input,select,splitter,toastandtoc, whose required props were reported as optional.nullfrom its public type, so props that acceptnullrejected it.
Machine schemas now declare the public props type plus a
defaultPropKeyunion naming the props the machine fills in:Schemas that do not declare
defaultPropKeykeep the previous behaviour, so custom machines continue to work unchanged.Patch Changes
6d57458]:@zag-js/svelte@2.0.0-next.2
Minor Changes
6d57458Thanks @segunadebayo! - Separate the props you pass touseMachinefrom the props the machine sees after defaults are applied.[zag-js] missing required props. Affectsasync-list,carousel,dnd,gridlist,listbox,pin-input,select,splitter,toastandtoc, whose required props were reported as optional.nullfrom its public type, so props that acceptnullrejected it.
Machine schemas now declare the public props type plus a
defaultPropKeyunion naming the props the machine fills in:Schemas that do not declare
defaultPropKeykeep the previous behaviour, so custom machines continue to work unchanged.Patch Changes
6d57458]:@zag-js/vanilla@2.0.0-next.2
Minor Changes
6d57458Thanks @segunadebayo! - Separate the props you pass touseMachinefrom the props the machine sees after defaults are applied.[zag-js] missing required props. Affectsasync-list,carousel,dnd,gridlist,listbox,pin-input,select,splitter,toastandtoc, whose required props were reported as optional.nullfrom its public type, so props that acceptnullrejected it.
Machine schemas now declare the public props type plus a
defaultPropKeyunion naming the props the machine fills in:Schemas that do not declare
defaultPropKeykeep the previous behaviour, so custom machines continue to work unchanged.Patch Changes
6d57458]:@zag-js/vue@2.0.0-next.2
Minor Changes
6d57458Thanks @segunadebayo! - Separate the props you pass touseMachinefrom the props the machine sees after defaults are applied.[zag-js] missing required props. Affectsasync-list,carousel,dnd,gridlist,listbox,pin-input,select,splitter,toastandtoc, whose required props were reported as optional.nullfrom its public type, so props that acceptnullrejected it.
Machine schemas now declare the public props type plus a
defaultPropKeyunion naming the props the machine fills in:Schemas that do not declare
defaultPropKeykeep the previous behaviour, so custom machines continue to work unchanged.Patch Changes
6d57458]:@zag-js/hover-card@2.0.0-next.2
Minor Changes
#3252
45451e9Thanks @github-actions! - Add areasontoonOpenChange, describing what caused the change.reasontoonOpenChangedetails:trigger-hover,trigger-focus,trigger-blur,pointer-leave,interact-outside,escape-keyorscript.api.setOpenaccepts a reason as its second argument, defaulting toscript.Escapekey was reported the same way as pressing outside.onOpenChangewithopen: false, eventhough the hover card had never opened.
#3252
afdeee4Thanks @github-actions! - Add inline positioning for references that wrap across lines.every line, landing far from the pointer instead of under the line being hovered.
trigger's content in the old position.
inlineandgetInlineRectCoordsto@zag-js/popper, alongside apositioning.middlewareoption forsupplying extra Floating UI middleware. The middleware is only bundled by machines that import it.
#3252
d402e9cThanks @github-actions! - Add@zag-js/safe-areaand use it in the hover card to track the pointer travelling between the trigger and thecontent.
pausing for longer than
closeDelay, no longer dismisses it.the page.
The
openandclosingstates are nowopen.idleandopen.closing.state.matches("open")still works, but codematching the literal state
"closing"should use"open.closing".The tooltip uses it too when
interactiveis set, so the pointer can reach a hoverable tooltip without it closing onthe way (WCAG 1.4.13). Non-interactive tooltips are unchanged.
Patch Changes
f7f9abfThanks @github-actions! - Fixed issue where the hover card opened on focus that followed a pointer interaction, such as a dialog restoring focusto the trigger. It now opens only for keyboard and assistive-technology focus, matching
@zag-js/tooltip.06ddeb3,afdeee4,6d57458,d402e9c]:@zag-js/tooltip@2.0.0-next.2
Minor Changes
#3252
d402e9cThanks @github-actions! - Add@zag-js/safe-areaand use it in the hover card to track the pointer travelling between the trigger and thecontent.
pausing for longer than
closeDelay, no longer dismisses it.the page.
The
openandclosingstates are nowopen.idleandopen.closing.state.matches("open")still works, but codematching the literal state
"closing"should use"open.closing".The tooltip uses it too when
interactiveis set, so the pointer can reach a hoverable tooltip without it closing onthe way (WCAG 1.4.13). Non-interactive tooltips are unchanged.
Patch Changes
06ddeb3,afdeee4,6d57458,d402e9c]:@zag-js/popper@2.0.0-next.2
Minor Changes
#3252
afdeee4Thanks @github-actions! - Add inline positioning for references that wrap across lines.every line, landing far from the pointer instead of under the line being hovered.
trigger's content in the old position.
inlineandgetInlineRectCoordsto@zag-js/popper, alongside apositioning.middlewareoption forsupplying extra Floating UI middleware. The middleware is only bundled by machines that import it.
Patch Changes
06ddeb3]:@zag-js/safe-area@2.0.0-next.2
Minor Changes
#3252
d402e9cThanks @github-actions! - Add@zag-js/safe-areaand use it in the hover card to track the pointer travelling between the trigger and thecontent.
pausing for longer than
closeDelay, no longer dismisses it.the page.
The
openandclosingstates are nowopen.idleandopen.closing.state.matches("open")still works, but codematching the literal state
"closing"should use"open.closing".The tooltip uses it too when
interactiveis set, so the pointer can reach a hoverable tooltip without it closing onthe way (WCAG 1.4.13). Non-interactive tooltips are unchanged.
Patch Changes
06ddeb3]:@zag-js/accordion@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/angle-slider@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/async-list@2.0.0-next.2
Patch Changes
6d57458]:@zag-js/carousel@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/cascade-select@2.0.0-next.2
Patch Changes
06ddeb3,afdeee4,6d57458]:@zag-js/checkbox@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/clipboard@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/collapsible@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/color-picker@2.0.0-next.2
Patch Changes
06ddeb3Thanks @github-actions! - - Fixed issue whereinitialFocusElrejectednull, despite it being handled at runtime. Ondialoganddraweritwas listed as a prop with a default, which stripped
null | undefinedfrom its public type.Portal'scontainerrejected theRefObject<T | null>that React 19'suseRef<T>(null)returns.06ddeb3,afdeee4,6d57458]:@zag-js/combobox@2.0.0-next.2
Patch Changes
06ddeb3,afdeee4,6d57458]:@zag-js/date-input@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/date-picker@2.0.0-next.2
Patch Changes
06ddeb3,afdeee4,6d57458]:@zag-js/dialog@2.0.0-next.2
Patch Changes
06ddeb3Thanks @github-actions! - - Fixed issue whereinitialFocusElrejectednull, despite it being handled at runtime. Ondialoganddraweritwas listed as a prop with a default, which stripped
null | undefinedfrom its public type.Portal'scontainerrejected theRefObject<T | null>that React 19'suseRef<T>(null)returns.06ddeb3,6d57458]:@zag-js/dnd@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/drawer@2.0.0-next.2
Patch Changes
06ddeb3Thanks @github-actions! - - Fixed issue whereinitialFocusElrejectednull, despite it being handled at runtime. Ondialoganddraweritwas listed as a prop with a default, which stripped
null | undefinedfrom its public type.Portal'scontainerrejected theRefObject<T | null>that React 19'suseRef<T>(null)returns.06ddeb3,6d57458]:@zag-js/editable@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/file-upload@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/floating-panel@2.0.0-next.2
Patch Changes
06ddeb3Thanks @github-actions! - - Fixed issue whereinitialFocusElrejectednull, despite it being handled at runtime. Ondialoganddraweritwas listed as a prop with a default, which stripped
null | undefinedfrom its public type.Portal'scontainerrejected theRefObject<T | null>that React 19'suseRef<T>(null)returns.06ddeb3,afdeee4,6d57458]:@zag-js/gridlist@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/image-cropper@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/listbox@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/marquee@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/menu@2.0.0-next.2
Patch Changes
06ddeb3,afdeee4,6d57458]:@zag-js/menubar@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/navigation-menu@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/number-input@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/pagination@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/password-input@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/pin-input@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/popover@2.0.0-next.2
Patch Changes
06ddeb3Thanks @github-actions! - - Fixed issue whereinitialFocusElrejectednull, despite it being handled at runtime. Ondialoganddraweritwas listed as a prop with a default, which stripped
null | undefinedfrom its public type.Portal'scontainerrejected theRefObject<T | null>that React 19'suseRef<T>(null)returns.06ddeb3,afdeee4,6d57458]:@zag-js/presence@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/progress@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/qr-code@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/radio-group@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/rating-group@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/scheduler@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/scroll-area@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/select@2.0.0-next.2
Patch Changes
06ddeb3Thanks @github-actions! - - Fixed issue whereinitialFocusElrejectednull, despite it being handled at runtime. Ondialoganddraweritwas listed as a prop with a default, which stripped
null | undefinedfrom its public type.Portal'scontainerrejected theRefObject<T | null>that React 19'suseRef<T>(null)returns.06ddeb3,afdeee4,6d57458]:@zag-js/signature-pad@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/slider@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/splitter@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/steps@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/switch@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/tabs@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/tags-input@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/timer@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/toast@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/toc@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/toggle@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/toggle-group@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/toolbar@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/tour@2.0.0-next.2
Patch Changes
06ddeb3,afdeee4,6d57458]:@zag-js/tree-view@2.0.0-next.2
Patch Changes
06ddeb3,6d57458]:@zag-js/types@2.0.0-next.2
Patch Changes
6d57458Thanks @segunadebayo! - Separate the props you pass touseMachinefrom the props the machine sees after defaults are applied.[zag-js] missing required props. Affectsasync-list,carousel,dnd,gridlist,listbox,pin-input,select,splitter,toastandtoc, whose required props were reported as optional.nullfrom its public type, so props that acceptnullrejected it.
Machine schemas now declare the public props type plus a
defaultPropKeyunion naming the props the machine fills in:Schemas that do not declare
defaultPropKeykeep the previous behaviour, so custom machines continue to work unchanged.@zag-js/aria-hidden@2.0.0-next.2
Patch Changes
06ddeb3]:@zag-js/auto-resize@2.0.0-next.2
Patch Changes
06ddeb3]:@zag-js/collection@2.0.0-next.2
Patch Changes
@zag-js/color-utils@2.0.0-next.2
Patch Changes
@zag-js/dismissable@2.0.0-next.2
Patch Changes
06ddeb3]:@zag-js/dom-query@2.0.0-next.2
Patch Changes
06ddeb3Thanks @github-actions! - - Fixed issue whereinitialFocusElrejectednull, despite it being handled at runtime. Ondialoganddraweritwas listed as a prop with a default, which stripped
null | undefinedfrom its public type.Portal'scontainerrejected theRefObject<T | null>that React 19'suseRef<T>(null)returns.6d57458]:@zag-js/file-utils@2.0.0-next.2
Patch Changes
@zag-js/focus-trap@2.0.0-next.2
Patch Changes
06ddeb3]:@zag-js/focus-visible@2.0.0-next.2
Patch Changes
06ddeb3]:@zag-js/i18n-utils@2.0.0-next.2
Patch Changes
06ddeb3]:@zag-js/interact-outside@2.0.0-next.2
Patch Changes
06ddeb3]:@zag-js/remove-scroll@2.0.0-next.2
Patch Changes
06ddeb3]:@zag-js/scroll-snap@2.0.0-next.2
Patch Changes
06ddeb3]:@zag-js/virtualizer@2.0.0-next.2
Patch Changes
06ddeb3]:@zag-js/anatomy@2.0.0-next.2
@zag-js/anatomy-icons@2.0.0-next.2
@zag-js/docs@2.0.0-next.2
@zag-js/store@2.0.0-next.2
@zag-js/utils@2.0.0-next.2
@zag-js/date-utils@2.0.0-next.2
@zag-js/highlight-word@2.0.0-next.2
@zag-js/hotkeys@2.0.0-next.2
@zag-js/json-tree-utils@2.0.0-next.2
@zag-js/live-region@2.0.0-next.2
@zag-js/rect-utils@2.0.0-next.2
@zag-js/stringify-state@2.0.0-next.2