@measured/puck 0.17.1 → 0.17.2-canary.98a70fd

Sign up to get free protection for your applications and to get access to all the features.
package/dist/rsc.js CHANGED
@@ -193,13 +193,11 @@ var resolveComponentData = (item, config, onResolveStart, onResolveEnd) => __asy
193
193
  onResolveStart(item);
194
194
  }
195
195
  const { props: resolvedProps, readOnly = {} } = yield configForItem.resolveData(item, { changed, lastData: oldItem });
196
- const { readOnly: existingReadOnly = {} } = item || {};
197
- const newReadOnly = __spreadValues(__spreadValues({}, existingReadOnly), readOnly);
198
196
  const resolvedItem = __spreadProps(__spreadValues({}, item), {
199
197
  props: __spreadValues(__spreadValues({}, item.props), resolvedProps)
200
198
  });
201
- if (Object.keys(newReadOnly).length) {
202
- resolvedItem.readOnly = newReadOnly;
199
+ if (Object.keys(readOnly).length) {
200
+ resolvedItem.readOnly = readOnly;
203
201
  }
204
202
  cache.lastChange[item.props.id] = {
205
203
  item,
package/dist/rsc.mjs CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  resolveAllData,
6
6
  rootDroppableId,
7
7
  setupZone
8
- } from "./chunk-7IH6SUIT.mjs";
8
+ } from "./chunk-LNGCTWA7.mjs";
9
9
 
10
10
  // rsc.tsx
11
11
  init_react_import();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.17.1",
3
+ "version": "0.17.2-canary.98a70fd",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",
@@ -72,7 +72,7 @@
72
72
  "@measured/dnd": "16.6.0-canary.4cba1d1",
73
73
  "deep-diff": "^1.0.2",
74
74
  "object-hash": "^3.0.0",
75
- "react-hotkeys-hook": "^4.4.1",
75
+ "react-hotkeys-hook": "^4.6.1",
76
76
  "ua-parser-js": "^1.0.37",
77
77
  "use-debounce": "^9.0.4",
78
78
  "uuid": "^9.0.1"