@usableapp/cardds 0.7.152 → 0.7.153
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 +9 -0
- package/css/sticky.css +15 -7
- package/dist/cardds.css +15 -7
- package/dist/catalog.json +1 -1
- package/docs/reference.md +5 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
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.153 — 2026-10-27
|
|
6
|
+
|
|
7
|
+
`Sticky cut`'s white band moves inside the note, half as thick, with smaller corners; nothing spills past the note.
|
|
8
|
+
|
|
9
|
+
Components: Sticky
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- **`Sticky cut` band inside the box** (Lh 2026-10-27). Before → after: the band was drawn outside the note (`--sticky-cut-size` default `--sp-2`) and the note kept a margin for it → the band is the note's own edge (`padding: var(--sticky-cut-size, var(--sp-1))`, half as thick), and the note grows by it on every side (176 at the default size); the toned paper inside stays `--sticky-size` with the same padding, so the writing room and the `--small` switch are a plain note's. No margin, nothing spills: a holder spaces for it as for any note. Corners: `--sticky-radius` on a cut note defaults to `--r-card-row` (was `--r-media`); the band's outer corner is the paper's + the cut. Knobs unchanged in name.
|
|
13
|
+
|
|
5
14
|
## 0.7.152 — 2026-10-27
|
|
6
15
|
|
|
7
16
|
A straight die-cut sticker note, cards two across with a cut-out picture, and the pickers of a make-a-note sheet.
|
package/css/sticky.css
CHANGED
|
@@ -52,18 +52,26 @@
|
|
|
52
52
|
filter: blur(var(--sticky-shadow-blur, var(--sp-0)));
|
|
53
53
|
}
|
|
54
54
|
.sticky--flat::before, .sticky--flat::after { background: var(--_ink); }
|
|
55
|
-
/* --cut: a die-cut sticker note — a band of plain paper left all round the print (--sticky-cut-size), round corners,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
/* --cut: a die-cut sticker note — a band of plain paper left all round the print (--sticky-cut-size), small round corners (--sticky-radius,
|
|
56
|
+
the small card's corner), a soft lifted shadow; no fold (a sticker says nothing of read or unread). STRAIGHT (Lh 2026-10-27: the sample's turn
|
|
57
|
+
is not taken); `tilt` still turns it. THE BAND IS INSIDE THE BOX (Lh 2026-10-27): the note GROWS by the band on every side, the toned paper
|
|
58
|
+
inside stays --sticky-size square with its own padding, so the writing room (and the --small switch, which measures the words in it) is a
|
|
59
|
+
plain note's. Nothing spills: a holder spaces for it as for any note. The band is ::after laid over the whole box, under the paper; the outer
|
|
60
|
+
box's own tone stops at its content box (background-clip, above), so the band shows round the paper. */
|
|
61
|
+
.sticky--cut {
|
|
62
|
+
padding: var(--sticky-cut-size, var(--sp-1)); /* the knob, read by a real property first; --_cut hands it to the width and the corner */
|
|
63
|
+
--_cut: var(--sticky-cut-size, var(--sp-1));
|
|
64
|
+
width: calc(var(--sticky-size, calc(var(--sp-12) * 3.5)) + 2 * var(--_cut));
|
|
65
|
+
border-radius: calc(var(--sticky-radius, var(--r-card-row)) + var(--_cut));
|
|
66
|
+
}
|
|
59
67
|
.sticky--cut::before { content: none; }
|
|
60
68
|
.sticky--cut::after {
|
|
61
|
-
inset:
|
|
62
|
-
border-radius:
|
|
69
|
+
inset: 0;
|
|
70
|
+
border-radius: inherit; /* the paper's corner + the band: concentric */
|
|
63
71
|
background: var(--sticky-cut-bg, var(--stamp-paper));
|
|
64
72
|
box-shadow: var(--shadow-card), var(--shadow-contact);
|
|
65
73
|
}
|
|
66
|
-
.sticky--cut > .sticky__paper { border-radius: var(--sticky-radius, var(--r-
|
|
74
|
+
.sticky--cut > .sticky__paper { margin: 0; border-radius: var(--sticky-radius, var(--r-card-row)); }
|
|
67
75
|
/* the tones — the names in src/sticky/tones.ts. A swatch of the chooser wears the same class. */
|
|
68
76
|
.sticky--cotton { background-color: var(--sticky-cotton-bg, var(--pastel-cotton)); }
|
|
69
77
|
.sticky--blush { background-color: var(--sticky-blush-bg, var(--pastel-blush)); }
|
package/dist/cardds.css
CHANGED
|
@@ -4903,18 +4903,26 @@ button.calendar__label:focus-visible { outline: var(--focus); outline-offset: va
|
|
|
4903
4903
|
filter: blur(var(--sticky-shadow-blur, var(--sp-0)));
|
|
4904
4904
|
}
|
|
4905
4905
|
.sticky--flat::before, .sticky--flat::after { background: var(--_ink); }
|
|
4906
|
-
/* --cut: a die-cut sticker note — a band of plain paper left all round the print (--sticky-cut-size), round corners,
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4906
|
+
/* --cut: a die-cut sticker note — a band of plain paper left all round the print (--sticky-cut-size), small round corners (--sticky-radius,
|
|
4907
|
+
the small card's corner), a soft lifted shadow; no fold (a sticker says nothing of read or unread). STRAIGHT (Lh 2026-10-27: the sample's turn
|
|
4908
|
+
is not taken); `tilt` still turns it. THE BAND IS INSIDE THE BOX (Lh 2026-10-27): the note GROWS by the band on every side, the toned paper
|
|
4909
|
+
inside stays --sticky-size square with its own padding, so the writing room (and the --small switch, which measures the words in it) is a
|
|
4910
|
+
plain note's. Nothing spills: a holder spaces for it as for any note. The band is ::after laid over the whole box, under the paper; the outer
|
|
4911
|
+
box's own tone stops at its content box (background-clip, above), so the band shows round the paper. */
|
|
4912
|
+
.sticky--cut {
|
|
4913
|
+
padding: var(--sticky-cut-size, var(--sp-1)); /* the knob, read by a real property first; --_cut hands it to the width and the corner */
|
|
4914
|
+
--_cut: var(--sticky-cut-size, var(--sp-1));
|
|
4915
|
+
width: calc(var(--sticky-size, calc(var(--sp-12) * 3.5)) + 2 * var(--_cut));
|
|
4916
|
+
border-radius: calc(var(--sticky-radius, var(--r-card-row)) + var(--_cut));
|
|
4917
|
+
}
|
|
4910
4918
|
.sticky--cut::before { content: none; }
|
|
4911
4919
|
.sticky--cut::after {
|
|
4912
|
-
inset:
|
|
4913
|
-
border-radius:
|
|
4920
|
+
inset: 0;
|
|
4921
|
+
border-radius: inherit; /* the paper's corner + the band: concentric */
|
|
4914
4922
|
background: var(--sticky-cut-bg, var(--stamp-paper));
|
|
4915
4923
|
box-shadow: var(--shadow-card), var(--shadow-contact);
|
|
4916
4924
|
}
|
|
4917
|
-
.sticky--cut > .sticky__paper { border-radius: var(--sticky-radius, var(--r-
|
|
4925
|
+
.sticky--cut > .sticky__paper { margin: 0; border-radius: var(--sticky-radius, var(--r-card-row)); }
|
|
4918
4926
|
/* the tones — the names in src/sticky/tones.ts. A swatch of the chooser wears the same class. */
|
|
4919
4927
|
.sticky--cotton { background-color: var(--sticky-cotton-bg, var(--pastel-cotton)); }
|
|
4920
4928
|
.sticky--blush { background-color: var(--sticky-blush-bg, var(--pastel-blush)); }
|