@usableapp/cardds 0.7.147 → 0.7.149

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,24 @@
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.149 — 2026-10-26
6
+
7
+ A frameless stamp's teeth read on any tone: a thin paper rim parts its colour from the shadow.
8
+
9
+ Components: Stamp
10
+
11
+ ### Changed
12
+ - **`Stamp frame={false}` keeps a paper rim round its teeth** (Lh 2026-10-26: the stamp's colour ran into the dark contact shadow, the teeth could not be seen). Before → after: the tone ran to the teeth and the contact shadow lay right against it → a thin rim of the stamp's paper (`--stamp-paper-bg`, else `--stamp-paper`; one `--border-w` wide) runs round the teeth under every shadow, so the tone never touches the shadow, on any tone and at every size (bare, `sm`, `xs`, `under`, in a card, an app bar). The rim follows the teeth, as the shadow does. A framed stamp is unchanged. No prop or knob changed.
13
+
14
+ ## 0.7.148 — 2026-10-26
15
+
16
+ A stamp's teeth are fewer and larger: 8 across, 10 down.
17
+
18
+ Components: Stamp
19
+
20
+ ### Changed
21
+ - **Stamp perforation: 8 × 10 teeth** (Lh 2026-10-26: the teeth were too dense). Before → after: the normal and `sm` stamps had 12 teeth across, 15 down → 8 across, 10 down, each hole larger in step so it still reads as a round punched tooth; the holes still land whole on every edge of the 4:5 stamp. `xs` already had 8 × 10 and is unchanged. The size, the frame, the shadow, the pictures and the words do not move; no prop or knob changed.
22
+
5
23
  ## 0.7.147 — 2026-10-26
6
24
 
7
25
  A screen pins a row under its top bar: `Screen topRow`.
package/css/stamp.css CHANGED
@@ -37,13 +37,14 @@
37
37
  color: var(--stamp-ink, var(--ink-onlight));
38
38
  /* the contact shadow every stamp has (Lh 2026-10-26: contact only, lighter than --shadow-contact's 0.4): its edge on any ground, a white one too; black as the scrim, no color-mix (iOS 16.4) */
39
39
  --_contact: 0 0 var(--border-w) rgb(0 0 0 / 0.28);
40
- filter: drop-shadow(var(--stamp-shadow, var(--_contact))) drop-shadow(var(--stamp-drop, 0 0 0 transparent)); /* drop-shadow follows the teeth; a box-shadow would draw the rectangle. The first is the contact shadow every stamp keeps, the second a lift a theme may add (--stamp-drop; none by default, Lh 2026-10-26 — it was --shadow-paper) */
40
+ --_rim: drop-shadow(0 0 0 transparent); /* a framed stamp's teeth are its paper already: no rim (--frameless, below) */
41
+ filter: var(--_rim) drop-shadow(var(--stamp-shadow, var(--_contact))) drop-shadow(var(--stamp-drop, 0 0 0 transparent)); /* drop-shadow follows the teeth; a box-shadow would draw the rectangle. The first is the contact shadow every stamp keeps, the second a lift a theme may add (--stamp-drop; none by default, Lh 2026-10-26 — it was --shadow-paper) */
41
42
  rotate: var(--stamp-turn, none);
42
43
  animation: var(--stamp-arrive, none);
43
44
  }
