@customafk/lunas-ui 0.2.42 → 0.2.44
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-B02cVKWp.d.cts +88 -0
- package/dist/alert-B2PaDJp6.cjs +2 -0
- package/dist/alert-B2PaDJp6.cjs.map +1 -0
- package/dist/alert-BbvPwf2x.mjs +2 -0
- package/dist/alert-BbvPwf2x.mjs.map +1 -0
- package/dist/alert-DHSm8bMn.d.mts +88 -0
- package/dist/avatar-TyOphzGo.cjs +2 -0
- package/dist/avatar-TyOphzGo.cjs.map +1 -0
- package/dist/avatar-fltdRVsJ.mjs +2 -0
- package/dist/avatar-fltdRVsJ.mjs.map +1 -0
- package/dist/badge-BxSbkHQL.d.mts +42 -0
- package/dist/badge-CDGBGq8X.mjs +2 -0
- package/dist/badge-CDGBGq8X.mjs.map +1 -0
- package/dist/badge-KW7xu5Ca.cjs +2 -0
- package/dist/badge-KW7xu5Ca.cjs.map +1 -0
- package/dist/badge-zrAIDd-9.d.cts +42 -0
- package/dist/button-C--DAN1D.cjs +2 -0
- package/dist/button-C--DAN1D.cjs.map +1 -0
- package/dist/button-CCVJTHBI.mjs +2 -0
- package/dist/button-CCVJTHBI.mjs.map +1 -0
- package/dist/button-D3QvCdr6.d.cts +174 -0
- package/dist/button-D3d7M90P.d.mts +174 -0
- package/dist/button.variants-4kw6plrv.cjs +2 -0
- package/dist/button.variants-4kw6plrv.cjs.map +1 -0
- package/dist/button.variants-DkMqWB8G.mjs +2 -0
- package/dist/button.variants-DkMqWB8G.mjs.map +1 -0
- package/dist/calendar-4weBDnXz.cjs +2 -0
- package/dist/calendar-4weBDnXz.cjs.map +1 -0
- package/dist/calendar-R866yyd1.mjs +2 -0
- package/dist/calendar-R866yyd1.mjs.map +1 -0
- package/dist/cards/grid-product-card.cjs +1 -1
- package/dist/cards/grid-product-card.cjs.map +1 -1
- package/dist/cards/grid-product-card.d.mts +37 -0
- package/dist/cards/grid-product-card.mjs +2 -0
- package/dist/cards/grid-product-card.mjs.map +1 -0
- package/dist/cards/product-card.cjs +1 -1
- package/dist/cards/product-card.cjs.map +1 -1
- package/dist/cards/product-card.d.mts +37 -0
- package/dist/cards/product-card.mjs +2 -0
- package/dist/cards/product-card.mjs.map +1 -0
- package/dist/cards/simple-card.cjs +1 -1
- package/dist/cards/simple-card.d.mts +35 -0
- package/dist/cards/simple-card.mjs +2 -0
- package/dist/cards/simple-card.mjs.map +1 -0
- package/dist/checkbox-Cat3i08X.mjs +2 -0
- package/dist/checkbox-Cat3i08X.mjs.map +1 -0
- package/dist/checkbox-Dsq-MSbH.cjs +2 -0
- package/dist/checkbox-Dsq-MSbH.cjs.map +1 -0
- package/dist/chunk-350yNsax.cjs +1 -0
- package/dist/close-Dlo1bI8x.cjs +2 -0
- package/dist/close-Dlo1bI8x.cjs.map +1 -0
- package/dist/close-_UHFeiLS.mjs +2 -0
- package/dist/close-_UHFeiLS.mjs.map +1 -0
- package/dist/cms-layout-BCH4NroR.cjs +2 -0
- package/dist/cms-layout-BCH4NroR.cjs.map +1 -0
- package/dist/cms-layout-DkCR1AfG.mjs +2 -0
- package/dist/cms-layout-DkCR1AfG.mjs.map +1 -0
- package/dist/command-CsP8a1Un.cjs +2 -0
- package/dist/command-CsP8a1Un.cjs.map +1 -0
- package/dist/command-D6_CSbwJ.mjs +2 -0
- package/dist/command-D6_CSbwJ.mjs.map +1 -0
- package/dist/data-display/country.cjs +1 -1
- package/dist/data-display/country.cjs.map +1 -1
- package/dist/data-display/country.d.cts +1 -1
- package/dist/data-display/country.d.mts +22 -0
- package/dist/data-display/country.mjs +2 -0
- package/dist/data-display/country.mjs.map +1 -0
- package/dist/data-display/data-list.cjs +1 -1
- package/dist/data-display/data-list.d.mts +43 -0
- package/dist/data-display/data-list.mjs +2 -0
- package/dist/data-display/data-list.mjs.map +1 -0
- package/dist/data-display/date-tooltip.cjs +1 -1
- package/dist/data-display/date-tooltip.cjs.map +1 -1
- package/dist/data-display/date-tooltip.d.mts +19 -0
- package/dist/data-display/date-tooltip.mjs +2 -0
- package/dist/data-display/date-tooltip.mjs.map +1 -0
- package/dist/data-display/date.cjs +1 -2
- package/dist/data-display/date.d.mts +39 -0
- package/dist/data-display/date.mjs +1 -0
- package/dist/data-display/empty.cjs +1 -1
- package/dist/data-display/empty.d.mts +21 -0
- package/dist/data-display/empty.mjs +2 -0
- package/dist/data-display/empty.mjs.map +1 -0
- package/dist/data-display/name.cjs +1 -1
- package/dist/data-display/name.cjs.map +1 -1
- package/dist/data-display/name.d.mts +19 -0
- package/dist/data-display/name.mjs +2 -0
- package/dist/data-display/name.mjs.map +1 -0
- package/dist/data-display/phone-number.cjs +1 -1
- package/dist/data-display/phone-number.cjs.map +1 -1
- package/dist/data-display/phone-number.d.mts +19 -0
- package/dist/data-display/phone-number.mjs +2 -0
- package/dist/data-display/phone-number.mjs.map +1 -0
- package/dist/data-display/role-badge.cjs +1 -1
- package/dist/data-display/role-badge.cjs.map +1 -1
- package/dist/data-display/role-badge.d.cts +1 -1
- package/dist/data-display/role-badge.d.mts +22 -0
- package/dist/data-display/role-badge.mjs +2 -0
- package/dist/data-display/role-badge.mjs.map +1 -0
- package/dist/data-display/statistic.cjs +1 -2
- package/dist/data-display/statistic.d.cts +4 -4
- package/dist/data-display/statistic.d.mts +57 -0
- package/dist/data-display/statistic.mjs +1 -0
- package/dist/data-display/user.cjs +1 -2
- package/dist/data-display/user.d.mts +23 -0
- package/dist/data-display/user.mjs +1 -0
- package/dist/date-D4NVl6C9.cjs +2 -0
- package/dist/date-D4NVl6C9.cjs.map +1 -0
- package/dist/date-fY3sUcLp.mjs +2 -0
- package/dist/date-fY3sUcLp.mjs.map +1 -0
- package/dist/dialog-Bd5cOZia.d.mts +90 -0
- package/dist/dialog-BigPrWIj.cjs +2 -0
- package/dist/dialog-BigPrWIj.cjs.map +1 -0
- package/dist/dialog-CLDnvNH_.mjs +2 -0
- package/dist/dialog-CLDnvNH_.mjs.map +1 -0
- package/dist/dialog-DEmYNufN.d.cts +90 -0
- package/dist/dialogs/confirm-dialog.cjs +1 -1
- package/dist/dialogs/confirm-dialog.d.mts +142 -0
- package/dist/dialogs/confirm-dialog.mjs +2 -0
- package/dist/dialogs/confirm-dialog.mjs.map +1 -0
- package/dist/dialogs/detail-dialog/components/sidebar.cjs +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +29 -29
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +209 -0
- package/dist/dialogs/detail-dialog/components/sidebar.mjs +1 -0
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.cjs.map +1 -1
- package/dist/dialogs/detail-dialog/index.d.mts +45 -0
- package/dist/dialogs/detail-dialog/index.mjs +2 -0
- package/dist/dialogs/detail-dialog/index.mjs.map +1 -0
- package/dist/dialogs/error-dialog.cjs +1 -1
- package/dist/dialogs/error-dialog.d.mts +25 -0
- package/dist/dialogs/error-dialog.mjs +2 -0
- package/dist/dialogs/error-dialog.mjs.map +1 -0
- package/dist/dialogs/loading-dialog.cjs +1 -1
- package/dist/dialogs/loading-dialog.cjs.map +1 -1
- package/dist/dialogs/loading-dialog.d.mts +21 -0
- package/dist/dialogs/loading-dialog.mjs +2 -0
- package/dist/dialogs/loading-dialog.mjs.map +1 -0
- package/dist/dist-Cx5ufCdr.cjs +2 -0
- package/dist/dist-Cx5ufCdr.cjs.map +1 -0
- package/dist/dist-DVrfqn8H.mjs +2 -0
- package/dist/dist-DVrfqn8H.mjs.map +1 -0
- package/dist/drawer-BB8BZzDG.cjs +2 -0
- package/dist/drawer-BB8BZzDG.cjs.map +1 -0
- package/dist/drawer-CMD7JWH8.mjs +2 -0
- package/dist/drawer-CMD7JWH8.mjs.map +1 -0
- package/dist/dropdown-menu-BWhiVsEf.mjs +2 -0
- package/dist/dropdown-menu-BWhiVsEf.mjs.map +1 -0
- package/dist/dropdown-menu-CVh520yG.cjs +2 -0
- package/dist/dropdown-menu-CVh520yG.cjs.map +1 -0
- package/dist/features/descriptions/index.cjs +1 -1
- package/dist/features/descriptions/index.cjs.map +1 -1
- package/dist/features/descriptions/index.d.cts +4 -4
- package/dist/features/descriptions/index.d.mts +246 -0
- package/dist/features/descriptions/index.mjs +2 -0
- package/dist/features/descriptions/index.mjs.map +1 -0
- 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 +17 -0
- package/dist/features/search-modal/index.mjs +1 -0
- package/dist/features/tables/index.cjs +1 -1
- package/dist/features/tables/index.d.cts +1 -1
- package/dist/features/tables/index.d.mts +3 -0
- package/dist/features/tables/index.mjs +1 -0
- 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 +2 -0
- package/dist/features/tanstack-form/index.mjs +1 -0
- 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 +2 -0
- package/dist/features/text-editor/index.mjs +1 -0
- package/dist/field-BrlETeXX.cjs +2 -0
- package/dist/field-BrlETeXX.cjs.map +1 -0
- package/dist/field-dYemS0hQ.mjs +2 -0
- package/dist/field-dYemS0hQ.mjs.map +1 -0
- package/dist/flex-B6YSJzGe.mjs +2 -0
- package/dist/flex-B6YSJzGe.mjs.map +1 -0
- package/dist/flex-DmWmOBn5.cjs +2 -0
- package/dist/flex-DmWmOBn5.cjs.map +1 -0
- package/dist/heading-De4Pn3mZ.mjs +2 -0
- package/dist/heading-De4Pn3mZ.mjs.map +1 -0
- package/dist/heading-tGTqk3pA.cjs +2 -0
- package/dist/heading-tGTqk3pA.cjs.map +1 -0
- package/dist/image-D7OZ13Ib.mjs +2 -0
- package/dist/image-D7OZ13Ib.mjs.map +1 -0
- package/dist/image-W_Yb0xTB.cjs +2 -0
- package/dist/image-W_Yb0xTB.cjs.map +1 -0
- package/dist/index-BhiLHeUb.d.cts +1093 -0
- package/dist/index-CiG1i12w.d.cts +85 -0
- package/dist/index-Cl_7tlH_.d.mts +2348 -0
- package/dist/index-Cm62M0Ft.d.mts +90 -0
- package/dist/index-DNozPoRR.d.mts +85 -0
- package/dist/index-DSciiDhn.d.cts +2348 -0
- package/dist/index-DriviV-i.d.mts +1093 -0
- package/dist/index-KO98y6L0.d.cts +90 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +11 -11
- package/dist/index.d.mts +93 -0
- package/dist/index.mjs +1 -0
- package/dist/input-BtuZm0BQ.d.mts +44 -0
- package/dist/input-CD4zf7t1.d.cts +44 -0
- package/dist/input-NJP2wQOm.mjs +2 -0
- package/dist/input-NJP2wQOm.mjs.map +1 -0
- package/dist/input-WJ0DLHTR.cjs +2 -0
- package/dist/input-WJ0DLHTR.cjs.map +1 -0
- package/dist/label-CC6fXVbC.cjs +2 -0
- package/dist/label-CC6fXVbC.cjs.map +1 -0
- package/dist/label-CUCpwS5D.mjs +2 -0
- package/dist/label-CUCpwS5D.mjs.map +1 -0
- package/dist/layouts/cms-layout/index.cjs +1 -1
- package/dist/layouts/cms-layout/index.d.cts +1 -1
- package/dist/layouts/cms-layout/index.d.mts +2 -0
- package/dist/layouts/cms-layout/index.mjs +1 -0
- package/dist/layouts/flex.cjs +1 -1
- package/dist/layouts/flex.d.cts +6 -6
- package/dist/layouts/flex.d.mts +117 -0
- package/dist/layouts/flex.mjs +1 -0
- package/dist/layouts/grid.cjs +1 -1
- package/dist/layouts/grid.d.mts +19 -0
- package/dist/layouts/grid.mjs +2 -0
- package/dist/layouts/grid.mjs.map +1 -0
- package/dist/layouts/payment-layout/index.cjs +1 -1
- package/dist/layouts/payment-layout/index.d.mts +74 -0
- package/dist/layouts/payment-layout/index.mjs +1 -0
- package/dist/pages/FeatureDeveloping.cjs +1 -1
- package/dist/pages/FeatureDeveloping.cjs.map +1 -1
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +43 -0
- package/dist/pages/FeatureDeveloping.mjs +2 -0
- package/dist/pages/FeatureDeveloping.mjs.map +1 -0
- package/dist/pages/FeatureFixing.cjs +1 -1
- package/dist/pages/FeatureFixing.cjs.map +1 -1
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +43 -0
- package/dist/pages/FeatureFixing.mjs +2 -0
- package/dist/pages/FeatureFixing.mjs.map +1 -0
- package/dist/pages/LoginPage.cjs +1 -1
- package/dist/pages/LoginPage.cjs.map +1 -1
- package/dist/pages/LoginPage.d.cts +2 -2
- package/dist/pages/LoginPage.d.mts +55 -0
- package/dist/pages/LoginPage.mjs +2 -0
- package/dist/pages/LoginPage.mjs.map +1 -0
- package/dist/pages/NotAuthorized.cjs +1 -1
- package/dist/pages/NotAuthorized.cjs.map +1 -1
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +43 -0
- package/dist/pages/NotAuthorized.mjs +2 -0
- package/dist/pages/NotAuthorized.mjs.map +1 -0
- package/dist/pages/NotFound.cjs +1 -1
- package/dist/pages/NotFound.cjs.map +1 -1
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +43 -0
- package/dist/pages/NotFound.mjs +2 -0
- package/dist/pages/NotFound.mjs.map +1 -0
- package/dist/pages/RegisterPage.cjs +1 -1
- package/dist/pages/RegisterPage.cjs.map +1 -1
- package/dist/pages/RegisterPage.d.cts +2 -2
- package/dist/pages/RegisterPage.d.mts +52 -0
- package/dist/pages/RegisterPage.mjs +2 -0
- package/dist/pages/RegisterPage.mjs.map +1 -0
- package/dist/pages/VerifyEmailPage.cjs +1 -1
- package/dist/pages/VerifyEmailPage.cjs.map +1 -1
- package/dist/pages/VerifyEmailPage.d.cts +2 -2
- package/dist/pages/VerifyEmailPage.d.mts +64 -0
- package/dist/pages/VerifyEmailPage.mjs +2 -0
- package/dist/pages/VerifyEmailPage.mjs.map +1 -0
- package/dist/paragraph-DYLaQtTV.mjs +2 -0
- package/dist/paragraph-DYLaQtTV.mjs.map +1 -0
- package/dist/paragraph-DvTZvbzw.cjs +2 -0
- package/dist/paragraph-DvTZvbzw.cjs.map +1 -0
- package/dist/payment-layout-DrQ0kZPX.mjs +2 -0
- package/dist/payment-layout-DrQ0kZPX.mjs.map +1 -0
- package/dist/payment-layout-DyILfyVG.cjs +2 -0
- package/dist/payment-layout-DyILfyVG.cjs.map +1 -0
- package/dist/popover-C8rcemA3.mjs +2 -0
- package/dist/popover-C8rcemA3.mjs.map +1 -0
- package/dist/popover-DBsC8Ltp.cjs +2 -0
- package/dist/popover-DBsC8Ltp.cjs.map +1 -0
- package/dist/progress-CLeM0e7Z.mjs +2 -0
- package/dist/progress-CLeM0e7Z.mjs.map +1 -0
- package/dist/progress-gvBqNiHp.cjs +2 -0
- package/dist/progress-gvBqNiHp.cjs.map +1 -0
- package/dist/radio-group-Y9bhdr55.mjs +2 -0
- package/dist/radio-group-Y9bhdr55.mjs.map +1 -0
- package/dist/radio-group-_TdMkv8w.cjs +2 -0
- package/dist/radio-group-_TdMkv8w.cjs.map +1 -0
- package/dist/resizable-CpCaSCFB.mjs +2 -0
- package/dist/resizable-CpCaSCFB.mjs.map +1 -0
- package/dist/resizable-sgpaHAb8.cjs +2 -0
- package/dist/resizable-sgpaHAb8.cjs.map +1 -0
- package/dist/search-modal-B-pzGcfP.cjs +2 -0
- package/dist/search-modal-B-pzGcfP.cjs.map +1 -0
- package/dist/search-modal-Bn-GOOCy.mjs +2 -0
- package/dist/search-modal-Bn-GOOCy.mjs.map +1 -0
- package/dist/select-CWLQHh8x.cjs +2 -0
- package/dist/select-CWLQHh8x.cjs.map +1 -0
- package/dist/select-LlPCZFSF.mjs +2 -0
- package/dist/select-LlPCZFSF.mjs.map +1 -0
- package/dist/separator-D3Gmkxzq.mjs +2 -0
- package/dist/separator-D3Gmkxzq.mjs.map +1 -0
- package/dist/separator-KuymG9g0.cjs +2 -0
- package/dist/separator-KuymG9g0.cjs.map +1 -0
- package/dist/sheet-BFlIfNaA.mjs +2 -0
- package/dist/sheet-BFlIfNaA.mjs.map +1 -0
- package/dist/sheet-CvKSi0UC.cjs +2 -0
- package/dist/sheet-CvKSi0UC.cjs.map +1 -0
- package/dist/sidebar-ChtCyu-n.mjs +2 -0
- package/dist/sidebar-ChtCyu-n.mjs.map +1 -0
- package/dist/sidebar-D5J2gcTw.cjs +2 -0
- package/dist/sidebar-D5J2gcTw.cjs.map +1 -0
- package/dist/skeleton-C51IdOfK.mjs +2 -0
- package/dist/skeleton-C51IdOfK.mjs.map +1 -0
- package/dist/skeleton-CX1USu1w.cjs +2 -0
- package/dist/skeleton-CX1USu1w.cjs.map +1 -0
- package/dist/spinner-CFxorYEt.cjs +2 -0
- package/dist/spinner-CFxorYEt.cjs.map +1 -0
- package/dist/spinner-eClTgHjk.mjs +2 -0
- package/dist/spinner-eClTgHjk.mjs.map +1 -0
- package/dist/statistic-DDXilD7q.cjs +2 -0
- package/dist/statistic-DDXilD7q.cjs.map +1 -0
- package/dist/statistic-cwLwcukn.mjs +2 -0
- package/dist/statistic-cwLwcukn.mjs.map +1 -0
- package/dist/switch-BP7EPatj.mjs +2 -0
- package/dist/switch-BP7EPatj.mjs.map +1 -0
- package/dist/switch-DVfOV7wP.cjs +2 -0
- package/dist/switch-DVfOV7wP.cjs.map +1 -0
- package/dist/systems/google.cjs +1 -1
- package/dist/systems/google.d.mts +53 -0
- package/dist/systems/google.mjs +2 -0
- package/dist/systems/google.mjs.map +1 -0
- package/dist/tables-CFrsk2lM.mjs +4 -0
- package/dist/tables-CFrsk2lM.mjs.map +1 -0
- package/dist/tables-CPKHe3k-.cjs +4 -0
- package/dist/tables-CPKHe3k-.cjs.map +1 -0
- package/dist/tanstack-form-DT1TqIDl.mjs +12 -0
- package/dist/tanstack-form-DT1TqIDl.mjs.map +1 -0
- package/dist/tanstack-form-DatI41wz.cjs +12 -0
- package/dist/tanstack-form-DatI41wz.cjs.map +1 -0
- package/dist/text-editor-5mA7XyaI.mjs +2 -0
- package/dist/text-editor-5mA7XyaI.mjs.map +1 -0
- package/dist/text-editor-CvJN3nSL.cjs +2 -0
- package/dist/text-editor-CvJN3nSL.cjs.map +1 -0
- package/dist/textarea-7HDXcaK9.mjs +2 -0
- package/dist/textarea-7HDXcaK9.mjs.map +1 -0
- package/dist/textarea-Cc9CF8wD.cjs +2 -0
- package/dist/textarea-Cc9CF8wD.cjs.map +1 -0
- package/dist/tooltip-CBdoIzoM.cjs +2 -0
- package/dist/tooltip-CBdoIzoM.cjs.map +1 -0
- package/dist/tooltip-Dxl5Wa8i.mjs +2 -0
- package/dist/tooltip-Dxl5Wa8i.mjs.map +1 -0
- package/dist/types-B5nyTWtO.mjs +2 -0
- package/dist/types-B5nyTWtO.mjs.map +1 -0
- package/dist/types-BD1t0Bj8.cjs +2 -0
- package/dist/types-BD1t0Bj8.cjs.map +1 -0
- package/dist/types-Cc_mLRAn.d.cts +24 -0
- package/dist/types-YLu40dXY.d.mts +24 -0
- package/dist/typography/paragraph.cjs +1 -1
- package/dist/typography/paragraph.d.cts +3 -3
- package/dist/typography/paragraph.d.mts +48 -0
- package/dist/typography/paragraph.mjs +1 -0
- package/dist/typography/title.cjs +1 -1
- package/dist/typography/title.d.mts +43 -0
- package/dist/typography/title.mjs +2 -0
- package/dist/typography/title.mjs.map +1 -0
- package/dist/ui/alert-dialog.cjs +1 -1
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.mts +90 -0
- package/dist/ui/alert-dialog.mjs +2 -0
- package/dist/ui/alert-dialog.mjs.map +1 -0
- package/dist/ui/alert.cjs +1 -1
- package/dist/ui/alert.d.cts +1 -1
- package/dist/ui/alert.d.mts +2 -0
- package/dist/ui/alert.mjs +1 -0
- package/dist/ui/aspect-ratio.cjs +1 -1
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.mts +24 -0
- package/dist/ui/aspect-ratio.mjs +2 -0
- package/dist/ui/aspect-ratio.mjs.map +1 -0
- package/dist/ui/avatar.cjs +1 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.mts +35 -0
- package/dist/ui/avatar.mjs +1 -0
- package/dist/ui/badge.cjs +1 -2
- package/dist/ui/badge.d.cts +2 -42
- package/dist/ui/badge.d.mts +2 -0
- package/dist/ui/badge.mjs +1 -0
- package/dist/ui/breadcrumb.cjs +1 -1
- package/dist/ui/breadcrumb.cjs.map +1 -1
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +72 -0
- package/dist/ui/breadcrumb.mjs +2 -0
- package/dist/ui/breadcrumb.mjs.map +1 -0
- package/dist/ui/button-group.cjs +1 -1
- package/dist/ui/button-group.cjs.map +1 -1
- package/dist/ui/button-group.d.cts +7 -7
- package/dist/ui/button-group.d.mts +50 -0
- package/dist/ui/button-group.mjs +2 -0
- package/dist/ui/button-group.mjs.map +1 -0
- package/dist/ui/button.cjs +1 -2
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +2 -0
- package/dist/ui/button.mjs +1 -0
- package/dist/ui/buttons/add-new.cjs +1 -1
- package/dist/ui/buttons/add-new.cjs.map +1 -1
- package/dist/ui/buttons/add-new.d.mts +17 -0
- package/dist/ui/buttons/add-new.mjs +2 -0
- package/dist/ui/buttons/add-new.mjs.map +1 -0
- package/dist/ui/buttons/edit.cjs +1 -1
- package/dist/ui/buttons/edit.cjs.map +1 -1
- package/dist/ui/buttons/edit.d.mts +17 -0
- package/dist/ui/buttons/edit.mjs +2 -0
- package/dist/ui/buttons/edit.mjs.map +1 -0
- package/dist/ui/buttons/refresh.cjs +1 -1
- package/dist/ui/buttons/refresh.cjs.map +1 -1
- package/dist/ui/buttons/refresh.d.mts +17 -0
- package/dist/ui/buttons/refresh.mjs +2 -0
- package/dist/ui/buttons/refresh.mjs.map +1 -0
- package/dist/ui/buttons/trash.cjs +1 -1
- package/dist/ui/buttons/trash.cjs.map +1 -1
- package/dist/ui/buttons/trash.d.mts +17 -0
- package/dist/ui/buttons/trash.mjs +2 -0
- package/dist/ui/buttons/trash.mjs.map +1 -0
- package/dist/ui/buttons/upload-image.cjs +1 -1
- package/dist/ui/buttons/upload-image.cjs.map +1 -1
- package/dist/ui/buttons/upload-image.d.mts +24 -0
- package/dist/ui/buttons/upload-image.mjs +2 -0
- package/dist/ui/buttons/upload-image.mjs.map +1 -0
- package/dist/ui/calendar.cjs +1 -2
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +45 -0
- package/dist/ui/calendar.mjs +1 -0
- package/dist/ui/card.cjs +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +63 -0
- package/dist/ui/card.mjs +2 -0
- package/dist/ui/card.mjs.map +1 -0
- package/dist/ui/carousel.cjs +1 -1
- package/dist/ui/carousel.cjs.map +1 -1
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +71 -0
- package/dist/ui/carousel.mjs +2 -0
- package/dist/ui/carousel.mjs.map +1 -0
- package/dist/ui/checkbox.cjs +1 -2
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/checkbox.d.mts +26 -0
- package/dist/ui/checkbox.mjs +1 -0
- package/dist/ui/collapsible.cjs +1 -1
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.mts +34 -0
- package/dist/ui/collapsible.mjs +2 -0
- package/dist/ui/collapsible.mjs.map +1 -0
- package/dist/ui/command.cjs +1 -2
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.mts +89 -0
- package/dist/ui/command.mjs +1 -0
- package/dist/ui/context-menu.cjs +1 -1
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +125 -0
- package/dist/ui/context-menu.mjs +2 -0
- package/dist/ui/context-menu.mjs.map +1 -0
- package/dist/ui/dialog.cjs +1 -2
- package/dist/ui/dialog.d.cts +2 -90
- package/dist/ui/dialog.d.mts +2 -0
- package/dist/ui/dialog.mjs +1 -0
- package/dist/ui/drawer.cjs +1 -2
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.mts +72 -0
- package/dist/ui/drawer.mjs +1 -0
- package/dist/ui/dropdown-menu.cjs +1 -2
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.mts +127 -0
- package/dist/ui/dropdown-menu.mjs +1 -0
- package/dist/ui/empty.cjs +1 -1
- package/dist/ui/empty.d.cts +7 -7
- package/dist/ui/empty.d.mts +68 -0
- package/dist/ui/empty.mjs +2 -0
- package/dist/ui/empty.mjs.map +1 -0
- package/dist/ui/field.cjs +1 -1
- package/dist/ui/field.d.cts +24 -24
- package/dist/ui/field.d.mts +65 -0
- package/dist/ui/field.mjs +1 -0
- package/dist/ui/file-uploader.cjs +2 -2
- package/dist/ui/file-uploader.cjs.map +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +103 -0
- package/dist/ui/file-uploader.mjs +3 -0
- package/dist/ui/file-uploader.mjs.map +1 -0
- package/dist/ui/form.cjs +1 -1
- package/dist/ui/form.cjs.map +1 -1
- package/dist/ui/form.d.cts +10 -10
- package/dist/ui/form.d.mts +112 -0
- package/dist/ui/form.mjs +2 -0
- package/dist/ui/form.mjs.map +1 -0
- package/dist/ui/hover-card.cjs +1 -1
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.mts +37 -0
- package/dist/ui/hover-card.mjs +2 -0
- package/dist/ui/hover-card.mjs.map +1 -0
- package/dist/ui/image.cjs +1 -2
- package/dist/ui/image.d.mts +36 -0
- package/dist/ui/image.mjs +1 -0
- package/dist/ui/input-otp.cjs +1 -1
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.mts +59 -0
- package/dist/ui/input-otp.mjs +2 -0
- package/dist/ui/input-otp.mjs.map +1 -0
- package/dist/ui/input.cjs +1 -2
- package/dist/ui/input.d.cts +2 -44
- package/dist/ui/input.d.mts +2 -0
- package/dist/ui/input.mjs +1 -0
- package/dist/ui/inputs/search-input.cjs +1 -1
- package/dist/ui/inputs/search-input.cjs.map +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.mts +29 -0
- package/dist/ui/inputs/search-input.mjs +2 -0
- package/dist/ui/inputs/search-input.mjs.map +1 -0
- package/dist/ui/item.cjs +1 -1
- package/dist/ui/item.cjs.map +1 -1
- package/dist/ui/item.d.cts +17 -17
- package/dist/ui/item.d.mts +102 -0
- package/dist/ui/item.mjs +2 -0
- package/dist/ui/item.mjs.map +1 -0
- package/dist/ui/label.cjs +1 -2
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +24 -0
- package/dist/ui/label.mjs +1 -0
- package/dist/ui/menubar.cjs +1 -1
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +135 -0
- package/dist/ui/menubar.mjs +2 -0
- package/dist/ui/menubar.mjs.map +1 -0
- package/dist/ui/multi-select.cjs +1 -1
- package/dist/ui/multi-select.cjs.map +1 -1
- package/dist/ui/multi-select.d.cts +3 -3
- package/dist/ui/multi-select.d.mts +118 -0
- package/dist/ui/multi-select.mjs +2 -0
- package/dist/ui/multi-select.mjs.map +1 -0
- package/dist/ui/navigation-menu.cjs +1 -1
- package/dist/ui/navigation-menu.d.cts +11 -11
- package/dist/ui/navigation-menu.d.mts +77 -0
- package/dist/ui/navigation-menu.mjs +2 -0
- package/dist/ui/navigation-menu.mjs.map +1 -0
- package/dist/ui/pagination.cjs +1 -1
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.mts +67 -0
- package/dist/ui/pagination.mjs +2 -0
- package/dist/ui/pagination.mjs.map +1 -0
- package/dist/ui/popover.cjs +1 -2
- package/dist/ui/popover.d.cts +6 -6
- package/dist/ui/popover.d.mts +52 -0
- package/dist/ui/popover.mjs +1 -0
- package/dist/ui/progress.cjs +1 -2
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +23 -0
- package/dist/ui/progress.mjs +1 -0
- package/dist/ui/radio-group.cjs +1 -2
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +37 -0
- package/dist/ui/radio-group.mjs +1 -0
- package/dist/ui/resizable.cjs +1 -2
- package/dist/ui/resizable.d.cts +9 -9
- package/dist/ui/resizable.d.mts +63 -0
- package/dist/ui/resizable.mjs +1 -0
- package/dist/ui/scroll-area.cjs +1 -1
- package/dist/ui/scroll-area.d.cts +5 -5
- package/dist/ui/scroll-area.d.mts +37 -0
- package/dist/ui/scroll-area.mjs +2 -0
- package/dist/ui/scroll-area.mjs.map +1 -0
- package/dist/ui/select.cjs +1 -2
- package/dist/ui/select.d.cts +9 -9
- package/dist/ui/select.d.mts +77 -0
- package/dist/ui/select.mjs +1 -0
- package/dist/ui/separator.cjs +1 -2
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/separator.d.mts +34 -0
- package/dist/ui/separator.mjs +1 -0
- package/dist/ui/sheet.cjs +1 -2
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +69 -0
- package/dist/ui/sheet.mjs +1 -0
- package/dist/ui/skeleton.cjs +1 -1
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.mts +27 -0
- package/dist/ui/skeleton.mjs +1 -0
- package/dist/ui/slider.cjs +1 -1
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.mts +26 -0
- package/dist/ui/slider.mjs +2 -0
- package/dist/ui/slider.mjs.map +1 -0
- package/dist/ui/sonner.cjs +1 -1
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.mts +24 -0
- package/dist/ui/sonner.mjs +2 -0
- package/dist/ui/sonner.mjs.map +1 -0
- package/dist/ui/spinner.cjs +1 -2
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.mts +25 -0
- package/dist/ui/spinner.mjs +1 -0
- package/dist/ui/switch.cjs +1 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +26 -0
- package/dist/ui/switch.mjs +1 -0
- package/dist/ui/table.cjs +1 -1
- package/dist/ui/table.d.cts +17 -17
- package/dist/ui/table.d.mts +73 -0
- package/dist/ui/table.mjs +2 -0
- package/dist/ui/table.mjs.map +1 -0
- package/dist/ui/tabs.cjs +1 -1
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +44 -0
- package/dist/ui/tabs.mjs +2 -0
- package/dist/ui/tabs.mjs.map +1 -0
- package/dist/ui/textarea.cjs +1 -2
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +30 -0
- package/dist/ui/textarea.mjs +1 -0
- package/dist/ui/toggle-group.cjs +1 -1
- package/dist/ui/toggle-group.cjs.map +1 -1
- package/dist/ui/toggle-group.d.cts +4 -4
- package/dist/ui/toggle-group.d.mts +39 -0
- package/dist/ui/toggle-group.mjs +2 -0
- package/dist/ui/toggle-group.mjs.map +1 -0
- package/dist/ui/toggle.cjs +1 -1
- package/dist/ui/toggle.d.cts +5 -5
- package/dist/ui/toggle.d.mts +32 -0
- package/dist/ui/toggle.mjs +2 -0
- package/dist/ui/toggle.mjs.map +1 -0
- package/dist/ui/tooltip.cjs +1 -2
- package/dist/ui/tooltip.d.cts +5 -5
- package/dist/ui/tooltip.d.mts +55 -0
- package/dist/ui/tooltip.mjs +1 -0
- package/dist/user-DtZy4P9d.mjs +2 -0
- package/dist/user-DtZy4P9d.mjs.map +1 -0
- package/dist/user-ii4FBhO1.cjs +2 -0
- package/dist/user-ii4FBhO1.cjs.map +1 -0
- package/package.json +100 -100
- package/dist/alert-BVsYpWFX.d.cts +0 -88
- package/dist/alert-D5VmhFT9.js +0 -2
- package/dist/alert-D5VmhFT9.js.map +0 -1
- package/dist/alert-DXmXDeGs.d.ts +0 -88
- package/dist/alert-JwECRZfz.cjs +0 -2
- package/dist/alert-JwECRZfz.cjs.map +0 -1
- package/dist/button-BBfGvggN.d.ts +0 -174
- package/dist/button-BEjRVw6s.d.cts +0 -174
- package/dist/button.variants-BruXd4VM.js +0 -2
- package/dist/button.variants-BruXd4VM.js.map +0 -1
- package/dist/button.variants-DgVFNsVc.cjs +0 -2
- package/dist/button.variants-DgVFNsVc.cjs.map +0 -1
- package/dist/cards/grid-product-card.d.ts +0 -37
- package/dist/cards/grid-product-card.js +0 -2
- package/dist/cards/grid-product-card.js.map +0 -1
- package/dist/cards/product-card.d.ts +0 -37
- package/dist/cards/product-card.js +0 -2
- package/dist/cards/product-card.js.map +0 -1
- package/dist/cards/simple-card.d.ts +0 -35
- package/dist/cards/simple-card.js +0 -2
- package/dist/cards/simple-card.js.map +0 -1
- package/dist/chunk-Bmb41Sf3.cjs +0 -1
- package/dist/close-Dflkky9q.cjs +0 -2
- package/dist/close-Dflkky9q.cjs.map +0 -1
- package/dist/close-DrkwaVXK.js +0 -2
- package/dist/close-DrkwaVXK.js.map +0 -1
- package/dist/cms-layout-B8maJRLp.cjs +0 -2
- package/dist/cms-layout-B8maJRLp.cjs.map +0 -1
- package/dist/cms-layout-CLeGdpMb.js +0 -2
- package/dist/cms-layout-CLeGdpMb.js.map +0 -1
- package/dist/data-display/country.d.ts +0 -22
- package/dist/data-display/country.js +0 -2
- package/dist/data-display/country.js.map +0 -1
- package/dist/data-display/data-list.d.ts +0 -43
- package/dist/data-display/data-list.js +0 -2
- package/dist/data-display/data-list.js.map +0 -1
- package/dist/data-display/date-tooltip.d.ts +0 -19
- package/dist/data-display/date-tooltip.js +0 -2
- package/dist/data-display/date-tooltip.js.map +0 -1
- package/dist/data-display/date.cjs.map +0 -1
- package/dist/data-display/date.d.ts +0 -39
- package/dist/data-display/date.js +0 -2
- package/dist/data-display/date.js.map +0 -1
- package/dist/data-display/empty.d.ts +0 -21
- package/dist/data-display/empty.js +0 -2
- package/dist/data-display/empty.js.map +0 -1
- package/dist/data-display/name.d.ts +0 -19
- package/dist/data-display/name.js +0 -2
- package/dist/data-display/name.js.map +0 -1
- package/dist/data-display/phone-number.d.ts +0 -19
- package/dist/data-display/phone-number.js +0 -2
- package/dist/data-display/phone-number.js.map +0 -1
- package/dist/data-display/role-badge.d.ts +0 -22
- package/dist/data-display/role-badge.js +0 -2
- package/dist/data-display/role-badge.js.map +0 -1
- package/dist/data-display/statistic.cjs.map +0 -1
- package/dist/data-display/statistic.d.ts +0 -57
- package/dist/data-display/statistic.js +0 -2
- package/dist/data-display/statistic.js.map +0 -1
- package/dist/data-display/user.cjs.map +0 -1
- package/dist/data-display/user.d.ts +0 -23
- package/dist/data-display/user.js +0 -2
- package/dist/data-display/user.js.map +0 -1
- package/dist/dialogs/confirm-dialog.d.ts +0 -142
- package/dist/dialogs/confirm-dialog.js +0 -2
- package/dist/dialogs/confirm-dialog.js.map +0 -1
- package/dist/dialogs/detail-dialog/components/sidebar.d.ts +0 -209
- package/dist/dialogs/detail-dialog/components/sidebar.js +0 -1
- package/dist/dialogs/detail-dialog/index.d.ts +0 -45
- package/dist/dialogs/detail-dialog/index.js +0 -2
- package/dist/dialogs/detail-dialog/index.js.map +0 -1
- package/dist/dialogs/error-dialog.d.ts +0 -25
- package/dist/dialogs/error-dialog.js +0 -2
- package/dist/dialogs/error-dialog.js.map +0 -1
- package/dist/dialogs/loading-dialog.d.ts +0 -21
- package/dist/dialogs/loading-dialog.js +0 -2
- package/dist/dialogs/loading-dialog.js.map +0 -1
- package/dist/features/descriptions/index.d.ts +0 -246
- package/dist/features/descriptions/index.js +0 -2
- package/dist/features/descriptions/index.js.map +0 -1
- package/dist/features/search-modal/index.d.ts +0 -17
- package/dist/features/search-modal/index.js +0 -1
- package/dist/features/tables/index.d.ts +0 -2
- package/dist/features/tables/index.js +0 -1
- package/dist/features/tanstack-form/index.d.ts +0 -2
- package/dist/features/tanstack-form/index.js +0 -1
- package/dist/features/text-editor/index.d.ts +0 -2
- package/dist/features/text-editor/index.js +0 -1
- package/dist/field-0gaEKxov.cjs +0 -2
- package/dist/field-0gaEKxov.cjs.map +0 -1
- package/dist/field-DG-kX3HU.js +0 -2
- package/dist/field-DG-kX3HU.js.map +0 -1
- package/dist/flex-BAfCk_in.cjs +0 -2
- package/dist/flex-BAfCk_in.cjs.map +0 -1
- package/dist/flex-D_XtSjf4.js +0 -2
- package/dist/flex-D_XtSjf4.js.map +0 -1
- package/dist/heading-BX7ZVnVg.cjs +0 -2
- package/dist/heading-BX7ZVnVg.cjs.map +0 -1
- package/dist/heading-Bw3eo6IT.js +0 -2
- package/dist/heading-Bw3eo6IT.js.map +0 -1
- package/dist/index--eHW_BCk.d.ts +0 -85
- package/dist/index-C257sc-c.d.ts +0 -90
- package/dist/index-C4ZFmaZm.d.cts +0 -2348
- package/dist/index-DWEpRM8i.d.cts +0 -1093
- package/dist/index-DnQeeNHV.d.ts +0 -1093
- package/dist/index-_MFRCXuJ.d.cts +0 -85
- package/dist/index-rNI5ia8r.d.cts +0 -90
- package/dist/index-rZ2RtGJp.d.ts +0 -2348
- package/dist/index.d.ts +0 -93
- package/dist/index.js +0 -1
- package/dist/layouts/cms-layout/index.d.ts +0 -2
- package/dist/layouts/cms-layout/index.js +0 -1
- package/dist/layouts/flex.d.ts +0 -117
- package/dist/layouts/flex.js +0 -1
- package/dist/layouts/grid.d.ts +0 -19
- package/dist/layouts/grid.js +0 -2
- package/dist/layouts/grid.js.map +0 -1
- package/dist/layouts/payment-layout/index.d.ts +0 -74
- package/dist/layouts/payment-layout/index.js +0 -1
- package/dist/pages/FeatureDeveloping.d.ts +0 -43
- package/dist/pages/FeatureDeveloping.js +0 -2
- package/dist/pages/FeatureDeveloping.js.map +0 -1
- package/dist/pages/FeatureFixing.d.ts +0 -43
- package/dist/pages/FeatureFixing.js +0 -2
- package/dist/pages/FeatureFixing.js.map +0 -1
- package/dist/pages/LoginPage.d.ts +0 -55
- package/dist/pages/LoginPage.js +0 -2
- package/dist/pages/LoginPage.js.map +0 -1
- package/dist/pages/NotAuthorized.d.ts +0 -43
- package/dist/pages/NotAuthorized.js +0 -2
- package/dist/pages/NotAuthorized.js.map +0 -1
- package/dist/pages/NotFound.d.ts +0 -43
- package/dist/pages/NotFound.js +0 -2
- package/dist/pages/NotFound.js.map +0 -1
- package/dist/pages/RegisterPage.d.ts +0 -52
- package/dist/pages/RegisterPage.js +0 -2
- package/dist/pages/RegisterPage.js.map +0 -1
- package/dist/pages/VerifyEmailPage.d.ts +0 -64
- package/dist/pages/VerifyEmailPage.js +0 -2
- package/dist/pages/VerifyEmailPage.js.map +0 -1
- package/dist/paragraph-D0x3Jc6W.cjs +0 -2
- package/dist/paragraph-D0x3Jc6W.cjs.map +0 -1
- package/dist/paragraph-ESjXXqHU.js +0 -2
- package/dist/paragraph-ESjXXqHU.js.map +0 -1
- package/dist/payment-layout-CksJbGsl.js +0 -2
- package/dist/payment-layout-CksJbGsl.js.map +0 -1
- package/dist/payment-layout-O7TNw2Cr.cjs +0 -2
- package/dist/payment-layout-O7TNw2Cr.cjs.map +0 -1
- package/dist/search-modal-Db8Xp2L4.cjs +0 -2
- package/dist/search-modal-Db8Xp2L4.cjs.map +0 -1
- package/dist/search-modal-DdonKbwA.js +0 -2
- package/dist/search-modal-DdonKbwA.js.map +0 -1
- package/dist/sidebar-BCuXtop_.js +0 -2
- package/dist/sidebar-BCuXtop_.js.map +0 -1
- package/dist/sidebar-CQZlWCK4.cjs +0 -2
- package/dist/sidebar-CQZlWCK4.cjs.map +0 -1
- package/dist/skeleton-DAcbjBGp.js +0 -2
- package/dist/skeleton-DAcbjBGp.js.map +0 -1
- package/dist/skeleton-oQFT4xR2.cjs +0 -2
- package/dist/skeleton-oQFT4xR2.cjs.map +0 -1
- package/dist/systems/google.d.ts +0 -53
- package/dist/systems/google.js +0 -2
- package/dist/systems/google.js.map +0 -1
- package/dist/tables-DbwtCMRI.js +0 -4
- package/dist/tables-DbwtCMRI.js.map +0 -1
- package/dist/tables-DgZbLZQP.cjs +0 -4
- package/dist/tables-DgZbLZQP.cjs.map +0 -1
- package/dist/tanstack-form-C3SGhsmN.cjs +0 -2
- package/dist/tanstack-form-C3SGhsmN.cjs.map +0 -1
- package/dist/tanstack-form-Ds_Zjt20.js +0 -2
- package/dist/tanstack-form-Ds_Zjt20.js.map +0 -1
- package/dist/text-editor-DhTxCxvH.cjs +0 -2
- package/dist/text-editor-DhTxCxvH.cjs.map +0 -1
- package/dist/text-editor-DwisU9_U.js +0 -2
- package/dist/text-editor-DwisU9_U.js.map +0 -1
- package/dist/typography/paragraph.d.ts +0 -48
- package/dist/typography/paragraph.js +0 -1
- package/dist/typography/title.d.ts +0 -43
- package/dist/typography/title.js +0 -2
- package/dist/typography/title.js.map +0 -1
- package/dist/ui/alert-dialog.d.ts +0 -90
- package/dist/ui/alert-dialog.js +0 -2
- package/dist/ui/alert-dialog.js.map +0 -1
- package/dist/ui/alert.d.ts +0 -2
- package/dist/ui/alert.js +0 -1
- package/dist/ui/aspect-ratio.d.ts +0 -24
- package/dist/ui/aspect-ratio.js +0 -2
- package/dist/ui/aspect-ratio.js.map +0 -1
- package/dist/ui/avatar.cjs.map +0 -1
- package/dist/ui/avatar.d.ts +0 -35
- package/dist/ui/avatar.js +0 -2
- package/dist/ui/avatar.js.map +0 -1
- package/dist/ui/badge.cjs.map +0 -1
- package/dist/ui/badge.d.ts +0 -42
- package/dist/ui/badge.js +0 -2
- package/dist/ui/badge.js.map +0 -1
- package/dist/ui/breadcrumb.d.ts +0 -72
- package/dist/ui/breadcrumb.js +0 -2
- package/dist/ui/breadcrumb.js.map +0 -1
- package/dist/ui/button-group.d.ts +0 -50
- package/dist/ui/button-group.js +0 -2
- package/dist/ui/button-group.js.map +0 -1
- package/dist/ui/button.cjs.map +0 -1
- package/dist/ui/button.d.ts +0 -2
- package/dist/ui/button.js +0 -2
- package/dist/ui/button.js.map +0 -1
- package/dist/ui/buttons/add-new.d.ts +0 -17
- package/dist/ui/buttons/add-new.js +0 -2
- package/dist/ui/buttons/add-new.js.map +0 -1
- package/dist/ui/buttons/edit.d.ts +0 -17
- package/dist/ui/buttons/edit.js +0 -2
- package/dist/ui/buttons/edit.js.map +0 -1
- package/dist/ui/buttons/refresh.d.ts +0 -17
- package/dist/ui/buttons/refresh.js +0 -2
- package/dist/ui/buttons/refresh.js.map +0 -1
- package/dist/ui/buttons/trash.d.ts +0 -17
- package/dist/ui/buttons/trash.js +0 -2
- package/dist/ui/buttons/trash.js.map +0 -1
- package/dist/ui/buttons/upload-image.d.ts +0 -24
- package/dist/ui/buttons/upload-image.js +0 -2
- package/dist/ui/buttons/upload-image.js.map +0 -1
- package/dist/ui/calendar.cjs.map +0 -1
- package/dist/ui/calendar.d.ts +0 -45
- package/dist/ui/calendar.js +0 -2
- package/dist/ui/calendar.js.map +0 -1
- package/dist/ui/card.d.ts +0 -63
- package/dist/ui/card.js +0 -2
- package/dist/ui/card.js.map +0 -1
- package/dist/ui/carousel.d.ts +0 -71
- package/dist/ui/carousel.js +0 -2
- package/dist/ui/carousel.js.map +0 -1
- package/dist/ui/checkbox.cjs.map +0 -1
- package/dist/ui/checkbox.d.ts +0 -26
- package/dist/ui/checkbox.js +0 -2
- package/dist/ui/checkbox.js.map +0 -1
- package/dist/ui/collapsible.d.ts +0 -34
- package/dist/ui/collapsible.js +0 -2
- package/dist/ui/collapsible.js.map +0 -1
- package/dist/ui/command.cjs.map +0 -1
- package/dist/ui/command.d.ts +0 -89
- package/dist/ui/command.js +0 -2
- package/dist/ui/command.js.map +0 -1
- package/dist/ui/context-menu.d.ts +0 -125
- package/dist/ui/context-menu.js +0 -2
- package/dist/ui/context-menu.js.map +0 -1
- package/dist/ui/dialog.cjs.map +0 -1
- package/dist/ui/dialog.d.ts +0 -90
- package/dist/ui/dialog.js +0 -2
- package/dist/ui/dialog.js.map +0 -1
- package/dist/ui/drawer.cjs.map +0 -1
- package/dist/ui/drawer.d.ts +0 -72
- package/dist/ui/drawer.js +0 -2
- package/dist/ui/drawer.js.map +0 -1
- package/dist/ui/dropdown-menu.cjs.map +0 -1
- package/dist/ui/dropdown-menu.d.ts +0 -127
- package/dist/ui/dropdown-menu.js +0 -2
- package/dist/ui/dropdown-menu.js.map +0 -1
- package/dist/ui/empty.d.ts +0 -68
- package/dist/ui/empty.js +0 -2
- package/dist/ui/empty.js.map +0 -1
- package/dist/ui/field.d.ts +0 -65
- package/dist/ui/field.js +0 -1
- package/dist/ui/file-uploader.d.ts +0 -103
- package/dist/ui/file-uploader.js +0 -3
- package/dist/ui/file-uploader.js.map +0 -1
- package/dist/ui/form.d.ts +0 -112
- package/dist/ui/form.js +0 -2
- package/dist/ui/form.js.map +0 -1
- package/dist/ui/hover-card.d.ts +0 -37
- package/dist/ui/hover-card.js +0 -2
- package/dist/ui/hover-card.js.map +0 -1
- package/dist/ui/image.cjs.map +0 -1
- package/dist/ui/image.d.ts +0 -36
- package/dist/ui/image.js +0 -2
- package/dist/ui/image.js.map +0 -1
- package/dist/ui/input-otp.d.ts +0 -59
- package/dist/ui/input-otp.js +0 -2
- package/dist/ui/input-otp.js.map +0 -1
- package/dist/ui/input.cjs.map +0 -1
- package/dist/ui/input.d.ts +0 -44
- package/dist/ui/input.js +0 -2
- package/dist/ui/input.js.map +0 -1
- package/dist/ui/inputs/search-input.d.ts +0 -29
- package/dist/ui/inputs/search-input.js +0 -2
- package/dist/ui/inputs/search-input.js.map +0 -1
- package/dist/ui/item.d.ts +0 -102
- package/dist/ui/item.js +0 -2
- package/dist/ui/item.js.map +0 -1
- package/dist/ui/label.cjs.map +0 -1
- package/dist/ui/label.d.ts +0 -24
- package/dist/ui/label.js +0 -2
- package/dist/ui/label.js.map +0 -1
- package/dist/ui/menubar.d.ts +0 -135
- package/dist/ui/menubar.js +0 -2
- package/dist/ui/menubar.js.map +0 -1
- package/dist/ui/multi-select.d.ts +0 -117
- package/dist/ui/multi-select.js +0 -2
- package/dist/ui/multi-select.js.map +0 -1
- package/dist/ui/navigation-menu.d.ts +0 -77
- package/dist/ui/navigation-menu.js +0 -2
- package/dist/ui/navigation-menu.js.map +0 -1
- package/dist/ui/pagination.d.ts +0 -67
- package/dist/ui/pagination.js +0 -2
- package/dist/ui/pagination.js.map +0 -1
- package/dist/ui/popover.cjs.map +0 -1
- package/dist/ui/popover.d.ts +0 -52
- package/dist/ui/popover.js +0 -2
- package/dist/ui/popover.js.map +0 -1
- package/dist/ui/progress.cjs.map +0 -1
- package/dist/ui/progress.d.ts +0 -23
- package/dist/ui/progress.js +0 -2
- package/dist/ui/progress.js.map +0 -1
- package/dist/ui/radio-group.cjs.map +0 -1
- package/dist/ui/radio-group.d.ts +0 -37
- package/dist/ui/radio-group.js +0 -2
- package/dist/ui/radio-group.js.map +0 -1
- package/dist/ui/resizable.cjs.map +0 -1
- package/dist/ui/resizable.d.ts +0 -63
- package/dist/ui/resizable.js +0 -2
- package/dist/ui/resizable.js.map +0 -1
- package/dist/ui/scroll-area.d.ts +0 -37
- package/dist/ui/scroll-area.js +0 -2
- package/dist/ui/scroll-area.js.map +0 -1
- package/dist/ui/select.cjs.map +0 -1
- package/dist/ui/select.d.ts +0 -77
- package/dist/ui/select.js +0 -2
- package/dist/ui/select.js.map +0 -1
- package/dist/ui/separator.cjs.map +0 -1
- package/dist/ui/separator.d.ts +0 -34
- package/dist/ui/separator.js +0 -2
- package/dist/ui/separator.js.map +0 -1
- package/dist/ui/sheet.cjs.map +0 -1
- package/dist/ui/sheet.d.ts +0 -69
- package/dist/ui/sheet.js +0 -2
- package/dist/ui/sheet.js.map +0 -1
- package/dist/ui/skeleton.d.ts +0 -27
- package/dist/ui/skeleton.js +0 -1
- package/dist/ui/slider.d.ts +0 -26
- package/dist/ui/slider.js +0 -2
- package/dist/ui/slider.js.map +0 -1
- package/dist/ui/sonner.d.ts +0 -24
- package/dist/ui/sonner.js +0 -2
- package/dist/ui/sonner.js.map +0 -1
- package/dist/ui/spinner.cjs.map +0 -1
- package/dist/ui/spinner.d.ts +0 -25
- package/dist/ui/spinner.js +0 -2
- package/dist/ui/spinner.js.map +0 -1
- package/dist/ui/switch.cjs.map +0 -1
- package/dist/ui/switch.d.ts +0 -26
- package/dist/ui/switch.js +0 -2
- package/dist/ui/switch.js.map +0 -1
- package/dist/ui/table.d.ts +0 -73
- package/dist/ui/table.js +0 -2
- package/dist/ui/table.js.map +0 -1
- package/dist/ui/tabs.d.ts +0 -44
- package/dist/ui/tabs.js +0 -2
- package/dist/ui/tabs.js.map +0 -1
- package/dist/ui/textarea.cjs.map +0 -1
- package/dist/ui/textarea.d.ts +0 -30
- package/dist/ui/textarea.js +0 -2
- package/dist/ui/textarea.js.map +0 -1
- package/dist/ui/toggle-group.d.ts +0 -39
- package/dist/ui/toggle-group.js +0 -2
- package/dist/ui/toggle-group.js.map +0 -1
- package/dist/ui/toggle.d.ts +0 -32
- package/dist/ui/toggle.js +0 -2
- package/dist/ui/toggle.js.map +0 -1
- package/dist/ui/tooltip.cjs.map +0 -1
- package/dist/ui/tooltip.d.ts +0 -55
- package/dist/ui/tooltip.js +0 -2
- package/dist/ui/tooltip.js.map +0 -1
|
@@ -0,0 +1,2348 @@
|
|
|
1
|
+
import * as react642 from "react";
|
|
2
|
+
import * as class_variance_authority_types22 from "class-variance-authority/types";
|
|
3
|
+
import * as class_variance_authority0 from "class-variance-authority";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import { Label } from "radix-ui";
|
|
6
|
+
import * as _tanstack_form_core0 from "@tanstack/form-core";
|
|
7
|
+
import * as _tanstack_react_form0 from "@tanstack/react-form";
|
|
8
|
+
|
|
9
|
+
//#region packages/components/features/tanstack-form/types.d.ts
|
|
10
|
+
/** Layout axis for a field's label–input arrangement. */
|
|
11
|
+
type FieldOrientation = 'horizontal' | 'vertical' | 'responsive';
|
|
12
|
+
/** Rounding strategy applied to numeric field values. */
|
|
13
|
+
type FieldRounding = 'up' | 'down' | 'nearest' | 'none';
|
|
14
|
+
/** A single option in a select, combobox, or checkbox group. */
|
|
15
|
+
type SelectOption = {
|
|
16
|
+
/** Display text shown to the user. */
|
|
17
|
+
label: string;
|
|
18
|
+
/** Internal value submitted with the form. */
|
|
19
|
+
value: string;
|
|
20
|
+
};
|
|
21
|
+
/** A single option in a radio group, optionally with a supporting description. */
|
|
22
|
+
type RadioOption = {
|
|
23
|
+
/** Display text shown next to the radio button. */
|
|
24
|
+
label: string;
|
|
25
|
+
/** Internal value submitted with the form. */
|
|
26
|
+
value: string;
|
|
27
|
+
/** Optional secondary text rendered below the label. */
|
|
28
|
+
description?: string;
|
|
29
|
+
};
|
|
30
|
+
/** Value type for text, email, password, textarea, and text-editor fields. `null` means empty. */
|
|
31
|
+
type TextFieldValue = string | null;
|
|
32
|
+
/** Value type for number fields. `null` means empty. */
|
|
33
|
+
type NumberFieldValue = number | null;
|
|
34
|
+
/** Value type for switch and boolean fields. `null` means unset. */
|
|
35
|
+
type BooleanFieldValue = boolean | null;
|
|
36
|
+
/** Value type for date fields. `null` means no date selected. */
|
|
37
|
+
type DateFieldValue = Date | null;
|
|
38
|
+
/** Value type for checkbox group fields. `null` means nothing selected. */
|
|
39
|
+
type MultiSelectFieldValue = string[] | null;
|
|
40
|
+
/** Props for {@link TextField} — a single-line text input. */
|
|
41
|
+
type TextFieldProps = {
|
|
42
|
+
/** Field label displayed above or beside the input. */
|
|
43
|
+
label: string;
|
|
44
|
+
/** Secondary text rendered below the label. */
|
|
45
|
+
description?: string;
|
|
46
|
+
/** Input placeholder shown when the value is empty. */
|
|
47
|
+
placeholder?: string;
|
|
48
|
+
/** Controls whether the label stacks above or sits beside the input. Defaults to `'responsive'`. */
|
|
49
|
+
orientation?: FieldOrientation;
|
|
50
|
+
/** When `true`, displays a character count below the input. */
|
|
51
|
+
counter?: boolean;
|
|
52
|
+
/** Tooltip text shown in an info icon beside the label. */
|
|
53
|
+
tooltip?: string;
|
|
54
|
+
/** Helper note rendered below the input. */
|
|
55
|
+
helperText?: string;
|
|
56
|
+
/** When `true`, shows an × button to clear the current value. */
|
|
57
|
+
showClearButton?: boolean;
|
|
58
|
+
/** When `false`, suppresses inline validation error messages. Defaults to `true`. */
|
|
59
|
+
showErrorMessage?: boolean;
|
|
60
|
+
/** Marks the field as required; highlights the label when the value is `null`. */
|
|
61
|
+
required?: boolean;
|
|
62
|
+
/** Maximum number of characters the user may enter. */
|
|
63
|
+
maxLength?: number;
|
|
64
|
+
/** When `true`, disables the input. Also disabled automatically while the form is submitting. */
|
|
65
|
+
disabled?: boolean;
|
|
66
|
+
};
|
|
67
|
+
/** Props for {@link SimpleTextField} — a minimal single-line text input without decoration. */
|
|
68
|
+
type SimpleTextFieldProps = {
|
|
69
|
+
/** Field label rendered above the input. Omit to render label-less. */
|
|
70
|
+
label?: string;
|
|
71
|
+
/** Input placeholder shown when the value is empty. */
|
|
72
|
+
placeholder?: string;
|
|
73
|
+
/** When `true`, appends a required asterisk to the label. */
|
|
74
|
+
required?: boolean;
|
|
75
|
+
/** Maximum number of characters the user may enter. */
|
|
76
|
+
maxLength?: number;
|
|
77
|
+
/** When `true`, disables the input. Also disabled automatically while the form is submitting. */
|
|
78
|
+
disabled?: boolean;
|
|
79
|
+
};
|
|
80
|
+
/** Props for {@link TextareaField} — a multi-line text input. */
|
|
81
|
+
type TextareaFieldProps = {
|
|
82
|
+
/** Field label displayed above or beside the textarea. */
|
|
83
|
+
label: string;
|
|
84
|
+
/** Secondary text rendered below the label. */
|
|
85
|
+
description?: string;
|
|
86
|
+
/** Textarea placeholder shown when the value is empty. */
|
|
87
|
+
placeholder?: string;
|
|
88
|
+
/** Controls whether the label stacks above or sits beside the textarea. Defaults to `'responsive'`. */
|
|
89
|
+
orientation?: FieldOrientation;
|
|
90
|
+
/** When `true`, displays a character count below the textarea. */
|
|
91
|
+
counter?: boolean;
|
|
92
|
+
/** Tooltip text shown in an info icon beside the label. */
|
|
93
|
+
tooltip?: string;
|
|
94
|
+
/** Helper note rendered below the textarea. */
|
|
95
|
+
helperText?: string;
|
|
96
|
+
/** When `false`, suppresses inline validation error messages. Defaults to `true`. */
|
|
97
|
+
showErrorMessage?: boolean;
|
|
98
|
+
/** Marks the field as required; highlights the label when the value is `null`. */
|
|
99
|
+
required?: boolean;
|
|
100
|
+
/** Maximum number of characters the user may enter. */
|
|
101
|
+
maxLength?: number;
|
|
102
|
+
/** When `true`, disables the textarea. Also disabled automatically while the form is submitting. */
|
|
103
|
+
disabled?: boolean;
|
|
104
|
+
};
|
|
105
|
+
/** Props for {@link TextEditorField} — a rich-text (WYSIWYG) editor field. */
|
|
106
|
+
type TextEditorFieldProps = {
|
|
107
|
+
/** Field label displayed above the editor. */
|
|
108
|
+
label: string;
|
|
109
|
+
/** Secondary text rendered below the label. */
|
|
110
|
+
description?: string;
|
|
111
|
+
/** Placeholder shown inside the editor when the value is empty. */
|
|
112
|
+
placeholder?: string;
|
|
113
|
+
/** Tooltip text shown in an info icon beside the label. */
|
|
114
|
+
tooltip?: string;
|
|
115
|
+
/** Helper note rendered below the editor. */
|
|
116
|
+
helperText?: string;
|
|
117
|
+
/** When `false`, suppresses inline validation error messages. Defaults to `true`. */
|
|
118
|
+
showErrorMessage?: boolean;
|
|
119
|
+
/** Marks the field as required; highlights the label when the value is `null`. */
|
|
120
|
+
required?: boolean;
|
|
121
|
+
};
|
|
122
|
+
/** Props for {@link EmailField} — a text input pre-configured for email addresses. */
|
|
123
|
+
type EmailFieldProps = {
|
|
124
|
+
/** Field label displayed above or beside the input. */
|
|
125
|
+
label: string;
|
|
126
|
+
/** Secondary text rendered below the label. */
|
|
127
|
+
description?: string;
|
|
128
|
+
/** Input placeholder shown when the value is empty. */
|
|
129
|
+
placeholder?: string;
|
|
130
|
+
/** Controls whether the label stacks above or sits beside the input. Defaults to `'responsive'`. */
|
|
131
|
+
orientation?: FieldOrientation;
|
|
132
|
+
/** Tooltip text shown in an info icon beside the label. */
|
|
133
|
+
tooltip?: string;
|
|
134
|
+
/** Helper note rendered below the input. */
|
|
135
|
+
helperText?: string;
|
|
136
|
+
/** When `false`, suppresses inline validation error messages. Defaults to `true`. */
|
|
137
|
+
showErrorMessage?: boolean;
|
|
138
|
+
/** Marks the field as required; highlights the label when the value is `null`. */
|
|
139
|
+
required?: boolean;
|
|
140
|
+
/** Maximum number of characters the user may enter. */
|
|
141
|
+
maxLength?: number;
|
|
142
|
+
};
|
|
143
|
+
/** Props for {@link NumberField} — a numeric input with optional rounding, precision, and unit. */
|
|
144
|
+
type NumberFieldProps = {
|
|
145
|
+
/** Field label displayed above or beside the input. */
|
|
146
|
+
label: string;
|
|
147
|
+
/** Secondary text rendered below the label. */
|
|
148
|
+
description?: string;
|
|
149
|
+
/** Input placeholder shown when the value is empty. */
|
|
150
|
+
placeholder?: string;
|
|
151
|
+
/** Controls whether the label stacks above or sits beside the input. Defaults to `'responsive'`. */
|
|
152
|
+
orientation?: FieldOrientation;
|
|
153
|
+
/** Tooltip text shown in an info icon beside the label. */
|
|
154
|
+
tooltip?: string;
|
|
155
|
+
/** Helper note rendered below the input. */
|
|
156
|
+
helperText?: string;
|
|
157
|
+
/** Rounding strategy applied when the value changes. Defaults to `'none'`. */
|
|
158
|
+
rounding?: FieldRounding;
|
|
159
|
+
/** Number of decimal places displayed and enforced. */
|
|
160
|
+
decimalPlaces?: number;
|
|
161
|
+
/** Maximum number of significant digits (precision). */
|
|
162
|
+
precision?: number;
|
|
163
|
+
/** Unit label appended to the right of the input (e.g. `'kg'`, `'%'`). */
|
|
164
|
+
unit?: string;
|
|
165
|
+
/** When `false`, suppresses inline validation error messages. Defaults to `true`. */
|
|
166
|
+
showErrorMessage?: boolean;
|
|
167
|
+
/** Marks the field as required; highlights the label when the value is `null`. */
|
|
168
|
+
required?: boolean;
|
|
169
|
+
/** When `true`, the input accepts negative numbers. Defaults to `false`. */
|
|
170
|
+
allowNegative?: boolean;
|
|
171
|
+
/** When `true`, disables the input. Also disabled automatically while the form is submitting. */
|
|
172
|
+
disabled?: boolean;
|
|
173
|
+
};
|
|
174
|
+
/** Props for {@link PasswordField} — a text input with a show/hide password toggle. */
|
|
175
|
+
type PasswordFieldProps = {
|
|
176
|
+
/** Field label displayed above or beside the input. */
|
|
177
|
+
label: string;
|
|
178
|
+
/** Secondary text rendered below the label. */
|
|
179
|
+
description?: string;
|
|
180
|
+
/** Input placeholder shown when the value is empty. */
|
|
181
|
+
placeholder?: string;
|
|
182
|
+
/** Controls whether the label stacks above or sits beside the input. Defaults to `'responsive'`. */
|
|
183
|
+
orientation?: FieldOrientation;
|
|
184
|
+
/** Tooltip text shown in an info icon beside the label. */
|
|
185
|
+
tooltip?: string;
|
|
186
|
+
/** Helper note rendered below the input. */
|
|
187
|
+
helperText?: string;
|
|
188
|
+
/** When `false`, suppresses inline validation error messages. Defaults to `true`. */
|
|
189
|
+
showErrorMessage?: boolean;
|
|
190
|
+
};
|
|
191
|
+
/** Props for {@link SelectField} — a native-style dropdown for picking one option. */
|
|
192
|
+
type SelectFieldProps = {
|
|
193
|
+
/** Field label displayed above or beside the select. */
|
|
194
|
+
label: string;
|
|
195
|
+
/** Secondary text rendered below the label. */
|
|
196
|
+
description?: string;
|
|
197
|
+
/** Placeholder text shown when no option is selected. */
|
|
198
|
+
placeholder?: string;
|
|
199
|
+
/** List of options to display in the dropdown. */
|
|
200
|
+
options: SelectOption[];
|
|
201
|
+
/** Controls whether the label stacks above or sits beside the select. Defaults to `'responsive'`. */
|
|
202
|
+
orientation?: FieldOrientation;
|
|
203
|
+
/** Tooltip text shown in an info icon beside the label. */
|
|
204
|
+
tooltip?: string;
|
|
205
|
+
/** Helper note rendered below the select. */
|
|
206
|
+
helperText?: string;
|
|
207
|
+
/** When `true`, shows a button to clear the current selection. Defaults to `false`. */
|
|
208
|
+
clearable?: boolean;
|
|
209
|
+
/** Marks the field as required; highlights the label when the value is `null`. */
|
|
210
|
+
required?: boolean;
|
|
211
|
+
/** When `true`, disables the select. Also disabled automatically while the form is submitting. */
|
|
212
|
+
disabled?: boolean;
|
|
213
|
+
/** When `false`, suppresses inline validation error messages. Defaults to `true`. */
|
|
214
|
+
showErrorMessage?: boolean;
|
|
215
|
+
};
|
|
216
|
+
/** Props for {@link ComboboxField} — a searchable dropdown with keyboard navigation. On mobile it opens as a bottom drawer. */
|
|
217
|
+
type ComboboxFieldProps = {
|
|
218
|
+
/** Field label displayed above or beside the combobox. */
|
|
219
|
+
label: string;
|
|
220
|
+
/** Secondary text rendered below the label. */
|
|
221
|
+
description?: string;
|
|
222
|
+
/** Placeholder shown in the trigger button and the search input when nothing is selected. */
|
|
223
|
+
placeholder?: string;
|
|
224
|
+
/** Tooltip text shown in an info icon beside the label. */
|
|
225
|
+
tooltip?: string;
|
|
226
|
+
/** Helper note rendered below the combobox. */
|
|
227
|
+
helperText?: string;
|
|
228
|
+
/** Controls whether the label stacks above or sits beside the combobox. Defaults to `'responsive'`. */
|
|
229
|
+
orientation?: FieldOrientation;
|
|
230
|
+
/** List of options to display in the dropdown. */
|
|
231
|
+
options: SelectOption[];
|
|
232
|
+
/** Marks the field as required; highlights the label when the value is `null`. */
|
|
233
|
+
required?: boolean;
|
|
234
|
+
/** When `true`, disables the combobox. Also disabled automatically while the form is submitting. */
|
|
235
|
+
disabled?: boolean;
|
|
236
|
+
/** When `true`, shows a button to clear the current selection. Defaults to `false`. */
|
|
237
|
+
clearable?: boolean;
|
|
238
|
+
/** When `false`, suppresses inline validation error messages. Defaults to `true`. */
|
|
239
|
+
showErrorMessage?: boolean;
|
|
240
|
+
};
|
|
241
|
+
/** Props for {@link RadioGroupField} — a list of mutually exclusive radio buttons. */
|
|
242
|
+
type RadioGroupFieldProps = {
|
|
243
|
+
/** Field label displayed above the radio group. */
|
|
244
|
+
label: string;
|
|
245
|
+
/** Secondary text rendered below the label. */
|
|
246
|
+
description?: string;
|
|
247
|
+
/** List of radio options, each with an optional description. */
|
|
248
|
+
options: RadioOption[];
|
|
249
|
+
/** Controls whether the label stacks above or sits beside the group. Defaults to `'responsive'`. */
|
|
250
|
+
orientation?: FieldOrientation;
|
|
251
|
+
/** Helper note rendered below the group. */
|
|
252
|
+
helperText?: string;
|
|
253
|
+
/** Tooltip text shown in an info icon beside the label. */
|
|
254
|
+
tooltip?: string;
|
|
255
|
+
};
|
|
256
|
+
/** Props for {@link CheckboxField} — a group of checkboxes for multi-value selection. */
|
|
257
|
+
type CheckboxFieldProps = {
|
|
258
|
+
/** Field label displayed above the checkbox group. */
|
|
259
|
+
label: string;
|
|
260
|
+
/** Secondary text rendered below the label. */
|
|
261
|
+
description?: string;
|
|
262
|
+
/** Controls whether the label stacks above or sits beside the group. Defaults to `'responsive'`. */
|
|
263
|
+
orientation?: FieldOrientation;
|
|
264
|
+
/** List of checkbox options to display. */
|
|
265
|
+
options: SelectOption[];
|
|
266
|
+
/** Helper note rendered below the group. */
|
|
267
|
+
helperText?: string;
|
|
268
|
+
/** Tooltip text shown in an info icon beside the label. */
|
|
269
|
+
tooltip?: string;
|
|
270
|
+
};
|
|
271
|
+
/** Props for {@link SwitchField} — a boolean toggle rendered as a labelled switch. */
|
|
272
|
+
type SwitchFieldProps = {
|
|
273
|
+
/** Field label displayed beside the switch. */
|
|
274
|
+
label: string;
|
|
275
|
+
/** Secondary text rendered below the label. */
|
|
276
|
+
description?: string;
|
|
277
|
+
/** Helper note rendered below the switch. */
|
|
278
|
+
helperText?: string;
|
|
279
|
+
};
|
|
280
|
+
/** Props for {@link DateField} — a calendar date picker with quick-select presets. */
|
|
281
|
+
type DateFieldProps = {
|
|
282
|
+
/** Field label displayed above or beside the picker. */
|
|
283
|
+
label: string;
|
|
284
|
+
/** Secondary text rendered below the label. */
|
|
285
|
+
description?: string;
|
|
286
|
+
/** Placeholder shown in the trigger button when no date is selected. */
|
|
287
|
+
placeholder?: string;
|
|
288
|
+
/** Controls whether the label stacks above or sits beside the picker. Defaults to `'responsive'`. */
|
|
289
|
+
orientation?: FieldOrientation;
|
|
290
|
+
/** Tooltip text shown in an info icon beside the label. */
|
|
291
|
+
tooltip?: string;
|
|
292
|
+
/** Helper note rendered below the picker. */
|
|
293
|
+
helperText?: string;
|
|
294
|
+
/** When `false`, suppresses inline validation error messages. Defaults to `true`. */
|
|
295
|
+
showErrorMessage?: boolean;
|
|
296
|
+
/** Marks the field as required; highlights the label when the value is `null`. */
|
|
297
|
+
required?: boolean;
|
|
298
|
+
/** When `true`, disables the date picker. Also disabled automatically while the form is submitting. */
|
|
299
|
+
disabled?: boolean;
|
|
300
|
+
/** Earliest selectable date; days before this are hidden in the calendar. */
|
|
301
|
+
minDate?: Date;
|
|
302
|
+
/** Latest selectable date; days after this are hidden in the calendar. */
|
|
303
|
+
maxDate?: Date;
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* Discriminated union of props for every field type, keyed by `fieldType`.
|
|
307
|
+
* Use this when rendering fields dynamically from a config array.
|
|
308
|
+
*
|
|
309
|
+
* @example
|
|
310
|
+
* function renderField(field: AnyFieldProps) {
|
|
311
|
+
* switch (field.fieldType) {
|
|
312
|
+
* case 'text': return <TextField {...field} />;
|
|
313
|
+
* case 'select': return <SelectField {...field} />;
|
|
314
|
+
* // …
|
|
315
|
+
* }
|
|
316
|
+
* }
|
|
317
|
+
*/
|
|
318
|
+
type AnyFieldProps = ({
|
|
319
|
+
fieldType: 'text';
|
|
320
|
+
} & TextFieldProps) | ({
|
|
321
|
+
fieldType: 'textarea';
|
|
322
|
+
} & TextareaFieldProps) | ({
|
|
323
|
+
fieldType: 'text-editor';
|
|
324
|
+
} & TextEditorFieldProps) | ({
|
|
325
|
+
fieldType: 'email';
|
|
326
|
+
} & EmailFieldProps) | ({
|
|
327
|
+
fieldType: 'number';
|
|
328
|
+
} & NumberFieldProps) | ({
|
|
329
|
+
fieldType: 'password';
|
|
330
|
+
} & PasswordFieldProps) | ({
|
|
331
|
+
fieldType: 'select';
|
|
332
|
+
} & SelectFieldProps) | ({
|
|
333
|
+
fieldType: 'combobox';
|
|
334
|
+
} & ComboboxFieldProps) | ({
|
|
335
|
+
fieldType: 'radio-group';
|
|
336
|
+
} & RadioGroupFieldProps) | ({
|
|
337
|
+
fieldType: 'checkbox';
|
|
338
|
+
} & CheckboxFieldProps) | ({
|
|
339
|
+
fieldType: 'switch';
|
|
340
|
+
} & SwitchFieldProps) | ({
|
|
341
|
+
fieldType: 'date';
|
|
342
|
+
} & DateFieldProps);
|
|
343
|
+
/** The `fieldType` discriminant extracted from {@link AnyFieldProps}. */
|
|
344
|
+
type FieldType = AnyFieldProps['fieldType'];
|
|
345
|
+
//#endregion
|
|
346
|
+
//#region packages/components/features/tanstack-form/components/ui/label.d.ts
|
|
347
|
+
/**
|
|
348
|
+
* Form field label that automatically renders a "Required" badge when the field is marked aria-required.
|
|
349
|
+
*
|
|
350
|
+
* @example
|
|
351
|
+
* import { Label } from '@customafk/lunas-ui/features/tanstack-form';
|
|
352
|
+
*
|
|
353
|
+
* <Label htmlFor="email">Email address</Label>
|
|
354
|
+
*/
|
|
355
|
+
declare function Label$1({
|
|
356
|
+
className,
|
|
357
|
+
children,
|
|
358
|
+
...props
|
|
359
|
+
}: React.ComponentProps<typeof Label.Root>): react642.JSX.Element;
|
|
360
|
+
//#endregion
|
|
361
|
+
//#region packages/components/features/tanstack-form/components/atoms/simple-array-field.d.ts
|
|
362
|
+
type ArrayColProps = {
|
|
363
|
+
/**
|
|
364
|
+
* Fixed column width as a pixel number (e.g. `96`) or any CSS string
|
|
365
|
+
* (e.g. `'8rem'`, `'20%'`). Omit to let the column expand and fill the
|
|
366
|
+
* remaining row space (`flex: 1`).
|
|
367
|
+
*/
|
|
368
|
+
width?: number | string;
|
|
369
|
+
className?: string;
|
|
370
|
+
children: React.ReactNode;
|
|
371
|
+
};
|
|
372
|
+
/**
|
|
373
|
+
* Layout helper for columns inside a `SimpleArrayField` row. Controls width
|
|
374
|
+
* without repeating `<div className="w-24">` or `<div className="flex-1">`.
|
|
375
|
+
*
|
|
376
|
+
* @example
|
|
377
|
+
* <SimpleArrayField defaultRow={...}>
|
|
378
|
+
* {i => (
|
|
379
|
+
* <>
|
|
380
|
+
* <ArrayCol> // flex-1 — takes remaining space
|
|
381
|
+
* <AppField name={`items[${i}].name`}>...</AppField>
|
|
382
|
+
* </ArrayCol>
|
|
383
|
+
* <ArrayCol width={96}> // 96 px fixed
|
|
384
|
+
* <AppField name={`items[${i}].qty`}>...</AppField>
|
|
385
|
+
* </ArrayCol>
|
|
386
|
+
* <ArrayCol width="8rem"> // CSS string
|
|
387
|
+
* <AppField name={`items[${i}].tax`}>...</AppField>
|
|
388
|
+
* </ArrayCol>
|
|
389
|
+
* </>
|
|
390
|
+
* )}
|
|
391
|
+
* </SimpleArrayField>
|
|
392
|
+
*/
|
|
393
|
+
declare function ArrayCol({
|
|
394
|
+
width,
|
|
395
|
+
className,
|
|
396
|
+
children
|
|
397
|
+
}: ArrayColProps): react642.JSX.Element;
|
|
398
|
+
type ArrayHeaderRowProps = {
|
|
399
|
+
className?: string;
|
|
400
|
+
children: React.ReactNode;
|
|
401
|
+
};
|
|
402
|
+
/**
|
|
403
|
+
* Styled header row for a `SimpleArrayField` table. Place it directly above
|
|
404
|
+
* `<SimpleArrayField>` and use `<ArrayCol>` children with text labels to align
|
|
405
|
+
* headers with their columns. A spacer matching the delete-button width is
|
|
406
|
+
* appended automatically.
|
|
407
|
+
*
|
|
408
|
+
* @example
|
|
409
|
+
* <ArrayHeaderRow>
|
|
410
|
+
* <ArrayCol>Name</ArrayCol>
|
|
411
|
+
* <ArrayCol width={96}>Price</ArrayCol>
|
|
412
|
+
* <ArrayCol width={80}>Qty</ArrayCol>
|
|
413
|
+
* </ArrayHeaderRow>
|
|
414
|
+
* <SimpleArrayField defaultRow={...}>
|
|
415
|
+
* {i => (...)}
|
|
416
|
+
* </SimpleArrayField>
|
|
417
|
+
*/
|
|
418
|
+
declare function ArrayHeaderRow({
|
|
419
|
+
className,
|
|
420
|
+
children
|
|
421
|
+
}: ArrayHeaderRowProps): react642.JSX.Element;
|
|
422
|
+
type Props$9<T> = {
|
|
423
|
+
/**
|
|
424
|
+
* Shape of a brand-new empty row appended when the user clicks "Add row".
|
|
425
|
+
*/
|
|
426
|
+
defaultRow: T;
|
|
427
|
+
/**
|
|
428
|
+
* Render function called once per row. Receives the zero-based row `index`
|
|
429
|
+
* so you can build field paths like `` `items[${index}].name` ``.
|
|
430
|
+
*/
|
|
431
|
+
children: (index: number) => React.ReactNode;
|
|
432
|
+
/** Label on the add button. Defaults to `'Add row'`. */
|
|
433
|
+
addLabel?: string;
|
|
434
|
+
className?: string;
|
|
435
|
+
};
|
|
436
|
+
/**
|
|
437
|
+
* Array field wrapper that manages rows (add / remove) while letting you
|
|
438
|
+
* freely compose any fields inside each row.
|
|
439
|
+
*
|
|
440
|
+
* @example
|
|
441
|
+
* const { AppForm, AppField } = useTanStackForm({ defaultValues: { items: [] } });
|
|
442
|
+
*
|
|
443
|
+
* <AppForm>
|
|
444
|
+
* <AppField name="items">
|
|
445
|
+
* {({ SimpleArrayField }) => (
|
|
446
|
+
* <SimpleArrayField defaultRow={{ name: null, qty: null }}>
|
|
447
|
+
* {(i) => (
|
|
448
|
+
* <div className="flex gap-2">
|
|
449
|
+
* <AppField name={`items[${i}].name`}>
|
|
450
|
+
* {({ SimpleTextField }) => <SimpleTextField label="Name" />}
|
|
451
|
+
* </AppField>
|
|
452
|
+
* <AppField name={`items[${i}].qty`}>
|
|
453
|
+
* {({ SimpleNumberField }) => <SimpleNumberField label="Qty" />}
|
|
454
|
+
* </AppField>
|
|
455
|
+
* </div>
|
|
456
|
+
* )}
|
|
457
|
+
* </SimpleArrayField>
|
|
458
|
+
* )}
|
|
459
|
+
* </AppField>
|
|
460
|
+
* </AppForm>
|
|
461
|
+
*/
|
|
462
|
+
declare function SimpleArrayField<T>({
|
|
463
|
+
defaultRow,
|
|
464
|
+
children,
|
|
465
|
+
addLabel,
|
|
466
|
+
className
|
|
467
|
+
}: Props$9<T>): react642.JSX.Element;
|
|
468
|
+
//#endregion
|
|
469
|
+
//#region packages/components/features/tanstack-form/components/atoms/simple-boolean-field.d.ts
|
|
470
|
+
type Props$8 = {
|
|
471
|
+
label?: string;
|
|
472
|
+
required?: boolean;
|
|
473
|
+
disabled?: boolean;
|
|
474
|
+
variant?: 'checkbox' | 'switch';
|
|
475
|
+
};
|
|
476
|
+
declare const SimpleBooleanField: React.FC<Props$8>;
|
|
477
|
+
//#endregion
|
|
478
|
+
//#region packages/components/features/tanstack-form/components/atoms/simple-combobox-field.d.ts
|
|
479
|
+
type Props$7 = {
|
|
480
|
+
label?: string;
|
|
481
|
+
placeholder?: string;
|
|
482
|
+
required?: boolean;
|
|
483
|
+
disabled?: boolean;
|
|
484
|
+
options: Array<{
|
|
485
|
+
value: string;
|
|
486
|
+
label: string;
|
|
487
|
+
}>;
|
|
488
|
+
};
|
|
489
|
+
declare const SimpleComboboxField: React.FC<Props$7>;
|
|
490
|
+
//#endregion
|
|
491
|
+
//#region packages/components/features/tanstack-form/components/atoms/simple-date-field.d.ts
|
|
492
|
+
type Props$6 = {
|
|
493
|
+
label?: string;
|
|
494
|
+
placeholder?: string;
|
|
495
|
+
required?: boolean;
|
|
496
|
+
disabled?: boolean;
|
|
497
|
+
minDate?: Date;
|
|
498
|
+
maxDate?: Date;
|
|
499
|
+
};
|
|
500
|
+
declare const SimpleDateField: React.FC<Props$6>;
|
|
501
|
+
//#endregion
|
|
502
|
+
//#region packages/components/features/tanstack-form/components/atoms/simple-radio-group-field.d.ts
|
|
503
|
+
type Props$5 = {
|
|
504
|
+
label?: string;
|
|
505
|
+
required?: boolean;
|
|
506
|
+
disabled?: boolean;
|
|
507
|
+
options: Array<{
|
|
508
|
+
value: string;
|
|
509
|
+
label: string;
|
|
510
|
+
}>;
|
|
511
|
+
orientation?: 'horizontal' | 'vertical';
|
|
512
|
+
};
|
|
513
|
+
declare const SimpleRadioGroupField: React.FC<Props$5>;
|
|
514
|
+
//#endregion
|
|
515
|
+
//#region packages/components/features/tanstack-form/components/atoms/simple-email-field.d.ts
|
|
516
|
+
type Props$4 = {
|
|
517
|
+
label?: string;
|
|
518
|
+
placeholder?: string;
|
|
519
|
+
required?: boolean;
|
|
520
|
+
maxLength?: number;
|
|
521
|
+
disabled?: boolean;
|
|
522
|
+
};
|
|
523
|
+
declare const SimpleEmailField: React.FC<Props$4>;
|
|
524
|
+
//#endregion
|
|
525
|
+
//#region packages/components/features/tanstack-form/components/atoms/simple-number-field.d.ts
|
|
526
|
+
type Props$3 = {
|
|
527
|
+
label?: string;
|
|
528
|
+
placeholder?: string;
|
|
529
|
+
required?: boolean;
|
|
530
|
+
unit?: string;
|
|
531
|
+
allowNegative?: boolean;
|
|
532
|
+
disabled?: boolean;
|
|
533
|
+
};
|
|
534
|
+
declare const SimpleNumberField: React.FC<Props$3>;
|
|
535
|
+
//#endregion
|
|
536
|
+
//#region packages/components/features/tanstack-form/components/atoms/simple-password-field.d.ts
|
|
537
|
+
type Props$2 = {
|
|
538
|
+
label?: string;
|
|
539
|
+
placeholder?: string;
|
|
540
|
+
required?: boolean;
|
|
541
|
+
disabled?: boolean;
|
|
542
|
+
};
|
|
543
|
+
declare const SimplePasswordField: React.FC<Props$2>;
|
|
544
|
+
//#endregion
|
|
545
|
+
//#region packages/components/features/tanstack-form/components/atoms/simple-select-field.d.ts
|
|
546
|
+
type Props$1 = {
|
|
547
|
+
label?: string;
|
|
548
|
+
placeholder?: string;
|
|
549
|
+
required?: boolean;
|
|
550
|
+
options: Array<{
|
|
551
|
+
value: string;
|
|
552
|
+
label: string;
|
|
553
|
+
}>;
|
|
554
|
+
};
|
|
555
|
+
declare const SimpleSelectField: React.FC<Props$1>;
|
|
556
|
+
//#endregion
|
|
557
|
+
//#region packages/components/features/tanstack-form/components/atoms/simple-textarea-field.d.ts
|
|
558
|
+
type Props = {
|
|
559
|
+
label?: string;
|
|
560
|
+
placeholder?: string;
|
|
561
|
+
required?: boolean;
|
|
562
|
+
maxLength?: number;
|
|
563
|
+
rows?: number;
|
|
564
|
+
disabled?: boolean;
|
|
565
|
+
};
|
|
566
|
+
declare const SimpleTextareaField: React.FC<Props>;
|
|
567
|
+
//#endregion
|
|
568
|
+
//#region packages/components/features/tanstack-form/components/atoms/simple-text-field.d.ts
|
|
569
|
+
declare const SimpleTextField: React.FC<SimpleTextFieldProps>;
|
|
570
|
+
//#endregion
|
|
571
|
+
//#region packages/components/features/tanstack-form/components/fields/checkbox-field.d.ts
|
|
572
|
+
/**
|
|
573
|
+
* A TanStack Form-connected checkbox group field that manages an array of selected string values,
|
|
574
|
+
* supporting multi-selection and submission-state disabling.
|
|
575
|
+
*
|
|
576
|
+
* @example
|
|
577
|
+
* import { CheckboxField } from '@customafk/lunas-ui/features/tanstack-form';
|
|
578
|
+
*
|
|
579
|
+
* <form.Field name="roles">
|
|
580
|
+
* {() => (
|
|
581
|
+
* <CheckboxField
|
|
582
|
+
* label="Roles"
|
|
583
|
+
* options={[
|
|
584
|
+
* { value: 'admin', label: 'Admin' },
|
|
585
|
+
* { value: 'editor', label: 'Editor' },
|
|
586
|
+
* ]}
|
|
587
|
+
* helperText="Select one or more roles"
|
|
588
|
+
* />
|
|
589
|
+
* )}
|
|
590
|
+
* </form.Field>
|
|
591
|
+
*/
|
|
592
|
+
declare const CheckboxField: React.FC<CheckboxFieldProps>;
|
|
593
|
+
//#endregion
|
|
594
|
+
//#region packages/components/features/tanstack-form/components/fields/combobox-field.d.ts
|
|
595
|
+
declare const ComboboxField: react642.NamedExoticComponent<ComboboxFieldProps>;
|
|
596
|
+
//#endregion
|
|
597
|
+
//#region packages/components/features/tanstack-form/components/fields/date-field.d.ts
|
|
598
|
+
declare const DateField: react642.NamedExoticComponent<DateFieldProps>;
|
|
599
|
+
//#endregion
|
|
600
|
+
//#region packages/components/features/tanstack-form/components/fields/email-field.d.ts
|
|
601
|
+
/**
|
|
602
|
+
* A TanStack Form-connected email input field with an at-sign prefix icon,
|
|
603
|
+
* optional clear button, and inline validation error display.
|
|
604
|
+
*
|
|
605
|
+
* @example
|
|
606
|
+
* import { EmailField } from '@customafk/lunas-ui/features/tanstack-form';
|
|
607
|
+
*
|
|
608
|
+
* <form.Field name="email">
|
|
609
|
+
* {() => (
|
|
610
|
+
* <EmailField
|
|
611
|
+
* label="Email address"
|
|
612
|
+
* placeholder="you@example.com"
|
|
613
|
+
* required
|
|
614
|
+
* />
|
|
615
|
+
* )}
|
|
616
|
+
* </form.Field>
|
|
617
|
+
*/
|
|
618
|
+
declare const EmailField: React.FC<EmailFieldProps>;
|
|
619
|
+
//#endregion
|
|
620
|
+
//#region packages/components/features/tanstack-form/components/fields/number-field.d.ts
|
|
621
|
+
/**
|
|
622
|
+
* A TanStack Form-connected numeric input field supporting rounding rules,
|
|
623
|
+
* decimal precision, unit labels, and submission-state feedback.
|
|
624
|
+
*
|
|
625
|
+
* @example
|
|
626
|
+
* import { NumberField } from '@customafk/lunas-ui/features/tanstack-form';
|
|
627
|
+
*
|
|
628
|
+
* <form.Field name="quantity">
|
|
629
|
+
* {() => (
|
|
630
|
+
* <NumberField
|
|
631
|
+
* label="Quantity"
|
|
632
|
+
* placeholder="0"
|
|
633
|
+
* unit="pcs"
|
|
634
|
+
* decimalPlaces={2}
|
|
635
|
+
* required
|
|
636
|
+
* />
|
|
637
|
+
* )}
|
|
638
|
+
* </form.Field>
|
|
639
|
+
*/
|
|
640
|
+
declare const NumberField: react642.NamedExoticComponent<NumberFieldProps>;
|
|
641
|
+
//#endregion
|
|
642
|
+
//#region packages/components/features/tanstack-form/components/fields/password-field.d.ts
|
|
643
|
+
/**
|
|
644
|
+
* A TanStack Form-connected password input field with a show/hide toggle button
|
|
645
|
+
* and inline validation error display.
|
|
646
|
+
*
|
|
647
|
+
* @example
|
|
648
|
+
* import { PasswordField } from '@customafk/lunas-ui/features/tanstack-form';
|
|
649
|
+
*
|
|
650
|
+
* <form.Field name="password">
|
|
651
|
+
* {() => (
|
|
652
|
+
* <PasswordField
|
|
653
|
+
* label="Password"
|
|
654
|
+
* placeholder="Enter your password"
|
|
655
|
+
* helperText="Must be at least 8 characters"
|
|
656
|
+
* />
|
|
657
|
+
* )}
|
|
658
|
+
* </form.Field>
|
|
659
|
+
*/
|
|
660
|
+
declare const PasswordField: React.FC<PasswordFieldProps>;
|
|
661
|
+
//#endregion
|
|
662
|
+
//#region packages/components/features/tanstack-form/components/fields/radio-group-field.d.ts
|
|
663
|
+
declare const RadioGroupField: React.FC<RadioGroupFieldProps>;
|
|
664
|
+
//#endregion
|
|
665
|
+
//#region packages/components/features/tanstack-form/components/fields/select-field.d.ts
|
|
666
|
+
declare const SelectField: react642.NamedExoticComponent<SelectFieldProps>;
|
|
667
|
+
//#endregion
|
|
668
|
+
//#region packages/components/features/tanstack-form/components/fields/switch-field.d.ts
|
|
669
|
+
/**
|
|
670
|
+
* A TanStack Form-connected boolean toggle field rendered as a labelled switch,
|
|
671
|
+
* positioned absolutely in the top-right corner of the field card.
|
|
672
|
+
*
|
|
673
|
+
* @example
|
|
674
|
+
* import { SwitchField } from '@customafk/lunas-ui/features/tanstack-form';
|
|
675
|
+
*
|
|
676
|
+
* <form.Field name="notifications">
|
|
677
|
+
* {() => (
|
|
678
|
+
* <SwitchField
|
|
679
|
+
* label="Enable notifications"
|
|
680
|
+
* description="Receive email alerts for important events"
|
|
681
|
+
* helperText="You can change this at any time"
|
|
682
|
+
* />
|
|
683
|
+
* )}
|
|
684
|
+
* </form.Field>
|
|
685
|
+
*/
|
|
686
|
+
declare const SwitchField: React.FC<SwitchFieldProps>;
|
|
687
|
+
//#endregion
|
|
688
|
+
//#region packages/components/features/tanstack-form/components/fields/text-field.d.ts
|
|
689
|
+
/**
|
|
690
|
+
* A TanStack Form-connected single-line text input with label, validation, and optional features.
|
|
691
|
+
*
|
|
692
|
+
* Must be rendered inside an `AppField` context from `useTanStackForm`.
|
|
693
|
+
* The field value type is `string | null` — `null` represents an empty/unset state.
|
|
694
|
+
*
|
|
695
|
+
* ---
|
|
696
|
+
*
|
|
697
|
+
* **Basic usage**
|
|
698
|
+
* @example
|
|
699
|
+
* const { AppField } = useTanStackForm({ defaultValues: { name: null } });
|
|
700
|
+
*
|
|
701
|
+
* <AppField name="name">
|
|
702
|
+
* {field => <field.TextField label="Full name" placeholder="Nguyễn Văn A" />}
|
|
703
|
+
* </AppField>
|
|
704
|
+
*
|
|
705
|
+
* ---
|
|
706
|
+
*
|
|
707
|
+
* **With validation**
|
|
708
|
+
* @example
|
|
709
|
+
* <AppField
|
|
710
|
+
* name="username"
|
|
711
|
+
* validators={{ onChange: ({ value }) => !value ? 'Bắt buộc' : undefined }}
|
|
712
|
+
* >
|
|
713
|
+
* {field => <field.TextField label="Username" required />}
|
|
714
|
+
* </AppField>
|
|
715
|
+
*
|
|
716
|
+
* ---
|
|
717
|
+
*
|
|
718
|
+
* **With character counter and max length**
|
|
719
|
+
* @example
|
|
720
|
+
* <AppField name="bio">
|
|
721
|
+
* {field => (
|
|
722
|
+
* <field.TextField
|
|
723
|
+
* label="Bio"
|
|
724
|
+
* counter
|
|
725
|
+
* maxLength={160}
|
|
726
|
+
* placeholder="Giới thiệu bản thân…"
|
|
727
|
+
* />
|
|
728
|
+
* )}
|
|
729
|
+
* </AppField>
|
|
730
|
+
*
|
|
731
|
+
* ---
|
|
732
|
+
*
|
|
733
|
+
* **With clear button and helper note**
|
|
734
|
+
* @example
|
|
735
|
+
* <AppField name="search">
|
|
736
|
+
* {field => (
|
|
737
|
+
* <field.TextField
|
|
738
|
+
* label="Tìm kiếm"
|
|
739
|
+
* showClearButton
|
|
740
|
+
* helperText="Nhập ít nhất 3 ký tự để tìm kiếm."
|
|
741
|
+
* />
|
|
742
|
+
* )}
|
|
743
|
+
* </AppField>
|
|
744
|
+
*
|
|
745
|
+
* ---
|
|
746
|
+
*
|
|
747
|
+
* **Horizontal layout**
|
|
748
|
+
* @example
|
|
749
|
+
* <AppField name="code">
|
|
750
|
+
* {field => (
|
|
751
|
+
* <field.TextField
|
|
752
|
+
* label="Mã sản phẩm"
|
|
753
|
+
* orientation="horizontal"
|
|
754
|
+
* tooltip="Mã duy nhất định danh sản phẩm trong hệ thống."
|
|
755
|
+
* />
|
|
756
|
+
* )}
|
|
757
|
+
* </AppField>
|
|
758
|
+
*/
|
|
759
|
+
declare const TextField: react642.NamedExoticComponent<TextFieldProps>;
|
|
760
|
+
//#endregion
|
|
761
|
+
//#region packages/components/features/tanstack-form/components/fields/textarea-field.d.ts
|
|
762
|
+
declare const TextareaField: react642.NamedExoticComponent<TextareaFieldProps>;
|
|
763
|
+
//#endregion
|
|
764
|
+
//#region packages/components/features/tanstack-form/components/fields/text-editor-field.d.ts
|
|
765
|
+
declare const TextEditorField: React.FC<TextEditorFieldProps>;
|
|
766
|
+
//#endregion
|
|
767
|
+
//#region packages/components/features/tanstack-form/components/forms/action-submit.d.ts
|
|
768
|
+
/**
|
|
769
|
+
* Renders a submit button wired to the current TanStack Form context, automatically handling loading and disabled states.
|
|
770
|
+
*
|
|
771
|
+
* @example
|
|
772
|
+
* import { TanStackActionSubmit } from '@customafk/lunas-ui/features/tanstack-form';
|
|
773
|
+
*
|
|
774
|
+
* // Inside a TanStack Form provider:
|
|
775
|
+
* <TanStackActionSubmit label="Save Changes" className="mt-4" />
|
|
776
|
+
*/
|
|
777
|
+
declare const TanStackActionSubmit: React.FC<{
|
|
778
|
+
/** Button label text. Defaults to `'Submit'` when omitted. */
|
|
779
|
+
label?: string;
|
|
780
|
+
/** Additional CSS class names applied to the button element. */
|
|
781
|
+
className?: string;
|
|
782
|
+
}>;
|
|
783
|
+
//#endregion
|
|
784
|
+
//#region packages/components/features/tanstack-form/components/forms/actions-form.d.ts
|
|
785
|
+
/**
|
|
786
|
+
* Renders a form action bar with a Cancel button and a context-aware submit button (Add New or Update) driven by TanStack Form state.
|
|
787
|
+
*
|
|
788
|
+
* @example
|
|
789
|
+
* import { TanStackActionsForm } from '@customafk/lunas-ui/features/tanstack-form';
|
|
790
|
+
*
|
|
791
|
+
* // Inside a TanStack Form provider:
|
|
792
|
+
* <TanStackActionsForm type="create" />
|
|
793
|
+
*
|
|
794
|
+
* // For an update workflow:
|
|
795
|
+
* <TanStackActionsForm type="update" />
|
|
796
|
+
*/
|
|
797
|
+
declare const TanStackActionsForm: React.FC<React.PropsWithChildren<{
|
|
798
|
+
/**
|
|
799
|
+
* Determines which submit button variant is rendered.
|
|
800
|
+
* - `'create'` — shows an "Add New" button that resets the form on success.
|
|
801
|
+
* - `'update'` — shows an "Update" button that resets the form on success.
|
|
802
|
+
* Defaults to `'create'`.
|
|
803
|
+
*/
|
|
804
|
+
type?: 'create' | 'update';
|
|
805
|
+
}>>;
|
|
806
|
+
//#endregion
|
|
807
|
+
//#region packages/components/features/tanstack-form/components/forms/card-form.d.ts
|
|
808
|
+
/**
|
|
809
|
+
* Renders a card-style form section with a header, optional description, a delete button, and a content area for fields.
|
|
810
|
+
*
|
|
811
|
+
* @example
|
|
812
|
+
* import { TanStackCardForm } from '@customafk/lunas-ui/features/tanstack-form';
|
|
813
|
+
*
|
|
814
|
+
* <TanStackCardForm
|
|
815
|
+
* title="Shipping Address"
|
|
816
|
+
* description="Where should we deliver your order?"
|
|
817
|
+
* onDelete={() => removeAddress(id)}
|
|
818
|
+
* >
|
|
819
|
+
* <TextField name="street" />
|
|
820
|
+
* </TanStackCardForm>
|
|
821
|
+
*/
|
|
822
|
+
declare const TanStackCardForm: React.FC<React.PropsWithChildren<{
|
|
823
|
+
/** Bold heading text shown at the top of the card. */
|
|
824
|
+
title: string;
|
|
825
|
+
/** Optional secondary text rendered beneath the title. */
|
|
826
|
+
description?: string;
|
|
827
|
+
/** When provided, renders a danger "Remove" button in the card's top-right corner. */
|
|
828
|
+
onDelete?: () => void | Promise<void>;
|
|
829
|
+
}>>;
|
|
830
|
+
//#endregion
|
|
831
|
+
//#region packages/components/features/tanstack-form/components/forms/container-form.d.ts
|
|
832
|
+
/**
|
|
833
|
+
* Wraps a set of TanStack form sections in a vertically-stacked flex container.
|
|
834
|
+
*
|
|
835
|
+
* @example
|
|
836
|
+
* import { TanStackContainerForm } from '@customafk/lunas-ui/features/tanstack-form';
|
|
837
|
+
*
|
|
838
|
+
* <TanStackContainerForm>
|
|
839
|
+
* <TanStackSectionForm title="Personal Info">
|
|
840
|
+
* {/* fields *\/}
|
|
841
|
+
* </TanStackSectionForm>
|
|
842
|
+
* </TanStackContainerForm>
|
|
843
|
+
*/
|
|
844
|
+
declare const TanStackContainerForm: React.FC<React.PropsWithChildren>;
|
|
845
|
+
//#endregion
|
|
846
|
+
//#region packages/components/features/tanstack-form/components/forms/dialog-form.d.ts
|
|
847
|
+
/**
|
|
848
|
+
* Renders a modal dialog that wraps a TanStack Form with a title, scrollable content area, and built-in submit/cancel actions.
|
|
849
|
+
*
|
|
850
|
+
* @example
|
|
851
|
+
* import { TanStackDialogForm } from '@customafk/lunas-ui/features/tanstack-form';
|
|
852
|
+
*
|
|
853
|
+
* <TanStackDialogForm
|
|
854
|
+
* title="Create User"
|
|
855
|
+
* submitText="Create"
|
|
856
|
+
* className="max-w-lg"
|
|
857
|
+
* open={isOpen}
|
|
858
|
+
* onOpenChange={setIsOpen}
|
|
859
|
+
* >
|
|
860
|
+
* <NameField />
|
|
861
|
+
* <EmailField />
|
|
862
|
+
* </TanStackDialogForm>
|
|
863
|
+
*/
|
|
864
|
+
declare const TanStackDialogForm: React.FC<React.PropsWithChildren<{
|
|
865
|
+
/** Heading text displayed in the dialog title bar. */
|
|
866
|
+
title: string;
|
|
867
|
+
/** Custom label for the submit button. Defaults to the `SubmitButton` component's built-in label when omitted. */
|
|
868
|
+
submitText?: string;
|
|
869
|
+
/** Optional fixed width for the dialog content area, as a pixel number (e.g. `600`) or any CSS string (e.g. `'50%'`, `'40rem'`). Omit to let the dialog size itself based on content. */
|
|
870
|
+
width?: number | string;
|
|
871
|
+
/** Optional fixed max-width for the dialog content area, as a pixel number (e.g. `600`) or any CSS string (e.g. `'50%'`, `'40rem'`). Omit to let the dialog size itself based on content and viewport. */
|
|
872
|
+
maxWidth?: number | string;
|
|
873
|
+
/** Optional additional class name(s) to apply to the dialog content container. */
|
|
874
|
+
className?: string;
|
|
875
|
+
/** Controlled open state of the dialog. */
|
|
876
|
+
open?: boolean;
|
|
877
|
+
/** Callback fired when the dialog open state changes; the form is reset on close. */
|
|
878
|
+
onOpenChange?: (open: boolean) => void;
|
|
879
|
+
}>>;
|
|
880
|
+
//#endregion
|
|
881
|
+
//#region packages/components/features/tanstack-form/components/forms/group-field.d.ts
|
|
882
|
+
/**
|
|
883
|
+
* Renders a labeled field group with an optional description, helper text, and a bottom separator.
|
|
884
|
+
*
|
|
885
|
+
* @example
|
|
886
|
+
* import { TanStackFieldGroup } from '@customafk/lunas-ui/features/tanstack-form';
|
|
887
|
+
*
|
|
888
|
+
* <TanStackFieldGroup
|
|
889
|
+
* label="Contact Details"
|
|
890
|
+
* description="Enter your contact information."
|
|
891
|
+
* helperText="All fields are required."
|
|
892
|
+
* orientation="horizontal"
|
|
893
|
+
* >
|
|
894
|
+
* <EmailField />
|
|
895
|
+
* </TanStackFieldGroup>
|
|
896
|
+
*/
|
|
897
|
+
declare const TanStackFieldGroup: React.FC<React.PropsWithChildren<{
|
|
898
|
+
/** Primary label displayed above the field content. */
|
|
899
|
+
label: string;
|
|
900
|
+
/** Secondary descriptive text shown beneath the label. */
|
|
901
|
+
description?: string;
|
|
902
|
+
/** Supplementary helper note rendered below the field content. */
|
|
903
|
+
helperText?: string;
|
|
904
|
+
/** Layout orientation of the label-to-content axis. Defaults to `'responsive'`. */
|
|
905
|
+
orientation?: 'horizontal' | 'vertical' | 'responsive';
|
|
906
|
+
}>>;
|
|
907
|
+
//#endregion
|
|
908
|
+
//#region packages/components/features/tanstack-form/components/forms/popover-form.d.ts
|
|
909
|
+
/**
|
|
910
|
+
* Renders a slide-in side-panel dialog that wraps a TanStack form with built-in submit and cancel actions.
|
|
911
|
+
*
|
|
912
|
+
* @example
|
|
913
|
+
* import { TanStackPopoverForm } from '@customafk/lunas-ui/features/tanstack-form';
|
|
914
|
+
*
|
|
915
|
+
* <TanStackPopoverForm
|
|
916
|
+
* title="Edit Profile"
|
|
917
|
+
* open={isOpen}
|
|
918
|
+
* onOpenChange={setIsOpen}
|
|
919
|
+
* >
|
|
920
|
+
* <EmailField />
|
|
921
|
+
* </TanStackPopoverForm>
|
|
922
|
+
*/
|
|
923
|
+
declare const TanStackPopoverForm: React.FC<React.PropsWithChildren<{
|
|
924
|
+
/** Heading text displayed in the panel header. */
|
|
925
|
+
title: string;
|
|
926
|
+
/** Controlled open state of the popover dialog. */
|
|
927
|
+
open?: boolean;
|
|
928
|
+
/** Additional CSS class names applied to the scrollable content area. */
|
|
929
|
+
contentClassName?: string;
|
|
930
|
+
/** Callback fired when the open state changes. */
|
|
931
|
+
onOpenChange?: (open: boolean) => void;
|
|
932
|
+
}>>;
|
|
933
|
+
//#endregion
|
|
934
|
+
//#region packages/components/features/tanstack-form/components/forms/section-form.d.ts
|
|
935
|
+
/**
|
|
936
|
+
* Renders a card-like form section with a titled header, separator, and a content area for form fields.
|
|
937
|
+
*
|
|
938
|
+
* @example
|
|
939
|
+
* import { TanStackSectionForm } from '@customafk/lunas-ui/features/tanstack-form';
|
|
940
|
+
*
|
|
941
|
+
* <TanStackSectionForm title="Account Settings">
|
|
942
|
+
* <EmailField />
|
|
943
|
+
* <PasswordField />
|
|
944
|
+
* </TanStackSectionForm>
|
|
945
|
+
*/
|
|
946
|
+
declare const TanStackSectionForm: React.FC<React.PropsWithChildren<{
|
|
947
|
+
/** Heading text displayed in the section header bar. */
|
|
948
|
+
title: string;
|
|
949
|
+
}>>;
|
|
950
|
+
//#endregion
|
|
951
|
+
//#region packages/components/features/tanstack-form/components/forms/title-field.d.ts
|
|
952
|
+
/**
|
|
953
|
+
* Renders a standalone section title with an optional description and helper note, followed by a separator.
|
|
954
|
+
*
|
|
955
|
+
* @example
|
|
956
|
+
* import { TanStackTitleField } from '@customafk/lunas-ui/features/tanstack-form';
|
|
957
|
+
*
|
|
958
|
+
* <TanStackTitleField
|
|
959
|
+
* title="Billing Address"
|
|
960
|
+
* description="Provide the address associated with your payment method."
|
|
961
|
+
* helperText="Must match your bank records."
|
|
962
|
+
* />
|
|
963
|
+
*/
|
|
964
|
+
declare const TanStackTitleField: React.FC<{
|
|
965
|
+
/** The heading text rendered as a legend element. */
|
|
966
|
+
title: string;
|
|
967
|
+
/** Optional supplementary text displayed beneath the title. */
|
|
968
|
+
description?: string;
|
|
969
|
+
/** Optional helper note shown below the description area. */
|
|
970
|
+
helperText?: string;
|
|
971
|
+
}>;
|
|
972
|
+
//#endregion
|
|
973
|
+
//#region packages/components/features/tanstack-form/components/ui/cancel-button.d.ts
|
|
974
|
+
/**
|
|
975
|
+
* Secondary outline button used to dismiss or cancel a form without submitting, defaulting to the label "Cancel".
|
|
976
|
+
*
|
|
977
|
+
* @example
|
|
978
|
+
* import { CancelButton } from '@customafk/lunas-ui/features/tanstack-form';
|
|
979
|
+
*
|
|
980
|
+
* <CancelButton onClick={() => router.back()} />
|
|
981
|
+
*/
|
|
982
|
+
declare const CancelButton: React.FC<React.ComponentProps<'button'>>;
|
|
983
|
+
//#endregion
|
|
984
|
+
//#region packages/components/features/tanstack-form/components/ui/field.d.ts
|
|
985
|
+
declare const fieldVariants: (props?: ({
|
|
986
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
987
|
+
} & class_variance_authority_types22.ClassProp) | undefined) => string;
|
|
988
|
+
/**
|
|
989
|
+
* Outermost `<fieldset>` wrapper that stacks multiple `Field` rows with consistent vertical spacing.
|
|
990
|
+
*
|
|
991
|
+
* @example
|
|
992
|
+
* import { FieldSet } from '@customafk/lunas-ui/features/tanstack-form';
|
|
993
|
+
*
|
|
994
|
+
* <FieldSet>
|
|
995
|
+
* <Field><FieldLabel>Name</FieldLabel><FieldContent><input /></FieldContent></Field>
|
|
996
|
+
* </FieldSet>
|
|
997
|
+
*/
|
|
998
|
+
declare const FieldSet: react642.MemoExoticComponent<({
|
|
999
|
+
className,
|
|
1000
|
+
...props
|
|
1001
|
+
}: React.ComponentProps<"fieldset">) => react642.JSX.Element>;
|
|
1002
|
+
/**
|
|
1003
|
+
* Props for {@link FieldLegend}.
|
|
1004
|
+
*/
|
|
1005
|
+
type FieldLegendProps = React.ComponentProps<'legend'> & {
|
|
1006
|
+
/**
|
|
1007
|
+
* Visual weight of the legend text.
|
|
1008
|
+
* - `'legend'` — larger base-size text (section heading).
|
|
1009
|
+
* - `'label'` — smaller label-size text (matches field label weight).
|
|
1010
|
+
* @default 'legend'
|
|
1011
|
+
*/
|
|
1012
|
+
variant?: 'legend' | 'label';
|
|
1013
|
+
};
|
|
1014
|
+
/**
|
|
1015
|
+
* `<legend>` element for a `<fieldset>`, styled as either a section heading or a compact label.
|
|
1016
|
+
*
|
|
1017
|
+
* @example
|
|
1018
|
+
* import { FieldSet, FieldLegend } from '@customafk/lunas-ui/features/tanstack-form';
|
|
1019
|
+
*
|
|
1020
|
+
* <FieldSet>
|
|
1021
|
+
* <FieldLegend variant="legend">Personal details</FieldLegend>
|
|
1022
|
+
* </FieldSet>
|
|
1023
|
+
*/
|
|
1024
|
+
declare const FieldLegend: react642.MemoExoticComponent<({
|
|
1025
|
+
className,
|
|
1026
|
+
variant,
|
|
1027
|
+
...props
|
|
1028
|
+
}: FieldLegendProps) => react642.JSX.Element>;
|
|
1029
|
+
/**
|
|
1030
|
+
* Container `<div>` that groups a set of `Field` rows with container-query support for responsive layouts.
|
|
1031
|
+
*
|
|
1032
|
+
* @example
|
|
1033
|
+
* import { FieldGroup } from '@customafk/lunas-ui/features/tanstack-form';
|
|
1034
|
+
*
|
|
1035
|
+
* <FieldGroup>
|
|
1036
|
+
* <Field>…</Field>
|
|
1037
|
+
* <Field>…</Field>
|
|
1038
|
+
* </FieldGroup>
|
|
1039
|
+
*/
|
|
1040
|
+
declare const FieldGroup: react642.MemoExoticComponent<({
|
|
1041
|
+
className,
|
|
1042
|
+
...props
|
|
1043
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1044
|
+
/**
|
|
1045
|
+
* Single form field row that arranges label, input, and meta elements with configurable orientation.
|
|
1046
|
+
*
|
|
1047
|
+
* @example
|
|
1048
|
+
* import { Field } from '@customafk/lunas-ui/features/tanstack-form';
|
|
1049
|
+
*
|
|
1050
|
+
* <Field orientation="horizontal">
|
|
1051
|
+
* <FieldLabel htmlFor="username">Username</FieldLabel>
|
|
1052
|
+
* <FieldContent><input id="username" /></FieldContent>
|
|
1053
|
+
* </Field>
|
|
1054
|
+
*/
|
|
1055
|
+
declare const Field: react642.MemoExoticComponent<({
|
|
1056
|
+
className,
|
|
1057
|
+
orientation,
|
|
1058
|
+
...props
|
|
1059
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react642.JSX.Element>;
|
|
1060
|
+
/**
|
|
1061
|
+
* Flex column wrapper that houses the primary input control together with description and error slots.
|
|
1062
|
+
*
|
|
1063
|
+
* @example
|
|
1064
|
+
* import { FieldContent } from '@customafk/lunas-ui/features/tanstack-form';
|
|
1065
|
+
*
|
|
1066
|
+
* <FieldContent>
|
|
1067
|
+
* <input type="text" />
|
|
1068
|
+
* <FieldDescription>Enter your full name.</FieldDescription>
|
|
1069
|
+
* </FieldContent>
|
|
1070
|
+
*/
|
|
1071
|
+
declare const FieldContent: react642.MemoExoticComponent<({
|
|
1072
|
+
className,
|
|
1073
|
+
...props
|
|
1074
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1075
|
+
/**
|
|
1076
|
+
* Positioned wrapper for the main input element that enables absolutely-placed adornments (icons, spinners).
|
|
1077
|
+
*
|
|
1078
|
+
* @example
|
|
1079
|
+
* import { FieldContentMain } from '@customafk/lunas-ui/features/tanstack-form';
|
|
1080
|
+
*
|
|
1081
|
+
* <FieldContentMain>
|
|
1082
|
+
* <input type="text" className="pr-8" />
|
|
1083
|
+
* <SearchIcon className="absolute right-2 top-2" />
|
|
1084
|
+
* </FieldContentMain>
|
|
1085
|
+
*/
|
|
1086
|
+
declare const FieldContentMain: react642.MemoExoticComponent<({
|
|
1087
|
+
className,
|
|
1088
|
+
...props
|
|
1089
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1090
|
+
/**
|
|
1091
|
+
* Styled `<label>` element for a `Field`, extending the base `Label` with field-group-aware spacing and border states.
|
|
1092
|
+
*
|
|
1093
|
+
* @example
|
|
1094
|
+
* import { FieldLabel } from '@customafk/lunas-ui/features/tanstack-form';
|
|
1095
|
+
*
|
|
1096
|
+
* <FieldLabel htmlFor="email" aria-required>Email</FieldLabel>
|
|
1097
|
+
*/
|
|
1098
|
+
declare const FieldLabel: react642.MemoExoticComponent<({
|
|
1099
|
+
className,
|
|
1100
|
+
...props
|
|
1101
|
+
}: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
|
|
1102
|
+
/**
|
|
1103
|
+
* Inline title element (non-`<label>`) for fields whose label cannot be a native `<label>`, such as custom checkbox groups.
|
|
1104
|
+
*
|
|
1105
|
+
* @example
|
|
1106
|
+
* import { FieldTitle } from '@customafk/lunas-ui/features/tanstack-form';
|
|
1107
|
+
*
|
|
1108
|
+
* <FieldTitle>Notification preferences</FieldTitle>
|
|
1109
|
+
*/
|
|
1110
|
+
declare const FieldTitle: react642.MemoExoticComponent<({
|
|
1111
|
+
className,
|
|
1112
|
+
...props
|
|
1113
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1114
|
+
/**
|
|
1115
|
+
* Supplementary hint text rendered below the input to guide the user, with support for inline anchor links.
|
|
1116
|
+
*
|
|
1117
|
+
* @example
|
|
1118
|
+
* import { FieldDescription } from '@customafk/lunas-ui/features/tanstack-form';
|
|
1119
|
+
*
|
|
1120
|
+
* <FieldDescription>Must be at least 8 characters.</FieldDescription>
|
|
1121
|
+
*/
|
|
1122
|
+
declare const FieldDescription: react642.MemoExoticComponent<({
|
|
1123
|
+
className,
|
|
1124
|
+
...props
|
|
1125
|
+
}: React.ComponentProps<"p">) => react642.JSX.Element>;
|
|
1126
|
+
/**
|
|
1127
|
+
* Props for {@link FieldNote}.
|
|
1128
|
+
*/
|
|
1129
|
+
type FieldNoteProps = React.ComponentProps<'div'> & {
|
|
1130
|
+
/**
|
|
1131
|
+
* When `false` the note is not rendered at all; useful for conditional display without wrapper conditionals.
|
|
1132
|
+
* @default true
|
|
1133
|
+
*/
|
|
1134
|
+
isShow?: boolean;
|
|
1135
|
+
};
|
|
1136
|
+
/**
|
|
1137
|
+
* Highlighted informational callout box with an info icon, shown below a field to surface contextual guidance.
|
|
1138
|
+
*
|
|
1139
|
+
* @example
|
|
1140
|
+
* import { FieldNote } from '@customafk/lunas-ui/features/tanstack-form';
|
|
1141
|
+
*
|
|
1142
|
+
* <FieldNote isShow={isDraftMode}>Changes are saved automatically in draft mode.</FieldNote>
|
|
1143
|
+
*/
|
|
1144
|
+
declare const FieldNote: react642.MemoExoticComponent<({
|
|
1145
|
+
isShow,
|
|
1146
|
+
className,
|
|
1147
|
+
children,
|
|
1148
|
+
...props
|
|
1149
|
+
}: FieldNoteProps) => react642.JSX.Element | null>;
|
|
1150
|
+
/**
|
|
1151
|
+
* Props for {@link FieldTooltip}.
|
|
1152
|
+
*/
|
|
1153
|
+
type FieldTooltipProps = {
|
|
1154
|
+
/** Text content displayed inside the tooltip when the help icon is hovered or focused. */
|
|
1155
|
+
tooltip: string;
|
|
1156
|
+
};
|
|
1157
|
+
/**
|
|
1158
|
+
* Small help-circle icon button that reveals a tooltip with additional field context on hover or focus.
|
|
1159
|
+
*
|
|
1160
|
+
* @example
|
|
1161
|
+
* import { FieldTooltip } from '@customafk/lunas-ui/features/tanstack-form';
|
|
1162
|
+
*
|
|
1163
|
+
* <FieldLabel>
|
|
1164
|
+
* Password <FieldTooltip tooltip="Use at least one uppercase letter and one number." />
|
|
1165
|
+
* </FieldLabel>
|
|
1166
|
+
*/
|
|
1167
|
+
declare const FieldTooltip: react642.MemoExoticComponent<({
|
|
1168
|
+
tooltip
|
|
1169
|
+
}: FieldTooltipProps) => react642.JSX.Element>;
|
|
1170
|
+
/**
|
|
1171
|
+
* Visual divider row that optionally displays a centered text label, used to separate logical sections within a `FieldGroup`.
|
|
1172
|
+
*
|
|
1173
|
+
* @example
|
|
1174
|
+
* import { FieldSeparator } from '@customafk/lunas-ui/features/tanstack-form';
|
|
1175
|
+
*
|
|
1176
|
+
* <FieldSeparator>or</FieldSeparator>
|
|
1177
|
+
*/
|
|
1178
|
+
declare const FieldSeparator: react642.MemoExoticComponent<({
|
|
1179
|
+
children,
|
|
1180
|
+
className,
|
|
1181
|
+
...props
|
|
1182
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
|
|
1183
|
+
/**
|
|
1184
|
+
* Props for {@link FieldError}.
|
|
1185
|
+
*/
|
|
1186
|
+
type FieldErrorProps = React.ComponentProps<'div'> & {
|
|
1187
|
+
errors?: Array<{
|
|
1188
|
+
code?: string;
|
|
1189
|
+
message?: string;
|
|
1190
|
+
} | undefined>;
|
|
1191
|
+
requiredMessage?: string;
|
|
1192
|
+
};
|
|
1193
|
+
declare const FieldError: react642.MemoExoticComponent<({
|
|
1194
|
+
className,
|
|
1195
|
+
children,
|
|
1196
|
+
errors,
|
|
1197
|
+
requiredMessage,
|
|
1198
|
+
...props
|
|
1199
|
+
}: FieldErrorProps) => react642.JSX.Element | null>;
|
|
1200
|
+
//#endregion
|
|
1201
|
+
//#region packages/components/features/tanstack-form/components/ui/submit-button.d.ts
|
|
1202
|
+
/**
|
|
1203
|
+
* Props for the {@link SubmitButton} component.
|
|
1204
|
+
*/
|
|
1205
|
+
type SubmitButtonProps = React.ComponentProps<'button'> & {
|
|
1206
|
+
/**
|
|
1207
|
+
* When `true` the button enters a loading state and is automatically disabled to prevent duplicate submissions.
|
|
1208
|
+
*/
|
|
1209
|
+
isSubmitting?: boolean;
|
|
1210
|
+
/**
|
|
1211
|
+
* Label text rendered inside the button.
|
|
1212
|
+
* @default 'Submit'
|
|
1213
|
+
*/
|
|
1214
|
+
submitText?: string;
|
|
1215
|
+
};
|
|
1216
|
+
/**
|
|
1217
|
+
* Primary form submission button that shows a loading indicator while the form is being submitted.
|
|
1218
|
+
*
|
|
1219
|
+
* @example
|
|
1220
|
+
* import { SubmitButton } from '@customafk/lunas-ui/features/tanstack-form';
|
|
1221
|
+
*
|
|
1222
|
+
* <SubmitButton isSubmitting={form.state.isSubmitting} submitText="Save changes" />
|
|
1223
|
+
*/
|
|
1224
|
+
declare const SubmitButton: React.FC<SubmitButtonProps>;
|
|
1225
|
+
//#endregion
|
|
1226
|
+
//#region packages/components/features/tanstack-form/tanstack-form.d.ts
|
|
1227
|
+
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>;
|
|
1228
|
+
/**
|
|
1229
|
+
* Factory result from {@link createFormHook} pre-wired with all Lunas UI field and form components.
|
|
1230
|
+
*
|
|
1231
|
+
* ### `useTanStackForm`
|
|
1232
|
+
* Pre-configured TanStack Form hook that returns a type-safe form instance bound to all Lunas UI
|
|
1233
|
+
* field and form components.
|
|
1234
|
+
*
|
|
1235
|
+
* @example
|
|
1236
|
+
* import { useTanStackForm } from '@customafk/lunas-ui/features/tanstack-form';
|
|
1237
|
+
*
|
|
1238
|
+
* const form = useTanStackForm({
|
|
1239
|
+
* defaultValues: { name: '', email: '' },
|
|
1240
|
+
* onSubmit: async ({ value }) => console.log(value),
|
|
1241
|
+
* });
|
|
1242
|
+
*
|
|
1243
|
+
* return (
|
|
1244
|
+
* <form.Provider>
|
|
1245
|
+
* <form.AppForm>
|
|
1246
|
+
* <form.AppField name="name" children={(field) => <field.TextField label="Name" />} />
|
|
1247
|
+
* <form.Subscribe selector={(s) => s.canSubmit}>
|
|
1248
|
+
* {(canSubmit) => <form.TanStackActionSubmit disabled={!canSubmit} />}
|
|
1249
|
+
* </form.Subscribe>
|
|
1250
|
+
* </form.AppForm>
|
|
1251
|
+
* </form.Provider>
|
|
1252
|
+
* );
|
|
1253
|
+
*
|
|
1254
|
+
* ### `withTanStackForm`
|
|
1255
|
+
* Higher-order component that wraps a sub-form component with access to the parent
|
|
1256
|
+
* `useTanStackForm` form context, enabling isolated field groups that still participate in the
|
|
1257
|
+
* top-level form state.
|
|
1258
|
+
*
|
|
1259
|
+
* @example
|
|
1260
|
+
* import { withTanStackForm } from '@customafk/lunas-ui/features/tanstack-form';
|
|
1261
|
+
*
|
|
1262
|
+
* const AddressFields = withTanStackForm(
|
|
1263
|
+
* { street: '', city: '' } as const,
|
|
1264
|
+
* ({ form }) => (
|
|
1265
|
+
* <>
|
|
1266
|
+
* <form.AppField name="street" children={(f) => <f.TextField label="Street" />} />
|
|
1267
|
+
* <form.AppField name="city" children={(f) => <f.TextField label="City" />} />
|
|
1268
|
+
* </>
|
|
1269
|
+
* ),
|
|
1270
|
+
* );
|
|
1271
|
+
*
|
|
1272
|
+
* ### `withTanStackFieldGroup`
|
|
1273
|
+
* Higher-order component that creates a reusable field-group component sharing the enclosing
|
|
1274
|
+
* `useTanStackForm` context without requiring additional form providers.
|
|
1275
|
+
*
|
|
1276
|
+
* @example
|
|
1277
|
+
* import { withTanStackFieldGroup } from '@customafk/lunas-ui/features/tanstack-form';
|
|
1278
|
+
*
|
|
1279
|
+
* const ContactGroup = withTanStackFieldGroup(({ form }) => (
|
|
1280
|
+
* <form.AppField name="phone" children={(f) => <f.TextField label="Phone" />} />
|
|
1281
|
+
* ));
|
|
1282
|
+
*/
|
|
1283
|
+
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, {
|
|
1284
|
+
readonly TextField: react642.NamedExoticComponent<TextFieldProps>;
|
|
1285
|
+
readonly TextareaField: react642.NamedExoticComponent<TextareaFieldProps>;
|
|
1286
|
+
readonly TextEditorField: react642.FC<TextEditorFieldProps>;
|
|
1287
|
+
readonly NumberField: react642.NamedExoticComponent<NumberFieldProps>;
|
|
1288
|
+
readonly EmailField: react642.FC<EmailFieldProps>;
|
|
1289
|
+
readonly PasswordField: react642.FC<PasswordFieldProps>;
|
|
1290
|
+
readonly SelectField: react642.NamedExoticComponent<SelectFieldProps>;
|
|
1291
|
+
readonly ComboboxField: react642.NamedExoticComponent<ComboboxFieldProps>;
|
|
1292
|
+
readonly DateField: react642.NamedExoticComponent<DateFieldProps>;
|
|
1293
|
+
readonly SwitchField: react642.FC<SwitchFieldProps>;
|
|
1294
|
+
readonly RadioGroupField: react642.FC<RadioGroupFieldProps>;
|
|
1295
|
+
readonly CheckboxField: react642.FC<CheckboxFieldProps>;
|
|
1296
|
+
readonly SimpleTextField: react642.FC<SimpleTextFieldProps>;
|
|
1297
|
+
readonly SimpleEmailField: react642.FC<{
|
|
1298
|
+
label?: string;
|
|
1299
|
+
placeholder?: string;
|
|
1300
|
+
required?: boolean;
|
|
1301
|
+
maxLength?: number;
|
|
1302
|
+
disabled?: boolean;
|
|
1303
|
+
}>;
|
|
1304
|
+
readonly SimplePasswordField: react642.FC<{
|
|
1305
|
+
label?: string;
|
|
1306
|
+
placeholder?: string;
|
|
1307
|
+
required?: boolean;
|
|
1308
|
+
disabled?: boolean;
|
|
1309
|
+
}>;
|
|
1310
|
+
readonly SimpleTextareaField: react642.FC<{
|
|
1311
|
+
label?: string;
|
|
1312
|
+
placeholder?: string;
|
|
1313
|
+
required?: boolean;
|
|
1314
|
+
maxLength?: number;
|
|
1315
|
+
rows?: number;
|
|
1316
|
+
disabled?: boolean;
|
|
1317
|
+
}>;
|
|
1318
|
+
readonly SimpleNumberField: react642.FC<{
|
|
1319
|
+
label?: string;
|
|
1320
|
+
placeholder?: string;
|
|
1321
|
+
required?: boolean;
|
|
1322
|
+
unit?: string;
|
|
1323
|
+
allowNegative?: boolean;
|
|
1324
|
+
disabled?: boolean;
|
|
1325
|
+
}>;
|
|
1326
|
+
readonly SimpleSelectField: react642.FC<{
|
|
1327
|
+
label?: string;
|
|
1328
|
+
placeholder?: string;
|
|
1329
|
+
required?: boolean;
|
|
1330
|
+
options: Array<{
|
|
1331
|
+
value: string;
|
|
1332
|
+
label: string;
|
|
1333
|
+
}>;
|
|
1334
|
+
}>;
|
|
1335
|
+
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
1336
|
+
readonly SimpleBooleanField: react642.FC<{
|
|
1337
|
+
label?: string;
|
|
1338
|
+
required?: boolean;
|
|
1339
|
+
disabled?: boolean;
|
|
1340
|
+
variant?: "checkbox" | "switch";
|
|
1341
|
+
}>;
|
|
1342
|
+
readonly SimpleComboboxField: react642.FC<{
|
|
1343
|
+
label?: string;
|
|
1344
|
+
placeholder?: string;
|
|
1345
|
+
required?: boolean;
|
|
1346
|
+
disabled?: boolean;
|
|
1347
|
+
options: Array<{
|
|
1348
|
+
value: string;
|
|
1349
|
+
label: string;
|
|
1350
|
+
}>;
|
|
1351
|
+
}>;
|
|
1352
|
+
readonly SimpleDateField: react642.FC<{
|
|
1353
|
+
label?: string;
|
|
1354
|
+
placeholder?: string;
|
|
1355
|
+
required?: boolean;
|
|
1356
|
+
disabled?: boolean;
|
|
1357
|
+
minDate?: Date;
|
|
1358
|
+
maxDate?: Date;
|
|
1359
|
+
}>;
|
|
1360
|
+
readonly SimpleRadioGroupField: react642.FC<{
|
|
1361
|
+
label?: string;
|
|
1362
|
+
required?: boolean;
|
|
1363
|
+
disabled?: boolean;
|
|
1364
|
+
options: Array<{
|
|
1365
|
+
value: string;
|
|
1366
|
+
label: string;
|
|
1367
|
+
}>;
|
|
1368
|
+
orientation?: "horizontal" | "vertical";
|
|
1369
|
+
}>;
|
|
1370
|
+
readonly FieldGroup: react642.MemoExoticComponent<({
|
|
1371
|
+
className,
|
|
1372
|
+
...props
|
|
1373
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1374
|
+
readonly Field: react642.MemoExoticComponent<({
|
|
1375
|
+
className,
|
|
1376
|
+
orientation,
|
|
1377
|
+
...props
|
|
1378
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1379
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1380
|
+
} & class_variance_authority_types22.ClassProp) | undefined) => string>) => react642.JSX.Element>;
|
|
1381
|
+
readonly FieldContent: react642.MemoExoticComponent<({
|
|
1382
|
+
className,
|
|
1383
|
+
...props
|
|
1384
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1385
|
+
readonly FieldLabel: react642.MemoExoticComponent<({
|
|
1386
|
+
className,
|
|
1387
|
+
...props
|
|
1388
|
+
}: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
|
|
1389
|
+
readonly FieldContentMain: react642.MemoExoticComponent<({
|
|
1390
|
+
className,
|
|
1391
|
+
...props
|
|
1392
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1393
|
+
readonly FieldSeparator: react642.MemoExoticComponent<({
|
|
1394
|
+
children,
|
|
1395
|
+
className,
|
|
1396
|
+
...props
|
|
1397
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
|
|
1398
|
+
readonly FieldError: react642.MemoExoticComponent<({
|
|
1399
|
+
className,
|
|
1400
|
+
children,
|
|
1401
|
+
errors,
|
|
1402
|
+
requiredMessage,
|
|
1403
|
+
...props
|
|
1404
|
+
}: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
|
|
1405
|
+
errors?: Array<{
|
|
1406
|
+
code?: string;
|
|
1407
|
+
message?: string;
|
|
1408
|
+
} | undefined>;
|
|
1409
|
+
requiredMessage?: string;
|
|
1410
|
+
}) => react642.JSX.Element | null>;
|
|
1411
|
+
}, {
|
|
1412
|
+
readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
|
|
1413
|
+
title: string;
|
|
1414
|
+
submitText?: string;
|
|
1415
|
+
width?: number | string;
|
|
1416
|
+
maxWidth?: number | string;
|
|
1417
|
+
className?: string;
|
|
1418
|
+
open?: boolean;
|
|
1419
|
+
onOpenChange?: (open: boolean) => void;
|
|
1420
|
+
}>>;
|
|
1421
|
+
readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
|
|
1422
|
+
title: string;
|
|
1423
|
+
open?: boolean;
|
|
1424
|
+
contentClassName?: string;
|
|
1425
|
+
onOpenChange?: (open: boolean) => void;
|
|
1426
|
+
}>>;
|
|
1427
|
+
readonly TanStackContainerForm: react642.FC<{
|
|
1428
|
+
children?: react642.ReactNode | undefined;
|
|
1429
|
+
}>;
|
|
1430
|
+
readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
|
|
1431
|
+
title: string;
|
|
1432
|
+
}>>;
|
|
1433
|
+
readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
|
|
1434
|
+
title: string;
|
|
1435
|
+
description?: string;
|
|
1436
|
+
onDelete?: () => void | Promise<void>;
|
|
1437
|
+
}>>;
|
|
1438
|
+
readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
|
|
1439
|
+
label: string;
|
|
1440
|
+
description?: string;
|
|
1441
|
+
helperText?: string;
|
|
1442
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1443
|
+
}>>;
|
|
1444
|
+
readonly TanStackTitleField: react642.FC<{
|
|
1445
|
+
title: string;
|
|
1446
|
+
description?: string;
|
|
1447
|
+
helperText?: string;
|
|
1448
|
+
}>;
|
|
1449
|
+
readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
|
|
1450
|
+
type?: "create" | "update";
|
|
1451
|
+
}>>;
|
|
1452
|
+
readonly TanStackActionSubmit: react642.FC<{
|
|
1453
|
+
label?: string;
|
|
1454
|
+
className?: string;
|
|
1455
|
+
}>;
|
|
1456
|
+
readonly ArrayCol: typeof ArrayCol;
|
|
1457
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
1458
|
+
}>, 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 = {}>({
|
|
1459
|
+
render,
|
|
1460
|
+
props
|
|
1461
|
+
}: _tanstack_react_form0.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
1462
|
+
readonly TextField: react642.NamedExoticComponent<TextFieldProps>;
|
|
1463
|
+
readonly TextareaField: react642.NamedExoticComponent<TextareaFieldProps>;
|
|
1464
|
+
readonly TextEditorField: react642.FC<TextEditorFieldProps>;
|
|
1465
|
+
readonly NumberField: react642.NamedExoticComponent<NumberFieldProps>;
|
|
1466
|
+
readonly EmailField: react642.FC<EmailFieldProps>;
|
|
1467
|
+
readonly PasswordField: react642.FC<PasswordFieldProps>;
|
|
1468
|
+
readonly SelectField: react642.NamedExoticComponent<SelectFieldProps>;
|
|
1469
|
+
readonly ComboboxField: react642.NamedExoticComponent<ComboboxFieldProps>;
|
|
1470
|
+
readonly DateField: react642.NamedExoticComponent<DateFieldProps>;
|
|
1471
|
+
readonly SwitchField: react642.FC<SwitchFieldProps>;
|
|
1472
|
+
readonly RadioGroupField: react642.FC<RadioGroupFieldProps>;
|
|
1473
|
+
readonly CheckboxField: react642.FC<CheckboxFieldProps>;
|
|
1474
|
+
readonly SimpleTextField: react642.FC<SimpleTextFieldProps>;
|
|
1475
|
+
readonly SimpleEmailField: react642.FC<{
|
|
1476
|
+
label?: string;
|
|
1477
|
+
placeholder?: string;
|
|
1478
|
+
required?: boolean;
|
|
1479
|
+
maxLength?: number;
|
|
1480
|
+
disabled?: boolean;
|
|
1481
|
+
}>;
|
|
1482
|
+
readonly SimplePasswordField: react642.FC<{
|
|
1483
|
+
label?: string;
|
|
1484
|
+
placeholder?: string;
|
|
1485
|
+
required?: boolean;
|
|
1486
|
+
disabled?: boolean;
|
|
1487
|
+
}>;
|
|
1488
|
+
readonly SimpleTextareaField: react642.FC<{
|
|
1489
|
+
label?: string;
|
|
1490
|
+
placeholder?: string;
|
|
1491
|
+
required?: boolean;
|
|
1492
|
+
maxLength?: number;
|
|
1493
|
+
rows?: number;
|
|
1494
|
+
disabled?: boolean;
|
|
1495
|
+
}>;
|
|
1496
|
+
readonly SimpleNumberField: react642.FC<{
|
|
1497
|
+
label?: string;
|
|
1498
|
+
placeholder?: string;
|
|
1499
|
+
required?: boolean;
|
|
1500
|
+
unit?: string;
|
|
1501
|
+
allowNegative?: boolean;
|
|
1502
|
+
disabled?: boolean;
|
|
1503
|
+
}>;
|
|
1504
|
+
readonly SimpleSelectField: react642.FC<{
|
|
1505
|
+
label?: string;
|
|
1506
|
+
placeholder?: string;
|
|
1507
|
+
required?: boolean;
|
|
1508
|
+
options: Array<{
|
|
1509
|
+
value: string;
|
|
1510
|
+
label: string;
|
|
1511
|
+
}>;
|
|
1512
|
+
}>;
|
|
1513
|
+
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
1514
|
+
readonly SimpleBooleanField: react642.FC<{
|
|
1515
|
+
label?: string;
|
|
1516
|
+
required?: boolean;
|
|
1517
|
+
disabled?: boolean;
|
|
1518
|
+
variant?: "checkbox" | "switch";
|
|
1519
|
+
}>;
|
|
1520
|
+
readonly SimpleComboboxField: react642.FC<{
|
|
1521
|
+
label?: string;
|
|
1522
|
+
placeholder?: string;
|
|
1523
|
+
required?: boolean;
|
|
1524
|
+
disabled?: boolean;
|
|
1525
|
+
options: Array<{
|
|
1526
|
+
value: string;
|
|
1527
|
+
label: string;
|
|
1528
|
+
}>;
|
|
1529
|
+
}>;
|
|
1530
|
+
readonly SimpleDateField: react642.FC<{
|
|
1531
|
+
label?: string;
|
|
1532
|
+
placeholder?: string;
|
|
1533
|
+
required?: boolean;
|
|
1534
|
+
disabled?: boolean;
|
|
1535
|
+
minDate?: Date;
|
|
1536
|
+
maxDate?: Date;
|
|
1537
|
+
}>;
|
|
1538
|
+
readonly SimpleRadioGroupField: react642.FC<{
|
|
1539
|
+
label?: string;
|
|
1540
|
+
required?: boolean;
|
|
1541
|
+
disabled?: boolean;
|
|
1542
|
+
options: Array<{
|
|
1543
|
+
value: string;
|
|
1544
|
+
label: string;
|
|
1545
|
+
}>;
|
|
1546
|
+
orientation?: "horizontal" | "vertical";
|
|
1547
|
+
}>;
|
|
1548
|
+
readonly FieldGroup: react642.MemoExoticComponent<({
|
|
1549
|
+
className,
|
|
1550
|
+
...props
|
|
1551
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1552
|
+
readonly Field: react642.MemoExoticComponent<({
|
|
1553
|
+
className,
|
|
1554
|
+
orientation,
|
|
1555
|
+
...props
|
|
1556
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1557
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1558
|
+
} & class_variance_authority_types22.ClassProp) | undefined) => string>) => react642.JSX.Element>;
|
|
1559
|
+
readonly FieldContent: react642.MemoExoticComponent<({
|
|
1560
|
+
className,
|
|
1561
|
+
...props
|
|
1562
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1563
|
+
readonly FieldLabel: react642.MemoExoticComponent<({
|
|
1564
|
+
className,
|
|
1565
|
+
...props
|
|
1566
|
+
}: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
|
|
1567
|
+
readonly FieldContentMain: react642.MemoExoticComponent<({
|
|
1568
|
+
className,
|
|
1569
|
+
...props
|
|
1570
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1571
|
+
readonly FieldSeparator: react642.MemoExoticComponent<({
|
|
1572
|
+
children,
|
|
1573
|
+
className,
|
|
1574
|
+
...props
|
|
1575
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
|
|
1576
|
+
readonly FieldError: react642.MemoExoticComponent<({
|
|
1577
|
+
className,
|
|
1578
|
+
children,
|
|
1579
|
+
errors,
|
|
1580
|
+
requiredMessage,
|
|
1581
|
+
...props
|
|
1582
|
+
}: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
|
|
1583
|
+
errors?: Array<{
|
|
1584
|
+
code?: string;
|
|
1585
|
+
message?: string;
|
|
1586
|
+
} | undefined>;
|
|
1587
|
+
requiredMessage?: string;
|
|
1588
|
+
}) => react642.JSX.Element | null>;
|
|
1589
|
+
}, {
|
|
1590
|
+
readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
|
|
1591
|
+
title: string;
|
|
1592
|
+
submitText?: string;
|
|
1593
|
+
width?: number | string;
|
|
1594
|
+
maxWidth?: number | string;
|
|
1595
|
+
className?: string;
|
|
1596
|
+
open?: boolean;
|
|
1597
|
+
onOpenChange?: (open: boolean) => void;
|
|
1598
|
+
}>>;
|
|
1599
|
+
readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
|
|
1600
|
+
title: string;
|
|
1601
|
+
open?: boolean;
|
|
1602
|
+
contentClassName?: string;
|
|
1603
|
+
onOpenChange?: (open: boolean) => void;
|
|
1604
|
+
}>>;
|
|
1605
|
+
readonly TanStackContainerForm: react642.FC<{
|
|
1606
|
+
children?: react642.ReactNode | undefined;
|
|
1607
|
+
}>;
|
|
1608
|
+
readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
|
|
1609
|
+
title: string;
|
|
1610
|
+
}>>;
|
|
1611
|
+
readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
|
|
1612
|
+
title: string;
|
|
1613
|
+
description?: string;
|
|
1614
|
+
onDelete?: () => void | Promise<void>;
|
|
1615
|
+
}>>;
|
|
1616
|
+
readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
|
|
1617
|
+
label: string;
|
|
1618
|
+
description?: string;
|
|
1619
|
+
helperText?: string;
|
|
1620
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1621
|
+
}>>;
|
|
1622
|
+
readonly TanStackTitleField: react642.FC<{
|
|
1623
|
+
title: string;
|
|
1624
|
+
description?: string;
|
|
1625
|
+
helperText?: string;
|
|
1626
|
+
}>;
|
|
1627
|
+
readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
|
|
1628
|
+
type?: "create" | "update";
|
|
1629
|
+
}>>;
|
|
1630
|
+
readonly TanStackActionSubmit: react642.FC<{
|
|
1631
|
+
label?: string;
|
|
1632
|
+
className?: string;
|
|
1633
|
+
}>;
|
|
1634
|
+
readonly ArrayCol: typeof ArrayCol;
|
|
1635
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
1636
|
+
}, TRenderProps>) => react642.FunctionComponent<react642.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
1637
|
+
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, {
|
|
1638
|
+
readonly TextField: react642.NamedExoticComponent<TextFieldProps>;
|
|
1639
|
+
readonly TextareaField: react642.NamedExoticComponent<TextareaFieldProps>;
|
|
1640
|
+
readonly TextEditorField: react642.FC<TextEditorFieldProps>;
|
|
1641
|
+
readonly NumberField: react642.NamedExoticComponent<NumberFieldProps>;
|
|
1642
|
+
readonly EmailField: react642.FC<EmailFieldProps>;
|
|
1643
|
+
readonly PasswordField: react642.FC<PasswordFieldProps>;
|
|
1644
|
+
readonly SelectField: react642.NamedExoticComponent<SelectFieldProps>;
|
|
1645
|
+
readonly ComboboxField: react642.NamedExoticComponent<ComboboxFieldProps>;
|
|
1646
|
+
readonly DateField: react642.NamedExoticComponent<DateFieldProps>;
|
|
1647
|
+
readonly SwitchField: react642.FC<SwitchFieldProps>;
|
|
1648
|
+
readonly RadioGroupField: react642.FC<RadioGroupFieldProps>;
|
|
1649
|
+
readonly CheckboxField: react642.FC<CheckboxFieldProps>;
|
|
1650
|
+
readonly SimpleTextField: react642.FC<SimpleTextFieldProps>;
|
|
1651
|
+
readonly SimpleEmailField: react642.FC<{
|
|
1652
|
+
label?: string;
|
|
1653
|
+
placeholder?: string;
|
|
1654
|
+
required?: boolean;
|
|
1655
|
+
maxLength?: number;
|
|
1656
|
+
disabled?: boolean;
|
|
1657
|
+
}>;
|
|
1658
|
+
readonly SimplePasswordField: react642.FC<{
|
|
1659
|
+
label?: string;
|
|
1660
|
+
placeholder?: string;
|
|
1661
|
+
required?: boolean;
|
|
1662
|
+
disabled?: boolean;
|
|
1663
|
+
}>;
|
|
1664
|
+
readonly SimpleTextareaField: react642.FC<{
|
|
1665
|
+
label?: string;
|
|
1666
|
+
placeholder?: string;
|
|
1667
|
+
required?: boolean;
|
|
1668
|
+
maxLength?: number;
|
|
1669
|
+
rows?: number;
|
|
1670
|
+
disabled?: boolean;
|
|
1671
|
+
}>;
|
|
1672
|
+
readonly SimpleNumberField: react642.FC<{
|
|
1673
|
+
label?: string;
|
|
1674
|
+
placeholder?: string;
|
|
1675
|
+
required?: boolean;
|
|
1676
|
+
unit?: string;
|
|
1677
|
+
allowNegative?: boolean;
|
|
1678
|
+
disabled?: boolean;
|
|
1679
|
+
}>;
|
|
1680
|
+
readonly SimpleSelectField: react642.FC<{
|
|
1681
|
+
label?: string;
|
|
1682
|
+
placeholder?: string;
|
|
1683
|
+
required?: boolean;
|
|
1684
|
+
options: Array<{
|
|
1685
|
+
value: string;
|
|
1686
|
+
label: string;
|
|
1687
|
+
}>;
|
|
1688
|
+
}>;
|
|
1689
|
+
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
1690
|
+
readonly SimpleBooleanField: react642.FC<{
|
|
1691
|
+
label?: string;
|
|
1692
|
+
required?: boolean;
|
|
1693
|
+
disabled?: boolean;
|
|
1694
|
+
variant?: "checkbox" | "switch";
|
|
1695
|
+
}>;
|
|
1696
|
+
readonly SimpleComboboxField: react642.FC<{
|
|
1697
|
+
label?: string;
|
|
1698
|
+
placeholder?: string;
|
|
1699
|
+
required?: boolean;
|
|
1700
|
+
disabled?: boolean;
|
|
1701
|
+
options: Array<{
|
|
1702
|
+
value: string;
|
|
1703
|
+
label: string;
|
|
1704
|
+
}>;
|
|
1705
|
+
}>;
|
|
1706
|
+
readonly SimpleDateField: react642.FC<{
|
|
1707
|
+
label?: string;
|
|
1708
|
+
placeholder?: string;
|
|
1709
|
+
required?: boolean;
|
|
1710
|
+
disabled?: boolean;
|
|
1711
|
+
minDate?: Date;
|
|
1712
|
+
maxDate?: Date;
|
|
1713
|
+
}>;
|
|
1714
|
+
readonly SimpleRadioGroupField: react642.FC<{
|
|
1715
|
+
label?: string;
|
|
1716
|
+
required?: boolean;
|
|
1717
|
+
disabled?: boolean;
|
|
1718
|
+
options: Array<{
|
|
1719
|
+
value: string;
|
|
1720
|
+
label: string;
|
|
1721
|
+
}>;
|
|
1722
|
+
orientation?: "horizontal" | "vertical";
|
|
1723
|
+
}>;
|
|
1724
|
+
readonly FieldGroup: react642.MemoExoticComponent<({
|
|
1725
|
+
className,
|
|
1726
|
+
...props
|
|
1727
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1728
|
+
readonly Field: react642.MemoExoticComponent<({
|
|
1729
|
+
className,
|
|
1730
|
+
orientation,
|
|
1731
|
+
...props
|
|
1732
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1733
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1734
|
+
} & class_variance_authority_types22.ClassProp) | undefined) => string>) => react642.JSX.Element>;
|
|
1735
|
+
readonly FieldContent: react642.MemoExoticComponent<({
|
|
1736
|
+
className,
|
|
1737
|
+
...props
|
|
1738
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1739
|
+
readonly FieldLabel: react642.MemoExoticComponent<({
|
|
1740
|
+
className,
|
|
1741
|
+
...props
|
|
1742
|
+
}: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
|
|
1743
|
+
readonly FieldContentMain: react642.MemoExoticComponent<({
|
|
1744
|
+
className,
|
|
1745
|
+
...props
|
|
1746
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1747
|
+
readonly FieldSeparator: react642.MemoExoticComponent<({
|
|
1748
|
+
children,
|
|
1749
|
+
className,
|
|
1750
|
+
...props
|
|
1751
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
|
|
1752
|
+
readonly FieldError: react642.MemoExoticComponent<({
|
|
1753
|
+
className,
|
|
1754
|
+
children,
|
|
1755
|
+
errors,
|
|
1756
|
+
requiredMessage,
|
|
1757
|
+
...props
|
|
1758
|
+
}: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
|
|
1759
|
+
errors?: Array<{
|
|
1760
|
+
code?: string;
|
|
1761
|
+
message?: string;
|
|
1762
|
+
} | undefined>;
|
|
1763
|
+
requiredMessage?: string;
|
|
1764
|
+
}) => react642.JSX.Element | null>;
|
|
1765
|
+
}, {
|
|
1766
|
+
readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
|
|
1767
|
+
title: string;
|
|
1768
|
+
submitText?: string;
|
|
1769
|
+
width?: number | string;
|
|
1770
|
+
maxWidth?: number | string;
|
|
1771
|
+
className?: string;
|
|
1772
|
+
open?: boolean;
|
|
1773
|
+
onOpenChange?: (open: boolean) => void;
|
|
1774
|
+
}>>;
|
|
1775
|
+
readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
|
|
1776
|
+
title: string;
|
|
1777
|
+
open?: boolean;
|
|
1778
|
+
contentClassName?: string;
|
|
1779
|
+
onOpenChange?: (open: boolean) => void;
|
|
1780
|
+
}>>;
|
|
1781
|
+
readonly TanStackContainerForm: react642.FC<{
|
|
1782
|
+
children?: react642.ReactNode | undefined;
|
|
1783
|
+
}>;
|
|
1784
|
+
readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
|
|
1785
|
+
title: string;
|
|
1786
|
+
}>>;
|
|
1787
|
+
readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
|
|
1788
|
+
title: string;
|
|
1789
|
+
description?: string;
|
|
1790
|
+
onDelete?: () => void | Promise<void>;
|
|
1791
|
+
}>>;
|
|
1792
|
+
readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
|
|
1793
|
+
label: string;
|
|
1794
|
+
description?: string;
|
|
1795
|
+
helperText?: string;
|
|
1796
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1797
|
+
}>>;
|
|
1798
|
+
readonly TanStackTitleField: react642.FC<{
|
|
1799
|
+
title: string;
|
|
1800
|
+
description?: string;
|
|
1801
|
+
helperText?: string;
|
|
1802
|
+
}>;
|
|
1803
|
+
readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
|
|
1804
|
+
type?: "create" | "update";
|
|
1805
|
+
}>>;
|
|
1806
|
+
readonly TanStackActionSubmit: react642.FC<{
|
|
1807
|
+
label?: string;
|
|
1808
|
+
className?: string;
|
|
1809
|
+
}>;
|
|
1810
|
+
readonly ArrayCol: typeof ArrayCol;
|
|
1811
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
1812
|
+
}>;
|
|
1813
|
+
}>>, withTanStackFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps extends object = {}>({
|
|
1814
|
+
render,
|
|
1815
|
+
props,
|
|
1816
|
+
defaultValues
|
|
1817
|
+
}: _tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
1818
|
+
readonly TextField: react642.NamedExoticComponent<TextFieldProps>;
|
|
1819
|
+
readonly TextareaField: react642.NamedExoticComponent<TextareaFieldProps>;
|
|
1820
|
+
readonly TextEditorField: react642.FC<TextEditorFieldProps>;
|
|
1821
|
+
readonly NumberField: react642.NamedExoticComponent<NumberFieldProps>;
|
|
1822
|
+
readonly EmailField: react642.FC<EmailFieldProps>;
|
|
1823
|
+
readonly PasswordField: react642.FC<PasswordFieldProps>;
|
|
1824
|
+
readonly SelectField: react642.NamedExoticComponent<SelectFieldProps>;
|
|
1825
|
+
readonly ComboboxField: react642.NamedExoticComponent<ComboboxFieldProps>;
|
|
1826
|
+
readonly DateField: react642.NamedExoticComponent<DateFieldProps>;
|
|
1827
|
+
readonly SwitchField: react642.FC<SwitchFieldProps>;
|
|
1828
|
+
readonly RadioGroupField: react642.FC<RadioGroupFieldProps>;
|
|
1829
|
+
readonly CheckboxField: react642.FC<CheckboxFieldProps>;
|
|
1830
|
+
readonly SimpleTextField: react642.FC<SimpleTextFieldProps>;
|
|
1831
|
+
readonly SimpleEmailField: react642.FC<{
|
|
1832
|
+
label?: string;
|
|
1833
|
+
placeholder?: string;
|
|
1834
|
+
required?: boolean;
|
|
1835
|
+
maxLength?: number;
|
|
1836
|
+
disabled?: boolean;
|
|
1837
|
+
}>;
|
|
1838
|
+
readonly SimplePasswordField: react642.FC<{
|
|
1839
|
+
label?: string;
|
|
1840
|
+
placeholder?: string;
|
|
1841
|
+
required?: boolean;
|
|
1842
|
+
disabled?: boolean;
|
|
1843
|
+
}>;
|
|
1844
|
+
readonly SimpleTextareaField: react642.FC<{
|
|
1845
|
+
label?: string;
|
|
1846
|
+
placeholder?: string;
|
|
1847
|
+
required?: boolean;
|
|
1848
|
+
maxLength?: number;
|
|
1849
|
+
rows?: number;
|
|
1850
|
+
disabled?: boolean;
|
|
1851
|
+
}>;
|
|
1852
|
+
readonly SimpleNumberField: react642.FC<{
|
|
1853
|
+
label?: string;
|
|
1854
|
+
placeholder?: string;
|
|
1855
|
+
required?: boolean;
|
|
1856
|
+
unit?: string;
|
|
1857
|
+
allowNegative?: boolean;
|
|
1858
|
+
disabled?: boolean;
|
|
1859
|
+
}>;
|
|
1860
|
+
readonly SimpleSelectField: react642.FC<{
|
|
1861
|
+
label?: string;
|
|
1862
|
+
placeholder?: string;
|
|
1863
|
+
required?: boolean;
|
|
1864
|
+
options: Array<{
|
|
1865
|
+
value: string;
|
|
1866
|
+
label: string;
|
|
1867
|
+
}>;
|
|
1868
|
+
}>;
|
|
1869
|
+
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
1870
|
+
readonly SimpleBooleanField: react642.FC<{
|
|
1871
|
+
label?: string;
|
|
1872
|
+
required?: boolean;
|
|
1873
|
+
disabled?: boolean;
|
|
1874
|
+
variant?: "checkbox" | "switch";
|
|
1875
|
+
}>;
|
|
1876
|
+
readonly SimpleComboboxField: react642.FC<{
|
|
1877
|
+
label?: string;
|
|
1878
|
+
placeholder?: string;
|
|
1879
|
+
required?: boolean;
|
|
1880
|
+
disabled?: boolean;
|
|
1881
|
+
options: Array<{
|
|
1882
|
+
value: string;
|
|
1883
|
+
label: string;
|
|
1884
|
+
}>;
|
|
1885
|
+
}>;
|
|
1886
|
+
readonly SimpleDateField: react642.FC<{
|
|
1887
|
+
label?: string;
|
|
1888
|
+
placeholder?: string;
|
|
1889
|
+
required?: boolean;
|
|
1890
|
+
disabled?: boolean;
|
|
1891
|
+
minDate?: Date;
|
|
1892
|
+
maxDate?: Date;
|
|
1893
|
+
}>;
|
|
1894
|
+
readonly SimpleRadioGroupField: react642.FC<{
|
|
1895
|
+
label?: string;
|
|
1896
|
+
required?: boolean;
|
|
1897
|
+
disabled?: boolean;
|
|
1898
|
+
options: Array<{
|
|
1899
|
+
value: string;
|
|
1900
|
+
label: string;
|
|
1901
|
+
}>;
|
|
1902
|
+
orientation?: "horizontal" | "vertical";
|
|
1903
|
+
}>;
|
|
1904
|
+
readonly FieldGroup: react642.MemoExoticComponent<({
|
|
1905
|
+
className,
|
|
1906
|
+
...props
|
|
1907
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1908
|
+
readonly Field: react642.MemoExoticComponent<({
|
|
1909
|
+
className,
|
|
1910
|
+
orientation,
|
|
1911
|
+
...props
|
|
1912
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1913
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1914
|
+
} & class_variance_authority_types22.ClassProp) | undefined) => string>) => react642.JSX.Element>;
|
|
1915
|
+
readonly FieldContent: react642.MemoExoticComponent<({
|
|
1916
|
+
className,
|
|
1917
|
+
...props
|
|
1918
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1919
|
+
readonly FieldLabel: react642.MemoExoticComponent<({
|
|
1920
|
+
className,
|
|
1921
|
+
...props
|
|
1922
|
+
}: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
|
|
1923
|
+
readonly FieldContentMain: react642.MemoExoticComponent<({
|
|
1924
|
+
className,
|
|
1925
|
+
...props
|
|
1926
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
1927
|
+
readonly FieldSeparator: react642.MemoExoticComponent<({
|
|
1928
|
+
children,
|
|
1929
|
+
className,
|
|
1930
|
+
...props
|
|
1931
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
|
|
1932
|
+
readonly FieldError: react642.MemoExoticComponent<({
|
|
1933
|
+
className,
|
|
1934
|
+
children,
|
|
1935
|
+
errors,
|
|
1936
|
+
requiredMessage,
|
|
1937
|
+
...props
|
|
1938
|
+
}: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
|
|
1939
|
+
errors?: Array<{
|
|
1940
|
+
code?: string;
|
|
1941
|
+
message?: string;
|
|
1942
|
+
} | undefined>;
|
|
1943
|
+
requiredMessage?: string;
|
|
1944
|
+
}) => react642.JSX.Element | null>;
|
|
1945
|
+
}, {
|
|
1946
|
+
readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
|
|
1947
|
+
title: string;
|
|
1948
|
+
submitText?: string;
|
|
1949
|
+
width?: number | string;
|
|
1950
|
+
maxWidth?: number | string;
|
|
1951
|
+
className?: string;
|
|
1952
|
+
open?: boolean;
|
|
1953
|
+
onOpenChange?: (open: boolean) => void;
|
|
1954
|
+
}>>;
|
|
1955
|
+
readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
|
|
1956
|
+
title: string;
|
|
1957
|
+
open?: boolean;
|
|
1958
|
+
contentClassName?: string;
|
|
1959
|
+
onOpenChange?: (open: boolean) => void;
|
|
1960
|
+
}>>;
|
|
1961
|
+
readonly TanStackContainerForm: react642.FC<{
|
|
1962
|
+
children?: react642.ReactNode | undefined;
|
|
1963
|
+
}>;
|
|
1964
|
+
readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
|
|
1965
|
+
title: string;
|
|
1966
|
+
}>>;
|
|
1967
|
+
readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
|
|
1968
|
+
title: string;
|
|
1969
|
+
description?: string;
|
|
1970
|
+
onDelete?: () => void | Promise<void>;
|
|
1971
|
+
}>>;
|
|
1972
|
+
readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
|
|
1973
|
+
label: string;
|
|
1974
|
+
description?: string;
|
|
1975
|
+
helperText?: string;
|
|
1976
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1977
|
+
}>>;
|
|
1978
|
+
readonly TanStackTitleField: react642.FC<{
|
|
1979
|
+
title: string;
|
|
1980
|
+
description?: string;
|
|
1981
|
+
helperText?: string;
|
|
1982
|
+
}>;
|
|
1983
|
+
readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
|
|
1984
|
+
type?: "create" | "update";
|
|
1985
|
+
}>>;
|
|
1986
|
+
readonly TanStackActionSubmit: react642.FC<{
|
|
1987
|
+
label?: string;
|
|
1988
|
+
className?: string;
|
|
1989
|
+
}>;
|
|
1990
|
+
readonly ArrayCol: typeof ArrayCol;
|
|
1991
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
1992
|
+
}, 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> & {
|
|
1993
|
+
form: _tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
1994
|
+
readonly TextField: react642.NamedExoticComponent<TextFieldProps>;
|
|
1995
|
+
readonly TextareaField: react642.NamedExoticComponent<TextareaFieldProps>;
|
|
1996
|
+
readonly TextEditorField: react642.FC<TextEditorFieldProps>;
|
|
1997
|
+
readonly NumberField: react642.NamedExoticComponent<NumberFieldProps>;
|
|
1998
|
+
readonly EmailField: react642.FC<EmailFieldProps>;
|
|
1999
|
+
readonly PasswordField: react642.FC<PasswordFieldProps>;
|
|
2000
|
+
readonly SelectField: react642.NamedExoticComponent<SelectFieldProps>;
|
|
2001
|
+
readonly ComboboxField: react642.NamedExoticComponent<ComboboxFieldProps>;
|
|
2002
|
+
readonly DateField: react642.NamedExoticComponent<DateFieldProps>;
|
|
2003
|
+
readonly SwitchField: react642.FC<SwitchFieldProps>;
|
|
2004
|
+
readonly RadioGroupField: react642.FC<RadioGroupFieldProps>;
|
|
2005
|
+
readonly CheckboxField: react642.FC<CheckboxFieldProps>;
|
|
2006
|
+
readonly SimpleTextField: react642.FC<SimpleTextFieldProps>;
|
|
2007
|
+
readonly SimpleEmailField: react642.FC<{
|
|
2008
|
+
label?: string;
|
|
2009
|
+
placeholder?: string;
|
|
2010
|
+
required?: boolean;
|
|
2011
|
+
maxLength?: number;
|
|
2012
|
+
disabled?: boolean;
|
|
2013
|
+
}>;
|
|
2014
|
+
readonly SimplePasswordField: react642.FC<{
|
|
2015
|
+
label?: string;
|
|
2016
|
+
placeholder?: string;
|
|
2017
|
+
required?: boolean;
|
|
2018
|
+
disabled?: boolean;
|
|
2019
|
+
}>;
|
|
2020
|
+
readonly SimpleTextareaField: react642.FC<{
|
|
2021
|
+
label?: string;
|
|
2022
|
+
placeholder?: string;
|
|
2023
|
+
required?: boolean;
|
|
2024
|
+
maxLength?: number;
|
|
2025
|
+
rows?: number;
|
|
2026
|
+
disabled?: boolean;
|
|
2027
|
+
}>;
|
|
2028
|
+
readonly SimpleNumberField: react642.FC<{
|
|
2029
|
+
label?: string;
|
|
2030
|
+
placeholder?: string;
|
|
2031
|
+
required?: boolean;
|
|
2032
|
+
unit?: string;
|
|
2033
|
+
allowNegative?: boolean;
|
|
2034
|
+
disabled?: boolean;
|
|
2035
|
+
}>;
|
|
2036
|
+
readonly SimpleSelectField: react642.FC<{
|
|
2037
|
+
label?: string;
|
|
2038
|
+
placeholder?: string;
|
|
2039
|
+
required?: boolean;
|
|
2040
|
+
options: Array<{
|
|
2041
|
+
value: string;
|
|
2042
|
+
label: string;
|
|
2043
|
+
}>;
|
|
2044
|
+
}>;
|
|
2045
|
+
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
2046
|
+
readonly SimpleBooleanField: react642.FC<{
|
|
2047
|
+
label?: string;
|
|
2048
|
+
required?: boolean;
|
|
2049
|
+
disabled?: boolean;
|
|
2050
|
+
variant?: "checkbox" | "switch";
|
|
2051
|
+
}>;
|
|
2052
|
+
readonly SimpleComboboxField: react642.FC<{
|
|
2053
|
+
label?: string;
|
|
2054
|
+
placeholder?: string;
|
|
2055
|
+
required?: boolean;
|
|
2056
|
+
disabled?: boolean;
|
|
2057
|
+
options: Array<{
|
|
2058
|
+
value: string;
|
|
2059
|
+
label: string;
|
|
2060
|
+
}>;
|
|
2061
|
+
}>;
|
|
2062
|
+
readonly SimpleDateField: react642.FC<{
|
|
2063
|
+
label?: string;
|
|
2064
|
+
placeholder?: string;
|
|
2065
|
+
required?: boolean;
|
|
2066
|
+
disabled?: boolean;
|
|
2067
|
+
minDate?: Date;
|
|
2068
|
+
maxDate?: Date;
|
|
2069
|
+
}>;
|
|
2070
|
+
readonly SimpleRadioGroupField: react642.FC<{
|
|
2071
|
+
label?: string;
|
|
2072
|
+
required?: boolean;
|
|
2073
|
+
disabled?: boolean;
|
|
2074
|
+
options: Array<{
|
|
2075
|
+
value: string;
|
|
2076
|
+
label: string;
|
|
2077
|
+
}>;
|
|
2078
|
+
orientation?: "horizontal" | "vertical";
|
|
2079
|
+
}>;
|
|
2080
|
+
readonly FieldGroup: react642.MemoExoticComponent<({
|
|
2081
|
+
className,
|
|
2082
|
+
...props
|
|
2083
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
2084
|
+
readonly Field: react642.MemoExoticComponent<({
|
|
2085
|
+
className,
|
|
2086
|
+
orientation,
|
|
2087
|
+
...props
|
|
2088
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
2089
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
2090
|
+
} & class_variance_authority_types22.ClassProp) | undefined) => string>) => react642.JSX.Element>;
|
|
2091
|
+
readonly FieldContent: react642.MemoExoticComponent<({
|
|
2092
|
+
className,
|
|
2093
|
+
...props
|
|
2094
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
2095
|
+
readonly FieldLabel: react642.MemoExoticComponent<({
|
|
2096
|
+
className,
|
|
2097
|
+
...props
|
|
2098
|
+
}: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
|
|
2099
|
+
readonly FieldContentMain: react642.MemoExoticComponent<({
|
|
2100
|
+
className,
|
|
2101
|
+
...props
|
|
2102
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
2103
|
+
readonly FieldSeparator: react642.MemoExoticComponent<({
|
|
2104
|
+
children,
|
|
2105
|
+
className,
|
|
2106
|
+
...props
|
|
2107
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
|
|
2108
|
+
readonly FieldError: react642.MemoExoticComponent<({
|
|
2109
|
+
className,
|
|
2110
|
+
children,
|
|
2111
|
+
errors,
|
|
2112
|
+
requiredMessage,
|
|
2113
|
+
...props
|
|
2114
|
+
}: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
|
|
2115
|
+
errors?: Array<{
|
|
2116
|
+
code?: string;
|
|
2117
|
+
message?: string;
|
|
2118
|
+
} | undefined>;
|
|
2119
|
+
requiredMessage?: string;
|
|
2120
|
+
}) => react642.JSX.Element | null>;
|
|
2121
|
+
}, {
|
|
2122
|
+
readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
|
|
2123
|
+
title: string;
|
|
2124
|
+
submitText?: string;
|
|
2125
|
+
width?: number | string;
|
|
2126
|
+
maxWidth?: number | string;
|
|
2127
|
+
className?: string;
|
|
2128
|
+
open?: boolean;
|
|
2129
|
+
onOpenChange?: (open: boolean) => void;
|
|
2130
|
+
}>>;
|
|
2131
|
+
readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
|
|
2132
|
+
title: string;
|
|
2133
|
+
open?: boolean;
|
|
2134
|
+
contentClassName?: string;
|
|
2135
|
+
onOpenChange?: (open: boolean) => void;
|
|
2136
|
+
}>>;
|
|
2137
|
+
readonly TanStackContainerForm: react642.FC<{
|
|
2138
|
+
children?: react642.ReactNode | undefined;
|
|
2139
|
+
}>;
|
|
2140
|
+
readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
|
|
2141
|
+
title: string;
|
|
2142
|
+
}>>;
|
|
2143
|
+
readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
|
|
2144
|
+
title: string;
|
|
2145
|
+
description?: string;
|
|
2146
|
+
onDelete?: () => void | Promise<void>;
|
|
2147
|
+
}>>;
|
|
2148
|
+
readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
|
|
2149
|
+
label: string;
|
|
2150
|
+
description?: string;
|
|
2151
|
+
helperText?: string;
|
|
2152
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
2153
|
+
}>>;
|
|
2154
|
+
readonly TanStackTitleField: react642.FC<{
|
|
2155
|
+
title: string;
|
|
2156
|
+
description?: string;
|
|
2157
|
+
helperText?: string;
|
|
2158
|
+
}>;
|
|
2159
|
+
readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
|
|
2160
|
+
type?: "create" | "update";
|
|
2161
|
+
}>>;
|
|
2162
|
+
readonly TanStackActionSubmit: react642.FC<{
|
|
2163
|
+
label?: string;
|
|
2164
|
+
className?: string;
|
|
2165
|
+
}>;
|
|
2166
|
+
readonly ArrayCol: typeof ArrayCol;
|
|
2167
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
2168
|
+
}> | _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, {
|
|
2169
|
+
readonly TextField: react642.NamedExoticComponent<TextFieldProps>;
|
|
2170
|
+
readonly TextareaField: react642.NamedExoticComponent<TextareaFieldProps>;
|
|
2171
|
+
readonly TextEditorField: react642.FC<TextEditorFieldProps>;
|
|
2172
|
+
readonly NumberField: react642.NamedExoticComponent<NumberFieldProps>;
|
|
2173
|
+
readonly EmailField: react642.FC<EmailFieldProps>;
|
|
2174
|
+
readonly PasswordField: react642.FC<PasswordFieldProps>;
|
|
2175
|
+
readonly SelectField: react642.NamedExoticComponent<SelectFieldProps>;
|
|
2176
|
+
readonly ComboboxField: react642.NamedExoticComponent<ComboboxFieldProps>;
|
|
2177
|
+
readonly DateField: react642.NamedExoticComponent<DateFieldProps>;
|
|
2178
|
+
readonly SwitchField: react642.FC<SwitchFieldProps>;
|
|
2179
|
+
readonly RadioGroupField: react642.FC<RadioGroupFieldProps>;
|
|
2180
|
+
readonly CheckboxField: react642.FC<CheckboxFieldProps>;
|
|
2181
|
+
readonly SimpleTextField: react642.FC<SimpleTextFieldProps>;
|
|
2182
|
+
readonly SimpleEmailField: react642.FC<{
|
|
2183
|
+
label?: string;
|
|
2184
|
+
placeholder?: string;
|
|
2185
|
+
required?: boolean;
|
|
2186
|
+
maxLength?: number;
|
|
2187
|
+
disabled?: boolean;
|
|
2188
|
+
}>;
|
|
2189
|
+
readonly SimplePasswordField: react642.FC<{
|
|
2190
|
+
label?: string;
|
|
2191
|
+
placeholder?: string;
|
|
2192
|
+
required?: boolean;
|
|
2193
|
+
disabled?: boolean;
|
|
2194
|
+
}>;
|
|
2195
|
+
readonly SimpleTextareaField: react642.FC<{
|
|
2196
|
+
label?: string;
|
|
2197
|
+
placeholder?: string;
|
|
2198
|
+
required?: boolean;
|
|
2199
|
+
maxLength?: number;
|
|
2200
|
+
rows?: number;
|
|
2201
|
+
disabled?: boolean;
|
|
2202
|
+
}>;
|
|
2203
|
+
readonly SimpleNumberField: react642.FC<{
|
|
2204
|
+
label?: string;
|
|
2205
|
+
placeholder?: string;
|
|
2206
|
+
required?: boolean;
|
|
2207
|
+
unit?: string;
|
|
2208
|
+
allowNegative?: boolean;
|
|
2209
|
+
disabled?: boolean;
|
|
2210
|
+
}>;
|
|
2211
|
+
readonly SimpleSelectField: react642.FC<{
|
|
2212
|
+
label?: string;
|
|
2213
|
+
placeholder?: string;
|
|
2214
|
+
required?: boolean;
|
|
2215
|
+
options: Array<{
|
|
2216
|
+
value: string;
|
|
2217
|
+
label: string;
|
|
2218
|
+
}>;
|
|
2219
|
+
}>;
|
|
2220
|
+
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
2221
|
+
readonly SimpleBooleanField: react642.FC<{
|
|
2222
|
+
label?: string;
|
|
2223
|
+
required?: boolean;
|
|
2224
|
+
disabled?: boolean;
|
|
2225
|
+
variant?: "checkbox" | "switch";
|
|
2226
|
+
}>;
|
|
2227
|
+
readonly SimpleComboboxField: react642.FC<{
|
|
2228
|
+
label?: string;
|
|
2229
|
+
placeholder?: string;
|
|
2230
|
+
required?: boolean;
|
|
2231
|
+
disabled?: boolean;
|
|
2232
|
+
options: Array<{
|
|
2233
|
+
value: string;
|
|
2234
|
+
label: string;
|
|
2235
|
+
}>;
|
|
2236
|
+
}>;
|
|
2237
|
+
readonly SimpleDateField: react642.FC<{
|
|
2238
|
+
label?: string;
|
|
2239
|
+
placeholder?: string;
|
|
2240
|
+
required?: boolean;
|
|
2241
|
+
disabled?: boolean;
|
|
2242
|
+
minDate?: Date;
|
|
2243
|
+
maxDate?: Date;
|
|
2244
|
+
}>;
|
|
2245
|
+
readonly SimpleRadioGroupField: react642.FC<{
|
|
2246
|
+
label?: string;
|
|
2247
|
+
required?: boolean;
|
|
2248
|
+
disabled?: boolean;
|
|
2249
|
+
options: Array<{
|
|
2250
|
+
value: string;
|
|
2251
|
+
label: string;
|
|
2252
|
+
}>;
|
|
2253
|
+
orientation?: "horizontal" | "vertical";
|
|
2254
|
+
}>;
|
|
2255
|
+
readonly FieldGroup: react642.MemoExoticComponent<({
|
|
2256
|
+
className,
|
|
2257
|
+
...props
|
|
2258
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
2259
|
+
readonly Field: react642.MemoExoticComponent<({
|
|
2260
|
+
className,
|
|
2261
|
+
orientation,
|
|
2262
|
+
...props
|
|
2263
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
2264
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
2265
|
+
} & class_variance_authority_types22.ClassProp) | undefined) => string>) => react642.JSX.Element>;
|
|
2266
|
+
readonly FieldContent: react642.MemoExoticComponent<({
|
|
2267
|
+
className,
|
|
2268
|
+
...props
|
|
2269
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
2270
|
+
readonly FieldLabel: react642.MemoExoticComponent<({
|
|
2271
|
+
className,
|
|
2272
|
+
...props
|
|
2273
|
+
}: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
|
|
2274
|
+
readonly FieldContentMain: react642.MemoExoticComponent<({
|
|
2275
|
+
className,
|
|
2276
|
+
...props
|
|
2277
|
+
}: React.ComponentProps<"div">) => react642.JSX.Element>;
|
|
2278
|
+
readonly FieldSeparator: react642.MemoExoticComponent<({
|
|
2279
|
+
children,
|
|
2280
|
+
className,
|
|
2281
|
+
...props
|
|
2282
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
|
|
2283
|
+
readonly FieldError: react642.MemoExoticComponent<({
|
|
2284
|
+
className,
|
|
2285
|
+
children,
|
|
2286
|
+
errors,
|
|
2287
|
+
requiredMessage,
|
|
2288
|
+
...props
|
|
2289
|
+
}: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
|
|
2290
|
+
errors?: Array<{
|
|
2291
|
+
code?: string;
|
|
2292
|
+
message?: string;
|
|
2293
|
+
} | undefined>;
|
|
2294
|
+
requiredMessage?: string;
|
|
2295
|
+
}) => react642.JSX.Element | null>;
|
|
2296
|
+
}, {
|
|
2297
|
+
readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
|
|
2298
|
+
title: string;
|
|
2299
|
+
submitText?: string;
|
|
2300
|
+
width?: number | string;
|
|
2301
|
+
maxWidth?: number | string;
|
|
2302
|
+
className?: string;
|
|
2303
|
+
open?: boolean;
|
|
2304
|
+
onOpenChange?: (open: boolean) => void;
|
|
2305
|
+
}>>;
|
|
2306
|
+
readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
|
|
2307
|
+
title: string;
|
|
2308
|
+
open?: boolean;
|
|
2309
|
+
contentClassName?: string;
|
|
2310
|
+
onOpenChange?: (open: boolean) => void;
|
|
2311
|
+
}>>;
|
|
2312
|
+
readonly TanStackContainerForm: react642.FC<{
|
|
2313
|
+
children?: react642.ReactNode | undefined;
|
|
2314
|
+
}>;
|
|
2315
|
+
readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
|
|
2316
|
+
title: string;
|
|
2317
|
+
}>>;
|
|
2318
|
+
readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
|
|
2319
|
+
title: string;
|
|
2320
|
+
description?: string;
|
|
2321
|
+
onDelete?: () => void | Promise<void>;
|
|
2322
|
+
}>>;
|
|
2323
|
+
readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
|
|
2324
|
+
label: string;
|
|
2325
|
+
description?: string;
|
|
2326
|
+
helperText?: string;
|
|
2327
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
2328
|
+
}>>;
|
|
2329
|
+
readonly TanStackTitleField: react642.FC<{
|
|
2330
|
+
title: string;
|
|
2331
|
+
description?: string;
|
|
2332
|
+
helperText?: string;
|
|
2333
|
+
}>;
|
|
2334
|
+
readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
|
|
2335
|
+
type?: "create" | "update";
|
|
2336
|
+
}>>;
|
|
2337
|
+
readonly TanStackActionSubmit: react642.FC<{
|
|
2338
|
+
label?: string;
|
|
2339
|
+
className?: string;
|
|
2340
|
+
}>;
|
|
2341
|
+
readonly ArrayCol: typeof ArrayCol;
|
|
2342
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
2343
|
+
}>;
|
|
2344
|
+
fields: TFields;
|
|
2345
|
+
}>) => ReturnType<react642.FunctionComponent>;
|
|
2346
|
+
//#endregion
|
|
2347
|
+
export { ArrayHeaderRow as $, TextEditorField as A, ComboboxField as B, TanStackPopoverForm as C, TextFieldValue as Ct, TanStackCardForm as D, TanStackContainerForm as E, RadioGroupField as F, SimplePasswordField as G, SimpleTextField as H, PasswordField as I, SimpleRadioGroupField as J, SimpleNumberField as K, NumberField as L, TextField as M, SwitchField as N, TanStackActionsForm as O, SelectField as P, ArrayCol as Q, EmailField as R, TanStackSectionForm as S, TextFieldProps as St, TanStackDialogForm as T, SimpleTextareaField as U, CheckboxField as V, SimpleSelectField as W, SimpleComboboxField as X, SimpleDateField as Y, SimpleBooleanField as Z, FieldSet as _, SelectFieldProps as _t, withTanStackForm as a, DateFieldProps as at, CancelButton as b, SwitchFieldProps as bt, FieldContent as c, FieldOrientation as ct, FieldError as d, MultiSelectFieldValue as dt, SimpleArrayField as et, FieldGroup as f, NumberFieldProps as ft, FieldSeparator as g, RadioOption as gt, FieldNote as h, RadioGroupFieldProps as ht, withTanStackFieldGroup as i, ComboboxFieldProps as it, TextareaField as j, TanStackActionSubmit as k, FieldContentMain as l, FieldRounding as lt, FieldLegend as m, PasswordFieldProps as mt, useTanStackForm as n, BooleanFieldValue as nt, SubmitButton as o, DateFieldValue as ot, FieldLabel as p, NumberFieldValue as pt, SimpleEmailField as q, useTanStackFormContext as r, CheckboxFieldProps as rt, Field as s, EmailFieldProps as st, useTanStackFieldContext as t, AnyFieldProps as tt, FieldDescription as u, FieldType as ut, FieldTitle as v, SelectOption as vt, TanStackFieldGroup as w, TextareaFieldProps as wt, TanStackTitleField as x, TextEditorFieldProps as xt, FieldTooltip as y, SimpleTextFieldProps as yt, DateField as z };
|
|
2348
|
+
//# sourceMappingURL=index-DSciiDhn.d.cts.map
|