create-pmos 0.634.0 → 0.636.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 (151) hide show
  1. package/bin/create-pmos.js +1 -0
  2. package/package.json +22 -22
  3. package/payload/KIT-VERSION +2 -2
  4. package/payload/README.md +37 -113
  5. package/payload/design-system/README.md +98 -0
  6. package/payload/design-system/components/Badge/README.md +16 -0
  7. package/payload/design-system/components/Badge/preview.html +8 -0
  8. package/payload/design-system/components/Button/README.md +20 -0
  9. package/payload/design-system/components/Button/preview.html +8 -0
  10. package/payload/design-system/components/Calendar/README.md +14 -0
  11. package/payload/design-system/components/Calendar/preview.html +11 -0
  12. package/payload/design-system/components/Chart/README.md +24 -0
  13. package/payload/design-system/components/Chart/preview.html +50 -0
  14. package/payload/design-system/components/Conversation/README.md +14 -0
  15. package/payload/design-system/components/Conversation/preview.html +8 -0
  16. package/payload/design-system/components/Detail/README.md +17 -0
  17. package/payload/design-system/components/Detail/preview.html +8 -0
  18. package/payload/design-system/components/Document/README.md +15 -0
  19. package/payload/design-system/components/Document/preview.html +8 -0
  20. package/payload/design-system/components/Event/README.md +13 -0
  21. package/payload/design-system/components/Event/preview.html +8 -0
  22. package/payload/design-system/components/Field/README.md +13 -0
  23. package/payload/design-system/components/Field/preview.html +8 -0
  24. package/payload/design-system/components/Icon/README.md +12 -0
  25. package/payload/design-system/components/Icon/preview.html +8 -0
  26. package/payload/design-system/components/Input/README.md +17 -0
  27. package/payload/design-system/components/Input/preview.html +8 -0
  28. package/payload/design-system/components/List/README.md +21 -0
  29. package/payload/design-system/components/List/preview.html +15 -0
  30. package/payload/design-system/components/ListRow/README.md +19 -0
  31. package/payload/design-system/components/ListRow/preview.html +8 -0
  32. package/payload/design-system/components/MainItem/README.md +13 -0
  33. package/payload/design-system/components/MainItem/preview.html +8 -0
  34. package/payload/design-system/components/MainSide/README.md +12 -0
  35. package/payload/design-system/components/MainSide/preview.html +8 -0
  36. package/payload/design-system/components/Menu/README.md +13 -0
  37. package/payload/design-system/components/Menu/preview.html +8 -0
  38. package/payload/design-system/components/Navigation/README.md +14 -0
  39. package/payload/design-system/components/Navigation/preview.html +8 -0
  40. package/payload/design-system/components/Number/README.md +17 -0
  41. package/payload/design-system/components/Number/preview.html +8 -0
  42. package/payload/design-system/components/Settings/README.md +13 -0
  43. package/payload/design-system/components/Settings/preview.html +10 -0
  44. package/payload/design-system/components/SingleColumn/README.md +12 -0
  45. package/payload/design-system/components/SingleColumn/preview.html +8 -0
  46. package/payload/design-system/components/Stage/README.md +13 -0
  47. package/payload/design-system/components/Stage/preview.html +8 -0
  48. package/payload/design-system/components/Suggestion/README.md +14 -0
  49. package/payload/design-system/components/Suggestion/preview.html +10 -0
  50. package/payload/design-system/components/Summary/README.md +19 -0
  51. package/payload/design-system/components/Summary/preview.html +10 -0
  52. package/payload/design-system/components/Switch/README.md +13 -0
  53. package/payload/design-system/components/Switch/preview.html +10 -0
  54. package/payload/design-system/components/Table/README.md +18 -0
  55. package/payload/design-system/components/Table/preview.html +23 -0
  56. package/payload/design-system/components/Tabs/README.md +13 -0
  57. package/payload/design-system/components/Tabs/preview.html +11 -0
  58. package/payload/design-system/components/Timeline/README.md +15 -0
  59. package/payload/design-system/components/Timeline/preview.html +8 -0
  60. package/payload/design-system/components/Toast/README.md +14 -0
  61. package/payload/design-system/components/Toast/preview.html +8 -0
  62. package/payload/design-system/components/TodayPage/README.md +12 -0
  63. package/payload/design-system/components/TodayPage/preview.html +8 -0
  64. package/payload/design-system/components/bundle.css +126 -0
  65. package/payload/design-system/interactions.md +48 -0
  66. package/payload/design-system/pages.md +34 -0
  67. package/payload/design-system/tokens.css +9 -0
  68. package/payload/design-system/tokens.json +339 -0
  69. package/payload/planning/evals/eval-calibration.md +1 -1
  70. package/payload/planning/okrs/health-budgets.md +1 -1
  71. package/payload/state/discoveries.md +1 -1
  72. package/payload/state/log.md +1 -1
  73. package/workspace/changelog.json +21 -2
  74. package/workspace/ci-checks.sh +3 -0
  75. package/workspace/design-system/README.md +98 -0
  76. package/workspace/design-system/components/Badge/README.md +16 -0
  77. package/workspace/design-system/components/Badge/preview.html +8 -0
  78. package/workspace/design-system/components/Button/README.md +20 -0
  79. package/workspace/design-system/components/Button/preview.html +8 -0
  80. package/workspace/design-system/components/Calendar/README.md +14 -0
  81. package/workspace/design-system/components/Calendar/preview.html +11 -0
  82. package/workspace/design-system/components/Chart/README.md +24 -0
  83. package/workspace/design-system/components/Chart/preview.html +50 -0
  84. package/workspace/design-system/components/Conversation/README.md +14 -0
  85. package/workspace/design-system/components/Conversation/preview.html +8 -0
  86. package/workspace/design-system/components/Detail/README.md +17 -0
  87. package/workspace/design-system/components/Detail/preview.html +8 -0
  88. package/workspace/design-system/components/Document/README.md +15 -0
  89. package/workspace/design-system/components/Document/preview.html +8 -0
  90. package/workspace/design-system/components/Event/README.md +13 -0
  91. package/workspace/design-system/components/Event/preview.html +8 -0
  92. package/workspace/design-system/components/Field/README.md +13 -0
  93. package/workspace/design-system/components/Field/preview.html +8 -0
  94. package/workspace/design-system/components/Icon/README.md +12 -0
  95. package/workspace/design-system/components/Icon/preview.html +8 -0
  96. package/workspace/design-system/components/Input/README.md +17 -0
  97. package/workspace/design-system/components/Input/preview.html +8 -0
  98. package/workspace/design-system/components/List/README.md +21 -0
  99. package/workspace/design-system/components/List/preview.html +15 -0
  100. package/workspace/design-system/components/ListRow/README.md +19 -0
  101. package/workspace/design-system/components/ListRow/preview.html +8 -0
  102. package/workspace/design-system/components/MainItem/README.md +13 -0
  103. package/workspace/design-system/components/MainItem/preview.html +8 -0
  104. package/workspace/design-system/components/MainSide/README.md +12 -0
  105. package/workspace/design-system/components/MainSide/preview.html +8 -0
  106. package/workspace/design-system/components/Menu/README.md +13 -0
  107. package/workspace/design-system/components/Menu/preview.html +8 -0
  108. package/workspace/design-system/components/Navigation/README.md +14 -0
  109. package/workspace/design-system/components/Navigation/preview.html +8 -0
  110. package/workspace/design-system/components/Number/README.md +17 -0
  111. package/workspace/design-system/components/Number/preview.html +8 -0
  112. package/workspace/design-system/components/Settings/README.md +13 -0
  113. package/workspace/design-system/components/Settings/preview.html +10 -0
  114. package/workspace/design-system/components/SingleColumn/README.md +12 -0
  115. package/workspace/design-system/components/SingleColumn/preview.html +8 -0
  116. package/workspace/design-system/components/Stage/README.md +13 -0
  117. package/workspace/design-system/components/Stage/preview.html +8 -0
  118. package/workspace/design-system/components/Suggestion/README.md +14 -0
  119. package/workspace/design-system/components/Suggestion/preview.html +10 -0
  120. package/workspace/design-system/components/Summary/README.md +19 -0
  121. package/workspace/design-system/components/Summary/preview.html +10 -0
  122. package/workspace/design-system/components/Switch/README.md +13 -0
  123. package/workspace/design-system/components/Switch/preview.html +10 -0
  124. package/workspace/design-system/components/Table/README.md +18 -0
  125. package/workspace/design-system/components/Table/preview.html +23 -0
  126. package/workspace/design-system/components/Tabs/README.md +13 -0
  127. package/workspace/design-system/components/Tabs/preview.html +11 -0
  128. package/workspace/design-system/components/Timeline/README.md +15 -0
  129. package/workspace/design-system/components/Timeline/preview.html +8 -0
  130. package/workspace/design-system/components/Toast/README.md +14 -0
  131. package/workspace/design-system/components/Toast/preview.html +8 -0
  132. package/workspace/design-system/components/TodayPage/README.md +12 -0
  133. package/workspace/design-system/components/TodayPage/preview.html +8 -0
  134. package/workspace/design-system/components/bundle.css +126 -0
  135. package/workspace/design-system/interactions.md +48 -0
  136. package/workspace/design-system/pages.md +34 -0
  137. package/workspace/design-system/tokens.css +9 -0
  138. package/workspace/design-system/tokens.json +339 -0
  139. package/workspace/guide/agent-capabilities.md +2 -2
  140. package/workspace/guide/layout.md +7 -1
  141. package/workspace/lib/design-system.js +145 -0
  142. package/workspace/lib/idle-lab-engine.js +5 -1
  143. package/workspace/lib/live-round.js +15 -1
  144. package/workspace/package-lock.json +2 -2
  145. package/workspace/package.json +1 -1
  146. package/workspace/public/pm/cozy-today-model.js +53 -4
  147. package/workspace/public/pm/komorebi.css +145 -0
  148. package/workspace/public/pm/komorebi.js +240 -0
  149. package/workspace/run-tests.js +6 -1
  150. package/workspace/test-lists/design-system.json +9 -0
  151. package/workspace/test-lists/komorebi.json +9 -0
