@measured/puck 0.19.0-canary.2c1db862 → 0.19.0-canary.2e6a87db

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.
@@ -3190,7 +3190,7 @@ var GlobalPosition = class {
3190
3190
  var _a;
3191
3191
  this.target = target;
3192
3192
  this.original = original;
3193
- this.frameEl = document.querySelector("#preview-frame");
3193
+ this.frameEl = document.querySelector("iframe");
3194
3194
  if (this.frameEl) {
3195
3195
  this.frameRect = this.frameEl.getBoundingClientRect();
3196
3196
  this.scaleFactor = this.frameRect.width / (((_a = this.frameEl.contentWindow) == null ? void 0 : _a.innerWidth) || 1);
package/dist/index.js CHANGED
@@ -5695,7 +5695,7 @@ var GlobalPosition = class {
5695
5695
  var _a;
5696
5696
  this.target = target;
5697
5697
  this.original = original;
5698
- this.frameEl = document.querySelector("#preview-frame");
5698
+ this.frameEl = document.querySelector("iframe");
5699
5699
  if (this.frameEl) {
5700
5700
  this.frameRect = this.frameEl.getBoundingClientRect();
5701
5701
  this.scaleFactor = this.frameRect.width / (((_a = this.frameEl.contentWindow) == null ? void 0 : _a.innerWidth) || 1);
package/dist/index.mjs CHANGED
@@ -75,7 +75,7 @@ import {
75
75
  useSlots,
76
76
  useSortableSafe,
77
77
  walkTree
78
- } from "./chunk-LXKK52AO.mjs";
78
+ } from "./chunk-ZOHJNF5K.mjs";
79
79
 
80
80
  // index.ts
81
81
  init_react_import();
package/dist/rsc.mjs CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  setupZone,
11
11
  transformProps,
12
12
  useSlots
13
- } from "./chunk-LXKK52AO.mjs";
13
+ } from "./chunk-ZOHJNF5K.mjs";
14
14
 
15
15
  // rsc.tsx
16
16
  init_react_import();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.19.0-canary.2c1db862",
3
+ "version": "0.19.0-canary.2e6a87db",
4
4
  "author": "Chris Villa <chris@puckeditor.com>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",