@customafk/lunas-ui 0.2.25 → 0.2.27
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-B7TDxb35.cjs → alert-6_f_JgU-.cjs} +2 -2
- package/dist/{alert-B7TDxb35.cjs.map → alert-6_f_JgU-.cjs.map} +1 -1
- package/dist/{alert-C-Y4ZWNd.mjs → alert-BSAtkBnX.mjs} +2 -2
- package/dist/{alert-C-Y4ZWNd.mjs.map → alert-BSAtkBnX.mjs.map} +1 -1
- package/dist/{alert-CMZEZjzm.d.cts → alert-Bbooe3K0.d.cts} +8 -8
- package/dist/{alert-BETfoslt.d.mts → alert-Ck2z0ECv.d.mts} +6 -6
- package/dist/avatar-CK1R4r0j.mjs +2 -0
- package/dist/{avatar-SJmvlfqm.mjs.map → avatar-CK1R4r0j.mjs.map} +1 -1
- package/dist/avatar-aVxo69zP.cjs +2 -0
- package/dist/{avatar-CTS9-raY.cjs.map → avatar-aVxo69zP.cjs.map} +1 -1
- package/dist/{badge-9z9Eg_bC.d.cts → badge-BUDQIgSz.d.mts} +7 -7
- package/dist/{badge-uQ0pIZbQ.cjs → badge-DMnKV_uW.cjs} +2 -2
- package/dist/{badge-uQ0pIZbQ.cjs.map → badge-DMnKV_uW.cjs.map} +1 -1
- package/dist/{badge-BTtXqVuq.d.mts → badge-Dxa365-r.d.cts} +7 -7
- package/dist/{badge-DSwkF4C4.mjs → badge-utjRo-lW.mjs} +2 -2
- package/dist/{badge-DSwkF4C4.mjs.map → badge-utjRo-lW.mjs.map} +1 -1
- package/dist/button-BqxBQ4Kr.mjs +2 -0
- package/dist/{button-Bc8L9sFb.mjs.map → button-BqxBQ4Kr.mjs.map} +1 -1
- package/dist/button-Bu4ejNOW.cjs +2 -0
- package/dist/{button-CwDT3m4m.cjs.map → button-Bu4ejNOW.cjs.map} +1 -1
- package/dist/{button-y6EPgwvZ.d.cts → button-C7IuBgb_.d.cts} +7 -7
- package/dist/{button-DGSNru3Z.d.mts → button-u7M3BQF5.d.mts} +5 -5
- package/dist/{calendar-C2psGpju.mjs → calendar-CHVujBHK.mjs} +2 -2
- package/dist/{calendar-C2psGpju.mjs.map → calendar-CHVujBHK.mjs.map} +1 -1
- package/dist/{calendar-BMXIBCsr.cjs → calendar-ChaYPTJO.cjs} +2 -2
- package/dist/{calendar-BMXIBCsr.cjs.map → calendar-ChaYPTJO.cjs.map} +1 -1
- package/dist/cards/grid-product-card.cjs +1 -1
- package/dist/cards/grid-product-card.mjs +1 -1
- package/dist/cards/product-card.cjs +1 -1
- package/dist/cards/product-card.mjs +1 -1
- package/dist/cards/simple-card.cjs +1 -1
- package/dist/cards/simple-card.d.cts +2 -2
- package/dist/cards/simple-card.d.mts +2 -2
- package/dist/cards/simple-card.mjs +1 -1
- package/dist/{checkbox-Di7ACavC.cjs → checkbox-BQ_TclX9.cjs} +2 -2
- package/dist/{checkbox-Di7ACavC.cjs.map → checkbox-BQ_TclX9.cjs.map} +1 -1
- package/dist/{checkbox-Bwy_4QS_.mjs → checkbox-CJsl9OjF.mjs} +2 -2
- package/dist/{checkbox-Bwy_4QS_.mjs.map → checkbox-CJsl9OjF.mjs.map} +1 -1
- package/dist/close-BMhGSmGs.mjs +2 -0
- package/dist/{close-BS6EeCrQ.mjs.map → close-BMhGSmGs.mjs.map} +1 -1
- package/dist/{close-DXk_H3Gt.cjs → close-DUBEKxhw.cjs} +2 -2
- package/dist/{close-DXk_H3Gt.cjs.map → close-DUBEKxhw.cjs.map} +1 -1
- package/dist/{cms-layout-DCODI3eE.mjs → cms-layout--NUD8VVh.mjs} +2 -2
- package/dist/{cms-layout-DCODI3eE.mjs.map → cms-layout--NUD8VVh.mjs.map} +1 -1
- package/dist/{cms-layout-mgZdCNOL.cjs → cms-layout-COfACv3M.cjs} +2 -2
- package/dist/{cms-layout-mgZdCNOL.cjs.map → cms-layout-COfACv3M.cjs.map} +1 -1
- package/dist/{command-B5DpL6OG.mjs → command-Bvauothg.mjs} +2 -2
- package/dist/{command-B5DpL6OG.mjs.map → command-Bvauothg.mjs.map} +1 -1
- package/dist/{command-SHd-d_o0.cjs → command-CTdjZi1F.cjs} +2 -2
- package/dist/{command-SHd-d_o0.cjs.map → command-CTdjZi1F.cjs.map} +1 -1
- package/dist/data-display/country.cjs +1 -1
- package/dist/data-display/country.mjs +1 -1
- package/dist/data-display/data-list.cjs +1 -1
- package/dist/data-display/data-list.mjs +1 -1
- package/dist/data-display/date-tooltip.cjs +1 -1
- package/dist/data-display/date-tooltip.mjs +1 -1
- package/dist/data-display/date.cjs +1 -1
- package/dist/data-display/date.mjs +1 -1
- package/dist/data-display/empty.cjs +1 -1
- package/dist/data-display/empty.mjs +1 -1
- package/dist/data-display/name.cjs +1 -1
- package/dist/data-display/name.mjs +1 -1
- package/dist/data-display/phone-number.cjs +1 -1
- package/dist/data-display/phone-number.mjs +1 -1
- package/dist/data-display/role-badge.cjs +1 -1
- package/dist/data-display/role-badge.mjs +1 -1
- package/dist/data-display/statistic.cjs +1 -1
- package/dist/data-display/statistic.d.cts +2 -3
- package/dist/data-display/statistic.d.mts +1 -2
- package/dist/data-display/statistic.mjs +1 -1
- package/dist/data-display/user.cjs +1 -1
- package/dist/data-display/user.mjs +1 -1
- package/dist/{date-D_nB7Lh1.mjs → date-BQ0c19uk.mjs} +2 -2
- package/dist/{date-D_nB7Lh1.mjs.map → date-BQ0c19uk.mjs.map} +1 -1
- package/dist/{date-a3RI5Pwo.cjs → date-DtajzNoy.cjs} +2 -2
- package/dist/{date-a3RI5Pwo.cjs.map → date-DtajzNoy.cjs.map} +1 -1
- package/dist/{dialog-Z2IoE4ra.d.mts → dialog-CvPMWn6Y.d.mts} +12 -12
- package/dist/{dialog-DPEdvGiI.d.cts → dialog-DE7tIKD6.d.cts} +12 -12
- package/dist/{dialog-o_68LQXd.cjs → dialog-DEnyBH2X.cjs} +2 -2
- package/dist/{dialog-o_68LQXd.cjs.map → dialog-DEnyBH2X.cjs.map} +1 -1
- package/dist/dialog-jqiIqxlm.mjs +2 -0
- package/dist/{dialog-DG4vMCr5.mjs.map → dialog-jqiIqxlm.mjs.map} +1 -1
- package/dist/dialogs/confirm-dialog.cjs +1 -1
- 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 +27 -27
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +27 -27
- 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.cjs +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-CAeolvAH.cjs +2 -0
- package/dist/dist-CAeolvAH.cjs.map +1 -0
- package/dist/dist-DdGJ50nX.mjs +2 -0
- package/dist/dist-DdGJ50nX.mjs.map +1 -0
- package/dist/{dropdown-menu-BlsIwe4B.mjs → dropdown-menu-B_uBxY94.mjs} +2 -2
- package/dist/{dropdown-menu-BlsIwe4B.mjs.map → dropdown-menu-B_uBxY94.mjs.map} +1 -1
- package/dist/{dropdown-menu-Ct9BLGfa.cjs → dropdown-menu-DMwvWoxe.cjs} +2 -2
- package/dist/{dropdown-menu-Ct9BLGfa.cjs.map → dropdown-menu-DMwvWoxe.cjs.map} +1 -1
- package/dist/features/descriptions/index.cjs +1 -1
- package/dist/features/descriptions/index.d.cts +4 -5
- package/dist/features/descriptions/index.d.mts +6 -7
- package/dist/features/descriptions/index.mjs +1 -1
- package/dist/features/search-modal/index.cjs +1 -1
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/search-modal/index.d.mts +2 -2
- package/dist/features/search-modal/index.mjs +1 -1
- package/dist/features/tables/index.cjs +1 -1
- package/dist/features/tables/index.d.cts +1 -1
- package/dist/features/tables/index.d.mts +2 -2
- 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-Mn2bf2Ns.mjs → field-Bh7Hq4Lo.mjs} +2 -2
- package/dist/{field-Mn2bf2Ns.mjs.map → field-Bh7Hq4Lo.mjs.map} +1 -1
- package/dist/{field-enVJXFvC.cjs → field-DTGEedKl.cjs} +2 -2
- package/dist/{field-enVJXFvC.cjs.map → field-DTGEedKl.cjs.map} +1 -1
- package/dist/{flex-Br7F9Fln.mjs → flex-Bl5yzx6g.mjs} +2 -2
- package/dist/{flex-Br7F9Fln.mjs.map → flex-Bl5yzx6g.mjs.map} +1 -1
- package/dist/{flex-BbbogTsZ.cjs → flex-DYh2t8ft.cjs} +2 -2
- package/dist/{flex-BbbogTsZ.cjs.map → flex-DYh2t8ft.cjs.map} +1 -1
- package/dist/{heading-BnaNuvDS.mjs → heading-B1t9baTw.mjs} +2 -2
- package/dist/{heading-BnaNuvDS.mjs.map → heading-B1t9baTw.mjs.map} +1 -1
- package/dist/{heading-AKz5ewy-.cjs → heading-wUXEbicM.cjs} +2 -2
- package/dist/{heading-AKz5ewy-.cjs.map → heading-wUXEbicM.cjs.map} +1 -1
- package/dist/image-C4gMBmyV.mjs +2 -0
- package/dist/{image-C-CdKKP1.mjs.map → image-C4gMBmyV.mjs.map} +1 -1
- package/dist/image-Y7gCz7uE.cjs +2 -0
- package/dist/{image-B1Dm5LWk.cjs.map → image-Y7gCz7uE.cjs.map} +1 -1
- package/dist/{index-GMITpWH3.d.mts → index-C3dXDjdR.d.mts} +4 -4
- package/dist/{index-Che417mo.d.cts → index-CyBWPhx7.d.cts} +27 -28
- package/dist/{index-DQA0fwM5.d.cts → index-DPnJrJS9.d.mts} +676 -305
- package/dist/{index-C81U0XWP.d.cts → index-DpdXz-q5.d.cts} +4 -4
- package/dist/{index-qRmNM-0U.d.mts → index-UfOfYRNf.d.cts} +677 -306
- package/dist/{index-vsBzzlFs.d.mts → index-rE1M5FGs.d.mts} +27 -28
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.mts +8 -8
- package/dist/index.mjs +1 -1
- package/dist/{input-BMOYFJYM.cjs → input-1ceJxxFI.cjs} +2 -2
- package/dist/{input-BMOYFJYM.cjs.map → input-1ceJxxFI.cjs.map} +1 -1
- package/dist/{input-CjubfyGk.d.cts → input-B9XN8dsE.d.cts} +6 -6
- package/dist/{input-DLRypEj3.mjs → input-CKFQdvqY.mjs} +2 -2
- package/dist/{input-DLRypEj3.mjs.map → input-CKFQdvqY.mjs.map} +1 -1
- package/dist/{input-DEChxakv.d.mts → input-ZL65yvYU.d.mts} +4 -4
- package/dist/{label-DYsRdKMt.cjs → label-BHbqbBtO.cjs} +2 -2
- package/dist/{label-DYsRdKMt.cjs.map → label-BHbqbBtO.cjs.map} +1 -1
- package/dist/label-CE2m0U_j.mjs +2 -0
- package/dist/{label-BukQnBn7.mjs.map → label-CE2m0U_j.mjs.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.cjs +1 -1
- package/dist/layouts/flex.d.cts +5 -6
- package/dist/layouts/flex.d.mts +5 -6
- package/dist/layouts/flex.mjs +1 -1
- package/dist/layouts/grid.cjs +1 -1
- package/dist/layouts/grid.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.cjs +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.cjs +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.cjs +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.cjs +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-DN85Huc4.cjs → paragraph-D-JHj7EP.cjs} +2 -2
- package/dist/{paragraph-DN85Huc4.cjs.map → paragraph-D-JHj7EP.cjs.map} +1 -1
- package/dist/{paragraph-CnHNC0rS.mjs → paragraph-J_QbLq9_.mjs} +2 -2
- package/dist/{paragraph-CnHNC0rS.mjs.map → paragraph-J_QbLq9_.mjs.map} +1 -1
- package/dist/{payment-layout-DquWXt_w.cjs → payment-layout-8rRJJa0f.cjs} +2 -2
- package/dist/{payment-layout-DquWXt_w.cjs.map → payment-layout-8rRJJa0f.cjs.map} +1 -1
- package/dist/{payment-layout-YLfa3T79.mjs → payment-layout-BdGZbGO-.mjs} +2 -2
- package/dist/{payment-layout-YLfa3T79.mjs.map → payment-layout-BdGZbGO-.mjs.map} +1 -1
- package/dist/popover-BCzVvfnV.mjs +2 -0
- package/dist/{popover-DvGJ23lJ.mjs.map → popover-BCzVvfnV.mjs.map} +1 -1
- package/dist/{popover-AEt-aSy3.cjs → popover-Bnrgg4do.cjs} +2 -2
- package/dist/{popover-AEt-aSy3.cjs.map → popover-Bnrgg4do.cjs.map} +1 -1
- package/dist/progress-BXWPPNt5.cjs +2 -0
- package/dist/{progress-DE1FdQ1J.cjs.map → progress-BXWPPNt5.cjs.map} +1 -1
- package/dist/progress-BcEEbgJJ.mjs +2 -0
- package/dist/{progress-2G9rCupJ.mjs.map → progress-BcEEbgJJ.mjs.map} +1 -1
- package/dist/radio-group-CsmpBZTK.mjs +2 -0
- package/dist/{radio-group-fN6o0QBx.mjs.map → radio-group-CsmpBZTK.mjs.map} +1 -1
- package/dist/{radio-group-C7FAAawm.cjs → radio-group-KMvVXCIk.cjs} +2 -2
- package/dist/{radio-group-C7FAAawm.cjs.map → radio-group-KMvVXCIk.cjs.map} +1 -1
- package/dist/{resizable-DDPMwd28.cjs → resizable-C7uLlTGB.cjs} +2 -2
- package/dist/{resizable-DDPMwd28.cjs.map → resizable-C7uLlTGB.cjs.map} +1 -1
- package/dist/{resizable-BxsL978e.mjs → resizable-em2svgMz.mjs} +2 -2
- package/dist/{resizable-BxsL978e.mjs.map → resizable-em2svgMz.mjs.map} +1 -1
- package/dist/{search-modal-DZI6O6ua.mjs → search-modal-DyOsqK-4.mjs} +2 -2
- package/dist/{search-modal-DZI6O6ua.mjs.map → search-modal-DyOsqK-4.mjs.map} +1 -1
- package/dist/{search-modal-C-jNqQI1.cjs → search-modal-zmavzZRx.cjs} +2 -2
- package/dist/{search-modal-C-jNqQI1.cjs.map → search-modal-zmavzZRx.cjs.map} +1 -1
- package/dist/{select-Ze8Fq88G.mjs → select-C2Ro2wmj.mjs} +2 -2
- package/dist/{select-Ze8Fq88G.mjs.map → select-C2Ro2wmj.mjs.map} +1 -1
- package/dist/{select-DzylYFes.cjs → select-DHiTqZeX.cjs} +2 -2
- package/dist/{select-DzylYFes.cjs.map → select-DHiTqZeX.cjs.map} +1 -1
- package/dist/{separator-BwZb12bh.cjs → separator-jytY1CPq.cjs} +2 -2
- package/dist/{separator-BwZb12bh.cjs.map → separator-jytY1CPq.cjs.map} +1 -1
- package/dist/separator-yTKDuMWb.mjs +2 -0
- package/dist/{separator-DXnFHf3v.mjs.map → separator-yTKDuMWb.mjs.map} +1 -1
- package/dist/sheet-DDBCHwn6.mjs +2 -0
- package/dist/{sheet-GUUifKAd.mjs.map → sheet-DDBCHwn6.mjs.map} +1 -1
- package/dist/{sheet-CaDXTx7n.cjs → sheet-DuMrjidC.cjs} +2 -2
- package/dist/{sheet-CaDXTx7n.cjs.map → sheet-DuMrjidC.cjs.map} +1 -1
- package/dist/{sidebar-CcJCnqLb.cjs → sidebar-BXrGXVxx.cjs} +2 -2
- package/dist/{sidebar-CcJCnqLb.cjs.map → sidebar-BXrGXVxx.cjs.map} +1 -1
- package/dist/{sidebar-C_jArO1q.mjs → sidebar-De1RZMAG.mjs} +2 -2
- package/dist/{sidebar-C_jArO1q.mjs.map → sidebar-De1RZMAG.mjs.map} +1 -1
- package/dist/skeleton-CHympz8k.cjs +2 -0
- package/dist/{skeleton-BfMCjXYM.cjs.map → skeleton-CHympz8k.cjs.map} +1 -1
- package/dist/skeleton-Czl96pWA.mjs +2 -0
- package/dist/{skeleton-BLwzHejl.mjs.map → skeleton-Czl96pWA.mjs.map} +1 -1
- package/dist/spinner-CWUvnJQw.mjs +2 -0
- package/dist/{spinner-BaZ19Lla.mjs.map → spinner-CWUvnJQw.mjs.map} +1 -1
- package/dist/spinner-DgusnQMw.cjs +2 -0
- package/dist/{spinner-rA8pMY6v.cjs.map → spinner-DgusnQMw.cjs.map} +1 -1
- package/dist/{tables-EnSyNV7J.mjs → tables-BQ-QiA1V.mjs} +3 -3
- package/dist/{tables-EnSyNV7J.mjs.map → tables-BQ-QiA1V.mjs.map} +1 -1
- package/dist/{tables-CI2AZcbt.cjs → tables-LRWPOv2a.cjs} +3 -3
- package/dist/{tables-CI2AZcbt.cjs.map → tables-LRWPOv2a.cjs.map} +1 -1
- package/dist/tanstack-form--I4H53bf.cjs +2 -0
- package/dist/tanstack-form--I4H53bf.cjs.map +1 -0
- package/dist/tanstack-form-DKIudGKP.mjs +2 -0
- package/dist/tanstack-form-DKIudGKP.mjs.map +1 -0
- package/dist/text-editor-D182J9Y5.mjs +2 -0
- package/dist/{text-editor-ae2UTKW8.mjs.map → text-editor-D182J9Y5.mjs.map} +1 -1
- package/dist/text-editor-Dy3_hyNw.cjs +2 -0
- package/dist/{text-editor-BHmVZnEK.cjs.map → text-editor-Dy3_hyNw.cjs.map} +1 -1
- package/dist/{textarea-CEtUNLwy.mjs → textarea-Cvdq7UAn.mjs} +2 -2
- package/dist/{textarea-CEtUNLwy.mjs.map → textarea-Cvdq7UAn.mjs.map} +1 -1
- package/dist/{textarea-DZ86A_cm.cjs → textarea-SPXNe-iZ.cjs} +2 -2
- package/dist/{textarea-DZ86A_cm.cjs.map → textarea-SPXNe-iZ.cjs.map} +1 -1
- package/dist/tooltip-BMdzWaaH.mjs +2 -0
- package/dist/{tooltip-Cy0HbyAx.mjs.map → tooltip-BMdzWaaH.mjs.map} +1 -1
- package/dist/{tooltip-itUmYz9k.cjs → tooltip-DC6i1A25.cjs} +2 -2
- package/dist/{tooltip-itUmYz9k.cjs.map → tooltip-DC6i1A25.cjs.map} +1 -1
- package/dist/typography/paragraph.cjs +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/typography/title.cjs +1 -1
- package/dist/typography/title.d.cts +2 -3
- package/dist/typography/title.d.mts +2 -3
- package/dist/typography/title.mjs +1 -1
- package/dist/ui/alert-dialog.cjs +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.cjs +1 -1
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.mts +2 -2
- package/dist/ui/aspect-ratio.mjs +1 -1
- 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.cjs +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.cjs +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 +6 -6
- package/dist/ui/button-group.d.mts +6 -6
- package/dist/ui/button-group.mjs +1 -1
- package/dist/ui/button.cjs +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/button.mjs +1 -1
- package/dist/ui/buttons/add-new.cjs +1 -1
- package/dist/ui/buttons/add-new.mjs +1 -1
- package/dist/ui/buttons/edit.cjs +1 -1
- package/dist/ui/buttons/edit.mjs +1 -1
- package/dist/ui/buttons/refresh.cjs +1 -1
- package/dist/ui/buttons/refresh.mjs +1 -1
- package/dist/ui/buttons/trash.cjs +1 -1
- package/dist/ui/buttons/trash.mjs +1 -1
- package/dist/ui/buttons/upload-image.cjs +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.cjs +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +8 -8
- package/dist/ui/card.mjs +1 -1
- package/dist/ui/carousel.cjs +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.cjs +1 -1
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +16 -16
- package/dist/ui/context-menu.mjs +1 -1
- 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.cjs +1 -1
- package/dist/ui/empty.d.cts +9 -9
- package/dist/ui/empty.d.mts +9 -9
- package/dist/ui/empty.mjs +1 -1
- package/dist/ui/field.cjs +1 -1
- package/dist/ui/field.d.cts +23 -24
- package/dist/ui/field.d.mts +23 -24
- package/dist/ui/field.mjs +1 -1
- package/dist/ui/file-uploader.cjs +2 -2
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/file-uploader.mjs +2 -2
- package/dist/ui/form.cjs +1 -1
- package/dist/ui/form.d.cts +30 -12
- package/dist/ui/form.d.mts +30 -12
- package/dist/ui/form.mjs +1 -1
- package/dist/ui/hover-card.cjs +1 -1
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.mts +4 -4
- package/dist/ui/hover-card.mjs +1 -1
- package/dist/ui/image.cjs +1 -1
- package/dist/ui/image.mjs +1 -1
- package/dist/ui/input-otp.cjs +1 -1
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.mts +5 -5
- package/dist/ui/input-otp.mjs +1 -1
- 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 +13 -13
- 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.cjs +1 -1
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +17 -17
- package/dist/ui/menubar.mjs +1 -1
- 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.cjs +1 -1
- package/dist/ui/navigation-menu.d.cts +11 -11
- package/dist/ui/navigation-menu.d.mts +9 -9
- package/dist/ui/navigation-menu.mjs +1 -1
- package/dist/ui/pagination.cjs +1 -1
- 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.cjs +1 -1
- package/dist/ui/scroll-area.d.cts +5 -6
- package/dist/ui/scroll-area.d.mts +5 -6
- package/dist/ui/scroll-area.mjs +1 -1
- 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/sidebar.cjs +1 -1
- package/dist/ui/sidebar.d.cts +27 -27
- package/dist/ui/sidebar.d.mts +29 -29
- package/dist/ui/sidebar.mjs +1 -1
- package/dist/ui/skeleton.cjs +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.cjs +1 -1
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.mts +2 -2
- package/dist/ui/slider.mjs +1 -1
- 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.cjs +1 -1
- package/dist/ui/table.d.cts +17 -18
- package/dist/ui/table.d.mts +17 -18
- package/dist/ui/table.mjs +1 -1
- package/dist/ui/tabs.cjs +1 -1
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/tabs.mjs +1 -1
- package/dist/ui/textarea.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.cjs +1 -1
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle-group.mjs +1 -1
- package/dist/ui/toggle.cjs +1 -1
- package/dist/ui/toggle.d.cts +5 -5
- package/dist/ui/toggle.d.mts +5 -5
- package/dist/ui/toggle.mjs +1 -1
- package/dist/ui/tooltip.cjs +1 -1
- 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-BEyYLDNK.cjs → user-CQY0YnAc.cjs} +2 -2
- package/dist/{user-BEyYLDNK.cjs.map → user-CQY0YnAc.cjs.map} +1 -1
- package/dist/{user-DxSilm4V.mjs → user-DexjSvGZ.mjs} +2 -2
- package/dist/{user-DxSilm4V.mjs.map → user-DexjSvGZ.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/avatar-CTS9-raY.cjs +0 -2
- package/dist/avatar-SJmvlfqm.mjs +0 -2
- package/dist/button-Bc8L9sFb.mjs +0 -2
- package/dist/button-CwDT3m4m.cjs +0 -2
- package/dist/close-BS6EeCrQ.mjs +0 -2
- package/dist/dialog-DG4vMCr5.mjs +0 -2
- package/dist/dist-Dh8WwRa8.cjs +0 -2
- package/dist/dist-Dh8WwRa8.cjs.map +0 -1
- package/dist/dist-XxWAVHy8.mjs +0 -2
- package/dist/dist-XxWAVHy8.mjs.map +0 -1
- package/dist/image-B1Dm5LWk.cjs +0 -2
- package/dist/image-C-CdKKP1.mjs +0 -2
- package/dist/label-BukQnBn7.mjs +0 -2
- package/dist/popover-DvGJ23lJ.mjs +0 -2
- package/dist/progress-2G9rCupJ.mjs +0 -2
- package/dist/progress-DE1FdQ1J.cjs +0 -2
- package/dist/radio-group-fN6o0QBx.mjs +0 -2
- package/dist/separator-DXnFHf3v.mjs +0 -2
- package/dist/sheet-GUUifKAd.mjs +0 -2
- package/dist/skeleton-BLwzHejl.mjs +0 -2
- package/dist/skeleton-BfMCjXYM.cjs +0 -2
- package/dist/spinner-BaZ19Lla.mjs +0 -2
- package/dist/spinner-rA8pMY6v.cjs +0 -2
- package/dist/tanstack-form-C1EVQJ-n.mjs +0 -2
- package/dist/tanstack-form-C1EVQJ-n.mjs.map +0 -1
- package/dist/tanstack-form-D3SXGzZI.cjs +0 -2
- package/dist/tanstack-form-D3SXGzZI.cjs.map +0 -1
- package/dist/text-editor-BHmVZnEK.cjs +0 -2
- package/dist/text-editor-ae2UTKW8.mjs +0 -2
- package/dist/tooltip-Cy0HbyAx.mjs +0 -2
package/dist/ui/form.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as react23 from "react";
|
|
1
|
+
import * as react151 from "react";
|
|
3
2
|
import { Label, Slot } from "radix-ui";
|
|
4
3
|
import * as react_hook_form0 from "react-hook-form";
|
|
5
4
|
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
@@ -33,13 +32,32 @@ import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
|
33
32
|
* </Form>
|
|
34
33
|
* ```
|
|
35
34
|
*/
|
|
36
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(
|
|
35
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({
|
|
36
|
+
children,
|
|
37
|
+
watch,
|
|
38
|
+
getValues,
|
|
39
|
+
getFieldState,
|
|
40
|
+
setError,
|
|
41
|
+
clearErrors,
|
|
42
|
+
setValue,
|
|
43
|
+
setValues,
|
|
44
|
+
trigger,
|
|
45
|
+
formState,
|
|
46
|
+
resetField,
|
|
47
|
+
reset,
|
|
48
|
+
handleSubmit,
|
|
49
|
+
unregister,
|
|
50
|
+
control,
|
|
51
|
+
register,
|
|
52
|
+
setFocus,
|
|
53
|
+
subscribe
|
|
54
|
+
}: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
37
55
|
/**
|
|
38
56
|
* Connects a single react-hook-form field to the form context; renders a `Controller` and passes `name` down to nested FormItem, FormLabel, FormControl, and FormMessage.
|
|
39
57
|
*/
|
|
40
58
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
41
59
|
...props
|
|
42
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
60
|
+
}: ControllerProps<TFieldValues, TName>) => react151.JSX.Element;
|
|
43
61
|
/**
|
|
44
62
|
* Hook that returns the field state and IDs for the enclosing FormField.
|
|
45
63
|
* Must be called inside a component rendered within a `<FormField>`.
|
|
@@ -63,32 +81,32 @@ declare const useFormField: () => {
|
|
|
63
81
|
*
|
|
64
82
|
* @param orientation - Layout direction: `'vertical'`, `'horizontal'`, or `'responsive'` (default).
|
|
65
83
|
*/
|
|
66
|
-
declare const FormItem:
|
|
84
|
+
declare const FormItem: react151.MemoExoticComponent<({
|
|
67
85
|
className,
|
|
68
86
|
orientation,
|
|
69
87
|
...props
|
|
70
88
|
}: React.ComponentProps<"div"> & {
|
|
71
89
|
orientation?: "vertical" | "horizontal" | "responsive";
|
|
72
|
-
}) =>
|
|
90
|
+
}) => react151.JSX.Element>;
|
|
73
91
|
/** Styled label automatically associated with the FormItem's control via `htmlFor`. */
|
|
74
|
-
declare const FormLabel:
|
|
92
|
+
declare const FormLabel: react151.MemoExoticComponent<({
|
|
75
93
|
...props
|
|
76
|
-
}: React.ComponentProps<typeof Label.Root>) =>
|
|
94
|
+
}: React.ComponentProps<typeof Label.Root>) => react151.JSX.Element>;
|
|
77
95
|
/** Radix Slot wrapper that wires the correct `id`, `aria-describedby`, and `aria-invalid` attributes onto the underlying control element. */
|
|
78
|
-
declare const FormControl:
|
|
96
|
+
declare const FormControl: react151.MemoExoticComponent<({
|
|
79
97
|
...props
|
|
80
|
-
}: React.ComponentProps<typeof Slot.Slot>) =>
|
|
98
|
+
}: React.ComponentProps<typeof Slot.Slot>) => react151.JSX.Element>;
|
|
81
99
|
/** Helper text displayed below the control that provides additional context about the field. */
|
|
82
100
|
declare function FormDescription({
|
|
83
101
|
className,
|
|
84
102
|
...props
|
|
85
|
-
}: React.ComponentProps<'p'>):
|
|
103
|
+
}: React.ComponentProps<'p'>): react151.JSX.Element;
|
|
86
104
|
/** Displays the validation error message for the field, or falls back to `children` when there is no error. */
|
|
87
105
|
declare function FormMessage({
|
|
88
106
|
className,
|
|
89
107
|
children,
|
|
90
108
|
...props
|
|
91
|
-
}: React.ComponentProps<'p'>):
|
|
109
|
+
}: React.ComponentProps<'p'>): react151.JSX.Element;
|
|
92
110
|
//#endregion
|
|
93
111
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
|
94
112
|
//# sourceMappingURL=form.d.cts.map
|
package/dist/ui/form.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as react_jsx_runtime159 from "react/jsx-runtime";
|
|
1
|
+
import * as react153 from "react";
|
|
3
2
|
import { Label, Slot } from "radix-ui";
|
|
4
3
|
import * as react_hook_form0 from "react-hook-form";
|
|
5
4
|
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
@@ -33,13 +32,32 @@ import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
|
33
32
|
* </Form>
|
|
34
33
|
* ```
|
|
35
34
|
*/
|
|
36
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(
|
|
35
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({
|
|
36
|
+
children,
|
|
37
|
+
watch,
|
|
38
|
+
getValues,
|
|
39
|
+
getFieldState,
|
|
40
|
+
setError,
|
|
41
|
+
clearErrors,
|
|
42
|
+
setValue,
|
|
43
|
+
setValues,
|
|
44
|
+
trigger,
|
|
45
|
+
formState,
|
|
46
|
+
resetField,
|
|
47
|
+
reset,
|
|
48
|
+
handleSubmit,
|
|
49
|
+
unregister,
|
|
50
|
+
control,
|
|
51
|
+
register,
|
|
52
|
+
setFocus,
|
|
53
|
+
subscribe
|
|
54
|
+
}: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
37
55
|
/**
|
|
38
56
|
* Connects a single react-hook-form field to the form context; renders a `Controller` and passes `name` down to nested FormItem, FormLabel, FormControl, and FormMessage.
|
|
39
57
|
*/
|
|
40
58
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
41
59
|
...props
|
|
42
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
60
|
+
}: ControllerProps<TFieldValues, TName>) => react153.JSX.Element;
|
|
43
61
|
/**
|
|
44
62
|
* Hook that returns the field state and IDs for the enclosing FormField.
|
|
45
63
|
* Must be called inside a component rendered within a `<FormField>`.
|
|
@@ -63,32 +81,32 @@ declare const useFormField: () => {
|
|
|
63
81
|
*
|
|
64
82
|
* @param orientation - Layout direction: `'vertical'`, `'horizontal'`, or `'responsive'` (default).
|
|
65
83
|
*/
|
|
66
|
-
declare const FormItem:
|
|
84
|
+
declare const FormItem: react153.MemoExoticComponent<({
|
|
67
85
|
className,
|
|
68
86
|
orientation,
|
|
69
87
|
...props
|
|
70
88
|
}: React.ComponentProps<"div"> & {
|
|
71
89
|
orientation?: "vertical" | "horizontal" | "responsive";
|
|
72
|
-
}) =>
|
|
90
|
+
}) => react153.JSX.Element>;
|
|
73
91
|
/** Styled label automatically associated with the FormItem's control via `htmlFor`. */
|
|
74
|
-
declare const FormLabel:
|
|
92
|
+
declare const FormLabel: react153.MemoExoticComponent<({
|
|
75
93
|
...props
|
|
76
|
-
}: React.ComponentProps<typeof Label.Root>) =>
|
|
94
|
+
}: React.ComponentProps<typeof Label.Root>) => react153.JSX.Element>;
|
|
77
95
|
/** Radix Slot wrapper that wires the correct `id`, `aria-describedby`, and `aria-invalid` attributes onto the underlying control element. */
|
|
78
|
-
declare const FormControl:
|
|
96
|
+
declare const FormControl: react153.MemoExoticComponent<({
|
|
79
97
|
...props
|
|
80
|
-
}: React.ComponentProps<typeof Slot.Slot>) =>
|
|
98
|
+
}: React.ComponentProps<typeof Slot.Slot>) => react153.JSX.Element>;
|
|
81
99
|
/** Helper text displayed below the control that provides additional context about the field. */
|
|
82
100
|
declare function FormDescription({
|
|
83
101
|
className,
|
|
84
102
|
...props
|
|
85
|
-
}: React.ComponentProps<'p'>):
|
|
103
|
+
}: React.ComponentProps<'p'>): react153.JSX.Element;
|
|
86
104
|
/** Displays the validation error message for the field, or falls back to `children` when there is no error. */
|
|
87
105
|
declare function FormMessage({
|
|
88
106
|
className,
|
|
89
107
|
children,
|
|
90
108
|
...props
|
|
91
|
-
}: React.ComponentProps<'p'>):
|
|
109
|
+
}: React.ComponentProps<'p'>): react153.JSX.Element;
|
|
92
110
|
//#endregion
|
|
93
111
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
|
94
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-yTKDuMWb.mjs";import"../label-CE2m0U_j.mjs";import{o as e,r as t,t as n}from"../field-Bh7Hq4Lo.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.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);let t=require(
|
|
1
|
+
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);let t=require(`@customafk/react-toolkit/utils`),n=require(`react/jsx-runtime`),r=require(`radix-ui`);function i({...e}){return(0,n.jsx)(r.HoverCard.Root,{"data-slot":`hover-card`,...e})}function a({...e}){return(0,n.jsx)(r.HoverCard.Trigger,{"data-slot":`hover-card-trigger`,...e})}function o({className:e,align:i=`center`,sideOffset:a=4,...o}){return(0,n.jsx)(r.HoverCard.Portal,{"data-slot":`hover-card-portal`,children:(0,n.jsx)(r.HoverCard.Content,{"data-slot":`hover-card-content`,align:i,sideOffset:a,className:(0,t.cn)(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden`,e),...o})})}exports.HoverCard=i,exports.HoverCardContent=o,exports.HoverCardTrigger=a;
|
|
2
2
|
//# sourceMappingURL=hover-card.cjs.map
|
package/dist/ui/hover-card.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react132 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>): react132.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>): react132.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>): react132.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/hover-card.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import{
|
|
1
|
+
"use client";import{cn as e}from"@customafk/react-toolkit/utils";import{jsx as t}from"react/jsx-runtime";import{HoverCard as n}from"radix-ui";function r({...e}){return t(n.Root,{"data-slot":`hover-card`,...e})}function i({...e}){return t(n.Trigger,{"data-slot":`hover-card-trigger`,...e})}function a({className:r,align:i=`center`,sideOffset:a=4,...o}){return t(n.Portal,{"data-slot":`hover-card-portal`,children:t(n.Content,{"data-slot":`hover-card-content`,align:i,sideOffset:a,className:e(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden`,r),...o})})}export{r as HoverCard,a as HoverCardContent,i as HoverCardTrigger};
|
|
2
2
|
//# sourceMappingURL=hover-card.mjs.map
|
package/dist/ui/image.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`../skeleton-
|
|
1
|
+
require(`../skeleton-CHympz8k.cjs`);const e=require(`../image-Y7gCz7uE.cjs`);exports.Image=e.t;
|
package/dist/ui/image.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../skeleton-
|
|
1
|
+
import"../skeleton-Czl96pWA.mjs";import{t as e}from"../image-C4gMBmyV.mjs";export{e as Image};
|
package/dist/ui/input-otp.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);let t=require(`lucide-react`),n=require(`react`),r=require(
|
|
1
|
+
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);let t=require(`lucide-react`),n=require(`react`),r=require(`@customafk/react-toolkit/utils`),i=require(`react/jsx-runtime`),a=require(`input-otp`);function o({className:e,containerClassName:t,...n}){return(0,i.jsx)(a.OTPInput,{"data-slot":`input-otp`,containerClassName:(0,r.cn)(`flex items-center gap-2 has-disabled:opacity-50`,t),className:(0,r.cn)(`disabled:cursor-not-allowed`,e),...n})}function s({className:e,...t}){return(0,i.jsx)(`div`,{"data-slot":`input-otp-group`,className:(0,r.cn)(`flex items-center`,e),...t})}function c({index:e,className:t,...o}){let{char:s,hasFakeCaret:c,isActive:l}=(0,n.use)(a.OTPInputContext)?.slots[e]??{};return(0,i.jsxs)(`div`,{"data-slot":`input-otp-slot`,"data-active":l,className:(0,r.cn)(`data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]`,t),...o,children:[s,c&&(0,i.jsx)(`div`,{className:`pointer-events-none absolute inset-0 flex items-center justify-center`,children:(0,i.jsx)(`div`,{className:`animate-caret-blink bg-foreground h-4 w-px duration-1000`})})]})}function l({...e}){return(0,i.jsx)(`div`,{"data-slot":`input-otp-separator`,role:`separator`,...e,children:(0,i.jsx)(t.MinusIcon,{})})}exports.InputOTP=o,exports.InputOTPGroup=s,exports.InputOTPSeparator=l,exports.InputOTPSlot=c;
|
|
2
2
|
//# sourceMappingURL=input-otp.cjs.map
|
package/dist/ui/input-otp.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react241 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
|
+
}): react241.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'>): react241.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
|
+
}): react241.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'>): react241.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 react194 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
|
+
}): react194.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'>): react194.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
|
+
}): react194.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'>): react194.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|
|
59
59
|
//# sourceMappingURL=input-otp.d.mts.map
|
package/dist/ui/input-otp.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import{MinusIcon as e}from"lucide-react";import{use as t}from"react";import{
|
|
1
|
+
"use client";import{MinusIcon as e}from"lucide-react";import{use as t}from"react";import{cn as n}from"@customafk/react-toolkit/utils";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{OTPInput as a,OTPInputContext as o}from"input-otp";function s({className:e,containerClassName:t,...i}){return r(a,{"data-slot":`input-otp`,containerClassName:n(`flex items-center gap-2 has-disabled:opacity-50`,t),className:n(`disabled:cursor-not-allowed`,e),...i})}function c({className:e,...t}){return r(`div`,{"data-slot":`input-otp-group`,className:n(`flex items-center`,e),...t})}function l({index:e,className:a,...s}){let{char:c,hasFakeCaret:l,isActive:u}=t(o)?.slots[e]??{};return i(`div`,{"data-slot":`input-otp-slot`,"data-active":u,className:n(`data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]`,a),...s,children:[c,l&&r(`div`,{className:`pointer-events-none absolute inset-0 flex items-center justify-center`,children:r(`div`,{className:`animate-caret-blink bg-foreground h-4 w-px duration-1000`})})]})}function u({...t}){return r(`div`,{"data-slot":`input-otp-separator`,role:`separator`,...t,children:r(e,{})})}export{s as InputOTP,c as InputOTPGroup,u as InputOTPSeparator,l as InputOTPSlot};
|
|
2
2
|
//# sourceMappingURL=input-otp.mjs.map
|
package/dist/ui/input.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require(`../input-
|
|
1
|
+
"use client";const e=require(`../input-1ceJxxFI.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-B9XN8dsE.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-ZL65yvYU.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-CKFQdvqY.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-1ceJxxFI.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-B9XN8dsE.cjs";
|
|
2
|
+
import * as react37 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) => react37.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-ZL65yvYU.mjs";
|
|
2
|
+
import * as react35 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) => react35.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-CKFQdvqY.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-
|
|
1
|
+
const e=require(`../chunk-Bmb41Sf3.cjs`),t=require(`../dist-CAeolvAH.cjs`),n=require(`../separator-jytY1CPq.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 react280 from "react";
|
|
3
|
+
import * as class_variance_authority_types10 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'>): react280.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>): react280.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_types10.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
|
+
}): react280.JSX.Element;
|
|
57
57
|
declare const itemMediaVariants: (props?: ({
|
|
58
|
-
variant?: "default" | "
|
|
59
|
-
} &
|
|
58
|
+
variant?: "default" | "image" | "icon" | null | undefined;
|
|
59
|
+
} & class_variance_authority_types10.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>): react280.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'>): react280.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'>): react280.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'>): react280.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'>): react280.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'>): react280.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'>): react280.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,5 +1,5 @@
|
|
|
1
1
|
import { Separator } from "./separator.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react184 from "react";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
5
5
|
|
|
@@ -28,14 +28,14 @@ import * as class_variance_authority_types8 from "class-variance-authority/types
|
|
|
28
28
|
declare function ItemGroup({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<'div'>):
|
|
31
|
+
}: React.ComponentProps<'div'>): react184.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>): react184.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
|
/**
|
|
@@ -53,9 +53,9 @@ declare function Item({
|
|
|
53
53
|
...props
|
|
54
54
|
}: React.ComponentProps<'div'> & VariantProps<typeof itemVariants> & {
|
|
55
55
|
asChild?: boolean;
|
|
56
|
-
}):
|
|
56
|
+
}): react184.JSX.Element;
|
|
57
57
|
declare const itemMediaVariants: (props?: ({
|
|
58
|
-
variant?: "default" | "
|
|
58
|
+
variant?: "default" | "image" | "icon" | null | undefined;
|
|
59
59
|
} & class_variance_authority_types8.ClassProp) | undefined) => string;
|
|
60
60
|
/**
|
|
61
61
|
* Left-aligned slot for an avatar, icon, or image within an Item.
|
|
@@ -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>): react184.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'>): react184.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'>): react184.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'>): react184.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'>): react184.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'>): react184.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'>): react184.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
|