@usableapp/cardds 0.7.131 → 0.7.133
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 +25 -0
- package/css/base.css +13 -0
- package/css/parts.css +16 -2
- package/dist/cardds.css +29 -2
- package/dist/catalog.json +1 -1
- package/dist/parts/Foot.d.ts +2 -1
- package/docs/reference.md +7 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
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.133 — 2026-10-25
|
|
6
|
+
|
|
7
|
+
`Foot split` halves are now a strip at a status row's height with small label words, and status `Rows` can follow them in the same foot.
|
|
8
|
+
|
|
9
|
+
Components: Foot
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- **`Foot split` halves** (before: full button height, body-size words): a strip one status row tall (`--row-min-h` + the rows' gap), words at `--fs-label` (knob `--foot-split-font-size`). They read as one more line of the foot's status rows.
|
|
13
|
+
- **Status `Rows` after the two `Btn`s** in the same `<Foot split>` now wrap under the halves, with a rule over them. Story `Foot · SplitOverStatus` (new).
|
|
14
|
+
|
|
15
|
+
## 0.7.132 — 2026-10-25
|
|
16
|
+
|
|
17
|
+
On iOS run from the home screen, a fill `Screen` covers the whole viewport, fixed and opaque. This is a third try at turning off iOS 26's glass blur at the top.
|
|
18
|
+
|
|
19
|
+
Components: Screen
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
- **A fill `Screen` on iOS standalone** (`@supports (-webkit-touch-callout: none)` + `@media screen and (display-mode: standalone)`):
|
|
23
|
+
- It is now `position: fixed; inset: 0` in an opaque ground (knob `--screen-fill-bg`, default `--surface`), and `<html>` takes the same ground.
|
|
24
|
+
- WebKit uses that colour at the top instead of the Liquid Glass blur, where a fixed opaque box covers the viewport.
|
|
25
|
+
- Nothing else moves. The screen already clipped and never scrolled the document, and print keeps it in flow.
|
|
26
|
+
- Other platforms and the gallery are unchanged. Nothing to add in the app.
|
|
27
|
+
- Story `Screen · Standalone`.
|
|
28
|
+
- Not yet confirmed on a device.
|
|
29
|
+
|
|
5
30
|
## 0.7.131 — 2026-10-25
|
|
6
31
|
|
|
7
32
|
The safe-top strip is gone (0.7.129 and 0.7.130 are reverted). On a real iPhone it did not turn off iOS 26's glass blur on every screen.
|
package/css/base.css
CHANGED
|
@@ -130,6 +130,19 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
130
130
|
position: relative; /* the box a .card--centre or a .screen__centre floats in (card.css) */
|
|
131
131
|
container-type: size; /* a share of the SCREEN's height (a no-bar step's lead, step.css) reads it as cqh — a real phone's height, or the gallery's frame */
|
|
132
132
|
}
|
|
133
|
+
/* the whole-screen cover (third try, after the 0.7.129/0.7.130 strips failed on a device): iOS 26 lays a Liquid Glass blur over
|
|
134
|
+
the top of a home-screen web app; WebKit leaves it off, and uses the colour instead, where a position:fixed box covers the
|
|
135
|
+
viewport (≥ 90% wide, ≤ ~105% tall) with an opaque background. So there the fill screen IS that box: fixed to the viewport,
|
|
136
|
+
inset 0 (its height then the viewport's, not 100dvh), in an opaque ground (--screen-fill-bg, default --surface), and <html>
|
|
137
|
+
in the same ground. Nothing else changes: it already clipped and never scrolled the document (its step, sheet and pages
|
|
138
|
+
scroll inside); it stays the box its absolute layers, its fixed children (container-type) and cqh read. Only iOS
|
|
139
|
+
(-webkit-touch-callout) from the home screen (display-mode: standalone), on screen — print keeps the box in flow. */
|
|
140
|
+
@supports (-webkit-touch-callout: none) {
|
|
141
|
+
@media screen and (display-mode: standalone) {
|
|
142
|
+
.screen--fill { position: fixed; inset: 0; height: auto; background: var(--screen-fill-bg, var(--surface)); }
|
|
143
|
+
html:has(.screen--fill) { background: var(--screen-fill-bg, var(--surface)); }
|
|
144
|
+
}
|
|
145
|
+
}
|
|
133
146
|
|
|
134
147
|
/* ---- typography levels ---- */
|
|
135
148
|
/* --fs-self: each level publishes its own size, for a consumer that scales a level without knowing which */
|
package/css/parts.css
CHANGED
|
@@ -406,9 +406,13 @@
|
|
|
406
406
|
/* split (Foot split, Lh 2026-10-25): two Btns that ARE the card's foot — each half its width, edge to edge, flush with its bottom edge,
|
|
407
407
|
the card's bottom corners round them. No pill: no fill, no edge, no radius; the words in the ink of the ground they stand on (a `Btn warn`
|
|
408
408
|
keeps its warning, on that ground's side). A rule of --rule-w between the halves and over them (the band's own fill is the edge on bands).
|
|
409
|
-
Knob --foot-split-rule-ink. The finishes leave the halves flat (finish.css): the card carries the finish
|
|
409
|
+
Knob --foot-split-rule-ink. The finishes leave the halves flat (finish.css): the card carries the finish.
|
|
410
|
+
A STRIP, not a button row (Lh 2026-10-25): each half is a status row's height (a row's --row-min-h plus the rows' gap, --sp-2 above
|
|
411
|
+
and under) and its words the small label size (--foot-split-font-size, default --fs-label), so the halves read as one more line of the
|
|
412
|
+
foot's status rows. Status Rows may follow the halves in the same foot: they wrap under them, a rule over them, the same row pitch */
|
|
410
413
|
.foot.foot--split {
|
|
411
414
|
gap: 0;
|
|
415
|
+
flex-wrap: wrap;
|
|
412
416
|
align-items: stretch;
|
|
413
417
|
margin: 0 calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad));
|
|
414
418
|
padding: 0;
|
|
@@ -418,9 +422,19 @@
|
|
|
418
422
|
border-end-end-radius: calc(var(--card-radius, var(--r-card)) - var(--border-w));
|
|
419
423
|
}
|
|
420
424
|
:is(.card--bands, .card--bands > .card__face) > .foot.foot--split { padding: 0; border-block-start: 0; } /* the band's slim padding goes: the halves are the band */
|
|
421
|
-
.foot--split > .btn {
|
|
425
|
+
.foot--split > .btn {
|
|
426
|
+
--btn-bg: transparent; --btn-ink: var(--card-ink); flex: 1 1 0; min-width: 0; border: 0; border-radius: 0; box-shadow: none;
|
|
427
|
+
min-height: var(--row-min-h, var(--tap));
|
|
428
|
+
padding-block: var(--sp-2);
|
|
429
|
+
font-size: var(--foot-split-font-size, var(--fs-label));
|
|
430
|
+
}
|
|
422
431
|
.foot--split > .btn--warn { --dark: inherit; }
|
|
423
432
|
.foot--split > .btn + .btn { border-inline-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline)); }
|
|
433
|
+
.foot.foot--split > .rows {
|
|
434
|
+
margin-inline: 0; /* the split foot already runs the card's full width */
|
|
435
|
+
padding-block: var(--sp-2);
|
|
436
|
+
border-block-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline));
|
|
437
|
+
}
|
|
424
438
|
/* what draws across the foot runs the card's FULL width (Lh 2026-10-25): a Rows or a lined Kv in a foot reaches the card's edges, so its
|
|
425
439
|
rule meets them as the band seams do, and each of its rows takes the card's padding back (--card-pad, the body's own), so the words
|
|
426
440
|
stand on the body's line. Every foot's content box is --card-pad in from the card's edges (the card's padding, or a band's, a sheet's,
|
package/dist/cardds.css
CHANGED
|
@@ -701,6 +701,19 @@ button:enabled { cursor: pointer; } /* a disabled one keeps the arrow */
|
|
|
701
701
|
position: relative; /* the box a .card--centre or a .screen__centre floats in (card.css) */
|
|
702
702
|
container-type: size; /* a share of the SCREEN's height (a no-bar step's lead, step.css) reads it as cqh — a real phone's height, or the gallery's frame */
|
|
703
703
|
}
|
|
704
|
+
/* the whole-screen cover (third try, after the 0.7.129/0.7.130 strips failed on a device): iOS 26 lays a Liquid Glass blur over
|
|
705
|
+
the top of a home-screen web app; WebKit leaves it off, and uses the colour instead, where a position:fixed box covers the
|
|
706
|
+
viewport (≥ 90% wide, ≤ ~105% tall) with an opaque background. So there the fill screen IS that box: fixed to the viewport,
|
|
707
|
+
inset 0 (its height then the viewport's, not 100dvh), in an opaque ground (--screen-fill-bg, default --surface), and <html>
|
|
708
|
+
in the same ground. Nothing else changes: it already clipped and never scrolled the document (its step, sheet and pages
|
|
709
|
+
scroll inside); it stays the box its absolute layers, its fixed children (container-type) and cqh read. Only iOS
|
|
710
|
+
(-webkit-touch-callout) from the home screen (display-mode: standalone), on screen — print keeps the box in flow. */
|
|
711
|
+
@supports (-webkit-touch-callout: none) {
|
|
712
|
+
@media screen and (display-mode: standalone) {
|
|
713
|
+
.screen--fill { position: fixed; inset: 0; height: auto; background: var(--screen-fill-bg, var(--surface)); }
|
|
714
|
+
html:has(.screen--fill) { background: var(--screen-fill-bg, var(--surface)); }
|
|
715
|
+
}
|
|
716
|
+
}
|
|
704
717
|
|
|
705
718
|
/* ---- typography levels ---- */
|
|
706
719
|
/* --fs-self: each level publishes its own size, for a consumer that scales a level without knowing which */
|
|
@@ -4601,9 +4614,13 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
4601
4614
|
/* split (Foot split, Lh 2026-10-25): two Btns that ARE the card's foot — each half its width, edge to edge, flush with its bottom edge,
|
|
4602
4615
|
the card's bottom corners round them. No pill: no fill, no edge, no radius; the words in the ink of the ground they stand on (a `Btn warn`
|
|
4603
4616
|
keeps its warning, on that ground's side). A rule of --rule-w between the halves and over them (the band's own fill is the edge on bands).
|
|
4604
|
-
Knob --foot-split-rule-ink. The finishes leave the halves flat (finish.css): the card carries the finish
|
|
4617
|
+
Knob --foot-split-rule-ink. The finishes leave the halves flat (finish.css): the card carries the finish.
|
|
4618
|
+
A STRIP, not a button row (Lh 2026-10-25): each half is a status row's height (a row's --row-min-h plus the rows' gap, --sp-2 above
|
|
4619
|
+
and under) and its words the small label size (--foot-split-font-size, default --fs-label), so the halves read as one more line of the
|
|
4620
|
+
foot's status rows. Status Rows may follow the halves in the same foot: they wrap under them, a rule over them, the same row pitch */
|
|
4605
4621
|
.foot.foot--split {
|
|
4606
4622
|
gap: 0;
|
|
4623
|
+
flex-wrap: wrap;
|
|
4607
4624
|
align-items: stretch;
|
|
4608
4625
|
margin: 0 calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad));
|
|
4609
4626
|
padding: 0;
|
|
@@ -4613,9 +4630,19 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
4613
4630
|
border-end-end-radius: calc(var(--card-radius, var(--r-card)) - var(--border-w));
|
|
4614
4631
|
}
|
|
4615
4632
|
:is(.card--bands, .card--bands > .card__face) > .foot.foot--split { padding: 0; border-block-start: 0; } /* the band's slim padding goes: the halves are the band */
|
|
4616
|
-
.foot--split > .btn {
|
|
4633
|
+
.foot--split > .btn {
|
|
4634
|
+
--btn-bg: transparent; --btn-ink: var(--card-ink); flex: 1 1 0; min-width: 0; border: 0; border-radius: 0; box-shadow: none;
|
|
4635
|
+
min-height: var(--row-min-h, var(--tap));
|
|
4636
|
+
padding-block: var(--sp-2);
|
|
4637
|
+
font-size: var(--foot-split-font-size, var(--fs-label));
|
|
4638
|
+
}
|
|
4617
4639
|
.foot--split > .btn--warn { --dark: inherit; }
|
|
4618
4640
|
.foot--split > .btn + .btn { border-inline-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline)); }
|
|
4641
|
+
.foot.foot--split > .rows {
|
|
4642
|
+
margin-inline: 0; /* the split foot already runs the card's full width */
|
|
4643
|
+
padding-block: var(--sp-2);
|
|
4644
|
+
border-block-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline));
|
|
4645
|
+
}
|
|
4619
4646
|
/* what draws across the foot runs the card's FULL width (Lh 2026-10-25): a Rows or a lined Kv in a foot reaches the card's edges, so its
|
|
4620
4647
|
rule meets them as the band seams do, and each of its rows takes the card's padding back (--card-pad, the body's own), so the words
|
|
4621
4648
|
stand on the body's line. Every foot's content box is --card-pad in from the card's edges (the card's padding, or a band's, a sheet's,
|