@measured/puck 0.13.0-canary.6dfbea3 → 0.13.0-canary.9ccbb3c
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/dist/{Config-4367c689.d.ts → Config-5804f327.d.ts} +1 -1
- package/dist/index.css +27 -30
- package/dist/index.d.ts +10 -12
- package/dist/index.js +512 -2726
- package/dist/rsc.d.ts +3 -3
- package/dist/rsc.js +1 -4
- package/package.json +2 -2
package/dist/rsc.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
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-5804f327.js';
|
3
3
|
import 'react';
|
4
4
|
|
5
|
-
declare function Render({ config, data
|
6
|
-
config:
|
5
|
+
declare function Render<UserConfig extends Config<any, any, any> = Config<any, any, any>>({ config, data }: {
|
6
|
+
config: UserConfig;
|
7
7
|
data: Data;
|
8
8
|
}): react_jsx_runtime.JSX.Element;
|
9
9
|
|
package/dist/rsc.js
CHANGED
@@ -109,10 +109,7 @@ function DropZoneRender({
|
|
109
109
|
return null;
|
110
110
|
}) });
|
111
111
|
}
|
112
|
-
function Render({
|
113
|
-
config,
|
114
|
-
data
|
115
|
-
}) {
|
112
|
+
function Render({ config, data }) {
|
116
113
|
var _a;
|
117
114
|
if ((_a = config.root) == null ? void 0 : _a.render) {
|
118
115
|
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.13.0-canary.
|
3
|
+
"version": "0.13.0-canary.9ccbb3c",
|
4
4
|
"private": false,
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"types": "./dist/index.d.ts",
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"eslint-config-custom": "*",
|
47
47
|
"jest": "^29.6.4",
|
48
48
|
"jest-environment-jsdom": "^29.6.4",
|
49
|
-
"react
|
49
|
+
"lucide-react": "^0.298.0",
|
50
50
|
"ts-jest": "^29.1.1",
|
51
51
|
"tsconfig": "*",
|
52
52
|
"tsup": "^6.7.0",
|