@usableapp/cardds 0.7.132 → 0.7.134
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 +24 -0
- package/css/parts.css +28 -4
- package/dist/cardds.css +28 -4
- package/dist/catalog.json +1 -1
- package/dist/parts/Foot.d.ts +7 -4
- package/dist/parts/Foot.js +1 -1
- package/docs/reference.md +10 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
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.134 — 2026-10-25
|
|
6
|
+
|
|
7
|
+
`Foot split` takes two small links. The member's own item is now Edit · Cancel request as `Link sm`, not Btns.
|
|
8
|
+
|
|
9
|
+
Components: Foot, Link
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- **`Foot split` with two `Link sm`s.** Each link fills its half of the foot, so the whole half is the tap target, at least `--tap` tall. Its icon and words are centred, at the link's small size and ink, and never wrap; a `Link sm error` keeps its red. The rule between the halves and the flush bottom edge are the same as the Btn version. It also works on `paper="bands"`. Story `Foot · SplitLinks`.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- **The member's own item: the split foot is two small links** (Lh found the Btns too big):
|
|
16
|
+
`<Foot split><Link sm><Icon name="pencil" size="xs" /> Edit</Link><Link sm error><Icon name="x" size="xs" /> Cancel request</Link></Foot>`.
|
|
17
|
+
Two `Btn`s still work as the halves. Stories `Btn · OwnItemFoot` and `Foot · SplitOverStatus`; `docs/reference.md`, guide.
|
|
18
|
+
|
|
19
|
+
## 0.7.133 — 2026-10-25
|
|
20
|
+
|
|
21
|
+
`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.
|
|
22
|
+
|
|
23
|
+
Components: Foot
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
- **`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.
|
|
27
|
+
- **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).
|
|
28
|
+
|
|
5
29
|
## 0.7.132 — 2026-10-25
|
|
6
30
|
|
|
7
31
|
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.
|
package/css/parts.css
CHANGED
|
@@ -403,12 +403,16 @@
|
|
|
403
403
|
.foot--round { justify-content: center; gap: var(--foot-gap, var(--sp-6)); }
|
|
404
404
|
/* joined (Foot round joined): the round buttons linked by dots (the dots are BtnRow's, actions.css), a closer gap */
|
|
405
405
|
.foot--joined { gap: var(--btn-trio-gap, var(--sp-3)); }
|
|
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,
|
|
406
|
+
/* split (Foot split, Lh 2026-10-25): two Btns (or two small Links, below) 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,29 @@
|
|
|
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
|
+
/* or two small Links (Link sm, Lh 2026-10-25: the Btns read too big): each fills its half, so the whole half is the tap target, its icon and
|
|
433
|
+
words centred, at the link's own small size and ink (a Link error keeps its red). The words never wrap: short of room, the side padding goes
|
|
434
|
+
first. The link's invisible tap ring (::after) is the half itself here */
|
|
435
|
+
.foot--split > .link {
|
|
436
|
+
flex: 1 1 0; min-width: 0; justify-content: center;
|
|
437
|
+
min-height: var(--row-min-h, var(--tap));
|
|
438
|
+
padding: var(--sp-2);
|
|
439
|
+
white-space: nowrap;
|
|
440
|
+
}
|
|
441
|
+
.foot--split > .link::after { inset: 0; }
|
|
442
|
+
.foot--split > :is(.btn, .link) + :is(.btn, .link) { border-inline-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline)); }
|
|
443
|
+
.foot.foot--split > .rows {
|
|
444
|
+
margin-inline: 0; /* the split foot already runs the card's full width */
|
|
445
|
+
padding-block: var(--sp-2);
|
|
446
|
+
border-block-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline));
|
|
447
|
+
}
|
|
424
448
|
/* 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
449
|
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
450
|
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
|
@@ -4611,12 +4611,16 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
4611
4611
|
.foot--round { justify-content: center; gap: var(--foot-gap, var(--sp-6)); }
|
|
4612
4612
|
/* joined (Foot round joined): the round buttons linked by dots (the dots are BtnRow's, actions.css), a closer gap */
|
|
4613
4613
|
.foot--joined { gap: var(--btn-trio-gap, var(--sp-3)); }
|
|
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,
|
|
4614
|
+
/* split (Foot split, Lh 2026-10-25): two Btns (or two small Links, below) that ARE the card's foot — each half its width, edge to edge, flush with its bottom edge,
|
|
4615
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`
|
|
4616
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).
|
|
4617
|
-
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 */
|
|
4618
4621
|
.foot.foot--split {
|
|
4619
4622
|
gap: 0;
|
|
4623
|
+
flex-wrap: wrap;
|
|
4620
4624
|
align-items: stretch;
|
|
4621
4625
|
margin: 0 calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad));
|
|
4622
4626
|
padding: 0;
|
|
@@ -4626,9 +4630,29 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
4626
4630
|
border-end-end-radius: calc(var(--card-radius, var(--r-card)) - var(--border-w));
|
|
4627
4631
|
}
|
|
4628
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 */
|
|
4629
|
-
.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
|
+
}
|
|
4630
4639
|
.foot--split > .btn--warn { --dark: inherit; }
|
|
4631
|
-
|
|
4640
|
+
/* or two small Links (Link sm, Lh 2026-10-25: the Btns read too big): each fills its half, so the whole half is the tap target, its icon and
|
|
4641
|
+
words centred, at the link's own small size and ink (a Link error keeps its red). The words never wrap: short of room, the side padding goes
|
|
4642
|
+
first. The link's invisible tap ring (::after) is the half itself here */
|
|
4643
|
+
.foot--split > .link {
|
|
4644
|
+
flex: 1 1 0; min-width: 0; justify-content: center;
|
|
4645
|
+
min-height: var(--row-min-h, var(--tap));
|
|
4646
|
+
padding: var(--sp-2);
|
|
4647
|
+
white-space: nowrap;
|
|
4648
|
+
}
|
|
4649
|
+
.foot--split > .link::after { inset: 0; }
|
|
4650
|
+
.foot--split > :is(.btn, .link) + :is(.btn, .link) { border-inline-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline)); }
|
|
4651
|
+
.foot.foot--split > .rows {
|
|
4652
|
+
margin-inline: 0; /* the split foot already runs the card's full width */
|
|
4653
|
+
padding-block: var(--sp-2);
|
|
4654
|
+
border-block-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline));
|
|
4655
|
+
}
|
|
4632
4656
|
/* 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
|
|
4633
4657
|
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
|
|
4634
4658
|
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,
|