@alis-build/design-system 0.54.1 → 0.56.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/README.md CHANGED
@@ -85,8 +85,8 @@ export default {
85
85
  ```
86
86
 
87
87
  - **A file that keeps one part of a rule picks that part by name**:
88
- `refused.literalColour`, `refused.blend`, `refused.spacing`, `allowed.radius`,
89
- `allowed.shadow`. Never by its message or its place in a list. A name a
88
+ `refused.literalColour`, `refused.blend`, `refused.motion`, `refused.glass`, `refused.glassMotion`,
89
+ `refused.spacing`, `allowed.radius`, `allowed.shadow`. Never by its message or its place in a list. A name a
90
90
  release changes then stops the check instead of thinning the rule.
91
91
 
92
92
  ```js
package/alisx.css CHANGED
@@ -70,6 +70,9 @@
70
70
  --paper: var(--paper-0);
71
71
  --scrim: #000000;
72
72
  --shadow-key: light-dark(rgba(16, 24, 40, 0.16), rgba(0, 0, 0, 0.4));
73
+ --glass-rim: light-dark(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.16));
74
+ --glass-edge: light-dark(rgba(16, 24, 40, 0.08), rgba(255, 255, 255, 0.08));
75
+ --glass-grid: light-dark(rgba(16, 24, 40, 0.07), rgba(255, 255, 255, 0.06));
73
76
  --shadow-ambient: light-dark(rgba(16, 24, 40, 0.2), rgba(0, 0, 0, 0.45));
