@usableapp/cardds 0.7.145 → 0.7.146

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.146 — 2026-10-26
6
+
7
+ A stamp always has its teeth. The choice is whether the white paper frame round the picture is there: `Stamp frame={false}`.
8
+
9
+ Components: Stamp
10
+
11
+ ### Changed
12
+ - **`Stamp edge` is gone; `Stamp frame` replaces it** (Lh 2026-10-26: a stamp is always perforated; "no edge" means no white frame). Before → after: `edge="plain"` drew a smooth rectangle with no teeth → there is no toothless stamp any more. `frame?: boolean`, default `true` (today's look, the white paper band between the teeth and the picture); `frame={false}` drops that band, the picture's `tone` runs out to the teeth. The teeth, the 4:5 size, the shadow, the pictures and `name`/`words` are unchanged. It works bare, `xs`, `tilt`, `arrive`, `under`, `onClick`, and in `StampOn`, `StampBook` and `AvatarStack`. A screen that passed `edge="plain"` → `frame={false}`; `edge="perforated"` → drop it. CSS: `.stamp--plain` is removed; `.stamp--frameless` is new. Story `Stamp · Frameless` (was `Plain`).
13
+
5
14
  ## 0.7.145 — 2026-10-26
6
15
 
7
16
  A `Sheet` says how much of it shows at `half`: `half`.
package/css/stamp.css CHANGED
@@ -46,14 +46,14 @@
46
46
  --_hole: 2.6cqw;
47
47
  position: absolute;
48
48
  inset: 0;
49
- background-color: var(--stamp-paper-bg, var(--stamp-paper));
50
49
  -webkit-mask: linear-gradient(#000 0 0) center / calc(100% - var(--_pitch)) calc(100% - var(--_pitch)) no-repeat,
51
50
  radial-gradient(circle, transparent var(--_hole), #000 calc(var(--_hole) + 0.4cqw)) calc(var(--_pitch) / -2) calc(var(--_pitch) / -2) / var(--_pitch) var(--_pitch);
52
51
  mask: linear-gradient(#000 0 0) center / calc(100% - var(--_pitch)) calc(100% - var(--_pitch)) no-repeat,
53
52
  radial-gradient(circle, transparent var(--_hole), #000 calc(var(--_hole) + 0.4cqw)) calc(var(--_pitch) / -2) calc(var(--_pitch) / -2) / var(--_pitch) var(--_pitch);
54
53
  }
55
- /* --plain: a smooth rectangle of paper, no teeth (`edge="plain"`) — the same 4:5, the same frame, the same shadow */
56
- .stamp--plain .stamp__paper { -webkit-mask: none; mask: none; }
54
+ /* the white frame: the paper's own colour round the picture. --frameless (`frame={false}`): the paper takes the picture's tone class instead,
55
+ 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
+ .stamp:not(.stamp--frameless) > .stamp__paper { background-color: var(--stamp-paper-bg, var(--stamp-paper)); }
57
57
  .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
58
 
59
59
  /* the pictures, placed by COUNT: where, how wide, how far turned — the layout is the stamp's look, never the app's.
package/dist/cardds.css CHANGED
@@ -5245,14 +5245,14 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
5245
5245
  --_hole: 2.6cqw;
5246
5246
  position: absolute;
5247
5247
  inset: 0;
5248
- background-color: var(--stamp-paper-bg, var(--stamp-paper));
5249
5248
  -webkit-mask: linear-gradient(#000 0 0) center / calc(100% - var(--_pitch)) calc(100% - var(--_pitch)) no-repeat,
5250
5249
  radial-gradient(circle, transparent var(--_hole), #000 calc(var(--_hole) + 0.4cqw)) calc(var(--_pitch) / -2) calc(var(--_pitch) / -2) / var(--_pitch) var(--_pitch);
5251
5250
  mask: linear-gradient(#000 0 0) center / calc(100% - var(--_pitch)) calc(100% - var(--_pitch)) no-repeat,
5252
5251
  radial-gradient(circle, transparent var(--_hole), #000 calc(var(--_hole) + 0.4cqw)) calc(var(--_pitch) / -2) calc(var(--_pitch) / -2) / var(--_pitch) var(--_pitch);
5253
5252
  }
5254
- /* --plain: a smooth rectangle of paper, no teeth (`edge="plain"`) — the same 4:5, the same frame, the same shadow */
5255
- .stamp--plain .stamp__paper { -webkit-mask: none; mask: none; }
5253
+ /* the white frame: the paper's own colour round the picture. --frameless (`frame={false}`): the paper takes the picture's tone class instead,
5254
+ 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) */
5255
+ .stamp:not(.stamp--frameless) > .stamp__paper { background-color: var(--stamp-paper-bg, var(--stamp-paper)); }
5256
5256
  .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 */
5257
5257
 
5258
5258
  /* the pictures, placed by COUNT: where, how wide, how far turned — the layout is the stamp's look, never the app's.