react-grab@0.1.49
aidenybai/react-grabreact-grab@0.1.49Jul 23, 2026by github-actions[bot]
AI Summary
Adds support for selecting elements inside Shadow DOM and iframes, along with direct selection of Three.js and React Three Fiber objects.
Key Highlights
- Select elements inside open Shadow DOM roots and same-origin iframes
- Select Three.js and React Three Fiber objects directly from canvas renderers
- Add public element-picker primitives for hit testing
- Keep held selections attached to React fibers across DOM replacements
- Make copy failures recoverable with Retry and Ok controls
New Features
- Shadow DOM and iframe selection support
- Three.js and R3F object selection
- Public element-picker primitives
- Copy failure recovery mechanisms
- Enhanced reliability and teardown handling
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