@kolkrabbi/kol-framework 0.2.0 → 0.3.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/kol-framework.css CHANGED
@@ -9,6 +9,10 @@
9
9
  * Global rule: border-radius never exceeds 4px.
10
10
  */
11
11
 
12
+ /* All KOL-shipped rule CSS lives in the `components` cascade layer so consumer
13
+ * Tailwind utilities (the `utilities` layer) can always override it. */
14
+ @layer components {
15
+
12
16
  html,
13
17
  body {
14
18
  background: var(--kol-surface-primary);
@@ -1315,3 +1319,5 @@ code, pre {
1315
1319
  height: 18px;
1316
1320
  }
1317
1321
  }
1322
+
1323
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-framework",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "KOL app shell — sidenav, layout, theme toggle, footer, heroes + brand color layer. SideNav takes nav data as props so the tree stays app-local.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -27,8 +27,8 @@
27
27
  "app-shell"
28
28
  ],
29
29
  "dependencies": {
30
- "@kolkrabbi/kol-component": "0.3.0",
31
- "@kolkrabbi/kol-loader": "0.3.0"
30
+ "@kolkrabbi/kol-component": "0.4.1",
31
+ "@kolkrabbi/kol-icons": "0.4.0"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": "^18.3.0 || ^19.0.0",
package/src/AppShell.jsx CHANGED
@@ -1,7 +1,7 @@
1
1
  import { createContext, useEffect, useState } from 'react'
2
2
  import { Outlet, useLocation } from 'react-router-dom'
3
3
  import SideNav from './SideNav.jsx'
4
- import { Icon } from '@kolkrabbi/kol-loader'
4
+ import { Icon } from '@kolkrabbi/kol-icons'
5
5
  import { ModalProvider } from '@kolkrabbi/kol-component'
6
6
 
7
7
  /* Pages can register right-rail TOC content via this context.
@@ -1,4 +1,4 @@
1
- import { Icon } from '@kolkrabbi/kol-loader'
1
+ import { Icon } from '@kolkrabbi/kol-icons'
2
2
  import { SearchInput } from '@kolkrabbi/kol-component'
3
3
  import ThemeToggle from './ThemeToggle.jsx'
4
4
 
package/src/SideNav.jsx CHANGED
@@ -1,6 +1,6 @@
1
1
  import { useEffect, useState } from 'react'
2
2
  import { Link, NavLink, useLocation } from 'react-router-dom'
3
- import { Icon } from '@kolkrabbi/kol-loader'
3
+ import { Icon } from '@kolkrabbi/kol-icons'
4
4
  import ThemeToggle from './ThemeToggle'
5
5
  import { useScrollSpy } from '@kolkrabbi/kol-component'
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { useEffect, useState } from 'react'
2
- import { Icon } from '@kolkrabbi/kol-loader'
2
+ import { Icon } from '@kolkrabbi/kol-icons'
3
3
 
4
4
  const STORAGE_KEY = 'kol-theme'
5
5