@donotdev/ui 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/components/common/TechBento.d.ts +2 -6
  2. package/dist/components/common/TechBento.d.ts.map +1 -1
  3. package/dist/components/common/TechBento.js +14 -16
  4. package/dist/crud/components/EntityDisplayRenderer.d.ts +1 -1
  5. package/dist/crud/components/EntityDisplayRenderer.d.ts.map +1 -1
  6. package/dist/crud/components/EntityDisplayRenderer.js +13 -57
  7. package/dist/crud/components/EntityFormRenderer.d.ts.map +1 -1
  8. package/dist/crud/components/EntityFormRenderer.js +2 -2
  9. package/dist/crud/crudImports.d.ts +1 -0
  10. package/dist/crud/crudImports.d.ts.map +1 -1
  11. package/dist/crud/crudImports.js +1 -0
  12. package/dist/index.js +4 -4
  13. package/dist/internal/layout/components/AutoMetaTags.d.ts.map +1 -1
  14. package/dist/internal/layout/components/AutoMetaTags.js +6 -22
  15. package/dist/internal/layout/components/footer/FooterLegalLinks.js +2 -2
  16. package/dist/internal/layout/components/footer/useLegalLinks.d.ts +0 -2
  17. package/dist/internal/layout/components/footer/useLegalLinks.d.ts.map +1 -1
  18. package/dist/internal/layout/components/footer/useLegalLinks.js +0 -2
  19. package/dist/internal/layout/components/i18nSeoMeta.d.ts +54 -0
  20. package/dist/internal/layout/components/i18nSeoMeta.d.ts.map +1 -0
  21. package/dist/internal/layout/components/i18nSeoMeta.js +52 -0
  22. package/dist/internal/layout/components/index.d.ts +1 -1
  23. package/dist/internal/layout/components/index.js +1 -1
  24. package/dist/providers/NextJsAppProviders.d.ts.map +1 -1
  25. package/dist/providers/NextJsAppProviders.js +0 -1
  26. package/dist/routing/AuthGuard.d.ts +0 -4
  27. package/dist/routing/AuthGuard.d.ts.map +1 -1
  28. package/dist/routing/AuthGuard.js +0 -4
  29. package/dist/symbol-index.json +1 -1
  30. package/guidelines/SEO.md +12 -0
  31. package/package.json +6 -6