44
45
  .stamp__paper {
45
- --_pitch: calc(100cqw / 12); /* one tooth: 12 across, 15 down — the holes land whole on every edge. Fewer and larger than a real stamp's: a small stamp's teeth must still read (Lh 2026-10-07; it was 20 × 25) */
46
- --_hole: 2.6cqw;
46
+ --_pitch: calc(100cqw / 8); /* one tooth: 8 across, 10 down — the holes land whole on every edge. Fewer and larger than a real stamp's: a small stamp's teeth must still read (Lh 2026-10-26, it was 12 × 15; Lh 2026-10-07, it was 20 × 25) */
47
+ --_hole: 3.9cqw;
47
48
  position: absolute;
48
49
  inset: 0;
49
50
  -webkit-mask: linear-gradient(#000 0 0) center / calc(100% - var(--_pitch)) calc(100% - var(--_pitch)) no-repeat,
@@ -54,6 +55,14 @@
54
55
  /* the white frame: the paper's own colour round the picture. --frameless (`frame={false}`): the paper takes the picture's tone class instead,
55
56
  so the tone runs out to the teeth — the teeth, 4:5, shadow, pictures and words unchanged (Lh 2026-10-26: a stamp is always perforated) */
56
57
  .stamp:not(.stamp--frameless) > .stamp__paper { background-color: var(--stamp-paper-bg, var(--stamp-paper)); }
58
+ /* a frameless stamp keeps a thin rim of that paper round its teeth, under every shadow it wears: the tone never touches the dark contact
59
+ shadow, so the teeth read on any tone, light or dark, at every size (Lh 2026-10-26: the tone and the shadow ran together). Four hard
60
+ drop-shadows, one per side, make the rim; it follows the teeth as the shadow does */
61
+ .stamp--frameless {
62
+ --_rim-ink: var(--stamp-paper-bg, var(--stamp-paper));
63
+ --_rim: drop-shadow(var(--border-w) 0 0 var(--_rim-ink)) drop-shadow(calc(-1 * var(--border-w)) 0 0 var(--_rim-ink))
64
+ drop-shadow(0 var(--border-w) 0 var(--_rim-ink)) drop-shadow(0 calc(-1 * var(--border-w)) 0 var(--_rim-ink));
65
+ }
57
66
  .stamp__pic { position: absolute; inset: var(--stamp-frame, 8cqw); overflow: hidden; } /* the paper's frame round the picture; the ground is the tone class's */
58
67
 
59
68
  /* the pictures, placed by COUNT: where, how wide, how far turned — the layout is the stamp's look, never the app's.
@@ -89,11 +98,10 @@
89
98
 
90
99
  /* --xs: the stamp INLINE with a status line (a card's foot: the stamp, "X took it", a round button) — one caption line tall,
91
100
  --stamp-xs-size (18.7 × 23.4 at the default bases, one Chip xs tall, on --fs-base: it follows the words it stands with; Lh 2026-10-24).
92
- Too small for words: it is bare whatever it is handed. Only the contact shadow (--stamp-shadow): it lies flat in the line, its edge still seen. The teeth are fewer and larger (8 across,
93
- 10 down) so they still read, and the frame round the picture wider to clear them. Several, lapped, with a "+8": AvatarStack (below).
101
+ Too small for words: it is bare whatever it is handed. Only the contact shadow (--stamp-shadow): it lies flat in the line, its edge still seen. The teeth are every stamp's (8 across,
102
+ 10 down), and the frame round the picture wider to clear them. Several, lapped, with a "+8": AvatarStack (below).
94
103
  <span class="stamp stamp--1 stamp--xs">…</span> */
95
- .stamp--xs { width: var(--stamp-xs-size, var(--stamp-xs)); flex: none; margin-inline: 0; filter: drop-shadow(var(--stamp-shadow, var(--_contact))); }
96
- .stamp--xs .stamp__paper { --_pitch: calc(100cqw / 8); --_hole: 3.9cqw; }
104
+ .stamp--xs { width: var(--stamp-xs-size, var(--stamp-xs)); flex: none; margin-inline: 0; filter: var(--_rim) drop-shadow(var(--stamp-shadow, var(--_contact))); }
97
105
  .stamp--xs .stamp__pic { inset: var(--stamp-frame, 12cqw); }
98
106
  /* held: the stamp keeps its box and draws nothing (visibility, never display or a size of its own) — shown later in the same box, nothing beside it moves */
99
107
  .stamp--held { visibility: hidden; }
@@ -244,7 +252,7 @@
244
252
  After the rule above, at the same weight: `main` is the one place a stuck stamp reads --stamp-size. */
245
253
  .stamp-on--main > .stamp { width: var(--stamp-size, calc(var(--tap) * 2)); }
246
254
  .stamp-on--under { top: var(--card-pad, 0); right: var(--card-pad, 0); left: auto; translate: none; z-index: var(--z-under); pointer-events: none; } /* the card's top right corner, below everything the card holds */
247
- .stamp-on--under > .stamp { width: var(--stamp-size, calc(var(--tap) * 2)); filter: drop-shadow(var(--stamp-shadow, var(--_contact))); }
255
+ .stamp-on--under > .stamp { width: var(--stamp-size, calc(var(--tap) * 2)); filter: var(--_rim) drop-shadow(var(--stamp-shadow, var(--_contact))); }
248
256
  .stamp-on--move { will-change: transform; } /* its own layer: Safari left the stamp's shadow behind as a trail along the drag when it was painted with the note (seen on the simulator, 2026-10-07) */
249
257
  .stamp-on--move { cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; transition: scale var(--motion-press) var(--ease-out); }
250
258
  .stamp-on--move:focus-visible { outline: var(--focus); outline-offset: var(--sp-1); }
@@ -304,7 +312,7 @@
304
312
  width: var(--appbar-stamp-size, var(--_fit));
305
313
  flex: none;
306
314
  margin-inline: 0;
307
- filter: drop-shadow(var(--stamp-shadow, var(--_contact)));
315
+ filter: var(--_rim) drop-shadow(var(--stamp-shadow, var(--_contact)));
308
316
  }
309
317
  :is(.appbar__brand, .appbar__who) > .stamp .stamp__cap { display: none; }
310
318
  :is(.appbar__brand, .appbar__who) > .stamp .stamp__art { top: calc(var(--_y) + 9%); }
@@ -312,10 +320,10 @@
312
320
  /* a stamp ON a card lies flat: only the contact shadow (--stamp-shadow), at every size (Lh 2026-10-24; the contact shadow 2026-10-26) — a feed card's lead, a foot row's, xs.
313
321
  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
314
322
  does a stamp in an album's cell wherever the album lies */
315
- .card:not(.sheet) .stamp:not(.stamp-cell > .stamp) { filter: drop-shadow(var(--stamp-shadow, var(--_contact))); }
323
+ .card:not(.sheet) .stamp:not(.stamp-cell > .stamp) { filter: var(--_rim) drop-shadow(var(--stamp-shadow, var(--_contact))); }
316
324
  /* 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.
317
325
  A bare or xs stamp stays flat, its contact shadow only. Knob: --stamp-under-drop (the name it was born with: `under` had it first) */
318
- .card:not(.sheet) .head > .stamp:not(.stamp--bare, .stamp--xs) { filter: drop-shadow(var(--stamp-shadow, var(--_contact))) drop-shadow(var(--stamp-under-drop, var(--shadow-glued))); }
326
+ .card:not(.sheet) .head > .stamp:not(.stamp--bare, .stamp--xs) { filter: var(--_rim) drop-shadow(var(--stamp-shadow, var(--_contact))) drop-shadow(var(--stamp-under-drop, var(--shadow-glued))); }
319
327
  .head > .stamp { grid-column: 2; grid-row: 1 / span 2; margin-inline: 0; }
320
328
  .head > .stamp--under { grid-column: 1; justify-self: end; } /* `under`: in the words' own column, at its end, the words over it (parts.css) */
321
329
  /* ---- where it sits in what people.css draws (docs/reference.md rule 15) ---- */
package/dist/cardds.css CHANGED
@@ -5252,13 +5252,14 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5252
5252
  color: var(--stamp-ink, var(--ink-onlight));
5253
5253
  /* the contact shadow every stamp has (Lh 2026-10-26: contact only, lighter than --shadow-contact's 0.4): its edge on any ground, a white one too; black as the scrim, no color-mix (iOS 16.4) */
5254
5254
  --_contact: 0 0 var(--border-w) rgb(0 0 0 / 0.28);
5255
- filter: drop-shadow(var(--stamp-shadow, var(--_contact))) drop-shadow(var(--stamp-drop, 0 0 0 transparent)); /* drop-shadow follows the teeth; a box-shadow would draw the rectangle. The first is the contact shadow every stamp keeps, the second a lift a theme may add (--stamp-drop; none by default, Lh 2026-10-26 — it was --shadow-paper) */
5255
+ --_rim: drop-shadow(0 0 0 transparent); /* a framed stamp's teeth are its paper already: no rim (--frameless, below) */
5256
+ filter: var(--_rim) drop-shadow(var(--stamp-shadow, var(--_contact))) drop-shadow(var(--stamp-drop, 0 0 0 transparent)); /* drop-shadow follows the teeth; a box-shadow would draw the rectangle. The first is the contact shadow every stamp keeps, the second a lift a theme may add (--stamp-drop; none by default, Lh 2026-10-26 — it was --shadow-paper) */
5256
5257
  rotate: var(--stamp-turn, none);
5257
5258
  animation: var(--stamp-arrive, none);
5258
5259
  }
