ui@0.3.0
Breaking Changes📦 remixView on GitHub →
⚠ 1 breaking✨ 2 features🐛 3 fixes🔧 7 symbols
Summary
This release introduces a breaking change for Remix UI component rendering, updates the anchor utility to support coordinate targets, and fixes several rendering and frame reloading bugs.
⚠️ Breaking Changes
- Remix UI component render functions no longer receive props as an argument. Fix: Type component props on "Handle<Props>" and read current values from "handle.props" in both setup and render code.
Migration Steps
- Update Remix UI component render functions to read props from `handle.props` instead of receiving them as an argument.
✨ New Features
- Updated anchor(floating, anchorTarget, options) to accept either an HTMLElement or coordinate target via the new AnchorPoint/AnchorTarget types.
- Added menu.contextTrigger() so menus can open from right-click pointer locations while keeping existing keyboard navigation, submenus, and selection behavior.
🐛 Bug Fixes
- Fixed css(...) so nested selector objects render recursively instead of serializing deeper nested rules as [object Object] (see #11459).
- Dispatch reload events for nested frames when an ancestor frame reloads.
- Prevent non-blocking frames from displaying their fallback when an ancestor frame is reloaded.