react-grab@0.1.49

a16z-infra/llm-app-stackreact-grab@0.1.49Jul 23, 2026by github-actions[bot]

AI Summary

A comprehensive patch release introducing major improvements to selection capabilities, including support for Shadow DOM, iframes, and Three.js objects, alongside enhanced reliability.

Key Highlights

  • Support for grabbing elements inside Shadow DOM roots and same-origin iframes
  • Direct selection of Three.js and React Three Fiber objects from canvas renderers
  • Addition of public element-picker primitives for hit testing
  • Harden activation, teardown, and host-page recovery mechanisms

New Features

  • Shadow DOM and iframe selection support
  • Three.js and React Three Fiber object selection
  • Public element-picker primitives
  • Selection persistence across DOM replacements
  • Enhanced error handling and copy recovery

Full Release Notes

### Patch Changes

- 9a1c4f0: Ship the accumulated selection, copy, customization, and reliability improvements since 0.1.48:

  - Grab elements inside open Shadow DOM roots and same-origin iframes, including nested and transformed frames, while preserving source context, overlays, drag selection, editor navigation, and cleanup behavior.
  - Select Three.js and React Three Fiber objects directly from canvas renderers, with component metadata, source context, bounds, CSS extraction, and editing support.
  - Add public element-picker primitives for filtered or container-scoped hit testing, safe bounds snapshots, transactional page freezing, and editor navigation. The `grab` alias now exposes its documented `primitives` and stylesheet subpaths too.
  - Keep held selections attached to their React fibers across DOM replacements and make copy failures recoverable with Retry and Ok controls. Cancel stale or in-flight copy work, reject empty transformed output, restore hovered copy labels, and isolate plugin, action, and subscriber failures.
  - Harden activation, teardown, and host-page recovery. Invalid custom activation keys no longer crash initialization; repeated or failed disposal completes safely; toolbar state survives body replacement; Style previews, animations, pseudo states, pointer behavior, and iframe resources are restored reliably.
  - Improve component-name and Solid source resolution, immediate theme updates, dark-mode label contrast, auto-scroll boundary handling, toolbar snapping, and selection rendering performance.
  - @react-grab/cli@0.1.49