@kolkrabbi/kol-theme 0.89.0 → 0.90.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/kol-components-molecules.css +21 -1
- package/package.json +1 -1
|
@@ -36,6 +36,18 @@
|
|
|
36
36
|
gap: var(--kol-spacing-1);
|
|
37
37
|
width: 100%;
|
|
38
38
|
}
|
|
39
|
+
/* THE TRIGGER IS ON THE ICON LADDER (DropdownHeightAndHover, kol-fxr 2026-08-28).
|
|
40
|
+
* A text button takes its height from padding — `.kol-btn-sm` is `4px 12px` on
|
|
41
|
+
* mono-12, about 24 — while every icon control beside it is PINNED
|
|
42
|
+
* (`.kol-btn-icon.kol-btn-sm` is 28×28, the 2026-07-28 law: "the box never
|
|
43
|
+
* moves"). So a `sm` Dropdown sat 4px short of the `IconFrame` and `ThemeToggle`
|
|
44
|
+
* on its own row — the picker-then-icon-cluster header that kol-r2b2 draws and
|
|
45
|
+
* the estate is copying. The trigger is the one text control that always sits in
|
|
46
|
+
* an icon row, so it takes the icon rungs: 28 / 32 / 36. Horizontal padding is
|
|
47
|
+
* untouched; the vertical goes, because the flex box centres the label. */
|
|
48
|
+
.kol-dd-trigger.kol-btn-sm { height: 28px; padding-block: 0; }
|
|
49
|
+
.kol-dd-trigger.kol-btn-md { height: 32px; padding-block: 0; }
|
|
50
|
+
.kol-dd-trigger.kol-btn-lg { height: 36px; padding-block: 0; }
|
|
39
51
|
/* REST AND OPEN ARE THE ONLY STATES (2026-07-15 ruling, re-called twice
|
|
40
52
|
* 2026-08-09). The trigger wears button chrome, and button chrome hovers AND
|
|
41
53
|
* presses — so every kol-btn variant :hover and :active is PINNED BACK TO
|
|
@@ -47,11 +59,19 @@
|
|
|
47
59
|
background: var(--kol-surface-secondary);
|
|
48
60
|
color: var(--kol-surface-on-primary);
|
|
49
61
|
}
|
|
62
|
+
/* oq-08, NOT oq-16 (DropdownHeightAndHover, kol-fxr 2026-08-28). This is a
|
|
63
|
+
* pin-back to rest and it stopped being one: `.kol-btn-outline`'s rest border
|
|
64
|
+
* moved to `oq-08` on 2026-08-26 ("ONE outline border across the controls"),
|
|
65
|
+
* and this line kept the old `oq-16` — so the outline trigger quietly grew a
|
|
66
|
+
* hover the 2026-07-15 ruling forbids, and an untoned Dropdown lit while a
|
|
67
|
+
* sunken one beside it did not. A pin-back has to be re-read whenever the rest
|
|
68
|
+
* value it mirrors moves; that is the cost of expressing "no state" as a
|
|
69
|
+
* restatement rather than as an absence. */
|
|
50
70
|
.kol-dd-trigger.kol-btn-outline:not(:disabled):hover,
|
|
51
71
|
.kol-dd-trigger.kol-btn-outline:not(:disabled):active {
|
|
52
72
|
background: transparent;
|
|
53
73
|
color: var(--kol-surface-on-primary);
|
|
54
|
-
border-color: var(--kol-oq-
|
|
74
|
+
border-color: var(--kol-oq-08);
|
|
55
75
|
}
|
|
56
76
|
/* ONE PIECE MEANS ONE WIDTH (2026-08-09 user call — "they are connected").
|
|
57
77
|
* The trigger reserves the widest option's width by stacking every label in
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.90.0",
|
|
4
4
|
"description": "KOL (Kolkrabbi) design-system tokens + base CSS — brand-neutral. The canonical token/cascade layer every other KOL package and consumer builds on.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|