@kolkrabbi/kol-component 0.373.0 → 0.375.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.373.0",
3
+ "version": "0.375.0",
4
4
  "description": "The core component library",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -409,7 +409,7 @@ export function ModalDialog({ open, onClose, title, width = 560, variant = 'lift
409
409
  return (
410
410
  <button key={s.key} type="button" role="tab" aria-selected={lit} data-section={s.key} tabIndex={lit ? 0 : -1}
411
411
  onClick={() => onSection?.(s.key)}
412
- className={`relative h-[45px] shrink-0 flex flex-col items-start justify-center gap-[5px] px-3 rounded-md text-left focus-visible:outline-none focus-visible:shadow-[var(--kol-float-focus)] hover:bg-(--kol-oq-08)`}>
412
+ className={`relative h-[45px] shrink-0 flex flex-col items-start justify-center gap-[5px] px-3 rounded-md text-left focus-visible:outline-none focus-visible:shadow-[var(--kol-float-focus)] ${lit ? 'bg-fg-12' : 'hover:bg-fg-04'}`}>
413
413
  {lit && <span aria-hidden="true" className="absolute left-0 top-[13px] h-[18px] w-0.5 rounded-[1px] bg-fg-96" />}
414
414
  <span className={`text-[11px] leading-[13px] text-fg-96 ${lit ? 'font-medium' : ''}`}>{s.label}</span>
415
415
  {s.state != null && <span className="text-[10px] leading-[12px] text-oq-64">{s.state}</span>}
@@ -110,7 +110,7 @@ export default function NavRailFloat({ items = [], currentPath = '', onNavigate,
110
110
  </button>
111
111
  ))}>
112
112
  {onSearch && (
113
- <button type="button" onClick={onSearch} className="flex h-[var(--kol-float-h-md)] w-full items-center gap-2.5 rounded-full bg-[var(--kol-float-well)] pl-3 pr-2 text-left cursor-pointer hover:bg-fg-08 focus-visible:outline-none focus-visible:shadow-[var(--kol-float-focus)]">
113
+ <button type="button" onClick={onSearch} className="flex h-[var(--kol-float-h-md)] w-full items-center gap-2.5 rounded-full bg-[var(--kol-float-well)] px-3 text-left cursor-pointer hover:bg-fg-08 focus-visible:outline-none focus-visible:shadow-[var(--kol-float-focus)]">
114
114
  <IconLoader name="search" size={16} className="shrink-0 text-oq-64" />
115
115
  <span className="kol-float-hint min-w-0 flex-1 truncate text-fg-64">Search pages</span>
116
116
  <Kbd size="sm" icon="command">K</Kbd>