"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../index-DEZRGktf.js"),t=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=()=>{const s=[{src:"https://images.unsplash.com/photo-1682687220742-aba13b6e50ba?w=800&h=600&fit=crop",alt:"Mountain Landscape",title:"Mountain Peaks",description:"Breathtaking view of snow-capped mountain peaks at sunrise"},{src:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&h=600&fit=crop",alt:"Ocean View",title:"Ocean Horizon",description:"Serene ocean view with crystal clear blue waters"},{src:"https://images.unsplash.com/photo-1511593358241-7eea1f3c84e5?w=800&h=600&fit=crop",alt:"Forest Path",title:"Forest Trail",description:"Peaceful path through a lush green forest"},{src:"https://images.unsplash.com/photo-1501594907352-04cda38ebc29?w=800&h=600&fit=crop",alt:"Desert Sunset",title:"Desert Landscape",description:"Stunning sunset over golden desert dunes"},{src:"https://images.unsplash.com/photo-1542202229-7d93c33f5d07?w=800&h=600&fit=crop",alt:"City Skyline",title:"Urban Cityscape",description:"Modern city skyline illuminated at night"},{src:"https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=800&h=600&fit=crop",alt:"Northern Lights",title:"Aurora Borealis",description:"Magical northern lights dancing across the night sky"}];return e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"CarouselImage",description:`A carousel component specifically designed for displaying images with
          optional titles and descriptions.`,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-pink-600 to-rose-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(t.Image,{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(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Basic Examples",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Basic Image Carousel"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselImage,{images:s})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Titles and Descriptions"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselImage,{images:s,showTitles:!0})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"With Navigation and Pagination"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselImage,{images:s,showNavigation:!0,showPagination:!0})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Contain Fit - Preserve Aspect Ratio"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselImage,{images:s,imageFit:"contain",showTitles:!0,showNavigation:!0})})]}),e.jsxs(a.CardContainer,{className:"p-4",children:[e.jsx(a.Typography,{tag:"h5",className:"mb-3",children:"Square Aspect Ratio"}),e.jsx("div",{className:"w-full",children:e.jsx(a.CarouselImage,{images:s,aspectRatio:"aspect-square",showNavigation:!0,showPagination:!0})})]})]})})})}),e.jsx(a.PropPlayground,{componentName:"CarouselImage",title:"CarouselImage Playground",defaultValues:{showNavigation:!0,showPagination:!0,showTitles:!0,loop:!0,grabCursor:!0,lazy:!1,imageFit:"cover",direction:"horizontal"},excludeProps:["images","onSlideChange","onSwiper","breakpoints","autoplay","className","slideClassName","imageClassName","aria-label","aspectRatio","effect","paginationType","centeredSlides","freeMode","mousewheel","slidesPerView","spaceBetween"],children:i=>e.jsx(a.CarouselImage,{...i,images:[{src:"https://picsum.photos/seed/1/800/400",alt:"Image 1",title:"Image 1"},{src:"https://picsum.photos/seed/2/800/400",alt:"Image 2",title:"Image 2"},{src:"https://picsum.photos/seed/3/800/400",alt:"Image 3",title:"Image 3"}]})}),e.jsx(a.AutoPropsTable,{componentName:"CarouselImage"}),e.jsx(a.CardContainer,{className:"overflow-hidden",children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx("div",{className:"w-full p-4 sm:p-6",children:e.jsx(a.CodeBlock,{language:"tsx",code:`import { CarouselImage } from '@e-burgos/tucu-ui';

const images = [
  {
    src: 'https://images.unsplash.com/photo-1682687220742-aba13b6e50ba',
    alt: 'Mountain Landscape',
    title: 'Mountain Peaks',
    description: 'Breathtaking view of snow-capped mountain peaks',
  },
  {
    src: 'https://images.unsplash.com/photo-1506905925346-21bda4d32df4',
    alt: 'Ocean View',
    title: 'Ocean Horizon',
    description: 'Serene ocean view with crystal clear blue waters',
  },
  // ... more images
];

// Basic usage
<CarouselImage images={images} />

// With titles and descriptions
<CarouselImage images={images} showTitles />

// With navigation and pagination
<CarouselImage images={images} showNavigation showPagination />

// Different image fit options
<CarouselImage images={images} imageFit="contain" />
<CarouselImage images={images} imageFit="cover" />

// Different aspect ratios
<CarouselImage images={images} aspectRatio="aspect-video" />
<CarouselImage images={images} aspectRatio="aspect-square" />
<CarouselImage images={images} aspectRatio="aspect-[4/3]" />

// Disable lazy loading
<CarouselImage images={images} lazy={false} />`})})})})]})};exports.default=o;
