mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
chore: patch floating-vue
This commit is contained in:
parent
45853ab51d
commit
1e98061021
21
patches/floating-vue.patch
Normal file
21
patches/floating-vue.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
diff --git a/dist/floating-vue.mjs b/dist/floating-vue.mjs
|
||||||
|
index d54beb90f1fd341fb0aa41e1503afdbbece12cbb..fa6207d11b72af5249f04978958a147e9e3b4bcf 100644
|
||||||
|
--- a/dist/floating-vue.mjs
|
||||||
|
+++ b/dist/floating-vue.mjs
|
||||||
|
@@ -946,6 +946,7 @@ function mt(e, t, o, i, s, r) {
|
||||||
|
const p = P("ResizeObserver");
|
||||||
|
return f(), T("div", {
|
||||||
|
id: e.popperId,
|
||||||
|
+ 'data-allow-mismatch': '',
|
||||||
|
ref: "popover",
|
||||||
|
class: J(["v-popper__popper", [
|
||||||
|
e.themeClass,
|
||||||
|
@@ -966,7 +967,7 @@ function mt(e, t, o, i, s, r) {
|
||||||
|
position: e.result.strategy,
|
||||||
|
transform: `translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`
|
||||||
|
} : void 0),
|
||||||
|
- "aria-hidden": e.shown ? "false" : "true",
|
||||||
|
+ "aria-hidden": e.shown || e.autoHide ? "false" : "true",
|
||||||
|
tabindex: e.autoHide ? 0 : void 0,
|
||||||
|
"data-popper-placement": e.result ? e.result.placement : void 0,
|
||||||
|
onKeyup: t[2] || (t[2] = je((a) => e.autoHide && e.$emit("hide"), ["esc"]))
|
||||||
9
pnpm-lock.yaml
generated
9
pnpm-lock.yaml
generated
@ -367,6 +367,11 @@ overrides:
|
|||||||
sass: ^1.89.0
|
sass: ^1.89.0
|
||||||
sass-embedded: ^1.89.0
|
sass-embedded: ^1.89.0
|
||||||
|
|
||||||
|
patchedDependencies:
|
||||||
|
floating-vue:
|
||||||
|
hash: c8e9cd61468e959201bb251258241870423ca2ca7ae2e8a184210e0f20619fd5
|
||||||
|
path: patches/floating-vue.patch
|
||||||
|
|
||||||
importers:
|
importers:
|
||||||
|
|
||||||
.:
|
.:
|
||||||
@ -9509,7 +9514,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@shikijs/twoslash': 3.4.2(typescript@5.8.3)
|
'@shikijs/twoslash': 3.4.2(typescript@5.8.3)
|
||||||
'@vuepress/helper': 2.0.0-rc.105(typescript@5.8.3)(vuepress@2.0.0-rc.23(@vuepress/bundler-vite@2.0.0-rc.23(@types/node@22.15.19)(jiti@2.4.2)(less@4.3.0)(sass-embedded@1.89.0)(sass@1.89.0)(stylus@0.64.0)(typescript@5.8.3)(yaml@2.8.0))(typescript@5.8.3)(vue@3.5.14(typescript@5.8.3)))
|
'@vuepress/helper': 2.0.0-rc.105(typescript@5.8.3)(vuepress@2.0.0-rc.23(@vuepress/bundler-vite@2.0.0-rc.23(@types/node@22.15.19)(jiti@2.4.2)(less@4.3.0)(sass-embedded@1.89.0)(sass@1.89.0)(stylus@0.64.0)(typescript@5.8.3)(yaml@2.8.0))(typescript@5.8.3)(vue@3.5.14(typescript@5.8.3)))
|
||||||
floating-vue: 5.2.2(vue@3.5.14(typescript@5.8.3))
|
floating-vue: 5.2.2(patch_hash=c8e9cd61468e959201bb251258241870423ca2ca7ae2e8a184210e0f20619fd5)(vue@3.5.14(typescript@5.8.3))
|
||||||
mdast-util-from-markdown: 2.0.2
|
mdast-util-from-markdown: 2.0.2
|
||||||
mdast-util-gfm: 3.1.0
|
mdast-util-gfm: 3.1.0
|
||||||
mdast-util-to-hast: 13.2.0
|
mdast-util-to-hast: 13.2.0
|
||||||
@ -11051,7 +11056,7 @@ snapshots:
|
|||||||
|
|
||||||
flatted@3.3.3: {}
|
flatted@3.3.3: {}
|
||||||
|
|
||||||
floating-vue@5.2.2(vue@3.5.14(typescript@5.8.3)):
|
floating-vue@5.2.2(patch_hash=c8e9cd61468e959201bb251258241870423ca2ca7ae2e8a184210e0f20619fd5)(vue@3.5.14(typescript@5.8.3)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@floating-ui/dom': 1.1.1
|
'@floating-ui/dom': 1.1.1
|
||||||
vue: 3.5.14(typescript@5.8.3)
|
vue: 3.5.14(typescript@5.8.3)
|
||||||
|
|||||||
@ -4,13 +4,15 @@ packages:
|
|||||||
- cli
|
- cli
|
||||||
- plugins/*
|
- plugins/*
|
||||||
- examples/*
|
- examples/*
|
||||||
|
|
||||||
overrides:
|
overrides:
|
||||||
'@typescript-eslint/utils': ^8.32.1
|
'@typescript-eslint/utils': ^8.32.1
|
||||||
esbuild: ^0.25.4
|
esbuild: ^0.25.4
|
||||||
sass: ^1.89.0
|
sass: ^1.89.0
|
||||||
sass-embedded: ^1.89.0
|
sass-embedded: ^1.89.0
|
||||||
|
|
||||||
|
patchedDependencies:
|
||||||
|
floating-vue: patches/floating-vue.patch
|
||||||
|
|
||||||
catalogs:
|
catalogs:
|
||||||
dev:
|
dev:
|
||||||
'@commitlint/cli': ^19.8.1
|
'@commitlint/cli': ^19.8.1
|
||||||
@ -52,7 +54,6 @@ catalogs:
|
|||||||
vitest: ^3.1.3
|
vitest: ^3.1.3
|
||||||
vue-router: ^4.5.1
|
vue-router: ^4.5.1
|
||||||
wait-on: ^8.0.3
|
wait-on: ^8.0.3
|
||||||
|
|
||||||
peer:
|
peer:
|
||||||
'@iconify/json': ^2.2.339
|
'@iconify/json': ^2.2.339
|
||||||
artplayer: ^5.2.3
|
artplayer: ^5.2.3
|
||||||
@ -64,7 +65,6 @@ catalogs:
|
|||||||
sass-embedded: ^1.89.0
|
sass-embedded: ^1.89.0
|
||||||
sass-loader: ^16.0.5
|
sass-loader: ^16.0.5
|
||||||
swiper: ^11.2.6
|
swiper: ^11.2.6
|
||||||
|
|
||||||
prod:
|
prod:
|
||||||
'@clack/prompts': ^0.10.1
|
'@clack/prompts': ^0.10.1
|
||||||
'@iconify/utils': ^2.3.0
|
'@iconify/utils': ^2.3.0
|
||||||
@ -116,7 +116,6 @@ catalogs:
|
|||||||
tm-themes: ^1.10.6
|
tm-themes: ^1.10.6
|
||||||
unplugin: ^2.3.4
|
unplugin: ^2.3.4
|
||||||
vue: ^3.5.14
|
vue: ^3.5.14
|
||||||
|
|
||||||
vuepress:
|
vuepress:
|
||||||
'@vuepress/bundler-vite': 2.0.0-rc.23
|
'@vuepress/bundler-vite': 2.0.0-rc.23
|
||||||
'@vuepress/helper': 2.0.0-rc.105
|
'@vuepress/helper': 2.0.0-rc.105
|
||||||
@ -139,7 +138,6 @@ catalogs:
|
|||||||
'@vuepress/shiki-twoslash': 2.0.0-rc.105
|
'@vuepress/shiki-twoslash': 2.0.0-rc.105
|
||||||
vuepress: 2.0.0-rc.23
|
vuepress: 2.0.0-rc.23
|
||||||
vuepress-plugin-md-enhance: 2.0.0-rc.88
|
vuepress-plugin-md-enhance: 2.0.0-rc.88
|
||||||
|
|
||||||
onlyBuiltDependencies:
|
onlyBuiltDependencies:
|
||||||
- '@parcel/watcher'
|
- '@parcel/watcher'
|
||||||
- core-js
|
- core-js
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user