@profullstack/css 0.2.0 → 0.3.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.
@@ -0,0 +1,121 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>Inbox — @profullstack/css</title>
7
+ <link rel="stylesheet" href="../css/profullstack.css">
8
+ <style>
9
+ .example-nav { border-bottom: 1px solid var(--pf-color-border); padding-block: 1rem; }
10
+ .example-nav .container { align-items: center; display: flex; gap: 1rem; justify-content: space-between; }
11
+ .example-nav a { text-decoration: none; }
12
+
13
+ .inbox .media svg, .inbox form svg { block-size: 1.1rem; inline-size: 1.1rem; }
14
+ .dot { background: var(--dot); block-size: .7rem; border-radius: 50%; flex: none; inline-size: .7rem; }
15
+ .inbox .thumb svg { block-size: 1.4rem; inline-size: 1.4rem; color: var(--pf-color-primary); }
16
+ </style>
17
+ </head>
18
+ <body>
19
+ <header class="example-nav">
20
+ <div class="container"><a href="index.html"><strong>@profullstack/css</strong> examples</a><a href="../docs/index.html">Docs →</a></div>
21
+ </header>
22
+ <main class="container stack section" data-space="lg">
23
+ <header class="stack" data-space="sm">
24
+ <p class="eyebrow">Inbox · 0.3</p>
25
+ <h1>An inbox, three panes.</h1>
26
+ <p class="muted prose">Folders, a message list and a reading pane, each scrolling on its own. Under 64rem the folders become a row of tabs; under 44rem the panes stack. Unread messages carry <code>data-unread</code>, the open one <code>aria-current="true"</code>.</p>
27
+ </header>
28
+
29
+ <div class="inbox">
30
+ <nav aria-label="Mail folders">
31
+ <ul class="menu">
32
+ <li><a href="#compose" class="button" style="justify-content: center; color: var(--pf-color-on-primary); background: var(--pf-color-primary)"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z"/></svg>Compose</a></li>
33
+ <hr>
34
+ <li><a href="#inbox" aria-current="page"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M22 12h-6l-2 3h-4l-2-3H2"/><path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"/></svg>Inbox<span class="badge">3</span></a></li>
35
+ <li><a href="#starred"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z"/></svg>Starred</a></li>
36
+ <li><a href="#sent"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m22 2-7 20-4-9-9-4z"/><path d="M22 2 11 13"/></svg>Sent</a></li>
37
+ <li><a href="#drafts"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><path d="M14 2v6h6"/></svg>Drafts<span class="badge">2</span></a></li>
38
+ <li><a href="#archive"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="20" height="5" rx="1"/><path d="M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8"/><path d="M10 12h4"/></svg>Archive</a></li>
39
+ <li><a href="#trash"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 6h18"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"/><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/></svg>Trash</a></li>
40
+ <hr>
41
+ <li><small>Labels</small></li>
42
+ <li><a href="#l-launch"><span class="dot" aria-hidden="true" style="--dot: var(--pf-color-success)"></span>Launch</a></li>
43
+ <li><a href="#l-finance"><span class="dot" aria-hidden="true" style="--dot: var(--pf-color-info)"></span>Finance</a></li>
44
+ <li><a href="#l-people"><span class="dot" aria-hidden="true" style="--dot: var(--pf-color-accent)"></span>People</a></li>
45
+ </ul>
46
+ </nav>
47
+
48
+ <section aria-label="Messages">
49
+ <header class="stack" data-space="sm">
50
+ <div class="cluster" data-justify="between"><strong>Inbox</strong><small class="muted">12 messages · 3 unread</small></div>
51
+ <label class="sr-only" for="mail-q">Search mail</label>
52
+ <input id="mail-q" type="search" placeholder="Search mail">
53
+ </header>
54
+ <ul role="list">
55
+ <li><a class="media" href="#m0" data-truncate data-unread aria-current="true"><span class="avatar" data-size="sm">MS</span><div><span>Maya Singh</span><strong data-subject>v2.4 release notes, final draft</strong><small class="muted">Here's the last pass before we ship tomorrow. I tightened the intro and moved the API changes up top…</small></div><span>9:41</span></a></li>
56
+ <li><a class="media" href="#m1" data-truncate data-unread><span class="avatar" data-size="sm">CP</span><div><span>CoinPay</span><strong data-subject>Payment received: $1,250.00</strong><small class="muted">Invoice #2026-118 was paid in USDC. Funds settle to your wallet within…</small></div><span>9:12</span></a></li>
57
+ <li><a class="media" href="#m2" data-truncate data-unread><span class="avatar" data-size="sm">JR</span><div><span>Jordan Reyes</span><strong data-subject>Pricing page, two options</strong><small class="muted">I mocked up the annual toggle both ways. Option B tested better with the five people I asked…</small></div><span>8:55</span></a></li>
58
+ <li><a class="media" href="#m3" data-truncate><span class="avatar" data-size="sm">GH</span><div><span>GitHub</span><strong data-subject>[css] PR #7 ready for review</strong><small class="muted">riotcoder requested your review on feat: widgets layer, TV mode and four new examples…</small></div><span>8:30</span></a></li>
59
+ <li><a class="media" href="#m4" data-truncate><span class="avatar" data-size="sm">AK</span><div><span>Aiko Kato</span><strong data-subject>Re: Design review moved to 9:30</strong><small class="muted">Works for me. I'll bring the new onboarding flow so we can look at it on the big screen…</small></div><span>Yesterday</span></a></li>
60
+ <li><a class="media" href="#m5" data-truncate><span class="avatar" data-size="sm">LT</span><div><span>Leo Tran</span><strong data-subject>Expense report approved</strong><small class="muted">Your November report was approved and will be paid out with the next payroll run…</small></div><span>Yesterday</span></a></li>
61
+ <li><a class="media" href="#m6" data-truncate><span class="avatar" data-size="sm">RS</span><div><span>Railway</span><strong data-subject>Deploy succeeded: api-production</strong><small class="muted">Build 4f2a91c finished in 1m 48s. Health check passed on the first try…</small></div><span>Mon</span></a></li>
62
+ <li><a class="media" href="#m7" data-truncate><span class="avatar" data-size="sm">NB</span><div><span>Nora Bell</span><strong data-subject>Coffee next week?</strong><small class="muted">I'm in town Tuesday through Thursday. Would love to hear how the launch went…</small></div><span>Mon</span></a></li>
63
+ <li><a class="media" href="#m8" data-truncate><span class="avatar" data-size="sm">SV</span><div><span>Security bot</span><strong data-subject>Weekly scan: 0 critical, 2 low</strong><small class="muted">No secrets found in the last 214 commits. Two low-severity dependency notices…</small></div><span>Sun</span></a></li>
64
+ <li><a class="media" href="#m9" data-truncate><span class="avatar" data-size="sm">PD</span><div><span>Product digest</span><strong data-subject>This week: 14 shipped, 3 in review</strong><small class="muted">The biggest change is the new inbox layout, which now collapses cleanly on phones…</small></div><span>Sat</span></a></li>
65
+ <li><a class="media" href="#m10" data-truncate><span class="avatar" data-size="sm">ME</span><div><span>Mateo Esposito</span><strong data-subject>Contract signed</strong><small class="muted">Attached is the countersigned agreement. Looking forward to kicking things off on the…</small></div><span>Nov 27</span></a></li>
66
+ <li><a class="media" href="#m11" data-truncate><span class="avatar" data-size="sm">HK</span><div><span>Hana Kim</span><strong data-subject>Photos from the offsite</strong><small class="muted">Uploaded 86 photos to the shared album. The sunset one from the roof came out great…</small></div><span>Nov 26</span></a></li>
67
+ </ul>
68
+ </section>
69
+
70
+ <article aria-labelledby="reading-subject">
71
+ <header class="cluster" data-justify="between">
72
+ <div class="cluster" style="gap: var(--pf-space-1)">
73
+ <button type="button" class="icon-button" aria-label="Archive" data-toast="Archived." data-tone="success"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="3" width="20" height="5" rx="1"/><path d="M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8"/><path d="M10 12h4"/></svg></button>
74
+ <button type="button" class="icon-button" aria-label="Delete" data-toast="Moved to Trash."><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 6h18"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"/><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/></svg></button>
75
+ <button type="button" class="icon-button" aria-label="Mark unread"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="m22 7-10 6L2 7"/></svg></button>
76
+ <button type="button" class="icon-button" aria-label="Label" popovertarget="label-menu"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 2H2v10l9.3 9.3a1 1 0 0 0 1.4 0l8.6-8.6a1 1 0 0 0 0-1.4z"/><circle cx="7" cy="7" r="1.5"/></svg></button>
77
+ <div id="label-menu" popover data-anchor>
78
+ <ul class="menu">
79
+ <li><label><input type="checkbox" checked>Launch</label></li>
80
+ <li><label><input type="checkbox">Finance</label></li>
81
+ <li><label><input type="checkbox">People</label></li>
82
+ </ul>
83
+ </div>
84
+ </div>
85
+ <small class="muted">1 of 12</small>
86
+ </header>
87
+ <div class="stack">
88
+ <h2 id="reading-subject">v2.4 release notes, final draft</h2>
89
+ <div class="media"><span class="avatar">MS</span><div><strong>Maya Singh</strong><small class="muted">to me, Jordan, Aiko</small></div><time datetime="2026-12-02T09:41">9:41 AM</time></div>
90
+ </div>
91
+ <div class="prose stack">
92
+ <p>Hi all,</p>
93
+ <p>Here's the last pass before we ship tomorrow. I tightened the intro and moved the API changes up top, since that's what most people will scan for.</p>
94
+ <p>Two things I'd like eyes on:</p>
95
+ <ul>
96
+ <li>The migration note for the old webhook format. Is "deprecated in 2.4, removed in 3.0" clear enough?</li>
97
+ <li>The screenshot of the new inbox. It's the one thing I'd still swap if someone has a better capture.</li>
98
+ </ul>
99
+ <p>Thanks,<br>Maya</p>
100
+ </div>
101
+ <div class="grid" style="grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr))">
102
+ <a class="media card" data-truncate href="#a1"><span class="thumb" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><path d="M14 2v6h6"/></svg></span><div><strong>release-notes-2.4.pdf</strong><small class="muted">248 KB</small></div><span><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m21.4 11.1-9.2 9.2a6 6 0 0 1-8.5-8.5l9.2-9.2a4 4 0 0 1 5.7 5.7l-9.2 9.2a2 2 0 0 1-2.8-2.8l8.5-8.5"/></svg></span></a>
103
+ <a class="media card" data-truncate href="#a2"><span class="thumb" aria-hidden="true">🖼️</span><div><strong>inbox-screenshot.png</strong><small class="muted">1.2 MB</small></div><span><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m21.4 11.1-9.2 9.2a6 6 0 0 1-8.5-8.5l9.2-9.2a4 4 0 0 1 5.7 5.7l-9.2 9.2a2 2 0 0 1-2.8-2.8l8.5-8.5"/></svg></span></a>
104
+ </div>
105
+ <form class="stack" data-space="sm" onsubmit="return false">
106
+ <label for="reply">Reply to Maya</label>
107
+ <textarea id="reply" placeholder="Looks great, ship it."></textarea>
108
+ <div class="cluster" data-justify="between">
109
+ <button type="submit" data-toast="Reply sent." data-tone="success"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 17 4 12l5-5"/><path d="M20 18v-2a4 4 0 0 0-4-4H4"/></svg>Send reply</button>
110
+ <button type="button" class="icon-button" aria-label="Attach a file"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m21.4 11.1-9.2 9.2a6 6 0 0 1-8.5-8.5l9.2-9.2a4 4 0 0 1 5.7 5.7l-9.2 9.2a2 2 0 0 1-2.8-2.8l8.5-8.5"/></svg></button>
111
+ </div>
112
+ </form>
113
+ </article>
114
+ </div>
115
+ </main>
116
+
117
+ <ol class="toasts" role="status" aria-live="polite"></ol>
118
+ <script type="module" src="examples.js"></script>
119
+ </body>
120
+ </html>
121
+
@@ -23,7 +23,7 @@
23
23
  <header class="stack" data-space="sm">
