github BuilderIO/agent-native @agent-native/toolkit@0.16.5

latest releases: v0.1.150-nightly.458, clips-nightly-v0.1.531-0, v0.1.150-nightly.457...
3 months ago

Patch Changes

  • 0b57293: Fix ActionButton and IconButton (from @agent-native/toolkit/design-system) not forwarding a native ref, which broke every Radix asChild trigger built on them — popovers, tooltips, dropdown menus, and dialogs positioned relative to the button would render off-screen (transform: translate(0px, -200%)) because Radix's Slot had no DOM node to measure. ActionButton/IconButton are now wrapped in forwardRef, and the forwarded ref is merged with the existing elementRef prop so both resolve to the same DOM node — existing consumers that pass elementRef explicitly are unaffected.

    Also fix IconButton dropping a native onClick. IconButtonProps did not
    declare onClick and the default adapter spread incoming props before setting
    its own handler, so a Radix asChild trigger built on IconButton — popover,
    dropdown menu, dialog — never opened at all. IconButton now merges onClick
    with onPress the same way ActionButton already did.

Don't miss a new agent-native release

NewReleases is sending notifications on new releases.