@customafk/lunas-ui 0.2.63 → 0.2.65

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.
Files changed (187) hide show
  1. package/dist/action-submit-3kZ7JOop.cjs +2 -0
  2. package/dist/action-submit-3kZ7JOop.cjs.map +1 -0
  3. package/dist/action-submit-Dg5GvYz5.mjs +2 -0
  4. package/dist/action-submit-Dg5GvYz5.mjs.map +1 -0
  5. package/dist/actions-form-BL_B81Vg.mjs +2 -0
  6. package/dist/actions-form-BL_B81Vg.mjs.map +1 -0
  7. package/dist/actions-form-CE_enCgE.cjs +2 -0
  8. package/dist/actions-form-CE_enCgE.cjs.map +1 -0
  9. package/dist/card-form-BR5kDTzB.cjs +2 -0
  10. package/dist/card-form-BR5kDTzB.cjs.map +1 -0
  11. package/dist/card-form-D9fNO-6F.mjs +2 -0
  12. package/dist/card-form-D9fNO-6F.mjs.map +1 -0
  13. package/dist/checkbox-field-CRcfuDu1.mjs +2 -0
  14. package/dist/checkbox-field-CRcfuDu1.mjs.map +1 -0
  15. package/dist/checkbox-field-DdeohRmi.cjs +2 -0
  16. package/dist/checkbox-field-DdeohRmi.cjs.map +1 -0
  17. package/dist/combobox-field-BGChwajc.mjs +2 -0
  18. package/dist/combobox-field-BGChwajc.mjs.map +1 -0
  19. package/dist/combobox-field-D9NdSih1.cjs +2 -0
  20. package/dist/combobox-field-D9NdSih1.cjs.map +1 -0
  21. package/dist/container-form-BdsEX0NH.mjs +2 -0
  22. package/dist/container-form-BdsEX0NH.mjs.map +1 -0
  23. package/dist/container-form-CxxUYctk.cjs +2 -0
  24. package/dist/container-form-CxxUYctk.cjs.map +1 -0
  25. package/dist/date-field-BqAX4M_h.cjs +2 -0
  26. package/dist/date-field-BqAX4M_h.cjs.map +1 -0
  27. package/dist/date-field-Dm4ki1HS.mjs +2 -0
  28. package/dist/date-field-Dm4ki1HS.mjs.map +1 -0
  29. package/dist/dialog-form-ClWBZbUN.mjs +2 -0
  30. package/dist/dialog-form-ClWBZbUN.mjs.map +1 -0
  31. package/dist/dialog-form-DN-NlQFO.cjs +2 -0
  32. package/dist/dialog-form-DN-NlQFO.cjs.map +1 -0
  33. package/dist/dialogs/confirm-dialog.cjs +1 -1
  34. package/dist/dialogs/confirm-dialog.cjs.map +1 -1
  35. package/dist/dialogs/confirm-dialog.mjs +1 -1
  36. package/dist/dialogs/confirm-dialog.mjs.map +1 -1
  37. package/dist/email-field-DZNR_JbT.mjs +2 -0
  38. package/dist/email-field-DZNR_JbT.mjs.map +1 -0
  39. package/dist/email-field-lDd9ouFN.cjs +2 -0
  40. package/dist/email-field-lDd9ouFN.cjs.map +1 -0
  41. package/dist/features/charts/index.cjs +1 -1
  42. package/dist/features/charts/index.cjs.map +1 -1
  43. package/dist/features/charts/index.d.cts +556 -1
  44. package/dist/features/charts/index.d.mts +556 -1
  45. package/dist/features/charts/index.mjs +1 -1
  46. package/dist/features/charts/index.mjs.map +1 -1
  47. package/dist/features/tables/index.d.cts +1 -1
  48. package/dist/features/tables/index.d.mts +1 -1
  49. package/dist/features/tanstack-form/index.cjs +1 -1
  50. package/dist/features/tanstack-form/index.d.cts +1 -1
  51. package/dist/features/tanstack-form/index.d.mts +1 -1
  52. package/dist/features/tanstack-form/index.mjs +1 -1
  53. package/dist/field-BKyUqvzh.mjs +2 -0
  54. package/dist/field-BKyUqvzh.mjs.map +1 -0
  55. package/dist/field-BV5twmKA.cjs +2 -0
  56. package/dist/field-BV5twmKA.cjs.map +1 -0
  57. package/dist/group-field-0kStiX8n.cjs +2 -0
  58. package/dist/group-field-0kStiX8n.cjs.map +1 -0
  59. package/dist/group-field-bviEXmo4.mjs +2 -0
  60. package/dist/group-field-bviEXmo4.mjs.map +1 -0
  61. package/dist/{index-CGpGIM1H.d.cts → index-C4isgHWG.d.cts} +2 -2
  62. package/dist/{index-DueBB0rP.d.mts → index-C8W56XKm.d.mts} +2 -2
  63. package/dist/{index-C2KjuFXQ.d.cts → index-DDROD2y9.d.cts} +596 -1117
  64. package/dist/{index-C2KjuFXQ.d.mts → index-DDROD2y9.d.mts} +596 -1117
  65. package/dist/index.cjs +1 -1
  66. package/dist/index.d.cts +5 -5
  67. package/dist/index.d.mts +5 -5
  68. package/dist/index.mjs +1 -1
  69. package/dist/{input-BJMvABEL.d.cts → input-go3H4EQz.d.cts} +2 -2
  70. package/dist/{input-BJMvABEL.d.mts → input-go3H4EQz.d.mts} +2 -2
  71. package/dist/number-field-Baj9Yhiv.mjs +2 -0
  72. package/dist/number-field-Baj9Yhiv.mjs.map +1 -0
  73. package/dist/number-field-BqeSbMvE.cjs +2 -0
  74. package/dist/number-field-BqeSbMvE.cjs.map +1 -0
  75. package/dist/number-input-CqkegUWs.mjs +2 -0
  76. package/dist/number-input-CqkegUWs.mjs.map +1 -0
  77. package/dist/number-input-kTh9zzr7.cjs +2 -0
  78. package/dist/number-input-kTh9zzr7.cjs.map +1 -0
  79. package/dist/password-field-Cq0S949S.cjs +2 -0
  80. package/dist/password-field-Cq0S949S.cjs.map +1 -0
  81. package/dist/password-field-fzpU42sV.mjs +2 -0
  82. package/dist/password-field-fzpU42sV.mjs.map +1 -0
  83. package/dist/popover-form-DNbBGWVF.mjs +2 -0
  84. package/dist/popover-form-DNbBGWVF.mjs.map +1 -0
  85. package/dist/popover-form-KLmew1Vd.cjs +2 -0
  86. package/dist/popover-form-KLmew1Vd.cjs.map +1 -0
  87. package/dist/radio-group-field-DjzD3i-f.cjs +2 -0
  88. package/dist/radio-group-field-DjzD3i-f.cjs.map +1 -0
  89. package/dist/radio-group-field-Ps8yHpnH.mjs +2 -0
  90. package/dist/radio-group-field-Ps8yHpnH.mjs.map +1 -0
  91. package/dist/section-form-B9iTs2we.cjs +2 -0
  92. package/dist/section-form-B9iTs2we.cjs.map +1 -0
  93. package/dist/section-form-B_AZr7jZ.mjs +2 -0
  94. package/dist/section-form-B_AZr7jZ.mjs.map +1 -0
  95. package/dist/select-field-B4eU65OI.cjs +2 -0
  96. package/dist/select-field-B4eU65OI.cjs.map +1 -0
  97. package/dist/select-field-D6Dw-Jwg.mjs +2 -0
  98. package/dist/select-field-D6Dw-Jwg.mjs.map +1 -0
  99. package/dist/separator-BlNAFSJv.mjs +2 -0
  100. package/dist/separator-BlNAFSJv.mjs.map +1 -0
  101. package/dist/separator-sBz__BXC.cjs +2 -0
  102. package/dist/separator-sBz__BXC.cjs.map +1 -0
  103. package/dist/simple-array-field-9oZ-Smzp.mjs +2 -0
  104. package/dist/simple-array-field-9oZ-Smzp.mjs.map +1 -0
  105. package/dist/simple-array-field-Bcs2pHdp.cjs +2 -0
  106. package/dist/simple-array-field-Bcs2pHdp.cjs.map +1 -0
  107. package/dist/simple-boolean-field-C-qq6Vlt.cjs +2 -0
  108. package/dist/simple-boolean-field-C-qq6Vlt.cjs.map +1 -0
  109. package/dist/simple-boolean-field-CkJUMxNU.mjs +2 -0
  110. package/dist/simple-boolean-field-CkJUMxNU.mjs.map +1 -0
  111. package/dist/simple-combobox-field-5dfMd49B.mjs +2 -0
  112. package/dist/simple-combobox-field-5dfMd49B.mjs.map +1 -0
  113. package/dist/simple-combobox-field-BtmQGEo5.cjs +2 -0
  114. package/dist/simple-combobox-field-BtmQGEo5.cjs.map +1 -0
  115. package/dist/simple-date-field-BXoLb496.mjs +2 -0
  116. package/dist/simple-date-field-BXoLb496.mjs.map +1 -0
  117. package/dist/simple-date-field-LVfNhVJi.cjs +2 -0
  118. package/dist/simple-date-field-LVfNhVJi.cjs.map +1 -0
  119. package/dist/simple-email-field-QVUrm8f7.cjs +2 -0
  120. package/dist/simple-email-field-QVUrm8f7.cjs.map +1 -0
  121. package/dist/simple-email-field-rZZIXu7S.mjs +2 -0
  122. package/dist/simple-email-field-rZZIXu7S.mjs.map +1 -0
  123. package/dist/simple-number-field-P9PTwcs4.cjs +2 -0
  124. package/dist/simple-number-field-P9PTwcs4.cjs.map +1 -0
  125. package/dist/simple-number-field-PJAyAOMO.mjs +2 -0
  126. package/dist/simple-number-field-PJAyAOMO.mjs.map +1 -0
  127. package/dist/simple-password-field-BEuFXAsk.mjs +2 -0
  128. package/dist/simple-password-field-BEuFXAsk.mjs.map +1 -0
  129. package/dist/simple-password-field-BW6YkfSP.cjs +2 -0
  130. package/dist/simple-password-field-BW6YkfSP.cjs.map +1 -0
  131. package/dist/simple-radio-group-field-BtQHJpOz.cjs +2 -0
  132. package/dist/simple-radio-group-field-BtQHJpOz.cjs.map +1 -0
  133. package/dist/simple-radio-group-field-DiYQfgts.mjs +2 -0
  134. package/dist/simple-radio-group-field-DiYQfgts.mjs.map +1 -0
  135. package/dist/simple-select-field--zJMLBUY.cjs +2 -0
  136. package/dist/simple-select-field--zJMLBUY.cjs.map +1 -0
  137. package/dist/simple-select-field-Df4DLsbi.mjs +2 -0
  138. package/dist/simple-select-field-Df4DLsbi.mjs.map +1 -0
  139. package/dist/simple-text-field-DVkuHrhF.cjs +2 -0
  140. package/dist/simple-text-field-DVkuHrhF.cjs.map +1 -0
  141. package/dist/simple-text-field-zAfkmlhc.mjs +2 -0
  142. package/dist/simple-text-field-zAfkmlhc.mjs.map +1 -0
  143. package/dist/simple-textarea-field-BaMK0feA.cjs +2 -0
  144. package/dist/simple-textarea-field-BaMK0feA.cjs.map +1 -0
  145. package/dist/simple-textarea-field-q9DeFByl.mjs +2 -0
  146. package/dist/simple-textarea-field-q9DeFByl.mjs.map +1 -0
  147. package/dist/submit-button-CGBaPzE9.mjs +2 -0
  148. package/dist/submit-button-CGBaPzE9.mjs.map +1 -0
  149. package/dist/submit-button-CvINfld5.cjs +2 -0
  150. package/dist/submit-button-CvINfld5.cjs.map +1 -0
  151. package/dist/switch-field-B8HVvc2f.mjs +2 -0
  152. package/dist/switch-field-B8HVvc2f.mjs.map +1 -0
  153. package/dist/switch-field-C1uNuuku.cjs +2 -0
  154. package/dist/switch-field-C1uNuuku.cjs.map +1 -0
  155. package/dist/tanstack-form-CM_Hb3JT.mjs +2 -0
  156. package/dist/tanstack-form-CM_Hb3JT.mjs.map +1 -0
  157. package/dist/tanstack-form-DS_ZvRl8.cjs +2 -0
  158. package/dist/tanstack-form-DS_ZvRl8.cjs.map +1 -0
  159. package/dist/text-editor-field-BBDgCPuc.cjs +2 -0
  160. package/dist/text-editor-field-BBDgCPuc.cjs.map +1 -0
  161. package/dist/text-editor-field-CcsR48Jw.mjs +2 -0
  162. package/dist/text-editor-field-CcsR48Jw.mjs.map +1 -0
  163. package/dist/text-field-BhC_ik5w.cjs +2 -0
  164. package/dist/text-field-BhC_ik5w.cjs.map +1 -0
  165. package/dist/text-field-qhiYvQKt.mjs +2 -0
  166. package/dist/text-field-qhiYvQKt.mjs.map +1 -0
  167. package/dist/textarea-field-C-7ZoUMz.cjs +2 -0
  168. package/dist/textarea-field-C-7ZoUMz.cjs.map +1 -0
  169. package/dist/textarea-field-DqDciVSB.mjs +2 -0
  170. package/dist/textarea-field-DqDciVSB.mjs.map +1 -0
  171. package/dist/title-field-84EnHPvl.mjs +2 -0
  172. package/dist/title-field-84EnHPvl.mjs.map +1 -0
  173. package/dist/title-field-CKxwzMOM.cjs +2 -0
  174. package/dist/title-field-CKxwzMOM.cjs.map +1 -0
  175. package/dist/ui/badge.cjs +1 -1
  176. package/dist/ui/badge.cjs.map +1 -1
  177. package/dist/ui/badge.mjs +1 -1
  178. package/dist/ui/badge.mjs.map +1 -1
  179. package/dist/ui/input.d.cts +1 -1
  180. package/dist/ui/input.d.mts +1 -1
  181. package/dist/ui/inputs/search-input.d.cts +1 -1
  182. package/dist/ui/inputs/search-input.d.mts +1 -1
  183. package/package.json +1 -5
  184. package/dist/tanstack-form-BMVn8ai_.cjs +0 -2
  185. package/dist/tanstack-form-BMVn8ai_.cjs.map +0 -1
  186. package/dist/tanstack-form-DTCgWGCA.mjs +0 -2
  187. package/dist/tanstack-form-DTCgWGCA.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
- import { VariantProps } from "class-variance-authority";
2
- import { Label } from "radix-ui";
1
+ import * as React$1 from "react";
2
+ import { ComponentType } from "react";
3
3
 
4
4
  //#region packages/components/features/tanstack-form/types.d.ts
5
5
  /** Layout axis for a field's label–input arrangement. */
