@vishu1301/script-writing 1.1.2 → 1.1.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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -256,7 +256,7 @@ function PdfImporter({ onScriptImported, children }) {
|
|
|
256
256
|
title = await processPage(1);
|
|
257
257
|
}
|
|
258
258
|
let scriptContent = "";
|
|
259
|
-
for (let i =
|
|
259
|
+
for (let i = 1; i <= pdf.numPages; i++) {
|
|
260
260
|
scriptContent += await processPage(i) + "\n\n";
|
|
261
261
|
}
|
|
262
262
|
onScriptImported(title.trim(), scriptContent);
|
|
@@ -472,7 +472,7 @@ function ScreenplayEditorView({
|
|
|
472
472
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Cog, { className: "w-[18px] h-[18px]" })
|
|
473
473
|
}
|
|
474
474
|
),
|
|
475
|
-
isRulesOpen && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute top-full mt-2 right-0 bg-white/95 backdrop-blur-3xl rounded-[1.5rem] shadow-[0_20px_60px_-15px_rgba(0,0,0,0.1)]
|
|
475
|
+
isRulesOpen && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute top-full mt-2 right-0 bg-white/95 backdrop-blur-3xl rounded-[1.5rem] shadow-[0_20px_60px_-15px_rgba(0,0,0,0.1)] p-5 text-sm text-zinc-700 select-none font-sans overflow-hidden transition-all duration-300 w-72 origin-top-right animate-in fade-in zoom-in-95 z-50", children: [
|
|
476
476
|
/* @__PURE__ */ jsxRuntime.jsxs("h4", { className: "font-bold text-zinc-900 mb-4 text-sm flex items-center gap-2", children: [
|
|
477
477
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Cog, { className: "w-4 h-4 text-zinc-400" }),
|
|
478
478
|
"Settings & Shortcuts"
|