create-pmos 0.696.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.
Files changed (49) hide show
  1. package/package.json +9 -9
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/design-system/ui/components/bundle.css +35 -35
  4. package/payload/design-system/ui/tokens.css +6 -5
  5. package/payload/planning/evals/eval-calibration.md +1 -1
  6. package/payload/planning/okrs/health-budgets.md +1 -1
  7. package/payload/state/discoveries.md +1 -1
  8. package/workspace/briefing-premium-insights-test.js +2 -1
  9. package/workspace/changelog.json +8 -8
  10. package/workspace/design-system/ui/components/bundle.css +35 -35
  11. package/workspace/design-system/ui/tokens.css +6 -5
  12. package/workspace/design-token-reach.js +93 -0
  13. package/workspace/guide/cli.md +8 -0
  14. package/workspace/lib/design-system.js +22 -4
  15. package/workspace/lib/premium-console-type.js +2 -1
  16. package/workspace/package-lock.json +2 -2
  17. package/workspace/package.json +1 -1
  18. package/workspace/premium-menu-rows-test.js +2 -1
  19. package/workspace/premium-vw-item-test.js +2 -0
  20. package/workspace/public/capture.html +1 -0
  21. package/workspace/public/pm/console3.css +1 -1
  22. package/workspace/public/pm/cozy.css +3 -7
  23. package/workspace/public/pm/ds-bridge.css +3 -1
  24. package/workspace/public/pm/komorebi.css +44 -40
  25. package/workspace/public/pm/premium-mtg-present.js +1 -1
  26. package/workspace/public/pm/premium-vw-backlog.css +0 -1
  27. package/workspace/public/pm/premium-vw-cal.css +0 -1
  28. package/workspace/public/pm/premium-vw-copy.css +0 -1
  29. package/workspace/public/pm/premium-vw-doc.css +0 -1
  30. package/workspace/public/pm/premium-vw-guide.css +0 -1
  31. package/workspace/public/pm/premium-vw-item.css +0 -1
  32. package/workspace/public/pm/premium-vw-jira.css +0 -1
  33. package/workspace/public/pm/premium-vw-meet.css +0 -1
  34. package/workspace/public/pm/premium-vw-notepad.css +0 -1
  35. package/workspace/public/pm/premium-vw-notes.css +0 -1
  36. package/workspace/public/pm/premium-vw-rec.css +0 -1
  37. package/workspace/public/pm/premium-vw-report.css +0 -1
  38. package/workspace/public/pm/premium-vw-slides.css +0 -1
  39. package/workspace/public/pm/premium-vw-slides.js +1 -1
  40. package/workspace/public/pm/premium.css +0 -1
  41. package/workspace/public/premium-board.html +1 -0
  42. package/workspace/public/premium-events.html +1 -0
  43. package/workspace/public/premium-goals.html +1 -0
  44. package/workspace/public/premium-intelligence.html +1 -0
  45. package/workspace/public/premium-library.html +1 -0
  46. package/workspace/public/premium-present.html +1 -0
  47. package/workspace/public/premium-routine.html +1 -0
  48. package/workspace/public/premium-viewer.html +1 -0
  49. package/workspace/test-lists/design-token-alias.json +9 -0
@@ -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}
@@ -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-report.css — the Report tab beside a chat (initiative premium-reports-from-chat, slice B; premium-report-tab.js).
7
6
  * Loaded once by vwStyle('report'). Sizes are only var(--fs-1..6), weights 400/500/600 (premium-console-type.test.js). */
8
7
  .rt{max-width:760px;margin:0 auto;padding:4px 2px 24px;display:flex;flex-direction:column;align-items:stretch;gap:12px;text-align:left}
@@ -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-slides.css — the slide editor view (premium-viewer R-SL1), loaded by vwStyle('slides'). The editor's chrome uses the console's
3
2
  * type scale; the slide canvas is a fixed 960 x 540 board scaled to its box (--bd-k), so its own sizes are the --fs-sl-* steps below. Item
4
3
  * geometry comes from premium-vw-slides.js as --bd-x, --bd-y, --bd-w and --bd-h. */
