@measured/puck 0.13.0-canary.10a6025 → 0.13.0-canary.1c4b97f
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 +621 -2849
- package/dist/rsc.d.ts +3 -3
- package/dist/rsc.js +1 -4
- package/package.json +2 -4
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.1c4b97f",
|
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",
|
@@ -47,7 +46,7 @@
|
|
47
46
|
"eslint-config-custom": "*",
|
48
47
|
"jest": "^29.6.4",
|
49
48
|
"jest-environment-jsdom": "^29.6.4",
|
50
|
-
"react
|
49
|
+
"lucide-react": "^0.298.0",
|
51
50
|
"ts-jest": "^29.1.1",
|
52
51
|
"tsconfig": "*",
|
53
52
|
"tsup": "^6.7.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"
|