@kolkrabbi/kol-component 0.333.1 → 0.333.3

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.333.1",
3
+ "version": "0.333.3",
4
4
  "description": "The core component library",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -29,9 +29,9 @@
29
29
  "embla-carousel-react": "^8.6.0",
30
30
  "pdfjs-dist": "^6.3.289",
31
31
  "react-syntax-highlighter": "^16.1.1",
32
+ "@kolkrabbi/kol-search": "^0.3.0",
32
33
  "@kolkrabbi/kol-growth": "^0.5.0",
33
- "@kolkrabbi/kol-markdown": "^0.2.0",
34
- "@kolkrabbi/kol-search": "^0.3.0"
34
+ "@kolkrabbi/kol-markdown": "^0.2.0"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@kolkrabbi/kol-icons": ">=0.22.0",
@@ -43,7 +43,7 @@ export default function Avatar({ initial, src, alt = '', size = 'sm', className
43
43
 
44
44
  return (
45
45
  <span
46
- className={`${shell} inline-flex items-center justify-center text-emphasis font-narrow font-semibold`}
46
+ className={`${shell} inline-flex items-center justify-center text-emphasis font-inter font-semibold`}
47
47
  >
48
48
  {initial}
49
49
  </span>
@@ -67,9 +67,10 @@ const Button = ({
67
67
  }) => {
68
68
  /* `variant="bare"` (MetricRebuild, 2026-10-31): a pressable SURFACE — a stat tile, a bar row, a column head — that
69
69
  * draws itself. No kol-btn chrome (ground, size, type, radius); the button keeps its type, the KOL focus ring
70
- * (`kol-menu-btn`, as MenuItem's rows) and `disabled`. For a control that looks like a button, use any other variant. */
70
+ * (`kol-menu-btn`, as MenuItem's rows) and `disabled`;
71
+ * `kol-menu-btn--bare` keeps it out of the touch rung, so its type holds on every pointer. For a control that looks like a button, use any other variant. */
71
72
  if (variant === 'bare') {
72
- return <button type={type} onClick={onClick} disabled={disabled} className={`kol-menu-btn ${className}`.trim()} style={style} {...props}>{children}</button>
73
+ return <button type={type} onClick={onClick} disabled={disabled} className={`kol-menu-btn kol-menu-btn--bare ${className}`.trim()} style={style} {...props}>{children}</button>
73
74
  }
74
75
  // Two ladders, split on whether a label sits beside the glyph. An icon-only
75
76
  // button is a solo glyph in a pinned square, so it takes SOLO (16/20/24) —