@alkimi.org/ui-kit 0.9.7 → 0.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.github.md +589 -589
- package/README.md +589 -589
- package/README.npm.md +589 -589
- package/dist/{chunk-MQMO7DMT.mjs → chunk-2R3FRGV4.mjs} +2 -2
- package/dist/chunk-2R3FRGV4.mjs.map +1 -0
- package/dist/{chunk-NGEWZBAJ.mjs → chunk-36L2E4K7.mjs} +2 -2
- package/dist/chunk-36L2E4K7.mjs.map +1 -0
- package/dist/{chunk-GVSERRZX.js → chunk-4F4J7RIS.js} +2 -2
- package/dist/chunk-4F4J7RIS.js.map +1 -0
- package/dist/{chunk-ANKLITGS.js → chunk-4PODZIEU.js} +2 -2
- package/dist/chunk-4PODZIEU.js.map +1 -0
- package/dist/chunk-4TH3WPF3.js +3 -0
- package/dist/chunk-4TH3WPF3.js.map +1 -0
- package/dist/{chunk-SBL3PCZC.js → chunk-4X3MFRSQ.js} +2 -2
- package/dist/chunk-4X3MFRSQ.js.map +1 -0
- package/dist/{chunk-QC5MA4WL.mjs → chunk-57XZUJL4.mjs} +2 -2
- package/dist/chunk-57XZUJL4.mjs.map +1 -0
- package/dist/{chunk-ULIOO55I.js → chunk-5ESMRNR3.js} +2 -2
- package/dist/chunk-5ESMRNR3.js.map +1 -0
- package/dist/{chunk-CT2CRYC2.js → chunk-5RIDFCU4.js} +2 -2
- package/dist/chunk-5RIDFCU4.js.map +1 -0
- package/dist/{chunk-FZ3NXOFK.mjs → chunk-6HUPRCXQ.mjs} +2 -2
- package/dist/chunk-6HUPRCXQ.mjs.map +1 -0
- package/dist/{chunk-EWRKHBIV.js → chunk-6N5E7FKO.js} +2 -2
- package/dist/chunk-6N5E7FKO.js.map +1 -0
- package/dist/{chunk-65YNHKNP.js → chunk-7ENKXOF3.js} +2 -2
- package/dist/chunk-7ENKXOF3.js.map +1 -0
- package/dist/{chunk-YFIKNTMM.js → chunk-7HVZPUTO.js} +2 -2
- package/dist/chunk-7HVZPUTO.js.map +1 -0
- package/dist/{chunk-AEZ5XKKG.mjs → chunk-7J43VVOI.mjs} +2 -2
- package/dist/chunk-7J43VVOI.mjs.map +1 -0
- package/dist/{chunk-MPUHONET.js → chunk-7Z2JFWQY.js} +2 -2
- package/dist/chunk-7Z2JFWQY.js.map +1 -0
- package/dist/{chunk-WFD523CV.js → chunk-AHQNHOS2.js} +1 -1
- package/dist/chunk-AHQNHOS2.js.map +1 -0
- package/dist/{chunk-S5TKCF6T.mjs → chunk-AJM7GGVC.mjs} +1 -1
- package/dist/chunk-AJM7GGVC.mjs.map +1 -0
- package/dist/{chunk-3FBDNJG5.js → chunk-BA7YSYLL.js} +2 -2
- package/dist/chunk-BA7YSYLL.js.map +1 -0
- package/dist/{chunk-TDMRUCR6.js → chunk-BUS3E5OY.js} +2 -2
- package/dist/chunk-BUS3E5OY.js.map +1 -0
- package/dist/{chunk-4EOAKJI4.mjs → chunk-CA75YECJ.mjs} +2 -2
- package/dist/chunk-CA75YECJ.mjs.map +1 -0
- package/dist/{chunk-RTGC7LPL.js → chunk-CCNH4HFX.js} +2 -2
- package/dist/chunk-CCNH4HFX.js.map +1 -0
- package/dist/{chunk-7YRREWHH.js → chunk-CPD4PX64.js} +2 -2
- package/dist/chunk-CPD4PX64.js.map +1 -0
- package/dist/{chunk-5D66A4ZC.js → chunk-CVGE3ROD.js} +2 -2
- package/dist/chunk-CVGE3ROD.js.map +1 -0
- package/dist/{chunk-CP7BC57S.js → chunk-DEGPIR53.js} +2 -2
- package/dist/chunk-DEGPIR53.js.map +1 -0
- package/dist/{chunk-7ONK6HHN.mjs → chunk-DRPEVJT7.mjs} +1 -1
- package/dist/chunk-DRPEVJT7.mjs.map +1 -0
- package/dist/{chunk-C7GTPYMH.mjs → chunk-DVS5O7CS.mjs} +2 -2
- package/dist/chunk-DVS5O7CS.mjs.map +1 -0
- package/dist/{chunk-VDRRSPND.mjs → chunk-EA66F2ZN.mjs} +2 -2
- package/dist/chunk-EA66F2ZN.mjs.map +1 -0
- package/dist/{chunk-CMV76O4U.mjs → chunk-EBSYGLCA.mjs} +2 -2
- package/dist/chunk-EBSYGLCA.mjs.map +1 -0
- package/dist/{chunk-JUB5C3UU.js → chunk-HF6H7CTA.js} +2 -2
- package/dist/chunk-HF6H7CTA.js.map +1 -0
- package/dist/{chunk-4LUOGI24.mjs → chunk-HV2SGTFQ.mjs} +2 -2
- package/dist/chunk-HV2SGTFQ.mjs.map +1 -0
- package/dist/{chunk-3PEPOFYU.js → chunk-IFNCRMNZ.js} +1 -1
- package/dist/chunk-IFNCRMNZ.js.map +1 -0
- package/dist/{chunk-372VUZFE.js → chunk-INXG2ITG.js} +3 -3
- package/dist/chunk-INXG2ITG.js.map +1 -0
- package/dist/{chunk-S2TENS3V.mjs → chunk-IZE2MHHY.mjs} +2 -2
- package/dist/chunk-IZE2MHHY.mjs.map +1 -0
- package/dist/{chunk-HRYHWWL4.mjs → chunk-KBEHHIN6.mjs} +2 -2
- package/dist/chunk-KBEHHIN6.mjs.map +1 -0
- package/dist/{chunk-EJTY2ABY.js → chunk-KCEGGK36.js} +2 -2
- package/dist/chunk-KCEGGK36.js.map +1 -0
- package/dist/{chunk-4LR7SOCY.mjs → chunk-KYBTGVFM.mjs} +1 -1
- package/dist/chunk-KYBTGVFM.mjs.map +1 -0
- package/dist/{chunk-LFPVTYLX.mjs → chunk-L2WR54R7.mjs} +2 -2
- package/dist/chunk-L2WR54R7.mjs.map +1 -0
- package/dist/{chunk-7APORI4E.mjs → chunk-LNIGQUON.mjs} +2 -2
- package/dist/chunk-LNIGQUON.mjs.map +1 -0
- package/dist/{chunk-AL2CF5GT.mjs → chunk-N3ZLPC5C.mjs} +2 -2
- package/dist/chunk-N3ZLPC5C.mjs.map +1 -0
- package/dist/{chunk-2KM266QO.mjs → chunk-N43UVAL7.mjs} +2 -2
- package/dist/chunk-N43UVAL7.mjs.map +1 -0
- package/dist/{chunk-7SOZ6MOV.js → chunk-NFHHEYXW.js} +2 -2
- package/dist/chunk-NFHHEYXW.js.map +1 -0
- package/dist/{chunk-RJMIOBXZ.js → chunk-NIHULISF.js} +2 -2
- package/dist/chunk-NIHULISF.js.map +1 -0
- package/dist/{chunk-Z6RAFZ3C.mjs → chunk-NMI6DEUG.mjs} +1 -1
- package/dist/chunk-NMI6DEUG.mjs.map +1 -0
- package/dist/{chunk-WY4HCUAP.mjs → chunk-NMU4NNZ2.mjs} +2 -2
- package/dist/chunk-NMU4NNZ2.mjs.map +1 -0
- package/dist/{chunk-YBV4CPVD.mjs → chunk-O2FPBOOV.mjs} +2 -2
- package/dist/chunk-O2FPBOOV.mjs.map +1 -0
- package/dist/{chunk-I5INE4KG.js → chunk-OCAU343S.js} +2 -2
- package/dist/chunk-OCAU343S.js.map +1 -0
- package/dist/{chunk-QVMQ55JW.mjs → chunk-PBOK6TUC.mjs} +2 -2
- package/dist/chunk-PBOK6TUC.mjs.map +1 -0
- package/dist/{chunk-TQJCIZQO.mjs → chunk-QP4A5SPE.mjs} +2 -2
- package/dist/chunk-QP4A5SPE.mjs.map +1 -0
- package/dist/{chunk-OXMHA73F.js → chunk-QP7CDVWG.js} +2 -2
- package/dist/chunk-QP7CDVWG.js.map +1 -0
- package/dist/chunk-QUDNJOXZ.mjs +3 -0
- package/dist/chunk-QUDNJOXZ.mjs.map +1 -0
- package/dist/{chunk-UNR6ATUH.js → chunk-S7CZVGW7.js} +2 -2
- package/dist/chunk-S7CZVGW7.js.map +1 -0
- package/dist/{chunk-RRAIGAHU.js → chunk-SN3YJA4C.js} +2 -2
- package/dist/chunk-SN3YJA4C.js.map +1 -0
- package/dist/{chunk-LCKRYIEJ.js → chunk-T63HKL4M.js} +2 -2
- package/dist/chunk-T63HKL4M.js.map +1 -0
- package/dist/{chunk-U6XL5TKL.mjs → chunk-TFNJNZMW.mjs} +2 -2
- package/dist/chunk-TFNJNZMW.mjs.map +1 -0
- package/dist/{chunk-5X26XR44.js → chunk-TLGEA7LM.js} +2 -2
- package/dist/chunk-TLGEA7LM.js.map +1 -0
- package/dist/{chunk-IXP2VV7S.mjs → chunk-TXOT3G2Z.mjs} +2 -2
- package/dist/chunk-TXOT3G2Z.mjs.map +1 -0
- package/dist/{chunk-K4GMCVHO.js → chunk-UAJUT7B7.js} +2 -2
- package/dist/chunk-UAJUT7B7.js.map +1 -0
- package/dist/{chunk-FUYXCJOQ.js → chunk-VBARF35N.js} +1 -1
- package/dist/chunk-VBARF35N.js.map +1 -0
- package/dist/{chunk-NEOUFWZN.mjs → chunk-VSRWPJJB.mjs} +2 -2
- package/dist/chunk-VSRWPJJB.mjs.map +1 -0
- package/dist/{chunk-TAMQA7LM.mjs → chunk-VUHWNO54.mjs} +2 -2
- package/dist/chunk-VUHWNO54.mjs.map +1 -0
- package/dist/{chunk-CNRZOMR4.mjs → chunk-W4PJBJNX.mjs} +2 -2
- package/dist/chunk-W4PJBJNX.mjs.map +1 -0
- package/dist/chunk-WMHK5YWO.js +3 -0
- package/dist/chunk-WMHK5YWO.js.map +1 -0
- package/dist/{chunk-RYJZXDJ5.mjs → chunk-X3QDPETP.mjs} +2 -2
- package/dist/chunk-X3QDPETP.mjs.map +1 -0
- package/dist/{chunk-3BVMHDYA.js → chunk-XNLDCAFS.js} +1 -1
- package/dist/chunk-XNLDCAFS.js.map +1 -0
- package/dist/{chunk-L36V45FD.mjs → chunk-XQS62AJH.mjs} +2 -2
- package/dist/chunk-XQS62AJH.mjs.map +1 -0
- package/dist/chunk-XYO4VLMF.js.map +1 -1
- package/dist/{chunk-TUNSVCR4.js → chunk-Y5LKHHUX.js} +2 -2
- package/dist/chunk-Y5LKHHUX.js.map +1 -0
- package/dist/{chunk-KGNX6UST.mjs → chunk-YHYWSBWL.mjs} +2 -2
- package/dist/chunk-YHYWSBWL.mjs.map +1 -0
- package/dist/{chunk-5TVDBV74.mjs → chunk-YK3UJT7O.mjs} +2 -2
- package/dist/chunk-YK3UJT7O.mjs.map +1 -0
- package/dist/{chunk-E7OHIWSF.mjs → chunk-ZJBCOTJL.mjs} +2 -2
- package/dist/chunk-ZJBCOTJL.mjs.map +1 -0
- package/dist/{chunk-MSYJFTUX.js → chunk-ZUBIKQDO.js} +2 -2
- package/dist/chunk-ZUBIKQDO.js.map +1 -0
- package/dist/components/GeometricFluidGrid.js +1 -1
- package/dist/components/GeometricFluidGrid.js.map +1 -1
- package/dist/components/GeometricFluidGrid.mjs +1 -1
- package/dist/components/GlitchLink.js +1 -1
- package/dist/components/GlitchLink.js.map +1 -1
- package/dist/components/GlitchLink.mjs +1 -1
- package/dist/components/PixelLoad.js +1 -1
- package/dist/components/PixelLoad.js.map +1 -1
- package/dist/components/PixelLoad.mjs +1 -1
- package/dist/components/TextDecoder.js +1 -1
- package/dist/components/TextDecoder.js.map +1 -1
- package/dist/components/TextDecoder.mjs +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.js.map +1 -1
- package/dist/components/accordion.mjs +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/avatar.js.map +1 -1
- package/dist/components/avatar.mjs +1 -1
- package/dist/components/breadcrumb.js +1 -1
- package/dist/components/breadcrumb.js.map +1 -1
- package/dist/components/breadcrumb.mjs +1 -1
- package/dist/components/breadcrumb.mjs.map +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/button.js.map +1 -1
- package/dist/components/button.mjs +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.js.map +1 -1
- package/dist/components/calendar.mjs +1 -1
- package/dist/components/card.js +1 -1
- package/dist/components/card.js.map +1 -1
- package/dist/components/card.mjs +1 -1
- package/dist/components/card.mjs.map +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/checkbox.mjs +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/combobox.mjs +1 -1
- package/dist/components/command.js +1 -1
- package/dist/components/command.js.map +1 -1
- package/dist/components/command.mjs +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-picker.js.map +1 -1
- package/dist/components/date-picker.mjs +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-range-picker.js.map +1 -1
- package/dist/components/date-range-picker.mjs +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/dialog.mjs +1 -1
- package/dist/components/drawer.js +1 -1
- package/dist/components/drawer.js.map +1 -1
- package/dist/components/drawer.mjs +1 -1
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/dropdown-menu.mjs +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/field.js.map +1 -1
- package/dist/components/field.mjs +1 -1
- package/dist/components/file-upload.js +1 -1
- package/dist/components/file-upload.js.map +1 -1
- package/dist/components/file-upload.mjs +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input.js.map +1 -1
- package/dist/components/input.mjs +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label.js.map +1 -1
- package/dist/components/label.mjs +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/popover.js.map +1 -1
- package/dist/components/popover.mjs +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.js.map +1 -1
- package/dist/components/progress.mjs +1 -1
- package/dist/components/progress.mjs.map +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/radio-group.js.map +1 -1
- package/dist/components/radio-group.mjs +1 -1
- package/dist/components/scroll-area.js +1 -1
- package/dist/components/scroll-area.js.map +1 -1
- package/dist/components/scroll-area.mjs +1 -1
- package/dist/components/separator.js +1 -1
- package/dist/components/separator.js.map +1 -1
- package/dist/components/separator.mjs +1 -1
- package/dist/components/sheet.js +1 -1
- package/dist/components/sheet.js.map +1 -1
- package/dist/components/sheet.mjs +1 -1
- package/dist/components/sidebar.d.mts +1 -1
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.js.map +1 -1
- package/dist/components/sidebar.mjs +1 -1
- package/dist/components/skeleton.js +1 -1
- package/dist/components/skeleton.js.map +1 -1
- package/dist/components/skeleton.mjs +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.js.map +1 -1
- package/dist/components/slider.mjs +1 -1
- package/dist/components/slider.mjs.map +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/switch.js.map +1 -1
- package/dist/components/switch.mjs +1 -1
- package/dist/components/switch.mjs.map +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/table.js.map +1 -1
- package/dist/components/table.mjs +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/tabs.mjs +1 -1
- package/dist/components/textarea.js +1 -1
- package/dist/components/textarea.js.map +1 -1
- package/dist/components/textarea.mjs +1 -1
- package/dist/components/toast.d.mts +5 -4
- package/dist/components/toast.d.ts +5 -4
- package/dist/components/toast.js +1 -1
- package/dist/components/toast.js.map +1 -1
- package/dist/components/toast.mjs +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tooltip.js.map +1 -1
- package/dist/components/tooltip.mjs +1 -1
- package/dist/components/tree-select.js +1 -1
- package/dist/components/tree-select.js.map +1 -1
- package/dist/components/tree-select.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/package.json +109 -107
- package/dist/chunk-2KM266QO.mjs.map +0 -1
- package/dist/chunk-372VUZFE.js.map +0 -1
- package/dist/chunk-3BVMHDYA.js.map +0 -1
- package/dist/chunk-3FBDNJG5.js.map +0 -1
- package/dist/chunk-3PEPOFYU.js.map +0 -1
- package/dist/chunk-4EOAKJI4.mjs.map +0 -1
- package/dist/chunk-4LR7SOCY.mjs.map +0 -1
- package/dist/chunk-4LUOGI24.mjs.map +0 -1
- package/dist/chunk-5D66A4ZC.js.map +0 -1
- package/dist/chunk-5L5DM2X5.js +0 -3
- package/dist/chunk-5L5DM2X5.js.map +0 -1
- package/dist/chunk-5TVDBV74.mjs.map +0 -1
- package/dist/chunk-5X26XR44.js.map +0 -1
- package/dist/chunk-65YNHKNP.js.map +0 -1
- package/dist/chunk-7APORI4E.mjs.map +0 -1
- package/dist/chunk-7ONK6HHN.mjs.map +0 -1
- package/dist/chunk-7SOZ6MOV.js.map +0 -1
- package/dist/chunk-7YRREWHH.js.map +0 -1
- package/dist/chunk-AEZ5XKKG.mjs.map +0 -1
- package/dist/chunk-AL2CF5GT.mjs.map +0 -1
- package/dist/chunk-ANKLITGS.js.map +0 -1
- package/dist/chunk-C7GTPYMH.mjs.map +0 -1
- package/dist/chunk-CMV76O4U.mjs.map +0 -1
- package/dist/chunk-CNRZOMR4.mjs.map +0 -1
- package/dist/chunk-CP7BC57S.js.map +0 -1
- package/dist/chunk-CT2CRYC2.js.map +0 -1
- package/dist/chunk-E7OHIWSF.mjs.map +0 -1
- package/dist/chunk-EJTY2ABY.js.map +0 -1
- package/dist/chunk-EWRKHBIV.js.map +0 -1
- package/dist/chunk-FUYXCJOQ.js.map +0 -1
- package/dist/chunk-FZ3NXOFK.mjs.map +0 -1
- package/dist/chunk-GVSERRZX.js.map +0 -1
- package/dist/chunk-HRYHWWL4.mjs.map +0 -1
- package/dist/chunk-I5INE4KG.js.map +0 -1
- package/dist/chunk-IXP2VV7S.mjs.map +0 -1
- package/dist/chunk-JNH6ZYK7.js +0 -3
- package/dist/chunk-JNH6ZYK7.js.map +0 -1
- package/dist/chunk-JUB5C3UU.js.map +0 -1
- package/dist/chunk-K4GMCVHO.js.map +0 -1
- package/dist/chunk-KGNX6UST.mjs.map +0 -1
- package/dist/chunk-KUASF3Q3.mjs +0 -3
- package/dist/chunk-KUASF3Q3.mjs.map +0 -1
- package/dist/chunk-L36V45FD.mjs.map +0 -1
- package/dist/chunk-LCKRYIEJ.js.map +0 -1
- package/dist/chunk-LFPVTYLX.mjs.map +0 -1
- package/dist/chunk-MPUHONET.js.map +0 -1
- package/dist/chunk-MQMO7DMT.mjs.map +0 -1
- package/dist/chunk-MSYJFTUX.js.map +0 -1
- package/dist/chunk-NEOUFWZN.mjs.map +0 -1
- package/dist/chunk-NGEWZBAJ.mjs.map +0 -1
- package/dist/chunk-OXMHA73F.js.map +0 -1
- package/dist/chunk-QC5MA4WL.mjs.map +0 -1
- package/dist/chunk-QVMQ55JW.mjs.map +0 -1
- package/dist/chunk-RJMIOBXZ.js.map +0 -1
- package/dist/chunk-RRAIGAHU.js.map +0 -1
- package/dist/chunk-RTGC7LPL.js.map +0 -1
- package/dist/chunk-RYJZXDJ5.mjs.map +0 -1
- package/dist/chunk-S2TENS3V.mjs.map +0 -1
- package/dist/chunk-S5TKCF6T.mjs.map +0 -1
- package/dist/chunk-SBL3PCZC.js.map +0 -1
- package/dist/chunk-TAMQA7LM.mjs.map +0 -1
- package/dist/chunk-TDMRUCR6.js.map +0 -1
- package/dist/chunk-TQJCIZQO.mjs.map +0 -1
- package/dist/chunk-TUNSVCR4.js.map +0 -1
- package/dist/chunk-U6XL5TKL.mjs.map +0 -1
- package/dist/chunk-ULIOO55I.js.map +0 -1
- package/dist/chunk-UNR6ATUH.js.map +0 -1
- package/dist/chunk-VDRRSPND.mjs.map +0 -1
- package/dist/chunk-WFD523CV.js.map +0 -1
- package/dist/chunk-WY4HCUAP.mjs.map +0 -1
- package/dist/chunk-YBV4CPVD.mjs.map +0 -1
- package/dist/chunk-YFIKNTMM.js.map +0 -1
- package/dist/chunk-Z6RAFZ3C.mjs.map +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import{a as l}from"./chunk-KPAOPUY2.mjs";import{useEffect as N,useRef as $}from"react";import{jsx as O}from"react/jsx-runtime";var m=17,B=1,P=5,q=(d,i)=>{if(d<i){let e=1-d/i;return e*e*(3-2*e)}return 0},v=class{constructor(i){l(this,"x",0);l(this,"y",0);l(this,"anchorX",0);l(this,"anchorY",0);l(this,"vx",0);l(this,"vy",0);l(this,"nodes",[]);l(this,"opacity",0);l(this,"glitchZones",[]);l(this,"maxReach",180);this.anchorX=i.x,this.anchorY=i.y,this.x=this.anchorX,this.y=this.anchorY,this.init()}init(){this.nodes=[];let i=3+Math.floor(Math.random()*3);for(let e=0;e<i;e++){let n=15+Math.random()*25,b=(Math.random()-.5)*60,u=(Math.random()-.5)*60;this.nodes.push({offsetX:b,offsetY:u,vx:(Math.random()-.5)*.1,vy:(Math.random()-.5)*.1,radius:n,t:Math.random()*100})}this.opacity=1}update(){let i=this.anchorX-this.x,e=this.anchorY-this.y,n=5e-4,b=i*n,u=e*n,g=(Math.random()-.5)*.01,r=(Math.random()-.5)*.01;if(this.vx+=b+g,this.vy+=u+r,this.vx*=.96,this.vy*=.96,this.x+=this.vx,this.y+=this.vy,this.nodes.forEach(s=>{s.t+=.005,s.offsetX+=Math.sin(s.t)*.1+s.vx,s.offsetY+=Math.cos(s.t*.9)*.1+s.vy;let y=70;(s.offsetX>y||s.offsetX<-y)&&(s.vx*=-1),(s.offsetY>y||s.offsetY<-y)&&(s.vy*=-1),s.radius+=Math.sin(s.t*2)*.1}),this.glitchZones=this.glitchZones.filter(s=>s.life>0),this.glitchZones.forEach(s=>s.life--),Math.random()<.03){let y=h=>Math.round((h-m/2)/m)*m+m/2,X=this.x+(Math.random()-.5)*80,w=this.y+(Math.random()-.5)*80,p=y(X),a=y(w);if((Math.random()>.6?"line":"dot")==="line"){let h=Math.random()>.5,x=40+Math.random()*80,t=2;this.glitchZones.push({x:h?p-t/2:p-x/2,y:h?a-x/2:a-t/2,w:h?t:x,h:h?x:t,life:8+Math.random()*12})}else this.glitchZones.push({x:p-4/2,y:a-4/2,w:4,h:4,life:6+Math.random()*10})}}},F=class{constructor(i,e){l(this,"x");l(this,"y");l(this,"opacity");l(this,"decay");l(this,"nodes");l(this,"maxReach",60);this.x=i,this.y=e,this.opacity=.8,this.decay=.03,this.nodes=[];let n=2;for(let b=0;b<n;b++)this.nodes.push({offsetX:(Math.random()-.5)*10,offsetY:(Math.random()-.5)*10,vx:(Math.random()-.5)*1,vy:(Math.random()-.5)*1,radius:5+Math.random()*10,t:0})}update(){this.opacity-=this.decay,this.nodes.forEach(i=>{i.offsetX+=i.vx,i.offsetY+=i.vy,i.radius*=.95})}},H=({variant:d="animated"})=>{let i=$(null);return N(()=>{let e=i.current;if(!e)return;let n=e.getContext("2d");if(!n)return;let b,u=[],g=[],r={x:-1e3,y:-1e3,lastX:-1e3,lastY:-1e3},s=()=>{u=[];let a=e.width,c=e.height;u.push(new v({x:a-a*.15,y:c*.15})),u.push(new v({x:a*.4,y:c*.4})),u.push(new v({x:a*.05+50,y:c-c*.15})),u.push(new v({x:a-a*.05-50,y:c-c*.05-50}))},y=()=>{let a=e.getBoundingClientRect(),c=a.width,h=a.height;c===0||h===0||e.width===c&&e.height===h||(e.width=c,e.height=h,s())},X=a=>{let c=e.getBoundingClientRect();r.x=a.clientX-c.left,r.y=a.clientY-c.top,r.lastX===-1e3&&(r.lastX=r.x,r.lastY=r.y);let h=r.x-r.lastX,x=r.y-r.lastY;Math.sqrt(h*h+x*x)>20&&(g.push(new F(r.x,r.y)),r.lastX=r.x,r.lastY=r.y)},w=()=>{let a=e.width,c=e.height;if(n.fillStyle="#050505",n.fillRect(0,0,a,c),d==="static"){for(let t=m/2;t<a;t+=m)for(let f=m/2;f<c;f+=m)n.fillStyle="rgba(47, 47, 47, 1)",n.fillRect(t-.5,f-.5,1,1);return}u.forEach(t=>t.update());for(let t=g.length-1;t>=0;t--)g[t].update(),g[t].opacity<=0&&g.splice(t,1);let h=[...u,...g],x=[];u.forEach(t=>x.push(...t.glitchZones));for(let t=m/2;t<a;t+=m)for(let f=m/2;f<c;f+=m){let C=!1;for(let o of x)if(t>=o.x&&t<=o.x+o.w&&f>=o.y&&f<=o.y+o.h){C=!0;break}if(C){if(n.fillStyle="rgba(182, 243, 191, 0.95)",Math.random()>.1){let o=Math.random()>.5?P*.7:B*2;n.beginPath(),n.arc(t,f,o/2,0,Math.PI*2),n.fill()}continue}let M=0,I=!1;for(let o of h)if(Math.abs(t-o.x)<o.maxReach&&Math.abs(f-o.y)<o.maxReach){I=!0;break}if(!I){n.fillStyle="rgba(47, 47, 47, 1)",n.fillRect(t-.5,f-.5,1,1);continue}for(let o of h){let E=t-o.x,Z=f-o.y;if(Math.abs(E)>o.maxReach||Math.abs(Z)>o.maxReach)continue;let R=0;for(let Y of o.nodes){let z=E-Y.offsetX,G=Z-Y.offsetY,S=Math.sqrt(z*z+G*G);R+=q(S,Y.radius)}R>1&&(R=1),M+=R*o.opacity}if(M>1&&(M=1),M>.01){let G=Math.floor(255+-73*M),S=Math.floor(255+-12*M),A=Math.floor(255+-64*M),k=M*.5,L=B+M*(P-B);n.fillStyle=`rgba(${G}, ${S}, ${A}, ${k})`,n.beginPath(),n.arc(t,f,L/2,0,Math.PI*2),n.fill()}else n.fillStyle="rgba(47, 47, 47, 1)",n.fillRect(t-.5,f-.5,1,1)}b=requestAnimationFrame(w)},p=new ResizeObserver(()=>{y(),d==="static"&&w()});return p.observe(e),d==="animated"&&window.addEventListener("mousemove",X),y(),w(),()=>{p.disconnect(),d==="animated"&&window.removeEventListener("mousemove",X),cancelAnimationFrame(b)}},[d]),O("canvas",{ref:i,className:"fixed inset-0 -z-999 w-full h-full pointer-events-none"})},D=H;export{D as a};
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
3
|
+
//# sourceMappingURL=chunk-NMI6DEUG.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/GeometricFluidGrid.tsx"],"sourcesContent":["\"use client\"\r\nimport React, { useEffect, useRef } from \"react\"\r\n\r\n// --- CONFIGURATION ---\r\nconst GAP = 17\r\nconst BASE_SIZE = 1\r\nconst MAX_SIZE = 5\r\n\r\n// --- TYPES ---\r\ninterface Node {\r\n offsetX: number\r\n offsetY: number\r\n vx: number\r\n vy: number\r\n radius: number\r\n t: number\r\n}\r\n\r\ninterface GlitchZone {\r\n x: number\r\n y: number\r\n w: number\r\n h: number\r\n life: number\r\n}\r\n\r\ninterface MouseState {\r\n x: number\r\n y: number\r\n lastX: number\r\n lastY: number\r\n}\r\n\r\n// --- MATH HELPERS ---\r\nconst getFalloff = (dist: number, radius: number): number => {\r\n if (dist < radius) {\r\n const val = 1 - dist / radius\r\n return val * val * (3 - 2 * val)\r\n }\r\n return 0\r\n}\r\n\r\n// --- CLASSES ---\r\nclass AnchoredBlob {\r\n // Current Position\r\n x: number = 0\r\n y: number = 0\r\n\r\n // Anchor Position (Home base)\r\n anchorX: number = 0\r\n anchorY: number = 0\r\n\r\n // Movement\r\n vx: number = 0\r\n vy: number = 0\r\n\r\n // Appearance\r\n nodes: Node[] = []\r\n opacity: number = 0\r\n\r\n // Glitch State\r\n glitchZones: GlitchZone[] = []\r\n maxReach: number = 180\r\n\r\n constructor(anchorConfig: { x: number; y: number }) {\r\n this.anchorX = anchorConfig.x\r\n this.anchorY = anchorConfig.y\r\n this.x = this.anchorX\r\n this.y = this.anchorY\r\n this.init()\r\n }\r\n\r\n init() {\r\n // 1. Create Internal Nodes (The \"Blob\" composition)\r\n this.nodes = []\r\n const nodeCount = 3 + Math.floor(Math.random() * 3) // 3 to 5 nodes\r\n\r\n for (let i = 0; i < nodeCount; i++) {\r\n // Significantly smaller radius (15-40px) to reduce central bulk\r\n const r = 15 + Math.random() * 25\r\n // Wider initial spread\r\n const ox = (Math.random() - 0.5) * 60\r\n const oy = (Math.random() - 0.5) * 60\r\n\r\n this.nodes.push({\r\n offsetX: ox,\r\n offsetY: oy,\r\n vx: (Math.random() - 0.5) * 0.1, // Slower internal movement (was 0.4)\r\n vy: (Math.random() - 0.5) * 0.1,\r\n radius: r,\r\n t: Math.random() * 100,\r\n })\r\n }\r\n\r\n this.opacity = 1\r\n }\r\n\r\n update() {\r\n // --- 1. Tethered Movement Logic ---\r\n const dx = this.anchorX - this.x\r\n const dy = this.anchorY - this.y\r\n\r\n // Spring constant (very loose)\r\n const k = 0.0005\r\n const ax = dx * k\r\n const ay = dy * k\r\n\r\n // Random wandering force - Reduced significantly for slower drift\r\n const wx = (Math.random() - 0.5) * 0.01 // was 0.05\r\n const wy = (Math.random() - 0.5) * 0.01 // was 0.05\r\n\r\n this.vx += ax + wx\r\n this.vy += ay + wy\r\n\r\n this.vx *= 0.96\r\n this.vy *= 0.96\r\n\r\n this.x += this.vx\r\n this.y += this.vy\r\n\r\n // --- 2. Internal Node Animation ---\r\n this.nodes.forEach((node) => {\r\n // Slow down time step\r\n node.t += 0.005 // was 0.02\r\n\r\n // Slower oscillation and movement\r\n node.offsetX += Math.sin(node.t) * 0.1 + node.vx // amp was 0.4\r\n node.offsetY += Math.cos(node.t * 0.9) * 0.1 + node.vy\r\n\r\n // Constrain to \"nucleus\"\r\n const maxDist = 70\r\n if (node.offsetX > maxDist || node.offsetX < -maxDist) node.vx *= -1\r\n if (node.offsetY > maxDist || node.offsetY < -maxDist) node.vy *= -1\r\n\r\n // Pulse size\r\n node.radius += Math.sin(node.t * 2) * 0.1\r\n })\r\n\r\n // --- 3. Manage Glitch Zones ---\r\n // Remove dead glitches\r\n this.glitchZones = this.glitchZones.filter((g) => g.life > 0)\r\n this.glitchZones.forEach((g) => g.life--)\r\n\r\n // Randomly spawn new glitches\r\n if (Math.random() < 0.03) {\r\n // 3% chance per frame\r\n const spread = 80\r\n\r\n // Snap random positions to exact grid points to ensure clean lines\r\n const snap = (v: number) =>\r\n Math.round((v - GAP / 2) / GAP) * GAP + GAP / 2\r\n\r\n const rawCx = this.x + (Math.random() - 0.5) * spread\r\n const rawCy = this.y + (Math.random() - 0.5) * spread\r\n\r\n const cx = snap(rawCx)\r\n const cy = snap(rawCy)\r\n\r\n const type = Math.random() > 0.6 ? \"line\" : \"dot\"\r\n\r\n if (type === \"line\") {\r\n const isVert = Math.random() > 0.5\r\n // Medium length: 40-120px\r\n const len = 40 + Math.random() * 80\r\n\r\n // Thickness is essentially zero (just a sliver) centered on the grid line\r\n // to guarantee we only pick up exactly one row/column of dots\r\n const thickness = 2\r\n\r\n this.glitchZones.push({\r\n x: isVert ? cx - thickness / 2 : cx - len / 2,\r\n y: isVert ? cy - len / 2 : cy - thickness / 2,\r\n w: isVert ? thickness : len,\r\n h: isVert ? len : thickness,\r\n life: 8 + Math.random() * 12,\r\n })\r\n } else {\r\n // Single dot\r\n // Box just large enough to catch one grid point\r\n const size = 4\r\n\r\n this.glitchZones.push({\r\n x: cx - size / 2,\r\n y: cy - size / 2,\r\n w: size,\r\n h: size,\r\n life: 6 + Math.random() * 10,\r\n })\r\n }\r\n }\r\n }\r\n}\r\n\r\nclass TrailBlob {\r\n x: number\r\n y: number\r\n opacity: number\r\n decay: number\r\n nodes: Node[]\r\n maxReach: number = 60\r\n\r\n constructor(x: number, y: number) {\r\n this.x = x\r\n this.y = y\r\n this.opacity = 0.8\r\n this.decay = 0.03\r\n\r\n this.nodes = []\r\n const count = 2\r\n for (let i = 0; i < count; i++) {\r\n this.nodes.push({\r\n offsetX: (Math.random() - 0.5) * 10,\r\n offsetY: (Math.random() - 0.5) * 10,\r\n vx: (Math.random() - 0.5) * 1,\r\n vy: (Math.random() - 0.5) * 1,\r\n radius: 5 + Math.random() * 10,\r\n t: 0,\r\n })\r\n }\r\n }\r\n\r\n update() {\r\n this.opacity -= this.decay\r\n this.nodes.forEach((node) => {\r\n node.offsetX += node.vx\r\n node.offsetY += node.vy\r\n node.radius *= 0.95\r\n })\r\n }\r\n}\r\n\r\ninterface GeometricFluidGridProps {\r\n variant?: \"animated\" | \"static\"\r\n}\r\n\r\nconst GeometricFluidGrid: React.FC<GeometricFluidGridProps> = ({\r\n variant = \"animated\",\r\n}) => {\r\n const canvasRef = useRef<HTMLCanvasElement>(null)\r\n\r\n useEffect(() => {\r\n const canvas = canvasRef.current\r\n if (!canvas) return\r\n\r\n const ctx = canvas.getContext(\"2d\")\r\n if (!ctx) return\r\n\r\n let animationFrameId: number\r\n let orbs: AnchoredBlob[] = []\r\n let trail: TrailBlob[] = []\r\n let mouse: MouseState = { x: -1000, y: -1000, lastX: -1000, lastY: -1000 }\r\n\r\n const initWorld = () => {\r\n orbs = []\r\n const w = canvas.width\r\n const h = canvas.height\r\n\r\n // 1. Top Right\r\n orbs.push(\r\n new AnchoredBlob({\r\n x: w - w * 0.15,\r\n y: h * 0.15,\r\n })\r\n )\r\n\r\n // 2. ~40% from top and ~40% from left\r\n orbs.push(\r\n new AnchoredBlob({\r\n x: w * 0.4,\r\n y: h * 0.4,\r\n })\r\n )\r\n\r\n // 3. Bottom Left\r\n orbs.push(\r\n new AnchoredBlob({\r\n x: w * 0.05 + 50,\r\n y: h - h * 0.15,\r\n })\r\n )\r\n\r\n // 4. Bottom Right\r\n orbs.push(\r\n new AnchoredBlob({\r\n x: w - w * 0.05 - 50,\r\n y: h - h * 0.05 - 50,\r\n })\r\n )\r\n }\r\n\r\n const resize = () => {\r\n const rect = canvas.getBoundingClientRect()\r\n const newW = rect.width\r\n const newH = rect.height\r\n\r\n // Skip if the element has no size (e.g. during a layout transition)\r\n if (newW === 0 || newH === 0) return\r\n\r\n // Skip if size hasn't actually changed\r\n if (canvas.width === newW && canvas.height === newH) return\r\n\r\n canvas.width = newW\r\n canvas.height = newH\r\n initWorld()\r\n }\r\n\r\n const handleMouseMove = (e: MouseEvent) => {\r\n const rect = canvas.getBoundingClientRect()\r\n mouse.x = e.clientX - rect.left\r\n mouse.y = e.clientY - rect.top\r\n\r\n if (mouse.lastX === -1000) {\r\n mouse.lastX = mouse.x\r\n mouse.lastY = mouse.y\r\n }\r\n\r\n const dx = mouse.x - mouse.lastX\r\n const dy = mouse.y - mouse.lastY\r\n const dist = Math.sqrt(dx * dx + dy * dy)\r\n\r\n if (dist > 20) {\r\n trail.push(new TrailBlob(mouse.x, mouse.y))\r\n mouse.lastX = mouse.x\r\n mouse.lastY = mouse.y\r\n }\r\n }\r\n\r\n const draw = () => {\r\n const w = canvas.width\r\n const h = canvas.height\r\n\r\n // Clear Screen\r\n ctx.fillStyle = \"#050505\"\r\n ctx.fillRect(0, 0, w, h)\r\n\r\n // Static variant: just render uniform dots\r\n if (variant === \"static\") {\r\n for (let x = GAP / 2; x < w; x += GAP) {\r\n for (let y = GAP / 2; y < h; y += GAP) {\r\n ctx.fillStyle = \"rgba(47, 47, 47, 1)\"\r\n ctx.fillRect(x - 0.5, y - 0.5, 1, 1)\r\n }\r\n }\r\n return // No animation loop for static variant\r\n }\r\n\r\n // Animated variant: update and render with animations\r\n // Update Logic\r\n orbs.forEach((orb) => orb.update())\r\n for (let i = trail.length - 1; i >= 0; i--) {\r\n trail[i].update()\r\n if (trail[i].opacity <= 0) trail.splice(i, 1)\r\n }\r\n\r\n const renderList = [...orbs, ...trail]\r\n\r\n // Collect all glitch zones for easier checking inside the loop\r\n // We flat map them to a simple array to iterate quickly\r\n const allGlitches: GlitchZone[] = []\r\n orbs.forEach((o) => allGlitches.push(...o.glitchZones))\r\n\r\n for (let x = GAP / 2; x < w; x += GAP) {\r\n for (let y = GAP / 2; y < h; y += GAP) {\r\n // --- GLITCH CHECK ---\r\n // Check if this specific grid dot is inside a glitch zone\r\n let isGlitching = false\r\n for (const g of allGlitches) {\r\n // Simple AABB check\r\n if (x >= g.x && x <= g.x + g.w && y >= g.y && y <= g.y + g.h) {\r\n isGlitching = true\r\n break\r\n }\r\n }\r\n\r\n if (isGlitching) {\r\n // Glitched Dot: Bright\r\n // We use the grid itself to manifest the glitch\r\n ctx.fillStyle = \"rgba(182, 243, 191, 0.95)\"\r\n\r\n // Randomly skip some dots in the glitch line for a \"broken\" look\r\n if (Math.random() > 0.1) {\r\n const size = Math.random() > 0.5 ? MAX_SIZE * 0.7 : BASE_SIZE * 2\r\n ctx.beginPath()\r\n ctx.arc(x, y, size / 2, 0, Math.PI * 2)\r\n ctx.fill()\r\n }\r\n continue // Skip standard influence calculation for this dot\r\n }\r\n\r\n // --- STANDARD INFLUENCE CHECK ---\r\n let totalInfluence = 0\r\n\r\n // Optimization: Is near blob?\r\n let nearby = false\r\n for (const entity of renderList) {\r\n if (\r\n Math.abs(x - entity.x) < entity.maxReach &&\r\n Math.abs(y - entity.y) < entity.maxReach\r\n ) {\r\n nearby = true\r\n break\r\n }\r\n }\r\n\r\n if (!nearby) {\r\n // Passive Background Dot\r\n ctx.fillStyle = \"rgba(47, 47, 47, 1)\"\r\n ctx.fillRect(x - 0.5, y - 0.5, 1, 1)\r\n continue\r\n }\r\n\r\n // Calculate Influence\r\n for (const entity of renderList) {\r\n const dx = x - entity.x\r\n const dy = y - entity.y\r\n\r\n if (\r\n Math.abs(dx) > entity.maxReach ||\r\n Math.abs(dy) > entity.maxReach\r\n )\r\n continue\r\n\r\n let localInf = 0\r\n for (const node of entity.nodes) {\r\n const nx = dx - node.offsetX\r\n const ny = dy - node.offsetY\r\n const dist = Math.sqrt(nx * nx + ny * ny)\r\n localInf += getFalloff(dist, node.radius)\r\n }\r\n if (localInf > 1) localInf = 1\r\n totalInfluence += localInf * entity.opacity\r\n }\r\n\r\n if (totalInfluence > 1) totalInfluence = 1\r\n\r\n // Draw Cell\r\n if (totalInfluence > 0.01) {\r\n // Gradient: White (Edge) to Green (#B6F3BF - Center)\r\n const edgeR = 255,\r\n centerR = 182\r\n const edgeG = 255,\r\n centerG = 243\r\n const edgeB = 255,\r\n centerB = 191\r\n\r\n // Interpolate from White (0 influence) to Green (1 influence)\r\n const r = Math.floor(edgeR + (centerR - edgeR) * totalInfluence)\r\n const g = Math.floor(edgeG + (centerG - edgeG) * totalInfluence)\r\n const b = Math.floor(edgeB + (centerB - edgeB) * totalInfluence)\r\n\r\n const alpha = totalInfluence * 0.5\r\n const size = BASE_SIZE + totalInfluence * (MAX_SIZE - BASE_SIZE)\r\n\r\n ctx.fillStyle = `rgba(${r}, ${g}, ${b}, ${alpha})`\r\n ctx.beginPath()\r\n ctx.arc(x, y, size / 2, 0, Math.PI * 2)\r\n ctx.fill()\r\n } else {\r\n ctx.fillStyle = \"rgba(47, 47, 47, 1)\"\r\n ctx.fillRect(x - 0.5, y - 0.5, 1, 1)\r\n }\r\n }\r\n }\r\n\r\n animationFrameId = requestAnimationFrame(draw)\r\n }\r\n\r\n // Use ResizeObserver to detect element-level size changes\r\n // (catches CSS breakpoints, container queries, layout shifts — not just window resize)\r\n const resizeObserver = new ResizeObserver(() => {\r\n resize()\r\n // For the static variant, draw() returns early without scheduling\r\n // another frame, so we must explicitly redraw after a resize.\r\n if (variant === \"static\") {\r\n draw()\r\n }\r\n })\r\n resizeObserver.observe(canvas)\r\n\r\n if (variant === \"animated\") {\r\n window.addEventListener(\"mousemove\", handleMouseMove)\r\n }\r\n\r\n resize()\r\n draw()\r\n\r\n return () => {\r\n resizeObserver.disconnect()\r\n if (variant === \"animated\") {\r\n window.removeEventListener(\"mousemove\", handleMouseMove)\r\n }\r\n cancelAnimationFrame(animationFrameId)\r\n }\r\n }, [variant])\r\n\r\n return (\r\n <canvas\r\n ref={canvasRef}\r\n className=\"fixed inset-0 -z-999 w-full h-full pointer-events-none\"\r\n />\r\n )\r\n}\r\n\r\nexport default GeometricFluidGrid\r\n"],"mappings":";yCACA,OAAgB,aAAAA,EAAW,UAAAC,MAAc,QA+erC,cAAAC,MAAA,oBA5eJ,IAAMC,EAAM,GACNC,EAAY,EACZC,EAAW,EA4BXC,EAAa,CAACC,EAAcC,IAA2B,CAC3D,GAAID,EAAOC,EAAQ,CACjB,IAAMC,EAAM,EAAIF,EAAOC,EACvB,OAAOC,EAAMA,GAAO,EAAI,EAAIA,EAC9B,CACA,MAAO,EACT,EAGMC,EAAN,KAAmB,CAqBjB,YAAYC,EAAwC,CAnBpDC,EAAA,SAAY,GACZA,EAAA,SAAY,GAGZA,EAAA,eAAkB,GAClBA,EAAA,eAAkB,GAGlBA,EAAA,UAAa,GACbA,EAAA,UAAa,GAGbA,EAAA,aAAgB,CAAC,GACjBA,EAAA,eAAkB,GAGlBA,EAAA,m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AO,EACPM,EAAK,EAEE,IAAM,CACXe,EAAe,WAAW,EACtBlC,IAAY,YACd,OAAO,oBAAoB,YAAaiB,CAAe,EAEzD,qBAAqBX,CAAgB,CACvC,CACF,EAAG,CAACN,CAAO,CAAC,EAGVxC,EAAC,UACC,IAAKyC,EACL,UAAU,yDACZ,CAEJ,EAEOkC,EAAQpC","names":["useEffect","useRef","jsx","GAP","BASE_SIZE","MAX_SIZE","getFalloff","dist","radius","val","AnchoredBlob","anchorConfig","__publicField","nodeCount","i","r","ox","oy","dx","dy","k","ax","ay","wx","wy","node","maxDist","g","snap","v","rawCx","rawCy","cx","cy","isVert","len","thickness","TrailBlob","x","y","count","GeometricFluidGrid","variant","canvasRef","useRef","useEffect","canvas","ctx","animationFrameId","orbs","trail","mouse","initWorld","w","h","resize","rect","newW","newH","handleMouseMove","e","draw","orb","renderList","allGlitches","o","isGlitching","size","totalInfluence","nearby","entity","localInf","nx","ny","b","alpha","resizeObserver","GeometricFluidGrid_default"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{a as e}from"./chunk-
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
import{a as e}from"./chunk-AJM7GGVC.mjs";import*as a from"react";import{jsx as s}from"react/jsx-runtime";var r=a.forwardRef(({className:l,...t},o)=>s("label",{ref:o,className:e("text-sm font-medium leading-5 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",l),...t}));r.displayName="Label";export{r as a};
|
|
3
|
+
//# sourceMappingURL=chunk-NMU4NNZ2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/label.tsx"],"sourcesContent":["\"use client\"\r\n\r\nimport * as React from \"react\"\r\nimport { cn } from \"@/lib/utils\"\r\n\r\nexport interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {}\r\n\r\nconst Label = React.forwardRef<HTMLLabelElement, LabelProps>(\r\n ({ className, ...props }, ref) => (\r\n <label\r\n ref={ref}\r\n className={cn(\r\n \"text-sm font-medium leading-5 peer-disabled:cursor-not-allowed peer-disabled:opacity-70\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n )\r\n)\r\nLabel.displayName = \"Label\"\r\n\r\nexport { Label }\r\n"],"mappings":";yCAEA,UAAYA,MAAW,QAOnB,cAAAC,MAAA,oBAFJ,IAAMC,EAAc,aAClB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACxBJ,EAAC,SACC,IAAKI,EACL,UAAWC,EACT,0FACAH,CACF,EACC,GAAGC,EACN,CAEJ,EACAF,EAAM,YAAc","names":["React","jsx","Label","className","props","ref","cn"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{a as t}from"./chunk-
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
import{a as t}from"./chunk-AJM7GGVC.mjs";import*as e from"react";import*as o from"@radix-ui/react-separator";import{jsx as l}from"react/jsx-runtime";var f=e.forwardRef(({className:a,orientation:r="horizontal",decorative:i=!0,...p},m)=>l(o.Root,{ref:m,decorative:i,orientation:r,className:t("shrink-0 bg-border",r==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",a),...p}));f.displayName=o.Root.displayName;export{f as a};
|
|
3
|
+
//# sourceMappingURL=chunk-O2FPBOOV.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/separator.tsx"],"sourcesContent":["\"use client\"\r\n\r\nimport * as React from \"react\"\r\nimport * as SeparatorPrimitive from \"@radix-ui/react-separator\"\r\n\r\nimport { cn } from \"@/lib/utils\"\r\n\r\nconst Separator = React.forwardRef<\r\n React.ElementRef<typeof SeparatorPrimitive.Root>,\r\n React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>\r\n>(\r\n (\r\n { className, orientation = \"horizontal\", decorative = true, ...props },\r\n ref\r\n ) => (\r\n <SeparatorPrimitive.Root\r\n ref={ref}\r\n decorative={decorative}\r\n orientation={orientation}\r\n className={cn(\r\n \"shrink-0 bg-border\",\r\n orientation === \"horizontal\" ? \"h-[1px] w-full\" : \"h-full w-[1px]\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n )\r\n)\r\nSeparator.displayName = SeparatorPrimitive.Root.displayName\r\n\r\nexport { Separator }\r\n"],"mappings":";yCAEA,UAAYA,MAAW,QACvB,UAAYC,MAAwB,4BAYhC,cAAAC,MAAA,oBARJ,IAAMC,EAAkB,aAItB,CACE,CAAE,UAAAC,EAAW,YAAAC,EAAc,aAAc,WAAAC,EAAa,GAAM,GAAGC,CAAM,EACrEC,IAEAN,EAAoB,OAAnB,CACC,IAAKM,EACL,WAAYF,EACZ,YAAaD,EACb,UAAWI,EACT,qBACAJ,IAAgB,aAAe,iBAAmB,iBAClDD,CACF,EACC,GAAGG,EACN,CAEJ,EACAJ,EAAU,YAAiC,OAAK","names":["React","SeparatorPrimitive","jsx","Separator","className","orientation","decorative","props","ref","cn"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";
|
|
2
|
-
var
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
var _chunkVBARF35Njs = require('./chunk-VBARF35N.js');var _react = require('react'); var a = _interopRequireWildcard(_react);var _jsxruntime = require('react/jsx-runtime');var r=a.forwardRef(({className:l,...t},o)=>_jsxruntime.jsx.call(void 0, "label",{ref:o,className:_chunkVBARF35Njs.a.call(void 0, "text-sm font-medium leading-5 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",l),...t}));r.displayName="Label";exports.a = r;
|
|
3
|
+
//# sourceMappingURL=chunk-OCAU343S.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["c:\\Users\\Dell\\Documents\\NextJS\\alkimi-ui-kit\\dist\\chunk-OCAU343S.js"],"names":[],"mappings":"AAAA,uWAAY;AACZ,sDAAuC,uEAAwB,+CAAwC,IAAK,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,6BAAC,OAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,gCAAC,yFAA0F,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,cAAc","file":"C:\\Users\\Dell\\Documents\\NextJS\\alkimi-ui-kit\\dist\\chunk-OCAU343S.js","sourcesContent":[null]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{a as s}from"./chunk-
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
import{a as s}from"./chunk-AJM7GGVC.mjs";import*as r from"react";import*as e from"@radix-ui/react-dialog";import{cva as c}from"class-variance-authority";import{X as p}from"lucide-react";import{jsx as a,jsxs as n}from"react/jsx-runtime";var x=e.Root,N=e.Trigger,C=e.Close,f=e.Portal,m=r.forwardRef(({className:t,...i},o)=>a(e.Overlay,{className:s("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...i,ref:o}));m.displayName=e.Overlay.displayName;var h=c("fixed z-50 gap-4 bg-sheet p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-200 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),S=r.forwardRef(({side:t="right",className:i,children:o,...l},d)=>n(f,{children:[a(m,{}),n(e.Content,{ref:d,className:s(h({side:t}),i),...l,children:[o,n(e.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[a(p,{className:"h-4 w-4"}),a("span",{className:"sr-only",children:"Close"})]})]})]}));S.displayName=e.Content.displayName;var v=({className:t,...i})=>a("div",{className:s("flex flex-col space-y-2 text-center sm:text-left",t),...i});v.displayName="SheetHeader";var y=({className:t,...i})=>a("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...i});y.displayName="SheetFooter";var P=r.forwardRef(({className:t,...i},o)=>a(e.Title,{ref:o,className:s("text-lg font-semibold text-primary-accent",t),...i}));P.displayName=e.Title.displayName;var u=r.forwardRef(({className:t,...i},o)=>a(e.Description,{ref:o,className:s("text-sm text-muted-foreground",t),...i}));u.displayName=e.Description.displayName;export{x as a,N as b,C as c,f as d,m as e,S as f,v as g,y as h,P as i,u as j};
|
|
3
|
+
//# sourceMappingURL=chunk-PBOK6TUC.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/sheet.tsx"],"sourcesContent":["\"use client\"\r\n\r\nimport * as React from \"react\"\r\nimport * as SheetPrimitive from \"@radix-ui/react-dialog\"\r\nimport { cva, type VariantProps } from \"class-variance-authority\"\r\nimport { X } from \"lucide-react\"\r\n\r\nimport { cn } from \"@/lib/utils\"\r\n\r\nconst Sheet = SheetPrimitive.Root\r\n\r\nconst SheetTrigger = SheetPrimitive.Trigger\r\n\r\nconst SheetClose = SheetPrimitive.Close\r\n\r\nconst SheetPortal = SheetPrimitive.Portal\r\n\r\nconst SheetOverlay = React.forwardRef<\r\n React.ElementRef<typeof SheetPrimitive.Overlay>,\r\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay>\r\n>(({ className, ...props }, ref) => (\r\n <SheetPrimitive.Overlay\r\n className={cn(\r\n \"fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\r\n className\r\n )}\r\n {...props}\r\n ref={ref}\r\n />\r\n))\r\nSheetOverlay.displayName = SheetPrimitive.Overlay.displayName\r\n\r\nconst sheetVariants = cva(\r\n \"fixed z-50 gap-4 bg-sheet p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-200 data-[state=open]:duration-500\",\r\n {\r\n variants: {\r\n side: {\r\n top: \"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top\",\r\n bottom:\r\n \"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom\",\r\n left: \"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm\",\r\n right:\r\n \"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm\",\r\n },\r\n },\r\n defaultVariants: {\r\n side: \"right\",\r\n },\r\n }\r\n)\r\n\r\ninterface SheetContentProps\r\n extends\r\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,\r\n VariantProps<typeof sheetVariants> {}\r\n\r\nconst SheetContent = React.forwardRef<\r\n React.ElementRef<typeof SheetPrimitive.Content>,\r\n SheetContentProps\r\n>(({ side = \"right\", className, children, ...props }, ref) => (\r\n <SheetPortal>\r\n <SheetOverlay />\r\n <SheetPrimitive.Content\r\n ref={ref}\r\n className={cn(sheetVariants({ side }), className)}\r\n {...props}\r\n >\r\n {children}\r\n <SheetPrimitive.Close className=\"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary\">\r\n <X className=\"h-4 w-4\" />\r\n <span className=\"sr-only\">Close</span>\r\n </SheetPrimitive.Close>\r\n </SheetPrimitive.Content>\r\n </SheetPortal>\r\n))\r\nSheetContent.displayName = SheetPrimitive.Content.displayName\r\n\r\nconst SheetHeader = ({\r\n className,\r\n ...props\r\n}: React.HTMLAttributes<HTMLDivElement>) => (\r\n <div\r\n className={cn(\r\n \"flex flex-col space-y-2 text-center sm:text-left\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n)\r\nSheetHeader.displayName = \"SheetHeader\"\r\n\r\nconst SheetFooter = ({\r\n className,\r\n ...props\r\n}: React.HTMLAttributes<HTMLDivElement>) => (\r\n <div\r\n className={cn(\r\n \"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n)\r\nSheetFooter.displayName = \"SheetFooter\"\r\n\r\nconst SheetTitle = React.forwardRef<\r\n React.ElementRef<typeof SheetPrimitive.Title>,\r\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>\r\n>(({ className, ...props }, ref) => (\r\n <SheetPrimitive.Title\r\n ref={ref}\r\n className={cn(\"text-lg font-semibold text-primary-accent\", className)}\r\n {...props}\r\n />\r\n))\r\nSheetTitle.displayName = SheetPrimitive.Title.displayName\r\n\r\nconst SheetDescription = React.forwardRef<\r\n React.ElementRef<typeof SheetPrimitive.Description>,\r\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>\r\n>(({ className, ...props }, ref) => (\r\n <SheetPrimitive.Description\r\n ref={ref}\r\n className={cn(\"text-sm text-muted-foreground\", className)}\r\n {...props}\r\n />\r\n))\r\nSheetDescription.displayName = SheetPrimitive.Description.displayName\r\n\r\nexport {\r\n Sheet,\r\n SheetPortal,\r\n SheetOverlay,\r\n SheetTrigger,\r\n SheetClose,\r\n SheetContent,\r\n SheetHeader,\r\n SheetFooter,\r\n SheetTitle,\r\n SheetDescription,\r\n}\r\n"],"mappings":";yCAEA,UAAYA,MAAW,QACvB,UAAYC,MAAoB,yBAChC,OAAS,OAAAC,MAA8B,2BACvC,OAAS,KAAAC,MAAS,eAgBhB,cAAAC,EA+CI,QAAAC,MA/CJ,oBAZF,IAAMC,EAAuB,OAEvBC,EAA8B,UAE9BC,EAA4B,QAE5BC,EAA6B,SAE7BC,EAAqB,aAGzB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAC1BT,EAAgB,UAAf,CACC,UAAWU,EACT,+KACAH,CACF,EACC,GAAGC,EACJ,IAAKC,EACP,CACD,EACDH,EAAa,YAA6B,UAAQ,YAElD,IAAMK,EAAgBC,EACpB,8LACA,CACE,SAAU,CACR,KAAM,CACJ,IAAK,oGACL,OACE,6GACF,KAAM,gIACN,MACE,mIACJ,CACF,EACA,gBAAiB,CACf,KAAM,OACR,CACF,CACF,EAOMC,EAAqB,aAGzB,CAAC,CAAE,KAAAC,EAAO,QAAS,UAAAP,EAAW,SAAAQ,EAAU,GAAGP,CAAM,EAAGC,IACpDR,EAACI,EAAA,CACC,UAAAL,EAACM,EAAA,EAAa,EACdL,EAAgB,UAAf,CACC,IAAKQ,EACL,UAAWC,EAAGC,EAAc,CAAE,KAAAG,CAAK,CAAC,EAAGP,CAAS,EAC/C,GAAGC,EAEH,UAAAO,EACDd,EAAgB,QAAf,CAAqB,UAAU,2OAC9B,UAAAD,EAACgB,EAAA,CAAE,UAAU,UAAU,EACvBhB,EAAC,QAAK,UAAU,UAAU,iBAAK,GACjC,GACF,GACF,CACD,EACDa,EAAa,YAA6B,UAAQ,YAElD,IAAMI,EAAc,CAAC,CACnB,UAAAV,EACA,GAAGC,CACL,IACER,EAAC,OACC,UAAWU,EACT,mDACAH,CACF,EACC,GAAGC,EACN,EAEFS,EAAY,YAAc,cAE1B,IAAMC,EAAc,CAAC,CACnB,UAAAX,EACA,GAAGC,CACL,IACER,EAAC,OACC,UAAWU,EACT,gEACAH,CACF,EACC,GAAGC,EACN,EAEFU,EAAY,YAAc,cAE1B,IAAMC,EAAmB,aAGvB,CAAC,CAAE,UAAAZ,EAAW,GAAGC,CAAM,EAAGC,IAC1BT,EAAgB,QAAf,CACC,IAAKS,EACL,UAAWC,EAAG,4CAA6CH,CAAS,EACnE,GAAGC,EACN,CACD,EACDW,EAAW,YAA6B,QAAM,YAE9C,IAAMC,EAAyB,aAG7B,CAAC,CAAE,UAAAb,EAAW,GAAGC,CAAM,EAAGC,IAC1BT,EAAgB,cAAf,CACC,IAAKS,EACL,UAAWC,EAAG,gCAAiCH,CAAS,EACvD,GAAGC,EACN,CACD,EACDY,EAAiB,YAA6B,cAAY","names":["React","SheetPrimitive","cva","X","jsx","jsxs","Sheet","SheetTrigger","SheetClose","SheetPortal","SheetOverlay","className","props","ref","cn","sheetVariants","cva","SheetContent","side","children","X","SheetHeader","SheetFooter","SheetTitle","SheetDescription"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{a}from"./chunk-
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
import{a}from"./chunk-AJM7GGVC.mjs";import*as d from"react";import*as e from"@radix-ui/react-dropdown-menu";import{Check as m,ChevronRight as u,Circle as l}from"lucide-react";import{jsx as i,jsxs as s}from"react/jsx-runtime";var g=e.Root,N=e.Trigger,x=e.Group,C=e.Portal,I=e.Sub,S=e.RadioGroup,c=d.forwardRef(({className:o,inset:t,children:n,...r},p)=>s(e.SubTrigger,{ref:p,className:a("flex cursor-default select-none items-center rounded-[12px] px-2 py-1.5 text-sm outline-none transition-colors hover:bg-secondary focus:bg-secondary data-[state=open]:bg-secondary",t&&"pl-8",o),...r,children:[n,i(u,{className:"ml-auto h-4 w-4"})]}));c.displayName=e.SubTrigger.displayName;var f=d.forwardRef(({className:o,...t},n)=>i(e.SubContent,{ref:n,className:a("z-50 min-w-32 overflow-hidden rounded-md border bg-dropdown-menu p-1 text-dropdown-menu-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o),...t}));f.displayName=e.SubContent.displayName;var w=d.forwardRef(({className:o,sideOffset:t=4,...n},r)=>i(e.Portal,{children:i(e.Content,{ref:r,sideOffset:t,className:a("z-50 min-w-32 overflow-hidden rounded-xl border border-border bg-dropdown-menu p-1 text-dropdown-menu-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o),...n})}));w.displayName=e.Content.displayName;var M=d.forwardRef(({className:o,inset:t,...n},r)=>i(e.Item,{ref:r,className:a("relative flex cursor-pointer select-none items-center rounded-[12px] p-2 text-sm outline-none transition-colors hover:bg-secondary focus:bg-secondary data-disabled:pointer-events-none data-disabled:opacity-50",t&&"pl-8",o),...n}));M.displayName=e.Item.displayName;var D=d.forwardRef(({className:o,children:t,checked:n,...r},p)=>s(e.CheckboxItem,{ref:p,className:a("relative flex cursor-default select-none items-center rounded-[12px] py-1.5 pl-8 pr-2 text-sm outline-none transition-colors hover:bg-secondary focus:bg-secondary data-disabled:pointer-events-none data-disabled:opacity-50",o),checked:n,...r,children:[i("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i(e.ItemIndicator,{children:i(m,{className:"h-4 w-4"})})}),t]}));D.displayName=e.CheckboxItem.displayName;var v=d.forwardRef(({className:o,children:t,...n},r)=>s(e.RadioItem,{ref:r,className:a("relative flex cursor-default select-none items-center rounded-[12px] py-1.5 pl-8 pr-2 text-sm outline-none transition-colors hover:bg-secondary focus:bg-secondary data-disabled:pointer-events-none data-disabled:opacity-50",o),...n,children:[i("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i(e.ItemIndicator,{children:i(l,{className:"h-2 w-2 fill-current"})})}),t]}));v.displayName=e.RadioItem.displayName;var P=d.forwardRef(({className:o,inset:t,...n},r)=>i(e.Label,{ref:r,className:a("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",o),...n}));P.displayName=e.Label.displayName;var R=d.forwardRef(({className:o,...t},n)=>i(e.Separator,{ref:n,className:a("-mx-1 my-1 h-px bg-muted",o),...t}));R.displayName=e.Separator.displayName;var b=({className:o,...t})=>i("span",{className:a("ml-auto text-xs tracking-widest opacity-60",o),...t});b.displayName="DropdownMenuShortcut";export{g as a,N as b,x as c,C as d,I as e,S as f,c as g,f as h,w as i,M as j,D as k,v as l,P as m,R as n,b as o};
|
|
3
|
+
//# sourceMappingURL=chunk-QP4A5SPE.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/dropdown-menu.tsx"],"sourcesContent":["\"use client\"\r\n\r\nimport * as React from \"react\"\r\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\"\r\nimport { Check, ChevronRight, Circle } from \"lucide-react\"\r\n\r\nimport { cn } from \"@/lib/utils\"\r\n\r\nconst DropdownMenu = DropdownMenuPrimitive.Root\r\n\r\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger\r\n\r\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group\r\n\r\nconst DropdownMenuPortal = DropdownMenuPrimitive.Portal\r\n\r\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub\r\n\r\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup\r\n\r\nconst DropdownMenuSubTrigger = React.forwardRef<\r\n React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,\r\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {\r\n inset?: boolean\r\n }\r\n>(({ className, inset, children, ...props }, ref) => (\r\n <DropdownMenuPrimitive.SubTrigger\r\n ref={ref}\r\n className={cn(\r\n \"flex cursor-default select-none items-center rounded-[12px] px-2 py-1.5 text-sm outline-none transition-colors hover:bg-secondary focus:bg-secondary data-[state=open]:bg-secondary\",\r\n inset && \"pl-8\",\r\n className\r\n )}\r\n {...props}\r\n >\r\n {children}\r\n <ChevronRight className=\"ml-auto h-4 w-4\" />\r\n </DropdownMenuPrimitive.SubTrigger>\r\n))\r\nDropdownMenuSubTrigger.displayName =\r\n DropdownMenuPrimitive.SubTrigger.displayName\r\n\r\nconst DropdownMenuSubContent = React.forwardRef<\r\n React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,\r\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>\r\n>(({ className, ...props }, ref) => (\r\n <DropdownMenuPrimitive.SubContent\r\n ref={ref}\r\n className={cn(\r\n \"z-50 min-w-32 overflow-hidden rounded-md border bg-dropdown-menu p-1 text-dropdown-menu-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n))\r\nDropdownMenuSubContent.displayName =\r\n DropdownMenuPrimitive.SubContent.displayName\r\n\r\nconst DropdownMenuContent = React.forwardRef<\r\n React.ElementRef<typeof DropdownMenuPrimitive.Content>,\r\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>\r\n>(({ className, sideOffset = 4, ...props }, ref) => (\r\n <DropdownMenuPrimitive.Portal>\r\n <DropdownMenuPrimitive.Content\r\n ref={ref}\r\n sideOffset={sideOffset}\r\n className={cn(\r\n \"z-50 min-w-32 overflow-hidden rounded-xl border border-border bg-dropdown-menu p-1 text-dropdown-menu-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n </DropdownMenuPrimitive.Portal>\r\n))\r\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName\r\n\r\nconst DropdownMenuItem = React.forwardRef<\r\n React.ElementRef<typeof DropdownMenuPrimitive.Item>,\r\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {\r\n inset?: boolean\r\n }\r\n>(({ className, inset, ...props }, ref) => (\r\n <DropdownMenuPrimitive.Item\r\n ref={ref}\r\n className={cn(\r\n \"relative flex cursor-pointer select-none items-center rounded-[12px] p-2 text-sm outline-none transition-colors hover:bg-secondary focus:bg-secondary data-disabled:pointer-events-none data-disabled:opacity-50\",\r\n inset && \"pl-8\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n))\r\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName\r\n\r\nconst DropdownMenuCheckboxItem = React.forwardRef<\r\n React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,\r\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>\r\n>(({ className, children, checked, ...props }, ref) => (\r\n <DropdownMenuPrimitive.CheckboxItem\r\n ref={ref}\r\n className={cn(\r\n \"relative flex cursor-default select-none items-center rounded-[12px] py-1.5 pl-8 pr-2 text-sm outline-none transition-colors hover:bg-secondary focus:bg-secondary data-disabled:pointer-events-none data-disabled:opacity-50\",\r\n className\r\n )}\r\n checked={checked}\r\n {...props}\r\n >\r\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\r\n <DropdownMenuPrimitive.ItemIndicator>\r\n <Check className=\"h-4 w-4\" />\r\n </DropdownMenuPrimitive.ItemIndicator>\r\n </span>\r\n {children}\r\n </DropdownMenuPrimitive.CheckboxItem>\r\n))\r\nDropdownMenuCheckboxItem.displayName =\r\n DropdownMenuPrimitive.CheckboxItem.displayName\r\n\r\nconst DropdownMenuRadioItem = React.forwardRef<\r\n React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,\r\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>\r\n>(({ className, children, ...props }, ref) => (\r\n <DropdownMenuPrimitive.RadioItem\r\n ref={ref}\r\n className={cn(\r\n \"relative flex cursor-default select-none items-center rounded-[12px] py-1.5 pl-8 pr-2 text-sm outline-none transition-colors hover:bg-secondary focus:bg-secondary data-disabled:pointer-events-none data-disabled:opacity-50\",\r\n className\r\n )}\r\n {...props}\r\n >\r\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\r\n <DropdownMenuPrimitive.ItemIndicator>\r\n <Circle className=\"h-2 w-2 fill-current\" />\r\n </DropdownMenuPrimitive.ItemIndicator>\r\n </span>\r\n {children}\r\n </DropdownMenuPrimitive.RadioItem>\r\n))\r\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName\r\n\r\nconst DropdownMenuLabel = React.forwardRef<\r\n React.ElementRef<typeof DropdownMenuPrimitive.Label>,\r\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\r\n inset?: boolean\r\n }\r\n>(({ className, inset, ...props }, ref) => (\r\n <DropdownMenuPrimitive.Label\r\n ref={ref}\r\n className={cn(\r\n \"px-2 py-1.5 text-sm font-semibold\",\r\n inset && \"pl-8\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n))\r\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName\r\n\r\nconst DropdownMenuSeparator = React.forwardRef<\r\n React.ElementRef<typeof DropdownMenuPrimitive.Separator>,\r\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>\r\n>(({ className, ...props }, ref) => (\r\n <DropdownMenuPrimitive.Separator\r\n ref={ref}\r\n className={cn(\"-mx-1 my-1 h-px bg-muted\", className)}\r\n {...props}\r\n />\r\n))\r\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName\r\n\r\nconst DropdownMenuShortcut = ({\r\n className,\r\n ...props\r\n}: React.HTMLAttributes<HTMLSpanElement>) => {\r\n return (\r\n <span\r\n className={cn(\"ml-auto text-xs tracking-widest opacity-60\", className)}\r\n {...props}\r\n />\r\n )\r\n}\r\nDropdownMenuShortcut.displayName = \"DropdownMenuShortcut\"\r\n\r\nexport {\r\n DropdownMenu,\r\n DropdownMenuTrigger,\r\n DropdownMenuContent,\r\n DropdownMenuItem,\r\n DropdownMenuCheckboxItem,\r\n DropdownMenuRadioItem,\r\n DropdownMenuLabel,\r\n DropdownMenuSeparator,\r\n DropdownMenuShortcut,\r\n DropdownMenuGroup,\r\n DropdownMenuPortal,\r\n DropdownMenuSub,\r\n DropdownMenuSubContent,\r\n DropdownMenuSubTrigger,\r\n DropdownMenuRadioGroup,\r\n}\r\n"],"mappings":";oCAEA,UAAYA,MAAW,QACvB,UAAYC,MAA2B,gCACvC,OAAS,SAAAC,EAAO,gBAAAC,EAAc,UAAAC,MAAc,eAsB1C,OAUE,OAAAC,EAVF,QAAAC,MAAA,oBAlBF,IAAMC,EAAqC,OAErCC,EAA4C,UAE5CC,EAA0C,QAE1CC,EAA2C,SAE3CC,EAAwC,MAExCC,EAA+C,aAE/CC,EAA+B,aAKnC,CAAC,CAAE,UAAAC,EAAW,MA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,EAA8B,aAGlC,CAAC,CAAE,UAAAd,EAAW,SAAAE,EAAU,GAAGC,CAAM,EAAGC,IACpCZ,EAAuB,YAAtB,CACC,IAAKY,EACL,UAAWC,EACT,gOACAL,CACF,EACC,GAAGG,EAEJ,UAAAZ,EAAC,QAAK,UAAU,+DACd,SAAAA,EAAuB,gBAAtB,CACC,SAAAA,EAACwB,EAAA,CAAO,UAAU,uBAAuB,EAC3C,EACF,EACCb,GACH,CACD,EACDY,EAAsB,YAAoC,YAAU,YAEpE,IAAME,EAA0B,aAK9B,CAAC,CAAE,UAAAhB,EAAW,MAAAC,EAAO,GAAGE,CAAM,EAAGC,IACjCb,EAAuB,QAAtB,CACC,IAAKa,EACL,UAAWC,EACT,oCACAJ,GAAS,OACTD,CACF,EACC,GAAGG,EACN,CACD,EACDa,EAAkB,YAAoC,QAAM,YAE5D,IAAMC,EAA8B,aAGlC,CAAC,CAAE,UAAAjB,EAAW,GAAGG,CAAM,EAAGC,IAC1Bb,EAAuB,YAAtB,CACC,IAAKa,EACL,UAAWC,EAAG,2BAA4BL,CAAS,EAClD,GAAGG,EACN,CACD,EACDc,EAAsB,YAAoC,YAAU,YAEpE,IAAMC,EAAuB,CAAC,CAC5B,UAAAlB,EACA,GAAGG,CACL,IAEIZ,EAAC,QACC,UAAWc,EAAG,6CAA8CL,CAAS,EACpE,GAAGG,EACN,EAGJe,EAAqB,YAAc","names":["React","DropdownMenuPrimitive","Check","ChevronRight","Circle","jsx","jsxs","DropdownMenu","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuPortal","DropdownMenuSub","DropdownMenuRadioGroup","DropdownMenuSubTrigger","className","inset","children","props","ref","cn","ChevronRight","DropdownMenuSubContent","DropdownMenuContent","sideOffset","DropdownMenuItem","DropdownMenuCheckboxItem","checked","Check","DropdownMenuRadioItem","Circle","DropdownMenuLabel","DropdownMenuSeparator","DropdownMenuShortcut"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";
|
|
2
|
-
var
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
var _chunkVBARF35Njs = require('./chunk-VBARF35N.js');var _react = require('react'); var o = _interopRequireWildcard(_react);var _reactslot = require('@radix-ui/react-slot');var _classvarianceauthority = require('class-variance-authority');var _jsxruntime = require('react/jsx-runtime');var m=_classvarianceauthority.cva.call(void 0, "inline-flex items-center cursor-pointer justify-center whitespace-nowrap rounded-4xl font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 active:opacity-50 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary-accent text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive hover:bg-destructive/90",outline:"border border-input hover:bg-base-accent text-primary-accent",secondary:"bg-muted text-primary-accent hover:bg-muted/20",ghost:"hover:bg-base-accent text-primary-accent",link:"text-primary-accent underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 text-sm",sm:"h-8 text-xs px-3 py-2",lg:"h-10 px-8 py-2 text-sm",icon:"h-9 w-9",none:""}},defaultVariants:{variant:"default",size:"default"}}),f= exports.b =o.forwardRef(({className:i,variant:s,size:c,asChild:d=!1,loading:e=!1,icon:r,...t},u)=>_jsxruntime.jsxs.call(void 0, d?_reactslot.Slot:"button",{className:_chunkVBARF35Njs.a.call(void 0, m({variant:s,size:c,className:i})),ref:u,disabled:e||t.disabled,...t,children:[e&&_jsxruntime.jsx.call(void 0, "div",{className:"mr-2 h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent"}),!e&&r&&_jsxruntime.jsx.call(void 0, "span",{className:"mr-2",children:r}),t.children]}));f.displayName="Button";exports.a = m; exports.b = f;
|
|
3
|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Q,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,6BAAC,KAAM,CAAC,CAAC,SAAS,CAAC,qFAAqF,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,6BAAC,MAAO,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,6BAAqB","file":"C:\\Users\\Dell\\Documents\\NextJS\\alkimi-ui-kit\\dist\\chunk-QP7CDVWG.js","sourcesContent":[null]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{sileo as s,Toaster as o}from"sileo";import{jsx as e}from"react/jsx-runtime";function p({...t}){return e(o,{options:{fill:"#000000",styles:{title:"text-primary-accent!",description:"text-secondary-text!",badge:"bg-white/20!",button:"bg-white/10!"}},...t})}export{s as a,p as b};
|
|
3
|
+
//# sourceMappingURL=chunk-QUDNJOXZ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/toast.tsx"],"sourcesContent":["\"use client\"\r\n\r\nimport { sileo, Toaster as SileoToaster } from \"sileo\"\r\nimport type { ComponentProps } from \"react\"\r\n\r\ntype ToasterProps = ComponentProps<typeof SileoToaster>\r\n\r\nfunction Toaster({ ...props }: ToasterProps) {\r\n return (\r\n <SileoToaster\r\n options={{\r\n fill: \"#000000\",\r\n styles: {\r\n title: \"text-primary-accent!\",\r\n description: \"text-secondary-text!\",\r\n badge: \"bg-white/20!\",\r\n button: \"bg-white/10!\",\r\n },\r\n }}\r\n {...props}\r\n />\r\n )\r\n}\r\n\r\nexport { Toaster, sileo as toast }"],"mappings":";AAEA,OAAS,SAAAA,EAAO,WAAWC,MAAoB,QAO3C,cAAAC,MAAA,oBAFJ,SAASC,EAAQ,CAAE,GAAGC,CAAM,EAAiB,CAC3C,OACEF,EAACD,EAAA,CACC,QAAS,CACP,KAAM,UACN,OAAQ,CACN,MAAO,uBACP,YAAa,uBACb,MAAO,eACP,OAAQ,cACV,CACF,EACC,GAAGG,EACN,CAEJ","names":["sileo","SileoToaster","jsx","Toaster","props"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";
|
|
2
|
-
var
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
var _chunkVBARF35Njs = require('./chunk-VBARF35N.js');var _react = require('react'); var r = _interopRequireWildcard(_react);var _reactdialog = require('@radix-ui/react-dialog'); var e = _interopRequireWildcard(_reactdialog);var _classvarianceauthority = require('class-variance-authority');var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');var x=e.Root,N= exports.b =e.Trigger,C= exports.c =e.Close,f= exports.d =e.Portal,m= exports.e =r.forwardRef(({className:t,...i},o)=>_jsxruntime.jsx.call(void 0, e.Overlay,{className:_chunkVBARF35Njs.a.call(void 0, "fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...i,ref:o}));m.displayName=e.Overlay.displayName;var h=_classvarianceauthority.cva.call(void 0, "fixed z-50 gap-4 bg-sheet p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-200 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),S= exports.f =r.forwardRef(({side:t="right",className:i,children:o,...l},d)=>_jsxruntime.jsxs.call(void 0, f,{children:[_jsxruntime.jsx.call(void 0, m,{}),_jsxruntime.jsxs.call(void 0, e.Content,{ref:d,className:_chunkVBARF35Njs.a.call(void 0, h({side:t}),i),...l,children:[o,_jsxruntime.jsxs.call(void 0, e.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[_jsxruntime.jsx.call(void 0, _lucidereact.X,{className:"h-4 w-4"}),_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"Close"})]})]})]}));S.displayName=e.Content.displayName;var v=({className:t,...i})=>_jsxruntime.jsx.call(void 0, "div",{className:_chunkVBARF35Njs.a.call(void 0, "flex flex-col space-y-2 text-center sm:text-left",t),...i});v.displayName="SheetHeader";var y=({className:t,...i})=>_jsxruntime.jsx.call(void 0, "div",{className:_chunkVBARF35Njs.a.call(void 0, "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...i});y.displayName="SheetFooter";var P=r.forwardRef(({className:t,...i},o)=>_jsxruntime.jsx.call(void 0, e.Title,{ref:o,className:_chunkVBARF35Njs.a.call(void 0, "text-lg font-semibold text-primary-accent",t),...i}));P.displayName=e.Title.displayName;var u=r.forwardRef(({className:t,...i},o)=>_jsxruntime.jsx.call(void 0, e.Description,{ref:o,className:_chunkVBARF35Njs.a.call(void 0, "text-sm text-muted-foreground",t),...i}));u.displayName=e.Description.displayName;exports.a = x; exports.b = N; exports.c = C; exports.d = f; exports.e = m; exports.f = S; exports.g = v; exports.h = y; exports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AAC,2CAA4C,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,6BAAC,CAAE,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,gCAAC,+BAAgC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,WAAW,CAAC,qJAA6E","file":"C:\\Users\\Dell\\Documents\\NextJS\\alkimi-ui-kit\\dist\\chunk-S7CZVGW7.js","sourcesContent":[null]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";
|
|
2
|
-
var
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
var _chunkVBARF35Njs = require('./chunk-VBARF35N.js');var _react = require('react'); var d = _interopRequireWildcard(_react);var _reacttooltip = require('@radix-ui/react-tooltip'); var t = _interopRequireWildcard(_reacttooltip);var _jsxruntime = require('react/jsx-runtime');var s=t.Provider,f= exports.b =t.Root,P= exports.c =t.Trigger,n= exports.d =d.forwardRef(({className:i,sideOffset:e=4,asChild:r,...a},l)=>r?_jsxruntime.jsx.call(void 0, t.Portal,{children:_jsxruntime.jsx.call(void 0, t.Content,{ref:l,sideOffset:e,asChild:r,className:i,...a})}):_jsxruntime.jsx.call(void 0, t.Portal,{children:_jsxruntime.jsx.call(void 0, t.Content,{ref:l,sideOffset:e,className:_chunkVBARF35Njs.a.call(void 0, "z-50 overflow-hidden rounded-xl border border-border bg-tooltip px-4 py-2 text-sm text-primary-accent shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",i),...a})}));n.displayName=t.Content.displayName;exports.a = s; exports.b = f; exports.c = P; exports.d = n;
|
|
3
|
+
//# sourceMappingURL=chunk-SN3YJA4C.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["c:\\Users\\Dell\\Documents\\NextJS\\alkimi-ui-kit\\dist\\chunk-SN3YJA4C.js"],"names":[],"mappings":"AAAA,uWAAY;AACZ,sDAAuC,uEAAwB,uGAA0C,+CAAwC,IAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,aAAC,CAAC,CAAC,IAAI,CAAC,CAAC,aAAC,CAAC,CAAC,OAAO,CAAC,CAAC,aAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,6BAAC,CAAE,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,6BAAC,CAAE,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,6BAAC,CAAE,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,6BAAC,CAAE,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,gCAAC,4YAA6Y,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,2DAAmC","file":"C:\\Users\\Dell\\Documents\\NextJS\\alkimi-ui-kit\\dist\\chunk-SN3YJA4C.js","sourcesContent":[null]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";
|
|
2
|
-
var
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
var _chunkVBARF35Njs = require('./chunk-VBARF35N.js');var _react = require('react'); var o = _interopRequireWildcard(_react);var _reactcheckbox = require('@radix-ui/react-checkbox'); var e = _interopRequireWildcard(_reactcheckbox);var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');var s=o.forwardRef(({className:a,...r},c)=>_jsxruntime.jsx.call(void 0, e.Root,{ref:c,className:_chunkVBARF35Njs.a.call(void 0, "group peer h-4 w-4 bg-background shrink-0 rounded-xs border border-accent-muted 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-accent data-[state=checked]:border-accent data-[state=checked]:text-primary-foreground data-[state=indeterminate]:bg-accent data-[state=indeterminate]:border-accent data-[state=indeterminate]:text-primary-foreground",a),...r,children:_jsxruntime.jsxs.call(void 0, e.Indicator,{className:_chunkVBARF35Njs.a.call(void 0, "flex items-center justify-center text-current"),children:[_jsxruntime.jsx.call(void 0, _lucidereact.Check,{className:"h-4 w-4 group-data-[state=indeterminate]:hidden"}),_jsxruntime.jsx.call(void 0, _lucidereact.Minus,{className:"h-4 w-4 hidden group-data-[state=indeterminate]:block"})]})}));s.displayName=e.Root.displayName;exports.a = s;
|
|
3
|
+
//# sourceMappingURL=chunk-T63HKL4M.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["c:\\Users\\Dell\\Documents\\NextJS\\alkimi-ui-kit\\dist\\chunk-T63HKL4M.js"],"names":[],"mappings":"AAAA,uWAAY;AACZ,sDAAuC,uEAAwB,0GAA2C,2CAAgD,+CAAkD,IAAK,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,6BAAC,CAAE,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,gCAAC,4eAA6e,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,8BAAC,CAAE,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,gCAAC,+CAAgD,CAAC,CAAC,QAAQ,CAAC,CAAC,6BAAC,kBAAE,CAAC,CAAC,SAAS,CAAC,iDAAiD,CAAC,CAAC,CAAC,6BAAC,kBAAE,CAAC,CAAC,SAAS,CAAC,uDAAuD,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc","file":"C:\\Users\\Dell\\Documents\\NextJS\\alkimi-ui-kit\\dist\\chunk-T63HKL4M.js","sourcesContent":[null]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{a as i,f as n}from"./chunk-
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
import{a as i,f as n}from"./chunk-VUHWNO54.mjs";import{a as r}from"./chunk-AJM7GGVC.mjs";import*as d from"react";import{Command as o}from"cmdk";import{Search as s}from"lucide-react";import{jsx as m,jsxs as C}from"react/jsx-runtime";var p=d.forwardRef(({className:e,...t},a)=>m(o,{ref:a,className:r("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));p.displayName=o.displayName;var P=({children:e,...t})=>m(i,{...t,children:m(n,{className:"overflow-hidden p-0 shadow-lg",children:m(p,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),c=d.forwardRef(({className:e,...t},a)=>C("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[m(s,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),m(o.Input,{ref:a,className:r("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));c.displayName=o.Input.displayName;var f=d.forwardRef(({className:e,...t},a)=>m(o.List,{ref:a,className:r("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));f.displayName=o.List.displayName;var l=d.forwardRef((e,t)=>m(o.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));l.displayName=o.Empty.displayName;var u=d.forwardRef(({className:e,...t},a)=>m(o.Group,{ref:a,className:r("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));u.displayName=o.Group.displayName;var g=d.forwardRef(({className:e,...t},a)=>m(o.Separator,{ref:a,className:r("-mx-1 h-px bg-border",e),...t}));g.displayName=o.Separator.displayName;var y=d.forwardRef(({className:e,...t},a)=>m(o.Item,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-muted aria-selected:text-secondary-foreground data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 truncate",e),...t}));y.displayName=o.Item.displayName;var R=({className:e,...t})=>m("span",{className:r("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});R.displayName="CommandShortcut";export{p as a,P as b,c,f as d,l as e,u as f,g,y as h,R as i};
|
|
3
|
+
//# sourceMappingURL=chunk-TFNJNZMW.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/command.tsx"],"sourcesContent":["import * as React from \"react\"\r\nimport { type DialogProps } from \"@radix-ui/react-dialog\"\r\nimport { Command as CommandPrimitive } from \"cmdk\"\r\nimport { Search } from \"lucide-react\"\r\n\r\nimport { cn } from \"@/lib/utils\"\r\nimport { Dialog, DialogContent } from \"@/components/dialog\"\r\n\r\nconst Command = React.forwardRef<\r\n React.ElementRef<typeof CommandPrimitive>,\r\n React.ComponentPropsWithoutRef<typeof CommandPrimitive>\r\n>(({ className, ...props }, ref) => (\r\n <CommandPrimitive\r\n ref={ref}\r\n className={cn(\r\n \"flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n))\r\nCommand.displayName = CommandPrimitive.displayName\r\n\r\ninterface CommandDialogProps extends DialogProps {}\r\n\r\nconst CommandDialog = ({ children, ...props }: CommandDialogProps) => {\r\n return (\r\n <Dialog {...props}>\r\n <DialogContent className=\"overflow-hidden p-0 shadow-lg\">\r\n <Command className=\"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5\">\r\n {children}\r\n </Command>\r\n </DialogContent>\r\n </Dialog>\r\n )\r\n}\r\n\r\nconst CommandInput = React.forwardRef<\r\n React.ElementRef<typeof CommandPrimitive.Input>,\r\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>\r\n>(({ className, ...props }, ref) => (\r\n <div className=\"flex items-center border-b px-3\" cmdk-input-wrapper=\"\">\r\n <Search className=\"mr-2 h-4 w-4 shrink-0 opacity-50\" />\r\n <CommandPrimitive.Input\r\n ref={ref}\r\n className={cn(\r\n \"flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n </div>\r\n))\r\n\r\nCommandInput.displayName = CommandPrimitive.Input.displayName\r\n\r\nconst CommandList = React.forwardRef<\r\n React.ElementRef<typeof CommandPrimitive.List>,\r\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.List>\r\n>(({ className, ...props }, ref) => (\r\n <CommandPrimitive.List\r\n ref={ref}\r\n className={cn(\"max-h-[300px] overflow-y-auto overflow-x-hidden\", className)}\r\n {...props}\r\n />\r\n))\r\n\r\nCommandList.displayName = CommandPrimitive.List.displayName\r\n\r\nconst CommandEmpty = React.forwardRef<\r\n React.ElementRef<typeof CommandPrimitive.Empty>,\r\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Empty>\r\n>((props, ref) => (\r\n <CommandPrimitive.Empty\r\n ref={ref}\r\n className=\"py-6 text-center text-sm\"\r\n {...props}\r\n />\r\n))\r\n\r\nCommandEmpty.displayName = CommandPrimitive.Empty.displayName\r\n\r\nconst CommandGroup = React.forwardRef<\r\n React.ElementRef<typeof CommandPrimitive.Group>,\r\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Group>\r\n>(({ className, ...props }, ref) => (\r\n <CommandPrimitive.Group\r\n ref={ref}\r\n className={cn(\r\n \"overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n))\r\n\r\nCommandGroup.displayName = CommandPrimitive.Group.displayName\r\n\r\nconst CommandSeparator = React.forwardRef<\r\n React.ElementRef<typeof CommandPrimitive.Separator>,\r\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Separator>\r\n>(({ className, ...props }, ref) => (\r\n <CommandPrimitive.Separator\r\n ref={ref}\r\n className={cn(\"-mx-1 h-px bg-border\", className)}\r\n {...props}\r\n />\r\n))\r\nCommandSeparator.displayName = CommandPrimitive.Separator.displayName\r\n\r\nconst CommandItem = React.forwardRef<\r\n React.ElementRef<typeof CommandPrimitive.Item>,\r\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Item>\r\n>(({ className, ...props }, ref) => (\r\n <CommandPrimitive.Item\r\n ref={ref}\r\n className={cn(\r\n \"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-muted aria-selected:text-secondary-foreground data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 truncate\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n))\r\n\r\nCommandItem.displayName = CommandPrimitive.Item.displayName\r\n\r\nconst CommandShortcut = ({\r\n className,\r\n ...props\r\n}: React.HTMLAttributes<HTMLSpanElement>) => {\r\n return (\r\n <span\r\n className={cn(\r\n \"ml-auto text-xs tracking-widest text-muted-foreground\",\r\n className\r\n )}\r\n {...props}\r\n />\r\n )\r\n}\r\nCommandShortcut.displayName = \"CommandShortcut\"\r\n\r\nexport {\r\n Command,\r\n CommandDialog,\r\n CommandInput,\r\n CommandList,\r\n CommandEmpty,\r\n CommandGroup,\r\n CommandItem,\r\n CommandShortcut,\r\n CommandSeparator,\r\n}\r\n"],"mappings":";yFAAA,UAAYA,MAAW,QAEvB,OAAS,WAAWC,MAAwB,OAC5C,OAAS,UAAAC,MAAc,eASrB,cAAAC,EA6BA,QAAAC,MA7BA,oBAJF,IAAMC,EAAgB,aAGpB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAC1BL,EAACM,EAAA,CACC,IAAKD,EACL,UAAWE,EACT,4FACAJ,CACF,EACC,GAAGC,EACN,CACD,EACDF,EAAQ,YAAcI,EAAiB,YAIvC,IAAME,EAAgB,CAAC,CAAE,SAAAC,EAAU,GAAGL,CAAM,IAExCJ,EAACU,EAAA,CAAQ,GAAGN,EACV,SAAAJ,EAACW,EAAA,CAAc,UAAU,gCACvB,SAAAX,EAACE,EAAA,CAAQ,UAAU,8WAChB,SAAAO,EACH,EACF,EACF,EAIEG,EAAqB,aAGzB,CAAC,CAAE,UAAAT,EAAW,GAAGC,CAAM,EAAGC,IAC1BJ,EAAC,OAAI,UAAU,kCAAkC,qBAAmB,GAClE,UAAAD,EAACa,EAAA,CAAO,UAAU,mCAAmC,EACrDb,EAACM,EAAiB,MAAjB,CACC,IAAKD,EACL,UAAWE,EACT,yJACAJ,CACF,EACC,GAAGC,EACN,GACF,CACD,EAEDQ,EAAa,YAAcN,EAAiB,MAAM,YAElD,IAAMQ,EAAoB,aAGxB,CAAC,CAAE,UAAAX,EAAW,GAAGC,CAAM,EAAGC,IAC1BL,EAACM,EAAiB,KAAjB,CACC,IAAKD,EACL,UAAWE,EAAG,kDAAmDJ,CAAS,EACzE,GAAGC,EACN,CACD,EAEDU,EAAY,YAAcR,EAAiB,KAAK,YAEhD,IAAMS,EAAqB,aAGzB,CAACX,EAAOC,IACRL,EAACM,EAAiB,MAAjB,CACC,IAAKD,EACL,UAAU,2BACT,GAAGD,EACN,CACD,EAEDW,EAAa,YAAcT,EAAiB,MAAM,YAElD,IAAMU,EAAqB,aAGzB,CAAC,CAAE,UAAAb,EAAW,GAAGC,CAAM,EAAGC,IAC1BL,EAACM,EAAiB,MAAjB,CACC,IAAKD,EACL,UAAWE,EACT,yNACAJ,CACF,EACC,GAAGC,EACN,CACD,EAEDY,EAAa,YAAcV,EAAiB,MAAM,YAElD,IAAMW,EAAyB,aAG7B,CAAC,CAAE,UAAAd,EAAW,GAAGC,CAAM,EAAGC,IAC1BL,EAACM,EAAiB,UAAjB,CACC,IAAKD,EACL,UAAWE,EAAG,uBAAwBJ,CAAS,EAC9C,GAAGC,EACN,CACD,EACDa,EAAiB,YAAcX,EAAiB,UAAU,YAE1D,IAAMY,EAAoB,aAGxB,CAAC,CAAE,UAAAf,EAAW,GAAGC,CAAM,EAAGC,IAC1BL,EAACM,EAAiB,KAAjB,CACC,IAAKD,EACL,UAAWE,EACT,qPACAJ,CACF,EACC,GAAGC,EACN,CACD,EAEDc,EAAY,YAAcZ,EAAiB,KAAK,YAEhD,IAAMa,EAAkB,CAAC,CACvB,UAAAhB,EACA,GAAGC,CACL,IAEIJ,EAAC,QACC,UAAWO,EACT,wDACAJ,CACF,EACC,GAAGC,EACN,EAGJe,EAAgB,YAAc","names":["React","CommandPrimitive","Search","jsx","jsxs","Command","className","props","ref","CommandPrimitive","cn","CommandDialog","children","Dialog","DialogContent","CommandInput","Search","CommandList","CommandEmpty","CommandGroup","CommandSeparator","CommandItem","CommandShortcut"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
|
-
var
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
var _chunkVBARF35Njs = require('./chunk-VBARF35N.js');var _react = require('react'); var r = _interopRequireWildcard(_react);var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');var f=r.createContext({}),b={default:"rounded-3xl",sm:"rounded-2xl"},m="[&_tr:not([data-has-action-column])>th:first-child]:sticky [&_tr:not([data-has-action-column])>th:first-child]:left-0 [&_tr:not([data-has-action-column])>th:first-child]:z-10 [&_tr:not([data-has-action-column])>th:first-child]:bg-background [&_tr:not([data-has-action-column])>th:first-child]:after:absolute [&_tr:not([data-has-action-column])>th:first-child]:after:right-0 [&_tr:not([data-has-action-column])>th:first-child]:after:top-0 [&_tr:not([data-has-action-column])>th:first-child]:after:h-full [&_tr:not([data-has-action-column])>th:first-child]:after:w-px [&_tr:not([data-has-action-column])>th:first-child]:after:bg-border [&_tr:not([data-has-action-column])>td:first-child]:sticky [&_tr:not([data-has-action-column])>td:first-child]:left-0 [&_tr:not([data-has-action-column])>td:first-child]:z-10 [&_tr:not([data-has-action-column])>td:first-child]:bg-background [&_tr:not([data-has-action-column])>td:first-child]:after:absolute [&_tr:not([data-has-action-column])>td:first-child]:after:right-0 [&_tr:not([data-has-action-column])>td:first-child]:after:top-0 [&_tr:not([data-has-action-column])>td:first-child]:after:h-full [&_tr:not([data-has-action-column])>td:first-child]:after:w-px [&_tr:not([data-has-action-column])>td:first-child]:after:bg-border [&_tbody_tr:not([data-has-action-column]):hover>td:first-child]:bg-muted",p="[&_tr[data-has-action-column]>*:first-child]:sticky [&_tr[data-has-action-column]>*:first-child]:left-0 [&_tr[data-has-action-column]>*:first-child]:z-10 [&_tr[data-has-action-column]>*:first-child]:bg-background [&_tr[data-has-action-column]>*:first-child]:transition-colors [&_tr[data-has-action-column]>*:nth-child(2)]:sticky [&_tr[data-has-action-column]>*:nth-child(2)]:left-12 [&_tr[data-has-action-column]>*:nth-child(2)]:z-10 [&_tr[data-has-action-column]>*:nth-child(2)]:bg-background [&_tr[data-has-action-column]>*:nth-child(2)]:transition-colors [&_tr[data-has-action-column]>*:nth-child(2)]:after:absolute [&_tr[data-has-action-column]>*:nth-child(2)]:after:right-0 [&_tr[data-has-action-column]>*:nth-child(2)]:after:top-0 [&_tr[data-has-action-column]>*:nth-child(2)]:after:h-full [&_tr[data-has-action-column]>*:nth-child(2)]:after:w-px [&_tr[data-has-action-column]>*:nth-child(2)]:after:bg-border [&_tbody_tr[data-has-action-column]:hover>td:first-child]:bg-muted [&_tbody_tr[data-has-action-column]:hover>td:nth-child(2)]:bg-muted";function y({className:a,stickyFirstColumn:t,rounded:o="default",...l}){return _jsxruntime.jsx.call(void 0, f.Provider,{value:{stickyFirstColumn:t},children:_jsxruntime.jsx.call(void 0, "div",{"data-slot":"table-container",className:_chunkVBARF35Njs.a.call(void 0, "relative bg-background w-full overflow-x-auto border border-border",b[o],t&&m,t&&p),children:_jsxruntime.jsx.call(void 0, "table",{"data-slot":"table",className:_chunkVBARF35Njs.a.call(void 0, "w-full caption-bottom text-sm",a),...l})})})}function k({className:a,...t}){return _jsxruntime.jsx.call(void 0, "thead",{"data-slot":"table-header",className:_chunkVBARF35Njs.a.call(void 0, "[&_tr]:border-b text-secondary-text",a),...t})}function v({className:a,...t}){return _jsxruntime.jsx.call(void 0, "tbody",{"data-slot":"table-body",className:_chunkVBARF35Njs.a.call(void 0, "[&_tr:last-child]:border-0",a),...t})}function R({className:a,...t}){return _jsxruntime.jsx.call(void 0, "tfoot",{"data-slot":"table-footer",className:_chunkVBARF35Njs.a.call(void 0, "bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",a),...t})}function T({className:a,isClickable:t,actionIcon:o,children:l,...i}){let s=o==="eye"?_jsxruntime.jsx.call(void 0, _lucidereact.Eye,{className:"h-4 w-4"}):o==="more"?_jsxruntime.jsx.call(void 0, _lucidereact.MoreVertical,{className:"h-4 w-4"}):null;return _jsxruntime.jsxs.call(void 0, "tr",{"data-slot":"table-row","data-has-action-column":o!==void 0?"":void 0,className:_chunkVBARF35Njs.a.call(void 0, "border-b border-border/50 transition-colors",t&&"cursor-pointer hover:bg-muted/50",a),...i,children:[o!==void 0&&_jsxruntime.jsx.call(void 0, _,{className:"w-12",children:s}),l]})}function P({className:a,isSticky:t,...o}){return _jsxruntime.jsx.call(void 0, "th",{"data-slot":"table-head",className:_chunkVBARF35Njs.a.call(void 0, "text-secondary-text h-10 px-4 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0",t&&"sticky left-0 z-10 bg-background after:absolute after:right-0 after:top-0 after:h-full after:w-px after:bg-border",a),...o})}function _({className:a,isSticky:t,...o}){return _jsxruntime.jsx.call(void 0, "td",{"data-slot":"table-cell",className:_chunkVBARF35Njs.a.call(void 0, "p-4 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",t&&"sticky left-0 z-10 bg-background after:absolute after:right-0 after:top-0 after:h-full after:w-px after:bg-border",a),...o})}function w({className:a,onClick:t,children:o,asChild:l=!1,...i}){let s=c=>{c.stopPropagation(),_optionalChain([t, 'optionalCall', _2 => _2(c)])};return l&&r.isValidElement(o)?r.cloneElement(o,{onClick:c=>{c.stopPropagation();let d=o.props.onClick;_optionalChain([d, 'optionalCall', _3 => _3(c)])},className:_chunkVBARF35Njs.a.call(void 0, "inline-flex items-center justify-center rounded-full p-1 text-secondary-text transition-colors hover:bg-muted/50 hover:text-primary-accent focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary-accent",o.props.className,a)}):_jsxruntime.jsx.call(void 0, "button",{type:"button","data-slot":"table-cell-action",className:_chunkVBARF35Njs.a.call(void 0, "inline-flex items-center justify-center rounded-full p-1 text-secondary-text transition-colors hover:text-primary-accent focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary-accent",a),onClick:s,...i,children:o})}function N({className:a,...t}){return _jsxruntime.jsx.call(void 0, "caption",{"data-slot":"table-caption",className:_chunkVBARF35Njs.a.call(void 0, "text-muted-foreground mt-4 text-sm",a),...t})}exports.a = y; exports.b = k; exports.c = v; exports.d = R; exports.e = T; exports.f = P; exports.g = _; exports.h = w; exports.i = N;
|
|
3
|
+
//# sourceMappingURL=chunk-TLGEA7LM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["c:\\Users\\Dell\\Documents\\NextJS\\alkimi-ui-kit\\dist\\chunk-TLGEA7LM.js"],"names":[],"mappings":"AAAA,22BAAY;AACZ,sDAAuC,uEAAwB,2CAAqD,+CAAkD,IAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,8zCAA8zC,CAAC,CAAC,CAAC,2hCAA2hC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,6BAAC,CAAE,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,6BAAC,KAAM,CAAC,CAAC,WAAW,CAAC,iBAAiB,CAAC,SAAS,CAAC,gCAAC,oEAAqE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,6BAAC,OAAQ,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,SAAS,CAAC,gCAAC,+BAAgC,CAAC,CAAC,CAAC,CAAC,GAAG,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KAAK,CAAC,OAAO,iBAAC,CAAC,0BAAE,CAAC,CAAC,GAAC,CAAC,CAAC,SAAS,CAAC,gCAAC,8NAA+N,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,6BAAC,QAAS,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,mBAAmB,CAAC,SAAS,CAAC,gCAAC,4MAA6M,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,6BAAC,SAAU,CAAC,CAAC,WAAW,CAAC,eAAe,CAAC,SAAS,CAAC,gCAAC,oCAAqC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,sIAAsE","file":"C:\\Users\\Dell\\Documents\\NextJS\\alkimi-ui-kit\\dist\\chunk-TLGEA7LM.js","sourcesContent":[null]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{a as z}from"./chunk-
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
import{a as z}from"./chunk-YHYWSBWL.mjs";import{a as j,b as U,c as X}from"./chunk-6HUPRCXQ.mjs";import{a as E}from"./chunk-AJM7GGVC.mjs";import*as i from"react";import{Check as ne,ChevronDown as G,ChevronRight as ae,Search as se,X as ce}from"lucide-react";import{Fragment as ie,jsx as o,jsxs as x}from"react/jsx-runtime";function M(e){let n=[e.value];if(e.children)for(let a of e.children)n.push(...M(a));return n}function $(e,n){if(!e.children||e.children.length===0)return n.has(e.value)?"checked":"unchecked";let a=M(e),r=a.filter(l=>n.has(l)).length;return r===0?"unchecked":r===a.length?"checked":"indeterminate"}function J(e,n){let a=n.toLowerCase().trim();if(!a)return e;let r=[];for(let l of e){let f=l.label.toLowerCase().includes(a);if(l.children&&l.children.length>0){let h=J(l.children,n);f?r.push(l):h&&h.length>0&&r.push({...l,children:h})}else f&&r.push(l)}return r.length>0?r:null}function le(e,n){let a=n.toLowerCase().trim(),r=new Set;function l(f){let h=!1;for(let g of f){let w=g.label.toLowerCase().includes(a),S=!1;g.children&&(S=l(g.children)),(w||S)&&(r.add(g.value),h=!0)}return h}return l(e),r}function N(e,n){for(let a of e){if(a.value===n)return a;if(a.children){let r=N(a.children,n);if(r)return r}}}function Q(e){let n=new Set;for(let a of e)if(a.children&&a.children.length>0){n.add(a.value);for(let r of Q(a.children))n.add(r)}return n}function oe(e,n){if(!n)return e;let a=n.toLowerCase().trim();if(!a)return e;let r=e.toLowerCase().indexOf(a);return r===-1?e:x(ie,{children:[e.slice(0,r),o("span",{className:"font-semibold underline",children:e.slice(r,r+a.length)}),e.slice(r+a.length)]})}function W({node:e,depth:n,multiple:a,selectedSet:r,expandedValues:l,focusedValue:f,onToggleExpand:h,onSelect:g,onFocus:w,searchTerm:S}){let V=e.children&&e.children.length>0,y=l.has(e.value),b=a?$(e,r):r.has(e.value)?"checked":"unchecked",A=n*20;return x("div",{role:"treeitem","aria-expanded":V?y:void 0,"aria-selected":b==="checked",children:[x("div",{className:E("relative flex items-center gap-2 rounded-sm px-2 py-1.5 my-0.5 text-sm cursor-pointer select-none outline-none","hover:bg-muted",b==="checked"&&!a&&"bg-muted"),style:{paddingLeft:`${8+A}px`},onClick:()=>g(e),onFocus:()=>w(e.value),"data-tree-value":e.value,tabIndex:f===e.value?0:-1,children:[V?o("button",{type:"button",className:"h-4 w-4 shrink-0 flex items-center justify-center rounded-sm hover:bg-secondary",onClick:m=>{m.stopPropagation(),h(e.value)},"aria-label":y?`Collapse ${e.label}`:`Expand ${e.label}`,tabIndex:-1,children:y?o(G,{className:"h-3.5 w-3.5"}):o(ae,{className:"h-3.5 w-3.5"})}):o("span",{className:"h-4 w-4 shrink-0"}),a?o(z,{checked:b==="checked"?!0:b==="indeterminate"?"indeterminate":!1,onCheckedChange:()=>g(e),onClick:m=>m.stopPropagation(),className:"shrink-0","aria-label":e.label}):o(ne,{className:E("h-4 w-4 shrink-0",b==="checked"?"opacity-100":"opacity-0")}),o("span",{className:"truncate",children:oe(e.label,S)})]}),V&&y&&o("div",{role:"group",children:e.children.map(m=>o(W,{node:m,depth:n+1,multiple:a,selectedSet:r,expandedValues:l,focusedValue:f,onToggleExpand:h,onSelect:g,onFocus:w,searchTerm:S},m.value))})]})}function ge({nodes:e,value:n,onValueChange:a,multiple:r=!1,values:l=[],onValuesChange:f,placeholder:h="Select...",searchPlaceholder:g="Search...",emptyMessage:w="No results found.",disabled:S=!1,className:V,error:y=!1,defaultExpandedValues:b,expandAll:A=!1}){let[m,B]=i.useState(!1),[v,K]=i.useState(""),[p,k]=i.useState(null),[D,L]=i.useState(()=>A?Q(e):b?new Set(b):new Set),P=i.useRef(null),I=i.useRef(null),C=i.useMemo(()=>new Set(r?l:n?[n]:[]),[r,l,n]),F=i.useMemo(()=>v?J(e,v):e,[e,v]);i.useEffect(()=>{if(v){P.current||(P.current=new Set(D));let t=le(e,v);L(t)}else P.current&&(L(P.current),P.current=null)},[v,e]);let Y=i.useCallback(t=>{B(t),t||(K(""),k(null))},[]),T=i.useCallback(t=>{L(s=>{let d=new Set(s);return d.has(t)?d.delete(t):d.add(t),d})},[]),H=i.useCallback(t=>{if(r){let s=M(t),d=$(t,C),c;if(d==="checked"){let u=new Set(s);c=l.filter(R=>!u.has(R))}else{let u=s.filter(R=>!C.has(R));c=[...l,...u]}f?.(c)}else{if(t.children&&t.children.length>0){T(t.value);return}let d=t.value===n?"":t.value;a?.(d),B(!1)}},[r,l,n,C,f,a,T]),Z=i.useCallback((t,s)=>{s.preventDefault(),s.stopPropagation();let d=N(e,t);if(d){let c=new Set(M(d)),u=l.filter(R=>!c.has(R));f?.(u)}},[e,l,f]),q=i.useMemo(()=>{if(!r)return[];let t=[];function s(d){for(let c of d){let u=$(c,C);u==="checked"?t.push(c.value):u==="indeterminate"&&c.children&&s(c.children)}}return s(e),t},[e,C,r]),O=i.useCallback(()=>I.current?Array.from(I.current.querySelectorAll("[data-tree-value]")):[],[]),_=i.useCallback(t=>{let s=O(),d=s.findIndex(c=>c.dataset.treeValue===p);switch(t.key){case"ArrowDown":{t.preventDefault();let c=Math.min(d+1,s.length-1),u=s[c]?.dataset.treeValue;u&&(k(u),s[c]?.focus());break}case"ArrowUp":{t.preventDefault();let c=Math.max(d-1,0),u=s[c]?.dataset.treeValue;u&&(k(u),s[c]?.focus());break}case"ArrowRight":{if(t.preventDefault(),p){let c=N(e,p);if(c?.children?.length)if(!D.has(p))T(p);else{let u=c.children[0].value;k(u),requestAnimationFrame(()=>{O().find(re=>re.dataset.treeValue===u)?.focus()})}}break}case"ArrowLeft":{t.preventDefault(),p&&D.has(p)&&T(p);break}case"Enter":case" ":{if(t.preventDefault(),p){let c=N(e,p);c&&H(c)}break}case"Home":{t.preventDefault();let c=s[0]?.dataset.treeValue;c&&(k(c),s[0]?.focus());break}case"End":{t.preventDefault();let c=s[s.length-1]?.dataset.treeValue;c&&(k(c),s[s.length-1]?.focus());break}}},[p,e,D,O,T,H]),ee=()=>r?l.length===0?h:l.length===1?N(e,l[0])?.label??l[0]:`${l.length} selected`:n?N(e,n)?.label??n:h,te=()=>{if(!r||q.length===0)return null;let t=q.map(s=>N(e,s)).filter(Boolean);return o("div",{className:"max-h-[100px] overflow-y-auto px-2 py-1.5 border-b border-border",children:o("div",{className:"flex flex-wrap gap-1",children:t.map(s=>x("div",{className:"inline-flex items-center gap-1 rounded-md bg-secondary px-2 py-0.5 text-xs",children:[o("span",{className:"truncate max-w-[120px]",children:s.label}),o(ce,{className:"h-3 w-3 cursor-pointer shrink-0",onClick:d=>Z(s.value,d),"aria-label":`Remove ${s.label}`})]},s.value))})})};return x(j,{open:m,onOpenChange:Y,children:[o(U,{asChild:!0,children:x("button",{type:"button",role:"combobox","aria-expanded":m,"aria-haspopup":"tree",disabled:S,className:E("cursor-pointer flex my-2 h-9 w-full items-center justify-between rounded-3xl border border-border bg-background hover:bg-secondary px-4 py-2 text-sm text-primary-accent 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",!n&&!l.length&&"text-secondary-text",y&&"border-destructive-foreground focus-visible:ring-destructive-foreground",V),children:[o("span",{className:"truncate",children:ee()}),o(G,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"})]})}),x(X,{className:"p-0",align:"start",style:{width:"var(--radix-popover-trigger-width)"},children:[x("div",{className:"flex items-center border-b px-3",children:[o(se,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),o("input",{value:v,onChange:t=>K(t.target.value),placeholder:g,className:"flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50","aria-label":"Search tree"})]}),te(),o("div",{className:"max-h-[300px] overflow-y-auto",children:F&&F.length>0?o("div",{ref:I,role:"tree","aria-label":"Options",className:"p-1",onKeyDown:_,children:F.map(t=>o(W,{node:t,depth:0,multiple:r,selectedSet:C,expandedValues:D,focusedValue:p,onToggleExpand:T,onSelect:H,onFocus:k,searchTerm:v},t.value))}):o("div",{className:"py-6 text-center text-sm text-muted-foreground",children:w})})]})]})}export{ge as a};
|
|
3
|
+
//# sourceMappingURL=chunk-TXOT3G2Z.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/tree-select.tsx"],"sourcesContent":["\"use client\"\r\n\r\nimport * as React from \"react\"\r\nimport { Check, ChevronDown, ChevronRight, Search, X } from \"lucide-react\"\r\n\r\nimport { cn } from \"@/lib/utils\"\r\nimport { Checkbox } from \"@/components/checkbox\"\r\nimport { Popover, PopoverContent, PopoverTrigger } from \"@/components/popover\"\r\n\r\n// --- Public types ---\r\n\r\nexport interface TreeSelectNode {\r\n value: string\r\n label: string\r\n children?: TreeSelectNode[]\r\n}\r\n\r\nexport interface TreeSelectProps {\r\n nodes: TreeSelectNode[]\r\n value?: string\r\n onValueChange?: (value: string) => void\r\n multiple?: boolean\r\n values?: string[]\r\n onValuesChange?: (values: string[]) => void\r\n placeholder?: string\r\n searchPlaceholder?: string\r\n emptyMessage?: string\r\n disabled?: boolean\r\n className?: string\r\n error?: boolean\r\n defaultExpandedValues?: string[]\r\n expandAll?: boolean\r\n}\r\n\r\n// --- Internal types ---\r\n\r\ntype CheckState = \"checked\" | \"indeterminate\" | \"unchecked\"\r\n\r\n// --- Utility functions ---\r\n\r\nfunction getAllDescendantValues(node: TreeSelectNode): string[] {\r\n const values: string[] = [node.value]\r\n if (node.children) {\r\n for (const child of node.children) {\r\n values.push(...getAllDescendantValues(child))\r\n }\r\n }\r\n return values\r\n}\r\n\r\nfunction getCheckState(\r\n node: TreeSelectNode,\r\n selectedSet: Set<string>\r\n): CheckState {\r\n if (!node.children || node.children.length === 0) {\r\n return selectedSet.has(node.value) ? \"checked\" : \"unchecked\"\r\n }\r\n\r\n const descendants = getAllDescendantValues(node)\r\n const selectedCount = descendants.filter((v) => selectedSet.has(v)).length\r\n\r\n if (selectedCount === 0) return \"unchecked\"\r\n if (selectedCount === descendants.length) return \"checked\"\r\n return \"indeterminate\"\r\n}\r\n\r\nfunction filterTree(\r\n nodes: TreeSelectNode[],\r\n searchTerm: string\r\n): TreeSelectNode[] | null {\r\n const term = searchTerm.toLowerCase().trim()\r\n if (!term) return nodes\r\n\r\n const result: TreeSelectNode[] = []\r\n\r\n for (const node of nodes) {\r\n const labelMatches = node.label.toLowerCase().includes(term)\r\n\r\n if (node.children && node.children.length > 0) {\r\n const filteredChildren = filterTree(node.children, searchTerm)\r\n\r\n if (labelMatches) {\r\n result.push(node)\r\n } else if (filteredChildren && filteredChildren.length > 0) {\r\n result.push({ ...node, children: filteredChildren })\r\n }\r\n } else if (labelMatches) {\r\n result.push(node)\r\n }\r\n }\r\n\r\n return result.length > 0 ? result : null\r\n}\r\n\r\nfunction getValuesOfMatchingNodes(\r\n nodes: TreeSelectNode[],\r\n searchTerm: string\r\n): Set<string> {\r\n const term = searchTerm.toLowerCase().trim()\r\n const result = new Set<string>()\r\n\r\n function walk(nodeList: TreeSelectNode[]): boolean {\r\n let hasMatch = false\r\n for (const node of nodeList) {\r\n const labelMatches = node.label.toLowerCase().includes(term)\r\n let childHasMatch = false\r\n\r\n if (node.children) {\r\n childHasMatch = walk(node.children)\r\n }\r\n\r\n if (labelMatches || childHasMatch) {\r\n result.add(node.value)\r\n hasMatch = true\r\n }\r\n }\r\n return hasMatch\r\n }\r\n\r\n walk(nodes)\r\n return result\r\n}\r\n\r\nfunction findNodeByValue(\r\n nodes: TreeSelectNode[],\r\n value: string\r\n): TreeSelectNode | undefined {\r\n for (const node of nodes) {\r\n if (node.value === value) return node\r\n if (node.children) {\r\n const found = findNodeByValue(node.children, value)\r\n if (found) return found\r\n }\r\n }\r\n return undefined\r\n}\r\n\r\nfunction collectAllBranchValues(nodes: TreeSelectNode[]): Set<string> {\r\n const result = new Set<string>()\r\n for (const node of nodes) {\r\n if (node.children && node.children.length > 0) {\r\n result.add(node.value)\r\n for (const v of collectAllBranchValues(node.children)) {\r\n result.add(v)\r\n }\r\n }\r\n }\r\n return result\r\n}\r\n\r\nfunction renderHighlightedLabel(\r\n label: string,\r\n searchTerm: string\r\n): React.ReactNode {\r\n if (!searchTerm) return label\r\n\r\n const term = searchTerm.toLowerCase().trim()\r\n if (!term) return label\r\n\r\n const index = label.toLowerCase().indexOf(term)\r\n if (index === -1) return label\r\n\r\n return (\r\n <>\r\n {label.slice(0, index)}\r\n <span className=\"font-semibold underline\">\r\n {label.slice(index, index + term.length)}\r\n </span>\r\n {label.slice(index + term.length)}\r\n </>\r\n )\r\n}\r\n\r\n// --- TreeNodeItem (internal) ---\r\n\r\ninterface TreeNodeItemProps {\r\n node: TreeSelectNode\r\n depth: number\r\n multiple: boolean\r\n selectedSet: Set<string>\r\n expandedValues: Set<string>\r\n focusedValue: string | null\r\n onToggleExpand: (value: string) => void\r\n onSelect: (node: TreeSelectNode) => void\r\n onFocus: (value: string) => void\r\n searchTerm: string\r\n}\r\n\r\nfunction TreeNodeItem({\r\n node,\r\n depth,\r\n multiple,\r\n selectedSet,\r\n expandedValues,\r\n focusedValue,\r\n onToggleExpand,\r\n onSelect,\r\n onFocus,\r\n searchTerm,\r\n}: TreeNodeItemProps) {\r\n const hasChildren = node.children && node.children.length > 0\r\n const isExpanded = expandedValues.has(node.value)\r\n const checkState = multiple\r\n ? getCheckState(node, selectedSet)\r\n : selectedSet.has(node.value)\r\n ? \"checked\"\r\n : \"unchecked\"\r\n\r\n const indentPx = depth * 20\r\n\r\n return (\r\n <div\r\n role=\"treeitem\"\r\n aria-expanded={hasChildren ? isExpanded : undefined}\r\n aria-selected={checkState === \"checked\"}\r\n >\r\n <div\r\n className={cn(\r\n \"relative flex items-center gap-2 rounded-sm px-2 py-1.5 my-0.5 text-sm cursor-pointer select-none outline-none\",\r\n \"hover:bg-muted\",\r\n checkState === \"checked\" && !multiple && \"bg-muted\"\r\n // This adds a focus ring when the node is focused, but it's not needed for the tree-select component.\r\n // focusedValue === node.value && \"z-10 ring-2 ring-ring\"\r\n )}\r\n style={{ paddingLeft: `${8 + indentPx}px` }}\r\n onClick={() => onSelect(node)}\r\n onFocus={() => onFocus(node.value)}\r\n data-tree-value={node.value}\r\n tabIndex={focusedValue === node.value ? 0 : -1}\r\n >\r\n {hasChildren ? (\r\n <button\r\n type=\"button\"\r\n className=\"h-4 w-4 shrink-0 flex items-center justify-center rounded-sm hover:bg-secondary\"\r\n onClick={(e) => {\r\n e.stopPropagation()\r\n onToggleExpand(node.value)\r\n }}\r\n aria-label={\r\n isExpanded ? `Collapse ${node.label}` : `Expand ${node.label}`\r\n }\r\n tabIndex={-1}\r\n >\r\n {isExpanded ? (\r\n <ChevronDown className=\"h-3.5 w-3.5\" />\r\n ) : (\r\n <ChevronRight className=\"h-3.5 w-3.5\" />\r\n )}\r\n </button>\r\n ) : (\r\n <span className=\"h-4 w-4 shrink-0\" />\r\n )}\r\n\r\n {multiple ? (\r\n <Checkbox\r\n checked={\r\n checkState === \"checked\"\r\n ? true\r\n : checkState === \"indeterminate\"\r\n ? \"indeterminate\"\r\n : false\r\n }\r\n onCheckedChange={() => onSelect(node)}\r\n onClick={(e) => e.stopPropagation()}\r\n className=\"shrink-0\"\r\n aria-label={node.label}\r\n />\r\n ) : (\r\n <Check\r\n className={cn(\r\n \"h-4 w-4 shrink-0\",\r\n checkState === \"checked\" ? \"opacity-100\" : \"opacity-0\"\r\n )}\r\n />\r\n )}\r\n\r\n <span className=\"truncate\">\r\n {renderHighlightedLabel(node.label, searchTerm)}\r\n </span>\r\n </div>\r\n\r\n {hasChildren && isExpanded && (\r\n <div role=\"group\">\r\n {node.children!.map((child) => (\r\n <TreeNodeItem\r\n key={child.value}\r\n node={child}\r\n depth={depth + 1}\r\n multiple={multiple}\r\n selectedSet={selectedSet}\r\n expandedValues={expandedValues}\r\n focusedValue={focusedValue}\r\n onToggleExpand={onToggleExpand}\r\n onSelect={onSelect}\r\n onFocus={onFocus}\r\n searchTerm={searchTerm}\r\n />\r\n ))}\r\n </div>\r\n )}\r\n </div>\r\n )\r\n}\r\n\r\n// --- TreeSelect (main component) ---\r\n\r\nexport function TreeSelect({\r\n nodes,\r\n value,\r\n onValueChange,\r\n multiple = false,\r\n values = [],\r\n onValuesChange,\r\n placeholder = \"Select...\",\r\n searchPlaceholder = \"Search...\",\r\n emptyMessage = \"No results found.\",\r\n disabled = false,\r\n className,\r\n error = false,\r\n defaultExpandedValues,\r\n expandAll = false,\r\n}: TreeSelectProps) {\r\n const [open, setOpen] = React.useState(false)\r\n const [searchTerm, setSearchTerm] = React.useState(\"\")\r\n const [focusedValue, setFocusedValue] = React.useState<string | null>(null)\r\n const [expandedValues, setExpandedValues] = React.useState<Set<string>>(\r\n () => {\r\n if (expandAll) return collectAllBranchValues(nodes)\r\n if (defaultExpandedValues) return new Set(defaultExpandedValues)\r\n return new Set<string>()\r\n }\r\n )\r\n\r\n const preSearchExpandedRef = React.useRef<Set<string> | null>(null)\r\n const treeRef = React.useRef<HTMLDivElement>(null)\r\n\r\n const selectedSet = React.useMemo(\r\n () => new Set(multiple ? values : value ? [value] : []),\r\n [multiple, values, value]\r\n )\r\n\r\n const filteredNodes = React.useMemo(\r\n () => (searchTerm ? filterTree(nodes, searchTerm) : nodes),\r\n [nodes, searchTerm]\r\n )\r\n\r\n // Auto-expand matching ancestors during search\r\n React.useEffect(() => {\r\n if (searchTerm) {\r\n if (!preSearchExpandedRef.current) {\r\n preSearchExpandedRef.current = new Set(expandedValues)\r\n }\r\n const matchingAncestors = getValuesOfMatchingNodes(nodes, searchTerm)\r\n setExpandedValues(matchingAncestors)\r\n } else if (preSearchExpandedRef.current) {\r\n setExpandedValues(preSearchExpandedRef.current)\r\n preSearchExpandedRef.current = null\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [searchTerm, nodes])\r\n\r\n const handleOpenChange = React.useCallback((isOpen: boolean) => {\r\n setOpen(isOpen)\r\n if (!isOpen) {\r\n setSearchTerm(\"\")\r\n setFocusedValue(null)\r\n }\r\n }, [])\r\n\r\n const handleToggleExpand = React.useCallback((nodeValue: string) => {\r\n setExpandedValues((prev) => {\r\n const next = new Set(prev)\r\n if (next.has(nodeValue)) {\r\n next.delete(nodeValue)\r\n } else {\r\n next.add(nodeValue)\r\n }\r\n return next\r\n })\r\n }, [])\r\n\r\n const handleSelect = React.useCallback(\r\n (node: TreeSelectNode) => {\r\n if (multiple) {\r\n const allDescendants = getAllDescendantValues(node)\r\n const currentState = getCheckState(node, selectedSet)\r\n\r\n let newValues: string[]\r\n if (currentState === \"checked\") {\r\n const toRemove = new Set(allDescendants)\r\n newValues = values.filter((v) => !toRemove.has(v))\r\n } else {\r\n const toAdd = allDescendants.filter((v) => !selectedSet.has(v))\r\n newValues = [...values, ...toAdd]\r\n }\r\n onValuesChange?.(newValues)\r\n } else {\r\n // Single-select: clicking a parent toggles expand instead of selecting\r\n const hasChildren = node.children && node.children.length > 0\r\n if (hasChildren) {\r\n handleToggleExpand(node.value)\r\n return\r\n }\r\n const newValue = node.value === value ? \"\" : node.value\r\n onValueChange?.(newValue)\r\n setOpen(false)\r\n }\r\n },\r\n [\r\n multiple,\r\n values,\r\n value,\r\n selectedSet,\r\n onValuesChange,\r\n onValueChange,\r\n handleToggleExpand,\r\n ]\r\n )\r\n\r\n const handleRemoveChip = React.useCallback(\r\n (chipValue: string, e: React.MouseEvent) => {\r\n e.preventDefault()\r\n e.stopPropagation()\r\n const node = findNodeByValue(nodes, chipValue)\r\n if (node) {\r\n const toRemove = new Set(getAllDescendantValues(node))\r\n const newValues = values.filter((v) => !toRemove.has(v))\r\n onValuesChange?.(newValues)\r\n }\r\n },\r\n [nodes, values, onValuesChange]\r\n )\r\n\r\n // Smart chips: minimal set representing the selection\r\n const chipValues = React.useMemo(() => {\r\n if (!multiple) return []\r\n\r\n const chips: string[] = []\r\n\r\n function walk(nodeList: TreeSelectNode[]) {\r\n for (const node of nodeList) {\r\n const state = getCheckState(node, selectedSet)\r\n if (state === \"checked\") {\r\n chips.push(node.value)\r\n } else if (state === \"indeterminate\" && node.children) {\r\n walk(node.children)\r\n }\r\n }\r\n }\r\n\r\n walk(nodes)\r\n return chips\r\n }, [nodes, selectedSet, multiple])\r\n\r\n // Keyboard navigation\r\n const getVisibleNodes = React.useCallback((): HTMLElement[] => {\r\n if (!treeRef.current) return []\r\n return Array.from(treeRef.current.querySelectorAll(\"[data-tree-value]\"))\r\n }, [])\r\n\r\n const handleTreeKeyDown = React.useCallback(\r\n (e: React.KeyboardEvent) => {\r\n const visibleNodes = getVisibleNodes()\r\n const currentIndex = visibleNodes.findIndex(\r\n (el) => el.dataset.treeValue === focusedValue\r\n )\r\n\r\n switch (e.key) {\r\n case \"ArrowDown\": {\r\n e.preventDefault()\r\n const nextIndex = Math.min(currentIndex + 1, visibleNodes.length - 1)\r\n const nextValue = visibleNodes[nextIndex]?.dataset.treeValue\r\n if (nextValue) {\r\n setFocusedValue(nextValue)\r\n visibleNodes[nextIndex]?.focus()\r\n }\r\n break\r\n }\r\n case \"ArrowUp\": {\r\n e.preventDefault()\r\n const prevIndex = Math.max(currentIndex - 1, 0)\r\n const prevValue = visibleNodes[prevIndex]?.dataset.treeValue\r\n if (prevValue) {\r\n setFocusedValue(prevValue)\r\n visibleNodes[prevIndex]?.focus()\r\n }\r\n break\r\n }\r\n case \"ArrowRight\": {\r\n e.preventDefault()\r\n if (focusedValue) {\r\n const node = findNodeByValue(nodes, focusedValue)\r\n if (node?.children?.length) {\r\n if (!expandedValues.has(focusedValue)) {\r\n handleToggleExpand(focusedValue)\r\n } else {\r\n const firstChildValue = node.children[0].value\r\n setFocusedValue(firstChildValue)\r\n requestAnimationFrame(() => {\r\n const els = getVisibleNodes()\r\n const el = els.find(\r\n (n) => n.dataset.treeValue === firstChildValue\r\n )\r\n el?.focus()\r\n })\r\n }\r\n }\r\n }\r\n break\r\n }\r\n case \"ArrowLeft\": {\r\n e.preventDefault()\r\n if (focusedValue && expandedValues.has(focusedValue)) {\r\n handleToggleExpand(focusedValue)\r\n }\r\n break\r\n }\r\n case \"Enter\":\r\n case \" \": {\r\n e.preventDefault()\r\n if (focusedValue) {\r\n const node = findNodeByValue(nodes, focusedValue)\r\n if (node) handleSelect(node)\r\n }\r\n break\r\n }\r\n case \"Home\": {\r\n e.preventDefault()\r\n const firstValue = visibleNodes[0]?.dataset.treeValue\r\n if (firstValue) {\r\n setFocusedValue(firstValue)\r\n visibleNodes[0]?.focus()\r\n }\r\n break\r\n }\r\n case \"End\": {\r\n e.preventDefault()\r\n const lastValue =\r\n visibleNodes[visibleNodes.length - 1]?.dataset.treeValue\r\n if (lastValue) {\r\n setFocusedValue(lastValue)\r\n visibleNodes[visibleNodes.length - 1]?.focus()\r\n }\r\n break\r\n }\r\n }\r\n },\r\n [\r\n focusedValue,\r\n nodes,\r\n expandedValues,\r\n getVisibleNodes,\r\n handleToggleExpand,\r\n handleSelect,\r\n ]\r\n )\r\n\r\n const getDisplayText = () => {\r\n if (multiple) {\r\n if (values.length === 0) return placeholder\r\n if (values.length === 1) {\r\n const node = findNodeByValue(nodes, values[0])\r\n return node?.label ?? values[0]\r\n }\r\n return `${values.length} selected`\r\n }\r\n if (value) {\r\n const node = findNodeByValue(nodes, value)\r\n return node?.label ?? value\r\n }\r\n return placeholder\r\n }\r\n\r\n const renderSelectedChips = () => {\r\n if (!multiple || chipValues.length === 0) return null\r\n\r\n const chipNodes = chipValues\r\n .map((v) => findNodeByValue(nodes, v))\r\n .filter(Boolean) as TreeSelectNode[]\r\n\r\n return (\r\n <div className=\"max-h-[100px] overflow-y-auto px-2 py-1.5 border-b border-border\">\r\n <div className=\"flex flex-wrap gap-1\">\r\n {chipNodes.map((node) => (\r\n <div\r\n key={node.value}\r\n className=\"inline-flex items-center gap-1 rounded-md bg-secondary px-2 py-0.5 text-xs\"\r\n >\r\n <span className=\"truncate max-w-[120px]\">{node.label}</span>\r\n <X\r\n className=\"h-3 w-3 cursor-pointer shrink-0\"\r\n onClick={(e) => handleRemoveChip(node.value, e)}\r\n aria-label={`Remove ${node.label}`}\r\n />\r\n </div>\r\n ))}\r\n </div>\r\n </div>\r\n )\r\n }\r\n\r\n return (\r\n <Popover open={open} onOpenChange={handleOpenChange}>\r\n <PopoverTrigger asChild>\r\n <button\r\n type=\"button\"\r\n role=\"combobox\"\r\n aria-expanded={open}\r\n aria-haspopup=\"tree\"\r\n disabled={disabled}\r\n className={cn(\r\n \"cursor-pointer flex my-2 h-9 w-full items-center justify-between rounded-3xl border border-border bg-background hover:bg-secondary px-4 py-2 text-sm text-primary-accent 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\",\r\n !value && !values.length && \"text-secondary-text\",\r\n error &&\r\n \"border-destructive-foreground focus-visible:ring-destructive-foreground\",\r\n className\r\n )}\r\n >\r\n <span className=\"truncate\">{getDisplayText()}</span>\r\n <ChevronDown className=\"ml-2 h-4 w-4 shrink-0 opacity-50\" />\r\n </button>\r\n </PopoverTrigger>\r\n <PopoverContent\r\n className=\"p-0\"\r\n align=\"start\"\r\n style={{ width: \"var(--radix-popover-trigger-width)\" }}\r\n >\r\n <div className=\"flex items-center border-b px-3\">\r\n <Search className=\"mr-2 h-4 w-4 shrink-0 opacity-50\" />\r\n <input\r\n value={searchTerm}\r\n onChange={(e) => setSearchTerm(e.target.value)}\r\n placeholder={searchPlaceholder}\r\n className=\"flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50\"\r\n aria-label=\"Search tree\"\r\n />\r\n </div>\r\n\r\n {renderSelectedChips()}\r\n\r\n <div className=\"max-h-[300px] overflow-y-auto\">\r\n {filteredNodes && filteredNodes.length > 0 ? (\r\n <div\r\n ref={treeRef}\r\n role=\"tree\"\r\n aria-label=\"Options\"\r\n className=\"p-1\"\r\n onKeyDown={handleTreeKeyDown}\r\n >\r\n {filteredNodes.map((node) => (\r\n <TreeNodeItem\r\n key={node.value}\r\n node={node}\r\n depth={0}\r\n multiple={multiple}\r\n selectedSet={selectedSet}\r\n expandedValues={expandedValues}\r\n focusedValue={focusedValue}\r\n onToggleExpand={handleToggleExpand}\r\n onSelect={handleSelect}\r\n onFocus={setFocusedValue}\r\n searchTerm={searchTerm}\r\n />\r\n ))}\r\n </div>\r\n ) : (\r\n <div className=\"py-6 text-center text-sm text-muted-foreground\">\r\n {emptyMessage}\r\n </div>\r\n )}\r\n </div>\r\n </PopoverContent>\r\n </Popover>\r\n )\r\n}\r\n"],"mappings":";yIAEA,UAAYA,MAAW,QACvB,OAAS,SAAAC,GAAO,eAAAC,EAAa,gBAAAC,GAAc,UAAAC,GAAQ,KAAAC,OAAS,eAgKxD,mBAAAC,GAEE,OAAAC,EAFF,QAAAC,MAAA,oBA3HJ,SAASC,EAAuBC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AErD,UAAAxG,EAAC,OAAI,UAAU,kCACb,UAAAD,EAAC0G,GAAA,CAAO,UAAU,mCAAmC,EACrD1G,EAAC,SACC,MAAOa,EACP,SAAW8B,GAAMkB,EAAclB,EAAE,OAAO,KAAK,EAC7C,YAAaS,EACb,UAAU,yJACV,aAAW,cACb,GACF,EAECgD,GAAoB,EAErBpG,EAAC,OAAI,UAAU,gCACZ,SAAAkE,GAAiBA,EAAc,OAAS,EACvClE,EAAC,OACC,IAAKiE,EACL,KAAK,OACL,aAAW,UACX,UAAU,MACV,UAAWsB,EAEV,SAAArB,EAAc,IAAK/D,GAClBH,EAAC8B,EAAA,CAEC,KAAM3B,EACN,MAAO,EACP,SAAU6B,EACV,YAAazB,EACb,eAAgB0B,EAChB,aAAcC,EACd,eAAgBoC,EAChB,SAAUI,EACV,QAASZ,EACT,WAAYjD,GAVPV,EAAK,KAWZ,CACD,EACH,EAEAH,EAAC,OAAI,UAAU,iDACZ,SAAAqD,EACH,EAEJ,GACF,GACF,CAEJ","names":["React","Check","ChevronDown","ChevronRight","Search","X","Fragment","jsx","jsxs","getAllDescendantValues","node","values","child","getCheckState","selectedSet","descendants","selectedCount","v","filterTree","nodes","searchTerm","term","result","labelMatches","filteredChildren","getValuesOfMatchingNodes","walk","nodeList","hasMatch","childHasMatch","findNodeByValue","value","found","collectAllBranchValues","renderHighlightedLabel","label","index","TreeNodeItem","depth","multiple","expandedValues","focusedValue","onToggleExpand","onSelect","onFocus","hasChildren","isExpanded","checkState","indentPx","cn","e","ChevronDown","ChevronRight","Checkbox","Check","TreeSelect","onValueChange","onValuesChange","placeholder","searchPlaceholder","emptyMessage","disabled","className","error","defaultExpandedValues","expandAll","open","setOpen","setSearchTerm","setFocusedValue","setExpandedValues","preSearchExpandedRef","treeRef","filteredNodes","matchingAncestors","handleOpenChange","isOpen","handleToggleExpand","nodeValue","prev","next","handleSelect","allDescendants","currentState","newValues","toRemove","toAdd","newValue","handleRemoveChip","chipValue","chipValues","chips","state","getVisibleNodes","handleTreeKeyDown","visibleNodes","currentIndex","el","nextIndex","nextValue","prevIndex","prevValue","firstChildValue","n","firstValue","lastValue","getDisplayText","renderSelectedChips","chipNodes","X","Popover","PopoverTrigger","PopoverContent","Search"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";
|
|
2
|
-
var
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
var _chunkVBARF35Njs = require('./chunk-VBARF35N.js');var _react = require('react'); var r = _interopRequireWildcard(_react);var _jsxruntime = require('react/jsx-runtime');var d=r.forwardRef(({className:t,type:o,error:n,...i},s)=>_jsxruntime.jsx.call(void 0, "input",{type:o,className:_chunkVBARF35Njs.a.call(void 0, "flex my-2 h-9 w-full rounded-3xl border bg-background hover:bg-secondary px-4 py-2 text-sm text-primary-accent ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-secondary-text focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",n?"border-destructive-foreground focus-visible:ring-destructive-foreground":"border-border",t),ref:s,...i}));d.displayName="Input";exports.a = d;
|
|
3
|
+
//# sourceMappingURL=chunk-UAJUT7B7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["c:\\Users\\Dell\\Documents\\NextJS\\alkimi-ui-kit\\dist\\chunk-UAJUT7B7.js"],"names":[],"mappings":"AAAA,uWAAY;AACZ,sDAAuC,uEAAwB,+CAAwC,IAAK,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,6BAAC,OAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,gCAAC,2XAA4X,CAAC,CAAC,CAAC,yEAAyE,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,cAAc","file":"C:\\Users\\Dell\\Documents\\NextJS\\alkimi-ui-kit\\dist\\chunk-UAJUT7B7.js","sourcesContent":[null]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
var _clsx = require('clsx');var _tailwindmerge = require('tailwind-merge');function s(...r){return _tailwindmerge.twMerge.call(void 0, _clsx.clsx.call(void 0, r))}exports.a = s;
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
3
|
+
//# sourceMappingURL=chunk-VBARF35N.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["c:\\Users\\Dell\\Documents\\NextJS\\alkimi-ui-kit\\dist\\chunk-VBARF35N.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ,4BAA2B,+CAAyC,SAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,oCAAC,wBAAE,CAAE,CAAC,CAAC,CAAC,cAAc","file":"C:\\Users\\Dell\\Documents\\NextJS\\alkimi-ui-kit\\dist\\chunk-VBARF35N.js","sourcesContent":[null]}
|