@alis-build/design-system 0.55.0 → 0.57.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,7 +85,7 @@ 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.motion`, `refused.glass`, `refused.glassMotion`,
88
+ `refused.literalColour`, `refused.blend`, `refused.motion`, `refused.glass`, `refused.glassMotion`, `refused.markMotion`,
89
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
 
package/alisx.css CHANGED
@@ -182,6 +182,9 @@
182
182
  --loop-breathe: 3.2s ease-in-out infinite alternate;
183
183
  --loop-orbit: 3.2s linear infinite;
184
184
  --loop-flow: 4s linear infinite;
185
+ --loop-look: 5s ease-in-out infinite;
186
+ --loop-speak: 1.3s ease-in-out infinite;
187
+ --loop-trace: 2.2s linear infinite;
185
188
  --loop-blink: 1.1s steps(1) infinite;
186
189
  --state-hover: 0.04;
187
190
  --state-focus: 0.04;
@@ -767,6 +770,13 @@ a.app-row,a.app-card{text-decoration:none}
767
770
  .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}
768
771
  .app-file-pane{display:flex;flex-direction:column;gap:0;min-width:0;min-height:0;background:var(--background)}
769
772
  .app-shell__detail>.app-file-pane{flex:1}
773
+
774
+ /* ── Glass view · the view takes the window (rules/glass.md § It takes the window): from 600 the navigation pane steps away.
775
+ It stays in the markup, so the page change can carry it out over its leading edge and back (§ Changing page, below) ── */
776
+ .app-shell--glass>.app-shell__nav{display:none}
777
+ .app-shell.app-shell--glass{grid-template-columns:minmax(0,1fr)}
778
+ .app-shell.app-shell--glass.app-shell--detail{grid-template-columns:minmax(0,1fr) var(--detail-width)}
779
+ @media (max-width:839px){.app-shell.app-shell--glass.app-shell--detail{grid-template-columns:minmax(0,1fr)}}
770
780
  .app-file-pane__bar{flex:none;display:flex;align-items:center;gap:var(--space-8);min-height:64px;padding:var(--space-12)}
771
781
  .app-file-pane__name{flex:1;min-width:0;display:flex;flex-direction:column}
772
782
  .app-file-pane__name>*{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@@ -1516,13 +1526,7 @@ a.app-token,button.app-token{border:0;font:inherit;font-weight:600;cursor:pointe
1516
1526
  }
1517
1527
  @keyframes app-glass-flow{0%{offset-distance:0%;opacity:0}12%{opacity:1}88%{opacity:1}100%{offset-distance:100%;opacity:0}}
1518
1528
  @keyframes app-glass-pulse{from{transform:translate(-50%,-50%) scale(1);opacity:.9}to{transform:translate(-50%,-50%) scale(3);opacity:0}}
1519
- /* The Glass mark answers: the light slides along the rim as you reach for it, and the live part turns while it reads live */
1520
- .app-glass-mark__glint,.app-glass-mark__live{transform-box:view-box;transform-origin:12px 12px;transition:transform var(--spring-default-spatial)}
1521
- @media (prefers-reduced-motion:no-preference){
1522
- :is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible) .app-glass-mark__glint{transform:rotate(40deg)}
1523
- :is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible) .app-glass-mark__live{transform:rotate(-28deg)}
1524
- .app-glass-mark.is-live .app-glass-mark__live{animation:app-spin var(--loop-orbit)}
1525
- }
1529
+ /* The Glass mark moves as every capability mark does: the Capability marks block, below */
1526
1530
  /* The way in: a peek from the Glass view button, and one Glass line when something inside is worth a look */
1527
1531
  .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)}
1528
1532
  .app-glass-peek[hidden]{display:none}
@@ -1545,6 +1549,37 @@ a.app-token,button.app-token{border:0;font:inherit;font-weight:600;cursor:pointe
1545
1549
  /* ── Drop target, while something is dragged over it ── */
1546
1550
  .drop-target{outline:2px dashed var(--primary);outline-offset:-2px;background-color:color-mix(in srgb,var(--primary) calc(var(--state-dragged) * 100%),transparent)}
1547
1551
 
1552
+ /* ── Capability marks · how a mark moves (rules/icons.md § How a mark moves). Reach: one move, then still, while the button,
1553
+ link, menu row or navigation row holding the mark is hovered or focused. Live: a loop, only while the product marks the
1554
+ mark is-live, and never on Projects or Artifacts, which have nothing that runs. All of it is drawn here, from the classes
1555
+ marks.json names; a site never animates a mark. Under reduced motion nothing moves ── */
1556
+ .app-mark :is(.app-mark__glint,.app-mark__arc,.app-mark__line,.app-mark__cloud,.app-mark__prompt,.app-mark__dot){transform-box:view-box;transform-origin:12px 12px;transition:transform var(--spring-default-spatial)}
1557
+ .app-mark .app-mark__piece{transform-box:fill-box;transform-origin:center;transition:transform var(--spring-default-spatial)}
1558
+ .app-mark .app-mark__piece~.app-mark__piece,.app-mark--environments .app-mark__dot{transition-delay:60ms}
1559
+ .app-mark--interviews .app-mark__line{transform-origin:8.8px 6.8px}
1560
+ @media (prefers-reduced-motion:no-preference){
1561
+ /* The Skill store's dot runs its loop: a path from where it sits, round both lobes and back, so it starts and ends in place */
1562
+ .app-mark--skills .app-mark__dot{transform-box:fill-box;transform-origin:center;offset-anchor:center;offset-rotate:0deg;offset-path:path('M15.16 14.52C16.4 15.66 17.6 16.5 18.5 16.5A4.5 4.5 0 0 0 18.5 7.5C15.5 7.5 8.5 16.5 5.5 16.5A4.5 4.5 0 0 1 5.5 7.5C6.55 7.5 8.09 8.6 9.78 10.04L15.16 14.52')}
1563
+ :is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--glass .app-mark__glint{transform:rotate(40deg)}
1564
+ :is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--glass .app-mark__dot{transform:rotate(-28deg)}
1565
+ :is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--projects .app-mark__arc{transform:rotate(60deg)}
1566
+ :is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--interviews .app-mark__dot{transform:translate(1.4px,5.2px)}
1567
+ :is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--artifacts .app-mark__piece{transform:rotate(90deg)}
1568
+ :is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--skills .app-mark__dot{animation:app-mark-round calc(var(--spring-default-spatial-duration) * 2) var(--spring-slow-spatial-easing) both}
1569
+ :is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--environments :is(.app-mark__cloud,.app-mark__dot){transform:translateY(-1.6px)}
1570
+ :is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--workstations .app-mark__prompt{transform:translateX(1.5px)}
1571
+ .app-mark--glass.is-live .app-mark__dot{animation:app-mark-look var(--loop-look)}
1572
+ .app-mark--interviews.is-live .app-mark__line{animation:app-mark-speak var(--loop-speak)}
1573
+ .app-mark--skills.is-live .app-mark__dot{animation:app-mark-round var(--loop-orbit)}
1574
+ .app-mark--environments.is-live .app-mark__cloud{stroke-dasharray:44.63 5;animation:app-mark-trace var(--loop-trace)}
1575
+ .app-mark--workstations.is-live .app-mark__dot{animation:app-dot var(--loop-blink)}
1576
+ }
1577
+ @keyframes app-mark-round{from{offset-distance:0%}to{offset-distance:100%}}
1578
+ @keyframes app-mark-look{0%,100%{transform:translate(0,0)}20%{transform:translate(-3.2px,-.6px)}40%{transform:translate(-2.4px,-3.4px)}60%{transform:translate(.4px,-4px)}80%{transform:translate(.6px,-1px)}}
1579
+ @keyframes app-mark-speak{0%,100%{transform:scaleX(1)}25%{transform:scaleX(.55)}50%{transform:scaleX(.85)}75%{transform:scaleX(.4)}}
1580
+ /* 49.63 is the cloud's length in the mark's own units, so the gap is the same at every size */
1581
+ @keyframes app-mark-trace{to{stroke-dashoffset:-49.63}}
1582
+
1548
1583
  /* ── Scrollbars · one treatment for the app ── */
1549
1584
  *{scrollbar-width:thin;scrollbar-color:var(--outline-variant) transparent}
1550
1585
 
@@ -1559,6 +1594,8 @@ a.app-token,button.app-token{border:0;font:inherit;font-weight:600;cursor:pointe
1559
1594
  @keyframes app-from-end{from{translate:var(--space-24) 0}}
1560
1595
  @keyframes app-from-foot{from{translate:0 100%}}
1561
1596
  @keyframes app-from-start{from{translate:calc(var(--space-24) * -1) 0}}
1597
+ @keyframes app-to-edge{to{translate:-100% 0}}
1598
+ @keyframes app-from-edge{from{translate:-100% 0}}
1562
1599
  /* Reveals: the clip opens along one axis, 40px outside the box so the deepest shadow shows, and is gone once it has played */
1563
1600
  @keyframes app-reveal-down{from{clip-path:inset(-40px -40px calc(100% + 40px) -40px)}to{clip-path:inset(-40px)}}
1564
1601
  @keyframes app-reveal-up{from{clip-path:inset(calc(100% + 40px) -40px -40px -40px)}to{clip-path:inset(-40px)}}
@@ -1643,6 +1680,8 @@ a.app-token,button.app-token{border:0;font:inherit;font-weight:600;cursor:pointe
1643
1680
  .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}
1644
1681
  .app-shell:not(.app-shell--file):not(.app-shell--file-expanded)>.app-shell__detail{min-width:var(--detail-width)}
1645
1682
  .app-shell--file,.app-shell--file-expanded{transition:none}
1683
+ /* A Glass view keeps the closed detail pane's 0px track, so the shortcut sheet still opens on the spring */
1684
+ .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}
1646
1685
  }
1647
1686
  @media (max-width:839px){
1648
1687
  .app-shell__detail{transition:translate var(--spring-default-spatial),box-shadow var(--spring-default-effects),opacity var(--spring-fast-effects)}
@@ -1663,16 +1702,25 @@ a.app-token,button.app-token{border:0;font:inherit;font-weight:600;cursor:pointe
1663
1702
  stay put. A shared view-transition-name on two elements (a tile and the file pane it opens) morphs one into the other */
1664
1703
  .app-shell__content{view-transition-name:app-content}
1665
1704
  .app-dock{view-transition-name:app-dock}
1705
+ .app-shell__nav{view-transition-name:app-nav}
1666
1706
  ::view-transition-old(root),::view-transition-new(root){animation:none}
1667
1707
  ::view-transition-group(*){animation-duration:var(--spring-default-spatial-duration);animation-timing-function:var(--spring-default-spatial-easing)}
1668
1708
  ::view-transition-old(app-content){animation:app-fade-out var(--spring-fast-effects) both}
1669
1709
  ::view-transition-new(app-content){animation:app-fade-in var(--spring-default-effects) var(--spring-fast-effects-duration) both}
1670
1710
  :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}
1671
1711
  :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}
1712
+ /* 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
1713
+ side only, so it goes back over its leading edge as the content widens, and comes back the same way */
1714
+ ::view-transition-old(app-nav),::view-transition-new(app-nav){animation:none}
1715
+ ::view-transition-old(app-nav):only-child{animation:app-to-edge var(--spring-default-spatial) both}
1716
+ ::view-transition-new(app-nav):only-child{animation:app-from-edge var(--spring-default-spatial) both}
1717
+ @media (max-width:599px){::view-transition-old(app-nav):only-child{animation:app-to-edge var(--spring-slow-spatial) both}}
1672
1718
 
1673
1719
  /* Reduced motion: where a move was all there was, a fade takes its place, and what folds away waits for the fade */
1674
1720
  @media (prefers-reduced-motion:reduce){
1675
1721
  .app-shell:not(.app-shell--detail):not(.app-shell--file):not(.app-shell--file-expanded)>.app-shell__detail{opacity:0}
1722
+ ::view-transition-old(app-nav):only-child{animation:app-fade-out var(--spring-fast-effects) both}
1723
+ ::view-transition-new(app-nav):only-child{animation:app-fade-in var(--spring-default-effects) both}
1676
1724
  @starting-style{.app-shell__detail.is-arriving{opacity:0}}
1677
1725
  .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)}
1678
1726
  .app-shell__detail{transition:opacity var(--spring-fast-effects)}
package/classes.json CHANGED
@@ -208,9 +208,6 @@
208
208
  "app-glass-line",
209
209
  "app-glass-line__text",
210
210
  "app-glass-link",
211
- "app-glass-mark",
212
- "app-glass-mark__glint",
213
- "app-glass-mark__live",
214
211
  "app-glass-part",
215
212
  "app-glass-part--card",
216
213
  "app-glass-part--pill",
@@ -270,6 +267,21 @@
270
267
  "app-loader",
271
268
  "app-loader--line",
272
269
  "app-machine",
270
+ "app-mark",
271
+ "app-mark--artifacts",
272
+ "app-mark--environments",
273
+ "app-mark--glass",
274
+ "app-mark--interviews",
275
+ "app-mark--projects",
276
+ "app-mark--skills",
277
+ "app-mark--workstations",
278
+ "app-mark__arc",
279
+ "app-mark__cloud",
280
+ "app-mark__dot",
281
+ "app-mark__glint",
282
+ "app-mark__line",
283
+ "app-mark__piece",
284
+ "app-mark__prompt",
273
285
  "app-menu",
274
286
  "app-menu--above",
275
287
  "app-menu--suggest",
@@ -319,6 +331,7 @@
319
331
  "app-shell--detail",
320
332
  "app-shell--file",
321
333
  "app-shell--file-expanded",
334
+ "app-shell--glass",
322
335
  "app-shell--nav-open",
323
336
  "app-shell__content",
324
337
  "app-shell__detail",
@@ -601,10 +614,13 @@
601
614
  "--loop-breathe",
602
615
  "--loop-dots",
603
616
  "--loop-flow",
617
+ "--loop-look",
604
618
  "--loop-orbit",
605
619
  "--loop-pulse",
606
620
  "--loop-shimmer",
621
+ "--loop-speak",
607
622
  "--loop-spin",
623
+ "--loop-trace",
608
624
  "--machine-surface",
609
625
  "--measure-prose",
610
626
  "--mist-100",
@@ -16,7 +16,7 @@ See [glass.md](../rules/glass.md) § The way in.
16
16
 
17
17
  ```html
