@bycrux/editor 0.7.3 → 0.7.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/package.json
CHANGED
|
@@ -112,7 +112,7 @@ export default function CarouselRenderModal({ projectId, adapter, slidesCount, r
|
|
|
112
112
|
// Portal to document.body (see RenderModal): a transformed host ancestor
|
|
113
113
|
// would otherwise trap this `fixed` overlay and center the panel off-screen.
|
|
114
114
|
return createPortal(
|
|
115
|
-
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black
|
|
115
|
+
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black">
|
|
116
116
|
<div className="w-[96vw] h-[96vh] bg-[var(--editor-bg)] border border-[var(--editor-border)] rounded-2xl shadow-2xl flex overflow-hidden">
|
|
117
117
|
|
|
118
118
|
{/* Left — slide gallery */}
|
|
@@ -138,7 +138,7 @@ export default function CarouselRenderModal({ projectId, adapter, slidesCount, r
|
|
|
138
138
|
className="block w-full h-auto"
|
|
139
139
|
style={{ aspectRatio: `${resolution[0]} / ${resolution[1]}` }}
|
|
140
140
|
/>
|
|
141
|
-
<div className="absolute bottom-0 left-0 right-0 px-2 py-1.5 bg-black
|
|
141
|
+
<div className="absolute bottom-0 left-0 right-0 px-2 py-1.5 bg-black text-[11px] text-[var(--editor-text)] font-mono flex justify-between">
|
|
142
142
|
<span>#{String(i + 1).padStart(2, '0')}</span>
|
|
143
143
|
<span className="text-[var(--editor-text)]/60">{file}</span>
|
|
144
144
|
</div>
|
|
@@ -182,7 +182,7 @@ export default function CarouselRenderModal({ projectId, adapter, slidesCount, r
|
|
|
182
182
|
|
|
183
183
|
// ── Running / error state — log readout ─────────────────────────────────
|
|
184
184
|
return createPortal(
|
|
185
|
-
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black
|
|
185
|
+
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black">
|
|
186
186
|
<div className="w-full max-w-3xl bg-[var(--editor-surface)] border border-[var(--editor-border)] rounded-xl shadow-2xl flex flex-col overflow-hidden">
|
|
187
187
|
|
|
188
188
|
<div className="flex items-center justify-between px-5 py-4 border-b border-[var(--editor-border)]">
|
|
@@ -109,7 +109,7 @@ export default function CaptionRegenModal<P extends Project = Project>({ project
|
|
|
109
109
|
// Portal to document.body so a transformed host ancestor can't trap this
|
|
110
110
|
// `fixed` overlay and push the panel off-screen (see RenderModal).
|
|
111
111
|
return createPortal(
|
|
112
|
-
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black
|
|
112
|
+
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black">
|
|
113
113
|
<div className="w-full max-w-3xl bg-[var(--editor-surface)] border border-[var(--editor-border)] rounded-xl shadow-2xl flex flex-col overflow-hidden">
|
|
114
114
|
|
|
115
115
|
{/* Header */}
|
|
@@ -137,7 +137,7 @@ export default function RenderModal<P extends Project = Project>({ projectId, ad
|
|
|
137
137
|
// block for this `fixed` overlay, sizing it to the scrolled page height and
|
|
138
138
|
// centering the panel off-screen below the fold.
|
|
139
139
|
return createPortal(
|
|
140
|
-
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black
|
|
140
|
+
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black">
|
|
141
141
|
<div className="w-[96vw] h-[96vh] bg-[var(--editor-surface)] border border-[var(--editor-border)] rounded-2xl shadow-2xl flex overflow-hidden">
|
|
142
142
|
|
|
143
143
|
{/* Left — video */}
|
|
@@ -190,7 +190,7 @@ export default function RenderModal<P extends Project = Project>({ projectId, ad
|
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
return createPortal(
|
|
193
|
-
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black
|
|
193
|
+
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black">
|
|
194
194
|
<div className="w-full max-w-3xl bg-[var(--editor-surface)] border border-[var(--editor-border)] rounded-xl shadow-2xl flex flex-col overflow-hidden">
|
|
195
195
|
|
|
196
196
|
{/* Header */}
|