SurfSense/surfsense_web/components/layout/index.ts
Anish Sarkar 0c2db7dfd5 refactor(layout): streamline layout components with RoutedSectionShell
- Introduced RoutedSectionShell to unify navigation structure across Playground, User Settings, and Workspace Settings layouts.
- Replaced individual navigation implementations with a more cohesive and reusable component.
- Updated navigation items to include href properties for better routing.
- Enhanced mobile navigation experience with drawer support and improved scroll handling.
2026-07-08 02:29:33 +05:30

31 lines
604 B
TypeScript

export { useSidebarState } from "./hooks";
export { LayoutDataProvider } from "./providers";
export type {
ChatItem,
IconRailProps,
NavItem,
PageUsage,
SidebarSectionProps,
User,
Workspace,
} from "./types/layout.types";
export type { RoutedSectionGroup, RoutedSectionItem } from "./ui";
export {
ChatListItem,
CreateWorkspaceDialog,
CreditBalanceDisplay,
Header,
IconRail,
LayoutShell,
MobileSidebar,
MobileSidebarTrigger,
NavIcon,
NavSection,
RoutedSectionShell,
Sidebar,
SidebarCollapseButton,
SidebarHeader,
SidebarSection,
SidebarUserProfile,
WorkspaceAvatar,
} from "./ui";