feat: migrate Modal Popover and Tooltip with shared overlay foundation

This commit is contained in:
maoyingjie
2026-10-22 23:39:51 +08:00
parent b086d7f30d
commit 2b4ac04df1
108 changed files with 6888 additions and 100 deletions
+13
View File
@@ -0,0 +1,13 @@
<script setup lang="ts">
import { Button, Tooltip, TooltipContent } from "@heroui-vue/components";
</script>
<template>
<Tooltip :delay="0">
<Button variant="secondary">分享链接</Button>
<TooltipContent
class="rounded-lg border border-border/80 bg-surface px-2.5 py-1 text-xs text-foreground shadow-sm"
>
<p>已复制到剪贴板</p>
</TooltipContent>
</Tooltip>
</template>