@measured/puck 0.16.0-canary.6d43ba0 → 0.16.0-canary.72b8720

Sign up to get free protection for your applications and to get access to all the features.
package/dist/rsc.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as Config, D as Data } from './Config-XUGMjfT5.mjs';
2
+ import { C as Config, D as Data } from './actions-9pHbVtMU.mjs';
3
3
  import 'react';
4
4
 
5
5
  declare function Render<UserConfig extends Config = Config>({ config, data, }: {
package/dist/rsc.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as Config, D as Data } from './Config-XUGMjfT5.js';
2
+ import { C as Config, D as Data } from './actions-9pHbVtMU.js';
3
3
  import 'react';
4
4
 
5
5
  declare function Render<UserConfig extends Config = Config>({ config, data, }: {
package/dist/rsc.js CHANGED
@@ -62,8 +62,9 @@ var setupZone = (data, zoneKey) => {
62
62
  if (zoneKey === rootDroppableId) {
63
63
  return data;
64
64
  }
65
- const newData = __spreadValues({}, data);
66
- newData.zones = data.zones || {};
65
+ const newData = __spreadProps(__spreadValues({}, data), {
66
+ zones: data.zones || {}
67
+ });
67
68
  newData.zones[zoneKey] = newData.zones[zoneKey] || [];
68
69
  return newData;
69
70
  };
package/dist/rsc.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  init_react_import,
5
5
  rootDroppableId,
6
6
  setupZone
7
- } from "./chunk-TM7CT64S.mjs";
7
+ } from "./chunk-LM7YWFFF.mjs";
8
8
 
9
9
  // rsc.tsx
10
10
  init_react_import();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.16.0-canary.6d43ba0",
3
+ "version": "0.16.0-canary.72b8720",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",