24
24
  <p class="eyebrow">Patterns you can use</p>
25
25
  <h1>Examples, in plain HTML.</h1>
26
- <p class="muted prose">Each page uses the framework's documented classes and semantic elements. No JavaScript is included.</p>
26
+ <p class="muted prose">Each page uses the framework's documented classes and semantic elements. The 0.2 pages use no JavaScript; the 0.3 pages add a small <code>examples.js</code> for app behaviour such as paging a scroller.</p>
27
27
  </header>
28
28
  <section class="grid" data-columns="2" aria-label="Example pages">
29
29
  <a class="card stack example-link" href="project-dashboard.html">
@@ -41,6 +41,26 @@
41
41
  <h2>Platform features ↗</h2>
42
42
  <p class="muted">Themed select, anchored popovers, animated dialogs, a no-script carousel, gap rules, and scroll reveal.</p>
43
43
  </a>
44
+ <a class="card stack example-link" href="widgets.html">
45
+ <span class="badge" data-tone="success">NEW IN 0.3</span>
46
+ <h2>Widgets ↗</h2>
47
+ <p class="muted">Cart and account dropdowns, a command palette, scrollers with arrows, a color picker, switches, tabs, rings, steps, toasts and more.</p>
48
+ </a>
49
+ <a class="card stack example-link" href="tv.html">
50
+ <span class="badge" data-tone="success">NEW IN 0.3</span>
51
+ <h2>TV mode ↗</h2>
52
+ <p class="muted">A 10-foot streaming home: D-pad focus, zooming tiles, shelves with arrows, a live guide. Try it with the arrow keys.</p>
53
+ </a>
54
+ <a class="card stack example-link" href="calendar.html">
55
+ <span class="badge" data-tone="success">NEW IN 0.3</span>
56
+ <h2>Dates and calendars ↗</h2>
57
+ <p class="muted">Styled native date inputs, a picker and a range picker in popovers, a month calendar with events, and a day agenda.</p>
58
+ </a>
59
+ <a class="card stack example-link" href="inbox.html">
60
+ <span class="badge" data-tone="success">NEW IN 0.3</span>
61
+ <h2>Inbox ↗</h2>
62
+ <p class="muted">Three panes that scroll on their own and stack on phones: folders, an unread-aware message list and a reading pane.</p>
63
+ </a>
44
64
  </section>
