@measured/puck 0.18.0-canary.b355ddd → 0.18.0-canary.d253d54
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +0 -4
- package/dist/index.mjs +0 -4
- package/package.json +1 -3
package/dist/index.js
CHANGED
@@ -6914,9 +6914,6 @@ init_react_import();
|
|
6914
6914
|
var import_jsx_runtime36 = require("react/jsx-runtime");
|
6915
6915
|
var DefaultOverride = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_jsx_runtime36.Fragment, { children });
|
6916
6916
|
|
6917
|
-
// components/Puck/index.tsx
|
6918
|
-
var import_dom2 = require("@dnd-kit/dom");
|
6919
|
-
|
6920
6917
|
// lib/use-inject-css.ts
|
6921
6918
|
init_react_import();
|
6922
6919
|
var import_react41 = require("react");
|
@@ -7157,7 +7154,6 @@ function Puck({
|
|
7157
7154
|
}, []);
|
7158
7155
|
const selectedComponentConfig = selectedItem && config.components[selectedItem.type];
|
7159
7156
|
const selectedComponentLabel = selectedItem ? (_b = selectedComponentConfig == null ? void 0 : selectedComponentConfig["label"]) != null ? _b : selectedItem.type.toString() : "";
|
7160
|
-
const [manager] = (0, import_react42.useState)(new import_dom2.DragDropManager({ plugins: [import_dom2.Feedback] }));
|
7161
7157
|
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: `Puck ${getClassName27()}`, children: [
|
7162
7158
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
7163
7159
|
AppProvider,
|
package/dist/index.mjs
CHANGED
@@ -6780,9 +6780,6 @@ init_react_import();
|
|
6780
6780
|
import { Fragment as Fragment14, jsx as jsx36 } from "react/jsx-runtime";
|
6781
6781
|
var DefaultOverride = ({ children }) => /* @__PURE__ */ jsx36(Fragment14, { children });
|
6782
6782
|
|
6783
|
-
// components/Puck/index.tsx
|
6784
|
-
import { DragDropManager as DragDropManager2, Feedback } from "@dnd-kit/dom";
|
6785
|
-
|
6786
6783
|
// lib/use-inject-css.ts
|
6787
6784
|
init_react_import();
|
6788
6785
|
import { useEffect as useEffect21, useState as useState25 } from "react";
|
@@ -7023,7 +7020,6 @@ function Puck({
|
|
7023
7020
|
}, []);
|
7024
7021
|
const selectedComponentConfig = selectedItem && config.components[selectedItem.type];
|
7025
7022
|
const selectedComponentLabel = selectedItem ? (_b = selectedComponentConfig == null ? void 0 : selectedComponentConfig["label"]) != null ? _b : selectedItem.type.toString() : "";
|
7026
|
-
const [manager] = useState26(new DragDropManager2({ plugins: [Feedback] }));
|
7027
7023
|
return /* @__PURE__ */ jsxs20("div", { className: `Puck ${getClassName27()}`, children: [
|
7028
7024
|
/* @__PURE__ */ jsx37(
|
7029
7025
|
AppProvider,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck",
|
3
|
-
"version": "0.18.0-canary.
|
3
|
+
"version": "0.18.0-canary.d253d54",
|
4
4
|
"author": "Measured Corporation Ltd <hello@measured.co>",
|
5
5
|
"repository": "measuredco/puck",
|
6
6
|
"bugs": "https://github.com/measuredco/puck/issues",
|
@@ -54,7 +54,6 @@
|
|
54
54
|
"@types/object-hash": "^3.0.6",
|
55
55
|
"@types/react": "^19.0.1",
|
56
56
|
"@types/react-dom": "^19.0.2",
|
57
|
-
"@types/ua-parser-js": "^0.7.39",
|
58
57
|
"@types/uuid": "^10.0.0",
|
59
58
|
"css-box-model": "^1.2.1",
|
60
59
|
"eslint": "^7.32.0",
|
@@ -74,7 +73,6 @@
|
|
74
73
|
"deep-diff": "^1.0.2",
|
75
74
|
"object-hash": "^3.0.0",
|
76
75
|
"react-hotkeys-hook": "^4.6.1",
|
77
|
-
"ua-parser-js": "^1.0.37",
|
78
76
|
"use-debounce": "^9.0.4",
|
79
77
|
"uuid": "^9.0.1"
|
80
78
|
},
|