@kolkrabbi/kol-component 0.325.0 → 0.326.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.325.0",
3
+ "version": "0.326.0",
4
4
  "description": "The core component library",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -26,9 +26,9 @@
26
26
  "embla-carousel-react": "^8.6.0",
27
27
  "pdfjs-dist": "^6.3.289",
28
28
  "react-syntax-highlighter": "^16.1.1",
29
- "@kolkrabbi/kol-search": "^0.3.0",
30
29
  "@kolkrabbi/kol-growth": "^0.4.0",
31
- "@kolkrabbi/kol-markdown": "^0.2.0"
30
+ "@kolkrabbi/kol-markdown": "^0.2.0",
31
+ "@kolkrabbi/kol-search": "^0.3.0"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@kolkrabbi/kol-icons": ">=0.22.0",
@@ -39,7 +39,7 @@
39
39
  "react-dom": "^18.3.0 || ^19.0.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@kolkrabbi/kol-icons": "^0.56.0"
42
+ "@kolkrabbi/kol-icons": "^0.56.1"
43
43
  },
44
44
  "files": [
45
45
  "src",
@@ -22,6 +22,8 @@ import { glyphSize, indicatorSize } from '../hooks/glyphLadders.js'
22
22
  * tone="inverse" — the dark chip (`fg-ab-24`) for a washed
23
23
  * plane, the panel continuing it (ControlToneInverse,
24
24
  * kol-website 2026-08-27); same prop on ViewToggle · Input
25
+ * variant="raised" — the menus' faint raised look (metric R3.4, 2026-10-31): trigger, open trigger and
26
+ * panel all on oq-08 with the float shadow — one tone, nothing changes on open
25
27
  * variant="outline" — bordered trigger; open panel carries the
26
28
  * same border, trigger's bottom edge acts as the divider
27
29
  *
@@ -222,7 +224,7 @@ const Dropdown = ({
222
224
  'kol-btn',
223
225
  /* grey is dropdown-only chrome (2026-07-15) — no kol-btn-* class so it
224
226
  * never leaks into Button's variant set */
225
- resolvedVariant === 'grey' ? 'kol-dd-trigger--grey' : resolvedVariant && `kol-btn-${resolvedVariant}`,
227
+ resolvedVariant === 'grey' ? 'kol-dd-trigger--grey' : resolvedVariant === 'raised' ? 'kol-dd-trigger--raised' : resolvedVariant && `kol-btn-${resolvedVariant}`,
226
228
  `kol-btn-${resolvedSize}`,
227
229
  SIZE_TYPE[resolvedSize],
228
230
  'kol-dd-trigger',