@@ -0,0 +1,8 @@
1
+ <!-- @dsCard group="3 · Blocks" height=220 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><section class="pm-block" aria-label="Item"><div class="head"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 5h14v14H5z"/></svg><h3 class="pm-h" style="flex:1">Email OTP login</h3><button type="button" class="pm-btn " aria-label="Open in Jira" title="Open in Jira"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1"/></svg></button><button type="button" class="pm-btn " aria-label="More" title="More"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12h.01M12 12h.01M19 12h.01"/></svg></button><button type="button" class="pm-btn " aria-label="Close" title="Close"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div><span class="pm-meta">IDPF · Build · due 28 Nov</span><dl class="pm-field" style="margin:0"><dt>Owner</dt><dd>You</dd><dt>Done test</dt><dd>sign-up p50 under 2 min</dd><dt>Kill if</dt><dd>no lift by 15 Jan</dd></dl></section></div>
7
+ </body>
8
+ </html>
@@ -0,0 +1,15 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: Document"
4
+ description: "Text to read, with editions. Used for: docs, reports, PRDs, the story so far on a shared link. Lines no wider than 62 characters."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ Text to read, with editions. Used for: docs, reports, PRDs, the story so far on a shared link. Lines no wider than 62 characters.
9
+
10
+ - Inside the document body, text uses the PMOS Documents reading sizes (body 16 = 12 pt, h2 22, title 32; Wawan 20 Nov). The block’s header, buttons and meta keep the four workspace sizes.
11
+
12
+ ## Interaction
13
+
14
+ - Select text to comment or ask PMOS about it. Headings fold. Editions: a menu to read older ones, with changes marked.
15
+ - Click to edit when the document is yours; it saves as you type, with "Saved" shown quietly.
@@ -0,0 +1,8 @@
1
+ <!-- @dsCard group="3 · Blocks" height=220 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><section class="pm-block" aria-label="Weekly update"><div class="head"><h3 class="pm-h" style="flex:1">Weekly update · IDPF</h3><span class="pm-meta">edition 12</span><button type="button" class="pm-btn " aria-label="Editions" title="Editions"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M7 3.5h7l4 4V20.5H7zM14 3.5v4h4M10 12h5M10 16h5"/></svg></button><button type="button" class="pm-btn " aria-label="Send" title="Send"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></button></div><div class="pm-doc"><p style="margin:0">Email OTP is in beta with 2 % of users. Sign-up time fell from 3:10 to 2:05. Next: widen to 5 % on 26 Nov.</p></div></section></div>
7
+ </body>
8
+ </html>
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: Event"
4
+ description: "A meeting. Coming up is raised (now); over is flat and dashed (later)."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ A meeting. Coming up is raised (now); over is flat and dashed (later).
9
+
10
+ ## Interaction
11
+
12
+ - Hover shows time, place and who; click opens the event beside the list.
13
+ - Live events show a small dot that breathes; past events are quiet (`over`). Drag to move on the Calendar, drag the bottom edge to change the end time.
@@ -0,0 +1,8 @@
1
+ <!-- @dsCard group="2 · Components" height=100 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><div class="pm-ev"><b>CRSM 2.0 Sprint Planning</b><span class="pm-meta">14:00 to 14:30</span></div><div class="pm-ev over"><b>IDPF - DSU</b><span>over · 10:45 to 11:05</span></div></div>
7
+ </body>
8
+ </html>
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: Field"
4
+ description: "Label and value pairs inside a Detail block. Label in `muted`, value in `ink`, 13 px."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ Label and value pairs inside a Detail block. Label in `muted`, value in `ink`, 13 px.
9
+
10
+ ## Interaction
11
+
12
+ - Click a value to edit it in place. Enter or leaving the field saves; Esc cancels. Saved shows as a quiet tick for 1 s.
13
+ - Read-only values show why on hover ("Comes from Jira").
@@ -0,0 +1,8 @@
1
+ <!-- @dsCard group="2 · Components" height=96 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><dl class="pm-field" style="margin:0"><dt>Owner</dt><dd>You</dd><dt>Due</dt><dd>28 Nov</dd><dt>Initiative</dt><dd>Tender new CIAM</dd></dl></div>
7
+ </body>
8
+ </html>
@@ -0,0 +1,12 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: Icon"
4
+ description: "Stroke icons, 24 px grid drawn at 16 or 18 px, 2 px stroke, `currentColor`. ✦ (`star`) belongs to PMOS speaking and is always blue. The row icon says the kind o"
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ Stroke icons, 24 px grid drawn at 16 or 18 px, 2 px stroke, `currentColor`. ✦ (`star`) belongs to PMOS speaking and is always blue. The row icon says the kind of work (task, ask, decision, report), so rows never repeat it in words. No emoji.
9
+
10
+ ## Interaction
11
+
12
+ - Icons never act alone: they sit inside a Button, a ListRow or a label. The ✦ breathes (opacity) only while PMOS works.
@@ -0,0 +1,8 @@
1
+ <!-- @dsCard group="1 · Elements" height=64 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><div class="pm-row"><svg class="pm-ic " width="20" height="20" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 5h14v14H5z"/></svg><svg class="pm-ic " width="20" height="20" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 5h14v10H9l-4 4z"/></svg><svg class="pm-ic " width="20" height="20" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 4l8 8-8 8-8-8z"/></svg><svg class="pm-ic " width="20" height="20" viewBox="0 0 24 24" aria-hidden="true"><path d="M7 3.5h7l4 4V20.5H7zM14 3.5v4h4M10 12h5M10 16h5"/></svg><svg class="pm-ic " width="20" height="20" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5.5h16v14H4zM4 10h16M8.5 3.5v4M15.5 3.5v4"/></svg><svg class="pm-ic " width="20" height="20" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg><svg class="pm-ic " width="20" height="20" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg><svg class="pm-ic " width="20" height="20" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg><svg class="pm-ic " width="20" height="20" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 14L4 9l5-5M4 9h10a6 6 0 0 1 0 12h-3"/></svg><svg class="pm-ic " width="20" height="20" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12h.01M12 12h.01M19 12h.01"/></svg><svg class="pm-ic " width="20" height="20" viewBox="0 0 24 24" aria-hidden="true"><path d="M11 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14zM21 21l-5-5"/></svg><svg class="pm-ic " width="20" height="20" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7h10M18 7h2M4 17h4M12 17h8M14 5v4M8 15v4"/></svg></div></div>
7
+ </body>
8
+ </html>
@@ -0,0 +1,17 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: Input"
4
+ description: "Text input, 40 px tall, `radius-md`, `line` border on `card`. Focus shows the leaf ring."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ Text input, 40 px tall, `radius-md`, `line` border on `card`. Focus shows the leaf ring.
9
+
10
+ - Placeholder says what to type, in sentence case.
11
+ - The only always-on input in the workspace is Today’s capture line; other inputs appear when asked for.
12
+
13
+ ## Interaction
14
+
15
+ - Focus: leaf ring. Typing filters or previews live; Enter commits; Esc clears, then leaves.
16
+ - `/` focuses the main search from anywhere. Suggestions open under the input; arrow keys move, Enter picks.
17
+ - Errors appear under the input in `alert`, in words, after the person stops typing (600 ms), never while they type.
@@ -0,0 +1,8 @@
1
+ <!-- @dsCard group="1 · Elements" height=72 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><label class="pm-meta" for="q">Search</label><input id="q" class="pm-input" placeholder="Log a task, an event or a note"></div>
7
+ </body>
8
+ </html>
@@ -0,0 +1,21 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: List"
4
+ description: "Rows of work under a heading, with optional tabs, groups, nesting and folds. The most used block."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ Rows of work under a heading, with optional tabs, groups, nesting and folds. The most used block.
9
+
10
+ Used for: Today’s log, Your move, Waiting on others, Late, Waits on you, Backlog groups, Tasks by stage, Work breakdown (nested), Library, Did it work, Reports, Search results, Needs you, Lab history.
11
+
12
+ - Consumer provides: heading, rows, optional tabs, groups, folds.
13
+ - Order: Now group (lit) first, then today, then Later folded. Never more than one Now group.
14
+ - Empty: one line ("Nothing needs you now.") and the next thing, never an empty box.
15
+
16
+ ## Interaction
17
+
18
+ - Tabs filter in place; counts update live.
19
+ - Rows behave as ListRow: hover actions, click opens beside, keys (up/down, Enter, `x`, `t`), drag to reorder, swipes on phones.
20
+ - Group headings fold and unfold; "Later" opens on click and remembers its state per page.
21
+ - Empty: one quiet line and the next useful step. Loading: three soft placeholder rows, no spinner. Error: one line in words plus Retry.
@@ -0,0 +1,15 @@
1
+ <!-- @dsCard group="3 · Blocks" height=400 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><section class="pm-block list" aria-label="Today’s log"><div class="head"><h3 class="pm-h">Today’s log</h3><span class="sp"></span><div class="pm-tabs" role="tablist"><button class="pm-tab" role="tab" aria-selected="true">All 55</button><button class="pm-tab" role="tab" aria-selected="false">Do 18</button></div></div><div class="pm-group now"><svg class="pm-ic " width="14" height="14" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3v2M12 19v2M5 5l1.4 1.4M17.6 17.6L19 19M3 12h2M19 12h2M5 19l1.4-1.4M17.6 6.4L19 5M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z"/></svg>Do first</div><div class="rows"><div class="pm-li now"><span class="pm-meta" style="display:inline-flex"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 5h14v14H5z"/></svg></span><span class="txt"><span class="t">Tech blueprint approved</span><span class="w">for Tender new CIAM</span></span><span class="pm-badge alert" title="Due 29 Oct">21 days late</span></div></div><div class="pm-group">Today</div><div class="rows"><div class="pm-li "><span class="pm-meta" style="display:inline-flex"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M7 3.5h7l4 4V20.5H7zM14 3.5v4h4M10 12h5M10 16h5"/></svg></span><span class="txt"><span class="t">Weekly update</span><span class="w">for IDPF</span></span><span class="acts"><button type="button" class="pm-btn " aria-label="Done" title="Done"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></button><button type="button" class="pm-btn " aria-label="Move to tomorrow" title="Move to tomorrow"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></button><button type="button" class="pm-btn " aria-label="Set a date" title="Set a date"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5.5h16v14H4zM4 10h16M8.5 3.5v4M15.5 3.5v4"/></svg></button></span></div></div><button class="pm-fold">Later <span style="font-weight:400">27 can wait</span></button></section><script>
7
+ (function(){var s=document.currentScript.previousElementSibling;var t=document.createElement('div');t.className='pm-toast';t.setAttribute('role','status');t.style.cssText='position:relative;margin-top:8px;display:none';s.parentNode.appendChild(t);var last=null,tm=null;
8
+ s.addEventListener('click',function(e){var b=e.target.closest('button[aria-label="Done"],button[aria-label="Move to tomorrow"]');if(b){var row=b.closest('.pm-li');var what=b.getAttribute('aria-label')=='Done'?'Done':'Moved to tomorrow';row.classList.add('gone');setTimeout(function(){row.style.display='none'},200);last=row;t.innerHTML='<span class="in">'+what+': '+row.querySelector('.t').textContent+' <button type="button" class="pm-btn" aria-label="Undo" title="Undo">Undo</button></span>';t.style.display='flex';clearTimeout(tm);tm=setTimeout(function(){t.style.display='none'},6000);return}
9
+ var f=e.target.closest('.pm-fold');if(f){f.innerHTML=f.dataset.open?'Later <span style="font-weight:400">27 can wait</span>':'Later is open: 27 rows would show here';f.dataset.open=f.dataset.open?'':'1'}});
10
+ t.addEventListener('click',function(e){if(e.target.closest('button')&&last){last.style.display='';requestAnimationFrame(function(){last.classList.remove('gone')});t.style.display='none'}});
11
+ s.addEventListener('click',function(e){var tab=e.target.closest('.pm-tab');if(tab){s.querySelectorAll('.pm-tab').forEach(function(x){x.setAttribute('aria-selected',x==tab)})}});
12
+ })();
13
+ </script></div>
14
+ </body>
15
+ </html>
@@ -0,0 +1,19 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: ListRow"
4
+ description: "One line of work: kind icon, title, its why (ikigai: every row says why it is here), an optional late badge, and three actions that appear on hover or focus."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ One line of work: kind icon, title, its why (ikigai: every row says why it is here), an optional late badge, and three actions that appear on hover or focus.
9
+
10
+ - States: rest, hover (well), `now` (leaf-tint + leaf ring; one per screen), `nest` (a child row).
11
+ - Motion: arrives with `duration-enter`; done fades out and shows a toast.
12
+ - Gestures: click opens the item; keys j/k move, x done, t tomorrow; on phones swipe right = done, swipe left = tomorrow, both with Undo.
13
+
14
+ ## Interaction
15
+
16
+ - Hover or focus shows the row actions on the right; on phones they are hidden behind long press.
17
+ - Click opens the item beside the list (Main + open item). Arrow keys move between rows; Enter opens; `x` marks done; `t` moves to tomorrow.
18
+ - Done: the row checks, fades in `duration-enter`, and a Toast offers Undo for 6 s.
19
+ - Drag the handle to reorder (desktop). Phones: swipe right = done, swipe left = tomorrow; each swipe shows its result under the finger before release.
@@ -0,0 +1,8 @@
1
+ <!-- @dsCard group="2 · Components" height=200 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><div class="pm-li now"><span class="pm-meta" style="display:inline-flex"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 5h14v14H5z"/></svg></span><span class="txt"><span class="t">Tech blueprint approved</span><span class="w">for Tender new CIAM</span></span><span class="pm-badge alert" title="Due 29 Oct">21 days late</span></div><div class="pm-li "><span class="pm-meta" style="display:inline-flex"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 4l8 8-8 8-8-8z"/></svg></span><span class="txt"><span class="t">Decide on 30 Nov and send Ang the report timeline</span><span class="w">You put it on today</span></span><span class="acts"><button type="button" class="pm-btn " aria-label="Done" title="Done"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></button><button type="button" class="pm-btn " aria-label="Move to tomorrow" title="Move to tomorrow"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></button><button type="button" class="pm-btn " aria-label="Set a date" title="Set a date"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5.5h16v14H4zM4 10h16M8.5 3.5v4M15.5 3.5v4"/></svg></button></span></div><div class="pm-li nest"><span class="pm-meta" style="display:inline-flex"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 5h14v14H5z"/></svg></span><span class="txt"><span class="t">Journey map</span><span class="w">in Discovery</span></span></div></div>
7
+ </body>
8
+ </html>
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: MainItem"
4
+ description: "Main + open item: the list stays, the clicked item opens beside it. Work, Library and the Viewer use it. At most 2 panels on a laptop, 3 at 1600 px and up, plus"
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ Main + open item: the list stays, the clicked item opens beside it. Work, Library and the Viewer use it. At most 2 panels on a laptop, 3 at 1600 px and up, plus one slide-over; the first panel stays.
9
+
10
+ ## Interaction
11
+
12
+ - The opened item slides in beside the list in `duration-enter`; the list stays where it was.
13
+ - Esc closes it. On phones the item covers the list as a sheet; swipe down closes.
@@ -0,0 +1,8 @@
1
+ <!-- @dsCard group="4 · Layouts" height=260 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><div style="height:220px;display:flex;gap:8px;padding:8px;border-radius:var(--radius-card);border:1px solid var(--line)"><div style="width:36px;background:var(--well);border-radius:var(--radius-card)"></div><div style="flex:1;display:flex;flex-direction:column;gap:8px"><div style="border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;flex:1">List or Table</div></div><div style="width:44%;display:flex;flex-direction:column;gap:8px;box-shadow:var(--lift);border-radius:var(--radius-md);padding:6px;background:var(--card)"><div style="border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;height:28px">Navigation (path)</div><div style="border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;height:60px">Detail</div><div style="border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;flex:1">Summary</div></div></div></div>
7
+ </body>
8
+ </html>
@@ -0,0 +1,12 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: MainSide"
4
+ description: "Main + side: a main column with a narrow side column. Today uses it. The side holds time (Timeline) or context."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ Main + side: a main column with a narrow side column. Today uses it. The side holds time (Timeline) or context.
9
+
10
+ ## Interaction
11
+
12
+ - The side column scrolls on its own. Below 1100 px it moves under the main column.
@@ -0,0 +1,8 @@
1
+ <!-- @dsCard group="4 · Layouts" height=260 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><div style="height:220px;display:flex;gap:8px;padding:8px;border-radius:var(--radius-card);border:1px solid var(--line)"><div style="width:36px;background:var(--well);border-radius:var(--radius-card)"></div><div style="flex:1;display:flex;flex-direction:column;gap:8px"><div style="border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;height:48px">Summary</div><div style="border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;flex:1">List</div></div><div style="width:28%;display:flex;flex-direction:column;gap:8px"><div style="border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;flex:1;background:var(--well)">Timeline</div><div style="border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;height:48px">Summary</div></div></div></div>
7
+ </body>
8
+ </html>
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: Menu"
4
+ description: "More actions behind the `more` button or a long press. Items have an icon and words (the only place text sits on actions)."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ More actions behind the `more` button or a long press. Items have an icon and words (the only place text sits on actions).
9
+
10
+ ## Interaction
11
+
12
+ - Opens on click or Enter under its button, closes on Esc, outside click or after a pick. Arrow keys move; letters jump.
13
+ - Phones: the menu opens as a sheet from the bottom; swipe down closes it.
@@ -0,0 +1,8 @@
1
+ <!-- @dsCard group="2 · Components" height=160 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><div class="pm-menu" role="menu"><button role="menuitem"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5.5h16v14H4zM4 10h16M8.5 3.5v4M15.5 3.5v4"/></svg>Set a date</button><button role="menuitem"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1"/></svg>Open in Jira</button><button role="menuitem"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg>Not this one</button></div></div>
7
+ </body>
8
+ </html>
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: Navigation"
4
+ description: "The frame around every page: the rail (side menu; bottom bar on phones), the path at the top of the second panel, the sessions list in chat. The page you are on"
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ The frame around every page: the rail (side menu; bottom bar on phones), the path at the top of the second panel, the sessions list in chat. The page you are on carries the leaf ring.
9
+
10
+ ## Interaction
11
+
12
+ - Click or keys (`g` then `t` for Today, `g` then `w` for Work…) move between pages; the current one carries the leaf ring.
13
+ - The rail collapses to icons on narrow screens; hover shows the label. Counts update live.
14
+ - Path (breadcrumbs): each step is a link; the last step is the current page and is not a link.
@@ -0,0 +1,8 @@
1
+ <!-- @dsCard group="3 · Blocks" height=380 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><div class="pm-row" style="align-items:flex-start;gap:16px"><nav class="pm-rail" aria-label="PMOS"><a href="#" aria-current="page"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3v2M12 19v2M5 5l1.4 1.4M17.6 17.6L19 19M3 12h2M19 12h2M5 19l1.4-1.4M17.6 6.4L19 5M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z"/></svg>Today<span class="pm-count">28</span></a><a href="#"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01"/></svg>Work</a><a href="#"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 20V10M12 20V4M18 20v-7"/></svg>Goals</a><a href="#"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5.5h16v14H4zM4 10h16M8.5 3.5v4M15.5 3.5v4"/></svg>Events</a><a href="#"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 4h4v16H4zM10 4h4v16h-4zM16.5 4.5l3.5 1-3.5 14.5-3.4-1z"/></svg>Library</a></nav><nav class="pm-path" aria-label="Path"><a href="#">Work</a><svg class="pm-ic " width="14" height="14" viewBox="0 0 24 24" aria-hidden="true"><path d="M10 8l4 4-4 4"/></svg><a href="#">IDPF</a><svg class="pm-ic " width="14" height="14" viewBox="0 0 24 24" aria-hidden="true"><path d="M10 8l4 4-4 4"/></svg><b>Email OTP login</b></nav></div></div>
7
+ </body>
8
+ </html>
@@ -0,0 +1,17 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: Number"
4
+ description: "A number or chart under a title that gives the answer. Used for: North Star, key results, sprint overview, delivery trends, where the work sits, health budgets."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ A number or chart under a title that gives the answer. Used for: North Star, key results, sprint overview, delivery trends, where the work sits, health budgets.
9
+
10
+ - Consumer provides: answer title, number or Chart, one line of meaning, check date.
11
+ - Every number says when it is checked next.
12
+
13
+ ## Interaction
14
+
15
+ - Hover the number: a tooltip says how it is measured and when it was last read.
16
+ - Hover the sparkline: same as a Chart point (value and date). Click the block: opens the full chart and the items behind it.
17
+ - When the number changes, it counts to its new value in `duration-enter`.
@@ -0,0 +1,8 @@
1
+ <!-- @dsCard group="3 · Blocks" height=170 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><section class="pm-block" aria-label="Key result"><div class="head"><h3 class="pm-h-sm">Sign-up under 2 min</h3><span class="sp"></span><span class="pm-meta">KR 2 · check 15 Dec</span></div><div class="pm-row" style="gap:16px"><span class="pm-num">62 %</span><svg role="img" aria-label="Rising from 20 to 62 percent" width="120" height="32" viewBox="0 0 120 32"><polyline points="0,28 24,25 48,21 72,17 96,9 120,5" fill="none" stroke="var(--blue)" stroke-width="2"></polyline></svg></div><p class="pm-meta" style="margin:0">On track for 15 Dec if Email OTP holds.</p></section></div>
7
+ </body>
8
+ </html>
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: Settings"
4
+ description: "Rows of choices with switches. Used for: Settings, the first-run checklist (rows with a done mark instead of a switch)."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ Rows of choices with switches. Used for: Settings, the first-run checklist (rows with a done mark instead of a switch).
9
+
10
+ ## Interaction
11
+
12
+ - Every control saves at once (Switch rules), with a Toast and Undo. No Save button.
13
+ - A setting that needs a sign-in opens it in place and comes back to the same row.
@@ -0,0 +1,10 @@
1
+ <!-- @dsCard group="3 · Blocks" height=220 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><section class="pm-block" aria-label="Meetings"><h3 class="pm-h">Meetings</h3><div class="pm-set"><span style="flex:1"><b>Join meetings with me</b><br><span class="pm-meta">PMOS listens and writes the notes</span></span><button type="button" class="pm-switch" role="switch" aria-checked="true" aria-label="Join meetings with me"></button></div><div class="pm-set"><span style="flex:1"><b>Quiet hours</b><br><span class="pm-meta">No alerts after 19:00</span></span><button type="button" class="pm-switch" role="switch" aria-checked="false" aria-label="Quiet hours"></button></div></section><script>
7
+ (function(){var s=document.currentScript.previousElementSibling;s.addEventListener('click',function(e){var w=e.target.closest('[role=switch]');if(w)w.setAttribute('aria-checked',w.getAttribute('aria-checked')!='true')})})();
8
+ </script></div>
9
+ </body>
10
+ </html>
@@ -0,0 +1,12 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: SingleColumn"
4
+ description: "One centred column. Goals, Intelligence, Settings, Welcome use it. On phones every layout becomes single column, Now first."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ One centred column. Goals, Intelligence, Settings, Welcome use it. On phones every layout becomes single column, Now first.
9
+
10
+ ## Interaction
11
+
12
+ - Content stays at reading width; nothing moves sideways.
@@ -0,0 +1,8 @@
1
+ <!-- @dsCard group="4 · Layouts" height=260 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><div style="height:220px;display:flex;gap:8px;padding:8px;border-radius:var(--radius-card);border:1px solid var(--line)"><div style="width:36px;background:var(--well);border-radius:var(--radius-card)"></div><div style="flex:1;display:flex;justify-content:center"><div style="width:60%;display:flex;flex-direction:column;gap:8px"><div style="border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;height:60px">Number</div><div style="border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;height:60px">Number</div><div style="border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;flex:1">Summary</div></div></div></div></div>
7
+ </body>
8
+ </html>
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: Stage"
4
+ description: "One big thing to look at, with controls. Used for: slides, PDF, a prototype, a meeting recording or shared screen. Controls sit in the header or float at the bo"
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ One big thing to look at, with controls. Used for: slides, PDF, a prototype, a meeting recording or shared screen. Controls sit in the header or float at the bottom with `lift`.
9
+
10
+ ## Interaction
11
+
12
+ - Left and Right (or the buttons) move between pages or slides; `f` goes full screen; Esc leaves.
13
+ - Click a hotspot in a prototype to follow its link. The page count updates live.
@@ -0,0 +1,8 @@
1
+ <!-- @dsCard group="3 · Blocks" height=260 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><section class="pm-block" aria-label="Slides"><div class="head"><h3 class="pm-h" style="flex:1">Sprint review · CRSM 2.0</h3><span class="pm-meta">3 of 12</span><button type="button" class="pm-btn " aria-label="Previous" title="Previous"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M8 10l4 4 4-4"/></svg></button><button type="button" class="pm-btn " aria-label="Next" title="Next"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg></button></div><div class="pm-stage">the slide, PDF page, prototype or shared screen</div></section></div>
7
+ </body>
8
+ </html>
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: Suggestion"
4
+ description: "One thing PMOS proposes, with Yes (primary) and No (outline). Blue-tint ground and the ✦. Nothing big happens without Yes."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ One thing PMOS proposes, with Yes (primary) and No (outline). Blue-tint ground and the ✦. Nothing big happens without Yes.
9
+
10
+ ## Interaction
11
+
12
+ - Yes applies the change at once, the suggestion folds away, and a Toast offers Undo.
13
+ - No folds it away and PMOS remembers ("Won’t suggest this again for this initiative").
14
+ - Hover on the ✦ shows why PMOS suggests it, in one line.
@@ -0,0 +1,10 @@
1
+ <!-- @dsCard group="2 · Components" height=72 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><div class="pm-sug" role="group" aria-label="PMOS suggests"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg><span class="say">Drop the 2 checks due more than 60 days ago</span><button type="button" class="pm-btn primary" aria-label="Yes" title="Yes"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></button><button type="button" class="pm-btn outline" aria-label="No" title="No"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div><script>
7
+ (function(){var s=document.currentScript.previousElementSibling;s.addEventListener('click',function(e){var b=e.target.closest('.pm-sug button');if(!b)return;var g=b.closest('.pm-sug'),yes=b.getAttribute('aria-label')=='Yes';var keep=g.innerHTML;g.innerHTML='<span class="say">'+(yes?'Done: dropped 2 old checks.':'OK, PMOS won’t suggest this again here.')+'</span><button type="button" class="pm-btn" aria-label="Undo" title="Undo">Undo</button>';g.querySelector('button').onclick=function(ev){ev.stopPropagation();g.innerHTML=keep}})})();
8
+ </script></div>
9
+ </body>
10
+ </html>
@@ -0,0 +1,19 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: Summary"
4
+ description: "A short sentence that sums up, then the suggestions to approve. PMOS writes the sentence; it speaks once per page, summary first."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ A short sentence that sums up, then the suggestions to approve. PMOS writes the sentence; it speaks once per page, summary first.
9
+
10
+ Used for: Today’s Overview, Where it stands, The meeting you recorded, PMOS heard, Since yesterday, Meeting buddy, Your first Briefing, How I would read it.
11
+
12
+ - Consumer provides: the sentence, 0 to 3 suggestions, optional chart.
13
+ - Motion: the ✦ breathes only while PMOS is working, then stops.
14
+
15
+ ## Interaction
16
+
17
+ - PMOS speaks once. Its Suggestions act in place (Yes / No with Undo).
18
+ - Words that name an item are links: hover shows a preview, click opens it beside.
19
+ - Refresh happens by itself; the ✦ breathes while PMOS reads. No refresh button.
@@ -0,0 +1,10 @@
1
+ <!-- @dsCard group="3 · Blocks" height=190 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><section class="pm-block" aria-label="Overview"><h3 class="pm-h-sm pm-row"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg>Overview</h3><p style="margin:0">55 lines are open, 28 of them for today. Start with Admin APIs for Commerce and Jarvis.</p><div class="pm-sug" role="group" aria-label="PMOS suggests"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg><span class="say">Drop the 2 checks due more than 60 days ago</span><button type="button" class="pm-btn primary" aria-label="Yes" title="Yes"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></button><button type="button" class="pm-btn outline" aria-label="No" title="No"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div></section><script>
7
+ (function(){var s=document.currentScript.previousElementSibling;s.addEventListener('click',function(e){var b=e.target.closest('.pm-sug button');if(!b)return;var g=b.closest('.pm-sug'),yes=b.getAttribute('aria-label')=='Yes';var keep=g.innerHTML;g.innerHTML='<span class="say">'+(yes?'Done: dropped 2 old checks.':'OK, PMOS won’t suggest this again here.')+'</span><button type="button" class="pm-btn" aria-label="Undo" title="Undo">Undo</button>';g.querySelector('button').onclick=function(ev){ev.stopPropagation();g.innerHTML=keep}})})();
8
+ </script></div>
9
+ </body>
10
+ </html>
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: Switch"
4
+ description: "On/off for a setting. On is leaf. Always inside a Settings block row, with the setting’s name and one line on what it does."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ On/off for a setting. On is leaf. Always inside a Settings block row, with the setting’s name and one line on what it does.
9
+
10
+ ## Interaction
11
+
12
+ - Click, Space or Enter flips it at once and saves. A Toast says what changed, with Undo.
13
+ - The thumb slides in `duration-quick` with `ease-drift`. No "Save" button anywhere.
@@ -0,0 +1,10 @@
1
+ <!-- @dsCard group="1 · Elements" height=64 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><div class="pm-row"><button type="button" class="pm-switch" role="switch" aria-checked="true" aria-label="Join meetings with me"></button><button type="button" class="pm-switch" role="switch" aria-checked="false" aria-label="Quiet hours"></button></div><script>
7
+ (function(){var s=document.currentScript.previousElementSibling;s.addEventListener('click',function(e){var w=e.target.closest('[role=switch]');if(w)w.setAttribute('aria-checked',w.getAttribute('aria-checked')!='true')})})();
8
+ </script></div>
9
+ </body>
10
+ </html>
@@ -0,0 +1,18 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: Table"
4
+ description: "Rows with columns the person chooses. Used for: the Board timeline, the backlog, Send to Jira, shared boards."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ Rows with columns the person chooses. Used for: the Board timeline, the backlog, Send to Jira, shared boards.
9
+
10
+ - Consumer provides: columns (with defaults on/off), rows.
11
+ - On phones a Table becomes a List (title + one line of the chosen columns).
12
+
13
+ ## Interaction
14
+
15
+ - Click a column heading to sort; click again to reverse; the arrow and `aria-sort` show the order.
16
+ - Click a row to open it beside the table; hover shows row actions. Shift-click or the row box selects several; a bar then offers actions for the selection.
17
+ - Drag a column edge to resize; Choose columns (gear) shows or hides columns and remembers per person.
18
+ - Click a cell that can be edited to change it in place (Field rules).
@@ -0,0 +1,23 @@
1
+ <!-- @dsCard group="3 · Blocks" height=290 -->
2
+ <!doctype html>
3
+ <html>
4
+ <head><meta charset="utf-8"><title>preview</title></head>
5
+ <body>
6
+ <div class="pm"><section class="pm-block" aria-label="Initiatives"><div class="head"><h3 class="pm-h">Initiatives</h3><span class="sp"></span><span class="pm-meta sel-n"></span></div>
7
+ <table class="pm-table"><thead><tr><th aria-sort="none" data-k="0">Initiative</th><th aria-sort="none" data-k="1">Stage</th><th aria-sort="ascending" data-k="2">Next milestone</th><th aria-sort="none" data-k="3">Late</th></tr></thead>
8
+ <tbody>
9
+ <tr data-v='["Tender new CIAM","Build","2026-11-28","2"]'><td><b>Tender new CIAM</b></td><td>Build</td><td>Beta · 28 Nov</td><td><span class="pm-badge alert">2 late</span></td></tr>
10
+ <tr data-v='["IDPF","Build","2026-11-28","0"]'><td><b>IDPF</b></td><td>Build</td><td>Email OTP · 28 Nov</td><td></td></tr>
11
+ <tr data-v='["PSLE Landing Page","Plan","2026-12-05","0"]'><td><b>PSLE Landing Page</b></td><td>Plan</td><td>Copy · 5 Dec</td><td></td></tr>
12
+ <tr data-v='["CRSM 2.0","Discover","2026-12-12","1"]'><td><b>CRSM 2.0</b></td><td>Discover</td><td>Journey map · 12 Dec</td><td><span class="pm-badge alert">1 late</span></td></tr>
13
+ </tbody></table>
14
+ <p class="pm-meta" style="margin:0">Click a heading to sort. Click a row to open it; Shift-click to pick several.</p></section>
15
+ <script>
16
+ (function(){var s=document.currentScript.previousElementSibling,tb=s.querySelector('tbody'),n=s.querySelector('.sel-n');
17
+ s.querySelectorAll('th[data-k]').forEach(function(th){th.addEventListener('click',function(){var k=+th.dataset.k,asc=th.getAttribute('aria-sort')!='ascending';s.querySelectorAll('th[data-k]').forEach(function(x){x.setAttribute('aria-sort','none')});th.setAttribute('aria-sort',asc?'ascending':'descending');
18
+ var rows=[].slice.call(tb.rows);rows.sort(function(a,b){var x=JSON.parse(a.dataset.v)[k],y=JSON.parse(b.dataset.v)[k];var c=isNaN(x)?x.localeCompare(y):x-y;return asc?c:-c});rows.forEach(function(r){tb.appendChild(r)})})});
19
+ tb.addEventListener('click',function(e){var r=e.target.closest('tr');if(!r)return;if(!e.shiftKey)[].forEach.call(tb.rows,function(x){if(x!=r)x.classList.remove('sel')});r.classList.toggle('sel');var c=tb.querySelectorAll('tr.sel').length;n.textContent=c>1?c+' picked':(c?'opens beside':'')});
20
+ })();
21
+ </script></div>
22
+ </body>
23
+ </html>
@@ -0,0 +1,13 @@
1
+ ---
2
+ type: Reference
3
+ title: "PMOS design system: Tabs"
4
+ description: "Filters one block. The chosen tab is raised in its well track. Counts are quiet; a tab with 0 is not shown."
5
+ timestamp: 2026-11-19
6
+ ---
7
+
8
+ Filters one block. The chosen tab is raised in its well track. Counts are quiet; a tab with 0 is not shown.
9
+
10
+ ## Interaction
11
+
12
+ - Click or arrow keys switch; the count updates live. The chosen tab is raised (`raise`).
13
+ - Switching filters in place; the scroll position of the list is kept per tab.