@aitrien/motifspec 1.17.2 → 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,11 @@
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
+
5
10
  ## [1.17.2] - 2026-11-04
6
11
 
7
12
  ### Changed
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.2 — 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.2 — 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.2";
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.2",
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).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aitrien/motifspec",
3
- "version": "1.17.2",
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",