45
65
  </main>
46
66
  </body>
@@ -0,0 +1,166 @@
1
+ <!doctype html>
2
+ <html lang="en" data-input="tv" data-theme="dark">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>TV — @profullstack/css</title>
7
+ <link rel="stylesheet" href="../css/profullstack.css">
8
+ <style>
9
+ .example-nav { border-bottom: 1px solid var(--pf-color-border); padding-block: 1rem; }
10
+ .example-nav .container { align-items: center; display: flex; gap: 1rem; justify-content: space-between; }
11
+ .example-nav a { text-decoration: none; }
12
+
13
+ .billboard {
14
+ background:
15
+ linear-gradient(90deg, var(--pf-color-canvas) 15%, transparent 75%),
16
+ radial-gradient(circle at 80% 30%, hsl(205 80% 45% / 0.9), transparent 55%),
17
+ radial-gradient(circle at 60% 90%, hsl(280 70% 40% / 0.8), transparent 50%),
18
+ hsl(220 40% 12%);
19
+ border-radius: var(--pf-radius-lg);
20
+ min-block-size: clamp(18rem, 42vh, 30rem);
21
+ justify-content: end;
22
+ padding: clamp(1.5rem, 4vw, 3.5rem);
23
+ }
24
+ .billboard h1 { font-size: clamp(3rem, 6vw, 6rem); }
25
+ .billboard svg, header svg { block-size: 1.3rem; inline-size: 1.3rem; }
26
+ .menu > li > a svg { block-size: 1.2rem; inline-size: 1.2rem; }
27
+ .tile-card { block-size: 100%; text-decoration: none; color: inherit; }
28
+ .tile-card:focus { scale: 1.04; }
29
+ .tile-card { transition: scale var(--pf-transition-normal); }
30
+ .tile progress, .tile-card progress { block-size: 0.35rem; }
31
+ </style>
32
+ </head>
33
+ <body>
34
+ <header class="cluster" data-justify="between" style="margin-block-end: var(--pf-space-6)">
35
+ <nav aria-label="Main">
36
+ <ul class="menu" style="display: flex; gap: var(--pf-space-2)">
37
+ <li><a href="#home" aria-current="page"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m3 10 9-7 9 7v10a2 2 0 0 1-2 2h-4v-7H9v7H5a2 2 0 0 1-2-2z"/></svg>Home</a></li>
38
+ <li><a href="#live"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="7" width="20" height="14" rx="2"/><path d="m17 2-5 5-5-5"/></svg>Live</a></li>
39
+ <li><a href="#movies"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="2" width="20" height="20" rx="2"/><path d="M7 2v20M17 2v20M2 12h20M2 7h5M2 17h5M17 17h5M17 7h5"/></svg>Movies</a></li>
40
+ <li><a href="#shows">Shows</a></li>
41
+ <li><a href="#mylist"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.5-1.5 3-3.2 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.8 0-3 .5-4.5 2-1.5-1.5-2.7-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4 3 5.5l7 7Z"/></svg>My list</a></li>
42
+ </ul>
43
+ </nav>
44
+ <div class="cluster" style="gap: var(--pf-space-2)">
45
+ <a class="icon-button" href="#search" aria-label="Search"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg></a>
46
+ <a class="icon-button" href="#alerts" aria-label="Notifications, 2 new" data-count="2"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9"/><path d="M10.3 21a1.94 1.94 0 0 0 3.4 0"/></svg></a>
47
+ <a class="icon-button" href="index.html" aria-label="Back to examples"><span class="avatar" data-size="sm">AE</span></a>
48
+ </div>
49
+ </header>
50
+
51
+ <main class="stack" data-space="lg">
52
+ <section class="billboard stack" aria-labelledby="feature-title">
53
+ <p class="eyebrow">New season · 4K · HDR</p>
54
+ <h1 id="feature-title">Night Shift</h1>
55
+ <p class="prose">A city that never sleeps, a dispatcher who can't. Season two picks up three minutes after the finale.</p>
56
+ <div class="cluster">
57
+ <a class="button" href="#play" autofocus><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 4v16l13-8z" fill="currentColor"/></svg>Resume S2 · E5</a>
58
+ <a class="button" data-variant="secondary" href="#info"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg>More info</a>
59
+ <a class="button" data-variant="ghost" href="#add"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg>My list</a>
60
+ </div>
61
+ </section>
62
+
63
+ <section class="stack" data-space="sm" aria-labelledby="continue">
64
+ <h2 id="continue">Continue watching</h2>
65
+ <div class="scroller-frame">
66
+ <button type="button" data-scroll="prev" aria-label="Scroll Continue watching back" tabindex="-1"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg></button>
67
+ <ul class="scroller" role="list" aria-labelledby="continue">
68
+ <li><a class="tile" href="#watch-0"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(205 70% 46%), hsl(255 65% 22%)); color: #fff; font-size: 3.5rem; font-weight: 800; letter-spacing: -0.04em">N</span><strong>Night Shift</strong><small class="muted">S2 · E5</small><progress max="100" value="62" aria-label="62% watched">62%</progress></a></li>
69
+ <li><a class="tile" href="#watch-1"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(190 70% 46%), hsl(240 65% 22%)); color: #fff; font-size: 3.5rem; font-weight: 800; letter-spacing: -0.04em">D</span><strong>Deep Water</strong><small class="muted">S1 · E8</small><progress max="100" value="30" aria-label="30% watched">30%</progress></a></li>
70
+ <li><a class="tile" href="#watch-2"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(260 70% 46%), hsl(310 65% 22%)); color: #fff; font-size: 3.5rem; font-weight: 800; letter-spacing: -0.04em">O</span><strong>Orbit</strong><small class="muted">1h 12m left</small><progress max="100" value="45" aria-label="45% watched">45%</progress></a></li>
71
+ <li><a class="tile" href="#watch-3"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(30 70% 46%), hsl(80 65% 22%)); color: #fff; font-size: 3.5rem; font-weight: 800; letter-spacing: -0.04em">L</span><strong>Ledger</strong><small class="muted">S3 · E1</small><progress max="100" value="88" aria-label="88% watched">88%</progress></a></li>
72
+ <li><a class="tile" href="#watch-4"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(340 70% 46%), hsl(30 65% 22%)); color: #fff; font-size: 3.5rem; font-weight: 800; letter-spacing: -0.04em">C</span><strong>Cold Open</strong><small class="muted">S1 · E2</small><progress max="100" value="15" aria-label="15% watched">15%</progress></a></li>
73
+ <li><a class="tile" href="#watch-5"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(150 70% 46%), hsl(200 65% 22%)); color: #fff; font-size: 3.5rem; font-weight: 800; letter-spacing: -0.04em">T</span><strong>The Grid</strong><small class="muted">44m left</small><progress max="100" value="70" aria-label="70% watched">70%</progress></a></li>
74
+ <li><a class="tile" href="#watch-6"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(280 70% 46%), hsl(330 65% 22%)); color: #fff; font-size: 3.5rem; font-weight: 800; letter-spacing: -0.04em">S</span><strong>Static</strong><small class="muted">S4 · E9</small><progress max="100" value="52" aria-label="52% watched">52%</progress></a></li>
75
+ </ul>
76
+ <button type="button" data-scroll="next" aria-label="Scroll Continue watching forward" tabindex="-1"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></button>
77
+ </div>
78
+ </section>
79
+
80
+ <section class="stack" data-space="sm" aria-labelledby="trending">
81
+ <h2 id="trending">Top 10 today</h2>
82
+ <div class="scroller-frame">
83
+ <button type="button" data-scroll="prev" aria-label="Scroll Top 10 today back" tabindex="-1"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg></button>
84
+ <ul class="scroller" role="list" aria-labelledby="trending" style="--pf-scroller-item: clamp(10rem, 12vw, 15rem)">
85
+ <li><a class="tile" href="#title-0" data-shape="poster"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(12 70% 46%), hsl(62 65% 22%)); color: #fff; font-size: 3rem; font-weight: 800; letter-spacing: -0.04em">#1</span><strong>Atlas</strong></a></li>
86
+ <li><a class="tile" href="#title-1" data-shape="poster"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(300 70% 46%), hsl(350 65% 22%)); color: #fff; font-size: 3rem; font-weight: 800; letter-spacing: -0.04em">#2</span><strong>Neon Coast</strong></a></li>
87
+ <li><a class="tile" href="#title-2" data-shape="poster"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(200 70% 46%), hsl(250 65% 22%)); color: #fff; font-size: 3rem; font-weight: 800; letter-spacing: -0.04em">#3</span><strong>Harbor</strong></a></li>
88
+ <li><a class="tile" href="#title-3" data-shape="poster"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(25 70% 46%), hsl(75 65% 22%)); color: #fff; font-size: 3rem; font-weight: 800; letter-spacing: -0.04em">#4</span><strong>Kilns</strong></a></li>
89
+ <li><a class="tile" href="#title-4" data-shape="poster"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(260 70% 46%), hsl(310 65% 22%)); color: #fff; font-size: 3rem; font-weight: 800; letter-spacing: -0.04em">#5</span><strong>Paper Moon</strong></a></li>
90
+ <li><a class="tile" href="#title-5" data-shape="poster"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(180 70% 46%), hsl(230 65% 22%)); color: #fff; font-size: 3rem; font-weight: 800; letter-spacing: -0.04em">#6</span><strong>Undertow</strong></a></li>
91
+ <li><a class="tile" href="#title-6" data-shape="poster"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(330 70% 46%), hsl(20 65% 22%)); color: #fff; font-size: 3rem; font-weight: 800; letter-spacing: -0.04em">#7</span><strong>Sable</strong></a></li>
92
+ <li><a class="tile" href="#title-7" data-shape="poster"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(95 70% 46%), hsl(145 65% 22%)); color: #fff; font-size: 3rem; font-weight: 800; letter-spacing: -0.04em">#8</span><strong>Fieldwork</strong></a></li>
93
+ <li><a class="tile" href="#title-8" data-shape="poster"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(220 70% 46%), hsl(270 65% 22%)); color: #fff; font-size: 3rem; font-weight: 800; letter-spacing: -0.04em">#9</span><strong>Signal</strong></a></li>
94
+ <li><a class="tile" href="#title-9" data-shape="poster"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(160 70% 46%), hsl(210 65% 22%)); color: #fff; font-size: 3rem; font-weight: 800; letter-spacing: -0.04em">#10</span><strong>Low Tide</strong></a></li>
95
+ <li><a class="tile" href="#title-10" data-shape="poster"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(45 70% 46%), hsl(95 65% 22%)); color: #fff; font-size: 3rem; font-weight: 800; letter-spacing: -0.04em">#11</span><strong>Glasshouse</strong></a></li>
96
+ </ul>
97
+ <button type="button" data-scroll="next" aria-label="Scroll Top 10 today forward" tabindex="-1"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></button>
98
+ </div>
99
+ </section>
100
+
101
+ <section class="stack" data-space="sm" aria-labelledby="channels">
102
+ <h2 id="channels">Live channels</h2>
103
+ <div class="scroller-frame">
104
+ <button type="button" data-scroll="prev" aria-label="Scroll Live channels back" tabindex="-1"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg></button>
105
+ <ul class="scroller" role="list" aria-labelledby="channels" style="--pf-scroller-item: clamp(9rem, 11vw, 13rem)">
106
+ <li><a class="tile" href="#ch-0" data-shape="square"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(0 70% 46%), hsl(50 65% 22%)); color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em">NEWS 24</span><strong>News 24</strong><small class="muted">Live now</small></a></li>
107
+ <li><a class="tile" href="#ch-1" data-shape="square"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(130 70% 46%), hsl(180 65% 22%)); color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em">SPORT 1</span><strong>Sport 1</strong><small class="muted">Live now</small></a></li>
108
+ <li><a class="tile" href="#ch-2" data-shape="square"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(110 70% 46%), hsl(160 65% 22%)); color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em">NATURE</span><strong>Nature</strong><small class="muted">Live now</small></a></li>
109
+ <li><a class="tile" href="#ch-3" data-shape="square"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(290 70% 46%), hsl(340 65% 22%)); color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em">MUSIC</span><strong>Music</strong><small class="muted">Live now</small></a></li>
110
+ <li><a class="tile" href="#ch-4" data-shape="square"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(45 70% 46%), hsl(95 65% 22%)); color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em">KIDS</span><strong>Kids</strong><small class="muted">Live now</small></a></li>
111
+ <li><a class="tile" href="#ch-5" data-shape="square"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(250 70% 46%), hsl(300 65% 22%)); color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em">FILM+</span><strong>Film+</strong><small class="muted">Live now</small></a></li>
112
+ <li><a class="tile" href="#ch-6" data-shape="square"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(20 70% 46%), hsl(70 65% 22%)); color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em">COOK</span><strong>Cook</strong><small class="muted">Live now</small></a></li>
113
+ <li><a class="tile" href="#ch-7" data-shape="square"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(200 70% 46%), hsl(250 65% 22%)); color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em">TECH</span><strong>Tech</strong><small class="muted">Live now</small></a></li>
114
+ <li><a class="tile" href="#ch-8" data-shape="square"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(345 70% 46%), hsl(35 65% 22%)); color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em">CRIME</span><strong>Crime</strong><small class="muted">Live now</small></a></li>
115
+ </ul>
116
+ <button type="button" data-scroll="next" aria-label="Scroll Live channels forward" tabindex="-1"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></button>
117
+ </div>
118
+ </section>
119
+
120
+ <section class="stack" data-space="sm" aria-labelledby="guide">
121
+ <h2 id="guide">On now and next</h2>
122
+ <div class="scroller-frame">
123
+ <button type="button" data-scroll="prev" aria-label="Scroll guide back" tabindex="-1"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg></button>
124
+ <ul class="scroller" role="list" aria-labelledby="guide" style="--pf-scroller-item: clamp(15rem, 18vw, 20rem)">
125
+ <li><a class="card stack tile-card" href="#g-0" data-space="sm"><span class="badge" data-tone="danger">LIVE · 19:00</span><strong>Evening News</strong><small class="muted">NEWS 24</small><progress max="100" value="80" aria-label="80% elapsed">80%</progress></a></li>
126
+ <li><a class="card stack tile-card" href="#g-1" data-space="sm"><span class="badge" data-tone="danger">LIVE · 19:30</span><strong>Derby Highlights</strong><small class="muted">SPORT 1</small><progress max="100" value="35" aria-label="35% elapsed">35%</progress></a></li>
127
+ <li><a class="card stack tile-card" href="#g-2" data-space="sm"><span class="badge" data-tone="danger">LIVE · 20:00</span><strong>Coral Kingdoms</strong><small class="muted">NATURE</small><progress max="100" value="10" aria-label="10% elapsed">10%</progress></a></li>
128
+ <li><a class="card stack tile-card" href="#g-3" data-space="sm"><span class="badge">20:00</span><strong>Live Sessions</strong><small class="muted">MUSIC</small></a></li>
129
+ <li><a class="card stack tile-card" href="#g-4" data-space="sm"><span class="badge">20:30</span><strong>Midnight Kitchen</strong><small class="muted">COOK</small></a></li>
130
+ <li><a class="card stack tile-card" href="#g-5" data-space="sm"><span class="badge">21:00</span><strong>Code Breakers</strong><small class="muted">TECH</small></a></li>
131
+ <li><a class="card stack tile-card" href="#g-6" data-space="sm"><span class="badge">21:00</span><strong>Cold Case Files</strong><small class="muted">CRIME</small></a></li>
132
+ </ul>
133
+ <button type="button" data-scroll="next" aria-label="Scroll guide forward" tabindex="-1"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></button>
134
+ </div>
135
+ </section>
136
+ <section class="stack" data-space="sm" aria-labelledby="genres">
137
+ <h2 id="genres">Browse by genre</h2>
138
+ <div class="scroller-frame">
139
+ <button type="button" data-scroll="prev" aria-label="Scroll Browse by genre back" tabindex="-1"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m15 18-6-6 6-6"/></svg></button>
140
+ <ul class="scroller" role="list" aria-labelledby="genres">
141
+ <li><a class="tile" href="#genre-0"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(40 70% 46%), hsl(90 65% 22%)); color: #fff; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em">Comedy</span><span class="sr-only">Comedy</span></a></li>
142
+ <li><a class="tile" href="#genre-1"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(150 70% 46%), hsl(200 65% 22%)); color: #fff; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em">Documentary</span><span class="sr-only">Documentary</span></a></li>
143
+ <li><a class="tile" href="#genre-2"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(230 70% 46%), hsl(280 65% 22%)); color: #fff; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em">Sci-fi</span><span class="sr-only">Sci-fi</span></a></li>
144
+ <li><a class="tile" href="#genre-3"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(350 70% 46%), hsl(40 65% 22%)); color: #fff; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em">Thriller</span><span class="sr-only">Thriller</span></a></li>
145
+ <li><a class="tile" href="#genre-4"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(280 70% 46%), hsl(330 65% 22%)); color: #fff; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em">Animation</span><span class="sr-only">Animation</span></a></li>
146
+ <li><a class="tile" href="#genre-5"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(15 70% 46%), hsl(65 65% 22%)); color: #fff; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em">Drama</span><span class="sr-only">Drama</span></a></li>
147
+ <li><a class="tile" href="#genre-6"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(190 70% 46%), hsl(240 65% 22%)); color: #fff; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em">Reality</span><span class="sr-only">Reality</span></a></li>
148
+ <li><a class="tile" href="#genre-7"><span aria-hidden="true" style="background: linear-gradient(135deg, hsl(310 70% 46%), hsl(0 65% 22%)); color: #fff; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em">Anime</span><span class="sr-only">Anime</span></a></li>
149
+ </ul>
150
+ <button type="button" data-scroll="next" aria-label="Scroll Browse by genre forward" tabindex="-1"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg></button>
151
+ </div>
152
+ </section>
153
+
154
+ <footer class="cluster muted" aria-label="Remote controls">
155
+ <span><kbd>←</kbd> <kbd>↑</kbd> <kbd>→</kbd> <kbd>↓</kbd> move</span>
156
+ <span><kbd>OK</kbd> open</span>
157
+ <span><kbd>Back</kbd> return</span>
158
+ <span>On a computer the arrow keys stand in for the D-pad.</span>
159
+ </footer>
160
+ </main>
161
+
162
+ <ol class="toasts" role="status" aria-live="polite"></ol>
163
+ <script type="module" src="examples.js"></script>
164
+ </body>
165
+ </html>
166
+