@usableapp/cardds 0.7.55 → 0.7.56

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.56 — 2026-10-06
6
+
7
+ ### Changed
8
+ - **A `paper` sheet keeps 24px of white above its first field.** The head stays the sheet's colour. The gap under the head stays that colour (`--card-gap`). The body's top padding is `--sp-6`, so a field no longer sits on the colour seam. A sheet without `paper` is unchanged. Nothing to change in a screen.
9
+
5
10
  ## 0.7.55 — 2026-10-06
6
11
 
7
12
  ### Fixed
package/css/sheet.css CHANGED
@@ -199,13 +199,18 @@
199
199
  cursor: grab;
200
200
  }
201
201
  /* paper: the head keeps the sheet's own colour, the content is white (Lh 2026-10-05).
202
- The body and the foot read as paper; the handle and the head stay on the card. */
202
+ The body and the foot read as paper; the handle and the head stay on the card.
203
+ The flex gap under the head is outside the body, so it stays the sheet's tint.
204
+ The first field would sit on that colour seam. The white inset is --sp-6 (24px at
205
+ the default spacing), the body's own top padding, and only when the sheet is paper.
206
+ A plain sheet keeps padding-top 0. */
203
207
  .sheet--paper > .sheet__body {
204
208
  --card-bg: var(--color-paper, #fff);
205
209
  --card-ink: var(--color-ink);
206
210
  --card-muted: var(--_muted-on-paper);
207
211
  background: var(--card-bg);
208
212
  color: var(--card-ink);
213
+ padding-top: var(--sp-6);
209
214
  }
210
215
  .sheet--paper > .card__foot { --card-bg: var(--color-paper, #fff); color: var(--color-ink); }
211
216
  .sheet__handle--dots {
package/dist/cardds.css CHANGED
@@ -1595,13 +1595,18 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
1595
1595
  cursor: grab;
1596
1596
  }
1597
1597
  /* paper: the head keeps the sheet's own colour, the content is white (Lh 2026-10-05).
1598
- The body and the foot read as paper; the handle and the head stay on the card. */
1598
+ The body and the foot read as paper; the handle and the head stay on the card.
1599
+ The flex gap under the head is outside the body, so it stays the sheet's tint.
1600
+ The first field would sit on that colour seam. The white inset is --sp-6 (24px at
1601
+ the default spacing), the body's own top padding, and only when the sheet is paper.
1602
+ A plain sheet keeps padding-top 0. */
1599
1603
  .sheet--paper > .sheet__body {
1600
1604
  --card-bg: var(--color-paper, #fff);
1601
1605
  --card-ink: var(--color-ink);
1602
1606
  --card-muted: var(--_muted-on-paper);
1603
1607
  background: var(--card-bg);
1604
1608
  color: var(--card-ink);
1609
+ padding-top: var(--sp-6);
1605
1610
  }
1606
1611
  .sheet--paper > .card__foot { --card-bg: var(--color-paper, #fff); color: var(--color-ink); }
1607
1612
  .sheet__handle--dots {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usableapp/cardds",
3
- "version": "0.7.55",
3
+ "version": "0.7.56",
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.",