Migrating 0.0.5 → 0.0.6
Bits UI was removed in 0.0.6; overlays moved to @floating-ui/dom plus the in-tree behaviors.
Most APIs are unchanged. The breaking changes:
<Drawer>is gone. Use<Sheet side="left">;Sheetnow defaults to'right', so pass the side you want.<RichTooltip>is gone. Use<Tooltip rich>.<PreviewCard>is gone. Use<Tooltip rich>with the trigger as a link:Tooltip(rich!="{true}" content="...") +snippet('trigger') a(href="/profile") @daniel<ContextMenu>no longer renders nested submenus. Thechildrenfield on items is accepted but ignored.The
scopeToProjectwrapper insvelte.config.jsis no longer needed. It existed only to keep svelte-preprocess from corrupting Bits UI's TypeScript source; remove it.