{"version":3,"file":"AdaptiveLayoutContext.mjs","sources":["../../../src/lib/contexts/AdaptiveLayoutContext.ts"],"sourcesContent":["/**\n * @file Adaptive Layout Context\n * @description Context for adaptive layout management (Fast Refresh compliant).\n */\n\nimport { createContext } from 'react';\n\n/**\n * Breakpoint names\n */\nexport type Breakpoint = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n\n/**\n * Layout mode\n */\nexport type LayoutMode = 'mobile' | 'tablet' | 'desktop';\n\n/**\n * Adaptive layout context value\n */\nexport interface AdaptiveLayoutContextValue {\n  currentBreakpoint: Breakpoint;\n  layoutMode: LayoutMode;\n  isMobile: boolean;\n  isTablet: boolean;\n  isDesktop: boolean;\n  matchesBreakpoint: (breakpoint: Breakpoint) => boolean;\n  isAboveBreakpoint: (breakpoint: Breakpoint) => boolean;\n  isBelowBreakpoint: (breakpoint: Breakpoint) => boolean;\n}\n\n/**\n * Adaptive layout context - extracted for Fast Refresh compliance\n */\nexport const AdaptiveLayoutContext = createContext<AdaptiveLayoutContextValue | null>(null);\n\nAdaptiveLayoutContext.displayName = 'AdaptiveLayoutContext';\n"],"names":["AdaptiveLayoutContext","createContext"],"mappings":";AAkCO,MAAMA,IAAwBC,EAAiD,IAAI;AAE1FD,EAAsB,cAAc;"}