@alis-build/design-system 0.56.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;
@@ -1523,13 +1526,7 @@ a.app-token,button.app-token{border:0;font:inherit;font-weight:600;cursor:pointe
1523
1526
  }
1524
1527
  @keyframes app-glass-flow{0%{offset-distance:0%;opacity:0}12%{opacity:1}88%{opacity:1}100%{offset-distance:100%;opacity:0}}
1525
1528
  @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
- }
1529
+ /* The Glass mark moves as every capability mark does: the Capability marks block, below */
1533
1530
  /* The way in: a peek from the Glass view button, and one Glass line when something inside is worth a look */
1534
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)}
1535
1532
  .app-glass-peek[hidden]{display:none}
@@ -1552,6 +1549,37 @@ a.app-token,button.app-token{border:0;font:inherit;font-weight:600;cursor:pointe
1552
1549
  /* ── Drop target, while something is dragged over it ── */
1553
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)}
1554
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
+
1555
1583
  /* ── Scrollbars · one treatment for the app ── */
1556
1584
  *{scrollbar-width:thin;scrollbar-color:var(--outline-variant) transparent}
1557
1585
 
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",
@@ -602,10 +614,13 @@
602
614
  "--loop-breathe",
603
615
  "--loop-dots",
604
616
  "--loop-flow",
617
+ "--loop-look",
605
618
  "--loop-orbit",
606
619
  "--loop-pulse",
607
620
  "--loop-shimmer",
621
+ "--loop-speak",
608
622
  "--loop-spin",
623
+ "--loop-trace",
609
624
  "--machine-surface",
610
625
  "--measure-prose",
611
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`.
@@ -34,7 +34,7 @@ See [glass.md](../rules/glass.md), which says what goes where; this guide is the
34
34
  <div class="app-glass__view" id="glass-whole">
35
35
  <div class="app-glass-reading">
36
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>
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>
38
38
  <span class="text-meta">Live, read just now</span>
39
39
  </p>
40
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>
@@ -132,4 +132,4 @@ See [glass.md](../rules/glass.md), which says what goes where; this guide is the
132
132
 
133
133
  ## Classes
134
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`.
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)).
@@ -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.56.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,10 +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
86
  field, the reading anywhere but first, or the navigation pane still beside it
87
- → [glass.md](glass.md).
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.
88
90
 
89
91
  ## The agent failure mode
90
92
 
package/rules/glass.md CHANGED
@@ -39,7 +39,8 @@ 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).
43
44
 
44
45
  ## It takes the window
45
46
 
@@ -116,7 +117,7 @@ meaning).
116
117
  | State | The pane | The field |
117
118
  |---|---|---|
118
119
  | **First read** | The reading, facts and sections as [AppSkeleton](../components/AppSkeleton.md) shapes, after 300ms ([loading.md](loading.md)) | The grid alone |
119
- | **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 |
120
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 |
121
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 |
122
123
 
@@ -156,7 +157,7 @@ meaning).
156
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` |
157
158
  | **A pulse** round a part | Look here | `.app-glass-pulse`, `loop-pulse` |
158
159
  | **Growing** | Still forming | `is-forming`, `loop-breathe` |
159
- | **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` |
160
161
 
161
162
  - **Nothing moves without a live cause.** All of it runs only while the field is
162
163
  `is-live`, which the product sets while it receives live state and removes when
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
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
  },