@kolkrabbi/kol-workshop 0.39.0 → 0.41.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-workshop",
3
- "version": "0.39.0",
3
+ "version": "0.41.0",
4
4
  "private": false,
5
5
  "description": "Docs viewer, shell and tag system",
6
6
  "license": "MIT",
@@ -13,12 +13,12 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "d3": "^7.9.0",
16
- "@kolkrabbi/kol-markdown": "^0.1.3",
17
16
  "@kolkrabbi/kol-search": "^0.3.0",
17
+ "@kolkrabbi/kol-markdown": "^0.1.3",
18
18
  "@kolkrabbi/kol-brand": "^0.1.3"
19
19
  },
20
20
  "peerDependencies": {
21
- "@kolkrabbi/kol-component": ">=0.237.0",
21
+ "@kolkrabbi/kol-component": ">=0.266.0",
22
22
  "@kolkrabbi/kol-framework": ">=0.45.0",
23
23
  "@kolkrabbi/kol-theme": ">=0.165.0",
24
24
  "@kolkrabbi/kol-icons": ">=0.18.0",
@@ -28,10 +28,10 @@
28
28
  "react-router-dom": "^6.0.0 || ^7.0.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@kolkrabbi/kol-component": "^0.240.0",
32
- "@kolkrabbi/kol-framework": "^0.49.0",
33
- "@kolkrabbi/kol-theme": "^0.166.0",
34
- "@kolkrabbi/kol-icons": "^0.33.1"
31
+ "@kolkrabbi/kol-component": "^0.274.0",
32
+ "@kolkrabbi/kol-icons": "^0.39.0",
33
+ "@kolkrabbi/kol-framework": "^0.51.0",
34
+ "@kolkrabbi/kol-theme": "^0.176.0"
35
35
  },
36
36
  "files": [
37
37
  "src",
@@ -2,7 +2,7 @@ import { createContext, useContext, useMemo, useRef, useState, useEffect, Suspen
2
2
  import { Outlet, Link, useLocation, useNavigate, useNavigationType } from 'react-router-dom'
3
3
  import { ShellHeader } from '@kolkrabbi/kol-framework'
4
4
  import ShellSidebar, { RAIL_FOLD_EVENT, ShellRailModeContext } from './ShellSidebar.jsx'
5
- import { FullscreenOverlay, IconFrame, ShellDrawer, ShellSearchOverlay, ShortcutsOverlay, SettingsPanel, SettingsSections, SettingsSwitch, Tooltip, useDragResize } from '@kolkrabbi/kol-component'
5
+ import { FullscreenOverlay, IconFrame, Rail, CommandOverlay, ShortcutsOverlay, SettingsPanel, SettingsSections, SettingsSwitch, Tooltip, useDragResize } from '@kolkrabbi/kol-component'
6
6
  import { createIndex, search } from '@kolkrabbi/kol-search'
7
7
  import { useTagMode } from '../tags/TagModeContext.jsx'
8
8
  import TagModeOverlay from '../tags/TagModeOverlay.jsx'
@@ -602,7 +602,7 @@ const ShellLayout = ({ routes = [], basePath = '/', brand: brandProp, brandLogoS
602
602
 
603
603
  {/* `open`, not `isOpen` — the old prop name silently kept the drawer
604
604
  * shut, so there was no navigation at all below lg. */}
605
- <ShellDrawer
605
+ <Rail
606
606
  open={isNavDrawerOpen}
607
607
  onClose={() => setIsNavDrawerOpen(false)}
608
608
  >
@@ -610,13 +610,13 @@ const ShellLayout = ({ routes = [], basePath = '/', brand: brandProp, brandLogoS
610
610
  ? renderSidebar({ activeRoute, onNavigate: () => setIsNavDrawerOpen(false) })
611
611
  : <ShellSidebar routes={routes} basePath={basePath} onNavigate={() => setIsNavDrawerOpen(false)} />
612
612
  }
613
- </ShellDrawer>
613
+ </Rail>
614
614
 
615
615
  {/* The overlay owns no filtering — the shell holds the query and
616
616
  * feeds it results (the pre-0.12 API `isOpen/routes/items` matched
617
617
  * nothing, so ⌘K rendered an empty box and searchItems was dead).
618
618
  * Selecting routes to item.href; matchSearchItems is the engine's. */}
619
- <ShellSearchOverlay
619
+ <CommandOverlay
620
620
  open={isSearchOpen}
621
621
  onClose={closeSearch}
622
622
  query={searchQuery}
@@ -658,7 +658,7 @@ const ShellLayout = ({ routes = [], basePath = '/', brand: brandProp, brandLogoS
658
658
  }}
659
659
  >
660
660
  {tagMode.isProvided && tagMode.expanded ? <TagModeOverlay /> : null}
661
- </ShellSearchOverlay>
661
+ </CommandOverlay>
662
662
 
663
663
  {isShortcutsOpen && <ShortcutsOverlay shortcuts={SHORTCUTS} onClose={() => setIsShortcutsOpen(false)} />}
664
664
 
@@ -688,7 +688,7 @@ const ShellLayout = ({ routes = [], basePath = '/', brand: brandProp, brandLogoS
688
688
  {/* THE APPROVED DRAWER (2026-09-30): kol-component's `SettingsPanel` — the composition locked
689
689
  * 2026-08-27 that media's Display settings and Trash already wear: title header, divided
690
690
  * sections. This was a hand-built ShellDrawer + eyebrow + undivided sections. */}
691
- <SettingsPanel open={isSettingsOpen} variant="drawer" title="Settings" onClose={() => setIsSettingsOpen(false)}>
691
+ <SettingsPanel open={isSettingsOpen} variant="rail" title="Settings" onClose={() => setIsSettingsOpen(false)}>
692
692
  <SettingsSections sections={settingsSections} divided />
693
693
  </SettingsPanel>
694
694
  </div>