@aitrien/motifspec 1.18.1 → 1.20.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.
Files changed (69) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +90 -72
  3. package/dist/backdrop-side.html +1 -0
  4. package/dist/codex.css +236 -2
  5. package/dist/codex.js +176 -1
  6. package/dist/plate.js +4 -4
  7. package/dist/tokens.css +5 -1
  8. package/dist/tokens.js +21 -1
  9. package/dist/tokens.json +21 -1
  10. package/docs/components/_template.md +2 -1
  11. package/docs/components/accession-label.md +2 -1
  12. package/docs/components/backdrop.md +20 -8
  13. package/docs/components/button-and-link.md +2 -2
  14. package/docs/components/callout.md +1 -1
  15. package/docs/components/code-block.md +1 -1
  16. package/docs/components/component-preview.md +68 -0
  17. package/docs/components/data-table.md +2 -2
  18. package/docs/components/disclosure.md +1 -1
  19. package/docs/components/docs-shell.md +126 -0
  20. package/docs/components/figure.md +2 -1
  21. package/docs/components/heading-anchor.md +1 -1
  22. package/docs/components/icon.md +5 -1
  23. package/docs/components/keyboard-key.md +1 -1
  24. package/docs/components/ornament.md +3 -2
  25. package/docs/components/page-actions.md +56 -0
  26. package/docs/components/page-footer.md +67 -0
  27. package/docs/components/pagination.md +2 -1
  28. package/docs/components/post-list-item.md +1 -1
  29. package/docs/components/project-card.md +1 -1
  30. package/docs/components/prose.md +2 -1
  31. package/docs/components/search.md +117 -0
  32. package/docs/components/site-footer.md +3 -3
  33. package/docs/components/site-header.md +22 -1
  34. package/docs/components/specimen-plate.md +2 -2
  35. package/docs/components/status.md +2 -1
  36. package/docs/components/steps.md +70 -0
  37. package/docs/components/table-of-contents.md +1 -1
  38. package/docs/components/tabs.md +81 -0
  39. package/docs/components/tag.md +1 -1
  40. package/docs/components/token-table.md +96 -0
  41. package/docs/components/tooltip.md +1 -1
  42. package/docs/hugo.md +72 -4
  43. package/docs/layouts/a-la-carte.md +1 -0
  44. package/docs/layouts/dashboard.md +2 -0
  45. package/docs/layouts/documentation.md +8 -8
  46. package/docs/layouts/portfolio.md +2 -0
  47. package/docs/syntax-highlighting.md +1 -0
  48. package/layouts/_markup/render-blockquote.html +1 -1
  49. package/layouts/_markup/render-codeblock.html +18 -3
  50. package/layouts/_markup/render-heading.html +1 -1
  51. package/layouts/_markup/render-image.html +5 -4
  52. package/layouts/_markup/render-link.html +1 -1
  53. package/layouts/_markup/render-table.html +3 -2
  54. package/layouts/_partials/motifspec/article.html +13 -8
  55. package/layouts/_partials/motifspec/body-start.html +8 -4
  56. package/layouts/_partials/motifspec/docs-nav.html +31 -0
  57. package/layouts/_partials/motifspec/page-actions.html +8 -0
  58. package/layouts/_partials/motifspec/page-footer.html +27 -0
  59. package/layouts/_partials/motifspec/pagination-docs.html +37 -0
  60. package/layouts/_partials/motifspec/search.html +18 -0
  61. package/layouts/_partials/motifspec/site-header.html +11 -2
  62. package/layouts/_partials/motifspec/table-of-contents.html +1 -1
  63. package/layouts/home.markdown.md +7 -0
  64. package/layouts/page.markdown.md +7 -0
  65. package/layouts/section.markdown.md +7 -0
  66. package/package.json +7 -4
  67. package/scripts/check.mjs +16 -19
  68. package/scripts/lib.mjs +40 -2
  69. package/tokens/color.json +13 -0
package/tokens/color.json CHANGED
@@ -1930,6 +1930,19 @@
1930
1930
  "hover": {
1931
1931
  "$value": "{primitive.color.amount.1}",
1932
1932
  "$description": "Share of color.text.primary mixed into a transparent hover background, in percent: header controls on the frosted backdrop, where a solid color.surface.hover would match the frost. Not for controls on a plain surface."
1933
+ },
1934
+ "scrim": {
1935
+ "$value": "{primitive.color.amount.3}",
1936
+ "$description": "Share of color.scrim in the scrim behind a modal dialog such as search, in percent: the page recedes but stays recognisable. Only in ::backdrop."
1937
+ }
1938
+ },
1939
+ "scrim": {
1940
+ "$value": "{primitive.color.ash.1000}",
1941
+ "$description": "The colour behind a modal dialog such as search, mixed in at color.wash.scrim, so the page recedes in both themes. Only in ::backdrop.",
1942
+ "$extensions": {
1943
+ "codex.modes": {
1944
+ "dark": "{primitive.color.ash.1000}"
1945
+ }
1933
1946
  }
1934
1947
  }
1935
1948
  }