{"version":3,"file":"index.cjs","sources":["../../../src/components/Checkbox/index.tsx"],"sourcesContent":["import { cn } from \"@/components/utils\";\nimport * as CheckboxPrimitive from \"@radix-ui/react-checkbox\";\nimport { Check } from \"lucide-react\";\nimport * as React from \"react\";\n\nconst Checkbox = React.forwardRef<\n  React.ElementRef<typeof CheckboxPrimitive.Root>,\n  React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>\n>(({ className, ...props }, ref) => (\n  <CheckboxPrimitive.Root\n    ref={ref}\n    className={cn(\n      \"peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground\",\n      className\n    )}\n    {...props}\n  >\n    <CheckboxPrimitive.Indicator\n      className={cn(\"flex items-center justify-center text-current\")}\n    >\n      <Check className=\"h-4 w-4\" />\n    </CheckboxPrimitive.Indicator>\n  </CheckboxPrimitive.Root>\n));\nCheckbox.displayName = CheckboxPrimitive.Root.displayName;\n\nexport { Checkbox };\n"],"names":["Checkbox","forwardRef","className","props","ref","jsx","jsxRuntimeExports","CheckboxPrimitive.Root","Root","cn","children","CheckboxPrimitive.Indicator","Indicator","Check","displayName"],"mappings":"yhBAKMA,sBAAiBC,YAGrB,EAAGC,eAAcC,GAASC,IAC1BC,EAAAC,kBAAAD,IAACE,EAAkBC,KAAlB,CACCJ,MACAF,UAAWO,EAAAA,GACT,iTACAP,MAEEC,EAEJO,WAAAJ,kBAAAD,IAACM,EAAkBC,UAAlB,CACCV,UAAWO,KAAG,iDAEdC,WAAAL,kBAAAA,IAACQ,EAAAA,MAAM,CAAAX,UAAU,kBAIvBF,EAASc,YAAcP,EAAAA,KAAuBO"}