create-pmos 0.695.0 → 0.697.0
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 +15 -9
- package/payload/KIT-VERSION +1 -1
- package/payload/design-system/ui/components/bundle.css +35 -35
- package/payload/design-system/ui/tokens.css +6 -5
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/briefing-premium-doc-edit-test.js +5 -5
- package/workspace/briefing-premium-insights-test.js +2 -1
- package/workspace/changelog.json +14 -8
- package/workspace/design-system/ui/components/bundle.css +35 -35
- package/workspace/design-system/ui/tokens.css +6 -5
- package/workspace/design-token-reach.js +93 -0
- package/workspace/guide/cli.md +8 -0
- package/workspace/guide/home.md +3 -3
- package/workspace/lib/design-system.js +22 -4
- package/workspace/lib/premium-console-type.js +2 -1
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/premium-chat-notes-test.js +3 -3
- package/workspace/premium-menu-rows-test.js +2 -1
- package/workspace/premium-report-read-test.js +1 -1
- package/workspace/premium-vw-item-test.js +2 -0
- package/workspace/premium-vw-slides-test.js +3 -3
- package/workspace/public/capture.html +1 -0
- package/workspace/public/pm/console3.css +1 -1
- package/workspace/public/pm/cozy-board.css +3 -10
- package/workspace/public/pm/cozy-home.css +3 -5
- package/workspace/public/pm/cozy-insights.css +0 -1
- package/workspace/public/pm/cozy-viewer.js +1 -7
- package/workspace/public/pm/cozy-vw-shell.css +1 -2
- package/workspace/public/pm/cozy-vw.css +2 -6
- package/workspace/public/pm/cozy.css +3 -15
- package/workspace/public/pm/ds-bridge.css +3 -1
- package/workspace/public/pm/home-app.js +6 -7
- package/workspace/public/pm/home-chat.js +0 -1
- package/workspace/public/pm/home-ini.js +4 -4
- package/workspace/public/pm/home-more.js +1 -2
- package/workspace/public/pm/komorebi.css +44 -40
- package/workspace/public/pm/premium-board.js +1 -1
- package/workspace/public/pm/premium-mtg-present.js +1 -1
- package/workspace/public/pm/premium-report-read.js +3 -5
- package/workspace/public/pm/premium-shell.js +6 -10
- package/workspace/public/pm/premium-vw-backlog.css +0 -1
- package/workspace/public/pm/premium-vw-cal.css +0 -1
- package/workspace/public/pm/premium-vw-copy.css +0 -1
- package/workspace/public/pm/premium-vw-doc.css +0 -1
- package/workspace/public/pm/premium-vw-doc.js +2 -3
- package/workspace/public/pm/premium-vw-guide.css +0 -1
- package/workspace/public/pm/premium-vw-item.css +0 -1
- package/workspace/public/pm/premium-vw-jira.css +0 -1
- package/workspace/public/pm/premium-vw-meet.css +0 -1
- package/workspace/public/pm/premium-vw-notepad.css +0 -1
- package/workspace/public/pm/premium-vw-notes.css +0 -1
- package/workspace/public/pm/premium-vw-rec.css +0 -1
- package/workspace/public/pm/premium-vw-report.css +0 -1
- package/workspace/public/pm/premium-vw-slides.css +0 -1
- package/workspace/public/pm/premium-vw-slides.js +5 -6
- package/workspace/public/pm/premium.css +0 -1
- package/workspace/public/premium-board.html +1 -0
- package/workspace/public/premium-events.html +1 -0
- package/workspace/public/premium-goals.html +1 -0
- package/workspace/public/premium-intelligence.html +1 -0
- package/workspace/public/premium-library.html +1 -0
- package/workspace/public/premium-present.html +1 -0
- package/workspace/public/premium-routine.html +1 -0
- package/workspace/public/premium-viewer.html +1 -0
- package/workspace/test-lists/design-placeholders.json +9 -0
- package/workspace/test-lists/design-token-alias.json +9 -0
- package/workspace/public/pm/cozy-placeholder.js +0 -26
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/* ds-bridge.css: the bridge from the cozy tokens to the PMOS design system (initiative design-system-meeting-pages).
|
|
2
|
-
*
|
|
2
|
+
* Every workspace page loads brand.css, charts.css and komorebi.css, then this sheet after cozy.css (initiative token-first-design-system;
|
|
3
|
+
* design-token-alias.test.js T5). The console names (--foreground, --card, …) follow too: cozy.css points them at --cz-* inside .cz.
|
|
4
|
+
* The type names (--fs-*) are not here: komorebi.css points them at its --type-* tokens at :root.
|
|
3
5
|
* Shared modules (rows, sheets, the nav, the presenter) still name the old --cz-* tokens. Here those names point at the system's
|
|
4
6
|
* tokens, so what the shared modules draw on a moved page follows the system too. Only on body.pm-ds: a page without pm-ds is
|
|
5
7
|
* unchanged. Selectors are one step stronger than cozy.css's dark block so the bridge holds in both themes. Remove a name when no
|
|
@@ -1027,7 +1027,6 @@ const chat = mountChat($('#hmChat'), {
|
|
|
1027
1027
|
workItem: (text, t) => workItem(text, t),
|
|
1028
1028
|
openTerminal: (sid) => openTerminal(sid),
|
|
1029
1029
|
viewerClosed: () => !VW.isOpen() && !isPhone(),
|
|
1030
|
-
wait: MORE.WAIT, // the Notes viewer only: the Home canvas does not draw it
|
|
1031
1030
|
desk: () => !isPhone(),
|
|
1032
1031
|
reopenViewer: () => reopenViewer(),
|
|
1033
1032
|
head: (t) => (isPhone() ? '' : TD.chatHeadHtml(chatHead(t))), // the phone names it in its top bar (#hmTop)
|
|
@@ -1868,7 +1867,7 @@ function openOverview() {
|
|
|
1868
1867
|
let M = S.IM;
|
|
1869
1868
|
let ask = null; // on-hold | cancelled while its reason is asked
|
|
1870
1869
|
const draw = (b) => {
|
|
1871
|
-
if (!M) { b.innerHTML =
|
|
1870
|
+
if (!M) { b.innerHTML = '<p class="hx-n">The initiative could not be read.</p>'; return; }
|
|
1872
1871
|
const stages = (M.acts && M.acts.stages) || [];
|
|
1873
1872
|
const move = stages.length && !(M.acts && M.acts.self) ? `<div class="hx-tabs" role="group" aria-label="Move to a stage">${stages.map((s) => `<button type="button" aria-pressed="${s === M.acts.stage}" data-ov-move="${esc(s)}">${esc(s)}</button>`).join('')}</div>` : '<p class="hx-n">The stage of this board comes from the workflow engine.</p>';
|
|
1874
1873
|
const life = M.acts && M.acts.life ? `<button type="button" class="hx-b" data-ov-life="active">Resume</button>`
|
|
@@ -1876,12 +1875,12 @@ function openOverview() {
|
|
|
1876
1875
|
: `<button type="button" class="hx-b" data-ov-life="on-hold">Put on hold</button><button type="button" class="hx-b" data-ov-life="cancelled">Cancel</button>`;
|
|
1877
1876
|
const tasks = (M.tasks.rows || []).slice(0, 40).map((t) => `<div class="hx-row" data-ov-tkrow="${esc(t.key)}"><span class="hx-t"><b>${esc(t.title)}</b><em>${esc([t.src, t.state, t.owner].filter(Boolean).join(' · '))}</em></span><button type="button" class="hx-b" data-ov-tk="${esc(t.key)}" aria-label="Open ${esc(t.title)}">Open</button>${t.pmos && t.uid ? `<select data-ov-task="${esc(t.uid)}" aria-label="Status of ${esc(t.title)}">${['To do', 'In progress', 'Done', "Won't do", 'Archived'].map((s) => `<option${t.state === s ? ' selected' : ''}>${s}</option>`).join('')}</select>` : ''}</div>`).join('') || `<p class="hx-n">${esc(M.tasks.note || 'No task.')}</p>`;
|
|
1878
1877
|
const docs = (M.docs.rows || []).filter((d) => !d.tech).map((d) => `<div class="hx-row" data-ov-doc="${esc(d.key)}"><span class="hx-t"><b>${esc(d.title)}</b><em>${esc([d.state, d.by, d.when || (d.added ? 'added ' + d.added : '')].filter(Boolean).join(' · '))}</em>${d.link ? `<small>${esc(d.link.kind + ': ' + d.link.url)}</small>` : ''}</span>${d.path && d.st === 'draft' && d.slot ? `<button type="button" class="hx-b" data-ov-dread="${esc(d.key)}">Read</button>` : d.path ? `<button type="button" class="hx-b" data-ov-open="${esc(d.path)}" data-ov-name="${esc(d.title)}">Open</button>` : ''}${d.act && d.act.kind === 'draft' && !d.running ? `<button type="button" class="hx-b pri" data-ov-draft="${esc(d.key)}">Draft it</button>` : d.running ? '<em class="hx-n">Drafting</em>' : ''}</div>`).join('');
|
|
1879
|
-
b.innerHTML =
|
|
1878
|
+
b.innerHTML = `<div class="hv-acts"><button type="button" class="hx-b" data-ov-record>Open the full record</button>${M.board && M.board.id ? '<button type="button" class="hx-b" data-ov-sprint>Sprint</button>' : ''}</div><section class="hx-sec"><h4>Stage</h4>${move}<div class="hv-acts">${life}</div></section>`
|
|
1880
1879
|
+ `<section class="hx-sec"><h4>Tasks</h4>${tasks}<div class="hx-add"><input id="ovTask" placeholder="Add a task" aria-label="Add a task"><button type="button" class="hx-b pri" data-ov-add>Add</button></div></section>`
|
|
1881
1880
|
+ `<section class="hx-sec"><h4>Core documents</h4>${M.docs.cap ? `<p class="hx-n" data-ov-dsum>${esc(M.docs.cap)}</p>` : ''}${docs || '<p class="hx-n">No core document.</p>'}<div class="hv-acts"><button type="button" class="hx-b" data-ov-adddoc>Add a document</button></div></section><p class="hx-n" role="status" id="ovMsg"></p>`;
|
|
1882
1881
|
};
|
|
1883
1882
|
const body = VW.open({ id: 'ov:' + id, kind: 'Overview', title: iniTitle(id), icon: 'goal', render: draw });
|
|
1884
|
-
if (!M) { body.innerHTML =
|
|
1883
|
+
if (!M) { body.innerHTML = '<p class="hx-n" role="status">Reading the initiative.</p>'; loadIni().then(() => { if (S.ini !== id || !body.isConnected) return; M = S.IM; draw(body); drawList(); }); } // a slow first read: read it again rather than say it failed
|
|
1885
1884
|
const bw = () => ({ ws: M.board.ws, board: M.board.id });
|
|
1886
1885
|
const after = async (r, ok) => { if (r && r.ok !== false) { toast(ok); await load(); if (S.ini === id && S.IM) M = S.IM; draw(body); } else { const m = body.querySelector('#ovMsg'); if (m) m.textContent = (r && r.error) || 'Nothing was changed.'; } };
|
|
1887
1886
|
body.onclick = async (e) => {
|
|
@@ -1958,12 +1957,12 @@ async function openMeeting(m, x = {}) {
|
|
|
1958
1957
|
const v = await V();
|
|
1959
1958
|
const o = { ws: deskWs(), ...(x.record ? { record: true } : {}) };
|
|
1960
1959
|
if (typeof v.openMeeting === 'function') return v.openMeeting(m.note ? { note: m.note } : m, o);
|
|
1961
|
-
try { const M = await import('./premium-vw-mtg.js'); return M.openMeeting(m.note ? { note: m.note } : m, o); } catch {
|
|
1960
|
+
try { const M = await import('./premium-vw-mtg.js'); return M.openMeeting(m.note ? { note: m.note } : m, o); } catch { toast('The meeting could not open. Try again.'); return null; }
|
|
1962
1961
|
}
|
|
1963
1962
|
async function openCalendar() {
|
|
1964
1963
|
const v = await V();
|
|
1965
1964
|
if (typeof v.openCalendar === 'function') return v.openCalendar({ ws: deskWs(), view: 'day' });
|
|
1966
|
-
|
|
1965
|
+
toast('The calendar could not open. Try again.'); return null;
|
|
1967
1966
|
}
|
|
1968
1967
|
|
|
1969
1968
|
/* the record dot shows a recording that is on: this page's recorder, or a note the server holds as recording */
|
|
@@ -2298,7 +2297,7 @@ function cta() {
|
|
|
2298
2297
|
}
|
|
2299
2298
|
|
|
2300
2299
|
/* ── start ── */
|
|
2301
|
-
mountIni({ S, VW, pmGet, pmPost, toast, rowOf: (id) => iniRowOf(id), renameIni: (id, pre) => iniRenameOf(id, pre), renameTask: (t) => taskRenameOf(t), load: () => load(), loadIni: () => loadIni(), openFile: (f) => openFile(f), iniTitle: (id) => iniTitle(id), drawList: () => drawList(),
|
|
2300
|
+
mountIni({ S, VW, pmGet, pmPost, toast, rowOf: (id) => iniRowOf(id), renameIni: (id, pre) => iniRenameOf(id, pre), renameTask: (t) => taskRenameOf(t), load: () => load(), loadIni: () => loadIni(), openFile: (f) => openFile(f), iniTitle: (id) => iniTitle(id), drawList: () => drawList(),
|
|
2302
2301
|
// the initiative's page (HbCDesk): its card, its header and its ⋯
|
|
2303
2302
|
openBoardTask: (t) => openBoardTask(t),
|
|
2304
2303
|
goHome: () => { VW.close(); goHome(); }, // after the initiative's Delete (batch 16 item 5d): it is gone, so Home shows the list again
|
|
@@ -721,7 +721,6 @@ export function mountChat(el, host) {
|
|
|
721
721
|
const notesLib = () => notesM || (notesM = import('./premium-notes.js').then((M) => {
|
|
722
722
|
M.mountNotes({ getKey: () => (C.t && C.t.key) || null, ws: (C.t && C.t.ws) || new URLSearchParams(location.search).get('ws') || undefined,
|
|
723
723
|
get input() { return foot.querySelector('textarea'); }, note: { set textContent(v) { if (v) host.toast(v); } },
|
|
724
|
-
show: () => { const b = VWC.body(); if (b && host.wait && !b.querySelector(':scope > .hx-wait')) b.insertAdjacentHTML('afterbegin', host.wait); }, // Notes is not drawn on the Home canvas: it keeps its marker
|
|
725
724
|
toChat: () => { if (!host.desk()) VWC.close(); } });
|
|
726
725
|
return M;
|
|
727
726
|
}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* pm/home-ini.js — an initiative's layout inside Home, as the canvas draws it (initiative premium-uncovered-features, Initiative; artboards InStage,
|
|
2
2
|
* InTasks, InDocs, InPhone). The pure half is home-ini-model.js.
|
|
3
3
|
*
|
|
4
|
-
* mountIni(ctx) once, from home-app.js. ctx: { S, VW, pmGet, pmPost, toast, load, openFile, iniTitle, drawList
|
|
4
|
+
* mountIni(ctx) once, from home-app.js. ctx: { S, VW, pmGet, pmPost, toast, load, openFile, iniTitle, drawList }
|
|
5
5
|
* iniList(sc) after each draw of the list column: reads the layout record and moves the stage by itself when it may. The list column
|
|
6
6
|
* never changes for an initiative (canvas HbC): the initiative is a page of the Viewer.
|
|
7
7
|
* iniPage(o?) the initiative's page in the Viewer (o.pop: in the one popup, with Home's chat beside it): the ONE view the Board's panel draws too (ini-view.js; batch 6 items 1 and 3):
|
|
@@ -660,7 +660,7 @@ function docsMore(id) {
|
|
|
660
660
|
async function addDoc(id) {
|
|
661
661
|
const M = curM(), S = X.ctx.S; if (!M) return;
|
|
662
662
|
const A = await import('./home-adddoc.js');
|
|
663
|
-
A.openAddDocVw({ VW: X.ctx.VW, pmPost: X.ctx.pmPost, toast: X.ctx.toast,
|
|
663
|
+
A.openAddDocVw({ VW: X.ctx.VW, pmPost: X.ctx.pmPost, toast: X.ctx.toast, ws: M.board.ws, scope: M.docs.scope, phases: MD.PHASES, title: X.ctx.iniTitle(id), back: () => iniOverview('docs'), onAdded: async () => { await X.ctx.load(); if (S.ini === id) iniOverview('docs'); } });
|
|
664
664
|
}
|
|
665
665
|
function wire(body, id) {
|
|
666
666
|
const say = (m) => { const el = body.querySelector('#ovMsg'); if (el) el.textContent = m; };
|
|
@@ -682,7 +682,7 @@ function wire(body, id) {
|
|
|
682
682
|
if (/^(draft|open):/.test(d.czsAct || '')) {
|
|
683
683
|
const key = d.czsAct.slice(d.czsAct.indexOf(':') + 1), doc = (M.docs.rows || []).find((x) => x.key === key); if (!doc) return;
|
|
684
684
|
if (d.czsAct.startsWith('draft:')) { after(await X.ctx.pmPost('/api/core-docs/draft', { ws: M.board.ws, scope: M.docs.scope, key }), 'The draft started. It waits for you to read.'); return; }
|
|
685
|
-
if (doc.path && doc.st === 'draft' && doc.slot) { const A = await import('./home-draft.js'); A.openDraftVw({ VW: X.ctx.VW, pmGet: X.ctx.pmGet, pmPost: X.ctx.pmPost, toast: X.ctx.toast,
|
|
685
|
+
if (doc.path && doc.st === 'draft' && doc.slot) { const A = await import('./home-draft.js'); A.openDraftVw({ VW: X.ctx.VW, pmGet: X.ctx.pmGet, pmPost: X.ctx.pmPost, toast: X.ctx.toast, ws: M.board.ws, scope: M.docs.scope, doc, iniTitle: X.ctx.iniTitle(id), onIssued: () => X.ctx.load() }); return; }
|
|
686
686
|
X.ctx.openFile({ path: doc.path, name: doc.title }); return;
|
|
687
687
|
}
|
|
688
688
|
if ('hiDby' in d) { menu(t, Object.entries(MD.DOC_BY).map(([k, l]) => ({ label: l, radio: true, on: X.doc.by === k, go: () => { X.doc.by = k; redrawView(); } })), 'Group documents by'); return; }
|
|
@@ -702,7 +702,7 @@ function wire(body, id) {
|
|
|
702
702
|
if (d.ovDread) {
|
|
703
703
|
const doc = (M.docs.rows || []).find((x) => x.key === d.ovDread); if (!doc) return;
|
|
704
704
|
const A = await import('./home-draft.js');
|
|
705
|
-
A.openDraftVw({ VW: X.ctx.VW, pmGet: X.ctx.pmGet, pmPost: X.ctx.pmPost, toast: X.ctx.toast,
|
|
705
|
+
A.openDraftVw({ VW: X.ctx.VW, pmGet: X.ctx.pmGet, pmPost: X.ctx.pmPost, toast: X.ctx.toast, ws: M.board.ws, scope: M.docs.scope, doc, iniTitle: X.ctx.iniTitle(id), onIssued: () => X.ctx.load() });
|
|
706
706
|
return;
|
|
707
707
|
}
|
|
708
708
|
if ('ovAdddoc' in d) { addDoc(id); return; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* pm/home-more.js — the features the Agreed design does not draw yet, as plain minimal versions in the Viewer
|
|
2
|
-
* (initiative premium-agreed-design, Home: "keep every uncovered feature usable, in the cozy style
|
|
2
|
+
* (initiative premium-agreed-design, Home: "keep every uncovered feature usable, in the cozy style").
|
|
3
3
|
*
|
|
4
4
|
* Each opens in the Viewer card (cozy-viewer.js), never the old dialog, and reads and writes through the routes the old pages used:
|
|
5
5
|
* openSettings() the designed Settings (pm/cozy-settings.js, premium-uncovered-features E3)
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
* 17:00, the calendar is an icon in Your day's header, and a note is + New › Recording.
|
|
15
15
|
* Every write is the PM's press (pmPost carries the launch nonce). Nothing here sends anything outside PMOS. */
|
|
16
16
|
|
|
17
|
-
export const WAIT = '<p class="hx-wait"><i aria-hidden="true"></i>Waiting for design</p>';
|
|
18
17
|
const toast = (t) => { const el = document.getElementById('toast'); if (!el) return; el.textContent = t; el.classList.add('on'); clearTimeout(toast.t); toast.t = setTimeout(() => el.classList.remove('on'), 4200); };
|
|
19
18
|
const when = (iso) => { const d = new Date(iso); if (Number.isNaN(d.getTime())) return ''; const p = (n) => String(n).padStart(2, '0'); return (d.toDateString() === new Date().toDateString() ? '' : d.getDate() + ' ' + d.toLocaleString('en-GB', { month: 'short' }) + ' ') + p(d.getHours()) + ':' + p(d.getMinutes()); };
|
|
20
19
|
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
/* komorebi.css: PMOS Komorebi, from the PMOS design system family, for the workspace. GENERATED from workspace/design-system/ui/ by
|
|
2
2
|
* lib/design-system.js: do not edit; change the system's files and run `node lib/design-system.js --write`. Every rule is scoped to .pm-ds,
|
|
3
3
|
* so the sheet changes nothing until a page puts the class on its root. Load brand.css, then charts.css, then the system's own sheet. */
|
|
4
|
+
/* Except the type tokens (--type-, --leading-, --weight-<style>) and the workspace's older type names that point at them (--fs-*, --fw-*,
|
|
5
|
+
* --lh-*): those sit at :root, so a change to one Komorebi type token reaches every page, with or without the class. */
|
|
4
6
|
.pm-ds{--raise:0 1px 2px rgba(42,46,53,.08), 0 4px 14px -6px rgba(70,80,50,.14);--lift:0 10px 28px -10px rgba(42,46,53,.28);--glow:0 0 0 2px #5F7A45, 0 0 0 5px rgba(95,122,69,.10)}
|
|
5
7
|
.pm-ds.dark, html.dark .pm-ds, :root[data-theme="dark"] .pm-ds{--raise:0 1px 2px rgba(0,0,0,.4), 0 4px 14px -6px rgba(169,196,140,.08);--lift:0 10px 28px -10px rgba(0,0,0,.6);--glow:0 0 0 2px #A9C48C, 0 0 0 5px rgba(169,196,140,.12)}
|
|
6
8
|
.pm-ds{--space-4:4px;--space-8:8px;--space-12:12px;--space-16:16px;--space-24:24px;--space-32:32px;--space-48:48px;--space-64:64px;--radius-sm:6px;--radius-md:10px;--radius-card:16px;--radius-panel:24px;--radius-pill:999px}
|
|
7
|
-
|
|
8
|
-
.pm-ds .
|
|
9
|
-
.pm-ds .
|
|
10
|
-
.pm-ds .
|
|
11
|
-
.pm-ds .
|
|
12
|
-
.pm-ds{
|
|
9
|
+
:root{--type-title:26px;--leading-title:32px;--weight-title:600;--type-heading:18px;--leading-heading:24px;--weight-heading:600;--type-body:15px;--leading-body:24px;--weight-body:400;--type-small:13px;--leading-small:20px;--weight-small:400;--type-code:13px;--leading-code:20px;--weight-code:400}
|
|
10
|
+
.pm-ds .title{font-family:var(--font-sans);font-size:var(--type-title);line-height:var(--leading-title);font-weight:var(--weight-title)}
|
|
11
|
+
.pm-ds .heading{font-family:var(--font-sans);font-size:var(--type-heading);line-height:var(--leading-heading);font-weight:var(--weight-heading)}
|
|
12
|
+
.pm-ds .body{font-family:var(--font-sans);font-size:var(--type-body);line-height:var(--leading-body);font-weight:var(--weight-body)}
|
|
13
|
+
.pm-ds .small{font-family:var(--font-sans);font-size:var(--type-small);line-height:var(--leading-small);font-weight:var(--weight-small)}
|
|
14
|
+
.pm-ds .code{font-family:var(--font-mono);font-size:var(--type-code);line-height:var(--leading-code);font-weight:var(--weight-code)}
|
|
15
|
+
.pm-ds{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-sans);font-size:var(--type-body);line-height:1.6}
|
|
13
16
|
.pm-ds *{box-sizing:border-box}
|
|
14
17
|
.pm-ds .pm-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
|
|
15
|
-
.pm-ds .pm-meta{font-size:
|
|
16
|
-
.pm-ds .pm-h{margin:0;font-size:
|
|
17
|
-
.pm-ds .pm-h-sm{margin:0;font-size:
|
|
18
|
+
.pm-ds .pm-meta{font-size:var(--type-small);line-height:20px;color:var(--muted)}
|
|
19
|
+
.pm-ds .pm-h{margin:0;font-size:var(--type-heading);line-height:24px;font-weight:600}
|
|
20
|
+
.pm-ds .pm-h-sm{margin:0;font-size:var(--type-body);line-height:24px;font-weight:600}
|
|
18
21
|
.pm-ds .pm-ic{width:16px;height:16px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
|
|
19
22
|
.pm-ds .pm-btn{width:32px;height:32px;border-radius:var(--radius-sm);border:0;background:none;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background var(--duration-quick) var(--ease-out)}
|
|
20
23
|
.pm-ds .pm-btn:hover{background:var(--well)}
|
|
@@ -25,40 +28,40 @@
|
|
|
25
28
|
.pm-ds .pm-btn[disabled]{opacity:.4;cursor:default}
|
|
26
29
|
.pm-ds .pm-input{height:40px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);padding:0 12px;font:inherit;color:var(--ink);width:100%}
|
|
27
30
|
.pm-ds .pm-input:focus{outline:none;box-shadow:var(--glow)}
|
|
28
|
-
.pm-ds .pm-badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--radius-sm);font-size:
|
|
31
|
+
.pm-ds .pm-badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--radius-sm);font-size:var(--type-small);font-weight:600;white-space:nowrap;background:var(--well);color:var(--muted)}
|
|
29
32
|
.pm-ds .pm-badge.alert{background:var(--alert-tint);color:var(--alert)}
|
|
30
33
|
.pm-ds .pm-badge.blue{background:var(--blue-tint);color:var(--blue)}
|
|
31
|
-
.pm-ds .pm-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:var(--radius-pill);background:var(--blue);color:var(--on-blue);font-size:
|
|
34
|
+
.pm-ds .pm-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:var(--radius-pill);background:var(--blue);color:var(--on-blue);font-size:var(--type-small)}
|
|
32
35
|
.pm-ds .pm-switch{width:40px;height:24px;border-radius:var(--radius-pill);background:var(--line);border:0;position:relative;cursor:pointer;flex-shrink:0}
|
|
33
36
|
.pm-ds .pm-switch::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:var(--radius-pill);background:var(--card);box-shadow:var(--raise);transition:left var(--duration-quick) var(--ease-out)}
|
|
34
37
|
.pm-ds .pm-switch[aria-checked="true"]{background:var(--leaf)}
|
|
35
38
|
.pm-ds .pm-switch[aria-checked="true"]::after{left:19px}
|
|
36
39
|
.pm-ds .pm-switch:focus-visible{outline:none;box-shadow:var(--glow)}
|
|
37
|
-
.pm-ds .pm-chip{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--radius-pill);background:var(--well);font-size:
|
|
38
|
-
.pm-ds .pm-kbd{font-family:var(--font-mono);font-size:
|
|
40
|
+
.pm-ds .pm-chip{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--radius-pill);background:var(--well);font-size:var(--type-small)}
|
|
41
|
+
.pm-ds .pm-kbd{font-family:var(--font-mono);font-size:var(--type-small);min-width:24px;height:24px;padding:0 6px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--well);display:inline-flex;align-items:center;justify-content:center}
|
|
39
42
|
.pm-ds .pm-li{min-height:56px;border-radius:var(--radius-md);display:flex;align-items:center;gap:12px;padding:6px 8px 6px 14px}
|
|
40
43
|
.pm-ds .pm-li:hover{background:var(--well)}
|
|
41
44
|
.pm-ds .pm-li .t{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
42
|
-
.pm-ds .pm-li .w{font-size:
|
|
45
|
+
.pm-ds .pm-li .w{font-size:var(--type-small);line-height:20px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
43
46
|
.pm-ds .pm-li .txt{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.4}
|
|
44
47
|
.pm-ds .pm-li .acts{display:none;gap:2px}
|
|
45
48
|
.pm-ds .pm-li:hover .acts, .pm-ds .pm-li:focus-within .acts{display:flex}
|
|
46
49
|
.pm-ds .pm-li.now{background:var(--leaf-tint);box-shadow:inset 0 0 0 2px var(--leaf)}
|
|
47
50
|
.pm-ds .pm-li.nest{padding-left:38px;min-height:44px}
|
|
48
51
|
.pm-ds .pm-tabs{display:inline-flex;background:var(--well);border-radius:var(--radius-md);padding:3px;gap:2px}
|
|
49
|
-
.pm-ds .pm-tab{height:30px;padding:0 10px;border-radius:var(--radius-sm);border:0;background:none;font:inherit;font-size:
|
|
52
|
+
.pm-ds .pm-tab{height:30px;padding:0 10px;border-radius:var(--radius-sm);border:0;background:none;font:inherit;font-size:var(--type-small);font-weight:600;color:var(--muted);cursor:pointer}
|
|
50
53
|
.pm-ds .pm-tab[aria-selected="true"]{background:var(--card);color:var(--ink);box-shadow:var(--raise)}
|
|
51
|
-
.pm-ds .pm-field{display:grid;grid-template-columns:110px 1fr;gap:8px;font-size:
|
|
54
|
+
.pm-ds .pm-field{display:grid;grid-template-columns:110px 1fr;gap:8px;font-size:var(--type-small);line-height:20px}
|
|
52
55
|
.pm-ds .pm-field dt{color:var(--muted)}
|
|
53
56
|
.pm-ds .pm-field dd{margin:0}
|
|
54
|
-
.pm-ds .pm-toast{display:inline-flex;flex-direction:column;background:var(--ink);color:var(--card);border-radius:var(--radius-md);box-shadow:var(--lift);font-size:
|
|
57
|
+
.pm-ds .pm-toast{display:inline-flex;flex-direction:column;background:var(--ink);color:var(--card);border-radius:var(--radius-md);box-shadow:var(--lift);font-size:var(--type-small);overflow:hidden}
|
|
55
58
|
.pm-ds .pm-toast .in{display:inline-flex;align-items:center;gap:10px;padding:4px 4px 4px 14px}
|
|
56
59
|
.pm-ds .pm-toast .pm-btn{color:var(--card)}
|
|
57
60
|
.pm-ds .pm-toast .timer{height:2px;background:var(--leaf)}
|
|
58
61
|
.pm-ds .pm-menu{background:var(--card);border-radius:var(--radius-md);box-shadow:var(--lift);padding:4px;min-width:200px;display:flex;flex-direction:column}
|
|
59
|
-
.pm-ds .pm-menu button{height:36px;border:0;background:none;text-align:left;padding:0 10px;border-radius:var(--radius-sm);font:inherit;font-size:
|
|
62
|
+
.pm-ds .pm-menu button{height:36px;border:0;background:none;text-align:left;padding:0 10px;border-radius:var(--radius-sm);font:inherit;font-size:var(--type-small);color:var(--ink);display:flex;align-items:center;gap:8px;cursor:pointer}
|
|
60
63
|
.pm-ds .pm-menu button:hover{background:var(--well)}
|
|
61
|
-
.pm-ds .pm-sug{display:flex;align-items:center;gap:10px;background:var(--blue-tint);border-radius:var(--radius-md);padding:4px 4px 4px 12px;font-size:
|
|
64
|
+
.pm-ds .pm-sug{display:flex;align-items:center;gap:10px;background:var(--blue-tint);border-radius:var(--radius-md);padding:4px 4px 4px 12px;font-size:var(--type-small)}
|
|
62
65
|
.pm-ds .pm-sug .say{flex:1}
|
|
63
66
|
.pm-ds .pm-star{color:var(--blue)}
|
|
64
67
|
.pm-ds .pm-sug.x{flex-direction:column;align-items:stretch;gap:10px;padding:14px 16px}
|
|
@@ -71,11 +74,11 @@
|
|
|
71
74
|
.pm-ds .pm-sug.x dd li{margin:0 0 2px}
|
|
72
75
|
.pm-ds .pm-sug.x dd.src{color:var(--muted)}
|
|
73
76
|
.pm-ds .pm-sug.x .ans{display:flex;gap:8px;justify-content:flex-end}
|
|
74
|
-
.pm-ds .pm-ev{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);box-shadow:var(--raise);padding:6px 10px;display:flex;flex-direction:column;line-height:1.35;font-size:
|
|
77
|
+
.pm-ds .pm-ev{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);box-shadow:var(--raise);padding:6px 10px;display:flex;flex-direction:column;line-height:1.35;font-size:var(--type-small)}
|
|
75
78
|
.pm-ds .pm-ev b{font-weight:600}
|
|
76
79
|
.pm-ds .pm-ev.over{background:none;box-shadow:none;border-style:dashed;color:var(--muted)}
|
|
77
|
-
.pm-ds .pm-fold{height:44px;display:flex;align-items:center;gap:8px;padding:0 14px;border:0;border-top:1px dashed var(--line);background:none;width:100%;font:inherit;font-size:
|
|
78
|
-
.pm-ds .pm-group{height:32px;display:flex;align-items:center;gap:8px;padding:0 14px;font-size:
|
|
80
|
+
.pm-ds .pm-fold{height:44px;display:flex;align-items:center;gap:8px;padding:0 14px;border:0;border-top:1px dashed var(--line);background:none;width:100%;font:inherit;font-size:var(--type-small);font-weight:600;color:var(--muted);text-align:left;cursor:pointer}
|
|
81
|
+
.pm-ds .pm-group{height:32px;display:flex;align-items:center;gap:8px;padding:0 14px;font-size:var(--type-small);font-weight:600;background:var(--well);color:var(--muted)}
|
|
79
82
|
.pm-ds .pm-group.now{background:var(--leaf-tint);color:var(--ink)}
|
|
80
83
|
.pm-ds .pm-dia{position:absolute;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;padding:0;transform:rotate(45deg);background:var(--card);border:2px solid var(--ink);border-radius:2px;box-sizing:border-box;cursor:pointer;z-index:2}
|
|
81
84
|
.pm-ds .pm-dia.late{border-color:var(--alert)}
|
|
@@ -84,28 +87,28 @@
|
|
|
84
87
|
.pm-ds .pm-dia.n>b{transform:rotate(-45deg);color:var(--card);font-size:11px;line-height:1;font-weight:600}
|
|
85
88
|
.pm-ds .pm-dia:focus-visible{outline:none;box-shadow:var(--glow)}
|
|
86
89
|
.pm-ds .pm-now{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--alert);z-index:1}
|
|
87
|
-
.pm-ds .pm-now>span{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);font-size:
|
|
90
|
+
.pm-ds .pm-now>span{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);font-size:var(--type-small);font-style:normal;font-weight:600;color:var(--alert);white-space:nowrap}
|
|
88
91
|
.pm-ds .pm-gt{position:relative;height:24px}
|
|
89
92
|
.pm-ds .pm-gt>.b{position:absolute;top:7px;height:10px;border-radius:var(--radius-pill);background:var(--well);box-shadow:inset 0 0 0 1px var(--line)}
|
|
90
93
|
.pm-ds .pm-gt>.b.dn{background:var(--leaf);box-shadow:none}
|
|
91
94
|
.pm-ds .pm-gt>.b.nw{background:var(--blue);box-shadow:none}
|
|
92
95
|
.pm-ds .pm-dline{position:relative;padding:0 40px 0 8px}
|
|
93
|
-
.pm-ds .pm-dline .axis{position:relative;height:20px;font-size:
|
|
96
|
+
.pm-ds .pm-dline .axis{position:relative;height:20px;font-size:var(--type-small);color:var(--muted)}
|
|
94
97
|
.pm-ds .pm-dline .axis .tk{position:absolute;top:0;transform:translateX(-50%);white-space:nowrap}
|
|
95
98
|
.pm-ds .pm-dline .line{position:relative;height:calc(24px + var(--rows,1) * 76px);background:linear-gradient(var(--line),var(--line)) 0 12px/100% 1px no-repeat}
|
|
96
99
|
.pm-ds .pm-dline .line>.pm-now{bottom:auto;height:34px;top:-8px}
|
|
97
100
|
.pm-ds .pm-dline .ms{position:absolute;top:0;width:0}
|
|
98
101
|
.pm-ds .pm-dline .ms>.pm-dia{top:12px}
|
|
99
|
-
.pm-ds .pm-dline .ms .lb{position:absolute;top:calc(28px + var(--row) * 76px);left:-6px;display:flex;flex-direction:column;align-items:flex-start;gap:0;width:max-content;max-width:200px;height:68px;font-size:
|
|
102
|
+
.pm-ds .pm-dline .ms .lb{position:absolute;top:calc(28px + var(--row) * 76px);left:-6px;display:flex;flex-direction:column;align-items:flex-start;gap:0;width:max-content;max-width:200px;height:68px;font-size:var(--type-small);line-height:20px;overflow:hidden}
|
|
100
103
|
.pm-ds .pm-dline .ms.flip .lb{left:auto;right:-6px;align-items:flex-end;text-align:right}
|
|
101
104
|
.pm-ds .pm-dline .ms .lb .hd{display:flex;align-items:center;gap:6px;height:22px}
|
|
102
105
|
.pm-ds .pm-dline .ms .lb .pm-badge{height:20px;padding:0 6px;font-size:12px}
|
|
103
106
|
.pm-ds .pm-dline .ms .lb b, .pm-ds .pm-dline .ms .lb .pm-meta{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
104
|
-
.pm-ds .pm-dline .ms .lb b{font-size:
|
|
107
|
+
.pm-ds .pm-dline .ms .lb b{font-size:var(--type-body);line-height:24px;font-weight:600}
|
|
105
108
|
.pm-ds .pm-dline .ms .lb .code{font-family:var(--font-mono);color:var(--muted)}
|
|
106
109
|
.pm-ds .pm-dline .ms.low::before{content:"";position:absolute;left:0;top:20px;height:calc(var(--row) * 76px + 6px);border-left:1px dashed var(--line)}
|
|
107
110
|
.pm-ds .pm-dline .ms.late .lb .code{color:var(--alert)}
|
|
108
|
-
.pm-ds .pm-more{position:absolute;top:20px;display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:none;padding:0;font:inherit;font-size:
|
|
111
|
+
.pm-ds .pm-more{position:absolute;top:20px;display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:none;padding:0;font:inherit;font-size:var(--type-small);color:var(--muted);cursor:pointer}
|
|
109
112
|
.pm-ds .pm-more.r{right:0}
|
|
110
113
|
.pm-ds .pm-more.l{left:-8px}
|
|
111
114
|
.pm-ds .pm-more b{min-width:24px;height:20px;padding:0 6px;border-radius:var(--radius-pill);background:var(--ink);color:var(--card);font-size:11px;line-height:20px;font-weight:600}
|
|
@@ -117,29 +120,29 @@
|
|
|
117
120
|
.pm-ds .pm-block.list{padding:0;overflow:hidden;gap:0}
|
|
118
121
|
.pm-ds .pm-block.list .head{padding:14px 16px}
|
|
119
122
|
.pm-ds .pm-block.list .rows{padding:0 8px 8px}
|
|
120
|
-
.pm-ds .pm-table{width:100%;border-collapse:collapse;font-size:
|
|
123
|
+
.pm-ds .pm-table{width:100%;border-collapse:collapse;font-size:var(--type-small)}
|
|
121
124
|
.pm-ds .pm-table th{text-align:left;font-weight:600;color:var(--muted);padding:8px;border-bottom:1px solid var(--line)}
|
|
122
125
|
.pm-ds .pm-table td{padding:8px;border-bottom:1px solid var(--line);vertical-align:middle}
|
|
123
126
|
.pm-ds .pm-table tr:hover td{background:var(--well)}
|
|
124
|
-
.pm-ds .pm-num{font-size:
|
|
127
|
+
.pm-ds .pm-num{font-size:var(--type-title);line-height:32px;font-weight:600;font-variant-numeric:tabular-nums}
|
|
125
128
|
.pm-ds .pm-bar{display:flex;height:10px;border-radius:var(--radius-pill);overflow:hidden;background:var(--well)}
|
|
126
|
-
.pm-ds .pm-cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center;font-size:
|
|
129
|
+
.pm-ds .pm-cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center;font-size:var(--type-small)}
|
|
127
130
|
.pm-ds .pm-cal span{height:32px;line-height:32px;border-radius:var(--radius-sm)}
|
|
128
131
|
.pm-ds .pm-cal .today{box-shadow:var(--glow);font-weight:600}
|
|
129
132
|
.pm-ds .pm-cal .has::after{content:"";display:block;width:4px;height:4px;margin:-8px auto 0;border-radius:2px;background:var(--blue)}
|
|
130
|
-
.pm-ds .pm-msg{align-self:flex-end;max-width:75%;background:var(--well);border-radius:var(--radius-md);padding:8px 12px;font-size:
|
|
131
|
-
.pm-ds .pm-said{display:flex;gap:8px;font-size:
|
|
132
|
-
.pm-ds .pm-doc{font-size:
|
|
133
|
-
.pm-ds .pm-doc h3{font-size:
|
|
134
|
-
.pm-ds .pm-stage{background:var(--well);border-radius:var(--radius-md);aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:
|
|
133
|
+
.pm-ds .pm-msg{align-self:flex-end;max-width:75%;background:var(--well);border-radius:var(--radius-md);padding:8px 12px;font-size:var(--type-small)}
|
|
134
|
+
.pm-ds .pm-said{display:flex;gap:8px;font-size:var(--type-small);line-height:20px;max-width:85%}
|
|
135
|
+
.pm-ds .pm-doc{font-size:var(--type-body);line-height:26px;max-width:62ch}
|
|
136
|
+
.pm-ds .pm-doc h3{font-size:var(--type-heading);line-height:24px;margin:0 0 4px}
|
|
137
|
+
.pm-ds .pm-stage{background:var(--well);border-radius:var(--radius-md);aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:var(--type-small)}
|
|
135
138
|
.pm-ds .pm-set{display:flex;align-items:center;gap:12px;min-height:56px;border-top:1px solid var(--line)}
|
|
136
139
|
.pm-ds .pm-rail{width:72px;background:var(--well);border-radius:var(--radius-panel);padding:8px 0;display:flex;flex-direction:column;align-items:center;gap:4px}
|
|
137
|
-
.pm-ds .pm-rail a{position:relative;width:60px;height:56px;border-radius:var(--radius-card);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--ink);text-decoration:none;font-size:
|
|
140
|
+
.pm-ds .pm-rail a{position:relative;width:60px;height:56px;border-radius:var(--radius-card);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--ink);text-decoration:none;font-size:var(--type-small);font-weight:600}
|
|
138
141
|
.pm-ds .pm-rail a[aria-current="page"]{background:var(--card);box-shadow:var(--glow)}
|
|
139
142
|
.pm-ds .pm-rail.roomy{width:92px}
|
|
140
143
|
.pm-ds .pm-rail.roomy a{width:76px;height:64px}
|
|
141
144
|
.pm-ds .pm-rail .pm-count{position:absolute;top:3px;right:5px}
|
|
142
|
-
.pm-ds .pm-path{display:flex;align-items:center;gap:6px;font-size:
|
|
145
|
+
.pm-ds .pm-path{display:flex;align-items:center;gap:6px;font-size:var(--type-small)}
|
|
143
146
|
.pm-ds .pm-path a{color:var(--blue)}
|
|
144
147
|
.pm-ds .pm-motion-enter{animation:pmEnter var(--duration-enter) var(--ease-out) both}
|
|
145
148
|
@keyframes pmEnter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
|
|
@@ -147,7 +150,7 @@
|
|
|
147
150
|
.pm-ds *{animation:none!important;transition:none!important}
|
|
148
151
|
}
|
|
149
152
|
.pm-ds a{color:var(--blue)}
|
|
150
|
-
.pm-ds .pm-tip{position:absolute;pointer-events:none;background:var(--ink);color:var(--card);font-size:
|
|
153
|
+
.pm-ds .pm-tip{position:absolute;pointer-events:none;background:var(--ink);color:var(--card);font-size:var(--type-small);line-height:20px;padding:6px 10px;border-radius:var(--radius-md);box-shadow:var(--lift);white-space:nowrap;opacity:0;transform:translateY(4px);transition:opacity var(--duration-quick) var(--ease-out),transform var(--duration-quick) var(--ease-out);z-index:5}
|
|
151
154
|
.pm-ds .pm-tip.on{opacity:1;transform:none}
|
|
152
155
|
.pm-ds .pm-tip b{font-weight:600}
|
|
153
156
|
.pm-ds .pm-chart{position:relative;outline:none;border-radius:var(--radius-md)}
|
|
@@ -160,13 +163,13 @@
|
|
|
160
163
|
.pm-ds .pm-chart .series{transition:opacity var(--duration-enter) var(--ease-drift)}
|
|
161
164
|
.pm-ds .pm-chart .series.off{opacity:0}
|
|
162
165
|
.pm-ds .pm-chart path.line{transition:d var(--duration-enter) var(--ease-drift)}
|
|
163
|
-
.pm-ds .pm-leg{display:flex;gap:12px;font-size:
|
|
166
|
+
.pm-ds .pm-leg{display:flex;gap:12px;font-size:var(--type-small)}
|
|
164
167
|
.pm-ds .pm-leg button{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:2px 6px;border-radius:var(--radius-sm);color:var(--ink)}
|
|
165
168
|
.pm-ds .pm-leg button:hover{background:var(--well)}
|
|
166
169
|
.pm-ds .pm-leg button:focus-visible{box-shadow:var(--glow)}
|
|
167
170
|
.pm-ds .pm-leg button[aria-pressed="false"]{color:var(--muted);text-decoration:line-through}
|
|
168
171
|
.pm-ds .pm-leg i{width:10px;height:3px;border-radius:2px;display:inline-block}
|
|
169
|
-
.pm-ds .pm-pick{margin-top:8px;font-size:
|
|
172
|
+
.pm-ds .pm-pick{margin-top:8px;font-size:var(--type-small);color:var(--muted);min-height:20px}
|
|
170
173
|
.pm-ds .pm-pick a{color:var(--blue);font-weight:600}
|
|
171
174
|
.pm-ds .pm-bar span{cursor:pointer;transition:filter var(--duration-quick)}
|
|
172
175
|
.pm-ds .pm-bar span:hover{filter:brightness(1.12)}
|
|
@@ -185,3 +188,4 @@
|
|
|
185
188
|
.pm-ds .pm-leg i.pm-sw-muted{background:var(--muted)}
|
|
186
189
|
.pm-ds .pm-leg i.pm-sw-alert{background:var(--alert)}
|
|
187
190
|
.pm-ds .pm-chart-head:empty{display:none}
|
|
191
|
+
:root{--fw-regular:var(--weight-body);--fw-strong:var(--weight-heading);--fs-field:16px;--fs-display:var(--type-title);--fs-page:var(--type-title);--fs-panel:var(--type-heading);--fs-section:var(--type-body);--fs-row:var(--type-body);--fs-body:var(--type-body);--fs-meta:var(--type-small);--fs-label:var(--type-small);--fs-badge:var(--type-small);--lh-display:1.2;--lh-page:1.2;--lh-panel:1.3;--lh-section:1.35;--lh-row:1.4;--lh-body:1.6;--lh-meta:1.5;--lh-label:1.35;--lh-badge:1.2}
|
|
@@ -1188,7 +1188,7 @@ document.addEventListener('click', (e) => {
|
|
|
1188
1188
|
await draw();
|
|
1189
1189
|
} });
|
|
1190
1190
|
});
|
|
1191
|
-
/* ── the tools the Agreed design draws but has no frame for: plain versions
|
|
1191
|
+
/* ── the tools the Agreed design draws but has no frame for: plain versions (pm/bd-acts.js) ─────────── */
|
|
1192
1192
|
$('#bdFind').addEventListener('click', (e) => { if (ROC && workOn()) roFind(e.currentTarget); else Acts.open.find(e.currentTarget); });
|
|
1193
1193
|
/** A copy's search (shared-copy brief Part A 3): a field beside the find icon that keeps the rows whose name holds the words. The workspace's
|
|
1194
1194
|
* Search reads the publisher's computer, which a copy never reaches, so a copy searches only what it holds, in memory. */
|
|
@@ -187,7 +187,7 @@ function sheets(doc, abs, again) {
|
|
|
187
187
|
function copySheets(doc, again) {
|
|
188
188
|
let st = doc.getElementById('vzxAudCss');
|
|
189
189
|
if (st && st.dataset.full === '1') return;
|
|
190
|
-
const want = CSS.concat([new URL('./cozy.css', import.meta.url).href]);
|
|
190
|
+
const want = CSS.concat([new URL('./komorebi.css', import.meta.url).href, new URL('./cozy.css', import.meta.url).href]); // komorebi.css: the type tokens (--fs-*) at :root
|
|
191
191
|
const text = [], got = new Set();
|
|
192
192
|
for (const sh of document.styleSheets) {
|
|
193
193
|
const w = sh.href && want.find((x) => sh.href.split('?')[0].endsWith(x)); if (!w) continue;
|
|
@@ -54,7 +54,6 @@ import { pmGet, pmPost } from './http.js';
|
|
|
54
54
|
import { open as vOpen, current as vCur, czSections } from './cozy-viewer.js';
|
|
55
55
|
import * as MP from './premium-mtg-present.js'; // the one presenter window for every kind (canvas note xvPresent)
|
|
56
56
|
import { presentInRecording } from './cozy-rec-bridge.js'; // while a meeting records, the recording tab presents it (rule 10)
|
|
57
|
-
import { placeholderHtml } from './cozy-placeholder.js';
|
|
58
57
|
import { vzStyle } from './premium-vw-open.js';
|
|
59
58
|
import { reviewHtml, chatOf as rfChatOf, ICON as RF_ICON } from './report-flow.js'; // Claude's review and the template icon (batch 22 item 14, canvas RfH2, RfH6)
|
|
60
59
|
import * as OU from './report-orders-ui.js'; // batch 27 item 16: the orders of a draft (canvas TpA, TpD, TpE)
|
|
@@ -83,7 +82,6 @@ const DAYS = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri'];
|
|
|
83
82
|
const W = 1280;
|
|
84
83
|
const q = (o) => Object.entries(o).filter(([, v]) => v != null && v !== '').map(([k, v]) => k + '=' + encodeURIComponent(v)).join('&');
|
|
85
84
|
const inline = (s) => esc(s).replace(/\*\*([^*]+)\*\*/g, '<b>$1</b>').replace(/`([^`]+)`/g, '<code>$1</code>');
|
|
86
|
-
const WAIT = (f) => `<span class="vz-wait" data-cz-placeholder="${esc(f)}">Waiting for design</span>`; // only the page editor keeps it
|
|
87
85
|
/** The reader's own sheet (cozy-vw-rp.css), added to the page once. */
|
|
88
86
|
function rpStyle() {
|
|
89
87
|
if (typeof document === 'undefined' || document.querySelector('link[data-rp-css]')) return;
|
|
@@ -486,7 +484,7 @@ function bodyHtml() {
|
|
|
486
484
|
const SS = slideState(), n = SS ? SS.deck.slides.length : slides().length, at = SS ? SS.i : R.i;
|
|
487
485
|
return `<div class="vz-rpb">${R.msg ? `<p class="vz-msg" role="status" data-tone="${R.msg.tone || ''}">${esc(R.msg.text)}</p>` : ''}`
|
|
488
486
|
+ (R.view === 'deck' && !R.noTip ? `<p class="vz-tip"><span>${tipText(at, n)}</span>${ib('notip', ic('x', 14), 'Hide this tip', { cls: ' vz-small' })}</p>` : '')
|
|
489
|
-
+
|
|
487
|
+
+ '<div class="vz-ed" data-vz-ed></div></div>';
|
|
490
488
|
}
|
|
491
489
|
const view = R.err ? `<p class="vz-msg" data-tone="bad" role="alert">The document could not be read: ${esc(R.err)}</p>` : !R.W ? '<p class="vz-empty" role="status">Reading the report.</p>'
|
|
492
490
|
: R.gal ? galView() : (R.view === 'deck' ? deckHtml() : R.view === 'live' ? liveView() : pageHtml()) + ordAssHtml();
|
|
@@ -973,7 +971,7 @@ async function shareAct(k, v) {
|
|
|
973
971
|
}
|
|
974
972
|
}
|
|
975
973
|
|
|
976
|
-
/* ── edit: the slide editor or the page editor, mounted in the panel
|
|
974
|
+
/* ── edit: the slide editor or the page editor, mounted in the panel ── */
|
|
977
975
|
async function mountEditor() {
|
|
978
976
|
const me = R, b = bodyEl(), host = b && b.querySelector('[data-vz-ed]');
|
|
979
977
|
if (!host || host.dataset.mounted) return;
|
|
@@ -989,7 +987,7 @@ async function mountEditor() {
|
|
|
989
987
|
if (R !== me || !host.isConnected) return;
|
|
990
988
|
m.openDocPage({ path: me.row.path, title: me.name + (me.row.slot ? ' · ' + me.row.slot : '') }, { host, ws: () => me.ws, onClose: done });
|
|
991
989
|
}
|
|
992
|
-
} catch (x) { host.innerHTML =
|
|
990
|
+
} catch (x) { host.innerHTML = `<p class="vz-msg" role="alert" data-tone="bad">The ${R.view === 'deck' ? 'slide' : 'page'} editor could not start: ${esc(String((x && x.message) || x))}</p>`; }
|
|
993
991
|
}
|
|
994
992
|
const slideState = () => (window.__premiumSlides && R ? window.__premiumSlides.state(R.row.path) : null);
|
|
995
993
|
async function editCancel() {
|
|
@@ -12,7 +12,7 @@ import { splitReport, reportChipHtml, blockSig } from './report-chat.js';
|
|
|
12
12
|
import { askCardHtml, answerText } from './chat-ask.js';
|
|
13
13
|
import { termTarget, TERM_ICON } from './chat-term.js';
|
|
14
14
|
import { openReportTab } from './premium-report-tab.js';
|
|
15
|
-
import
|
|
15
|
+
import './cozy-viewer.js'; // the Agreed design's Viewer; imported first, so its Escape runs before the dialog's
|
|
16
16
|
import { openChartTab } from './premium-chart-tab.js';
|
|
17
17
|
/** A pmos-report block opens the Report tab, or the Chart tab for a chart or a dashboard (premium-reports-from-chat, slice C). */
|
|
18
18
|
export const openBlockTab = (b) => (b && b.kind === 'report' ? openReportTab(b) : openChartTab(b));
|
|
@@ -58,16 +58,13 @@ export function flip() {
|
|
|
58
58
|
theme(next); store.set(THEME_KEY, next); tbTheme();
|
|
59
59
|
}
|
|
60
60
|
{ const t = new URLSearchParams(location.search).get('theme') || store.get(THEME_KEY); theme(t); }
|
|
61
|
-
/* ── the top bar: one ⋯ menu (premium-agreed-design). The design draws no Sources chip, no bell, no mic and no help button
|
|
62
|
-
*
|
|
63
|
-
* Theme stays a plain switch. Nothing in the menu leads to the console. The ids moreBtn, moreMenu, modeRow and settingsBtn stay: pages add their
|
|
61
|
+
/* ── the top bar: one ⋯ menu (premium-agreed-design). The design draws no Sources chip, no bell, no mic and no help button. The menu holds
|
|
62
|
+
* Sources (the designed Sources, premium-uncovered-features E3), Theme as a plain switch and Settings. Nothing in the menu leads to the console. The ids moreBtn, moreMenu, modeRow and settingsBtn stay: pages add their
|
|
64
63
|
* own items before #settingsBtn and anchor their popovers on #moreBtn. ── */
|
|
65
64
|
const MORE = '<svg class="i" viewBox="0 0 24 24"><circle cx="6" cy="12" r="1.3"/><circle cx="12" cy="12" r="1.3"/><circle cx="18" cy="12" r="1.3"/></svg>';
|
|
66
65
|
const TH = [['light', 'Light'], ['dark', 'Dark'], ['auto', 'Auto']];
|
|
67
|
-
/** The ⋯ menu's items
|
|
68
|
-
export const moreItems = (
|
|
69
|
-
? [['srcItem', 'Sources', 'source'], ['tbExport', 'Export', 'export'], ['tbAbout', 'About these numbers', 'info']]
|
|
70
|
-
: [['srcItem', 'Sources', 'source']]);
|
|
66
|
+
/** The ⋯ menu's own items: [id, label, icon]. Intelligence has its own ⋯ (Export CSV, Reports and dashboards); About is in the guide. */
|
|
67
|
+
export const moreItems = () => [['srcItem', 'Sources', 'source']];
|
|
71
68
|
function tbMount() {
|
|
72
69
|
const t = $('.tools-top'); if (!t || $('#tbMore')) return;
|
|
73
70
|
const items = moreItems();
|
|
@@ -103,8 +100,7 @@ function tbMount() {
|
|
|
103
100
|
const L = live(), i = L.indexOf(document.activeElement); if (!L.length) return;
|
|
104
101
|
e.preventDefault(); L[(i + (e.key === 'ArrowDown' ? 1 : L.length - 1) + (i < 0 ? 1 : 0)) % L.length].focus();
|
|
105
102
|
});
|
|
106
|
-
|
|
107
|
-
: () => czPlaceholderView(label, { icon }); });
|
|
103
|
+
$('#srcItem').onclick = () => import('./cozy-sources.js').then((M) => M.openSources()); // the designed Sources (premium-uncovered-features E3)
|
|
108
104
|
tbReadSrc();
|
|
109
105
|
setInterval(() => { if (!document.hidden) tbReadSrc(); }, 300000);
|
|
110
106
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
:root{--fw-regular:400;--fw-strong:600;--fs-field:16px;--fs-display:26px;--fs-page:26px;--fs-panel:18px;--fs-section:15px;--fs-row:15px;--fs-body:15px;--fs-meta:13px;--fs-label:13px;--fs-badge:13px;--lh-display:1.2;--lh-page:1.2;--lh-panel:1.3;--lh-section:1.35;--lh-row:1.4;--lh-body:1.6;--lh-meta:1.5;--lh-label:1.35;--lh-badge:1.2}
|
|
2
1
|
/* pm/premium-vw-backlog.css — the Jira backlog as a viewer tab (initiative premium-viewer, R10; premium-vw-backlog.js).
|
|
3
2
|
* Loaded once by vwStyle('backlog'). Sizes are only var(--fs-1..6), weights 400/500/600 (premium-console-type.test.js). */
|
|
4
3
|
.vbl .bl{display:grid;gap:14px}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-400.woff2) format("woff2");font-weight:400;font-display:swap}
|
|
3
3
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-500.woff2) format("woff2");font-weight:500;font-display:swap}
|
|
4
4
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-700.woff2) format("woff2");font-weight:600 700;font-display:swap}
|
|
5
|
-
:root{--fw-regular:400;--fw-strong:600;--fs-field:16px;--fs-display:26px;--fs-page:26px;--fs-panel:18px;--fs-section:15px;--fs-row:15px;--fs-body:15px;--fs-meta:13px;--fs-label:13px;--fs-badge:13px;--lh-display:1.2;--lh-page:1.2;--lh-panel:1.3;--lh-section:1.35;--lh-row:1.4;--lh-body:1.6;--lh-meta:1.5;--lh-label:1.35;--lh-badge:1.2}
|
|
6
5
|
/* pm/premium-vw-cal.css — the calendar grid in the premium viewer: Day, Week and Month (initiative premium-viewer, R8; premium-vw-cal.js).
|
|
7
6
|
* Loaded once by vwStyle('cal'). Sizes are only var(--fs-1..6), weights 400/500/600 (premium-console-type.test.js).
|
|
8
7
|
* The pane's own width picks the layout: the timeline from 560px, the day list below it (the mockup's Week and Agenda). */
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-400.woff2) format("woff2");font-weight:400;font-display:swap}
|
|
3
3
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-500.woff2) format("woff2");font-weight:500;font-display:swap}
|
|
4
4
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-700.woff2) format("woff2");font-weight:600 700;font-display:swap}
|
|
5
|
-
:root{--fw-regular:400;--fw-strong:600;--fs-field:16px;--fs-display:26px;--fs-page:26px;--fs-panel:18px;--fs-section:15px;--fs-row:15px;--fs-body:15px;--fs-meta:13px;--fs-label:13px;--fs-badge:13px;--lh-display:1.2;--lh-page:1.2;--lh-panel:1.3;--lh-section:1.35;--lh-row:1.4;--lh-body:1.6;--lh-meta:1.5;--lh-label:1.35;--lh-badge:1.2}
|
|
6
5
|
/* pm/premium-vw-copy.css — a Confluence page or Google Doc in the premium viewer (premium-vw-copies.js, premium-viewer R11). Loaded by vwStyle('copy'). */
|
|
7
6
|
.cpv{display:grid;gap:12px;max-width:760px}
|
|
8
7
|
.cpv-bar{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--hair);border-radius:8px;background:var(--card-solid);box-shadow:var(--card-shadow)}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
:root{--fw-regular:400;--fw-strong:600;--fs-field:16px;--fs-display:26px;--fs-page:26px;--fs-panel:18px;--fs-section:15px;--fs-row:15px;--fs-body:15px;--fs-meta:13px;--fs-label:13px;--fs-badge:13px;--lh-display:1.2;--lh-page:1.2;--lh-panel:1.3;--lh-section:1.35;--lh-row:1.4;--lh-body:1.6;--lh-meta:1.5;--lh-label:1.35;--lh-badge:1.2}
|
|
2
1
|
/* premium-vw-doc.css — the document page in the premium viewer (initiative premium-viewer, S2). Loaded once by vwStyle('doc'). Sizes are the console's
|
|
3
2
|
* six steps only (var(--fs-1..6)), weights 400/500/600, the page's own tokens otherwise. Checked by premium-console-type.test.js. */
|
|
4
3
|
:root{--vw-lnk:rgb(36,92,190);--vw-pur:rgb(110,72,190)}
|
|
@@ -245,8 +245,7 @@ function makePage(d, ctx) {
|
|
|
245
245
|
+ `<p class="vwerr" id="vwErr" role="alert">${esc(P.msg)}</p><div class="vwrow"><span class="vwmut" id="vwSv">${P.mode === 'edit' ? 'Type straight into the page. Press / for a block.' : 'The file as it is on disk.'}</span>`
|
|
246
246
|
+ `<button type="button" class="vwbtn" data-vd="cancel">Cancel</button><button type="button" class="vwbtn pri" data-vd="save"${P.busy ? ' disabled' : ''}>Save as v${v() + 1}</button></div></div>`;
|
|
247
247
|
}
|
|
248
|
-
/** The Edit log and the Proposals list under the page
|
|
249
|
-
* "Waiting for design" marker (initiative premium-agreed-design). Each revision shows its reason; each proposal shows who asked, the request, each
|
|
248
|
+
/** The Edit log and the Proposals list under the page: a plain section in the cozy style. Each revision shows its reason; each proposal shows who asked, the request, each
|
|
250
249
|
* section, and Accept (only the sections still current) or Reject (with a reason). Closed proposals keep their state and reason. */
|
|
251
250
|
function sideHtml() {
|
|
252
251
|
if (ctx.host) return '';
|
|
@@ -264,7 +263,7 @@ function makePage(d, ctx) {
|
|
|
264
263
|
: P.side === 'props'
|
|
265
264
|
? `<p class="vwlab">Open proposals · ${m.count}</p>${m.open.length ? m.open.map(one).join('') : '<p class="vwmut">No open proposals.</p>'}${m.closed.length ? `<p class="vwlab">Closed · ${m.closed.length}</p>${m.closed.map(one).join('')}` : ''}`
|
|
266
265
|
: '';
|
|
267
|
-
return `<section class="vwside" aria-label="Edit log and proposals"><
|
|
266
|
+
return `<section class="vwside" aria-label="Edit log and proposals"><div class="vwrow">${tab('log', 'Edit log')}${tab('props', 'Proposals', m.count)}</div>`
|
|
268
267
|
+ `<p class="vwerr" id="vwSideErr" role="alert">${esc(P.sideErr || '')}</p>${body ? `<div class="vwmp" role="region" aria-label="${P.side === 'log' ? 'Edit log' : 'Proposals'}">${body}</div>` : ''}</section>`;
|
|
269
268
|
}
|
|
270
269
|
/* AdH4: a quiet sign-off at the end of a page the agent wrote last; a page a person wrote last has none */
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-400.woff2) format("woff2");font-weight:400;font-display:swap}
|
|
3
3
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-500.woff2) format("woff2");font-weight:500;font-display:swap}
|
|
4
4
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-700.woff2) format("woff2");font-weight:600 700;font-display:swap}
|
|
5
|
-
:root{--fw-regular:400;--fw-strong:600;--fs-field:16px;--fs-display:26px;--fs-page:26px;--fs-panel:18px;--fs-section:15px;--fs-row:15px;--fs-body:15px;--fs-meta:13px;--fs-label:13px;--fs-badge:13px;--lh-display:1.2;--lh-page:1.2;--lh-panel:1.3;--lh-section:1.35;--lh-row:1.4;--lh-body:1.6;--lh-meta:1.5;--lh-label:1.35;--lh-badge:1.2}
|
|
6
5
|
/* premium-vw-guide.css — the guide in the Viewer (premium-vw-guide.js; canvas Exploring › User guide, option B): a page rail on the left,
|
|
7
6
|
* the page on the right with its section chips. Under 720 px the rail hides and the list icon shows it over the page. Quiet: hairlines, one
|
|
8
7
|
* well for the open page, no colour but the chips' hover. */
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
:root{--fw-regular:400;--fw-strong:600;--fs-field:16px;--fs-display:26px;--fs-page:26px;--fs-panel:18px;--fs-section:15px;--fs-row:15px;--fs-body:15px;--fs-meta:13px;--fs-label:13px;--fs-badge:13px;--lh-display:1.2;--lh-page:1.2;--lh-panel:1.3;--lh-section:1.35;--lh-row:1.4;--lh-body:1.6;--lh-meta:1.5;--lh-label:1.35;--lh-badge:1.2}
|
|
2
1
|
/* pm/premium-vw-item.css — the work item view of the premium viewer (initiative premium-viewer, S7). Loaded by vwStyle('item'). Console type sizes only. */
|
|
3
2
|
.vwi .vwi-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 8px}
|
|
4
3
|
.vwi .vwi-head b{font-size:var(--fs-section);font-weight:var(--fw-strong);color:var(--ink);overflow-wrap:anywhere;line-height:var(--lh-section);}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-400.woff2) format("woff2");font-weight:400;font-display:swap}
|
|
3
3
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-500.woff2) format("woff2");font-weight:500;font-display:swap}
|
|
4
4
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-700.woff2) format("woff2");font-weight:600 700;font-display:swap}
|
|
5
|
-
:root{--fw-regular:400;--fw-strong:600;--fs-field:16px;--fs-display:26px;--fs-page:26px;--fs-panel:18px;--fs-section:15px;--fs-row:15px;--fs-body:15px;--fs-meta:13px;--fs-label:13px;--fs-badge:13px;--lh-display:1.2;--lh-page:1.2;--lh-panel:1.3;--lh-section:1.35;--lh-row:1.4;--lh-body:1.6;--lh-meta:1.5;--lh-label:1.35;--lh-badge:1.2}
|
|
6
5
|
/* pm/premium-vw-jira.css — the Jira ticket and sprint tabs of the premium viewer (initiative premium-viewer, S5). Loaded once by
|
|
7
6
|
* pm/premium-vw-jira.js. Console type only: sizes var(--fs-1..6), weights 400, 500 and 600. */
|
|
8
7
|
.jv{max-width:900px;margin:0 auto;display:grid;gap:12px;min-width:0}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-400.woff2) format("woff2");font-weight:400;font-display:swap}
|
|
3
3
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-500.woff2) format("woff2");font-weight:500;font-display:swap}
|
|
4
4
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-700.woff2) format("woff2");font-weight:600 700;font-display:swap}
|
|
5
|
-
:root{--fw-regular:400;--fw-strong:600;--fs-field:16px;--fs-display:26px;--fs-page:26px;--fs-panel:18px;--fs-section:15px;--fs-row:15px;--fs-body:15px;--fs-meta:13px;--fs-label:13px;--fs-badge:13px;--lh-display:1.2;--lh-page:1.2;--lh-panel:1.3;--lh-section:1.35;--lh-row:1.4;--lh-body:1.6;--lh-meta:1.5;--lh-label:1.35;--lh-badge:1.2}
|
|
6
5
|
/* pm/premium-vw-meet.css — the meeting detail as the console's note sheet (initiative premium-viewer, S3; premium-vw-meet.js).
|
|
7
6
|
* Loaded once by vmStyle(). Sizes are only var(--fs-1..6), weights 400/500/600 (premium-console-type.test.js). */
|
|
8
7
|
.vm .vm-ln{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 0;font-size:var(--fs-body);color:var(--ink-2);line-height:var(--lh-body);}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
:root{--fw-regular:400;--fw-strong:600;--fs-field:16px;--fs-display:26px;--fs-page:26px;--fs-panel:18px;--fs-section:15px;--fs-row:15px;--fs-body:15px;--fs-meta:13px;--fs-label:13px;--fs-badge:13px;--lh-display:1.2;--lh-page:1.2;--lh-panel:1.3;--lh-section:1.35;--lh-row:1.4;--lh-body:1.6;--lh-meta:1.5;--lh-label:1.35;--lh-badge:1.2}
|
|
2
1
|
/* premium-vw-notepad.css — Notes in the premium viewer (premium-notes.js; initiative premium-chat-attach N1-N7). Loaded once by vwStyle('notepad').
|
|
3
2
|
* Sizes are the console's six steps only (var(--fs-1..6)), weights 400/500/600, the page's own tokens otherwise. Checked by premium-console-type.test.js. */
|
|
4
3
|
.p-out>.obody.vw:not([hidden]):has(>.ntpad){flex:1;min-height:0;display:flex!important;flex-direction:column} /* the notepad fills the pane: the note scrolls, its foot stays */
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-400.woff2) format("woff2");font-weight:400;font-display:swap}
|
|
3
3
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-500.woff2) format("woff2");font-weight:500;font-display:swap}
|
|
4
4
|
@font-face{font-family:"IBM Plex Mono";src:url(/vendor/ibm-plex-mono-700.woff2) format("woff2");font-weight:600 700;font-display:swap}
|
|
5
|
-
:root{--fw-regular:400;--fw-strong:600;--fs-field:16px;--fs-display:26px;--fs-page:26px;--fs-panel:18px;--fs-section:15px;--fs-row:15px;--fs-body:15px;--fs-meta:13px;--fs-label:13px;--fs-badge:13px;--lh-display:1.2;--lh-page:1.2;--lh-panel:1.3;--lh-section:1.35;--lh-row:1.4;--lh-body:1.6;--lh-meta:1.5;--lh-label:1.35;--lh-badge:1.2}
|
|
6
5
|
/* pm/premium-vw-notes.css — the Notes list in the premium dialog (initiative premium-viewer, R9; premium-vw-notes.js).
|
|
7
6
|
* Loaded once by vwStyle('notes'). Sizes are only var(--fs-1..6), weights 400/500/600 (premium-console-type.test.js). */
|
|
8
7
|
.vn-open{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;margin-left:auto;border-radius:6px;font-size:var(--fs-label);font-weight:var(--fw-strong);color:var(--ink-2);line-height:var(--lh-label);}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
:root{--fw-regular:400;--fw-strong:600;--fs-field:16px;--fs-display:26px;--fs-page:26px;--fs-panel:18px;--fs-section:15px;--fs-row:15px;--fs-body:15px;--fs-meta:13px;--fs-label:13px;--fs-badge:13px;--lh-display:1.2;--lh-page:1.2;--lh-panel:1.3;--lh-section:1.35;--lh-row:1.4;--lh-body:1.6;--lh-meta:1.5;--lh-label:1.35;--lh-badge:1.2}
|
|
2
1
|
/* pm/premium-vw-rec.css — note recording in the premium viewer (premium-viewer S4): the Record control, the Live notes tab and the Focus tab. Loaded by vwStyle('rec'). */
|
|
3
2
|
.recctl{position:relative;display:inline-flex;flex:none}
|
|
4
3
|
.recctl[hidden]{display:none}
|