@usableapp/cardds 0.7.68 → 0.7.69

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,11 @@
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.
4
4
 
5
+ ## 0.7.69 — 2026-10-07
6
+
7
+ ### Fixed
8
+ - **A `Stamp` in a `Centre` above a closed stack fits a short phone** (reported by timebank, 2026-10-07) — in `Home base={<Centre>…}` / `SheetStack base` the stamp is held by the HEIGHT of the room above the sheet heads as well as by the screen's width: its height is at most 45% of that room, so two lines of words fit under it. Before: sized from the width alone, at 320×568 the stamp ran up under the top bar and the words met the first sheet's head (a group 314px tall in a 253px room). A phone 640 tall or more looks as before. Nothing to change in a screen. Three lines of words under the stamp on a 320×568 phone with three sheets still run a little long: keep the line short.
9
+
5
10
  ## 0.7.68 — 2026-10-07
6
11
 
7
12
  ### Changed
package/css/stack.css CHANGED
@@ -285,6 +285,7 @@
285
285
  overflow: hidden;
286
286
  overscroll-behavior: none;
287
287
  touch-action: none;
288
+ container-type: size; /* what stands in it may be sized by this room (cqh) — its width is the fill screen's own content width, so cqw reads the same as before */
288
289
  }
289
290
  /* a base that is ONE Page is a page's words (a title, a welcome, the news): it reads from the TOP, like any page —
290
291
  loose things (a picture, a line) still sit against the peeks (Lh 2026-09-23, the home) */
package/css/stamp.css CHANGED
@@ -85,6 +85,9 @@
85
85
  /* a stamp handed over in a Centre: sized by the SCREEN (a little over half its width inside the inset), its greeting centred under it */
86
86
  .screen__centre:has(> .stamp) { justify-items: center; text-align: center; }
87
87
  .screen__centre > .stamp { max-width: var(--stamp-centre-max-w, 56cqw); }
88
+ /* in the room above a closed stack's heads the stamp is held by that room's HEIGHT too: its height at most 45% of it, so two lines of words under it
89
+ still fit on a short phone (320×568 left 253px for a group 314 tall — reported by timebank, 2026-10-07). cqh reads the base, a size container. */
90
+ .sheet-stack__base > .screen__centre > .stamp { max-width: min(var(--stamp-centre-max-w, 56cqw), 36cqh); }
88
91
 
89
92
  /* ---- stamp place: an empty place for a stamp — an album's gap, "make yours" ----
90
93
  <span class="stamp-place">สร้าง</span> · <button class="stamp-place">…</button> · <span class="stamp-place stamp-place--faint"></span> */
package/dist/cardds.css CHANGED
@@ -1309,6 +1309,7 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
1309
1309
  overflow: hidden;
1310
1310
  overscroll-behavior: none;
1311
1311
  touch-action: none;
1312
+ container-type: size; /* what stands in it may be sized by this room (cqh) — its width is the fill screen's own content width, so cqw reads the same as before */
1312
1313
  }
1313
1314
  /* a base that is ONE Page is a page's words (a title, a welcome, the news): it reads from the TOP, like any page —
1314
1315
  loose things (a picture, a line) still sit against the peeks (Lh 2026-09-23, the home) */
@@ -3939,6 +3940,9 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
3939
3940
  /* a stamp handed over in a Centre: sized by the SCREEN (a little over half its width inside the inset), its greeting centred under it */
3940
3941
  .screen__centre:has(> .stamp) { justify-items: center; text-align: center; }
3941
3942
  .screen__centre > .stamp { max-width: var(--stamp-centre-max-w, 56cqw); }
3943
+ /* in the room above a closed stack's heads the stamp is held by that room's HEIGHT too: its height at most 45% of it, so two lines of words under it
3944
+ still fit on a short phone (320×568 left 253px for a group 314 tall — reported by timebank, 2026-10-07). cqh reads the base, a size container. */
3945
+ .sheet-stack__base > .screen__centre > .stamp { max-width: min(var(--stamp-centre-max-w, 56cqw), 36cqh); }
3942
3946
 
3943
3947
  /* ---- stamp place: an empty place for a stamp — an album's gap, "make yours" ----
3944
3948
  <span class="stamp-place">สร้าง</span> · <button class="stamp-place">…</button> · <span class="stamp-place stamp-place--faint"></span> */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usableapp/cardds",
3
- "version": "0.7.68",
3
+ "version": "0.7.69",
4
4
  "license": "UNLICENSED",
5
5
  "type": "module",
6
6
  "description": "card-first mobile design system, React-first: the components in src/ are thin wrappers over the CSS contract (css/*.css stays the only truth); gallery/ shows every story live (npm run dev), tests/ measures the geometry.",