@measured/puck 0.14.0-canary.3816c08 → 0.14.0-canary.3d595db

Sign up to get free protection for your applications and to get access to all the features.
package/dist/rsc.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as Config, D as Data } from './Config-1b86f0dc.js';
2
+ import { C as Config, D as Data } from './Config-shqT_YTp.js';
3
3
  import 'react';
4
4
 
5
- declare function Render<UserConfig extends Config<any, any, any> = Config<any, any, any>>({ config, data }: {
5
+ declare function Render<UserConfig extends Config = Config>({ config, data, }: {
6
6
  config: UserConfig;
7
7
  data: Data;
8
8
  }): react_jsx_runtime.JSX.Element;
package/dist/rsc.js CHANGED
@@ -109,7 +109,10 @@ function DropZoneRender({
109
109
  return null;
110
110
  }) });
111
111
  }
112
- function Render({ config, data }) {
112
+ function Render({
113
+ config,
114
+ data
115
+ }) {
113
116
  var _a;
114
117
  if ((_a = config.root) == null ? void 0 : _a.render) {
115
118
  const rootProps = data.root.props || data.root;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.14.0-canary.3816c08",
3
+ "version": "0.14.0-canary.3d595db",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",
@@ -46,6 +46,7 @@
46
46
  "@types/jest": "^29.5.4",
47
47
  "@types/react": "^18.2.0",
48
48
  "@types/react-dom": "^18.2.0",
49
+ "css-box-model": "^1.2.1",
49
50
  "eslint": "^7.32.0",
50
51
  "eslint-config-custom": "*",
51
52
  "jest": "^29.6.4",
@@ -53,12 +54,13 @@
53
54
  "lucide-react": "^0.298.0",
54
55
  "ts-jest": "^29.1.1",
55
56
  "tsconfig": "*",
56
- "tsup": "^6.7.0",
57
+ "tsup": "^8.0.2",
57
58
  "tsup-config": "*",
58
59
  "typescript": "^4.5.2"
59
60
  },
60
61
  "dependencies": {
61
- "@hello-pangea/dnd": "^16.3.0",
62
+ "@measured/auto-frame-component": "0.1.1",
63
+ "@measured/dnd": "16.6.0-canary.dcf051d",
62
64
  "deep-diff": "^1.0.2",
63
65
  "react-hotkeys-hook": "^4.4.1",
64
66
  "react-spinners": "^0.13.8",