@measured/puck 0.12.1-canary.ccf7aa5 → 0.13.0-canary.04e1acf
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Config-35e6eaae.d.ts → Config-4367c689.d.ts} +35 -5
- package/dist/index.css +633 -524
- package/dist/index.d.ts +128 -37
- package/dist/index.js +2726 -2175
- package/dist/rsc.d.ts +3 -3
- package/dist/rsc.js +4 -1
- package/package.json +1 -3
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-4367c689.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;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.13.0-canary.04e1acf",
|
4
4
|
"private": false,
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"types": "./dist/index.d.ts",
|
@@ -39,7 +39,6 @@
|
|
39
39
|
"devDependencies": {
|
40
40
|
"@testing-library/react": "^14.0.0",
|
41
41
|
"@types/deep-diff": "^1.0.3",
|
42
|
-
"@types/event-emitter": "^0.3.3",
|
43
42
|
"@types/jest": "^29.5.4",
|
44
43
|
"@types/react": "^18.2.0",
|
45
44
|
"@types/react-dom": "^18.2.0",
|
@@ -57,7 +56,6 @@
|
|
57
56
|
"dependencies": {
|
58
57
|
"@hello-pangea/dnd": "^16.3.0",
|
59
58
|
"deep-diff": "^1.0.2",
|
60
|
-
"event-emitter": "^0.3.5",
|
61
59
|
"react-hotkeys-hook": "^4.4.1",
|
62
60
|
"react-spinners": "^0.13.8",
|
63
61
|
"use-debounce": "^9.0.4"
|