feat: add photoswipe for image zoom (#135)

This commit is contained in:
dabuside
2024-07-28 01:41:11 +08:00
committed by saicaca
parent 336290a92f
commit 51025f0ea7
8 changed files with 173 additions and 95 deletions

9
pnpm-lock.yaml generated
View File

@@ -142,6 +142,9 @@ importers:
'@types/sanitize-html':
specifier: ^2.11.0
version: 2.11.0
photoswipe:
specifier: ^5.4.4
version: 5.4.4
remark-github-admonitions-to-directives:
specifier: ^1.0.5
version: 1.0.5
@@ -3514,6 +3517,10 @@ packages:
periscopic@3.1.0:
resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==}
photoswipe@5.4.4:
resolution: {integrity: sha512-WNFHoKrkZNnvFFhbHL93WDkW3ifwVOXSW3w1UuZZelSmgXpIGiZSNlZJq37rR8YejqME2rHs9EhH9ZvlvFH2NA==}
engines: {node: '>= 0.12.0'}
picocolors@1.0.1:
resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==}
@@ -8761,6 +8768,8 @@ snapshots:
estree-walker: 3.0.3
is-reference: 3.0.2
photoswipe@5.4.4: {}
picocolors@1.0.1: {}
picomatch@2.3.1: {}