@aitrien/motifspec 1.19.0 → 1.20.1
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 +33 -0
- package/README.md +89 -70
- package/dist/codex.css +56 -3
- package/dist/codex.js +1 -1
- package/dist/tokens.css +1 -1
- package/dist/tokens.js +1 -1
- package/dist/tokens.json +1 -1
- package/docs/components/_template.md +1 -0
- package/docs/components/accession-label.md +1 -0
- package/docs/components/backdrop.md +5 -5
- package/docs/components/docs-shell.md +2 -1
- package/docs/components/figure.md +1 -0
- package/docs/components/ornament.md +2 -1
- package/docs/components/page-footer.md +24 -5
- package/docs/components/prose.md +1 -0
- package/docs/components/site-footer.md +2 -2
- package/docs/components/specimen-plate.md +1 -1
- package/docs/components/status.md +1 -0
- package/docs/components/token-table.md +96 -0
- package/docs/foundations/colour.md +19 -0
- package/docs/foundations/icons.md +13 -0
- package/docs/foundations/motion.md +14 -0
- package/docs/foundations/ornaments.md +21 -0
- package/docs/foundations/space-and-size.md +26 -0
- package/docs/foundations/type.md +22 -0
- package/docs/hugo.md +9 -5
- package/docs/layouts/a-la-carte.md +1 -0
- package/docs/layouts/dashboard.md +2 -0
- package/docs/layouts/documentation.md +7 -4
- package/docs/layouts/portfolio.md +2 -0
- package/docs/reference/checker-rules.md +13 -0
- package/docs/reference/contrast.md +18 -0
- package/docs/reference/tokens.md +14 -0
- package/docs/syntax-highlighting.md +1 -0
- package/layouts/_markup/render-blockquote.html +1 -1
- package/layouts/_markup/render-image.html +5 -4
- package/layouts/_markup/render-link.html +1 -1
- package/layouts/_markup/render-table.html +3 -2
- package/layouts/_partials/motifspec/article.html +12 -7
- package/layouts/_partials/motifspec/body-start.html +5 -4
- package/layouts/_partials/motifspec/docs-nav.html +2 -2
- package/layouts/_partials/motifspec/page-footer.html +32 -11
- package/layouts/_partials/motifspec/site-header.html +1 -1
- package/package.json +6 -4
- package/scripts/lib.mjs +1 -0
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<nav class="cx-nav" aria-label="Main">
|
|
13
13
|
<ul>
|
|
14
14
|
{{- range site.Menus.main }}
|
|
15
|
-
<li><a href="{{ .URL }}"{{ if eq $.Section .Identifier }} aria-current="page"{{ end }}>{{ .Name }}{{ if hasPrefix .URL "http" }}<svg class="cx-icon cx-icon--sm" aria-hidden="true" focusable="false"><use href="#cx-icon-arrow-outward"></use></svg>{{ end }}</a></li>
|
|
15
|
+
<li><a href="{{ .URL }}"{{ if and .Identifier (eq $.Section .Identifier) }} aria-current="page"{{ end }}>{{ .Name }}{{ if hasPrefix .URL "http" }}<svg class="cx-icon cx-icon--sm" aria-hidden="true" focusable="false"><use href="#cx-icon-arrow-outward"></use></svg>{{ end }}</a></li>
|
|
16
16
|
{{- end }}
|
|
17
17
|
</ul>
|
|
18
18
|
</nav>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aitrien/motifspec",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.1",
|
|
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",
|
|
@@ -24,8 +24,6 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
"dist",
|
|
27
|
-
"!dist/showcase.html",
|
|
28
|
-
"!dist/showcase.standalone.html",
|
|
29
27
|
"tokens",
|
|
30
28
|
"docs",
|
|
31
29
|
"fonts",
|
|
@@ -65,7 +63,10 @@
|
|
|
65
63
|
"release:check": "node scripts/release.mjs",
|
|
66
64
|
"pack:check": "node scripts/pack-check.mjs",
|
|
67
65
|
"test:mcp": "node --test mcp/test.mjs",
|
|
68
|
-
"mcp:bundle": "node mcp/build.mjs"
|
|
66
|
+
"mcp:bundle": "node mcp/build.mjs",
|
|
67
|
+
"docs": "node scripts/docs.mjs",
|
|
68
|
+
"docs:check": "node scripts/check.mjs site",
|
|
69
|
+
"docs:quality": "node scripts/docs-quality.mjs"
|
|
69
70
|
},
|
|
70
71
|
"engines": {
|
|
71
72
|
"node": ">=20"
|
|
@@ -73,6 +74,7 @@
|
|
|
73
74
|
"devDependencies": {
|
|
74
75
|
"@modelcontextprotocol/sdk": "1.32.2",
|
|
75
76
|
"esbuild": "0.28.2",
|
|
77
|
+
"pagefind": "1.5.0",
|
|
76
78
|
"zod": "4.6.7"
|
|
77
79
|
}
|
|
78
80
|
}
|
package/scripts/lib.mjs
CHANGED
|
@@ -274,4 +274,5 @@ export const DOC_SELECTORS = {
|
|
|
274
274
|
'component-preview': ['.cx-preview', '.cx-preview-body'],
|
|
275
275
|
'steps': ['.cx-steps'],
|
|
276
276
|
'tabs': ['.cx-tabs'],
|
|
277
|
+
'token-table': ['.cx-token-table', '.cx-swatch', '.cx-palette', '.cx-token-sample', '.cx-token-bar', '.cx-pair-sample'],
|
|
277
278
|
};
|