@preference-sl/pref-viewer 2.11.0-beta.18 → 2.11.0-beta.19
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/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
// Explicitly target the ESM bundle so esbuild (platform=node) picks up the default export.
|
|
2
|
+
import Panzoom from "@panzoom/panzoom/dist/panzoom.es.js";
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* PanzoomController - Encapsulates the logic for managing pan and zoom interactions on a given DOM element.
|
package/src/pref-viewer-3d.js
CHANGED
|
@@ -161,7 +161,7 @@ export default class PrefViewer3D extends HTMLElement {
|
|
|
161
161
|
|
|
162
162
|
this.#canvas = document.createElement("canvas");
|
|
163
163
|
this.#wrapper.appendChild(this.#canvas);
|
|
164
|
-
|
|
164
|
+
|
|
165
165
|
const style = document.createElement("style");
|
|
166
166
|
style.textContent = PrefViewer3DStyles;
|
|
167
167
|
this.append(style);
|
|
@@ -421,7 +421,7 @@ export default class PrefViewer3D extends HTMLElement {
|
|
|
421
421
|
tried: toSetDetail,
|
|
422
422
|
success: settedDetail,
|
|
423
423
|
};
|
|
424
|
-
|
|
424
|
+
|
|
425
425
|
const customEventOptions = {
|
|
426
426
|
bubbles: true,
|
|
427
427
|
cancelable: true,
|