@select-org/select-post-builder 1.1.28 → 1.1.29

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/index.d.ts CHANGED
@@ -344,14 +344,13 @@ declare module '@tiptap/core' {
344
344
 
345
345
  declare module '@tiptap/core' {
346
346
  interface Commands<ReturnType> {
347
- iframe: {
348
- /**
349
- * Insert an iframe node into the document
350
- */
351
- setIframe: (options: {
352
- src: string;
353
- width?: string;
354
- height?: string;
347
+ smartMediaUpload: {
348
+ insertMediaWithUpload: (params: {
349
+ source: File | Blob | string;
350
+ type: MediaNodeTypes;
351
+ mediaType?: MediaItemType;
352
+ caption?: string;
353
+ searchFrom?: ImageSearchFrom;
355
354
  }) => ReturnType;
356
355
  };
357
356
  }
@@ -360,13 +359,14 @@ declare module '@tiptap/core' {
360
359
 
361
360
  declare module '@tiptap/core' {
362
361
  interface Commands<ReturnType> {
363
- smartMediaUpload: {
364
- insertMediaWithUpload: (params: {
365
- source: File | Blob | string;
366
- type: MediaNodeTypes;
367
- mediaType?: MediaItemType;
368
- caption?: string;
369
- searchFrom?: ImageSearchFrom;
362
+ iframe: {
363
+ /**
364
+ * Insert an iframe node into the document
365
+ */
366
+ setIframe: (options: {
367
+ src: string;
368
+ width?: string;
369
+ height?: string;
370
370
  }) => ReturnType;
371
371
  };
372
372
  }
@@ -33828,13 +33828,13 @@ const PostBuilderEditorInstanceWithDialog = ({
33828
33828
  });
33829
33829
  };
33830
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) }),
33831
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "z-9999 fixed inset-0 bg-black/50", onClick: () => handleOpenChange(false) }),
33832
33832
  /* @__PURE__ */ jsxRuntime.jsxs(
33833
33833
  DialogContent,
33834
33834
  {
33835
33835
  onInteractOutside: (e2) => e2.preventDefault(),
33836
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",
33837
+ className: "z-99999 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
33838
  showCloseButton: false,
33839
33839
  children: [
33840
33840
  /* @__PURE__ */ jsxRuntime.jsxs(DialogHeader, { children: [
@@ -590,6 +590,14 @@ body {
590
590
  z-index: 999;
591
591
  }
592
592
 
593
+ [data-theme="select-post-builder"] .z-9999 {
594
+ z-index: 9999;
595
+ }
596
+
597
+ [data-theme="select-post-builder"] .z-99999 {
598
+ z-index: 99999;
599
+ }
600
+
593
601
  [data-theme="select-post-builder"] .order-first {
594
602
  order: -9999;
595
603
  }
@@ -33798,13 +33798,13 @@ const PostBuilderEditorInstanceWithDialog = ({
33798
33798
  });
33799
33799
  };
33800
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) }),
33801
+ /* @__PURE__ */ jsx("div", { className: "z-9999 fixed inset-0 bg-black/50", onClick: () => handleOpenChange(false) }),
33802
33802
  /* @__PURE__ */ jsxs(
33803
33803
  DialogContent,
33804
33804
  {
33805
33805
  onInteractOutside: (e2) => e2.preventDefault(),
33806
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",
33807
+ className: "z-99999 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
33808
  showCloseButton: false,
33809
33809
  children: [
33810
33810
  /* @__PURE__ */ jsxs(DialogHeader, { children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@select-org/select-post-builder",
3
- "version": "1.1.28",
3
+ "version": "1.1.29",
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",