@kolkrabbi/kol-component 0.142.0 → 0.143.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-component",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.143.0",
|
|
4
4
|
"description": "KOL design-system components — atoms through organisms, emitting canonical kol-* classes. Pairs with @kolkrabbi/kol-theme for styling.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -58,9 +58,19 @@ const BOX = {
|
|
|
58
58
|
/* typeface's card is a FIXED 500px tall specimen board, not a ratio — the
|
|
59
59
|
* shipped item is `h-[500px]`, and a ratio re-crops the glyph at every
|
|
60
60
|
* column width, which is the one thing a specimen must not do. */
|
|
61
|
-
/* REST COLOURS ONLY (
|
|
62
|
-
*
|
|
63
|
-
*
|
|
61
|
+
/* REST COLOURS ONLY, TAKEN FROM THE ROW (TypefaceCardRestSkinFix, kol-website
|
|
62
|
+
* 2026-08-30). Filled surface, no outline — `ContentRow`'s showcase pair.
|
|
63
|
+
*
|
|
64
|
+
* 0.140.0 copied `BOX.showcase` from THIS map instead, because it is the
|
|
65
|
+
* entry sitting next to this one. That was wrong: `showcase`'s CARD is a
|
|
66
|
+
* `drawer` — outlined and unfilled — and the ask was to match the ROW, which
|
|
67
|
+
* is filled with no outline. Every /foundry grid card shipped as an outlined
|
|
68
|
+
* empty box, the opposite of the rows beside it.
|
|
69
|
+
*
|
|
70
|
+
* "Make the card look like the row" means READ THE ROW'S BOX. The two maps
|
|
71
|
+
* share variant names and not treatments.
|
|
72
|
+
*
|
|
73
|
+
* `layout`, `pad`, `height`, the RATIO, REVEAL_BG, MEDIA and every
|
|
64
74
|
* hover treatment are untouched and deliberately different.
|
|
65
75
|
*
|
|
66
76
|
* NOT derived with a spread. The row's version of this ask was resolved that
|
|
@@ -68,7 +78,7 @@ const BOX = {
|
|
|
68
78
|
* it is keyed by variant NAME — a second ticket to undo. `RATIO`, `REVEAL_BG`
|
|
69
79
|
* and `MEDIA` here are separate name-keyed maps too; a spread cannot reach
|
|
70
80
|
* them either. Two values, set by hand. */
|
|
71
|
-
showcaseCanvas: { layout: 'canvas', border: 'var(--kol-
|
|
81
|
+
showcaseCanvas: { layout: 'canvas', border: 'transparent', bg: 'var(--kol-surface-secondary)', pad: 'var(--kol-pad-card-lg)', height: 500 },
|
|
72
82
|
}
|
|
73
83
|
|
|
74
84
|
/* HOVER is a bg STEP on the opaque tier, per 05-control-chrome.md's state model
|