-
-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish #2738
Merged
Merged
Publish #2738
Conversation
This file contains 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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit dc5fdad:
|
be4ebf8
to
e38f943
Compare
ebd1daa
to
80dc671
Compare
80dc671
to
1e25528
Compare
1e25528
to
28d892c
Compare
010605b
to
2b4795b
Compare
2b4795b
to
5e098c6
Compare
a4f3d7c
to
13609d4
Compare
13609d4
to
2f77087
Compare
2f77087
to
f751a0a
Compare
e7891e9
to
de41b4e
Compare
de41b4e
to
a566571
Compare
a566571
to
4cca7ee
Compare
4cca7ee
to
e8792c6
Compare
e8792c6
to
7155258
Compare
7155258
to
e2b0d4e
Compare
e2b0d4e
to
8390ae2
Compare
8390ae2
to
393f157
Compare
393f157
to
ab8f4a9
Compare
ab8f4a9
to
ca1ba30
Compare
ca1ba30
to
1a0e39a
Compare
1a0e39a
to
3ea436e
Compare
3ea436e
to
dc5fdad
Compare
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
@ariakit/core@0.3.0
Minor Changes
#2783
BREAKING (This should affect very few people): Theselect
andmenu
props onuseComboboxStore
have been removed. If you need to composeCombobox
withSelect
orMenu
, use thecombobox
prop onuseSelectStore
oruseMenuStore
instead.#2745
Component stores will now throw an error if they receive another store prop in conjunction with default prop values.Patch Changes
#2782
Fixed form store not synchrozining validate and submit callbacks with another form store through thestore
property.#2783
Component store objects now contain properties for the composed stores passed to them as props. For instance,useSelectStore({ combobox })
will return acombobox
property if thecombobox
prop is specified.#2785
Addedparent
andmenubar
properties to the menu store. These properties are automatically set when rendering nested menus or menus within a menubar.Now, it also supports rendering nested menus that aren't nested in the React tree. In this case, you would have to supply the parent menu store manually to the child menu store.
These properties are also included in the returned menu store object, allowing you to verify whether the menu is nested. For instance:
#2796
Composed store props such asuseSelectStore({ combobox })
now acceptnull
as a value.@ariakit/react@0.3.0
Minor Changes
#2714
Added support for a dynamicstore
prop on component stores.This is similar to the
store
prop on components, keeping both stores in sync. Now, component store hooks can support modifying the value of thestore
prop after the initial render. For instance:When the
store
prop changes, the object returned from the store hook will update as well. Consequently, effects and hooks that rely on the store will re-run.While it's unlikely, this could represent a breaking change if you're depending on the
store
prop in component stores to only acknowledge the first value passed to it.#2783
BREAKING (This should affect very few people): Thecombobox
state onuseSelectStore
has been replaced by thecombobox
property on the store object.Before:
After:
In the example above,
select.combobox
is literally the same as thecombobox
store. It will be defined if thecombobox
store is passed touseSelectStore
.#2783
BREAKING (This should affect very few people): Theselect
andmenu
props onuseComboboxStore
have been removed. If you need to composeCombobox
withSelect
orMenu
, use thecombobox
prop onuseSelectStore
oruseMenuStore
instead.#2717
Thechildren
prop as a function has been deprecated on all components. Use therender
prop instead.#2717
Theas
prop has been deprecated on all components. Use therender
prop instead.#2717
ThebackdropProps
prop has been deprecated onDialog
and derived components. Use thebackdrop
prop instead.#2745
Component stores will now throw an error if they receive another store prop in conjunction with default prop values.Patch Changes
#2737
Fixed controlled component stores rendering with a stale state.#2783
Component store objects now contain properties for the composed stores passed to them as props. For instance,useSelectStore({ combobox })
will return acombobox
property if thecombobox
prop is specified.#2785
Addedparent
andmenubar
properties to the menu store. These properties are automatically set when rendering nested menus or menus within a menubar.Now, it also supports rendering nested menus that aren't nested in the React tree. In this case, you would have to supply the parent menu store manually to the child menu store.
These properties are also included in the returned menu store object, allowing you to verify whether the menu is nested. For instance:
#2795
Updated theMenu
component so thecomposite
andtypeahead
props are automatically set tofalse
when combining it with aCombobox
component.This means you'll not need to explicitly pass
composite={false}
when building a Menu with Combobox component.#2796
Composed store props such asuseSelectStore({ combobox })
now acceptnull
as a value.Updated dependencies:
@ariakit/react-core@0.3.0
.@ariakit/react-core@0.3.0
Minor Changes
#2714
Added support for a dynamicstore
prop on component stores.This is similar to the
store
prop on components, keeping both stores in sync. Now, component store hooks can support modifying the value of thestore
prop after the initial render. For instance:When the
store
prop changes, the object returned from the store hook will update as well. Consequently, effects and hooks that rely on the store will re-run.While it's unlikely, this could represent a breaking change if you're depending on the
store
prop in component stores to only acknowledge the first value passed to it.#2714
BREAKING: TheuseStore
function exported by@ariakit/react-core/utils/store
has been updated.#2760
BREAKING: TheuseStoreState
function exported by@ariakit/react-core/utils/store
has been updated so it'll always run the selector callback even when the passed store isnull
orundefined
.#2783
BREAKING (This should affect very few people): Thecombobox
state onuseSelectStore
has been replaced by thecombobox
property on the store object.Before:
After:
In the example above,
select.combobox
is literally the same as thecombobox
store. It will be defined if thecombobox
store is passed touseSelectStore
.#2783
BREAKING (This should affect very few people): Theselect
andmenu
props onuseComboboxStore
have been removed. If you need to composeCombobox
withSelect
orMenu
, use thecombobox
prop onuseSelectStore
oruseMenuStore
instead.#2717
Thechildren
prop as a function has been deprecated on all components. Use therender
prop instead.#2717
Theas
prop has been deprecated on all components. Use therender
prop instead.#2717
ThebackdropProps
prop has been deprecated onDialog
and derived components. Use thebackdrop
prop instead.#2745
Component stores will now throw an error if they receive another store prop in conjunction with default prop values.Patch Changes
#2737
Fixed controlled component stores rendering with a stale state.#2758
AddedCheckboxProvider
component anduseCheckboxContext
hook.#2759
AddedCollectionProvider
component anduseCollectionContext
hook.#2769
AddedDisclosureProvider
component anduseDisclosureContext
hook.#2770
AddedCompositeProvider
component anduseCompositeContext
hook.#2771
AddedDialogProvider
component anduseDialogContext
hook.#2774
AddedPopoverProvider
component andusePopoverContext
hook.#2775
AddedComboboxProvider
component anduseComboboxContext
hook.#2776
AddedSelectProvider
component anduseSelectContext
hook.#2777
AddedRadioProvider
component anduseRadioContext
hook.#2778
AddedHovercardProvider
component anduseHovercardContext
hook.#2779
AddedTabProvider
component anduseTabContext
hook.#2780
AddedToolbarProvider
component anduseToolbarContext
hook.#2781
AddedTooltipProvider
component anduseTooltipContext
hook.#2782
AddedFormProvider
component anduseFormContext
hook.#2783
Component store objects now contain properties for the composed stores passed to them as props. For instance,useSelectStore({ combobox })
will return acombobox
property if thecombobox
prop is specified.#2785
AddedMenuProvider
component anduseMenuContext
hook.#2785
AddedMenuBarProvider
component anduseMenuBarContext
hook.#2785
Addedparent
andmenubar
properties to the menu store. These properties are automatically set when rendering nested menus or menus within a menubar.Now, it also supports rendering nested menus that aren't nested in the React tree. In this case, you would have to supply the parent menu store manually to the child menu store.
These properties are also included in the returned menu store object, allowing you to verify whether the menu is nested. For instance:
#2794
Thecombobox
prop onuseSelectStore
is now automatically set based on the context.#2795
Updated theMenu
component so thecomposite
andtypeahead
props are automatically set tofalse
when combining it with aCombobox
component.This means you'll not need to explicitly pass
composite={false}
when building a Menu with Combobox component.#2795
Thecombobox
prop onuseMenuStore
is now automatically set based on the context.#2796
Composed store props such asuseSelectStore({ combobox })
now acceptnull
as a value.Updated dependencies:
@ariakit/core@0.3.0
.@ariakit/test@0.2.3
Patch Changes
@ariakit/core@0.3.0
.