mote.css 0.10.2 → 0.10.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
@@ -5,6 +5,41 @@ 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.3] - 2026-10-25
9
+
10
+ ### Fixed
11
+
12
+ - **Definition lists keep grouped terms and descriptions aligned**: valid
13
+ grouped definition-list markup no longer turns each grouping wrapper into an
14
+ alternating grid cell. Terms and descriptions share aligned columns within
15
+ each list when direct children alternate one term and one description; grouped
16
+ wrappers support one term and one description per group; fixture-pinned.
17
+ - **Form fieldsets no longer force narrow pages sideways**: fieldsets may shrink
18
+ below their intrinsic content width, and file inputs stay within their
19
+ container; fixture-pinned.
20
+
21
+ ### Changed (docs — round-9 findings)
22
+
23
+ - Added responsive-composition guidance for grids, toolbars, and narrow header
24
+ navigation, including a page-owned toolbar recipe; wide reference tables now
25
+ use contained scroll regions instead of widening the page.
26
+ - Documented the choice between a contained scrolling table and a semantic
27
+ record layout for narrow screens.
28
+ - Added a dedicated print-and-paper section covering screen/paper helpers,
29
+ table expansion, disclosures, and page-break rules.
30
+ - Added a long-form reading recipe with a companion table of contents and
31
+ numbered references with backlinks.
32
+ - Documented direct and grouped definition-list structures.
33
+
34
+ ### Evaluation
35
+
36
+ - Ninth round: ten independent agents built ten new page types against
37
+ v0.10.2. All ten would use mote again, and every final page kept
38
+ page-level horizontal overflow at zero. The round exposed the grouped
39
+ definition-list defect and the documentation gaps fixed here. Narrow
40
+ documentation verification also exposed the fieldset/file-input overflow
41
+ fixed above.
42
+
8
43
  ## [0.10.2] - 2026-10-24
9
44
 
10
45
  ### Fixed
@@ -665,6 +700,7 @@ Components:
665
700
  [0.8.0]: https://gitlab.com/abmach/mote/compare/v0.7.0...v0.8.0
666
701
  [0.9.0]: https://gitlab.com/abmach/mote/compare/v0.8.0...v0.9.0
667
702
  [0.9.1]: https://gitlab.com/abmach/mote/compare/v0.9.0...v0.9.1
703
+ [0.10.3]: https://gitlab.com/abmach/mote/compare/v0.10.2...v0.10.3
668
704
  [0.10.2]: https://gitlab.com/abmach/mote/compare/v0.10.1...v0.10.2
669
705
  [0.10.1]: https://gitlab.com/abmach/mote/compare/v0.10.0...v0.10.1
670
706
  [0.10.0]: https://gitlab.com/abmach/mote/compare/v0.9.1...v0.10.0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * mote.components.css — opt-in components for mote.css.
3
- * v0.10.2 · MIT
3
+ * v0.10.3 · 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).
package/mote.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * mote.css — a mote of styling for plain HTML.
3
- * v0.10.2 · MIT
3
+ * v0.10.3 · 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:
@@ -285,10 +285,13 @@ li::marker {
285
285
 
286
286
  dl {
287
287
  display: grid;
288
- grid-template-columns: auto 1fr;
288
+ grid-template-columns: auto minmax(0, 1fr);
289
289
  gap: 0.4rem 1.5rem;
290
290
  }
291
291
 
292
+ /* Grouping wrappers are structural, not grid items. */
293
+ dl > div { display: contents; }
294
+
292
295
  dt { font-weight: 600; }
293
296
 
294
297
  dd {
@@ -418,7 +421,9 @@ label {
418
421
  cursor: pointer;
419
422
  }
420
423
 
424
+ /* Fieldsets default to min-content and can force a narrow page sideways. */
421
425
  fieldset {
426
+ min-inline-size: 0;
422
427
  padding: 1rem 1.2rem;
423
428
  border: var(--mote-border-width) solid var(--mote-border);
424
429
  border-radius: var(--mote-radius);
@@ -484,7 +489,9 @@ select[multiple] {
484
489
  height: 2.4rem;
485
490
  }
486
491
 
492
+ /* Native file controls have a wide intrinsic size; keep them inside their parent. */
487
493
  [type="file"] {
494
+ max-width: 100%;
488
495
  padding: var(--mote-control-pad, 0.5rem) var(--mote-control-pad-inline, 0.75rem);
489
496
  background: none;
490
497
  border-style: dashed;
package/package.json CHANGED
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "name": "mote.css",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
+ "bugs": {
5
+ "url": "https://gitlab.com/abmach/mote/-/issues"
6
+ },
4
7
  "description": "A mote of styling for plain HTML \u2014 tiny, semantic, class-optional CSS with zero dependencies and no build step.",
5
8
  "style": "mote.css",
6
9
  "files": [