feat: migrate Toolbar with teleport-safe focus ownership
This commit is contained in:
@@ -71,3 +71,18 @@ function buttonToggleContract() {
|
||||
};
|
||||
}
|
||||
void buttonToggleContract;
|
||||
|
||||
import type { ToolbarProps } from "../../packages/vue/src";
|
||||
import { Toolbar } from "../../packages/vue/src";
|
||||
|
||||
function toolbarContract() {
|
||||
const ok: ToolbarProps = {
|
||||
isAttached: true,
|
||||
orientation: "vertical",
|
||||
dir: "rtl",
|
||||
};
|
||||
// @ts-expect-error unsupported orientation
|
||||
const bad: ToolbarProps = { orientation: "diagonal" };
|
||||
return { bad, ok, Toolbar };
|
||||
}
|
||||
void toolbarContract;
|
||||
|
||||
Reference in New Issue
Block a user