feat: add sidebar enhancement components (Tier 7)

New components:
- KeyboardShortcutsPanel: Collapsible panel for displaying keyboard shortcuts
  with support for categories and compact mode
- SidebarSection: Grouped navigation section with optional collapse behavior

New types:
- KeyboardShortcut: Interface for shortcut definitions (keys, label, category)

These components enable building feature-rich sidebars like Memoro's while
keeping the shared-ui Sidebar flexible and data-driven.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Till-JS 2025-11-25 00:42:46 +01:00
parent 5045d70bf7
commit cacbd61fe4
6 changed files with 306 additions and 4 deletions

View file

@ -21,12 +21,12 @@ export { SkeletonBox, SkeletonText } from './molecules';
export { EmptyState } from './molecules';
// Layout
export { ModalFooter, DataCard, PageHeader } from './molecules';
export { ModalFooter, DataCard, PageHeader, KeyboardShortcutsPanel } from './molecules';
// Organisms
export { Modal, ConfirmationModal, FormModal, AppSlider } from './organisms';
export type { AppItem } from './organisms';
// Navigation
export { NavLink, Navbar, Sidebar } from './navigation';
export type { NavItem, NavbarProps, SidebarProps, NavLinkProps } from './navigation';
export { NavLink, Navbar, Sidebar, SidebarSection } from './navigation';
export type { NavItem, NavbarProps, SidebarProps, NavLinkProps, KeyboardShortcut } from './navigation';