@measured/puck 0.18.0-canary.874ba1b → 0.18.0-canary.99e9ecb

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.
@@ -135,13 +135,11 @@ var resolveComponentData = (item, config, onResolveStart, onResolveEnd) => __asy
135
135
  onResolveStart(item);
136
136
  }
137
137
  const { props: resolvedProps, readOnly = {} } = yield configForItem.resolveData(item, { changed, lastData: oldItem });
138
- const { readOnly: existingReadOnly = {} } = item || {};
139
- const newReadOnly = __spreadValues(__spreadValues({}, existingReadOnly), readOnly);
140
138
  const resolvedItem = __spreadProps(__spreadValues({}, item), {
141
139
  props: __spreadValues(__spreadValues({}, item.props), resolvedProps)
142
140
  });
143
- if (Object.keys(newReadOnly).length) {
144
- resolvedItem.readOnly = newReadOnly;
141
+ if (Object.keys(readOnly).length) {
142
+ resolvedItem.readOnly = readOnly;
145
143
  }
146
144
  cache.lastChange[item.props.id] = {
147
145
  item,