@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.
@@ -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
@@ -25,7 +25,7 @@ import {
25
25
  walkAppState,
26
26
  walkField,
27
27
  walkTree
28
- } from "./chunk-H4SMAS54.mjs";
28
+ } from "./chunk-AWVNXKQN.mjs";
29
29
 
30
30
  // ../../node_modules/classnames/index.js
31
31
  var require_classnames = __commonJS({
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
@@ -5,7 +5,7 @@ import {
5
5
  resolveAllData,
6
6
  transformProps,
7
7
  walkTree
8
- } from "./chunk-H4SMAS54.mjs";
8
+ } from "./chunk-AWVNXKQN.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.19.1-canary.5f63993d",
3
+ "version": "0.19.1-canary.85971053",
4
4
  "author": "Chris Villa <chris@puckeditor.com>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",