{"version":3,"file":"bottom-sheet.BC-zURdV.js","sources":["../../../src/components/ui/bottom-sheet.tsx"],"sourcesContent":["import {\n Sheet,\n SheetContent,\n SheetHeader,\n SheetOverlay,\n SheetTitle,\n SheetTrigger\n} from '@/components/ui/sheet'\nimport { cn } from '@lib/utils'\n\n/**\n * Ensure `scroll` is set to `true` if height of the content exceeds the viewport height.\n * @param {Props} props - Component props containing open state, callbacks, options, and styling.\n */\nexport const BottomSheet = ({\n open,\n onOpenChange,\n title,\n children,\n trigger,\n scroll,\n triggerClassName\n}: {\n open?: boolean\n onOpenChange?: (open: boolean) => void\n title: string\n children: React.ReactNode\n trigger: React.ReactNode\n scroll?: boolean\n triggerClassName?: string\n}) => {\n return (\n \n {trigger}\n \n \n \n {title}\n \n {children}\n \n \n )\n}\n"],"names":["BottomSheet","open","onOpenChange","title","children","trigger","scroll","triggerClassName","jsxs","Sheet","jsx","SheetTrigger","SheetOverlay","SheetContent","cn","SheetHeader","SheetTitle"],"mappings":"qgBAcO,MAAMA,EAAc,CAAC,CAC1B,KAAAC,EACA,aAAAC,EACA,MAAAC,EACA,SAAAC,EACA,QAAAC,EACA,OAAAC,EACA,iBAAAC,CACF,IAUKC,EAAAA,KAAAC,EAAA,CAAM,KAAAR,EAAY,aAAAC,EAA4B,MAAO,GACpD,SAAA,CAACQ,EAAA,IAAAC,EAAA,CAAa,UAAWJ,EAAmB,SAAQF,EAAA,EACpDK,EAAAA,IAACE,EAAa,CAAA,UAAU,kBAAmB,CAAA,EAC3CJ,EAAA,KAACK,EAAA,CACC,KAAK,SACL,UAAWC,EAAG,wDAAyD,CACrE,8BAA+BR,CAAA,CAChC,EAED,SAAA,CAACI,EAAAA,IAAAK,EAAA,CAAY,UAAU,YACrB,SAAAL,EAAA,IAACM,GAAW,UAAU,YAAa,WAAM,CAC3C,CAAA,EACCZ,CAAA,CAAA,CACH,CACF,CAAA,CAAA"}