@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/dist/parts/Foot.d.ts
CHANGED
|
@@ -13,7 +13,8 @@ export interface FootProps extends ComponentProps<'div'> {
|
|
|
13
13
|
/** a foot SPLIT IN HALF: two `Btn`s that ARE the card's foot, each half its width, edge to edge and flush with the card's bottom edge (its
|
|
14
14
|
* corners round them), a thin rule between them and over them (none over a `paper="bands"` foot band, whose fill is its edge). No pill: no
|
|
15
15
|
* fill, no edge, no radius, the words centred in the ground's ink; a `Btn warn` keeps its warning ink. Knob `--foot-split-rule-ink`.
|
|
16
|
-
* The member's own item: Edit left, the cancel right (Lh 2026-10-25)
|
|
16
|
+
* The member's own item: Edit left, the cancel right (Lh 2026-10-25). The halves are a strip at a status row's height with small words
|
|
17
|
+
* (knob `--foot-split-font-size`); status `Rows` may follow the two `Btn`s in the same foot and stand under them, a rule between */
|
|
17
18
|
split?: boolean;
|
|
18
19
|
}
|
|
19
20
|
/** Foot — the last row of a card, a sheet or a stack sheet: what the member can do next, its buttons on one line. One takes the width, up to
|
package/docs/reference.md
CHANGED
|
@@ -55,7 +55,9 @@ import './theme.css'; // the project's own look, after the system's — see "A
|
|
|
55
55
|
`viewport-fit=cover` = the app runs edge to edge under the phone's own bars; cardds publishes their room as
|
|
56
56
|
`--safe-top` / `--safe-bottom` (from `env(safe-area-inset-*)`, 0 without cover) and keeps what the member reads or taps
|
|
57
57
|
clear of them — the bottom bar's buttons, a sheet's peeked head, its foot and the end of its body, the float bar, the FAB,
|
|
58
|
-
a stage's foot; a fill `Screen` starts under the status bar — while every ground still runs to the edge.
|
|
58
|
+
a stage's foot; a fill `Screen` starts under the status bar — while every ground still runs to the edge. On iOS run
|
|
59
|
+
from the home screen a fill `Screen` is `position: fixed; inset: 0` in an opaque ground (`--screen-fill-bg`, default
|
|
60
|
+
`--surface`; `<html>` takes it too): iOS 26 then paints that colour at the top instead of its Liquid Glass blur. Nothing to add. A
|
|
59
61
|
component of the app's own pinned to an edge reads the same two tokens. `interactive-widget=resizes-content` =
|
|
60
62
|
Android shrinks the page for the keyboard (`--kb` stays 0 there; iOS publishes it).
|
|
61
63
|
|
|
@@ -591,7 +593,10 @@ between at 40% down the screen (see *Anatomy*, "Where the centre is"):
|
|
|
591
593
|
size="xs"` leading its word; right, the cancel / withdraw: a `Btn warn` (its words and icon in the warning ink,
|
|
592
594
|
`--signal-warn`, knob `--btn-warn-ink`: a move to think twice about, not an error) with an `Icon name="x"
|
|
593
595
|
size="xs"` leading (`<Foot split><Btn><Icon name="pencil" size="xs" /> Edit</Btn><Btn warn><Icon name="x"
|
|
594
|
-
size="xs" /> Cancel
|
|
596
|
+
size="xs" /> Cancel</Btn></Foot>`, stories `Btn · OwnItemFoot`, `Foot · Split`). The halves are a STRIP, not a button row:
|
|
597
|
+
a status row's height and the small label words (knob `--foot-split-font-size`), one short word each. The foot's status
|
|
598
|
+
`Rows` follow the two `Btn`s in the same `Foot split` and stand under them, a rule between, the same row pitch
|
|
599
|
+
(`<Foot split><Btn>…</Btn><Btn warn>…</Btn><Rows>…</Rows></Foot>`, story `Foot · SplitOverStatus`).
|
|
595
600
|
- A pick of a few WORDS (`BtnGroupItem`s) has two looks of its own. `look="strip"`: muted words on no
|
|
596
601
|
paper, the picked one filled — a tab strip, a day picker under a number. `look="choice"`: the words
|
|
597
602
|
JOINED in one frame like the icon frame — the button's paper and edge, a full tap tall, the words sharing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usableapp/cardds",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.133",
|
|
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.",
|