@usableapp/cardds 0.7.124 → 0.7.125

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
@@ -2,6 +2,16 @@
2
2
 
3
3
  > For: a project that consumes `@usableapp/cardds` and its AI — what changed between versions, written as before → after, so a screen can be brought up to date without reading the source. Newest first. A consumer never edits cardds; if something here leaves you without a way to do what you did before, report the gap. Each release section after 0.7.97 carries one `Components:` line, written by `node scripts/components-changed.mjs <previous tag>`: the components the release changed, or `all` when a file changed that any component can read (a token, the build), or `none`; check only the screens that import those.
4
4
 
5
+ ## 0.7.125 — 2026-10-25
6
+
7
+ A caption over an h1 that wraps starts where a one-line one does, and every stamp in a card head is glued down.
8
+
9
+ Components: Text, Words, Stamp
10
+
11
+ ### Changed
12
+ - **A caption over an h1 that wraps to 2 lines starts where a 1-line caption does** (it started about 9px higher since 0.7.119); its next line goes down, and the h1 with it. Gallery `Text · HeadingWraps`.
13
+ - **Every stamp in a card head is glued down** (a hair of shadow under paper, `--shadow-glued`): plain, `under` and `sm`, not only `under`. `bare` and `xs` stay flat. Knob `--stamp-under-drop`.
14
+
5
15
  ## 0.7.124 — 2026-10-25
6
16
 
7
17
  A stamp in a card's head band keeps the head's padding under it.
package/css/base.css CHANGED
@@ -145,8 +145,9 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
145
145
  .t-label { font: var(--type-label); }
146
146
  .t-caption { font: var(--type-caption); color: var(--t-caption-ink, inherit); }
147
147
  .t-caption:has(+ .t-h1), .t-h1 + .t-caption { line-height: var(--lh-h1-caption); } /* an h1's caption, over it or under it (Words meta) */
148
- .t-caption:has(+ .t-h1) { display: inline-block; } /* a caption over an h1 is a span in its div's line: inline, its wrapped lines stood on the div's body leading (33px);
149
- an inline-block keeps its own leading inside and still stands on that line, so its last line keeps its distance to the h1 (Lh 2026-10-25) */
148
+ .t-caption:has(+ .t-h1) { display: inline-flex; } /* a caption over an h1 is a span in its div's line: inline, its wrapped lines stood on the div's body leading (33px).
149
+ As a box it keeps its own leading inside; an inline-flex stands on that line by its FIRST line (an inline-block's would be its last), so a caption
150
+ that wraps starts where a one-line one does and its next line goes down, the h1 with it (Lh 2026-10-25) */
150
151
  .t-stat { font: var(--type-stat); letter-spacing: var(--track-display); margin: 0; font-variant-numeric: tabular-nums; }
151
152
  .t-stat--mono { font-family: var(--font-mono); letter-spacing: 0; } /* clocks, ETAs, codes */
152
153
  .t-stat--xl { font-size: var(--fs-hero); } /* the one number on a sheet */
package/css/stamp.css CHANGED
@@ -291,13 +291,13 @@
291
291
  }
292
292
 
293
293
  /* ---- where it sits in what card.css draws (docs/reference.md rule 15) ---- */
294
- /* a stamp ON a card lies flat: no shadow, at every size (Lh 2026-10-24) — the head's (`end`), a feed card's lead, a foot row's, xs.
294
+ /* a stamp ON a card lies flat: no shadow, at every size (Lh 2026-10-24) — a feed card's lead, a foot row's, xs.
295
295
  A sheet is a `.card` too, but what it holds stands off its paper: the album, the tray, a start screen's stamp keep their shadow, and so
296
296
  does a stamp in an album's cell wherever the album lies */
297
297
  .card:not(.sheet) .stamp:not(.stamp-cell > .stamp) { filter: none; }
298
- /* ONE exception (Lh 2026-10-25): the head's `under` stamp is glued down — a hair of shadow at its teeth, flat paper, never a lifted sticker.
299
- A bare or xs stamp stays flat. Knob: --stamp-under-drop */
300
- .card:not(.sheet) .head > .stamp--under:not(.stamp--bare, .stamp--xs) { filter: drop-shadow(var(--stamp-under-drop, var(--shadow-glued))); }
298
+ /* ONE exception (Lh 2026-10-25): a stamp in the head is glued down — plain, `under` or `sm`, a hair of shadow at its teeth, flat paper, never a lifted sticker.
299
+ A bare or xs stamp stays flat. Knob: --stamp-under-drop (the name it was born with: `under` had it first) */
300
+ .card:not(.sheet) .head > .stamp:not(.stamp--bare, .stamp--xs) { filter: drop-shadow(var(--stamp-under-drop, var(--shadow-glued))); }
301
301
  .head > .stamp { grid-column: 2; grid-row: 1 / span 2; margin-inline: 0; }
