@kolkrabbi/kol-theme 0.32.2 → 0.32.4
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 +20 -7
- package/package.json +1 -1
|
@@ -61,7 +61,11 @@
|
|
|
61
61
|
* edge, Input's model. */
|
|
62
62
|
.kol-dd-label { display: inline-grid; min-width: 0; text-align: start; }
|
|
63
63
|
.kol-dd-label > span { grid-area: 1 / 1; white-space: nowrap; }
|
|
64
|
-
|
|
64
|
+
/* Ghost slack: each hidden option reserves the PANEL row's trailing check
|
|
65
|
+
* column on top of its label, so the fused one-piece width fits every row
|
|
66
|
+
* without truncating (2026-08-09 night — closes the "Cen…" defect at the
|
|
67
|
+
* trigger instead of un-fusing the panel). */
|
|
68
|
+
.kol-dd-ghost { visibility: hidden; padding-right: 1rem; }
|
|
65
69
|
.kol-dd-caret {
|
|
66
70
|
flex-shrink: 0;
|
|
67
71
|
transition: rotate var(--kol-transition-base);
|
|
@@ -77,9 +81,15 @@
|
|
|
77
81
|
* trigger squares its bottom corners, panel squares its top, and the fill
|
|
78
82
|
* continues (panel offset is -1 in Dropdown.jsx for the same reason). */
|
|
79
83
|
.kol-dd-trigger--open { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
|
|
84
|
+
/* Flex column so the viewport clamp (Popover size middleware sets maxHeight
|
|
85
|
+
* on this element) reaches the list: the hairline keeps its 1px, the list
|
|
86
|
+
* takes the rest and scrolls inside — the panel itself never overflows the
|
|
87
|
+
* viewport (2026-08-09, kol-ds-fxr long-dropdown ticket). */
|
|
80
88
|
.kol-dd-panel {
|
|
81
89
|
border-radius: 0 0 var(--kol-radius-sm) var(--kol-radius-sm);
|
|
82
90
|
overflow: hidden;
|
|
91
|
+
display: flex;
|
|
92
|
+
flex-direction: column;
|
|
83
93
|
}
|
|
84
94
|
.kol-dd-panel--primary { background: var(--kol-surface-secondary); }
|
|
85
95
|
.kol-dd-panel--grey { background: var(--kol-oq-12); }
|
|
@@ -89,7 +99,7 @@
|
|
|
89
99
|
border-top: none; /* the trigger's bottom edge is the divider (docs page) */
|
|
90
100
|
}
|
|
91
101
|
.kol-dd-div { border-top: 1px solid var(--kol-fg-08); }
|
|
92
|
-
.kol-dd-list { padding: var(--kol-spacing-1); }
|
|
102
|
+
.kol-dd-list { padding: var(--kol-spacing-1); overflow-y: auto; min-height: 0; }
|
|
93
103
|
|
|
94
104
|
/* Popover — default chrome for floating-ui-positioned panels.
|
|
95
105
|
* Used by molecules/Popover.jsx PopoverPanel. */
|
|
@@ -267,25 +277,28 @@
|
|
|
267
277
|
* 2026-08-09; rebuilt off Tag onto the Dropdown-sm metrics the same day).
|
|
268
278
|
* Tint + ink ride the --ui-* ladder; box/type live in the JSX (kol-btn-sm
|
|
269
279
|
* values + mono-12). No tone → the neutral chip. */
|
|
280
|
+
/* OPAQUE tone fills (user frame 43, 2026-08-09): the tone blends INTO the
|
|
281
|
+
* surface — a solid dark tint that holds steady over any row background.
|
|
282
|
+
* The earlier transparent wash let zebra/hover rows bleed through the pill. */
|
|
270
283
|
.kol-status-chip {
|
|
271
284
|
color: var(--kol-surface-on-primary);
|
|
272
|
-
background-color: color-mix(in srgb, var(--kol-surface-on-primary) 8%,
|
|
285
|
+
background-color: color-mix(in srgb, var(--kol-surface-on-primary) 8%, var(--kol-surface-primary));
|
|
273
286
|
}
|
|
274
287
|
.kol-status-chip--success {
|
|
275
288
|
color: var(--ui-success);
|
|
276
|
-
background-color: color-mix(in srgb, var(--ui-success)
|
|
289
|
+
background-color: color-mix(in srgb, var(--ui-success) 15%, var(--kol-surface-primary));
|
|
277
290
|
}
|
|
278
291
|
.kol-status-chip--warning {
|
|
279
292
|
color: var(--ui-warning);
|
|
280
|
-
background-color: color-mix(in srgb, var(--ui-warning)
|
|
293
|
+
background-color: color-mix(in srgb, var(--ui-warning) 15%, var(--kol-surface-primary));
|
|
281
294
|
}
|
|
282
295
|
.kol-status-chip--error {
|
|
283
296
|
color: var(--ui-error);
|
|
284
|
-
background-color: color-mix(in srgb, var(--ui-error)
|
|
297
|
+
background-color: color-mix(in srgb, var(--ui-error) 15%, var(--kol-surface-primary));
|
|
285
298
|
}
|
|
286
299
|
.kol-status-chip--info {
|
|
287
300
|
color: var(--ui-info);
|
|
288
|
-
background-color: color-mix(in srgb, var(--ui-info)
|
|
301
|
+
background-color: color-mix(in srgb, var(--ui-info) 15%, var(--kol-surface-primary));
|
|
289
302
|
}
|
|
290
303
|
|
|
291
304
|
/* inverse — the flipped chip. Mirrors .pill-inverse. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.4",
|
|
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",
|