draftify-react 0.1.5 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +284 -280
- package/dist/draftify-react.css +1 -1
- package/dist/draftify-react.es.js +8 -4
- package/dist/draftify-react.umd.js +12 -12
- package/index.d.ts +118 -5
- package/package.json +5 -1
|
@@ -10655,10 +10655,10 @@ function Ky({ handleClick: e }) {
|
|
|
10655
10655
|
const [t, n] = ne(null), r = (i, a) => {
|
|
10656
10656
|
n(i), e(a);
|
|
10657
10657
|
};
|
|
10658
|
-
return /* @__PURE__ */ M.jsx("div", { className: "flex flex-wrap gap-
|
|
10658
|
+
return /* @__PURE__ */ M.jsx("div", { className: "flex flex-wrap gap-1.25 md:gap-2.5 items-center", children: Gy.map((i) => /* @__PURE__ */ M.jsx(an, { text: `${i.type}`, children: /* @__PURE__ */ M.jsxs(
|
|
10659
10659
|
"div",
|
|
10660
10660
|
{
|
|
10661
|
-
className: `flex items-center gap-
|
|
10661
|
+
className: `flex items-center gap-2.5 h-10 p-2 border-2 border-gray-600 cursor-pointer rounded-[10px] text-sm md:text-md ${t === i.id ? "text-(--draftify-theme-color)" : "text-gray-600"}`,
|
|
10662
10662
|
onClick: () => i.type !== "table" && r(i.id, i.type),
|
|
10663
10663
|
children: [
|
|
10664
10664
|
/* @__PURE__ */ M.jsxs("div", { className: "flex", children: [
|
|
@@ -10799,7 +10799,7 @@ function qy({
|
|
|
10799
10799
|
] }) });
|
|
10800
10800
|
}
|
|
10801
10801
|
function Qy() {
|
|
10802
|
-
return /* @__PURE__ */ M.jsx("div", { className: "group flex flex-col justify-center gap-y-
|
|
10802
|
+
return /* @__PURE__ */ M.jsx("div", { className: "group flex flex-col justify-center gap-y-0.75 w-3.75 h-full border border-(--draftify-theme-color) hover:border-black rounded-tl-[5px] rounded-bl-[5px] cursor-move", children: [1, 2, 3].map((e) => /* @__PURE__ */ M.jsx(
|
|
10803
10803
|
"div",
|
|
10804
10804
|
{
|
|
10805
10805
|
className: "w-1 h-1 rounded-2.5 bg-(--draftify-theme-color) group-hover:bg-black self-center"
|
|
@@ -11361,8 +11361,12 @@ function Sv({ blocksData: e, modifyBlocks: t }) {
|
|
|
11361
11361
|
] });
|
|
11362
11362
|
}
|
|
11363
11363
|
export {
|
|
11364
|
+
Xy as DraftifyBlocksReader,
|
|
11364
11365
|
Sv as DraftifyReact,
|
|
11365
|
-
Xy as Reader,
|
|
11366
11366
|
Sv as default,
|
|
11367
|
+
Vy as dragHandler,
|
|
11368
|
+
bo as dragLeaveHandler,
|
|
11369
|
+
Ly as dropHandler,
|
|
11370
|
+
Oy as onFileChange,
|
|
11367
11371
|
ev as useDraftifyReact
|
|
11368
11372
|
};
|