{"version":3,"file":"index.cjs","sources":["../../../src/components/RadioGroup/index.tsx"],"sourcesContent":["import { cn } from \"@/components/utils\";\nimport * as RadioGroupPrimitive from \"@radix-ui/react-radio-group\";\nimport { Circle } from \"lucide-react\";\nimport * as React from \"react\";\n\nconst RadioGroup = React.forwardRef<\n  React.ElementRef<typeof RadioGroupPrimitive.Root>,\n  React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>\n>(({ className, ...props }, ref) => {\n  return (\n    <RadioGroupPrimitive.Root\n      className={cn(\"grid gap-2\", className)}\n      {...props}\n      ref={ref}\n    />\n  );\n});\nRadioGroup.displayName = RadioGroupPrimitive.Root.displayName;\n\nconst RadioGroupItem = React.forwardRef<\n  React.ElementRef<typeof RadioGroupPrimitive.Item>,\n  React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>\n>(({ className, ...props }, ref) => {\n  return (\n    <RadioGroupPrimitive.Item\n      ref={ref}\n      className={cn(\n        \"aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50\",\n        className\n      )}\n      {...props}\n    >\n      <RadioGroupPrimitive.Indicator className=\"flex items-center justify-center\">\n        <Circle className=\"h-2.5 w-2.5 fill-current text-current\" />\n      </RadioGroupPrimitive.Indicator>\n    </RadioGroupPrimitive.Item>\n  );\n});\nRadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;\n\nexport { RadioGroup, RadioGroupItem };\n"],"names":["RadioGroup","React","forwardRef","className","props","ref","jsxRuntimeExports","jsx","RadioGroupPrimitive.Root","Root","cn","displayName","RadioGroupItem","RadioGroupPrimitive.Item","Item","children","RadioGroupPrimitive.Indicator","Circle"],"mappings":"kjBAKMA,EAAaC,EAAMC,YAGvB,EAAGC,eAAcC,GAASC,MAExBC,kBAAAC,IAACC,EAAoBC,KAApB,CACCN,UAAWO,EAAAA,GAAG,aAAcP,MACxBC,EACJC,UAINL,EAAWW,YAAcH,EAAyBC,KAAAE,YAE5C,MAAAC,EAAiBX,EAAMC,YAG3B,EAAGC,eAAcC,GAASC,MAExBC,kBAAAC,IAACM,EAAoBC,KAApB,CACCT,MACAF,UAAWO,EAAAA,GACT,2OACAP,MAEEC,EAEJW,WAAAR,kBAAAA,IAACS,EAAAA,UAAA,CAA8Bb,UAAU,mCACvCY,WAACT,kBAAAC,IAAAU,EAAAA,OAAA,CAAOd,UAAU,gDAK1BS,EAAeD,YAAcE,EAAAA,KAAyBF"}