@usableapp/cardds 0.7.168 → 0.7.170
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 +22 -0
- package/css/card.css +5 -1
- package/css/finish.css +2 -2
- package/css/sheet.css +4 -0
- package/dist/cardds.css +11 -3
- package/dist/catalog.json +1 -1
- package/docs/reference.md +6 -0
- package/package.json +1 -1
package/docs/reference.md
CHANGED
|
@@ -676,6 +676,12 @@ between at 40% down the screen (see *Anatomy*, "Where the centre is"):
|
|
|
676
676
|
- **Wrap buttons** (`Foot wrap`, `BtnRow wrap`, Lh 2026-10-28): each `Btn` as wide as its words, with its own side
|
|
677
677
|
padding (never narrowed), from the start, wrapping to a new line when they do not fit. `end` stands them at the
|
|
678
678
|
foot's (the row's) end: `<Foot wrap end><Btn>Reply</Btn><Btn>Open the chat</Btn></Foot>` (stories `Foot · Wrap`, `BtnRow · Wrap`).
|
|
679
|
+
- **Button width: one long, the rest short** (Lh 2026-10-29). The full-width button (`Btn block`, `width: 100%`) is ONLY the last
|
|
680
|
+
button of the matter: the one move that finishes a flow or a screen (the `ActionBar`'s one wide `Btn tone="primary" block`, a
|
|
681
|
+
sheet's `Foot`). Every other button is short, in one of two forms: *hug the label* when it stands alone, centred
|
|
682
|
+
(`Btn form`: its words with wide sides, in the middle; or `Foot wrap` / `BtnRow wrap`, each as wide as its words from the start),
|
|
683
|
+
and *share by count* when several stand in one row (`Foot`, `BtnRow`: the buttons split the row in even parts by their number).
|
|
684
|
+
All three forms are the existing `Btn` / `Foot` / `BtnRow` API; a project sets none of them by hand.
|
|
679
685
|
- **The member's own item: the foot split in half** (Lh 2026-10-25). On a card of something the member owns (their
|
|
680
686
|
request, post, booking), the foot is `Foot split`: two halves that ARE the foot, each half the card's width, edge
|
|
681
687
|
to edge and flush with its bottom edge (the card's corners round them), a `--rule-w` rule between them and over
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usableapp/cardds",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.170",
|
|
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).",
|