@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.js CHANGED
@@ -231,7 +231,7 @@ function PdfImporter({ onScriptImported, children }) {
231
231
  title = await processPage(1);
232
232
  }
233
233
  let scriptContent = "";
234
- for (let i = 2; i <= pdf.numPages; i++) {
234
+ for (let i = 1; i <= pdf.numPages; i++) {
235
235
  scriptContent += await processPage(i) + "\n\n";
236
236
  }
237
237
  onScriptImported(title.trim(), scriptContent);
@@ -447,7 +447,7 @@ function ScreenplayEditorView({
447
447
  children: /* @__PURE__ */ jsx(Cog, { className: "w-[18px] h-[18px]" })
448
448
  }
449
449
  ),
450
- isRulesOpen && /* @__PURE__ */ 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)] ring-1 ring-zinc-900/5 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: [
450
+ isRulesOpen && /* @__PURE__ */ 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: [
451
451
  /* @__PURE__ */ jsxs("h4", { className: "font-bold text-zinc-900 mb-4 text-sm flex items-center gap-2", children: [
452
452
  /* @__PURE__ */ jsx(Cog, { className: "w-4 h-4 text-zinc-400" }),
453
453
  "Settings & Shortcuts"