{"version":3,"file":"index.cjs","sources":["../../../src/components/Progress/index.tsx"],"sourcesContent":["import { cn } from \"@/components/utils\";\nimport * as ProgressPrimitive from \"@radix-ui/react-progress\";\nimport * as React from \"react\";\n\nconst Progress = React.forwardRef<\n  React.ElementRef<typeof ProgressPrimitive.Root>,\n  React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>\n>(({ className, value, ...props }, ref) => (\n  <ProgressPrimitive.Root\n    ref={ref}\n    className={cn(\n      \"relative h-[2px] w-full overflow-hidden rounded-full bg-border\",\n      className\n    )}\n    {...props}\n  >\n    <ProgressPrimitive.Indicator\n      className=\"h-full w-full flex-1 bg-secondary transition-all\"\n      style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n    />\n  </ProgressPrimitive.Root>\n));\nProgress.displayName = ProgressPrimitive.Root.displayName;\n\nexport { Progress };\n"],"names":["Progress","forwardRef","className","value","props","ref","jsx","jsxRuntimeExports","ProgressPrimitive.Root","Root","cn","children","ProgressPrimitive.Indicator","Indicator","style","transform","displayName"],"mappings":"+fAIMA,sBAAiBC,YAGrB,EAAGC,YAAWC,WAAUC,GAASC,IACjCC,EAAAC,kBAAAD,IAACE,EAAkBC,KAAlB,CACCJ,MACAH,UAAWQ,EAAAA,GACT,iEACAR,MAEEE,EAEJO,WAAAJ,kBAAAD,IAACM,EAAkBC,UAAlB,CACCX,UAAU,mDACVY,MAAO,CAAEC,UAAW,eAAe,KAAOZ,GAAS,cAIzDH,EAASgB,YAAcR,EAAAA,KAAuBQ"}