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

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
@@ -342,21 +342,6 @@ declare module '@tiptap/core' {
342
342
  }
343
343
 
344
344
 
345
- declare module '@tiptap/core' {
346
- interface Commands<ReturnType> {
347
- smartMediaUpload: {
348
- insertMediaWithUpload: (params: {
349
- source: File | Blob | string;
350
- type: MediaNodeTypes;
351
- mediaType?: MediaItemType;
352
- caption?: string;
353
- searchFrom?: ImageSearchFrom;
354
- }) => ReturnType;
355
- };
356
- }
357
- }
358
-
359
-
360
345
  declare module '@tiptap/core' {
361
346
  interface Commands<ReturnType> {
362
347
  iframe: {
@@ -373,6 +358,21 @@ declare module '@tiptap/core' {
373
358
  }
374
359
 
375
360
 
361
+ declare module '@tiptap/core' {
362
+ 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;
370
+ }) => ReturnType;
371
+ };
372
+ }
373
+ }
374
+
375
+
376
376
  declare module '@tiptap/core' {
377
377
  interface Commands<ReturnType> {
378
378
  linkPreview: {
@@ -33828,13 +33828,19 @@ 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: "z-9999 fixed inset-0 bg-black/50", onClick: () => handleOpenChange(false) }),
33831
+ /* @__PURE__ */ jsxRuntime.jsx(
33832
+ "div",
33833
+ {
33834
+ className: "z-999 fixed inset-0 bg-black/50 backdrop-blur-sm",
33835
+ onClick: () => handleOpenChange(false)
33836
+ }
33837
+ ),
33832
33838
  /* @__PURE__ */ jsxRuntime.jsxs(
33833
33839
  DialogContent,
33834
33840
  {
33835
33841
  onInteractOutside: (e2) => e2.preventDefault(),
33836
33842
  onOpenAutoFocus: (e2) => e2.preventDefault(),
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",
33843
+ className: "z-9999 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
33844
  showCloseButton: false,
33839
33845
  children: [
33840
33846
  /* @__PURE__ */ jsxRuntime.jsxs(DialogHeader, { children: [
@@ -594,10 +594,6 @@ body {
594
594
  z-index: 9999;
595
595
  }
596
596
 
597
- [data-theme="select-post-builder"] .z-99999 {
598
- z-index: 99999;
599
- }
600
-
601
597
  [data-theme="select-post-builder"] .order-first {
602
598
  order: -9999;
603
599
  }
@@ -33798,13 +33798,19 @@ const PostBuilderEditorInstanceWithDialog = ({
33798
33798
  });
33799
33799
  };
33800
33800
  return /* @__PURE__ */ jsxs(Dialog, { modal: false, open, onOpenChange: handleOpenChange, children: [
33801
- /* @__PURE__ */ jsx("div", { className: "z-9999 fixed inset-0 bg-black/50", onClick: () => handleOpenChange(false) }),
33801
+ /* @__PURE__ */ jsx(
33802
+ "div",
33803
+ {
33804
+ className: "z-999 fixed inset-0 bg-black/50 backdrop-blur-sm",
33805
+ onClick: () => handleOpenChange(false)
33806
+ }
33807
+ ),
33802
33808
  /* @__PURE__ */ jsxs(
33803
33809
  DialogContent,
33804
33810
  {
33805
33811
  onInteractOutside: (e2) => e2.preventDefault(),
33806
33812
  onOpenAutoFocus: (e2) => e2.preventDefault(),
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",
33813
+ className: "z-9999 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
33814
  showCloseButton: false,
33809
33815
  children: [
33810
33816
  /* @__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.29",
3
+ "version": "1.1.31",
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",