mote.css 0.9.0 → 0.9.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,17 @@ 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.9.1] - 2026-10-23
9
+
10
+ ### Fixed
11
+
12
+ - The header hairline is now fully snippet-driven: it paints only
13
+ while the nav actually scrolls. With the snippet, an empty
14
+ `data-nav` (a single pill, nothing to scroll) leaves the line gone;
15
+ without the snippet there is no line at all — zero-JS headers keep
16
+ just the pills, and the cut pill is the overflow signal. Both states
17
+ fixture-pinned.
18
+
8
19
  ## [0.9.0] - 2026-10-22
9
20
 
10
21
  ### Added
@@ -560,6 +571,7 @@ Components:
560
571
  [0.3.0]: https://gitlab.com/abmach/mote/compare/v0.2.1...v0.3.0
561
572
  [0.8.0]: https://gitlab.com/abmach/mote/compare/v0.7.0...v0.8.0
562
573
  [0.9.0]: https://gitlab.com/abmach/mote/compare/v0.8.0...v0.9.0
574
+ [0.9.1]: https://gitlab.com/abmach/mote/compare/v0.9.0...v0.9.1
563
575
  [0.7.0]: https://gitlab.com/abmach/mote/compare/v0.6.1...v0.7.0
564
576
  [0.6.1]: https://gitlab.com/abmach/mote/compare/v0.6.0...v0.6.1
565
577
  [0.6.0]: https://gitlab.com/abmach/mote/compare/v0.5.1...v0.6.0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * mote.components.css — opt-in components for mote.css.
3
- * v0.9.0 · MIT
3
+ * v0.9.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).
@@ -187,6 +187,14 @@ a:where(.mote-badge):hover {
187
187
  position: relative;
188
188
  flex: 1 1 0%;
189
189
  min-width: 0;
190
+ }
191
+
192
+ /* The hairline is snippet-driven: it paints only while the nav
193
+ actually scrolls. An empty data-nav means "nothing to scroll" —
194
+ no line under a single pill. No attribute at all means no snippet:
195
+ no line either; zero-JS headers keep just the pills, and the cut
196
+ pill is the overflow signal. */
197
+ :where(body > header nav[data-nav]:not([data-nav=""]), .mote-nav[data-nav]:not([data-nav=""])) {
190
198
  background:
191
199
  linear-gradient(var(--mote-border), var(--mote-border)) left bottom / 100% 2px no-repeat;
192
200
  }
package/mote.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * mote.css — a mote of styling for plain HTML.
3
- * v0.9.0 · MIT
3
+ * v0.9.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:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mote.css",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "A mote of styling for plain HTML — tiny, semantic, class-optional CSS with zero dependencies and no build step.",
5
5
  "style": "mote.css",
6
6
  "files": [