@measured/puck 0.18.0-canary.874ba1b → 0.18.0-canary.88863c3
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +3 -3
- package/dist/{chunk-EXKSBUY5.mjs → chunk-CHWFBYEM.mjs} +2 -4
- package/dist/index.css +44 -47
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +841 -649
- package/dist/index.mjs +683 -488
- package/dist/rsc.js +2 -4
- package/dist/rsc.mjs +1 -1
- package/package.json +1 -1
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(
|
202
|
-
resolvedItem.readOnly =
|
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
package/package.json
CHANGED