@measured/puck 0.13.0-canary.fad52d7 → 0.13.0-canary.fc2cc06

Sign up to get free protection for your applications and to get access to all the features.
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-4367c689.js';
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: Config<any, any, any>;
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.fad52d7",
3
+ "version": "0.13.0-canary.fc2cc06",
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-feather": "^2.0.10",
49
+ "lucide-react": "^0.298.0",
50
50
  "ts-jest": "^29.1.1",
51
51
  "tsconfig": "*",
52
52
  "tsup": "^6.7.0",