74
77
  --highlight: light-dark(#fdecc8, #5b4614);
75
78
  --on-highlight: light-dark(var(--petrol-800), #fdecc8);
@@ -177,6 +180,8 @@
177
180
  --loop-dots: 1.2s ease-in-out infinite;
178
181
  --loop-pulse: 1.6s ease-in-out infinite;
179
182
  --loop-breathe: 3.2s ease-in-out infinite alternate;
183
+ --loop-orbit: 3.2s linear infinite;
184
+ --loop-flow: 4s linear infinite;
180
185
  --loop-blink: 1.1s steps(1) infinite;
181
186
  --state-hover: 0.04;
182
187
  --state-focus: 0.04;
@@ -257,6 +262,9 @@
257
262
  --machine-surface: var(--petrol-800);
258
263
  --on-machine-surface: var(--paper-100);
259
264
  --shadow-key: rgba(16, 24, 40, 0.16);
265
+ --glass-rim: rgba(255, 255, 255, 0.8);
266
+ --glass-edge: rgba(16, 24, 40, 0.08);
267
+ --glass-grid: rgba(16, 24, 40, 0.07);
260
268
  --shadow-ambient: rgba(16, 24, 40, 0.2);
261
269
  --highlight: #fdecc8;
262
270
  --on-highlight: var(--petrol-800);
@@ -317,6 +325,9 @@
317
325
  --machine-surface: #0f1418;
318
326
  --on-machine-surface: var(--mist-100);
319
327
  --shadow-key: rgba(0, 0, 0, 0.4);
328
+ --glass-rim: rgba(255, 255, 255, 0.16);
329
+ --glass-edge: rgba(255, 255, 255, 0.08);
330
+ --glass-grid: rgba(255, 255, 255, 0.06);
320
331
  --shadow-ambient: rgba(0, 0, 0, 0.45);
321
332
  --highlight: #5b4614;
322
333
  --on-highlight: #fdecc8;
@@ -358,6 +369,7 @@
358
369
  .text-page-title { font-family: var(--font-sans); font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -0.03em; }
359
370
  .text-section-title { font-family: var(--font-sans); font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.02em; }
360
371
  .text-object-title { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: 0; }
372
+ .text-reading { font-family: var(--font-sans); font-size: 20px; line-height: 28px; font-weight: 400; letter-spacing: 0; }
361
373
  .text-body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: 0; }
362
374
  .text-supporting { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: 0; }
363
375
  .text-meta { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 400; letter-spacing: 0; }
@@ -755,6 +767,13 @@ a.app-row,a.app-card{text-decoration:none}
755
767
  .app-shell--file .app-shell__main .app-titlebar__lead .app-titlebar__label{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
756
768
  .app-file-pane{display:flex;flex-direction:column;gap:0;min-width:0;min-height:0;background:var(--background)}
757
769
  .app-shell__detail>.app-file-pane{flex:1}
770
+
771
+ /* ── Glass view · the view takes the window (rules/glass.md § It takes the window): from 600 the navigation pane steps away.
772
+ It stays in the markup, so the page change can carry it out over its leading edge and back (§ Changing page, below) ── */
773
+ .app-shell--glass>.app-shell__nav{display:none}
774
+ .app-shell.app-shell--glass{grid-template-columns:minmax(0,1fr)}
775
+ .app-shell.app-shell--glass.app-shell--detail{grid-template-columns:minmax(0,1fr) var(--detail-width)}
776
+ @media (max-width:839px){.app-shell.app-shell--glass.app-shell--detail{grid-template-columns:minmax(0,1fr)}}
758
777
  .app-file-pane__bar{flex:none;display:flex;align-items:center;gap:var(--space-8);min-height:64px;padding:var(--space-12)}
759
778
  .app-file-pane__name{flex:1;min-width:0;display:flex;flex-direction:column}
760
779
  .app-file-pane__name>*{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@@ -1430,6 +1449,106 @@ a.app-token,button.app-token{border:0;font:inherit;font-weight:600;cursor:pointe
1430
1449
  .app-disclosure-group{display:flex;flex-direction:column}
1431
1450
  .app-disclosure-group>.app-disclosure+.app-disclosure{border-top:1px solid var(--outline-variant)}
1432
1451
 
1452
+ /* ── Glass view · the live inside of one thing: a pane to read, a field to look at (rules/glass.md, components/AppGlassView.md).
1453
+ Everything drawn on the field (glass, links, particles, pulses) is scoped to .app-glass__field, and anything on it moves only
1454
+ while the field is .is-live, the person allows motion and the screen is wider than a phone. ── */
1455
+ .app-glass{container-type:inline-size;color:var(--on-surface)}
1456
+ .app-glass__body{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-32);align-items:start}
1457
+ @container (min-width:1000px){.app-glass__body{grid-template-columns:420px minmax(0,1fr)}.app-glass__pane{position:sticky;top:var(--space-24);max-height:calc(100dvh - var(--space-48));overflow:auto;margin:calc(var(--space-4) * -1);padding:var(--space-4)}}
1458
+ .app-glass__pane{display:flex;flex-direction:column;gap:var(--space-24);min-width:0}
1459
+ .app-glass__pane>[hidden]{display:none}
1460
+ .app-glass__view{display:flex;flex-direction:column;gap:var(--space-24)}
1461
+ .app-glass__view>.app-btn,.app-glass__view>.app-btn-row,.app-glass__view>.app-icon-btn{align-self:flex-start}
1462
+ .app-glass__section{display:flex;flex-direction:column;gap:var(--space-12)}
1463
+ .app-glass__section>.text-eyebrow{margin:0;color:var(--on-surface-variant)}
1464
+ .app-glass__section>p{margin:0}
1465
+ .app-glass__head{display:flex;flex-direction:column;gap:var(--space-4)}
1466
+ .app-glass__head>*{margin:0}
1467
+ .app-glass__head>.text-eyebrow{color:var(--on-surface-variant)}
1468
+ .app-glass__standing{color:var(--on-surface-variant)}
1469
+ .app-glass__standing.is-warning{color:var(--warning)}
1470
+ .app-glass__standing.is-error{color:var(--error)}
1471
+ .app-glass__standing.is-live{color:var(--primary)}
1472
+ .app-glass__field{position:relative;overflow:hidden;min-height:560px;border-radius:var(--radius-xl);background-color:var(--surface-container-low);background-image:linear-gradient(var(--glass-grid) 1px,transparent 1px),linear-gradient(90deg,var(--glass-grid) 1px,transparent 1px);background-size:72px 72px;background-position:-1px -1px}
1473
+ .app-glass__field--peek{min-height:96px;border-radius:var(--radius-md);background-size:24px 24px}
1474
+ @media (max-width:599px){.app-glass__field:not(.app-glass__field--peek){min-height:320px;border-radius:var(--radius-lg)}}
1475
+ .app-glass-reading{display:flex;flex-direction:column;gap:var(--space-8)}
1476
+ .app-glass-reading__live{display:flex;align-items:center;gap:var(--space-8);margin:0;color:var(--on-surface-variant)}
1477
+ .app-glass-reading__text{margin:0}
1478
+ .app-glass-reading__text strong{font-weight:600}
1479
+ .app-glass-since{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-8)}
1480
+ .app-glass-since>.text-eyebrow{color:var(--on-surface-variant)}
1481
+ /* A sentence about a part on the field: a link that lights the part, and that the part lights back */
1482
+ .app-glass-say{color:inherit;text-decoration:none;border-radius:var(--radius-xs);box-shadow:inset 0 -1.5px 0 color-mix(in srgb,var(--on-surface-variant) 40%,transparent);-webkit-box-decoration-break:clone;box-decoration-break:clone;transition:background-color var(--spring-fast-effects),box-shadow var(--spring-fast-effects)}
1483
+ .app-glass-say.is-hot,.app-glass-say:hover{background:color-mix(in srgb,var(--primary) 14%,transparent);box-shadow:inset 0 -1.5px 0 var(--primary)}
1484
+ .app-glass-say:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
1485
+ /* A part: a pane of glass on the field, with the field and its streams showing through. Selection rings it (selection.md § A mark whose fill is already meaning) */
1486
+ .app-glass__field .app-glass-part{border:0;color:var(--on-surface);background:color-mix(in srgb,var(--surface-container-high) 60%,transparent);-webkit-backdrop-filter:blur(10px) saturate(140%);backdrop-filter:blur(10px) saturate(140%);box-shadow:inset 1px 1px 0 var(--glass-rim),inset 0 0 0 1px var(--glass-edge),var(--elevation-2);font:inherit;text-align:inherit;text-decoration:none;transition:outline-color var(--spring-fast-effects),box-shadow var(--spring-fast-effects)}
1487
+ .app-glass__field .app-glass-part--pill{display:inline-flex;align-items:center;gap:var(--space-8);padding:var(--space-4) var(--space-12);border-radius:var(--radius-pill);white-space:nowrap}
1488
+ .app-glass__field .app-glass-part--card{display:flex;flex-direction:column;gap:2px;padding:var(--space-12);border-radius:var(--radius-md)}
1489
+ .app-glass__field .app-glass-part--round{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--space-12);border-radius:50%;text-align:center}
1490
+ .app-glass__field :is(a,button).app-glass-part{cursor:pointer}
1491
+ .app-glass__field .app-glass-part.is-quiet{color:var(--on-surface-variant)}
1492
+ .app-glass__field .app-glass-part.is-forming{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:inset 0 0 0 1.5px var(--primary)}
1493
+ .app-glass__field .app-glass-part.is-lit{box-shadow:inset 1px 1px 0 var(--glass-rim),inset 0 0 0 1.5px var(--warning),var(--elevation-2)}
1494
+ .app-glass__field .app-glass-part.is-failed{box-shadow:inset 1px 1px 0 var(--glass-rim),inset 0 0 0 1.5px var(--error),var(--elevation-2)}
1495
+ .app-glass__field :where(.app-glass-part.is-hot,:is(a,button).app-glass-part:hover){outline:1px solid var(--primary);outline-offset:2px}
1496
+ .app-glass__field .app-glass-part.is-selected{outline:2px solid var(--on-surface);outline-offset:2px}
1497
+ .app-glass__field .app-glass-part.is-selected :where(.text-label,.text-object-title,.text-meta,.app-glass-word){font-weight:700}
1498
+ .app-glass__field .app-glass-part:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
1499
+ .app-glass-word{font-weight:600}
1500
+ .app-glass-word.is-warning{color:var(--warning)}
1501
+ .app-glass-word.is-error{color:var(--error)}
1502
+ .app-glass-word.is-live{color:var(--primary)}
1503
+ /* The drawing, in SVG on the field: hairline links, the wide band of a stream, faint guides */
1504
+ .app-glass__field .app-glass-link{fill:none;stroke:var(--outline);stroke-width:1.5;opacity:.5;transition:opacity var(--spring-fast-effects),stroke var(--spring-fast-effects)}
1505
+ .app-glass__field .app-glass-link.is-lit{stroke:var(--warning);stroke-width:2;opacity:1}
1506
+ .app-glass__field .app-glass-link.is-failed{stroke:var(--error);stroke-width:2;opacity:1}
1507
+ .app-glass__field .app-glass-link:is(.is-live,.is-hot){stroke:var(--primary);stroke-width:2;opacity:1}
1508
+ .app-glass__field .app-glass-band{fill:none;stroke:var(--surface-container-highest);stroke-width:30;stroke-linecap:round}
1509
+ .app-glass__field--peek .app-glass-band{stroke-width:12}
1510
+ .app-glass__field .app-glass-guide{fill:none;stroke:var(--outline);stroke-width:1.5;opacity:.3}
1511
+ /* Motion: only what is live moves. An event travelling a path, a change at its real progress, a part asking for a look, a theme still forming */
1512
+ .app-glass__field .app-glass-particle{position:absolute;left:0;top:0;width:7px;height:7px;border-radius:50%;background:var(--primary);opacity:0;pointer-events:none}
1513
+ .app-glass__field .app-glass-particle.is-quiet{width:5px;height:5px;background:var(--on-surface-variant)}
1514
+ .app-glass__field .app-glass-travel{position:absolute;left:0;top:0;offset-distance:var(--glass-progress,0%);offset-rotate:0deg}
1515
+ .app-glass__field .app-glass-pulse{position:absolute;width:30px;height:30px;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 2px var(--warning);opacity:0;pointer-events:none}
1516
+ .app-glass__field .app-glass-pulse.is-failed{box-shadow:0 0 0 2px var(--error)}
1517
+ @media (prefers-reduced-motion:no-preference) and (min-width:600px){
1518
+ /* --glass-phase (0 to 1) staggers particles on one path; 4s is loop-flow's own length */
1519
+ .app-glass__field.is-live .app-glass-particle{animation:app-glass-flow var(--loop-flow);animation-delay:calc(-4s * var(--glass-phase,0))}
1520
+ .app-glass__field.is-live .app-glass-travel{transition:offset-distance var(--spring-default-spatial)}
1521
+ .app-glass__field.is-live .app-glass-pulse{animation:app-glass-pulse var(--loop-pulse)}
1522
+ .app-glass__field.is-live .app-glass-part.is-forming{animation:app-breathe var(--loop-breathe)}
1523
+ }
1524
+ @keyframes app-glass-flow{0%{offset-distance:0%;opacity:0}12%{opacity:1}88%{opacity:1}100%{offset-distance:100%;opacity:0}}
1525
+ @keyframes app-glass-pulse{from{transform:translate(-50%,-50%) scale(1);opacity:.9}to{transform:translate(-50%,-50%) scale(3);opacity:0}}
1526
+ /* The Glass mark answers: the light slides along the rim as you reach for it, and the live part turns while it reads live */
1527
+ .app-glass-mark__glint,.app-glass-mark__live{transform-box:view-box;transform-origin:12px 12px;transition:transform var(--spring-default-spatial)}
1528
+ @media (prefers-reduced-motion:no-preference){
1529
+ :is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible) .app-glass-mark__glint{transform:rotate(40deg)}
1530
+ :is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible) .app-glass-mark__live{transform:rotate(-28deg)}
1531
+ .app-glass-mark.is-live .app-glass-mark__live{animation:app-spin var(--loop-orbit)}
1532
+ }
1533
+ /* The way in: a peek from the Glass view button, and one Glass line when something inside is worth a look */
1534
+ .app-glass-peek{position:fixed;z-index:40;box-sizing:border-box;width:min(400px,calc(100vw - var(--space-32)));padding:var(--space-16);border-radius:var(--radius-lg);background:var(--surface-container-high);color:var(--on-surface);box-shadow:var(--elevation-2);display:flex;flex-direction:column;gap:var(--space-12)}
1535
+ .app-glass-peek[hidden]{display:none}
1536
+ .app-glass-peek__live{display:flex;align-items:center;gap:var(--space-8);margin:0;color:var(--on-surface-variant)}
1537
+ .app-glass-peek__text{margin:0}
1538
+ .app-glass-peek__text strong{font-weight:600}
1539
+ @media (pointer:coarse){.app-glass-peek{display:none}}
1540
+ .app-glass-line{display:flex;align-items:center;gap:var(--space-12);padding:var(--space-12) var(--space-16);border-radius:var(--radius-lg);background:var(--surface-container-low);color:var(--on-surface)}
1541
+ .app-glass-line>.app-icon{flex:none}
1542
+ .app-glass-line__text{flex:1;min-width:0;margin:0}
1543
+ /* Fact · a label, the real value, and Copy where you would paste it (components/AppFact.md) */
1544
+ .app-facts{display:flex;flex-direction:column;margin:0}
1545
+ .app-fact{display:grid;grid-template-columns:minmax(0,150px) minmax(0,1fr);align-items:center;column-gap:var(--space-8);min-height:40px;border-bottom:1px solid var(--outline-variant)}
1546
+ .app-fact:last-child{border-bottom:0}
1547
+ .app-fact__label{margin:0;color:var(--on-surface-variant)}
1548
+ .app-fact__value{display:flex;align-items:center;justify-content:space-between;gap:var(--space-8);margin:0;min-width:0;color:var(--on-surface)}
1549
+ .app-fact__text{min-width:0;overflow-wrap:anywhere}
1550
+ .app-fact__text--code{font-family:var(--font-mono);font-size:13px;line-height:20px}
1551
+
1433
1552
  /* ── Drop target, while something is dragged over it ── */
