"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../index-DEZRGktf.js"),n=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const a=()=>e.jsxs(e.Fragment,{children:[e.jsx(s.HeroCard,{title:"SidebarMenu",description:`A sidebar component with built-in menu navigation, supporting icons,
          paths, and dropdown items.`,icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 bg-linear-to-br from-yellow-500 to-amber-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(n.LayoutList,{className:"w-8 h-8 sm:w-10 sm:h-10 md:w-12 md:h-12 text-white filter drop-shadow-lg"})})}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx("div",{className:"space-y-4",children:e.jsxs(s.CardContainer,{className:"p-4",children:[e.jsx(s.Typography,{tag:"h5",className:"mb-3",children:"Basic Sidebar Menu"}),e.jsx(s.Typography,{tag:"p",className:"mb-4 text-sm text-gray-600",children:"Note: SidebarMenu is typically used within a Drawer component. This example shows the structure."}),e.jsx(s.Typography,{tag:"p",className:"text-sm",children:"The SidebarMenu component provides a navigation menu with icons and links, perfect for mobile navigation drawers."})]})})})})}),e.jsx(s.PropPlayground,{componentName:"SidebarMenu",title:"SidebarMenu Playground",defaultValues:{title:"Navigation",position:"left"},excludeProps:["menuItems","onClose","actionContent","logo","className"],children:t=>e.jsx(s.SidebarMenu,{...t,menuItems:[{name:"Home",href:"#"},{name:"Settings",href:"#"},{name:"Profile",href:"#"}],onClose:()=>null})}),e.jsx(s.AutoPropsTable,{componentName:"SidebarMenu"}),e.jsx(s.CardContainer,{className:"overflow-hidden",children:e.jsx(s.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(s.CodeBlock,{language:"tsx",code:`import { SidebarMenu, LucideIcons } from '@e-burgos/tucu-ui';

const menuItems = [
  {
    name: 'Home',
    icon: <LucideIcons.Home className="w-5 h-5" />,
    path: '/home',
  },
  {
    name: 'Settings',
    icon: <LucideIcons.Settings className="w-5 h-5" />,
    path: '/settings',
  },
];

// Basic usage (typically within Drawer)
<SidebarMenu
  menuItems={menuItems}
  onClose={() => setIsOpen(false)}
/>

// With title
<SidebarMenu
  menuItems={menuItems}
  title="Navigation"
  onClose={() => setIsOpen(false)}
/>

// With logo
<SidebarMenu
  menuItems={menuItems}
  logo={{ name: 'MyApp' }}
  onClose={() => setIsOpen(false)}
/>

// With dropdown items
const menuItemsWithDropdown = [
  {
    name: 'Products',
    path: '/products',
    dropdownItems: [
      { name: 'All Products', path: '/products/all' },
      { name: 'Featured', path: '/products/featured' },
    ],
  },
];`})})})})]});exports.default=a;