18
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>
19
+ <span class="app-icon app-icon--mark" aria-hidden="true"><svg class="app-mark app-mark--glass" 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-mark__glint" d="M5.89 10.92A6.2 6.2 0 0 1 11.14 5.86"/><circle class="app-mark__dot" cx="14.4" cy="14.4" r="1.9" fill="currentColor" stroke="none"/></svg></span>
20
20
  <p class="app-glass-line__text text-supporting">ledger's production is two versions behind staging.</p>
21
21
  <a class="app-btn app-state app-target" href="?part=ledger">Glass view</a>
22
22
  </div>
@@ -30,4 +30,4 @@ See [glass.md](../rules/glass.md) § The way in.
30
30
 
31
31
  ## Classes
32
32
 
33
- `.app-glass-line`, `.app-glass-line__text`, `.app-glass-mark`, `.app-glass-mark__glint`, `.app-glass-mark__live`.
33
+ `.app-glass-line`, `.app-glass-line__text`, `.app-mark`, `.app-mark--glass`, `.app-mark__glint`, `.app-mark__dot` ([CapabilityMark](CapabilityMark.md)).
@@ -14,10 +14,10 @@ See [glass.md](../rules/glass.md) § The way in.
14
14
  ## Markup
15
15
 
16
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>
17
+ <button type="button" class="app-btn app-state app-target" aria-describedby="glass-peek"><span class="app-icon app-icon--mark" aria-hidden="true"><svg class="app-mark app-mark--glass" 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-mark__glint" d="M5.89 10.92A6.2 6.2 0 0 1 11.14 5.86"/><circle class="app-mark__dot" cx="14.4" cy="14.4" r="1.9" fill="currentColor" stroke="none"/></svg></span>Glass view</button>
18
18
 
