@ariakit/react@0.3.5
Patch Changes
-
#2935
Fixed TypeScript declaration files in CommonJS projects usingNodeNext
formoduleResolution
. -
#2945
Addedname
andvalue
properties to non-native input elements rendered byCheckbox
,Radio
,MenuItemCheckbox
, andMenuItemRadio
.It's now possible to access the
name
andvalue
properties from theevent.target
element in theonChange
event handler. -
#2945
FixedCompositeItem
and associated components not receiving thedisabled
prop when it's being used by a higher-level component such asMenuItemCheckbox
orMenuItemRadio
. -
#2945
It's now possible to control the menuvalues
state by passing thechecked
,defaultChecked
andonChange
props toMenuItemCheckbox
andMenuItemRadio
. -
#2948
Added"use client"
directive to all modules. -
#2949
The Select component will now display the selected option(s) on the underlying native select element even when the correspondingSelectItem
components aren't rendered.This comes in handy when the
SelectPopover
component is rendered dynamically (for instance, using theunmountOnHide
prop) or adefaultValue
is given without a matchingSelectItem
component. -
Improved JSDocs.
-
Updated dependencies:
@ariakit/react-core@0.3.5
.