@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react161 from "react";
|
|
2
2
|
import { DropzoneProps } from "react-dropzone";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/file-uploader.d.ts
|
|
@@ -97,7 +97,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
97
97
|
/**
|
|
98
98
|
* A drag-and-drop file upload zone that manages file selection, validation, preview generation, and optional async upload with progress tracking.
|
|
99
99
|
*/
|
|
100
|
-
declare function FileUploader(props: FileUploaderProps):
|
|
100
|
+
declare function FileUploader(props: FileUploaderProps): react161.JSX.Element;
|
|
101
101
|
//#endregion
|
|
102
102
|
export { FileUploader };
|
|
103
103
|
//# sourceMappingURL=file-uploader.d.mts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use client";import"../button.variants-
|
|
1
|
+
"use client";import"../button.variants-B8aRZ52K.mjs";import{t as e}from"../button-CfPTDyoq.mjs";import{t}from"../progress-DCBKnTx0.mjs";import{FileText as n,Image as r,Trash2 as i,Upload as a}from"lucide-react";import{useCallback as o,useEffect as s}from"react";import{cn as c,formatBytes as l}from"@customafk/react-toolkit/utils";import{jsx as u,jsxs as d}from"react/jsx-runtime";import f from"react-dropzone";import{useControllableState as p}from"@customafk/react-toolkit/hooks/useControllableState";import{toast as m}from"sonner";function h(e){let{value:t,onValueChange:n,onUpload:h,progresses:v,accept:y={"image/*":[]},maxSize:b=1024*1024*2,maxFileCount:x=1,multiple:S=!1,disabled:C=!1,showText:w=!0,iconSize:T,className:E,...D}=e,[O,k]=p({prop:t,onChange:n}),A=o((e,t)=>{if(!S&&x===1&&e.length>1){m.error(`Cannot upload more than 1 file at a time`);return}if((O?.length??0)+e.length>x){m.error(`Cannot upload more than ${x} files`);return}let n=e.map(e=>Object.assign(e,{preview:URL.createObjectURL(e)})),r=O?[...O,...n]:n;if(k(r),t.length>0&&t.forEach(({file:e})=>{m.error(`File ${e.name} was rejected`)}),h&&r.length>0&&r.length<=x){let e=r.length>0?`${r.length} files`:`file`;h(r).then(()=>{k([]),m(`${e} uploaded`)})}},[O,x,S,h,k]);function j(e){if(!O)return;_(O[e])&&URL.revokeObjectURL(O[e].preview);let t=O.filter((t,n)=>n!==e);k(t),n?.(t)}s(()=>()=>{O&&O.forEach(e=>{_(e)&&URL.revokeObjectURL(e.preview)})},[]);let M=C||(O?.length??0)>=x;return d(`div`,{className:`relative flex w-full flex-col gap-6`,children:[u(f,{onDrop:A,accept:y,maxSize:b,maxFiles:x,multiple:x>1||S,disabled:M,children:({getRootProps:e,getInputProps:t,isDragActive:n})=>d(`div`,{...e(),className:c(`group`,`border-border-weak`,`hover:bg-border-weak/20`,`relative grid h-52 w-full cursor-pointer place-items-center rounded-lg border-2 border-dashed px-5 py-2.5 text-center transition`,`ring-offset-background`,`focus-visible:ring-primary-weak`,`focus-visible:ring-2`,`focus-visible:ring-offset-2`,`focus-visible:outline-hidden`,n&&`border-border-primary-strong bg-border-weak/40`,M&&`pointer-events-none opacity-60`,E),...D,children:[u(`input`,{...t()}),n?d(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[u(`div`,{className:`rounded-full border border-dashed p-3`,children:u(a,{className:`text-text-positive-muted size-7`,"aria-hidden":`true`})}),u(`p`,{className:`text-text-positive-muted font-medium`,children:`Drop the files here`})]}):d(`div`,{className:`flex flex-col items-center justify-center gap-4 sm:px-5`,children:[u(`div`,{className:`rounded-full border border-dashed p-3`,children:u(a,{size:T||24,className:`text-muted-foreground`,"aria-hidden":`true`})}),w&&d(`div`,{className:`flex flex-col gap-px`,children:[d(`p`,{className:`text-text-positive-weak text-xs font-medium`,children:[`Drag `,`'n'`,` drop files here, or click to select files`]}),d(`p`,{className:`text-text-positive-muted text-xs`,children:[`You can upload`,x>1?` ${x===1/0?`multiple`:x}
|
|
2
2
|
files (up to ${l(b)} each)`:` a file with ${l(b)}`]})]})]})]})}),O?.length?d(`div`,{className:`h-fit w-full overflow-y-auto`,children:[d(`div`,{className:`flex items-center justify-between px-3 py-2.5`,children:[d(`div`,{className:`text-text-positive-weak flex items-center gap-1`,children:[u(r,{size:16,"aria-hidden":`true`}),d(`p`,{className:`text-sm`,children:[`Ảnh đã tải lên (`,O.length,`)`]})]}),d(`button`,{className:`hover:text-text-positive text-text-positive-muted flex cursor-pointer items-center gap-1 transition-colors duration-200`,onClick:()=>{O&&(O.forEach(e=>{_(e)&&URL.revokeObjectURL(e.preview)}),k([]),n?.([]))},children:[u(i,{size:16,"aria-hidden":`true`}),u(`p`,{className:`text-sm`,children:`Xóa tất cả`})]})]}),u(`div`,{className:`flex flex-col gap-2.5`,children:O?.map((e,t)=>u(g,{file:e,onRemove:()=>j(t),progress:v?.[e.name]},t))})]}):null]})}function g({file:n,progress:r,onRemove:a}){return d(`div`,{className:`border-border-weak hover:border-border relative flex items-center gap-4 rounded-md border py-2 pr-3 pl-2 shadow-xs transition-colors`,children:[d(`div`,{className:`flex flex-1 gap-2.5`,children:[_(n)?u(v,{file:n}):null,d(`div`,{className:`flex w-full flex-col gap-2`,children:[d(`div`,{className:`flex flex-col gap-y-0.5`,children:[u(`p`,{className:`text-text-positive line-clamp-1 text-sm`,children:n.name}),u(`p`,{className:`text-text-positive-muted text-xs`,children:l(n.size)})]}),r?u(t,{value:r}):null]})]}),u(`div`,{className:`flex items-center gap-2`,children:d(e,{type:`button`,variant:`ghost`,color:`secondary`,size:`icon`,className:`size-7`,onClick:a,children:[u(i,{size:16,className:`text-text-positive-muted`,"aria-hidden":`true`}),u(`span`,{className:`sr-only`,children:`Remove file`})]})})]})}function _(e){return`preview`in e&&typeof e.preview==`string`}function v({file:e}){return e.type.startsWith(`image/`)?u(`img`,{src:e.preview,className:`border-border aspect-square size-10 shrink-0 rounded border object-cover object-top shadow-sm`}):u(n,{className:`text-text-positive-muted size-10 border`,"aria-hidden":`true`})}export{h as FileUploader};
|
|
3
3
|
//# sourceMappingURL=file-uploader.mjs.map
|
package/dist/ui/form.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../separator-
|
|
1
|
+
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../separator-CBup_ah1.cjs`),require(`../label-eIyGIRyw.cjs`);const t=require(`../field-pfL7RWcN.cjs`);let n=require(`react`),r=require(`@customafk/react-toolkit/utils`),i=require(`react/jsx-runtime`),a=require(`radix-ui`),o=require(`react-hook-form`);const s=o.FormProvider,c=(0,n.createContext)({}),l=({...e})=>(0,i.jsx)(c.Provider,{value:{name:e.name},children:(0,i.jsx)(o.Controller,{...e})}),u=()=>{let e=(0,n.use)(c),t=(0,n.use)(d),{getFieldState:r,control:i,resetField:a}=(0,o.useFormContext)(),s=(0,o.useFormState)({name:e.name}),l=r(e.name,s);if(!e)throw Error(`useFormField should be used within <FormField>`);let{id:u}=t;return{id:u,control:i,resetField:a,name:e.name,formItemId:`${u}-form-item`,formDescriptionId:`${u}-form-item-description`,formMessageId:`${u}-form-item-message`,...l}},d=(0,n.createContext)({}),f=(0,n.memo)(({className:e,orientation:r=`responsive`,...a})=>{let o=(0,n.useId)();return(0,i.jsx)(d.Provider,{value:{id:o},children:(0,i.jsx)(t.t,{orientation:r,...a,className:e})})});f.displayName=`FormItem`;const p=(0,n.memo)(({...e})=>{let{formItemId:n}=u();return(0,i.jsx)(t.o,{htmlFor:n,...e})});p.displayName=`FormLabel`;const m=(0,n.memo)(({...e})=>{let{error:t,formItemId:n,formDescriptionId:r,formMessageId:o}=u();return(0,i.jsx)(a.Slot.Slot,{"data-slot":`form-control`,id:n,"aria-describedby":t?`${r} ${o}`:`${r}`,"aria-invalid":!!t,...e})});m.displayName=`FormControl`;function h({className:e,...n}){let{formDescriptionId:a}=u();return(0,i.jsx)(t.r,{id:a,className:(0,r.cn)(`text-text-positive-weak text-sm/6 leading-normal font-normal`,`group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...n})}function g({className:e,children:t,...n}){let{error:a,formMessageId:o}=u();return(0,i.jsx)(`span`,{"data-slot":`form-message`,id:o,className:(0,r.cn)(`text-danger text-xs`,e),...n,children:a?String(a?.message??``):t})}exports.Form=s,exports.FormControl=m,exports.FormDescription=h,exports.FormField=l,exports.FormItem=f,exports.FormLabel=p,exports.FormMessage=g,exports.useFormField=u;
|
|
2
2
|
//# sourceMappingURL=form.cjs.map
|
package/dist/ui/form.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react158 from "react";
|
|
2
2
|
import { Label, Slot } from "radix-ui";
|
|
3
3
|
import * as react_hook_form0 from "react-hook-form";
|
|
4
4
|
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
@@ -57,7 +57,7 @@ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransfor
|
|
|
57
57
|
*/
|
|
58
58
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
59
59
|
...props
|
|
60
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
60
|
+
}: ControllerProps<TFieldValues, TName>) => react158.JSX.Element;
|
|
61
61
|
/**
|
|
62
62
|
* Hook that returns the field state and IDs for the enclosing FormField.
|
|
63
63
|
* Must be called inside a component rendered within a `<FormField>`.
|
|
@@ -81,32 +81,32 @@ declare const useFormField: () => {
|
|
|
81
81
|
*
|
|
82
82
|
* @param orientation - Layout direction: `'vertical'`, `'horizontal'`, or `'responsive'` (default).
|
|
83
83
|
*/
|
|
84
|
-
declare const FormItem:
|
|
84
|
+
declare const FormItem: react158.MemoExoticComponent<({
|
|
85
85
|
className,
|
|
86
86
|
orientation,
|
|
87
87
|
...props
|
|
88
88
|
}: React.ComponentProps<"div"> & {
|
|
89
89
|
orientation?: "vertical" | "horizontal" | "responsive";
|
|
90
|
-
}) =>
|
|
90
|
+
}) => react158.JSX.Element>;
|
|
91
91
|
/** Styled label automatically associated with the FormItem's control via `htmlFor`. */
|
|
92
|
-
declare const FormLabel:
|
|
92
|
+
declare const FormLabel: react158.MemoExoticComponent<({
|
|
93
93
|
...props
|
|
94
|
-
}: React.ComponentProps<typeof Label.Root>) =>
|
|
94
|
+
}: React.ComponentProps<typeof Label.Root>) => react158.JSX.Element>;
|
|
95
95
|
/** Radix Slot wrapper that wires the correct `id`, `aria-describedby`, and `aria-invalid` attributes onto the underlying control element. */
|
|
96
|
-
declare const FormControl:
|
|
96
|
+
declare const FormControl: react158.MemoExoticComponent<({
|
|
97
97
|
...props
|
|
98
|
-
}: React.ComponentProps<typeof Slot.Slot>) =>
|
|
98
|
+
}: React.ComponentProps<typeof Slot.Slot>) => react158.JSX.Element>;
|
|
99
99
|
/** Helper text displayed below the control that provides additional context about the field. */
|
|
100
100
|
declare function FormDescription({
|
|
101
101
|
className,
|
|
102
102
|
...props
|
|
103
|
-
}: React.ComponentProps<'p'>):
|
|
103
|
+
}: React.ComponentProps<'p'>): react158.JSX.Element;
|
|
104
104
|
/** Displays the validation error message for the field, or falls back to `children` when there is no error. */
|
|
105
105
|
declare function FormMessage({
|
|
106
106
|
className,
|
|
107
107
|
children,
|
|
108
108
|
...props
|
|
109
|
-
}: React.ComponentProps<'p'>):
|
|
109
|
+
}: React.ComponentProps<'p'>): react158.JSX.Element;
|
|
110
110
|
//#endregion
|
|
111
111
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
|
112
112
|
//# sourceMappingURL=form.d.cts.map
|
package/dist/ui/form.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react152 from "react";
|
|
2
2
|
import { Label, Slot } from "radix-ui";
|
|
3
3
|
import * as react_hook_form0 from "react-hook-form";
|
|
4
4
|
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
@@ -57,7 +57,7 @@ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransfor
|
|
|
57
57
|
*/
|
|
58
58
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
59
59
|
...props
|
|
60
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
60
|
+
}: ControllerProps<TFieldValues, TName>) => react152.JSX.Element;
|
|
61
61
|
/**
|
|
62
62
|
* Hook that returns the field state and IDs for the enclosing FormField.
|
|
63
63
|
* Must be called inside a component rendered within a `<FormField>`.
|
|
@@ -81,32 +81,32 @@ declare const useFormField: () => {
|
|
|
81
81
|
*
|
|
82
82
|
* @param orientation - Layout direction: `'vertical'`, `'horizontal'`, or `'responsive'` (default).
|
|
83
83
|
*/
|
|
84
|
-
declare const FormItem:
|
|
84
|
+
declare const FormItem: react152.MemoExoticComponent<({
|
|
85
85
|
className,
|
|
86
86
|
orientation,
|
|
87
87
|
...props
|
|
88
88
|
}: React.ComponentProps<"div"> & {
|
|
89
89
|
orientation?: "vertical" | "horizontal" | "responsive";
|
|
90
|
-
}) =>
|
|
90
|
+
}) => react152.JSX.Element>;
|
|
91
91
|
/** Styled label automatically associated with the FormItem's control via `htmlFor`. */
|
|
92
|
-
declare const FormLabel:
|
|
92
|
+
declare const FormLabel: react152.MemoExoticComponent<({
|
|
93
93
|
...props
|
|
94
|
-
}: React.ComponentProps<typeof Label.Root>) =>
|
|
94
|
+
}: React.ComponentProps<typeof Label.Root>) => react152.JSX.Element>;
|
|
95
95
|
/** Radix Slot wrapper that wires the correct `id`, `aria-describedby`, and `aria-invalid` attributes onto the underlying control element. */
|
|
96
|
-
declare const FormControl:
|
|
96
|
+
declare const FormControl: react152.MemoExoticComponent<({
|
|
97
97
|
...props
|
|
98
|
-
}: React.ComponentProps<typeof Slot.Slot>) =>
|
|
98
|
+
}: React.ComponentProps<typeof Slot.Slot>) => react152.JSX.Element>;
|
|
99
99
|
/** Helper text displayed below the control that provides additional context about the field. */
|
|
100
100
|
declare function FormDescription({
|
|
101
101
|
className,
|
|
102
102
|
...props
|
|
103
|
-
}: React.ComponentProps<'p'>):
|
|
103
|
+
}: React.ComponentProps<'p'>): react152.JSX.Element;
|
|
104
104
|
/** Displays the validation error message for the field, or falls back to `children` when there is no error. */
|
|
105
105
|
declare function FormMessage({
|
|
106
106
|
className,
|
|
107
107
|
children,
|
|
108
108
|
...props
|
|
109
|
-
}: React.ComponentProps<'p'>):
|
|
109
|
+
}: React.ComponentProps<'p'>): react152.JSX.Element;
|
|
110
110
|
//#endregion
|
|
111
111
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
|
112
112
|
//# sourceMappingURL=form.d.mts.map
|
package/dist/ui/form.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import"../separator-
|
|
1
|
+
"use client";import"../separator-C6s-YvlT.mjs";import"../label-D9uNQ9b_.mjs";import{o as e,r as t,t as n}from"../field-DhgAIueI.mjs";import{createContext as r,memo as i,use as a,useId as o}from"react";import{cn as s}from"@customafk/react-toolkit/utils";import{jsx as c}from"react/jsx-runtime";import{Slot as l}from"radix-ui";import{Controller as u,FormProvider as d,useFormContext as f,useFormState as p}from"react-hook-form";const m=d,h=r({}),g=({...e})=>c(h.Provider,{value:{name:e.name},children:c(u,{...e})}),_=()=>{let e=a(h),t=a(v),{getFieldState:n,control:r,resetField:i}=f(),o=p({name:e.name}),s=n(e.name,o);if(!e)throw Error(`useFormField should be used within <FormField>`);let{id:c}=t;return{id:c,control:r,resetField:i,name:e.name,formItemId:`${c}-form-item`,formDescriptionId:`${c}-form-item-description`,formMessageId:`${c}-form-item-message`,...s}},v=r({}),y=i(({className:e,orientation:t=`responsive`,...r})=>{let i=o();return c(v.Provider,{value:{id:i},children:c(n,{orientation:t,...r,className:e})})});y.displayName=`FormItem`;const b=i(({...t})=>{let{formItemId:n}=_();return c(e,{htmlFor:n,...t})});b.displayName=`FormLabel`;const x=i(({...e})=>{let{error:t,formItemId:n,formDescriptionId:r,formMessageId:i}=_();return c(l.Slot,{"data-slot":`form-control`,id:n,"aria-describedby":t?`${r} ${i}`:`${r}`,"aria-invalid":!!t,...e})});x.displayName=`FormControl`;function S({className:e,...n}){let{formDescriptionId:r}=_();return c(t,{id:r,className:s(`text-text-positive-weak text-sm/6 leading-normal font-normal`,`group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...n})}function C({className:e,children:t,...n}){let{error:r,formMessageId:i}=_();return c(`span`,{"data-slot":`form-message`,id:i,className:s(`text-danger text-xs`,e),...n,children:r?String(r?.message??``):t})}export{m as Form,x as FormControl,S as FormDescription,g as FormField,y as FormItem,b as FormLabel,C as FormMessage,_ as useFormField};
|
|
2
2
|
//# sourceMappingURL=form.mjs.map
|
package/dist/ui/hover-card.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react33 from "react";
|
|
2
2
|
import { HoverCard as HoverCard$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/hover-card.d.ts
|
|
@@ -20,18 +20,18 @@ import { HoverCard as HoverCard$1 } from "radix-ui";
|
|
|
20
20
|
*/
|
|
21
21
|
declare function HoverCard({
|
|
22
22
|
...props
|
|
23
|
-
}: React.ComponentProps<typeof HoverCard$1.Root>):
|
|
23
|
+
}: React.ComponentProps<typeof HoverCard$1.Root>): react33.JSX.Element;
|
|
24
24
|
/** The element that triggers the HoverCard on pointer enter. */
|
|
25
25
|
declare function HoverCardTrigger({
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof HoverCard$1.Trigger>):
|
|
27
|
+
}: React.ComponentProps<typeof HoverCard$1.Trigger>): react33.JSX.Element;
|
|
28
28
|
/** The floating card panel displayed when the trigger is hovered. */
|
|
29
29
|
declare function HoverCardContent({
|
|
30
30
|
className,
|
|
31
31
|
align,
|
|
32
32
|
sideOffset,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof HoverCard$1.Content>):
|
|
34
|
+
}: React.ComponentProps<typeof HoverCard$1.Content>): react33.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
37
37
|
//# sourceMappingURL=hover-card.d.cts.map
|
package/dist/ui/hover-card.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react149 from "react";
|
|
2
2
|
import { HoverCard as HoverCard$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/hover-card.d.ts
|
|
@@ -20,18 +20,18 @@ import { HoverCard as HoverCard$1 } from "radix-ui";
|
|
|
20
20
|
*/
|
|
21
21
|
declare function HoverCard({
|
|
22
22
|
...props
|
|
23
|
-
}: React.ComponentProps<typeof HoverCard$1.Root>):
|
|
23
|
+
}: React.ComponentProps<typeof HoverCard$1.Root>): react149.JSX.Element;
|
|
24
24
|
/** The element that triggers the HoverCard on pointer enter. */
|
|
25
25
|
declare function HoverCardTrigger({
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof HoverCard$1.Trigger>):
|
|
27
|
+
}: React.ComponentProps<typeof HoverCard$1.Trigger>): react149.JSX.Element;
|
|
28
28
|
/** The floating card panel displayed when the trigger is hovered. */
|
|
29
29
|
declare function HoverCardContent({
|
|
30
30
|
className,
|
|
31
31
|
align,
|
|
32
32
|
sideOffset,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof HoverCard$1.Content>):
|
|
34
|
+
}: React.ComponentProps<typeof HoverCard$1.Content>): react149.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
37
37
|
//# sourceMappingURL=hover-card.d.mts.map
|
package/dist/ui/image.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../skeleton-
|
|
1
|
+
import"../skeleton-DupQ91XW.mjs";import{t as e}from"../image-D2U1SBw5.mjs";export{e as Image};
|
package/dist/ui/input-otp.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react74 from "react";
|
|
2
2
|
import { OTPInput } from "input-otp";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/input-otp.d.ts
|
|
@@ -32,12 +32,12 @@ declare function InputOTP({
|
|
|
32
32
|
}: React.ComponentProps<typeof OTPInput> & {
|
|
33
33
|
/** Class name applied to the outer container div. */
|
|
34
34
|
containerClassName?: string;
|
|
35
|
-
}):
|
|
35
|
+
}): react74.JSX.Element;
|
|
36
36
|
/** Flex container that groups a sequence of InputOTPSlot elements. */
|
|
37
37
|
declare function InputOTPGroup({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<'div'>):
|
|
40
|
+
}: React.ComponentProps<'div'>): react74.JSX.Element;
|
|
41
41
|
/**
|
|
42
42
|
* A single character slot in an InputOTP — displays the typed character and a blinking caret when focused.
|
|
43
43
|
*
|
|
@@ -49,11 +49,11 @@ declare function InputOTPSlot({
|
|
|
49
49
|
...props
|
|
50
50
|
}: React.ComponentProps<'div'> & {
|
|
51
51
|
index: number;
|
|
52
|
-
}):
|
|
52
|
+
}): react74.JSX.Element;
|
|
53
53
|
/** Visual separator (dash) placed between InputOTPGroup elements. */
|
|
54
54
|
declare function InputOTPSeparator({
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<'div'>):
|
|
56
|
+
}: React.ComponentProps<'div'>): react74.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|
|
59
59
|
//# sourceMappingURL=input-otp.d.cts.map
|
package/dist/ui/input-otp.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react299 from "react";
|
|
2
2
|
import { OTPInput } from "input-otp";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/input-otp.d.ts
|
|
@@ -32,12 +32,12 @@ declare function InputOTP({
|
|
|
32
32
|
}: React.ComponentProps<typeof OTPInput> & {
|
|
33
33
|
/** Class name applied to the outer container div. */
|
|
34
34
|
containerClassName?: string;
|
|
35
|
-
}):
|
|
35
|
+
}): react299.JSX.Element;
|
|
36
36
|
/** Flex container that groups a sequence of InputOTPSlot elements. */
|
|
37
37
|
declare function InputOTPGroup({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<'div'>):
|
|
40
|
+
}: React.ComponentProps<'div'>): react299.JSX.Element;
|
|
41
41
|
/**
|
|
42
42
|
* A single character slot in an InputOTP — displays the typed character and a blinking caret when focused.
|
|
43
43
|
*
|
|
@@ -49,11 +49,11 @@ declare function InputOTPSlot({
|
|
|
49
49
|
...props
|
|
50
50
|
}: React.ComponentProps<'div'> & {
|
|
51
51
|
index: number;
|
|
52
|
-
}):
|
|
52
|
+
}): react299.JSX.Element;
|
|
53
53
|
/** Visual separator (dash) placed between InputOTPGroup elements. */
|
|
54
54
|
declare function InputOTPSeparator({
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<'div'>):
|
|
56
|
+
}: React.ComponentProps<'div'>): react299.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|
|
59
59
|
//# sourceMappingURL=input-otp.d.mts.map
|
package/dist/ui/input.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require(`../input-
|
|
1
|
+
"use client";const e=require(`../input-BvzsfAUc.cjs`);exports.Input=e.t,exports.inputVariants=e.n;
|
package/dist/ui/input.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-
|
|
1
|
+
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-CZrWdm_Y.cjs";
|
|
2
2
|
export { Input, InputVariantProps, inputVariants };
|
package/dist/ui/input.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-
|
|
1
|
+
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-DcbOSbQr.mjs";
|
|
2
2
|
export { Input, InputVariantProps, inputVariants };
|
package/dist/ui/input.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{n as e,t}from"../input-
|
|
1
|
+
"use client";import{n as e,t}from"../input-5gk-Jv1y.mjs";export{t as Input,e as inputVariants};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../chunk-Bmb41Sf3.cjs`),t=require(`../../input-
|
|
1
|
+
const e=require(`../../chunk-Bmb41Sf3.cjs`),t=require(`../../input-BvzsfAUc.cjs`);let n=require(`lucide-react`),r=require(`@customafk/react-toolkit/utils`),i=require(`react/jsx-runtime`);const a=({className:e,...a})=>(0,i.jsxs)(`div`,{className:`relative`,children:[(0,i.jsx)(t.t,{...a,type:`search`,className:(0,r.cn)(`ps-9 pe-9`,e)}),(0,i.jsx)(`div`,{className:`pointer-events-none absolute inset-y-0 start-0 flex items-center justify-center ps-3 text-text-positive-weak peer-disabled:opacity-50`,children:(0,i.jsx)(n.SearchIcon,{size:16})}),(0,i.jsx)(`button`,{className:`absolute inset-y-0 end-0 flex h-full w-9 items-center justify-center rounded-e-md text-text-positive-weak outline-none transition-[color,box-shadow] hover:text-text-positive focus:z-10 focus-visible:border focus-visible:border-primary-strong focus-visible:ring-[3px] focus-visible:ring-primary-weak disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50`,"aria-label":`Submit search`,type:`submit`,children:(0,i.jsx)(n.ArrowRightIcon,{size:16,"aria-hidden":`true`})})]});exports.SearchInput=a;
|
|
2
2
|
//# sourceMappingURL=search-input.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Input } from "../../input-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Input } from "../../input-CZrWdm_Y.cjs";
|
|
2
|
+
import * as react58 from "react";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/inputs/search-input.d.ts
|
|
5
5
|
|
|
@@ -23,7 +23,7 @@ type Props = React.ComponentPropsWithoutRef<typeof Input>;
|
|
|
23
23
|
declare const SearchInput: ({
|
|
24
24
|
className,
|
|
25
25
|
...rest
|
|
26
|
-
}: Props) =>
|
|
26
|
+
}: Props) => react58.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { SearchInput };
|
|
29
29
|
//# sourceMappingURL=search-input.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Input } from "../../input-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Input } from "../../input-DcbOSbQr.mjs";
|
|
2
|
+
import * as react36 from "react";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/inputs/search-input.d.ts
|
|
5
5
|
|
|
@@ -23,7 +23,7 @@ type Props = React.ComponentPropsWithoutRef<typeof Input>;
|
|
|
23
23
|
declare const SearchInput: ({
|
|
24
24
|
className,
|
|
25
25
|
...rest
|
|
26
|
-
}: Props) =>
|
|
26
|
+
}: Props) => react36.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { SearchInput };
|
|
29
29
|
//# sourceMappingURL=search-input.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"../../input-
|
|
1
|
+
import{t as e}from"../../input-5gk-Jv1y.mjs";import{ArrowRightIcon as t,SearchIcon as n}from"lucide-react";import{cn as r}from"@customafk/react-toolkit/utils";import{jsx as i,jsxs as a}from"react/jsx-runtime";const o=({className:o,...s})=>a(`div`,{className:`relative`,children:[i(e,{...s,type:`search`,className:r(`ps-9 pe-9`,o)}),i(`div`,{className:`pointer-events-none absolute inset-y-0 start-0 flex items-center justify-center ps-3 text-text-positive-weak peer-disabled:opacity-50`,children:i(n,{size:16})}),i(`button`,{className:`absolute inset-y-0 end-0 flex h-full w-9 items-center justify-center rounded-e-md text-text-positive-weak outline-none transition-[color,box-shadow] hover:text-text-positive focus:z-10 focus-visible:border focus-visible:border-primary-strong focus-visible:ring-[3px] focus-visible:ring-primary-weak disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50`,"aria-label":`Submit search`,type:`submit`,children:i(t,{size:16,"aria-hidden":`true`})})]});export{o as SearchInput};
|
|
2
2
|
//# sourceMappingURL=search-input.mjs.map
|
package/dist/ui/item.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../chunk-Bmb41Sf3.cjs`),t=require(`../dist-CAeolvAH.cjs`),n=require(`../separator-
|
|
1
|
+
const e=require(`../chunk-Bmb41Sf3.cjs`),t=require(`../dist-CAeolvAH.cjs`),n=require(`../separator-CBup_ah1.cjs`);let r=require(`@customafk/react-toolkit/utils`),i=require(`class-variance-authority`),a=require(`react/jsx-runtime`);function o({className:e,...t}){return(0,a.jsx)(`div`,{role:`list`,"data-slot":`item-group`,className:(0,r.cn)(`group/item-group flex flex-col`,e),...t})}function s({className:e,...t}){return(0,a.jsx)(n.t,{"data-slot":`item-separator`,orientation:`horizontal`,className:(0,r.cn)(`my-0`,e),...t})}const c=(0,i.cva)(`group/item flex items-center border border-transparent text-sm rounded-md transition-colors [a]:hover:bg-accent/50 [a]:transition-colors duration-100 flex-wrap outline-none focus-visible:border-primary-strong focus-visible:ring-primary-weak focus-visible:ring-[3px]`,{variants:{variant:{default:`bg-transparent`,outline:`border-border`,muted:`bg-muted-weak`},size:{default:`p-4 gap-4 `,sm:`py-3 px-4 gap-2.5`}},defaultVariants:{variant:`default`,size:`default`}});function l({className:e,variant:n=`default`,size:i=`default`,asChild:o=!1,...s}){return(0,a.jsx)(o?t.t:`div`,{"data-slot":`item`,"data-variant":n,"data-size":i,className:(0,r.cn)(c({variant:n,size:i,className:e})),...s})}const u=(0,i.cva)(`flex shrink-0 items-center justify-center gap-2 group-has-[[data-slot=item-description]]/item:self-start [&_svg]:pointer-events-none group-has-[[data-slot=item-description]]/item:translate-y-0.5`,{variants:{variant:{default:`bg-transparent`,icon:`size-8 border rounded-sm bg-muted [&_svg:not([class*='size-'])]:size-4`,image:`size-10 rounded-sm overflow-hidden [&_img]:size-full [&_img]:object-cover`}},defaultVariants:{variant:`default`}});function d({className:e,variant:t=`default`,...n}){return(0,a.jsx)(`div`,{"data-slot":`item-media`,"data-variant":t,className:(0,r.cn)(u({variant:t,className:e})),...n})}function f({className:e,...t}){return(0,a.jsx)(`div`,{"data-slot":`item-content`,className:(0,r.cn)(`flex flex-1 flex-col gap-1 [&+[data-slot=item-content]]:flex-none`,e),...t})}function p({className:e,...t}){return(0,a.jsx)(`div`,{"data-slot":`item-title`,className:(0,r.cn)(`flex w-fit items-center gap-2 text-sm leading-snug font-medium`,e),...t})}function m({className:e,...t}){return(0,a.jsx)(`p`,{"data-slot":`item-description`,className:(0,r.cn)(`text-muted-foreground line-clamp-2 text-sm leading-normal font-normal text-balance`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...t})}function h({className:e,...t}){return(0,a.jsx)(`div`,{"data-slot":`item-actions`,className:(0,r.cn)(`flex items-center gap-2`,e),...t})}function g({className:e,...t}){return(0,a.jsx)(`div`,{"data-slot":`item-header`,className:(0,r.cn)(`flex basis-full items-center justify-between gap-2`,e),...t})}function _({className:e,...t}){return(0,a.jsx)(`div`,{"data-slot":`item-footer`,className:(0,r.cn)(`flex basis-full items-center justify-between gap-2`,e),...t})}exports.Item=l,exports.ItemActions=h,exports.ItemContent=f,exports.ItemDescription=m,exports.ItemFooter=_,exports.ItemGroup=o,exports.ItemHeader=g,exports.ItemMedia=d,exports.ItemSeparator=s,exports.ItemTitle=p;
|
|
2
2
|
//# sourceMappingURL=item.cjs.map
|
package/dist/ui/item.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Separator } from "./separator.cjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react145 from "react";
|
|
3
|
+
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/item.d.ts
|
|
@@ -28,16 +28,16 @@ import { VariantProps } from "class-variance-authority";
|
|
|
28
28
|
declare function ItemGroup({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<'div'>):
|
|
31
|
+
}: React.ComponentProps<'div'>): react145.JSX.Element;
|
|
32
32
|
/** Horizontal separator rendered between items in an ItemGroup. */
|
|
33
33
|
declare function ItemSeparator({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<typeof Separator>):
|
|
36
|
+
}: React.ComponentProps<typeof Separator>): react145.JSX.Element;
|
|
37
37
|
declare const itemVariants: (props?: ({
|
|
38
|
-
variant?: "
|
|
38
|
+
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
39
39
|
size?: "sm" | "default" | null | undefined;
|
|
40
|
-
} &
|
|
40
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
41
41
|
/**
|
|
42
42
|
* The primary row container inside an ItemGroup.
|
|
43
43
|
*
|
|
@@ -53,10 +53,10 @@ declare function Item({
|
|
|
53
53
|
...props
|
|
54
54
|
}: React.ComponentProps<'div'> & VariantProps<typeof itemVariants> & {
|
|
55
55
|
asChild?: boolean;
|
|
56
|
-
}):
|
|
56
|
+
}): react145.JSX.Element;
|
|
57
57
|
declare const itemMediaVariants: (props?: ({
|
|
58
|
-
variant?: "
|
|
59
|
-
} &
|
|
58
|
+
variant?: "default" | "image" | "icon" | null | undefined;
|
|
59
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
60
60
|
/**
|
|
61
61
|
* Left-aligned slot for an avatar, icon, or image within an Item.
|
|
62
62
|
*
|
|
@@ -66,37 +66,37 @@ declare function ItemMedia({
|
|
|
66
66
|
className,
|
|
67
67
|
variant,
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof itemMediaVariants>):
|
|
69
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof itemMediaVariants>): react145.JSX.Element;
|
|
70
70
|
/** Flex-1 column that holds the ItemTitle and ItemDescription. */
|
|
71
71
|
declare function ItemContent({
|
|
72
72
|
className,
|
|
73
73
|
...props
|
|
74
|
-
}: React.ComponentProps<'div'>):
|
|
74
|
+
}: React.ComponentProps<'div'>): react145.JSX.Element;
|
|
75
75
|
/** Primary label text rendered in medium weight inside an ItemContent. */
|
|
76
76
|
declare function ItemTitle({
|
|
77
77
|
className,
|
|
78
78
|
...props
|
|
79
|
-
}: React.ComponentProps<'div'>):
|
|
79
|
+
}: React.ComponentProps<'div'>): react145.JSX.Element;
|
|
80
80
|
/** Secondary, muted body text clamped to two lines inside an ItemContent. */
|
|
81
81
|
declare function ItemDescription({
|
|
82
82
|
className,
|
|
83
83
|
...props
|
|
84
|
-
}: React.ComponentProps<'p'>):
|
|
84
|
+
}: React.ComponentProps<'p'>): react145.JSX.Element;
|
|
85
85
|
/** Right-aligned slot for buttons or other interactive controls within an Item. */
|
|
86
86
|
declare function ItemActions({
|
|
87
87
|
className,
|
|
88
88
|
...props
|
|
89
|
-
}: React.ComponentProps<'div'>):
|
|
89
|
+
}: React.ComponentProps<'div'>): react145.JSX.Element;
|
|
90
90
|
/** Full-width row at the top of an Item for header-level labels or metadata. */
|
|
91
91
|
declare function ItemHeader({
|
|
92
92
|
className,
|
|
93
93
|
...props
|
|
94
|
-
}: React.ComponentProps<'div'>):
|
|
94
|
+
}: React.ComponentProps<'div'>): react145.JSX.Element;
|
|
95
95
|
/** Full-width row at the bottom of an Item for footer-level content or secondary actions. */
|
|
96
96
|
declare function ItemFooter({
|
|
97
97
|
className,
|
|
98
98
|
...props
|
|
99
|
-
}: React.ComponentProps<'div'>):
|
|
99
|
+
}: React.ComponentProps<'div'>): react145.JSX.Element;
|
|
100
100
|
//#endregion
|
|
101
101
|
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle };
|
|
102
102
|
//# sourceMappingURL=item.d.cts.map
|
package/dist/ui/item.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Separator } from "./separator.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react191 from "react";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/item.d.ts
|
|
7
7
|
|
|
@@ -28,16 +28,16 @@ import * as class_variance_authority_types5 from "class-variance-authority/types
|
|
|
28
28
|
declare function ItemGroup({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<'div'>):
|
|
31
|
+
}: React.ComponentProps<'div'>): react191.JSX.Element;
|
|
32
32
|
/** Horizontal separator rendered between items in an ItemGroup. */
|
|
33
33
|
declare function ItemSeparator({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<typeof Separator>):
|
|
36
|
+
}: React.ComponentProps<typeof Separator>): react191.JSX.Element;
|
|
37
37
|
declare const itemVariants: (props?: ({
|
|
38
|
-
variant?: "
|
|
38
|
+
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
39
39
|
size?: "sm" | "default" | null | undefined;
|
|
40
|
-
} &
|
|
40
|
+
} & class_variance_authority_types8.ClassProp) | undefined) => string;
|
|
41
41
|
/**
|
|
42
42
|
* The primary row container inside an ItemGroup.
|
|
43
43
|
*
|
|
@@ -53,10 +53,10 @@ declare function Item({
|
|
|
53
53
|
...props
|
|
54
54
|
}: React.ComponentProps<'div'> & VariantProps<typeof itemVariants> & {
|
|
55
55
|
asChild?: boolean;
|
|
56
|
-
}):
|
|
56
|
+
}): react191.JSX.Element;
|
|
57
57
|
declare const itemMediaVariants: (props?: ({
|
|
58
|
-
variant?: "
|
|
59
|
-
} &
|
|
58
|
+
variant?: "default" | "image" | "icon" | null | undefined;
|
|
59
|
+
} & class_variance_authority_types8.ClassProp) | undefined) => string;
|
|
60
60
|
/**
|
|
61
61
|
* Left-aligned slot for an avatar, icon, or image within an Item.
|
|
62
62
|
*
|
|
@@ -66,37 +66,37 @@ declare function ItemMedia({
|
|
|
66
66
|
className,
|
|
67
67
|
variant,
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof itemMediaVariants>):
|
|
69
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof itemMediaVariants>): react191.JSX.Element;
|
|
70
70
|
/** Flex-1 column that holds the ItemTitle and ItemDescription. */
|
|
71
71
|
declare function ItemContent({
|
|
72
72
|
className,
|
|
73
73
|
...props
|
|
74
|
-
}: React.ComponentProps<'div'>):
|
|
74
|
+
}: React.ComponentProps<'div'>): react191.JSX.Element;
|
|
75
75
|
/** Primary label text rendered in medium weight inside an ItemContent. */
|
|
76
76
|
declare function ItemTitle({
|
|
77
77
|
className,
|
|
78
78
|
...props
|
|
79
|
-
}: React.ComponentProps<'div'>):
|
|
79
|
+
}: React.ComponentProps<'div'>): react191.JSX.Element;
|
|
80
80
|
/** Secondary, muted body text clamped to two lines inside an ItemContent. */
|
|
81
81
|
declare function ItemDescription({
|
|
82
82
|
className,
|
|
83
83
|
...props
|
|
84
|
-
}: React.ComponentProps<'p'>):
|
|
84
|
+
}: React.ComponentProps<'p'>): react191.JSX.Element;
|
|
85
85
|
/** Right-aligned slot for buttons or other interactive controls within an Item. */
|
|
86
86
|
declare function ItemActions({
|
|
87
87
|
className,
|
|
88
88
|
...props
|
|
89
|
-
}: React.ComponentProps<'div'>):
|
|
89
|
+
}: React.ComponentProps<'div'>): react191.JSX.Element;
|
|
90
90
|
/** Full-width row at the top of an Item for header-level labels or metadata. */
|
|
91
91
|
declare function ItemHeader({
|
|
92
92
|
className,
|
|
93
93
|
...props
|
|
94
|
-
}: React.ComponentProps<'div'>):
|
|
94
|
+
}: React.ComponentProps<'div'>): react191.JSX.Element;
|
|
95
95
|
/** Full-width row at the bottom of an Item for footer-level content or secondary actions. */
|
|
96
96
|
declare function ItemFooter({
|
|
97
97
|
className,
|
|
98
98
|
...props
|
|
99
|
-
}: React.ComponentProps<'div'>):
|
|
99
|
+
}: React.ComponentProps<'div'>): react191.JSX.Element;
|
|
100
100
|
//#endregion
|
|
101
101
|
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle };
|
|
102
102
|
//# sourceMappingURL=item.d.mts.map
|
package/dist/ui/item.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"../dist-
|
|
1
|
+
import{t as e}from"../dist-BQGL-YKY.mjs";import{t}from"../separator-C6s-YvlT.mjs";import{cn as n}from"@customafk/react-toolkit/utils";import{cva as r}from"class-variance-authority";import{jsx as i}from"react/jsx-runtime";function a({className:e,...t}){return i(`div`,{role:`list`,"data-slot":`item-group`,className:n(`group/item-group flex flex-col`,e),...t})}function o({className:e,...r}){return i(t,{"data-slot":`item-separator`,orientation:`horizontal`,className:n(`my-0`,e),...r})}const s=r(`group/item flex items-center border border-transparent text-sm rounded-md transition-colors [a]:hover:bg-accent/50 [a]:transition-colors duration-100 flex-wrap outline-none focus-visible:border-primary-strong focus-visible:ring-primary-weak focus-visible:ring-[3px]`,{variants:{variant:{default:`bg-transparent`,outline:`border-border`,muted:`bg-muted-weak`},size:{default:`p-4 gap-4 `,sm:`py-3 px-4 gap-2.5`}},defaultVariants:{variant:`default`,size:`default`}});function c({className:t,variant:r=`default`,size:a=`default`,asChild:o=!1,...c}){return i(o?e:`div`,{"data-slot":`item`,"data-variant":r,"data-size":a,className:n(s({variant:r,size:a,className:t})),...c})}const l=r(`flex shrink-0 items-center justify-center gap-2 group-has-[[data-slot=item-description]]/item:self-start [&_svg]:pointer-events-none group-has-[[data-slot=item-description]]/item:translate-y-0.5`,{variants:{variant:{default:`bg-transparent`,icon:`size-8 border rounded-sm bg-muted [&_svg:not([class*='size-'])]:size-4`,image:`size-10 rounded-sm overflow-hidden [&_img]:size-full [&_img]:object-cover`}},defaultVariants:{variant:`default`}});function u({className:e,variant:t=`default`,...r}){return i(`div`,{"data-slot":`item-media`,"data-variant":t,className:n(l({variant:t,className:e})),...r})}function d({className:e,...t}){return i(`div`,{"data-slot":`item-content`,className:n(`flex flex-1 flex-col gap-1 [&+[data-slot=item-content]]:flex-none`,e),...t})}function f({className:e,...t}){return i(`div`,{"data-slot":`item-title`,className:n(`flex w-fit items-center gap-2 text-sm leading-snug font-medium`,e),...t})}function p({className:e,...t}){return i(`p`,{"data-slot":`item-description`,className:n(`text-muted-foreground line-clamp-2 text-sm leading-normal font-normal text-balance`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...t})}function m({className:e,...t}){return i(`div`,{"data-slot":`item-actions`,className:n(`flex items-center gap-2`,e),...t})}function h({className:e,...t}){return i(`div`,{"data-slot":`item-header`,className:n(`flex basis-full items-center justify-between gap-2`,e),...t})}function g({className:e,...t}){return i(`div`,{"data-slot":`item-footer`,className:n(`flex basis-full items-center justify-between gap-2`,e),...t})}export{c as Item,m as ItemActions,d as ItemContent,p as ItemDescription,g as ItemFooter,a as ItemGroup,h as ItemHeader,u as ItemMedia,o as ItemSeparator,f as ItemTitle};
|
|
2
2
|
//# sourceMappingURL=item.mjs.map
|
package/dist/ui/label.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require(`../label-
|
|
1
|
+
"use client";const e=require(`../label-eIyGIRyw.cjs`);exports.Label=e.t;
|
package/dist/ui/label.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react97 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>): react97.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Label };
|
|
24
24
|
//# sourceMappingURL=label.d.cts.map
|