@usableapp/cardds 0.7.133 → 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 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.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
+
5
19
  ## 0.7.133 — 2026-10-25
6
20
 
7
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.
package/css/parts.css CHANGED
@@ -403,7 +403,7 @@
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
409
  Knob --foot-split-rule-ink. The finishes leave the halves flat (finish.css): the card carries the finish.
@@ -429,7 +429,17 @@
429
429
  font-size: var(--foot-split-font-size, var(--fs-label));
430
430
  }
431
431
  .foot--split > .btn--warn { --dark: inherit; }
432
- .foot--split > .btn + .btn { border-inline-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline)); }
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)); }
433
443
  .foot.foot--split > .rows {
434
444
  margin-inline: 0; /* the split foot already runs the card's full width */
435
445
  padding-block: var(--sp-2);
package/dist/cardds.css CHANGED
@@ -4611,7 +4611,7 @@ 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
4617
  Knob --foot-split-rule-ink. The finishes leave the halves flat (finish.css): the card carries the finish.
@@ -4637,7 +4637,17 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
4637
4637
  font-size: var(--foot-split-font-size, var(--fs-label));
4638
4638
  }
4639
4639
  .foot--split > .btn--warn { --dark: inherit; }
4640
- .foot--split > .btn + .btn { border-inline-start: var(--rule-w) solid var(--foot-split-rule-ink, var(--hairline)); }
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)); }
4641
4651
  .foot.foot--split > .rows {
4642
4652
  margin-inline: 0; /* the split foot already runs the card's full width */
4643
4653
  padding-block: var(--sp-2);