@usableapp/cardds 0.7.148 → 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,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.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
+
5
14
  ## 0.7.148 — 2026-10-26
6
15
 
7
16
  A stamp's teeth are fewer and larger: 8 across, 10 down.
package/css/stamp.css CHANGED
@@ -37,7 +37,8 @@
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
  }
@@ -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.
@@ -92,7 +101,7 @@
92
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,
93
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))); }
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))); }
96
105
  .stamp--xs .stamp__pic { inset: var(--stamp-frame, 12cqw); }
97
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 */
98
107
  .stamp--held { visibility: hidden; }
@@ -243,7 +252,7 @@
243
252
  After the rule above, at the same weight: `main` is the one place a stuck stamp reads --stamp-size. */
244
253
  .stamp-on--main > .stamp { width: var(--stamp-size, calc(var(--tap) * 2)); }
245
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 */
246
- .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))); }
247
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) */
248
257
  .stamp-on--move { cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; transition: scale var(--motion-press) var(--ease-out); }
249
258
  .stamp-on--move:focus-visible { outline: var(--focus); outline-offset: var(--sp-1); }
@@ -303,7 +312,7 @@
303
312
  width: var(--appbar-stamp-size, var(--_fit));
304
313
  flex: none;
305
314
  margin-inline: 0;
306
- filter: drop-shadow(var(--stamp-shadow, var(--_contact)));
315
+ filter: var(--_rim) drop-shadow(var(--stamp-shadow, var(--_contact)));
307
316
  }
308
317
  :is(.appbar__brand, .appbar__who) > .stamp .stamp__cap { display: none; }
309
318
  :is(.appbar__brand, .appbar__who) > .stamp .stamp__art { top: calc(var(--_y) + 9%); }
@@ -311,10 +320,10 @@
311
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.
312
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
313
322
  does a stamp in an album's cell wherever the album lies */
314
- .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))); }
315
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.
316
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) */
317
- .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))); }
318
327
  .head > .stamp { grid-column: 2; grid-row: 1 / span 2; margin-inline: 0; }
319
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) */
320
329
  /* ---- where it sits in what people.css draws (docs/reference.md rule 15) ---- */
package/dist/cardds.css CHANGED
@@ -5252,7 +5252,8 @@ 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
  }
@@ -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.
@@ -5307,7 +5316,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5307
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,
5308
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))); }
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))); }
5311
5320
  .stamp--xs .stamp__pic { inset: var(--stamp-frame, 12cqw); }
5312
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 */
5313
5322
  .stamp--held { visibility: hidden; }
@@ -5458,7 +5467,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5458
5467
  After the rule above, at the same weight: `main` is the one place a stuck stamp reads --stamp-size. */
5459
5468
  .stamp-on--main > .stamp { width: var(--stamp-size, calc(var(--tap) * 2)); }
5460
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 */
5461
- .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))); }
5462
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) */
5463
5472
  .stamp-on--move { cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; transition: scale var(--motion-press) var(--ease-out); }
5464
5473
  .stamp-on--move:focus-visible { outline: var(--focus); outline-offset: var(--sp-1); }
@@ -5518,7 +5527,7 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5518
5527
  width: var(--appbar-stamp-size, var(--_fit));
5519
5528
  flex: none;
5520
5529
  margin-inline: 0;
5521
- filter: drop-shadow(var(--stamp-shadow, var(--_contact)));
5530
+ filter: var(--_rim) drop-shadow(var(--stamp-shadow, var(--_contact)));
5522
5531
  }
5523
5532
  :is(.appbar__brand, .appbar__who) > .stamp .stamp__cap { display: none; }
5524
5533
  :is(.appbar__brand, .appbar__who) > .stamp .stamp__art { top: calc(var(--_y) + 9%); }
@@ -5526,10 +5535,10 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5526
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.
5527
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
5528
5537
  does a stamp in an album's cell wherever the album lies */
5529
- .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))); }
5530
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.
5531
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) */
5532
- .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))); }
5533
5542
  .head > .stamp { grid-column: 2; grid-row: 1 / span 2; margin-inline: 0; }
5534
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) */
5535
5544
  /* ---- where it sits in what people.css draws (docs/reference.md rule 15) ---- */