@aitrien/motifspec 1.15.0 → 1.16.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/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
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.16.0] - 2026-10-29
6
+
7
+ ### Added
8
+ - `showcase` in `package.json`, the published showcase at https://motifspec.com, also served as `showcase` in `dist/tokens.json` and `dist/tokens.js`.
9
+
10
+ ### Changed
11
+ - Site footers link the MotifSpec version to the showcase instead of the changelog: `aria-label="Version x.y.z: view the MotifSpec showcase"`, tooltip "View showcase". The showcase's own footer still links to the changelog. `site-footer.md` is updated.
12
+
13
+ ### Fixed
14
+ - "Back to top" now goes to the top. The site header had `id="top"`, and because the header is sticky, the browser scrolled to where it was stuck, which moved the page by a header's height. The header has no id now, so `#top` scrolls to the top of the document, as HTML defines for a `#top` link with no matching element.
15
+
5
16
  ## [1.15.0] - 2026-10-29
6
17
 
7
18
  ### Added
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.15.0 — generated from tokens/*.json. Do not edit.
5
+ /* MotifSpec 1.16.0 — 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 {
package/dist/tokens.css CHANGED
@@ -1,4 +1,4 @@
1
- /* MotifSpec 1.15.0 — generated from tokens/*.json. Do not edit.
1
+ /* MotifSpec 1.16.0 — 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,6 +1,7 @@
1
1
  // Generated by npm run build. Do not edit.
2
- export const version = "1.15.0";
2
+ export const version = "1.16.0";
3
3
  export const changelog = "https://github.com/Aitrien/motifspec/blob/main/CHANGELOG.md";
4
+ export const showcase = "https://motifspec.com";
4
5
  export const tokens = [
5
6
  {
6
7
  "name": "primitive.border.width.1",
package/dist/tokens.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
- "version": "1.15.0",
2
+ "version": "1.16.0",
3
3
  "changelog": "https://github.com/Aitrien/motifspec/blob/main/CHANGELOG.md",
4
+ "showcase": "https://motifspec.com",
4
5
  "tokens": [
5
6
  {
6
7
  "name": "primitive.border.width.1",
@@ -70,7 +70,7 @@ The closing band of every page: a knitted ornament band, grouped links, a coloph
70
70
  <div class="cx-container">
71
71
  <div class="cx-footer__base">
72
72
  <span>© 2026 Liam Marshall</span>
73
- <a class="cx-version" href="https://github.com/Aitrien/motifspec/blob/main/CHANGELOG.md" aria-label="Version 1.6.0: view changelog">MotifSpec v1.6.0<svg class="cx-icon cx-icon--sm" aria-hidden="true" focusable="false"><use href="#cx-icon-arrow-outward"></use></svg><span class="cx-tooltip cx-tooltip--above" aria-hidden="true">View changelog</span></a>
73
+ <a class="cx-version" href="https://motifspec.com" aria-label="Version 1.16.0: view the MotifSpec showcase">MotifSpec v1.16.0<svg class="cx-icon cx-icon--sm" aria-hidden="true" focusable="false"><use href="#cx-icon-arrow-outward"></use></svg><span class="cx-tooltip cx-tooltip--above" aria-hidden="true">View showcase</span></a>
74
74
  <a href="#top">Back to top<svg class="cx-icon cx-icon--sm" aria-hidden="true" focusable="false"><use href="#cx-icon-arrow-upward"></use></svg></a>
75
75
  </div>
76
76
  </div>
@@ -83,7 +83,8 @@ The closing band of every page: a knitted ornament band, grouped links, a coloph
83
83
  - Keep two to four columns; the grid wraps on its own.
84
84
  - Use the footer band as the page's single ornament when the page has no other.
85
85
  - On a backdrop page, let the footer sit on the frost: `cx-backdrop-page` removes its raised surface, and the bottom fade starts above it.
86
- - Put the MotifSpec version in the base row on sites that consume it, as a `cx-version` link to the changelog (`changelog` in `package.json`, also served in `dist/tokens.json`). Its tooltip opens above (`cx-tooltip--above`) because it sits at the bottom of the page.
86
+ - Put the MotifSpec version in the base row on sites that consume it, as a `cx-version` link to the showcase (`showcase` in `package.json`, also served in `dist/tokens.json`). The showcase's own footer links its version to the changelog instead. Its tooltip opens above (`cx-tooltip--above`) because it sits at the bottom of the page.
87
+ - Point "Back to top" at `#top` and give no element that id. With no `#top` element, the browser scrolls to the top of the document; an id on the sticky header would leave the page where it is, because a stuck header is already in view.
87
88
 
88
89
  ## Don't
89
90
 
@@ -1,6 +1,6 @@
1
1
  {{- /* site-header.md. A child page marks its section (a post marks Writing). The backdrop pause control ships hidden;
2
2
  dist/plate.js reveals it when the backdrop starts to drift. */ -}}
3
- <header class="cx-header" id="top">
3
+ <header class="cx-header">
4
4
  <div class="cx-container cx-header__inner">
5
5
  <a class="cx-wordmark" href="{{ site.Home.RelPermalink }}">{{ site.Title }} <span class="cx-wordmark__role">{{ site.Params.role }}</span></a>
6
6
  <div class="cx-header__end">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aitrien/motifspec",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
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",
@@ -18,6 +18,7 @@
18
18
  "url": "git+https://github.com/Aitrien/motifspec.git"
19
19
  },
20
20
  "changelog": "https://github.com/Aitrien/motifspec/blob/main/CHANGELOG.md",
21
+ "showcase": "https://motifspec.com",
21
22
  "publishConfig": {
22
23
  "access": "public"
23
24
  },