@lingjingai/script-editor 0.1.20 → 0.1.21
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 +90 -52
- package/dist/index.js.map +1 -1
- package/dist/style.css +16 -2
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -648,8 +648,22 @@
|
|
|
648
648
|
.lj-se-assetcard-state-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
|
|
649
649
|
.lj-se-assetcard-state-name { font-size: 13px; font-weight: 600; }
|
|
650
650
|
.lj-se-assetcard-state-desc { display: block; margin-top: 2px; font-size: 12px; color: var(--lj-se-muted-fg); min-height: 1.2em; }
|
|
651
|
-
.lj-se-assetcard-state
|
|
652
|
-
.lj-se-assetcard-state
|
|
651
|
+
.lj-se-assetcard-state-del { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border: 0; background: transparent; border-radius: 6px; color: var(--lj-se-muted-fg); cursor: pointer; }
|
|
652
|
+
.lj-se-assetcard-state-del:hover { background: color-mix(in oklab, var(--lj-se-destructive) 10%, transparent); color: var(--lj-se-destructive); }
|
|
653
|
+
|
|
654
|
+
/* ── Modal confirm ───────────────────────────────────────────────────── */
|
|
655
|
+
.lj-se-modal-backdrop { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 24px; background: oklch(0 0 0 / 0.28); }
|
|
656
|
+
.lj-se-modal { width: min(360px, 100%); border: 1px solid var(--lj-se-border); border-radius: 10px; background: var(--lj-se-popover); color: var(--lj-se-fg); box-shadow: 0 18px 50px -20px oklch(0 0 0 / 0.45), 0 6px 18px -8px oklch(0 0 0 / 0.24); padding: 14px; }
|
|
657
|
+
.lj-se-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
658
|
+
.lj-se-modal-title { margin: 0; font-size: 14px; font-weight: 650; }
|
|
659
|
+
.lj-se-modal-x { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 0; background: transparent; border-radius: 6px; color: var(--lj-se-muted-fg); cursor: pointer; }
|
|
660
|
+
.lj-se-modal-x:hover { background: var(--lj-se-accent); color: var(--lj-se-fg); }
|
|
661
|
+
.lj-se-modal-body { margin: 10px 0 16px; font-size: 13px; line-height: 1.6; color: var(--lj-se-muted-fg); }
|
|
662
|
+
.lj-se-modal-actions { display: flex; justify-content: flex-end; gap: 8px; }
|
|
663
|
+
.lj-se-modal-btn { border: 1px solid var(--lj-se-border); background: var(--lj-se-card); color: var(--lj-se-fg); cursor: pointer; border-radius: 6px; padding: 6px 12px; font: inherit; font-size: 12px; }
|
|
664
|
+
.lj-se-modal-btn:hover { background: var(--lj-se-accent); }
|
|
665
|
+
.lj-se-modal-btn-danger { border-color: color-mix(in oklab, var(--lj-se-destructive) 35%, var(--lj-se-border)); background: var(--lj-se-destructive); color: white; }
|
|
666
|
+
.lj-se-modal-btn-danger:hover { background: color-mix(in oklab, var(--lj-se-destructive) 88%, black); }
|
|
653
667
|
|
|
654
668
|
/* ── Reference grid (asset → scenes) ─────────────────────────────────── */
|
|
655
669
|
.lj-se-refgrid { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 12px; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingjingai/script-editor",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"description": "Pure, business-decoupled screenplay (剧本) editor: value:ScriptProject + onEdit(patch); dual-format (standard/asian), virtualized single-stream, click-to-edit; bundled CSS, business injected via adapters.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|