@usableapp/cardds 0.7.128 → 0.7.129
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 +14 -0
- package/css/base.css +14 -0
- package/dist/cardds.css +14 -0
- package/dist/catalog.json +1 -1
- package/docs/reference.md +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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.129 — 2026-10-25
|
|
6
|
+
|
|
7
|
+
A fill `Screen` draws a solid strip over `--safe-top`, so iOS 26's glass blur never hides a sheet's grab handle.
|
|
8
|
+
|
|
9
|
+
Components: Screen
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- **The safe-top strip.** On iOS 26, a home-screen web app gets a Liquid Glass blur over the top of the screen, and that blur hid a sheet's grab handle. WebKit turns the blur off where an opaque fixed box stands at the top. A fill `Screen` now draws one, `.screen--fill::before`.
|
|
13
|
+
- Fixed, full width, as tall as `--safe-top`. That height already includes the keyboard pan.
|
|
14
|
+
- Painted in the screen's own ground, the same as the AppBar. Knob `--safe-top-bg`, default `--surface`.
|
|
15
|
+
- It sits under the AppBar and the layovers. Where `--safe-top` is 0 (Android, Safari in a tab) it is 0 tall.
|
|
16
|
+
- Nothing to add in the app. The fill `Screen` must not have an ancestor with a `transform` or `filter`, or the strip does not stay at the top of the screen.
|
|
17
|
+
- Story `Screen · SafeTop`.
|
|
18
|
+
|
|
5
19
|
## 0.7.128 — 2026-10-25
|
|
6
20
|
|
|
7
21
|
`Foot split`: a card foot split in half, now the own-item standard. Under `lit`, sheet shadows are very subtle.
|
package/css/base.css
CHANGED
|
@@ -130,6 +130,20 @@ 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 safe-top strip: a solid band over the room the fill screen keeps free at its top (--safe-top, the keyboard's pan included).
|
|
134
|
+
iOS 26 lays a Liquid Glass blur over the top of a home-screen web app, and that blur hid a sheet's grab handle; WebKit leaves it
|
|
135
|
+
off where an opaque fixed box at least 90% of the viewport wide and over 10px tall stands at the top centre. The screen's own
|
|
136
|
+
ground (the AppBar's too), so it never reads as a second layer; 0 tall where --safe-top is 0 (Android, Safari in a tab). Fixed,
|
|
137
|
+
so it must have no transformed or filtered ancestor; z: with the AppBar (which comes later and paints over it), under the layovers */
|
|
138
|
+
.screen--fill::before {
|
|
139
|
+
content: "";
|
|
140
|
+
position: fixed;
|
|
141
|
+
inset: 0 0 auto;
|
|
142
|
+
block-size: var(--safe-top);
|
|
143
|
+
background: var(--safe-top-bg, var(--surface));
|
|
144
|
+
z-index: var(--z-top);
|
|
145
|
+
pointer-events: none;
|
|
146
|
+
}
|
|
133
147
|
|
|
134
148
|
/* ---- typography levels ---- */
|
|
135
149
|
/* --fs-self: each level publishes its own size, for a consumer that scales a level without knowing which */
|
package/dist/cardds.css
CHANGED
|
@@ -701,6 +701,20 @@ 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 safe-top strip: a solid band over the room the fill screen keeps free at its top (--safe-top, the keyboard's pan included).
|
|
705
|
+
iOS 26 lays a Liquid Glass blur over the top of a home-screen web app, and that blur hid a sheet's grab handle; WebKit leaves it
|
|
706
|
+
off where an opaque fixed box at least 90% of the viewport wide and over 10px tall stands at the top centre. The screen's own
|
|
707
|
+
ground (the AppBar's too), so it never reads as a second layer; 0 tall where --safe-top is 0 (Android, Safari in a tab). Fixed,
|
|
708
|
+
so it must have no transformed or filtered ancestor; z: with the AppBar (which comes later and paints over it), under the layovers */
|
|
709
|
+
.screen--fill::before {
|
|
710
|
+
content: "";
|
|
711
|
+
position: fixed;
|
|
712
|
+
inset: 0 0 auto;
|
|
713
|
+
block-size: var(--safe-top);
|
|
714
|
+
background: var(--safe-top-bg, var(--surface));
|
|
715
|
+
z-index: var(--z-top);
|
|
716
|
+
pointer-events: none;
|
|
717
|
+
}
|
|
704
718
|
|
|
705
719
|
/* ---- typography levels ---- */
|
|
706
720
|
/* --fs-self: each level publishes its own size, for a consumer that scales a level without knowing which */
|