@kolkrabbi/kol-component 0.44.1 → 0.44.2

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.44.1",
3
+ "version": "0.44.2",
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",
@@ -138,15 +138,18 @@ const ContentFilters = ({
138
138
  * uppercase these themselves. */
139
139
  const renderFilterGroup = (group) => (
140
140
  <div key={group.key} className="flex flex-col gap-3">
141
- {/* The group label wears the layout strip's exact text treatment
142
- * `kol-helper-12` at 1px tracking so TAGS / TYPES and LIST / GRID read
143
- * as one family across the row (user ruling 2026-08-15: "LIST GRID text
144
- * has style, that style also on TAGS and any other filter category").
145
- * Rest ink, not active: the label is a heading, not a state. */}
146
- <h4 className="kol-helper-12 text-fg-32" style={{ letterSpacing: 1 }}>
147
- {group.label}
148
- </h4>
149
- <div className="flex flex-wrap gap-2">
141
+ {/* THE CATEGORY LABEL IS THE ACTIVE INK `kol-helper-12` at `text-fg-96`,
142
+ * the same full opacity a SELECTED layout item wears (user ruling
143
+ * 2026-08-15: "TAGS and other categories are ACTIVE state full opacity").
144
+ *
145
+ * Read the RENDER, not the default: the retired fork defaulted this to
146
+ * `text-fg-32` and kol-monitor overrode it per call site with
147
+ * `labelClassName="kol-helper-12 text-fg-96"` — so the fork's default was
148
+ * never what anyone looked at. No inline letter-spacing: the helper ramp
149
+ * carries its own, and the override the fork added was not in the
150
+ * rendered path either. */}
151
+ <h4 className="kol-helper-12 text-fg-96">{group.label}</h4>
152
+ <div className="flex flex-wrap gap-4">
150
153
  {group.values.map((value) => (
151
154
  <Tag
152
155
  key={value}
@@ -155,6 +158,7 @@ const ContentFilters = ({
155
158
  hash={false}
156
159
  active={activeFilters.has(`${group.key}:${value}`)}
157
160
  onClick={() => toggleFilter(group.key, value)}
161
+ className={activeFilters.has(`${group.key}:${value}`) ? 'text-fg-96' : 'text-fg-48'}
158
162
  >
159
163
  {value}
160
164
  </Tag>
@@ -283,7 +287,7 @@ const ContentFilters = ({
283
287
  <button
284
288
  type="button"
285
289
  onClick={clearAllFilters}
286
- className="kol-helper-12 transition-colors underline text-fg-48"
290
+ className="kol-helper-12 transition-colors underline text-fg-32 hover:text-fg-48"
287
291
  style={{ background: 'transparent', border: 'none', cursor: 'pointer' }}
288
292
  >
289
293
  Clear all ({activeFilters.size})