@customafk/lunas-ui 0.1.18 → 0.1.20
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/dist/{avatar-BNU7KL48.mjs → avatar-BaxX-xI9.mjs} +1 -1
- package/dist/{avatar-BNU7KL48.mjs.map → avatar-BaxX-xI9.mjs.map} +1 -1
- package/dist/{avatar-DzZQenXU.cjs → avatar-dAu1c0bC.cjs} +1 -1
- package/dist/{avatar-DzZQenXU.cjs.map → avatar-dAu1c0bC.cjs.map} +1 -1
- package/dist/{button-vNDXA78a.d.mts → button-C2mvaa5I.d.mts} +5 -5
- package/dist/{button-C8HSrN_3.d.cts → button-CVYH2lum.d.cts} +5 -5
- package/dist/{button-JJaTl28Z.mjs → button-DIEXNBpi.mjs} +2 -2
- package/dist/{button-JJaTl28Z.mjs.map → button-DIEXNBpi.mjs.map} +1 -1
- package/dist/{button.variants-CgCCe7qb.mjs → button.variants-DmUzMbB8.mjs} +1 -1
- package/dist/{button.variants-CgCCe7qb.mjs.map → button.variants-DmUzMbB8.mjs.map} +1 -1
- package/dist/card-CWAdGhMr.mjs +2 -0
- package/dist/card-CWAdGhMr.mjs.map +1 -0
- package/dist/card-wGoU4Xiq.cjs +2 -0
- package/dist/card-wGoU4Xiq.cjs.map +1 -0
- package/dist/cards/grid-product-card.cjs +1 -1
- package/dist/cards/grid-product-card.mjs +1 -1
- package/dist/cards/product-card.cjs +1 -1
- package/dist/cards/product-card.mjs +1 -1
- package/dist/cards/simple-card.cjs +1 -1
- package/dist/cards/simple-card.mjs +1 -1
- package/dist/{close-B_PnUzNN.mjs → close-CGei_VQ6.mjs} +1 -1
- package/dist/{close-B_PnUzNN.mjs.map → close-CGei_VQ6.mjs.map} +1 -1
- package/dist/{close-DKsjFTou.cjs → close-CXhpIVAZ.cjs} +1 -1
- package/dist/{close-DKsjFTou.cjs.map → close-CXhpIVAZ.cjs.map} +1 -1
- package/dist/{command-Dohhg_fY.cjs → command-B8Tbe4oe.cjs} +2 -2
- package/dist/{command-Dohhg_fY.cjs.map → command-B8Tbe4oe.cjs.map} +1 -1
- package/dist/{command-CtWxCsMm.mjs → command-BLlJzBw9.mjs} +2 -2
- package/dist/{command-CtWxCsMm.mjs.map → command-BLlJzBw9.mjs.map} +1 -1
- package/dist/data-display/country.cjs +1 -1
- package/dist/data-display/country.cjs.map +1 -1
- package/dist/data-display/country.d.cts +1 -1
- package/dist/data-display/country.d.mts +1 -1
- package/dist/data-display/country.mjs +1 -1
- package/dist/data-display/country.mjs.map +1 -1
- package/dist/data-display/data-list.cjs +1 -1
- package/dist/data-display/data-list.cjs.map +1 -1
- package/dist/data-display/data-list.mjs +1 -1
- package/dist/data-display/data-list.mjs.map +1 -1
- package/dist/data-display/date-tooltip.cjs +1 -1
- package/dist/data-display/date-tooltip.mjs +1 -1
- package/dist/data-display/date.cjs +1 -1
- package/dist/data-display/date.mjs +1 -1
- package/dist/data-display/empty.cjs +1 -1
- package/dist/data-display/empty.cjs.map +1 -1
- package/dist/data-display/empty.d.mts +2 -2
- package/dist/data-display/empty.mjs +1 -1
- package/dist/data-display/empty.mjs.map +1 -1
- package/dist/data-display/name.cjs +1 -1
- package/dist/data-display/name.cjs.map +1 -1
- package/dist/data-display/name.mjs +1 -1
- package/dist/data-display/name.mjs.map +1 -1
- package/dist/data-display/phone-number.cjs +1 -1
- package/dist/data-display/phone-number.mjs +1 -1
- package/dist/data-display/role-badge.d.cts +1 -1
- package/dist/data-display/role-badge.d.mts +1 -1
- package/dist/data-display/role-badge.mjs +1 -1
- package/dist/data-display/statistic.cjs +1 -1
- package/dist/data-display/statistic.cjs.map +1 -1
- package/dist/data-display/statistic.d.cts +2 -2
- package/dist/data-display/statistic.mjs +1 -1
- package/dist/data-display/statistic.mjs.map +1 -1
- package/dist/data-display/user.cjs +1 -1
- package/dist/data-display/user.cjs.map +1 -1
- package/dist/data-display/user.mjs +1 -1
- package/dist/data-display/user.mjs.map +1 -1
- package/dist/{date-BUKVV2NZ.cjs → date-DU8xM0hQ.cjs} +2 -2
- package/dist/date-DU8xM0hQ.cjs.map +1 -0
- package/dist/{date-SmlhDFZs.mjs → date-Vl-tZLuD.mjs} +2 -2
- package/dist/date-Vl-tZLuD.mjs.map +1 -0
- package/dist/{dialog-CoSwDi4O.d.cts → dialog-B-W-TsHv.d.cts} +12 -12
- package/dist/{dialog-DU7tobKF.d.mts → dialog-DTDroSTP.d.mts} +12 -12
- package/dist/{dialog-DEnVUD9A.cjs → dialog-DZ_gg6Ol.cjs} +2 -2
- package/dist/{dialog-DEnVUD9A.cjs.map → dialog-DZ_gg6Ol.cjs.map} +1 -1
- package/dist/{dialog-4ZJcWPar.mjs → dialog-DeZVOOmh.mjs} +2 -2
- package/dist/{dialog-4ZJcWPar.mjs.map → dialog-DeZVOOmh.mjs.map} +1 -1
- package/dist/dialogs/confirm-dialog.mjs +1 -1
- package/dist/dialogs/detail-dialog/component/sidebar.cjs +1 -1
- package/dist/dialogs/detail-dialog/component/sidebar.d.cts +30 -30
- package/dist/dialogs/detail-dialog/component/sidebar.d.mts +28 -28
- package/dist/dialogs/detail-dialog/component/sidebar.mjs +1 -1
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.cjs.map +1 -1
- package/dist/dialogs/detail-dialog/index.mjs +1 -1
- package/dist/dialogs/detail-dialog/index.mjs.map +1 -1
- package/dist/dialogs/error-dialog.mjs +1 -1
- package/dist/dialogs/loading-dialog.cjs +1 -1
- package/dist/dialogs/loading-dialog.mjs +1 -1
- package/dist/{dist-D2ydYRc4.mjs → dist-CT2ZB1PF.mjs} +1 -1
- package/dist/{dist-D2ydYRc4.mjs.map → dist-CT2ZB1PF.mjs.map} +1 -1
- package/dist/{drawer-B2QxYWMi.mjs → drawer-272Fecsq.mjs} +1 -1
- package/dist/{drawer-B2QxYWMi.mjs.map → drawer-272Fecsq.mjs.map} +1 -1
- package/dist/{drawer-DpT2kOKz.cjs → drawer-y-Yrqskp.cjs} +1 -1
- package/dist/{drawer-DpT2kOKz.cjs.map → drawer-y-Yrqskp.cjs.map} +1 -1
- package/dist/{dropdown-menu-BuyuU6uF.cjs → dropdown-menu-C_dw8mro.cjs} +1 -1
- package/dist/{dropdown-menu-BuyuU6uF.cjs.map → dropdown-menu-C_dw8mro.cjs.map} +1 -1
- package/dist/{dropdown-menu-BwcDzb4B.mjs → dropdown-menu-CtU6oBI4.mjs} +1 -1
- package/dist/{dropdown-menu-BwcDzb4B.mjs.map → dropdown-menu-CtU6oBI4.mjs.map} +1 -1
- package/dist/features/search-modal/index.cjs +1 -1
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/search-modal/index.d.mts +2 -2
- package/dist/features/search-modal/index.mjs +1 -1
- package/dist/features/tables/index.cjs +2 -0
- package/dist/features/tables/index.cjs.map +1 -0
- package/dist/features/tables/index.d.cts +75 -0
- package/dist/features/tables/index.d.mts +75 -0
- package/dist/features/tables/index.mjs +2 -0
- package/dist/features/tables/index.mjs.map +1 -0
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/flex-BGQqaHKh.mjs +2 -0
- package/dist/flex-BGQqaHKh.mjs.map +1 -0
- package/dist/flex-BYj-xYaw.cjs +2 -0
- package/dist/flex-BYj-xYaw.cjs.map +1 -0
- package/dist/{image-xsA4ZQ-u.mjs → image-BwbAQRxx.mjs} +2 -2
- package/dist/{image-xsA4ZQ-u.mjs.map → image-BwbAQRxx.mjs.map} +1 -1
- package/dist/{input-CEwMjaj3.d.cts → input-7SdNeLmh.d.cts} +4 -4
- package/dist/{input-CYFvmWQU.mjs → input-CC10BdKh.mjs} +1 -1
- package/dist/{input-CYFvmWQU.mjs.map → input-CC10BdKh.mjs.map} +1 -1
- package/dist/{input-ttkmXaOF.d.mts → input-Dh6hVhHG.d.mts} +4 -4
- package/dist/{input-CvMqFdEE.cjs → input-DhUevNkc.cjs} +1 -1
- package/dist/{input-CvMqFdEE.cjs.map → input-DhUevNkc.cjs.map} +1 -1
- package/dist/{label-D6vHFlHX.cjs → label-CaBktIhh.cjs} +1 -1
- package/dist/{label-D6vHFlHX.cjs.map → label-CaBktIhh.cjs.map} +1 -1
- package/dist/{label-11tIftbr.mjs → label-DVfxfyG5.mjs} +1 -1
- package/dist/{label-11tIftbr.mjs.map → label-DVfxfyG5.mjs.map} +1 -1
- package/dist/layouts/app-layout/index.cjs +1 -1
- package/dist/layouts/app-layout/index.d.cts +28 -28
- package/dist/layouts/app-layout/index.d.mts +28 -28
- package/dist/layouts/app-layout/index.mjs +1 -1
- package/dist/layouts/cms-layout/index.cjs +1 -1
- package/dist/layouts/cms-layout/index.cjs.map +1 -1
- package/dist/layouts/cms-layout/index.mjs +1 -1
- package/dist/layouts/cms-layout/index.mjs.map +1 -1
- package/dist/layouts/flex.cjs +1 -2
- package/dist/layouts/flex.d.cts +6 -6
- package/dist/layouts/flex.d.mts +4 -4
- package/dist/layouts/flex.mjs +1 -2
- package/dist/layouts/service-layout/index.cjs +1 -1
- package/dist/layouts/service-layout/index.d.cts +13 -13
- package/dist/layouts/service-layout/index.d.mts +15 -15
- package/dist/layouts/service-layout/index.mjs +1 -1
- package/dist/layouts/service-layout/index.mjs.map +1 -1
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureDeveloping.mjs +1 -1
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/FeatureFixing.mjs +1 -1
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotAuthorized.mjs +1 -1
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/pages/NotFound.mjs +1 -1
- package/dist/paragraph-0_oMnSMM.cjs +2 -0
- package/dist/paragraph-0_oMnSMM.cjs.map +1 -0
- package/dist/paragraph-BXY43iOX.mjs +2 -0
- package/dist/paragraph-BXY43iOX.mjs.map +1 -0
- package/dist/resizable-B9HHrfKn.mjs +2 -0
- package/dist/resizable-B9HHrfKn.mjs.map +1 -0
- package/dist/resizable-D8XbQdj_.cjs +2 -0
- package/dist/resizable-D8XbQdj_.cjs.map +1 -0
- package/dist/{scroll-area-4UBa5t9-.mjs → scroll-area-CiMS2UY7.mjs} +1 -1
- package/dist/{scroll-area-4UBa5t9-.mjs.map → scroll-area-CiMS2UY7.mjs.map} +1 -1
- package/dist/{scroll-area-BzXnYZNO.cjs → scroll-area-qE6GqGkn.cjs} +1 -1
- package/dist/{scroll-area-BzXnYZNO.cjs.map → scroll-area-qE6GqGkn.cjs.map} +1 -1
- package/dist/{separator-Be9cbVN8.d.mts → separator-BlXmdu-p.d.cts} +3 -3
- package/dist/{separator-Bf0gymN4.mjs → separator-C2yOD6r_.mjs} +1 -1
- package/dist/{separator-Bf0gymN4.mjs.map → separator-C2yOD6r_.mjs.map} +1 -1
- package/dist/{separator-jytY1CPq.cjs → separator-D3CGKwyf.cjs} +1 -1
- package/dist/{separator-jytY1CPq.cjs.map → separator-D3CGKwyf.cjs.map} +1 -1
- package/dist/{separator-DiP2uw3M.d.cts → separator-uqlPXXM6.d.mts} +3 -3
- package/dist/{sheet-oadGRiie.mjs → sheet-DXLayspn.mjs} +1 -1
- package/dist/{sheet-oadGRiie.mjs.map → sheet-DXLayspn.mjs.map} +1 -1
- package/dist/{sheet-BTGsz390.cjs → sheet-DtWL6WcJ.cjs} +1 -1
- package/dist/{sheet-BTGsz390.cjs.map → sheet-DtWL6WcJ.cjs.map} +1 -1
- package/dist/{skeleton-6MpPv0K3.mjs → skeleton-CvZncisJ.mjs} +1 -1
- package/dist/{skeleton-6MpPv0K3.mjs.map → skeleton-CvZncisJ.mjs.map} +1 -1
- package/dist/{tabs-BIo6ZB9g.mjs → tabs-Cjh2jtUZ.mjs} +1 -1
- package/dist/{tabs-BIo6ZB9g.mjs.map → tabs-Cjh2jtUZ.mjs.map} +1 -1
- package/dist/{tabs-bXy8hbAR.cjs → tabs-DSofRReg.cjs} +1 -1
- package/dist/{tabs-bXy8hbAR.cjs.map → tabs-DSofRReg.cjs.map} +1 -1
- package/dist/{title-BaHImoIu.cjs → title-C4XNLXSe.cjs} +1 -1
- package/dist/{title-BaHImoIu.cjs.map → title-C4XNLXSe.cjs.map} +1 -1
- package/dist/{title-DcNd812E.mjs → title-CMJS7QS7.mjs} +1 -1
- package/dist/{title-DcNd812E.mjs.map → title-CMJS7QS7.mjs.map} +1 -1
- package/dist/{tooltip-DGiat0Dt.mjs → tooltip-D0XDvxqi.mjs} +1 -1
- package/dist/{tooltip-DGiat0Dt.mjs.map → tooltip-D0XDvxqi.mjs.map} +1 -1
- package/dist/{tooltip-CwJnif3V.d.mts → tooltip-DOnCuFV4.d.cts} +6 -6
- package/dist/{tooltip-xl-O4did.d.cts → tooltip-DWHcJkRL.d.mts} +6 -6
- package/dist/{tooltip-CUSQdxdt.cjs → tooltip-zYWazsY5.cjs} +1 -1
- package/dist/{tooltip-CUSQdxdt.cjs.map → tooltip-zYWazsY5.cjs.map} +1 -1
- package/dist/{types-BQMTFD_z.mjs → types-BZefxrvC.mjs} +1 -1
- package/dist/{types-BQMTFD_z.mjs.map → types-BZefxrvC.mjs.map} +1 -1
- package/dist/{types-BB_E2uE0.d.mts → types-D2kMOc_b.d.mts} +1 -1
- package/dist/{types-CwAGHByL.d.cts → types-D8mZhixM.d.cts} +1 -1
- package/dist/typography/paragraph.cjs +1 -2
- package/dist/typography/paragraph.d.cts +2 -2
- package/dist/typography/paragraph.d.mts +2 -2
- package/dist/typography/paragraph.mjs +1 -2
- package/dist/typography/title.cjs +1 -1
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.mts +2 -2
- package/dist/typography/title.mjs +1 -1
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.mts +12 -12
- package/dist/ui/alert-dialog.mjs +1 -1
- package/dist/ui/alert.d.cts +6 -6
- package/dist/ui/alert.d.mts +4 -4
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.mts +2 -2
- package/dist/ui/avatar.cjs +1 -1
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.mts +4 -4
- package/dist/ui/avatar.mjs +1 -1
- package/dist/ui/badge.d.cts +4 -4
- package/dist/ui/badge.d.mts +4 -4
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/breadcrumb.mjs +1 -1
- package/dist/ui/button-group.cjs +1 -1
- package/dist/ui/button-group.d.cts +7 -7
- package/dist/ui/button-group.d.mts +7 -7
- package/dist/ui/button-group.mjs +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/button.mjs +1 -1
- package/dist/ui/buttons/add-new.cjs +1 -1
- package/dist/ui/buttons/add-new.cjs.map +1 -1
- package/dist/ui/buttons/add-new.mjs +1 -1
- package/dist/ui/buttons/add-new.mjs.map +1 -1
- package/dist/ui/buttons/edit.mjs +1 -1
- package/dist/ui/buttons/refresh.cjs +1 -1
- package/dist/ui/buttons/refresh.cjs.map +1 -1
- package/dist/ui/buttons/refresh.mjs +1 -1
- package/dist/ui/buttons/refresh.mjs.map +1 -1
- package/dist/ui/buttons/trash.mjs +1 -1
- package/dist/ui/buttons/upload-image.mjs +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +4 -4
- package/dist/ui/calendar.mjs +1 -1
- package/dist/ui/card.cjs +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +8 -8
- package/dist/ui/card.mjs +1 -1
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/carousel.mjs +1 -1
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.mts +4 -4
- package/dist/ui/command.cjs +1 -1
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.mts +11 -11
- package/dist/ui/command.mjs +1 -1
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +16 -16
- package/dist/ui/dialog.cjs +1 -1
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/dialog.mjs +1 -1
- package/dist/ui/drawer.cjs +1 -1
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.mjs +1 -1
- package/dist/ui/dropdown-menu.cjs +1 -1
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.mts +16 -16
- package/dist/ui/dropdown-menu.mjs +1 -1
- package/dist/ui/empty.d.mts +9 -9
- package/dist/ui/field.cjs +1 -1
- package/dist/ui/field.d.cts +22 -22
- package/dist/ui/field.d.mts +13 -13
- package/dist/ui/field.mjs +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/file-uploader.mjs +1 -1
- package/dist/ui/form.cjs +1 -1
- package/dist/ui/form.d.cts +11 -11
- package/dist/ui/form.d.mts +7 -7
- package/dist/ui/form.mjs +1 -1
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.mts +4 -4
- package/dist/ui/image.mjs +1 -1
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.mts +5 -5
- package/dist/ui/input.cjs +1 -1
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/input.mjs +1 -1
- package/dist/ui/inputs/search-input.cjs +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.mts +3 -3
- package/dist/ui/inputs/search-input.mjs +1 -1
- package/dist/ui/item.cjs +1 -1
- package/dist/ui/item.d.cts +14 -14
- package/dist/ui/item.d.mts +17 -17
- package/dist/ui/item.mjs +1 -1
- package/dist/ui/label.cjs +1 -1
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- package/dist/ui/label.mjs +1 -1
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +17 -17
- package/dist/ui/multi-select.cjs +1 -1
- package/dist/ui/multi-select.d.mts +3 -3
- package/dist/ui/multi-select.mjs +1 -1
- package/dist/ui/navigation-menu.d.cts +9 -9
- package/dist/ui/navigation-menu.d.mts +11 -11
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.mts +9 -9
- package/dist/ui/pagination.mjs +1 -1
- package/dist/ui/popover.d.cts +5 -5
- package/dist/ui/popover.d.mts +5 -5
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/resizable.cjs +1 -2
- package/dist/ui/resizable.d.cts +4 -4
- package/dist/ui/resizable.d.mts +4 -4
- package/dist/ui/resizable.mjs +1 -2
- package/dist/ui/scroll-area.cjs +1 -1
- package/dist/ui/scroll-area.d.cts +3 -3
- package/dist/ui/scroll-area.d.mts +6 -6
- package/dist/ui/scroll-area.mjs +1 -1
- package/dist/ui/select.d.cts +11 -11
- package/dist/ui/select.d.mts +11 -11
- package/dist/ui/separator.cjs +1 -1
- package/dist/ui/separator.d.cts +1 -1
- package/dist/ui/separator.d.mts +1 -1
- package/dist/ui/separator.mjs +1 -1
- package/dist/ui/sheet.cjs +1 -1
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sheet.mjs +1 -1
- package/dist/ui/sidebar.cjs +1 -1
- package/dist/ui/sidebar.d.cts +30 -30
- package/dist/ui/sidebar.d.mts +28 -28
- package/dist/ui/sidebar.mjs +1 -1
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.mts +2 -2
- package/dist/ui/skeleton.mjs +1 -1
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.mts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.mts +2 -2
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.mts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/table.d.cts +9 -9
- package/dist/ui/table.d.mts +18 -18
- package/dist/ui/tabs.cjs +1 -1
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/tabs.mjs +1 -1
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle.d.cts +4 -4
- package/dist/ui/toggle.d.mts +2 -2
- package/dist/ui/tooltip.cjs +1 -1
- package/dist/ui/tooltip.d.cts +1 -1
- package/dist/ui/tooltip.d.mts +1 -1
- package/dist/ui/tooltip.mjs +1 -1
- package/package.json +5 -1
- package/dist/card-C8fcblBB.mjs +0 -2
- package/dist/card-C8fcblBB.mjs.map +0 -1
- package/dist/card-CXsIpa9Y.cjs +0 -2
- package/dist/card-CXsIpa9Y.cjs.map +0 -1
- package/dist/date-BUKVV2NZ.cjs.map +0 -1
- package/dist/date-SmlhDFZs.mjs.map +0 -1
- package/dist/layouts/flex.cjs.map +0 -1
- package/dist/layouts/flex.mjs.map +0 -1
- package/dist/typography/paragraph.cjs.map +0 -1
- package/dist/typography/paragraph.mjs.map +0 -1
- package/dist/ui/resizable.cjs.map +0 -1
- package/dist/ui/resizable.mjs.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime275 from "react/jsx-runtime";
|
|
2
2
|
import { RadioGroup as RadioGroup$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/radio-group.d.ts
|
|
5
5
|
declare function RadioGroup({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof RadioGroup$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof RadioGroup$1.Root>): react_jsx_runtime275.JSX.Element;
|
|
9
9
|
declare function RadioGroupItem({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof RadioGroup$1.Item>):
|
|
12
|
+
}: React.ComponentProps<typeof RadioGroup$1.Item>): react_jsx_runtime275.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { RadioGroup, RadioGroupItem };
|
|
15
15
|
//# sourceMappingURL=radio-group.d.mts.map
|
package/dist/ui/resizable.cjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use client";const e=require(`../
|
|
2
|
-
//# sourceMappingURL=resizable.cjs.map
|
|
1
|
+
"use client";const e=require(`../resizable-D8XbQdj_.cjs`);exports.ResizableHandle=e.t,exports.ResizablePanel=e.n,exports.ResizablePanelGroup=e.r;
|
package/dist/ui/resizable.d.cts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime218 from "react/jsx-runtime";
|
|
2
2
|
import * as ResizablePrimitive from "react-resizable-panels";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/resizable.d.ts
|
|
5
5
|
declare function ResizablePanelGroup({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>):
|
|
8
|
+
}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime218.JSX.Element;
|
|
9
9
|
declare function ResizablePanel({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof ResizablePrimitive.Panel>):
|
|
11
|
+
}: React.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime218.JSX.Element;
|
|
12
12
|
declare function ResizableHandle({
|
|
13
13
|
withHandle,
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
16
|
}: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
17
17
|
withHandle?: boolean;
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime218.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
21
21
|
//# sourceMappingURL=resizable.d.cts.map
|
package/dist/ui/resizable.d.mts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime272 from "react/jsx-runtime";
|
|
2
2
|
import * as ResizablePrimitive from "react-resizable-panels";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/resizable.d.ts
|
|
5
5
|
declare function ResizablePanelGroup({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>):
|
|
8
|
+
}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime272.JSX.Element;
|
|
9
9
|
declare function ResizablePanel({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof ResizablePrimitive.Panel>):
|
|
11
|
+
}: React.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime272.JSX.Element;
|
|
12
12
|
declare function ResizableHandle({
|
|
13
13
|
withHandle,
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
16
|
}: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
17
17
|
withHandle?: boolean;
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime272.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
21
21
|
//# sourceMappingURL=resizable.d.mts.map
|
package/dist/ui/resizable.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use client";import{
|
|
2
|
-
//# sourceMappingURL=resizable.mjs.map
|
|
1
|
+
"use client";import{n as e,r as t,t as n}from"../resizable-B9HHrfKn.mjs";export{n as ResizableHandle,e as ResizablePanel,t as ResizablePanelGroup};
|
package/dist/ui/scroll-area.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require(`../scroll-area-
|
|
1
|
+
"use client";const e=require(`../scroll-area-qE6GqGkn.cjs`);exports.ScrollArea=e.t,exports.ScrollBar=e.n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime221 from "react/jsx-runtime";
|
|
2
2
|
import * as react14 from "react";
|
|
3
3
|
import { ScrollArea as ScrollArea$1 } from "radix-ui";
|
|
4
4
|
|
|
@@ -9,12 +9,12 @@ declare const ScrollArea: react14.MemoExoticComponent<({
|
|
|
9
9
|
ref,
|
|
10
10
|
onScroll,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof ScrollArea$1.Root>) =>
|
|
12
|
+
}: React.ComponentProps<typeof ScrollArea$1.Root>) => react_jsx_runtime221.JSX.Element>;
|
|
13
13
|
declare const ScrollBar: react14.MemoExoticComponent<({
|
|
14
14
|
className,
|
|
15
15
|
orientation,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>) =>
|
|
17
|
+
}: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>) => react_jsx_runtime221.JSX.Element>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { ScrollArea, ScrollBar };
|
|
20
20
|
//# sourceMappingURL=scroll-area.d.cts.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime278 from "react/jsx-runtime";
|
|
2
|
+
import * as react24 from "react";
|
|
3
3
|
import { ScrollArea as ScrollArea$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/scroll-area.d.ts
|
|
6
|
-
declare const ScrollArea:
|
|
6
|
+
declare const ScrollArea: react24.MemoExoticComponent<({
|
|
7
7
|
className,
|
|
8
8
|
children,
|
|
9
9
|
ref,
|
|
10
10
|
onScroll,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof ScrollArea$1.Root>) =>
|
|
13
|
-
declare const ScrollBar:
|
|
12
|
+
}: React.ComponentProps<typeof ScrollArea$1.Root>) => react_jsx_runtime278.JSX.Element>;
|
|
13
|
+
declare const ScrollBar: react24.MemoExoticComponent<({
|
|
14
14
|
className,
|
|
15
15
|
orientation,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>) =>
|
|
17
|
+
}: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>) => react_jsx_runtime278.JSX.Element>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { ScrollArea, ScrollBar };
|
|
20
20
|
//# sourceMappingURL=scroll-area.d.mts.map
|
package/dist/ui/scroll-area.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{n as e,t}from"../scroll-area-
|
|
1
|
+
"use client";import{n as e,t}from"../scroll-area-CiMS2UY7.mjs";export{t as ScrollArea,e as ScrollBar};
|
package/dist/ui/select.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime225 from "react/jsx-runtime";
|
|
2
2
|
import { Select as Select$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/select.d.ts
|
|
5
5
|
declare function Select({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Select$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Select$1.Root>): react_jsx_runtime225.JSX.Element;
|
|
8
8
|
declare function SelectGroup({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Select$1.Group>):
|
|
10
|
+
}: React.ComponentProps<typeof Select$1.Group>): react_jsx_runtime225.JSX.Element;
|
|
11
11
|
declare function SelectValue({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Select$1.Value>):
|
|
13
|
+
}: React.ComponentProps<typeof Select$1.Value>): react_jsx_runtime225.JSX.Element;
|
|
14
14
|
declare function SelectTrigger({
|
|
15
15
|
className,
|
|
16
16
|
size,
|
|
@@ -18,34 +18,34 @@ declare function SelectTrigger({
|
|
|
18
18
|
...props
|
|
19
19
|
}: React.ComponentProps<typeof Select$1.Trigger> & {
|
|
20
20
|
size?: 'sm' | 'default';
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime225.JSX.Element;
|
|
22
22
|
declare function SelectContent({
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
25
25
|
position,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof Select$1.Content>):
|
|
27
|
+
}: React.ComponentProps<typeof Select$1.Content>): react_jsx_runtime225.JSX.Element;
|
|
28
28
|
declare function SelectLabel({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Select$1.Label>):
|
|
31
|
+
}: React.ComponentProps<typeof Select$1.Label>): react_jsx_runtime225.JSX.Element;
|
|
32
32
|
declare function SelectItem({
|
|
33
33
|
className,
|
|
34
34
|
children,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<typeof Select$1.Item>):
|
|
36
|
+
}: React.ComponentProps<typeof Select$1.Item>): react_jsx_runtime225.JSX.Element;
|
|
37
37
|
declare function SelectSeparator({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof Select$1.Separator>):
|
|
40
|
+
}: React.ComponentProps<typeof Select$1.Separator>): react_jsx_runtime225.JSX.Element;
|
|
41
41
|
declare function SelectScrollUpButton({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<typeof Select$1.ScrollUpButton>):
|
|
44
|
+
}: React.ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime225.JSX.Element;
|
|
45
45
|
declare function SelectScrollDownButton({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<typeof Select$1.ScrollDownButton>):
|
|
48
|
+
}: React.ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime225.JSX.Element;
|
|
49
49
|
//#endregion
|
|
50
50
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
51
51
|
//# sourceMappingURL=select.d.cts.map
|
package/dist/ui/select.d.mts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime211 from "react/jsx-runtime";
|
|
2
2
|
import { Select as Select$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/select.d.ts
|
|
5
5
|
declare function Select({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Select$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Select$1.Root>): react_jsx_runtime211.JSX.Element;
|
|
8
8
|
declare function SelectGroup({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Select$1.Group>):
|
|
10
|
+
}: React.ComponentProps<typeof Select$1.Group>): react_jsx_runtime211.JSX.Element;
|
|
11
11
|
declare function SelectValue({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Select$1.Value>):
|
|
13
|
+
}: React.ComponentProps<typeof Select$1.Value>): react_jsx_runtime211.JSX.Element;
|
|
14
14
|
declare function SelectTrigger({
|
|
15
15
|
className,
|
|
16
16
|
size,
|
|
@@ -18,34 +18,34 @@ declare function SelectTrigger({
|
|
|
18
18
|
...props
|
|
19
19
|
}: React.ComponentProps<typeof Select$1.Trigger> & {
|
|
20
20
|
size?: 'sm' | 'default';
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime211.JSX.Element;
|
|
22
22
|
declare function SelectContent({
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
25
25
|
position,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof Select$1.Content>):
|
|
27
|
+
}: React.ComponentProps<typeof Select$1.Content>): react_jsx_runtime211.JSX.Element;
|
|
28
28
|
declare function SelectLabel({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Select$1.Label>):
|
|
31
|
+
}: React.ComponentProps<typeof Select$1.Label>): react_jsx_runtime211.JSX.Element;
|
|
32
32
|
declare function SelectItem({
|
|
33
33
|
className,
|
|
34
34
|
children,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<typeof Select$1.Item>):
|
|
36
|
+
}: React.ComponentProps<typeof Select$1.Item>): react_jsx_runtime211.JSX.Element;
|
|
37
37
|
declare function SelectSeparator({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof Select$1.Separator>):
|
|
40
|
+
}: React.ComponentProps<typeof Select$1.Separator>): react_jsx_runtime211.JSX.Element;
|
|
41
41
|
declare function SelectScrollUpButton({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<typeof Select$1.ScrollUpButton>):
|
|
44
|
+
}: React.ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime211.JSX.Element;
|
|
45
45
|
declare function SelectScrollDownButton({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<typeof Select$1.ScrollDownButton>):
|
|
48
|
+
}: React.ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime211.JSX.Element;
|
|
49
49
|
//#endregion
|
|
50
50
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
51
51
|
//# sourceMappingURL=select.d.mts.map
|
package/dist/ui/separator.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require(`../separator-
|
|
1
|
+
"use client";const e=require(`../separator-D3CGKwyf.cjs`);exports.Separator=e.t;
|
package/dist/ui/separator.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Separator } from "../separator-
|
|
1
|
+
import { t as Separator } from "../separator-BlXmdu-p.cjs";
|
|
2
2
|
export { Separator };
|
package/dist/ui/separator.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Separator } from "../separator-
|
|
1
|
+
import { t as Separator } from "../separator-uqlPXXM6.mjs";
|
|
2
2
|
export { Separator };
|
package/dist/ui/separator.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{t as e}from"../separator-
|
|
1
|
+
"use client";import{t as e}from"../separator-C2yOD6r_.mjs";export{e as Separator};
|
package/dist/ui/sheet.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require(`../sheet-
|
|
1
|
+
"use client";const e=require(`../sheet-DtWL6WcJ.cjs`);exports.Sheet=e.t,exports.SheetClose=e.n,exports.SheetContent=e.r,exports.SheetDescription=e.i,exports.SheetFooter=e.a,exports.SheetHeader=e.o,exports.SheetTitle=e.s,exports.SheetTrigger=e.c;
|
package/dist/ui/sheet.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime235 from "react/jsx-runtime";
|
|
2
2
|
import { Dialog } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/sheet.d.ts
|
|
5
5
|
declare function Sheet({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Dialog.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime235.JSX.Element;
|
|
8
8
|
declare function SheetTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Dialog.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime235.JSX.Element;
|
|
11
11
|
declare function SheetClose({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Dialog.Close>):
|
|
13
|
+
}: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime235.JSX.Element;
|
|
14
14
|
declare function SheetContent({
|
|
15
15
|
className,
|
|
16
16
|
children,
|
|
@@ -18,23 +18,23 @@ declare function SheetContent({
|
|
|
18
18
|
...props
|
|
19
19
|
}: React.ComponentProps<typeof Dialog.Content> & {
|
|
20
20
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime235.JSX.Element;
|
|
22
22
|
declare function SheetHeader({
|
|
23
23
|
className,
|
|
24
24
|
...props
|
|
25
|
-
}: React.ComponentProps<'div'>):
|
|
25
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime235.JSX.Element;
|
|
26
26
|
declare function SheetFooter({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'>):
|
|
29
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime235.JSX.Element;
|
|
30
30
|
declare function SheetTitle({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof Dialog.Title>):
|
|
33
|
+
}: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime235.JSX.Element;
|
|
34
34
|
declare function SheetDescription({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof Dialog.Description>):
|
|
37
|
+
}: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime235.JSX.Element;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
40
40
|
//# sourceMappingURL=sheet.d.cts.map
|
package/dist/ui/sheet.d.mts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime199 from "react/jsx-runtime";
|
|
2
2
|
import { Dialog } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/sheet.d.ts
|
|
5
5
|
declare function Sheet({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Dialog.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime199.JSX.Element;
|
|
8
8
|
declare function SheetTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Dialog.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime199.JSX.Element;
|
|
11
11
|
declare function SheetClose({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Dialog.Close>):
|
|
13
|
+
}: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime199.JSX.Element;
|
|
14
14
|
declare function SheetContent({
|
|
15
15
|
className,
|
|
16
16
|
children,
|
|
@@ -18,23 +18,23 @@ declare function SheetContent({
|
|
|
18
18
|
...props
|
|
19
19
|
}: React.ComponentProps<typeof Dialog.Content> & {
|
|
20
20
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime199.JSX.Element;
|
|
22
22
|
declare function SheetHeader({
|
|
23
23
|
className,
|
|
24
24
|
...props
|
|
25
|
-
}: React.ComponentProps<'div'>):
|
|
25
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime199.JSX.Element;
|
|
26
26
|
declare function SheetFooter({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'>):
|
|
29
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime199.JSX.Element;
|
|
30
30
|
declare function SheetTitle({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof Dialog.Title>):
|
|
33
|
+
}: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime199.JSX.Element;
|
|
34
34
|
declare function SheetDescription({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof Dialog.Description>):
|
|
37
|
+
}: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime199.JSX.Element;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
40
40
|
//# sourceMappingURL=sheet.d.mts.map
|
package/dist/ui/sheet.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{a as e,c as t,i as n,n as r,o as i,r as a,s as o,t as s}from"../sheet-
|
|
1
|
+
"use client";import{a as e,c as t,i as n,n as r,o as i,r as a,s as o,t as s}from"../sheet-DXLayspn.mjs";export{s as Sheet,r as SheetClose,a as SheetContent,n as SheetDescription,e as SheetFooter,i as SheetHeader,o as SheetTitle,t as SheetTrigger};
|
package/dist/ui/sidebar.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-C--cfyfH.cjs`);const t=require(`../button-DtFiUaY7.cjs`),n=require(`../skeleton-C4suljHP.cjs`),r=require(`../tooltip-CUSQdxdt.cjs`),i=require(`../input-CvMqFdEE.cjs`),a=require(`../separator-jytY1CPq.cjs`),o=require(`../drawer-DpT2kOKz.cjs`);let s=require(`@customafk/react-toolkit/utils`),c=require(`react/jsx-runtime`),l=require(`lucide-react`),u=require(`react`),d=require(`class-variance-authority`),f=require(`radix-ui`),p=require(`@customafk/react-toolkit/hooks/useMobile`);const m=`sidebar_state`,h=3600*24*7,g=`16rem`,_=`18rem`,v=`3rem`,y=`b`,b=(0,u.createContext)(null);function x(){let e=(0,u.use)(b);if(!e)throw Error(`useSidebar must be used within a SidebarProvider.`);return e}function S({defaultOpen:e=!0,open:t,onOpenChange:n,className:i,style:a,children:o,...l}){let d=(0,p.useIsMobile)(),[f,m]=(0,u.useState)(!1),[h,g]=(0,u.useState)(e),_=t??h,v=(0,u.useCallback)(e=>{let t=typeof e==`function`?e(_):e;n?n(t):g(t),document.cookie=`sidebar_state=${t}; path=/; max-age=604800`},[n,_]),y=(0,u.useCallback)(()=>d?m(e=>!e):v(e=>!e),[d,v,m]);(0,u.useEffect)(()=>{let e=e=>{e.key===`b`&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),y())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[y]);let x=_?`expanded`:`collapsed`,S=(0,u.useMemo)(()=>({state:x,isMobile:d,toggleSidebar:y,open:_,setOpen:v,openMobile:f,setOpenMobile:m}),[x,_,v,d,f,m,y]);return(0,c.jsx)(b.Provider,{value:S,children:(0,c.jsx)(r.r,{delayDuration:0,children:(0,c.jsx)(`div`,{"data-slot":`sidebar-wrapper`,style:{"--sidebar-width":`16rem`,"--sidebar-width-icon":`3rem`,...a},className:(0,s.cn)(`group/sidebar-wrapper`,`has-data-[variant=inset]:bg-sidebar`,`flex h-dvh w-full`,i),...l,children:o})})})}function C({side:e=`left`,variant:t=`sidebar`,collapsible:n=`offcanvas`,className:r,children:i,...a}){let{isMobile:l,state:u,openMobile:d,setOpenMobile:f}=x();return n===`none`?(0,c.jsx)(`aside`,{"data-slot":`sidebar`,className:(0,s.cn)(`bg-sidebar`,`text-sidebar-foreground`,`flex h-full w-(--sidebar-width) flex-col`,`border-r`,r),...a,children:i}):l?(0,c.jsx)(o.t,{open:d,onOpenChange:f,direction:`left`,children:(0,c.jsxs)(o.r,{"data-sidebar":`sidebar`,"data-slot":`sidebar`,"data-mobile":`true`,className:`bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden`,style:{"--sidebar-width":`18rem`},children:[(0,c.jsxs)(o.o,{className:`sr-only`,children:[(0,c.jsx)(o.r,{children:`Sidebar`}),(0,c.jsx)(o.i,{children:`Displays the mobile sidebar.`})]}),(0,c.jsx)(`div`,{className:`flex h-full w-full flex-col`,children:i})]})}):(0,c.jsxs)(`aside`,{className:`group peer text-sidebar-foreground bg-card hidden md:block`,"data-state":u,"data-collapsible":u===`collapsed`?n:``,"data-variant":t,"data-side":e,"data-slot":`sidebar`,children:[(0,c.jsx)(`div`,{"data-slot":`sidebar-gap`,className:(0,s.cn)(`relative`,`bg-transparent`,`transition-[width] duration-200 ease-linear`,`h-14 w-(--sidebar-width)`,`group-data-[collapsible=offcanvas]:w-0`,`group-data-[side=right]:rotate-180`,t===`floating`||t===`inset`?`group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon)`)}),(0,c.jsx)(`div`,{"data-slot":`sidebar-container`,className:(0,s.cn)(`hidden md:flex`,`fixed inset-y-0 top-14 z-10`,`h-[calc(100dvh-3.5rem)] w-(--sidebar-width)`,`border-r`,`transition-[left,right,width] duration-200 ease-linear`,e===`left`&&`left-0`,e===`left`&&`group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]`,e===`right`&&`right-0`,e===`right`&&`group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]`,t===`floating`||t===`inset`?`p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l`,r),...a,children:(0,c.jsx)(`div`,{"data-sidebar":`sidebar`,"data-slot":`sidebar-inner`,className:(0,s.cn)(`flex size-full flex-col`,`group-data-[variant=floating]:rounded-lg`,`group-data-[variant=floating]:border`,`group-data-[variant=floating]:border-sidebar-border`,`group-data-[variant=floating]:shadow-sm`),children:i})})]})}function w({className:e,onClick:n,...r}){let{toggleSidebar:i}=x();return(0,c.jsxs)(t.t,{"data-sidebar":`trigger`,"data-slot":`sidebar-trigger`,variant:`ghost`,size:`icon`,className:(0,s.cn)(`size-10 rounded-full`,e),onClick:e=>{n?.(e),i()},...r,children:[(0,c.jsx)(l.MenuIcon,{className:`!size-6`}),(0,c.jsx)(`span`,{className:`sr-only`,children:`Toggle Sidebar`})]})}function T({className:e,...t}){let{toggleSidebar:n}=x();return(0,c.jsx)(`button`,{"data-sidebar":`rail`,"data-slot":`sidebar-rail`,"aria-label":`Toggle Sidebar`,tabIndex:-1,onClick:n,title:`Toggle Sidebar`,className:(0,s.cn)(`absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear sm:flex`,`after:absolute`,`after:inset-y-0`,`after:left-1/2`,`after:w-0.5`,`group-data-[side=left]:-right-4`,`group-data-[side=right]:left-0`,`in-data-[side=left]:cursor-w-resize`,`in-data-[side=right]:cursor-e-resize`,`[[data-side=left][data-state=collapsed]_&]:cursor-e-resize`,`[[data-side=right][data-state=collapsed]_&]:cursor-w-resize`,`hover:after:bg-sidebar-border`,`hover:group-data-[collapsible=offcanvas]:bg-sidebar`,`group-data-[collapsible=offcanvas]:translate-x-0`,`group-data-[collapsible=offcanvas]:after:left-full`,`[[data-side=left][data-collapsible=offcanvas]_&]:-right-2`,`[[data-side=right][data-collapsible=offcanvas]_&]:-left-2`,e),...t})}function E({className:e,children:t,...n}){return(0,c.jsxs)(`main`,{"data-slot":`sidebar-inset`,className:(0,s.cn)(`w-full`,`relative`,`flex flex-1 flex-col`,e),...n,children:[(0,c.jsx)(`div`,{className:`h-14 w-full`}),(0,c.jsx)(`div`,{className:(0,s.cn)(`flex-1 inset-shadow-sm`),children:t})]})}function D({className:e,...t}){return(0,c.jsx)(i.t,{"data-slot":`sidebar-input`,"data-sidebar":`input`,className:(0,s.cn)(`bg-background h-8 w-full shadow-none`,e),...t})}function O({className:e,...t}){return(0,c.jsx)(`div`,{"data-slot":`sidebar-header`,"data-sidebar":`header`,className:(0,s.cn)(`flex flex-col gap-2 p-2`,e),...t})}function k({className:e,...t}){return(0,c.jsx)(`div`,{"data-slot":`sidebar-footer`,"data-sidebar":`footer`,className:(0,s.cn)(`flex flex-col gap-2 p-2`,e),...t})}function A({className:e,...t}){return(0,c.jsx)(a.t,{"data-slot":`sidebar-separator`,"data-sidebar":`separator`,className:(0,s.cn)(`bg-sidebar-border mx-2 w-auto`,e),...t})}function j({className:e,...t}){return(0,c.jsx)(`div`,{"data-slot":`sidebar-content`,"data-sidebar":`content`,className:(0,s.cn)(`flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden`,e),...t})}function M({className:e,...t}){return(0,c.jsx)(`div`,{"data-slot":`sidebar-group`,"data-sidebar":`group`,className:(0,s.cn)(`relative flex w-full min-w-0 flex-col p-2`,e),...t})}function N({className:e,asChild:t=!1,...n}){return(0,c.jsx)(t?f.Slot.Slot:`div`,{"data-slot":`sidebar-group-label`,"data-sidebar":`group-label`,className:(0,s.cn)(`text-sidebar-foreground/70`,`ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear`,`focus-visible:ring-2`,`[&>svg]:size-4`,`[&>svg]:shrink-0`,`group-data-[collapsible=icon]:-mt-8`,`group-data-[collapsible=icon]:opacity-0`,e),...n})}function P({className:e,asChild:t=!1,...n}){return(0,c.jsx)(t?f.Slot.Slot:`button`,{"data-slot":`sidebar-group-action`,"data-sidebar":`group-action`,className:(0,s.cn)(`text-sidebar-foreground ring-sidebar-ring`,`absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform`,`focus-visible:ring-2`,`hover:bg-sidebar-accent`,`hover:text-sidebar-accent-foreground`,`[&>svg]:size-4`,`[&>svg]:shrink-0`,`after:absolute after:-inset-2 md:after:hidden`,`group-data-[collapsible=icon]:hidden`,e),...n})}function F({className:e,...t}){return(0,c.jsx)(`div`,{"data-slot":`sidebar-group-content`,"data-sidebar":`group-content`,className:(0,s.cn)(`w-full text-sm`,e),...t})}function I({className:e,...t}){return(0,c.jsx)(`ul`,{"data-slot":`sidebar-menu`,"data-sidebar":`menu`,className:(0,s.cn)(`flex w-full min-w-0 flex-col gap-1`,e),...t})}function L({className:e,...t}){return(0,c.jsx)(`li`,{"data-slot":`sidebar-menu-item`,"data-sidebar":`menu-item`,className:(0,s.cn)(`group/menu-item relative`,e),...t})}const R=(0,d.cva)([`peer/menu-button cursor-pointer flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding]`,`hover:bg-sidebar-accent`,`hover:text-sidebar-accent-foreground`,`focus-visible:ring-2`,`active:bg-sidebar-accent`,`active:text-sidebar-accent-foreground`,`disabled:pointer-events-none`,`disabled:opacity-50`,`group-has-data-[sidebar=menu-action]/menu-item:pr-8`,`aria-disabled:pointer-events-none`,`aria-disabled:opacity-50`,`data-[active=true]:bg-sidebar-accent`,`data-[active=true]:font-medium`,`data-[active=true]:text-sidebar-accent-foreground`,`data-[state=open]:hover:bg-sidebar-accent`,`data-[state=open]:hover:text-sidebar-accent-foreground`,`group-data-[collapsible=icon]:size-8!`,`group-data-[collapsible=icon]:p-2!`,`[&>span:last-child]:truncate`,`[&>svg]:size-4`,`[&>svg]:shrink-0`],{variants:{variant:{default:`hover:bg-sidebar-accent hover:text-sidebar-accent-foreground`,outline:`bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]`},size:{default:`h-8 text-sm`,sm:`h-7 text-xs`,lg:`h-12 text-sm group-data-[collapsible=icon]:p-0!`}},defaultVariants:{variant:`default`,size:`default`}});function z({asChild:e=!1,isActive:t=!1,variant:n=`default`,size:i=`default`,tooltip:a,className:o,...l}){let u=e?f.Slot.Slot:`button`,{isMobile:d,state:p}=x(),m=(0,c.jsx)(u,{"data-slot":`sidebar-menu-button`,"data-sidebar":`menu-button`,"data-size":i,"data-active":t,className:(0,s.cn)(R({variant:n,size:i}),o),...l});return a?(typeof a==`string`&&(a={children:a}),(0,c.jsxs)(r.t,{children:[(0,c.jsx)(r.i,{asChild:!0,children:m}),(0,c.jsx)(r.n,{side:`right`,align:`center`,hidden:p!==`collapsed`||d,...a})]})):m}function B({className:e,asChild:t=!1,showOnHover:n=!1,...r}){return(0,c.jsx)(t?f.Slot.Slot:`button`,{"data-slot":`sidebar-menu-action`,"data-sidebar":`menu-action`,className:(0,s.cn)(`text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform`,`focus-visible:ring-2`,`[&>svg]:size-4`,`[&>svg]:shrink-0`,`after:absolute after:-inset-2 md:after:hidden`,`peer-data-[size=sm]/menu-button:top-1`,`peer-data-[size=default]/menu-button:top-1.5`,`peer-data-[size=lg]/menu-button:top-2.5`,`group-data-[collapsible=icon]:hidden`,n&&`peer-data-[active=true]/menu-button:text-sidebar-accent-foreground`,n&&`group-focus-within/menu-item:opacity-100`,n&&`group-hover/menu-item:opacity-100`,n&&`data-[state=open]:opacity-100 md:opacity-0`,e),...r})}function V({className:e,...t}){return(0,c.jsx)(`div`,{"data-slot":`sidebar-menu-badge`,"data-sidebar":`menu-badge`,className:(0,s.cn)(`text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none`,`peer-hover/menu-button:text-sidebar-accent-foreground`,`peer-data-[active=true]/menu-button:text-sidebar-accent-foreground`,`peer-data-[size=sm]/menu-button:top-1`,`peer-data-[size=default]/menu-button:top-1.5`,`peer-data-[size=lg]/menu-button:top-2.5`,`group-data-[collapsible=icon]:hidden`,e),...t})}function H({className:e,showIcon:t=!1,...r}){let i=(0,u.useMemo)(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,c.jsxs)(`div`,{"data-slot":`sidebar-menu-skeleton`,"data-sidebar":`menu-skeleton`,className:(0,s.cn)(`flex h-8 items-center gap-2 rounded-md px-2`,e),...r,children:[t&&(0,c.jsx)(n.t,{className:`size-4 rounded-md`,"data-sidebar":`menu-skeleton-icon`}),(0,c.jsx)(n.t,{className:`h-4 max-w-(--skeleton-width) flex-1`,"data-sidebar":`menu-skeleton-text`,style:{"--skeleton-width":i}})]})}function U({className:e,...t}){return(0,c.jsx)(`ul`,{"data-slot":`sidebar-menu-sub`,"data-sidebar":`menu-sub`,className:(0,s.cn)(`border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5`,`group-data-[collapsible=icon]:hidden`,e),...t})}function W({className:e,...t}){return(0,c.jsx)(`li`,{"data-slot":`sidebar-menu-sub-item`,"data-sidebar":`menu-sub-item`,className:(0,s.cn)(`group/menu-sub-item relative`,e),...t})}function G({asChild:e=!1,size:t=`md`,isActive:n=!1,className:r,...i}){return(0,c.jsx)(e?f.Slot.Slot:`a`,{"data-slot":`sidebar-menu-sub-button`,"data-sidebar":`menu-sub-button`,"data-size":t,"data-active":n,className:(0,s.cn)(`text-sidebar-foreground ring-sidebar-ring`,`flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden`,`hover:bg-sidebar-accent`,`hover:text-sidebar-accent-foreground`,`active:bg-sidebar-accent`,`active:text-sidebar-accent-foreground`,`focus-visible:ring-2`,`disabled:pointer-events-none`,`disabled:opacity-50`,`aria-disabled:pointer-events-none`,`aria-disabled:opacity-50`,`[&>span:last-child]:truncate`,`[&>svg]:size-4`,`[&>svg]:shrink-0`,`[&>svg]:text-sidebar-accent-foreground`,`data-[active=true]:bg-sidebar-accent`,`data-[active=true]:text-sidebar-accent-foreground`,t===`sm`&&`text-xs`,t===`md`&&`text-sm`,`group-data-[collapsible=icon]:hidden`,r),...i})}exports.Sidebar=C,exports.SidebarContent=j,exports.SidebarFooter=k,exports.SidebarGroup=M,exports.SidebarGroupAction=P,exports.SidebarGroupContent=F,exports.SidebarGroupLabel=N,exports.SidebarHeader=O,exports.SidebarInput=D,exports.SidebarInset=E,exports.SidebarMenu=I,exports.SidebarMenuAction=B,exports.SidebarMenuBadge=V,exports.SidebarMenuButton=z,exports.SidebarMenuItem=L,exports.SidebarMenuSkeleton=H,exports.SidebarMenuSub=U,exports.SidebarMenuSubButton=G,exports.SidebarMenuSubItem=W,exports.SidebarProvider=S,exports.SidebarRail=T,exports.SidebarSeparator=A,exports.SidebarTrigger=w,exports.useSidebar=x;
|
|
1
|
+
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-C--cfyfH.cjs`);const t=require(`../button-DtFiUaY7.cjs`),n=require(`../skeleton-C4suljHP.cjs`),r=require(`../tooltip-zYWazsY5.cjs`),i=require(`../input-DhUevNkc.cjs`),a=require(`../separator-D3CGKwyf.cjs`),o=require(`../drawer-y-Yrqskp.cjs`);let s=require(`@customafk/react-toolkit/utils`),c=require(`react/jsx-runtime`),l=require(`lucide-react`),u=require(`react`),d=require(`class-variance-authority`),f=require(`radix-ui`),p=require(`@customafk/react-toolkit/hooks/useMobile`);const m=`sidebar_state`,h=3600*24*7,g=`16rem`,_=`18rem`,v=`3rem`,y=`b`,b=(0,u.createContext)(null);function x(){let e=(0,u.use)(b);if(!e)throw Error(`useSidebar must be used within a SidebarProvider.`);return e}function S({defaultOpen:e=!0,open:t,onOpenChange:n,className:i,style:a,children:o,...l}){let d=(0,p.useIsMobile)(),[f,m]=(0,u.useState)(!1),[h,g]=(0,u.useState)(e),_=t??h,v=(0,u.useCallback)(e=>{let t=typeof e==`function`?e(_):e;n?n(t):g(t),document.cookie=`sidebar_state=${t}; path=/; max-age=604800`},[n,_]),y=(0,u.useCallback)(()=>d?m(e=>!e):v(e=>!e),[d,v,m]);(0,u.useEffect)(()=>{let e=e=>{e.key===`b`&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),y())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[y]);let x=_?`expanded`:`collapsed`,S=(0,u.useMemo)(()=>({state:x,isMobile:d,toggleSidebar:y,open:_,setOpen:v,openMobile:f,setOpenMobile:m}),[x,_,v,d,f,m,y]);return(0,c.jsx)(b.Provider,{value:S,children:(0,c.jsx)(r.r,{delayDuration:0,children:(0,c.jsx)(`div`,{"data-slot":`sidebar-wrapper`,style:{"--sidebar-width":`16rem`,"--sidebar-width-icon":`3rem`,...a},className:(0,s.cn)(`group/sidebar-wrapper`,`has-data-[variant=inset]:bg-sidebar`,`flex h-dvh w-full`,i),...l,children:o})})})}function C({side:e=`left`,variant:t=`sidebar`,collapsible:n=`offcanvas`,className:r,children:i,...a}){let{isMobile:l,state:u,openMobile:d,setOpenMobile:f}=x();return n===`none`?(0,c.jsx)(`aside`,{"data-slot":`sidebar`,className:(0,s.cn)(`bg-sidebar`,`text-sidebar-foreground`,`flex h-full w-(--sidebar-width) flex-col`,`border-r`,r),...a,children:i}):l?(0,c.jsx)(o.t,{open:d,onOpenChange:f,direction:`left`,children:(0,c.jsxs)(o.r,{"data-sidebar":`sidebar`,"data-slot":`sidebar`,"data-mobile":`true`,className:`bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden`,style:{"--sidebar-width":`18rem`},children:[(0,c.jsxs)(o.o,{className:`sr-only`,children:[(0,c.jsx)(o.r,{children:`Sidebar`}),(0,c.jsx)(o.i,{children:`Displays the mobile sidebar.`})]}),(0,c.jsx)(`div`,{className:`flex h-full w-full flex-col`,children:i})]})}):(0,c.jsxs)(`aside`,{className:`group peer text-sidebar-foreground bg-card hidden md:block`,"data-state":u,"data-collapsible":u===`collapsed`?n:``,"data-variant":t,"data-side":e,"data-slot":`sidebar`,children:[(0,c.jsx)(`div`,{"data-slot":`sidebar-gap`,className:(0,s.cn)(`relative`,`bg-transparent`,`transition-[width] duration-200 ease-linear`,`h-14 w-(--sidebar-width)`,`group-data-[collapsible=offcanvas]:w-0`,`group-data-[side=right]:rotate-180`,t===`floating`||t===`inset`?`group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon)`)}),(0,c.jsx)(`div`,{"data-slot":`sidebar-container`,className:(0,s.cn)(`hidden md:flex`,`fixed inset-y-0 top-14 z-10`,`h-[calc(100dvh-3.5rem)] w-(--sidebar-width)`,`border-r`,`transition-[left,right,width] duration-200 ease-linear`,e===`left`&&`left-0`,e===`left`&&`group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]`,e===`right`&&`right-0`,e===`right`&&`group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]`,t===`floating`||t===`inset`?`p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l`,r),...a,children:(0,c.jsx)(`div`,{"data-sidebar":`sidebar`,"data-slot":`sidebar-inner`,className:(0,s.cn)(`flex size-full flex-col`,`group-data-[variant=floating]:rounded-lg`,`group-data-[variant=floating]:border`,`group-data-[variant=floating]:border-sidebar-border`,`group-data-[variant=floating]:shadow-sm`),children:i})})]})}function w({className:e,onClick:n,...r}){let{toggleSidebar:i}=x();return(0,c.jsxs)(t.t,{"data-sidebar":`trigger`,"data-slot":`sidebar-trigger`,variant:`ghost`,size:`icon`,className:(0,s.cn)(`size-10 rounded-full`,e),onClick:e=>{n?.(e),i()},...r,children:[(0,c.jsx)(l.MenuIcon,{className:`!size-6`}),(0,c.jsx)(`span`,{className:`sr-only`,children:`Toggle Sidebar`})]})}function T({className:e,...t}){let{toggleSidebar:n}=x();return(0,c.jsx)(`button`,{"data-sidebar":`rail`,"data-slot":`sidebar-rail`,"aria-label":`Toggle Sidebar`,tabIndex:-1,onClick:n,title:`Toggle Sidebar`,className:(0,s.cn)(`absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear sm:flex`,`after:absolute`,`after:inset-y-0`,`after:left-1/2`,`after:w-0.5`,`group-data-[side=left]:-right-4`,`group-data-[side=right]:left-0`,`in-data-[side=left]:cursor-w-resize`,`in-data-[side=right]:cursor-e-resize`,`[[data-side=left][data-state=collapsed]_&]:cursor-e-resize`,`[[data-side=right][data-state=collapsed]_&]:cursor-w-resize`,`hover:after:bg-sidebar-border`,`hover:group-data-[collapsible=offcanvas]:bg-sidebar`,`group-data-[collapsible=offcanvas]:translate-x-0`,`group-data-[collapsible=offcanvas]:after:left-full`,`[[data-side=left][data-collapsible=offcanvas]_&]:-right-2`,`[[data-side=right][data-collapsible=offcanvas]_&]:-left-2`,e),...t})}function E({className:e,children:t,...n}){return(0,c.jsxs)(`main`,{"data-slot":`sidebar-inset`,className:(0,s.cn)(`w-full`,`relative`,`flex flex-1 flex-col`,e),...n,children:[(0,c.jsx)(`div`,{className:`h-14 w-full`}),(0,c.jsx)(`div`,{className:(0,s.cn)(`flex-1 inset-shadow-sm`),children:t})]})}function D({className:e,...t}){return(0,c.jsx)(i.t,{"data-slot":`sidebar-input`,"data-sidebar":`input`,className:(0,s.cn)(`bg-background h-8 w-full shadow-none`,e),...t})}function O({className:e,...t}){return(0,c.jsx)(`div`,{"data-slot":`sidebar-header`,"data-sidebar":`header`,className:(0,s.cn)(`flex flex-col gap-2 p-2`,e),...t})}function k({className:e,...t}){return(0,c.jsx)(`div`,{"data-slot":`sidebar-footer`,"data-sidebar":`footer`,className:(0,s.cn)(`flex flex-col gap-2 p-2`,e),...t})}function A({className:e,...t}){return(0,c.jsx)(a.t,{"data-slot":`sidebar-separator`,"data-sidebar":`separator`,className:(0,s.cn)(`bg-sidebar-border mx-2 w-auto`,e),...t})}function j({className:e,...t}){return(0,c.jsx)(`div`,{"data-slot":`sidebar-content`,"data-sidebar":`content`,className:(0,s.cn)(`flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden`,e),...t})}function M({className:e,...t}){return(0,c.jsx)(`div`,{"data-slot":`sidebar-group`,"data-sidebar":`group`,className:(0,s.cn)(`relative flex w-full min-w-0 flex-col p-2`,e),...t})}function N({className:e,asChild:t=!1,...n}){return(0,c.jsx)(t?f.Slot.Slot:`div`,{"data-slot":`sidebar-group-label`,"data-sidebar":`group-label`,className:(0,s.cn)(`text-sidebar-foreground/70`,`ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear`,`focus-visible:ring-2`,`[&>svg]:size-4`,`[&>svg]:shrink-0`,`group-data-[collapsible=icon]:-mt-8`,`group-data-[collapsible=icon]:opacity-0`,e),...n})}function P({className:e,asChild:t=!1,...n}){return(0,c.jsx)(t?f.Slot.Slot:`button`,{"data-slot":`sidebar-group-action`,"data-sidebar":`group-action`,className:(0,s.cn)(`text-sidebar-foreground ring-sidebar-ring`,`absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform`,`focus-visible:ring-2`,`hover:bg-sidebar-accent`,`hover:text-sidebar-accent-foreground`,`[&>svg]:size-4`,`[&>svg]:shrink-0`,`after:absolute after:-inset-2 md:after:hidden`,`group-data-[collapsible=icon]:hidden`,e),...n})}function F({className:e,...t}){return(0,c.jsx)(`div`,{"data-slot":`sidebar-group-content`,"data-sidebar":`group-content`,className:(0,s.cn)(`w-full text-sm`,e),...t})}function I({className:e,...t}){return(0,c.jsx)(`ul`,{"data-slot":`sidebar-menu`,"data-sidebar":`menu`,className:(0,s.cn)(`flex w-full min-w-0 flex-col gap-1`,e),...t})}function L({className:e,...t}){return(0,c.jsx)(`li`,{"data-slot":`sidebar-menu-item`,"data-sidebar":`menu-item`,className:(0,s.cn)(`group/menu-item relative`,e),...t})}const R=(0,d.cva)([`peer/menu-button cursor-pointer flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding]`,`hover:bg-sidebar-accent`,`hover:text-sidebar-accent-foreground`,`focus-visible:ring-2`,`active:bg-sidebar-accent`,`active:text-sidebar-accent-foreground`,`disabled:pointer-events-none`,`disabled:opacity-50`,`group-has-data-[sidebar=menu-action]/menu-item:pr-8`,`aria-disabled:pointer-events-none`,`aria-disabled:opacity-50`,`data-[active=true]:bg-sidebar-accent`,`data-[active=true]:font-medium`,`data-[active=true]:text-sidebar-accent-foreground`,`data-[state=open]:hover:bg-sidebar-accent`,`data-[state=open]:hover:text-sidebar-accent-foreground`,`group-data-[collapsible=icon]:size-8!`,`group-data-[collapsible=icon]:p-2!`,`[&>span:last-child]:truncate`,`[&>svg]:size-4`,`[&>svg]:shrink-0`],{variants:{variant:{default:`hover:bg-sidebar-accent hover:text-sidebar-accent-foreground`,outline:`bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]`},size:{default:`h-8 text-sm`,sm:`h-7 text-xs`,lg:`h-12 text-sm group-data-[collapsible=icon]:p-0!`}},defaultVariants:{variant:`default`,size:`default`}});function z({asChild:e=!1,isActive:t=!1,variant:n=`default`,size:i=`default`,tooltip:a,className:o,...l}){let u=e?f.Slot.Slot:`button`,{isMobile:d,state:p}=x(),m=(0,c.jsx)(u,{"data-slot":`sidebar-menu-button`,"data-sidebar":`menu-button`,"data-size":i,"data-active":t,className:(0,s.cn)(R({variant:n,size:i}),o),...l});return a?(typeof a==`string`&&(a={children:a}),(0,c.jsxs)(r.t,{children:[(0,c.jsx)(r.i,{asChild:!0,children:m}),(0,c.jsx)(r.n,{side:`right`,align:`center`,hidden:p!==`collapsed`||d,...a})]})):m}function B({className:e,asChild:t=!1,showOnHover:n=!1,...r}){return(0,c.jsx)(t?f.Slot.Slot:`button`,{"data-slot":`sidebar-menu-action`,"data-sidebar":`menu-action`,className:(0,s.cn)(`text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform`,`focus-visible:ring-2`,`[&>svg]:size-4`,`[&>svg]:shrink-0`,`after:absolute after:-inset-2 md:after:hidden`,`peer-data-[size=sm]/menu-button:top-1`,`peer-data-[size=default]/menu-button:top-1.5`,`peer-data-[size=lg]/menu-button:top-2.5`,`group-data-[collapsible=icon]:hidden`,n&&`peer-data-[active=true]/menu-button:text-sidebar-accent-foreground`,n&&`group-focus-within/menu-item:opacity-100`,n&&`group-hover/menu-item:opacity-100`,n&&`data-[state=open]:opacity-100 md:opacity-0`,e),...r})}function V({className:e,...t}){return(0,c.jsx)(`div`,{"data-slot":`sidebar-menu-badge`,"data-sidebar":`menu-badge`,className:(0,s.cn)(`text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none`,`peer-hover/menu-button:text-sidebar-accent-foreground`,`peer-data-[active=true]/menu-button:text-sidebar-accent-foreground`,`peer-data-[size=sm]/menu-button:top-1`,`peer-data-[size=default]/menu-button:top-1.5`,`peer-data-[size=lg]/menu-button:top-2.5`,`group-data-[collapsible=icon]:hidden`,e),...t})}function H({className:e,showIcon:t=!1,...r}){let i=(0,u.useMemo)(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,c.jsxs)(`div`,{"data-slot":`sidebar-menu-skeleton`,"data-sidebar":`menu-skeleton`,className:(0,s.cn)(`flex h-8 items-center gap-2 rounded-md px-2`,e),...r,children:[t&&(0,c.jsx)(n.t,{className:`size-4 rounded-md`,"data-sidebar":`menu-skeleton-icon`}),(0,c.jsx)(n.t,{className:`h-4 max-w-(--skeleton-width) flex-1`,"data-sidebar":`menu-skeleton-text`,style:{"--skeleton-width":i}})]})}function U({className:e,...t}){return(0,c.jsx)(`ul`,{"data-slot":`sidebar-menu-sub`,"data-sidebar":`menu-sub`,className:(0,s.cn)(`border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5`,`group-data-[collapsible=icon]:hidden`,e),...t})}function W({className:e,...t}){return(0,c.jsx)(`li`,{"data-slot":`sidebar-menu-sub-item`,"data-sidebar":`menu-sub-item`,className:(0,s.cn)(`group/menu-sub-item relative`,e),...t})}function G({asChild:e=!1,size:t=`md`,isActive:n=!1,className:r,...i}){return(0,c.jsx)(e?f.Slot.Slot:`a`,{"data-slot":`sidebar-menu-sub-button`,"data-sidebar":`menu-sub-button`,"data-size":t,"data-active":n,className:(0,s.cn)(`text-sidebar-foreground ring-sidebar-ring`,`flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden`,`hover:bg-sidebar-accent`,`hover:text-sidebar-accent-foreground`,`active:bg-sidebar-accent`,`active:text-sidebar-accent-foreground`,`focus-visible:ring-2`,`disabled:pointer-events-none`,`disabled:opacity-50`,`aria-disabled:pointer-events-none`,`aria-disabled:opacity-50`,`[&>span:last-child]:truncate`,`[&>svg]:size-4`,`[&>svg]:shrink-0`,`[&>svg]:text-sidebar-accent-foreground`,`data-[active=true]:bg-sidebar-accent`,`data-[active=true]:text-sidebar-accent-foreground`,t===`sm`&&`text-xs`,t===`md`&&`text-sm`,`group-data-[collapsible=icon]:hidden`,r),...i})}exports.Sidebar=C,exports.SidebarContent=j,exports.SidebarFooter=k,exports.SidebarGroup=M,exports.SidebarGroupAction=P,exports.SidebarGroupContent=F,exports.SidebarGroupLabel=N,exports.SidebarHeader=O,exports.SidebarInput=D,exports.SidebarInset=E,exports.SidebarMenu=I,exports.SidebarMenuAction=B,exports.SidebarMenuBadge=V,exports.SidebarMenuButton=z,exports.SidebarMenuItem=L,exports.SidebarMenuSkeleton=H,exports.SidebarMenuSub=U,exports.SidebarMenuSubButton=G,exports.SidebarMenuSubItem=W,exports.SidebarProvider=S,exports.SidebarRail=T,exports.SidebarSeparator=A,exports.SidebarTrigger=w,exports.useSidebar=x;
|
|
2
2
|
//# sourceMappingURL=sidebar.cjs.map
|