1434
1553
  .drop-target{outline:2px dashed var(--primary);outline-offset:-2px;background-color:color-mix(in srgb,var(--primary) calc(var(--state-dragged) * 100%),transparent)}
1435
1554
 
@@ -1447,6 +1566,8 @@ a.app-token,button.app-token{border:0;font:inherit;font-weight:600;cursor:pointe
1447
1566
  @keyframes app-from-end{from{translate:var(--space-24) 0}}
1448
1567
  @keyframes app-from-foot{from{translate:0 100%}}
1449
1568
  @keyframes app-from-start{from{translate:calc(var(--space-24) * -1) 0}}
1569
+ @keyframes app-to-edge{to{translate:-100% 0}}
1570
+ @keyframes app-from-edge{from{translate:-100% 0}}
1450
1571
  /* Reveals: the clip opens along one axis, 40px outside the box so the deepest shadow shows, and is gone once it has played */
1451
1572
  @keyframes app-reveal-down{from{clip-path:inset(-40px -40px calc(100% + 40px) -40px)}to{clip-path:inset(-40px)}}
1452
1573
  @keyframes app-reveal-up{from{clip-path:inset(calc(100% + 40px) -40px -40px -40px)}to{clip-path:inset(-40px)}}
@@ -1531,6 +1652,8 @@ a.app-token,button.app-token{border:0;font:inherit;font-weight:600;cursor:pointe
1531
1652
  .app-shell:not(.app-shell--detail):not(.app-shell--file):not(.app-shell--file-expanded){grid-template-columns:var(--nav-width) minmax(0,1fr) 0px}
1532
1653
  .app-shell:not(.app-shell--file):not(.app-shell--file-expanded)>.app-shell__detail{min-width:var(--detail-width)}
1533
1654
  .app-shell--file,.app-shell--file-expanded{transition:none}
1655
+ /* A Glass view keeps the closed detail pane's 0px track, so the shortcut sheet still opens on the spring */
1656
+ .app-shell.app-shell--glass:not(.app-shell--detail):not(.app-shell--file):not(.app-shell--file-expanded){grid-template-columns:minmax(0,1fr) 0px}
1534
1657
  }
1535
1658
  @media (max-width:839px){
1536
1659
  .app-shell__detail{transition:translate var(--spring-default-spatial),box-shadow var(--spring-default-effects),opacity var(--spring-fast-effects)}
@@ -1551,16 +1674,25 @@ a.app-token,button.app-token{border:0;font:inherit;font-weight:600;cursor:pointe
1551
1674
  stay put. A shared view-transition-name on two elements (a tile and the file pane it opens) morphs one into the other */
1552
1675
  .app-shell__content{view-transition-name:app-content}
1553
1676
  .app-dock{view-transition-name:app-dock}
1677
+ .app-shell__nav{view-transition-name:app-nav}
1554
1678
  ::view-transition-old(root),::view-transition-new(root){animation:none}
1555
1679
  ::view-transition-group(*){animation-duration:var(--spring-default-spatial-duration);animation-timing-function:var(--spring-default-spatial-easing)}
1556
1680
  ::view-transition-old(app-content){animation:app-fade-out var(--spring-fast-effects) both}
1557
1681
  ::view-transition-new(app-content){animation:app-fade-in var(--spring-default-effects) var(--spring-fast-effects-duration) both}
1558
1682
  :root:active-view-transition-type(forward)::view-transition-new(app-content){animation:app-fade-in var(--spring-default-effects) var(--spring-fast-effects-duration) both,app-from-end var(--spring-default-spatial) var(--spring-fast-effects-duration) both}
1559
1683
  :root:active-view-transition-type(back)::view-transition-new(app-content){animation:app-fade-in var(--spring-default-effects) var(--spring-fast-effects-duration) both,app-from-start var(--spring-default-spatial) var(--spring-fast-effects-duration) both}
1684
+ /* The navigation pane changes in place, like the rest of the shell, except into and out of a Glass view: there it is on one
1685
+ side only, so it goes back over its leading edge as the content widens, and comes back the same way */
1686
+ ::view-transition-old(app-nav),::view-transition-new(app-nav){animation:none}
1687
+ ::view-transition-old(app-nav):only-child{animation:app-to-edge var(--spring-default-spatial) both}
1688
+ ::view-transition-new(app-nav):only-child{animation:app-from-edge var(--spring-default-spatial) both}
1689
+ @media (max-width:599px){::view-transition-old(app-nav):only-child{animation:app-to-edge var(--spring-slow-spatial) both}}
1560
1690
 
1561
1691
  /* Reduced motion: where a move was all there was, a fade takes its place, and what folds away waits for the fade */
1562
1692
  @media (prefers-reduced-motion:reduce){
1563
1693
  .app-shell:not(.app-shell--detail):not(.app-shell--file):not(.app-shell--file-expanded)>.app-shell__detail{opacity:0}
1694
+ ::view-transition-old(app-nav):only-child{animation:app-fade-out var(--spring-fast-effects) both}
1695
+ ::view-transition-new(app-nav):only-child{animation:app-fade-in var(--spring-default-effects) both}
1564
1696
  @starting-style{.app-shell__detail.is-arriving{opacity:0}}
1565
1697
  .app-shell:not(.app-shell--detail):not(.app-shell--file):not(.app-shell--file-expanded){transition:grid-template-columns 0s var(--spring-fast-effects-duration)}
1566
1698
  .app-shell__detail{transition:opacity var(--spring-fast-effects)}
package/classes.json CHANGED
@@ -160,6 +160,12 @@
160
160
  "app-empty-line__action",
161
161
  "app-empty__headline",
162
162
  "app-empty__line",
163
+ "app-fact",
164
+ "app-fact__label",
165
+ "app-fact__text",
166
+ "app-fact__text--code",
167
+ "app-fact__value",
168
+ "app-facts",
163
169
  "app-field",
164
170
  "app-field__box",
165
171
  "app-field__box--select",
@@ -196,6 +202,39 @@
196
202
  "app-filterrow__search",
197
203
  "app-filterrow__summary",
198
204
  "app-form",
205
+ "app-glass",
206
+ "app-glass-band",
207
+ "app-glass-guide",
208
+ "app-glass-line",
209
+ "app-glass-line__text",
210
+ "app-glass-link",
211
+ "app-glass-mark",
212
+ "app-glass-mark__glint",
213
+ "app-glass-mark__live",
214
+ "app-glass-part",
215
+ "app-glass-part--card",
216
+ "app-glass-part--pill",
217
+ "app-glass-part--round",
218
+ "app-glass-particle",
219
+ "app-glass-peek",
220
+ "app-glass-peek__live",
221
+ "app-glass-peek__text",
222
+ "app-glass-pulse",
223
+ "app-glass-reading",
224
+ "app-glass-reading__live",
225
+ "app-glass-reading__text",
226
+ "app-glass-say",
227
+ "app-glass-since",
228
+ "app-glass-travel",
229
+ "app-glass-word",
230
+ "app-glass__body",
231
+ "app-glass__field",
232
+ "app-glass__field--peek",
233
+ "app-glass__head",
234
+ "app-glass__pane",
235
+ "app-glass__section",
236
+ "app-glass__standing",
237
+ "app-glass__view",
199
238
  "app-handoff",
200
239
  "app-handoff__ask",
201
240
  "app-handoff__back",
@@ -280,6 +319,7 @@
280
319
  "app-shell--detail",
281
320
  "app-shell--file",
282
321
  "app-shell--file-expanded",
322
+ "app-shell--glass",
283
323
  "app-shell--nav-open",
284
324
  "app-shell__content",
285
325
  "app-shell__detail",
@@ -423,11 +463,15 @@
423
463
  "is-error",
424
464
  "is-failed",
425
465
  "is-folded",
466
+ "is-forming",
426
467
  "is-gone",
468
+ "is-hot",
427
469
  "is-interactive",
428
470
  "is-invalid",
429
471
  "is-latest",
430
472
  "is-leaving",
473
+ "is-lit",
474
+ "is-live",
431
475
  "is-loading",
432
476
  "is-locked",
433
477
  "is-more",
@@ -437,10 +481,12 @@
437
481
  "is-paused",
438
482
  "is-placeholder",
439
483
  "is-played",
484
+ "is-quiet",
440
485
  "is-scrolled",
441
486
  "is-selected",
442
487
  "is-settled",
443
488
  "is-swapped",
489
+ "is-warning",
444
490
  "mono",
445
491
  "mono-sm",
446
492
  "mono-xs",
@@ -464,6 +510,7 @@
464
510
  "text-on-surface",
465
511
  "text-on-surface-variant",
466
512
  "text-page-title",
513
+ "text-reading",
467
514
  "text-section-title",
468
515
  "text-selected",
469
516
  "text-supporting",
@@ -538,6 +585,9 @@
538
585
  "--field-noise",
539
586
  "--font-mono",
540
587
  "--font-sans",
588
+ "--glass-edge",
589
+ "--glass-grid",
590
+ "--glass-rim",
541
591
  "--green-700",
542
592
  "--grey-200",
543
593
  "--grey-250",
@@ -551,6 +601,8 @@
551
601
  "--loop-blink",
552
602
  "--loop-breathe",
553
603
  "--loop-dots",
604
+ "--loop-flow",
605
+ "--loop-orbit",
554
606
  "--loop-pulse",
555
607
  "--loop-shimmer",
556
608
  "--loop-spin",
@@ -0,0 +1,36 @@
1
+ # AppFact
2
+
3
+ A label, the real value, and Copy where it is something you would paste. A list of them reads a thing back.
4
+
5
+ ## Use / don't use
6
+
7
+ - **The facts of a Glass view** ([glass.md](../rules/glass.md)) and of a part opened in it, and any read-back of a thing's facts in a pane or a card: a project ID, a region, a version, a commit.
8
+ - **The real value, whole.** Never shortened to fit: a long value wraps. An ID, a commit, a command or a path is code (`app-fact__text--code`).
9
+ - **Copy** (an [AppIconButton](AppIconButton.md), `content_copy`) only where the value is one you'd paste somewhere: an ID, a commit, a command. Not for a region or a count. It turns to ✓ and "Copied" for two seconds ([buttons.md](../rules/buttons.md) § The form).
10
+ - **Not a form.** A value you change is a field ([AppTextField](AppTextField.md)); a settings read-back with an Edit per section is [page.md](../rules/page.md) § Settings read back.
11
+
12
+ ## Markup
13
+
14
+ ```html
15
+ <dl class="app-facts">
16
+ <div class="app-fact">
17
+ <dt class="app-fact__label text-meta">Google Cloud project</dt>
18
+ <dd class="app-fact__value">
19
+ <span class="app-fact__text app-fact__text--code">acme-ledger-prod</span>
20
+ <button type="button" class="app-icon-btn app-state app-target" aria-label="Copy acme-ledger-prod" title="Copy"><span class="app-icon" aria-hidden="true">content_copy</span></button>
21
+ </dd>
22
+ </div>
23
+ <div class="app-fact">
24
+ <dt class="app-fact__label text-meta">Region</dt>
25
+ <dd class="app-fact__value"><span class="app-fact__text text-label">europe-west1</span></dd>
26
+ </div>
27
+ </dl>
28
+ ```
29
+
30
+ ## Behaviour you must supply
31
+
32
+ - **Copy** writes the value exactly as shown, swaps the glyph to ✓ and the tooltip to "Copied" for two seconds, and says "Copied" to a screen reader (a polite live region).
33
+
34
+ ## Classes
35
+
36
+ `.app-facts`, `.app-fact`, `.app-fact__label`, `.app-fact__value`, `.app-fact__text`, `.app-fact__text--code`.
@@ -0,0 +1,33 @@
1
+ # AppGlassLine
2
+
3
+ One line on a thing's own screen, when something inside it is worth a look: what, in a sentence, then Glass view.
4
+
5
+ ## Use / don't use
6
+
7
+ See [glass.md](../rules/glass.md) § The way in.
8
+
9
+ - **Only when the Glass service reports something notable** for this thing: a part lit, a run failed, a change since you last looked. Otherwise it isn't there, which is why it is read when it is.
10
+ - **One per screen**, the first thing in the content under the title bar and its filter row: a statement, so `surface-container-low`, flat ([surfaces.md](../rules/surfaces.md)).
11
+ - **In the reading's own words**: the notable sentence the Glass view will lead with. Never a count, never "New", never "Something changed".
12
+ - **Its link is Glass view**, and it opens the view at the part the sentence is about.
13
+ - Not an alert: nothing failed for the person here, and it carries no status colour. A failure the person must act on is an [AppAlert](AppAlert.md).
14
+
15
+ ## Markup
16
+
17
+ ```html
18
+ <div class="app-glass-line">
19
+ <span class="app-icon app-icon--mark app-glass-mark" aria-hidden="true"><svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M20.6 12a8.6 8.6 0 1 1-17.2 0a8.6 8.6 0 1 1 17.2 0"/><path class="app-glass-mark__glint" d="M5.89 10.92A6.2 6.2 0 0 1 11.14 5.86"/><circle class="app-glass-mark__live" cx="14.4" cy="14.4" r="1.9" fill="currentColor" stroke="none"/></svg></span>
20
+ <p class="app-glass-line__text text-supporting">ledger's production is two versions behind staging.</p>
21
+ <a class="app-btn app-state app-target" href="?part=ledger">Glass view</a>
22
+ </div>
23
+ ```
24
+
25
+ ## Behaviour you must supply
26
+
27
+ - **Show it** only when the thing's Glass reading names a notable part; take it away when that part is no longer notable.
28
+ - **The link** opens the Glass view with that part open (`…/glass?part=ledger`).
29
+ - **The sentence** is the reading's own, rewritten as the state changes.
30
+
31
+ ## Classes
32
+
33
+ `.app-glass-line`, `.app-glass-line__text`, `.app-glass-mark`, `.app-glass-mark__glint`, `.app-glass-mark__live`.
@@ -0,0 +1,38 @@
1
+ # AppGlassPeek
2
+
3
+ What the Glass view would show, before you open it: the reading and a small, still picture of the inside, from the Glass view button.
4
+
5
+ ## Use / don't use
6
+
7
+ See [glass.md](../rules/glass.md) § The way in.
8
+
9
+ - **Only from the Glass view button** (and its row in a menu), on hover or keyboard focus, after the tooltip's delay ([AppTooltip](AppTooltip.md)). It replaces the button's tooltip.
10
+ - **Never on a touch screen**: there is no hover, and the button opens the view. The system hides it under `pointer: coarse`.
11
+ - **Read when it opens**, live: the reading's words, the mark turning while it reads. **The picture is still**: the field's form, small, with what's lit lit. Nothing travels in a peek.
12
+ - **Nothing to press inside it.** A click on the button opens the view; the peek closes when the pointer or focus leaves.
13
+
14
+ ## Markup
15
+
16
+ ```html
17
+ <button type="button" class="app-btn app-state app-target" aria-describedby="glass-peek"><span class="app-icon app-icon--mark app-glass-mark" aria-hidden="true"><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M20.6 12a8.6 8.6 0 1 1-17.2 0a8.6 8.6 0 1 1 17.2 0"/><path class="app-glass-mark__glint" d="M5.89 10.92A6.2 6.2 0 0 1 11.14 5.86"/><circle class="app-glass-mark__live" cx="14.4" cy="14.4" r="1.9" fill="currentColor" stroke="none"/></svg></span>Glass view</button>
18
+
19
+ <div class="app-glass-peek" id="glass-peek" role="tooltip">
20
+ <p class="app-glass-peek__live text-meta"><span class="app-glass-mark is-live" aria-hidden="true"><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M20.6 12a8.6 8.6 0 1 1-17.2 0a8.6 8.6 0 1 1 17.2 0"/><path class="app-glass-mark__glint" d="M5.89 10.92A6.2 6.2 0 0 1 11.14 5.86"/><circle class="app-glass-mark__live" cx="14.4" cy="14.4" r="1.9" fill="currentColor" stroke="none"/></svg></span>Live, read just now</p>
21
+ <p class="app-glass-peek__text text-body"><strong>ledger's production is two versions behind staging.</strong> 3 products and 9 services across dev, staging and production.</p>
22
+ <div class="app-glass__field app-glass__field--peek" aria-hidden="true">
23
+ <svg width="100%" height="100%" style="position:absolute;inset:0"><path class="app-glass-band" d="M16 48 C 80 32, 120 64, 180 48 S 280 32, 352 48"/><path class="app-glass-link is-lit" d="M180 48 S 280 32, 352 48"/></svg>
24
+ <span class="app-glass-part app-glass-part--pill is-lit text-meta" style="position:absolute;left:300px;top:48px;translate:-50% -50%"><span class="app-glass-word is-warning">waiting</span></span>
25
+ </div>
26
+ </div>
27
+ ```
28
+
29
+ ## Behaviour you must supply
30
+
31
+ - **Open** after the tooltip's delay on `pointerenter`, at once on keyboard focus; it is fixed and layered as a tooltip is, so set its `top` and `left` below the button, inside the window. **Close** on `pointerleave` (with the tooltip's grace), on blur, on Esc, and when the button is clicked.
32
+ - **Read** the thing when it opens: show the meta line and a skeleton for the reading until it arrives ([loading.md](../rules/loading.md)). Add `is-live` to its mark only while that read is live.
33
+ - **Draw the picture** from the same state as a small field (`.app-glass__field--peek`), never marked `is-live`, so it holds still; a lit part keeps its ring.
34
+ - **Touch**: don't open it; the button opens the view.
35
+
36
+ ## Classes
37
+
38
+ `.app-glass-peek`, `.app-glass-peek__live`, `.app-glass-peek__text`, `.app-glass__field--peek`, `.app-glass-mark`, `.app-glass-mark__glint`, `.app-glass-mark__live`, `.is-live`.
@@ -0,0 +1,135 @@
1
+ # AppGlassView
2
+
3
+ The live inside of one running thing of yours: a pane to read on the leading edge, a field to look at beside it. The screen behind the Glass view button.
4
+
5
+ ## Use / don't use
6
+
7
+ See [glass.md](../rules/glass.md), which says what goes where; this guide is the markup.
8
+
9
+ - **One per running thing**, at its own address, under an [AppTitleBar](AppTitleBar.md) titled "Glass view" with back naming the thing ("Back to Acme"). The bar holds no docs link: the pane's is its last line. ⋯ stays last.
10
+ - **It takes the window**: `app-shell--glass` on the [AppShell](AppShell.md) while it is open, so from 600 wide the navigation pane steps away and the view has the width ([glass.md](../rules/glass.md) § It takes the window).
11
+ - **Never for a thing with nothing running behind it.** That page is the docs.
12
+ - **`.app-glass` holds `.app-glass__body`, which holds the pane and the field.** `.app-glass` is a container: when it is 1000 or wider the pane sits at the leading edge, 420 wide and sticky, and the field takes the rest; narrower, the pane comes first and the field under it. It is the space the view has that decides, not the window, so a narrowed content area stacks too.
13
+ - **On a phone** the field is drawn smaller and still (the system stops its motion below 600), and every part with words is reached from the pane's "What you're looking at".
14
+
15
+ | Part | Holds |
16
+ |---|---|
17
+ | **Pane, whole** (`.app-glass__view`) | In this order: the reading (`.app-glass-reading`), since you last looked (`.app-glass-since`, only when something changed), the facts ([AppFact](AppFact.md)), what you're looking at (`.app-glass__section`, its sentences linked), explanation (`.app-glass__section`, free text), the docs link |
18
+ | **Pane, a part** (`.app-glass__view`, one per part with words) | Close (back to the whole), the eyebrow and name (`.app-glass__head`, the name in `text-section-title`), the standing (`.app-glass__standing`), why, what to do, facts, one outlined action |
19
+ | **Field** (`.app-glass__field`) | The drawing in one `aria-hidden` SVG (bands, links, guides), the parts placed over it, and what moves |
20
+ | **Part** (`.app-glass-part`) | Glass: `--pill` for a version or a gate, `--card` for a thing with a line under its name, `--round` for a cluster sized by count. A link (`?part=…`) when it has words |
21
+ | **Word** (`.app-glass-word`) | The standing on the field, in one or two words: `is-warning`, `is-error`, `is-live` |
22
+ | **Drawing** | `.app-glass-band` (a stream's wide band), `.app-glass-link` (a hairline: `is-lit`, `is-failed`, `is-live`, `is-hot`), `.app-glass-guide` (a faint column or ring) |
23
+ | **Motion** | `.app-glass-particle` (an event; `is-quiet` for background flow), `.app-glass-travel` (a change at its real progress), `.app-glass-pulse` (look here; `is-failed` for a failure), `is-forming` on a part |
24
+
25
+ ## Markup
26
+
27
+ ```html
28
+ <!-- In the shell's content, under the title bar ("Glass view", back named for the thing):
29
+ <div class="app-shell app-shell--glass"> keeps its navigation pane in the markup, and the CSS hides it -->
30
+ <div class="app-glass">
31
+ <div class="app-glass__body">
32
+ <div class="app-glass__pane">
33
+
34
+ <div class="app-glass__view" id="glass-whole">
35
+ <div class="app-glass-reading">
36
+ <p class="app-glass-reading__live">
37
+ <svg class="app-glass-mark is-live" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20.6 12a8.6 8.6 0 1 1-17.2 0a8.6 8.6 0 1 1 17.2 0"/><path class="app-glass-mark__glint" d="M5.89 10.92A6.2 6.2 0 0 1 11.14 5.86"/><circle class="app-glass-mark__live" cx="14.4" cy="14.4" r="1.9" fill="currentColor" stroke="none"/></svg>
38
+ <span class="text-meta">Live, read just now</span>
39
+ </p>
40
+ <p class="app-glass-reading__text text-reading"><strong><a class="app-glass-say" href="?part=ledger" data-part="ledger">ledger 1.9.0 is waiting at the production gate.</a></strong> Everything else flows from its branch to production, and <a class="app-glass-say" href="?part=web" data-part="web">web 2.4.0 is on its way to staging.</a></p>
41
+ </div>
42
+
43
+ <div class="app-glass-since">
44
+ <span class="text-eyebrow">Since Tuesday</span>
45
+ <span class="app-chip app-chip--small">4 deploys</span>
46
+ <span class="app-chip app-chip--small">ledger-export added</span>
47
+ </div>
48
+
49
+ <dl class="app-facts">
50
+ <div class="app-fact"><dt class="app-fact__label text-meta">Products</dt><dd class="app-fact__value"><span class="app-fact__text text-label">3, with 9 services</span></dd></div>
51
+ <div class="app-fact"><dt class="app-fact__label text-meta">Google Cloud project</dt><dd class="app-fact__value"><span class="app-fact__text app-fact__text--code">acme-build</span><button type="button" class="app-icon-btn app-state app-target" aria-label="Copy acme-build" title="Copy"><span class="app-icon" aria-hidden="true">content_copy</span></button></dd></div>
52
+ </dl>
53
+
54
+ <section class="app-glass__section">
55
+ <h2 class="text-eyebrow">What you're looking at</h2>
56
+ <p class="text-supporting"><a class="app-glass-say" href="?part=ledger" data-part="ledger">ledger's production</a> is two versions behind: its next version waits for release/1.9 to reach main.</p>
57
+ </section>
58
+
59
+ <section class="app-glass__section">
60
+ <h2 class="text-eyebrow">How releases reach production</h2>
61
+ <p class="text-supporting">Every product moves through the same three gates. Dev takes any branch; staging takes main and release branches; production takes only main, so nothing reaches it without being merged.</p>
62
+ </section>
63
+
64
+ <a class="app-btn app-state app-target" href="#" target="_blank" rel="noopener" aria-label="How build environments work, opens in a new tab">How build environments work<span class="app-icon app-icon--trailing" aria-hidden="true">open_in_new</span></a>
65
+ </div>
66
+
67
+ <!-- A part opened: the pane becomes it -->
68
+ <div class="app-glass__view" id="glass-part-ledger" hidden>
69
+ <button type="button" class="app-icon-btn app-state app-target" aria-label="Close ledger, back to the whole environment" title="Close" aria-keyshortcuts="Escape"><span class="app-icon" aria-hidden="true">close</span></button>
70
+ <div class="app-glass__head">
71
+ <span class="text-eyebrow">ledger · production gate</span>
72
+ <h2 class="text-section-title">1.9.0 is waiting</h2>
73
+ <span class="app-glass__standing is-warning text-label">Not in main yet</span>
74
+ </div>
75
+ <p class="text-body">Production deploys only from main. 1.9.0 was built from release/1.9, so it stops here while staging runs it.</p>
76
+ <p class="text-supporting">Merge release/1.9 into main and production takes it on its next deploy.</p>
77
+ <dl class="app-facts">
78
+ <div class="app-fact"><dt class="app-fact__label text-meta">Built from</dt><dd class="app-fact__value"><span class="app-fact__text app-fact__text--code">release/1.9 · 77ab310</span><button type="button" class="app-icon-btn app-state app-target" aria-label="Copy 77ab310" title="Copy"><span class="app-icon" aria-hidden="true">content_copy</span></button></dd></div>
79
+ <div class="app-fact"><dt class="app-fact__label text-meta">In production now</dt><dd class="app-fact__value"><span class="app-fact__text text-label">1.8.2</span></dd></div>
80
+ </dl>
81
+ <div class="app-btn-row app-btn-row--start"><button type="button" class="app-btn app-state app-target app-btn--outlined">Open ledger</button></div>
82
+ </div>
83
+ </div>
84
+
85
+ <div class="app-glass__field is-live" role="group" aria-label="Acme, drawn live">
86
+ <svg width="100%" height="100%" aria-hidden="true" style="position:absolute;inset:0">
87
+ <path class="app-glass-guide" d="M200 60V500M400 60V500M600 60V500"/>
88
+ <path class="app-glass-band" d="M60 200 C 120 170, 160 230, 200 200 S 340 170, 400 200 S 540 230, 600 200"/>
89
+ <path class="app-glass-link" d="M60 200 C 120 170, 160 230, 200 200 S 340 170, 400 200"/>
90
+ <path class="app-glass-link is-lit" d="M400 200 C 470 170, 540 230, 600 200"/>
91
+ </svg>
92
+ <span class="app-glass-part app-glass-part--pill text-label" style="position:absolute;left:200px;top:200px;translate:-50% -50%">1.9.1</span>
93
+ <span class="app-glass-part app-glass-part--pill text-label" style="position:absolute;left:400px;top:200px;translate:-50% -50%">1.9.0</span>
94
+ <span class="app-glass-part app-glass-part--pill text-label" style="position:absolute;left:600px;top:200px;translate:-50% -50%">1.8.2</span>
95
+ <span class="app-glass-pulse" style="left:530px;top:256px"></span>
96
+ <a class="app-glass-part app-glass-part--pill is-lit text-label" href="?part=ledger" data-part="ledger" style="position:absolute;left:530px;top:256px;translate:-50% -50%"><span class="app-glass-word is-warning">1.9.0 waiting</span></a>
97
+ <span class="app-glass-particle" style="offset-path:path('M60 200 C 120 170, 160 230, 200 200');--glass-phase:0"></span>
98
+ <span class="app-glass-particle" style="offset-path:path('M60 200 C 120 170, 160 230, 200 200');--glass-phase:.5"></span>
99
+ </div>
100
+ </div>
101
+ </div>
102
+ ```
103
+
104
+ ```html
105
+ <!-- A part travelling: a deploy at its real progress -->
106
+ <div class="app-glass__field is-live" style="min-height:160px" role="group" aria-label="web, deploying">
107
+ <div class="app-glass-travel" style="offset-path:path('M40 80 C 160 50, 280 110, 400 80');--glass-progress:62%">
108
+ <a class="app-glass-part app-glass-part--pill text-label" href="?part=web" data-part="web">2.4.0<span class="app-glass-word is-live text-meta">Deploying</span></a>
109
+ </div>
110
+ </div>
111
+
112
+ <!-- Clusters, one still forming -->
113
+ <div class="app-glass__field is-live" style="min-height:220px" role="group" aria-label="Themes">
114
+ <a class="app-glass-part app-glass-part--round" href="?part=handoffs" style="position:absolute;left:120px;top:110px;translate:-50% -50%;width:150px;height:150px"><span class="text-section-title">5</span><span class="text-meta">Handoffs between teams</span></a>
115
+ <a class="app-glass-part app-glass-part--round is-forming" href="?part=sprawl" style="position:absolute;left:300px;top:110px;translate:-50% -50%;width:64px;height:64px" aria-label="Tool sprawl, forming"></a>
116
+ </div>
117
+ ```
118
+
119
+ ## Behaviour you must supply
120
+
121
+ - **Taking the window.** Render the Glass view's page with `app-shell--glass` on the shell and the navigation pane still in it, and go to it through the page change, `forward` going in and `back` coming out ([motion.md](../rules/motion.md) § Changing page): the CSS carries the pane out over its leading edge and back. Keep it out of the markup and it can't come back on the spring.
122
+ - **Esc, one step at a time**: with a part open it closes the part; with none open it leaves the view, the same history step as back. Register it in your list of keys.
123
+ - **States** ([glass.md](../rules/glass.md) § States): skeleton while the first read loads, the section error if it fails, and "Read 4 min ago" with a still field when the live stream drops.
124
+ - **Live or still.** Add `is-live` to the field, and to the reading's mark, while you receive live state for the thing. Take both off when the stream drops, the run ends or the page is hidden (`visibilitychange`). Off, the field is still and every particle is gone.
125
+ - **The reading and every word** come from the state when it arrives; rewrite them as it changes. The notable sentence goes in `<strong>`.
126
+ - **Linking.** Give a part and every sentence about it the same `data-part`. On `pointerenter` or `focus` of either, add `is-hot` to all of them, and to any `.app-glass-link` you mark with that part; remove it on leave or `blur`. Every part a sentence links to has a view of its own. Explanation (free text) carries no `data-part` and no link.
127
+ - **Opening a part.** A part and its sentences are links to `?part=<name>`. Follow them in place: hide the whole view, show that part's view, add `is-selected` to the part on the field, and move focus to the part view's Close. Close and Esc reverse it and return focus to what opened it. Back in the browser does the same, since the part is in the URL.
128
+ - **Keys**: J and K move focus through the parts on the field that have words, in the order the pane first mentions them; Enter opens. With a part open, J and K open the next and previous part's view ([shortcuts.md](../rules/shortcuts.md)). Register them in your list of keys.
129
+ - **Placing**: measure the field and lay the drawing out at its size, in pixels, redrawing when it resizes; never scale a fixed drawing to fit (a `viewBox` would move the paths away from the parts). Draw bands, links and guides in one SVG with no `viewBox`, so its units are the field's pixels. Place each part with `left`, `top` and `translate`, never `transform`: the system's motion uses `transform`. A particle and a travelling part take an `offset-path` in the same pixels.
130
+ - **Particles**: one per kind of event on a path, phased with `--glass-phase` (0 to 1) so they don't bunch. Remove a path's particles when its events stop. **Travel**: set `--glass-progress` to the real progress (0% to 100%); the spring carries it there.
131
+ - **Lit**: at most three parts `is-lit` or `is-failed` at once, each with its word on the field and its sentence in the pane. A pulse sits only on a lit part, `is-failed` on a failed one.
132
+
133
+ ## Classes
134
+
135
+ `.app-shell--glass` (on the [AppShell](AppShell.md)), `.app-glass`, `.app-glass__body`, `.app-glass__pane`, `.app-glass__view`, `.app-glass__head`, `.app-glass__standing`, `.app-glass__section`, `.app-glass__field`, `.is-live`, `.app-glass-reading`, `.app-glass-reading__live`, `.app-glass-reading__text`, `.app-glass-since`, `.app-glass-say`, `.is-hot`, `.app-glass-part`, `.app-glass-part--pill`, `.app-glass-part--card`, `.app-glass-part--round`, `.is-lit`, `.is-failed`, `.is-forming`, `.is-quiet`, `.is-selected`, `.app-glass-word`, `.is-warning`, `.is-error`, `.app-glass-band`, `.app-glass-link`, `.app-glass-guide`, `.app-glass-particle`, `.app-glass-travel`, `.app-glass-pulse`, `.app-glass-mark`, `.app-glass-mark__glint`, `.app-glass-mark__live`.
@@ -9,7 +9,7 @@ An icon by name: a Material Symbol, or a capability mark when the name starts wi
9
9
  - `FILL 0` at weight 400. Filled, weight 500, only when selected.
10
10
  - Icons inherit `currentColor`. Never set a fill or a colour on the glyph itself.
11
11
  - Always beside a label, or with an accessible name of its own.
12
- - A name starting `alis_` is one of the six tools: draw a [CapabilityMark](CapabilityMark.md) in the icon box instead of the font glyph.
12
+ - A name starting `alis_` is one of the six tools or the Glass view: draw a [CapabilityMark](CapabilityMark.md) in the icon box instead of the font glyph.
13
13
  - An icon that performs an action is an [AppIconButton](AppIconButton.md).
14
14
 
15
15
  ## Markup
@@ -18,6 +18,7 @@ See [surfaces.md](../rules/surfaces.md) and [page.md](../rules/page.md).
18
18
  - **Content**: an [AppTitleBar](AppTitleBar.md), then `.app-shell__content`, which pads 24 on every side (32 below) and fills the pane, holding the filter row and the list, table or document.
19
19
  - **Detail pane** (`detail-width`, 360px): what is selected in the content, led by a detail title bar. It sits on the ground behind a divider, never on a card, and scrolls on its own. **It has a URL** (a query parameter, as search keeps `?q=`), so a refresh, a shared link and back all find it. The [AppShortcutSheet](AppShortcutSheet.md) opens in its place: the content narrows for it, or it covers an open detail pane until it closes. Below 840px it slides over the content at `elevation-3`, over a scrim.
20
20
  - **A file beside the conversation** ([AppFilePane](AppFilePane.md)) is the detail pane made wide: `app-shell--file`. From 1200 the content takes two parts and the file three; below it the file takes the content's place; `app-shell--file-expanded` does the same at any width. It never slides over at `elevation-3`. Beside the conversation it is a card with an edge, the one pane that is (a file is an object); in the content's place it is flat.
21
+ - **A Glass view takes the window** ([AppGlassView](AppGlassView.md)): `app-shell--glass`. From 600 the navigation pane steps away and the content has the width; the pane stays in the markup, so the page change carries it out over its leading edge and back ([glass.md](../rules/glass.md) § It takes the window). The shortcut sheet still opens in the detail pane's place. Never with `app-shell--file`.
21
22
  - **On a phone** (below 600px) the shell is one column: the content, under a one-row title bar ([AppTitleBar](AppTitleBar.md) § On a phone).
22
23
  - **The navigation pane fills the screen**: the same pane, brand, groups, agent chats, a contextual rail's head and foot unchanged, hidden until the title bar's menu button opens it (`app-shell--nav-open`). It lies on the ground, edge to edge inside the safe area: nothing shows behind it, so no scrim and no elevation. Its close (`.app-shell__nav-close`, "Close navigation") sits in its head beside the brand. Never a column of icons: it hid the agent chats, the place you go back to most, and left the content too little room.
23
24
  - **The detail pane covers the full width**, and its bar leads with back (`arrow_back`) instead of close: on a phone it reads as a step deeper, and the phone's own back gesture closes it.
@@ -161,4 +162,4 @@ Usage lives here, never in a title bar: it measures the account, not the screen
161
162
 
162
163
  ## Classes
163
164
 
164
- `.app-shell`, `.app-shell--detail`, `.app-shell__nav`, `.app-shell__nav-foot`, `.app-shell__main`, `.app-shell__content`, `.app-shell__detail`, `.is-arriving`; `.app-shell--nav-open`, `.app-shell__nav-close`; `.app-brand`, `.app-brand__wordmark`; `.app-nav-heading`, `.app-nav-secondary`; `.app-nav-switcher`, `.app-nav-switcher__text`, `.app-nav-switcher__kind`; `.app-account`, `.app-account__avatar`, `.app-account__text`.
165
+ `.app-shell`, `.app-shell--detail`, `.app-shell--glass`, `.app-shell__nav`, `.app-shell__nav-foot`, `.app-shell__main`, `.app-shell__content`, `.app-shell__detail`, `.is-arriving`; `.app-shell--nav-open`, `.app-shell__nav-close`; `.app-brand`, `.app-brand__wordmark`; `.app-nav-heading`, `.app-nav-secondary`; `.app-nav-switcher`, `.app-nav-switcher__text`, `.app-nav-switcher__kind`; `.app-account`, `.app-account__avatar`, `.app-account__text`.