19
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>
20
+ <p class="app-glass-peek__live text-meta"><svg class="app-mark app-mark--glass is-live" aria-hidden="true" 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-mark__glint" d="M5.89 10.92A6.2 6.2 0 0 1 11.14 5.86"/><circle class="app-mark__dot" cx="14.4" cy="14.4" r="1.9" fill="currentColor" stroke="none"/></svg>Live, read just now</p>
21
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
22
  <div class="app-glass__field app-glass__field--peek" aria-hidden="true">
23
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>
@@ -35,4 +35,4 @@ See [glass.md](../rules/glass.md) § The way in.
35
35
 
36
36
  ## Classes
37
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`.
38
+ `.app-glass-peek`, `.app-glass-peek__live`, `.app-glass-peek__text`, `.app-glass__field--peek`, `.app-mark`, `.app-mark--glass`, `.app-mark__glint`, `.app-mark__dot` ([CapabilityMark](CapabilityMark.md)), `.is-live`.
@@ -7,6 +7,7 @@ The live inside of one running thing of yours: a pane to read on the leading edg
7
7
  See [glass.md](../rules/glass.md), which says what goes where; this guide is the markup.
8
8
 
9
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).
10
11
  - **Never for a thing with nothing running behind it.** That page is the docs.
11
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.
12
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".
@@ -24,6 +25,8 @@ See [glass.md](../rules/glass.md), which says what goes where; this guide is the
24
25
  ## Markup
25
26
 
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 -->
27
30
  <div class="app-glass">
28
31
  <div class="app-glass__body">
29
32
  <div class="app-glass__pane">
@@ -31,7 +34,7 @@ See [glass.md](../rules/glass.md), which says what goes where; this guide is the
31
34
  <div class="app-glass__view" id="glass-whole">
32
35
  <div class="app-glass-reading">
33
36
  <p class="app-glass-reading__live">
34
- <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>
37
+ <svg class="app-mark app-mark--glass 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-mark__glint" d="M5.89 10.92A6.2 6.2 0 0 1 11.14 5.86"/><circle class="app-mark__dot" cx="14.4" cy="14.4" r="1.9" fill="currentColor" stroke="none"/></svg>
35
38
  <span class="text-meta">Live, read just now</span>
36
39
  </p>
37
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>
@@ -115,6 +118,8 @@ See [glass.md](../rules/glass.md), which says what goes where; this guide is the
115
118
 
116
119
  ## Behaviour you must supply
117
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.
118
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.
119
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.
120
125
  - **The reading and every word** come from the state when it arrives; rewrite them as it changes. The notable sentence goes in `<strong>`.
@@ -127,4 +132,4 @@ See [glass.md](../rules/glass.md), which says what goes where; this guide is the
127
132
 
128
133
  ## Classes
129
134
 
130
- `.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`.
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-mark`, `.app-mark--glass`, `.app-mark__glint`, `.app-mark__dot` ([CapabilityMark](CapabilityMark.md)).
@@ -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`.
@@ -12,7 +12,7 @@ See [icons.md](../rules/icons.md). Both registers.
12
12
  - **Monochrome**, in `currentColor`; the surface supplies any tone. Never `signal` red: red is *Alis is on it*, not a tool.
13
13
  - **Size, don't scale the stroke.** The stroke is graded from the rendered size. All seven hold at 16px.
14
14
  - **Always named**, by the tool's name, unless visible text sits beside it.
15
- - Never recompose, rotate, mirror, fill or box the geometry. The Glass mark's glint and dot are turned by the system alone (`motion`, below); a site never animates a mark.
15
+ - Never recompose, rotate, mirror, fill or box the geometry. **Every mark moves, and only as the system draws it** (`motion`, below): one move when you reach for it, a loop while what it stands for is live. A site never animates a mark.
16
16
  - **Construction**: `0 0 24 24`, open round strokes, and **exactly one solid dot**: the live element, you or your work in motion. The Skill store loop passes over itself: one diagonal is cut into two stubs, and the dot caps the lower stub. Emit its five paths as they are; merging them into one path loses the over-under.
17
17
 
18
18
  ## Markup
@@ -20,12 +20,12 @@ See [icons.md](../rules/icons.md). Both registers.
20
20
  Build each mark from its `marks.json` entry: one `<path>` per `strokes` item, then the dot. Here is `alis_environments` at 24px, named:
21
21
 
22
22
  ```html
