@ariakit/react@0.3.1
Patch Changes
-
#2804New in this version: Component providersComponent providers are optional components that act as a higher-level API on top of component stores. They wrap Ariakit components and automatically provide a store to them.
-
#2797Fixed a regression onDialogregarding the timing of its "focus on hide" behavior. -
#2801Fixedvalues.sliceerror that would occur when clicking onFormCheckboxthat uses an integer-like field name. -
#2802AddedsetMountedprop touseDisclosureStoreand derived component stores. This callback prop can be used to react to changes in themountedstate. For example:useDialogStore({ setMounted(mounted) { if (!mounted) { props.onUnmount?.(); } }, });
-
#2803TheToolbarcomponent can now render without needing an explicitstoreprop or aToolbarProvidercomponent wrap.Toolbarnow also supports certain store props such asfocusLoop,orientation,rtl, andvirtualFocus. -
Updated dependencies:
@ariakit/react-core@0.3.1.