@usableapp/cardds 0.7.123 → 0.7.124

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,15 @@
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.124 — 2026-10-25
6
+
7
+ A stamp in a card's head band keeps the head's padding under it.
8
+
9
+ Components: Card, Stamp
10
+
11
+ ### Fixed
12
+ - **A card head that holds a stamp is never shorter than the stamp plus the head's padding above and below.** In a banded card the stamp sat on the narrow seam (`--card-band-seam`) at the band's lower edge; it now keeps `--card-pad` under it, plain or `under`. Words taller than the stamp grow the head as before. Story `Card/StampShortTitle` (new).
13
+
5
14
  ## 0.7.123 — 2026-10-25
6
15
 
7
16
  A stamp the app is not ready to show keeps its room (`Stamp held`).
package/css/parts.css CHANGED
@@ -166,6 +166,10 @@
166
166
  /* the seam: the heading and the words under it read as ONE paragraph that changes colour at the band's edge (Lh 2026-10-21), so the room on
167
167
  each side of the head band's lower edge is --card-band-seam, not the card's padding and gap */
168
168
  :is(.card--bands, .card--bands > .card__face) > .head + * { margin-block-start: calc(var(--card-band-seam, var(--sp-2)) - var(--card-gap)); }
169
+ /* a STAMP in the head band (Lh 2026-10-25, the request card): the head is never shorter than the stamp plus the head's padding above AND below it — the
170
+ seam is the words' room, not the stamp's, so the stamp keeps --card-pad under it too. On the stamp, not a head min-height: it follows the stamp's
171
+ own size (standard, xs, held, under — every one holds the head up in its grid), and words taller than it grow the head as before */
172
+ :is(.card--bands, .card--bands > .card__face) > .head > .stamp { margin-block-end: max(0rem, calc(var(--card-pad) - var(--card-band-seam, var(--sp-2)))); }
169
173
  /* an under stamp (`StampOn under`) lies at --z-under, below the words but above the card's paper; the head's paper background would paint over it, so the band moves
170
174
  onto a pseudo-element one step lower (--z-under-2): the stamp shows on the band and the head's words stay over the stamp */
171
175
  :is(.card--bands, .card--bands > .card__face):has(> .stamp-on--under, > .card__middle > .stamp-on--under) > .head { position: relative; background: none; }
package/dist/cardds.css CHANGED
@@ -4357,6 +4357,10 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
4357
4357
  /* the seam: the heading and the words under it read as ONE paragraph that changes colour at the band's edge (Lh 2026-10-21), so the room on
4358
4358
  each side of the head band's lower edge is --card-band-seam, not the card's padding and gap */
4359
4359
  :is(.card--bands, .card--bands > .card__face) > .head + * { margin-block-start: calc(var(--card-band-seam, var(--sp-2)) - var(--card-gap)); }
4360
+ /* a STAMP in the head band (Lh 2026-10-25, the request card): the head is never shorter than the stamp plus the head's padding above AND below it — the
4361
+ seam is the words' room, not the stamp's, so the stamp keeps --card-pad under it too. On the stamp, not a head min-height: it follows the stamp's
4362
+ own size (standard, xs, held, under — every one holds the head up in its grid), and words taller than it grow the head as before */
4363
+ :is(.card--bands, .card--bands > .card__face) > .head > .stamp { margin-block-end: max(0rem, calc(var(--card-pad) - var(--card-band-seam, var(--sp-2)))); }
4360
4364
  /* an under stamp (`StampOn under`) lies at --z-under, below the words but above the card's paper; the head's paper background would paint over it, so the band moves
4361
4365
  onto a pseudo-element one step lower (--z-under-2): the stamp shows on the band and the head's words stay over the stamp */
4362
4366
  :is(.card--bands, .card--bands > .card__face):has(> .stamp-on--under, > .card__middle > .stamp-on--under) > .head { position: relative; background: none; }