@@ -220,6 +220,60 @@ type AnyFieldProps = ({
220
220
  /** The `fieldType` discriminant extracted from {@link AnyFieldProps}. */
221
221
  type FieldType = AnyFieldProps['fieldType'];
222
222
  //#endregion
223
+ //#region node_modules/@radix-ui/react-primitive/dist/index.d.mts
224
+ declare module 'react' {
225
+ interface CSSProperties {
226
+ [varName: `--radix-${string}`]: string | number | undefined | null;
227
+ }
228
+ }
229
+ declare const NODES: readonly ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "select", "span", "svg", "ul"];
230
+ type Primitives = { [E in (typeof NODES)[number]]: PrimitiveForwardRefComponent<E> };
231
+ type PrimitivePropsWithRef<E extends React$1.ElementType> = React$1.ComponentPropsWithRef<E> & {
232
+ asChild?: boolean;
233
+ };
234
+ interface PrimitiveForwardRefComponent<E extends React$1.ElementType> extends React$1.ForwardRefExoticComponent<PrimitivePropsWithRef<E>> {}
235
+ declare const Primitive: Primitives;
236
+ /**
237
+ * Flush custom event dispatch
238
+ * https://github.com/radix-ui/primitives/pull/1378
239
+ *
240
+ * React batches *all* event handlers since version 18, this introduces certain considerations when using custom event types.
241
+ *
242
+ * Internally, React prioritises events in the following order:
243
+ * - discrete
244
+ * - continuous
245
+ * - default
246
+ *
247
+ * https://github.com/facebook/react/blob/a8a4742f1c54493df00da648a3f9d26e3db9c8b5/packages/react-dom/src/events/ReactDOMEventListener.js#L294-L350
248
+ *
249
+ * `discrete` is an important distinction as updates within these events are applied immediately.
250
+ * React however, is not able to infer the priority of custom event types due to how they are detected internally.
251
+ * Because of this, it's possible for updates from custom events to be unexpectedly batched when
252
+ * dispatched by another `discrete` event.
253
+ *
254
+ * In order to ensure that updates from custom events are applied predictably, we need to manually flush the batch.
255
+ * This utility should be used when dispatching a custom event from within another `discrete` event, this utility
256
+ * is not necessary when dispatching known event types, or if dispatching a custom type inside a non-discrete event.
257
+ * For example:
258
+ *
259
+ * dispatching a known click 👎
260
+ * target.dispatchEvent(new Event(‘click’))
261
+ *
262
+ * dispatching a custom type within a non-discrete event 👎
263
+ * onScroll={(event) => event.target.dispatchEvent(new CustomEvent(‘customType’))}
264
+ *
265
+ * dispatching a custom type within a `discrete` event 👍
266
+ * onPointerDown={(event) => dispatchDiscreteCustomEvent(event.target, new CustomEvent(‘customType’))}
267
+ *
268
+ * Note: though React classifies `focus`, `focusin` and `focusout` events as `discrete`, it's not recommended to use
269
+ * this utility with them. This is because it's possible for those handlers to be called implicitly during render
270
+ * e.g. when focus is within a component as it is unmounted, or when managing focus on mount.
271
+ */
272
+ //#endregion
273
+ //#region node_modules/@radix-ui/react-label/dist/index.d.mts
274
+ type PrimitiveLabelProps = React$1.ComponentPropsWithoutRef<typeof Primitive.label>;
275
+ interface LabelProps extends PrimitiveLabelProps {}
276
+ //#endregion
223
277
  //#region node_modules/@tanstack/form-core/dist/esm/standardSchemaValidator.d.ts
224
278
  type TStandardSchemaValidatorValue<TData, TSource extends ValidationSource = ValidationSource> = {
225
279
  value: TData;
@@ -1980,83 +2034,8 @@ declare global {
1980
2034
  var __TANSTACK_EVENT_TARGET__: EventTarget | null;
1981
2035
  }
1982
2036
  //#endregion
1983
- //#region packages/components/features/tanstack-form/components/ui/label.d.ts
1984
- /**
1985
- * Form field label that automatically renders a "Required" badge when the field is marked aria-required.
1986
- *
1987
- * @example
1988
- * import { Label } from '@customafk/lunas-ui/features/tanstack-form';
1989
- *
1990
- * <Label htmlFor="email">Email address</Label>
1991
- */
1992
- declare function Label$1({
1993
- className,
1994
- children,
1995
- ...props
1996
- }: React.ComponentProps<typeof Label.Root>): import("react").JSX.Element;
1997
- //#endregion
1998
2037
  //#region packages/components/features/tanstack-form/components/atoms/simple-array-field.d.ts
1999
- type ArrayColProps = {
2000
- /**
2001
- * Fixed column width as a pixel number (e.g. `96`) or any CSS string
2002
- * (e.g. `'8rem'`, `'20%'`). Omit to let the column expand and fill the
2003
- * remaining row space (`flex: 1`).
2004
- */
2005
- width?: number | string;
2006
- className?: string;
2007
- children: React.ReactNode;
2008
- };
2009
- /**
2010
- * Layout helper for columns inside a `SimpleArrayField` row. Controls width
2011
- * without repeating `<div className="w-24">` or `<div className="flex-1">`.
2012
- *
2013
- * @example
2014
- * <SimpleArrayField defaultRow={...}>
2015
- * {i => (
2016
- * <>
2017
- * <ArrayCol> // flex-1 — takes remaining space
2018
- * <AppField name={`items[${i}].name`}>...</AppField>
2019
- * </ArrayCol>
2020
- * <ArrayCol width={96}> // 96 px fixed
2021
- * <AppField name={`items[${i}].qty`}>...</AppField>
2022
- * </ArrayCol>
2023
- * <ArrayCol width="8rem"> // CSS string
2024
- * <AppField name={`items[${i}].tax`}>...</AppField>
2025
- * </ArrayCol>
2026
- * </>
2027
- * )}
2028
- * </SimpleArrayField>
2029
- */
2030
- declare function ArrayCol({
2031
- width,
2032
- className,
2033
- children
2034
- }: ArrayColProps): import("react").JSX.Element;
2035
- type ArrayHeaderRowProps = {
2036
- className?: string;
2037
- children: React.ReactNode;
2038
- };
2039
- /**
2040
- * Styled header row for a `SimpleArrayField` table. Place it directly above
2041
- * `<SimpleArrayField>` and use `<ArrayCol>` children with text labels to align
2042
- * headers with their columns. A spacer matching the delete-button width is
2043
- * appended automatically.
2044
- *
2045
- * @example
2046
- * <ArrayHeaderRow>
2047
- * <ArrayCol>Name</ArrayCol>
2048
- * <ArrayCol width={96}>Price</ArrayCol>
2049
- * <ArrayCol width={80}>Qty</ArrayCol>
2050
- * </ArrayHeaderRow>
2051
- * <SimpleArrayField defaultRow={...}>
2052
- * {i => (...)}
2053
- * </SimpleArrayField>
2054
- */
2055
- declare function ArrayHeaderRow({
2056
- className,
2057
- children
2058
- }: ArrayHeaderRowProps): import("react").JSX.Element;
2059
- type Props$9<T> = {
2038
+ type SimpleArrayFieldProps<T> = {
2060
2039
  /**
2061
2040
  * Shape of a brand-new empty row appended when the user clicks "Add row".
2062
2041
  */
@@ -2069,647 +2048,177 @@ type Props$9<T> = {
2069
2048
  addLabel?: string;
2070
2049
  className?: string;
2071
2050
  };
2072
- /**
2073
- * Array field wrapper that manages rows (add / remove) while letting you
2074
- * freely compose any fields inside each row.
2075
- *
2076
- * @example
2077
- * const { AppForm, AppField } = useTanStackForm({ defaultValues: { items: [] } });
2078
- *
2079
- * <AppForm>
2080
- * <AppField name="items">
2081
- * {({ SimpleArrayField }) => (
2082
- * <SimpleArrayField defaultRow={{ name: null, qty: null }}>
2083
- * {(i) => (
2084
- * <div className="flex gap-2">
2085
- * <AppField name={`items[${i}].name`}>
2086
- * {({ SimpleTextField }) => <SimpleTextField label="Name" />}
2087
- * </AppField>
2088
- * <AppField name={`items[${i}].qty`}>
2089
- * {({ SimpleNumberField }) => <SimpleNumberField label="Qty" />}
2090
- * </AppField>
2091
- * </div>
2092
- * )}
2093
- * </SimpleArrayField>
2094
- * )}
2095
- * </AppField>
2096
- * </AppForm>
2097
- */
2098
- declare function SimpleArrayField<T>({
2099
- defaultRow,
2100
- children,
2101
- addLabel,
2102
- className
2103
- }: Props$9<T>): import("react").JSX.Element;
2104
2051
  //#endregion
2105
- //#region packages/components/features/tanstack-form/components/atoms/simple-boolean-field.d.ts
2106
- type Props$8 = {
2052
+ //#region packages/components/features/tanstack-form/tanstack-form.d.ts
2053
+ declare const TextField: ComponentType<TextFieldProps>;
2054
+ declare const TextareaField: ComponentType<TextareaFieldProps>;
2055
+ declare const TextEditorField: ComponentType<TextEditorFieldProps>;
2056
+ declare const NumberField: ComponentType<NumberFieldProps>;
2057
+ declare const EmailField: ComponentType<EmailFieldProps>;
2058
+ declare const PasswordField: ComponentType<PasswordFieldProps>;
2059
+ declare const SelectField: ComponentType<SelectFieldProps>;
2060
+ declare const ComboboxField: ComponentType<ComboboxFieldProps>;
2061
+ declare const DateField: ComponentType<DateFieldProps>;
2062
+ declare const SwitchField: ComponentType<SwitchFieldProps>;
2063
+ declare const RadioGroupField: ComponentType<RadioGroupFieldProps>;
2064
+ declare const CheckboxField: ComponentType<CheckboxFieldProps>;
2065
+ declare const SimpleTextField: ComponentType<SimpleTextFieldProps>;
2066
+ declare const SimpleEmailField: ComponentType<{
2107
2067
  label?: string;
2068
+ placeholder?: string;
2108
2069
  required?: boolean;
2070
+ maxLength?: number;
2109
2071
  disabled?: boolean;
2110
- variant?: 'checkbox' | 'switch';
2111
- };
2112
- declare const SimpleBooleanField: React.FC<Props$8>;
2113
- //#endregion
2114
- //#region packages/components/features/tanstack-form/components/atoms/simple-combobox-field.d.ts
2115
- type Props$7 = {
2072
+ }>;
2073
+ declare const SimplePasswordField: ComponentType<{
2116
2074
  label?: string;
2117
2075
  placeholder?: string;
2118
2076
  required?: boolean;
2119
2077
  disabled?: boolean;
2120
- options: Array<{
2121
- value: string;
2122
- label: string;
2123
- }>;
2124
- };
2125
- declare const SimpleComboboxField: React.FC<Props$7>;
2126
- //#endregion
2127
- //#region packages/components/features/tanstack-form/components/atoms/simple-date-field.d.ts
2128
- type Props$6 = {
2078
+ }>;
2079
+ declare const SimpleTextareaField: ComponentType<{
2129
2080
  label?: string;
2130
2081
  placeholder?: string;
2131
2082
  required?: boolean;
2083
+ maxLength?: number;
2084
+ rows?: number;
2132
2085
  disabled?: boolean;
2133
- minDate?: Date;
2134
- maxDate?: Date;
2135
- };
2136
- declare const SimpleDateField: React.FC<Props$6>;
2137
- //#endregion
2138
- //#region packages/components/features/tanstack-form/components/atoms/simple-radio-group-field.d.ts
2139
- type Props$5 = {
2086
+ }>;
2087
+ declare const SimpleNumberField: ComponentType<{
2140
2088
  label?: string;
2089
+ placeholder?: string;
2141
2090
  required?: boolean;
2091
+ unit?: string;
2092
+ allowNegative?: boolean;
2142
2093
  disabled?: boolean;
2094
+ }>;
2095
+ declare const SimpleSelectField: ComponentType<{
2096
+ label?: string;
2097
+ placeholder?: string;
2098
+ required?: boolean;
2143
2099
  options: Array<{
2144
2100
  value: string;
2145
2101
  label: string;
2146
2102
  }>;
2147
- orientation?: 'horizontal' | 'vertical';
2148
- };
2149
- declare const SimpleRadioGroupField: React.FC<Props$5>;
2150
- //#endregion
2151
- //#region packages/components/features/tanstack-form/components/atoms/simple-email-field.d.ts
2152
- type Props$4 = {
2103
+ }>;
2104
+ /** Kept as its own generic wrapper (instead of `lazyField`) so callers can still write `<SimpleArrayField<Row> />`. */
2105
+ declare function SimpleArrayField<T>(props: SimpleArrayFieldProps<T>): import("react").JSX.Element;
2106
+ declare const SimpleBooleanField: ComponentType<{
2153
2107
  label?: string;
2154
- placeholder?: string;
2155
2108
  required?: boolean;
2156
- maxLength?: number;
2157
2109
  disabled?: boolean;
2158
- };
2159
- declare const SimpleEmailField: React.FC<Props$4>;
2160
- //#endregion
2161
- //#region packages/components/features/tanstack-form/components/atoms/simple-number-field.d.ts
2162
- type Props$3 = {
2110
+ variant?: "checkbox" | "switch";
2111
+ }>;
2112
+ declare const SimpleComboboxField: ComponentType<{
2163
2113
  label?: string;
2164
2114
  placeholder?: string;
2165
2115
  required?: boolean;
2166
- unit?: string;
2167
- allowNegative?: boolean;
2168
2116
  disabled?: boolean;
2169
- };
2170
- declare const SimpleNumberField: React.FC<Props$3>;
2171
- //#endregion
2172
- //#region packages/components/features/tanstack-form/components/atoms/simple-password-field.d.ts
2173
- type Props$2 = {
2117
+ options: Array<{
2118
+ value: string;
2119
+ label: string;
2120
+ }>;
2121
+ }>;
2122
+ declare const SimpleDateField: ComponentType<{
2174
2123
  label?: string;
2175
2124
  placeholder?: string;
2176
2125
  required?: boolean;
2177
2126
  disabled?: boolean;
2178
- };
2179
- declare const SimplePasswordField: React.FC<Props$2>;
2180
- //#endregion
2181
- //#region packages/components/features/tanstack-form/components/atoms/simple-select-field.d.ts
2182
- type Props$1 = {
2127
+ minDate?: Date;
2128
+ maxDate?: Date;
2129
+ }>;
2130
+ declare const SimpleRadioGroupField: ComponentType<{
2183
2131
  label?: string;
2184
- placeholder?: string;
2185
2132
  required?: boolean;
2133
+ disabled?: boolean;
2186
2134
  options: Array<{
2187
2135
  value: string;
2188
2136
  label: string;
2189
2137
  }>;
2190
- };
2191
- declare const SimpleSelectField: React.FC<Props$1>;
2192
- //#endregion
2193
- //#region packages/components/features/tanstack-form/components/atoms/simple-textarea-field.d.ts
2194
- type Props = {
2195
- label?: string;
2196
- placeholder?: string;
2197
- required?: boolean;
2198
- maxLength?: number;
2199
- rows?: number;
2200
- disabled?: boolean;
2201
- };
2202
- declare const SimpleTextareaField: React.FC<Props>;
2203
- //#endregion
2204
- //#region packages/components/features/tanstack-form/components/atoms/simple-text-field.d.ts
2205
- declare const SimpleTextField: React.FC<SimpleTextFieldProps>;
2206
- //#endregion
2207
- //#region packages/components/features/tanstack-form/components/fields/checkbox-field.d.ts
2208
- /**
2209
- * A TanStack Form-connected checkbox group field that manages an array of selected string values,
2210
- * supporting multi-selection and submission-state disabling.
2211
- *
2212
- * @example
2213
- * import { CheckboxField } from '@customafk/lunas-ui/features/tanstack-form';
2214
- *
2215
- * <form.Field name="roles">
2216
- * {() => (
2217
- * <CheckboxField
2218
- * label="Roles"
2219
- * options={[
2220
- * { value: 'admin', label: 'Admin' },
2221
- * { value: 'editor', label: 'Editor' },
2222
- * ]}
2223
- * helperText="Select one or more roles"
2224
- * />
2225
- * )}
2226
- * </form.Field>
2227
- */
2228
- declare const CheckboxField: React.FC<CheckboxFieldProps>;
2229
- //#endregion
2230
- //#region packages/components/features/tanstack-form/components/fields/combobox-field.d.ts
2231
- declare const ComboboxField: import("react").NamedExoticComponent<ComboboxFieldProps>;
2232
- //#endregion
2233
- //#region packages/components/features/tanstack-form/components/fields/date-field.d.ts
2234
- declare const DateField: import("react").NamedExoticComponent<DateFieldProps>;
2235
- //#endregion
2236
- //#region packages/components/features/tanstack-form/components/fields/email-field.d.ts
2237
- /**
2238
- * A TanStack Form-connected email input field with an at-sign prefix icon,
2239
- * optional clear button, and inline validation error display.
2240
- *
2241
- * @example
2242
- * import { EmailField } from '@customafk/lunas-ui/features/tanstack-form';
2243
- *
2244
- * <form.Field name="email">
2245
- * {() => (
2246
- * <EmailField
2247
- * label="Email address"
2248
- * placeholder="you@example.com"
2249
- * required
2250
- * />
2251
- * )}
2252
- * </form.Field>
2253
- */
2254
- declare const EmailField: React.FC<EmailFieldProps>;
2255
- //#endregion
2256
- //#region packages/components/features/tanstack-form/components/fields/number-field.d.ts
2257
- /**
2258
- * A TanStack Form-connected numeric input field supporting rounding rules,
2259
- * decimal precision, unit labels, and submission-state feedback.
2260
- *
2261
- * @example
2262
- * import { NumberField } from '@customafk/lunas-ui/features/tanstack-form';
2263
- *
2264
- * <form.Field name="quantity">
2265
- * {() => (
2266
- * <NumberField
2267
- * label="Quantity"
2268
- * placeholder="0"
2269
- * unit="pcs"
2270
- * decimalPlaces={2}
2271
- * required
2272
- * />
2273
- * )}
2274
- * </form.Field>
2275
- */
2276
- declare const NumberField: import("react").NamedExoticComponent<NumberFieldProps>;
2277
- //#endregion
2278
- //#region packages/components/features/tanstack-form/components/fields/password-field.d.ts
2279
- /**
2280
- * A TanStack Form-connected password input field with a show/hide toggle button
2281
- * and inline validation error display.
2282
- *
2283
- * @example
2284
- * import { PasswordField } from '@customafk/lunas-ui/features/tanstack-form';
2285
- *
2286
- * <form.Field name="password">
2287
- * {() => (
2288
- * <PasswordField
2289
- * label="Password"
2290
- * placeholder="Enter your password"
2291
- * helperText="Must be at least 8 characters"
2292
- * />
2293
- * )}
2294
- * </form.Field>
2295
- */
2296
- declare const PasswordField: React.FC<PasswordFieldProps>;
2297
- //#endregion
2298
- //#region packages/components/features/tanstack-form/components/fields/radio-group-field.d.ts
2299
- declare const RadioGroupField: React.FC<RadioGroupFieldProps>;
2300
- //#endregion
2301
- //#region packages/components/features/tanstack-form/components/fields/select-field.d.ts
2302
- declare const SelectField: import("react").NamedExoticComponent<SelectFieldProps>;
2303
- //#endregion
2304
- //#region packages/components/features/tanstack-form/components/fields/switch-field.d.ts
2305
- /**
2306
- * A TanStack Form-connected boolean toggle field rendered as a labelled switch,
2307
- * positioned absolutely in the top-right corner of the field card.
2308
- *
2309
- * @example
2310
- * import { SwitchField } from '@customafk/lunas-ui/features/tanstack-form';
2311
- *
2312
- * <form.Field name="notifications">
2313
- * {() => (
2314
- * <SwitchField
2315
- * label="Enable notifications"
2316
- * description="Receive email alerts for important events"
2317
- * helperText="You can change this at any time"
2318
- * />
2319
- * )}
2320
- * </form.Field>
2321
- */
2322
- declare const SwitchField: React.FC<SwitchFieldProps>;
2323
- //#endregion
2324
- //#region packages/components/features/tanstack-form/components/fields/text-field.d.ts
2325
- /**
2326
- * A TanStack Form-connected single-line text input with label, validation, and optional features.
2327
- *
2328
- * Must be rendered inside an `AppField` context from `useTanStackForm`.
2329
- * The field value type is `string | null` — `null` represents an empty/unset state.
2330
- *
2331
- * ---
2332
- *
2333
- * **Basic usage**
2334
- * @example
2335
- * const { AppField } = useTanStackForm({ defaultValues: { name: null } });
2336
- *
2337
- * <AppField name="name">
2338
- * {field => <field.TextField label="Full name" placeholder="Nguyễn Văn A" />}
2339
- * </AppField>
2340
- *
2341
- * ---
2342
- *
2343
- * **With validation**
2344
- * @example
2345
- * <AppField
2346
- * name="username"
2347
- * validators={{ onChange: ({ value }) => !value ? 'Bắt buộc' : undefined }}
2348
- * >
2349
- * {field => <field.TextField label="Username" required />}
2350
- * </AppField>
2351
- *
2352
- * ---
2353
- *
2354
- * **With character counter and max length**
2355
- * @example
2356
- * <AppField name="bio">
2357
- * {field => (
2358
- * <field.TextField
2359
- * label="Bio"
2360
- * counter
2361
- * maxLength={160}
2362
- * placeholder="Giới thiệu bản thân…"
2363
- * />
2364
- * )}
2365
- * </AppField>
2366
- *
2367
- * ---
2368
- *
2369
- * **With clear button and helper note**
2370
- * @example
2371
- * <AppField name="search">
2372
- * {field => (
2373
- * <field.TextField
2374
- * label="Tìm kiếm"
2375
- * showClearButton
2376
- * helperText="Nhập ít nhất 3 ký tự để tìm kiếm."
2377
- * />
2378
- * )}
2379
- * </AppField>
2380
- *
2381
- * ---
2382
- *
2383
- * **Horizontal layout**
2384
- * @example
2385
- * <AppField name="code">
2386
- * {field => (
2387
- * <field.TextField
2388
- * label="Mã sản phẩm"
2389
- * orientation="horizontal"
2390
- * tooltip="Mã duy nhất định danh sản phẩm trong hệ thống."
2391
- * />
2392
- * )}
2393
- * </AppField>
2394
- */
2395
- declare const TextField: import("react").NamedExoticComponent<TextFieldProps>;
2396
- //#endregion
2397
- //#region packages/components/features/tanstack-form/components/fields/textarea-field.d.ts
2398
- declare const TextareaField: import("react").NamedExoticComponent<TextareaFieldProps>;
2399
- //#endregion
2400
- //#region packages/components/features/tanstack-form/components/fields/text-editor-field.d.ts
2401
- declare const TextEditorField: React.FC<TextEditorFieldProps>;
2402
- //#endregion
2403
- //#region packages/components/features/tanstack-form/components/forms/action-submit.d.ts
2404
- /**
2405
- * Renders a submit button wired to the current TanStack Form context, automatically handling loading and disabled states.
2406
- *
2407
- * @example
2408
- * import { TanStackActionSubmit } from '@customafk/lunas-ui/features/tanstack-form';
2409
- *
2410
- * // Inside a TanStack Form provider:
2411
- * <TanStackActionSubmit label="Save Changes" className="mt-4" />
2412
- */
2413
- declare const TanStackActionSubmit: React.FC<{
2414
- /** Button label text. Defaults to `'Submit'` when omitted. */label?: string; /** Additional CSS class names applied to the button element. */
2138
+ orientation?: "horizontal" | "vertical";
2139
+ }>;
2140
+ declare const ArrayCol: ComponentType<{
2141
+ width?: number | string;
2415
2142
  className?: string;
2143
+ children: React.ReactNode;
2416
2144
  }>;
2417
- //#endregion
2418
- //#region packages/components/features/tanstack-form/components/forms/actions-form.d.ts
2419
- /**
2420
- * Renders a form action bar with a Cancel button and a context-aware submit button (Add New or Update) driven by TanStack Form state.
2421
- *
2422
- * @example
2423
- * import { TanStackActionsForm } from '@customafk/lunas-ui/features/tanstack-form';
2424
- *
2425
- * // Inside a TanStack Form provider:
2426
- * <TanStackActionsForm type="create" />
2427
- *
2428
- * // For an update workflow:
2429
- * <TanStackActionsForm type="update" />
2430
- */
2431
- declare const TanStackActionsForm: React.FC<React.PropsWithChildren<{
2432
- /**
2433
- * Determines which submit button variant is rendered.
2434
- * - `'create'` — shows an "Add New" button that resets the form on success.
2435
- * - `'update'` — shows an "Update" button that resets the form on success.
2436
- * Defaults to `'create'`.
2437
- */
2438
- type?: 'create' | 'update';
2439
- }>>;
2440
- //#endregion
2441
- //#region packages/components/features/tanstack-form/components/forms/card-form.d.ts
2442
- /**
2443
- * Renders a card-style form section with a header, optional description, a delete button, and a content area for fields.
2444
- *
2445
- * @example
2446
- * import { TanStackCardForm } from '@customafk/lunas-ui/features/tanstack-form';
2447
- *
2448
- * <TanStackCardForm
2449
- * title="Shipping Address"
2450
- * description="Where should we deliver your order?"
2451
- * onDelete={() => removeAddress(id)}
2452
- * >
2453
- * <TextField name="street" />
2454
- * </TanStackCardForm>
2455
- */
2456
- declare const TanStackCardForm: React.FC<React.PropsWithChildren<{
2457
- /** Bold heading text shown at the top of the card. */title: string; /** Optional secondary text rendered beneath the title. */
2458
- description?: string; /** When provided, renders a danger "Remove" button in the card's top-right corner. */
2459
- onDelete?: () => void | Promise<void>;
2460
- }>>;
2461
- //#endregion
2462
- //#region packages/components/features/tanstack-form/components/forms/container-form.d.ts
2463
- /**
2464
- * Wraps a set of TanStack form sections in a vertically-stacked flex container.
2465
- *
2466
- * @example
2467
- * import { TanStackContainerForm } from '@customafk/lunas-ui/features/tanstack-form';
2468
- *
2469
- * <TanStackContainerForm>
2470
- * <TanStackSectionForm title="Personal Info">
2471
- * {/* fields *\/}
2472
- * </TanStackSectionForm>
2473
- * </TanStackContainerForm>
2474
- */
2475
- declare const TanStackContainerForm: React.FC<React.PropsWithChildren>;
2476
- //#endregion
2477
- //#region packages/components/features/tanstack-form/components/forms/dialog-form.d.ts
2478
- /**
2479
- * Renders a modal dialog that wraps a TanStack Form with a title, scrollable content area, and built-in submit/cancel actions.
2480
- *
2481
- * @example
2482
- * import { TanStackDialogForm } from '@customafk/lunas-ui/features/tanstack-form';
2483
- *
2484
- * <TanStackDialogForm
2485
- * title="Create User"
2486
- * submitText="Create"
2487
- * className="max-w-lg"
2488
- * open={isOpen}
2489
- * onOpenChange={setIsOpen}
2490
- * >
2491
- * <NameField />
2492
- * <EmailField />
2493
- * </TanStackDialogForm>
2494
- */
2495
- declare const TanStackDialogForm: React.FC<React.PropsWithChildren<{
2496
- /** Heading text displayed in the dialog title bar. */title: string; /** Custom label for the submit button. Defaults to the `SubmitButton` component's built-in label when omitted. */
2497
- submitText?: string; /** 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. */
2498
- width?: number | string; /** 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. */
2499
- maxWidth?: number | string; /** Optional additional class name(s) to apply to the dialog content container. */
2500
- className?: string; /** Controlled open state of the dialog. */
2501
- open?: boolean; /** Callback fired when the dialog open state changes; the form is reset on close. */
2145
+ declare const ArrayHeaderRow: ComponentType<{
2146
+ className?: string;
2147
+ children: React.ReactNode;
2148
+ }>;
2149
+ declare const TanStackDialogForm: ComponentType<{
2150
+ title: string;
2151
+ submitText?: string;
2152
+ width?: number | string;
2153
+ maxWidth?: number | string;
2154
+ className?: string;
2155
+ open?: boolean;
2502
2156
  onOpenChange?: (open: boolean) => void;
2503
- }>>;
2504
- //#endregion
2505
- //#region packages/components/features/tanstack-form/components/forms/group-field.d.ts
2506
- /**
2507
- * Renders a labeled field group with an optional description, helper text, and a bottom separator.
2508
- *
2509
- * @example
2510
- * import { TanStackFieldGroup } from '@customafk/lunas-ui/features/tanstack-form';
2511
- *
2512
- * <TanStackFieldGroup
2513
- * label="Contact Details"
2514
- * description="Enter your contact information."
2515
- * helperText="All fields are required."
2516
- * orientation="horizontal"
2517
- * >
2518
- * <EmailField />
2519
- * </TanStackFieldGroup>
2520
- */
2521
- declare const TanStackFieldGroup: React.FC<React.PropsWithChildren<{
2522
- /** Primary label displayed above the field content. */label: string; /** Secondary descriptive text shown beneath the label. */
2523
- description?: string; /** Supplementary helper note rendered below the field content. */
2524
- helperText?: string; /** Layout orientation of the label-to-content axis. Defaults to `'responsive'`. */
2525
- orientation?: 'horizontal' | 'vertical' | 'responsive';
2526
- }>>;
2527
- //#endregion
2528
- //#region packages/components/features/tanstack-form/components/forms/popover-form.d.ts
2529
- /**
2530
- * Renders a slide-in side-panel dialog that wraps a TanStack form with built-in submit and cancel actions.
2531
- *
2532
- * @example
2533
- * import { TanStackPopoverForm } from '@customafk/lunas-ui/features/tanstack-form';
2534
- *
2535
- * <TanStackPopoverForm
2536
- * title="Edit Profile"
2537
- * open={isOpen}
2538
- * onOpenChange={setIsOpen}
2539
- * >
2540
- * <EmailField />
2541
- * </TanStackPopoverForm>
2542
- */
2543
- declare const TanStackPopoverForm: React.FC<React.PropsWithChildren<{
2544
- /** Heading text displayed in the panel header. */title: string; /** Controlled open state of the popover dialog. */
2545
- open?: boolean; /** Additional CSS class names applied to the scrollable content area. */
2546
- contentClassName?: string; /** Callback fired when the open state changes. */
2157
+ } & {
2158
+ children?: import("react").ReactNode | undefined;
2159
+ }>;
2160
+ declare const TanStackPopoverForm: ComponentType<{
2161
+ title: string;
2162
+ open?: boolean;
2163
+ contentClassName?: string;
2547
2164
  onOpenChange?: (open: boolean) => void;
2548
- }>>;
2549
- //#endregion
2550
- //#region packages/components/features/tanstack-form/components/forms/section-form.d.ts
2551
- /**
2552
- * Renders a card-like form section with a titled header, separator, and a content area for form fields.
2553
- *
2554
- * @example
2555
- * import { TanStackSectionForm } from '@customafk/lunas-ui/features/tanstack-form';
2556
- *
2557
- * <TanStackSectionForm title="Account Settings">
2558
- * <EmailField />
2559
- * <PasswordField />
2560
- * </TanStackSectionForm>
2561
- */
2562
- declare const TanStackSectionForm: React.FC<React.PropsWithChildren<{
2563
- /** Heading text displayed in the section header bar. */title: string;
2564
- }>>;
2565
- //#endregion
2566
- //#region packages/components/features/tanstack-form/components/forms/title-field.d.ts
2567
- /**
2568
- * Renders a standalone section title with an optional description and helper note, followed by a separator.
2569
- *
2570
- * @example
2571
- * import { TanStackTitleField } from '@customafk/lunas-ui/features/tanstack-form';
2572
- *
2573
- * <TanStackTitleField
2574
- * title="Billing Address"
2575
- * description="Provide the address associated with your payment method."
2576
- * helperText="Must match your bank records."
2577
- * />
2578
- */
2579
- declare const TanStackTitleField: React.FC<{
2580
- /** The heading text rendered as a legend element. */title: string; /** Optional supplementary text displayed beneath the title. */
2581
- description?: string; /** Optional helper note shown below the description area. */
2165
+ } & {
2166
+ children?: import("react").ReactNode | undefined;
2167
+ }>;
2168
+ declare const TanStackContainerForm: ComponentType<{
2169
+ children?: import("react").ReactNode | undefined;
2170
+ }>;
2171
+ declare const TanStackSectionForm: ComponentType<{
2172
+ title: string;
2173
+ } & {
2174
+ children?: import("react").ReactNode | undefined;
2175
+ }>;
2176
+ declare const TanStackCardForm: ComponentType<{
2177
+ title: string;
2178
+ description?: string;
2179
+ onDelete?: () => void | Promise<void>;
2180
+ } & {
2181
+ children?: import("react").ReactNode | undefined;
2182
+ }>;
2183
+ declare const TanStackFieldGroup: ComponentType<{
2184
+ label: string;
2185
+ description?: string;
2582
2186
  helperText?: string;
2187
+ orientation?: "horizontal" | "vertical" | "responsive";
2188
+ } & {
2189
+ children?: import("react").ReactNode | undefined;
2583
2190
  }>;
2584
- //#endregion
2585
- //#region packages/components/features/tanstack-form/components/ui/field.d.ts
2586
- declare const fieldVariants: (props?: ({
2191
+ declare const TanStackTitleField: ComponentType<{
2192
+ title: string;
2193
+ description?: string;
2194
+ helperText?: string;
2195
+ }>;
2196
+ declare const TanStackActionsForm: ComponentType<{
2197
+ type?: "create" | "update";
2198
+ } & {
2199
+ children?: import("react").ReactNode | undefined;
2200
+ }>;
2201
+ declare const TanStackActionSubmit: ComponentType<{
2202
+ label?: string;
2203
+ className?: string;
2204
+ }>;
2205
+ declare const FieldGroup: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
2206
+ declare const Field: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("class-variance-authority").VariantProps<(props?: ({
2587
2207
  orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
2588
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2589
- /**
2590
- * Outermost `<fieldset>` wrapper that stacks multiple `Field` rows with consistent vertical spacing.
2591
- *
2592
- * @example
2593
- * import { FieldSet } from '@customafk/lunas-ui/features/tanstack-form';
2594
- *
2595
- * <FieldSet>
2596
- * <Field><FieldLabel>Name</FieldLabel><FieldContent><input /></FieldContent></Field>
2597
- * </FieldSet>
2598
- */
2599
- /**
2600
- * Container `<div>` that groups a set of `Field` rows with container-query support for responsive layouts.
2601
- *
2602
- * @example
2603
- * import { FieldGroup } from '@customafk/lunas-ui/features/tanstack-form';
2604
- *
2605
- * <FieldGroup>
2606
- * <Field>…</Field>
2607
- * <Field>…</Field>
2608
- * </FieldGroup>
2609
- */
2610
- declare const FieldGroup: import("react").MemoExoticComponent<({
2611
- className,
2612
- ...props
2613
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2614
- /**
2615
- * Single form field row that arranges label, input, and meta elements with configurable orientation.
2616
- *
2617
- * @example
2618
- * import { Field } from '@customafk/lunas-ui/features/tanstack-form';
2619
- *
2620
- * <Field orientation="horizontal">
2621
- * <FieldLabel htmlFor="username">Username</FieldLabel>
2622
- * <FieldContent><input id="username" /></FieldContent>
2623
- * </Field>
2624
- */
2625
- declare const Field: import("react").MemoExoticComponent<({
2626
- className,
2627
- orientation,
2628
- ...props
2629
- }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => import("react").JSX.Element>;
2630
- /**
2631
- * Flex column wrapper that houses the primary input control together with description and error slots.
2632
- *
2633
- * @example
2634
- * import { FieldContent } from '@customafk/lunas-ui/features/tanstack-form';
2635
- *
2636
- * <FieldContent>
2637
- * <input type="text" />
2638
- * <FieldDescription>Enter your full name.</FieldDescription>
2639
- * </FieldContent>
2640
- */
2641
- declare const FieldContent: import("react").MemoExoticComponent<({
2642
- className,
2643
- ...props
2644
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2645
- /**
2646
- * Positioned wrapper for the main input element that enables absolutely-placed adornments (icons, spinners).
2647
- *
2648
- * @example
2649
- * import { FieldContentMain } from '@customafk/lunas-ui/features/tanstack-form';
2650
- *
2651
- * <FieldContentMain>
2652
- * <input type="text" className="pr-8" />
2653
- * <SearchIcon className="absolute right-2 top-2" />
2654
- * </FieldContentMain>
2655
- */
2656
- declare const FieldContentMain: import("react").MemoExoticComponent<({
2657
- className,
2658
- ...props
2659
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2660
- /**
2661
- * Styled `<label>` element for a `Field`, extending the base `Label` with field-group-aware spacing and border states.
2662
- *
2663
- * @example
2664
- * import { FieldLabel } from '@customafk/lunas-ui/features/tanstack-form';
2665
- *
2666
- * <FieldLabel htmlFor="email" aria-required>Email</FieldLabel>
2667
- */
2668
- declare const FieldLabel: import("react").MemoExoticComponent<({
2669
- className,
2670
- ...props
2671
- }: React.ComponentProps<typeof Label$1>) => import("react").JSX.Element>;
2672
- /**
2673
- * Inline title element (non-`<label>`) for fields whose label cannot be a native `<label>`, such as custom checkbox groups.
2674
- *
2675
- * @example
2676
- * import { FieldTitle } from '@customafk/lunas-ui/features/tanstack-form';
2677
- *
2678
- * <FieldTitle>Notification preferences</FieldTitle>
2679
- */
2680
- /**
2681
- * Visual divider row that optionally displays a centered text label, used to separate logical sections within a `FieldGroup`.
2682
- *
2683
- * @example
2684
- * import { FieldSeparator } from '@customafk/lunas-ui/features/tanstack-form';
2685
- *
2686
- * <FieldSeparator>or</FieldSeparator>
2687
- */
2688
- declare const FieldSeparator: import("react").MemoExoticComponent<({
2689
- children,
2690
- className,
2691
- ...props
2692
- }: React.PropsWithChildren<React.ComponentProps<"div">>) => import("react").JSX.Element>;
2693
- /**
2694
- * Props for {@link FieldError}.
2695
- */
2696
- type FieldErrorProps = React.ComponentProps<'div'> & {
2208
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>>;
2209
+ declare const FieldContent: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
2210
+ declare const FieldLabel: ComponentType<LabelProps & import("react").RefAttributes<HTMLLabelElement>>;
2211
+ declare const FieldContentMain: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
2212
+ declare const FieldSeparator: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2213
+ children?: import("react").ReactNode | undefined;
2214
+ }>;
2215
+ declare const FieldError: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2697
2216
  errors?: Array<{
2698
2217
  code?: string;
2699
2218
  message?: string;
2700
2219
  } | undefined>;
2701
2220
  requiredMessage?: string;
2702
- };
2703
- declare const FieldError: import("react").MemoExoticComponent<({
2704
- className,
2705
- children,
2706
- errors,
2707
- requiredMessage,
2708
- ...props
2709
- }: FieldErrorProps) => import("react").JSX.Element | null>;
2710
- //#endregion
2711
- //#region packages/components/features/tanstack-form/tanstack-form.d.ts
2712
- declare const useTanStackFieldContext: <TData>() => 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: () => import("@tanstack/react-form").ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
2221
+ }>;
2713
2222
  /**
2714
2223
  * Factory result from {@link createFormHook} pre-wired with all Lunas UI field and form components.
2715
2224
  *
@@ -2766,33 +2275,33 @@ declare const useTanStackFieldContext: <TData>() => FieldApi<any, string, TData,
2766
2275
  * ));
2767
2276
  */
2768
2277
  declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFormData> | undefined, TOnChange extends FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => import("@tanstack/react-form").AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
2769
- readonly TextField: import("react").NamedExoticComponent<TextFieldProps>;
2770
- readonly TextareaField: import("react").NamedExoticComponent<TextareaFieldProps>;
2771
- readonly TextEditorField: import("react").FC<TextEditorFieldProps>;
2772
- readonly NumberField: import("react").NamedExoticComponent<NumberFieldProps>;
2773
- readonly EmailField: import("react").FC<EmailFieldProps>;
2774
- readonly PasswordField: import("react").FC<PasswordFieldProps>;
2775
- readonly SelectField: import("react").NamedExoticComponent<SelectFieldProps>;
2776
- readonly ComboboxField: import("react").NamedExoticComponent<ComboboxFieldProps>;
2777
- readonly DateField: import("react").NamedExoticComponent<DateFieldProps>;
2778
- readonly SwitchField: import("react").FC<SwitchFieldProps>;
2779
- readonly RadioGroupField: import("react").FC<RadioGroupFieldProps>;
2780
- readonly CheckboxField: import("react").FC<CheckboxFieldProps>;
2781
- readonly SimpleTextField: import("react").FC<SimpleTextFieldProps>;
2782
- readonly SimpleEmailField: import("react").FC<{
2278
+ readonly TextField: ComponentType<TextFieldProps>;
2279
+ readonly TextareaField: ComponentType<TextareaFieldProps>;
2280
+ readonly TextEditorField: ComponentType<TextEditorFieldProps>;
2281
+ readonly NumberField: ComponentType<NumberFieldProps>;
2282
+ readonly EmailField: ComponentType<EmailFieldProps>;
2283
+ readonly PasswordField: ComponentType<PasswordFieldProps>;
2284
+ readonly SelectField: ComponentType<SelectFieldProps>;
2285
+ readonly ComboboxField: ComponentType<ComboboxFieldProps>;
2286
+ readonly DateField: ComponentType<DateFieldProps>;
2287
+ readonly SwitchField: ComponentType<SwitchFieldProps>;
2288
+ readonly RadioGroupField: ComponentType<RadioGroupFieldProps>;
2289
+ readonly CheckboxField: ComponentType<CheckboxFieldProps>;
2290
+ readonly SimpleTextField: ComponentType<SimpleTextFieldProps>;
2291
+ readonly SimpleEmailField: ComponentType<{
2783
2292
  label?: string;
2784
2293
  placeholder?: string;
2785
2294
  required?: boolean;
2786
2295
  maxLength?: number;
2787
2296
  disabled?: boolean;
2788
2297
  }>;
2789
- readonly SimplePasswordField: import("react").FC<{
2298
+ readonly SimplePasswordField: ComponentType<{
2790
2299
  label?: string;
2791
2300
  placeholder?: string;
2792
2301
  required?: boolean;
2793
2302
  disabled?: boolean;
2794
2303
  }>;
2795
- readonly SimpleTextareaField: import("react").FC<{
2304
+ readonly SimpleTextareaField: ComponentType<{
2796
2305
  label?: string;
2797
2306
  placeholder?: string;
2798
2307
  required?: boolean;
@@ -2800,7 +2309,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
2800
2309
  rows?: number;
2801
2310
  disabled?: boolean;
2802
2311
  }>;
2803
- readonly SimpleNumberField: import("react").FC<{
2312
+ readonly SimpleNumberField: ComponentType<{
2804
2313
  label?: string;
2805
2314
  placeholder?: string;
2806
2315
  required?: boolean;
@@ -2808,7 +2317,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
2808
2317
  allowNegative?: boolean;
2809
2318
  disabled?: boolean;
2810
2319
  }>;
2811
- readonly SimpleSelectField: import("react").FC<{
2320
+ readonly SimpleSelectField: ComponentType<{
2812
2321
  label?: string;
2813
2322
  placeholder?: string;
2814
2323
  required?: boolean;
@@ -2818,13 +2327,13 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
2818
2327
  }>;
2819
2328
  }>;
2820
2329
  readonly SimpleArrayField: typeof SimpleArrayField;
2821
- readonly SimpleBooleanField: import("react").FC<{
2330
+ readonly SimpleBooleanField: ComponentType<{
2822
2331
  label?: string;
2823
2332
  required?: boolean;
2824
2333
  disabled?: boolean;
2825
2334
  variant?: "checkbox" | "switch";
2826
2335
  }>;
2827
- readonly SimpleComboboxField: import("react").FC<{
2336
+ readonly SimpleComboboxField: ComponentType<{
2828
2337
  label?: string;
2829
2338
  placeholder?: string;
2830
2339
  required?: boolean;
@@ -2834,7 +2343,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
2834
2343
  label: string;
2835
2344
  }>;
2836
2345
  }>;
2837
- readonly SimpleDateField: import("react").FC<{
2346
+ readonly SimpleDateField: ComponentType<{
2838
2347
  label?: string;
2839
2348
  placeholder?: string;
2840
2349
  required?: boolean;
@@ -2842,7 +2351,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
2842
2351
  minDate?: Date;
2843
2352
  maxDate?: Date;
2844
2353
  }>;
2845
- readonly SimpleRadioGroupField: import("react").FC<{
2354
+ readonly SimpleRadioGroupField: ComponentType<{
2846
2355
  label?: string;
2847
2356
  required?: boolean;
2848
2357
  disabled?: boolean;
@@ -2852,49 +2361,25 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
2852
2361
  }>;
2853
2362
  orientation?: "horizontal" | "vertical";
2854
2363
  }>;
2855
- readonly FieldGroup: import("react").MemoExoticComponent<({
2856
- className,
2857
- ...props
2858
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2859
- readonly Field: import("react").MemoExoticComponent<({
2860
- className,
2861
- orientation,
2862
- ...props
2863
- }: React.ComponentProps<"div"> & import("class-variance-authority").VariantProps<(props?: ({
2364
+ readonly FieldGroup: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
2365
+ readonly Field: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("class-variance-authority").VariantProps<(props?: ({
2864
2366
  orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
2865
- } & import("class-variance-authority/types").ClassProp) | undefined) => string>) => import("react").JSX.Element>;
2866
- readonly FieldContent: import("react").MemoExoticComponent<({
2867
- className,
2868
- ...props
2869
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2870
- readonly FieldLabel: import("react").MemoExoticComponent<({
2871
- className,
2872
- ...props
2873
- }: React.ComponentProps<typeof Label$1>) => import("react").JSX.Element>;
2874
- readonly FieldContentMain: import("react").MemoExoticComponent<({
2875
- className,
2876
- ...props
2877
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2878
- readonly FieldSeparator: import("react").MemoExoticComponent<({
2879
- children,
2880
- className,
2881
- ...props
2882
- }: React.PropsWithChildren<React.ComponentProps<"div">>) => import("react").JSX.Element>;
2883
- readonly FieldError: import("react").MemoExoticComponent<({
2884
- className,
2885
- children,
2886
- errors,
2887
- requiredMessage,
2888
- ...props
2889
- }: import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2367
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>>;
2368
+ readonly FieldContent: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
2369
+ readonly FieldLabel: ComponentType<LabelProps & import("react").RefAttributes<HTMLLabelElement>>;
2370
+ readonly FieldContentMain: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
2371
+ readonly FieldSeparator: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2372
+ children?: import("react").ReactNode | undefined;
2373
+ }>;
2374
+ readonly FieldError: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2890
2375
  errors?: Array<{
2891
2376
  code?: string;
2892
2377
  message?: string;
2893
2378
  } | undefined>;
2894
2379
  requiredMessage?: string;
2895
- }) => import("react").JSX.Element | null>;
2380
+ }>;
2896
2381
  }, {
2897
- readonly TanStackDialogForm: import("react").FC<import("react").PropsWithChildren<{
2382
+ readonly TanStackDialogForm: ComponentType<{
2898
2383
  title: string;
2899
2384
  submitText?: string;
2900
2385
  width?: number | string;
@@ -2902,75 +2387,94 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
2902
2387
  className?: string;
2903
2388
  open?: boolean;
2904
2389
  onOpenChange?: (open: boolean) => void;
2905
- }>>;
2906
- readonly TanStackPopoverForm: import("react").FC<import("react").PropsWithChildren<{
2390
+ } & {
2391
+ children?: import("react").ReactNode | undefined;
2392
+ }>;
2393
+ readonly TanStackPopoverForm: ComponentType<{
2907
2394
  title: string;
2908
2395
  open?: boolean;
2909
2396
  contentClassName?: string;
2910
2397
  onOpenChange?: (open: boolean) => void;
2911
- }>>;
2912
- readonly TanStackContainerForm: import("react").FC<{
2398
+ } & {
2399
+ children?: import("react").ReactNode | undefined;
2400
+ }>;
2401
+ readonly TanStackContainerForm: ComponentType<{
2913
2402
  children?: import("react").ReactNode | undefined;
2914
2403
  }>;
2915
- readonly TanStackSectionForm: import("react").FC<import("react").PropsWithChildren<{
2404
+ readonly TanStackSectionForm: ComponentType<{
2916
2405
  title: string;
2917
- }>>;
2918
- readonly TanStackCardForm: import("react").FC<import("react").PropsWithChildren<{
2406
+ } & {
2407
+ children?: import("react").ReactNode | undefined;
2408
+ }>;
2409
+ readonly TanStackCardForm: ComponentType<{
2919
2410
  title: string;
2920
2411
  description?: string;
2921
2412
  onDelete?: () => void | Promise<void>;
2922
- }>>;
2923
- readonly TanStackFieldGroup: import("react").FC<import("react").PropsWithChildren<{
2413
+ } & {
2414
+ children?: import("react").ReactNode | undefined;
2415
+ }>;
2416
+ readonly TanStackFieldGroup: ComponentType<{
2924
2417
  label: string;
2925
2418
  description?: string;
2926
2419
  helperText?: string;
2927
2420
  orientation?: "horizontal" | "vertical" | "responsive";
2928
- }>>;
2929
- readonly TanStackTitleField: import("react").FC<{
2421
+ } & {
2422
+ children?: import("react").ReactNode | undefined;
2423
+ }>;
2424
+ readonly TanStackTitleField: ComponentType<{
2930
2425
  title: string;
2931
2426
  description?: string;
2932
2427
  helperText?: string;
2933
2428
  }>;
2934
- readonly TanStackActionsForm: import("react").FC<import("react").PropsWithChildren<{
2429
+ readonly TanStackActionsForm: ComponentType<{
2935
2430
  type?: "create" | "update";
2936
- }>>;
2937
- readonly TanStackActionSubmit: import("react").FC<{
2431
+ } & {
2432
+ children?: import("react").ReactNode | undefined;
2433
+ }>;
2434
+ readonly TanStackActionSubmit: ComponentType<{
2938
2435
  label?: string;
2939
2436
  className?: string;
2940
2437
  }>;
2941
- readonly ArrayCol: typeof ArrayCol;
2942
- readonly ArrayHeaderRow: typeof ArrayHeaderRow;
2438
+ readonly ArrayCol: ComponentType<{
2439
+ width?: number | string;
2440
+ className?: string;
2441
+ children: React.ReactNode;
2442
+ }>;
2443
+ readonly ArrayHeaderRow: ComponentType<{
2444
+ className?: string;
2445
+ children: React.ReactNode;
2446
+ }>;
2943
2447
  }>, withTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFormData> | undefined, TOnChange extends FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({
2944
2448
  render,
2945
2449
  props
2946
2450
  }: import("@tanstack/react-form").WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
2947
- readonly TextField: import("react").NamedExoticComponent<TextFieldProps>;
2948
- readonly TextareaField: import("react").NamedExoticComponent<TextareaFieldProps>;
2949
- readonly TextEditorField: import("react").FC<TextEditorFieldProps>;
2950
- readonly NumberField: import("react").NamedExoticComponent<NumberFieldProps>;
2951
- readonly EmailField: import("react").FC<EmailFieldProps>;
2952
- readonly PasswordField: import("react").FC<PasswordFieldProps>;
2953
- readonly SelectField: import("react").NamedExoticComponent<SelectFieldProps>;
2954
- readonly ComboboxField: import("react").NamedExoticComponent<ComboboxFieldProps>;
2955
- readonly DateField: import("react").NamedExoticComponent<DateFieldProps>;
2956
- readonly SwitchField: import("react").FC<SwitchFieldProps>;
2957
- readonly RadioGroupField: import("react").FC<RadioGroupFieldProps>;
2958
- readonly CheckboxField: import("react").FC<CheckboxFieldProps>;
2959
- readonly SimpleTextField: import("react").FC<SimpleTextFieldProps>;
2960
- readonly SimpleEmailField: import("react").FC<{
2451
+ readonly TextField: ComponentType<TextFieldProps>;
2452
+ readonly TextareaField: ComponentType<TextareaFieldProps>;
2453
+ readonly TextEditorField: ComponentType<TextEditorFieldProps>;
2454
+ readonly NumberField: ComponentType<NumberFieldProps>;
2455
+ readonly EmailField: ComponentType<EmailFieldProps>;
2456
+ readonly PasswordField: ComponentType<PasswordFieldProps>;
2457
+ readonly SelectField: ComponentType<SelectFieldProps>;
2458
+ readonly ComboboxField: ComponentType<ComboboxFieldProps>;
2459
+ readonly DateField: ComponentType<DateFieldProps>;
2460
+ readonly SwitchField: ComponentType<SwitchFieldProps>;
2461
+ readonly RadioGroupField: ComponentType<RadioGroupFieldProps>;
2462
+ readonly CheckboxField: ComponentType<CheckboxFieldProps>;
2463
+ readonly SimpleTextField: ComponentType<SimpleTextFieldProps>;
2464
+ readonly SimpleEmailField: ComponentType<{
2961
2465
  label?: string;
2962
2466
  placeholder?: string;
2963
2467
  required?: boolean;
2964
2468
  maxLength?: number;
2965
2469
  disabled?: boolean;
2966
2470
  }>;
2967
- readonly SimplePasswordField: import("react").FC<{
2471
+ readonly SimplePasswordField: ComponentType<{
2968
2472
  label?: string;
2969
2473
  placeholder?: string;
2970
2474
  required?: boolean;
2971
2475
  disabled?: boolean;
2972
2476
  }>;
2973
- readonly SimpleTextareaField: import("react").FC<{
2477
+ readonly SimpleTextareaField: ComponentType<{
2974
2478
  label?: string;
2975
2479
  placeholder?: string;
2976
2480
  required?: boolean;
@@ -2978,7 +2482,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
2978
2482
  rows?: number;
2979
2483
  disabled?: boolean;
2980
2484
  }>;
2981
- readonly SimpleNumberField: import("react").FC<{
2485
+ readonly SimpleNumberField: ComponentType<{
2982
2486
  label?: string;
2983
2487
  placeholder?: string;
2984
2488
  required?: boolean;
@@ -2986,7 +2490,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
2986
2490
  allowNegative?: boolean;
2987
2491
  disabled?: boolean;
2988
2492
  }>;
2989
- readonly SimpleSelectField: import("react").FC<{
2493
+ readonly SimpleSelectField: ComponentType<{
2990
2494
  label?: string;
2991
2495
  placeholder?: string;
2992
2496
  required?: boolean;
@@ -2996,13 +2500,13 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
2996
2500
  }>;
2997
2501
  }>;
2998
2502
  readonly SimpleArrayField: typeof SimpleArrayField;
2999
- readonly SimpleBooleanField: import("react").FC<{
2503
+ readonly SimpleBooleanField: ComponentType<{
3000
2504
  label?: string;
3001
2505
  required?: boolean;
3002
2506
  disabled?: boolean;
3003
2507
  variant?: "checkbox" | "switch";
3004
2508
  }>;
3005
- readonly SimpleComboboxField: import("react").FC<{
2509
+ readonly SimpleComboboxField: ComponentType<{
3006
2510
  label?: string;
3007
2511
  placeholder?: string;
3008
2512
  required?: boolean;
@@ -3012,7 +2516,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3012
2516
  label: string;
3013
2517
  }>;
3014
2518
  }>;
3015
- readonly SimpleDateField: import("react").FC<{
2519
+ readonly SimpleDateField: ComponentType<{
3016
2520
  label?: string;
3017
2521
  placeholder?: string;
3018
2522
  required?: boolean;
@@ -3020,7 +2524,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3020
2524
  minDate?: Date;
3021
2525
  maxDate?: Date;
3022
2526
  }>;
3023
- readonly SimpleRadioGroupField: import("react").FC<{
2527
+ readonly SimpleRadioGroupField: ComponentType<{
3024
2528
  label?: string;
3025
2529
  required?: boolean;
3026
2530
  disabled?: boolean;
@@ -3030,49 +2534,25 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3030
2534
  }>;
3031
2535
  orientation?: "horizontal" | "vertical";
3032
2536
  }>;
3033
- readonly FieldGroup: import("react").MemoExoticComponent<({
3034
- className,
3035
- ...props
3036
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3037
- readonly Field: import("react").MemoExoticComponent<({
3038
- className,
3039
- orientation,
3040
- ...props
3041
- }: React.ComponentProps<"div"> & import("class-variance-authority").VariantProps<(props?: ({
2537
+ readonly FieldGroup: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
2538
+ readonly Field: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("class-variance-authority").VariantProps<(props?: ({
3042
2539
  orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
3043
- } & import("class-variance-authority/types").ClassProp) | undefined) => string>) => import("react").JSX.Element>;
3044
- readonly FieldContent: import("react").MemoExoticComponent<({
3045
- className,
3046
- ...props
3047
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3048
- readonly FieldLabel: import("react").MemoExoticComponent<({
3049
- className,
3050
- ...props
3051
- }: React.ComponentProps<typeof Label$1>) => import("react").JSX.Element>;
3052
- readonly FieldContentMain: import("react").MemoExoticComponent<({
3053
- className,
3054
- ...props
3055
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3056
- readonly FieldSeparator: import("react").MemoExoticComponent<({
3057
- children,
3058
- className,
3059
- ...props
3060
- }: React.PropsWithChildren<React.ComponentProps<"div">>) => import("react").JSX.Element>;
3061
- readonly FieldError: import("react").MemoExoticComponent<({
3062
- className,
3063
- children,
3064
- errors,
3065
- requiredMessage,
3066
- ...props
3067
- }: import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2540
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>>;
2541
+ readonly FieldContent: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
2542
+ readonly FieldLabel: ComponentType<LabelProps & import("react").RefAttributes<HTMLLabelElement>>;
2543
+ readonly FieldContentMain: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
2544
+ readonly FieldSeparator: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2545
+ children?: import("react").ReactNode | undefined;
2546
+ }>;
2547
+ readonly FieldError: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3068
2548
  errors?: Array<{
3069
2549
  code?: string;
3070
2550
  message?: string;
3071
2551
  } | undefined>;
3072
2552
  requiredMessage?: string;
3073
- }) => import("react").JSX.Element | null>;
2553
+ }>;
3074
2554
  }, {
3075
- readonly TanStackDialogForm: import("react").FC<import("react").PropsWithChildren<{
2555
+ readonly TanStackDialogForm: ComponentType<{
3076
2556
  title: string;
3077
2557
  submitText?: string;
3078
2558
  width?: number | string;
@@ -3080,73 +2560,92 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3080
2560
  className?: string;
3081
2561
  open?: boolean;
3082
2562
  onOpenChange?: (open: boolean) => void;
3083
- }>>;
3084
- readonly TanStackPopoverForm: import("react").FC<import("react").PropsWithChildren<{
2563
+ } & {
2564
+ children?: import("react").ReactNode | undefined;
2565
+ }>;
2566
+ readonly TanStackPopoverForm: ComponentType<{
3085
2567
  title: string;
3086
2568
  open?: boolean;
3087
2569
  contentClassName?: string;
3088
2570
  onOpenChange?: (open: boolean) => void;
3089
- }>>;
3090
- readonly TanStackContainerForm: import("react").FC<{
2571
+ } & {
3091
2572
  children?: import("react").ReactNode | undefined;
3092
2573
  }>;
3093
- readonly TanStackSectionForm: import("react").FC<import("react").PropsWithChildren<{
2574
+ readonly TanStackContainerForm: ComponentType<{
2575
+ children?: import("react").ReactNode | undefined;
2576
+ }>;
2577
+ readonly TanStackSectionForm: ComponentType<{
3094
2578
  title: string;
3095
- }>>;
3096
- readonly TanStackCardForm: import("react").FC<import("react").PropsWithChildren<{
2579
+ } & {
2580
+ children?: import("react").ReactNode | undefined;
2581
+ }>;
2582
+ readonly TanStackCardForm: ComponentType<{
3097
2583
  title: string;
3098
2584
  description?: string;
3099
2585
  onDelete?: () => void | Promise<void>;
3100
- }>>;
3101
- readonly TanStackFieldGroup: import("react").FC<import("react").PropsWithChildren<{
2586
+ } & {
2587
+ children?: import("react").ReactNode | undefined;
2588
+ }>;
2589
+ readonly TanStackFieldGroup: ComponentType<{
3102
2590
  label: string;
3103
2591
  description?: string;
3104
2592
  helperText?: string;
3105
2593
  orientation?: "horizontal" | "vertical" | "responsive";
3106
- }>>;
3107
- readonly TanStackTitleField: import("react").FC<{
2594
+ } & {
2595
+ children?: import("react").ReactNode | undefined;
2596
+ }>;
2597
+ readonly TanStackTitleField: ComponentType<{
3108
2598
  title: string;
3109
2599
  description?: string;
3110
2600
  helperText?: string;
3111
2601
  }>;
3112
- readonly TanStackActionsForm: import("react").FC<import("react").PropsWithChildren<{
2602
+ readonly TanStackActionsForm: ComponentType<{
3113
2603
  type?: "create" | "update";
3114
- }>>;
3115
- readonly TanStackActionSubmit: import("react").FC<{
2604
+ } & {
2605
+ children?: import("react").ReactNode | undefined;
2606
+ }>;
2607
+ readonly TanStackActionSubmit: ComponentType<{
3116
2608
  label?: string;
3117
2609
  className?: string;
3118
2610
  }>;
3119
- readonly ArrayCol: typeof ArrayCol;
3120
- readonly ArrayHeaderRow: typeof ArrayHeaderRow;
2611
+ readonly ArrayCol: ComponentType<{
2612
+ width?: number | string;
2613
+ className?: string;
2614
+ children: React.ReactNode;
2615
+ }>;
2616
+ readonly ArrayHeaderRow: ComponentType<{
2617
+ className?: string;
2618
+ children: React.ReactNode;
2619
+ }>;
3121
2620
  }, TRenderProps>) => import("react").FunctionComponent<import("react").PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
3122
2621
  form: import("@tanstack/react-form").AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
3123
- readonly TextField: import("react").NamedExoticComponent<TextFieldProps>;
3124
- readonly TextareaField: import("react").NamedExoticComponent<TextareaFieldProps>;
3125
- readonly TextEditorField: import("react").FC<TextEditorFieldProps>;
3126
- readonly NumberField: import("react").NamedExoticComponent<NumberFieldProps>;
3127
- readonly EmailField: import("react").FC<EmailFieldProps>;
3128
- readonly PasswordField: import("react").FC<PasswordFieldProps>;
3129
- readonly SelectField: import("react").NamedExoticComponent<SelectFieldProps>;
3130
- readonly ComboboxField: import("react").NamedExoticComponent<ComboboxFieldProps>;
3131
- readonly DateField: import("react").NamedExoticComponent<DateFieldProps>;
3132
- readonly SwitchField: import("react").FC<SwitchFieldProps>;
3133
- readonly RadioGroupField: import("react").FC<RadioGroupFieldProps>;
3134
- readonly CheckboxField: import("react").FC<CheckboxFieldProps>;
3135
- readonly SimpleTextField: import("react").FC<SimpleTextFieldProps>;
3136
- readonly SimpleEmailField: import("react").FC<{
2622
+ readonly TextField: ComponentType<TextFieldProps>;
2623
+ readonly TextareaField: ComponentType<TextareaFieldProps>;
2624
+ readonly TextEditorField: ComponentType<TextEditorFieldProps>;
2625
+ readonly NumberField: ComponentType<NumberFieldProps>;
2626
+ readonly EmailField: ComponentType<EmailFieldProps>;
2627
+ readonly PasswordField: ComponentType<PasswordFieldProps>;
2628
+ readonly SelectField: ComponentType<SelectFieldProps>;
2629
+ readonly ComboboxField: ComponentType<ComboboxFieldProps>;
2630
+ readonly DateField: ComponentType<DateFieldProps>;
2631
+ readonly SwitchField: ComponentType<SwitchFieldProps>;
2632
+ readonly RadioGroupField: ComponentType<RadioGroupFieldProps>;
2633
+ readonly CheckboxField: ComponentType<CheckboxFieldProps>;
2634
+ readonly SimpleTextField: ComponentType<SimpleTextFieldProps>;
2635
+ readonly SimpleEmailField: ComponentType<{
3137
2636
  label?: string;
3138
2637
  placeholder?: string;
3139
2638
  required?: boolean;
3140
2639
  maxLength?: number;
3141
2640
  disabled?: boolean;
3142
2641
  }>;
3143
- readonly SimplePasswordField: import("react").FC<{
2642
+ readonly SimplePasswordField: ComponentType<{
3144
2643
  label?: string;
3145
2644
  placeholder?: string;
3146
2645
  required?: boolean;
3147
2646
  disabled?: boolean;
3148
2647
  }>;
3149
- readonly SimpleTextareaField: import("react").FC<{
2648
+ readonly SimpleTextareaField: ComponentType<{
3150
2649
  label?: string;
3151
2650
  placeholder?: string;
3152
2651
  required?: boolean;
@@ -3154,7 +2653,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3154
2653
  rows?: number;
3155
2654
  disabled?: boolean;
3156
2655
  }>;
3157
- readonly SimpleNumberField: import("react").FC<{
2656
+ readonly SimpleNumberField: ComponentType<{
3158
2657
  label?: string;
3159
2658
  placeholder?: string;
3160
2659
  required?: boolean;
@@ -3162,7 +2661,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3162
2661
  allowNegative?: boolean;
3163
2662
  disabled?: boolean;
3164
2663
  }>;
3165
- readonly SimpleSelectField: import("react").FC<{
2664
+ readonly SimpleSelectField: ComponentType<{
3166
2665
  label?: string;
3167
2666
  placeholder?: string;
3168
2667
  required?: boolean;
@@ -3172,13 +2671,13 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3172
2671
  }>;
3173
2672
  }>;
3174
2673
  readonly SimpleArrayField: typeof SimpleArrayField;
3175
- readonly SimpleBooleanField: import("react").FC<{
2674
+ readonly SimpleBooleanField: ComponentType<{
3176
2675
  label?: string;
3177
2676
  required?: boolean;
3178
2677
  disabled?: boolean;
3179
2678
  variant?: "checkbox" | "switch";
3180
2679
  }>;
3181
- readonly SimpleComboboxField: import("react").FC<{
2680
+ readonly SimpleComboboxField: ComponentType<{
3182
2681
  label?: string;
3183
2682
  placeholder?: string;
3184
2683
  required?: boolean;
@@ -3188,7 +2687,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3188
2687
  label: string;
3189
2688
  }>;
3190
2689
  }>;
3191
- readonly SimpleDateField: import("react").FC<{
2690
+ readonly SimpleDateField: ComponentType<{
3192
2691
  label?: string;
3193
2692
  placeholder?: string;
3194
2693
  required?: boolean;
@@ -3196,7 +2695,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3196
2695
  minDate?: Date;
3197
2696
  maxDate?: Date;
3198
2697
  }>;
3199
- readonly SimpleRadioGroupField: import("react").FC<{
2698
+ readonly SimpleRadioGroupField: ComponentType<{
3200
2699
  label?: string;
3201
2700
  required?: boolean;
3202
2701
  disabled?: boolean;
@@ -3206,49 +2705,25 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3206
2705
  }>;
3207
2706
  orientation?: "horizontal" | "vertical";
3208
2707
  }>;
3209
- readonly FieldGroup: import("react").MemoExoticComponent<({
3210
- className,
3211
- ...props
3212
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3213
- readonly Field: import("react").MemoExoticComponent<({
3214
- className,
3215
- orientation,
3216
- ...props
3217
- }: React.ComponentProps<"div"> & import("class-variance-authority").VariantProps<(props?: ({
2708
+ readonly FieldGroup: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
2709
+ readonly Field: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("class-variance-authority").VariantProps<(props?: ({
3218
2710
  orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
3219
- } & import("class-variance-authority/types").ClassProp) | undefined) => string>) => import("react").JSX.Element>;
3220
- readonly FieldContent: import("react").MemoExoticComponent<({
3221
- className,
3222
- ...props
3223
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3224
- readonly FieldLabel: import("react").MemoExoticComponent<({
3225
- className,
3226
- ...props
3227
- }: React.ComponentProps<typeof Label$1>) => import("react").JSX.Element>;
3228
- readonly FieldContentMain: import("react").MemoExoticComponent<({
3229
- className,
3230
- ...props
3231
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3232
- readonly FieldSeparator: import("react").MemoExoticComponent<({
3233
- children,
3234
- className,
3235
- ...props
3236
- }: React.PropsWithChildren<React.ComponentProps<"div">>) => import("react").JSX.Element>;
3237
- readonly FieldError: import("react").MemoExoticComponent<({
3238
- className,
3239
- children,
3240
- errors,
3241
- requiredMessage,
3242
- ...props
3243
- }: import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2711
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>>;
2712
+ readonly FieldContent: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
2713
+ readonly FieldLabel: ComponentType<LabelProps & import("react").RefAttributes<HTMLLabelElement>>;
2714
+ readonly FieldContentMain: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
2715
+ readonly FieldSeparator: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2716
+ children?: import("react").ReactNode | undefined;
2717
+ }>;
2718
+ readonly FieldError: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3244
2719
  errors?: Array<{
3245
2720
  code?: string;
3246
2721
  message?: string;
3247
2722
  } | undefined>;
3248
2723
  requiredMessage?: string;
3249
- }) => import("react").JSX.Element | null>;
2724
+ }>;
3250
2725
  }, {
3251
- readonly TanStackDialogForm: import("react").FC<import("react").PropsWithChildren<{
2726
+ readonly TanStackDialogForm: ComponentType<{
3252
2727
  title: string;
3253
2728
  submitText?: string;
3254
2729
  width?: number | string;
@@ -3256,77 +2731,96 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3256
2731
  className?: string;
3257
2732
  open?: boolean;
3258
2733
  onOpenChange?: (open: boolean) => void;
3259
- }>>;
3260
- readonly TanStackPopoverForm: import("react").FC<import("react").PropsWithChildren<{
2734
+ } & {
2735
+ children?: import("react").ReactNode | undefined;
2736
+ }>;
2737
+ readonly TanStackPopoverForm: ComponentType<{
3261
2738
  title: string;
3262
2739
  open?: boolean;
3263
2740
  contentClassName?: string;
3264
2741
  onOpenChange?: (open: boolean) => void;
3265
- }>>;
3266
- readonly TanStackContainerForm: import("react").FC<{
2742
+ } & {
2743
+ children?: import("react").ReactNode | undefined;
2744
+ }>;
2745
+ readonly TanStackContainerForm: ComponentType<{
3267
2746
  children?: import("react").ReactNode | undefined;
3268
2747
  }>;
3269
- readonly TanStackSectionForm: import("react").FC<import("react").PropsWithChildren<{
2748
+ readonly TanStackSectionForm: ComponentType<{
3270
2749
  title: string;
3271
- }>>;
3272
- readonly TanStackCardForm: import("react").FC<import("react").PropsWithChildren<{
2750
+ } & {
2751
+ children?: import("react").ReactNode | undefined;
2752
+ }>;
2753
+ readonly TanStackCardForm: ComponentType<{
3273
2754
  title: string;
3274
2755
  description?: string;
3275
2756
  onDelete?: () => void | Promise<void>;
3276
- }>>;
3277
- readonly TanStackFieldGroup: import("react").FC<import("react").PropsWithChildren<{
2757
+ } & {
2758
+ children?: import("react").ReactNode | undefined;
2759
+ }>;
2760
+ readonly TanStackFieldGroup: ComponentType<{
3278
2761
  label: string;
3279
2762
  description?: string;
3280
2763
  helperText?: string;
3281
2764
  orientation?: "horizontal" | "vertical" | "responsive";
3282
- }>>;
3283
- readonly TanStackTitleField: import("react").FC<{
2765
+ } & {
2766
+ children?: import("react").ReactNode | undefined;
2767
+ }>;
2768
+ readonly TanStackTitleField: ComponentType<{
3284
2769
  title: string;
3285
2770
  description?: string;
3286
2771
  helperText?: string;
3287
2772
  }>;
3288
- readonly TanStackActionsForm: import("react").FC<import("react").PropsWithChildren<{
2773
+ readonly TanStackActionsForm: ComponentType<{
3289
2774
  type?: "create" | "update";
3290
- }>>;
3291
- readonly TanStackActionSubmit: import("react").FC<{
2775
+ } & {
2776
+ children?: import("react").ReactNode | undefined;
2777
+ }>;
2778
+ readonly TanStackActionSubmit: ComponentType<{
3292
2779
  label?: string;
3293
2780
  className?: string;
3294
2781
  }>;
3295
- readonly ArrayCol: typeof ArrayCol;
3296
- readonly ArrayHeaderRow: typeof ArrayHeaderRow;
2782
+ readonly ArrayCol: ComponentType<{
2783
+ width?: number | string;
2784
+ className?: string;
2785
+ children: React.ReactNode;
2786
+ }>;
2787
+ readonly ArrayHeaderRow: ComponentType<{
2788
+ className?: string;
2789
+ children: React.ReactNode;
2790
+ }>;
3297
2791
  }>;
3298
2792
  }>>, withTanStackFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps extends object = {}>({
3299
2793
  render,
3300
2794
  props,
3301
2795
  defaultValues
3302
2796
  }: import("@tanstack/react-form").WithFieldGroupProps<TFieldGroupData, {
3303
- readonly TextField: import("react").NamedExoticComponent<TextFieldProps>;
3304
- readonly TextareaField: import("react").NamedExoticComponent<TextareaFieldProps>;
3305
- readonly TextEditorField: import("react").FC<TextEditorFieldProps>;
3306
- readonly NumberField: import("react").NamedExoticComponent<NumberFieldProps>;
3307
- readonly EmailField: import("react").FC<EmailFieldProps>;
3308
- readonly PasswordField: import("react").FC<PasswordFieldProps>;
3309
- readonly SelectField: import("react").NamedExoticComponent<SelectFieldProps>;
3310
- readonly ComboboxField: import("react").NamedExoticComponent<ComboboxFieldProps>;
3311
- readonly DateField: import("react").NamedExoticComponent<DateFieldProps>;
3312
- readonly SwitchField: import("react").FC<SwitchFieldProps>;
3313
- readonly RadioGroupField: import("react").FC<RadioGroupFieldProps>;
3314
- readonly CheckboxField: import("react").FC<CheckboxFieldProps>;
3315
- readonly SimpleTextField: import("react").FC<SimpleTextFieldProps>;
3316
- readonly SimpleEmailField: import("react").FC<{
2797
+ readonly TextField: ComponentType<TextFieldProps>;
2798
+ readonly TextareaField: ComponentType<TextareaFieldProps>;
2799
+ readonly TextEditorField: ComponentType<TextEditorFieldProps>;
2800
+ readonly NumberField: ComponentType<NumberFieldProps>;
2801
+ readonly EmailField: ComponentType<EmailFieldProps>;
2802
+ readonly PasswordField: ComponentType<PasswordFieldProps>;
2803
+ readonly SelectField: ComponentType<SelectFieldProps>;
2804
+ readonly ComboboxField: ComponentType<ComboboxFieldProps>;
2805
+ readonly DateField: ComponentType<DateFieldProps>;
2806
+ readonly SwitchField: ComponentType<SwitchFieldProps>;
2807
+ readonly RadioGroupField: ComponentType<RadioGroupFieldProps>;
2808
+ readonly CheckboxField: ComponentType<CheckboxFieldProps>;
2809
+ readonly SimpleTextField: ComponentType<SimpleTextFieldProps>;
2810
+ readonly SimpleEmailField: ComponentType<{
3317
2811
  label?: string;
3318
2812
  placeholder?: string;
3319
2813
  required?: boolean;
3320
2814
  maxLength?: number;
3321
2815
  disabled?: boolean;
3322
2816
  }>;
3323
- readonly SimplePasswordField: import("react").FC<{
2817
+ readonly SimplePasswordField: ComponentType<{
3324
2818
  label?: string;
3325
2819
  placeholder?: string;
3326
2820
  required?: boolean;
3327
2821
  disabled?: boolean;
3328
2822
  }>;
3329
- readonly SimpleTextareaField: import("react").FC<{
2823
+ readonly SimpleTextareaField: ComponentType<{
3330
2824
  label?: string;
3331
2825
  placeholder?: string;
3332
2826
  required?: boolean;
@@ -3334,7 +2828,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3334
2828
  rows?: number;
3335
2829
  disabled?: boolean;
3336
2830
  }>;
3337
- readonly SimpleNumberField: import("react").FC<{
2831
+ readonly SimpleNumberField: ComponentType<{
3338
2832
  label?: string;
3339
2833
  placeholder?: string;
3340
2834
  required?: boolean;
@@ -3342,7 +2836,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3342
2836
  allowNegative?: boolean;
3343
2837
  disabled?: boolean;
3344
2838
  }>;
3345
- readonly SimpleSelectField: import("react").FC<{
2839
+ readonly SimpleSelectField: ComponentType<{
3346
2840
  label?: string;
3347
2841
  placeholder?: string;
3348
2842
  required?: boolean;
@@ -3352,13 +2846,13 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3352
2846
  }>;
3353
2847
  }>;
3354
2848
  readonly SimpleArrayField: typeof SimpleArrayField;
3355
- readonly SimpleBooleanField: import("react").FC<{
2849
+ readonly SimpleBooleanField: ComponentType<{
3356
2850
  label?: string;
3357
2851
  required?: boolean;
3358
2852
  disabled?: boolean;
3359
2853
  variant?: "checkbox" | "switch";
3360
2854
  }>;
3361
- readonly SimpleComboboxField: import("react").FC<{
2855
+ readonly SimpleComboboxField: ComponentType<{
3362
2856
  label?: string;
3363
2857
  placeholder?: string;
3364
2858
  required?: boolean;
@@ -3368,7 +2862,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3368
2862
  label: string;
3369
2863
  }>;
3370
2864
  }>;
3371
- readonly SimpleDateField: import("react").FC<{
2865
+ readonly SimpleDateField: ComponentType<{
3372
2866
  label?: string;
3373
2867
  placeholder?: string;
3374
2868
  required?: boolean;
@@ -3376,7 +2870,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3376
2870
  minDate?: Date;
3377
2871
  maxDate?: Date;
3378
2872
  }>;
3379
- readonly SimpleRadioGroupField: import("react").FC<{
2873
+ readonly SimpleRadioGroupField: ComponentType<{
3380
2874
  label?: string;
3381
2875
  required?: boolean;
3382
2876
  disabled?: boolean;
@@ -3386,49 +2880,25 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3386
2880
  }>;
3387
2881
  orientation?: "horizontal" | "vertical";
3388
2882
  }>;
3389
- readonly FieldGroup: import("react").MemoExoticComponent<({
3390
- className,
3391
- ...props
3392
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3393
- readonly Field: import("react").MemoExoticComponent<({
3394
- className,
3395
- orientation,
3396
- ...props
3397
- }: React.ComponentProps<"div"> & import("class-variance-authority").VariantProps<(props?: ({
2883
+ readonly FieldGroup: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
2884
+ readonly Field: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("class-variance-authority").VariantProps<(props?: ({
3398
2885
  orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
3399
- } & import("class-variance-authority/types").ClassProp) | undefined) => string>) => import("react").JSX.Element>;
3400
- readonly FieldContent: import("react").MemoExoticComponent<({
3401
- className,
3402
- ...props
3403
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3404
- readonly FieldLabel: import("react").MemoExoticComponent<({
3405
- className,
3406
- ...props
3407
- }: React.ComponentProps<typeof Label$1>) => import("react").JSX.Element>;
3408
- readonly FieldContentMain: import("react").MemoExoticComponent<({
3409
- className,
3410
- ...props
3411
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3412
- readonly FieldSeparator: import("react").MemoExoticComponent<({
3413
- children,
3414
- className,
3415
- ...props
3416
- }: React.PropsWithChildren<React.ComponentProps<"div">>) => import("react").JSX.Element>;
3417
- readonly FieldError: import("react").MemoExoticComponent<({
3418
- className,
3419
- children,
3420
- errors,
3421
- requiredMessage,
3422
- ...props
3423
- }: import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2886
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>>;
2887
+ readonly FieldContent: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
2888
+ readonly FieldLabel: ComponentType<LabelProps & import("react").RefAttributes<HTMLLabelElement>>;
2889
+ readonly FieldContentMain: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
2890
+ readonly FieldSeparator: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2891
+ children?: import("react").ReactNode | undefined;
2892
+ }>;
2893
+ readonly FieldError: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3424
2894
  errors?: Array<{
3425
2895
  code?: string;
3426
2896
  message?: string;
3427
2897
  } | undefined>;
3428
2898
  requiredMessage?: string;
3429
- }) => import("react").JSX.Element | null>;
2899
+ }>;
3430
2900
  }, {
3431
- readonly TanStackDialogForm: import("react").FC<import("react").PropsWithChildren<{
2901
+ readonly TanStackDialogForm: ComponentType<{
3432
2902
  title: string;
3433
2903
  submitText?: string;
3434
2904
  width?: number | string;
@@ -3436,73 +2906,92 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3436
2906
  className?: string;
3437
2907
  open?: boolean;
3438
2908
  onOpenChange?: (open: boolean) => void;
3439
- }>>;
3440
- readonly TanStackPopoverForm: import("react").FC<import("react").PropsWithChildren<{
2909
+ } & {
2910
+ children?: import("react").ReactNode | undefined;
2911
+ }>;
2912
+ readonly TanStackPopoverForm: ComponentType<{
3441
2913
  title: string;
3442
2914
  open?: boolean;
3443
2915
  contentClassName?: string;
3444
2916
  onOpenChange?: (open: boolean) => void;
3445
- }>>;
3446
- readonly TanStackContainerForm: import("react").FC<{
2917
+ } & {
3447
2918
  children?: import("react").ReactNode | undefined;
3448
2919
  }>;
3449
- readonly TanStackSectionForm: import("react").FC<import("react").PropsWithChildren<{
2920
+ readonly TanStackContainerForm: ComponentType<{
2921
+ children?: import("react").ReactNode | undefined;
2922
+ }>;
2923
+ readonly TanStackSectionForm: ComponentType<{
3450
2924
  title: string;
3451
- }>>;
3452
- readonly TanStackCardForm: import("react").FC<import("react").PropsWithChildren<{
2925
+ } & {
2926
+ children?: import("react").ReactNode | undefined;
2927
+ }>;
2928
+ readonly TanStackCardForm: ComponentType<{
3453
2929
  title: string;
3454
2930
  description?: string;
3455
2931
  onDelete?: () => void | Promise<void>;
3456
- }>>;
3457
- readonly TanStackFieldGroup: import("react").FC<import("react").PropsWithChildren<{
2932
+ } & {
2933
+ children?: import("react").ReactNode | undefined;
2934
+ }>;
2935
+ readonly TanStackFieldGroup: ComponentType<{
3458
2936
  label: string;
3459
2937
  description?: string;
3460
2938
  helperText?: string;
3461
2939
  orientation?: "horizontal" | "vertical" | "responsive";
3462
- }>>;
3463
- readonly TanStackTitleField: import("react").FC<{
2940
+ } & {
2941
+ children?: import("react").ReactNode | undefined;
2942
+ }>;
2943
+ readonly TanStackTitleField: ComponentType<{
3464
2944
  title: string;
3465
2945
  description?: string;
3466
2946
  helperText?: string;
3467
2947
  }>;
3468
- readonly TanStackActionsForm: import("react").FC<import("react").PropsWithChildren<{
2948
+ readonly TanStackActionsForm: ComponentType<{
3469
2949
  type?: "create" | "update";
3470
- }>>;
3471
- readonly TanStackActionSubmit: import("react").FC<{
2950
+ } & {
2951
+ children?: import("react").ReactNode | undefined;
2952
+ }>;
2953
+ readonly TanStackActionSubmit: ComponentType<{
3472
2954
  label?: string;
3473
2955
  className?: string;
3474
2956
  }>;
3475
- readonly ArrayCol: typeof ArrayCol;
3476
- readonly ArrayHeaderRow: typeof ArrayHeaderRow;
2957
+ readonly ArrayCol: ComponentType<{
2958
+ width?: number | string;
2959
+ className?: string;
2960
+ children: React.ReactNode;
2961
+ }>;
2962
+ readonly ArrayHeaderRow: ComponentType<{
2963
+ className?: string;
2964
+ children: React.ReactNode;
2965
+ }>;
3477
2966
  }, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | FieldsMap<TFormData, TFieldGroupData>, TOnMount extends FormValidateOrFn<TFormData> | undefined, TOnChange extends FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: import("react").PropsWithChildren<NoInfer<TRenderProps> & {
3478
2967
  form: import("@tanstack/react-form").AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
3479
- readonly TextField: import("react").NamedExoticComponent<TextFieldProps>;
3480
- readonly TextareaField: import("react").NamedExoticComponent<TextareaFieldProps>;
3481
- readonly TextEditorField: import("react").FC<TextEditorFieldProps>;
3482
- readonly NumberField: import("react").NamedExoticComponent<NumberFieldProps>;
3483
- readonly EmailField: import("react").FC<EmailFieldProps>;
3484
- readonly PasswordField: import("react").FC<PasswordFieldProps>;
3485
- readonly SelectField: import("react").NamedExoticComponent<SelectFieldProps>;
3486
- readonly ComboboxField: import("react").NamedExoticComponent<ComboboxFieldProps>;
3487
- readonly DateField: import("react").NamedExoticComponent<DateFieldProps>;
3488
- readonly SwitchField: import("react").FC<SwitchFieldProps>;
3489
- readonly RadioGroupField: import("react").FC<RadioGroupFieldProps>;
3490
- readonly CheckboxField: import("react").FC<CheckboxFieldProps>;
3491
- readonly SimpleTextField: import("react").FC<SimpleTextFieldProps>;
3492
- readonly SimpleEmailField: import("react").FC<{
2968
+ readonly TextField: ComponentType<TextFieldProps>;
2969
+ readonly TextareaField: ComponentType<TextareaFieldProps>;
2970
+ readonly TextEditorField: ComponentType<TextEditorFieldProps>;
2971
+ readonly NumberField: ComponentType<NumberFieldProps>;
2972
+ readonly EmailField: ComponentType<EmailFieldProps>;
2973
+ readonly PasswordField: ComponentType<PasswordFieldProps>;
2974
+ readonly SelectField: ComponentType<SelectFieldProps>;
2975
+ readonly ComboboxField: ComponentType<ComboboxFieldProps>;
2976
+ readonly DateField: ComponentType<DateFieldProps>;
2977
+ readonly SwitchField: ComponentType<SwitchFieldProps>;
2978
+ readonly RadioGroupField: ComponentType<RadioGroupFieldProps>;
2979
+ readonly CheckboxField: ComponentType<CheckboxFieldProps>;
2980
+ readonly SimpleTextField: ComponentType<SimpleTextFieldProps>;
2981
+ readonly SimpleEmailField: ComponentType<{
3493
2982
  label?: string;
3494
2983
  placeholder?: string;
3495
2984
  required?: boolean;
3496
2985
  maxLength?: number;
3497
2986
  disabled?: boolean;
3498
2987
  }>;
3499
- readonly SimplePasswordField: import("react").FC<{
2988
+ readonly SimplePasswordField: ComponentType<{
3500
2989
  label?: string;
3501
2990
  placeholder?: string;
3502
2991
  required?: boolean;
3503
2992
  disabled?: boolean;
3504
2993
  }>;
3505
- readonly SimpleTextareaField: import("react").FC<{
2994
+ readonly SimpleTextareaField: ComponentType<{
3506
2995
  label?: string;
3507
2996
  placeholder?: string;
3508
2997
  required?: boolean;
@@ -3510,7 +2999,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3510
2999
  rows?: number;
3511
3000
  disabled?: boolean;
3512
3001
  }>;
3513
- readonly SimpleNumberField: import("react").FC<{
3002
+ readonly SimpleNumberField: ComponentType<{
3514
3003
  label?: string;
3515
3004
  placeholder?: string;
3516
3005
  required?: boolean;
@@ -3518,7 +3007,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3518
3007
  allowNegative?: boolean;
3519
3008
  disabled?: boolean;
3520
3009
  }>;
3521
- readonly SimpleSelectField: import("react").FC<{
3010
+ readonly SimpleSelectField: ComponentType<{
3522
3011
  label?: string;
3523
3012
  placeholder?: string;
3524
3013
  required?: boolean;
@@ -3528,13 +3017,13 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3528
3017
  }>;
3529
3018
  }>;
3530
3019
  readonly SimpleArrayField: typeof SimpleArrayField;
3531
- readonly SimpleBooleanField: import("react").FC<{
3020
+ readonly SimpleBooleanField: ComponentType<{
3532
3021
  label?: string;
3533
3022
  required?: boolean;
3534
3023
  disabled?: boolean;
3535
3024
  variant?: "checkbox" | "switch";
3536
3025
  }>;
3537
- readonly SimpleComboboxField: import("react").FC<{
3026
+ readonly SimpleComboboxField: ComponentType<{
3538
3027
  label?: string;
3539
3028
  placeholder?: string;
3540
3029
  required?: boolean;
@@ -3544,7 +3033,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3544
3033
  label: string;
3545
3034
  }>;
3546
3035
  }>;
3547
- readonly SimpleDateField: import("react").FC<{
3036
+ readonly SimpleDateField: ComponentType<{
3548
3037
  label?: string;
3549
3038
  placeholder?: string;
3550
3039
  required?: boolean;
@@ -3552,7 +3041,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3552
3041
  minDate?: Date;
3553
3042
  maxDate?: Date;
3554
3043
  }>;
3555
- readonly SimpleRadioGroupField: import("react").FC<{
3044
+ readonly SimpleRadioGroupField: ComponentType<{
3556
3045
  label?: string;
3557
3046
  required?: boolean;
3558
3047
  disabled?: boolean;
@@ -3562,49 +3051,25 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3562
3051
  }>;
3563
3052
  orientation?: "horizontal" | "vertical";
3564
3053
  }>;
3565
- readonly FieldGroup: import("react").MemoExoticComponent<({
3566
- className,
3567
- ...props
3568
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3569
- readonly Field: import("react").MemoExoticComponent<({
3570
- className,
3571
- orientation,
3572
- ...props
3573
- }: React.ComponentProps<"div"> & import("class-variance-authority").VariantProps<(props?: ({
3054
+ readonly FieldGroup: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
3055
+ readonly Field: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("class-variance-authority").VariantProps<(props?: ({
3574
3056
  orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
3575
- } & import("class-variance-authority/types").ClassProp) | undefined) => string>) => import("react").JSX.Element>;
3576
- readonly FieldContent: import("react").MemoExoticComponent<({
3577
- className,
3578
- ...props
3579
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3580
- readonly FieldLabel: import("react").MemoExoticComponent<({
3581
- className,
3582
- ...props
3583
- }: React.ComponentProps<typeof Label$1>) => import("react").JSX.Element>;
3584
- readonly FieldContentMain: import("react").MemoExoticComponent<({
3585
- className,
3586
- ...props
3587
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3588
- readonly FieldSeparator: import("react").MemoExoticComponent<({
3589
- children,
3590
- className,
3591
- ...props
3592
- }: React.PropsWithChildren<React.ComponentProps<"div">>) => import("react").JSX.Element>;
3593
- readonly FieldError: import("react").MemoExoticComponent<({
3594
- className,
3595
- children,
3596
- errors,
3597
- requiredMessage,
3598
- ...props
3599
- }: import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3057
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>>;
3058
+ readonly FieldContent: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
3059
+ readonly FieldLabel: ComponentType<LabelProps & import("react").RefAttributes<HTMLLabelElement>>;
3060
+ readonly FieldContentMain: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
3061
+ readonly FieldSeparator: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3062
+ children?: import("react").ReactNode | undefined;
3063
+ }>;
3064
+ readonly FieldError: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3600
3065
  errors?: Array<{
3601
3066
  code?: string;
3602
3067
  message?: string;
3603
3068
  } | undefined>;
3604
3069
  requiredMessage?: string;
3605
- }) => import("react").JSX.Element | null>;
3070
+ }>;
3606
3071
  }, {
3607
- readonly TanStackDialogForm: import("react").FC<import("react").PropsWithChildren<{
3072
+ readonly TanStackDialogForm: ComponentType<{
3608
3073
  title: string;
3609
3074
  submitText?: string;
3610
3075
  width?: number | string;
@@ -3612,72 +3077,91 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3612
3077
  className?: string;
3613
3078
  open?: boolean;
3614
3079
  onOpenChange?: (open: boolean) => void;
3615
- }>>;
3616
- readonly TanStackPopoverForm: import("react").FC<import("react").PropsWithChildren<{
3080
+ } & {
3081
+ children?: import("react").ReactNode | undefined;
3082
+ }>;
3083
+ readonly TanStackPopoverForm: ComponentType<{
3617
3084
  title: string;
3618
3085
  open?: boolean;
3619
3086
  contentClassName?: string;
3620
3087
  onOpenChange?: (open: boolean) => void;
3621
- }>>;
3622
- readonly TanStackContainerForm: import("react").FC<{
3088
+ } & {
3089
+ children?: import("react").ReactNode | undefined;
3090
+ }>;
3091
+ readonly TanStackContainerForm: ComponentType<{
3623
3092
  children?: import("react").ReactNode | undefined;
3624
3093
  }>;
3625
- readonly TanStackSectionForm: import("react").FC<import("react").PropsWithChildren<{
3094
+ readonly TanStackSectionForm: ComponentType<{
3626
3095
  title: string;
3627
- }>>;
3628
- readonly TanStackCardForm: import("react").FC<import("react").PropsWithChildren<{
3096
+ } & {
3097
+ children?: import("react").ReactNode | undefined;
3098
+ }>;
3099
+ readonly TanStackCardForm: ComponentType<{
3629
3100
  title: string;
3630
3101
  description?: string;
3631
3102
  onDelete?: () => void | Promise<void>;
3632
- }>>;
3633
- readonly TanStackFieldGroup: import("react").FC<import("react").PropsWithChildren<{
3103
+ } & {
3104
+ children?: import("react").ReactNode | undefined;
3105
+ }>;
3106
+ readonly TanStackFieldGroup: ComponentType<{
3634
3107
  label: string;
3635
3108
  description?: string;
3636
3109
  helperText?: string;
3637
3110
  orientation?: "horizontal" | "vertical" | "responsive";
3638
- }>>;
3639
- readonly TanStackTitleField: import("react").FC<{
3111
+ } & {
3112
+ children?: import("react").ReactNode | undefined;
3113
+ }>;
3114
+ readonly TanStackTitleField: ComponentType<{
3640
3115
  title: string;
3641
3116
  description?: string;
3642
3117
  helperText?: string;
3643
3118
  }>;
3644
- readonly TanStackActionsForm: import("react").FC<import("react").PropsWithChildren<{
3119
+ readonly TanStackActionsForm: ComponentType<{
3645
3120
  type?: "create" | "update";
3646
- }>>;
3647
- readonly TanStackActionSubmit: import("react").FC<{
3121
+ } & {
3122
+ children?: import("react").ReactNode | undefined;
3123
+ }>;
3124
+ readonly TanStackActionSubmit: ComponentType<{
3648
3125
  label?: string;
3649
3126
  className?: string;
3650
3127
  }>;
3651
- readonly ArrayCol: typeof ArrayCol;
3652
- readonly ArrayHeaderRow: typeof ArrayHeaderRow;
3128
+ readonly ArrayCol: ComponentType<{
3129
+ width?: number | string;
3130
+ className?: string;
3131
+ children: React.ReactNode;
3132
+ }>;
3133
+ readonly ArrayHeaderRow: ComponentType<{
3134
+ className?: string;
3135
+ children: React.ReactNode;
3136
+ }>;
3653
3137
  }> | import("@tanstack/react-form").AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
3654
- readonly TextField: import("react").NamedExoticComponent<TextFieldProps>;
3655
- readonly TextareaField: import("react").NamedExoticComponent<TextareaFieldProps>;
3656
- readonly TextEditorField: import("react").FC<TextEditorFieldProps>;
3657
- readonly NumberField: import("react").NamedExoticComponent<NumberFieldProps>;
3658
- readonly EmailField: import("react").FC<EmailFieldProps>;
3659
- readonly PasswordField: import("react").FC<PasswordFieldProps>;
3660
- readonly SelectField: import("react").NamedExoticComponent<SelectFieldProps>;
3661
- readonly ComboboxField: import("react").NamedExoticComponent<ComboboxFieldProps>;
3662
- readonly DateField: import("react").NamedExoticComponent<DateFieldProps>;
3663
- readonly SwitchField: import("react").FC<SwitchFieldProps>;
3664
- readonly RadioGroupField: import("react").FC<RadioGroupFieldProps>;
3665
- readonly CheckboxField: import("react").FC<CheckboxFieldProps>;
3666
- readonly SimpleTextField: import("react").FC<SimpleTextFieldProps>;
3667
- readonly SimpleEmailField: import("react").FC<{
3138
+ readonly TextField: ComponentType<TextFieldProps>;
3139
+ readonly TextareaField: ComponentType<TextareaFieldProps>;
3140
+ readonly TextEditorField: ComponentType<TextEditorFieldProps>;
3141
+ readonly NumberField: ComponentType<NumberFieldProps>;
3142
+ readonly EmailField: ComponentType<EmailFieldProps>;
3143
+ readonly PasswordField: ComponentType<PasswordFieldProps>;
3144
+ readonly SelectField: ComponentType<SelectFieldProps>;
3145
+ readonly ComboboxField: ComponentType<ComboboxFieldProps>;
3146
+ readonly DateField: ComponentType<DateFieldProps>;
3147
+ readonly SwitchField: ComponentType<SwitchFieldProps>;
3148
+ readonly RadioGroupField: ComponentType<RadioGroupFieldProps>;
3149
+ readonly CheckboxField: ComponentType<CheckboxFieldProps>;
3150
+ readonly SimpleTextField: ComponentType<SimpleTextFieldProps>;
3151
+ readonly SimpleEmailField: ComponentType<{
3668
3152
  label?: string;
3669
3153
  placeholder?: string;
3670
3154
  required?: boolean;
3671
3155
  maxLength?: number;
3672
3156
  disabled?: boolean;
3673
3157
  }>;
3674
- readonly SimplePasswordField: import("react").FC<{
3158
+ readonly SimplePasswordField: ComponentType<{
3675
3159
  label?: string;
3676
3160
  placeholder?: string;
3677
3161
  required?: boolean;
3678
3162
  disabled?: boolean;
3679
3163
  }>;
3680
- readonly SimpleTextareaField: import("react").FC<{
3164
+ readonly SimpleTextareaField: ComponentType<{
3681
3165
  label?: string;
3682
3166
  placeholder?: string;
3683
3167
  required?: boolean;
@@ -3685,7 +3169,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3685
3169
  rows?: number;
3686
3170
  disabled?: boolean;
3687
3171
  }>;
3688
- readonly SimpleNumberField: import("react").FC<{
3172
+ readonly SimpleNumberField: ComponentType<{
3689
3173
  label?: string;
3690
3174
  placeholder?: string;
3691
3175
  required?: boolean;
@@ -3693,7 +3177,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3693
3177
  allowNegative?: boolean;
3694
3178
  disabled?: boolean;
3695
3179
  }>;
3696
- readonly SimpleSelectField: import("react").FC<{
3180
+ readonly SimpleSelectField: ComponentType<{
3697
3181
  label?: string;
3698
3182
  placeholder?: string;
3699
3183
  required?: boolean;
@@ -3703,13 +3187,13 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3703
3187
  }>;
3704
3188
  }>;
3705
3189
  readonly SimpleArrayField: typeof SimpleArrayField;
3706
- readonly SimpleBooleanField: import("react").FC<{
3190
+ readonly SimpleBooleanField: ComponentType<{
3707
3191
  label?: string;
3708
3192
  required?: boolean;
3709
3193
  disabled?: boolean;
3710
3194
  variant?: "checkbox" | "switch";
3711
3195
  }>;
3712
- readonly SimpleComboboxField: import("react").FC<{
3196
+ readonly SimpleComboboxField: ComponentType<{
3713
3197
  label?: string;
3714
3198
  placeholder?: string;
3715
3199
  required?: boolean;
@@ -3719,7 +3203,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3719
3203
  label: string;
3720
3204
  }>;
3721
3205
  }>;
3722
- readonly SimpleDateField: import("react").FC<{
3206
+ readonly SimpleDateField: ComponentType<{
3723
3207
  label?: string;
3724
3208
  placeholder?: string;
3725
3209
  required?: boolean;
@@ -3727,7 +3211,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3727
3211
  minDate?: Date;
3728
3212
  maxDate?: Date;
3729
3213
  }>;
3730
- readonly SimpleRadioGroupField: import("react").FC<{
3214
+ readonly SimpleRadioGroupField: ComponentType<{
3731
3215
  label?: string;
3732
3216
  required?: boolean;
3733
3217
  disabled?: boolean;
@@ -3737,49 +3221,25 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3737
3221
  }>;
3738
3222
  orientation?: "horizontal" | "vertical";
3739
3223
  }>;
3740
- readonly FieldGroup: import("react").MemoExoticComponent<({
3741
- className,
3742
- ...props
3743
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3744
- readonly Field: import("react").MemoExoticComponent<({
3745
- className,
3746
- orientation,
3747
- ...props
3748
- }: React.ComponentProps<"div"> & import("class-variance-authority").VariantProps<(props?: ({
3224
+ readonly FieldGroup: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
3225
+ readonly Field: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("class-variance-authority").VariantProps<(props?: ({
3749
3226
  orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
3750
- } & import("class-variance-authority/types").ClassProp) | undefined) => string>) => import("react").JSX.Element>;
3751
- readonly FieldContent: import("react").MemoExoticComponent<({
3752
- className,
3753
- ...props
3754
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3755
- readonly FieldLabel: import("react").MemoExoticComponent<({
3756
- className,
3757
- ...props
3758
- }: React.ComponentProps<typeof Label$1>) => import("react").JSX.Element>;
3759
- readonly FieldContentMain: import("react").MemoExoticComponent<({
3760
- className,
3761
- ...props
3762
- }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3763
- readonly FieldSeparator: import("react").MemoExoticComponent<({
3764
- children,
3765
- className,
3766
- ...props
3767
- }: React.PropsWithChildren<React.ComponentProps<"div">>) => import("react").JSX.Element>;
3768
- readonly FieldError: import("react").MemoExoticComponent<({
3769
- className,
3770
- children,
3771
- errors,
3772
- requiredMessage,
3773
- ...props
3774
- }: import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3227
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>>;
3228
+ readonly FieldContent: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
3229
+ readonly FieldLabel: ComponentType<LabelProps & import("react").RefAttributes<HTMLLabelElement>>;
3230
+ readonly FieldContentMain: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>>;
3231
+ readonly FieldSeparator: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3232
+ children?: import("react").ReactNode | undefined;
3233
+ }>;
3234
+ readonly FieldError: ComponentType<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3775
3235
  errors?: Array<{
3776
3236
  code?: string;
3777
3237
  message?: string;
3778
3238
  } | undefined>;
3779
3239
  requiredMessage?: string;
3780
- }) => import("react").JSX.Element | null>;
3240
+ }>;
3781
3241
  }, {
3782
- readonly TanStackDialogForm: import("react").FC<import("react").PropsWithChildren<{
3242
+ readonly TanStackDialogForm: ComponentType<{
3783
3243
  title: string;
3784
3244
  submitText?: string;
3785
3245
  width?: number | string;
@@ -3787,47 +3247,66 @@ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFo
3787
3247
  className?: string;
3788
3248
  open?: boolean;
3789
3249
  onOpenChange?: (open: boolean) => void;
3790
- }>>;
3791
- readonly TanStackPopoverForm: import("react").FC<import("react").PropsWithChildren<{
3250
+ } & {
3251
+ children?: import("react").ReactNode | undefined;
3252
+ }>;
3253
+ readonly TanStackPopoverForm: ComponentType<{
3792
3254
  title: string;
3793
3255
  open?: boolean;
3794
3256
  contentClassName?: string;
3795
3257
  onOpenChange?: (open: boolean) => void;
3796
- }>>;
3797
- readonly TanStackContainerForm: import("react").FC<{
3258
+ } & {
3798
3259
  children?: import("react").ReactNode | undefined;
3799
3260
  }>;
3800
- readonly TanStackSectionForm: import("react").FC<import("react").PropsWithChildren<{
3261
+ readonly TanStackContainerForm: ComponentType<{
3262
+ children?: import("react").ReactNode | undefined;
3263
+ }>;
3264
+ readonly TanStackSectionForm: ComponentType<{
3801
3265
  title: string;
3802
- }>>;
3803
- readonly TanStackCardForm: import("react").FC<import("react").PropsWithChildren<{
3266
+ } & {
3267
+ children?: import("react").ReactNode | undefined;
3268
+ }>;
3269
+ readonly TanStackCardForm: ComponentType<{
3804
3270
  title: string;
3805
3271
  description?: string;
3806
3272
  onDelete?: () => void | Promise<void>;
3807
- }>>;
3808
- readonly TanStackFieldGroup: import("react").FC<import("react").PropsWithChildren<{
3273
+ } & {
3274
+ children?: import("react").ReactNode | undefined;
3275
+ }>;
3276
+ readonly TanStackFieldGroup: ComponentType<{
3809
3277
  label: string;
3810
3278
  description?: string;
3811
3279
  helperText?: string;
3812
3280
  orientation?: "horizontal" | "vertical" | "responsive";
3813
- }>>;
3814
- readonly TanStackTitleField: import("react").FC<{
3281
+ } & {
3282
+ children?: import("react").ReactNode | undefined;
3283
+ }>;
3284
+ readonly TanStackTitleField: ComponentType<{
3815
3285
  title: string;
3816
3286
  description?: string;
3817
3287
  helperText?: string;
3818
3288
  }>;
3819
- readonly TanStackActionsForm: import("react").FC<import("react").PropsWithChildren<{
3289
+ readonly TanStackActionsForm: ComponentType<{
3820
3290
  type?: "create" | "update";
3821
- }>>;
3822
- readonly TanStackActionSubmit: import("react").FC<{
3291
+ } & {
3292
+ children?: import("react").ReactNode | undefined;
3293
+ }>;
3294
+ readonly TanStackActionSubmit: ComponentType<{
3823
3295
  label?: string;
3824
3296
  className?: string;
3825
3297
  }>;
3826
- readonly ArrayCol: typeof ArrayCol;
3827
- readonly ArrayHeaderRow: typeof ArrayHeaderRow;
3298
+ readonly ArrayCol: ComponentType<{
3299
+ width?: number | string;
3300
+ className?: string;
3301
+ children: React.ReactNode;
3302
+ }>;
3303
+ readonly ArrayHeaderRow: ComponentType<{
3304
+ className?: string;
3305
+ children: React.ReactNode;
3306
+ }>;
3828
3307
  }>;
3829
3308
  fields: TFields;
3830
3309
  }>) => ReturnType<import("react").FunctionComponent>;
3831
3310
  //#endregion
3832
- export { EmailFieldProps as $, EmailField as A, SimpleRadioGroupField as B, TextareaField as C, RadioGroupField as D, SelectField as E, SimpleTextareaField as F, ArrayHeaderRow as G, SimpleComboboxField as H, SimpleSelectField as I, BooleanFieldValue as J, SimpleArrayField as K, SimplePasswordField as L, ComboboxField as M, CheckboxField as N, PasswordField as O, SimpleTextField as P, DateFieldValue as Q, SimpleNumberField as R, TextEditorField as S, SwitchField as T, SimpleBooleanField as U, SimpleDateField as V, ArrayCol as W, ComboboxFieldProps as X, CheckboxFieldProps as Y, DateFieldProps as Z, TanStackDialogForm as _, withTanStackForm as a, NumberFieldValue as at, TanStackActionsForm as b, FieldContentMain as c, RadioOption as ct, FieldLabel as d, SimpleTextFieldProps as dt, FieldOrientation as et, FieldSeparator as f, SwitchFieldProps as ft, TanStackFieldGroup as g, TextareaFieldProps as gt, TanStackPopoverForm as h, TextFieldValue as ht, withTanStackFieldGroup as i, NumberFieldProps as it, DateField as j, NumberField as k, FieldError as l, SelectFieldProps as lt, TanStackSectionForm as m, TextFieldProps as mt, useTanStackForm as n, FieldType as nt, Field as o, PasswordFieldProps as ot, TanStackTitleField as p, TextEditorFieldProps as pt, AnyFieldProps as q, useTanStackFormContext as r, MultiSelectFieldValue as rt, FieldContent as s, RadioGroupFieldProps as st, useTanStackFieldContext as t, FieldRounding as tt, FieldGroup as u, SelectOption as ut, TanStackContainerForm as v, TextField as w, TanStackActionSubmit as x, TanStackCardForm as y, SimpleEmailField as z };
3833
- //# sourceMappingURL=index-C2KjuFXQ.d.cts.map
3311
+ export { EmailFieldProps as $, TanStackActionSubmit as A, TextField as B, SimpleNumberField as C, SimpleTextField as D, SimpleSelectField as E, TanStackFieldGroup as F, useTanStackFieldContext as G, useTanStackForm as H, TanStackPopoverForm as I, BooleanFieldValue as J, useTanStackFormContext as K, TanStackSectionForm as L, TanStackCardForm as M, TanStackContainerForm as N, SimpleTextareaField as O, TanStackDialogForm as P, DateFieldValue as Q, TanStackTitleField as R, SimpleEmailField as S, SimpleRadioGroupField as T, withTanStackFieldGroup as U, TextareaField as V, withTanStackForm as W, ComboboxFieldProps as X, CheckboxFieldProps as Y, DateFieldProps as Z, SelectField as _, DateField as a, NumberFieldValue as at, SimpleComboboxField as b, FieldContent as c, RadioOption as ct, FieldGroup as d, SimpleTextFieldProps as dt, FieldOrientation as et, FieldLabel as f, SwitchFieldProps as ft, RadioGroupField as g, TextareaFieldProps as gt, PasswordField as h, TextFieldValue as ht, ComboboxField as i, NumberFieldProps as it, TanStackActionsForm as j, SwitchField as k, FieldContentMain as l, SelectFieldProps as lt, NumberField as m, TextFieldProps as mt, ArrayHeaderRow as n, FieldType as nt, EmailField as o, PasswordFieldProps as ot, FieldSeparator as p, TextEditorFieldProps as pt, AnyFieldProps as q, CheckboxField as r, MultiSelectFieldValue as rt, Field as s, RadioGroupFieldProps as st, ArrayCol as t, FieldRounding as tt, FieldError as u, SelectOption as ut, SimpleArrayField as v, SimplePasswordField as w, SimpleDateField as x, SimpleBooleanField as y, TextEditorField as z };
3312
+ //# sourceMappingURL=index-DDROD2y9.d.cts.map