23
- <svg viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor"
23
+ <svg class="app-mark app-mark--environments" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor"
24
24
  stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"
25
25
  role="img" aria-label="Build environments" style="display:block;flex:none">
26
26
  <title>Build environments</title>
27
- <path d="M7.2 18.4h9.2a3.9 3.9 0 0 0 .5-7.77 5.4 5.4 0 0 0-10.3-1.5A3.94 3.94 0 0 0 7.2 18.4Z"/>
28
- <circle cx="11.8" cy="12.15" r="1.9" fill="currentColor" stroke="none"/>
27
+ <path class="app-mark__cloud" d="M7.2 18.4h9.2a3.9 3.9 0 0 0 .5-7.77 5.4 5.4 0 0 0-10.3-1.5A3.94 3.94 0 0 0 7.2 18.4Z"/>
28
+ <circle class="app-mark__dot" cx="11.8" cy="12.15" r="1.9" fill="currentColor" stroke="none"/>
29
29
  </svg>
30
30
  ```
31
31
 
@@ -48,7 +48,7 @@ The SVG is yours to emit. From `marks.json` (shipped in the package):
48
48
  | `circles[]` (if present) | one open `<circle cx cy r="circleR"/>` each (`circleR` 2.1 from `construction`) |
49
49
  | `dot` | last: `<circle cx cy r fill="currentColor" stroke="none"/>`, `r` = the mark's `dotR`, else `construction.dotR` (1.9). `alis_artifacts` uses 1.4. |
50
50
  | `label` | `aria-label` and `<title>` when named |
51
- | `motion` (`alis_glass` only) | `class="app-glass-mark"` on the `<svg>`, `app-glass-mark__glint` on the stroke at index `glint`, `app-glass-mark__live` on the dot. The system moves them: the glint slides along the rim when its button or row is hovered or focused, and the dot turns while the mark has `is-live` ([glass.md](../rules/glass.md) § Motion). Add `is-live` only while what it watches is read live |
51
+ | `motion` | `className` on the `<svg>`, each `strokeClasses` class on the stroke at that index, `dotClass` on the dot. The system moves them ([icons.md](../rules/icons.md) § How a mark moves): once when the button, link, menu row or navigation row holding the mark is hovered or focused, and in a loop while the `<svg>` has `is-live`. Add `is-live` only where `live` is `true`, and only while what the mark stands for is running and the words beside it say so |
52
52
 
53
53
  **Stroke grade** (`construction.strokeGrade`), by rendered size, never scaled with a transform:
54
54
 
@@ -62,4 +62,4 @@ Set `width` and `height` to the size; keep `viewBox="0 0 24 24"`.
62
62
 
63
63
  ## Classes
64
64
 
65
- None of its own, except the Glass mark's motion: `.app-glass-mark`, `.app-glass-mark__glint`, `.app-glass-mark__live`, `.is-live`. As an icon: `.app-icon`, `.app-icon--mark`, `.app-icon--24`.
65
+ The motion's, emitted from `marks.json`: `.app-mark`, `.app-mark--glass`, `.app-mark--projects`, `.app-mark--interviews`, `.app-mark--artifacts`, `.app-mark--skills`, `.app-mark--environments`, `.app-mark--workstations`, `.app-mark__dot`, `.app-mark__glint`, `.app-mark__arc`, `.app-mark__line`, `.app-mark__piece`, `.app-mark__cloud`, `.app-mark__prompt`, `.is-live`. As an icon: `.app-icon`, `.app-icon--mark`, `.app-icon--24`.
package/marks.json CHANGED
@@ -15,14 +15,16 @@
15
15
  "label": "Ideate projects",
16
16
  "tone": "ideate",
17
17
  "dot": [12, 12],
18
- "strokes": ["M12 3.8A8.2 8.2 0 0 1 18.28 17.27", "M16.1 19.1A8.2 8.2 0 0 1 4.3 14.8", "M3.8 12A8.2 8.2 0 0 1 9.2 4.3"]
18
+ "strokes": ["M12 3.8A8.2 8.2 0 0 1 18.28 17.27", "M16.1 19.1A8.2 8.2 0 0 1 4.3 14.8", "M3.8 12A8.2 8.2 0 0 1 9.2 4.3"],
19
+ "motion": { "className": "app-mark app-mark--projects", "strokeClasses": { "0": "app-mark__arc", "1": "app-mark__arc", "2": "app-mark__arc" }, "dotClass": "app-mark__dot", "live": false }
19
20
  },
20
21
  {
21
22
  "name": "alis_interviews",
22
23
  "label": "Ideate interviews",
23
24
  "tone": "ideate",
24
25
  "dot": [5.2, 6.8],
25
- "strokes": ["M8.8 6.8h6.2", "M10.2 12h8.6", "M5.2 17.2h6.2"]
26
+ "strokes": ["M8.8 6.8h6.2", "M10.2 12h8.6", "M5.2 17.2h6.2"],
27
+ "motion": { "className": "app-mark app-mark--interviews", "strokeClasses": { "0": "app-mark__line" }, "dotClass": "app-mark__dot", "live": true }
26
28
  },
27
29
  {
28
30
  "name": "alis_artifacts",
@@ -30,28 +32,32 @@
30
32
  "tone": "ideate",
31
33
  "dot": [17.3, 17.3],
32
34
  "dotR": 1.4,
33
- "strokes": ["M10.15 6.7a3.45 3.45 0 1 1-6.9 0a3.45 3.45 0 1 1 6.9 0", "M14 10A6.6 6.6 0 0 1 20.6 3.4V10Z", "M3.4 20.6A6.6 6.6 0 0 1 10 14v6.6Z", "M14 14h6.6v6.6H14Z"]
35
+ "strokes": ["M10.15 6.7a3.45 3.45 0 1 1-6.9 0a3.45 3.45 0 1 1 6.9 0", "M14 10A6.6 6.6 0 0 1 20.6 3.4V10Z", "M3.4 20.6A6.6 6.6 0 0 1 10 14v6.6Z", "M14 14h6.6v6.6H14Z"],
36
+ "motion": { "className": "app-mark app-mark--artifacts", "strokeClasses": { "1": "app-mark__piece", "2": "app-mark__piece" }, "dotClass": "app-mark__dot", "live": false }
34
37
  },
35
38
  {
36
39
  "name": "alis_skills",
37
40
  "label": "Skill store",
38
41
  "tone": "forge",
39
42
  "dot": [15.16, 14.52],
40
- "strokes": ["M18.5 7.5C15.5 7.5 8.5 16.5 5.5 16.5", "M5.5 16.5A4.5 4.5 0 0 1 5.5 7.5", "M18.5 16.5A4.5 4.5 0 0 0 18.5 7.5", "M5.5 7.5C6.55 7.5 8.09 8.6 9.78 10.04", "M18.5 16.5C17.6 16.5 16.4 15.66 15.16 14.52"]
43
+ "strokes": ["M18.5 7.5C15.5 7.5 8.5 16.5 5.5 16.5", "M5.5 16.5A4.5 4.5 0 0 1 5.5 7.5", "M18.5 16.5A4.5 4.5 0 0 0 18.5 7.5", "M5.5 7.5C6.55 7.5 8.09 8.6 9.78 10.04", "M18.5 16.5C17.6 16.5 16.4 15.66 15.16 14.52"],
44
+ "motion": { "className": "app-mark app-mark--skills", "strokeClasses": {}, "dotClass": "app-mark__dot", "live": true }
41
45
  },
42
46
  {
43
47
  "name": "alis_environments",
44
48
  "label": "Build environments",
45
49
  "tone": "build",
46
50
  "dot": [11.8, 12.15],
47
- "strokes": ["M7.2 18.4h9.2a3.9 3.9 0 0 0 .5-7.77 5.4 5.4 0 0 0-10.3-1.5A3.94 3.94 0 0 0 7.2 18.4Z"]
51
+ "strokes": ["M7.2 18.4h9.2a3.9 3.9 0 0 0 .5-7.77 5.4 5.4 0 0 0-10.3-1.5A3.94 3.94 0 0 0 7.2 18.4Z"],
52
+ "motion": { "className": "app-mark app-mark--environments", "strokeClasses": { "0": "app-mark__cloud" }, "dotClass": "app-mark__dot", "live": true }
48
53
  },
49
54
  {
50
55
  "name": "alis_workstations",
51
56
  "label": "Remote workstations",
52
57
  "tone": "build",
53
58
  "dot": [14.2, 12],
54
- "strokes": ["M6 5h12a3.2 3.2 0 0 1 3.2 3.2v7.6A3.2 3.2 0 0 1 18 19H6a3.2 3.2 0 0 1-3.2-3.2V8.2A3.2 3.2 0 0 1 6 5Z", "M7.6 9.6 10 12 7.6 14.4"]
59
+ "strokes": ["M6 5h12a3.2 3.2 0 0 1 3.2 3.2v7.6A3.2 3.2 0 0 1 18 19H6a3.2 3.2 0 0 1-3.2-3.2V8.2A3.2 3.2 0 0 1 6 5Z", "M7.6 9.6 10 12 7.6 14.4"],
60
+ "motion": { "className": "app-mark app-mark--workstations", "strokeClasses": { "1": "app-mark__prompt" }, "dotClass": "app-mark__dot", "live": true }
55
61
  },
56
62
  {
57
63
  "name": "alis_glass",
@@ -60,7 +66,7 @@
60
66
  "sees": true,
61
67
  "dot": [14.4, 14.4],
62
68
  "strokes": ["M20.6 12a8.6 8.6 0 1 1-17.2 0a8.6 8.6 0 1 1 17.2 0", "M5.89 10.92A6.2 6.2 0 0 1 11.14 5.86"],
63
- "motion": { "className": "app-glass-mark", "glint": 1, "glintClass": "app-glass-mark__glint", "dotClass": "app-glass-mark__live" }
69
+ "motion": { "className": "app-mark app-mark--glass", "strokeClasses": { "1": "app-mark__glint" }, "dotClass": "app-mark__dot", "live": true }
64
70
  }
65
71
  ]
66
72
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alis-build/design-system",
3
- "version": "0.55.0",
3
+ "version": "0.57.0",
4
4
  "description": "The AlisX design system for coding agents: tokens, product CSS, component markup, capability marks, words and rules.",
5
5
  "keywords": ["alisx", "design-system", "design-tokens", "css"],
6
6
  "homepage": "https://alisx.com",
@@ -81,9 +81,12 @@ Eight questions, about a minute. **Run this before handing work back.**
81
81
  screen (concepts, how-it-works steps, conventions, a gotchas list) → C5: it is
82
82
  the docs; link it. A page called a Glass view that reads nothing of yours is
83
83
  the docs too; a Glass view's pane may explain freely ([glass.md](glass.md)).
84
- 8. **On a Glass view: does everything that moves have a live cause?** Motion with
84
+ 8. **Does everything that moves have a live cause?** On a Glass view: motion with
85
85
  nothing live behind it, more than three parts lit, a reason floating on the
86
- field, or the reading anywhere but first → [glass.md](glass.md).
86
+ field, the reading anywhere but first, or the navigation pane still beside it
87
+ → [glass.md](glass.md). A capability mark `is-live` with nothing running, or
88
+ with no words beside it saying what is → [icons.md](icons.md) § How a mark
89
+ moves.
87
90
 
88
91
  ## The agent failure mode
89
92
 
package/rules/glass.md CHANGED
@@ -39,7 +39,33 @@ opens is the docs, whatever it is called.
39
39
  words. At most one per screen. Most days it is not there, so it is read when it
40
40
  is.
41
41
  4. **The mark answers**: as you reach for the button the light slides along its
42
- rim, and while what it watches is running its live part turns (§ Motion).
42
+ rim, and while what it watches is running its live part looks about inside the
43
+ lens (§ Motion).
44
+
45
+ ## It takes the window
46
+
47
+ **From 600 wide a Glass view takes the window**: the navigation pane steps away
48
+ (`app-shell--glass`, [AppShell](../components/AppShell.md)). Opening a Glass view
49
+ is leaning in on one thing, not moving between places, and the field needs the
50
+ room: beside the navigation pane it would have about 520 at 1280.
51
+
52
+ - **It goes and comes back on the page change**: the navigation pane goes back
53
+ over its leading edge as the view widens into its place, and leaving brings it
54
+ back the same way ([motion.md](motion.md) § Changing page).
55
+ - **The title bar stays**: "Glass view", back leading and named for the thing
56
+ ("Back to Acme"). It is the way out.
57
+ - **Esc goes one step at a time**: it closes an open part, and with none open it
58
+ leaves the view, as back does.
59
+ - **Its address holds it** (`…/glass`, a part as `?part=`), so a refresh, a
60
+ shared link and the browser's back all land where they should, and leaving
61
+ returns to the thing as you left it ([page.md](page.md) § Where back goes).
62
+ - **It is a screen, not a full-size view**: back leads, not Close, because you
63
+ went into it ([page.md](page.md) § A full-size view).
64
+ - **The shortcut sheet** opens beside it as on any screen; the view narrows for
65
+ it.
66
+ - **On a phone** the screen is the content alone already, so nothing steps away.
67
+ - **Never a column of icons in the pane's place**: it keeps chrome the view has
68
+ no use for and still takes the field's room.
43
69
 
44
70
  ## The view: a pane to read, a field to look at
45
71
 
@@ -80,8 +106,8 @@ Select a part and **the pane becomes that part**: Close leads (the whole view is
80
106
  still behind it, [page.md](page.md) § Close or back), then the thing and where it is
81
107
  (eyebrow), its value or name (`text-section-title`: the bar keeps the page title),
82
108
  its standing in a word or two in its status ink, why it is like this, what to do,
83
- its facts, one outlined action, and a docs link where one helps. Back or Esc
84
- returns to the whole. The selected part keeps its ring on the field, so the eye
109
+ its facts, one outlined action, and a docs link where one helps. Close, the
110
+ browser's back or Esc returns to the whole. The selected part keeps its ring on the field, so the eye
85
111
  knows what the words are about: a 2px `on-surface` ring, hover 1px `primary`,
86
112
  focus 2px `primary` ([selection.md](selection.md) § A mark whose fill is already
87
113
  meaning).
@@ -91,7 +117,7 @@ meaning).
91
117
  | State | The pane | The field |
92
118
  |---|---|---|
93
119
  | **First read** | The reading, facts and sections as [AppSkeleton](../components/AppSkeleton.md) shapes, after 300ms ([loading.md](loading.md)) | The grid alone |
94
- | **Live** | "Live, read just now", the mark turning (`is-live`) | `is-live`: what moves, moves |
120
+ | **Live** | "Live, read just now", the mark live (`is-live`) | `is-live`: what moves, moves |
95
121
  | **Not live** (the stream dropped, the run ended, the page was hidden) | "Read 4 min ago" in the same place, the mark still; the reading stays as it was read | Still; particles gone, parts where they last were |
96
122
  | **Couldn't read** | The section error in the reading's place ([errors.md](errors.md)): "Couldn't read Acme. Try again." | The grid alone |
97
123
 
@@ -131,7 +157,7 @@ meaning).
131
157
  | **A part travelling** to its place | A change in progress, at its real progress | `.app-glass-travel`, its distance the progress, on `spring-default-spatial` |
132
158
  | **A pulse** round a part | Look here | `.app-glass-pulse`, `loop-pulse` |
133
159
  | **Growing** | Still forming | `is-forming`, `loop-breathe` |
134
- | **The mark's live part turning** | This view is reading something running | `.app-glass-mark.is-live`, `loop-orbit` |
160
+ | **The mark's live part looking about** | This view is reading something running | `is-live` on the mark ([icons.md](icons.md) § How a mark moves), `loop-look` |
135
161
 
136
162
  - **Nothing moves without a live cause.** All of it runs only while the field is
137
163
  `is-live`, which the product sets while it receives live state and removes when
@@ -149,7 +175,8 @@ meaning).
149
175
  - **Every part with words is a link** to its view (`?part=…`), and so is every
150
176
  sentence about it. J and K move focus through those parts on the field, in the
151
177
  order the pane first mentions them; Enter opens one; with a part open, J and K
152
- open the next and previous part's view; Esc closes it ([shortcuts.md](shortcuts.md)).
178
+ open the next and previous part's view; Esc closes it, and with no part open Esc
179
+ leaves the view ([shortcuts.md](shortcuts.md)).
153
180
  - **The pane is the field's text equivalent**: every lit part has a sentence, and
154
181
  the drawing itself (bands, links, guides, particles) is `aria-hidden`.
155
182
  - **Values are real and copy in one click**: names, versions, IDs, commands.
@@ -166,6 +193,7 @@ the glass, the mark and the motion, never a dark ground of its own.
166
193
  - A Glass view of a thing with nothing running behind it.
167
194
  - Motion with no live cause, or more than three parts lit at once.
168
195
  - A reason card floating on the field: the reason is in the pane.
196
+ - A Glass view beside the navigation pane, or with a column of icons in its place.
169
197
  - Glass anywhere but on a Glass view's field.
170
198
 
171
199
  ## What checks it
@@ -184,4 +212,5 @@ the glass, the mark and the motion, never a dark ground of its own.
184
212
  label is common English, so it is advice only, and the review's to catch.
185
213
  - **At hand-back**: [anti-patterns.md](anti-patterns.md) § Smell test, question 8,
186
214
  covers what no check can see: a Glass view of a thing with nothing running, the
187
- reading not first, a reason floating on the field.
215
+ reading not first, a reason floating on the field, the navigation pane still
216
+ beside it.
package/rules/icons.md CHANGED
@@ -54,6 +54,39 @@ icons, not brand marks: each names its tool wherever a symbol would.
54
54
  - **A selected mark does not change.** It has no filled form, so its row carries
55
55
  selection through the fill and the label's weight ([selection.md](selection.md)).
56
56
 
57
+ ### How a mark moves
58
+
59
+ **Every mark answers a reach once, and moves on its own only while what it stands
60
+ for is live.** Both are drawn by the system from the classes `marks.json` names
61
+ ([CapabilityMark](../components/CapabilityMark.md)); a site emits the classes and
62
+ never animates a mark.
63
+
64
+ | Mark | Reach: once, then still | Live: only while it runs |
65
+ | --- | --- | --- |
66
+ | `alis_projects` | The arcs turn a step | None: nothing in a project runs |
67
+ | `alis_interviews` | The dot passes down a line, the turn going to the next speaker | Someone is answering now: the first line talks (`loop-speak`) |
68
+ | `alis_artifacts` | The two quarter pieces turn over | None: nothing in an artifact runs |
69
+ | `alis_skills` | The dot runs the loop once and comes back to its place | A skill is in use: the dot keeps running it (`loop-orbit`) |
70
+ | `alis_environments` | The cloud floats up, the dot just behind | Deploying: a gap runs round the cloud's edge (`loop-trace`) |
71
+ | `alis_workstations` | The prompt nudges forward | The workstation is on: the cursor blinks (`loop-blink`) |
72
+ | `alis_glass` | The light slides along the rim | The view reads something running: the live part looks about inside the lens (`loop-look`) |
73
+
74
+ - **Reach** is the button, link, menu row or navigation row holding the mark,
75
+ hovered, or focused from the keyboard. It is one move on the springs, and it
76
+ settles back when you leave. At rest nothing in a navigation pane moves.
77
+ - **Live** is `is-live` on the mark, set by the product while the thing it stands
78
+ for is running and taken off the moment it stops. **Never as decoration**, and
79
+ never on Projects or Artifacts. **Never the only sign**: the words beside the
80
+ mark say the same ("On", "Deploying", "Live, read just now"), so a person who
81
+ can't see the motion loses nothing.
82
+ - **In a navigation pane** a destination's mark is live only while its row says
83
+ what is running there.
84
+ - **Reduced motion: nothing moves**, reach included.
85
+ - **What checks it**: the motion is scoped to the classes, and the style check
86
+ refuses a site running a mark's keyframes (`refused.markMotion`) or restyling an
87
+ `.app-mark` class ([styling.md](styling.md)). An `is-live` with nothing running
88
+ is the review's to catch: [anti-patterns.md](anti-patterns.md) § Smell test.
89
+
57
90
  ## Auxiliary areas
58
91
 
59
92
  Activity is `monitoring` and Support is `support`. An auxiliary group of
package/rules/motion.md CHANGED
@@ -93,9 +93,12 @@ on every screen.
93
93
  | `loop-dots` | 1.2s | The working dots, the Alis mark's loader, the recording dot |
94
94
  | `loop-pulse` | 1.6s | Something live or running: a live dot, a running state |
95
95
  | `loop-breathe` | 3.2s, there and back | A large, calm glow: the composer's light, the voice orb; a Glass theme still forming |
96
- | `loop-orbit` | 3.2s, even | The Glass mark's live part turning while a Glass view reads live |
96
+ | `loop-orbit` | 3.2s, even | A capability mark's dot going round its path while live: the Skill store's |
97
97
  | `loop-flow` | 4s, even | A particle on a Glass view's field: an event happening now |
98
- | `loop-blink` | 1.1s, on and off | The red cursor |
98
+ | `loop-look` | 5s, there and back | The Glass mark's live part looking about while a Glass view reads live |
99
+ | `loop-speak` | 1.3s | The Interviews mark's first line talking while someone answers |
100
+ | `loop-trace` | 2.2s, even | A gap running round the Environments mark's cloud while it deploys |
101
+ | `loop-blink` | 1.1s, on and off | The red cursor; the Workstations mark's cursor while a workstation is on |
99
102
 
100
103
  **On a Glass view, motion means something is live** and nothing else: a particle
101
104
  is an event happening now, a part travelling is a change at its real progress, a
@@ -126,6 +129,7 @@ needs nothing from the site.
126
129
  | A list that changes | A row that arrives opens its space and is tinted for a moment; one that leaves folds away | `is-arriving` on a row that arrives while the list is open; `is-leaving`, then remove it once it has gone ([AppListRow](../components/AppListRow.md)) |
127
130
  | The detail pane | Comes in from the right while the content narrows; slides over the content below 840, and on a phone, where it fills the screen, on the slow spring | Open it with `is-arriving` on the pane; to close, drop `app-shell--detail`, then remove the pane once it has gone ([AppShell](../components/AppShell.md)) |
128
131
  | The phone's navigation pane | Comes in from the left on slow spatial | Nothing |
132
+ | The navigation pane, into a Glass view | Goes back over its leading edge as the content widens, and comes back the same way on leaving | `app-shell--glass` on the Glass view's page, changed to through § Changing page ([AppGlassView](../components/AppGlassView.md)) |
129
133
  | Changing page | The content fades out, then in; forward it comes 24px from the end, back from the start | Run the route change in a view transition (below) |
130
134
 
131
135
  `is-arriving` is for what arrives while someone is watching. Never on what a page
@@ -157,8 +161,10 @@ the move turns round from where it is.
157
161
  ## Changing page
158
162
 
159
163
  The browser's view transitions do it. `.app-shell__content` is named
160
- `app-content` and `.app-dock` is named `app-dock`; the rest of the shell, the title
161
- bar included, changes in place. Give no other element those names.
164
+ `app-content`, `.app-dock` is named `app-dock` and `.app-shell__nav` is named
165
+ `app-nav`; the rest of the shell, the title bar included, changes in place, and so
166
+ does the navigation pane, except into and out of a Glass view, where it goes over
167
+ its edge and back. Give no other element those names.
162
168
 
163
169
  ```js
