github-actions
released this
30 Jan 08:20
·
1614 commits
to main
since this release
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.