@aitrien/motifspec 1.17.1 → 1.17.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  Every release of MotifSpec (named brand-codex until 1.10.0), newest first. Entries before 1.10.0 keep the names they were released under. Versions follow the rules in `CONVENTIONS.md`: renaming or removing a semantic token is major, adding tokens, components or icons is minor, and changing a value or fixing a description is a patch. `npm run build` fails if the version in `package.json` has no entry here.
4
4
 
5
+ ## [1.17.3] - 2026-11-04
6
+
7
+ ### Fixed
8
+ - A data table with visually hidden text in a cell no longer widens the page on a phone. The hidden text was positioned against the page instead of the table's scroll box, so it stuck out past the edge; `.cx-table` is now positioned, which keeps it inside.
9
+
10
+ ## [1.17.2] - 2026-11-04
11
+
12
+ ### Changed
13
+ - The specimen plate's caption is shorter: the plate number and what it shows (`Plate 0 | Contour survey`). Its doc now says to keep captions to that.
14
+ - The showcase says what MotifSpec is: a design system proof of concept, shown in an example brand that a real one can replace.
15
+ - The hero no longer repeats the version, token count, contrast result and font size in an accession label; the eyebrow and Checks already show them.
16
+ - Section introductions and captions are shorter.
17
+ - The motion principle matches the README again: the contour survey settles once and answers the pointer, rather than drifting behind every page.
18
+
5
19
  ## [1.17.1] - 2026-10-30
6
20
 
7
21
  ### Fixed
package/dist/codex.css CHANGED
@@ -2,7 +2,7 @@
2
2
  @font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-wght.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
3
3
  @font-face { font-family: "Yarndings 12"; src: url("../fonts/yarndings-12-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }
4
4
 
5
- /* MotifSpec 1.17.1 — generated from tokens/*.json. Do not edit.
5
+ /* MotifSpec 1.17.3 — generated from tokens/*.json. Do not edit.
6
6
  Themes: semantic colours use light-dark(); color-scheme follows the system unless
7
7
  <html data-theme="light|dark"> pins it. --cx-primitive-* are for this file only. */
8
8
  :root {
@@ -911,7 +911,7 @@ a.cx-tag:hover { border-color: var(--cx-color-accent-border); color: var(--cx-co
911
911
  .cx-callout--danger { --_border: var(--cx-color-status-danger-border); --_bg: var(--cx-color-status-danger-surface); --_title: var(--cx-color-status-danger-text); }
912
912
 
913
913
  /* ------------------------------------------------------------ data table */
914
- .cx-table { min-width: 0; overflow-x: auto; border: var(--cx-border-width-hairline) solid var(--cx-color-border-default); background: var(--cx-color-surface-raised); }
914
+ .cx-table { position: relative; min-width: 0; overflow-x: auto; border: var(--cx-border-width-hairline) solid var(--cx-color-border-default); background: var(--cx-color-surface-raised); }
915
915
  .cx-table table { width: 100%; border-collapse: collapse; font-size: var(--cx-font-size-small); line-height: var(--cx-font-line-height-ui); }
916
916
  .cx-table caption { padding: var(--cx-space-inset-sm) var(--cx-space-inset-md); text-align: left; caption-side: top; color: var(--cx-color-text-muted); font-family: var(--cx-font-family-mono); font-size: var(--cx-font-size-label); letter-spacing: var(--cx-font-tracking-label); text-transform: uppercase; border-bottom: var(--cx-border-width-hairline) solid var(--cx-color-border-subtle); }
917
917
  .cx-table th, .cx-table td { padding: var(--cx-space-inset-sm) var(--cx-space-inset-md); text-align: left; vertical-align: top; border-bottom: var(--cx-border-width-hairline) solid var(--cx-color-border-subtle); }
package/dist/tokens.css CHANGED
@@ -1,4 +1,4 @@
1
- /* MotifSpec 1.17.1 — generated from tokens/*.json. Do not edit.
1
+ /* MotifSpec 1.17.3 — generated from tokens/*.json. Do not edit.
2
2
  Themes: semantic colours use light-dark(); color-scheme follows the system unless
3
3
  <html data-theme="light|dark"> pins it. --cx-primitive-* are for this file only. */
4
4
  :root {
package/dist/tokens.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // Generated by npm run build. Do not edit.
2
- export const version = "1.17.1";
2
+ export const version = "1.17.3";
3
3
  export const changelog = "https://github.com/Aitrien/motifspec/blob/main/CHANGELOG.md";
4
4
  export const showcase = "https://motifspec.com";
5
5
  export const tokens = [
package/dist/tokens.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.17.1",
2
+ "version": "1.17.3",
3
3
  "changelog": "https://github.com/Aitrien/motifspec/blob/main/CHANGELOG.md",
4
4
  "showcase": "https://motifspec.com",
5
5
  "tokens": [
@@ -70,4 +70,5 @@ A framed table for comparing values: mono headers, hairline rows, right-aligned
70
70
 
71
71
  - The wrapper is a focusable region named by the caption, so keyboard users can scroll it.
72
72
  - Header cells use `scope`.
73
+ - Visually hidden text in a cell, such as a hidden column heading or the rest of a button's name, stays inside the scroll box, so a wide table never widens the page on a phone.
73
74
  - Pairs: `color.text.secondary` headers on `color.surface.sunken` (7:1); `color.text.primary` cells on `color.surface.raised` and `color.surface.hover` (7:1).
@@ -64,7 +64,7 @@ The build writes the plate to `dist/plate.html` (the contours at time zero) and
64
64
  <span class="cx-tooltip" aria-hidden="true"><span data-when="running">Pause animation</span><span data-when="paused">Play animation</span></span>
65
65
  </label>
66
66
  {{ (resources.Get "motifspec/plate.html").Content | safeHTML }}
67
- <figcaption>Plate 0 <span class="cx-sep" aria-hidden="true">|</span> Contour survey <span class="cx-sep" aria-hidden="true">|</span> Simplex noise, 14 levels, index every fifth</figcaption>
67
+ <figcaption>Plate 0 <span class="cx-sep" aria-hidden="true">|</span> Contour survey</figcaption>
68
68
  </figure>
69
69
  <script src="{{ (resources.Get "motifspec/plate.js" | minify | fingerprint).RelPermalink }}" defer></script>
70
70
  ```
@@ -74,7 +74,7 @@ The build writes the plate to `dist/plate.html` (the contours at time zero) and
74
74
  - Keep the survey conventions: 14 contour levels, every fifth an index contour (`color.ornament.strong`, `border.width.emphasis`), the rest hairlines in `color.ornament.rest`, over a quarter grid in `color.ornament.muted`.
75
75
  - Let each contour draw in once on load (`motion.duration.plate`, `motion.easing.enter`, staggered from the lowest line), then let the script start the drift: it eases up from rest over `motion.duration.plate`, then the terrain moves one noise unit every `motion.duration.drift`, linearly, and the lines are recomputed on every second frame.
76
76
  - Change the terrain with `data-plate-seed` (and the matching `seed` option at build time), never by editing path data.
77
- - Keep the caption factual: what it is, the method and the contour count.
77
+ - Keep the caption short: the plate number and what it shows.
78
78
 
79
79
  ## Don't
80
80
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aitrien/motifspec",
3
- "version": "1.17.1",
3
+ "version": "1.17.3",
4
4
  "description": "Liam Marshall's design system: DTCG tokens, component rules, generated CSS, Hugo templates and a rule checker.",
5
5
  "keywords": [
6
6
  "design-system",