chore: define examples router & add ellipsis comp (#4019)

* chore: define components router

* chore: 组件路由放置到演示路由下

* Revert "chore: 组件路由放置到演示路由下"

This reverts commit 3c24632ad5.

* chore: typo

* chore: 增加密码强度组件

* chore: 国际化密码强度的菜单

* chore(@vben/web-antd): 迁移文本省略组件

* chore: typo

* chore: 组件命名方式遵从packages

* chore: Optimize the onExpand function

* chore: update css

* chore(@vben/web-antd): optimize the getPosition function

* chore: add ellipsis-text in comm-ui

* chore: 文本省略组件迁移至common-ui

* feat(@vben/common-ui): Tooltip的tip支持style传参

* chore: 优化组件渲染

* chore: 使用css module解决样式冲突

* chore: update props

* chore: 优化css

* chore: rm unuse attr

---------

Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
This commit is contained in:
invalid w
2024-08-09 10:57:46 +08:00
committed by GitHub
parent de90b07b6f
commit f1e0278bd8
9 changed files with 237 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ import {
interface Props {
contentClass?: HTMLAttributes['class'];
contentStyle?: HTMLAttributes['style'];
delayDuration?: number;
side: TooltipContentProps['side'];
}
@@ -31,6 +32,7 @@ withDefaults(defineProps<Props>(), {
<TooltipContent
:class="contentClass"
:side="side"
:style="contentStyle"
class="side-content text-popover-foreground bg-popover"
>
<slot></slot>