diff --git a/.github/renovate.json5 b/.github/renovate.json5 index b4004a2270..be1ae8f8a6 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -10,7 +10,6 @@ ], ignoreDeps: [ 'node', - 'csstype', // pure esm 'chalk', diff --git a/docs/.vitepress/config/index.mts b/docs/.vitepress/config/index.mts index 55acff2ffe..376705c210 100644 --- a/docs/.vitepress/config/index.mts +++ b/docs/.vitepress/config/index.mts @@ -8,7 +8,6 @@ import { nav } from './nav' import { mdPlugin } from './plugins' import { sidebars } from './sidebars' import { getViteConfig } from './vite' -import { vueCompiler } from './vue-compiler' import type { UserConfig } from 'vitepress' @@ -83,7 +82,6 @@ const setupConfig = (configEnv) => { config: (md) => mdPlugin(md), }, vue: { - compiler: vueCompiler, template: { compilerOptions: { hoistStatic: false, diff --git a/docs/.vitepress/config/vue-compiler.ts b/docs/.vitepress/config/vue-compiler.ts deleted file mode 100644 index 779c3b5bbd..0000000000 --- a/docs/.vitepress/config/vue-compiler.ts +++ /dev/null @@ -1,9 +0,0 @@ -// TODO: delete this file after upgrading vue in root package.json -import { createRequire } from 'node:module' - -const _require = createRequire(import.meta.url) -const vitepressPath = _require.resolve('vitepress') - -export const vueCompiler = _require( - _require.resolve('vue/compiler-sfc', { paths: [vitepressPath] }) -) diff --git a/docs/en-US/component/tooltip.md b/docs/en-US/component/tooltip.md index d49da2a6ff..c995560af8 100644 --- a/docs/en-US/component/tooltip.md +++ b/docs/en-US/component/tooltip.md @@ -182,7 +182,7 @@ tooltip/append-to | popper-style | custom style for Tooltip's popper | ^[string] / ^[object] | — | | enterable | whether the mouse can enter the tooltip | ^[boolean] | true | | teleported | whether tooltip content is teleported, if `true` it will be teleported to where `append-to` sets | ^[boolean] | true | -| trigger | How should the tooltip be triggered (to show), not valid in controlled mode | ^[enum]`'hover' \| 'click' \| 'focus' \| 'contextmenu'` / ^[array]`Array<'click' \| 'focus' \| 'hover' \| 'contextmenu'>` | hover | +| trigger | How should the tooltip be triggered (to show), not valid in controlled mode | ^[enum]`'hover' \| 'click' \| 'focus' \| 'contextmenu'` / ^[array]`Array<'click' \| 'focus' \| 'hover' \| 'contextmenu'>` | hover | | virtual-triggering | Indicates whether virtual triggering is enabled | ^[boolean] | — | | virtual-ref | Indicates the reference element to which the tooltip is attached | ^[HTMLElement] | — | | trigger-keys | When you click the mouse to focus on the trigger element, you can define a set of keyboard codes to control the display of tooltip through the keyboard, not valid in controlled mode | ^[Array] | ['Enter','Space'] | diff --git a/docs/examples/avatar/fit.vue b/docs/examples/avatar/fit.vue index 8b532f327e..cb0616c389 100644 --- a/docs/examples/avatar/fit.vue +++ b/docs/examples/avatar/fit.vue @@ -10,7 +10,7 @@