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.
- package/bin/create-pmos.js +1 -0
- package/package.json +22 -22
- package/payload/KIT-VERSION +2 -2
- package/payload/README.md +37 -113
- package/payload/design-system/README.md +98 -0
- package/payload/design-system/components/Badge/README.md +16 -0
- package/payload/design-system/components/Badge/preview.html +8 -0
- package/payload/design-system/components/Button/README.md +20 -0
- package/payload/design-system/components/Button/preview.html +8 -0
- package/payload/design-system/components/Calendar/README.md +14 -0
- package/payload/design-system/components/Calendar/preview.html +11 -0
- package/payload/design-system/components/Chart/README.md +24 -0
- package/payload/design-system/components/Chart/preview.html +50 -0
- package/payload/design-system/components/Conversation/README.md +14 -0
- package/payload/design-system/components/Conversation/preview.html +8 -0
- package/payload/design-system/components/Detail/README.md +17 -0
- package/payload/design-system/components/Detail/preview.html +8 -0
- package/payload/design-system/components/Document/README.md +15 -0
- package/payload/design-system/components/Document/preview.html +8 -0
- package/payload/design-system/components/Event/README.md +13 -0
- package/payload/design-system/components/Event/preview.html +8 -0
- package/payload/design-system/components/Field/README.md +13 -0
- package/payload/design-system/components/Field/preview.html +8 -0
- package/payload/design-system/components/Icon/README.md +12 -0
- package/payload/design-system/components/Icon/preview.html +8 -0
- package/payload/design-system/components/Input/README.md +17 -0
- package/payload/design-system/components/Input/preview.html +8 -0
- package/payload/design-system/components/List/README.md +21 -0
- package/payload/design-system/components/List/preview.html +15 -0
- package/payload/design-system/components/ListRow/README.md +19 -0
- package/payload/design-system/components/ListRow/preview.html +8 -0
- package/payload/design-system/components/MainItem/README.md +13 -0
- package/payload/design-system/components/MainItem/preview.html +8 -0
- package/payload/design-system/components/MainSide/README.md +12 -0
- package/payload/design-system/components/MainSide/preview.html +8 -0
- package/payload/design-system/components/Menu/README.md +13 -0
- package/payload/design-system/components/Menu/preview.html +8 -0
- package/payload/design-system/components/Navigation/README.md +14 -0
- package/payload/design-system/components/Navigation/preview.html +8 -0
- package/payload/design-system/components/Number/README.md +17 -0
- package/payload/design-system/components/Number/preview.html +8 -0
- package/payload/design-system/components/Settings/README.md +13 -0
- package/payload/design-system/components/Settings/preview.html +10 -0
- package/payload/design-system/components/SingleColumn/README.md +12 -0
- package/payload/design-system/components/SingleColumn/preview.html +8 -0
- package/payload/design-system/components/Stage/README.md +13 -0
- package/payload/design-system/components/Stage/preview.html +8 -0
- package/payload/design-system/components/Suggestion/README.md +14 -0
- package/payload/design-system/components/Suggestion/preview.html +10 -0
- package/payload/design-system/components/Summary/README.md +19 -0
- package/payload/design-system/components/Summary/preview.html +10 -0
- package/payload/design-system/components/Switch/README.md +13 -0
- package/payload/design-system/components/Switch/preview.html +10 -0
- package/payload/design-system/components/Table/README.md +18 -0
- package/payload/design-system/components/Table/preview.html +23 -0
- package/payload/design-system/components/Tabs/README.md +13 -0
- package/payload/design-system/components/Tabs/preview.html +11 -0
- package/payload/design-system/components/Timeline/README.md +15 -0
- package/payload/design-system/components/Timeline/preview.html +8 -0
- package/payload/design-system/components/Toast/README.md +14 -0
- package/payload/design-system/components/Toast/preview.html +8 -0
- package/payload/design-system/components/TodayPage/README.md +12 -0
- package/payload/design-system/components/TodayPage/preview.html +8 -0
- package/payload/design-system/components/bundle.css +126 -0
- package/payload/design-system/interactions.md +48 -0
- package/payload/design-system/pages.md +34 -0
- package/payload/design-system/tokens.css +9 -0
- package/payload/design-system/tokens.json +339 -0
- 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/payload/state/log.md +1 -1
- package/workspace/changelog.json +21 -2
- package/workspace/ci-checks.sh +3 -0
- package/workspace/design-system/README.md +98 -0
- package/workspace/design-system/components/Badge/README.md +16 -0
- package/workspace/design-system/components/Badge/preview.html +8 -0
- package/workspace/design-system/components/Button/README.md +20 -0
- package/workspace/design-system/components/Button/preview.html +8 -0
- package/workspace/design-system/components/Calendar/README.md +14 -0
- package/workspace/design-system/components/Calendar/preview.html +11 -0
- package/workspace/design-system/components/Chart/README.md +24 -0
- package/workspace/design-system/components/Chart/preview.html +50 -0
- package/workspace/design-system/components/Conversation/README.md +14 -0
- package/workspace/design-system/components/Conversation/preview.html +8 -0
- package/workspace/design-system/components/Detail/README.md +17 -0
- package/workspace/design-system/components/Detail/preview.html +8 -0
- package/workspace/design-system/components/Document/README.md +15 -0
- package/workspace/design-system/components/Document/preview.html +8 -0
- package/workspace/design-system/components/Event/README.md +13 -0
- package/workspace/design-system/components/Event/preview.html +8 -0
- package/workspace/design-system/components/Field/README.md +13 -0
- package/workspace/design-system/components/Field/preview.html +8 -0
- package/workspace/design-system/components/Icon/README.md +12 -0
- package/workspace/design-system/components/Icon/preview.html +8 -0
- package/workspace/design-system/components/Input/README.md +17 -0
- package/workspace/design-system/components/Input/preview.html +8 -0
- package/workspace/design-system/components/List/README.md +21 -0
- package/workspace/design-system/components/List/preview.html +15 -0
- package/workspace/design-system/components/ListRow/README.md +19 -0
- package/workspace/design-system/components/ListRow/preview.html +8 -0
- package/workspace/design-system/components/MainItem/README.md +13 -0
- package/workspace/design-system/components/MainItem/preview.html +8 -0
- package/workspace/design-system/components/MainSide/README.md +12 -0
- package/workspace/design-system/components/MainSide/preview.html +8 -0
- package/workspace/design-system/components/Menu/README.md +13 -0
- package/workspace/design-system/components/Menu/preview.html +8 -0
- package/workspace/design-system/components/Navigation/README.md +14 -0
- package/workspace/design-system/components/Navigation/preview.html +8 -0
- package/workspace/design-system/components/Number/README.md +17 -0
- package/workspace/design-system/components/Number/preview.html +8 -0
- package/workspace/design-system/components/Settings/README.md +13 -0
- package/workspace/design-system/components/Settings/preview.html +10 -0
- package/workspace/design-system/components/SingleColumn/README.md +12 -0
- package/workspace/design-system/components/SingleColumn/preview.html +8 -0
- package/workspace/design-system/components/Stage/README.md +13 -0
- package/workspace/design-system/components/Stage/preview.html +8 -0
- package/workspace/design-system/components/Suggestion/README.md +14 -0
- package/workspace/design-system/components/Suggestion/preview.html +10 -0
- package/workspace/design-system/components/Summary/README.md +19 -0
- package/workspace/design-system/components/Summary/preview.html +10 -0
- package/workspace/design-system/components/Switch/README.md +13 -0
- package/workspace/design-system/components/Switch/preview.html +10 -0
- package/workspace/design-system/components/Table/README.md +18 -0
- package/workspace/design-system/components/Table/preview.html +23 -0
- package/workspace/design-system/components/Tabs/README.md +13 -0
- package/workspace/design-system/components/Tabs/preview.html +11 -0
- package/workspace/design-system/components/Timeline/README.md +15 -0
- package/workspace/design-system/components/Timeline/preview.html +8 -0
- package/workspace/design-system/components/Toast/README.md +14 -0
- package/workspace/design-system/components/Toast/preview.html +8 -0
- package/workspace/design-system/components/TodayPage/README.md +12 -0
- package/workspace/design-system/components/TodayPage/preview.html +8 -0
- package/workspace/design-system/components/bundle.css +126 -0
- package/workspace/design-system/interactions.md +48 -0
- package/workspace/design-system/pages.md +34 -0
- package/workspace/design-system/tokens.css +9 -0
- package/workspace/design-system/tokens.json +339 -0
- package/workspace/guide/agent-capabilities.md +2 -2
- package/workspace/guide/layout.md +7 -1
- package/workspace/lib/design-system.js +145 -0
- package/workspace/lib/idle-lab-engine.js +5 -1
- package/workspace/lib/live-round.js +15 -1
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/cozy-today-model.js +53 -4
- package/workspace/public/pm/komorebi.css +145 -0
- package/workspace/public/pm/komorebi.js +240 -0
- package/workspace/run-tests.js +6 -1
- package/workspace/test-lists/design-system.json +9 -0
- package/workspace/test-lists/komorebi.json +9 -0
|
@@ -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.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- @dsCard group="2 · Components" 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-tabs" role="tablist"><button class="pm-tab" role="tab" aria-selected="true">All 55</button><button class="pm-tab" role="tab" aria-selected="false">Reply 29</button><button class="pm-tab" role="tab" aria-selected="false">Do 18</button></div><script>
|
|
7
|
+
(function(){var s=document.currentScript.previousElementSibling;s.addEventListener('click',function(e){var t=e.target.closest('[role=tab]');if(t)s.querySelectorAll('[role=tab]').forEach(function(x){x.setAttribute('aria-selected',x==t)})});
|
|
8
|
+
s.addEventListener('keydown',function(e){var ts=[].slice.call(s.querySelectorAll('[role=tab]')),i=ts.indexOf(document.activeElement);if(i<0)return;var j=e.key=='ArrowRight'?i+1:e.key=='ArrowLeft'?i-1:-1;if(j<0||j>=ts.length)return;ts[j].focus();ts[j].click()})})();
|
|
9
|
+
</script></div>
|
|
10
|
+
</body>
|
|
11
|
+
</html>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Reference
|
|
3
|
+
title: "PMOS design system: Timeline"
|
|
4
|
+
description: "Things in time order. Used for: the agenda, an events day, milestones, PMOS’s work and Coming up, last runs, edit log."
|
|
5
|
+
timestamp: 2026-11-19
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Things in time order. Used for: the agenda, an events day, milestones, PMOS’s work and Coming up, last runs, edit log.
|
|
9
|
+
|
|
10
|
+
- Past is dashed and quiet; next is raised. The now line is the only alert on it.
|
|
11
|
+
|
|
12
|
+
## Interaction
|
|
13
|
+
|
|
14
|
+
- The now line moves with the clock; the list scrolls to now when the page opens.
|
|
15
|
+
- Hover an event for detail; click opens it beside. Past events are quiet; the next one is raised.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<!-- @dsCard group="3 · Blocks" height=250 -->
|
|
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 flat" aria-label="Today’s agenda"><div class="head"><h3 class="pm-h">Today</h3><span class="pm-meta">Thu 19 Nov</span></div><div style="display:grid;grid-template-columns:44px 1fr;gap:6px 8px;align-items:center"><span class="pm-meta">10:45</span><div class="pm-ev over"><b>IDPF - DSU</b></div><span class="pm-meta">14:00</span><div class="pm-ev"><b>CRSM 2.0 Sprint Planning</b><span class="pm-meta">14:00 to 14:30</span></div><span class="pm-meta" style="color:var(--alert)">now</span><div style="border-top:2px solid var(--alert)"></div><span class="pm-meta">16:00</span><div class="pm-ev"><b>eShop and MySPH Progress</b></div></div></section></div>
|
|
7
|
+
</body>
|
|
8
|
+
</html>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Reference
|
|
3
|
+
title: "PMOS design system: Toast"
|
|
4
|
+
description: "Says what just happened, with Undo for 8 seconds; the leaf line counts down. Replaces 'are you sure' dialogs. One at a time, bottom centre, `lift`."
|
|
5
|
+
timestamp: 2026-11-19
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Says what just happened, with Undo for 8 seconds; the leaf line counts down. Replaces "are you sure" dialogs. One at a time, bottom centre, `lift`.
|
|
9
|
+
|
|
10
|
+
## Interaction
|
|
11
|
+
|
|
12
|
+
- Arrives from the bottom in `duration-enter` with `ease-out`. Stays 6 s; the thin bar counts down.
|
|
13
|
+
- Hover or focus pauses the countdown. Undo reverses the action and says so ("Back on today").
|
|
14
|
+
- One toast at a time; a new one replaces the old one.
|
|
@@ -0,0 +1,8 @@
|
|
|
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-toast" role="status"><span class="in">Moved to tomorrow: WeChat Signup/Login<button type="button" class="pm-btn " aria-label="Undo" title="Undo"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 14L4 9l5-5M4 9h10a6 6 0 0 1 0 12h-3"/></svg></button></span><span class="timer"></span></div></div>
|
|
7
|
+
</body>
|
|
8
|
+
</html>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Reference
|
|
3
|
+
title: "PMOS design system: TodayPage"
|
|
4
|
+
description: "Today = Main + side layout. Navigation (rail), then Summary (overview), List (today’s log) in the main column; Timeline (agenda) and Summary (the meeting you re"
|
|
5
|
+
timestamp: 2026-11-19
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Today = Main + side layout. Navigation (rail), then Summary (overview), List (today’s log) in the main column; Timeline (agenda) and Summary (the meeting you recorded) at the side.
|
|
9
|
+
|
|
10
|
+
## Interaction
|
|
11
|
+
|
|
12
|
+
- Every block on it behaves as its block says. Opening an item uses Main + open item.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<!-- @dsCard group="5 · Pages" height=520 width=1100 -->
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html>
|
|
4
|
+
<head><meta charset="utf-8"><title>preview</title></head>
|
|
5
|
+
<body>
|
|
6
|
+
<div class="pm"><div style="display:flex;gap:12px"><nav class="pm-rail" aria-label="PMOS" style="width:72px"><a href="#" aria-current="page" style="width:60px"><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</a><a href="#" style="width:60px"><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></nav><div style="flex:1;display:flex;flex-direction:column;gap:12px;min-width:0"><div><span class="pm-meta">Thursday 19 November · 21:46 · evening light</span><h2 style="margin:0;font-size:26px;line-height:32px">Good evening</h2></div><section class="pm-block"><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.</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><section class="pm-block list"><div class="head"><h3 class="pm-h">Today’s log</h3></div><div class="pm-group now">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><button class="pm-fold">Later <span style="font-weight:400">27 can wait</span></button></section></div><div style="width:230px;display:flex;flex-direction:column;gap:12px"><section class="pm-block flat"><h3 class="pm-h">Today</h3><div class="pm-ev"><b>CRSM 2.0 Sprint Planning</b><span class="pm-meta">14:00</span></div></section></div></div></div>
|
|
7
|
+
</body>
|
|
8
|
+
</html>
|