"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("react"),a=require("../index-DEZRGktf.js"),n=require("lucide-react");require("react-router-dom");require("react-dom");const t=()=>{const[i,o]=l.useState(0);return l.useEffect(()=>{const r=setInterval(()=>{o(s=>s>=100?0:s+1)},80);return()=>clearInterval(r)},[]),e.jsxs(e.Fragment,{children:[e.jsx(a.HeroCard,{title:"Progress Bar",description:"Determinate and indeterminate progress indicators with glass material track, accent fill, and optional label/value display.",icon:e.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 md:w-32 md:h-32 bg-linear-to-br from-blue-500 via-indigo-500 to-violet-600 rounded-full flex items-center justify-center shadow-lg border border-blue-500/50",children:e.jsx(n.Activity,{className:"w-10 h-10 sm:w-12 sm:h-12 md:w-16 md:h-16 text-white filter drop-shadow-lg"})})}),e.jsx(a.CardContainer,{children:e.jsx(a.CardTitle,{title:"Sizes",className:"mt-2 mb-2",children:e.jsxs("div",{className:"flex flex-col gap-5 max-w-md",children:[e.jsx(a.MacOSTahoeProgressBar,{value:35,size:"sm",label:"Small",showValue:!0}),e.jsx(a.MacOSTahoeProgressBar,{value:60,size:"md",label:"Medium (default)",showValue:!0}),e.jsx(a.MacOSTahoeProgressBar,{value:85,size:"lg",label:"Large",showValue:!0})]})})}),e.jsx(a.CardContainer,{children:e.jsx(a.CardTitle,{title:"Animated (Determinate)",className:"mt-2 mb-2",children:e.jsx("div",{className:"max-w-md",children:e.jsx(a.MacOSTahoeProgressBar,{value:i,size:"md",label:"Downloading update...",showValue:!0})})})}),e.jsx(a.CardContainer,{children:e.jsx(a.CardTitle,{title:"Indeterminate",className:"mt-2 mb-2",children:e.jsxs("div",{className:"flex flex-col gap-5 max-w-md",children:[e.jsx(a.MacOSTahoeProgressBar,{indeterminate:!0,size:"sm"}),e.jsx(a.MacOSTahoeProgressBar,{indeterminate:!0,size:"md",label:"Loading..."}),e.jsx(a.MacOSTahoeProgressBar,{indeterminate:!0,size:"lg",label:"Processing files..."})]})})}),e.jsx(a.CardContainer,{children:e.jsx(a.CardTitle,{title:"Static Values",className:"mt-2 mb-2",children:e.jsxs("div",{className:"flex flex-col gap-4 max-w-md",children:[e.jsx(a.MacOSTahoeProgressBar,{value:0,label:"0%",showValue:!0}),e.jsx(a.MacOSTahoeProgressBar,{value:25,label:"25%",showValue:!0}),e.jsx(a.MacOSTahoeProgressBar,{value:50,label:"50%",showValue:!0}),e.jsx(a.MacOSTahoeProgressBar,{value:75,label:"75%",showValue:!0}),e.jsx(a.MacOSTahoeProgressBar,{value:100,label:"Complete",showValue:!0})]})})}),e.jsx(a.CardContainer,{children:e.jsx(a.CardTitle,{title:"Code Example",className:"mt-2 mb-2",children:e.jsx(a.CodeBlock,{code:`import { MacOSTahoeProgressBar } from '@e-burgos/tucu-ui';

// Determinate
<MacOSTahoeProgressBar
  value={65}
  size="md"
  label="Uploading..."
  showValue
/>

// Indeterminate
<MacOSTahoeProgressBar
  indeterminate
  size="md"
  label="Loading..."
/>`,language:"tsx"})})}),e.jsx(a.PropPlayground,{componentName:"MacOSTahoeProgressBar",defaultValues:{value:65,size:"md",label:"Loading...",showValue:!0,indeterminate:!1},includeProps:["value","size","label","showValue","indeterminate"],excludeProps:["className"],children:r=>e.jsx("div",{className:"max-w-md w-full",children:e.jsx(a.MacOSTahoeProgressBar,{...r})})}),e.jsx(a.AutoPropsTable,{componentName:"MacOSTahoeProgressBar"})]})};exports.TahoeProgressBarSection=t;exports.default=t;
