tiptop-editor 1.4.0 → 1.6.0
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/dist/tiptop-editor.es.js
CHANGED
|
@@ -16604,7 +16604,7 @@ const md = (e, t) => {
|
|
|
16604
16604
|
isOpen: t,
|
|
16605
16605
|
onOpenChange: r,
|
|
16606
16606
|
children: [
|
|
16607
|
-
/* @__PURE__ */ b.jsx(At, { children: /* @__PURE__ */ b.jsx(
|
|
16607
|
+
/* @__PURE__ */ b.jsx(At, { children: /* @__PURE__ */ b.jsx("div", { className: "z-1 flex items-center gap-0.5", children: /* @__PURE__ */ b.jsx(
|
|
16608
16608
|
Ze,
|
|
16609
16609
|
{
|
|
16610
16610
|
size: "sm",
|
|
@@ -16618,7 +16618,7 @@ const md = (e, t) => {
|
|
|
16618
16618
|
onPress: () => r((f) => !f),
|
|
16619
16619
|
children: /* @__PURE__ */ b.jsx(Qt, { content: "Link", delay: 250, closeDelay: 0, children: /* @__PURE__ */ b.jsx("div", { className: "w-full h-full flex items-center justify-center", children: /* @__PURE__ */ b.jsx(ke, { name: "Link" }) }) })
|
|
16620
16620
|
}
|
|
16621
|
-
) }),
|
|
16621
|
+
) }) }),
|
|
16622
16622
|
/* @__PURE__ */ b.jsx(Mt, { className: "p-1.5", children: /* @__PURE__ */ b.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
16623
16623
|
/* @__PURE__ */ b.jsx("div", { className: "relative flex flex-wrap items-stretch", children: /* @__PURE__ */ b.jsx(
|
|
16624
16624
|
"input",
|
|
@@ -16915,7 +16915,7 @@ const md = (e, t) => {
|
|
|
16915
16915
|
e.off("selectionUpdate", i), e.off("transaction", i);
|
|
16916
16916
|
};
|
|
16917
16917
|
}, [e, t, r]), /* @__PURE__ */ b.jsxs(Nt, { placement: "bottom", children: [
|
|
16918
|
-
/* @__PURE__ */ b.jsx(At, { children: /* @__PURE__ */ b.jsx(
|
|
16918
|
+
/* @__PURE__ */ b.jsx(At, { children: /* @__PURE__ */ b.jsx("div", { className: "z-1 flex items-center gap-0.5", children: /* @__PURE__ */ b.jsx(
|
|
16919
16919
|
Ze,
|
|
16920
16920
|
{
|
|
16921
16921
|
size: "sm",
|
|
@@ -16955,7 +16955,7 @@ const md = (e, t) => {
|
|
|
16955
16955
|
}
|
|
16956
16956
|
) }) })
|
|
16957
16957
|
}
|
|
16958
|
-
) }),
|
|
16958
|
+
) }) }),
|
|
16959
16959
|
/* @__PURE__ */ b.jsx(Mt, { className: "px-1.5 py-2", children: /* @__PURE__ */ b.jsx("div", { className: "flex flex-col gap-2", children: go.map((i) => /* @__PURE__ */ b.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
16960
16960
|
/* @__PURE__ */ b.jsx("p", { className: "text-xs font-semibold leading-normal capitalize text-foreground px-1", children: i.title }),
|
|
16961
16961
|
/* @__PURE__ */ b.jsx("div", { className: "grid grid-cols-5 grid-rows-2 gap-0.5", children: i.colors.map((l) => /* @__PURE__ */ b.jsx(
|
|
@@ -17026,7 +17026,7 @@ const md = (e, t) => {
|
|
|
17026
17026
|
[e]
|
|
17027
17027
|
);
|
|
17028
17028
|
return /* @__PURE__ */ b.jsxs(Nt, { placement: "bottom", children: [
|
|
17029
|
-
/* @__PURE__ */ b.jsx(At, { children: /* @__PURE__ */ b.jsx(
|
|
17029
|
+
/* @__PURE__ */ b.jsx(At, { children: /* @__PURE__ */ b.jsx("div", { className: "z-1 flex items-center gap-0.5", children: /* @__PURE__ */ b.jsx(
|
|
17030
17030
|
Ze,
|
|
17031
17031
|
{
|
|
17032
17032
|
size: "sm",
|
|
@@ -17037,11 +17037,11 @@ const md = (e, t) => {
|
|
|
17037
17037
|
isDisabled: !1,
|
|
17038
17038
|
"aria-label": "More options",
|
|
17039
17039
|
className: `text-foreground-500 hover:text-foreground
|
|
17040
|
-
|
|
17041
|
-
|
|
17040
|
+
data-[active=true]:bg-divider/45 data-[active=true]:text-primary
|
|
17041
|
+
data-[active=true]:hover:bg-divider/45 data-[active=true]:hover:text-foreground`,
|
|
17042
17042
|
children: /* @__PURE__ */ b.jsx(Qt, { content: "More options", delay: 250, closeDelay: 0, children: /* @__PURE__ */ b.jsx("div", { className: "w-full h-full flex items-center justify-center", children: /* @__PURE__ */ b.jsx(ke, { name: "EllipsisVertical" }) }) })
|
|
17043
17043
|
}
|
|
17044
|
-
) }),
|
|
17044
|
+
) }) }),
|
|
17045
17045
|
/* @__PURE__ */ b.jsx(Mt, { className: "p-1.5", children: /* @__PURE__ */ b.jsxs("div", { className: "flex h-8 items-center gap-1.5", children: [
|
|
17046
17046
|
o.map((a) => /* @__PURE__ */ b.jsx(
|
|
17047
17047
|
Wt,
|