@measured/puck 0.12.1-canary.9470ff9 → 0.13.0-canary.194c4e5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Config-35e6eaae.d.ts → Config-0331e026.d.ts} +19 -3
- package/dist/index.css +107 -27
- package/dist/index.d.ts +22 -8
- package/dist/index.js +705 -337
- package/dist/rsc.d.ts +3 -3
- package/dist/rsc.js +4 -1
- package/package.json +1 -1
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-0331e026.js';
|
3
3
|
import 'react';
|
4
4
|
|
5
|
-
declare function Render({ config, data }: {
|
6
|
-
config: Config
|
5
|
+
declare function Render({ config, data, }: {
|
6
|
+
config: Config<any, any, any>;
|
7
7
|
data: Data;
|
8
8
|
}): react_jsx_runtime.JSX.Element;
|
9
9
|
|
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;
|