5259
5260
  .stamp__paper {
5260
- --_pitch: calc(100cqw / 12); /* one tooth: 12 across, 15 down — the holes land whole on every edge. Fewer and larger than a real stamp's: a small stamp's teeth must still read (Lh 2026-10-07; it was 20 × 25) */
5261
- --_hole: 2.6cqw;
5261
+ --_pitch: calc(100cqw / 8); /* one tooth: 8 across, 10 down — the holes land whole on every edge. Fewer and larger than a real stamp's: a small stamp's teeth must still read (Lh 2026-10-26, it was 12 × 15; Lh 2026-10-07, it was 20 × 25) */
5262
+ --_hole: 3.9cqw;
5262
5263
  position: absolute;
5263
5264
  inset: 0;
5264
5265
  -webkit-mask: linear-gradient(#000 0 0) center / calc(100% - var(--_pitch)) calc(100% - var(--_pitch)) no-repeat,
@@ -5269,6 +5270,14 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5269
5270
  /* the white frame: the paper's own colour round the picture. --frameless (`frame={false}`): the paper takes the picture's tone class instead,
5270
5271
  so the tone runs out to the teeth — the teeth, 4:5, shadow, pictures and words unchanged (Lh 2026-10-26: a stamp is always perforated) */
5271
5272
  .stamp:not(.stamp--frameless) > .stamp__paper { background-color: var(--stamp-paper-bg, var(--stamp-paper)); }
5273
+ /* a frameless stamp keeps a thin rim of that paper round its teeth, under every shadow it wears: the tone never touches the dark contact
5274
+ shadow, so the teeth read on any tone, light or dark, at every size (Lh 2026-10-26: the tone and the shadow ran together). Four hard
5275
+ drop-shadows, one per side, make the rim; it follows the teeth as the shadow does */
5276
+ .stamp--frameless {
5277
+ --_rim-ink: var(--stamp-paper-bg, var(--stamp-paper));
5278
+ --_rim: drop-shadow(var(--border-w) 0 0 var(--_rim-ink)) drop-shadow(calc(-1 * var(--border-w)) 0 0 var(--_rim-ink))
5279
+ drop-shadow(0 var(--border-w) 0 var(--_rim-ink)) drop-shadow(0 calc(-1 * var(--border-w)) 0 var(--_rim-ink));
5280
+ }
5272
5281
  .stamp__pic { position: absolute; inset: var(--stamp-frame, 8cqw); overflow: hidden; } /* the paper's frame round the picture; the ground is the tone class's */
5273
5282
 
5274
5283
  /* the pictures, placed by COUNT: where, how wide, how far turned — the layout is the stamp's look, never the app's.
@@ -5304,11 +5313,10 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5304
5313
 
5305
5314
  /* --xs: the stamp INLINE with a status line (a card's foot: the stamp, "X took it", a round button) — one caption line tall,
5306
5315
  --stamp-xs-size (18.7 × 23.4 at the default bases, one Chip xs tall, on --fs-base: it follows the words it stands with; Lh 2026-10-24).
5307
- Too small for words: it is bare whatever it is handed. Only the contact shadow (--stamp-shadow): it lies flat in the line, its edge still seen. The teeth are fewer and larger (8 across,
5308
- 10 down) so they still read, and the frame round the picture wider to clear them. Several, lapped, with a "+8": AvatarStack (below).
5316
+ Too small for words: it is bare whatever it is handed. Only the contact shadow (--stamp-shadow): it lies flat in the line, its edge still seen. The teeth are every stamp's (8 across,
5317
+ 10 down), and the frame round the picture wider to clear them. Several, lapped, with a "+8": AvatarStack (below).
5309
5318
  <span class="stamp stamp--1 stamp--xs">…</span> */
5310
- .stamp--xs { width: var(--stamp-xs-size, var(--stamp-xs)); flex: none; margin-inline: 0; filter: drop-shadow(var(--stamp-shadow, var(--_contact))); }
5311
- .stamp--xs .stamp__paper { --_pitch: calc(100cqw / 8); --_hole: 3.9cqw; }
5319
+ .stamp--xs { width: var(--stamp-xs-size, var(--stamp-xs)); flex: none; margin-inline: 0; filter: var(--_rim) drop-shadow(var(--stamp-shadow, var(--_contact))); }
5312
5320
  .stamp--xs .stamp__pic { inset: var(--stamp-frame, 12cqw); }
5313
5321
  /* held: the stamp keeps its box and draws nothing (visibility, never display or a size of its own) — shown later in the same box, nothing beside it moves */
5314
5322
  .stamp--held { visibility: hidden; }
@@ -5459,7 +5467,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5459
5467
  After the rule above, at the same weight: `main` is the one place a stuck stamp reads --stamp-size. */
5460
5468
  .stamp-on--main > .stamp { width: var(--stamp-size, calc(var(--tap) * 2)); }
5461
5469
  .stamp-on--under { top: var(--card-pad, 0); right: var(--card-pad, 0); left: auto; translate: none; z-index: var(--z-under); pointer-events: none; } /* the card's top right corner, below everything the card holds */
5462
- .stamp-on--under > .stamp { width: var(--stamp-size, calc(var(--tap) * 2)); filter: drop-shadow(var(--stamp-shadow, var(--_contact))); }
5470
+ .stamp-on--under > .stamp { width: var(--stamp-size, calc(var(--tap) * 2)); filter: var(--_rim) drop-shadow(var(--stamp-shadow, var(--_contact))); }
5463
5471
  .stamp-on--move { will-change: transform; } /* its own layer: Safari left the stamp's shadow behind as a trail along the drag when it was painted with the note (seen on the simulator, 2026-10-07) */
5464
5472
  .stamp-on--move { cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; transition: scale var(--motion-press) var(--ease-out); }
5465
5473
  .stamp-on--move:focus-visible { outline: var(--focus); outline-offset: var(--sp-1); }
@@ -5519,7 +5527,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5519
5527
  width: var(--appbar-stamp-size, var(--_fit));
5520
5528
  flex: none;
5521
5529
  margin-inline: 0;
5522
- filter: drop-shadow(var(--stamp-shadow, var(--_contact)));
5530
+ filter: var(--_rim) drop-shadow(var(--stamp-shadow, var(--_contact)));
5523
5531
  }
5524
5532
  :is(.appbar__brand, .appbar__who) > .stamp .stamp__cap { display: none; }
5525
5533
  :is(.appbar__brand, .appbar__who) > .stamp .stamp__art { top: calc(var(--_y) + 9%); }
@@ -5527,10 +5535,10 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5527
5535
  /* a stamp ON a card lies flat: only the contact shadow (--stamp-shadow), at every size (Lh 2026-10-24; the contact shadow 2026-10-26) — a feed card's lead, a foot row's, xs.
5528
5536
  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
5529
5537
  does a stamp in an album's cell wherever the album lies */
5530
- .card:not(.sheet) .stamp:not(.stamp-cell > .stamp) { filter: drop-shadow(var(--stamp-shadow, var(--_contact))); }
5538
+ .card:not(.sheet) .stamp:not(.stamp-cell > .stamp) { filter: var(--_rim) drop-shadow(var(--stamp-shadow, var(--_contact))); }
5531
5539
  /* 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.
5532
5540
  A bare or xs stamp stays flat, its contact shadow only. Knob: --stamp-under-drop (the name it was born with: `under` had it first) */
5533
- .card:not(.sheet) .head > .stamp:not(.stamp--bare, .stamp--xs) { filter: drop-shadow(var(--stamp-shadow, var(--_contact))) drop-shadow(var(--stamp-under-drop, var(--shadow-glued))); }
5541
+ .card:not(.sheet) .head > .stamp:not(.stamp--bare, .stamp--xs) { filter: var(--_rim) drop-shadow(var(--stamp-shadow, var(--_contact))) drop-shadow(var(--stamp-under-drop, var(--shadow-glued))); }
5534
5542
  .head > .stamp { grid-column: 2; grid-row: 1 / span 2; margin-inline: 0; }
5535
5543
  .head > .stamp--under { grid-column: 1; justify-self: end; } /* `under`: in the words' own column, at its end, the words over it (parts.css) */
5536
5544
  /* ---- where it sits in what people.css draws (docs/reference.md rule 15) ---- */