feat: migrate Toolbar with teleport-safe focus ownership
This commit is contained in:
@@ -1148,3 +1148,22 @@ export const toggleButtonGroupVariants = tv({
|
||||
export type ToggleButtonGroupVariants = VariantProps<
|
||||
typeof toggleButtonGroupVariants
|
||||
>;
|
||||
|
||||
export const toolbarVariants = tv({
|
||||
base: "hv-toolbar",
|
||||
defaultVariants: {
|
||||
isAttached: false,
|
||||
orientation: "horizontal",
|
||||
},
|
||||
variants: {
|
||||
isAttached: {
|
||||
true: "hv-toolbar--attached",
|
||||
},
|
||||
orientation: {
|
||||
horizontal: "hv-toolbar--horizontal",
|
||||
vertical: "hv-toolbar--vertical",
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export type ToolbarVariants = VariantProps<typeof toolbarVariants>;
|
||||
|
||||
Reference in New Issue
Block a user