@justai/cuts 0.121.0 → 0.122.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justai/cuts",
3
- "version": "0.121.0",
4
- "description": "A persona's named parts \u2014 the page shell that holds them, and the cuts themselves.",
3
+ "version": "0.122.0",
4
+ "description": "A persona's named parts — the page shell that holds them, and the cuts themselves.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
7
7
  "type": "git",
@@ -41,8 +41,8 @@
41
41
  "access": "public"
42
42
  },
43
43
  "dependencies": {
44
- "@justai/core": "^0.28.0",
45
- "@justai/ui": "^0.19.0",
44
+ "@justai/core": "^0.30.0",
45
+ "@justai/ui": "^0.20.0",
46
46
  "@justai/atrium": "^0.1.9"
47
47
  }
48
48
  }
package/src/Posts.astro CHANGED
@@ -118,7 +118,9 @@ const vars = [
118
118
  connects every comment & reply (they're all replies to the post). ---- */
119
119
  /* the cut owns its own landing offset (was `#kernel, #posts { scroll-margin-top }` in each persona —
120
120
  which orphaned once #posts moved here and carried this component's scope cid instead of the persona's). */
121
- .posts { border-block-start: 1px solid var(--border); scroll-margin-top: 82px; scroll-margin-top: var(--shell-top, 82px); }
121
+ /* The landing offset is `--shell-top` and only that — see base.css. A hardcoded twin here is a
122
+ second opinion the browser can pick when it scrolls to `#posts` by itself. */
123
+ .posts { border-block-start: 1px solid var(--border); scroll-margin-top: var(--shell-top); }
122
124
  /* A post is hoverable because it is a link to its own page, and the hover used to say so with a grey wash
123
125
  — `--text` at 3.5% — which reads as dimming rather than as lifting. It now uses the card material, so
124
126
  hovering a post looks like the same gesture as hovering a catalogue card.
package/src/ground.css CHANGED
@@ -111,6 +111,11 @@
111
111
  * The founder saw it before any instrument did. The rule that survives: THE GROUND MAY ONLY SUPPLY
112
112
  * WHAT A BARE PAGE LACKS ON ELEMENTS CONSUMERS DECLARE — html's background is declared by every
113
113
  * persona (they win); body's transparency is load-bearing and stays untouched. */
114
+ /* What the shell takes above the kernel — see @justai/ui base.css, which measures it. Ground only:
115
+ `:where()` is specificity zero, so a consumer that ships the shell always wins, and a surface that
116
+ ships no shell still lands its cuts clear of a sticky bar instead of under one. */
117
+ :where(:root) { --shell-top: 52px; }
118
+
114
119
  :where(html) {
115
120
  background: var(--bg);
116
121
  }