@select-org/select-post-builder 1.1.27 → 1.1.28
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.js +22 -17
- package/dist/post-builder.js +22 -17
- package/package.json +1 -1
package/dist/post-builder.cjs.js
CHANGED
|
@@ -33827,23 +33827,28 @@ const PostBuilderEditorInstanceWithDialog = ({
|
|
|
33827
33827
|
hasUnsavedChanges: metrics?.hasUnsavedChanges ?? false
|
|
33828
33828
|
});
|
|
33829
33829
|
};
|
|
33830
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
33831
|
-
|
|
33832
|
-
|
|
33833
|
-
|
|
33834
|
-
|
|
33835
|
-
|
|
33836
|
-
|
|
33837
|
-
|
|
33838
|
-
|
|
33839
|
-
|
|
33840
|
-
|
|
33841
|
-
|
|
33842
|
-
|
|
33843
|
-
|
|
33844
|
-
|
|
33845
|
-
|
|
33846
|
-
|
|
33830
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Dialog, { modal: false, open, onOpenChange: handleOpenChange, children: [
|
|
33831
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "fixed inset-0 bg-black/50", onClick: () => handleOpenChange(false) }),
|
|
33832
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
33833
|
+
DialogContent,
|
|
33834
|
+
{
|
|
33835
|
+
onInteractOutside: (e2) => e2.preventDefault(),
|
|
33836
|
+
onOpenAutoFocus: (e2) => e2.preventDefault(),
|
|
33837
|
+
className: "bg-transparent shadow-none border-0 p-3 lg:max-w-4xl shrink-0 max-h-[calc(100dvh-7rem)]! flex flex-col overflow-y-auto -translate-1/2",
|
|
33838
|
+
showCloseButton: false,
|
|
33839
|
+
children: [
|
|
33840
|
+
/* @__PURE__ */ jsxRuntime.jsxs(DialogHeader, { children: [
|
|
33841
|
+
/* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { className: "sr-only", children: "Post Builder Modal" }),
|
|
33842
|
+
!hideGroupSelector && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-3", children: [
|
|
33843
|
+
/* @__PURE__ */ jsxRuntime.jsx(GroupSelector, { user, store, onGroupSelect }),
|
|
33844
|
+
/* @__PURE__ */ jsxRuntime.jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "outline", size: "icon", children: /* @__PURE__ */ jsxRuntime.jsx(X, {}) }) })
|
|
33845
|
+
] })
|
|
33846
|
+
] }),
|
|
33847
|
+
/* @__PURE__ */ jsxRuntime.jsx(PostBuilderEditorInstance, { ...rest, store, placement })
|
|
33848
|
+
]
|
|
33849
|
+
}
|
|
33850
|
+
)
|
|
33851
|
+
] });
|
|
33847
33852
|
};
|
|
33848
33853
|
var M = (e2, i2, s2, u, m, a2, l2, h) => {
|
|
33849
33854
|
let d = document.documentElement, w = ["light", "dark"];
|
package/dist/post-builder.js
CHANGED
|
@@ -33797,23 +33797,28 @@ const PostBuilderEditorInstanceWithDialog = ({
|
|
|
33797
33797
|
hasUnsavedChanges: metrics?.hasUnsavedChanges ?? false
|
|
33798
33798
|
});
|
|
33799
33799
|
};
|
|
33800
|
-
return /* @__PURE__ */
|
|
33801
|
-
|
|
33802
|
-
|
|
33803
|
-
|
|
33804
|
-
|
|
33805
|
-
|
|
33806
|
-
|
|
33807
|
-
|
|
33808
|
-
|
|
33809
|
-
|
|
33810
|
-
|
|
33811
|
-
|
|
33812
|
-
|
|
33813
|
-
|
|
33814
|
-
|
|
33815
|
-
|
|
33816
|
-
|
|
33800
|
+
return /* @__PURE__ */ jsxs(Dialog, { modal: false, open, onOpenChange: handleOpenChange, children: [
|
|
33801
|
+
/* @__PURE__ */ jsx("div", { className: "fixed inset-0 bg-black/50", onClick: () => handleOpenChange(false) }),
|
|
33802
|
+
/* @__PURE__ */ jsxs(
|
|
33803
|
+
DialogContent,
|
|
33804
|
+
{
|
|
33805
|
+
onInteractOutside: (e2) => e2.preventDefault(),
|
|
33806
|
+
onOpenAutoFocus: (e2) => e2.preventDefault(),
|
|
33807
|
+
className: "bg-transparent shadow-none border-0 p-3 lg:max-w-4xl shrink-0 max-h-[calc(100dvh-7rem)]! flex flex-col overflow-y-auto -translate-1/2",
|
|
33808
|
+
showCloseButton: false,
|
|
33809
|
+
children: [
|
|
33810
|
+
/* @__PURE__ */ jsxs(DialogHeader, { children: [
|
|
33811
|
+
/* @__PURE__ */ jsx(DialogTitle, { className: "sr-only", children: "Post Builder Modal" }),
|
|
33812
|
+
!hideGroupSelector && /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-3", children: [
|
|
33813
|
+
/* @__PURE__ */ jsx(GroupSelector, { user, store, onGroupSelect }),
|
|
33814
|
+
/* @__PURE__ */ jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsx(Button, { variant: "outline", size: "icon", children: /* @__PURE__ */ jsx(X, {}) }) })
|
|
33815
|
+
] })
|
|
33816
|
+
] }),
|
|
33817
|
+
/* @__PURE__ */ jsx(PostBuilderEditorInstance, { ...rest, store, placement })
|
|
33818
|
+
]
|
|
33819
|
+
}
|
|
33820
|
+
)
|
|
33821
|
+
] });
|
|
33817
33822
|
};
|
|
33818
33823
|
var M = (e2, i2, s2, u, m, a2, l2, h) => {
|
|
33819
33824
|
let d = document.documentElement, w = ["light", "dark"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@select-org/select-post-builder",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.28",
|
|
4
4
|
"description": "A reusable, extensible Post Builder widget for the Select platform and beyond.",
|
|
5
5
|
"main": "./dist/post-builder.cjs.js",
|
|
6
6
|
"module": "./dist/post-builder.js",
|