@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.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -283,7 +283,7 @@ function PdfImporter({ onScriptImported, children }) {
|
|
|
283
283
|
{
|
|
284
284
|
ref: fileInputRef,
|
|
285
285
|
type: "file",
|
|
286
|
-
accept: ".pdf
|
|
286
|
+
accept: ".pdf,application/pdf",
|
|
287
287
|
onChange: handleFileChange,
|
|
288
288
|
disabled: isProcessing,
|
|
289
289
|
className: "hidden",
|
|
@@ -383,9 +383,10 @@ function ScreenplayEditorView({
|
|
|
383
383
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-12 w-full items-center pb-24", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
384
384
|
"div",
|
|
385
385
|
{
|
|
386
|
-
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",
|
|
386
|
+
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!",
|
|
387
387
|
style: {
|
|
388
|
-
fontFamily:
|
|
388
|
+
// fontFamily:
|
|
389
|
+
// "var(--font-courier-prime, 'Courier Prime', 'Courier New', Courier, monospace) !important",
|
|
389
390
|
paddingLeft: "1.5in",
|
|
390
391
|
paddingRight: "1in",
|
|
391
392
|
paddingTop: "1in",
|
|
@@ -451,6 +452,9 @@ function ScreenplayEditorView({
|
|
|
451
452
|
"aria-expanded": focusedBlockId === block.id && showSuggestions && locations.length > 0,
|
|
452
453
|
spellCheck: false,
|
|
453
454
|
className: "min-w-[3rem] py-1 outline-none text-base font-bold uppercase tracking-widest break-all bg-transparent",
|
|
455
|
+
style: {
|
|
456
|
+
minWidth: "3rem"
|
|
457
|
+
},
|
|
454
458
|
onInput: (e) => handleBlockTextChange(
|
|
455
459
|
block.id,
|
|
456
460
|
e.target.innerText
|