@kolkrabbi/kol-component 0.262.0 → 0.263.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.262.0",
3
+ "version": "0.263.0",
4
4
  "description": "The core component library",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -913,8 +913,10 @@ function LibraryHeader({ title, buckets, bucketId, appRoot, onBucket, bucketMeta
913
913
  * like a home button"). The crumb row's root already did exactly this and the wordmark above it
914
914
  * did nothing — the one element every file manager makes clickable was the one that was inert.
915
915
  * Without the prop it stays a plain <h1>, so nothing existing changes. */
916
+ /* CENTRED, not baseline (MediaPickerHeaderCentred, kol-monitor 2026-10-16): on the baseline the
917
+ * controls' 12px text sat on the display title's, so every control box hung below the wordmark */
916
918
  return (
917
- <header className="flex items-baseline justify-between gap-4">
919
+ <header className="flex items-center justify-between gap-4">
918
920
  {onHome ? (
919
921
  <button type="button" onClick={onHome}
920
922
  className={`${titleCls} text-fg-96 min-w-0 truncate text-left cursor-pointer transition-opacity hover:opacity-64`}
@@ -952,10 +954,9 @@ function LibraryHeader({ title, buckets, bucketId, appRoot, onBucket, bucketMeta
952
954
  </div>
953
955
  {/* THE × IS THE CARD'S, NOT A CONTROL (media-picker-close-and-title, kol-mirror 2026-10-15 — user:
954
956
  * "you ever seen a close out button before??", pointing at the Display Settings drawer). Alone at
955
- * the far end of the title's row, outside the control cluster — the drawer's shape. `self-end`, not
956
- * `self-center`: the row is baseline-aligned, so centring put it on the display wordmark, 10px
957
- * above the gear (MediaPickerCloseOnControlRow, kol-monitor 2026-10-16). */}
958
- {onClose && <CloseButton onClick={onClose} className="shrink-0 self-end" />}
957
+ * the far end of the title's row, outside the control cluster — the drawer's shape. It centres with
958
+ * the row like every control in it. */}
959
+ {onClose && <CloseButton onClick={onClose} className="shrink-0" />}
959
960
  </header>
960
961
  )
961
962
  }