@lingjingai/script-editor 0.1.15 → 0.1.16

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/style.css CHANGED
@@ -350,9 +350,16 @@
350
350
 
351
351
  /* ── Top bar ─────────────────────────────────────────────────────────── */
352
352
  .lj-se-topbar { display: flex; height: 36px; flex-shrink: 0; align-items: center; gap: 8px; border-bottom: 1px solid var(--lj-se-border); padding: 0 16px; background: var(--lj-se-bg); }
353
- .lj-se-topbar-left { min-width: 0; flex: 1; }
353
+ .lj-se-topbar-left { min-width: 0; flex: 1; display: flex; align-items: baseline; gap: 8px; overflow: hidden; }
354
354
  .lj-se-topbar-right { display: flex; align-items: center; gap: 8px; }
355
355
  .lj-se-topbar-undo { display: inline-flex; gap: 2px; }
356
+ /* script title — the document name, the prominent thing on the left. As an
357
+ EditableText it carries this class on both the display span and the <input>. */
358
+ .lj-se-topbar-title { font-size: 14px; font-weight: 600; color: var(--lj-se-fg); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex-shrink: 1; }
359
+ .lj-se-topbar-title--ro { cursor: default; }
360
+ .lj-se-topbar-ctx { display: inline-flex; align-items: baseline; gap: 8px; min-width: 0; overflow: hidden; }
361
+ .lj-se-topbar-sep { color: var(--lj-se-border); font-size: 13px; }
362
+ .lj-se-topbar-actions { display: inline-flex; align-items: center; gap: 4px; }
356
363
  .lj-se-ctx { display: inline-flex; align-items: baseline; gap: 8px; min-width: 0; }
357
364
  .lj-se-ctx-kicker { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lj-se-muted-fg); }
358
365
  .lj-se-ctx-name { font-size: 12px; font-weight: 500; color: var(--lj-se-fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingjingai/script-editor",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
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",