@kolkrabbi/kol-component 0.151.0 → 0.152.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-component",
3
- "version": "0.151.0",
3
+ "version": "0.152.0",
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",
@@ -65,10 +65,14 @@ export default function FullscreenOverlay({ open, onClose, closeButton = true, c
65
65
  <div className="kol-overlay" role="dialog" aria-modal="true" onMouseDown={onBackdropClick}>
66
66
  <div ref={sheetRef} tabIndex={-1} className="kol-overlay-sheet outline-none">
67
67
  {closeButton && (
68
+ /* ONE close idiom (FullscreenOverlayCloseIdiom, kol-chess 2026-09-01,
69
+ * user ruling): the estate's close X is the drawer trigger's bare
70
+ * `nav` glyph — the boxed outline treatment was a second design one
71
+ * tap away from the first, and had he kept a box it would have worn
72
+ * `primary`, never `outline`. Same variant, same default square as
73
+ * the trigger. */
68
74
  <Button
69
- variant="outline"
70
- quiet
71
- size="sm"
75
+ variant="nav"
72
76
  iconOnly="x"
73
77
  className="kol-overlay-close"
74
78
  onClick={onClose}