@measured/puck 0.19.1-canary.5f63993d → 0.19.1-canary.85971053
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/dist/{chunk-H4SMAS54.mjs → chunk-AWVNXKQN.mjs} +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/rsc.js +2 -2
- package/dist/rsc.mjs +1 -1
- package/package.json +1 -1
@@ -697,7 +697,7 @@ var migrations = [
|
|
697
697
|
const { indexes } = walkAppState(appState, config);
|
698
698
|
const deletedCompounds = [];
|
699
699
|
walkAppState(appState, config, (content, zoneCompound, zoneType) => {
|
700
|
-
var _a2, _b;
|
700
|
+
var _a2, _b, _c;
|
701
701
|
if (zoneType === "dropzone") {
|
702
702
|
const [id, slotName] = zoneCompound.split(":");
|
703
703
|
const nodeData = indexes.nodes[id].data;
|
@@ -705,7 +705,7 @@ var migrations = [
|
|
705
705
|
const configForComponent = id === "root" ? config.root : config.components[componentType];
|
706
706
|
if (((_b = (_a2 = configForComponent == null ? void 0 : configForComponent.fields) == null ? void 0 : _a2[slotName]) == null ? void 0 : _b.type) === "slot") {
|
707
707
|
updatedItems[id] = __spreadProps(__spreadValues({}, nodeData), {
|
708
|
-
props: __spreadProps(__spreadValues({}, nodeData.props), {
|
708
|
+
props: __spreadProps(__spreadValues(__spreadValues({}, nodeData.props), (_c = updatedItems[id]) == null ? void 0 : _c.props), {
|
709
709
|
[slotName]: content
|
710
710
|
})
|
711
711
|
});
|
package/dist/index.js
CHANGED
@@ -8785,7 +8785,7 @@ var migrations = [
|
|
8785
8785
|
const { indexes } = walkAppState(appState, config);
|
8786
8786
|
const deletedCompounds = [];
|
8787
8787
|
walkAppState(appState, config, (content, zoneCompound, zoneType) => {
|
8788
|
-
var _a2, _b;
|
8788
|
+
var _a2, _b, _c;
|
8789
8789
|
if (zoneType === "dropzone") {
|
8790
8790
|
const [id, slotName] = zoneCompound.split(":");
|
8791
8791
|
const nodeData = indexes.nodes[id].data;
|
@@ -8793,7 +8793,7 @@ var migrations = [
|
|
8793
8793
|
const configForComponent = id === "root" ? config.root : config.components[componentType];
|
8794
8794
|
if (((_b = (_a2 = configForComponent == null ? void 0 : configForComponent.fields) == null ? void 0 : _a2[slotName]) == null ? void 0 : _b.type) === "slot") {
|
8795
8795
|
updatedItems[id] = __spreadProps(__spreadValues({}, nodeData), {
|
8796
|
-
props: __spreadProps(__spreadValues({}, nodeData.props), {
|
8796
|
+
props: __spreadProps(__spreadValues(__spreadValues({}, nodeData.props), (_c = updatedItems[id]) == null ? void 0 : _c.props), {
|
8797
8797
|
[slotName]: content
|
8798
8798
|
})
|
8799
8799
|
});
|
package/dist/index.mjs
CHANGED
package/dist/rsc.js
CHANGED
@@ -824,7 +824,7 @@ var migrations = [
|
|
824
824
|
const { indexes } = walkAppState(appState, config);
|
825
825
|
const deletedCompounds = [];
|
826
826
|
walkAppState(appState, config, (content, zoneCompound, zoneType) => {
|
827
|
-
var _a2, _b;
|
827
|
+
var _a2, _b, _c;
|
828
828
|
if (zoneType === "dropzone") {
|
829
829
|
const [id, slotName] = zoneCompound.split(":");
|
830
830
|
const nodeData = indexes.nodes[id].data;
|
@@ -832,7 +832,7 @@ var migrations = [
|
|
832
832
|
const configForComponent = id === "root" ? config.root : config.components[componentType];
|
833
833
|
if (((_b = (_a2 = configForComponent == null ? void 0 : configForComponent.fields) == null ? void 0 : _a2[slotName]) == null ? void 0 : _b.type) === "slot") {
|
834
834
|
updatedItems[id] = __spreadProps(__spreadValues({}, nodeData), {
|
835
|
-
props: __spreadProps(__spreadValues({}, nodeData.props), {
|
835
|
+
props: __spreadProps(__spreadValues(__spreadValues({}, nodeData.props), (_c = updatedItems[id]) == null ? void 0 : _c.props), {
|
836
836
|
[slotName]: content
|
837
837
|
})
|
838
838
|
});
|
package/dist/rsc.mjs
CHANGED
package/package.json
CHANGED