@customafk/lunas-ui 0.2.33 → 0.2.35
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/{alert-BC5Nss8t.mjs → alert-BbvPwf2x.mjs} +1 -1
- package/dist/{alert-BC5Nss8t.mjs.map → alert-BbvPwf2x.mjs.map} +1 -1
- package/dist/{alert-V73ULWoO.d.mts → alert-DGoFdiDI.d.cts} +7 -7
- package/dist/{alert-mTjrFpkB.d.cts → alert-DZlPX4MK.d.mts} +7 -7
- package/dist/{alert-4rfsFtN6.cjs → alert-DubR6Szk.cjs} +1 -1
- package/dist/{alert-4rfsFtN6.cjs.map → alert-DubR6Szk.cjs.map} +1 -1
- package/dist/{avatar-aVxo69zP.cjs → avatar-CqRl9dge.cjs} +1 -1
- package/dist/{avatar-aVxo69zP.cjs.map → avatar-CqRl9dge.cjs.map} +1 -1
- package/dist/{avatar-CK1R4r0j.mjs → avatar-m1LjDIil.mjs} +1 -1
- package/dist/{avatar-CK1R4r0j.mjs.map → avatar-m1LjDIil.mjs.map} +1 -1
- package/dist/{badge-utjRo-lW.mjs → badge-Bhbhmsic.mjs} +1 -1
- package/dist/{badge-utjRo-lW.mjs.map → badge-Bhbhmsic.mjs.map} +1 -1
- package/dist/{badge-DcQUUKY0.d.mts → badge-D1Un985K.d.cts} +6 -6
- package/dist/{badge-Cwb0fmkw.d.cts → badge-LtLg87DN.d.mts} +6 -6
- package/dist/{button-W7L4JgMw.d.mts → button-8OKxyueU.d.cts} +6 -6
- package/dist/{button-Bc-MAOOY.d.cts → button-CdjZ5QJ8.d.mts} +6 -6
- package/dist/{button-BqxBQ4Kr.mjs → button-CfPTDyoq.mjs} +2 -2
- package/dist/{button-BqxBQ4Kr.mjs.map → button-CfPTDyoq.mjs.map} +1 -1
- package/dist/{button.variants-CwcJHcI5.mjs → button.variants-B8aRZ52K.mjs} +1 -1
- package/dist/{button.variants-CwcJHcI5.mjs.map → button.variants-B8aRZ52K.mjs.map} +1 -1
- package/dist/{calendar-D8aRFw_F.mjs → calendar-BDhIfwPP.mjs} +2 -2
- package/dist/{calendar-D8aRFw_F.mjs.map → calendar-BDhIfwPP.mjs.map} +1 -1
- package/dist/{calendar-Bt0rlJ89.cjs → calendar-CMd11yg9.cjs} +1 -1
- package/dist/{calendar-Bt0rlJ89.cjs.map → calendar-CMd11yg9.cjs.map} +1 -1
- package/dist/cards/grid-product-card.mjs +1 -1
- package/dist/cards/product-card.mjs +1 -1
- package/dist/cards/simple-card.d.cts +2 -2
- package/dist/cards/simple-card.d.mts +2 -2
- package/dist/cards/simple-card.mjs +1 -1
- package/dist/{checkbox-BQ_TclX9.cjs → checkbox-BwDvS4De.cjs} +1 -1
- package/dist/{checkbox-BQ_TclX9.cjs.map → checkbox-BwDvS4De.cjs.map} +1 -1
- package/dist/{checkbox-CJsl9OjF.mjs → checkbox-CgHaRkuU.mjs} +1 -1
- package/dist/{checkbox-CJsl9OjF.mjs.map → checkbox-CgHaRkuU.mjs.map} +1 -1
- package/dist/{close-BMhGSmGs.mjs → close-B7OOMSZl.mjs} +1 -1
- package/dist/{close-BMhGSmGs.mjs.map → close-B7OOMSZl.mjs.map} +1 -1
- package/dist/{close-DUBEKxhw.cjs → close-DrCUWZt0.cjs} +1 -1
- package/dist/{close-DUBEKxhw.cjs.map → close-DrCUWZt0.cjs.map} +1 -1
- package/dist/{cms-layout-DDs0pHWh.cjs → cms-layout-BrubV8D8.cjs} +2 -2
- package/dist/{cms-layout-DDs0pHWh.cjs.map → cms-layout-BrubV8D8.cjs.map} +1 -1
- package/dist/{cms-layout-DHzRHAoI.mjs → cms-layout-C2-yysO2.mjs} +2 -2
- package/dist/{cms-layout-DHzRHAoI.mjs.map → cms-layout-C2-yysO2.mjs.map} +1 -1
- package/dist/{command-CTdjZi1F.cjs → command-DiXzSGc8.cjs} +2 -2
- package/dist/{command-CTdjZi1F.cjs.map → command-DiXzSGc8.cjs.map} +1 -1
- package/dist/{command-Bvauothg.mjs → command-FnbrPZ7_.mjs} +2 -2
- package/dist/{command-Bvauothg.mjs.map → command-FnbrPZ7_.mjs.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/date-tooltip.mjs +1 -1
- package/dist/data-display/date.mjs +1 -1
- package/dist/data-display/name.mjs +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 -2
- package/dist/data-display/statistic.d.mts +5 -5
- package/dist/data-display/statistic.mjs +1 -2
- package/dist/data-display/user.cjs +1 -1
- package/dist/data-display/user.mjs +1 -1
- package/dist/{date-BQ0c19uk.mjs → date-CFgc7pK3.mjs} +1 -1
- package/dist/{date-BQ0c19uk.mjs.map → date-CFgc7pK3.mjs.map} +1 -1
- package/dist/dialog-D1sWnn6n.cjs +2 -0
- package/dist/dialog-D1sWnn6n.cjs.map +1 -0
- package/dist/{dialog-CxPqgAES.d.cts → dialog-DolY0CYG.d.mts} +12 -12
- package/dist/dialog-EGFZeITu.mjs +2 -0
- package/dist/dialog-EGFZeITu.mjs.map +1 -0
- package/dist/{dialog-B8CvBgRs.d.mts → dialog-aguemTG1.d.cts} +12 -12
- package/dist/dialogs/confirm-dialog.mjs +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.cjs +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +26 -26
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +26 -26
- package/dist/dialogs/detail-dialog/components/sidebar.mjs +1 -1
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.mjs +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-DdGJ50nX.mjs → dist-BQGL-YKY.mjs} +1 -1
- package/dist/{dist-DdGJ50nX.mjs.map → dist-BQGL-YKY.mjs.map} +1 -1
- package/dist/{drawer-C3o6IEeq.cjs → drawer-B6C8-Ndu.cjs} +1 -1
- package/dist/{drawer-C3o6IEeq.cjs.map → drawer-B6C8-Ndu.cjs.map} +1 -1
- package/dist/{drawer-j9wcVE50.mjs → drawer-CMD7JWH8.mjs} +1 -1
- package/dist/{drawer-j9wcVE50.mjs.map → drawer-CMD7JWH8.mjs.map} +1 -1
- package/dist/{dropdown-menu-DMwvWoxe.cjs → dropdown-menu-Bz7oMQ36.cjs} +1 -1
- package/dist/{dropdown-menu-DMwvWoxe.cjs.map → dropdown-menu-Bz7oMQ36.cjs.map} +1 -1
- package/dist/{dropdown-menu-B_uBxY94.mjs → dropdown-menu-C6tRSumY.mjs} +1 -1
- package/dist/{dropdown-menu-B_uBxY94.mjs.map → dropdown-menu-C6tRSumY.mjs.map} +1 -1
- package/dist/features/descriptions/index.cjs +1 -1
- package/dist/features/descriptions/index.d.cts +6 -6
- package/dist/features/descriptions/index.d.mts +4 -4
- package/dist/features/descriptions/index.mjs +1 -1
- package/dist/features/search-modal/index.cjs +1 -1
- 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 +1 -1
- package/dist/features/tables/index.d.cts +2 -2
- package/dist/features/tables/index.d.mts +3 -3
- package/dist/features/tables/index.mjs +1 -1
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.d.cts +1 -1
- package/dist/features/tanstack-form/index.d.mts +1 -1
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/features/text-editor/index.cjs +1 -1
- package/dist/features/text-editor/index.d.cts +1 -1
- package/dist/features/text-editor/index.d.mts +1 -1
- package/dist/features/text-editor/index.mjs +1 -1
- package/dist/{field-B8RhxRCu.mjs → field-DhgAIueI.mjs} +2 -2
- package/dist/{field-B8RhxRCu.mjs.map → field-DhgAIueI.mjs.map} +1 -1
- package/dist/{field-BxFpcOV1.cjs → field-pfL7RWcN.cjs} +2 -2
- package/dist/{field-BxFpcOV1.cjs.map → field-pfL7RWcN.cjs.map} +1 -1
- package/dist/{flex-Bl5yzx6g.mjs → flex-BAcvp4lB.mjs} +1 -1
- package/dist/{flex-Bl5yzx6g.mjs.map → flex-BAcvp4lB.mjs.map} +1 -1
- package/dist/{heading-B1t9baTw.mjs → heading-woRh-IC7.mjs} +1 -1
- package/dist/{heading-B1t9baTw.mjs.map → heading-woRh-IC7.mjs.map} +1 -1
- package/dist/{image-C4gMBmyV.mjs → image-D2U1SBw5.mjs} +2 -2
- package/dist/{image-C4gMBmyV.mjs.map → image-D2U1SBw5.mjs.map} +1 -1
- package/dist/{index-3rfnp-Kj.d.mts → index-BhnqroF7.d.cts} +91 -42
- package/dist/{index-cSJtvD9W.d.mts → index-BqGaIQNn.d.mts} +6 -6
- package/dist/{index-B0tpV7YG.d.cts → index-C45OSg1W.d.mts} +91 -42
- package/dist/{index-BQEmU6gw.d.cts → index-CgEghb4N.d.cts} +380 -380
- package/dist/{index-CE6WacAh.d.mts → index-DfvBLw2O.d.mts} +380 -380
- package/dist/{index-DMUr1T2A.d.cts → index-DwS7a4RL.d.cts} +6 -6
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +9 -10
- package/dist/index.d.mts +9 -10
- package/dist/index.mjs +1 -1
- package/dist/{input-CKFQdvqY.mjs → input-5gk-Jv1y.mjs} +1 -1
- package/dist/{input-CKFQdvqY.mjs.map → input-5gk-Jv1y.mjs.map} +1 -1
- package/dist/{input-1ceJxxFI.cjs → input-BvzsfAUc.cjs} +1 -1
- package/dist/{input-1ceJxxFI.cjs.map → input-BvzsfAUc.cjs.map} +1 -1
- package/dist/{input-BkbJ_jDH.d.mts → input-CZrWdm_Y.d.cts} +6 -6
- package/dist/{input-DgwlkE9s.d.cts → input-DcbOSbQr.d.mts} +6 -6
- package/dist/{label-CE2m0U_j.mjs → label-D9uNQ9b_.mjs} +1 -1
- package/dist/{label-CE2m0U_j.mjs.map → label-D9uNQ9b_.mjs.map} +1 -1
- package/dist/{label-BHbqbBtO.cjs → label-eIyGIRyw.cjs} +1 -1
- package/dist/{label-BHbqbBtO.cjs.map → label-eIyGIRyw.cjs.map} +1 -1
- package/dist/layouts/cms-layout/index.cjs +1 -1
- package/dist/layouts/cms-layout/index.mjs +1 -1
- package/dist/layouts/flex.d.cts +8 -8
- package/dist/layouts/flex.d.mts +8 -8
- package/dist/layouts/flex.mjs +1 -1
- package/dist/layouts/payment-layout/index.cjs +1 -1
- package/dist/layouts/payment-layout/index.mjs +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/LoginPage.cjs +1 -1
- package/dist/pages/LoginPage.d.cts +2 -2
- package/dist/pages/LoginPage.d.mts +2 -2
- package/dist/pages/LoginPage.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/pages/RegisterPage.cjs +1 -1
- package/dist/pages/RegisterPage.d.cts +2 -2
- package/dist/pages/RegisterPage.d.mts +2 -2
- package/dist/pages/RegisterPage.mjs +1 -1
- package/dist/pages/VerifyEmailPage.cjs +1 -1
- package/dist/pages/VerifyEmailPage.d.cts +2 -2
- package/dist/pages/VerifyEmailPage.d.mts +2 -2
- package/dist/pages/VerifyEmailPage.mjs +1 -1
- package/dist/{paragraph-J_QbLq9_.mjs → paragraph-CjstaJFj.mjs} +1 -1
- package/dist/{paragraph-J_QbLq9_.mjs.map → paragraph-CjstaJFj.mjs.map} +1 -1
- package/dist/{payment-layout-RldJzRGP.mjs → payment-layout-_ZM4uBy_.mjs} +2 -2
- package/dist/{payment-layout-RldJzRGP.mjs.map → payment-layout-_ZM4uBy_.mjs.map} +1 -1
- package/dist/{payment-layout-RVPi4-1C.cjs → payment-layout-fsYTkw3r.cjs} +2 -2
- package/dist/{payment-layout-RVPi4-1C.cjs.map → payment-layout-fsYTkw3r.cjs.map} +1 -1
- package/dist/{popover-BCzVvfnV.mjs → popover-DwgdOX8a.mjs} +2 -2
- package/dist/{popover-BCzVvfnV.mjs.map → popover-DwgdOX8a.mjs.map} +1 -1
- package/dist/{popover-Bnrgg4do.cjs → popover-fsTCOb6a.cjs} +2 -2
- package/dist/{popover-Bnrgg4do.cjs.map → popover-fsTCOb6a.cjs.map} +1 -1
- package/dist/{progress-BXWPPNt5.cjs → progress-CDYA2V-W.cjs} +1 -1
- package/dist/{progress-BXWPPNt5.cjs.map → progress-CDYA2V-W.cjs.map} +1 -1
- package/dist/{progress-BcEEbgJJ.mjs → progress-DCBKnTx0.mjs} +1 -1
- package/dist/{progress-BcEEbgJJ.mjs.map → progress-DCBKnTx0.mjs.map} +1 -1
- package/dist/{radio-group-Bv6w2woK.cjs → radio-group-B-M599Ys.cjs} +1 -1
- package/dist/{radio-group-Bv6w2woK.cjs.map → radio-group-B-M599Ys.cjs.map} +1 -1
- package/dist/{radio-group-KR6Ck-B9.mjs → radio-group-Y9bhdr55.mjs} +1 -1
- package/dist/{radio-group-KR6Ck-B9.mjs.map → radio-group-Y9bhdr55.mjs.map} +1 -1
- package/dist/{resizable-C7uLlTGB.cjs → resizable-DATSh0Du.cjs} +1 -1
- package/dist/{resizable-C7uLlTGB.cjs.map → resizable-DATSh0Du.cjs.map} +1 -1
- package/dist/{resizable-em2svgMz.mjs → resizable-DP1BQAF_.mjs} +1 -1
- package/dist/{resizable-em2svgMz.mjs.map → resizable-DP1BQAF_.mjs.map} +1 -1
- package/dist/{search-modal-zmavzZRx.cjs → search-modal-CYRJEDE-.cjs} +2 -2
- package/dist/{search-modal-zmavzZRx.cjs.map → search-modal-CYRJEDE-.cjs.map} +1 -1
- package/dist/{search-modal-DyOsqK-4.mjs → search-modal-DWu08xkE.mjs} +2 -2
- package/dist/{search-modal-DyOsqK-4.mjs.map → search-modal-DWu08xkE.mjs.map} +1 -1
- package/dist/{select-C2Ro2wmj.mjs → select-BAlA65tZ.mjs} +1 -1
- package/dist/{select-C2Ro2wmj.mjs.map → select-BAlA65tZ.mjs.map} +1 -1
- package/dist/{select-DHiTqZeX.cjs → select-Cib2aiw5.cjs} +1 -1
- package/dist/{select-DHiTqZeX.cjs.map → select-Cib2aiw5.cjs.map} +1 -1
- package/dist/{separator-yTKDuMWb.mjs → separator-C6s-YvlT.mjs} +1 -1
- package/dist/{separator-yTKDuMWb.mjs.map → separator-C6s-YvlT.mjs.map} +1 -1
- package/dist/{separator-jytY1CPq.cjs → separator-CBup_ah1.cjs} +1 -1
- package/dist/{separator-jytY1CPq.cjs.map → separator-CBup_ah1.cjs.map} +1 -1
- package/dist/{sheet-DDBCHwn6.mjs → sheet-Cj8hoftE.mjs} +1 -1
- package/dist/{sheet-DDBCHwn6.mjs.map → sheet-Cj8hoftE.mjs.map} +1 -1
- package/dist/{sheet-DuMrjidC.cjs → sheet-DAjZ-Q6Q.cjs} +1 -1
- package/dist/{sheet-DuMrjidC.cjs.map → sheet-DAjZ-Q6Q.cjs.map} +1 -1
- package/dist/{sidebar-BXrGXVxx.cjs → sidebar-Drasn0Bx.cjs} +2 -2
- package/dist/{sidebar-BXrGXVxx.cjs.map → sidebar-Drasn0Bx.cjs.map} +1 -1
- package/dist/{sidebar-De1RZMAG.mjs → sidebar-RcmDh50_.mjs} +2 -2
- package/dist/{sidebar-De1RZMAG.mjs.map → sidebar-RcmDh50_.mjs.map} +1 -1
- package/dist/{skeleton-Czl96pWA.mjs → skeleton-DupQ91XW.mjs} +1 -1
- package/dist/{skeleton-Czl96pWA.mjs.map → skeleton-DupQ91XW.mjs.map} +1 -1
- package/dist/{spinner-CWUvnJQw.mjs → spinner-BCnPYF1H.mjs} +1 -1
- package/dist/{spinner-CWUvnJQw.mjs.map → spinner-BCnPYF1H.mjs.map} +1 -1
- package/dist/{spinner-DgusnQMw.cjs → spinner-Bdta7BMp.cjs} +1 -1
- package/dist/{spinner-DgusnQMw.cjs.map → spinner-Bdta7BMp.cjs.map} +1 -1
- package/dist/statistic-Cm4nbkjQ.mjs +2 -0
- package/dist/statistic-Cm4nbkjQ.mjs.map +1 -0
- package/dist/statistic-DDDm5Om1.cjs +2 -0
- package/dist/statistic-DDDm5Om1.cjs.map +1 -0
- package/dist/{switch-DHsjxnFP.mjs → switch-BP7EPatj.mjs} +1 -1
- package/dist/{switch-DHsjxnFP.mjs.map → switch-BP7EPatj.mjs.map} +1 -1
- package/dist/{switch-0-9Zt33o.cjs → switch-Dbc77c_D.cjs} +1 -1
- package/dist/{switch-0-9Zt33o.cjs.map → switch-Dbc77c_D.cjs.map} +1 -1
- package/dist/tables-B3Ald6An.cjs +4 -0
- package/dist/tables-B3Ald6An.cjs.map +1 -0
- package/dist/tables-C3asiSD4.mjs +4 -0
- package/dist/tables-C3asiSD4.mjs.map +1 -0
- package/dist/{tanstack-form-Be6aIYAW.mjs → tanstack-form-BFX2-Tlo.mjs} +2 -2
- package/dist/{tanstack-form-Be6aIYAW.mjs.map → tanstack-form-BFX2-Tlo.mjs.map} +1 -1
- package/dist/{tanstack-form-CDgTokmf.cjs → tanstack-form-dHOZ76Jw.cjs} +2 -2
- package/dist/{tanstack-form-CDgTokmf.cjs.map → tanstack-form-dHOZ76Jw.cjs.map} +1 -1
- package/dist/{text-editor-CE_GkI7o.cjs → text-editor-BJBM0T1y.cjs} +1 -1
- package/dist/{text-editor-CE_GkI7o.cjs.map → text-editor-BJBM0T1y.cjs.map} +1 -1
- package/dist/{text-editor-CqC44BkO.mjs → text-editor-CbBJNn-4.mjs} +1 -1
- package/dist/{text-editor-CqC44BkO.mjs.map → text-editor-CbBJNn-4.mjs.map} +1 -1
- package/dist/{textarea-D0-Gltw6.mjs → textarea-7HDXcaK9.mjs} +1 -1
- package/dist/{textarea-D0-Gltw6.mjs.map → textarea-7HDXcaK9.mjs.map} +1 -1
- package/dist/{textarea-BB2WynyM.cjs → textarea-Byo8E8oi.cjs} +1 -1
- package/dist/{textarea-BB2WynyM.cjs.map → textarea-Byo8E8oi.cjs.map} +1 -1
- package/dist/{tooltip-BMdzWaaH.mjs → tooltip-BfBJRYpc.mjs} +1 -1
- package/dist/{tooltip-BMdzWaaH.mjs.map → tooltip-BfBJRYpc.mjs.map} +1 -1
- package/dist/{types-CuAlMviO.mjs → types-CFXgrpTm.mjs} +1 -1
- package/dist/{types-CuAlMviO.mjs.map → types-CFXgrpTm.mjs.map} +1 -1
- package/dist/{types-B2PQbMJL.d.mts → types-Cc_mLRAn.d.cts} +1 -1
- package/dist/{types-CLkAmCre.d.cts → types-YLu40dXY.d.mts} +1 -1
- package/dist/typography/paragraph.d.cts +5 -5
- package/dist/typography/paragraph.d.mts +3 -3
- package/dist/typography/paragraph.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.cjs +1 -1
- package/dist/ui/alert.d.cts +1 -1
- package/dist/ui/alert.d.mts +1 -1
- package/dist/ui/alert.mjs +1 -1
- 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 +1 -1
- package/dist/ui/badge.d.mts +1 -1
- package/dist/ui/badge.mjs +1 -1
- package/dist/ui/breadcrumb.d.cts +8 -8
- 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.mjs +1 -1
- package/dist/ui/buttons/edit.mjs +1 -1
- package/dist/ui/buttons/refresh.mjs +1 -1
- package/dist/ui/buttons/trash.mjs +1 -1
- package/dist/ui/buttons/upload-image.mjs +1 -1
- package/dist/ui/calendar.cjs +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.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/checkbox.cjs +1 -1
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/checkbox.d.mts +2 -2
- package/dist/ui/checkbox.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.d.mts +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.cts +9 -9
- package/dist/ui/empty.d.mts +9 -9
- package/dist/ui/field.cjs +1 -1
- package/dist/ui/field.d.cts +24 -24
- package/dist/ui/field.d.mts +24 -24
- package/dist/ui/field.mjs +1 -1
- package/dist/ui/file-uploader.cjs +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 +10 -10
- package/dist/ui/form.d.mts +10 -10
- 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 +16 -16
- package/dist/ui/item.d.mts +16 -16
- 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.cts +2 -2
- package/dist/ui/multi-select.d.mts +3 -3
- package/dist/ui/multi-select.mjs +1 -1
- package/dist/ui/navigation-menu.d.cts +11 -11
- 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.cjs +1 -1
- package/dist/ui/popover.d.cts +6 -6
- package/dist/ui/popover.d.mts +6 -6
- package/dist/ui/popover.mjs +1 -1
- package/dist/ui/progress.cjs +1 -1
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/progress.mjs +1 -1
- package/dist/ui/radio-group.cjs +1 -1
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/radio-group.mjs +1 -1
- package/dist/ui/resizable.cjs +1 -1
- package/dist/ui/resizable.d.cts +9 -9
- package/dist/ui/resizable.d.mts +9 -9
- package/dist/ui/resizable.mjs +1 -1
- package/dist/ui/scroll-area.d.cts +5 -5
- package/dist/ui/scroll-area.d.mts +5 -5
- package/dist/ui/select.cjs +1 -1
- package/dist/ui/select.d.cts +9 -9
- package/dist/ui/select.d.mts +9 -9
- package/dist/ui/select.mjs +1 -1
- package/dist/ui/separator.cjs +1 -1
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/separator.d.mts +2 -2
- 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/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.cjs +1 -1
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.mts +2 -2
- package/dist/ui/spinner.mjs +1 -1
- package/dist/ui/switch.cjs +1 -1
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/switch.mjs +1 -1
- package/dist/ui/table.d.cts +17 -17
- package/dist/ui/table.d.mts +17 -17
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/textarea.cjs +1 -1
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/textarea.mjs +1 -1
- 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 +4 -4
- package/dist/ui/tooltip.d.cts +5 -5
- package/dist/ui/tooltip.d.mts +5 -5
- package/dist/ui/tooltip.mjs +1 -1
- package/dist/{user-DexjSvGZ.mjs → user-D8Skw8dI.mjs} +2 -2
- package/dist/{user-DexjSvGZ.mjs.map → user-D8Skw8dI.mjs.map} +1 -1
- package/dist/{user-CQY0YnAc.cjs → user-Dns1BKaT.cjs} +2 -2
- package/dist/{user-CQY0YnAc.cjs.map → user-Dns1BKaT.cjs.map} +1 -1
- package/package.json +1 -5
- package/dist/data-display/statistic.cjs.map +0 -1
- package/dist/data-display/statistic.mjs.map +0 -1
- package/dist/dialog-DEnyBH2X.cjs +0 -2
- package/dist/dialog-DEnyBH2X.cjs.map +0 -1
- package/dist/dialog-jqiIqxlm.mjs +0 -2
- package/dist/dialog-jqiIqxlm.mjs.map +0 -1
- package/dist/tables-BQ-QiA1V.mjs +0 -4
- package/dist/tables-BQ-QiA1V.mjs.map +0 -1
- package/dist/tables-LRWPOv2a.cjs +0 -4
- package/dist/tables-LRWPOv2a.cjs.map +0 -1
- package/dist/ui/sidebar.cjs +0 -2
- package/dist/ui/sidebar.cjs.map +0 -1
- package/dist/ui/sidebar.d.cts +0 -264
- package/dist/ui/sidebar.d.mts +0 -264
- package/dist/ui/sidebar.mjs +0 -2
- package/dist/ui/sidebar.mjs.map +0 -1
package/dist/ui/label.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react291 from "react";
|
|
2
2
|
import { Label as Label$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/label.d.ts
|
|
@@ -18,7 +18,7 @@ import { Label as Label$1 } from "radix-ui";
|
|
|
18
18
|
declare function Label({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof Label$1.Root>):
|
|
21
|
+
}: React.ComponentProps<typeof Label$1.Root>): react291.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Label };
|
|
24
24
|
//# sourceMappingURL=label.d.mts.map
|
package/dist/ui/label.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{t as e}from"../label-
|
|
1
|
+
"use client";import{t as e}from"../label-D9uNQ9b_.mjs";export{e as Label};
|
package/dist/ui/menubar.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react260 from "react";
|
|
2
2
|
import { Menubar as Menubar$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/menubar.d.ts
|
|
@@ -28,28 +28,28 @@ import { Menubar as Menubar$1 } from "radix-ui";
|
|
|
28
28
|
declare function Menubar({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Menubar$1.Root>):
|
|
31
|
+
}: React.ComponentProps<typeof Menubar$1.Root>): react260.JSX.Element;
|
|
32
32
|
/** Root container for a single drop-down menu entry within a Menubar. */
|
|
33
33
|
declare function MenubarMenu({
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof Menubar$1.Menu>):
|
|
35
|
+
}: React.ComponentProps<typeof Menubar$1.Menu>): react260.JSX.Element;
|
|
36
36
|
/** Groups related MenubarItems under a shared logical section. */
|
|
37
37
|
declare function MenubarGroup({
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof Menubar$1.Group>):
|
|
39
|
+
}: React.ComponentProps<typeof Menubar$1.Group>): react260.JSX.Element;
|
|
40
40
|
/** Portals Menubar content outside the current DOM hierarchy. */
|
|
41
41
|
declare function MenubarPortal({
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof Menubar$1.Portal>):
|
|
43
|
+
}: React.ComponentProps<typeof Menubar$1.Portal>): react260.JSX.Element;
|
|
44
44
|
/** Groups MenubarRadioItems so only one can be selected at a time. */
|
|
45
45
|
declare function MenubarRadioGroup({
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof Menubar$1.RadioGroup>):
|
|
47
|
+
}: React.ComponentProps<typeof Menubar$1.RadioGroup>): react260.JSX.Element;
|
|
48
48
|
/** Button in the Menubar that opens its associated MenubarContent dropdown. */
|
|
49
49
|
declare function MenubarTrigger({
|
|
50
50
|
className,
|
|
51
51
|
...props
|
|
52
|
-
}: React.ComponentProps<typeof Menubar$1.Trigger>):
|
|
52
|
+
}: React.ComponentProps<typeof Menubar$1.Trigger>): react260.JSX.Element;
|
|
53
53
|
/** Animated floating panel that contains MenubarItems for a given MenubarMenu. */
|
|
54
54
|
declare function MenubarContent({
|
|
55
55
|
className,
|
|
@@ -57,7 +57,7 @@ declare function MenubarContent({
|
|
|
57
57
|
alignOffset,
|
|
58
58
|
sideOffset,
|
|
59
59
|
...props
|
|
60
|
-
}: React.ComponentProps<typeof Menubar$1.Content>):
|
|
60
|
+
}: React.ComponentProps<typeof Menubar$1.Content>): react260.JSX.Element;
|
|
61
61
|
/**
|
|
62
62
|
* A single clickable row inside a MenubarContent.
|
|
63
63
|
*
|
|
@@ -72,20 +72,20 @@ declare function MenubarItem({
|
|
|
72
72
|
}: React.ComponentProps<typeof Menubar$1.Item> & {
|
|
73
73
|
inset?: boolean;
|
|
74
74
|
variant?: 'default' | 'destructive';
|
|
75
|
-
}):
|
|
75
|
+
}): react260.JSX.Element;
|
|
76
76
|
/** A checkable menubar item that displays a checkmark when selected. */
|
|
77
77
|
declare function MenubarCheckboxItem({
|
|
78
78
|
className,
|
|
79
79
|
children,
|
|
80
80
|
checked,
|
|
81
81
|
...props
|
|
82
|
-
}: React.ComponentProps<typeof Menubar$1.CheckboxItem>):
|
|
82
|
+
}: React.ComponentProps<typeof Menubar$1.CheckboxItem>): react260.JSX.Element;
|
|
83
83
|
/** A radio-button menubar item; shows a filled circle when selected. */
|
|
84
84
|
declare function MenubarRadioItem({
|
|
85
85
|
className,
|
|
86
86
|
children,
|
|
87
87
|
...props
|
|
88
|
-
}: React.ComponentProps<typeof Menubar$1.RadioItem>):
|
|
88
|
+
}: React.ComponentProps<typeof Menubar$1.RadioItem>): react260.JSX.Element;
|
|
89
89
|
/**
|
|
90
90
|
* Non-interactive label used to describe a group of menubar items.
|
|
91
91
|
*
|
|
@@ -97,21 +97,21 @@ declare function MenubarLabel({
|
|
|
97
97
|
...props
|
|
98
98
|
}: React.ComponentProps<typeof Menubar$1.Label> & {
|
|
99
99
|
inset?: boolean;
|
|
100
|
-
}):
|
|
100
|
+
}): react260.JSX.Element;
|
|
101
101
|
/** Horizontal dividing line between groups of menubar items. */
|
|
102
102
|
declare function MenubarSeparator({
|
|
103
103
|
className,
|
|
104
104
|
...props
|
|
105
|
-
}: React.ComponentProps<typeof Menubar$1.Separator>):
|
|
105
|
+
}: React.ComponentProps<typeof Menubar$1.Separator>): react260.JSX.Element;
|
|
106
106
|
/** Displays a keyboard shortcut hint aligned to the right of a menubar item. */
|
|
107
107
|
declare function MenubarShortcut({
|
|
108
108
|
className,
|
|
109
109
|
...props
|
|
110
|
-
}: React.ComponentProps<'span'>):
|
|
110
|
+
}: React.ComponentProps<'span'>): react260.JSX.Element;
|
|
111
111
|
/** Root container for a nested sub-menu inside a Menubar dropdown. */
|
|
112
112
|
declare function MenubarSub({
|
|
113
113
|
...props
|
|
114
|
-
}: React.ComponentProps<typeof Menubar$1.Sub>):
|
|
114
|
+
}: React.ComponentProps<typeof Menubar$1.Sub>): react260.JSX.Element;
|
|
115
115
|
/**
|
|
116
116
|
* Menu item that reveals a nested MenubarSubContent on hover or activation.
|
|
117
117
|
*
|
|
@@ -124,12 +124,12 @@ declare function MenubarSubTrigger({
|
|
|
124
124
|
...props
|
|
125
125
|
}: React.ComponentProps<typeof Menubar$1.SubTrigger> & {
|
|
126
126
|
inset?: boolean;
|
|
127
|
-
}):
|
|
127
|
+
}): react260.JSX.Element;
|
|
128
128
|
/** Floating panel that contains the items of a nested Menubar sub-menu. */
|
|
129
129
|
declare function MenubarSubContent({
|
|
130
130
|
className,
|
|
131
131
|
...props
|
|
132
|
-
}: React.ComponentProps<typeof Menubar$1.SubContent>):
|
|
132
|
+
}: React.ComponentProps<typeof Menubar$1.SubContent>): react260.JSX.Element;
|
|
133
133
|
//#endregion
|
|
134
134
|
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
135
135
|
//# sourceMappingURL=menubar.d.cts.map
|
package/dist/ui/menubar.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react264 from "react";
|
|
2
2
|
import { Menubar as Menubar$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/menubar.d.ts
|
|
@@ -28,28 +28,28 @@ import { Menubar as Menubar$1 } from "radix-ui";
|
|
|
28
28
|
declare function Menubar({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Menubar$1.Root>):
|
|
31
|
+
}: React.ComponentProps<typeof Menubar$1.Root>): react264.JSX.Element;
|
|
32
32
|
/** Root container for a single drop-down menu entry within a Menubar. */
|
|
33
33
|
declare function MenubarMenu({
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof Menubar$1.Menu>):
|
|
35
|
+
}: React.ComponentProps<typeof Menubar$1.Menu>): react264.JSX.Element;
|
|
36
36
|
/** Groups related MenubarItems under a shared logical section. */
|
|
37
37
|
declare function MenubarGroup({
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof Menubar$1.Group>):
|
|
39
|
+
}: React.ComponentProps<typeof Menubar$1.Group>): react264.JSX.Element;
|
|
40
40
|
/** Portals Menubar content outside the current DOM hierarchy. */
|
|
41
41
|
declare function MenubarPortal({
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof Menubar$1.Portal>):
|
|
43
|
+
}: React.ComponentProps<typeof Menubar$1.Portal>): react264.JSX.Element;
|
|
44
44
|
/** Groups MenubarRadioItems so only one can be selected at a time. */
|
|
45
45
|
declare function MenubarRadioGroup({
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof Menubar$1.RadioGroup>):
|
|
47
|
+
}: React.ComponentProps<typeof Menubar$1.RadioGroup>): react264.JSX.Element;
|
|
48
48
|
/** Button in the Menubar that opens its associated MenubarContent dropdown. */
|
|
49
49
|
declare function MenubarTrigger({
|
|
50
50
|
className,
|
|
51
51
|
...props
|
|
52
|
-
}: React.ComponentProps<typeof Menubar$1.Trigger>):
|
|
52
|
+
}: React.ComponentProps<typeof Menubar$1.Trigger>): react264.JSX.Element;
|
|
53
53
|
/** Animated floating panel that contains MenubarItems for a given MenubarMenu. */
|
|
54
54
|
declare function MenubarContent({
|
|
55
55
|
className,
|
|
@@ -57,7 +57,7 @@ declare function MenubarContent({
|
|
|
57
57
|
alignOffset,
|
|
58
58
|
sideOffset,
|
|
59
59
|
...props
|
|
60
|
-
}: React.ComponentProps<typeof Menubar$1.Content>):
|
|
60
|
+
}: React.ComponentProps<typeof Menubar$1.Content>): react264.JSX.Element;
|
|
61
61
|
/**
|
|
62
62
|
* A single clickable row inside a MenubarContent.
|
|
63
63
|
*
|
|
@@ -72,20 +72,20 @@ declare function MenubarItem({
|
|
|
72
72
|
}: React.ComponentProps<typeof Menubar$1.Item> & {
|
|
73
73
|
inset?: boolean;
|
|
74
74
|
variant?: 'default' | 'destructive';
|
|
75
|
-
}):
|
|
75
|
+
}): react264.JSX.Element;
|
|
76
76
|
/** A checkable menubar item that displays a checkmark when selected. */
|
|
77
77
|
declare function MenubarCheckboxItem({
|
|
78
78
|
className,
|
|
79
79
|
children,
|
|
80
80
|
checked,
|
|
81
81
|
...props
|
|
82
|
-
}: React.ComponentProps<typeof Menubar$1.CheckboxItem>):
|
|
82
|
+
}: React.ComponentProps<typeof Menubar$1.CheckboxItem>): react264.JSX.Element;
|
|
83
83
|
/** A radio-button menubar item; shows a filled circle when selected. */
|
|
84
84
|
declare function MenubarRadioItem({
|
|
85
85
|
className,
|
|
86
86
|
children,
|
|
87
87
|
...props
|
|
88
|
-
}: React.ComponentProps<typeof Menubar$1.RadioItem>):
|
|
88
|
+
}: React.ComponentProps<typeof Menubar$1.RadioItem>): react264.JSX.Element;
|
|
89
89
|
/**
|
|
90
90
|
* Non-interactive label used to describe a group of menubar items.
|
|
91
91
|
*
|
|
@@ -97,21 +97,21 @@ declare function MenubarLabel({
|
|
|
97
97
|
...props
|
|
98
98
|
}: React.ComponentProps<typeof Menubar$1.Label> & {
|
|
99
99
|
inset?: boolean;
|
|
100
|
-
}):
|
|
100
|
+
}): react264.JSX.Element;
|
|
101
101
|
/** Horizontal dividing line between groups of menubar items. */
|
|
102
102
|
declare function MenubarSeparator({
|
|
103
103
|
className,
|
|
104
104
|
...props
|
|
105
|
-
}: React.ComponentProps<typeof Menubar$1.Separator>):
|
|
105
|
+
}: React.ComponentProps<typeof Menubar$1.Separator>): react264.JSX.Element;
|
|
106
106
|
/** Displays a keyboard shortcut hint aligned to the right of a menubar item. */
|
|
107
107
|
declare function MenubarShortcut({
|
|
108
108
|
className,
|
|
109
109
|
...props
|
|
110
|
-
}: React.ComponentProps<'span'>):
|
|
110
|
+
}: React.ComponentProps<'span'>): react264.JSX.Element;
|
|
111
111
|
/** Root container for a nested sub-menu inside a Menubar dropdown. */
|
|
112
112
|
declare function MenubarSub({
|
|
113
113
|
...props
|
|
114
|
-
}: React.ComponentProps<typeof Menubar$1.Sub>):
|
|
114
|
+
}: React.ComponentProps<typeof Menubar$1.Sub>): react264.JSX.Element;
|
|
115
115
|
/**
|
|
116
116
|
* Menu item that reveals a nested MenubarSubContent on hover or activation.
|
|
117
117
|
*
|
|
@@ -124,12 +124,12 @@ declare function MenubarSubTrigger({
|
|
|
124
124
|
...props
|
|
125
125
|
}: React.ComponentProps<typeof Menubar$1.SubTrigger> & {
|
|
126
126
|
inset?: boolean;
|
|
127
|
-
}):
|
|
127
|
+
}): react264.JSX.Element;
|
|
128
128
|
/** Floating panel that contains the items of a nested Menubar sub-menu. */
|
|
129
129
|
declare function MenubarSubContent({
|
|
130
130
|
className,
|
|
131
131
|
...props
|
|
132
|
-
}: React.ComponentProps<typeof Menubar$1.SubContent>):
|
|
132
|
+
}: React.ComponentProps<typeof Menubar$1.SubContent>): react264.JSX.Element;
|
|
133
133
|
//#endregion
|
|
134
134
|
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
135
135
|
//# 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-tnhb123u.cjs`);const t=require(`../button-Bu4ejNOW.cjs`);require(`../heading-wUXEbicM.cjs`),require(`../paragraph-D-JHj7EP.cjs`),require(`../close-
|
|
1
|
+
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../button.variants-tnhb123u.cjs`);const t=require(`../button-Bu4ejNOW.cjs`);require(`../heading-wUXEbicM.cjs`),require(`../paragraph-D-JHj7EP.cjs`),require(`../close-DrCUWZt0.cjs`),require(`../dialog-D1sWnn6n.cjs`);const n=require(`../command-DiXzSGc8.cjs`);let r=require(`lucide-react`),i=require(`react`),a=require(`@customafk/react-toolkit/utils`),o=require(`react/jsx-runtime`),s=require(`cmdk`);function c(e,t){let[n,r]=(0,i.useState)(e);return(0,i.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,i.forwardRef)(({className:e,...t},n)=>(0,s.useCommandState)(e=>e.filtered.count===0)?(0,o.jsx)(`div`,{ref:n,className:(0,a.cn)(`px-2 py-4 text-center text-sm`,e),"cmdk-empty":``,role:`presentation`,...t}):null);f.displayName=`CommandEmpty`;const p=(0,i.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,i.useRef)(null),R=(0,i.useRef)(null),[z,B]=(0,i.useState)(!1),[V,H]=(0,i.useState)(!1),[U,W]=(0,i.useState)(!1),[G,K]=(0,i.useState)(e||[]),[q,J]=(0,i.useState)(l(h,E)),[Y,X]=(0,i.useState)(``),Z=c(Y,_||500);(0,i.useImperativeHandle)(I,()=>({selectedValue:[...G],input:L.current,focus:()=>L?.current?.focus(),reset:()=>K([])}),[G]);let Q=(0,i.useCallback)(e=>{R.current&&!R.current.contains(e.target)&&L.current&&!L.current.contains(e.target)&&(B(!1),L.current.blur())},[]),$=(0,i.useCallback)(e=>{let t=G.filter(t=>t.value!==e.value);K(t),p?.(t)},[p,G]),ee=(0,i.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,i.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,i.useEffect)(()=>{e&&K(e)},[e]),(0,i.useEffect)(()=>{if(!g||v)return;let e=l(g||[],E);JSON.stringify(e)!==JSON.stringify(q)&&J(e)},[h,g,E,v,q]),(0,i.useEffect)(()=>{let e=()=>{let e=y?.(Z);J(l(e||[],E))};(async()=>{!y||!z||(j&&e(),Z&&e())})()},[Z,E,z,j]),(0,i.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,o.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,i.useCallback)(()=>{if(x)return v&&!A&&Object.keys(q).length===0?(0,o.jsx)(n.o,{value:`-`,disabled:!0,children:x}):(0,o.jsx)(f,{children:x})},[A,x,v,q]),re=(0,i.useMemo)(()=>u(q,G),[q,G]),ie=(0,i.useCallback)(()=>{if(M?.filter)return M.filter;if(A)return(e,t)=>e.toLowerCase().includes(t.toLowerCase())?1:-1},[A,M?.filter]);return(0,o.jsxs)(n.t,{ref:R,...M,onKeyDown:e=>{ee(e),M?.onKeyDown?.(e)},className:(0,a.cn)(`h-auto overflow-visible bg-transparent`,M?.className),shouldFilter:M?.shouldFilter===void 0?!v:M.shouldFilter,filter:ie(),children:[(0,o.jsx)(`div`,{className:(0,a.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,o.jsxs)(`div`,{className:`flex flex-wrap gap-1`,children:[G.map(e=>(0,o.jsxs)(`div`,{className:(0,a.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,o.jsx)(`button`,{type:`button`,disabled:T||e.fixed,className:(0,a.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,o.jsx)(r.X,{size:14,strokeWidth:2,"aria-hidden":`true`})})]},e.value)),(0,o.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,a.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,o.jsx)(`button`,{type:`button`,onClick:()=>{K(G.filter(e=>e.fixed)),p?.(G.filter(e=>e.fixed))},className:(0,a.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,o.jsx)(r.X,{size:16,strokeWidth:2,"aria-hidden":`true`})})]})}),(0,o.jsx)(`div`,{className:`relative`,children:(0,o.jsx)(`div`,{className:(0,a.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,o.jsxs)(n.s,{className:`shadow-lg outline-hidden`,onMouseLeave:()=>{H(!1)},onMouseEnter:()=>{H(!0)},onMouseUp:()=>{L?.current?.focus()},children:[F&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.c,{}),(0,o.jsx)(n.i,{children:(0,o.jsxs)(t.t,{type:`button`,variant:`ghost`,className:`w-full font-normal [&_div]:justify-start`,onClick:F,children:[(0,o.jsx)(r.PlusIcon,{size:14,className:`opacity-60`,"aria-hidden":`true`}),`Thêm mới`]})})]}),U?b:(0,o.jsxs)(o.Fragment,{children:[ne(),te(),!k&&(0,o.jsx)(n.o,{value:`-`,className:`hidden`}),Object.entries(re).map(([e,t])=>(0,o.jsx)(n.i,{heading:e,className:`h-full overflow-auto`,children:t.map(e=>(0,o.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,a.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,5 +1,5 @@
|
|
|
1
1
|
import { Command as Command$1 } from "./command.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react205 from "react";
|
|
3
3
|
import { Command } from "cmdk";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/multi-select.d.ts
|
|
@@ -111,7 +111,7 @@ declare function useDebounce<T>(value: T, delay?: number): T;
|
|
|
111
111
|
* />
|
|
112
112
|
* ```
|
|
113
113
|
*/
|
|
114
|
-
declare const MultipleSelector:
|
|
114
|
+
declare const MultipleSelector: react205.ForwardRefExoticComponent<MultipleSelectorProps & react205.RefAttributes<MultipleSelectorRef>>;
|
|
115
115
|
//#endregion
|
|
116
116
|
export { MultipleSelector, MultipleSelectorRef, Option, useDebounce };
|
|
117
117
|
//# sourceMappingURL=multi-select.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../dialog-
|
|
1
|
+
import "../dialog-DolY0CYG.mjs";
|
|
2
2
|
import { Command as Command$1 } from "./command.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react292 from "react";
|
|
4
4
|
import { Command } from "cmdk";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/multi-select.d.ts
|
|
@@ -112,7 +112,7 @@ declare function useDebounce<T>(value: T, delay?: number): T;
|
|
|
112
112
|
* />
|
|
113
113
|
* ```
|
|
114
114
|
*/
|
|
115
|
-
declare const MultipleSelector:
|
|
115
|
+
declare const MultipleSelector: react292.ForwardRefExoticComponent<MultipleSelectorProps & react292.RefAttributes<MultipleSelectorRef>>;
|
|
116
116
|
//#endregion
|
|
117
117
|
export { MultipleSelector, MultipleSelectorRef, Option, useDebounce };
|
|
118
118
|
//# 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-B8aRZ52K.mjs";import{t as e}from"../button-CfPTDyoq.mjs";import"../heading-woRh-IC7.mjs";import"../paragraph-CjstaJFj.mjs";import"../close-B7OOMSZl.mjs";import"../dialog-EGFZeITu.mjs";import{c as t,i as n,o as r,s as ee,t as te}from"../command-FnbrPZ7_.mjs";import{PlusIcon as ne,X as i}from"lucide-react";import{forwardRef as a,useCallback as o,useEffect as s,useImperativeHandle as c,useMemo as re,useRef as l,useState as u}from"react";import{cn as d}from"@customafk/react-toolkit/utils";import{Fragment as f,jsx as p,jsxs as m}from"react/jsx-runtime";import{Command as h,useCommandState as g}from"cmdk";function _(e,t){let[n,r]=u(e);return s(()=>{let n=setTimeout(()=>r(e),t||500);return()=>{clearTimeout(n)}},[e,t]),n}function v(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 ie(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 ae(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 y=a(({className:e,...t},n)=>g(e=>e.filtered.count===0)?p(`div`,{ref:n,className:d(`px-2 py-4 text-center text-sm`,e),"cmdk-empty":``,role:`presentation`,...t}):null);y.displayName=`CommandEmpty`;const b=a(({value:a,onChange:g,placeholder:b,defaultOptions:x=[],options:S,delay:oe,onSearch:C,onSearchSync:w,loadingIndicator:se,emptyIndicator:T,maxSelected:E=2**53-1,onMaxSelected:D,hidePlaceholderWhenSelected:O,disabled:k,groupBy:A,className:ce,badgeClassName:le,selectFirstItem:ue=!0,creatable:j=!1,triggerSearchOnFocus:M=!1,commandProps:N,inputProps:P,hideClearAllButton:F=!1,onAddNewItem:I},de)=>{let L=l(null),R=l(null),[z,B]=u(!1),[V,H]=u(!1),[U,W]=u(!1),[G,K]=u(a||[]),[q,J]=u(v(x,A)),[Y,X]=u(``),Z=_(Y,oe||500);c(de,()=>({selectedValue:[...G],input:L.current,focus:()=>L?.current?.focus(),reset:()=>K([])}),[G]);let Q=o(e=>{R.current&&!R.current.contains(e.target)&&L.current&&!L.current.contains(e.target)&&(B(!1),L.current.blur())},[]),$=o(e=>{let t=G.filter(t=>t.value!==e.value);K(t),g?.(t)},[g,G]),fe=o(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]);s(()=>(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]),s(()=>{a&&K(a)},[a]),s(()=>{if(!S||C)return;let e=v(S||[],A);JSON.stringify(e)!==JSON.stringify(q)&&J(e)},[x,S,A,C,q]),s(()=>{let e=()=>{let e=w?.(Z);J(v(e||[],A))};(async()=>{!w||!z||(M&&e(),Z&&e())})()},[Z,A,z,M]),s(()=>{let e=async()=>{W(!0),J(v(await C?.(Z)||[],A)),W(!1)};(async()=>{!C||!z||(M&&await e(),Z&&await e())})()},[Z,A,z,M]);let pe=()=>{if(!j||ae(q,[{value:Y,label:Y}])||G.find(e=>e.value===Y))return;let e=p(r,{value:Y,className:`cursor-pointer`,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:e=>{if(G.length>=E){D?.(G.length);return}X(``);let t=[...G,{value:e,label:e}];K(t),g?.(t)},children:`Create "${Y}"`});if(!C&&Y.length>0||C&&Z.length>0&&!U)return e},me=o(()=>{if(T)return C&&!j&&Object.keys(q).length===0?p(r,{value:`-`,disabled:!0,children:T}):p(y,{children:T})},[j,T,C,q]),he=re(()=>ie(q,G),[q,G]),ge=o(()=>{if(N?.filter)return N.filter;if(j)return(e,t)=>e.toLowerCase().includes(t.toLowerCase())?1:-1},[j,N?.filter]);return m(te,{ref:R,...N,onKeyDown:e=>{fe(e),N?.onKeyDown?.(e)},className:d(`h-auto overflow-visible bg-transparent`,N?.className),shouldFilter:N?.shouldFilter===void 0?!C:N.shouldFilter,filter:ge(),children:[p(`div`,{className:d(`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`,!k&&G.length!==0&&`cursor-text`,!F&&`pe-9`,ce),onClick:()=>{k||L?.current?.focus()},children:m(`div`,{className:`flex flex-wrap gap-1`,children:[G.map(e=>m(`div`,{className:d(`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":k||void 0,children:[e.label,p(`button`,{type:`button`,disabled:k||e.fixed,className:d(`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:p(i,{size:14,strokeWidth:2,"aria-hidden":`true`})})]},e.value)),p(h.Input,{...P,ref:L,value:Y,disabled:k,onValueChange:e=>{X(e),P?.onValueChange?.(e)},onBlur:e=>{V||B(!1),P?.onBlur?.(e)},onFocus:e=>{B(!0),M&&C?.(Z),P?.onFocus?.(e)},placeholder:O&&G.length!==0?``:b,className:d(`placeholder:text-text-positive-muted flex-1 bg-transparent outline-hidden`,`disabled:placeholder:text-transparent`,{"w-full":O,"px-3 py-2":G.length===0,"ml-1":G.length!==0},P?.className)}),p(`button`,{type:`button`,onClick:()=>{K(G.filter(e=>e.fixed)),g?.(G.filter(e=>e.fixed))},className:d(`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||k||G.length<1||G.filter(({fixed:e})=>e).length===G.length)&&`hidden`),"aria-label":`Clear all`,children:p(i,{size:16,strokeWidth:2,"aria-hidden":`true`})})]})}),p(`div`,{className:`relative`,children:p(`div`,{className:d(`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&&m(ee,{className:`shadow-lg outline-hidden`,onMouseLeave:()=>{H(!1)},onMouseEnter:()=>{H(!0)},onMouseUp:()=>{L?.current?.focus()},children:[I&&m(f,{children:[p(t,{}),p(n,{children:m(e,{type:`button`,variant:`ghost`,className:`w-full font-normal [&_div]:justify-start`,onClick:I,children:[p(ne,{size:14,className:`opacity-60`,"aria-hidden":`true`}),`Thêm mới`]})})]}),U?se:m(f,{children:[me(),pe(),!ue&&p(r,{value:`-`,className:`hidden`}),Object.entries(he).map(([e,t])=>p(n,{heading:e,className:`h-full overflow-auto`,children:t.map(e=>p(r,{value:e.value,disabled:e.disable,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:()=>{if(G.length>=E){D?.(G.length);return}let t=[...G,e];X(``),K(t),g?.(t)},className:d(`cursor-pointer`,e.disable&&`cursor-not-allowed opacity-50`),children:e.label},e.value))},e))]})]})})})]})});b.displayName=`MultipleSelector`;export{b as MultipleSelector,_ as useDebounce};
|
|
2
2
|
//# sourceMappingURL=multi-select.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react179 from "react";
|
|
2
|
+
import * as class_variance_authority_types10 from "class-variance-authority/types";
|
|
3
3
|
import { NavigationMenu as NavigationMenu$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/navigation-menu.d.ts
|
|
@@ -34,44 +34,44 @@ declare function NavigationMenu({
|
|
|
34
34
|
}: React.ComponentProps<typeof NavigationMenu$1.Root> & {
|
|
35
35
|
/** When false, the viewport animation panel is omitted (useful for inline menus). */
|
|
36
36
|
viewport?: boolean;
|
|
37
|
-
}):
|
|
37
|
+
}): react179.JSX.Element;
|
|
38
38
|
/** Horizontal list that holds NavigationMenuItems. */
|
|
39
39
|
declare function NavigationMenuList({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<typeof NavigationMenu$1.List>):
|
|
42
|
+
}: React.ComponentProps<typeof NavigationMenu$1.List>): react179.JSX.Element;
|
|
43
43
|
/** A single navigation entry that may contain a trigger and a dropdown content panel. */
|
|
44
44
|
declare function NavigationMenuItem({
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Item>):
|
|
48
|
-
declare const navigationMenuTriggerStyle: (props?:
|
|
47
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Item>): react179.JSX.Element;
|
|
48
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types10.ClassProp | undefined) => string;
|
|
49
49
|
/** Button that opens the associated NavigationMenuContent panel on focus or hover. */
|
|
50
50
|
declare function NavigationMenuTrigger({
|
|
51
51
|
className,
|
|
52
52
|
children,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>):
|
|
54
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>): react179.JSX.Element;
|
|
55
55
|
/** Dropdown content panel revealed when a NavigationMenuTrigger is activated. */
|
|
56
56
|
declare function NavigationMenuContent({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Content>):
|
|
59
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Content>): react179.JSX.Element;
|
|
60
60
|
/** Animated viewport container that hosts the active NavigationMenuContent. */
|
|
61
61
|
declare function NavigationMenuViewport({
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>):
|
|
64
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>): react179.JSX.Element;
|
|
65
65
|
/** A styled link used inside NavigationMenuContent that highlights when active. */
|
|
66
66
|
declare function NavigationMenuLink({
|
|
67
67
|
className,
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Link>):
|
|
69
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Link>): react179.JSX.Element;
|
|
70
70
|
/** Small arrow indicator that points from the active NavigationMenuTrigger to its content panel. */
|
|
71
71
|
declare function NavigationMenuIndicator({
|
|
72
72
|
className,
|
|
73
73
|
...props
|
|
74
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>):
|
|
74
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>): react179.JSX.Element;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
77
77
|
//# sourceMappingURL=navigation-menu.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react182 from "react";
|
|
2
2
|
import { NavigationMenu as NavigationMenu$1 } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/navigation-menu.d.ts
|
|
6
6
|
|
|
@@ -34,44 +34,44 @@ declare function NavigationMenu({
|
|
|
34
34
|
}: React.ComponentProps<typeof NavigationMenu$1.Root> & {
|
|
35
35
|
/** When false, the viewport animation panel is omitted (useful for inline menus). */
|
|
36
36
|
viewport?: boolean;
|
|
37
|
-
}):
|
|
37
|
+
}): react182.JSX.Element;
|
|
38
38
|
/** Horizontal list that holds NavigationMenuItems. */
|
|
39
39
|
declare function NavigationMenuList({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<typeof NavigationMenu$1.List>):
|
|
42
|
+
}: React.ComponentProps<typeof NavigationMenu$1.List>): react182.JSX.Element;
|
|
43
43
|
/** A single navigation entry that may contain a trigger and a dropdown content panel. */
|
|
44
44
|
declare function NavigationMenuItem({
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Item>):
|
|
48
|
-
declare const navigationMenuTriggerStyle: (props?:
|
|
47
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Item>): react182.JSX.Element;
|
|
48
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types7.ClassProp | undefined) => string;
|
|
49
49
|
/** Button that opens the associated NavigationMenuContent panel on focus or hover. */
|
|
50
50
|
declare function NavigationMenuTrigger({
|
|
51
51
|
className,
|
|
52
52
|
children,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>):
|
|
54
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>): react182.JSX.Element;
|
|
55
55
|
/** Dropdown content panel revealed when a NavigationMenuTrigger is activated. */
|
|
56
56
|
declare function NavigationMenuContent({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Content>):
|
|
59
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Content>): react182.JSX.Element;
|
|
60
60
|
/** Animated viewport container that hosts the active NavigationMenuContent. */
|
|
61
61
|
declare function NavigationMenuViewport({
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>):
|
|
64
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>): react182.JSX.Element;
|
|
65
65
|
/** A styled link used inside NavigationMenuContent that highlights when active. */
|
|
66
66
|
declare function NavigationMenuLink({
|
|
67
67
|
className,
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Link>):
|
|
69
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Link>): react182.JSX.Element;
|
|
70
70
|
/** Small arrow indicator that points from the active NavigationMenuTrigger to its content panel. */
|
|
71
71
|
declare function NavigationMenuIndicator({
|
|
72
72
|
className,
|
|
73
73
|
...props
|
|
74
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>):
|
|
74
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>): react182.JSX.Element;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
77
77
|
//# sourceMappingURL=navigation-menu.d.mts.map
|
package/dist/ui/pagination.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-8OKxyueU.cjs";
|
|
2
|
+
import * as react59 from "react";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/pagination.d.ts
|
|
5
5
|
|
|
@@ -26,16 +26,16 @@ import * as react172 from "react";
|
|
|
26
26
|
declare function Pagination({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'nav'>):
|
|
29
|
+
}: React.ComponentProps<'nav'>): react59.JSX.Element;
|
|
30
30
|
/** Horizontal list that holds PaginationItem elements. */
|
|
31
31
|
declare function PaginationContent({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<'ul'>):
|
|
34
|
+
}: React.ComponentProps<'ul'>): react59.JSX.Element;
|
|
35
35
|
/** Wrapper `<li>` for a single pagination button or link. */
|
|
36
36
|
declare function PaginationItem({
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<'li'>):
|
|
38
|
+
}: React.ComponentProps<'li'>): react59.JSX.Element;
|
|
39
39
|
type PaginationLinkProps = {
|
|
40
40
|
/** When true, the link is styled as the currently active page. */
|
|
41
41
|
isActive?: boolean;
|
|
@@ -46,22 +46,22 @@ declare function PaginationLink({
|
|
|
46
46
|
isActive,
|
|
47
47
|
size,
|
|
48
48
|
...props
|
|
49
|
-
}: PaginationLinkProps):
|
|
49
|
+
}: PaginationLinkProps): react59.JSX.Element;
|
|
50
50
|
/** "Previous page" navigation link with a left chevron icon. */
|
|
51
51
|
declare function PaginationPrevious({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
54
|
+
}: React.ComponentProps<typeof PaginationLink>): react59.JSX.Element;
|
|
55
55
|
/** "Next page" navigation link with a right chevron icon. */
|
|
56
56
|
declare function PaginationNext({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
59
|
+
}: React.ComponentProps<typeof PaginationLink>): react59.JSX.Element;
|
|
60
60
|
/** Ellipsis indicator rendered between non-adjacent page numbers. */
|
|
61
61
|
declare function PaginationEllipsis({
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<'span'>):
|
|
64
|
+
}: React.ComponentProps<'span'>): react59.JSX.Element;
|
|
65
65
|
//#endregion
|
|
66
66
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
67
67
|
//# sourceMappingURL=pagination.d.cts.map
|
package/dist/ui/pagination.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-CdjZ5QJ8.mjs";
|
|
2
|
+
import * as react241 from "react";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/pagination.d.ts
|
|
5
5
|
|
|
@@ -26,16 +26,16 @@ import * as react94 from "react";
|
|
|
26
26
|
declare function Pagination({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'nav'>):
|
|
29
|
+
}: React.ComponentProps<'nav'>): react241.JSX.Element;
|
|
30
30
|
/** Horizontal list that holds PaginationItem elements. */
|
|
31
31
|
declare function PaginationContent({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<'ul'>):
|
|
34
|
+
}: React.ComponentProps<'ul'>): react241.JSX.Element;
|
|
35
35
|
/** Wrapper `<li>` for a single pagination button or link. */
|
|
36
36
|
declare function PaginationItem({
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<'li'>):
|
|
38
|
+
}: React.ComponentProps<'li'>): react241.JSX.Element;
|
|
39
39
|
type PaginationLinkProps = {
|
|
40
40
|
/** When true, the link is styled as the currently active page. */
|
|
41
41
|
isActive?: boolean;
|
|
@@ -46,22 +46,22 @@ declare function PaginationLink({
|
|
|
46
46
|
isActive,
|
|
47
47
|
size,
|
|
48
48
|
...props
|
|
49
|
-
}: PaginationLinkProps):
|
|
49
|
+
}: PaginationLinkProps): react241.JSX.Element;
|
|
50
50
|
/** "Previous page" navigation link with a left chevron icon. */
|
|
51
51
|
declare function PaginationPrevious({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
54
|
+
}: React.ComponentProps<typeof PaginationLink>): react241.JSX.Element;
|
|
55
55
|
/** "Next page" navigation link with a right chevron icon. */
|
|
56
56
|
declare function PaginationNext({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
59
|
+
}: React.ComponentProps<typeof PaginationLink>): react241.JSX.Element;
|
|
60
60
|
/** Ellipsis indicator rendered between non-adjacent page numbers. */
|
|
61
61
|
declare function PaginationEllipsis({
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<'span'>):
|
|
64
|
+
}: React.ComponentProps<'span'>): react241.JSX.Element;
|
|
65
65
|
//#endregion
|
|
66
66
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
67
67
|
//# 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-B8aRZ52K.mjs";import{ChevronLeftIcon as t,ChevronRightIcon as n,MoreHorizontalIcon as r}from"lucide-react";import{cn as i}from"@customafk/react-toolkit/utils";import{jsx as a,jsxs as o}from"react/jsx-runtime";function s({className:e,...t}){return a(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:i(`mx-auto flex w-full justify-center`,e),...t})}function c({className:e,...t}){return a(`ul`,{"data-slot":`pagination-content`,className:i(`flex flex-row items-center gap-1`,e),...t})}function l({...e}){return a(`li`,{"data-slot":`pagination-item`,...e})}function u({className:t,isActive:n,size:r=`icon`,...o}){return a(`a`,{"aria-current":n?`page`:void 0,"data-slot":`pagination-link`,"data-active":n,className:i(e({variant:n?`outline`:`ghost`,size:r}),t),...o})}function d({className:e,...n}){return o(u,{"aria-label":`Go to previous page`,size:`default`,className:i(`gap-1 px-2.5 sm:pl-2.5`,e),...n,children:[a(t,{}),a(`span`,{className:`hidden sm:block`,children:`Previous`})]})}function f({className:e,...t}){return o(u,{"aria-label":`Go to next page`,size:`default`,className:i(`gap-1 px-2.5 sm:pr-2.5`,e),...t,children:[a(`span`,{className:`hidden sm:block`,children:`Next`}),a(n,{})]})}function p({className:e,...t}){return o(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:i(`flex size-9 items-center justify-center`,e),...t,children:[a(r,{className:`size-4`}),a(`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.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../close-
|
|
1
|
+
"use client";require(`../close-DrCUWZt0.cjs`);const e=require(`../popover-fsTCOb6a.cjs`);exports.Popover=e.t,exports.PopoverAnchor=e.n,exports.PopoverClose=e.r,exports.PopoverContent=e.i,exports.PopoverTrigger=e.a;
|