@usableapp/cardds 0.7.123 → 0.7.125
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 +19 -0
- package/css/base.css +3 -2
- package/css/parts.css +4 -0
- package/css/stamp.css +4 -4
- package/dist/cardds.css +11 -6
- package/dist/catalog.json +1 -1
- package/docs/reference.md +8 -4
- package/package.json +1 -1
package/docs/reference.md
CHANGED
|
@@ -812,13 +812,15 @@ it up. cardds draws the paper; the pictures, their words and which stamp a membe
|
|
|
812
812
|
stamp in an `AvatarStack` are `--stamp-sm-size` wide (one tap: 48 × 60), on any surface and in any row. And the inline
|
|
813
813
|
one: `Stamp xs` stands beside a status line's words (a card's `Foot`: the stamp, "X took it", a round button), one
|
|
814
814
|
`Chip xs` tall, `--stamp-xs-size` (18.7 × 23.4, on `--fs-base`); always bare, no shadow, its teeth fewer and larger.
|
|
815
|
-
Several lap in an `AvatarStack` with `more` ("+8"), the count then at the chip's scale.
|
|
815
|
+
Several lap in an `AvatarStack` with `more` ("+8"), the count then at the chip's scale. In a card's head band the stamp keeps the head's padding below it as well as above (`--card-pad`, not the seam), so the head is never shorter
|
|
816
|
+
than the stamp plus its padding, plain or `under`. A stamp the app is not ready to show yet is `held`: it keeps its box, draws nothing,
|
|
816
817
|
is hidden from screen readers, and appears in the same box when `held` turns false, so nothing beside it moves (any size). The stamps in
|
|
817
818
|
a `PostDesk`'s tray are the standard size. One exception, by the owner's decision: the stamp at a postcard's corner is
|
|
818
819
|
the postcard's own size, 72 × 90 (`--post-corner-stamp-w`), in neither. `words` is not drawn on a stamp 96 wide or
|
|
819
820
|
narrower, so at the standard size only `name` shows, and it is larger.
|
|
820
|
-
- **A stamp on a card lies flat** (Lh 2026-10-24): no shadow, at every size —
|
|
821
|
-
`Foot` row's, `xs`.
|
|
821
|
+
- **A stamp on a card lies flat** (Lh 2026-10-24): no shadow, at every size — a `FeedCard`'s lead, a
|
|
822
|
+
`Foot` row's, `xs`. A stamp in a card's head is glued down (Lh 2026-10-25): plain, `under` or `sm`, a hair of shadow
|
|
823
|
+
under paper (`--shadow-glued`, knob `--stamp-under-drop`); `bare` and `xs` stay flat. One rule by where it stands (`stamp.css`), nothing to pass. A stamp off a card keeps its shadow: the
|
|
822
824
|
album (`StampBook`, also in a card or a sheet), the tray, a `PostDesk`, a start screen's stamp, a postcard's corner, a
|
|
823
825
|
stamp stuck on a note. A sheet is not "on a card" here: what a sheet holds keeps its shadow.
|
|
824
826
|
- **`StampPlace`** — an empty place the size of a stamp, its edge a ring of round dots: a word inside, `onClick` for "make
|
|
@@ -1293,7 +1295,9 @@ reads every value from a token in `css/tokens.css` (or a palette, a finish, a pr
|
|
|
1293
1295
|
- **type**: the eight kinds (display, h1, h2, title, body, label, caption, stat) each have `--face-<kind>`, `--fw-<kind>`,
|
|
1294
1296
|
`--fs-<kind>`, `--lh-<kind>` and `--track-<kind>`, and `--type-<kind>` is made of them. A piece set on a size outside the
|
|
1295
1297
|
kinds composes its `font:` from the scales: `--fs-*`, weight `--fw-regular` … `--fw-black`, leading `--lh-mark` … `--lh-ruled`.
|
|
1296
|
-
Gallery `Text · Kinds` shows them resolved.
|
|
1298
|
+
Gallery `Text · Kinds` shows them resolved. An h1's caption, over it or under it, keeps to the heading's leading
|
|
1299
|
+
(`--lh-h1-caption`); a caption over an h1 that wraps starts where a one-line one does, its next line goes down and the
|
|
1300
|
+
h1 with it (gallery `Text · HeadingWraps`).
|
|
1297
1301
|
|
|
1298
1302
|
A knob's default is one of these too, so a knob read from nowhere still shows the theme. `npm run check` reads
|
|
1299
1303
|
every declaration of every component file and every literal of an inline `style` in `src/` and `.design-sync/previews/`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usableapp/cardds",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.125",
|
|
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.",
|