@@ -1 +1 @@
1
- {"AuthHeader":"/**\n * Auth header component\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const AuthHeader: ComponentType<AuthHeaderProps>;","AuthMenu":"export declare const AuthMenu: ({ loginPath, display, \"no-tooltip\": noTooltip, customItems, className, style, }","AuthHeaderProps":"/**\n * AuthHeader - Simple, powerful authentication component for headers\n *\n * Automatically reads all configuration from `appConfig.auth` (DRY principle).\n * Accepts `display` prop for layout-specific UI control.\n *\n * Features:\n * - Lazy-loaded components for optimal performance\n * - Responsive design (icon on mobile/tablet, button with label on desktop)\n * - Industry standard patterns (dropdown for 2+ providers)\n * - Error handling via useAuth (no additional error states needed)\n * - 100% Lighthouse compatible\n * - Auto-configuration from appConfig (no props needed)\n *\n * @example\n * ```tsx\n * // Configure once in appConfig.auth\n * const APP_CONFIG = {\n * auth: {\n * loginPath: '/login', // Optional: links to login page\n * authMenuItems: [{ path: '/dashboard' }, { path: '/settings' }] // Optional: user menu routes\n * }\n * };\n *\n * // In presets - reads from appConfig automatically\n * // This component composes AuthPartnerButton and MultipleAuthProviders from @donotdev/auth.\n * // Use AuthHeader if you need a pre-built, responsive authentication component for your app's header.\n * <AuthHeader />\n *\n * // Force icon-only mode (e.g., for sidebars)\n * <AuthHeader display=\"compact\" />\n * ```\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport interface AuthHeaderProps {\n /**\n * Display - controls auth header presentation in preset layouts\n * - 'compact': Icon-only buttons\n * - 'full': Full buttons with labels\n * - 'auto': Responsive (default)\n * @default 'auto'\n */\n display?: (typeof DISPLAY)[keyof typeof DISPLAY];\n /**\n * Button variant for the sign-in trigger.\n * @default 'outline'\n */\n variant?: (typeof BUTTON_VARIANT)[keyof typeof BUTTON_VARIANT];\n /** Optional className for styling the button */\n className?: string;\n /** Optional inline styles for the button */\n style?: CSSProperties;\n}","AuthMenuProps":"/**\n * Props for the AuthMenu component\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport interface AuthMenuProps {\n /** Path for login (unauthenticated users). Falls back to appConfig.auth.loginPath */\n loginPath?: string;\n /**\n * Display - controls auth menu presentation in preset layouts\n * - 'compact': Icon-only button\n * - 'full': Button with label\n * - 'auto': Responsive (default)\n * @default 'auto'\n */\n display?: (typeof DISPLAY)[keyof typeof DISPLAY];\n /** Disable tooltip */\n 'no-tooltip'?: boolean;\n /**\n * Custom menu items to add to authenticated menu.\n * Merged with items from appConfig.auth.authMenuItems.\n * Order: Profile (if configured) → authMenuItems → customItems → Delete Account → Sign Out\n */\n customItems?: AuthMenuCustomItem[];\n /** Optional className for styling the button */\n className?: string;\n /** Optional inline styles for the button */\n style?: CSSProperties;\n}","FeatureDisabled":"/**\n * FeatureDisabled - Component for displaying feature unavailable states\n *\n * Provides a consistent UI pattern for when features are disabled or unavailable.\n * Includes options for review cookies, contact support, and retry actions.\n *\n * @example\n * ```tsx\n * <FeatureDisabled\n * featureName=\"Billing\"\n * description=\"Stripe billing is not configured\"\n * showContactSupport={true}\n * showRetry={true}\n * onRetry={() => window.location.reload()}\n * />\n * ```\n *\n * @param props - FeatureDisabled component props\n * @returns React component\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare function FeatureDisabled({ featureName, title, description, showReviewCookies, showContactSupport, showRetry, supportEmail, onRetry, onReviewCookies, customActions, className, }","Icon":"/**\n * Icon - Unified icon component (FLEXIBLE RUNTIME COMPONENT)\n *\n * **This is the flexible runtime component** - supports Lucide components, emojis, strings, and custom ReactNode.\n *\n * **For PageMeta.icon:** Only lucide-react JSX components are supported (extracted at build time).\n * **For Icon component:** All formats are supported (resolved at runtime).\n *\n * @example\n * ```tsx\n * // Runtime usage - all formats work\n * <Icon icon=\"🚀\" /> // Emoji\n * <Icon icon=\"Rocket\" /> // Lucide name string\n * <Icon icon={<Rocket />} /> // Lucide component\n * <Icon icon={<CustomIcon />} /> // Custom component\n * ```\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const Icon: ComponentType<IconProps>;","RedirectOverlay":"/**\n * RedirectOverlay - Industry-standard redirect overlay with phase progression\n *\n * Features:\n * - Phase-based progress: connecting → preparing → redirecting → timeout\n * - Cancel button appears after 10s (configurable)\n * - i18n support with operation-specific messaging\n * - Browser event handling (popstate, visibilitychange)\n * - Accessible (ARIA labels, role=\"status\")\n * - RTL-safe styling\n *\n * @example\n * ```tsx\n * // Include once in app root (layout.tsx or App.tsx)\n * import { RedirectOverlay } from '@donotdev/ui';\n *\n * function RootLayout({ children }) {\n * return (\n * <>\n * {children}\n * <RedirectOverlay />\n * </>\n * );\n * }\n *\n * // Hooks trigger it automatically\n * const checkout = useStripeBilling('checkout', authState);\n * await checkout({ priceId: 'price_123' }); // Shows overlay automatically\n * ```\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function RedirectOverlay(): import(\"react\").JSX.Element | null;","ProgressBar":"/**\n * ProgressBar - A top progress bar for navigation and page transitions\n *\n * Features:\n * - Smooth progress animations\n * - Fake progress simulation for better UX\n * - Configurable duration and behavior\n * - Accessibility support\n * - Auto-hide on completion\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const ProgressBar: ComponentType<ProgressBarProps>;","Skeleton":"/**\n * Skeleton - A loading placeholder component\n *\n * Features:\n * - Multiple variants for different content types\n * - Configurable dimensions via escape hatch props\n * - Accessibility support\n * - Smooth animations\n *\n * STYLING APPROACH:\n * - Prefer: <Skeleton className=\"h-4 w-[250px]\" /> (utility classes)\n * - Escape hatch: <Skeleton width={dynamicWidth} height={40} /> (when programmatic)\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const Skeleton: ComponentType<SkeletonProps>;","FeatureCard":"/**\n * FeatureCard - Card wrapper with content array and routing\n *\n * Uses Card component internally. Routing via Link when href provided.\n */\ndeclare const FeatureCard: ({ icon, title, subtitle, content, href, variant, elevated, onClick, className, footer, style, clickable, maxLines, ...cardProps }","FeatureCardProps":"/** Props for the FeatureCard component. */\nexport interface FeatureCardProps extends Omit<CardProps, 'content' | 'href' | 'title' | 'subtitle' | 'children'> {\n /** Title (required) */\n title: string | ReactNode;\n /** Subtitle (required) */\n subtitle: string | ReactNode;\n /**\n * Card content - string, string[], or ReactNode.\n * For lists with icons, pass `<List icon={...} items={...} />` directly.\n */\n content?: CardContent;\n /** Route path - enables routing via Link */\n href?: string;\n /** When true, apply clickable styling (cursor, hover) even without href/onClick. Use when card is a dialog trigger. */\n clickable?: boolean;\n /**\n * Max lines for title and subtitle (each). Pass `0` for no line clamp.\n * @default 2\n */\n maxLines?: number;\n}","TechBento":"export declare function TechBento({ title, techs, cols, columns, gap, separator, tone, align, collapsible, open, onOpenChange, defaultOpen, className, }","TechBentoProps":"/** Props for the TechBento component. */\nexport type TechBentoProps = {\n title?: string;\n techs: Array<{\n name: TechKey;\n size?: 'normal' | 'long' | 'high' | 'huge';\n variant?: CardVariant;\n }>;\n /**\n * Number of columns - fixed or responsive (same as Grid)\n * - number: fixed columns (same on all breakpoints)\n * - [mobile, tablet, laptop, desktop]: responsive columns per breakpoint\n * @default 3\n * @example 3 - always 3 columns\n * @example [1, 1, 2, 3] - 1 col mobile/tablet, 2 laptop, 3 desktop\n */\n cols?: number | ResponsiveCols;\n /**\n * @deprecated Use `cols` prop instead. Kept for backward compatibility.\n */\n columns?: BentoColumns;\n gap?: BentoGap;\n separator?: boolean;\n /** Tone system for background colors (matches Section/CallToAction) */\n tone?: Tone;\n /** Content alignment @default 'center' */\n align?: 'start' | 'center' | 'end';\n /** Whether the section is collapsible */\n collapsible?: boolean;\n /** Controlled open state (when collapsible) */\n open?: boolean;\n /** Callback when open state changes (when collapsible) */\n onOpenChange?: (open: boolean) => void;\n /** Default open state (uncontrolled, when collapsible) */\n defaultOpen?: boolean;\n className?: string;\n}","ConsentBanner":"/**\n * ConsentBanner - Lazy loaded consent component\n * Shows if user hasn't consented yet OR if showBanner flag is set\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function ConsentBanner(): import(\"react\").JSX.Element | null;","PageContainerVariant":"/**\n * Page container variants - semantic layout patterns\n */\nexport type PageContainerVariant = 'full' | 'standard' | 'docs' | 'narrow' | 'fixed';","PageContainer":"/**\n * PageContainer - Layout wrapper with semantic width constraints\n *\n * DnDevLayout already handles:\n * - Main padding via --content-padding\n * - Sidebar/header spacing\n * - Responsive behavior\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n *\n * PageContainer provides:\n * - Semantic width constraints without additional padding\n * - Automatic spacing system using CSS variables\n *\n */\nexport declare const PageContainer: ComponentType<PageContainerProps>;","PageConfig":"/**\n * PageConfig - Declarative per-page layout overrides\n *\n * Sets route-level overrides (preset, hideBreadcrumbs) in the theme store.\n * Cleans up on unmount (resets to defaults).\n *\n * @example\n * ```tsx\n * // In a Next.js page component:\n * export default function MyPage() {\n * return (\n * <>\n * <PageConfig hideBreadcrumbs />\n * <PageContainer>...</PageContainer>\n * </>\n * );\n * }\n * ```\n */\nexport declare function PageConfig({ hideBreadcrumbs, preset, }","CTAButton":"/**\n * CTA button definition\n */\nexport interface CTAButton {\n label: string;\n onClick: () => void;\n disabled?: boolean;\n variant?: 'default' | 'outline' | 'ghost' | 'link';\n}","GameContainerProps":"/**\n * GameContainer props\n */\nexport interface GameContainerProps {\n /** Main content area (scrollable, centered by default) */\n content: ReactNode;\n /** Optional fixed CTA button(s) at bottom - single button or array for multiple buttons */\n cta?: CTAButton | CTAButton[];\n /** Alignment variant for content area */\n align?: 'center' | 'start' | 'stretch';\n /** Justify variant for content area */\n justify?: 'center' | 'start' | 'end' | 'between';\n /** Disable ScrollArea (use plain overflow) - for interactive content */\n disableScrollArea?: boolean;\n /** Content width: 'narrow' (default, constrained) or 'full' */\n contentVariant?: 'full' | 'narrow';\n /** Additional className for content wrapper */\n contentClassName?: string;\n /** Additional className for CTA button */\n ctaClassName?: string;\n}","GameContainer":"/**\n * GameContainer - Content + CTA grid layout for game screens\n *\n * Provides scrollable content area with optional fixed CTA button at bottom.\n * Used for game sessions, onboarding flows, wizards, assessments, tutorials.\n *\n * Layout Zones:\n * - Content: Scrollable (ScrollArea), centered by default (customizable)\n * - CTA: Fixed at bottom, full-width touch target (48px)\n *\n * Default Behavior:\n * - Content is horizontally + vertically centered\n * - ScrollArea enabled for cross-browser scroll styling\n * - CTA has 16px top padding + 2px border separator\n *\n * @param {GameContainerProps} props - Component props\n * @returns {JSX.Element} GameContainer component\n *\n * @example\n * Basic usage (centered content + CTA)\n * ```tsx\n * <GameContainer\n * content={\n * <div className=\"max-w-2xl\">\n * <h1>Welcome</h1>\n * <p>Let's get started</p>\n * </div>\n * }\n * cta={{ label: 'Start', onClick: handleStart }}\n * />\n * ```\n *\n * @example\n * Full-width form (no centering)\n * ```tsx\n * <GameContainer\n * align=\"stretch\"\n * justify=\"start\"\n * content={<FullWidthForm />}\n * cta={{ label: 'Submit', onClick: handleSubmit }}\n * />\n * ```\n *\n * @example\n * Multiple CTA buttons (side by side)\n * ```tsx\n * <GameContainer\n * content={<ChallengeContent />}\n * cta={[\n * { label: 'Accept', onClick: handleAccept, variant: 'default' },\n * { label: 'Decline', onClick: handleDecline, variant: 'outline' }\n * ]}\n * />\n * ```\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function GameContainer({ content, cta, align, justify, disableScrollArea, contentVariant, contentClassName, ctaClassName, }","ScreenRegistry":"/**\n * Screen registry type - maps screen names to lazy import functions\n */\nexport type ScreenRegistry = Record<string, () => Promise<{\n default: ComponentType<any>;\n}","GameFlowProps":"/**\n * GameFlow props\n */\nexport interface GameFlowProps {\n /** Registry mapping screen names to lazy import functions */\n screenRegistry: ScreenRegistry;\n /** Current screen name to render */\n currentScreen: string | null;\n /** Next screen name for preloading (optional) */\n nextScreen?: string | null;\n /** Fallback component for Suspense (optional) */\n fallback?: ReactNode;\n}","GameFlow":"/**\n * GameFlow - Screen router for game/session flows\n *\n * Handles:\n * - Routing to correct screen component based on currentScreen\n * - Lazy loading of screen components\n * - Preloading of nextScreen for instant transitions\n * - h-full wrapper for proper layout filling\n * - Suspense boundaries for loading states\n *\n * @param {GameFlowProps} props - Component props\n * @param {ScreenRegistry} props.screenRegistry - Registry of screen lazy imports\n * @param {string | null} props.currentScreen - Current screen name to render\n * @param {string | null} [props.nextScreen] - Next screen name for preloading\n * @param {ReactNode} [props.fallback] - Fallback component for Suspense\n * @returns {JSX.Element | null} GameFlow component\n *\n * @example\n * ```tsx\n * <GameFlow\n * screenRegistry={screenRegistry}\n * currentScreen={currentScreen}\n * nextScreen={nextScreen}\n * fallback={<Spinner overlay />}\n * />\n * ```\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function GameFlow({ screenRegistry, currentScreen, nextScreen, fallback, }","AppBranding":"/**\n * AppBranding - Unified branding component\n *\n * Combines AppIcon + AppTitle with DISPLAY mode support.\n * Uses CSS container queries for AUTO mode - no JS breakpoint checks.\n *\n * @example\n * ```tsx\n * // Auto-responsive (default)\n * <AppBranding />\n *\n * // Logo only\n * <AppBranding display=\"compact\" />\n *\n * // Always show logo + title\n * <AppBranding display=\"full\" />\n * ```\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const AppBranding: ({ display, linkToHome, className, }","AppIcon":"/**\n * AppIcon - Application icon component\n *\n * Uses logo.svg (user must provide). Reads SVG content synchronously from build-time data.\n * CSS variables (var(--primary), var(--accent)) work automatically when SVG is inlined.\n * Falls back to img tag if logo.svg is not available.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const AppIcon: ({ alt, size, className }","AppTitle":"/**\n * AppTitle - Simple app title using text-base xl\n * Automatically gets app name from AppConfig if title not provided\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const AppTitle: ({ title, className, linkToHome, }","Breadcrumbs":"/**\n * Breadcrumbs component for navigation\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n *\n * Automatically generates breadcrumbs from current route or accepts custom items\n */\ndeclare const Breadcrumbs: ComponentType<BreadcrumbsProps>;","GameTitle":"/**\n * GameTitle Component\n *\n * Renders title/subtitle when available (from themeStore), otherwise falls back to app name.\n * Used in game preset header center slot.\n *\n * Non-negotiable: This component is always rendered in the center of game header.\n *\n * @param props - GameTitle component props\n * @returns React component\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const GameTitle: ({ asLink, className }","CacheSettings":"/**\n * CacheSettings - Cache settings component for clearing various caches\n *\n * Provides UI for clearing browser caches including localStorage, sessionStorage,\n * cookies, IndexedDB, and service worker caches.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare function CacheSettings(): import(\"react\").JSX.Element;","DropdownNavigation":"/**\n * DropdownNavigation component - professional navigation with dropdown support\n *\n * Renders a navigation bar with dropdown menus for complex navigation structures.\n * Supports both direct links and dropdown menus with subroutes.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n *\n * @param navigation - Array of navigation menu items\n * @param className - Additional CSS classes\n * @returns Rendered navigation component\n */\ndeclare const DropdownNavigation: ComponentType<DropdownNavigationProps>;","FloatingLanguageSwitcher":"/**\n * FloatingLanguageSwitcher - Professional, floating language selector\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const FloatingLanguageSwitcher: ComponentType<FloatingLanguageSwitcherProps>;","HeaderMenu":"/**\n * HeaderMenu - Dropdown menu component for header controls\n *\n * Displays content in a dropdown menu with responsive grid layout.\n * Layout presets decide when to use this component based on breakpoint.\n *\n * Labels are forced visible via CSS (.dndev-menu-content forces labels visible).\n * No cloneElement needed - pure CSS solution.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n *\n * @example\n * ```tsx\n * // In layout preset:\n * const isMobileOrTablet = useBreakpoint('isMobileOrTablet');\n * {isMobileOrTablet ? (\n * <HeaderMenu>\n * <AuthHeader />\n * <LanguageSelector />\n * <ThemeToggle />\n * </HeaderMenu>\n * ) : (\n * <>{rightContent}</>\n * )}\n * ```\n */\nexport declare const HeaderMenu: ({ children, className }","HeaderNavigation":"/**\n * HeaderNavigation - DISPLAY-aware adaptive navigation component\n *\n * Uses DISPLAY prop to choose navigation strategy:\n * - COMPACT: All items in dropdown menu (HeaderMenu pattern)\n * - FULL: Inline navigation with overflow detection (DnDevNavigationMenu with overflowDetection)\n * - AUTO: Responsive (dropdown on mobile/tablet, inline on desktop)\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const HeaderNavigation: ComponentType<HeaderNavigationProps>;","Notifications":"/**\n * Notifications component - notification bell with dropdown\n *\n * Features:\n * - Badge count display with proper formatting\n * - Dropdown notification list\n * - Real-time notification updates\n * - Mark as read functionality\n * - Different notification types with styling\n * - Responsive design\n * - Keyboard navigation support\n * - Loading states\n * - Empty states\n * - Time formatting for timestamps\n *\n * This component provides a complete notification system that can be\n * easily integrated into any layout header or navigation area.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n * @param props - Notifications component props\n * @returns React component\n *\n * @example\n * ```tsx\n * // Basic usage\n * <Notifications count={3} />\n *\n * // With full notification data\n * <Notifications\n * notifications={[\n * {\n * id: '1',\n * title: 'New message',\n * message: 'You have a new message from John',\n * type: 'info',\n * timestamp: new Date(),\n * }\n * ]}\n * onNotificationClick={handleNotificationClick}\n * />\n *\n * // Custom styling and behavior\n * <Notifications\n * count={notifications.filter(n => !n.read).length}\n * maxVisible={5}\n * onMarkAllRead={markAllAsRead}\n *\n * />\n * ```\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const Notifications: ({ notifications, count, loading, onNotificationClick, onDropdownOpen, className, maxVisible, alwaysShow, size, disabled, }","SettingsMenu":"/**\n * SettingsMenu with fixed hooks order and error protection\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare function SettingsMenu({ variant, }","ThemeToggle":"/**\n * ThemeToggle - Theme switching component\n *\n * Allows users to switch between available themes (light, dark, system, custom).\n * Integrates with the theme store for state management.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const ThemeToggle: ComponentType<ThemeToggleProps>;","FooterBranding":"/**\n * FooterBranding - Framework branding link (power move)\n *\n * Shows AMBROISE-PARK for framework's own site (donotdev.com),\n * otherwise shows DoNotDev for consumer apps.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const FooterBranding: React.ComponentType<FooterBrandingProps>;","FooterCopyright":"/**\n * FooterCopyright - Copyright notice component\n *\n * Uses useTranslation internally, so it re-renders when language changes.\n * If appName not provided, reads from app config automatically.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const FooterCopyright: React.ComponentType<FooterCopyrightProps>;","FooterLegalLinks":"/**\n * FooterLegalLinks - Legal links component\n *\n * Renders legal links from app.footer.legalLinks config.\n * If app not provided, reads from app config automatically.\n * Used in footer and sidebar when footer zone is hidden.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const FooterLegalLinks: React.ComponentType<FooterLegalLinksProps>;","EntityDisplayRenderer":"/**\n * EntityDisplayRenderer - Automatically fetches and displays entity data\n *\n * Features:\n * - Automatic data fetching using useCrud\n * - Loading state handling\n * - Error handling\n * - Automatic field rendering (respects visibility rules)\n * - Full i18n support\n * - No form/submit buttons - pure read-only display\n *\n * @example\n * ```tsx\n * <EntityDisplayRenderer entity={carEntity} id={carId} />\n * ```\n */\nexport declare function EntityDisplayRenderer<T extends EntityRecord = EntityRecord>({ entity, id, t, className, loadingMessage, notFoundMessage, viewerRole: viewerRoleProp, excludeFields, preview, }","EntityList":"/**\n * Entity List Component - Table view for admin/internal operations\n *\n * Features:\n * - Filters section (collapsible) with actions and filter inputs\n * - Results section (collapsible) with DataTable\n * - Excel-like table display with formatted values\n * - Edit and Delete actions (admin only)\n * - Auto-routing when handlers not provided\n */\nexport declare function EntityList({ entity, basePath, onClick, hideFilters, pagination, pageSize: pageSizeProp, queryOptions, exportable, preview, tone, }","EntityCardList":"/**\n * Entity Card List Component - Card grid view for public/user-facing browsing\n *\n * Features:\n * - Responsive card grid layout\n * - Image + key fields display\n * - Click card to navigate to detail\n * - Simple formatted text display (labels + values)\n * - Empty state handling\n * - Auto-routing when handler not provided\n */\nexport declare function EntityCardList({ entity, basePath, onClick, cols, staleTime, // 30 minutes default cache\nqueryOptions, filter, hideFilters, resultLabel, tone, renderCardOverlay, clientSort, collapsible, defaultOpen, preview, }","EntityFormRenderer":"/**\n * EntityFormRenderer - public API.\n * Applies instanceKey as React key on the inner component for clean state isolation\n * when navigating between entities on the same route (e.g. /cars/:id).\n */\nexport declare function EntityFormRenderer<T extends EntityRecord = EntityRecord>(props: EntityFormRendererProps<T>): import(\"react\").JSX.Element;","EntityRecommendations":"/**\n * Displays a grid of related entity cards.\n * Uses useCrudCardList (listCard schema) so cards render identically to EntityCardList.\n *\n * **Title resolution (i18n):**\n * 1. `title` prop — if provided, used as-is (pre-translated string)\n * 2. `recommendations.title` in entity namespace — consumer override\n * 3. `recommendations.title` in `crud` namespace — framework default (\"You may also like\")\n *\n * Consumers override by adding to their entity translation file:\n * ```json\n * { \"recommendations\": { \"title\": \"Similar Apartments\" } }\n * ```\n *\n * @example\n * ```tsx\n * // Auto-translated title (entity namespace → crud fallback)\n * <EntityRecommendations\n * entity={apartmentEntity}\n * queryOptions={{\n * where: [\n * { field: 'district_code', operator: 'eq', value: current.district_code },\n * { field: 'id', operator: 'neq', value: current.id },\n * ],\n * limit: 3,\n * }}\n * />\n *\n * // Explicit title override\n * <EntityRecommendations\n * entity={apartmentEntity}\n * title=\"Nearby Apartments\"\n * queryOptions={...}\n * />\n * ```\n *\n * @version 0.1.0\n * @since 0.0.15\n * @author AMBROISE PARK Consulting\n */\nexport declare function EntityRecommendations({ entity, queryOptions, title, basePath, cols, tone, className, }","EntityWorkflow":"/**\n * EntityWorkflow — renders a multi-step entity workflow.\n *\n * Default mode: auto-renders Stepper + form + navigation buttons.\n * Custom mode: pass a render prop as children for full control.\n */\nexport declare function EntityWorkflow({ workflow: config, onComplete, onStepChange, defaultValues, viewerRole, children, className, }","EntityWorkflowProps":"/** Props for EntityWorkflow */\nexport interface EntityWorkflowProps {\n /** Workflow configuration from defineWorkflow() */\n workflow: WorkflowConfig;\n /** Callback when all steps are completed */\n onComplete?: (allData: Record<string, unknown>) => void | Promise<void>;\n /** Callback when step changes */\n onStepChange?: (fromIndex: number, toIndex: number) => void;\n /** Default values to pre-fill across steps */\n defaultValues?: Record<string, unknown>;\n /** Viewer role for form rendering */\n viewerRole?: string;\n /** Render prop for custom layout (receives workflow state) */\n children?: (wf: EntityWorkflowReturn) => ReactNode;\n /** Additional CSS class */\n className?: string;\n}","Form":"/**\n * Form provider component\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getErrors, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, resetDefaultValues, handleSubmit, unregister, control, register, setFocus, subscribe, }","FormItem":"/**\n * Form item component\n *\n * Container component for form fields with spacing and layout.\n *\n * @param {HTMLAttributes<HTMLDivElement>} props - Component props\n * @returns {JSX.Element} Form item component\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const FormItem: ({ className, ...props }","FormLabel":"/**\n * Form label component\n *\n * Renders a label for a form field with error state styling.\n *\n * @param {ComponentProps<typeof Label>} props - Component props\n * @returns {JSX.Element | null} Form label component\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const FormLabel: ({ className, ...props }","FormControl":"/**\n * Form control component\n *\n * Wraps form input components with proper ARIA attributes.\n *\n * @param {ComponentProps<typeof Slot>} props - Component props\n * @returns {JSX.Element | null} Form control component\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const FormControl: ({ ...props }","FormDescription":"/**\n * Form description component\n *\n * Renders descriptive text for a form field.\n *\n * @param {HTMLAttributes<HTMLParagraphElement>} props - Component props\n * @returns {JSX.Element | null} Form description component\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const FormDescription: ({ className, ...props }","FormMessage":"/**\n * Form message component\n *\n * Renders error or custom messages for a form field.\n *\n * @param {HTMLAttributes<HTMLParagraphElement>} props - Component props\n * @returns {JSX.Element | null} Form message component\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const FormMessage: ({ className, children, ...props }","FormField":"/**\n * Form field component\n *\n * Wraps a form field with context and controller for react-hook-form integration.\n *\n * @param {ControllerProps<TFieldValues, TName>} props - Controller props\n * @returns {JSX.Element} Form field component\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }","useFormField":"/**\n * Hook for accessing form field context\n *\n * Returns form field state and IDs for form components.\n *\n * @returns {Object | null} Form field context with IDs and state\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const useFormField: () => {\n invalid: boolean;\n isDirty: boolean;\n isTouched: boolean;\n isValidating: boolean;\n error?: import(\"react-hook-form\").FieldError | undefined;\n id: string;\n name: string;\n formItemId: string;\n formDescriptionId: string;\n formMessageId: string;\n}","TechLogo":"/**\n * Tech logo entry with SVG data URI and metadata\n */\nexport type TechLogo = {\n /** Data URI for the SVG */\n svg: string;\n /** Brand color (hex) */\n color: string;\n /** Display name */\n name: string;\n}","TechKey":"/**\n * Available tech logo keys\n */\nexport type TechKey = 'bun' | 'typescript' | 'react' | 'vite' | 'nextjs' | 'nodejs' | 'firebase' | 'supabase' | 'vercel' | 'stripe' | 'valibot';","techLogos":"/**\n * Tech logos collection with data URIs and brand colors\n *\n * @example\n * ```tsx\n * import { techLogos } from '@donotdev/ui';\n *\n * <img src={techLogos.react.svg} alt={techLogos.react.name} />\n * ```\n */\nexport declare const techLogos: Record<TechKey, TechLogo>;","AuthReturnTo":"/**\n * AuthReturnTo - Restores navigation after OAuth redirect.\n *\n * OAuth always lands on `/` (origin). This component watches for sign-in,\n * reads the saved returnTo path, and navigates back. Runs once per sign-in.\n *\n * Also shows a warning toast when the user was redirected by the auth guard\n * (flag set by useNavigate, consumed here on mount of the landing page).\n *\n * @component\n */\nexport declare function AuthReturnTo(): null;","GoToWrapper":"/**\n * GoToWrapper - Keyboard listener + lazy dialog\n *\n * Performance:\n * - Zero code loaded until dialog opens\n * - Cmd+K listener always active\n * - Dialog lazy-loaded on first open\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const GoToWrapper: () => import(\"react\").JSX.Element;","GoToInput":"declare const GoToInput: () => import(\"react\").JSX.Element;","NotFoundPage":"function NotFoundPage(): import(\"react\").JSX.Element;","useNavigate":"/**\n * Navigation hook. Auth is handled by AuthGuard (cold-load redirect).\n * Protected routes are hidden from unauthorized users via useAccessibleRoutes.\n */\nexport declare function useNavigate(): (to: string, options?: NavigateOptions) => void;","useBack":"export declare function useBack(): () => void;","useRefresh":"export declare function useRefresh(): () => void;","usePrefetch":"export declare function usePrefetch(): (to: string) => void;","useLocation":"export declare function useLocation(): {\n pathname: string;\n search: string | undefined;\n hash: string;\n state: null;\n}","useParams":"export declare function useParams(): Record<string, string | string[] | undefined>;","useRouteParam":"/**\n * Safely extract a route parameter as a string\n *\n * Handles the fact that useParams can return string | string[] | undefined.\n * For standard path parameters (not catch-all routes), this will always be a string.\n *\n * @param paramName - Name of the route parameter\n * @returns The parameter value as a string, or undefined if not present\n *\n * @example\n * ```tsx\n * // Route: /product/:id\n * const id = useRouteParam('id'); // string | undefined\n * if (!id) return <NotFound />;\n * ```\n */\nexport declare function useRouteParam(paramName: string): string | undefined;","useSearchParams":"/**\n * Get current URL search parameters (read-only).\n * Returns a ReadonlyURLSearchParams instance directly (NOT a tuple).\n *\n * To modify search params, use `useNavigate()` with a query string\n * or `useQueryParams()` for a key-value API with defaults.\n *\n * @returns ReadonlyURLSearchParams instance with `.get()`, `.has()`, `.getAll()`, etc.\n *\n * @example\n * ```tsx\n * const searchParams = useSearchParams();\n * const page = searchParams.get('page');\n * const sort = searchParams.get('sort');\n * ```\n */\nexport declare function useSearchParams(): ReturnType<typeof useNextSearchParams>;","useMatch":"export declare function useMatch(pattern: string): {\n params: Record<string, string>;\n pathname: string;\n pattern: string;\n}","useQueryParams":"/**\n * Platform-agnostic useQueryParams hook\n *\n * Provides easy access to query parameters with setter functionality\n *\n * @returns Object with query parameters and setter functions\n *\n * @example\n * ```tsx\n * const { query, setQuery, removeQuery } = useQueryParams();\n *\n * // Get a query parameter\n * const page = query.get('page');\n *\n * // Set a query parameter\n * setQuery('page', '2');\n *\n * // Remove a query parameter\n * removeQuery('page');\n * ```\n */\nexport declare function useQueryParams(): {\n query: import(\"next/navigation\").ReadonlyURLSearchParams;\n setQuery: (key: string, value: string) => void;\n removeQuery: (key: string) => void;\n clearQueries: () => void;\n}","useRedirectGuard":"/**\n * Hook that checks if redirect should happen before render\n *\n * Prevents content flash by determining redirect state synchronously.\n * Returns safe defaults on server (SSR-safe).\n *\n * @param options - Redirect guard configuration\n * @returns Redirect guard state\n */\nexport declare function useRedirectGuard(options?: RedirectGuardOptions): RedirectGuardResult;","NavigateOptions":"/**\n * Navigation options for useNavigate hook\n */\nexport interface NavigateOptions {\n /** Replace current history entry instead of pushing new one */\n replace?: boolean;\n /** Preserve scroll position (default: false, scrolls to top) */\n preserveScroll?: boolean;\n}","RedirectGuardOptions":"/** Configuration options for the redirect guard hook. */\nexport interface RedirectGuardOptions {\n /** Auth configuration for this route */\n auth?: PageAuth | false;\n /** Custom redirect target (overrides auth config defaults) */\n redirectTo?: string | null;\n /** Custom condition function to check if redirect should happen */\n condition?: (user: any, status: FeatureStatus) => boolean;\n}","RedirectGuardResult":"/** Return value of the useRedirectGuard hook. */\nexport interface RedirectGuardResult {\n /** Whether redirect should happen */\n shouldRedirect: boolean;\n /** Target path for redirect, or null if no redirect */\n redirectTo: string | null;\n /** Whether auth state is still being checked */\n isChecking: boolean;\n}","LinkProps":"/**\n * Link component props interface\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {\n path: string;\n replace?: boolean;\n prefetch?: boolean;\n children?: ReactNode;\n /** Icon component or string name */\n icon?: string | ReactNode;\n /** Place icon after content instead of before */\n iconEnd?: boolean;\n /** Label text (rendered as span if provided) */\n label?: string;\n 'aria-label'?: string;\n 'aria-describedby'?: string;\n}","Link":"/**\n * Link component\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const Link: ComponentType<LinkProps>;","AuthGuard":"/**\n * AuthGuard - cold-load redirect safety net\n *\n * For SPA navigation, auth is intercepted in useNavigate (before page mount).\n * This component handles the cold-load case: user pastes a protected URL directly.\n * It redirects to authRoute, saves returnTo, and AuthReturnTo handles the redirect back.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function AuthGuard({ auth, children, fallback: Fallback, }","useCanNavigate":"/**\n * Hook to check if current user can navigate to a route with given auth config\n * ONLY uses store - single source of truth!\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function useCanNavigate(auth: PageAuth | false): boolean;","useCanAccess":"/**\n * @deprecated Use useCanNavigate instead\n */\nexport declare const useCanAccess: typeof useCanNavigate;","useUserRole":"/**\n * Hook to get current user's role - directly from store\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function useUserRole(): typeof USER_ROLES.GUEST | typeof USER_ROLES.USER | typeof USER_ROLES.ADMIN;","useHasRole":"/**\n * Hook to check specific role - directly from store\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function useHasRole(role: typeof USER_ROLES.GUEST | typeof USER_ROLES.USER | typeof USER_ROLES.ADMIN): boolean;","useAuthState":"/**\n * Hook to get all auth state for debugging\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function useAuthState(): {\n authenticated: boolean;\n role: string | undefined;\n tier: string;\n loading: boolean;\n userId: string | undefined;\n}","withAuth":"/**\n * HOC to wrap components with auth protection\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function withAuth<P extends object>(Component: ComponentType<P>, auth: PageAuth | false): (props: P) => import(\"react\").JSX.Element;","createAuthConfig":"/**\n * Utility to create auth configs\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const createAuthConfig: {\n /** No authentication required */\n public: () => false;\n /** Basic authentication required */\n required: () => PageAuth;\n /** User role (any authenticated user) */\n user: () => PageAuth;\n /** Admin role (Firebase custom claim isAdmin: true) */\n admin: () => PageAuth;\n /** Tier-based authentication */\n tier: (tier: (typeof SUBSCRIPTION_TIERS)[keyof typeof SUBSCRIPTION_TIERS]) => PageAuth;\n /** Pro tier */\n pro: () => PageAuth;\n /** Premium tier */\n premium: () => PageAuth;\n /** Admin with pro tier requirement */\n adminPro: () => PageAuth;\n /** Custom validation */\n custom: (validate: (role: string, tier: string) => boolean) => PageAuth;\n}","AuthGuardFallback":"/**\n * AuthGuardFallback - Shows login options when users hit protected routes\n *\n * Instead of redirecting to a separate login page, this component shows\n * the authentication options directly on the protected route, providing\n * better UX and keeping users in context.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function AuthGuardFallback({ title, description, showBackButton, onBack, className, }","GoToProps":"/** Props for the GoTo command palette trigger. */\nexport interface GoToProps {\n /**\n * Display - controls button presentation\n * @default 'auto'\n */\n display?: (typeof DISPLAY)[keyof typeof DISPLAY];\n /** Additional CSS class */\n className?: string;\n /** Optional callback called after opening command dialog (e.g., to close parent dropdown) */\n onOpen?: () => void;\n}","GoTo":"/**\n * GoTo - Command palette trigger button\n *\n * Simple button: Search icon + \"Go to\" label + keyboard shortcut.\n * Opens command dialog on click.\n */\nexport declare const GoTo: ({ display, className, onOpen, }","DnDevNavigationMenuProps":"/** Props for the DnDevNavigationMenu component. */\nexport interface DnDevNavigationMenuProps {\n /** Routes to display (optional - auto-fetches if not provided) */\n routes?: NavigationItem[];\n /** Vertical orientation (for sidebars) - defaults to horizontal */\n vertical?: boolean;\n /** Display mode - COMPACT (icon-only), FULL (icon+label), AUTO (CSS-driven) */\n display?: (typeof DISPLAY)[keyof typeof DISPLAY];\n /** Enable overflow detection with \"More\" dropdown (for headers) */\n overflowDetection?: boolean;\n /** Whether to show icons */\n showIcons?: boolean;\n /** Additional CSS classes */\n className?: string;\n /** Inline styles */\n style?: React.CSSProperties;\n}","DnDevNavigationMenu":"/**\n * DnDevNavigationMenu - Universal navigation menu component\n *\n * Smart navigation menu with defaults:\n * - Auto-fetches routes if not provided (smart default, auth-reactive)\n * - Resolves icons (always shows icons with LinkIcon fallback)\n * - Injects routing-aware Link component\n * - 48px buttons/icons when vertical (sidebar standard)\n * - Optional overflow detection with \"More\" dropdown (for headers)\n *\n * Works for sidebars, headers, dropdowns, anywhere navigation is needed.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n *\n * @example\n * ```tsx\n * // Sidebar - auto-fetches routes (smart default, CSS-driven collapse)\n * <DnDevNavigationMenu vertical display={DISPLAY.AUTO} />\n *\n * // Header with overflow detection\n * <DnDevNavigationMenu overflowDetection showIcons={false} />\n *\n * // Custom routes\n * <DnDevNavigationMenu routes={customRoutes} vertical />\n * ```\n */\nexport declare const DnDevNavigationMenu: ComponentType<DnDevNavigationMenuProps>;","NavigationItem":"/**\n * Enhanced navigation item interface for UI components\n */\nexport interface NavigationItem extends NavigationRoute {\n /** Whether this item is currently active based on current route */\n isActive: boolean;\n /** Whether this item has child routes */\n hasChildren: boolean;\n /** Nested child navigation items */\n children?: NavigationItem[];\n}","useNavigationItems":"/**\n * Smart navigation hook with auth filtering\n *\n * Use this for UI menus, sidebars, and navigation components that should\n * only show routes the user can access.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n * @returns Array of navigation items filtered by auth state\n *\n * @example\n * ```tsx\n * function SidebarMenu() {\n * const menuItems = useNavigationItems();\n * return <nav>{menuItems.map(item => <MenuItem key={item.path} item={item} />)}</nav>;\n * }\n * ```\n */\nexport declare function useNavigationItems(): NavigationItem[];","useNavigationRoute":"/**\n * Resolves a single navigation item from the store by path.\n *\n * Returns `undefined` if the path is not registered or the user lacks access.\n * Use this to compose a standalone Button-style nav link without reaching for\n * a full NavigationMenu.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n *\n * @example\n * ```tsx\n * const route = useNavigationRoute('/pricing');\n * if (!route) return null;\n * return (\n * <Button\n * variant=\"ghost\"\n * display={DISPLAY.AUTO}\n * icon={<Icon icon={route.icon} fallback={LinkIcon} />}\n * render={({ children, ...props }) => (\n * <Link path={route.path} {...props}>{children}</Link>\n * )}\n * >\n * {route.label}\n * </Button>\n * );\n * ```\n */\nexport declare function useNavigationRoute(path: string): NavigationItem | undefined;","useGoTo":"/**\n * Hook for navigation with favorites and recents\n * Command component handles search/filtering\n */\nexport declare const useGoTo: () => {\n navigationItems: import(\"./useNavigation\").NavigationItem[];\n favoriteItems: import(\"./useNavigation\").NavigationItem[];\n recentItems: import(\"./useNavigation\").NavigationItem[];\n toggleFavorite: (path: string) => void;\n isFavorite: (path: string) => boolean;\n navigateToItem: (path: string) => void;\n}","layoutClasses":"/**\n * @fileoverview Layout constants\n * @description Layout component class names and CSS selectors\n * Used for IDE autocomplete and type safety\n *\n * Note: CSS uses semantic HTML selectors with role attributes for scoping:\n * - `header[role='banner']` - not `.header` or `.dndev-header`\n * - `main[role='main']` - not `.main` or `.dndev-main`\n * - `footer[role='contentinfo']` - not `.footer` or `.dndev-footer`\n * - `aside[role='navigation'].sidebar` - uses `.sidebar` class but scoped by role\n *\n * Class names are organizational only. CSS targets by element+role for semantic scoping.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const layoutClasses: {\n readonly layoutContainer: \"dndev-layout\";\n readonly sidebar: \"sidebar\";\n readonly sidebarTop: \"sidebar-top\";\n readonly sidebarContent: \"sidebar-content\";\n readonly sidebarBottom: \"sidebar-bottom\";\n readonly sidebarResizeHandle: \"dndev-sidebar-resize-handle\";\n readonly header: \"header\";\n readonly main: \"main\";\n readonly footer: \"footer\";\n readonly container: \"dndev-container\";\n readonly pageContainer: \"dndev-container\";\n readonly breadcrumbsContainer: \"breadcrumbs-container\";\n}","layoutUtilities":"/**\n * Layout utility class names.\n * These are direct CSS class names that map to CSS variables (e.g., h-header → var(--header-height)).\n *\n * Framework components use these CSS classes directly.\n * These are exported for:\n * - Direct use in consumer apps\n * - IDE autocomplete\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const layoutUtilities: {\n readonly zHeader: \"dndev-z-header\";\n readonly zSidebar: \"dndev-z-sidebar\";\n readonly zOverlay: \"dndev-z-overlay\";\n readonly zModal: \"dndev-z-modal\";\n readonly zTooltip: \"dndev-z-tooltip\";\n readonly zToast: \"dndev-z-toast\";\n}","allLayoutClasses":"/**\n * Combined export of all layout classes and utilities\n * For consumer apps\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const allLayoutClasses: {\n readonly zHeader: \"dndev-z-header\";\n readonly zSidebar: \"dndev-z-sidebar\";\n readonly zOverlay: \"dndev-z-overlay\";\n readonly zModal: \"dndev-z-modal\";\n readonly zTooltip: \"dndev-z-tooltip\";\n readonly zToast: \"dndev-z-toast\";\n readonly layoutContainer: \"dndev-layout\";\n readonly sidebar: \"sidebar\";\n readonly sidebarTop: \"sidebar-top\";\n readonly sidebarContent: \"sidebar-content\";\n readonly sidebarBottom: \"sidebar-bottom\";\n readonly sidebarResizeHandle: \"dndev-sidebar-resize-handle\";\n readonly header: \"header\";\n readonly main: \"main\";\n readonly footer: \"footer\";\n readonly container: \"dndev-container\";\n readonly pageContainer: \"dndev-container\";\n readonly breadcrumbsContainer: \"breadcrumbs-container\";\n}","layoutVariables":"/**\n * Layout CSS custom property names for programmatic access\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const layoutVariables: {\n readonly headerHeight: \"--header-height\";\n readonly headerPadding: \"--header-padding\";\n readonly headerIconSize: \"--header-icon-size\";\n readonly headerLogoMaxHeight: \"--header-logo-max-height\";\n readonly sidebarWidth: \"--sidebar-width\";\n readonly sidebarPadding: \"--sidebar-padding\";\n readonly mainPadding: \"--main-padding\";\n readonly mainMaxWidth: \"--main-max-width\";\n readonly contentWidth: \"--content-width\";\n readonly contentPadding: \"--content-padding\";\n readonly footerHeight: \"--footer-height\";\n readonly footerPadding: \"--footer-padding\";\n readonly zHeader: \"--z-header\";\n readonly zSidebar: \"--z-sidebar\";\n readonly zFooter: \"--z-footer\";\n readonly zOverlay: \"--z-overlay\";\n readonly zModal: \"--z-modal\";\n readonly zTooltip: \"--z-tooltip\";\n readonly zToast: \"--z-toast\";\n}","cssVariables":"/**\n * CSS variable exports\n * Exports CSS variable names for use in TypeScript\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const cssVariables: {\n readonly headerHeight: \"--header-height\";\n readonly headerPadding: \"--header-padding\";\n readonly logoSize: \"--logo-size\";\n readonly sidebarWidth: \"--sidebar-width\";\n readonly sidebarPadding: \"--sidebar-padding\";\n readonly footerHeight: \"--footer-height\";\n readonly footerPadding: \"--footer-padding\";\n readonly layoutGap: \"--layout-gap\";\n readonly sectionGap: \"--gap-lg\";\n readonly contentGap: \"--content-gap\";\n readonly zHeader: \"--z-header\";\n readonly zSidebar: \"--z-sidebar\";\n readonly zFooter: \"--z-footer\";\n readonly zModal: \"--z-modal\";\n readonly zTooltip: \"--z-tooltip\";\n}","CssVariable":"/**\n * CSS variable type\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport type CssVariable = keyof typeof cssVariables;","AssetFormats":"/**\n * Asset formats interface\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport interface AssetFormats {\n svg?: string;\n png?: string;\n webp?: string;\n avif?: string;\n}","FaviconSet":"/**\n * Favicon set interface\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport interface FaviconSet {\n svg?: string;\n ico?: string;\n png16?: string;\n png32?: string;\n apple180?: string;\n android192?: string;\n android512?: string;\n}","AssetResolver":"/**\n * Modern asset resolution with format preference and browser capability detection\n * Follows Next.js Image optimization patterns\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare class AssetResolver {\n private static cache;\n /**\n * Check if browser supports modern image formats\n */\n static getBrowserSupport(): BrowserSupport;\n /**\n * Recursively extract all string values from nested object/array structure\n */\n private static extractStringValues;\n /**\n * Check if an asset exists (SSR-safe)\n * Checks build-time injected manifest structure (nested objects, arrays)\n */\n static assetExists(path: string): boolean;\n /**\n * Get asset manifest if available\n */\n static getAssetManifest(): AssetManifest | null;\n /**\n * Get logo SVG content for inline rendering\n * Works in both CSR and SSR (globalThis available in both contexts)\n * @returns {string | null} SVG content or null if not available\n */\n static getLogoSvgContent(): string | null;\n /**\n * Resolve logo path\n * Rule: Use manifest optimal if available, otherwise /logo.svg (user must provide)\n */\n static resolveLogo(customPath?: string): string;\n /**\n * Direct asset existence check for development\n * More reliable than the build-time detection\n *\n * **Limitation:** This is a synchronous heuristic that always returns true\n * when `new Image()` doesn't throw. It does NOT wait for the image to load,\n * so it cannot detect 404s. A proper async check would require returning a\n * Promise<boolean> via Image.onload/onerror, but that would change the\n * synchronous contract used by resolveLogo/resolveFaviconSet.\n */\n private static directAssetCheck;\n /**\n * Resolve complete favicon set with modern standards\n * Follows PWA manifest and web.dev best practices\n */\n static resolveFaviconSet(): FaviconSet;\n /**\n * Resolve optimal favicon for basic usage\n */\n static resolveFavicon(): string;\n /**\n * Clear asset resolution cache\n * Useful when assets change during development\n */\n static clearCache(): void;\n /**\n * Get debug information about detected assets\n */\n static getDebugInfo(): {\n browserSupport: BrowserSupport;\n detectedAssets: Record<string, any> | null | undefined;\n assetManifest: AssetManifest | null;\n cache: {\n [k: string]: any;\n };\n };\n}","resolveLogo":"/**\n * Utility function for logo resolution\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function resolveLogo(customPath?: string): string;","resolveFaviconSet":"/**\n * Utility function for favicon resolution\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function resolveFaviconSet(): FaviconSet;","useAuthSafe":"/**\n * Safe wrapper for useAuth hook.\n *\n * - If @donotdev/auth installed → uses real hook (handles Firebase/consent internally)\n * - If not installed → returns degraded API values\n *\n * @param key - Property name to access from auth API\n * @returns The auth API value, or degraded value if auth unavailable\n *\n * @example\n * ```typescript\n * const user = useAuthSafe('user');\n * const signIn = useAuthSafe('signInWithEmail');\n * const isAvailable = useAuthSafe('isAvailable');\n * ```\n */\nexport declare function useAuthSafe<K extends keyof AuthAPI>(key: K): AuthAPI[K];","isAuthAvailable":"/**\n * Check if auth module is available (for conditional UI rendering)\n */\nexport declare const isAuthAvailable: boolean;","PasswordResetCallback":"/**\n * PasswordResetCallback - auto-overlay for password reset flow.\n * Renders nothing if @donotdev/auth not installed or no reset in progress.\n */\nexport declare const PasswordResetCallback: typeof authModule.PasswordResetCallback;","isFormStoreAvailable":"/**\n * Check if FormStore is available\n */\nexport declare const isFormStoreAvailable: boolean;","useFormStoreSafe":"/**\n * Safe access to FormStore.\n * Returns degraded state selector result if CRUD package not installed.\n *\n * @param selector - Zustand selector function\n * @returns Selected state, or degraded state selection if CRUD not available\n *\n * @example\n * ```tsx\n * const hasDirtyForms = useFormStoreSafe((state) => state.hasDirtyForms());\n * // Always safe to call - returns false when degraded\n * ```\n */\nexport declare function useFormStoreSafe<T>(selector: (state: FormStoreLike) => T): T;","AuthVisibilityState":"/** Return value of the useAuthVisibility hook. */\nexport interface AuthVisibilityState {\n /**\n * True if auth UI should be completely hidden (not initialized or not available)\n */\n shouldHide: boolean;\n /**\n * True if auth is in loading state (but UI should still be visible with spinner)\n */\n isLoading: boolean;\n /**\n * True if auth is initialized and available (ready to show UI)\n */\n isReady: boolean;\n /**\n * True if user is authenticated\n */\n isAuthenticated: boolean;\n}","useAuthVisibility":"/**\n * Hook to determine auth UI visibility and loading states\n *\n * **Visibility Rules:**\n * - Hide if `status !== 'ready' || !isAvailable` (not ready or not installed)\n * - Show with loading if `status === 'initializing'` during operations\n * - Show normal UI when `status === 'ready' && isAvailable`\n *\n * @returns AuthVisibilityState with visibility flags\n *\n * @example\n * ```typescript\n * const { shouldHide, isLoading, isReady, isAuthenticated } = useAuthVisibility();\n *\n * if (shouldHide) return null;\n *\n * if (isLoading) {\n * return <Button disabled><Spinner /></Button>;\n * }\n *\n * if (isAuthenticated) {\n * return <UserMenu />;\n * }\n *\n * return <SignInButton />;\n * ```\n */\nexport declare function useAuthVisibility(): AuthVisibilityState;","useStripeBillingSafe":"/**\n * Safe wrapper for useStripeBilling hook.\n *\n * - If @donotdev/billing installed → uses real hook\n * - If not installed → returns degraded API values\n *\n * **IMPORTANT:** For `isAvailable` to return `true`, you must pass `authState`.\n * Without auth state, billing will return `isAvailable: false` until auth status is `ready`.\n *\n * @param key - Property name to access from billing API\n * @param authState - Auth state from useAuthSafe (user, status)\n * @returns The billing API value, or degraded value if billing unavailable\n *\n * @example\n * ```typescript\n * // Get auth state first\n * const user = useAuthSafe('user');\n * const status = useAuthSafe('status'); // 'initializing' | 'ready' | 'degraded' | 'error'\n * const authState = { user, status };\n *\n * // Pass to billing\n * const checkout = useStripeBillingSafe('checkout', authState);\n * const billingStatus = useStripeBillingSafe('status', authState);\n * const isAvailable = useStripeBillingSafe('isAvailable', authState);\n * ```\n */\nexport declare function useStripeBillingSafe<K extends keyof BillingAPI>(key: K, authState?: BillingAuthState): BillingAPI[K];","isBillingAvailable":"/**\n * Check if billing module is available (for conditional UI rendering)\n */\nexport declare const isBillingAvailable: boolean;","BillingVisibilityState":"/** Return value of the useBillingVisibility hook. */\nexport interface BillingVisibilityState {\n /**\n * True if billing UI should be completely hidden (not available)\n */\n shouldHide: boolean;\n /**\n * True if billing is in loading state (but UI should still be visible with spinner)\n */\n isLoading: boolean;\n /**\n * True if billing is available (ready to show UI)\n */\n isReady: boolean;\n}","useBillingVisibility":"/**\n * Hook to determine billing UI visibility and loading states\n *\n * **Visibility Rules:**\n * - Hide if `!isAvailable` (not installed/configured)\n * - Show with loading if `status === 'initializing'` during operations\n * - Show normal UI when `isAvailable && status === 'ready'`\n *\n * @returns BillingVisibilityState with visibility flags\n *\n * @example\n * ```typescript\n * const { shouldHide, isLoading, isReady } = useBillingVisibility();\n *\n * if (shouldHide) {\n * return <FeatureDisabled featureName=\"Billing\" />;\n * }\n *\n * if (isLoading) {\n * return <Button disabled><Spinner /></Button>;\n * }\n *\n * return <BillingForm />;\n * ```\n */\nexport declare function useBillingVisibility(): BillingVisibilityState;","useCrudSafe":"/**\n * Safe wrapper for useCrud hook.\n *\n * - If @donotdev/crud installed → uses real hook (handles Firebase/consent internally)\n * - If not installed → returns degraded API values\n *\n * @param entityOrCollection - Entity definition or collection name\n * @param options - Options including backend type and schema\n * @returns CRUD operations and state, or degraded API if crud unavailable\n *\n * @example\n * ```typescript\n * // With entity\n * const { add, update } = useCrudSafe(carEntity);\n *\n * // With collection string\n * const { get, set } = useCrudSafe('users', { schema: UserSchema });\n * ```\n */\nexport declare function useCrudSafe<T = unknown>(entityOrCollection: Entity | string, options?: UseCrudSafeOptions<T>): CrudAPI<T>;","isCrudAvailable":"/**\n * Check if CRUD module is available (for conditional UI rendering)\n */\nexport declare const isCrudAvailable: boolean;","useOAuthSafe":"/**\n * Safe wrapper for useOAuth hook.\n *\n * - If @donotdev/oauth installed → uses real hook (handles credentials/consent internally)\n * - If not installed → returns degraded API values\n *\n * @param key - Property name to access from OAuth API\n * @returns The OAuth API value, or degraded value if OAuth unavailable\n *\n * @example\n * ```typescript\n * const connect = useOAuthSafe('connect');\n * const loading = useOAuthSafe('loading');\n * const isAvailable = useOAuthSafe('isAvailable');\n * ```\n */\nexport declare function useOAuthSafe<K extends keyof OAuthAPI>(key: K): OAuthAPI[K];","isOAuthAvailable":"/**\n * Check if OAuth module is available (for conditional UI rendering)\n */\nexport declare const isOAuthAvailable: boolean;","tList":"/**\n * Renders a translated array as a List with optional icon\n *\n * Opinionated helper that reduces boilerplate for the common pattern:\n * `<List icon={<CheckCircle size={16} />} items={translateArray(t, key, count)} />`\n *\n * @param t - Translation function from useTranslation\n * @param key - Translation key prefix for the array\n * @param count - Maximum number of items to fetch\n * @param icon - Lucide icon, null for no icon, or undefined for default (CheckCircle)\n * @param size - Optional icon size (default: 16)\n * @returns ReactNode containing the List component\n *\n * @example\n * ```tsx\n * // With default icon (CheckCircle)\n * <Card content={tList(t, 'features.items', 4)} />\n *\n * // With custom icon\n * <Card content={tList(t, 'features.items', 4, Star)} />\n *\n * // Without icon (for emoji-prefixed labels like \"🚀 Kick-off\")\n * <Card content={tList(t, 'features.items', 4, null)} />\n * ```\n */\nexport declare function tList(t: TFunction, key: string, count: number, icon?: LucideIcon | null, size?: number): ReactNode;","sanitizeSvg":"/**\n * Strips known XSS vectors from an SVG string.\n *\n * @param svg - Raw SVG string (build-time or static source)\n * @returns Sanitized SVG string safe for dangerouslySetInnerHTML\n *\n * @security This function uses regex-based sanitization suitable ONLY for build-time trusted SVGs.\n * For user-uploaded or untrusted SVG content, use a dedicated sanitization library like DOMPurify.\n * Regex-based sanitization is bypassable via mutation XSS, SVG event handlers, or entity encoding.\n *\n * @example\n * ```tsx\n * <div dangerouslySetInnerHTML={{ __html: sanitizeSvg(svgContent) }} />\n * ```\n */\nexport declare function sanitizeSvg(svg: string): string;","SeoProps":"/**\n * Dynamic SEO props\n * Extends SeoMeta with runtime-specific fields\n */\nexport interface SeoProps extends SeoMeta {\n /**\n * Canonical URL override\n * @description If not set, uses current URL\n */\n canonicalUrl?: string;\n /**\n * Article publish date (ISO 8601)\n * @description For article pages, sets article:published_time\n */\n publishDate?: string;\n /**\n * Article modified date (ISO 8601)\n * @description For article pages, sets article:modified_time\n */\n modifiedDate?: string;\n}","Seo":"/**\n * Dynamic SEO component\n *\n * @description Sets SEO metadata at runtime. Render after data is loaded.\n * Overrides any static PageMeta SEO settings.\n * Works in SSR/prerender - meta tags will be in initial HTML.\n *\n * @example Static title override\n * ```tsx\n * <Seo fullTitle=\"About Us | MyApp\" />\n * ```\n *\n * @example Dynamic product page\n * ```tsx\n * const { data: product } = useProduct(id);\n * if (!product) return <Loading />;\n *\n * return (\n * <>\n * <Seo\n * title={product.name}\n * description={product.description}\n * image={product.image}\n * type=\"product\"\n * />\n * <ProductDetails product={product} />\n * </>\n * );\n * ```\n *\n * @example Article with dates\n * ```tsx\n * <Seo\n * title={article.title}\n * description={article.excerpt}\n * type=\"article\"\n * publishDate={article.createdAt}\n * modifiedDate={article.updatedAt}\n * />\n * ```\n */\nexport declare function Seo({ title, fullTitle, description, image, type, keywords, noindex, canonicalUrl, publishDate, modifiedDate, }","useSeo":"/**\n * Hook version for those who prefer hooks\n * Returns the Seo component with props bound\n *\n * @example\n * ```tsx\n * const SeoTags = useSeo({\n * title: apartment.reference,\n * description: apartment.description,\n * });\n *\n * return (\n * <>\n * <SeoTags />\n * <Content />\n * </>\n * );\n * ```\n */\nexport declare function useSeo(props: SeoProps | null): () => ReactElement | null;","ViteAppProviders":"/**\n * ViteAppProviders - Vite platform-specific app providers\n *\n * Clean provider hierarchy with configuration via context (no prop drilling).\n * Uses React Router v7 data router pattern (RouterProvider + createBrowserRouter).\n *\n * Provider hierarchy (outside router):\n * 1. AppConfigProvider (configuration context)\n * 2. SentryInitializer (error monitoring)\n * 3. ViteStoresInitializer (store setup)\n * 4. HelmetProvider (head management)\n * 5. FaviconHead (favicon configuration)\n * 6. NavigationProvider (RouterProvider with auto-abort)\n *\n * Provider hierarchy (inside router via RootLayout):\n * 7. QueryProviders (React Query)\n * 8. UIProviders (design system)\n * 9. AutoMetaTags (SEO)\n * 10. FrameworkReadySignal (framework initialization)\n * 11. Layout (application layout)\n * 12. ConsentBanner (cookie consent)\n * 13. PWAUpdateNotification (PWA updates)\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n *\n * @example\n * ```tsx\n * <ViteAppProviders\n * config={{ app: { name: 'My App' } }}\n * />\n * ```\n *\n * Note: HomePage.tsx in src/pages/ is automatically used for the root route \"/\"\n */\nexport declare function ViteAppProviders(props: AppProvidersProps): import(\"react\").JSX.Element;","NextJsAppProviders":"export declare function NextJsAppProviders(props: NextJsAppProvidersProps): import(\"react\").JSX.Element;","FontPreloadLinks":"/**\n * Server component: renders preload links for fonts listed in public/dndev-font-preloads.json.\n * No-op if manifest is missing or empty. Use in root layout.tsx for SSR preload in initial HTML.\n */\nexport declare function FontPreloadLinks(): Promise<ReactNode>;"}
1
+ {"AuthHeader":"/**\n * Auth header component\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const AuthHeader: ComponentType<AuthHeaderProps>;","AuthMenu":"export declare const AuthMenu: ({ loginPath, display, \"no-tooltip\": noTooltip, customItems, className, style, }","AuthHeaderProps":"/**\n * AuthHeader - Simple, powerful authentication component for headers\n *\n * Automatically reads all configuration from `appConfig.auth` (DRY principle).\n * Accepts `display` prop for layout-specific UI control.\n *\n * Features:\n * - Lazy-loaded components for optimal performance\n * - Responsive design (icon on mobile/tablet, button with label on desktop)\n * - Industry standard patterns (dropdown for 2+ providers)\n * - Error handling via useAuth (no additional error states needed)\n * - 100% Lighthouse compatible\n * - Auto-configuration from appConfig (no props needed)\n *\n * @example\n * ```tsx\n * // Configure once in appConfig.auth\n * const APP_CONFIG = {\n * auth: {\n * loginPath: '/login', // Optional: links to login page\n * authMenuItems: [{ path: '/dashboard' }, { path: '/settings' }] // Optional: user menu routes\n * }\n * };\n *\n * // In presets - reads from appConfig automatically\n * // This component composes AuthPartnerButton and MultipleAuthProviders from @donotdev/auth.\n * // Use AuthHeader if you need a pre-built, responsive authentication component for your app's header.\n * <AuthHeader />\n *\n * // Force icon-only mode (e.g., for sidebars)\n * <AuthHeader display=\"compact\" />\n * ```\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport interface AuthHeaderProps {\n /**\n * Display - controls auth header presentation in preset layouts\n * - 'compact': Icon-only buttons\n * - 'full': Full buttons with labels\n * - 'auto': Responsive (default)\n * @default 'auto'\n */\n display?: (typeof DISPLAY)[keyof typeof DISPLAY];\n /**\n * Button variant for the sign-in trigger.\n * @default 'outline'\n */\n variant?: (typeof BUTTON_VARIANT)[keyof typeof BUTTON_VARIANT];\n /** Optional className for styling the button */\n className?: string;\n /** Optional inline styles for the button */\n style?: CSSProperties;\n}","AuthMenuProps":"/**\n * Props for the AuthMenu component\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport interface AuthMenuProps {\n /** Path for login (unauthenticated users). Falls back to appConfig.auth.loginPath */\n loginPath?: string;\n /**\n * Display - controls auth menu presentation in preset layouts\n * - 'compact': Icon-only button\n * - 'full': Button with label\n * - 'auto': Responsive (default)\n * @default 'auto'\n */\n display?: (typeof DISPLAY)[keyof typeof DISPLAY];\n /** Disable tooltip */\n 'no-tooltip'?: boolean;\n /**\n * Custom menu items to add to authenticated menu.\n * Merged with items from appConfig.auth.authMenuItems.\n * Order: Profile (if configured) → authMenuItems → customItems → Delete Account → Sign Out\n */\n customItems?: AuthMenuCustomItem[];\n /** Optional className for styling the button */\n className?: string;\n /** Optional inline styles for the button */\n style?: CSSProperties;\n}","FeatureDisabled":"/**\n * FeatureDisabled - Component for displaying feature unavailable states\n *\n * Provides a consistent UI pattern for when features are disabled or unavailable.\n * Includes options for review cookies, contact support, and retry actions.\n *\n * @example\n * ```tsx\n * <FeatureDisabled\n * featureName=\"Billing\"\n * description=\"Stripe billing is not configured\"\n * showContactSupport={true}\n * showRetry={true}\n * onRetry={() => window.location.reload()}\n * />\n * ```\n *\n * @param props - FeatureDisabled component props\n * @returns React component\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare function FeatureDisabled({ featureName, title, description, showReviewCookies, showContactSupport, showRetry, supportEmail, onRetry, onReviewCookies, customActions, className, }","Icon":"/**\n * Icon - Unified icon component (FLEXIBLE RUNTIME COMPONENT)\n *\n * **This is the flexible runtime component** - supports Lucide components, emojis, strings, and custom ReactNode.\n *\n * **For PageMeta.icon:** Only lucide-react JSX components are supported (extracted at build time).\n * **For Icon component:** All formats are supported (resolved at runtime).\n *\n * @example\n * ```tsx\n * // Runtime usage - all formats work\n * <Icon icon=\"🚀\" /> // Emoji\n * <Icon icon=\"Rocket\" /> // Lucide name string\n * <Icon icon={<Rocket />} /> // Lucide component\n * <Icon icon={<CustomIcon />} /> // Custom component\n * ```\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const Icon: ComponentType<IconProps>;","RedirectOverlay":"/**\n * RedirectOverlay - Industry-standard redirect overlay with phase progression\n *\n * Features:\n * - Phase-based progress: connecting → preparing → redirecting → timeout\n * - Cancel button appears after 10s (configurable)\n * - i18n support with operation-specific messaging\n * - Browser event handling (popstate, visibilitychange)\n * - Accessible (ARIA labels, role=\"status\")\n * - RTL-safe styling\n *\n * @example\n * ```tsx\n * // Include once in app root (layout.tsx or App.tsx)\n * import { RedirectOverlay } from '@donotdev/ui';\n *\n * function RootLayout({ children }) {\n * return (\n * <>\n * {children}\n * <RedirectOverlay />\n * </>\n * );\n * }\n *\n * // Hooks trigger it automatically\n * const checkout = useStripeBilling('checkout', authState);\n * await checkout({ priceId: 'price_123' }); // Shows overlay automatically\n * ```\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function RedirectOverlay(): import(\"react\").JSX.Element | null;","ProgressBar":"/**\n * ProgressBar - A top progress bar for navigation and page transitions\n *\n * Features:\n * - Smooth progress animations\n * - Fake progress simulation for better UX\n * - Configurable duration and behavior\n * - Accessibility support\n * - Auto-hide on completion\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const ProgressBar: ComponentType<ProgressBarProps>;","Skeleton":"/**\n * Skeleton - A loading placeholder component\n *\n * Features:\n * - Multiple variants for different content types\n * - Configurable dimensions via escape hatch props\n * - Accessibility support\n * - Smooth animations\n *\n * STYLING APPROACH:\n * - Prefer: <Skeleton className=\"h-4 w-[250px]\" /> (utility classes)\n * - Escape hatch: <Skeleton width={dynamicWidth} height={40} /> (when programmatic)\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const Skeleton: ComponentType<SkeletonProps>;","FeatureCard":"/**\n * FeatureCard - Card wrapper with content array and routing\n *\n * Uses Card component internally. Routing via Link when href provided.\n */\ndeclare const FeatureCard: ({ icon, title, subtitle, content, href, variant, elevated, onClick, className, footer, style, clickable, maxLines, ...cardProps }","FeatureCardProps":"/** Props for the FeatureCard component. */\nexport interface FeatureCardProps extends Omit<CardProps, 'content' | 'href' | 'title' | 'subtitle' | 'children'> {\n /** Title (required) */\n title: string | ReactNode;\n /** Subtitle (required) */\n subtitle: string | ReactNode;\n /**\n * Card content - string, string[], or ReactNode.\n * For lists with icons, pass `<List icon={...} items={...} />` directly.\n */\n content?: CardContent;\n /** Route path - enables routing via Link */\n href?: string;\n /** When true, apply clickable styling (cursor, hover) even without href/onClick. Use when card is a dialog trigger. */\n clickable?: boolean;\n /**\n * Max lines for title and subtitle (each). Pass `0` for no line clamp.\n * @default 2\n */\n maxLines?: number;\n}","TechBento":"export declare function TechBento({ title, techs, cols, gap, separator, tone, align, collapsible, open, onOpenChange, defaultOpen, className, }","TechBentoProps":"/** Props for the TechBento component. */\nexport type TechBentoProps = {\n title?: string;\n techs: Array<{\n name: TechKey;\n size?: 'normal' | 'long' | 'high' | 'huge';\n variant?: CardVariant;\n }>;\n /**\n * Number of columns - fixed or responsive (same as Grid)\n * - number: fixed columns (same on all breakpoints)\n * - [mobile, tablet, laptop, desktop]: responsive columns per breakpoint\n * @default 3\n * @example 3 - always 3 columns\n * @example [1, 1, 2, 3] - 1 col mobile/tablet, 2 laptop, 3 desktop\n */\n cols?: number | ResponsiveCols;\n gap?: BentoGap;\n separator?: boolean;\n /** Tone system for background colors (matches Section/CallToAction) */\n tone?: Tone;\n /** Content alignment @default 'center' */\n align?: 'start' | 'center' | 'end';\n /** Whether the section is collapsible */\n collapsible?: boolean;\n /** Controlled open state (when collapsible) */\n open?: boolean;\n /** Callback when open state changes (when collapsible) */\n onOpenChange?: (open: boolean) => void;\n /** Default open state (uncontrolled, when collapsible) */\n defaultOpen?: boolean;\n className?: string;\n}","ConsentBanner":"/**\n * ConsentBanner - Lazy loaded consent component\n * Shows if user hasn't consented yet OR if showBanner flag is set\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function ConsentBanner(): import(\"react\").JSX.Element | null;","PageContainerVariant":"/**\n * Page container variants - semantic layout patterns\n */\nexport type PageContainerVariant = 'full' | 'standard' | 'docs' | 'narrow' | 'fixed';","PageContainer":"/**\n * PageContainer - Layout wrapper with semantic width constraints\n *\n * DnDevLayout already handles:\n * - Main padding via --content-padding\n * - Sidebar/header spacing\n * - Responsive behavior\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n *\n * PageContainer provides:\n * - Semantic width constraints without additional padding\n * - Automatic spacing system using CSS variables\n *\n */\nexport declare const PageContainer: ComponentType<PageContainerProps>;","PageConfig":"/**\n * PageConfig - Declarative per-page layout overrides\n *\n * Sets route-level overrides (preset, hideBreadcrumbs) in the theme store.\n * Cleans up on unmount (resets to defaults).\n *\n * @example\n * ```tsx\n * // In a Next.js page component:\n * export default function MyPage() {\n * return (\n * <>\n * <PageConfig hideBreadcrumbs />\n * <PageContainer>...</PageContainer>\n * </>\n * );\n * }\n * ```\n */\nexport declare function PageConfig({ hideBreadcrumbs, preset, }","CTAButton":"/**\n * CTA button definition\n */\nexport interface CTAButton {\n label: string;\n onClick: () => void;\n disabled?: boolean;\n variant?: 'default' | 'outline' | 'ghost' | 'link';\n}","GameContainerProps":"/**\n * GameContainer props\n */\nexport interface GameContainerProps {\n /** Main content area (scrollable, centered by default) */\n content: ReactNode;\n /** Optional fixed CTA button(s) at bottom - single button or array for multiple buttons */\n cta?: CTAButton | CTAButton[];\n /** Alignment variant for content area */\n align?: 'center' | 'start' | 'stretch';\n /** Justify variant for content area */\n justify?: 'center' | 'start' | 'end' | 'between';\n /** Disable ScrollArea (use plain overflow) - for interactive content */\n disableScrollArea?: boolean;\n /** Content width: 'narrow' (default, constrained) or 'full' */\n contentVariant?: 'full' | 'narrow';\n /** Additional className for content wrapper */\n contentClassName?: string;\n /** Additional className for CTA button */\n ctaClassName?: string;\n}","GameContainer":"/**\n * GameContainer - Content + CTA grid layout for game screens\n *\n * Provides scrollable content area with optional fixed CTA button at bottom.\n * Used for game sessions, onboarding flows, wizards, assessments, tutorials.\n *\n * Layout Zones:\n * - Content: Scrollable (ScrollArea), centered by default (customizable)\n * - CTA: Fixed at bottom, full-width touch target (48px)\n *\n * Default Behavior:\n * - Content is horizontally + vertically centered\n * - ScrollArea enabled for cross-browser scroll styling\n * - CTA has 16px top padding + 2px border separator\n *\n * @param {GameContainerProps} props - Component props\n * @returns {JSX.Element} GameContainer component\n *\n * @example\n * Basic usage (centered content + CTA)\n * ```tsx\n * <GameContainer\n * content={\n * <div className=\"max-w-2xl\">\n * <h1>Welcome</h1>\n * <p>Let's get started</p>\n * </div>\n * }\n * cta={{ label: 'Start', onClick: handleStart }}\n * />\n * ```\n *\n * @example\n * Full-width form (no centering)\n * ```tsx\n * <GameContainer\n * align=\"stretch\"\n * justify=\"start\"\n * content={<FullWidthForm />}\n * cta={{ label: 'Submit', onClick: handleSubmit }}\n * />\n * ```\n *\n * @example\n * Multiple CTA buttons (side by side)\n * ```tsx\n * <GameContainer\n * content={<ChallengeContent />}\n * cta={[\n * { label: 'Accept', onClick: handleAccept, variant: 'default' },\n * { label: 'Decline', onClick: handleDecline, variant: 'outline' }\n * ]}\n * />\n * ```\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function GameContainer({ content, cta, align, justify, disableScrollArea, contentVariant, contentClassName, ctaClassName, }","ScreenRegistry":"/**\n * Screen registry type - maps screen names to lazy import functions\n */\nexport type ScreenRegistry = Record<string, () => Promise<{\n default: ComponentType<any>;\n}","GameFlowProps":"/**\n * GameFlow props\n */\nexport interface GameFlowProps {\n /** Registry mapping screen names to lazy import functions */\n screenRegistry: ScreenRegistry;\n /** Current screen name to render */\n currentScreen: string | null;\n /** Next screen name for preloading (optional) */\n nextScreen?: string | null;\n /** Fallback component for Suspense (optional) */\n fallback?: ReactNode;\n}","GameFlow":"/**\n * GameFlow - Screen router for game/session flows\n *\n * Handles:\n * - Routing to correct screen component based on currentScreen\n * - Lazy loading of screen components\n * - Preloading of nextScreen for instant transitions\n * - h-full wrapper for proper layout filling\n * - Suspense boundaries for loading states\n *\n * @param {GameFlowProps} props - Component props\n * @param {ScreenRegistry} props.screenRegistry - Registry of screen lazy imports\n * @param {string | null} props.currentScreen - Current screen name to render\n * @param {string | null} [props.nextScreen] - Next screen name for preloading\n * @param {ReactNode} [props.fallback] - Fallback component for Suspense\n * @returns {JSX.Element | null} GameFlow component\n *\n * @example\n * ```tsx\n * <GameFlow\n * screenRegistry={screenRegistry}\n * currentScreen={currentScreen}\n * nextScreen={nextScreen}\n * fallback={<Spinner overlay />}\n * />\n * ```\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function GameFlow({ screenRegistry, currentScreen, nextScreen, fallback, }","AppBranding":"/**\n * AppBranding - Unified branding component\n *\n * Combines AppIcon + AppTitle with DISPLAY mode support.\n * Uses CSS container queries for AUTO mode - no JS breakpoint checks.\n *\n * @example\n * ```tsx\n * // Auto-responsive (default)\n * <AppBranding />\n *\n * // Logo only\n * <AppBranding display=\"compact\" />\n *\n * // Always show logo + title\n * <AppBranding display=\"full\" />\n * ```\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const AppBranding: ({ display, linkToHome, className, }","AppIcon":"/**\n * AppIcon - Application icon component\n *\n * Uses logo.svg (user must provide). Reads SVG content synchronously from build-time data.\n * CSS variables (var(--primary), var(--accent)) work automatically when SVG is inlined.\n * Falls back to img tag if logo.svg is not available.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const AppIcon: ({ alt, size, className }","AppTitle":"/**\n * AppTitle - Simple app title using text-base xl\n * Automatically gets app name from AppConfig if title not provided\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const AppTitle: ({ title, className, linkToHome, }","Breadcrumbs":"/**\n * Breadcrumbs component for navigation\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n *\n * Automatically generates breadcrumbs from current route or accepts custom items\n */\ndeclare const Breadcrumbs: ComponentType<BreadcrumbsProps>;","GameTitle":"/**\n * GameTitle Component\n *\n * Renders title/subtitle when available (from themeStore), otherwise falls back to app name.\n * Used in game preset header center slot.\n *\n * Non-negotiable: This component is always rendered in the center of game header.\n *\n * @param props - GameTitle component props\n * @returns React component\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const GameTitle: ({ asLink, className }","CacheSettings":"/**\n * CacheSettings - Cache settings component for clearing various caches\n *\n * Provides UI for clearing browser caches including localStorage, sessionStorage,\n * cookies, IndexedDB, and service worker caches.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare function CacheSettings(): import(\"react\").JSX.Element;","DropdownNavigation":"/**\n * DropdownNavigation component - professional navigation with dropdown support\n *\n * Renders a navigation bar with dropdown menus for complex navigation structures.\n * Supports both direct links and dropdown menus with subroutes.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n *\n * @param navigation - Array of navigation menu items\n * @param className - Additional CSS classes\n * @returns Rendered navigation component\n */\ndeclare const DropdownNavigation: ComponentType<DropdownNavigationProps>;","FloatingLanguageSwitcher":"/**\n * FloatingLanguageSwitcher - Professional, floating language selector\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const FloatingLanguageSwitcher: ComponentType<FloatingLanguageSwitcherProps>;","HeaderMenu":"/**\n * HeaderMenu - Dropdown menu component for header controls\n *\n * Displays content in a dropdown menu with responsive grid layout.\n * Layout presets decide when to use this component based on breakpoint.\n *\n * Labels are forced visible via CSS (.dndev-menu-content forces labels visible).\n * No cloneElement needed - pure CSS solution.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n *\n * @example\n * ```tsx\n * // In layout preset:\n * const isMobileOrTablet = useBreakpoint('isMobileOrTablet');\n * {isMobileOrTablet ? (\n * <HeaderMenu>\n * <AuthHeader />\n * <LanguageSelector />\n * <ThemeToggle />\n * </HeaderMenu>\n * ) : (\n * <>{rightContent}</>\n * )}\n * ```\n */\nexport declare const HeaderMenu: ({ children, className }","HeaderNavigation":"/**\n * HeaderNavigation - DISPLAY-aware adaptive navigation component\n *\n * Uses DISPLAY prop to choose navigation strategy:\n * - COMPACT: All items in dropdown menu (HeaderMenu pattern)\n * - FULL: Inline navigation with overflow detection (DnDevNavigationMenu with overflowDetection)\n * - AUTO: Responsive (dropdown on mobile/tablet, inline on desktop)\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const HeaderNavigation: ComponentType<HeaderNavigationProps>;","Notifications":"/**\n * Notifications component - notification bell with dropdown\n *\n * Features:\n * - Badge count display with proper formatting\n * - Dropdown notification list\n * - Real-time notification updates\n * - Mark as read functionality\n * - Different notification types with styling\n * - Responsive design\n * - Keyboard navigation support\n * - Loading states\n * - Empty states\n * - Time formatting for timestamps\n *\n * This component provides a complete notification system that can be\n * easily integrated into any layout header or navigation area.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n * @param props - Notifications component props\n * @returns React component\n *\n * @example\n * ```tsx\n * // Basic usage\n * <Notifications count={3} />\n *\n * // With full notification data\n * <Notifications\n * notifications={[\n * {\n * id: '1',\n * title: 'New message',\n * message: 'You have a new message from John',\n * type: 'info',\n * timestamp: new Date(),\n * }\n * ]}\n * onNotificationClick={handleNotificationClick}\n * />\n *\n * // Custom styling and behavior\n * <Notifications\n * count={notifications.filter(n => !n.read).length}\n * maxVisible={5}\n * onMarkAllRead={markAllAsRead}\n *\n * />\n * ```\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const Notifications: ({ notifications, count, loading, onNotificationClick, onDropdownOpen, className, maxVisible, alwaysShow, size, disabled, }","SettingsMenu":"/**\n * SettingsMenu with fixed hooks order and error protection\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare function SettingsMenu({ variant, }","ThemeToggle":"/**\n * ThemeToggle - Theme switching component\n *\n * Allows users to switch between available themes (light, dark, system, custom).\n * Integrates with the theme store for state management.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const ThemeToggle: ComponentType<ThemeToggleProps>;","FooterBranding":"/**\n * FooterBranding - Framework branding link (power move)\n *\n * Shows AMBROISE-PARK for framework's own site (donotdev.com),\n * otherwise shows DoNotDev for consumer apps.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const FooterBranding: React.ComponentType<FooterBrandingProps>;","FooterCopyright":"/**\n * FooterCopyright - Copyright notice component\n *\n * Uses useTranslation internally, so it re-renders when language changes.\n * If appName not provided, reads from app config automatically.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const FooterCopyright: React.ComponentType<FooterCopyrightProps>;","FooterLegalLinks":"/**\n * FooterLegalLinks - Legal links component\n *\n * Renders legal links from app.footer.legalLinks config.\n * If app not provided, reads from app config automatically.\n * Used in footer and sidebar when footer zone is hidden.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const FooterLegalLinks: React.ComponentType<FooterLegalLinksProps>;","EntityDisplayRenderer":"/**\n * EntityDisplayRenderer - Automatically fetches and displays entity data\n *\n * Features:\n * - Reactive data fetching using useCrudDoc (stays in sync with edits)\n * - Loading state handling\n * - Error handling\n * - Automatic field rendering (respects visibility rules)\n * - Full i18n support\n * - No form/submit buttons - pure read-only display\n *\n * @example\n * ```tsx\n * <EntityDisplayRenderer entity={carEntity} id={carId} />\n * ```\n */\nexport declare function EntityDisplayRenderer<T extends EntityRecord = EntityRecord>({ entity, id, t, className, loadingMessage, notFoundMessage, viewerRole: viewerRoleProp, excludeFields, preview, }","EntityList":"/**\n * Entity List Component - Table view for admin/internal operations\n *\n * Features:\n * - Filters section (collapsible) with actions and filter inputs\n * - Results section (collapsible) with DataTable\n * - Excel-like table display with formatted values\n * - Edit and Delete actions (admin only)\n * - Auto-routing when handlers not provided\n */\nexport declare function EntityList({ entity, basePath, onClick, hideFilters, pagination, pageSize: pageSizeProp, queryOptions, exportable, preview, tone, }","EntityCardList":"/**\n * Entity Card List Component - Card grid view for public/user-facing browsing\n *\n * Features:\n * - Responsive card grid layout\n * - Image + key fields display\n * - Click card to navigate to detail\n * - Simple formatted text display (labels + values)\n * - Empty state handling\n * - Auto-routing when handler not provided\n */\nexport declare function EntityCardList({ entity, basePath, onClick, cols, staleTime, // 30 minutes default cache\nqueryOptions, filter, hideFilters, resultLabel, tone, renderCardOverlay, clientSort, collapsible, defaultOpen, preview, }","EntityFormRenderer":"/**\n * EntityFormRenderer - public API.\n * Applies instanceKey as React key on the inner component for clean state isolation\n * when navigating between entities on the same route (e.g. /cars/:id).\n */\nexport declare function EntityFormRenderer<T extends EntityRecord = EntityRecord>(props: EntityFormRendererProps<T>): import(\"react\").JSX.Element;","EntityRecommendations":"/**\n * Displays a grid of related entity cards.\n * Uses useCrudCardList (listCard schema) so cards render identically to EntityCardList.\n *\n * **Title resolution (i18n):**\n * 1. `title` prop — if provided, used as-is (pre-translated string)\n * 2. `recommendations.title` in entity namespace — consumer override\n * 3. `recommendations.title` in `crud` namespace — framework default (\"You may also like\")\n *\n * Consumers override by adding to their entity translation file:\n * ```json\n * { \"recommendations\": { \"title\": \"Similar Apartments\" } }\n * ```\n *\n * @example\n * ```tsx\n * // Auto-translated title (entity namespace → crud fallback)\n * <EntityRecommendations\n * entity={apartmentEntity}\n * queryOptions={{\n * where: [\n * { field: 'district_code', operator: 'eq', value: current.district_code },\n * { field: 'id', operator: 'neq', value: current.id },\n * ],\n * limit: 3,\n * }}\n * />\n *\n * // Explicit title override\n * <EntityRecommendations\n * entity={apartmentEntity}\n * title=\"Nearby Apartments\"\n * queryOptions={...}\n * />\n * ```\n *\n * @version 0.1.0\n * @since 0.0.15\n * @author AMBROISE PARK Consulting\n */\nexport declare function EntityRecommendations({ entity, queryOptions, title, basePath, cols, tone, className, }","EntityWorkflow":"/**\n * EntityWorkflow — renders a multi-step entity workflow.\n *\n * Default mode: auto-renders Stepper + form + navigation buttons.\n * Custom mode: pass a render prop as children for full control.\n */\nexport declare function EntityWorkflow({ workflow: config, onComplete, onStepChange, defaultValues, viewerRole, children, className, }","EntityWorkflowProps":"/** Props for EntityWorkflow */\nexport interface EntityWorkflowProps {\n /** Workflow configuration from defineWorkflow() */\n workflow: WorkflowConfig;\n /** Callback when all steps are completed */\n onComplete?: (allData: Record<string, unknown>) => void | Promise<void>;\n /** Callback when step changes */\n onStepChange?: (fromIndex: number, toIndex: number) => void;\n /** Default values to pre-fill across steps */\n defaultValues?: Record<string, unknown>;\n /** Viewer role for form rendering */\n viewerRole?: string;\n /** Render prop for custom layout (receives workflow state) */\n children?: (wf: EntityWorkflowReturn) => ReactNode;\n /** Additional CSS class */\n className?: string;\n}","Form":"/**\n * Form provider component\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getErrors, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, resetDefaultValues, handleSubmit, unregister, control, register, setFocus, subscribe, }","FormItem":"/**\n * Form item component\n *\n * Container component for form fields with spacing and layout.\n *\n * @param {HTMLAttributes<HTMLDivElement>} props - Component props\n * @returns {JSX.Element} Form item component\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const FormItem: ({ className, ...props }","FormLabel":"/**\n * Form label component\n *\n * Renders a label for a form field with error state styling.\n *\n * @param {ComponentProps<typeof Label>} props - Component props\n * @returns {JSX.Element | null} Form label component\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const FormLabel: ({ className, ...props }","FormControl":"/**\n * Form control component\n *\n * Wraps form input components with proper ARIA attributes.\n *\n * @param {ComponentProps<typeof Slot>} props - Component props\n * @returns {JSX.Element | null} Form control component\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const FormControl: ({ ...props }","FormDescription":"/**\n * Form description component\n *\n * Renders descriptive text for a form field.\n *\n * @param {HTMLAttributes<HTMLParagraphElement>} props - Component props\n * @returns {JSX.Element | null} Form description component\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const FormDescription: ({ className, ...props }","FormMessage":"/**\n * Form message component\n *\n * Renders error or custom messages for a form field.\n *\n * @param {HTMLAttributes<HTMLParagraphElement>} props - Component props\n * @returns {JSX.Element | null} Form message component\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const FormMessage: ({ className, children, ...props }","FormField":"/**\n * Form field component\n *\n * Wraps a form field with context and controller for react-hook-form integration.\n *\n * @param {ControllerProps<TFieldValues, TName>} props - Controller props\n * @returns {JSX.Element} Form field component\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }","useFormField":"/**\n * Hook for accessing form field context\n *\n * Returns form field state and IDs for form components.\n *\n * @returns {Object | null} Form field context with IDs and state\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const useFormField: () => {\n invalid: boolean;\n isDirty: boolean;\n isTouched: boolean;\n isValidating: boolean;\n error?: import(\"react-hook-form\").FieldError | undefined;\n id: string;\n name: string;\n formItemId: string;\n formDescriptionId: string;\n formMessageId: string;\n}","TechLogo":"/**\n * Tech logo entry with SVG data URI and metadata\n */\nexport type TechLogo = {\n /** Data URI for the SVG */\n svg: string;\n /** Brand color (hex) */\n color: string;\n /** Display name */\n name: string;\n}","TechKey":"/**\n * Available tech logo keys\n */\nexport type TechKey = 'bun' | 'typescript' | 'react' | 'vite' | 'nextjs' | 'nodejs' | 'firebase' | 'supabase' | 'vercel' | 'stripe' | 'valibot';","techLogos":"/**\n * Tech logos collection with data URIs and brand colors\n *\n * @example\n * ```tsx\n * import { techLogos } from '@donotdev/ui';\n *\n * <img src={techLogos.react.svg} alt={techLogos.react.name} />\n * ```\n */\nexport declare const techLogos: Record<TechKey, TechLogo>;","AuthReturnTo":"/**\n * AuthReturnTo - Restores navigation after OAuth redirect.\n *\n * OAuth always lands on `/` (origin). This component watches for sign-in,\n * reads the saved returnTo path, and navigates back. Runs once per sign-in.\n *\n * Also shows a warning toast when the user was redirected by the auth guard\n * (flag set by useNavigate, consumed here on mount of the landing page).\n *\n * @component\n */\nexport declare function AuthReturnTo(): null;","GoToWrapper":"/**\n * GoToWrapper - Keyboard listener + lazy dialog\n *\n * Performance:\n * - Zero code loaded until dialog opens\n * - Cmd+K listener always active\n * - Dialog lazy-loaded on first open\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\ndeclare const GoToWrapper: () => import(\"react\").JSX.Element;","GoToInput":"declare const GoToInput: () => import(\"react\").JSX.Element;","NotFoundPage":"function NotFoundPage(): import(\"react\").JSX.Element;","useNavigate":"/**\n * Navigation hook. Auth is handled by AuthGuard (cold-load redirect).\n * Protected routes are hidden from unauthorized users via useAccessibleRoutes.\n */\nexport declare function useNavigate(): (to: string, options?: NavigateOptions) => void;","useBack":"export declare function useBack(): () => void;","useRefresh":"export declare function useRefresh(): () => void;","usePrefetch":"export declare function usePrefetch(): (to: string) => void;","useLocation":"export declare function useLocation(): {\n pathname: string;\n search: string | undefined;\n hash: string;\n state: null;\n}","useParams":"export declare function useParams(): Record<string, string | string[] | undefined>;","useRouteParam":"/**\n * Safely extract a route parameter as a string\n *\n * Handles the fact that useParams can return string | string[] | undefined.\n * For standard path parameters (not catch-all routes), this will always be a string.\n *\n * @param paramName - Name of the route parameter\n * @returns The parameter value as a string, or undefined if not present\n *\n * @example\n * ```tsx\n * // Route: /product/:id\n * const id = useRouteParam('id'); // string | undefined\n * if (!id) return <NotFound />;\n * ```\n */\nexport declare function useRouteParam(paramName: string): string | undefined;","useSearchParams":"/**\n * Get current URL search parameters (read-only).\n * Returns a ReadonlyURLSearchParams instance directly (NOT a tuple).\n *\n * To modify search params, use `useNavigate()` with a query string\n * or `useQueryParams()` for a key-value API with defaults.\n *\n * @returns ReadonlyURLSearchParams instance with `.get()`, `.has()`, `.getAll()`, etc.\n *\n * @example\n * ```tsx\n * const searchParams = useSearchParams();\n * const page = searchParams.get('page');\n * const sort = searchParams.get('sort');\n * ```\n */\nexport declare function useSearchParams(): ReturnType<typeof useNextSearchParams>;","useMatch":"export declare function useMatch(pattern: string): {\n params: Record<string, string>;\n pathname: string;\n pattern: string;\n}","useQueryParams":"/**\n * Platform-agnostic useQueryParams hook\n *\n * Provides easy access to query parameters with setter functionality\n *\n * @returns Object with query parameters and setter functions\n *\n * @example\n * ```tsx\n * const { query, setQuery, removeQuery } = useQueryParams();\n *\n * // Get a query parameter\n * const page = query.get('page');\n *\n * // Set a query parameter\n * setQuery('page', '2');\n *\n * // Remove a query parameter\n * removeQuery('page');\n * ```\n */\nexport declare function useQueryParams(): {\n query: import(\"next/navigation\").ReadonlyURLSearchParams;\n setQuery: (key: string, value: string) => void;\n removeQuery: (key: string) => void;\n clearQueries: () => void;\n}","useRedirectGuard":"/**\n * Hook that checks if redirect should happen before render\n *\n * Prevents content flash by determining redirect state synchronously.\n * Returns safe defaults on server (SSR-safe).\n *\n * @param options - Redirect guard configuration\n * @returns Redirect guard state\n */\nexport declare function useRedirectGuard(options?: RedirectGuardOptions): RedirectGuardResult;","NavigateOptions":"/**\n * Navigation options for useNavigate hook\n */\nexport interface NavigateOptions {\n /** Replace current history entry instead of pushing new one */\n replace?: boolean;\n /** Preserve scroll position (default: false, scrolls to top) */\n preserveScroll?: boolean;\n}","RedirectGuardOptions":"/** Configuration options for the redirect guard hook. */\nexport interface RedirectGuardOptions {\n /** Auth configuration for this route */\n auth?: PageAuth | false;\n /** Custom redirect target (overrides auth config defaults) */\n redirectTo?: string | null;\n /** Custom condition function to check if redirect should happen */\n condition?: (user: any, status: FeatureStatus) => boolean;\n}","RedirectGuardResult":"/** Return value of the useRedirectGuard hook. */\nexport interface RedirectGuardResult {\n /** Whether redirect should happen */\n shouldRedirect: boolean;\n /** Target path for redirect, or null if no redirect */\n redirectTo: string | null;\n /** Whether auth state is still being checked */\n isChecking: boolean;\n}","LinkProps":"/**\n * Link component props interface\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {\n path: string;\n replace?: boolean;\n prefetch?: boolean;\n children?: ReactNode;\n /** Icon component or string name */\n icon?: string | ReactNode;\n /** Place icon after content instead of before */\n iconEnd?: boolean;\n /** Label text (rendered as span if provided) */\n label?: string;\n 'aria-label'?: string;\n 'aria-describedby'?: string;\n}","Link":"/**\n * Link component\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const Link: ComponentType<LinkProps>;","AuthGuard":"/**\n * AuthGuard - cold-load redirect safety net\n *\n * For SPA navigation, auth is intercepted in useNavigate (before page mount).\n * This component handles the cold-load case: user pastes a protected URL directly.\n * It redirects to authRoute, saves returnTo, and AuthReturnTo handles the redirect back.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function AuthGuard({ auth, children, fallback: Fallback, }","useCanNavigate":"/**\n * Hook to check if current user can navigate to a route with given auth config\n * ONLY uses store - single source of truth!\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function useCanNavigate(auth: PageAuth | false): boolean;","useUserRole":"/**\n * Hook to get current user's role - directly from store\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function useUserRole(): typeof USER_ROLES.GUEST | typeof USER_ROLES.USER | typeof USER_ROLES.ADMIN;","useHasRole":"/**\n * Hook to check specific role - directly from store\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function useHasRole(role: typeof USER_ROLES.GUEST | typeof USER_ROLES.USER | typeof USER_ROLES.ADMIN): boolean;","useAuthState":"/**\n * Hook to get all auth state for debugging\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function useAuthState(): {\n authenticated: boolean;\n role: string | undefined;\n tier: string;\n loading: boolean;\n userId: string | undefined;\n}","withAuth":"/**\n * HOC to wrap components with auth protection\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function withAuth<P extends object>(Component: ComponentType<P>, auth: PageAuth | false): (props: P) => import(\"react\").JSX.Element;","createAuthConfig":"/**\n * Utility to create auth configs\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const createAuthConfig: {\n /** No authentication required */\n public: () => false;\n /** Basic authentication required */\n required: () => PageAuth;\n /** User role (any authenticated user) */\n user: () => PageAuth;\n /** Admin role (Firebase custom claim isAdmin: true) */\n admin: () => PageAuth;\n /** Tier-based authentication */\n tier: (tier: (typeof SUBSCRIPTION_TIERS)[keyof typeof SUBSCRIPTION_TIERS]) => PageAuth;\n /** Pro tier */\n pro: () => PageAuth;\n /** Premium tier */\n premium: () => PageAuth;\n /** Admin with pro tier requirement */\n adminPro: () => PageAuth;\n /** Custom validation */\n custom: (validate: (role: string, tier: string) => boolean) => PageAuth;\n}","AuthGuardFallback":"/**\n * AuthGuardFallback - Shows login options when users hit protected routes\n *\n * Instead of redirecting to a separate login page, this component shows\n * the authentication options directly on the protected route, providing\n * better UX and keeping users in context.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function AuthGuardFallback({ title, description, showBackButton, onBack, className, }","GoToProps":"/** Props for the GoTo command palette trigger. */\nexport interface GoToProps {\n /**\n * Display - controls button presentation\n * @default 'auto'\n */\n display?: (typeof DISPLAY)[keyof typeof DISPLAY];\n /** Additional CSS class */\n className?: string;\n /** Optional callback called after opening command dialog (e.g., to close parent dropdown) */\n onOpen?: () => void;\n}","GoTo":"/**\n * GoTo - Command palette trigger button\n *\n * Simple button: Search icon + \"Go to\" label + keyboard shortcut.\n * Opens command dialog on click.\n */\nexport declare const GoTo: ({ display, className, onOpen, }","DnDevNavigationMenuProps":"/** Props for the DnDevNavigationMenu component. */\nexport interface DnDevNavigationMenuProps {\n /** Routes to display (optional - auto-fetches if not provided) */\n routes?: NavigationItem[];\n /** Vertical orientation (for sidebars) - defaults to horizontal */\n vertical?: boolean;\n /** Display mode - COMPACT (icon-only), FULL (icon+label), AUTO (CSS-driven) */\n display?: (typeof DISPLAY)[keyof typeof DISPLAY];\n /** Enable overflow detection with \"More\" dropdown (for headers) */\n overflowDetection?: boolean;\n /** Whether to show icons */\n showIcons?: boolean;\n /** Additional CSS classes */\n className?: string;\n /** Inline styles */\n style?: React.CSSProperties;\n}","DnDevNavigationMenu":"/**\n * DnDevNavigationMenu - Universal navigation menu component\n *\n * Smart navigation menu with defaults:\n * - Auto-fetches routes if not provided (smart default, auth-reactive)\n * - Resolves icons (always shows icons with LinkIcon fallback)\n * - Injects routing-aware Link component\n * - 48px buttons/icons when vertical (sidebar standard)\n * - Optional overflow detection with \"More\" dropdown (for headers)\n *\n * Works for sidebars, headers, dropdowns, anywhere navigation is needed.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n *\n * @example\n * ```tsx\n * // Sidebar - auto-fetches routes (smart default, CSS-driven collapse)\n * <DnDevNavigationMenu vertical display={DISPLAY.AUTO} />\n *\n * // Header with overflow detection\n * <DnDevNavigationMenu overflowDetection showIcons={false} />\n *\n * // Custom routes\n * <DnDevNavigationMenu routes={customRoutes} vertical />\n * ```\n */\nexport declare const DnDevNavigationMenu: ComponentType<DnDevNavigationMenuProps>;","NavigationItem":"/**\n * Enhanced navigation item interface for UI components\n */\nexport interface NavigationItem extends NavigationRoute {\n /** Whether this item is currently active based on current route */\n isActive: boolean;\n /** Whether this item has child routes */\n hasChildren: boolean;\n /** Nested child navigation items */\n children?: NavigationItem[];\n}","useNavigationItems":"/**\n * Smart navigation hook with auth filtering\n *\n * Use this for UI menus, sidebars, and navigation components that should\n * only show routes the user can access.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n * @returns Array of navigation items filtered by auth state\n *\n * @example\n * ```tsx\n * function SidebarMenu() {\n * const menuItems = useNavigationItems();\n * return <nav>{menuItems.map(item => <MenuItem key={item.path} item={item} />)}</nav>;\n * }\n * ```\n */\nexport declare function useNavigationItems(): NavigationItem[];","useNavigationRoute":"/**\n * Resolves a single navigation item from the store by path.\n *\n * Returns `undefined` if the path is not registered or the user lacks access.\n * Use this to compose a standalone Button-style nav link without reaching for\n * a full NavigationMenu.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n *\n * @example\n * ```tsx\n * const route = useNavigationRoute('/pricing');\n * if (!route) return null;\n * return (\n * <Button\n * variant=\"ghost\"\n * display={DISPLAY.AUTO}\n * icon={<Icon icon={route.icon} fallback={LinkIcon} />}\n * render={({ children, ...props }) => (\n * <Link path={route.path} {...props}>{children}</Link>\n * )}\n * >\n * {route.label}\n * </Button>\n * );\n * ```\n */\nexport declare function useNavigationRoute(path: string): NavigationItem | undefined;","useGoTo":"/**\n * Hook for navigation with favorites and recents\n * Command component handles search/filtering\n */\nexport declare const useGoTo: () => {\n navigationItems: import(\"./useNavigation\").NavigationItem[];\n favoriteItems: import(\"./useNavigation\").NavigationItem[];\n recentItems: import(\"./useNavigation\").NavigationItem[];\n toggleFavorite: (path: string) => void;\n isFavorite: (path: string) => boolean;\n navigateToItem: (path: string) => void;\n}","layoutClasses":"/**\n * @fileoverview Layout constants\n * @description Layout component class names and CSS selectors\n * Used for IDE autocomplete and type safety\n *\n * Note: CSS uses semantic HTML selectors with role attributes for scoping:\n * - `header[role='banner']` - not `.header` or `.dndev-header`\n * - `main[role='main']` - not `.main` or `.dndev-main`\n * - `footer[role='contentinfo']` - not `.footer` or `.dndev-footer`\n * - `aside[role='navigation'].sidebar` - uses `.sidebar` class but scoped by role\n *\n * Class names are organizational only. CSS targets by element+role for semantic scoping.\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const layoutClasses: {\n readonly layoutContainer: \"dndev-layout\";\n readonly sidebar: \"sidebar\";\n readonly sidebarTop: \"sidebar-top\";\n readonly sidebarContent: \"sidebar-content\";\n readonly sidebarBottom: \"sidebar-bottom\";\n readonly sidebarResizeHandle: \"dndev-sidebar-resize-handle\";\n readonly header: \"header\";\n readonly main: \"main\";\n readonly footer: \"footer\";\n readonly container: \"dndev-container\";\n readonly pageContainer: \"dndev-container\";\n readonly breadcrumbsContainer: \"breadcrumbs-container\";\n}","layoutUtilities":"/**\n * Layout utility class names.\n * These are direct CSS class names that map to CSS variables (e.g., h-header → var(--header-height)).\n *\n * Framework components use these CSS classes directly.\n * These are exported for:\n * - Direct use in consumer apps\n * - IDE autocomplete\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const layoutUtilities: {\n readonly zHeader: \"dndev-z-header\";\n readonly zSidebar: \"dndev-z-sidebar\";\n readonly zOverlay: \"dndev-z-overlay\";\n readonly zModal: \"dndev-z-modal\";\n readonly zTooltip: \"dndev-z-tooltip\";\n readonly zToast: \"dndev-z-toast\";\n}","allLayoutClasses":"/**\n * Combined export of all layout classes and utilities\n * For consumer apps\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const allLayoutClasses: {\n readonly zHeader: \"dndev-z-header\";\n readonly zSidebar: \"dndev-z-sidebar\";\n readonly zOverlay: \"dndev-z-overlay\";\n readonly zModal: \"dndev-z-modal\";\n readonly zTooltip: \"dndev-z-tooltip\";\n readonly zToast: \"dndev-z-toast\";\n readonly layoutContainer: \"dndev-layout\";\n readonly sidebar: \"sidebar\";\n readonly sidebarTop: \"sidebar-top\";\n readonly sidebarContent: \"sidebar-content\";\n readonly sidebarBottom: \"sidebar-bottom\";\n readonly sidebarResizeHandle: \"dndev-sidebar-resize-handle\";\n readonly header: \"header\";\n readonly main: \"main\";\n readonly footer: \"footer\";\n readonly container: \"dndev-container\";\n readonly pageContainer: \"dndev-container\";\n readonly breadcrumbsContainer: \"breadcrumbs-container\";\n}","layoutVariables":"/**\n * Layout CSS custom property names for programmatic access\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const layoutVariables: {\n readonly headerHeight: \"--header-height\";\n readonly headerPadding: \"--header-padding\";\n readonly headerIconSize: \"--header-icon-size\";\n readonly headerLogoMaxHeight: \"--header-logo-max-height\";\n readonly sidebarWidth: \"--sidebar-width\";\n readonly sidebarPadding: \"--sidebar-padding\";\n readonly mainPadding: \"--main-padding\";\n readonly mainMaxWidth: \"--main-max-width\";\n readonly contentWidth: \"--content-width\";\n readonly contentPadding: \"--content-padding\";\n readonly footerHeight: \"--footer-height\";\n readonly footerPadding: \"--footer-padding\";\n readonly zHeader: \"--z-header\";\n readonly zSidebar: \"--z-sidebar\";\n readonly zFooter: \"--z-footer\";\n readonly zOverlay: \"--z-overlay\";\n readonly zModal: \"--z-modal\";\n readonly zTooltip: \"--z-tooltip\";\n readonly zToast: \"--z-toast\";\n}","cssVariables":"/**\n * CSS variable exports\n * Exports CSS variable names for use in TypeScript\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare const cssVariables: {\n readonly headerHeight: \"--header-height\";\n readonly headerPadding: \"--header-padding\";\n readonly logoSize: \"--logo-size\";\n readonly sidebarWidth: \"--sidebar-width\";\n readonly sidebarPadding: \"--sidebar-padding\";\n readonly footerHeight: \"--footer-height\";\n readonly footerPadding: \"--footer-padding\";\n readonly layoutGap: \"--layout-gap\";\n readonly sectionGap: \"--gap-lg\";\n readonly contentGap: \"--content-gap\";\n readonly zHeader: \"--z-header\";\n readonly zSidebar: \"--z-sidebar\";\n readonly zFooter: \"--z-footer\";\n readonly zModal: \"--z-modal\";\n readonly zTooltip: \"--z-tooltip\";\n}","CssVariable":"/**\n * CSS variable type\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport type CssVariable = keyof typeof cssVariables;","AssetFormats":"/**\n * Asset formats interface\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport interface AssetFormats {\n svg?: string;\n png?: string;\n webp?: string;\n avif?: string;\n}","FaviconSet":"/**\n * Favicon set interface\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport interface FaviconSet {\n svg?: string;\n ico?: string;\n png16?: string;\n png32?: string;\n apple180?: string;\n android192?: string;\n android512?: string;\n}","AssetResolver":"/**\n * Modern asset resolution with format preference and browser capability detection\n * Follows Next.js Image optimization patterns\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare class AssetResolver {\n private static cache;\n /**\n * Check if browser supports modern image formats\n */\n static getBrowserSupport(): BrowserSupport;\n /**\n * Recursively extract all string values from nested object/array structure\n */\n private static extractStringValues;\n /**\n * Check if an asset exists (SSR-safe)\n * Checks build-time injected manifest structure (nested objects, arrays)\n */\n static assetExists(path: string): boolean;\n /**\n * Get asset manifest if available\n */\n static getAssetManifest(): AssetManifest | null;\n /**\n * Get logo SVG content for inline rendering\n * Works in both CSR and SSR (globalThis available in both contexts)\n * @returns {string | null} SVG content or null if not available\n */\n static getLogoSvgContent(): string | null;\n /**\n * Resolve logo path\n * Rule: Use manifest optimal if available, otherwise /logo.svg (user must provide)\n */\n static resolveLogo(customPath?: string): string;\n /**\n * Direct asset existence check for development\n * More reliable than the build-time detection\n *\n * **Limitation:** This is a synchronous heuristic that always returns true\n * when `new Image()` doesn't throw. It does NOT wait for the image to load,\n * so it cannot detect 404s. A proper async check would require returning a\n * Promise<boolean> via Image.onload/onerror, but that would change the\n * synchronous contract used by resolveLogo/resolveFaviconSet.\n */\n private static directAssetCheck;\n /**\n * Resolve complete favicon set with modern standards\n * Follows PWA manifest and web.dev best practices\n */\n static resolveFaviconSet(): FaviconSet;\n /**\n * Resolve optimal favicon for basic usage\n */\n static resolveFavicon(): string;\n /**\n * Clear asset resolution cache\n * Useful when assets change during development\n */\n static clearCache(): void;\n /**\n * Get debug information about detected assets\n */\n static getDebugInfo(): {\n browserSupport: BrowserSupport;\n detectedAssets: Record<string, any> | null | undefined;\n assetManifest: AssetManifest | null;\n cache: {\n [k: string]: any;\n };\n };\n}","resolveLogo":"/**\n * Utility function for logo resolution\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function resolveLogo(customPath?: string): string;","resolveFaviconSet":"/**\n * Utility function for favicon resolution\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n */\nexport declare function resolveFaviconSet(): FaviconSet;","useAuthSafe":"/**\n * Safe wrapper for useAuth hook.\n *\n * - If @donotdev/auth installed → uses real hook (handles Firebase/consent internally)\n * - If not installed → returns degraded API values\n *\n * @param key - Property name to access from auth API\n * @returns The auth API value, or degraded value if auth unavailable\n *\n * @example\n * ```typescript\n * const user = useAuthSafe('user');\n * const signIn = useAuthSafe('signInWithEmail');\n * const isAvailable = useAuthSafe('isAvailable');\n * ```\n */\nexport declare function useAuthSafe<K extends keyof AuthAPI>(key: K): AuthAPI[K];","isAuthAvailable":"/**\n * Check if auth module is available (for conditional UI rendering)\n */\nexport declare const isAuthAvailable: boolean;","PasswordResetCallback":"/**\n * PasswordResetCallback - auto-overlay for password reset flow.\n * Renders nothing if @donotdev/auth not installed or no reset in progress.\n */\nexport declare const PasswordResetCallback: typeof authModule.PasswordResetCallback;","isFormStoreAvailable":"/**\n * Check if FormStore is available\n */\nexport declare const isFormStoreAvailable: boolean;","useFormStoreSafe":"/**\n * Safe access to FormStore.\n * Returns degraded state selector result if CRUD package not installed.\n *\n * @param selector - Zustand selector function\n * @returns Selected state, or degraded state selection if CRUD not available\n *\n * @example\n * ```tsx\n * const hasDirtyForms = useFormStoreSafe((state) => state.hasDirtyForms());\n * // Always safe to call - returns false when degraded\n * ```\n */\nexport declare function useFormStoreSafe<T>(selector: (state: FormStoreLike) => T): T;","AuthVisibilityState":"/** Return value of the useAuthVisibility hook. */\nexport interface AuthVisibilityState {\n /**\n * True if auth UI should be completely hidden (not initialized or not available)\n */\n shouldHide: boolean;\n /**\n * True if auth is in loading state (but UI should still be visible with spinner)\n */\n isLoading: boolean;\n /**\n * True if auth is initialized and available (ready to show UI)\n */\n isReady: boolean;\n /**\n * True if user is authenticated\n */\n isAuthenticated: boolean;\n}","useAuthVisibility":"/**\n * Hook to determine auth UI visibility and loading states\n *\n * **Visibility Rules:**\n * - Hide if `status !== 'ready' || !isAvailable` (not ready or not installed)\n * - Show with loading if `status === 'initializing'` during operations\n * - Show normal UI when `status === 'ready' && isAvailable`\n *\n * @returns AuthVisibilityState with visibility flags\n *\n * @example\n * ```typescript\n * const { shouldHide, isLoading, isReady, isAuthenticated } = useAuthVisibility();\n *\n * if (shouldHide) return null;\n *\n * if (isLoading) {\n * return <Button disabled><Spinner /></Button>;\n * }\n *\n * if (isAuthenticated) {\n * return <UserMenu />;\n * }\n *\n * return <SignInButton />;\n * ```\n */\nexport declare function useAuthVisibility(): AuthVisibilityState;","useStripeBillingSafe":"/**\n * Safe wrapper for useStripeBilling hook.\n *\n * - If @donotdev/billing installed → uses real hook\n * - If not installed → returns degraded API values\n *\n * **IMPORTANT:** For `isAvailable` to return `true`, you must pass `authState`.\n * Without auth state, billing will return `isAvailable: false` until auth status is `ready`.\n *\n * @param key - Property name to access from billing API\n * @param authState - Auth state from useAuthSafe (user, status)\n * @returns The billing API value, or degraded value if billing unavailable\n *\n * @example\n * ```typescript\n * // Get auth state first\n * const user = useAuthSafe('user');\n * const status = useAuthSafe('status'); // 'initializing' | 'ready' | 'degraded' | 'error'\n * const authState = { user, status };\n *\n * // Pass to billing\n * const checkout = useStripeBillingSafe('checkout', authState);\n * const billingStatus = useStripeBillingSafe('status', authState);\n * const isAvailable = useStripeBillingSafe('isAvailable', authState);\n * ```\n */\nexport declare function useStripeBillingSafe<K extends keyof BillingAPI>(key: K, authState?: BillingAuthState): BillingAPI[K];","isBillingAvailable":"/**\n * Check if billing module is available (for conditional UI rendering)\n */\nexport declare const isBillingAvailable: boolean;","BillingVisibilityState":"/** Return value of the useBillingVisibility hook. */\nexport interface BillingVisibilityState {\n /**\n * True if billing UI should be completely hidden (not available)\n */\n shouldHide: boolean;\n /**\n * True if billing is in loading state (but UI should still be visible with spinner)\n */\n isLoading: boolean;\n /**\n * True if billing is available (ready to show UI)\n */\n isReady: boolean;\n}","useBillingVisibility":"/**\n * Hook to determine billing UI visibility and loading states\n *\n * **Visibility Rules:**\n * - Hide if `!isAvailable` (not installed/configured)\n * - Show with loading if `status === 'initializing'` during operations\n * - Show normal UI when `isAvailable && status === 'ready'`\n *\n * @returns BillingVisibilityState with visibility flags\n *\n * @example\n * ```typescript\n * const { shouldHide, isLoading, isReady } = useBillingVisibility();\n *\n * if (shouldHide) {\n * return <FeatureDisabled featureName=\"Billing\" />;\n * }\n *\n * if (isLoading) {\n * return <Button disabled><Spinner /></Button>;\n * }\n *\n * return <BillingForm />;\n * ```\n */\nexport declare function useBillingVisibility(): BillingVisibilityState;","useCrudSafe":"/**\n * Safe wrapper for useCrud hook.\n *\n * - If @donotdev/crud installed → uses real hook (handles Firebase/consent internally)\n * - If not installed → returns degraded API values\n *\n * @param entityOrCollection - Entity definition or collection name\n * @param options - Options including backend type and schema\n * @returns CRUD operations and state, or degraded API if crud unavailable\n *\n * @example\n * ```typescript\n * // With entity\n * const { add, update } = useCrudSafe(carEntity);\n *\n * // With collection string\n * const { get, set } = useCrudSafe('users', { schema: UserSchema });\n * ```\n */\nexport declare function useCrudSafe<T = unknown>(entityOrCollection: Entity | string, options?: UseCrudSafeOptions<T>): CrudAPI<T>;","isCrudAvailable":"/**\n * Check if CRUD module is available (for conditional UI rendering)\n */\nexport declare const isCrudAvailable: boolean;","useOAuthSafe":"/**\n * Safe wrapper for useOAuth hook.\n *\n * - If @donotdev/oauth installed → uses real hook (handles credentials/consent internally)\n * - If not installed → returns degraded API values\n *\n * @param key - Property name to access from OAuth API\n * @returns The OAuth API value, or degraded value if OAuth unavailable\n *\n * @example\n * ```typescript\n * const connect = useOAuthSafe('connect');\n * const loading = useOAuthSafe('loading');\n * const isAvailable = useOAuthSafe('isAvailable');\n * ```\n */\nexport declare function useOAuthSafe<K extends keyof OAuthAPI>(key: K): OAuthAPI[K];","isOAuthAvailable":"/**\n * Check if OAuth module is available (for conditional UI rendering)\n */\nexport declare const isOAuthAvailable: boolean;","tList":"/**\n * Renders a translated array as a List with optional icon\n *\n * Opinionated helper that reduces boilerplate for the common pattern:\n * `<List icon={<CheckCircle size={16} />} items={translateArray(t, key, count)} />`\n *\n * @param t - Translation function from useTranslation\n * @param key - Translation key prefix for the array\n * @param count - Maximum number of items to fetch\n * @param icon - Lucide icon, null for no icon, or undefined for default (CheckCircle)\n * @param size - Optional icon size (default: 16)\n * @returns ReactNode containing the List component\n *\n * @example\n * ```tsx\n * // With default icon (CheckCircle)\n * <Card content={tList(t, 'features.items', 4)} />\n *\n * // With custom icon\n * <Card content={tList(t, 'features.items', 4, Star)} />\n *\n * // Without icon (for emoji-prefixed labels like \"🚀 Kick-off\")\n * <Card content={tList(t, 'features.items', 4, null)} />\n * ```\n */\nexport declare function tList(t: TFunction, key: string, count: number, icon?: LucideIcon | null, size?: number): ReactNode;","sanitizeSvg":"/**\n * Strips known XSS vectors from an SVG string.\n *\n * @param svg - Raw SVG string (build-time or static source)\n * @returns Sanitized SVG string safe for dangerouslySetInnerHTML\n *\n * @security This function uses regex-based sanitization suitable ONLY for build-time trusted SVGs.\n * For user-uploaded or untrusted SVG content, use a dedicated sanitization library like DOMPurify.\n * Regex-based sanitization is bypassable via mutation XSS, SVG event handlers, or entity encoding.\n *\n * @example\n * ```tsx\n * <div dangerouslySetInnerHTML={{ __html: sanitizeSvg(svgContent) }} />\n * ```\n */\nexport declare function sanitizeSvg(svg: string): string;","SeoProps":"/**\n * Dynamic SEO props\n * Extends SeoMeta with runtime-specific fields\n */\nexport interface SeoProps extends SeoMeta {\n /**\n * Canonical URL override\n * @description If not set, uses current URL\n */\n canonicalUrl?: string;\n /**\n * Article publish date (ISO 8601)\n * @description For article pages, sets article:published_time\n */\n publishDate?: string;\n /**\n * Article modified date (ISO 8601)\n * @description For article pages, sets article:modified_time\n */\n modifiedDate?: string;\n}","Seo":"/**\n * Dynamic SEO component\n *\n * @description Sets SEO metadata at runtime. Render after data is loaded.\n * Overrides any static PageMeta SEO settings.\n * Works in SSR/prerender - meta tags will be in initial HTML.\n *\n * @example Static title override\n * ```tsx\n * <Seo fullTitle=\"About Us | MyApp\" />\n * ```\n *\n * @example Dynamic product page\n * ```tsx\n * const { data: product } = useProduct(id);\n * if (!product) return <Loading />;\n *\n * return (\n * <>\n * <Seo\n * title={product.name}\n * description={product.description}\n * image={product.image}\n * type=\"product\"\n * />\n * <ProductDetails product={product} />\n * </>\n * );\n * ```\n *\n * @example Article with dates\n * ```tsx\n * <Seo\n * title={article.title}\n * description={article.excerpt}\n * type=\"article\"\n * publishDate={article.createdAt}\n * modifiedDate={article.updatedAt}\n * />\n * ```\n */\nexport declare function Seo({ title, fullTitle, description, image, type, keywords, noindex, canonicalUrl, publishDate, modifiedDate, }","useSeo":"/**\n * Hook version for those who prefer hooks\n * Returns the Seo component with props bound\n *\n * @example\n * ```tsx\n * const SeoTags = useSeo({\n * title: apartment.reference,\n * description: apartment.description,\n * });\n *\n * return (\n * <>\n * <SeoTags />\n * <Content />\n * </>\n * );\n * ```\n */\nexport declare function useSeo(props: SeoProps | null): () => ReactElement | null;","ViteAppProviders":"/**\n * ViteAppProviders - Vite platform-specific app providers\n *\n * Clean provider hierarchy with configuration via context (no prop drilling).\n * Uses React Router v7 data router pattern (RouterProvider + createBrowserRouter).\n *\n * Provider hierarchy (outside router):\n * 1. AppConfigProvider (configuration context)\n * 2. SentryInitializer (error monitoring)\n * 3. ViteStoresInitializer (store setup)\n * 4. HelmetProvider (head management)\n * 5. FaviconHead (favicon configuration)\n * 6. NavigationProvider (RouterProvider with auto-abort)\n *\n * Provider hierarchy (inside router via RootLayout):\n * 7. QueryProviders (React Query)\n * 8. UIProviders (design system)\n * 9. AutoMetaTags (SEO)\n * 10. FrameworkReadySignal (framework initialization)\n * 11. Layout (application layout)\n * 12. ConsentBanner (cookie consent)\n * 13. PWAUpdateNotification (PWA updates)\n *\n * @version 0.1.0\n * @since 0.0.1\n * @author AMBROISE PARK Consulting\n *\n * @example\n * ```tsx\n * <ViteAppProviders\n * config={{ app: { name: 'My App' } }}\n * />\n * ```\n *\n * Note: HomePage.tsx in src/pages/ is automatically used for the root route \"/\"\n */\nexport declare function ViteAppProviders(props: AppProvidersProps): import(\"react\").JSX.Element;","NextJsAppProviders":"export declare function NextJsAppProviders(props: NextJsAppProvidersProps): import(\"react\").JSX.Element;","FontPreloadLinks":"/**\n * Server component: renders preload links for fonts listed in public/dndev-font-preloads.json.\n * No-op if manifest is missing or empty. Use in root layout.tsx for SSR preload in initial HTML.\n */\nexport declare function FontPreloadLinks(): Promise<ReactNode>;"}
package/guidelines/SEO.md CHANGED
@@ -112,6 +112,18 @@ export const meta: PageMeta = {
112
112
 
113
113
  ---
114
114
 
115
+ ## Link-Preview Image
116
+
117
+ The build generates `public/og-image.png` (1200x630, logo centered) from `public/logo.svg`, next to the favicon and PWA icons. Vite and Next.js both default `og:image` to it, as an absolute URL when `APP_URL` is set.
118
+
119
+ - **Replace it:** put your own `public/og-image.png`; an existing file is never overwritten.
120
+ - **Per page:** `seo.image` in `PageMeta`, or `meta.image` in the namespace's translations.
121
+ - **Dynamic pages:** `<Seo image={product.imageUrl} />`.
122
+
123
+ Use JPG or PNG: link-preview crawlers do not reliably render SVG.
124
+
125
+ ---
126
+
115
127
  ## All SEO Options
116
128
 
117
129
  ```tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@donotdev/ui",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -58,11 +58,11 @@
58
58
  },
59
59
  "peerDependencies": {
60
60
  "@donotdev/ai": "^0.2.0",
61
- "@donotdev/auth": "^0.2.1",
62
- "@donotdev/billing": "^0.2.0",
63
- "@donotdev/components": "^0.2.1",
64
- "@donotdev/core": "^0.2.1",
65
- "@donotdev/crud": "^0.2.0",
61
+ "@donotdev/auth": "^0.2.2",
62
+ "@donotdev/billing": "^0.2.2",
63
+ "@donotdev/components": "^0.2.2",
64
+ "@donotdev/core": "^0.2.2",
65
+ "@donotdev/crud": "^0.2.2",
66
66
  "@donotdev/oauth": "^0.2.0",
67
67
  "@hookform/resolvers": "^5.9.2",
68
68
  "lucide-react": "^0.575.0",