@kolkrabbi/kol-component 0.102.1 → 0.102.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 +1 -1
- package/src/atoms/Tag.jsx +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-component",
|
|
3
|
-
"version": "0.102.
|
|
3
|
+
"version": "0.102.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",
|
package/src/atoms/Tag.jsx
CHANGED
|
@@ -34,7 +34,7 @@ const ICON_SIZES = { sm: 10, md: 12, lg: 14 }
|
|
|
34
34
|
*
|
|
35
35
|
* @param {ReactNode} children label content
|
|
36
36
|
* @param {string} text content fallback when no children (brand SwatchControls)
|
|
37
|
-
* @param {string} variant 'primary' | 'secondary' | 'inverse'
|
|
37
|
+
* @param {string} variant 'primary' | 'secondary' | 'inverse' · `tertiary` = secondary's fill, no outline, mono at fg-80 (2026-08-27)
|
|
38
38
|
* @param {string} size 'sm' | 'md' | 'lg' — `sm` is the default and
|
|
39
39
|
* should stay the answer; `lg` needs a reason
|
|
40
40
|
* @param {boolean} active selected state (filter chips)
|
|
@@ -67,6 +67,8 @@ export default function Tag({
|
|
|
67
67
|
primary: 'kol-tag--primary',
|
|
68
68
|
secondary: 'kol-tag--secondary',
|
|
69
69
|
inverse: 'kol-tag--inverse',
|
|
70
|
+
/* secondary's fill, no outline, the mono voice at fg-80 (TagTertiary, 2026-08-27) */
|
|
71
|
+
tertiary: 'kol-tag--tertiary',
|
|
70
72
|
}
|
|
71
73
|
|
|
72
74
|
/* TYPE COMES FROM THE HELPER RAMP (user ruling 2026-08-01). The size classes
|