@@ -112,7 +112,7 @@ export function present(deck, ws, start, opt = {}) {
112
112
  if (!w || w.closed) { toast('The browser blocked the audience window. Allow pop-ups for PMOS, then press Audience window again.'); return; }
113
113
  const d = w.document;
114
114
  d.title = 'Audience · ' + deck.title;
115
- if (!d.querySelector('link[data-sl]')) for (const h of ['./cozy.css', './premium-vw-slides.css']) { const l = d.createElement('link'); l.rel = 'stylesheet'; l.href = new URL(h, import.meta.url).href; l.dataset.sl = ''; d.head.append(l); }
115
+ if (!d.querySelector('link[data-sl]')) for (const h of ['./komorebi.css', './cozy.css', './premium-vw-slides.css']) { const l = d.createElement('link'); l.rel = 'stylesheet'; l.href = new URL(h, import.meta.url).href; l.dataset.sl = ''; d.head.append(l); }
116
116
  d.documentElement.dataset.theme = 'dark'; d.body.className = 'cz sl-audw';
117
117
  w.onkeydown = (e) => key(e); w.onresize = drawWin; w.onclick = () => go(1);
118
118
  P.win = w; drawWin(); o.focus();
@@ -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.css — the premium Briefing's styles (initiative briefing-premium).
7
6
  * Derived from the approved mockup (prototype/premium-ux-concept, version 63): its token layer and the rules for the classes this page uses,
8
7
  * cut from the built mockup so every later override is kept. Light and dark come from the tokens; a page that sets data-theme wins over
@@ -16,6 +16,7 @@
16
16
  <link rel="stylesheet" href="/pm/brand.css" />
17
17
  <link rel="stylesheet" href="/pm/charts.css" />
18
18
  <link rel="stylesheet" href="/pm/komorebi.css" />
19
+ <link rel="stylesheet" href="/pm/ds-bridge.css" />
19
20
  <link rel="stylesheet" href="/pm/cozy-pick.css" />
20
21
  <link rel="stylesheet" href="/pm/cozy-board.css" />
21
22
  <link rel="stylesheet" href="/pm/load-shapes.css" />
@@ -15,6 +15,7 @@
15
15
  <link rel="stylesheet" href="/pm/charts.css" />
16
16
  <link rel="stylesheet" href="/pm/komorebi.css" />
17
17
  <link rel="stylesheet" href="/pm/cozy.css" />
18
+ <link rel="stylesheet" href="/pm/ds-bridge.css" />
18
19
  <link rel="stylesheet" href="/pm/cozy-events.css" />
19
20
  </head>
20
21
  <body class="cz evp-page">
@@ -21,6 +21,7 @@
21
21
  <link rel="stylesheet" href="/pm/charts.css" />
22
22
  <link rel="stylesheet" href="/pm/komorebi.css" />
23
23
  <link rel="stylesheet" href="/pm/cozy.css" />
24
+ <link rel="stylesheet" href="/pm/ds-bridge.css" />
24
25
  <link rel="stylesheet" href="/pm/cozy-pick.css" />
25
26
  <link rel="stylesheet" href="/pm/cozy-goals.css" />
26
27
  </head>
@@ -23,6 +23,7 @@
23
23
  <link rel="stylesheet" href="/pm/charts.css" />
24
24
  <link rel="stylesheet" href="/pm/komorebi.css" />
25
25
  <link rel="stylesheet" href="/pm/cozy.css" />
26
+ <link rel="stylesheet" href="/pm/ds-bridge.css" />
26
27
  <link rel="stylesheet" href="/pm/cozy-pick.css" />
27
28
  <link rel="stylesheet" href="/pm/cozy-insights.css" />
28
29
  <link rel="stylesheet" href="/pm/premium-report-intel.css" />
@@ -16,6 +16,7 @@
16
16
  <link rel="stylesheet" href="/pm/brand.css" />
17
17
  <link rel="stylesheet" href="/pm/charts.css" />
18
18
  <link rel="stylesheet" href="/pm/komorebi.css" />
19
+ <link rel="stylesheet" href="/pm/ds-bridge.css" />
19
20
  <link rel="stylesheet" href="/pm/cozy-library.css" />
20
21
  </head>
21
22
  <!-- Drawn with the PMOS design system (Komorebi, workspace/design-system/ui/), board LibraryDS on Exploring 3: layout Main + open item.
@@ -12,6 +12,7 @@
12
12
  <link rel="stylesheet" href="/pm/brand.css" />
13
13
  <link rel="stylesheet" href="/pm/charts.css" />
14
14
  <link rel="stylesheet" href="/pm/komorebi.css" />
15
+ <link rel="stylesheet" href="/pm/ds-bridge.css" />
15
16
  <link rel="stylesheet" href="/pm/cozy-present.css" />
16
17
  </head>
17
18
  <!-- Drawn with the PMOS design system (Komorebi, workspace/design-system/ui/), always in its Dark theme: layout Single column, block
@@ -15,6 +15,7 @@
15
15
  <link rel="stylesheet" href="/pm/charts.css" />
16
16
  <link rel="stylesheet" href="/pm/komorebi.css" />
17
17
  <link rel="stylesheet" href="/pm/cozy.css" />
18
+ <link rel="stylesheet" href="/pm/ds-bridge.css" />
18
19
  <link rel="stylesheet" href="/pm/cozy-pick.css" />
19
20
  <link rel="stylesheet" href="/pm/cozy-routine.css" />
20
21
  </head>
@@ -13,6 +13,7 @@
13
13
  <link rel="stylesheet" href="/pm/brand.css" />
14
14
  <link rel="stylesheet" href="/pm/charts.css" />
15
15
  <link rel="stylesheet" href="/pm/komorebi.css" />
16
+ <link rel="stylesheet" href="/pm/ds-bridge.css" />
16
17
  <link rel="stylesheet" href="/pm/cozy-vw.css" />
17
18
  </head>
18
19
  <!-- Drawn with the PMOS design system (Komorebi, workspace/design-system/ui/): layout Main + open item with only the open item, the Viewer
@@ -0,0 +1,9 @@
1
+ {
2
+ "_comment": "token-first-design-system step 1 (pure, node): Komorebi is the one source of the type scale; the older --fs-* names alias it once in komorebi.css; every page loads ds-bridge.css. The page check is design-token-reach.js, not a suite.",
3
+ "modules": [
4
+ "design-token-alias.test.js"
5
+ ],
6
+ "seconds": {
7
+ "design-token-alias.test.js": 1
8
+ }
9
+ }