Releases: chakra-ui/ark
Releases · chakra-ui/ark
@ark-ui/[email protected]
Added
- Developers can now set default options for all
Toast
components in their application, ensuring a consistent look and feel across the board.
@ark-ui/[email protected]
Changed
- Simplified forwardRef setup
@ark-ui/[email protected]
Changed
- Updated number input
onChange
handler to allow synchronous updates to the value when using the scrubber. - Improved TypeScript typings in our factory functions. The changes allow for more accurate type inference for the
ref
property when dealing with both intrinsic HTML elements and custom React components.
@ark-ui/[email protected]
Added
- To improve performance and reduce initial load times, we've introduced two new properties to the
AccordionContent
,ComboboxContent
,DialogBackdrop
,DialogContent
,HoverCardContent
,PopoverContent
,SelectContent
, andTooltipContent
components. ThelazyMount
property allows for on-demand rendering of content, while theunmountOnExit
property enables the removal of the component from the DOM once it's no longer required, ensuring better resource management and cleaner code.
@ark-ui/[email protected]
Fixed
- Resolved an issue that NextJS would throw a false error because of
use client
annotation.
@ark-ui/[email protected]
Added
- Enhanced
Carousel
component: IntroducedCarouselIndicator
andCarouselIndicatorGroup
components. These sub-components offer finer control over the carousel navigation, enabling users to directly access desired carousel slides. - Introduced
Presence
component, a new utility designed to delay the unmount of child components to assist with animation processes. - Added support to animate the
Dialog
,Tooltip
andPopover
elements using thePresence
component. Check out the documentation for these components to learn more. - Expose
use<X>Context
for all components that use context.
@ark-ui/[email protected]
Fixed
- Resolved an issue whre the
Toast
component would not render custom content. - Fixed an issue where standalone imports were not working as expected.
- Resolved an issue where the
SegmentGroup
component would not animate on the first click.
@ark-ui/[email protected]
Fixed
- Resolved an issue whre the
Toast
component would not render custom content. - Fixed an issue where standalone imports were not working as expected.
@ark-ui/[email protected]
Fixed
- Resolved an issue where the
SegmentGroup
component would not animate on the first click. - Fixed an issue where standalone imports were not working as expected.
- Resolved an issue whre the
Toast
component would not render custom content.
@ark-ui/[email protected]
- Add support for
SSR