Repository navigation
@ariakit/react@0.3.5
Patch Changes
-
#2935Fixed TypeScript declaration files in CommonJS projects usingNodeNextformoduleResolution. -
#2945Addednameandvalueproperties to non-native input elements rendered byCheckbox,Radio,MenuItemCheckbox, andMenuItemRadio.It's now possible to access the
nameandvalueproperties from theevent.targetelement in theonChangeevent handler. -
#2945FixedCompositeItemand associated components not receiving thedisabledprop when it's being used by a higher-level component such asMenuItemCheckboxorMenuItemRadio. -
#2945It's now possible to control the menuvaluesstate by passing thechecked,defaultCheckedandonChangeprops toMenuItemCheckboxandMenuItemRadio. -
#2948Added"use client"directive to all modules. -
#2949The Select component will now display the selected option(s) on the underlying native select element even when the correspondingSelectItemcomponents aren't rendered.This comes in handy when the
SelectPopovercomponent is rendered dynamically (for instance, using theunmountOnHideprop) or adefaultValueis given without a matchingSelectItemcomponent. -
Improved JSDocs.
-
Updated dependencies:
@ariakit/react-core@0.3.5.