302
302
  .head > .stamp--under { grid-column: 1; justify-self: end; } /* `under`: in the words' own column, at its end, the words over it (parts.css) */
303
303
  /* ---- where it sits in what people.css draws (docs/reference.md rule 15) ---- */
package/dist/cardds.css CHANGED
@@ -716,8 +716,9 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
716
716
  .t-label { font: var(--type-label); }
717
717
  .t-caption { font: var(--type-caption); color: var(--t-caption-ink, inherit); }
718
718
  .t-caption:has(+ .t-h1), .t-h1 + .t-caption { line-height: var(--lh-h1-caption); } /* an h1's caption, over it or under it (Words meta) */
719
- .t-caption:has(+ .t-h1) { display: inline-block; } /* a caption over an h1 is a span in its div's line: inline, its wrapped lines stood on the div's body leading (33px);
720
- an inline-block keeps its own leading inside and still stands on that line, so its last line keeps its distance to the h1 (Lh 2026-10-25) */
719
+ .t-caption:has(+ .t-h1) { display: inline-flex; } /* a caption over an h1 is a span in its div's line: inline, its wrapped lines stood on the div's body leading (33px).
720
+ As a box it keeps its own leading inside; an inline-flex stands on that line by its FIRST line (an inline-block's would be its last), so a caption
721
+ that wraps starts where a one-line one does and its next line goes down, the h1 with it (Lh 2026-10-25) */
721
722
  .t-stat { font: var(--type-stat); letter-spacing: var(--track-display); margin: 0; font-variant-numeric: tabular-nums; }
722
723
  .t-stat--mono { font-family: var(--font-mono); letter-spacing: 0; } /* clocks, ETAs, codes */
723
724
  .t-stat--xl { font-size: var(--fs-hero); } /* the one number on a sheet */
@@ -5342,13 +5343,13 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5342
5343
  }
5343
5344
 
5344
5345
  /* ---- where it sits in what card.css draws (docs/reference.md rule 15) ---- */
5345
- /* a stamp ON a card lies flat: no shadow, at every size (Lh 2026-10-24) — the head's (`end`), a feed card's lead, a foot row's, xs.
5346
+ /* a stamp ON a card lies flat: no shadow, at every size (Lh 2026-10-24) — a feed card's lead, a foot row's, xs.
5346
5347
  A sheet is a `.card` too, but what it holds stands off its paper: the album, the tray, a start screen's stamp keep their shadow, and so
5347
5348
  does a stamp in an album's cell wherever the album lies */
5348
5349
  .card:not(.sheet) .stamp:not(.stamp-cell > .stamp) { filter: none; }
5349
- /* ONE exception (Lh 2026-10-25): the head's `under` stamp is glued down — a hair of shadow at its teeth, flat paper, never a lifted sticker.
5350
- A bare or xs stamp stays flat. Knob: --stamp-under-drop */
5351
- .card:not(.sheet) .head > .stamp--under:not(.stamp--bare, .stamp--xs) { filter: drop-shadow(var(--stamp-under-drop, var(--shadow-glued))); }
5350
+ /* ONE exception (Lh 2026-10-25): a stamp in the head is glued down — plain, `under` or `sm`, a hair of shadow at its teeth, flat paper, never a lifted sticker.
5351
+ A bare or xs stamp stays flat. Knob: --stamp-under-drop (the name it was born with: `under` had it first) */
5352
+ .card:not(.sheet) .head > .stamp:not(.stamp--bare, .stamp--xs) { filter: drop-shadow(var(--stamp-under-drop, var(--shadow-glued))); }
5352
5353
  .head > .stamp { grid-column: 2; grid-row: 1 / span 2; margin-inline: 0; }
5353
5354
  .head > .stamp--under { grid-column: 1; justify-self: end; } /* `under`: in the words' own column, at its end, the words over it (parts.css) */
5354
5355
  /* ---- where it sits in what people.css draws (docs/reference.md rule 15) ---- */