Releases: chakra-ui/ark
Releases · chakra-ui/ark
@ark-ui/[email protected]
Fixed
- Resolved an issue that for some components the types were not being generated correctly.
@ark-ui/[email protected]
Added
- Added
TreeView
component - Updated
@zag-js
dependencies to their latest versions, enhancing performance
for all components.
Changed
- Breaking Change: Renamed the
asChild
toas
prop. Theas
prop now
accepts a native HTML element or a custom component. For example:
- <Popover.Trigger asChild><Button>Open</Button></Popover.Trigger>
+ <Popover.Trigger as={<Button>Open</Button>} />
- Breaking Change: Renamed the root types for all components to
<ComponentName>RootProps
. Like shown for theAvatar
component below:
- import type { AvatarProps } from "@ark-ui/solid"
+ import type { AvatarRootProps } from "@ark-ui/solid"
- Breaking Change: Removed the
.Root
suffix for provider component like
Presence
andEnvironment
.
- <Presence.Root>...</Presence.Root>
+ <Presence>...</Presence>
-
Breaking Change: Renamed the
indicator
part toview
in theProgress
component to more accurately reflect its functionality. -
Added the
ItemPreview
component to theTagsInput
component. See the
example below:
<TagsInput.Item index={index} value={value()}>
+ <TagsInput.ItemPreview>
<TagsInput.ItemText>{value}</TagsInput.ItemText>
<TagsInput.ItemDeleteTrigger>Delete</TagsInput.ItemDeleteTrigger>
+ </TagsInput.ItemPreview>
<TagsInput.ItemInput />
</TagsInput.Item>
Fixed
- Fixed an issue on touch devices where selecting an item within
Combobox
,
Menu
, orSelect
triggered a click event on the element behind the
portalled content. - Fixed an issue in
PinInput
where pasting a value filled all inputs instead
of populating them one per input.
@ark-ui/[email protected]
Fixed
- Resolved an issue that for some components the types were not being generated correctly.
@ark-ui/[email protected]
Added
- Added
TreeView
component - Updated
@zag-js
dependencies to their latest versions, enhancing performance for all components.
Changed
- Breaking Change: Renamed the root types for all components to
<ComponentName>RootProps
. Like shown for theAvatar
component below:
- import type { AvatarProps } from "@ark-ui/react"
+ import type { AvatarRootProps } from "@ark-ui/react"
- Breaking Change: Removed the
.Root
suffix for provider component likePresence
andEnvironment
.
- <Presence.Root>...</Presence.Root>
+ <Presence>...</Presence>
-
Breaking Change: Renamed the
indicator
part toview
in theProgress
component to more accurately reflect its functionality. -
Added the
ItemPreview
component to theTagsInput
component. See the example below:
<TagsInput.Item key={index} index={index} value={value}>
+ <TagsInput.ItemPreview>
<TagsInput.ItemText>{value}</TagsInput.ItemText>
<TagsInput.ItemDeleteTrigger>Delete</TagsInput.ItemDeleteTrigger>
+ </TagsInput.ItemPreview>
<TagsInput.ItemInput />
</TagsInput.Item>
- Refactored the
Progress
component to usediv
elements instead ofnav
for semantic correctness.
Fixed
- Fixed an issue on touch devices where selecting an item within
Combobox
,Menu
, orSelect
triggered a click event on the element behind the portalled content. - Fixed an issue in
PinInput
where pasting a value filled all inputs instead of populating them one per input.
@ark-ui/[email protected]
Added
- Added
TreeView
anatomy
@ark-ui/[email protected]
Addded
- Added the
ItemPreview
part to theTagsInput
component.
Changed
- Breaking Change: Renamed the
indicator
part toview
in theProgress
component to more accurately reflect its functionality.
@ark-ui/[email protected]
Added
- Added
DatePicker
component - Added
Progress
component - Added
v-model:checked
forCheckbox
component - Added
v-model:open
forDialog
component - Added
v-model:open
forHoverCard
component - Added
v-model:open
forPopover
component - Added
valueAsString
toonValueChange
inDatePicker
callback details - Exported change details typings, for example
AccordionValueChangeDetails
orDialogOpenChangeDetails
Changed
- Changed
ColorPicker.Swatch
tag frombutton
todiv
- Changed
Combobox.ItemText
type frombutton
tospan
- Changed
Combobox.Positioner
tag fromul
todiv
- Changed
Popover.Description
tag fromdiv
top
- Rewritten all components
defineComponent
to Function Signature - Rewritten all components underlying Presence logic
- Revised
Dialog
component stories and tests - Revised
HoverCard
component stories and tests - Revised
Menu
component - Revised
Popover
component stories and tests - Revised
Select
component stories and types - Revised
Splitter
component - Revised
Tooltip
component - Revised
Tabs
component types - Revised
TagsInput
component - Revised
Toast
component - Revised
ToggleGroup
component - Replaced the styling props for indicator with CSS variables in
RadioGroup
,SegmentGroup
, andTabs
.
Fixed
- Added a missing slot with machine api in
Splitter
component - Added a missing slot with machine api in
Tabs
component - Added a missing slot with machine api in
Tooltip
component - Added missing emits in
Dialog
component - Added missing emits in
Presence
component - Added missing emits in
Slider
component - Fixed
Dialog.Trigger
aria-controls bug - Fixed
Menu.Trigger
aria-controls bug - Fixed
Popover.Trigger
aria-controls bug - Fixed
Toast
component render bugs - Fixed lazy mounting in
Accordion
component - Fixed lazy mounting in
ColorPicker
component - Fixed lazy mounting in
Combobox
component - Fixed lazy mounting in
HoverCard
component - Fixed lazy mounting in
Menu
component - Fixed lazy mounting in
Popover
component - Fixed lazy mounting in
Tabs
component - Fixed multiple rerenders on
Select
component using search params - Fixed the issue where setting
disabled
onCombobox
does not reflect in combobox item - Fix an issue that breaks the
Combobox
when clicking on the input while the menu is open - Fixed the issue where
DatePicker
initial value isn't set when using controlled context - Resolved an issue where
Tooltip
component would not handle open control state - Resolved an issue that
Menu
option item could not be activated by keyboard
@ark-ui/[email protected]
Added
- Added the
Progress
component. - Added
valueAsString
toonValueChange
inDatePicker
callback details - Exported change details typings, for example
AccordionValueChangeDetails
orDialogOpenChangeDetails
Changed
- Changed
Popover.Description
tag fromdiv
top
- Changed
PopoverDescriptionProps
type fromdiv
top
- Replaced the styling props for indicator with CSS variables in
RadioGroup
,SegmentGroup
, andTabs
.
Fixed
- Fixed multiple rerenders on
Select
component using search params - Fixed reactivity with collection in
Select
andCombobox
components - Fixed the issue where setting
disabled
onCombobox
does not reflect in combobox item - Fix an issue that breaks the
Combobox
when clicking on the input while the menu is open - Fixed the issue where
DatePicker
initial value isn't set when using controlled context - Resolved an issue that
asChild
did not work properly withsvg
elements. - Resolved an issue that
Menu
option item could not be activated by keyboard
@ark-ui/[email protected]
Added
- Added the
Progress
component. - Added
valueAsString
toonValueChange
inDatePicker
callback details - Exported change details typings, for example
AccordionValueChangeDetails
orDialogOpenChangeDetails
- Redesign
Portal
component to supportgetRootNode
anddisabled
props
Changed
- Replaced the styling props for indicator with CSS variables in
RadioGroup
,SegmentGroup
, andTabs
.
Fixed
- Added missing
placeholder
prop toSelectValueTextProps
type. - Changed
PopoverDescriptionProps
type fromdiv
top
- Fixed multiple rerenders on
Select
component with Next.js or RemixuseSearchParams
- Fixed the issue where setting
disabled
onCombobox
does not reflect in combobox item - Fix an issue that breaks the
Combobox
when clicking on the input while the menu is open - Fixed the issue where
DatePicker
initial value isn't set when using controlled context - Resolved an issue that
Menu
option item could not be activated by keyboard
@ark-ui/[email protected]
- Added
Progress
anatomy