164
170
  // type: 'forward' going deeper (a list to one of its things), 'back' returning to
package/rules/page.md CHANGED
@@ -116,6 +116,8 @@ or a video, a diagram, a document, a field expanded to edit at length.
116
116
  ("Collapse") leads instead of close, and what was typed stays.
117
117
  - **A file Alis made** opens beside the conversation instead
118
118
  ([AppFilePane](../components/AppFilePane.md)), and expands from there.
119
+ - **A Glass view** takes the window too, but it is a screen you went into, at its
120
+ own address: back leads, not Close ([glass.md](glass.md) § It takes the window).
119
121
 
120
122
  ## Where back goes
121
123
 
@@ -69,7 +69,7 @@ nothing here is left out, not dimmed.
69
69
  | Keys | Does |
70
70
  | --- | --- |
71
71
  | ? | Opens or closes the sheet |
72
- | Esc | Closes what is open (a menu, a dialog, the sheet). In a field it does the field's own job first (clears a search's query, closes a `/` or `@` band, cancels a rename), and otherwise leaves the field. One step at a time: an expanded file goes back beside the conversation before it closes. Inside a page's frame (AppFilePane) keys are the page's, so Esc doesn't reach the app; the pane's bar still works |
72
+ | Esc | Closes what is open (a menu, a dialog, the sheet). In a field it does the field's own job first (clears a search's query, closes a `/` or `@` band, cancels a rename), and otherwise leaves the field. One step at a time: an expanded file goes back beside the conversation before it closes, and a Glass view closes an open part before Esc leaves the view. Inside a page's frame (AppFilePane) keys are the page's, so Esc doesn't reach the app; the pane's bar still works |
73
73
  | / | Puts you in the screen's search field |
