@kolkrabbi/kol-theme 0.52.1 → 0.53.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.
@@ -533,6 +533,14 @@
533
533
  }
534
534
 
535
535
  /* track scales with size */
536
+ /* disabled (SettingsPanel, 2026-08-26): the switch had no disabled treatment
537
+ * at all — a control that cannot act in this context read exactly like one
538
+ * that can. Same pair .kol-control:disabled wears. */
539
+ .toggle-switch:disabled {
540
+ opacity: var(--kol-opacity-disabled);
541
+ cursor: not-allowed;
542
+ }
543
+
536
544
  .toggle-switch--sm .toggle-switch-indicator { width: 16px; height: 10px; }
537
545
  .toggle-switch--sm .toggle-switch-indicator::after { width: 6px; height: 6px; }
538
546
  .toggle-switch--lg .toggle-switch-indicator { width: 24px; height: 14px; }
@@ -480,19 +480,20 @@
480
480
  background: var(--kol-surface-primary);
481
481
  }
482
482
 
483
- /* The browser is the same body with no card around it — it fills whatever
484
- * box the consumer gives it, so a page can host it full-bleed. */
483
+ /* The browser is the same body with no card around it — in flow, it takes the
484
+ * width the consumer gives it. Tiles at 260 (MediaLibraryReconcile, kol-r2b2
485
+ * 2026-08-26 — FileList's `minmax(260px, 1fr)`; the picker keeps 10rem
486
+ * because its card is 64rem wide). */
485
487
  .kol-media-browser {
486
488
  display: flex;
487
489
  flex-direction: column;
488
490
  width: 100%;
489
- height: 100%;
490
- --kol-media-tile-min: 10rem;
491
+ --kol-media-tile-min: 16.25rem;
491
492
  }
492
493
 
493
494
  .kol-media-grid {
494
495
  display: grid;
495
- gap: var(--kol-spacing-4);
496
+ gap: var(--kol-spacing-3);
496
497
  grid-template-columns: repeat(auto-fill, minmax(var(--kol-media-tile-min), 1fr));
497
498
  list-style: none;
498
499
  margin: 0;
@@ -507,25 +508,26 @@
507
508
  padding: 0;
508
509
  }
509
510
 
510
- /* One folder row in the tree. Finder's list model: the chevron discloses in
511
- * place, so the parent never leaves the screen and there is no breadcrumb
512
- * stacked above a divider. Same row idiom as the rails a drill-down and a
513
- * nav row are the same gesture. */
511
+ /* One folder row CLICK-TO-ENTER (MediaLibraryReconcile, 2026-08-26): the
512
+ * row is FileList's icon box · name · trailing chevron-right over a
513
+ * hairline and clicking it enters the prefix; the breadcrumb steps back.
514
+ * Finder's disclose-in-place chevron (2026-08-01) is gone, not a variant. */
514
515
  .kol-media-folder {
515
516
  display: flex;
516
517
  align-items: center;
517
- gap: var(--kol-spacing-2);
518
- padding-block: var(--kol-pad-rail-row-y);
518
+ gap: var(--kol-spacing-3);
519
+ padding: var(--kol-spacing-2) var(--kol-spacing-1);
520
+ border-bottom: 1px solid var(--kol-fg-08);
519
521
  border-radius: var(--kol-radius-sm);
520
522
  cursor: pointer;
521
523
  transition: background-color var(--kol-transition-fast);
522
524
  }
523
525
 
524
526
  .kol-media-folder:hover {
525
- background: var(--kol-oq-04);
527
+ background: var(--kol-fg-04);
526
528
  }
527
529
 
528
- /* The path bar rides the FOOT, where Finder puts it. */
530
+ /* The picker's path bar rides the FOOT of its card. */
529
531
  .kol-media-pathbar {
530
532
  display: flex;
531
533
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.52.1",
3
+ "version": "0.53.0",
4
4
  "description": "KOL (Kolkrabbi) design-system tokens + base CSS — brand-neutral. The canonical token/cascade layer every other KOL package and consumer builds on.",
5
5
  "license": "MIT",
6
6
  "type": "module",