@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
package/dist/ui/menubar.d.cts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime178 from "react/jsx-runtime";
|
|
2
2
|
import { Menubar as Menubar$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/menubar.d.ts
|
|
5
5
|
declare function Menubar({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Menubar$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Menubar$1.Root>): react_jsx_runtime178.JSX.Element;
|
|
9
9
|
declare function MenubarMenu({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof Menubar$1.Menu>):
|
|
11
|
+
}: React.ComponentProps<typeof Menubar$1.Menu>): react_jsx_runtime178.JSX.Element;
|
|
12
12
|
declare function MenubarGroup({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof Menubar$1.Group>):
|
|
14
|
+
}: React.ComponentProps<typeof Menubar$1.Group>): react_jsx_runtime178.JSX.Element;
|
|
15
15
|
declare function MenubarPortal({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Menubar$1.Portal>):
|
|
17
|
+
}: React.ComponentProps<typeof Menubar$1.Portal>): react_jsx_runtime178.JSX.Element;
|
|
18
18
|
declare function MenubarRadioGroup({
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Menubar$1.RadioGroup>):
|
|
20
|
+
}: React.ComponentProps<typeof Menubar$1.RadioGroup>): react_jsx_runtime178.JSX.Element;
|
|
21
21
|
declare function MenubarTrigger({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<typeof Menubar$1.Trigger>):
|
|
24
|
+
}: React.ComponentProps<typeof Menubar$1.Trigger>): react_jsx_runtime178.JSX.Element;
|
|
25
25
|
declare function MenubarContent({
|
|
26
26
|
className,
|
|
27
27
|
align,
|
|
28
28
|
alignOffset,
|
|
29
29
|
sideOffset,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Menubar$1.Content>):
|
|
31
|
+
}: React.ComponentProps<typeof Menubar$1.Content>): react_jsx_runtime178.JSX.Element;
|
|
32
32
|
declare function MenubarItem({
|
|
33
33
|
className,
|
|
34
34
|
inset,
|
|
@@ -37,36 +37,36 @@ declare function MenubarItem({
|
|
|
37
37
|
}: React.ComponentProps<typeof Menubar$1.Item> & {
|
|
38
38
|
inset?: boolean;
|
|
39
39
|
variant?: 'default' | 'destructive';
|
|
40
|
-
}):
|
|
40
|
+
}): react_jsx_runtime178.JSX.Element;
|
|
41
41
|
declare function MenubarCheckboxItem({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
checked,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof Menubar$1.CheckboxItem>):
|
|
46
|
+
}: React.ComponentProps<typeof Menubar$1.CheckboxItem>): react_jsx_runtime178.JSX.Element;
|
|
47
47
|
declare function MenubarRadioItem({
|
|
48
48
|
className,
|
|
49
49
|
children,
|
|
50
50
|
...props
|
|
51
|
-
}: React.ComponentProps<typeof Menubar$1.RadioItem>):
|
|
51
|
+
}: React.ComponentProps<typeof Menubar$1.RadioItem>): react_jsx_runtime178.JSX.Element;
|
|
52
52
|
declare function MenubarLabel({
|
|
53
53
|
className,
|
|
54
54
|
inset,
|
|
55
55
|
...props
|
|
56
56
|
}: React.ComponentProps<typeof Menubar$1.Label> & {
|
|
57
57
|
inset?: boolean;
|
|
58
|
-
}):
|
|
58
|
+
}): react_jsx_runtime178.JSX.Element;
|
|
59
59
|
declare function MenubarSeparator({
|
|
60
60
|
className,
|
|
61
61
|
...props
|
|
62
|
-
}: React.ComponentProps<typeof Menubar$1.Separator>):
|
|
62
|
+
}: React.ComponentProps<typeof Menubar$1.Separator>): react_jsx_runtime178.JSX.Element;
|
|
63
63
|
declare function MenubarShortcut({
|
|
64
64
|
className,
|
|
65
65
|
...props
|
|
66
|
-
}: React.ComponentProps<'span'>):
|
|
66
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime178.JSX.Element;
|
|
67
67
|
declare function MenubarSub({
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<typeof Menubar$1.Sub>):
|
|
69
|
+
}: React.ComponentProps<typeof Menubar$1.Sub>): react_jsx_runtime178.JSX.Element;
|
|
70
70
|
declare function MenubarSubTrigger({
|
|
71
71
|
className,
|
|
72
72
|
inset,
|
|
@@ -74,11 +74,11 @@ declare function MenubarSubTrigger({
|
|
|
74
74
|
...props
|
|
75
75
|
}: React.ComponentProps<typeof Menubar$1.SubTrigger> & {
|
|
76
76
|
inset?: boolean;
|
|
77
|
-
}):
|
|
77
|
+
}): react_jsx_runtime178.JSX.Element;
|
|
78
78
|
declare function MenubarSubContent({
|
|
79
79
|
className,
|
|
80
80
|
...props
|
|
81
|
-
}: React.ComponentProps<typeof Menubar$1.SubContent>):
|
|
81
|
+
}: React.ComponentProps<typeof Menubar$1.SubContent>): react_jsx_runtime178.JSX.Element;
|
|
82
82
|
//#endregion
|
|
83
83
|
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
84
84
|
//# sourceMappingURL=menubar.d.cts.map
|
package/dist/ui/menubar.d.mts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime105 from "react/jsx-runtime";
|
|
2
2
|
import { Menubar as Menubar$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/menubar.d.ts
|
|
5
5
|
declare function Menubar({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Menubar$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Menubar$1.Root>): react_jsx_runtime105.JSX.Element;
|
|
9
9
|
declare function MenubarMenu({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof Menubar$1.Menu>):
|
|
11
|
+
}: React.ComponentProps<typeof Menubar$1.Menu>): react_jsx_runtime105.JSX.Element;
|
|
12
12
|
declare function MenubarGroup({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof Menubar$1.Group>):
|
|
14
|
+
}: React.ComponentProps<typeof Menubar$1.Group>): react_jsx_runtime105.JSX.Element;
|
|
15
15
|
declare function MenubarPortal({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Menubar$1.Portal>):
|
|
17
|
+
}: React.ComponentProps<typeof Menubar$1.Portal>): react_jsx_runtime105.JSX.Element;
|
|
18
18
|
declare function MenubarRadioGroup({
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Menubar$1.RadioGroup>):
|
|
20
|
+
}: React.ComponentProps<typeof Menubar$1.RadioGroup>): react_jsx_runtime105.JSX.Element;
|
|
21
21
|
declare function MenubarTrigger({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<typeof Menubar$1.Trigger>):
|
|
24
|
+
}: React.ComponentProps<typeof Menubar$1.Trigger>): react_jsx_runtime105.JSX.Element;
|
|
25
25
|
declare function MenubarContent({
|
|
26
26
|
className,
|
|
27
27
|
align,
|
|
28
28
|
alignOffset,
|
|
29
29
|
sideOffset,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Menubar$1.Content>):
|
|
31
|
+
}: React.ComponentProps<typeof Menubar$1.Content>): react_jsx_runtime105.JSX.Element;
|
|
32
32
|
declare function MenubarItem({
|
|
33
33
|
className,
|
|
34
34
|
inset,
|
|
@@ -37,36 +37,36 @@ declare function MenubarItem({
|
|
|
37
37
|
}: React.ComponentProps<typeof Menubar$1.Item> & {
|
|
38
38
|
inset?: boolean;
|
|
39
39
|
variant?: 'default' | 'destructive';
|
|
40
|
-
}):
|
|
40
|
+
}): react_jsx_runtime105.JSX.Element;
|
|
41
41
|
declare function MenubarCheckboxItem({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
checked,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof Menubar$1.CheckboxItem>):
|
|
46
|
+
}: React.ComponentProps<typeof Menubar$1.CheckboxItem>): react_jsx_runtime105.JSX.Element;
|
|
47
47
|
declare function MenubarRadioItem({
|
|
48
48
|
className,
|
|
49
49
|
children,
|
|
50
50
|
...props
|
|
51
|
-
}: React.ComponentProps<typeof Menubar$1.RadioItem>):
|
|
51
|
+
}: React.ComponentProps<typeof Menubar$1.RadioItem>): react_jsx_runtime105.JSX.Element;
|
|
52
52
|
declare function MenubarLabel({
|
|
53
53
|
className,
|
|
54
54
|
inset,
|
|
55
55
|
...props
|
|
56
56
|
}: React.ComponentProps<typeof Menubar$1.Label> & {
|
|
57
57
|
inset?: boolean;
|
|
58
|
-
}):
|
|
58
|
+
}): react_jsx_runtime105.JSX.Element;
|
|
59
59
|
declare function MenubarSeparator({
|
|
60
60
|
className,
|
|
61
61
|
...props
|
|
62
|
-
}: React.ComponentProps<typeof Menubar$1.Separator>):
|
|
62
|
+
}: React.ComponentProps<typeof Menubar$1.Separator>): react_jsx_runtime105.JSX.Element;
|
|
63
63
|
declare function MenubarShortcut({
|
|
64
64
|
className,
|
|
65
65
|
...props
|
|
66
|
-
}: React.ComponentProps<'span'>):
|
|
66
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime105.JSX.Element;
|
|
67
67
|
declare function MenubarSub({
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<typeof Menubar$1.Sub>):
|
|
69
|
+
}: React.ComponentProps<typeof Menubar$1.Sub>): react_jsx_runtime105.JSX.Element;
|
|
70
70
|
declare function MenubarSubTrigger({
|
|
71
71
|
className,
|
|
72
72
|
inset,
|
|
@@ -74,11 +74,11 @@ declare function MenubarSubTrigger({
|
|
|
74
74
|
...props
|
|
75
75
|
}: React.ComponentProps<typeof Menubar$1.SubTrigger> & {
|
|
76
76
|
inset?: boolean;
|
|
77
|
-
}):
|
|
77
|
+
}): react_jsx_runtime105.JSX.Element;
|
|
78
78
|
declare function MenubarSubContent({
|
|
79
79
|
className,
|
|
80
80
|
...props
|
|
81
|
-
}: React.ComponentProps<typeof Menubar$1.SubContent>):
|
|
81
|
+
}: React.ComponentProps<typeof Menubar$1.SubContent>): react_jsx_runtime105.JSX.Element;
|
|
82
82
|
//#endregion
|
|
83
83
|
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
84
84
|
//# sourceMappingURL=menubar.d.mts.map
|
package/dist/ui/multi-select.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`);require(`../close-
|
|
1
|
+
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-C--cfyfH.cjs`);const t=require(`../button-DtFiUaY7.cjs`);require(`../close-CXhpIVAZ.cjs`),require(`../dialog-DZ_gg6Ol.cjs`);const n=require(`../command-B8Tbe4oe.cjs`);let r=require(`@customafk/react-toolkit/utils`),i=require(`react/jsx-runtime`),a=require(`lucide-react`),o=require(`react`),s=require(`cmdk`);function c(e,t){let[n,r]=(0,o.useState)(e);return(0,o.useEffect)(()=>{let n=setTimeout(()=>r(e),t||500);return()=>{clearTimeout(n)}},[e,t]),n}function l(e,t){if(e.length===0)return{};if(!t)return{"":e};let n={};return e.forEach(e=>{let r=e[t]||``;n[r]||(n[r]=[]),n[r].push(e)}),n}function u(e,t){let n=JSON.parse(JSON.stringify(e));for(let[e,r]of Object.entries(n))n[e]=r.filter(e=>!t.find(t=>t.value===e.value));return n}function d(e,t){for(let[,n]of Object.entries(e))if(n.some(e=>t.find(t=>t.value===e.value)))return!0;return!1}const f=(0,o.forwardRef)(({className:e,...t},n)=>(0,s.useCommandState)(e=>e.filtered.count===0)?(0,i.jsx)(`div`,{ref:n,className:(0,r.cn)(`px-2 py-4 text-center text-sm`,e),"cmdk-empty":``,role:`presentation`,...t}):null);f.displayName=`CommandEmpty`;const p=(0,o.forwardRef)(({value:e,onChange:p,placeholder:m,defaultOptions:h=[],options:g,delay:_,onSearch:v,onSearchSync:y,loadingIndicator:b,emptyIndicator:x,maxSelected:S=2**53-1,onMaxSelected:C,hidePlaceholderWhenSelected:w,disabled:T,groupBy:E,className:D,badgeClassName:O,selectFirstItem:k=!0,creatable:A=!1,triggerSearchOnFocus:j=!1,commandProps:M,inputProps:N,hideClearAllButton:P=!1,onAddNewItem:F},I)=>{let L=(0,o.useRef)(null),R=(0,o.useRef)(null),[z,B]=(0,o.useState)(!1),[V,H]=(0,o.useState)(!1),[U,W]=(0,o.useState)(!1),[G,K]=(0,o.useState)(e||[]),[q,J]=(0,o.useState)(l(h,E)),[Y,X]=(0,o.useState)(``),Z=c(Y,_||500);(0,o.useImperativeHandle)(I,()=>({selectedValue:[...G],input:L.current,focus:()=>L?.current?.focus(),reset:()=>K([])}),[G]);let Q=(0,o.useCallback)(e=>{R.current&&!R.current.contains(e.target)&&L.current&&!L.current.contains(e.target)&&(B(!1),L.current.blur())},[]),$=(0,o.useCallback)(e=>{let t=G.filter(t=>t.value!==e.value);K(t),p?.(t)},[p,G]),ee=(0,o.useCallback)(e=>{let t=L.current;t&&((e.key===`Delete`||e.key===`Backspace`)&&t.value===``&&G.length>0&&(G[G.length-1].fixed||$(G[G.length-1])),e.key===`Escape`&&t.blur())},[$,G]);(0,o.useEffect)(()=>(z?(document.addEventListener(`mousedown`,Q),document.addEventListener(`touchend`,Q)):(document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)),()=>{document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)}),[z]),(0,o.useEffect)(()=>{e&&K(e)},[e]),(0,o.useEffect)(()=>{if(!g||v)return;let e=l(g||[],E);JSON.stringify(e)!==JSON.stringify(q)&&J(e)},[h,g,E,v,q]),(0,o.useEffect)(()=>{let e=()=>{let e=y?.(Z);J(l(e||[],E))};(async()=>{!y||!z||(j&&e(),Z&&e())})()},[Z,E,z,j]),(0,o.useEffect)(()=>{let e=async()=>{W(!0),J(l(await v?.(Z)||[],E)),W(!1)};(async()=>{!v||!z||(j&&await e(),Z&&await e())})()},[Z,E,z,j]);let te=()=>{if(!A||d(q,[{value:Y,label:Y}])||G.find(e=>e.value===Y))return;let e=(0,i.jsx)(n.o,{value:Y,className:`cursor-pointer`,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:e=>{if(G.length>=S){C?.(G.length);return}X(``);let t=[...G,{value:e,label:e}];K(t),p?.(t)},children:`Create "${Y}"`});if(!v&&Y.length>0||v&&Z.length>0&&!U)return e},ne=(0,o.useCallback)(()=>{if(x)return v&&!A&&Object.keys(q).length===0?(0,i.jsx)(n.o,{value:`-`,disabled:!0,children:x}):(0,i.jsx)(f,{children:x})},[A,x,v,q]),re=(0,o.useMemo)(()=>u(q,G),[q,G]),ie=(0,o.useCallback)(()=>{if(M?.filter)return M.filter;if(A)return(e,t)=>e.toLowerCase().includes(t.toLowerCase())?1:-1},[A,M?.filter]);return(0,i.jsxs)(n.t,{ref:R,...M,onKeyDown:e=>{ee(e),M?.onKeyDown?.(e)},className:(0,r.cn)(`h-auto overflow-visible bg-transparent`,M?.className),shouldFilter:M?.shouldFilter===void 0?!v:M.shouldFilter,filter:ie(),children:[(0,i.jsx)(`div`,{className:(0,r.cn)(`border-border-weak relative rounded-md border text-sm transition-shadow`,`focus-within:border-primary`,`focus-within:ring-primary-weak`,`focus-within:ring-4`,`focus-within:outline-hidden`,`has-disabled:bg-muted`,`has-disabled:text-muted-foreground`,G.length!==0&&`p-1`,!T&&G.length!==0&&`cursor-text`,!P&&`pe-9`,D),onClick:()=>{T||L?.current?.focus()},children:(0,i.jsxs)(`div`,{className:`flex flex-wrap gap-1`,children:[G.map(e=>(0,i.jsxs)(`div`,{className:(0,r.cn)(`animate-fadeIn`,`bg-background`,`hover:bg-background`,`border-border-weak border border-solid`,`text-text-positive-weak relative inline-flex h-7 cursor-default items-center rounded-md ps-2 pe-7 pl-2 text-xs font-medium transition-all`,`disabled:cursor-not-allowed`,`disabled:opacity-50`,`data-fixed:pe-2`,O),"data-fixed":e.fixed,"data-disabled":T||void 0,children:[e.label,(0,i.jsx)(`button`,{type:`button`,disabled:T||e.fixed,className:(0,r.cn)(`text-text-positive-muted absolute -inset-y-px -end-px flex size-7 items-center justify-center rounded-e-lg border border-transparent p-0 outline-0 transition-colors`,`hover:text-foreground`,`focus-visible:outline`,`focus-visible:outline-2`,`focus-visible:outline-primary-weak`,`disabled:hover:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`),onKeyDown:t=>{t.key===`Enter`&&$(e)},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onClick:()=>$(e),"aria-label":`Remove`,children:(0,i.jsx)(a.X,{size:14,strokeWidth:2,"aria-hidden":`true`})})]},e.value)),(0,i.jsx)(s.Command.Input,{...N,ref:L,value:Y,disabled:T,onValueChange:e=>{X(e),N?.onValueChange?.(e)},onBlur:e=>{V||B(!1),N?.onBlur?.(e)},onFocus:e=>{B(!0),j&&v?.(Z),N?.onFocus?.(e)},placeholder:w&&G.length!==0?``:m,className:(0,r.cn)(`placeholder:text-text-positive-muted flex-1 bg-transparent outline-hidden`,`disabled:placeholder:text-transparent`,{"w-full":w,"px-3 py-2":G.length===0,"ml-1":G.length!==0},N?.className)}),(0,i.jsx)(`button`,{type:`button`,onClick:()=>{K(G.filter(e=>e.fixed)),p?.(G.filter(e=>e.fixed))},className:(0,r.cn)(`text-muted-foreground/80`,`absolute end-0 top-0 flex size-9 items-center justify-center rounded-lg border border-transparent transition-colors`,`focus-visible:outline-2`,`hover:text-text-positive`,`focus-visible:outline-primary-weak`,(P||T||G.length<1||G.filter(({fixed:e})=>e).length===G.length)&&`hidden`),"aria-label":`Clear all`,children:(0,i.jsx)(a.X,{size:16,strokeWidth:2,"aria-hidden":`true`})})]})}),(0,i.jsx)(`div`,{className:`relative`,children:(0,i.jsx)(`div`,{className:(0,r.cn)(`shadow-dropdown absolute top-2 z-10 w-full overflow-hidden rounded-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`,!z&&`hidden`),"data-state":z?`open`:`closed`,children:z&&(0,i.jsxs)(n.s,{className:`shadow-lg outline-hidden`,onMouseLeave:()=>{H(!1)},onMouseEnter:()=>{H(!0)},onMouseUp:()=>{L?.current?.focus()},children:[F&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.c,{}),(0,i.jsx)(n.i,{children:(0,i.jsxs)(t.t,{type:`button`,variant:`ghost`,className:`w-full font-normal [&_div]:justify-start`,onClick:F,children:[(0,i.jsx)(a.PlusIcon,{size:14,className:`opacity-60`,"aria-hidden":`true`}),`Thêm mới`]})})]}),U?b:(0,i.jsxs)(i.Fragment,{children:[ne(),te(),!k&&(0,i.jsx)(n.o,{value:`-`,className:`hidden`}),Object.entries(re).map(([e,t])=>(0,i.jsx)(n.i,{heading:e,className:`h-full overflow-auto`,children:t.map(e=>(0,i.jsx)(n.o,{value:e.value,disabled:e.disable,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:()=>{if(G.length>=S){C?.(G.length);return}let t=[...G,e];X(``),K(t),p?.(t)},className:(0,r.cn)(`cursor-pointer`,e.disable&&`cursor-not-allowed opacity-50`),children:e.label},e.value))},e))]})]})})})]})});p.displayName=`MultipleSelector`,exports.MultipleSelector=p,exports.useDebounce=c;
|
|
2
2
|
//# sourceMappingURL=multi-select.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../dialog-
|
|
1
|
+
import "../dialog-DTDroSTP.mjs";
|
|
2
2
|
import { Command as Command$1 } from "./command.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react14 from "react";
|
|
4
4
|
import { Command } from "cmdk";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/multi-select.d.ts
|
|
@@ -75,7 +75,7 @@ interface MultipleSelectorRef {
|
|
|
75
75
|
reset: () => void;
|
|
76
76
|
}
|
|
77
77
|
declare function useDebounce<T>(value: T, delay?: number): T;
|
|
78
|
-
declare const MultipleSelector:
|
|
78
|
+
declare const MultipleSelector: react14.ForwardRefExoticComponent<MultipleSelectorProps & react14.RefAttributes<MultipleSelectorRef>>;
|
|
79
79
|
//#endregion
|
|
80
80
|
export { MultipleSelector, MultipleSelectorRef, Option, useDebounce };
|
|
81
81
|
//# sourceMappingURL=multi-select.d.mts.map
|
package/dist/ui/multi-select.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import"../button.variants-
|
|
1
|
+
"use client";import"../button.variants-DmUzMbB8.mjs";import{t as e}from"../button-DIEXNBpi.mjs";import"../close-CGei_VQ6.mjs";import"../dialog-DeZVOOmh.mjs";import{c as t,i as n,o as r,s as ee,t as te}from"../command-BLlJzBw9.mjs";import{cn as i}from"@customafk/react-toolkit/utils";import{Fragment as a,jsx as o,jsxs as s}from"react/jsx-runtime";import{PlusIcon as ne,X as c}from"lucide-react";import{forwardRef as l,useCallback as u,useEffect as d,useImperativeHandle as re,useMemo as ie,useRef as f,useState as p}from"react";import{Command as m,useCommandState as h}from"cmdk";function g(e,t){let[n,r]=p(e);return d(()=>{let n=setTimeout(()=>r(e),t||500);return()=>{clearTimeout(n)}},[e,t]),n}function _(e,t){if(e.length===0)return{};if(!t)return{"":e};let n={};return e.forEach(e=>{let r=e[t]||``;n[r]||(n[r]=[]),n[r].push(e)}),n}function ae(e,t){let n=JSON.parse(JSON.stringify(e));for(let[e,r]of Object.entries(n))n[e]=r.filter(e=>!t.find(t=>t.value===e.value));return n}function oe(e,t){for(let[,n]of Object.entries(e))if(n.some(e=>t.find(t=>t.value===e.value)))return!0;return!1}const v=l(({className:e,...t},n)=>h(e=>e.filtered.count===0)?o(`div`,{ref:n,className:i(`px-2 py-4 text-center text-sm`,e),"cmdk-empty":``,role:`presentation`,...t}):null);v.displayName=`CommandEmpty`;const y=l(({value:l,onChange:h,placeholder:y,defaultOptions:b=[],options:x,delay:se,onSearch:S,onSearchSync:C,loadingIndicator:ce,emptyIndicator:w,maxSelected:T=2**53-1,onMaxSelected:E,hidePlaceholderWhenSelected:D,disabled:O,groupBy:k,className:A,badgeClassName:le,selectFirstItem:ue=!0,creatable:j=!1,triggerSearchOnFocus:M=!1,commandProps:N,inputProps:P,hideClearAllButton:F=!1,onAddNewItem:I},de)=>{let L=f(null),R=f(null),[z,B]=p(!1),[V,H]=p(!1),[U,W]=p(!1),[G,K]=p(l||[]),[q,J]=p(_(b,k)),[Y,X]=p(``),Z=g(Y,se||500);re(de,()=>({selectedValue:[...G],input:L.current,focus:()=>L?.current?.focus(),reset:()=>K([])}),[G]);let Q=u(e=>{R.current&&!R.current.contains(e.target)&&L.current&&!L.current.contains(e.target)&&(B(!1),L.current.blur())},[]),$=u(e=>{let t=G.filter(t=>t.value!==e.value);K(t),h?.(t)},[h,G]),fe=u(e=>{let t=L.current;t&&((e.key===`Delete`||e.key===`Backspace`)&&t.value===``&&G.length>0&&(G[G.length-1].fixed||$(G[G.length-1])),e.key===`Escape`&&t.blur())},[$,G]);d(()=>(z?(document.addEventListener(`mousedown`,Q),document.addEventListener(`touchend`,Q)):(document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)),()=>{document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)}),[z]),d(()=>{l&&K(l)},[l]),d(()=>{if(!x||S)return;let e=_(x||[],k);JSON.stringify(e)!==JSON.stringify(q)&&J(e)},[b,x,k,S,q]),d(()=>{let e=()=>{let e=C?.(Z);J(_(e||[],k))};(async()=>{!C||!z||(M&&e(),Z&&e())})()},[Z,k,z,M]),d(()=>{let e=async()=>{W(!0),J(_(await S?.(Z)||[],k)),W(!1)};(async()=>{!S||!z||(M&&await e(),Z&&await e())})()},[Z,k,z,M]);let pe=()=>{if(!j||oe(q,[{value:Y,label:Y}])||G.find(e=>e.value===Y))return;let e=o(r,{value:Y,className:`cursor-pointer`,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:e=>{if(G.length>=T){E?.(G.length);return}X(``);let t=[...G,{value:e,label:e}];K(t),h?.(t)},children:`Create "${Y}"`});if(!S&&Y.length>0||S&&Z.length>0&&!U)return e},me=u(()=>{if(w)return S&&!j&&Object.keys(q).length===0?o(r,{value:`-`,disabled:!0,children:w}):o(v,{children:w})},[j,w,S,q]),he=ie(()=>ae(q,G),[q,G]),ge=u(()=>{if(N?.filter)return N.filter;if(j)return(e,t)=>e.toLowerCase().includes(t.toLowerCase())?1:-1},[j,N?.filter]);return s(te,{ref:R,...N,onKeyDown:e=>{fe(e),N?.onKeyDown?.(e)},className:i(`h-auto overflow-visible bg-transparent`,N?.className),shouldFilter:N?.shouldFilter===void 0?!S:N.shouldFilter,filter:ge(),children:[o(`div`,{className:i(`border-border-weak relative rounded-md border text-sm transition-shadow`,`focus-within:border-primary`,`focus-within:ring-primary-weak`,`focus-within:ring-4`,`focus-within:outline-hidden`,`has-disabled:bg-muted`,`has-disabled:text-muted-foreground`,G.length!==0&&`p-1`,!O&&G.length!==0&&`cursor-text`,!F&&`pe-9`,A),onClick:()=>{O||L?.current?.focus()},children:s(`div`,{className:`flex flex-wrap gap-1`,children:[G.map(e=>s(`div`,{className:i(`animate-fadeIn`,`bg-background`,`hover:bg-background`,`border-border-weak border border-solid`,`text-text-positive-weak relative inline-flex h-7 cursor-default items-center rounded-md ps-2 pe-7 pl-2 text-xs font-medium transition-all`,`disabled:cursor-not-allowed`,`disabled:opacity-50`,`data-fixed:pe-2`,le),"data-fixed":e.fixed,"data-disabled":O||void 0,children:[e.label,o(`button`,{type:`button`,disabled:O||e.fixed,className:i(`text-text-positive-muted absolute -inset-y-px -end-px flex size-7 items-center justify-center rounded-e-lg border border-transparent p-0 outline-0 transition-colors`,`hover:text-foreground`,`focus-visible:outline`,`focus-visible:outline-2`,`focus-visible:outline-primary-weak`,`disabled:hover:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`),onKeyDown:t=>{t.key===`Enter`&&$(e)},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onClick:()=>$(e),"aria-label":`Remove`,children:o(c,{size:14,strokeWidth:2,"aria-hidden":`true`})})]},e.value)),o(m.Input,{...P,ref:L,value:Y,disabled:O,onValueChange:e=>{X(e),P?.onValueChange?.(e)},onBlur:e=>{V||B(!1),P?.onBlur?.(e)},onFocus:e=>{B(!0),M&&S?.(Z),P?.onFocus?.(e)},placeholder:D&&G.length!==0?``:y,className:i(`placeholder:text-text-positive-muted flex-1 bg-transparent outline-hidden`,`disabled:placeholder:text-transparent`,{"w-full":D,"px-3 py-2":G.length===0,"ml-1":G.length!==0},P?.className)}),o(`button`,{type:`button`,onClick:()=>{K(G.filter(e=>e.fixed)),h?.(G.filter(e=>e.fixed))},className:i(`text-muted-foreground/80`,`absolute end-0 top-0 flex size-9 items-center justify-center rounded-lg border border-transparent transition-colors`,`focus-visible:outline-2`,`hover:text-text-positive`,`focus-visible:outline-primary-weak`,(F||O||G.length<1||G.filter(({fixed:e})=>e).length===G.length)&&`hidden`),"aria-label":`Clear all`,children:o(c,{size:16,strokeWidth:2,"aria-hidden":`true`})})]})}),o(`div`,{className:`relative`,children:o(`div`,{className:i(`shadow-dropdown absolute top-2 z-10 w-full overflow-hidden rounded-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`,!z&&`hidden`),"data-state":z?`open`:`closed`,children:z&&s(ee,{className:`shadow-lg outline-hidden`,onMouseLeave:()=>{H(!1)},onMouseEnter:()=>{H(!0)},onMouseUp:()=>{L?.current?.focus()},children:[I&&s(a,{children:[o(t,{}),o(n,{children:s(e,{type:`button`,variant:`ghost`,className:`w-full font-normal [&_div]:justify-start`,onClick:I,children:[o(ne,{size:14,className:`opacity-60`,"aria-hidden":`true`}),`Thêm mới`]})})]}),U?ce:s(a,{children:[me(),pe(),!ue&&o(r,{value:`-`,className:`hidden`}),Object.entries(he).map(([e,t])=>o(n,{heading:e,className:`h-full overflow-auto`,children:t.map(e=>o(r,{value:e.value,disabled:e.disable,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:()=>{if(G.length>=T){E?.(G.length);return}let t=[...G,e];X(``),K(t),h?.(t)},className:i(`cursor-pointer`,e.disable&&`cursor-not-allowed opacity-50`),children:e.label},e.value))},e))]})]})})})]})});y.displayName=`MultipleSelector`;export{y as MultipleSelector,g as useDebounce};
|
|
2
2
|
//# sourceMappingURL=multi-select.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime194 from "react/jsx-runtime";
|
|
2
2
|
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
3
3
|
import { NavigationMenu as NavigationMenu$1 } from "radix-ui";
|
|
4
4
|
|
|
@@ -10,37 +10,37 @@ declare function NavigationMenu({
|
|
|
10
10
|
...props
|
|
11
11
|
}: React.ComponentProps<typeof NavigationMenu$1.Root> & {
|
|
12
12
|
viewport?: boolean;
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime194.JSX.Element;
|
|
14
14
|
declare function NavigationMenuList({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof NavigationMenu$1.List>):
|
|
17
|
+
}: React.ComponentProps<typeof NavigationMenu$1.List>): react_jsx_runtime194.JSX.Element;
|
|
18
18
|
declare function NavigationMenuItem({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Item>):
|
|
21
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Item>): react_jsx_runtime194.JSX.Element;
|
|
22
22
|
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types7.ClassProp | undefined) => string;
|
|
23
23
|
declare function NavigationMenuTrigger({
|
|
24
24
|
className,
|
|
25
25
|
children,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>):
|
|
27
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>): react_jsx_runtime194.JSX.Element;
|
|
28
28
|
declare function NavigationMenuContent({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Content>):
|
|
31
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Content>): react_jsx_runtime194.JSX.Element;
|
|
32
32
|
declare function NavigationMenuViewport({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>):
|
|
35
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>): react_jsx_runtime194.JSX.Element;
|
|
36
36
|
declare function NavigationMenuLink({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Link>):
|
|
39
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Link>): react_jsx_runtime194.JSX.Element;
|
|
40
40
|
declare function NavigationMenuIndicator({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>):
|
|
43
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>): react_jsx_runtime194.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
46
46
|
//# sourceMappingURL=navigation-menu.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime127 from "react/jsx-runtime";
|
|
2
2
|
import { NavigationMenu as NavigationMenu$1 } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/navigation-menu.d.ts
|
|
6
6
|
declare function NavigationMenu({
|
|
@@ -10,37 +10,37 @@ declare function NavigationMenu({
|
|
|
10
10
|
...props
|
|
11
11
|
}: React.ComponentProps<typeof NavigationMenu$1.Root> & {
|
|
12
12
|
viewport?: boolean;
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime127.JSX.Element;
|
|
14
14
|
declare function NavigationMenuList({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof NavigationMenu$1.List>):
|
|
17
|
+
}: React.ComponentProps<typeof NavigationMenu$1.List>): react_jsx_runtime127.JSX.Element;
|
|
18
18
|
declare function NavigationMenuItem({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Item>):
|
|
22
|
-
declare const navigationMenuTriggerStyle: (props?:
|
|
21
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Item>): react_jsx_runtime127.JSX.Element;
|
|
22
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types6.ClassProp | undefined) => string;
|
|
23
23
|
declare function NavigationMenuTrigger({
|
|
24
24
|
className,
|
|
25
25
|
children,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>):
|
|
27
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>): react_jsx_runtime127.JSX.Element;
|
|
28
28
|
declare function NavigationMenuContent({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Content>):
|
|
31
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Content>): react_jsx_runtime127.JSX.Element;
|
|
32
32
|
declare function NavigationMenuViewport({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>):
|
|
35
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>): react_jsx_runtime127.JSX.Element;
|
|
36
36
|
declare function NavigationMenuLink({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Link>):
|
|
39
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Link>): react_jsx_runtime127.JSX.Element;
|
|
40
40
|
declare function NavigationMenuIndicator({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>):
|
|
43
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>): react_jsx_runtime127.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
46
46
|
//# sourceMappingURL=navigation-menu.d.mts.map
|
package/dist/ui/pagination.d.cts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-CVYH2lum.cjs";
|
|
2
|
+
import * as react_jsx_runtime167 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/pagination.d.ts
|
|
5
5
|
declare function Pagination({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<'nav'>):
|
|
8
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime167.JSX.Element;
|
|
9
9
|
declare function PaginationContent({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<'ul'>):
|
|
12
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime167.JSX.Element;
|
|
13
13
|
declare function PaginationItem({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<'li'>):
|
|
15
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime167.JSX.Element;
|
|
16
16
|
type PaginationLinkProps = {
|
|
17
17
|
isActive?: boolean;
|
|
18
18
|
} & Pick<React.ComponentProps<typeof Button>, 'size'> & React.ComponentProps<'a'>;
|
|
@@ -21,19 +21,19 @@ declare function PaginationLink({
|
|
|
21
21
|
isActive,
|
|
22
22
|
size,
|
|
23
23
|
...props
|
|
24
|
-
}: PaginationLinkProps):
|
|
24
|
+
}: PaginationLinkProps): react_jsx_runtime167.JSX.Element;
|
|
25
25
|
declare function PaginationPrevious({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
28
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime167.JSX.Element;
|
|
29
29
|
declare function PaginationNext({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
32
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime167.JSX.Element;
|
|
33
33
|
declare function PaginationEllipsis({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<'span'>):
|
|
36
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime167.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
39
39
|
//# sourceMappingURL=pagination.d.cts.map
|
package/dist/ui/pagination.d.mts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-C2mvaa5I.mjs";
|
|
2
|
+
import * as react_jsx_runtime145 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/pagination.d.ts
|
|
5
5
|
declare function Pagination({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<'nav'>):
|
|
8
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime145.JSX.Element;
|
|
9
9
|
declare function PaginationContent({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<'ul'>):
|
|
12
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime145.JSX.Element;
|
|
13
13
|
declare function PaginationItem({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<'li'>):
|
|
15
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime145.JSX.Element;
|
|
16
16
|
type PaginationLinkProps = {
|
|
17
17
|
isActive?: boolean;
|
|
18
18
|
} & Pick<React.ComponentProps<typeof Button>, 'size'> & React.ComponentProps<'a'>;
|
|
@@ -21,19 +21,19 @@ declare function PaginationLink({
|
|
|
21
21
|
isActive,
|
|
22
22
|
size,
|
|
23
23
|
...props
|
|
24
|
-
}: PaginationLinkProps):
|
|
24
|
+
}: PaginationLinkProps): react_jsx_runtime145.JSX.Element;
|
|
25
25
|
declare function PaginationPrevious({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
28
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime145.JSX.Element;
|
|
29
29
|
declare function PaginationNext({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
32
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime145.JSX.Element;
|
|
33
33
|
declare function PaginationEllipsis({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<'span'>):
|
|
36
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime145.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
39
39
|
//# sourceMappingURL=pagination.d.mts.map
|
package/dist/ui/pagination.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import{n as e}from"../button.variants-
|
|
1
|
+
"use client";import{n as e}from"../button.variants-DmUzMbB8.mjs";import{cn as t}from"@customafk/react-toolkit/utils";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{ChevronLeftIcon as i,ChevronRightIcon as a,MoreHorizontalIcon as o}from"lucide-react";function s({className:e,...r}){return n(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:t(`mx-auto flex w-full justify-center`,e),...r})}function c({className:e,...r}){return n(`ul`,{"data-slot":`pagination-content`,className:t(`flex flex-row items-center gap-1`,e),...r})}function l({...e}){return n(`li`,{"data-slot":`pagination-item`,...e})}function u({className:r,isActive:i,size:a=`icon`,...o}){return n(`a`,{"aria-current":i?`page`:void 0,"data-slot":`pagination-link`,"data-active":i,className:t(e({variant:i?`outline`:`ghost`,size:a}),r),...o})}function d({className:e,...a}){return r(u,{"aria-label":`Go to previous page`,size:`default`,className:t(`gap-1 px-2.5 sm:pl-2.5`,e),...a,children:[n(i,{}),n(`span`,{className:`hidden sm:block`,children:`Previous`})]})}function f({className:e,...i}){return r(u,{"aria-label":`Go to next page`,size:`default`,className:t(`gap-1 px-2.5 sm:pr-2.5`,e),...i,children:[n(`span`,{className:`hidden sm:block`,children:`Next`}),n(a,{})]})}function p({className:e,...i}){return r(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:t(`flex size-9 items-center justify-center`,e),...i,children:[n(o,{className:`size-4`}),n(`span`,{className:`sr-only`,children:`More pages`})]})}export{s as Pagination,c as PaginationContent,p as PaginationEllipsis,l as PaginationItem,u as PaginationLink,f as PaginationNext,d as PaginationPrevious};
|
|
2
2
|
//# sourceMappingURL=pagination.mjs.map
|
package/dist/ui/popover.d.cts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime174 from "react/jsx-runtime";
|
|
2
2
|
import { Popover as Popover$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/popover.d.ts
|
|
5
5
|
declare function Popover({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Popover$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime174.JSX.Element;
|
|
8
8
|
declare function PopoverTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Popover$1.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime174.JSX.Element;
|
|
11
11
|
declare function PopoverContent({
|
|
12
12
|
className,
|
|
13
13
|
align,
|
|
14
14
|
sideOffset,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Popover$1.Content>):
|
|
16
|
+
}: React.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime174.JSX.Element;
|
|
17
17
|
declare function PopoverAnchor({
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof Popover$1.Anchor>):
|
|
19
|
+
}: React.ComponentProps<typeof Popover$1.Anchor>): react_jsx_runtime174.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
22
22
|
//# sourceMappingURL=popover.d.cts.map
|
package/dist/ui/popover.d.mts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime169 from "react/jsx-runtime";
|
|
2
2
|
import { Popover as Popover$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/popover.d.ts
|
|
5
5
|
declare function Popover({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Popover$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime169.JSX.Element;
|
|
8
8
|
declare function PopoverTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Popover$1.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime169.JSX.Element;
|
|
11
11
|
declare function PopoverContent({
|
|
12
12
|
className,
|
|
13
13
|
align,
|
|
14
14
|
sideOffset,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Popover$1.Content>):
|
|
16
|
+
}: React.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime169.JSX.Element;
|
|
17
17
|
declare function PopoverAnchor({
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof Popover$1.Anchor>):
|
|
19
|
+
}: React.ComponentProps<typeof Popover$1.Anchor>): react_jsx_runtime169.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
22
22
|
//# sourceMappingURL=popover.d.mts.map
|
package/dist/ui/progress.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime217 from "react/jsx-runtime";
|
|
2
2
|
import { Progress as Progress$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/progress.d.ts
|
|
@@ -6,7 +6,7 @@ declare function Progress({
|
|
|
6
6
|
className,
|
|
7
7
|
value,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Progress$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime217.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Progress };
|
|
12
12
|
//# sourceMappingURL=progress.d.cts.map
|
package/dist/ui/progress.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime287 from "react/jsx-runtime";
|
|
2
2
|
import { Progress as Progress$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/progress.d.ts
|
|
@@ -6,7 +6,7 @@ declare function Progress({
|
|
|
6
6
|
className,
|
|
7
7
|
value,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Progress$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime287.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Progress };
|
|
12
12
|
//# sourceMappingURL=progress.d.mts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime223 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_runtime223.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_runtime223.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { RadioGroup, RadioGroupItem };
|
|
15
15
|
//# sourceMappingURL=radio-group.d.cts.map
|