@vishu1301/script-writing 0.5.2 → 0.5.4

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
@@ -258,7 +258,7 @@ function PdfImporter({ onScriptImported, children }) {
258
258
  {
259
259
  ref: fileInputRef,
260
260
  type: "file",
261
- accept: ".pdf,.sbx,application/pdf",
261
+ accept: ".pdf,application/pdf",
262
262
  onChange: handleFileChange,
263
263
  disabled: isProcessing,
264
264
  className: "hidden",
@@ -358,9 +358,10 @@ function ScreenplayEditorView({
358
358
  /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-12 w-full items-center pb-24", children: /* @__PURE__ */ jsx(
359
359
  "div",
360
360
  {
361
- className: "relative bg-[#fdfdfc] shadow-2xl shadow-zinc-300/60 border border-zinc-100 rounded-sm md:rounded-md pl-[1.5in] py-[1in] pr-[1in] flex flex-col w-[210mm] min-h-[297mm] shrink-0",
361
+ className: "relative bg-[#fdfdfc] shadow-2xl shadow-zinc-300/60 border border-zinc-100 rounded-sm md:rounded-md pl-[1.5in] py-[1in] pr-[1in] flex flex-col w-[210mm] min-h-[297mm] shrink-0 font-screenplay!",
362
362
  style: {
363
- fontFamily: "var(--font-courier-prime, 'Courier Prime', 'Courier New', Courier, monospace)",
363
+ // fontFamily:
364
+ // "var(--font-courier-prime, 'Courier Prime', 'Courier New', Courier, monospace) !important",
364
365
  paddingLeft: "1.5in",
365
366
  paddingRight: "1in",
366
367
  paddingTop: "1in",
@@ -426,6 +427,9 @@ function ScreenplayEditorView({
426
427
  "aria-expanded": focusedBlockId === block.id && showSuggestions && locations.length > 0,
427
428
  spellCheck: false,
428
429
  className: "min-w-[3rem] py-1 outline-none text-base font-bold uppercase tracking-widest break-all bg-transparent",
430
+ style: {
431
+ minWidth: "3rem"
432
+ },
429
433
  onInput: (e) => handleBlockTextChange(
430
434
  block.id,
431
435
  e.target.innerText