@r74tech/docusaurus-plugin-panzoom 2.4.2 → 2.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/dist/PanZoom.js +1 -1
- package/package.json +19 -18
- package/pnpm-workspace.yaml +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## [2.4.5](https://github.com/r74tech/docusaurus-plugin-panzoom/compare/v2.4.4...v2.4.5) (2026-09-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* instantiate panzoom after element is wrapped in container ([#39](https://github.com/r74tech/docusaurus-plugin-panzoom/issues/39)) ([012fda2](https://github.com/r74tech/docusaurus-plugin-panzoom/commit/012fda2f82879fb0df284163ff673d8542e1ee66))
|
|
7
|
+
|
|
8
|
+
## [2.4.4](https://github.com/r74tech/docusaurus-plugin-panzoom/compare/v2.4.3...v2.4.4) (2026-09-10)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **ci:** 公開時にOIDC対応のnpmを使用 ([#38](https://github.com/r74tech/docusaurus-plugin-panzoom/issues/38)) ([e289c30](https://github.com/r74tech/docusaurus-plugin-panzoom/commit/e289c301822c45e0777e66760008c466d75dfab0))
|
|
14
|
+
|
|
15
|
+
## [2.4.3](https://github.com/r74tech/docusaurus-plugin-panzoom/compare/v2.4.2...v2.4.3) (2026-09-10)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **docs:** ドキュメントビルドのwebpack互換性を修正 ([2eb13b9](https://github.com/r74tech/docusaurus-plugin-panzoom/commit/2eb13b994e2d4db3a4e48966f6f25c166349d2ae))
|
|
21
|
+
|
|
1
22
|
## [2.4.2](https://github.com/r74tech/docusaurus-plugin-panzoom/compare/v2.4.1...v2.4.2) (2026-02-08)
|
|
2
23
|
|
|
3
24
|
|
package/dist/PanZoom.js
CHANGED
|
@@ -120,7 +120,6 @@ const zoomElements = (selectors) => {
|
|
|
120
120
|
foundElements.push(...document.querySelectorAll(selector));
|
|
121
121
|
});
|
|
122
122
|
foundElements.forEach((element) => {
|
|
123
|
-
const instance = (0, panzoom_1.default)(element, { excludeClass, ...panZoomConfig });
|
|
124
123
|
let container;
|
|
125
124
|
if (wrap) {
|
|
126
125
|
const wrapper = document.createElement('div');
|
|
@@ -134,6 +133,7 @@ const zoomElements = (selectors) => {
|
|
|
134
133
|
htmlElement.style.position = 'relative';
|
|
135
134
|
container = htmlElement;
|
|
136
135
|
}
|
|
136
|
+
const instance = (0, panzoom_1.default)(element, { excludeClass, ...panZoomConfig });
|
|
137
137
|
addEventListeners(container, instance);
|
|
138
138
|
// Add toolbar if enabled
|
|
139
139
|
if (enabled) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@r74tech/docusaurus-plugin-panzoom",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.5",
|
|
4
|
+
"packageManager": "pnpm@11.24.0",
|
|
4
5
|
"description": "A plugin to enable the panzoom component on SVG and other elements",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
7
|
"types": "dist/index.d.ts",
|
|
@@ -24,34 +25,34 @@
|
|
|
24
25
|
"format": "prettier --write --no-error-on-unmatched-pattern 'src/**/*.{ts,css}' --config ./.prettierrc"
|
|
25
26
|
},
|
|
26
27
|
"dependencies": {
|
|
27
|
-
"@docusaurus/utils-validation": "^3.
|
|
28
|
-
"@panzoom/panzoom": "^4.6.
|
|
28
|
+
"@docusaurus/utils-validation": "^3.10.2",
|
|
29
|
+
"@panzoom/panzoom": "^4.6.2"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
|
-
"@docusaurus/types": "^3.
|
|
32
|
+
"@docusaurus/types": "^3.10.2",
|
|
32
33
|
"@eslint/compat": "^1.4.1",
|
|
33
|
-
"@eslint/js": "^9.39.
|
|
34
|
+
"@eslint/js": "^9.39.5",
|
|
34
35
|
"@semantic-release/changelog": "^6.0.3",
|
|
35
36
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
36
37
|
"@semantic-release/git": "^10.0.1",
|
|
37
|
-
"@semantic-release/github": "^12.0.
|
|
38
|
-
"@semantic-release/npm": "^13.1.
|
|
39
|
-
"@semantic-release/release-notes-generator": "^14.1.
|
|
40
|
-
"@tsconfig/docusaurus": "^2.0.
|
|
41
|
-
"@types/node": "^25.
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
43
|
-
"@typescript-eslint/parser": "^8.
|
|
44
|
-
"eslint": "^9.39.
|
|
38
|
+
"@semantic-release/github": "^12.0.9",
|
|
39
|
+
"@semantic-release/npm": "^13.1.5",
|
|
40
|
+
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
41
|
+
"@tsconfig/docusaurus": "^2.0.9",
|
|
42
|
+
"@types/node": "^25.9.6",
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "^8.70.0",
|
|
44
|
+
"@typescript-eslint/parser": "^8.70.0",
|
|
45
|
+
"eslint": "^9.39.5",
|
|
45
46
|
"eslint-config-prettier": "^10.1.8",
|
|
46
|
-
"eslint-plugin-prettier": "^5.5.
|
|
47
|
+
"eslint-plugin-prettier": "^5.5.6",
|
|
47
48
|
"globals": "^15.15.0",
|
|
48
|
-
"lint-staged": "^16.
|
|
49
|
-
"prettier": "^3.
|
|
49
|
+
"lint-staged": "^16.4.0",
|
|
50
|
+
"prettier": "^3.9.6",
|
|
50
51
|
"react": "^18.3.1",
|
|
51
52
|
"react-dom": "^18.3.1",
|
|
52
|
-
"semantic-release": "^25.0.
|
|
53
|
+
"semantic-release": "^25.0.9",
|
|
53
54
|
"typescript": "^5.9.3",
|
|
54
|
-
"typescript-eslint": "^8.
|
|
55
|
+
"typescript-eslint": "^8.70.0"
|
|
55
56
|
},
|
|
56
57
|
"release": {
|
|
57
58
|
"plugins": [
|