mote.css 0.10.0 → 0.10.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 CHANGED
@@ -5,6 +5,42 @@ All notable changes to this project are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.10.1] - 2026-10-24
9
+
10
+ ### Fixed
11
+
12
+ - **Narrow `.mote-doc` layouts keep landmark order**: the collapsed shell no
13
+ longer places the footer before `main` when guide and context rails are
14
+ present.
15
+ - **`.mote-table-scroll` expands on paper**: the optional components file
16
+ now owns its print override, so loading it can no longer undo the core
17
+ print behavior.
18
+ - **`.mote-skip-link` reveals on any focus**: programmatic focus now gets
19
+ the same fixed skip-link pill as keyboard focus, removing a focus-modality
20
+ dependency from the accessibility helper and regression fixture.
21
+
22
+ ### Changed (tests — round-8 findings)
23
+
24
+ - The regression fixture now selects an active screen or print-specific
25
+ assertion suite, rebuilds its results on media changes, and self-checks both
26
+ paper helpers and printable table expansion.
27
+
28
+ ### Changed (docs — round-8 findings)
29
+
30
+ - Document-layout guidance now states that the collapsed shell preserves
31
+ source order, distinguishes `main` overflow from table-wrapper overflow,
32
+ and calls out the body-level gutter.
33
+ - Header guidance now includes a narrow-screen recipe that gives the nav its
34
+ own row when the brand and pushed controls leave too little room.
35
+ - The helper map now includes print helpers and a right-rail TOC recipe.
36
+
37
+ ### Evaluation
38
+
39
+ - Eighth round: ten independent agents built ten new page types against
40
+ v0.10.0. All ten would use mote again and kept page-level horizontal
41
+ overflow at zero; the round exposed the collapsed document-order and
42
+ cross-file print defects fixed in this release.
43
+
8
44
  ## [0.10.0] - 2026-10-23
9
45
 
10
46
  ### Fixed
@@ -619,6 +655,7 @@ Components:
619
655
  [0.8.0]: https://gitlab.com/abmach/mote/compare/v0.7.0...v0.8.0
620
656
  [0.9.0]: https://gitlab.com/abmach/mote/compare/v0.8.0...v0.9.0
621
657
  [0.9.1]: https://gitlab.com/abmach/mote/compare/v0.9.0...v0.9.1
658
+ [0.10.1]: https://gitlab.com/abmach/mote/compare/v0.10.0...v0.10.1
622
659
  [0.10.0]: https://gitlab.com/abmach/mote/compare/v0.9.1...v0.10.0
623
660
  [0.7.0]: https://gitlab.com/abmach/mote/compare/v0.6.1...v0.7.0
624
661
  [0.6.1]: https://gitlab.com/abmach/mote/compare/v0.6.0...v0.6.1
package/README.md CHANGED
@@ -160,7 +160,7 @@ mote is class-optional by design — elements are styled from tags alone; these
160
160
  | Display text | `.mote-display` — opt-in hero/error-code scale via `--mote-display` |
161
161
  | Content rows | `.mote-row` + `.mote-push` — flex row, right-align helper |
162
162
  | Stacks | `.mote-stack` — vertical rhythm with `--mote-stack-gap`; fields full width, checkboxes 1em, works on any content |
163
- | Scrollable tables | `.mote-table-scroll` — sticky `thead`, no page scroll, no margin jump |
163
+ | Scrollable tables | `.mote-table-scroll` — sticky `thead`, no page scroll, no margin jump; expands on paper |
164
164
  | Numeric columns | `.mote-num` — right-aligned tabular figures |
165
165
  | Tabular figures | `.mote-tabular` — tabular numerals without the right-alignment (day numbers, meta lines) |
166
166
  | Sparse grids | `.mote-grid-sparse` — standalone auto-fit variant, collapses empty tracks |
