@select-org/select-post-builder 1.0.2 → 1.0.3
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/post-builder.cjs +1 -1
- package/dist/post-builder.js +10 -3
- package/dist/post-builder.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/post-builder.js
CHANGED
|
@@ -46188,7 +46188,14 @@ const TN = ({
|
|
|
46188
46188
|
open: t,
|
|
46189
46189
|
onOpenChange: e,
|
|
46190
46190
|
...n
|
|
46191
|
-
}) => /* @__PURE__ */ g.jsx(Ry, { open: t, onOpenChange: e, children: /* @__PURE__ */ g.jsx(
|
|
46191
|
+
}) => /* @__PURE__ */ g.jsx(Ry, { open: t, onOpenChange: e, children: /* @__PURE__ */ g.jsx(
|
|
46192
|
+
Ny,
|
|
46193
|
+
{
|
|
46194
|
+
className: "bg-transparent border-0 p-0 lg:max-w-4xl -translate-1/2",
|
|
46195
|
+
showCloseButton: !1,
|
|
46196
|
+
children: /* @__PURE__ */ g.jsx(TN, { ...n, className: "bg-white max-h-dvh h-full" })
|
|
46197
|
+
}
|
|
46198
|
+
) });
|
|
46192
46199
|
function sS(t, [e, n]) {
|
|
46193
46200
|
return Math.min(n, Math.max(e, t));
|
|
46194
46201
|
}
|
|
@@ -47241,7 +47248,7 @@ const Kte = ({ user: t, store: e }) => {
|
|
|
47241
47248
|
return /* @__PURE__ */ g.jsxs("div", { className: "not-prose flex items-center gap-3", children: [
|
|
47242
47249
|
t?.id && /* @__PURE__ */ g.jsxs(aS, { children: [
|
|
47243
47250
|
/* @__PURE__ */ g.jsx(lS, { src: t?.avatar ?? t?.avatarPlaceholder }),
|
|
47244
|
-
/* @__PURE__ */ g.jsx(cS, { className: "bg-primary-send text-background", children: t?.name?.charAt(0) })
|
|
47251
|
+
/* @__PURE__ */ g.jsx(cS, { className: "bg-primary-send text-background", children: t?.name?.charAt(0)?.toUpperCase() })
|
|
47245
47252
|
] }),
|
|
47246
47253
|
/* @__PURE__ */ g.jsxs(
|
|
47247
47254
|
Ite,
|
|
@@ -47422,7 +47429,7 @@ const Zte = ({ ...t }) => {
|
|
|
47422
47429
|
h && h?.chain()?.focus()?.run();
|
|
47423
47430
|
}, [h]), cn(() => u(o), [o]), h ? /* @__PURE__ */ g.jsxs("div", { className: "max-w-full w-full", "data-theme": "select-post-builder", children: [
|
|
47424
47431
|
/* @__PURE__ */ g.jsx("div", { ref: l, className: "flex-1 space-y-3 max-w-full", children: /* @__PURE__ */ g.jsxs(uy.Provider, { value: v, children: [
|
|
47425
|
-
r && /* @__PURE__ */ g.jsx(Kte, { user: n, store: m }),
|
|
47432
|
+
!r && /* @__PURE__ */ g.jsx(Kte, { user: n, store: m }),
|
|
47426
47433
|
o ? /* @__PURE__ */ g.jsx(
|
|
47427
47434
|
Xee,
|
|
47428
47435
|
{
|