SurfSense/surfsense_web/components/layout/index.ts
Anish Sarkar 2fa8b76b56 feat(playground): enhance Playground layout with new sidebar and navigation functions
- Introduced PlaygroundSidebar component for improved navigation within the API Playground.
- Added utility functions for generating navigation items and groups, enhancing modularity and reusability.
- Updated PlaygroundLayoutShell to utilize new navigation functions, streamlining the layout structure.
- Enhanced RoutedSectionShell to support optional desktop navigation, improving responsiveness and user experience.
2026-07-08 10:06:41 +05:30

36 lines
729 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,
getPlaygroundActiveValue,
getPlaygroundNavGroups,
getPlaygroundNavItems,
getPlaygroundSelectedLabel,
Header,
IconRail,
LayoutShell,
MobileSidebar,
MobileSidebarTrigger,
NavIcon,
NavSection,
PlaygroundSidebar,
RoutedSectionShell,
Sidebar,
SidebarCollapseButton,
SidebarHeader,
SidebarSection,
SidebarUserProfile,
WorkspaceAvatar,
} from "./ui";