/** * @mks2508/sidebar-headless * * Headless sidebar component for React with advanced animations, * keyboard navigation, and full WAI-ARIA accessibility. * * @module @mks2508/sidebar-headless * @license MIT * @author MKS2508 */ // ============================================ // Sidebar Component Exports // ============================================ export { Sidebar } from './components/Sidebar/Sidebar' export { SidebarNav } from './components/Sidebar/SidebarNav' export { SidebarToggle } from './components/Sidebar/SidebarToggle' export { SidebarContent } from './components/Sidebar/SidebarContent' export { SidebarIndicator } from './components/Sidebar/SidebarIndicator' export { SidebarFluidIndicator } from './components/Sidebar/SidebarFluidIndicator' export { SidebarSafeArea } from './components/Sidebar/SidebarSafeArea' export { SidebarItem } from './components/Sidebar/SidebarItem' export { SidebarSubContent } from './components/Sidebar/SidebarSubContent' export { SidebarSubLink } from './components/Sidebar/SidebarSubLink' export { SidebarTooltip } from './components/Sidebar/SidebarTooltip' // Sidebar Hooks export { useSidebarContext } from './components/Sidebar/hooks/useSidebarContext' export { useSidebarKeyboard } from './components/Sidebar/hooks/useSidebarKeyboard' export { useSidebarIndicator } from './components/Sidebar/hooks/useSidebarIndicator' export { useSubContent } from './components/Sidebar/hooks/useSubContent' // Sidebar Types export type { SidebarProps, SidebarNavProps, SidebarToggleProps, SidebarContentProps, SidebarIndicatorProps, SidebarSafeAreaProps, SidebarItemProps, SidebarState, SidebarToggleState, SidebarItemState, SidebarIndicatorState, SidebarContextValue, SidebarDimensions, SidebarSafeAreas, SidebarAnimations, SidebarConfig, SidebarRenderProp, SidebarToggleRenderProp, SidebarItemRenderProp, SidebarIndicatorRenderProp, SidebarVisualStyle, } from './components/Sidebar/Sidebar.types' export type { SidebarSubContentProps } from './components/Sidebar/SidebarSubContent' export type { SidebarSubLinkProps } from './components/Sidebar/SidebarSubLink' export type { SidebarTooltipProps } from './components/Sidebar/SidebarTooltip' // Sidebar Enums export { SidebarCollapseMode, SidebarHideBehaviour, SidebarHideOpensBehavior, SidebarLayoutBehaviour, SidebarWidth, SidebarTransitionDuration, SidebarZIndex, SidebarBorderRadius, SidebarSafeAreaPosition, SidebarTimingFunction, SidebarIconLibrary, } from './components/Sidebar/Sidebar.types' // Sidebar Constants export { DEFAULT_DIMENSIONS, DEFAULT_SAFE_AREAS, DEFAULT_ANIMATIONS, DEFAULT_CONFIG, DEFAULT_VISUAL_STYLE, SIDEBAR_KEYBOARD_KEYS, SIDEBAR_DATA_ATTRIBUTES, SIDEBAR_TAILWIND_CLASSES, SIDEBAR_DEBUG_PATTERNS, SIDEBAR_ARIA_ROLES, SIDEBAR_ARIA_LABELS, SIDEBAR_BREAKPOINTS, SIDEBAR_LIMITS, SIDEBAR_CSS_VARIABLES, SIDEBAR_VISUAL_PRESETS, } from './components/Sidebar/Sidebar.constants' export type { SidebarVisualPreset } from './components/Sidebar/Sidebar.constants' // Sidebar Styles export { generateSidebarStyles, generateIndicatorStyles } from './components/Sidebar/Sidebar.styles' // ============================================ // MobileBottomNav Component Exports // ============================================ export { MobileBottomNav, default } from './components/BottomNavBar/MobileBottomNav' // MobileBottomNav Enums export { NavVariant, NavSize, LabelPosition, AnimationType, NavItemState, IconSize, ZIndexLevel, BlurIntensity, } from './components/BottomNavBar/types' // MobileBottomNav Types export type { RootProps, NavListProps, NavItemProps, NavContextValue, SpringConfig, TweenConfig, AnimationConfig, GlassConfig, BaseNavProps, } from './components/BottomNavBar/types' // MobileBottomNav Default Configs export { DEFAULT_ANIMATION_CONFIG, DEFAULT_GLASS_CONFIG, DEFAULT_SPRING_CONFIG, DEFAULT_TWEEN_CONFIG, } from './components/BottomNavBar/types' // MobileBottomNav Style Variants export { rootVariants, navListVariants, navItemVariants, iconVariants, labelVariants, badgeVariants, spacerVariants, } from './components/BottomNavBar/MobileBottomNav.styles' export type { RootVariantProps, NavListVariantProps, NavItemVariantProps, IconVariantProps, LabelVariantProps, BadgeVariantProps, SpacerVariantProps, } from './components/BottomNavBar/MobileBottomNav.styles' // iOS Safari Fix Hook export { useIOSSafariFix, useIOSFixedReset, detectIOSVersion, } from './components/BottomNavBar/useIOSSafariFix' export type { IOSSafariFixConfig } from './components/BottomNavBar/useIOSSafariFix' // ============================================ // Utilities // ============================================ export { cn } from './lib/utils'