github chakra-ui/ark @ark-ui/svelte@5.0.5

latest releases: @ark-ui/mcp@1.2.0, @ark-ui/mcp@1.1.2, @ark-ui/mcp@1.1.1...
2 months ago

Fixed

  • Fix issue where bind:ref doesn't work with components, making it impossible to access the underlying DOM element.
    Now, you can pass bind:ref to all components.

    <script lang="ts">
      let rootNode = $state<HTMLDivElement | null>(null)
    
      $inspect(rootNode)
    </script>
    
    <Accordion.Root bind:ref={rootNode}>
      <Accordion.Item value="item-1">
        <Accordion.Trigger>Item 1</Accordion.Trigger>
        <Accordion.Content>Content 1</Accordion.Content>
      </Accordion.Item>
    </Accordion.Root>
  • Improve prop reactivity across all components.

Don't miss a new ark release

NewReleases is sending notifications on new releases.