74
74
  | ⌘ K | Reserved for finding anything across the product ([known-gaps.md](known-gaps.md)); bind nothing to it |
75
75
 
package/stylelint.mjs CHANGED
@@ -104,6 +104,14 @@ export const refused = {
104
104
  values: [/\bapp-glass-[\w-]+/],
105
105
  message: `The Glass keyframes are the system's: a particle, a pulse or a forming part moves only on a live Glass field (rules/glass.md § Motion).`,
106
106
  },
107
+ markMotion: {
108
+ // A capability mark answers a reach once and loops only while live, and the
109
+ // system draws both from the classes marks.json names: a site never runs a
110
+ // mark's keyframes on its own, so no mark moves without its cause.
111
+ properties: '/^animation(?:-name)?$/',
112
+ values: [/\bapp-mark-[\w-]+/],
113
+ message: `A mark's keyframes are the system's: a capability mark moves when you reach for it and while what it stands for is live, never on a site's own say (rules/icons.md § How a mark moves).`,
114
+ },
107
115
  spacing: {
108
116
  properties: '/^(?:(?:margin|padding|scroll-margin|scroll-padding)(?:-|$)|(?:grid-)?(?:row-|column-)?gap$)/',
109
117
  values: [literalLength, unknownSpace],
package/tokens.css CHANGED
@@ -182,6 +182,9 @@
182
182
  --loop-breathe: 3.2s ease-in-out infinite alternate;
183
183
  --loop-orbit: 3.2s linear infinite;
184
184
  --loop-flow: 4s linear infinite;
185
+ --loop-look: 5s ease-in-out infinite;
186
+ --loop-speak: 1.3s ease-in-out infinite;
187
+ --loop-trace: 2.2s linear infinite;
185
188
  --loop-blink: 1.1s steps(1) infinite;
186
189
  --state-hover: 0.04;
187
190
  --state-focus: 0.04;
package/tokens.json CHANGED
@@ -1663,17 +1663,32 @@
1663
1663
  {
1664
1664
  "name": "loop-orbit",
1665
1665
  "value": "3.2s linear infinite",
1666
- "usage": "The Glass mark's live part turning, while a Glass view reads something running."
1666
+ "usage": "A capability mark's dot going round its path while live: the Skill store's dot running its loop."
1667
1667
  },
1668
1668
  {
1669
1669
  "name": "loop-flow",
1670
1670
  "value": "4s linear infinite",
1671
1671
  "usage": "A particle travelling a path on a Glass view's field: an event happening now."
1672
1672
  },
1673
+ {
1674
+ "name": "loop-look",
1675
+ "value": "5s ease-in-out infinite",
1676
+ "usage": "The Glass mark's live part looking about inside the lens, while a Glass view reads something running."
1677
+ },
1678
+ {
1679
+ "name": "loop-speak",
1680
+ "value": "1.3s ease-in-out infinite",
1681
+ "usage": "The Interviews mark's first line talking, while someone is answering."
1682
+ },
1683
+ {
1684
+ "name": "loop-trace",
1685
+ "value": "2.2s linear infinite",
1686
+ "usage": "A gap running round the Environments mark's cloud, while an environment deploys."
1687
+ },
1673
1688
  {
1674
1689
  "name": "loop-blink",
1675
1690
  "value": "1.1s steps(1) infinite",
1676
- "usage": "The red cursor."
1691
+ "usage": "The red cursor; the Workstations mark's cursor while a workstation is on."
1677
1692
  }
1678
1693
  ]
1679
1694
  },