@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
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as class_variance_authority_types24 from "class-variance-authority/types";
|
|
3
|
-
import * as react263 from "react";
|
|
1
|
+
import * as react642 from "react";
|
|
4
2
|
import * as class_variance_authority0 from "class-variance-authority";
|
|
5
3
|
import { VariantProps } from "class-variance-authority";
|
|
6
4
|
import { Label } from "radix-ui";
|
|
7
|
-
import * as _tanstack_form_core0 from "@tanstack/form-core";
|
|
8
5
|
import * as _tanstack_react_form0 from "@tanstack/react-form";
|
|
6
|
+
import * as class_variance_authority_types24 from "class-variance-authority/types";
|
|
7
|
+
import * as _tanstack_form_core0 from "@tanstack/form-core";
|
|
9
8
|
|
|
10
9
|
//#region packages/components/features/tanstack-form/components/ui/label.d.ts
|
|
11
10
|
/**
|
|
@@ -20,7 +19,91 @@ declare function Label$1({
|
|
|
20
19
|
className,
|
|
21
20
|
children,
|
|
22
21
|
...props
|
|
23
|
-
}: React.ComponentProps<typeof Label.Root>):
|
|
22
|
+
}: React.ComponentProps<typeof Label.Root>): react642.JSX.Element;
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region packages/components/features/tanstack-form/components/atoms/simple-array-field.d.ts
|
|
25
|
+
type ArrayColProps = {
|
|
26
|
+
/**
|
|
27
|
+
* Fixed column width as a pixel number (e.g. `96`) or any CSS string
|
|
28
|
+
* (e.g. `'8rem'`, `'20%'`). Omit to let the column expand and fill the
|
|
29
|
+
* remaining row space (`flex: 1`).
|
|
30
|
+
*/
|
|
31
|
+
width?: number | string;
|
|
32
|
+
className?: string;
|
|
33
|
+
children: React.ReactNode;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Layout helper for columns inside a `SimpleArrayField` row. Controls width
|
|
37
|
+
* without repeating `<div className="w-24">` or `<div className="flex-1">`.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* <SimpleArrayField defaultRow={...}>
|
|
41
|
+
* {i => (
|
|
42
|
+
* <>
|
|
43
|
+
* <ArrayCol> // flex-1 — takes remaining space
|
|
44
|
+
* <AppField name={`items[${i}].name`}>...</AppField>
|
|
45
|
+
* </ArrayCol>
|
|
46
|
+
* <ArrayCol width={96}> // 96 px fixed
|
|
47
|
+
* <AppField name={`items[${i}].qty`}>...</AppField>
|
|
48
|
+
* </ArrayCol>
|
|
49
|
+
* <ArrayCol width="8rem"> // CSS string
|
|
50
|
+
* <AppField name={`items[${i}].tax`}>...</AppField>
|
|
51
|
+
* </ArrayCol>
|
|
52
|
+
* </>
|
|
53
|
+
* )}
|
|
54
|
+
* </SimpleArrayField>
|
|
55
|
+
*/
|
|
56
|
+
declare function ArrayCol({
|
|
57
|
+
width,
|
|
58
|
+
className,
|
|
59
|
+
children
|
|
60
|
+
}: ArrayColProps): react642.JSX.Element;
|
|
61
|
+
type Props<T> = {
|
|
62
|
+
/**
|
|
63
|
+
* Shape of a brand-new empty row appended when the user clicks "Add row".
|
|
64
|
+
*/
|
|
65
|
+
defaultRow: T;
|
|
66
|
+
/**
|
|
67
|
+
* Render function called once per row. Receives the zero-based row `index`
|
|
68
|
+
* so you can build field paths like `` `items[${index}].name` ``.
|
|
69
|
+
*/
|
|
70
|
+
children: (index: number) => React.ReactNode;
|
|
71
|
+
/** Label on the add button. Defaults to `'Add row'`. */
|
|
72
|
+
addLabel?: string;
|
|
73
|
+
className?: string;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Array field wrapper that manages rows (add / remove) while letting you
|
|
77
|
+
* freely compose any fields inside each row.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* const { AppForm, AppField } = useTanStackForm({ defaultValues: { items: [] } });
|
|
81
|
+
*
|
|
82
|
+
* <AppForm>
|
|
83
|
+
* <AppField name="items">
|
|
84
|
+
* {({ SimpleArrayField }) => (
|
|
85
|
+
* <SimpleArrayField defaultRow={{ name: null, qty: null }}>
|
|
86
|
+
* {(i) => (
|
|
87
|
+
* <div className="flex gap-2">
|
|
88
|
+
* <AppField name={`items[${i}].name`}>
|
|
89
|
+
* {({ SimpleTextField }) => <SimpleTextField label="Name" />}
|
|
90
|
+
* </AppField>
|
|
91
|
+
* <AppField name={`items[${i}].qty`}>
|
|
92
|
+
* {({ SimpleNumberField }) => <SimpleNumberField label="Qty" />}
|
|
93
|
+
* </AppField>
|
|
94
|
+
* </div>
|
|
95
|
+
* )}
|
|
96
|
+
* </SimpleArrayField>
|
|
97
|
+
* )}
|
|
98
|
+
* </AppField>
|
|
99
|
+
* </AppForm>
|
|
100
|
+
*/
|
|
101
|
+
declare function SimpleArrayField<T>({
|
|
102
|
+
defaultRow,
|
|
103
|
+
children,
|
|
104
|
+
addLabel,
|
|
105
|
+
className
|
|
106
|
+
}: Props<T>): react642.JSX.Element;
|
|
24
107
|
//#endregion
|
|
25
108
|
//#region packages/components/features/tanstack-form/components/ui/field.d.ts
|
|
26
109
|
declare const fieldVariants: (props?: ({
|
|
@@ -48,10 +131,10 @@ declare const fieldVariants: (props?: ({
|
|
|
48
131
|
* <Field>…</Field>
|
|
49
132
|
* </FieldGroup>
|
|
50
133
|
*/
|
|
51
|
-
declare const FieldGroup:
|
|
134
|
+
declare const FieldGroup: react642.MemoExoticComponent<({
|
|
52
135
|
className,
|
|
53
136
|
...props
|
|
54
|
-
}: React.ComponentProps<"div">) =>
|
|
137
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
55
138
|
/**
|
|
56
139
|
* Single form field row that arranges label, input, and meta elements with configurable orientation.
|
|
57
140
|
*
|
|
@@ -63,11 +146,11 @@ declare const FieldGroup: react263.MemoExoticComponent<({
|
|
|
63
146
|
* <FieldContent><input id="username" /></FieldContent>
|
|
64
147
|
* </Field>
|
|
65
148
|
*/
|
|
66
|
-
declare const Field:
|
|
149
|
+
declare const Field: react642.MemoExoticComponent<({
|
|
67
150
|
className,
|
|
68
151
|
orientation,
|
|
69
152
|
...props
|
|
70
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) =>
|
|
153
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react642.JSX.Element>;
|
|
71
154
|
/**
|
|
72
155
|
* Flex column wrapper that houses the primary input control together with description and error slots.
|
|
73
156
|
*
|
|
@@ -79,10 +162,10 @@ declare const Field: react263.MemoExoticComponent<({
|
|
|
79
162
|
* <FieldDescription>Enter your full name.</FieldDescription>
|
|
80
163
|
* </FieldContent>
|
|
81
164
|
*/
|
|
82
|
-
declare const FieldContent:
|
|
165
|
+
declare const FieldContent: react642.MemoExoticComponent<({
|
|
83
166
|
className,
|
|
84
167
|
...props
|
|
85
|
-
}: React.ComponentProps<"div">) =>
|
|
168
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
86
169
|
/**
|
|
87
170
|
* Positioned wrapper for the main input element that enables absolutely-placed adornments (icons, spinners).
|
|
88
171
|
*
|
|
@@ -94,10 +177,10 @@ declare const FieldContent: react263.MemoExoticComponent<({
|
|
|
94
177
|
* <SearchIcon className="absolute right-2 top-2" />
|
|
95
178
|
* </FieldContentMain>
|
|
96
179
|
*/
|
|
97
|
-
declare const FieldContentMain:
|
|
180
|
+
declare const FieldContentMain: react642.MemoExoticComponent<({
|
|
98
181
|
className,
|
|
99
182
|
...props
|
|
100
|
-
}: React.ComponentProps<"div">) =>
|
|
183
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
101
184
|
/**
|
|
102
185
|
* Styled `<label>` element for a `Field`, extending the base `Label` with field-group-aware spacing and border states.
|
|
103
186
|
*
|
|
@@ -106,10 +189,10 @@ declare const FieldContentMain: react263.MemoExoticComponent<({
|
|
|
106
189
|
*
|
|
107
190
|
* <FieldLabel htmlFor="email" aria-required>Email</FieldLabel>
|
|
108
191
|
*/
|
|
109
|
-
declare const FieldLabel:
|
|
192
|
+
declare const FieldLabel: react642.MemoExoticComponent<({
|
|
110
193
|
className,
|
|
111
194
|
...props
|
|
112
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
195
|
+
}: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
|
|
113
196
|
/**
|
|
114
197
|
* Inline title element (non-`<label>`) for fields whose label cannot be a native `<label>`, such as custom checkbox groups.
|
|
115
198
|
*
|
|
@@ -127,11 +210,11 @@ declare const FieldLabel: react263.MemoExoticComponent<({
|
|
|
127
210
|
*
|
|
128
211
|
* <FieldSeparator>or</FieldSeparator>
|
|
129
212
|
*/
|
|
130
|
-
declare const FieldSeparator:
|
|
213
|
+
declare const FieldSeparator: react642.MemoExoticComponent<({
|
|
131
214
|
children,
|
|
132
215
|
className,
|
|
133
216
|
...props
|
|
134
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
217
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
|
|
135
218
|
/**
|
|
136
219
|
* Props for {@link FieldError}.
|
|
137
220
|
*/
|
|
@@ -154,12 +237,12 @@ type FieldErrorProps = React.ComponentProps<'div'> & {
|
|
|
154
237
|
*
|
|
155
238
|
* <FieldError errors={field.state.meta.errors} />
|
|
156
239
|
*/
|
|
157
|
-
declare const FieldError:
|
|
240
|
+
declare const FieldError: react642.MemoExoticComponent<({
|
|
158
241
|
className,
|
|
159
242
|
children,
|
|
160
243
|
errors,
|
|
161
244
|
...props
|
|
162
|
-
}: FieldErrorProps) =>
|
|
245
|
+
}: FieldErrorProps) => react642.JSX.Element | null>;
|
|
163
246
|
//#endregion
|
|
164
247
|
//#region packages/components/features/tanstack-form/tanstack-form.d.ts
|
|
165
248
|
declare const useTanStackFieldContext: <TData>() => _tanstack_form_core0.FieldApi<any, string, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>, useTanStackFormContext: () => _tanstack_react_form0.ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
|
|
@@ -219,13 +302,13 @@ declare const useTanStackFieldContext: <TData>() => _tanstack_form_core0.FieldAp
|
|
|
219
302
|
* ));
|
|
220
303
|
*/
|
|
221
304
|
declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: _tanstack_form_core0.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
222
|
-
readonly TextField:
|
|
305
|
+
readonly TextField: react642.FC<Pick<{
|
|
223
306
|
label: string;
|
|
224
307
|
name: string;
|
|
225
308
|
camelCaseName: string;
|
|
226
309
|
id: string;
|
|
227
310
|
type: "text-field";
|
|
228
|
-
dataType?: "text" | "
|
|
311
|
+
dataType?: "text" | "email" | "url" | "password" | undefined;
|
|
229
312
|
rules?: {
|
|
230
313
|
required?: boolean | undefined;
|
|
231
314
|
maxLength?: number | undefined;
|
|
@@ -245,11 +328,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
245
328
|
showClearButton?: boolean | undefined;
|
|
246
329
|
description?: string | undefined;
|
|
247
330
|
placeholder?: string | undefined;
|
|
248
|
-
}, "description" | "label" | "placeholder" | "
|
|
331
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
249
332
|
required?: boolean;
|
|
250
333
|
maxLength?: number;
|
|
251
334
|
}>;
|
|
252
|
-
readonly TextareaField:
|
|
335
|
+
readonly TextareaField: react642.FC<Pick<{
|
|
253
336
|
label: string;
|
|
254
337
|
name: string;
|
|
255
338
|
camelCaseName: string;
|
|
@@ -273,11 +356,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
273
356
|
counter?: boolean | undefined;
|
|
274
357
|
description?: string | undefined;
|
|
275
358
|
placeholder?: string | undefined;
|
|
276
|
-
}, "description" | "label" | "placeholder" | "
|
|
359
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
277
360
|
required?: boolean;
|
|
278
361
|
maxLength?: number;
|
|
279
362
|
}>;
|
|
280
|
-
readonly TextEditorField:
|
|
363
|
+
readonly TextEditorField: react642.FC<Pick<{
|
|
281
364
|
label: string;
|
|
282
365
|
name: string;
|
|
283
366
|
camelCaseName: string;
|
|
@@ -294,7 +377,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
294
377
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
295
378
|
required?: boolean;
|
|
296
379
|
}>;
|
|
297
|
-
readonly NumberField:
|
|
380
|
+
readonly NumberField: react642.FC<Pick<{
|
|
298
381
|
label: string;
|
|
299
382
|
name: string;
|
|
300
383
|
camelCaseName: string;
|
|
@@ -330,11 +413,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
330
413
|
unit?: string | undefined;
|
|
331
414
|
description?: string | undefined;
|
|
332
415
|
placeholder?: string | undefined;
|
|
333
|
-
}, "description" | "label" | "placeholder" | "
|
|
416
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
334
417
|
required?: boolean;
|
|
335
418
|
allowNegative?: boolean;
|
|
336
419
|
}>;
|
|
337
|
-
readonly EmailField:
|
|
420
|
+
readonly EmailField: react642.FC<Pick<{
|
|
338
421
|
rules: {
|
|
339
422
|
maxLength?: number | undefined;
|
|
340
423
|
minLength?: number | undefined;
|
|
@@ -350,20 +433,20 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
350
433
|
showErrorMessage?: boolean | undefined;
|
|
351
434
|
description?: string | undefined;
|
|
352
435
|
placeholder?: string | undefined;
|
|
353
|
-
}, "description" | "label" | "placeholder" | "
|
|
436
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
354
437
|
required?: boolean;
|
|
355
438
|
maxLength?: number;
|
|
356
439
|
}>;
|
|
357
|
-
readonly PasswordField:
|
|
440
|
+
readonly PasswordField: react642.FC<{
|
|
358
441
|
description?: string | undefined;
|
|
359
442
|
label: string;
|
|
360
443
|
placeholder?: string | undefined;
|
|
361
|
-
tooltip?: string | undefined;
|
|
362
444
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
445
|
+
tooltip?: string | undefined;
|
|
363
446
|
helperText?: string | undefined;
|
|
364
447
|
showErrorMessage?: boolean | undefined;
|
|
365
448
|
}>;
|
|
366
|
-
readonly SelectField:
|
|
449
|
+
readonly SelectField: react642.FC<Pick<{
|
|
367
450
|
options: {
|
|
368
451
|
label: string;
|
|
369
452
|
value: string;
|
|
@@ -388,10 +471,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
388
471
|
defaultValue?: string | undefined;
|
|
389
472
|
description?: string | undefined;
|
|
390
473
|
placeholder?: string | undefined;
|
|
391
|
-
}, "description" | "label" | "
|
|
474
|
+
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
392
475
|
required?: boolean;
|
|
393
476
|
}>;
|
|
394
|
-
readonly ComboboxField:
|
|
477
|
+
readonly ComboboxField: react642.FC<{
|
|
395
478
|
label: string;
|
|
396
479
|
description?: string;
|
|
397
480
|
placeholder?: string;
|
|
@@ -402,7 +485,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
402
485
|
label: string;
|
|
403
486
|
}>;
|
|
404
487
|
}>;
|
|
405
|
-
readonly DateField:
|
|
488
|
+
readonly DateField: react642.FC<Pick<{
|
|
406
489
|
label: string;
|
|
407
490
|
name: string;
|
|
408
491
|
camelCaseName: string;
|
|
@@ -420,21 +503,21 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
420
503
|
defaultValue?: string | undefined;
|
|
421
504
|
description?: string | undefined;
|
|
422
505
|
placeholder?: string | undefined;
|
|
423
|
-
}, "description" | "label" | "placeholder" | "
|
|
506
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
424
507
|
required?: boolean;
|
|
425
508
|
minDate?: Date;
|
|
426
509
|
maxDate?: Date;
|
|
427
510
|
}>;
|
|
428
|
-
readonly SwitchField:
|
|
511
|
+
readonly SwitchField: react642.FC<{
|
|
429
512
|
description?: string | undefined;
|
|
430
513
|
label: string;
|
|
431
514
|
helperText?: string | undefined;
|
|
432
515
|
}>;
|
|
433
|
-
readonly RadioGroupField:
|
|
516
|
+
readonly RadioGroupField: react642.FC<{
|
|
434
517
|
description?: string | undefined;
|
|
435
518
|
label: string;
|
|
436
|
-
tooltip?: string | undefined;
|
|
437
519
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
520
|
+
tooltip?: string | undefined;
|
|
438
521
|
options: {
|
|
439
522
|
label: string;
|
|
440
523
|
value: string;
|
|
@@ -442,109 +525,157 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
442
525
|
}[];
|
|
443
526
|
helperText?: string | undefined;
|
|
444
527
|
}>;
|
|
445
|
-
readonly CheckboxField:
|
|
528
|
+
readonly CheckboxField: react642.FC<{
|
|
446
529
|
description?: string | undefined;
|
|
447
530
|
label: string;
|
|
448
|
-
tooltip?: string | undefined;
|
|
449
531
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
532
|
+
tooltip?: string | undefined;
|
|
450
533
|
options: {
|
|
451
534
|
label: string;
|
|
452
535
|
value: string;
|
|
453
536
|
}[];
|
|
454
537
|
helperText?: string | undefined;
|
|
455
538
|
}>;
|
|
456
|
-
readonly
|
|
539
|
+
readonly SimpleTextField: react642.FC<{
|
|
540
|
+
label: string;
|
|
541
|
+
placeholder?: string;
|
|
542
|
+
required?: boolean;
|
|
543
|
+
maxLength?: number;
|
|
544
|
+
disabled?: boolean;
|
|
545
|
+
}>;
|
|
546
|
+
readonly SimpleEmailField: react642.FC<{
|
|
547
|
+
label: string;
|
|
548
|
+
placeholder?: string;
|
|
549
|
+
required?: boolean;
|
|
550
|
+
maxLength?: number;
|
|
551
|
+
disabled?: boolean;
|
|
552
|
+
}>;
|
|
553
|
+
readonly SimplePasswordField: react642.FC<{
|
|
554
|
+
label: string;
|
|
555
|
+
placeholder?: string;
|
|
556
|
+
required?: boolean;
|
|
557
|
+
disabled?: boolean;
|
|
558
|
+
}>;
|
|
559
|
+
readonly SimpleTextareaField: react642.FC<{
|
|
560
|
+
label: string;
|
|
561
|
+
placeholder?: string;
|
|
562
|
+
required?: boolean;
|
|
563
|
+
maxLength?: number;
|
|
564
|
+
rows?: number;
|
|
565
|
+
disabled?: boolean;
|
|
566
|
+
}>;
|
|
567
|
+
readonly SimpleNumberField: react642.FC<{
|
|
568
|
+
label: string;
|
|
569
|
+
placeholder?: string;
|
|
570
|
+
required?: boolean;
|
|
571
|
+
unit?: string;
|
|
572
|
+
allowNegative?: boolean;
|
|
573
|
+
disabled?: boolean;
|
|
574
|
+
}>;
|
|
575
|
+
readonly SimpleSelectField: react642.FC<{
|
|
576
|
+
label?: string;
|
|
577
|
+
placeholder?: string;
|
|
578
|
+
required?: boolean;
|
|
579
|
+
options: Array<{
|
|
580
|
+
value: string;
|
|
581
|
+
label: string;
|
|
582
|
+
}>;
|
|
583
|
+
}>;
|
|
584
|
+
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
585
|
+
readonly FieldGroup: react642.MemoExoticComponent<({
|
|
457
586
|
className,
|
|
458
587
|
...props
|
|
459
|
-
}: React.ComponentProps<"div">) =>
|
|
460
|
-
readonly Field:
|
|
588
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
589
|
+
readonly Field: react642.MemoExoticComponent<({
|
|
461
590
|
className,
|
|
462
591
|
orientation,
|
|
463
592
|
...props
|
|
464
593
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
465
594
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
466
|
-
} & class_variance_authority_types24.ClassProp) | undefined) => string>) =>
|
|
467
|
-
readonly FieldContent:
|
|
595
|
+
} & class_variance_authority_types24.ClassProp) | undefined) => string>) => react642.JSX.Element>;
|
|
596
|
+
readonly FieldContent: react642.MemoExoticComponent<({
|
|
468
597
|
className,
|
|
469
598
|
...props
|
|
470
|
-
}: React.ComponentProps<"div">) =>
|
|
471
|
-
readonly FieldLabel:
|
|
599
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
600
|
+
readonly FieldLabel: react642.MemoExoticComponent<({
|
|
472
601
|
className,
|
|
473
602
|
...props
|
|
474
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
475
|
-
readonly FieldContentMain:
|
|
603
|
+
}: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
|
|
604
|
+
readonly FieldContentMain: react642.MemoExoticComponent<({
|
|
476
605
|
className,
|
|
477
606
|
...props
|
|
478
|
-
}: React.ComponentProps<"div">) =>
|
|
479
|
-
readonly FieldSeparator:
|
|
607
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
608
|
+
readonly FieldSeparator: react642.MemoExoticComponent<({
|
|
480
609
|
children,
|
|
481
610
|
className,
|
|
482
611
|
...props
|
|
483
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
484
|
-
readonly FieldError:
|
|
612
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
|
|
613
|
+
readonly FieldError: react642.MemoExoticComponent<({
|
|
485
614
|
className,
|
|
486
615
|
children,
|
|
487
616
|
errors,
|
|
488
617
|
...props
|
|
489
|
-
}:
|
|
618
|
+
}: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
|
|
490
619
|
errors?: Array<{
|
|
491
620
|
code?: string;
|
|
492
621
|
message?: string;
|
|
493
622
|
} | undefined>;
|
|
494
|
-
}) =>
|
|
623
|
+
}) => react642.JSX.Element | null>;
|
|
495
624
|
}, {
|
|
496
|
-
readonly TanStackDialogForm:
|
|
625
|
+
readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
|
|
497
626
|
title: string;
|
|
498
627
|
submitText?: string;
|
|
628
|
+
className?: string;
|
|
499
629
|
open?: boolean;
|
|
500
630
|
onOpenChange?: (open: boolean) => void;
|
|
501
631
|
}>>;
|
|
502
|
-
readonly TanStackPopoverForm:
|
|
632
|
+
readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
|
|
503
633
|
title: string;
|
|
504
634
|
open?: boolean;
|
|
505
635
|
contentClassName?: string;
|
|
506
636
|
onOpenChange?: (open: boolean) => void;
|
|
507
637
|
}>>;
|
|
508
|
-
readonly TanStackContainerForm:
|
|
509
|
-
children?:
|
|
638
|
+
readonly TanStackContainerForm: react642.FC<{
|
|
639
|
+
children?: react642.ReactNode | undefined;
|
|
510
640
|
}>;
|
|
511
|
-
readonly TanStackSectionForm:
|
|
641
|
+
readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
|
|
512
642
|
title: string;
|
|
513
643
|
}>>;
|
|
514
|
-
readonly TanStackCardForm:
|
|
644
|
+
readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
|
|
515
645
|
title: string;
|
|
516
646
|
description?: string;
|
|
517
647
|
onDelete?: () => void | Promise<void>;
|
|
518
648
|
}>>;
|
|
519
|
-
readonly TanStackFieldGroup:
|
|
649
|
+
readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
|
|
520
650
|
label: string;
|
|
521
651
|
description?: string;
|
|
522
652
|
helperText?: string;
|
|
523
653
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
524
654
|
}>>;
|
|
525
|
-
readonly TanStackTitleField:
|
|
655
|
+
readonly TanStackTitleField: react642.FC<{
|
|
526
656
|
title: string;
|
|
527
657
|
description?: string;
|
|
528
658
|
helperText?: string;
|
|
529
659
|
}>;
|
|
530
|
-
readonly TanStackActionsForm:
|
|
660
|
+
readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
|
|
531
661
|
type?: "create" | "update";
|
|
532
662
|
}>>;
|
|
533
|
-
readonly TanStackActionSubmit:
|
|
663
|
+
readonly TanStackActionSubmit: react642.FC<{
|
|
534
664
|
label?: string;
|
|
535
665
|
className?: string;
|
|
536
666
|
}>;
|
|
667
|
+
readonly ArrayCol: typeof ArrayCol;
|
|
537
668
|
}>, withTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({
|
|
538
669
|
render,
|
|
539
670
|
props
|
|
540
671
|
}: _tanstack_react_form0.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
541
|
-
readonly TextField:
|
|
672
|
+
readonly TextField: react642.FC<Pick<{
|
|
542
673
|
label: string;
|
|
543
674
|
name: string;
|
|
544
675
|
camelCaseName: string;
|
|
545
676
|
id: string;
|
|
546
677
|
type: "text-field";
|
|
547
|
-
dataType?: "text" | "
|
|
678
|
+
dataType?: "text" | "email" | "url" | "password" | undefined;
|
|
548
679
|
rules?: {
|
|
549
680
|
required?: boolean | undefined;
|
|
550
681
|
maxLength?: number | undefined;
|
|
@@ -564,11 +695,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
564
695
|
showClearButton?: boolean | undefined;
|
|
565
696
|
description?: string | undefined;
|
|
566
697
|
placeholder?: string | undefined;
|
|
567
|
-
}, "description" | "label" | "placeholder" | "
|
|
698
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
568
699
|
required?: boolean;
|
|
569
700
|
maxLength?: number;
|
|
570
701
|
}>;
|
|
571
|
-
readonly TextareaField:
|
|
702
|
+
readonly TextareaField: react642.FC<Pick<{
|
|
572
703
|
label: string;
|
|
573
704
|
name: string;
|
|
574
705
|
camelCaseName: string;
|
|
@@ -592,11 +723,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
592
723
|
counter?: boolean | undefined;
|
|
593
724
|
description?: string | undefined;
|
|
594
725
|
placeholder?: string | undefined;
|
|
595
|
-
}, "description" | "label" | "placeholder" | "
|
|
726
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
596
727
|
required?: boolean;
|
|
597
728
|
maxLength?: number;
|
|
598
729
|
}>;
|
|
599
|
-
readonly TextEditorField:
|
|
730
|
+
readonly TextEditorField: react642.FC<Pick<{
|
|
600
731
|
label: string;
|
|
601
732
|
name: string;
|
|
602
733
|
camelCaseName: string;
|
|
@@ -613,7 +744,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
613
744
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
614
745
|
required?: boolean;
|
|
615
746
|
}>;
|
|
616
|
-
readonly NumberField:
|
|
747
|
+
readonly NumberField: react642.FC<Pick<{
|
|
617
748
|
label: string;
|
|
618
749
|
name: string;
|
|
619
750
|
camelCaseName: string;
|
|
@@ -649,11 +780,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
649
780
|
unit?: string | undefined;
|
|
650
781
|
description?: string | undefined;
|
|
651
782
|
placeholder?: string | undefined;
|
|
652
|
-
}, "description" | "label" | "placeholder" | "
|
|
783
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
653
784
|
required?: boolean;
|
|
654
785
|
allowNegative?: boolean;
|
|
655
786
|
}>;
|
|
656
|
-
readonly EmailField:
|
|
787
|
+
readonly EmailField: react642.FC<Pick<{
|
|
657
788
|
rules: {
|
|
658
789
|
maxLength?: number | undefined;
|
|
659
790
|
minLength?: number | undefined;
|
|
@@ -669,20 +800,20 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
669
800
|
showErrorMessage?: boolean | undefined;
|
|
670
801
|
description?: string | undefined;
|
|
671
802
|
placeholder?: string | undefined;
|
|
672
|
-
}, "description" | "label" | "placeholder" | "
|
|
803
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
673
804
|
required?: boolean;
|
|
674
805
|
maxLength?: number;
|
|
675
806
|
}>;
|
|
676
|
-
readonly PasswordField:
|
|
807
|
+
readonly PasswordField: react642.FC<{
|
|
677
808
|
description?: string | undefined;
|
|
678
809
|
label: string;
|
|
679
810
|
placeholder?: string | undefined;
|
|
680
|
-
tooltip?: string | undefined;
|
|
681
811
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
812
|
+
tooltip?: string | undefined;
|
|
682
813
|
helperText?: string | undefined;
|
|
683
814
|
showErrorMessage?: boolean | undefined;
|
|
684
815
|
}>;
|
|
685
|
-
readonly SelectField:
|
|
816
|
+
readonly SelectField: react642.FC<Pick<{
|
|
686
817
|
options: {
|
|
687
818
|
label: string;
|
|
688
819
|
value: string;
|
|
@@ -707,10 +838,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
707
838
|
defaultValue?: string | undefined;
|
|
708
839
|
description?: string | undefined;
|
|
709
840
|
placeholder?: string | undefined;
|
|
710
|
-
}, "description" | "label" | "
|
|
841
|
+
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
711
842
|
required?: boolean;
|
|
712
843
|
}>;
|
|
713
|
-
readonly ComboboxField:
|
|
844
|
+
readonly ComboboxField: react642.FC<{
|
|
714
845
|
label: string;
|
|
715
846
|
description?: string;
|
|
716
847
|
placeholder?: string;
|
|
@@ -721,7 +852,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
721
852
|
label: string;
|
|
722
853
|
}>;
|
|
723
854
|
}>;
|
|
724
|
-
readonly DateField:
|
|
855
|
+
readonly DateField: react642.FC<Pick<{
|
|
725
856
|
label: string;
|
|
726
857
|
name: string;
|
|
727
858
|
camelCaseName: string;
|
|
@@ -739,21 +870,21 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
739
870
|
defaultValue?: string | undefined;
|
|
740
871
|
description?: string | undefined;
|
|
741
872
|
placeholder?: string | undefined;
|
|
742
|
-
}, "description" | "label" | "placeholder" | "
|
|
873
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
743
874
|
required?: boolean;
|
|
744
875
|
minDate?: Date;
|
|
745
876
|
maxDate?: Date;
|
|
746
877
|
}>;
|
|
747
|
-
readonly SwitchField:
|
|
878
|
+
readonly SwitchField: react642.FC<{
|
|
748
879
|
description?: string | undefined;
|
|
749
880
|
label: string;
|
|
750
881
|
helperText?: string | undefined;
|
|
751
882
|
}>;
|
|
752
|
-
readonly RadioGroupField:
|
|
883
|
+
readonly RadioGroupField: react642.FC<{
|
|
753
884
|
description?: string | undefined;
|
|
754
885
|
label: string;
|
|
755
|
-
tooltip?: string | undefined;
|
|
756
886
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
887
|
+
tooltip?: string | undefined;
|
|
757
888
|
options: {
|
|
758
889
|
label: string;
|
|
759
890
|
value: string;
|
|
@@ -761,107 +892,155 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
761
892
|
}[];
|
|
762
893
|
helperText?: string | undefined;
|
|
763
894
|
}>;
|
|
764
|
-
readonly CheckboxField:
|
|
895
|
+
readonly CheckboxField: react642.FC<{
|
|
765
896
|
description?: string | undefined;
|
|
766
897
|
label: string;
|
|
767
|
-
tooltip?: string | undefined;
|
|
768
898
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
899
|
+
tooltip?: string | undefined;
|
|
769
900
|
options: {
|
|
770
901
|
label: string;
|
|
771
902
|
value: string;
|
|
772
903
|
}[];
|
|
773
904
|
helperText?: string | undefined;
|
|
774
905
|
}>;
|
|
775
|
-
readonly
|
|
906
|
+
readonly SimpleTextField: react642.FC<{
|
|
907
|
+
label: string;
|
|
908
|
+
placeholder?: string;
|
|
909
|
+
required?: boolean;
|
|
910
|
+
maxLength?: number;
|
|
911
|
+
disabled?: boolean;
|
|
912
|
+
}>;
|
|
913
|
+
readonly SimpleEmailField: react642.FC<{
|
|
914
|
+
label: string;
|
|
915
|
+
placeholder?: string;
|
|
916
|
+
required?: boolean;
|
|
917
|
+
maxLength?: number;
|
|
918
|
+
disabled?: boolean;
|
|
919
|
+
}>;
|
|
920
|
+
readonly SimplePasswordField: react642.FC<{
|
|
921
|
+
label: string;
|
|
922
|
+
placeholder?: string;
|
|
923
|
+
required?: boolean;
|
|
924
|
+
disabled?: boolean;
|
|
925
|
+
}>;
|
|
926
|
+
readonly SimpleTextareaField: react642.FC<{
|
|
927
|
+
label: string;
|
|
928
|
+
placeholder?: string;
|
|
929
|
+
required?: boolean;
|
|
930
|
+
maxLength?: number;
|
|
931
|
+
rows?: number;
|
|
932
|
+
disabled?: boolean;
|
|
933
|
+
}>;
|
|
934
|
+
readonly SimpleNumberField: react642.FC<{
|
|
935
|
+
label: string;
|
|
936
|
+
placeholder?: string;
|
|
937
|
+
required?: boolean;
|
|
938
|
+
unit?: string;
|
|
939
|
+
allowNegative?: boolean;
|
|
940
|
+
disabled?: boolean;
|
|
941
|
+
}>;
|
|
942
|
+
readonly SimpleSelectField: react642.FC<{
|
|
943
|
+
label?: string;
|
|
944
|
+
placeholder?: string;
|
|
945
|
+
required?: boolean;
|
|
946
|
+
options: Array<{
|
|
947
|
+
value: string;
|
|
948
|
+
label: string;
|
|
949
|
+
}>;
|
|
950
|
+
}>;
|
|
951
|
+
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
952
|
+
readonly FieldGroup: react642.MemoExoticComponent<({
|
|
776
953
|
className,
|
|
777
954
|
...props
|
|
778
|
-
}: React.ComponentProps<"div">) =>
|
|
779
|
-
readonly Field:
|
|
955
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
956
|
+
readonly Field: react642.MemoExoticComponent<({
|
|
780
957
|
className,
|
|
781
958
|
orientation,
|
|
782
959
|
...props
|
|
783
960
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
784
961
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
785
|
-
} & class_variance_authority_types24.ClassProp) | undefined) => string>) =>
|
|
786
|
-
readonly FieldContent:
|
|
962
|
+
} & class_variance_authority_types24.ClassProp) | undefined) => string>) => react642.JSX.Element>;
|
|
963
|
+
readonly FieldContent: react642.MemoExoticComponent<({
|
|
787
964
|
className,
|
|
788
965
|
...props
|
|
789
|
-
}: React.ComponentProps<"div">) =>
|
|
790
|
-
readonly FieldLabel:
|
|
966
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
967
|
+
readonly FieldLabel: react642.MemoExoticComponent<({
|
|
791
968
|
className,
|
|
792
969
|
...props
|
|
793
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
794
|
-
readonly FieldContentMain:
|
|
970
|
+
}: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
|
|
971
|
+
readonly FieldContentMain: react642.MemoExoticComponent<({
|
|
795
972
|
className,
|
|
796
973
|
...props
|
|
797
|
-
}: React.ComponentProps<"div">) =>
|
|
798
|
-
readonly FieldSeparator:
|
|
974
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
975
|
+
readonly FieldSeparator: react642.MemoExoticComponent<({
|
|
799
976
|
children,
|
|
800
977
|
className,
|
|
801
978
|
...props
|
|
802
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
803
|
-
readonly FieldError:
|
|
979
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
|
|
980
|
+
readonly FieldError: react642.MemoExoticComponent<({
|
|
804
981
|
className,
|
|
805
982
|
children,
|
|
806
983
|
errors,
|
|
807
984
|
...props
|
|
808
|
-
}:
|
|
985
|
+
}: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
|
|
809
986
|
errors?: Array<{
|
|
810
987
|
code?: string;
|
|
811
988
|
message?: string;
|
|
812
989
|
} | undefined>;
|
|
813
|
-
}) =>
|
|
990
|
+
}) => react642.JSX.Element | null>;
|
|
814
991
|
}, {
|
|
815
|
-
readonly TanStackDialogForm:
|
|
992
|
+
readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
|
|
816
993
|
title: string;
|
|
817
994
|
submitText?: string;
|
|
995
|
+
className?: string;
|
|
818
996
|
open?: boolean;
|
|
819
997
|
onOpenChange?: (open: boolean) => void;
|
|
820
998
|
}>>;
|
|
821
|
-
readonly TanStackPopoverForm:
|
|
999
|
+
readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
|
|
822
1000
|
title: string;
|
|
823
1001
|
open?: boolean;
|
|
824
1002
|
contentClassName?: string;
|
|
825
1003
|
onOpenChange?: (open: boolean) => void;
|
|
826
1004
|
}>>;
|
|
827
|
-
readonly TanStackContainerForm:
|
|
828
|
-
children?:
|
|
1005
|
+
readonly TanStackContainerForm: react642.FC<{
|
|
1006
|
+
children?: react642.ReactNode | undefined;
|
|
829
1007
|
}>;
|
|
830
|
-
readonly TanStackSectionForm:
|
|
1008
|
+
readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
|
|
831
1009
|
title: string;
|
|
832
1010
|
}>>;
|
|
833
|
-
readonly TanStackCardForm:
|
|
1011
|
+
readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
|
|
834
1012
|
title: string;
|
|
835
1013
|
description?: string;
|
|
836
1014
|
onDelete?: () => void | Promise<void>;
|
|
837
1015
|
}>>;
|
|
838
|
-
readonly TanStackFieldGroup:
|
|
1016
|
+
readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
|
|
839
1017
|
label: string;
|
|
840
1018
|
description?: string;
|
|
841
1019
|
helperText?: string;
|
|
842
1020
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
843
1021
|
}>>;
|
|
844
|
-
readonly TanStackTitleField:
|
|
1022
|
+
readonly TanStackTitleField: react642.FC<{
|
|
845
1023
|
title: string;
|
|
846
1024
|
description?: string;
|
|
847
1025
|
helperText?: string;
|
|
848
1026
|
}>;
|
|
849
|
-
readonly TanStackActionsForm:
|
|
1027
|
+
readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
|
|
850
1028
|
type?: "create" | "update";
|
|
851
1029
|
}>>;
|
|
852
|
-
readonly TanStackActionSubmit:
|
|
1030
|
+
readonly TanStackActionSubmit: react642.FC<{
|
|
853
1031
|
label?: string;
|
|
854
1032
|
className?: string;
|
|
855
1033
|
}>;
|
|
856
|
-
|
|
1034
|
+
readonly ArrayCol: typeof ArrayCol;
|
|
1035
|
+
}, TRenderProps>) => react642.FunctionComponent<react642.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
857
1036
|
form: _tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
|
|
858
|
-
readonly TextField:
|
|
1037
|
+
readonly TextField: react642.FC<Pick<{
|
|
859
1038
|
label: string;
|
|
860
1039
|
name: string;
|
|
861
1040
|
camelCaseName: string;
|
|
862
1041
|
id: string;
|
|
863
1042
|
type: "text-field";
|
|
864
|
-
dataType?: "text" | "
|
|
1043
|
+
dataType?: "text" | "email" | "url" | "password" | undefined;
|
|
865
1044
|
rules?: {
|
|
866
1045
|
required?: boolean | undefined;
|
|
867
1046
|
maxLength?: number | undefined;
|
|
@@ -881,11 +1060,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
881
1060
|
showClearButton?: boolean | undefined;
|
|
882
1061
|
description?: string | undefined;
|
|
883
1062
|
placeholder?: string | undefined;
|
|
884
|
-
}, "description" | "label" | "placeholder" | "
|
|
1063
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
885
1064
|
required?: boolean;
|
|
886
1065
|
maxLength?: number;
|
|
887
1066
|
}>;
|
|
888
|
-
readonly TextareaField:
|
|
1067
|
+
readonly TextareaField: react642.FC<Pick<{
|
|
889
1068
|
label: string;
|
|
890
1069
|
name: string;
|
|
891
1070
|
camelCaseName: string;
|
|
@@ -909,11 +1088,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
909
1088
|
counter?: boolean | undefined;
|
|
910
1089
|
description?: string | undefined;
|
|
911
1090
|
placeholder?: string | undefined;
|
|
912
|
-
}, "description" | "label" | "placeholder" | "
|
|
1091
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
913
1092
|
required?: boolean;
|
|
914
1093
|
maxLength?: number;
|
|
915
1094
|
}>;
|
|
916
|
-
readonly TextEditorField:
|
|
1095
|
+
readonly TextEditorField: react642.FC<Pick<{
|
|
917
1096
|
label: string;
|
|
918
1097
|
name: string;
|
|
919
1098
|
camelCaseName: string;
|
|
@@ -930,7 +1109,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
930
1109
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
931
1110
|
required?: boolean;
|
|
932
1111
|
}>;
|
|
933
|
-
readonly NumberField:
|
|
1112
|
+
readonly NumberField: react642.FC<Pick<{
|
|
934
1113
|
label: string;
|
|
935
1114
|
name: string;
|
|
936
1115
|
camelCaseName: string;
|
|
@@ -966,11 +1145,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
966
1145
|
unit?: string | undefined;
|
|
967
1146
|
description?: string | undefined;
|
|
968
1147
|
placeholder?: string | undefined;
|
|
969
|
-
}, "description" | "label" | "placeholder" | "
|
|
1148
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
970
1149
|
required?: boolean;
|
|
971
1150
|
allowNegative?: boolean;
|
|
972
1151
|
}>;
|
|
973
|
-
readonly EmailField:
|
|
1152
|
+
readonly EmailField: react642.FC<Pick<{
|
|
974
1153
|
rules: {
|
|
975
1154
|
maxLength?: number | undefined;
|
|
976
1155
|
minLength?: number | undefined;
|
|
@@ -986,20 +1165,20 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
986
1165
|
showErrorMessage?: boolean | undefined;
|
|
987
1166
|
description?: string | undefined;
|
|
988
1167
|
placeholder?: string | undefined;
|
|
989
|
-
}, "description" | "label" | "placeholder" | "
|
|
1168
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
990
1169
|
required?: boolean;
|
|
991
1170
|
maxLength?: number;
|
|
992
1171
|
}>;
|
|
993
|
-
readonly PasswordField:
|
|
1172
|
+
readonly PasswordField: react642.FC<{
|
|
994
1173
|
description?: string | undefined;
|
|
995
1174
|
label: string;
|
|
996
1175
|
placeholder?: string | undefined;
|
|
997
|
-
tooltip?: string | undefined;
|
|
998
1176
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1177
|
+
tooltip?: string | undefined;
|
|
999
1178
|
helperText?: string | undefined;
|
|
1000
1179
|
showErrorMessage?: boolean | undefined;
|
|
1001
1180
|
}>;
|
|
1002
|
-
readonly SelectField:
|
|
1181
|
+
readonly SelectField: react642.FC<Pick<{
|
|
1003
1182
|
options: {
|
|
1004
1183
|
label: string;
|
|
1005
1184
|
value: string;
|
|
@@ -1024,10 +1203,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1024
1203
|
defaultValue?: string | undefined;
|
|
1025
1204
|
description?: string | undefined;
|
|
1026
1205
|
placeholder?: string | undefined;
|
|
1027
|
-
}, "description" | "label" | "
|
|
1206
|
+
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
1028
1207
|
required?: boolean;
|
|
1029
1208
|
}>;
|
|
1030
|
-
readonly ComboboxField:
|
|
1209
|
+
readonly ComboboxField: react642.FC<{
|
|
1031
1210
|
label: string;
|
|
1032
1211
|
description?: string;
|
|
1033
1212
|
placeholder?: string;
|
|
@@ -1038,7 +1217,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1038
1217
|
label: string;
|
|
1039
1218
|
}>;
|
|
1040
1219
|
}>;
|
|
1041
|
-
readonly DateField:
|
|
1220
|
+
readonly DateField: react642.FC<Pick<{
|
|
1042
1221
|
label: string;
|
|
1043
1222
|
name: string;
|
|
1044
1223
|
camelCaseName: string;
|
|
@@ -1056,21 +1235,21 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1056
1235
|
defaultValue?: string | undefined;
|
|
1057
1236
|
description?: string | undefined;
|
|
1058
1237
|
placeholder?: string | undefined;
|
|
1059
|
-
}, "description" | "label" | "placeholder" | "
|
|
1238
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1060
1239
|
required?: boolean;
|
|
1061
1240
|
minDate?: Date;
|
|
1062
1241
|
maxDate?: Date;
|
|
1063
1242
|
}>;
|
|
1064
|
-
readonly SwitchField:
|
|
1243
|
+
readonly SwitchField: react642.FC<{
|
|
1065
1244
|
description?: string | undefined;
|
|
1066
1245
|
label: string;
|
|
1067
1246
|
helperText?: string | undefined;
|
|
1068
1247
|
}>;
|
|
1069
|
-
readonly RadioGroupField:
|
|
1248
|
+
readonly RadioGroupField: react642.FC<{
|
|
1070
1249
|
description?: string | undefined;
|
|
1071
1250
|
label: string;
|
|
1072
|
-
tooltip?: string | undefined;
|
|
1073
1251
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1252
|
+
tooltip?: string | undefined;
|
|
1074
1253
|
options: {
|
|
1075
1254
|
label: string;
|
|
1076
1255
|
value: string;
|
|
@@ -1078,111 +1257,159 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1078
1257
|
}[];
|
|
1079
1258
|
helperText?: string | undefined;
|
|
1080
1259
|
}>;
|
|
1081
|
-
readonly CheckboxField:
|
|
1260
|
+
readonly CheckboxField: react642.FC<{
|
|
1082
1261
|
description?: string | undefined;
|
|
1083
1262
|
label: string;
|
|
1084
|
-
tooltip?: string | undefined;
|
|
1085
1263
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1264
|
+
tooltip?: string | undefined;
|
|
1086
1265
|
options: {
|
|
1087
1266
|
label: string;
|
|
1088
1267
|
value: string;
|
|
1089
1268
|
}[];
|
|
1090
1269
|
helperText?: string | undefined;
|
|
1091
1270
|
}>;
|
|
1092
|
-
readonly
|
|
1271
|
+
readonly SimpleTextField: react642.FC<{
|
|
1272
|
+
label: string;
|
|
1273
|
+
placeholder?: string;
|
|
1274
|
+
required?: boolean;
|
|
1275
|
+
maxLength?: number;
|
|
1276
|
+
disabled?: boolean;
|
|
1277
|
+
}>;
|
|
1278
|
+
readonly SimpleEmailField: react642.FC<{
|
|
1279
|
+
label: string;
|
|
1280
|
+
placeholder?: string;
|
|
1281
|
+
required?: boolean;
|
|
1282
|
+
maxLength?: number;
|
|
1283
|
+
disabled?: boolean;
|
|
1284
|
+
}>;
|
|
1285
|
+
readonly SimplePasswordField: react642.FC<{
|
|
1286
|
+
label: string;
|
|
1287
|
+
placeholder?: string;
|
|
1288
|
+
required?: boolean;
|
|
1289
|
+
disabled?: boolean;
|
|
1290
|
+
}>;
|
|
1291
|
+
readonly SimpleTextareaField: react642.FC<{
|
|
1292
|
+
label: string;
|
|
1293
|
+
placeholder?: string;
|
|
1294
|
+
required?: boolean;
|
|
1295
|
+
maxLength?: number;
|
|
1296
|
+
rows?: number;
|
|
1297
|
+
disabled?: boolean;
|
|
1298
|
+
}>;
|
|
1299
|
+
readonly SimpleNumberField: react642.FC<{
|
|
1300
|
+
label: string;
|
|
1301
|
+
placeholder?: string;
|
|
1302
|
+
required?: boolean;
|
|
1303
|
+
unit?: string;
|
|
1304
|
+
allowNegative?: boolean;
|
|
1305
|
+
disabled?: boolean;
|
|
1306
|
+
}>;
|
|
1307
|
+
readonly SimpleSelectField: react642.FC<{
|
|
1308
|
+
label?: string;
|
|
1309
|
+
placeholder?: string;
|
|
1310
|
+
required?: boolean;
|
|
1311
|
+
options: Array<{
|
|
1312
|
+
value: string;
|
|
1313
|
+
label: string;
|
|
1314
|
+
}>;
|
|
1315
|
+
}>;
|
|
1316
|
+
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
1317
|
+
readonly FieldGroup: react642.MemoExoticComponent<({
|
|
1093
1318
|
className,
|
|
1094
1319
|
...props
|
|
1095
|
-
}: React.ComponentProps<"div">) =>
|
|
1096
|
-
readonly Field:
|
|
1320
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1321
|
+
readonly Field: react642.MemoExoticComponent<({
|
|
1097
1322
|
className,
|
|
1098
1323
|
orientation,
|
|
1099
1324
|
...props
|
|
1100
1325
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1101
1326
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1102
|
-
} & class_variance_authority_types24.ClassProp) | undefined) => string>) =>
|
|
1103
|
-
readonly FieldContent:
|
|
1327
|
+
} & class_variance_authority_types24.ClassProp) | undefined) => string>) => react642.JSX.Element>;
|
|
1328
|
+
readonly FieldContent: react642.MemoExoticComponent<({
|
|
1104
1329
|
className,
|
|
1105
1330
|
...props
|
|
1106
|
-
}: React.ComponentProps<"div">) =>
|
|
1107
|
-
readonly FieldLabel:
|
|
1331
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1332
|
+
readonly FieldLabel: react642.MemoExoticComponent<({
|
|
1108
1333
|
className,
|
|
1109
1334
|
...props
|
|
1110
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
1111
|
-
readonly FieldContentMain:
|
|
1335
|
+
}: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
|
|
1336
|
+
readonly FieldContentMain: react642.MemoExoticComponent<({
|
|
1112
1337
|
className,
|
|
1113
1338
|
...props
|
|
1114
|
-
}: React.ComponentProps<"div">) =>
|
|
1115
|
-
readonly FieldSeparator:
|
|
1339
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1340
|
+
readonly FieldSeparator: react642.MemoExoticComponent<({
|
|
1116
1341
|
children,
|
|
1117
1342
|
className,
|
|
1118
1343
|
...props
|
|
1119
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
1120
|
-
readonly FieldError:
|
|
1344
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
|
|
1345
|
+
readonly FieldError: react642.MemoExoticComponent<({
|
|
1121
1346
|
className,
|
|
1122
1347
|
children,
|
|
1123
1348
|
errors,
|
|
1124
1349
|
...props
|
|
1125
|
-
}:
|
|
1350
|
+
}: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
|
|
1126
1351
|
errors?: Array<{
|
|
1127
1352
|
code?: string;
|
|
1128
1353
|
message?: string;
|
|
1129
1354
|
} | undefined>;
|
|
1130
|
-
}) =>
|
|
1355
|
+
}) => react642.JSX.Element | null>;
|
|
1131
1356
|
}, {
|
|
1132
|
-
readonly TanStackDialogForm:
|
|
1357
|
+
readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
|
|
1133
1358
|
title: string;
|
|
1134
1359
|
submitText?: string;
|
|
1360
|
+
className?: string;
|
|
1135
1361
|
open?: boolean;
|
|
1136
1362
|
onOpenChange?: (open: boolean) => void;
|
|
1137
1363
|
}>>;
|
|
1138
|
-
readonly TanStackPopoverForm:
|
|
1364
|
+
readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
|
|
1139
1365
|
title: string;
|
|
1140
1366
|
open?: boolean;
|
|
1141
1367
|
contentClassName?: string;
|
|
1142
1368
|
onOpenChange?: (open: boolean) => void;
|
|
1143
1369
|
}>>;
|
|
1144
|
-
readonly TanStackContainerForm:
|
|
1145
|
-
children?:
|
|
1370
|
+
readonly TanStackContainerForm: react642.FC<{
|
|
1371
|
+
children?: react642.ReactNode | undefined;
|
|
1146
1372
|
}>;
|
|
1147
|
-
readonly TanStackSectionForm:
|
|
1373
|
+
readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
|
|
1148
1374
|
title: string;
|
|
1149
1375
|
}>>;
|
|
1150
|
-
readonly TanStackCardForm:
|
|
1376
|
+
readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
|
|
1151
1377
|
title: string;
|
|
1152
1378
|
description?: string;
|
|
1153
1379
|
onDelete?: () => void | Promise<void>;
|
|
1154
1380
|
}>>;
|
|
1155
|
-
readonly TanStackFieldGroup:
|
|
1381
|
+
readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
|
|
1156
1382
|
label: string;
|
|
1157
1383
|
description?: string;
|
|
1158
1384
|
helperText?: string;
|
|
1159
1385
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1160
1386
|
}>>;
|
|
1161
|
-
readonly TanStackTitleField:
|
|
1387
|
+
readonly TanStackTitleField: react642.FC<{
|
|
1162
1388
|
title: string;
|
|
1163
1389
|
description?: string;
|
|
1164
1390
|
helperText?: string;
|
|
1165
1391
|
}>;
|
|
1166
|
-
readonly TanStackActionsForm:
|
|
1392
|
+
readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
|
|
1167
1393
|
type?: "create" | "update";
|
|
1168
1394
|
}>>;
|
|
1169
|
-
readonly TanStackActionSubmit:
|
|
1395
|
+
readonly TanStackActionSubmit: react642.FC<{
|
|
1170
1396
|
label?: string;
|
|
1171
1397
|
className?: string;
|
|
1172
1398
|
}>;
|
|
1399
|
+
readonly ArrayCol: typeof ArrayCol;
|
|
1173
1400
|
}>;
|
|
1174
1401
|
}>>, withTanStackFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps extends object = {}>({
|
|
1175
1402
|
render,
|
|
1176
1403
|
props,
|
|
1177
1404
|
defaultValues
|
|
1178
1405
|
}: _tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
1179
|
-
readonly TextField:
|
|
1406
|
+
readonly TextField: react642.FC<Pick<{
|
|
1180
1407
|
label: string;
|
|
1181
1408
|
name: string;
|
|
1182
1409
|
camelCaseName: string;
|
|
1183
1410
|
id: string;
|
|
1184
1411
|
type: "text-field";
|
|
1185
|
-
dataType?: "text" | "
|
|
1412
|
+
dataType?: "text" | "email" | "url" | "password" | undefined;
|
|
1186
1413
|
rules?: {
|
|
1187
1414
|
required?: boolean | undefined;
|
|
1188
1415
|
maxLength?: number | undefined;
|
|
@@ -1202,11 +1429,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1202
1429
|
showClearButton?: boolean | undefined;
|
|
1203
1430
|
description?: string | undefined;
|
|
1204
1431
|
placeholder?: string | undefined;
|
|
1205
|
-
}, "description" | "label" | "placeholder" | "
|
|
1432
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
1206
1433
|
required?: boolean;
|
|
1207
1434
|
maxLength?: number;
|
|
1208
1435
|
}>;
|
|
1209
|
-
readonly TextareaField:
|
|
1436
|
+
readonly TextareaField: react642.FC<Pick<{
|
|
1210
1437
|
label: string;
|
|
1211
1438
|
name: string;
|
|
1212
1439
|
camelCaseName: string;
|
|
@@ -1230,11 +1457,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1230
1457
|
counter?: boolean | undefined;
|
|
1231
1458
|
description?: string | undefined;
|
|
1232
1459
|
placeholder?: string | undefined;
|
|
1233
|
-
}, "description" | "label" | "placeholder" | "
|
|
1460
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
1234
1461
|
required?: boolean;
|
|
1235
1462
|
maxLength?: number;
|
|
1236
1463
|
}>;
|
|
1237
|
-
readonly TextEditorField:
|
|
1464
|
+
readonly TextEditorField: react642.FC<Pick<{
|
|
1238
1465
|
label: string;
|
|
1239
1466
|
name: string;
|
|
1240
1467
|
camelCaseName: string;
|
|
@@ -1251,7 +1478,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1251
1478
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1252
1479
|
required?: boolean;
|
|
1253
1480
|
}>;
|
|
1254
|
-
readonly NumberField:
|
|
1481
|
+
readonly NumberField: react642.FC<Pick<{
|
|
1255
1482
|
label: string;
|
|
1256
1483
|
name: string;
|
|
1257
1484
|
camelCaseName: string;
|
|
@@ -1287,11 +1514,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1287
1514
|
unit?: string | undefined;
|
|
1288
1515
|
description?: string | undefined;
|
|
1289
1516
|
placeholder?: string | undefined;
|
|
1290
|
-
}, "description" | "label" | "placeholder" | "
|
|
1517
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
1291
1518
|
required?: boolean;
|
|
1292
1519
|
allowNegative?: boolean;
|
|
1293
1520
|
}>;
|
|
1294
|
-
readonly EmailField:
|
|
1521
|
+
readonly EmailField: react642.FC<Pick<{
|
|
1295
1522
|
rules: {
|
|
1296
1523
|
maxLength?: number | undefined;
|
|
1297
1524
|
minLength?: number | undefined;
|
|
@@ -1307,20 +1534,20 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1307
1534
|
showErrorMessage?: boolean | undefined;
|
|
1308
1535
|
description?: string | undefined;
|
|
1309
1536
|
placeholder?: string | undefined;
|
|
1310
|
-
}, "description" | "label" | "placeholder" | "
|
|
1537
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1311
1538
|
required?: boolean;
|
|
1312
1539
|
maxLength?: number;
|
|
1313
1540
|
}>;
|
|
1314
|
-
readonly PasswordField:
|
|
1541
|
+
readonly PasswordField: react642.FC<{
|
|
1315
1542
|
description?: string | undefined;
|
|
1316
1543
|
label: string;
|
|
1317
1544
|
placeholder?: string | undefined;
|
|
1318
|
-
tooltip?: string | undefined;
|
|
1319
1545
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1546
|
+
tooltip?: string | undefined;
|
|
1320
1547
|
helperText?: string | undefined;
|
|
1321
1548
|
showErrorMessage?: boolean | undefined;
|
|
1322
1549
|
}>;
|
|
1323
|
-
readonly SelectField:
|
|
1550
|
+
readonly SelectField: react642.FC<Pick<{
|
|
1324
1551
|
options: {
|
|
1325
1552
|
label: string;
|
|
1326
1553
|
value: string;
|
|
@@ -1345,10 +1572,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1345
1572
|
defaultValue?: string | undefined;
|
|
1346
1573
|
description?: string | undefined;
|
|
1347
1574
|
placeholder?: string | undefined;
|
|
1348
|
-
}, "description" | "label" | "
|
|
1575
|
+
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
1349
1576
|
required?: boolean;
|
|
1350
1577
|
}>;
|
|
1351
|
-
readonly ComboboxField:
|
|
1578
|
+
readonly ComboboxField: react642.FC<{
|
|
1352
1579
|
label: string;
|
|
1353
1580
|
description?: string;
|
|
1354
1581
|
placeholder?: string;
|
|
@@ -1359,7 +1586,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1359
1586
|
label: string;
|
|
1360
1587
|
}>;
|
|
1361
1588
|
}>;
|
|
1362
|
-
readonly DateField:
|
|
1589
|
+
readonly DateField: react642.FC<Pick<{
|
|
1363
1590
|
label: string;
|
|
1364
1591
|
name: string;
|
|
1365
1592
|
camelCaseName: string;
|
|
@@ -1377,21 +1604,21 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1377
1604
|
defaultValue?: string | undefined;
|
|
1378
1605
|
description?: string | undefined;
|
|
1379
1606
|
placeholder?: string | undefined;
|
|
1380
|
-
}, "description" | "label" | "placeholder" | "
|
|
1607
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1381
1608
|
required?: boolean;
|
|
1382
1609
|
minDate?: Date;
|
|
1383
1610
|
maxDate?: Date;
|
|
1384
1611
|
}>;
|
|
1385
|
-
readonly SwitchField:
|
|
1612
|
+
readonly SwitchField: react642.FC<{
|
|
1386
1613
|
description?: string | undefined;
|
|
1387
1614
|
label: string;
|
|
1388
1615
|
helperText?: string | undefined;
|
|
1389
1616
|
}>;
|
|
1390
|
-
readonly RadioGroupField:
|
|
1617
|
+
readonly RadioGroupField: react642.FC<{
|
|
1391
1618
|
description?: string | undefined;
|
|
1392
1619
|
label: string;
|
|
1393
|
-
tooltip?: string | undefined;
|
|
1394
1620
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1621
|
+
tooltip?: string | undefined;
|
|
1395
1622
|
options: {
|
|
1396
1623
|
label: string;
|
|
1397
1624
|
value: string;
|
|
@@ -1399,107 +1626,155 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1399
1626
|
}[];
|
|
1400
1627
|
helperText?: string | undefined;
|
|
1401
1628
|
}>;
|
|
1402
|
-
readonly CheckboxField:
|
|
1629
|
+
readonly CheckboxField: react642.FC<{
|
|
1403
1630
|
description?: string | undefined;
|
|
1404
1631
|
label: string;
|
|
1405
|
-
tooltip?: string | undefined;
|
|
1406
1632
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1633
|
+
tooltip?: string | undefined;
|
|
1407
1634
|
options: {
|
|
1408
1635
|
label: string;
|
|
1409
1636
|
value: string;
|
|
1410
1637
|
}[];
|
|
1411
1638
|
helperText?: string | undefined;
|
|
1412
1639
|
}>;
|
|
1413
|
-
readonly
|
|
1640
|
+
readonly SimpleTextField: react642.FC<{
|
|
1641
|
+
label: string;
|
|
1642
|
+
placeholder?: string;
|
|
1643
|
+
required?: boolean;
|
|
1644
|
+
maxLength?: number;
|
|
1645
|
+
disabled?: boolean;
|
|
1646
|
+
}>;
|
|
1647
|
+
readonly SimpleEmailField: react642.FC<{
|
|
1648
|
+
label: string;
|
|
1649
|
+
placeholder?: string;
|
|
1650
|
+
required?: boolean;
|
|
1651
|
+
maxLength?: number;
|
|
1652
|
+
disabled?: boolean;
|
|
1653
|
+
}>;
|
|
1654
|
+
readonly SimplePasswordField: react642.FC<{
|
|
1655
|
+
label: string;
|
|
1656
|
+
placeholder?: string;
|
|
1657
|
+
required?: boolean;
|
|
1658
|
+
disabled?: boolean;
|
|
1659
|
+
}>;
|
|
1660
|
+
readonly SimpleTextareaField: react642.FC<{
|
|
1661
|
+
label: string;
|
|
1662
|
+
placeholder?: string;
|
|
1663
|
+
required?: boolean;
|
|
1664
|
+
maxLength?: number;
|
|
1665
|
+
rows?: number;
|
|
1666
|
+
disabled?: boolean;
|
|
1667
|
+
}>;
|
|
1668
|
+
readonly SimpleNumberField: react642.FC<{
|
|
1669
|
+
label: string;
|
|
1670
|
+
placeholder?: string;
|
|
1671
|
+
required?: boolean;
|
|
1672
|
+
unit?: string;
|
|
1673
|
+
allowNegative?: boolean;
|
|
1674
|
+
disabled?: boolean;
|
|
1675
|
+
}>;
|
|
1676
|
+
readonly SimpleSelectField: react642.FC<{
|
|
1677
|
+
label?: string;
|
|
1678
|
+
placeholder?: string;
|
|
1679
|
+
required?: boolean;
|
|
1680
|
+
options: Array<{
|
|
1681
|
+
value: string;
|
|
1682
|
+
label: string;
|
|
1683
|
+
}>;
|
|
1684
|
+
}>;
|
|
1685
|
+
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
1686
|
+
readonly FieldGroup: react642.MemoExoticComponent<({
|
|
1414
1687
|
className,
|
|
1415
1688
|
...props
|
|
1416
|
-
}: React.ComponentProps<"div">) =>
|
|
1417
|
-
readonly Field:
|
|
1689
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1690
|
+
readonly Field: react642.MemoExoticComponent<({
|
|
1418
1691
|
className,
|
|
1419
1692
|
orientation,
|
|
1420
1693
|
...props
|
|
1421
1694
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1422
1695
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1423
|
-
} & class_variance_authority_types24.ClassProp) | undefined) => string>) =>
|
|
1424
|
-
readonly FieldContent:
|
|
1696
|
+
} & class_variance_authority_types24.ClassProp) | undefined) => string>) => react642.JSX.Element>;
|
|
1697
|
+
readonly FieldContent: react642.MemoExoticComponent<({
|
|
1425
1698
|
className,
|
|
1426
1699
|
...props
|
|
1427
|
-
}: React.ComponentProps<"div">) =>
|
|
1428
|
-
readonly FieldLabel:
|
|
1700
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1701
|
+
readonly FieldLabel: react642.MemoExoticComponent<({
|
|
1429
1702
|
className,
|
|
1430
1703
|
...props
|
|
1431
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
1432
|
-
readonly FieldContentMain:
|
|
1704
|
+
}: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
|
|
1705
|
+
readonly FieldContentMain: react642.MemoExoticComponent<({
|
|
1433
1706
|
className,
|
|
1434
1707
|
...props
|
|
1435
|
-
}: React.ComponentProps<"div">) =>
|
|
1436
|
-
readonly FieldSeparator:
|
|
1708
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1709
|
+
readonly FieldSeparator: react642.MemoExoticComponent<({
|
|
1437
1710
|
children,
|
|
1438
1711
|
className,
|
|
1439
1712
|
...props
|
|
1440
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
1441
|
-
readonly FieldError:
|
|
1713
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
|
|
1714
|
+
readonly FieldError: react642.MemoExoticComponent<({
|
|
1442
1715
|
className,
|
|
1443
1716
|
children,
|
|
1444
1717
|
errors,
|
|
1445
1718
|
...props
|
|
1446
|
-
}:
|
|
1719
|
+
}: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
|
|
1447
1720
|
errors?: Array<{
|
|
1448
1721
|
code?: string;
|
|
1449
1722
|
message?: string;
|
|
1450
1723
|
} | undefined>;
|
|
1451
|
-
}) =>
|
|
1724
|
+
}) => react642.JSX.Element | null>;
|
|
1452
1725
|
}, {
|
|
1453
|
-
readonly TanStackDialogForm:
|
|
1726
|
+
readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
|
|
1454
1727
|
title: string;
|
|
1455
1728
|
submitText?: string;
|
|
1729
|
+
className?: string;
|
|
1456
1730
|
open?: boolean;
|
|
1457
1731
|
onOpenChange?: (open: boolean) => void;
|
|
1458
1732
|
}>>;
|
|
1459
|
-
readonly TanStackPopoverForm:
|
|
1733
|
+
readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
|
|
1460
1734
|
title: string;
|
|
1461
1735
|
open?: boolean;
|
|
1462
1736
|
contentClassName?: string;
|
|
1463
1737
|
onOpenChange?: (open: boolean) => void;
|
|
1464
1738
|
}>>;
|
|
1465
|
-
readonly TanStackContainerForm:
|
|
1466
|
-
children?:
|
|
1739
|
+
readonly TanStackContainerForm: react642.FC<{
|
|
1740
|
+
children?: react642.ReactNode | undefined;
|
|
1467
1741
|
}>;
|
|
1468
|
-
readonly TanStackSectionForm:
|
|
1742
|
+
readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
|
|
1469
1743
|
title: string;
|
|
1470
1744
|
}>>;
|
|
1471
|
-
readonly TanStackCardForm:
|
|
1745
|
+
readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
|
|
1472
1746
|
title: string;
|
|
1473
1747
|
description?: string;
|
|
1474
1748
|
onDelete?: () => void | Promise<void>;
|
|
1475
1749
|
}>>;
|
|
1476
|
-
readonly TanStackFieldGroup:
|
|
1750
|
+
readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
|
|
1477
1751
|
label: string;
|
|
1478
1752
|
description?: string;
|
|
1479
1753
|
helperText?: string;
|
|
1480
1754
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1481
1755
|
}>>;
|
|
1482
|
-
readonly TanStackTitleField:
|
|
1756
|
+
readonly TanStackTitleField: react642.FC<{
|
|
1483
1757
|
title: string;
|
|
1484
1758
|
description?: string;
|
|
1485
1759
|
helperText?: string;
|
|
1486
1760
|
}>;
|
|
1487
|
-
readonly TanStackActionsForm:
|
|
1761
|
+
readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
|
|
1488
1762
|
type?: "create" | "update";
|
|
1489
1763
|
}>>;
|
|
1490
|
-
readonly TanStackActionSubmit:
|
|
1764
|
+
readonly TanStackActionSubmit: react642.FC<{
|
|
1491
1765
|
label?: string;
|
|
1492
1766
|
className?: string;
|
|
1493
1767
|
}>;
|
|
1494
|
-
|
|
1768
|
+
readonly ArrayCol: typeof ArrayCol;
|
|
1769
|
+
}, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends _tanstack_form_core0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_form_core0.FieldsMap<TFormData, TFieldGroupData>, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: react642.PropsWithChildren<NoInfer<TRenderProps> & {
|
|
1495
1770
|
form: _tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
1496
|
-
readonly TextField:
|
|
1771
|
+
readonly TextField: react642.FC<Pick<{
|
|
1497
1772
|
label: string;
|
|
1498
1773
|
name: string;
|
|
1499
1774
|
camelCaseName: string;
|
|
1500
1775
|
id: string;
|
|
1501
1776
|
type: "text-field";
|
|
1502
|
-
dataType?: "text" | "
|
|
1777
|
+
dataType?: "text" | "email" | "url" | "password" | undefined;
|
|
1503
1778
|
rules?: {
|
|
1504
1779
|
required?: boolean | undefined;
|
|
1505
1780
|
maxLength?: number | undefined;
|
|
@@ -1519,11 +1794,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1519
1794
|
showClearButton?: boolean | undefined;
|
|
1520
1795
|
description?: string | undefined;
|
|
1521
1796
|
placeholder?: string | undefined;
|
|
1522
|
-
}, "description" | "label" | "placeholder" | "
|
|
1797
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
1523
1798
|
required?: boolean;
|
|
1524
1799
|
maxLength?: number;
|
|
1525
1800
|
}>;
|
|
1526
|
-
readonly TextareaField:
|
|
1801
|
+
readonly TextareaField: react642.FC<Pick<{
|
|
1527
1802
|
label: string;
|
|
1528
1803
|
name: string;
|
|
1529
1804
|
camelCaseName: string;
|
|
@@ -1547,11 +1822,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1547
1822
|
counter?: boolean | undefined;
|
|
1548
1823
|
description?: string | undefined;
|
|
1549
1824
|
placeholder?: string | undefined;
|
|
1550
|
-
}, "description" | "label" | "placeholder" | "
|
|
1825
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
1551
1826
|
required?: boolean;
|
|
1552
1827
|
maxLength?: number;
|
|
1553
1828
|
}>;
|
|
1554
|
-
readonly TextEditorField:
|
|
1829
|
+
readonly TextEditorField: react642.FC<Pick<{
|
|
1555
1830
|
label: string;
|
|
1556
1831
|
name: string;
|
|
1557
1832
|
camelCaseName: string;
|
|
@@ -1568,7 +1843,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1568
1843
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1569
1844
|
required?: boolean;
|
|
1570
1845
|
}>;
|
|
1571
|
-
readonly NumberField:
|
|
1846
|
+
readonly NumberField: react642.FC<Pick<{
|
|
1572
1847
|
label: string;
|
|
1573
1848
|
name: string;
|
|
1574
1849
|
camelCaseName: string;
|
|
@@ -1604,11 +1879,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1604
1879
|
unit?: string | undefined;
|
|
1605
1880
|
description?: string | undefined;
|
|
1606
1881
|
placeholder?: string | undefined;
|
|
1607
|
-
}, "description" | "label" | "placeholder" | "
|
|
1882
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
1608
1883
|
required?: boolean;
|
|
1609
1884
|
allowNegative?: boolean;
|
|
1610
1885
|
}>;
|
|
1611
|
-
readonly EmailField:
|
|
1886
|
+
readonly EmailField: react642.FC<Pick<{
|
|
1612
1887
|
rules: {
|
|
1613
1888
|
maxLength?: number | undefined;
|
|
1614
1889
|
minLength?: number | undefined;
|
|
@@ -1624,20 +1899,20 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1624
1899
|
showErrorMessage?: boolean | undefined;
|
|
1625
1900
|
description?: string | undefined;
|
|
1626
1901
|
placeholder?: string | undefined;
|
|
1627
|
-
}, "description" | "label" | "placeholder" | "
|
|
1902
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1628
1903
|
required?: boolean;
|
|
1629
1904
|
maxLength?: number;
|
|
1630
1905
|
}>;
|
|
1631
|
-
readonly PasswordField:
|
|
1906
|
+
readonly PasswordField: react642.FC<{
|
|
1632
1907
|
description?: string | undefined;
|
|
1633
1908
|
label: string;
|
|
1634
1909
|
placeholder?: string | undefined;
|
|
1635
|
-
tooltip?: string | undefined;
|
|
1636
1910
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1911
|
+
tooltip?: string | undefined;
|
|
1637
1912
|
helperText?: string | undefined;
|
|
1638
1913
|
showErrorMessage?: boolean | undefined;
|
|
1639
1914
|
}>;
|
|
1640
|
-
readonly SelectField:
|
|
1915
|
+
readonly SelectField: react642.FC<Pick<{
|
|
1641
1916
|
options: {
|
|
1642
1917
|
label: string;
|
|
1643
1918
|
value: string;
|
|
@@ -1662,10 +1937,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1662
1937
|
defaultValue?: string | undefined;
|
|
1663
1938
|
description?: string | undefined;
|
|
1664
1939
|
placeholder?: string | undefined;
|
|
1665
|
-
}, "description" | "label" | "
|
|
1940
|
+
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
1666
1941
|
required?: boolean;
|
|
1667
1942
|
}>;
|
|
1668
|
-
readonly ComboboxField:
|
|
1943
|
+
readonly ComboboxField: react642.FC<{
|
|
1669
1944
|
label: string;
|
|
1670
1945
|
description?: string;
|
|
1671
1946
|
placeholder?: string;
|
|
@@ -1676,7 +1951,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1676
1951
|
label: string;
|
|
1677
1952
|
}>;
|
|
1678
1953
|
}>;
|
|
1679
|
-
readonly DateField:
|
|
1954
|
+
readonly DateField: react642.FC<Pick<{
|
|
1680
1955
|
label: string;
|
|
1681
1956
|
name: string;
|
|
1682
1957
|
camelCaseName: string;
|
|
@@ -1694,21 +1969,21 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1694
1969
|
defaultValue?: string | undefined;
|
|
1695
1970
|
description?: string | undefined;
|
|
1696
1971
|
placeholder?: string | undefined;
|
|
1697
|
-
}, "description" | "label" | "placeholder" | "
|
|
1972
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1698
1973
|
required?: boolean;
|
|
1699
1974
|
minDate?: Date;
|
|
1700
1975
|
maxDate?: Date;
|
|
1701
1976
|
}>;
|
|
1702
|
-
readonly SwitchField:
|
|
1977
|
+
readonly SwitchField: react642.FC<{
|
|
1703
1978
|
description?: string | undefined;
|
|
1704
1979
|
label: string;
|
|
1705
1980
|
helperText?: string | undefined;
|
|
1706
1981
|
}>;
|
|
1707
|
-
readonly RadioGroupField:
|
|
1982
|
+
readonly RadioGroupField: react642.FC<{
|
|
1708
1983
|
description?: string | undefined;
|
|
1709
1984
|
label: string;
|
|
1710
|
-
tooltip?: string | undefined;
|
|
1711
1985
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1986
|
+
tooltip?: string | undefined;
|
|
1712
1987
|
options: {
|
|
1713
1988
|
label: string;
|
|
1714
1989
|
value: string;
|
|
@@ -1716,106 +1991,154 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1716
1991
|
}[];
|
|
1717
1992
|
helperText?: string | undefined;
|
|
1718
1993
|
}>;
|
|
1719
|
-
readonly CheckboxField:
|
|
1994
|
+
readonly CheckboxField: react642.FC<{
|
|
1720
1995
|
description?: string | undefined;
|
|
1721
1996
|
label: string;
|
|
1722
|
-
tooltip?: string | undefined;
|
|
1723
1997
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1998
|
+
tooltip?: string | undefined;
|
|
1724
1999
|
options: {
|
|
1725
2000
|
label: string;
|
|
1726
2001
|
value: string;
|
|
1727
2002
|
}[];
|
|
1728
2003
|
helperText?: string | undefined;
|
|
1729
2004
|
}>;
|
|
1730
|
-
readonly
|
|
2005
|
+
readonly SimpleTextField: react642.FC<{
|
|
2006
|
+
label: string;
|
|
2007
|
+
placeholder?: string;
|
|
2008
|
+
required?: boolean;
|
|
2009
|
+
maxLength?: number;
|
|
2010
|
+
disabled?: boolean;
|
|
2011
|
+
}>;
|
|
2012
|
+
readonly SimpleEmailField: react642.FC<{
|
|
2013
|
+
label: string;
|
|
2014
|
+
placeholder?: string;
|
|
2015
|
+
required?: boolean;
|
|
2016
|
+
maxLength?: number;
|
|
2017
|
+
disabled?: boolean;
|
|
2018
|
+
}>;
|
|
2019
|
+
readonly SimplePasswordField: react642.FC<{
|
|
2020
|
+
label: string;
|
|
2021
|
+
placeholder?: string;
|
|
2022
|
+
required?: boolean;
|
|
2023
|
+
disabled?: boolean;
|
|
2024
|
+
}>;
|
|
2025
|
+
readonly SimpleTextareaField: react642.FC<{
|
|
2026
|
+
label: string;
|
|
2027
|
+
placeholder?: string;
|
|
2028
|
+
required?: boolean;
|
|
2029
|
+
maxLength?: number;
|
|
2030
|
+
rows?: number;
|
|
2031
|
+
disabled?: boolean;
|
|
2032
|
+
}>;
|
|
2033
|
+
readonly SimpleNumberField: react642.FC<{
|
|
2034
|
+
label: string;
|
|
2035
|
+
placeholder?: string;
|
|
2036
|
+
required?: boolean;
|
|
2037
|
+
unit?: string;
|
|
2038
|
+
allowNegative?: boolean;
|
|
2039
|
+
disabled?: boolean;
|
|
2040
|
+
}>;
|
|
2041
|
+
readonly SimpleSelectField: react642.FC<{
|
|
2042
|
+
label?: string;
|
|
2043
|
+
placeholder?: string;
|
|
2044
|
+
required?: boolean;
|
|
2045
|
+
options: Array<{
|
|
2046
|
+
value: string;
|
|
2047
|
+
label: string;
|
|
2048
|
+
}>;
|
|
2049
|
+
}>;
|
|
2050
|
+
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
2051
|
+
readonly FieldGroup: react642.MemoExoticComponent<({
|
|
1731
2052
|
className,
|
|
1732
2053
|
...props
|
|
1733
|
-
}: React.ComponentProps<"div">) =>
|
|
1734
|
-
readonly Field:
|
|
2054
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
2055
|
+
readonly Field: react642.MemoExoticComponent<({
|
|
1735
2056
|
className,
|
|
1736
2057
|
orientation,
|
|
1737
2058
|
...props
|
|
1738
2059
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1739
2060
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1740
|
-
} & class_variance_authority_types24.ClassProp) | undefined) => string>) =>
|
|
1741
|
-
readonly FieldContent:
|
|
2061
|
+
} & class_variance_authority_types24.ClassProp) | undefined) => string>) => react642.JSX.Element>;
|
|
2062
|
+
readonly FieldContent: react642.MemoExoticComponent<({
|
|
1742
2063
|
className,
|
|
1743
2064
|
...props
|
|
1744
|
-
}: React.ComponentProps<"div">) =>
|
|
1745
|
-
readonly FieldLabel:
|
|
2065
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
2066
|
+
readonly FieldLabel: react642.MemoExoticComponent<({
|
|
1746
2067
|
className,
|
|
1747
2068
|
...props
|
|
1748
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
1749
|
-
readonly FieldContentMain:
|
|
2069
|
+
}: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
|
|
2070
|
+
readonly FieldContentMain: react642.MemoExoticComponent<({
|
|
1750
2071
|
className,
|
|
1751
2072
|
...props
|
|
1752
|
-
}: React.ComponentProps<"div">) =>
|
|
1753
|
-
readonly FieldSeparator:
|
|
2073
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
2074
|
+
readonly FieldSeparator: react642.MemoExoticComponent<({
|
|
1754
2075
|
children,
|
|
1755
2076
|
className,
|
|
1756
2077
|
...props
|
|
1757
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
1758
|
-
readonly FieldError:
|
|
2078
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
|
|
2079
|
+
readonly FieldError: react642.MemoExoticComponent<({
|
|
1759
2080
|
className,
|
|
1760
2081
|
children,
|
|
1761
2082
|
errors,
|
|
1762
2083
|
...props
|
|
1763
|
-
}:
|
|
2084
|
+
}: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
|
|
1764
2085
|
errors?: Array<{
|
|
1765
2086
|
code?: string;
|
|
1766
2087
|
message?: string;
|
|
1767
2088
|
} | undefined>;
|
|
1768
|
-
}) =>
|
|
2089
|
+
}) => react642.JSX.Element | null>;
|
|
1769
2090
|
}, {
|
|
1770
|
-
readonly TanStackDialogForm:
|
|
2091
|
+
readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
|
|
1771
2092
|
title: string;
|
|
1772
2093
|
submitText?: string;
|
|
2094
|
+
className?: string;
|
|
1773
2095
|
open?: boolean;
|
|
1774
2096
|
onOpenChange?: (open: boolean) => void;
|
|
1775
2097
|
}>>;
|
|
1776
|
-
readonly TanStackPopoverForm:
|
|
2098
|
+
readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
|
|
1777
2099
|
title: string;
|
|
1778
2100
|
open?: boolean;
|
|
1779
2101
|
contentClassName?: string;
|
|
1780
2102
|
onOpenChange?: (open: boolean) => void;
|
|
1781
2103
|
}>>;
|
|
1782
|
-
readonly TanStackContainerForm:
|
|
1783
|
-
children?:
|
|
2104
|
+
readonly TanStackContainerForm: react642.FC<{
|
|
2105
|
+
children?: react642.ReactNode | undefined;
|
|
1784
2106
|
}>;
|
|
1785
|
-
readonly TanStackSectionForm:
|
|
2107
|
+
readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
|
|
1786
2108
|
title: string;
|
|
1787
2109
|
}>>;
|
|
1788
|
-
readonly TanStackCardForm:
|
|
2110
|
+
readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
|
|
1789
2111
|
title: string;
|
|
1790
2112
|
description?: string;
|
|
1791
2113
|
onDelete?: () => void | Promise<void>;
|
|
1792
2114
|
}>>;
|
|
1793
|
-
readonly TanStackFieldGroup:
|
|
2115
|
+
readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
|
|
1794
2116
|
label: string;
|
|
1795
2117
|
description?: string;
|
|
1796
2118
|
helperText?: string;
|
|
1797
2119
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1798
2120
|
}>>;
|
|
1799
|
-
readonly TanStackTitleField:
|
|
2121
|
+
readonly TanStackTitleField: react642.FC<{
|
|
1800
2122
|
title: string;
|
|
1801
2123
|
description?: string;
|
|
1802
2124
|
helperText?: string;
|
|
1803
2125
|
}>;
|
|
1804
|
-
readonly TanStackActionsForm:
|
|
2126
|
+
readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
|
|
1805
2127
|
type?: "create" | "update";
|
|
1806
2128
|
}>>;
|
|
1807
|
-
readonly TanStackActionSubmit:
|
|
2129
|
+
readonly TanStackActionSubmit: react642.FC<{
|
|
1808
2130
|
label?: string;
|
|
1809
2131
|
className?: string;
|
|
1810
2132
|
}>;
|
|
2133
|
+
readonly ArrayCol: typeof ArrayCol;
|
|
1811
2134
|
}> | _tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_form_core0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
1812
|
-
readonly TextField:
|
|
2135
|
+
readonly TextField: react642.FC<Pick<{
|
|
1813
2136
|
label: string;
|
|
1814
2137
|
name: string;
|
|
1815
2138
|
camelCaseName: string;
|
|
1816
2139
|
id: string;
|
|
1817
2140
|
type: "text-field";
|
|
1818
|
-
dataType?: "text" | "
|
|
2141
|
+
dataType?: "text" | "email" | "url" | "password" | undefined;
|
|
1819
2142
|
rules?: {
|
|
1820
2143
|
required?: boolean | undefined;
|
|
1821
2144
|
maxLength?: number | undefined;
|
|
@@ -1835,11 +2158,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1835
2158
|
showClearButton?: boolean | undefined;
|
|
1836
2159
|
description?: string | undefined;
|
|
1837
2160
|
placeholder?: string | undefined;
|
|
1838
|
-
}, "description" | "label" | "placeholder" | "
|
|
2161
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
1839
2162
|
required?: boolean;
|
|
1840
2163
|
maxLength?: number;
|
|
1841
2164
|
}>;
|
|
1842
|
-
readonly TextareaField:
|
|
2165
|
+
readonly TextareaField: react642.FC<Pick<{
|
|
1843
2166
|
label: string;
|
|
1844
2167
|
name: string;
|
|
1845
2168
|
camelCaseName: string;
|
|
@@ -1863,11 +2186,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1863
2186
|
counter?: boolean | undefined;
|
|
1864
2187
|
description?: string | undefined;
|
|
1865
2188
|
placeholder?: string | undefined;
|
|
1866
|
-
}, "description" | "label" | "placeholder" | "
|
|
2189
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
1867
2190
|
required?: boolean;
|
|
1868
2191
|
maxLength?: number;
|
|
1869
2192
|
}>;
|
|
1870
|
-
readonly TextEditorField:
|
|
2193
|
+
readonly TextEditorField: react642.FC<Pick<{
|
|
1871
2194
|
label: string;
|
|
1872
2195
|
name: string;
|
|
1873
2196
|
camelCaseName: string;
|
|
@@ -1884,7 +2207,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1884
2207
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1885
2208
|
required?: boolean;
|
|
1886
2209
|
}>;
|
|
1887
|
-
readonly NumberField:
|
|
2210
|
+
readonly NumberField: react642.FC<Pick<{
|
|
1888
2211
|
label: string;
|
|
1889
2212
|
name: string;
|
|
1890
2213
|
camelCaseName: string;
|
|
@@ -1920,11 +2243,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1920
2243
|
unit?: string | undefined;
|
|
1921
2244
|
description?: string | undefined;
|
|
1922
2245
|
placeholder?: string | undefined;
|
|
1923
|
-
}, "description" | "label" | "placeholder" | "
|
|
2246
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
1924
2247
|
required?: boolean;
|
|
1925
2248
|
allowNegative?: boolean;
|
|
1926
2249
|
}>;
|
|
1927
|
-
readonly EmailField:
|
|
2250
|
+
readonly EmailField: react642.FC<Pick<{
|
|
1928
2251
|
rules: {
|
|
1929
2252
|
maxLength?: number | undefined;
|
|
1930
2253
|
minLength?: number | undefined;
|
|
@@ -1940,20 +2263,20 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1940
2263
|
showErrorMessage?: boolean | undefined;
|
|
1941
2264
|
description?: string | undefined;
|
|
1942
2265
|
placeholder?: string | undefined;
|
|
1943
|
-
}, "description" | "label" | "placeholder" | "
|
|
2266
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1944
2267
|
required?: boolean;
|
|
1945
2268
|
maxLength?: number;
|
|
1946
2269
|
}>;
|
|
1947
|
-
readonly PasswordField:
|
|
2270
|
+
readonly PasswordField: react642.FC<{
|
|
1948
2271
|
description?: string | undefined;
|
|
1949
2272
|
label: string;
|
|
1950
2273
|
placeholder?: string | undefined;
|
|
1951
|
-
tooltip?: string | undefined;
|
|
1952
2274
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
2275
|
+
tooltip?: string | undefined;
|
|
1953
2276
|
helperText?: string | undefined;
|
|
1954
2277
|
showErrorMessage?: boolean | undefined;
|
|
1955
2278
|
}>;
|
|
1956
|
-
readonly SelectField:
|
|
2279
|
+
readonly SelectField: react642.FC<Pick<{
|
|
1957
2280
|
options: {
|
|
1958
2281
|
label: string;
|
|
1959
2282
|
value: string;
|
|
@@ -1978,10 +2301,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1978
2301
|
defaultValue?: string | undefined;
|
|
1979
2302
|
description?: string | undefined;
|
|
1980
2303
|
placeholder?: string | undefined;
|
|
1981
|
-
}, "description" | "label" | "
|
|
2304
|
+
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
1982
2305
|
required?: boolean;
|
|
1983
2306
|
}>;
|
|
1984
|
-
readonly ComboboxField:
|
|
2307
|
+
readonly ComboboxField: react642.FC<{
|
|
1985
2308
|
label: string;
|
|
1986
2309
|
description?: string;
|
|
1987
2310
|
placeholder?: string;
|
|
@@ -1992,7 +2315,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1992
2315
|
label: string;
|
|
1993
2316
|
}>;
|
|
1994
2317
|
}>;
|
|
1995
|
-
readonly DateField:
|
|
2318
|
+
readonly DateField: react642.FC<Pick<{
|
|
1996
2319
|
label: string;
|
|
1997
2320
|
name: string;
|
|
1998
2321
|
camelCaseName: string;
|
|
@@ -2010,21 +2333,21 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2010
2333
|
defaultValue?: string | undefined;
|
|
2011
2334
|
description?: string | undefined;
|
|
2012
2335
|
placeholder?: string | undefined;
|
|
2013
|
-
}, "description" | "label" | "placeholder" | "
|
|
2336
|
+
}, "description" | "label" | "placeholder" | "orientation" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
2014
2337
|
required?: boolean;
|
|
2015
2338
|
minDate?: Date;
|
|
2016
2339
|
maxDate?: Date;
|
|
2017
2340
|
}>;
|
|
2018
|
-
readonly SwitchField:
|
|
2341
|
+
readonly SwitchField: react642.FC<{
|
|
2019
2342
|
description?: string | undefined;
|
|
2020
2343
|
label: string;
|
|
2021
2344
|
helperText?: string | undefined;
|
|
2022
2345
|
}>;
|
|
2023
|
-
readonly RadioGroupField:
|
|
2346
|
+
readonly RadioGroupField: react642.FC<{
|
|
2024
2347
|
description?: string | undefined;
|
|
2025
2348
|
label: string;
|
|
2026
|
-
tooltip?: string | undefined;
|
|
2027
2349
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
2350
|
+
tooltip?: string | undefined;
|
|
2028
2351
|
options: {
|
|
2029
2352
|
label: string;
|
|
2030
2353
|
value: string;
|
|
@@ -2032,101 +2355,149 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2032
2355
|
}[];
|
|
2033
2356
|
helperText?: string | undefined;
|
|
2034
2357
|
}>;
|
|
2035
|
-
readonly CheckboxField:
|
|
2358
|
+
readonly CheckboxField: react642.FC<{
|
|
2036
2359
|
description?: string | undefined;
|
|
2037
2360
|
label: string;
|
|
2038
|
-
tooltip?: string | undefined;
|
|
2039
2361
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
2362
|
+
tooltip?: string | undefined;
|
|
2040
2363
|
options: {
|
|
2041
2364
|
label: string;
|
|
2042
2365
|
value: string;
|
|
2043
2366
|
}[];
|
|
2044
2367
|
helperText?: string | undefined;
|
|
2045
2368
|
}>;
|
|
2046
|
-
readonly
|
|
2369
|
+
readonly SimpleTextField: react642.FC<{
|
|
2370
|
+
label: string;
|
|
2371
|
+
placeholder?: string;
|
|
2372
|
+
required?: boolean;
|
|
2373
|
+
maxLength?: number;
|
|
2374
|
+
disabled?: boolean;
|
|
2375
|
+
}>;
|
|
2376
|
+
readonly SimpleEmailField: react642.FC<{
|
|
2377
|
+
label: string;
|
|
2378
|
+
placeholder?: string;
|
|
2379
|
+
required?: boolean;
|
|
2380
|
+
maxLength?: number;
|
|
2381
|
+
disabled?: boolean;
|
|
2382
|
+
}>;
|
|
2383
|
+
readonly SimplePasswordField: react642.FC<{
|
|
2384
|
+
label: string;
|
|
2385
|
+
placeholder?: string;
|
|
2386
|
+
required?: boolean;
|
|
2387
|
+
disabled?: boolean;
|
|
2388
|
+
}>;
|
|
2389
|
+
readonly SimpleTextareaField: react642.FC<{
|
|
2390
|
+
label: string;
|
|
2391
|
+
placeholder?: string;
|
|
2392
|
+
required?: boolean;
|
|
2393
|
+
maxLength?: number;
|
|
2394
|
+
rows?: number;
|
|
2395
|
+
disabled?: boolean;
|
|
2396
|
+
}>;
|
|
2397
|
+
readonly SimpleNumberField: react642.FC<{
|
|
2398
|
+
label: string;
|
|
2399
|
+
placeholder?: string;
|
|
2400
|
+
required?: boolean;
|
|
2401
|
+
unit?: string;
|
|
2402
|
+
allowNegative?: boolean;
|
|
2403
|
+
disabled?: boolean;
|
|
2404
|
+
}>;
|
|
2405
|
+
readonly SimpleSelectField: react642.FC<{
|
|
2406
|
+
label?: string;
|
|
2407
|
+
placeholder?: string;
|
|
2408
|
+
required?: boolean;
|
|
2409
|
+
options: Array<{
|
|
2410
|
+
value: string;
|
|
2411
|
+
label: string;
|
|
2412
|
+
}>;
|
|
2413
|
+
}>;
|
|
2414
|
+
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
2415
|
+
readonly FieldGroup: react642.MemoExoticComponent<({
|
|
2047
2416
|
className,
|
|
2048
2417
|
...props
|
|
2049
|
-
}: React.ComponentProps<"div">) =>
|
|
2050
|
-
readonly Field:
|
|
2418
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
2419
|
+
readonly Field: react642.MemoExoticComponent<({
|
|
2051
2420
|
className,
|
|
2052
2421
|
orientation,
|
|
2053
2422
|
...props
|
|
2054
2423
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
2055
2424
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
2056
|
-
} & class_variance_authority_types24.ClassProp) | undefined) => string>) =>
|
|
2057
|
-
readonly FieldContent:
|
|
2425
|
+
} & class_variance_authority_types24.ClassProp) | undefined) => string>) => react642.JSX.Element>;
|
|
2426
|
+
readonly FieldContent: react642.MemoExoticComponent<({
|
|
2058
2427
|
className,
|
|
2059
2428
|
...props
|
|
2060
|
-
}: React.ComponentProps<"div">) =>
|
|
2061
|
-
readonly FieldLabel:
|
|
2429
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
2430
|
+
readonly FieldLabel: react642.MemoExoticComponent<({
|
|
2062
2431
|
className,
|
|
2063
2432
|
...props
|
|
2064
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
2065
|
-
readonly FieldContentMain:
|
|
2433
|
+
}: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
|
|
2434
|
+
readonly FieldContentMain: react642.MemoExoticComponent<({
|
|
2066
2435
|
className,
|
|
2067
2436
|
...props
|
|
2068
|
-
}: React.ComponentProps<"div">) =>
|
|
2069
|
-
readonly FieldSeparator:
|
|
2437
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
2438
|
+
readonly FieldSeparator: react642.MemoExoticComponent<({
|
|
2070
2439
|
children,
|
|
2071
2440
|
className,
|
|
2072
2441
|
...props
|
|
2073
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
2074
|
-
readonly FieldError:
|
|
2442
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
|
|
2443
|
+
readonly FieldError: react642.MemoExoticComponent<({
|
|
2075
2444
|
className,
|
|
2076
2445
|
children,
|
|
2077
2446
|
errors,
|
|
2078
2447
|
...props
|
|
2079
|
-
}:
|
|
2448
|
+
}: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
|
|
2080
2449
|
errors?: Array<{
|
|
2081
2450
|
code?: string;
|
|
2082
2451
|
message?: string;
|
|
2083
2452
|
} | undefined>;
|
|
2084
|
-
}) =>
|
|
2453
|
+
}) => react642.JSX.Element | null>;
|
|
2085
2454
|
}, {
|
|
2086
|
-
readonly TanStackDialogForm:
|
|
2455
|
+
readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
|
|
2087
2456
|
title: string;
|
|
2088
2457
|
submitText?: string;
|
|
2458
|
+
className?: string;
|
|
2089
2459
|
open?: boolean;
|
|
2090
2460
|
onOpenChange?: (open: boolean) => void;
|
|
2091
2461
|
}>>;
|
|
2092
|
-
readonly TanStackPopoverForm:
|
|
2462
|
+
readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
|
|
2093
2463
|
title: string;
|
|
2094
2464
|
open?: boolean;
|
|
2095
2465
|
contentClassName?: string;
|
|
2096
2466
|
onOpenChange?: (open: boolean) => void;
|
|
2097
2467
|
}>>;
|
|
2098
|
-
readonly TanStackContainerForm:
|
|
2099
|
-
children?:
|
|
2468
|
+
readonly TanStackContainerForm: react642.FC<{
|
|
2469
|
+
children?: react642.ReactNode | undefined;
|
|
2100
2470
|
}>;
|
|
2101
|
-
readonly TanStackSectionForm:
|
|
2471
|
+
readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
|
|
2102
2472
|
title: string;
|
|
2103
2473
|
}>>;
|
|
2104
|
-
readonly TanStackCardForm:
|
|
2474
|
+
readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
|
|
2105
2475
|
title: string;
|
|
2106
2476
|
description?: string;
|
|
2107
2477
|
onDelete?: () => void | Promise<void>;
|
|
2108
2478
|
}>>;
|
|
2109
|
-
readonly TanStackFieldGroup:
|
|
2479
|
+
readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
|
|
2110
2480
|
label: string;
|
|
2111
2481
|
description?: string;
|
|
2112
2482
|
helperText?: string;
|
|
2113
2483
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
2114
2484
|
}>>;
|
|
2115
|
-
readonly TanStackTitleField:
|
|
2485
|
+
readonly TanStackTitleField: react642.FC<{
|
|
2116
2486
|
title: string;
|
|
2117
2487
|
description?: string;
|
|
2118
2488
|
helperText?: string;
|
|
2119
2489
|
}>;
|
|
2120
|
-
readonly TanStackActionsForm:
|
|
2490
|
+
readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
|
|
2121
2491
|
type?: "create" | "update";
|
|
2122
2492
|
}>>;
|
|
2123
|
-
readonly TanStackActionSubmit:
|
|
2493
|
+
readonly TanStackActionSubmit: react642.FC<{
|
|
2124
2494
|
label?: string;
|
|
2125
2495
|
className?: string;
|
|
2126
2496
|
}>;
|
|
2497
|
+
readonly ArrayCol: typeof ArrayCol;
|
|
2127
2498
|
}>;
|
|
2128
2499
|
fields: TFields;
|
|
2129
|
-
}>) => ReturnType<
|
|
2500
|
+
}>) => ReturnType<react642.FunctionComponent>;
|
|
2130
2501
|
//#endregion
|
|
2131
2502
|
export { withTanStackForm as a, FieldContentMain as c, FieldLabel as d, FieldSeparator as f, withTanStackFieldGroup as i, FieldError as l, useTanStackForm as n, Field as o, useTanStackFormContext as r, FieldContent as s, useTanStackFieldContext as t, FieldGroup as u };
|
|
2132
|
-
//# sourceMappingURL=index-
|
|
2503
|
+
//# sourceMappingURL=index-DPnJrJS9.d.mts.map
|