@@ -169,7 +169,7 @@ mote is class-optional by design — elements are styled from tags alone; these
169
169
  | Current table row | `tr[aria-current]` — accent-tinted row, reads over zebra |
170
170
  | Footer baseline | `body > footer` — semantic top-border + padding; its `nav` renders as a quiet wrapped row |
171
171
  | Screen-reader helper | `.mote-sr-only` — pure hiding, never appears |
172
- | Skip link | `.mote-skip-link` — sr-only until keyboard focus, then a fixed pill |
172
+ | Skip link | `.mote-skip-link` — sr-only until focused, then a fixed pill |
173
173
  | Print helpers | `.mote-no-print` / `.mote-print-only` |
174
174
  | Theme-switch guard | `.mote-theme-switch` — prevents Chromium stale-color bug on `data-theme` flips |
175
175
  | Status inheritance control | `.mote-default` (force accent) · `.mote-reset` (clear inherited status) |
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * mote.components.css — opt-in components for mote.css.
3
- * v0.10.0 · MIT
3
+ * v0.10.1 · MIT
4
4
  * https://gitlab.com/abmach/mote · mirror: https://github.com/abmach/mote
5
5
  *
6
6
  * Requires mote.css loaded first (provides the --mote-* tokens).
@@ -390,6 +390,13 @@ nav[aria-label="toc"] a:hover {
390
390
  overflow-y: auto;
391
391
  }
392
392
 
393
+ /* The components file owns this component's print behavior. Keep the
394
+ override after the screen rule so loading the optional file cannot
395
+ undo the core print promise. */
396
+ @media print {
397
+ .mote-table-scroll { max-height: none; overflow: visible; }
398
+ }
399
+
393
400
  /* Chromium paints collapsed borders at the original flow position,
394
401
  not with the sticky cell — separate borders belong to the cell. */
395
402
  .mote-table-scroll table {
@@ -765,15 +772,13 @@ nav[aria-label="toc"] :is(h2, h3) {
765
772
  }
766
773
 
767
774
  @media (width < 50rem) {
768
- .mote-doc:where(:has(> nav)),
769
- .mote-doc:where(:has(> aside)),
770
- .mote-doc:where(:has(> nav)):where(:has(> aside)) {
771
- grid-template-columns: 1fr;
775
+ .mote-doc {
776
+ display: flex;
777
+ flex-direction: column;
772
778
  }
773
779
 
774
- .mote-doc > :is(nav, aside, main) {
775
- grid-column: 1 / -1;
776
- grid-row: auto;
780
+ .mote-doc > main {
781
+ flex: 1 0 auto;
777
782
  }
778
783
 
779
784
  .mote-doc > aside {
package/mote.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * mote.css — a mote of styling for plain HTML.
3
- * v0.10.0 · MIT
3
+ * v0.10.1 · MIT
4
4
  * https://gitlab.com/abmach/mote · mirror: https://github.com/abmach/mote
5
5
  *
6
6
  * The smallest thing that can carry style:
@@ -810,7 +810,7 @@ progress, meter {
810
810
  Use .mote-skip-link for the accessibility skip link;
811
811
  use plain .mote-sr-only to hide things that must never
812
812
  appear (radios driving CSS toggles, visually hidden labels). */
813
- .mote-skip-link:focus-visible {
813
+ .mote-skip-link:focus {
814
814
  position: fixed;
815
815
  top: 1rem;
816
816
  left: 1rem;
@@ -936,7 +936,6 @@ progress, meter {
936
936
  /* Opt-in print helpers */
937
937
  .mote-no-print { display: none !important; }
938
938
  .mote-print-only { display: block; }
939
- .mote-table-scroll { max-height: none; overflow: visible; }
940
939
  }
941
940
 
942
941
  @media not print {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mote.css",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "A mote of styling for plain HTML \u2014 tiny, semantic, class-optional CSS with zero dependencies and no build step.",
5
5
  "style": "mote.css",
6
6
  "files": [