@usableapp/cardds 0.7.112 → 0.7.113
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 +9 -0
- package/css/base.css +1 -1
- package/dist/cardds.css +1 -1
- package/dist/catalog.json +1 -1
- package/dist/type/Text.d.ts +4 -2
- package/package.json +1 -1
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.113 — 2026-10-24
|
|
6
|
+
|
|
7
|
+
A `Text scroll` box shows three lines and a half, at every text size (Lh 2026-10-24: at three whole lines nobody knew there was more).
|
|
8
|
+
|
|
9
|
+
Components: all
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- **A `Text scroll` box shows three lines and a half.** Before → after: the box showed 3 whole lines (`--text-scroll-lines` default 3), so the member could not tell a fourth line was there → it shows 3.5 (default 3.5): the half line shows there is more to scroll. The box counts in the text's own lines, so at a bigger text size it grows and still shows 3.5 lines. For a box that is always that tall, short text too, set `--text-scroll-size: 3.5lh` (a length in the text's own lines, so it follows the text size); a theme that wants another count still sets `--text-scroll-lines`. Story `Card/ReasonFixedHeight` (now 3.5lh), `Card/ReasonScrolls`.
|
|
13
|
+
|
|
5
14
|
## 0.7.112 — 2026-10-24
|
|
6
15
|
|
|
7
16
|
A `Text scroll` box can keep one height whatever it holds, and a card's content can hold a group of round buttons so its `Foot` stays the status line (timebank, 2026-10-24: the request card's reason and the helper's answers). A stamp in a head that leads with a date no longer lies over the date.
|
package/css/base.css
CHANGED
|
@@ -138,7 +138,7 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
138
138
|
.t-h2 { font: var(--type-h2); letter-spacing: var(--track-h2); margin: 0; --fs-self: var(--fs-h2); }
|
|
139
139
|
.t-title { font: var(--type-title); margin: 0; --fs-self: var(--fs-title); }
|
|
140
140
|
.t-body { font: var(--type-body); margin: 0; }
|
|
141
|
-
.t-scroll { --_t-scroll-max: calc(var(--text-scroll-lines, 3) * 1lh); height: var(--text-scroll-size, auto); max-height: var(--text-scroll-size, var(--_t-scroll-max)); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; } /* the box is plain: no border, no ground; lh = the body's own line */
|
|
141
|
+
.t-scroll { --_t-scroll-max: calc(var(--text-scroll-lines, 3.5) * 1lh); height: var(--text-scroll-size, auto); max-height: var(--text-scroll-size, var(--_t-scroll-max)); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; } /* the box is plain: no border, no ground; lh = the body's own line */
|
|
142
142
|
.t-label { font: var(--type-label); }
|
|
143
143
|
.t-caption { font: var(--type-caption); color: var(--t-caption-ink, inherit); }
|
|
144
144
|
.t-stat { font: var(--type-stat); letter-spacing: var(--track-display); margin: 0; font-variant-numeric: tabular-nums; }
|
package/dist/cardds.css
CHANGED
|
@@ -707,7 +707,7 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
707
707
|
.t-h2 { font: var(--type-h2); letter-spacing: var(--track-h2); margin: 0; --fs-self: var(--fs-h2); }
|
|
708
708
|
.t-title { font: var(--type-title); margin: 0; --fs-self: var(--fs-title); }
|
|
709
709
|
.t-body { font: var(--type-body); margin: 0; }
|
|
710
|
-
.t-scroll { --_t-scroll-max: calc(var(--text-scroll-lines, 3) * 1lh); height: var(--text-scroll-size, auto); max-height: var(--text-scroll-size, var(--_t-scroll-max)); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; } /* the box is plain: no border, no ground; lh = the body's own line */
|
|
710
|
+
.t-scroll { --_t-scroll-max: calc(var(--text-scroll-lines, 3.5) * 1lh); height: var(--text-scroll-size, auto); max-height: var(--text-scroll-size, var(--_t-scroll-max)); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; } /* the box is plain: no border, no ground; lh = the body's own line */
|
|
711
711
|
.t-label { font: var(--type-label); }
|
|
712
712
|
.t-caption { font: var(--type-caption); color: var(--t-caption-ink, inherit); }
|
|
713
713
|
.t-stat { font: var(--type-stat); letter-spacing: var(--track-display); margin: 0; font-variant-numeric: tabular-nums; }
|