@vishu1301/script-writing 1.4.9 → 1.5.1
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.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -357,7 +357,8 @@ function ScreenplayEditorView({
|
|
|
357
357
|
showUnsavedPopover,
|
|
358
358
|
syncScreenplay,
|
|
359
359
|
ignoreChanges,
|
|
360
|
-
isLoading = false
|
|
360
|
+
isLoading = false,
|
|
361
|
+
savePopOverLeft = "53%"
|
|
361
362
|
}) {
|
|
362
363
|
const [isRulesOpen, setIsRulesOpen] = react.useState(false);
|
|
363
364
|
const rulesRef = react.useRef(null);
|
|
@@ -843,7 +844,7 @@ function ScreenplayEditorView({
|
|
|
843
844
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
844
845
|
"div",
|
|
845
846
|
{
|
|
846
|
-
className: `fixed bottom-10 left-[
|
|
847
|
+
className: `fixed bottom-10 left-[${savePopOverLeft}] -translate-x-1/2 z-[100] w-full max-w-[95%] sm:max-w-2xl transition-all duration-500 ease-in-out ${showUnsavedPopover ? "translate-y-0 opacity-100 scale-100" : "translate-y-12 opacity-0 scale-95 pointer-events-none"}`,
|
|
847
848
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mx-auto rounded-[2.5rem] bg-white/95 border border-white/60 shadow-[0_20px_50px_rgba(16,37,54,0.12),0_4px_12px_rgba(16,37,54,0.05)] backdrop-blur-2xl flex items-center justify-between px-2 py-1.5 sm:px-4 sm:py-2.5 select-none transition-all hover:shadow-[0_25px_60px_rgba(16,37,54,0.18)]", children: [
|
|
848
849
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
849
850
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-10 h-10 flex items-center justify-center rounded-[2.5rem] bg-blumine-50 text-blumine-500 border border-blumine-100 shadow-inner", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Save, { className: "w-5 h-5" }) }),
|