@kolkrabbi/kol-shell 0.118.0 → 0.119.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-shell",
3
- "version": "0.118.0",
3
+ "version": "0.119.0",
4
4
  "private": false,
5
5
  "description": "The application shell",
6
6
  "license": "MIT",
@@ -14,17 +14,17 @@
14
14
  "peerDependencies": {
15
15
  "@kolkrabbi/kol-component": ">=0.349.0",
16
16
  "@kolkrabbi/kol-framework": ">=0.55.0",
17
- "@kolkrabbi/kol-icons": ">=0.68.0",
17
+ "@kolkrabbi/kol-icons": ">=0.69.0",
18
18
  "@kolkrabbi/kol-theme": ">=0.215.0",
19
19
  "gsap": "^3.13.0",
20
20
  "react": "^18.3.0 || ^19.0.0",
21
21
  "react-dom": "^18.3.0 || ^19.0.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@kolkrabbi/kol-component": "^0.355.0",
25
- "@kolkrabbi/kol-icons": "^0.68.0",
26
- "@kolkrabbi/kol-theme": "^0.216.1",
27
- "@kolkrabbi/kol-framework": "^0.74.0"
24
+ "@kolkrabbi/kol-component": "^0.361.1",
25
+ "@kolkrabbi/kol-icons": "^0.69.0",
26
+ "@kolkrabbi/kol-framework": "^0.74.1",
27
+ "@kolkrabbi/kol-theme": "^0.217.0"
28
28
  },
29
29
  "files": [
30
30
  "src",
@@ -1,5 +1,6 @@
1
1
  import { useCallback, useEffect, useState } from 'react'
2
2
  import { Button, TabsRow, Tooltip, TABBAR_H, TABBAR_PILL_H, TABBAR_PILL_INSET, tabbarPillWidth, tabbarPillSlot, floatSurfaceClass, usePopover, PopoverPanel, useMediaQuery } from '@kolkrabbi/kol-component'
3
+ import { hasIcon } from '@kolkrabbi/kol-icons'
3
4
  import MoreRows, { FloatMenu } from './MoreSheet.jsx'
4
5
  import Timecode from './Timecode.jsx'
5
6
 
@@ -307,7 +308,13 @@ function Transport({ items = [], sheetFor = {}, placement = 'bottom', foldable =
307
308
  }, [sheet])
308
309
 
309
310
  const top = placement === 'top'
310
- const tabs = items.map((i) => ({ value: i.id, label: i.label, icon: i.icon, selected: sheet === i.id || !!i.selected }))
311
+ /* OUTLINE AT REST, SOLID WHEN LIT (transport set, 2026-11-12): a lit slot draws its glyph's `-solid` cut when the set
312
+ ships one; `loop` and `repeat` have none, so the slot's own fill shows their state */
313
+ const lit = (icon) => (icon && hasIcon(`${icon}-solid`) ? `${icon}-solid` : icon)
314
+ const tabs = items.map((i) => {
315
+ const selected = sheet === i.id || !!i.selected
316
+ return { value: i.id, label: i.label, icon: selected ? lit(i.icon) : i.icon, selected }
317
+ })
311
318
  const press = (id) => {
312
319
  if (sheetFor[id]) { setSheet((s) => (s === id ? null : id)); return }
313
320
  setSheet(null)