Skip to content
Compare
Choose a tag to compare
@github-actions 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 to as prop. The as 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 the Avatar 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 and Environment.
- <Presence.Root>...</Presence.Root>
+ <Presence>...</Presence>
  • Breaking Change: Renamed the indicator part to view in the Progress
    component to more accurately reflect its functionality.

  • Added the ItemPreview component to the TagsInput 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, or Select 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.