@usableapp/cardds 0.7.144 → 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,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.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
+
14
+ ## 0.7.145 — 2026-10-26
15
+
16
+ A `Sheet` says how much of it shows at `half`: `half`.
17
+
18
+ Components: Sheet
19
+
20
+ ### Added
21
+ - **`Sheet half`**: how much of the sheet shows at `half`, in tenths of its height, 1–9 (default 5). Before → after: the half stop was always 50%, retunable only by the app's own CSS on `--sheet-half` → `<Sheet half={6}>` shows 60% at half. The sheet's slide, its body's scroll-padding and the drag's snap all read it; the state is still called `half`, and the other states (`peek`, `3q`, `full`, `away`) do not move. A sheet without the prop is unchanged. Story `Sheet · HalfSix`.
22
+
5
23
  ## 0.7.144 — 2026-10-26
6
24
 
7
25
  A list of steps on a whole-card back reads from the start edge.
package/css/sheet.css CHANGED
@@ -52,7 +52,7 @@
52
52
  where the first control starts and nothing of it leaks through. Published
53
53
  (and registered in tokens.css) so a sheet whose head is taller can
54
54
  retune it: .my-sheet { --sheet-peek: … } */
55
- --sheet-half: 0.5; /* a share of the sheet's own height */
55
+ --sheet-half: 0.5; /* the share of the sheet's own height hidden at half; the Sheet's `half` prop sets it inline (half={6} → 0.4) */
56
56
  --sheet-3q: 0.25; /* three quarters showing: slid by a quarter */
57
57
  /* the sheet's own height, seen from inside it: the box it slides in is the
58
58
  size container (.step, .sheet-stage), so 100cqh is that box, less what
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
@@ -1933,7 +1933,7 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
1933
1933
  where the first control starts and nothing of it leaks through. Published
1934
1934
  (and registered in tokens.css) so a sheet whose head is taller can
1935
1935
  retune it: .my-sheet { --sheet-peek: … } */
1936
- --sheet-half: 0.5; /* a share of the sheet's own height */
1936
+ --sheet-half: 0.5; /* the share of the sheet's own height hidden at half; the Sheet's `half` prop sets it inline (half={6} → 0.4) */
1937
1937
  --sheet-3q: 0.25; /* three quarters showing: slid by a quarter */
1938
1938
  /* the sheet's own height, seen from inside it: the box it slides in is the
1939
1939
  size container (.step, .sheet-stage), so 100cqh is that box, less what
@@ -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.