@measured/puck 0.14.0-canary.deff7a7 → 0.14.0-canary.ea2a3d0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Config-0bf39037.d.ts → Config-shqT_YTp.d.ts} +36 -25
- package/dist/index.css +437 -346
- package/dist/index.d.ts +62 -49
- package/dist/index.js +1579 -680
- package/dist/rsc.d.ts +2 -2
- package/dist/rsc.js +4 -1
- package/package.json +5 -3
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-
|
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
|
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({
|
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.
|
3
|
+
"version": "0.14.0-canary.ea2a3d0",
|
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": "^
|
57
|
+
"tsup": "^8.0.2",
|
57
58
|
"tsup-config": "*",
|
58
59
|
"typescript": "^4.5.2"
|
59
60
|
},
|
60
61
|
"dependencies": {
|
61
|
-
"@
|
62
|
+
"@measured/auto-frame-component": "0.1.1",
|
63
|
+
"@measured/dnd": "16.6.0-canary.c7c88e8",
|
62
64
|
"deep-diff": "^1.0.2",
|
63
65
|
"react-hotkeys-hook": "^4.4.1",
|
64
66
|
"react-spinners": "^0.13.8",
|