@payfit/unity-components 2.1.4 → 2.2.0

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 (32) hide show
  1. package/dist/esm/components/avatar/Avatar.context.d.ts +2 -1
  2. package/dist/esm/components/avatar/Avatar.context.js +13 -11
  3. package/dist/esm/components/avatar/Avatar.d.ts +126 -0
  4. package/dist/esm/components/avatar/Avatar.js +34 -20
  5. package/dist/esm/components/avatar/Avatar.variants.d.ts +39 -0
  6. package/dist/esm/components/avatar/Avatar.variants.js +22 -4
  7. package/dist/esm/components/avatar/parts/AvatarFallback.d.ts +52 -0
  8. package/dist/esm/components/avatar/parts/AvatarIcon.d.ts +31 -0
  9. package/dist/esm/components/avatar/parts/AvatarIcon.js +40 -0
  10. package/dist/esm/components/button/Button.js +8 -7
  11. package/dist/esm/components/inline-field-group/InlineFieldGroup.context.d.ts +23 -0
  12. package/dist/esm/components/inline-field-group/InlineFieldGroup.context.js +6 -0
  13. package/dist/esm/components/inline-field-group/InlineFieldGroup.d.ts +119 -0
  14. package/dist/esm/components/inline-field-group/InlineFieldGroup.js +185 -0
  15. package/dist/esm/components/inline-field-group/hooks/useInlineFieldGroupMode.d.ts +46 -0
  16. package/dist/esm/components/inline-field-group/hooks/useInlineFieldGroupMode.js +27 -0
  17. package/dist/esm/components/inline-field-group/parts/InlineFieldGroupEditView.d.ts +64 -0
  18. package/dist/esm/components/inline-field-group/parts/InlineFieldGroupEditView.js +56 -0
  19. package/dist/esm/components/inline-field-group/parts/InlineFieldGroupHeader.d.ts +95 -0
  20. package/dist/esm/components/inline-field-group/parts/InlineFieldGroupHeader.js +106 -0
  21. package/dist/esm/components/inline-field-group/parts/InlineFieldGroupReadView.d.ts +56 -0
  22. package/dist/esm/components/inline-field-group/parts/InlineFieldGroupReadView.js +28 -0
  23. package/dist/esm/components/side-panel/parts/SidePanelFooter.js +19 -10
  24. package/dist/esm/hooks/tanstack-form-context.d.ts +1 -1
  25. package/dist/esm/hooks/use-tanstack-form.d.ts +32 -8
  26. package/dist/esm/hooks/use-tanstack-form.js +71 -48
  27. package/dist/esm/index.d.ts +1 -0
  28. package/dist/esm/index.js +445 -443
  29. package/i18n/en-GB.json +6 -0
  30. package/i18n/es-ES.json +6 -0
  31. package/i18n/fr-FR.json +6 -0
  32. package/package.json +21 -21
@@ -0,0 +1,106 @@
1
+ import { jsxs as n, jsx as e, Fragment as N } from "react/jsx-runtime";
2
+ import { useContext as L } from "react";
3
+ import { uyTv as P } from "@payfit/unity-themes";
4
+ import { useStore as S } from "@tanstack/react-form";
5
+ import { useIntl as j } from "react-intl";
6
+ import { useFormContext as z } from "../../../hooks/tanstack-form-context.js";
7
+ import { Button as o } from "../../button/Button.js";
8
+ import { Text as H } from "../../text/Text.js";
9
+ import { InlineFieldGroupContext as B } from "../InlineFieldGroup.context.js";
10
+ const T = P({
11
+ slots: {
12
+ base: "uy:flex uy:items-center uy:justify-between uy:w-full",
13
+ titleContainer: "uy:flex uy:flex-col uy:gap-0 uy:flex-1",
14
+ actions: "uy:flex uy:gap-100 uy:items-center"
15
+ }
16
+ });
17
+ function A({
18
+ title: a,
19
+ editLabel: s,
20
+ saveLabel: l,
21
+ cancelLabel: d,
22
+ customActions: u,
23
+ onEditPress: c,
24
+ onSavePress: m,
25
+ onCancelPress: f
26
+ }) {
27
+ const i = j(), r = L(B);
28
+ if (!r)
29
+ throw new Error(
30
+ "InlineFieldGroupHeader must be used within InlineFieldGroup"
31
+ );
32
+ const {
33
+ mode: p,
34
+ enterEditMode: y,
35
+ exitEditMode: x,
36
+ headerId: g,
37
+ editViewId: h,
38
+ isLoading: t,
39
+ editButtonRef: b
40
+ } = r, v = z(), { isDirty: I } = S(v.store, (G) => ({
41
+ isDirty: G.isDirty
42
+ })), { base: C, titleContainer: M, actions: F } = T(), w = s || i.formatMessage({
43
+ id: "unity:component:inline-field-group:edit",
44
+ defaultMessage: "Edit"
45
+ }), D = l || i.formatMessage({
46
+ id: "unity:component:inline-field-group:save",
47
+ defaultMessage: "Save"
48
+ }), E = d || i.formatMessage({
49
+ id: "unity:component:inline-field-group:cancel",
50
+ defaultMessage: "Cancel"
51
+ });
52
+ return /* @__PURE__ */ n("header", { className: C(), children: [
53
+ /* @__PURE__ */ e("div", { className: M(), children: /* @__PURE__ */ e(H, { id: g, variant: "h3", color: "content.neutral", children: a }) }),
54
+ /* @__PURE__ */ n("div", { className: F(), role: "group", children: [
55
+ u,
56
+ p === "read" ? /* @__PURE__ */ e(
57
+ o,
58
+ {
59
+ ref: b,
60
+ variant: "secondary",
61
+ size: "default",
62
+ onPress: () => {
63
+ c?.(), y();
64
+ },
65
+ isDisabled: t,
66
+ prefixIcon: "PencilSimpleOutlined",
67
+ "aria-expanded": !1,
68
+ "aria-controls": h,
69
+ children: w
70
+ }
71
+ ) : /* @__PURE__ */ n(N, { children: [
72
+ /* @__PURE__ */ e(
73
+ o,
74
+ {
75
+ variant: "secondary",
76
+ size: "default",
77
+ onPress: () => {
78
+ f?.(), x();
79
+ },
80
+ isDisabled: t,
81
+ type: "button",
82
+ children: E
83
+ }
84
+ ),
85
+ /* @__PURE__ */ e(
86
+ o,
87
+ {
88
+ variant: "primary",
89
+ size: "default",
90
+ isDisabled: !I || t,
91
+ isLoading: t,
92
+ type: "submit",
93
+ onPress: () => {
94
+ m?.();
95
+ },
96
+ children: D
97
+ }
98
+ )
99
+ ] })
100
+ ] })
101
+ ] });
102
+ }
103
+ A.displayName = "InlineFieldGroupHeader";
104
+ export {
105
+ A as InlineFieldGroupHeader
106
+ };
@@ -0,0 +1,56 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export interface InlineFieldGroupReadViewProps extends PropsWithChildren {
3
+ /**
4
+ * Optional className for custom styling
5
+ */
6
+ className?: string;
7
+ }
8
+ /**
9
+ * InlineFieldGroupReadView displays content only when the parent InlineFieldGroup is in read mode.
10
+ * Wrap read-only data displays (like DefinitionList) in this component to show them when not editing.
11
+ * The component automatically hides its content when entering edit mode using the `hidden` attribute
12
+ * and `inert` for proper accessibility, ensuring screen readers and keyboard navigation skip it.
13
+ * @example Basic usage with DefinitionList
14
+ * ```tsx
15
+ * import { useTanstackUnityForm, DefinitionList, DefinitionItem } from '@payfit/unity-components'
16
+ *
17
+ * function Example() {
18
+ * const form = useTanstackUnityForm({ defaultValues: { email: 'john@example.com' } })
19
+ *
20
+ * return (
21
+ * <form.AppForm>
22
+ * <form.InlineFieldGroup>
23
+ * <form.InlineFieldGroupHeader title="Contact" />
24
+ * <form.InlineFieldGroupReadView>
25
+ * <form.Subscribe selector={state => state.values}>
26
+ * {values => (
27
+ * <DefinitionList>
28
+ * <DefinitionItem term="Email" description={values.email} />
29
+ * </DefinitionList>
30
+ * )}
31
+ * </form.Subscribe>
32
+ * </form.InlineFieldGroupReadView>
33
+ * <form.InlineFieldGroupEditView legend="Edit contact">
34
+ * <form.AppField name="email">
35
+ * {field => <field.TextField label="Email" />}
36
+ * </form.AppField>
37
+ * </form.InlineFieldGroupEditView>
38
+ * </form.InlineFieldGroup>
39
+ * </form.AppForm>
40
+ * )
41
+ * }
42
+ * ```
43
+ * @remarks
44
+ * - Must be used as a child of InlineFieldGroup
45
+ * - Use `form.Subscribe` to display current form values that update after saving
46
+ * - The content remains in the DOM but is hidden with `hidden` and `inert` attributes in edit mode
47
+ * @see {@link InlineFieldGroupReadViewProps} for all available props
48
+ * @see {@link InlineFieldGroup} for the parent container component
49
+ * @see {@link InlineFieldGroupEditView} for the corresponding edit mode component
50
+ * @see Source code in {@link https://github.com/PayFit/hr-apps/tree/master/libs/shared/unity/components/src/components/inline-field-group GitHub}
51
+ * @see Developer docs in {@link https://unity-components.payfit.io/?path=/docs/forms-reference-inlinefieldgroup--docs unity-components.payfit.io}
52
+ */
53
+ export declare function InlineFieldGroupReadView({ children, className, }: InlineFieldGroupReadViewProps): import("react/jsx-runtime").JSX.Element;
54
+ export declare namespace InlineFieldGroupReadView {
55
+ var displayName: string;
56
+ }
@@ -0,0 +1,28 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { useContext as d } from "react";
3
+ import { InlineFieldGroupContext as t } from "../InlineFieldGroup.context.js";
4
+ function l({
5
+ children: n,
6
+ className: o
7
+ }) {
8
+ const i = d(t);
9
+ if (!i)
10
+ throw new Error(
11
+ "InlineFieldGroupReadView must be used within InlineFieldGroup"
12
+ );
13
+ const e = i.mode === "read";
14
+ return /* @__PURE__ */ r(
15
+ "div",
16
+ {
17
+ className: o,
18
+ hidden: !e,
19
+ "aria-hidden": !e,
20
+ ...!e && { inert: "" },
21
+ children: n
22
+ }
23
+ );
24
+ }
25
+ l.displayName = "InlineFieldGroupReadView";
26
+ export {
27
+ l as InlineFieldGroupReadView
28
+ };
@@ -1,20 +1,29 @@
1
- import { jsx as u } from "react/jsx-runtime";
2
- import { forwardRef as y } from "react";
3
- import { uyTv as t } from "@payfit/unity-themes";
4
- const a = t({
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { forwardRef as i, Children as a, isValidElement as m, cloneElement as l } from "react";
3
+ import { uyTv as p } from "@payfit/unity-themes";
4
+ import { useBreakpointListener as f } from "../../../hooks/use-breakpoint-listener.js";
5
+ import { Button as d } from "../../button/Button.js";
6
+ import { DialogButton as b } from "../../dialog/parts/DialogActions/DialogButton.js";
7
+ const c = p({
5
8
  base: [
6
9
  "uy:py-200 uy:px-300 uy:w-full",
7
- "uy:flex uy:items-center uy:justify-end uy:gap-100 uy:shrink-0",
10
+ "uy:flex uy:items-center uy:justify-end uy:gap-100 uy:shrink-0 uy:flex-col uy:md:flex-row",
8
11
  "uy:bg-surface-neutral uy:rounded-bl-200 uy:rounded-br-200 uy:border-t uy:border-solid uy:border-t-solid uy:border-border-neutral",
9
12
  "uy:sticky uy:bottom-0 uy:z-10",
10
13
  "uy:mt-auto",
11
14
  "uy:pb-[max(env(safe-area-inset-bottom),var(--uy-spacing-200))] uy:md:pb-200"
12
15
  ]
13
- }), d = y(
14
- ({ children: e, ...r }, o) => /* @__PURE__ */ u("footer", { ref: o, className: a(), ...r, children: e })
16
+ }), x = i(
17
+ ({ children: r, ...t }, u) => {
18
+ const o = f(), n = o === "xs" || o === "sm", y = a.map(r, (e) => m(e) && (e.type === d || e.type === b) ? l(e, {
19
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
20
+ size: n ? "full" : e.props.size
21
+ }) : e);
22
+ return /* @__PURE__ */ s("footer", { ref: u, className: c(), ...t, children: y });
23
+ }
15
24
  );
16
- d.displayName = "SidePanelFooter";
25
+ x.displayName = "SidePanelFooter";
17
26
  export {
18
- d as SidePanelFooter,
19
- a as sidePanelFooter
27
+ x as SidePanelFooter,
28
+ c as sidePanelFooter
20
29
  };
@@ -1 +1 @@
1
- export declare const fieldContext: import('react').Context<import('@tanstack/react-form').AnyFieldApi>, formContext: import('react').Context<import('@tanstack/react-form').AnyFormApi>, useFieldContext: <TData>() => import('@tanstack/react-form').FieldApi<any, string, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>, useFormContext: () => import('@tanstack/react-form').ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
1
+ export declare const fieldContext: import('react').Context<import('@tanstack/form-core').AnyFieldApi>, formContext: import('react').Context<import('@tanstack/form-core').AnyFormApi>, useFieldContext: <TData>() => import('@tanstack/form-core').FieldApi<any, string, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>, useFormContext: () => import('@tanstack/react-form').ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
@@ -1,5 +1,5 @@
1
1
  import { MultiSelectComponent } from '../components/multi-select/MultiselectTypes.js';
2
- export declare const useTanstackUnityForm: <TFormData, TOnMount extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnChange extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: import('@tanstack/react-form').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, {
2
+ export declare const useTanstackUnityForm: <TFormData, TOnMount extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnChange extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: import('@tanstack/form-core').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, {
3
3
  readonly FieldFeedbackText: import('react').ForwardRefExoticComponent<import('../components/form-field/parts/TanstackFormFeedbackText.js').TanstackFormFeedbackTextProps & import('react').RefAttributes<HTMLSpanElement>>;
4
4
  readonly FieldHelperText: import('react').ForwardRefExoticComponent<import('../components/form-field/parts/TanstackFormHelperText.js').TanstackFormHelperTextProps & import('react').RefAttributes<HTMLSpanElement>>;
5
5
  readonly FieldLabel: import('react').ForwardRefExoticComponent<import('../index.js').LabelProps & import('react').RefAttributes<HTMLLabelElement>>;
@@ -59,8 +59,12 @@ export declare const useTanstackUnityForm: <TFormData, TOnMount extends import('
59
59
  readonly ToggleSwitchGroupField: import('react').ForwardRefExoticComponent<import('../components/toggle-switch-group-field/TanstackToggleSwitchGroupField.js').TanstackToggleSwitchGroupFieldProps & import('react').RefAttributes<HTMLFieldSetElement>>;
60
60
  }, {
61
61
  readonly Form: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & import('react').RefAttributes<HTMLFormElement>>;
62
+ readonly InlineFieldGroup: import('react').ForwardRefExoticComponent<import('../components/inline-field-group/InlineFieldGroup.js').InlineFieldGroupProps & import('react').RefAttributes<import('../components/inline-field-group/InlineFieldGroup.js').InlineFieldGroupHandle>>;
63
+ readonly InlineFieldGroupHeader: typeof import('../components/inline-field-group/parts/InlineFieldGroupHeader.js').InlineFieldGroupHeader;
64
+ readonly InlineFieldGroupReadView: typeof import('../components/inline-field-group/parts/InlineFieldGroupReadView.js').InlineFieldGroupReadView;
65
+ readonly InlineFieldGroupEditView: typeof import('../components/inline-field-group/parts/InlineFieldGroupEditView.js').InlineFieldGroupEditView;
62
66
  }>;
63
- export declare const withForm: <TFormData, TOnMount extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnChange extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({ render, props, }: import('@tanstack/react-form').WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
67
+ export declare const withForm: <TFormData, TOnMount extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnChange extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({ render, props, }: import('@tanstack/react-form').WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
64
68
  readonly FieldFeedbackText: import('react').ForwardRefExoticComponent<import('../components/form-field/parts/TanstackFormFeedbackText.js').TanstackFormFeedbackTextProps & import('react').RefAttributes<HTMLSpanElement>>;
65
69
  readonly FieldHelperText: import('react').ForwardRefExoticComponent<import('../components/form-field/parts/TanstackFormHelperText.js').TanstackFormHelperTextProps & import('react').RefAttributes<HTMLSpanElement>>;
66
70
  readonly FieldLabel: import('react').ForwardRefExoticComponent<import('../index.js').LabelProps & import('react').RefAttributes<HTMLLabelElement>>;
@@ -120,8 +124,12 @@ export declare const withForm: <TFormData, TOnMount extends import('@tanstack/re
120
124
  readonly ToggleSwitchGroupField: import('react').ForwardRefExoticComponent<import('../components/toggle-switch-group-field/TanstackToggleSwitchGroupField.js').TanstackToggleSwitchGroupFieldProps & import('react').RefAttributes<HTMLFieldSetElement>>;
121
125
  }, {
122
126
  readonly Form: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & import('react').RefAttributes<HTMLFormElement>>;
123
- }, TRenderProps>) => (props: import('react').PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
124
- form: import('@tanstack/react-form').AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
127
+ readonly InlineFieldGroup: import('react').ForwardRefExoticComponent<import('../components/inline-field-group/InlineFieldGroup.js').InlineFieldGroupProps & import('react').RefAttributes<import('../components/inline-field-group/InlineFieldGroup.js').InlineFieldGroupHandle>>;
128
+ readonly InlineFieldGroupHeader: typeof import('../components/inline-field-group/parts/InlineFieldGroupHeader.js').InlineFieldGroupHeader;
129
+ readonly InlineFieldGroupReadView: typeof import('../components/inline-field-group/parts/InlineFieldGroupReadView.js').InlineFieldGroupReadView;
130
+ readonly InlineFieldGroupEditView: typeof import('../components/inline-field-group/parts/InlineFieldGroupEditView.js').InlineFieldGroupEditView;
131
+ }, TRenderProps>) => import('react').FunctionComponent<import('react').PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
132
+ form: import('@tanstack/react-form').AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
125
133
  readonly FieldFeedbackText: import('react').ForwardRefExoticComponent<import('../components/form-field/parts/TanstackFormFeedbackText.js').TanstackFormFeedbackTextProps & import('react').RefAttributes<HTMLSpanElement>>;
126
134
  readonly FieldHelperText: import('react').ForwardRefExoticComponent<import('../components/form-field/parts/TanstackFormHelperText.js').TanstackFormHelperTextProps & import('react').RefAttributes<HTMLSpanElement>>;
127
135
  readonly FieldLabel: import('react').ForwardRefExoticComponent<import('../index.js').LabelProps & import('react').RefAttributes<HTMLLabelElement>>;
@@ -181,8 +189,12 @@ export declare const withForm: <TFormData, TOnMount extends import('@tanstack/re
181
189
  readonly ToggleSwitchGroupField: import('react').ForwardRefExoticComponent<import('../components/toggle-switch-group-field/TanstackToggleSwitchGroupField.js').TanstackToggleSwitchGroupFieldProps & import('react').RefAttributes<HTMLFieldSetElement>>;
182
190
  }, {
183
191
  readonly Form: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & import('react').RefAttributes<HTMLFormElement>>;
192
+ readonly InlineFieldGroup: import('react').ForwardRefExoticComponent<import('../components/inline-field-group/InlineFieldGroup.js').InlineFieldGroupProps & import('react').RefAttributes<import('../components/inline-field-group/InlineFieldGroup.js').InlineFieldGroupHandle>>;
193
+ readonly InlineFieldGroupHeader: typeof import('../components/inline-field-group/parts/InlineFieldGroupHeader.js').InlineFieldGroupHeader;
194
+ readonly InlineFieldGroupReadView: typeof import('../components/inline-field-group/parts/InlineFieldGroupReadView.js').InlineFieldGroupReadView;
195
+ readonly InlineFieldGroupEditView: typeof import('../components/inline-field-group/parts/InlineFieldGroupEditView.js').InlineFieldGroupEditView;
184
196
  }>;
185
- }>) => import('react').ReactNode;
197
+ }>>;
186
198
  export declare const withFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps extends object = {}>({ render, props, defaultValues, }: import('@tanstack/react-form').WithFieldGroupProps<TFieldGroupData, {
187
199
  readonly FieldFeedbackText: import('react').ForwardRefExoticComponent<import('../components/form-field/parts/TanstackFormFeedbackText.js').TanstackFormFeedbackTextProps & import('react').RefAttributes<HTMLSpanElement>>;
188
200
  readonly FieldHelperText: import('react').ForwardRefExoticComponent<import('../components/form-field/parts/TanstackFormHelperText.js').TanstackFormHelperTextProps & import('react').RefAttributes<HTMLSpanElement>>;
@@ -243,7 +255,11 @@ export declare const withFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps
243
255
  readonly ToggleSwitchGroupField: import('react').ForwardRefExoticComponent<import('../components/toggle-switch-group-field/TanstackToggleSwitchGroupField.js').TanstackToggleSwitchGroupFieldProps & import('react').RefAttributes<HTMLFieldSetElement>>;
244
256
  }, {
245
257
  readonly Form: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & import('react').RefAttributes<HTMLFormElement>>;
246
- }, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends import('@tanstack/react-form').DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | import('@tanstack/react-form').FieldsMap<TFormData, TFieldGroupData>, TOnMount extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnChange extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: import('react').PropsWithChildren<NoInfer<TRenderProps> & {
258
+ readonly InlineFieldGroup: import('react').ForwardRefExoticComponent<import('../components/inline-field-group/InlineFieldGroup.js').InlineFieldGroupProps & import('react').RefAttributes<import('../components/inline-field-group/InlineFieldGroup.js').InlineFieldGroupHandle>>;
259
+ readonly InlineFieldGroupHeader: typeof import('../components/inline-field-group/parts/InlineFieldGroupHeader.js').InlineFieldGroupHeader;
260
+ readonly InlineFieldGroupReadView: typeof import('../components/inline-field-group/parts/InlineFieldGroupReadView.js').InlineFieldGroupReadView;
261
+ readonly InlineFieldGroupEditView: typeof import('../components/inline-field-group/parts/InlineFieldGroupEditView.js').InlineFieldGroupEditView;
262
+ }, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends import('@tanstack/form-core').DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | import('@tanstack/form-core').FieldsMap<TFormData, TFieldGroupData>, TOnMount extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnChange extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: import('react').PropsWithChildren<NoInfer<TRenderProps> & {
247
263
  form: import('@tanstack/react-form').AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
248
264
  readonly FieldFeedbackText: import('react').ForwardRefExoticComponent<import('../components/form-field/parts/TanstackFormFeedbackText.js').TanstackFormFeedbackTextProps & import('react').RefAttributes<HTMLSpanElement>>;
249
265
  readonly FieldHelperText: import('react').ForwardRefExoticComponent<import('../components/form-field/parts/TanstackFormHelperText.js').TanstackFormHelperTextProps & import('react').RefAttributes<HTMLSpanElement>>;
@@ -304,7 +320,11 @@ export declare const withFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps
304
320
  readonly ToggleSwitchGroupField: import('react').ForwardRefExoticComponent<import('../components/toggle-switch-group-field/TanstackToggleSwitchGroupField.js').TanstackToggleSwitchGroupFieldProps & import('react').RefAttributes<HTMLFieldSetElement>>;
305
321
  }, {
306
322
  readonly Form: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & import('react').RefAttributes<HTMLFormElement>>;
307
- }> | import('@tanstack/react-form').AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | import('@tanstack/react-form').FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
323
+ readonly InlineFieldGroup: import('react').ForwardRefExoticComponent<import('../components/inline-field-group/InlineFieldGroup.js').InlineFieldGroupProps & import('react').RefAttributes<import('../components/inline-field-group/InlineFieldGroup.js').InlineFieldGroupHandle>>;
324
+ readonly InlineFieldGroupHeader: typeof import('../components/inline-field-group/parts/InlineFieldGroupHeader.js').InlineFieldGroupHeader;
325
+ readonly InlineFieldGroupReadView: typeof import('../components/inline-field-group/parts/InlineFieldGroupReadView.js').InlineFieldGroupReadView;
326
+ readonly InlineFieldGroupEditView: typeof import('../components/inline-field-group/parts/InlineFieldGroupEditView.js').InlineFieldGroupEditView;
327
+ }> | import('@tanstack/react-form').AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | import('@tanstack/form-core').FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
308
328
  readonly FieldFeedbackText: import('react').ForwardRefExoticComponent<import('../components/form-field/parts/TanstackFormFeedbackText.js').TanstackFormFeedbackTextProps & import('react').RefAttributes<HTMLSpanElement>>;
309
329
  readonly FieldHelperText: import('react').ForwardRefExoticComponent<import('../components/form-field/parts/TanstackFormHelperText.js').TanstackFormHelperTextProps & import('react').RefAttributes<HTMLSpanElement>>;
310
330
  readonly FieldLabel: import('react').ForwardRefExoticComponent<import('../index.js').LabelProps & import('react').RefAttributes<HTMLLabelElement>>;
@@ -364,6 +384,10 @@ export declare const withFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps
364
384
  readonly ToggleSwitchGroupField: import('react').ForwardRefExoticComponent<import('../components/toggle-switch-group-field/TanstackToggleSwitchGroupField.js').TanstackToggleSwitchGroupFieldProps & import('react').RefAttributes<HTMLFieldSetElement>>;
365
385
  }, {
366
386
  readonly Form: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & import('react').RefAttributes<HTMLFormElement>>;
387
+ readonly InlineFieldGroup: import('react').ForwardRefExoticComponent<import('../components/inline-field-group/InlineFieldGroup.js').InlineFieldGroupProps & import('react').RefAttributes<import('../components/inline-field-group/InlineFieldGroup.js').InlineFieldGroupHandle>>;
388
+ readonly InlineFieldGroupHeader: typeof import('../components/inline-field-group/parts/InlineFieldGroupHeader.js').InlineFieldGroupHeader;
389
+ readonly InlineFieldGroupReadView: typeof import('../components/inline-field-group/parts/InlineFieldGroupReadView.js').InlineFieldGroupReadView;
390
+ readonly InlineFieldGroupEditView: typeof import('../components/inline-field-group/parts/InlineFieldGroupEditView.js').InlineFieldGroupEditView;
367
391
  }>;
368
392
  fields: TFields;
369
- }>) => import('react').ReactNode;
393
+ }>) => ReturnType<import('react').FunctionComponent>;
@@ -1,12 +1,12 @@
1
1
  import { lazy as e } from "react";
2
2
  import { createFormHook as o } from "@tanstack/react-form";
3
3
  import { TanstackForm as n } from "../components/form/TanstackForm.js";
4
- import { formContext as c, fieldContext as l } from "./tanstack-form-context.js";
5
- const r = e(
4
+ import { formContext as l, fieldContext as c } from "./tanstack-form-context.js";
5
+ const i = e(
6
6
  () => import("../components/checkbox-field/TanstackCheckboxField.js").then((t) => ({
7
7
  default: t.TanstackCheckboxField
8
8
  }))
9
- ), i = e(
9
+ ), r = e(
10
10
  () => import("../components/form-field/parts/TanstackFormFeedbackText.js").then(
11
11
  (t) => ({
12
12
  default: t.TanstackFormFeedbackText
@@ -20,13 +20,13 @@ const r = e(
20
20
  () => import("../components/form-field/parts/TanstackFormLabel.js").then((t) => ({
21
21
  default: t.TanstackFormLabel
22
22
  }))
23
- ), s = e(
23
+ ), p = e(
24
24
  () => import("../components/form-field/parts/TanstackRawFormContextualLink.js").then(
25
25
  (t) => ({
26
26
  default: t.TanstackRawFormContextualLink
27
27
  })
28
28
  )
29
- ), p = e(
29
+ ), s = e(
30
30
  () => import("../components/form-field/TanstackFormField.js").then((t) => ({
31
31
  default: t.TanstackFormField
32
32
  }))
@@ -42,11 +42,11 @@ const r = e(
42
42
  () => import("../components/date-picker/TanstackDatePicker.js").then((t) => ({
43
43
  default: t.TanstackDatePicker
44
44
  }))
45
- ), h = e(
45
+ ), F = e(
46
46
  () => import("../components/multi-select/TanstackMultiSelect.js").then((t) => ({
47
47
  default: t.TanstackMultiSelect
48
48
  }))
49
- ), F = e(
49
+ ), h = e(
50
50
  () => import("../components/phone-number/TanstackPhoneNumberInput.js").then((t) => ({
51
51
  default: t.TanstackPhoneNumberInput
52
52
  }))
@@ -60,17 +60,17 @@ const r = e(
60
60
  () => import("../components/number-input/TanstackNumberInput.js").then((t) => ({
61
61
  default: t.TanstackNumberInput
62
62
  }))
63
- ), S = e(
63
+ ), G = e(
64
64
  () => import("../components/radio-button-group/TanstackRadioButtonGroup.js").then(
65
65
  (t) => ({
66
66
  default: t.TanstackRadioButtonGroup
67
67
  })
68
68
  )
69
- ), C = e(
69
+ ), S = e(
70
70
  () => import("../components/selectable-button-group/TanstackSelectableButtonGroup.js").then((t) => ({
71
71
  default: t.TanstackSelectableButtonGroup
72
72
  }))
73
- ), G = e(
73
+ ), C = e(
74
74
  () => import("../components/selectable-card/selectable-card-checkbox-group/TanstackSelectableCardCheckboxGroup.js").then((t) => ({
75
75
  default: t.TanstackSelectableCardCheckboxGroup
76
76
  }))
@@ -78,11 +78,11 @@ const r = e(
78
78
  () => import("../components/selectable-card/selectable-card-radio-group/TanstackSelectableCardRadioGroup.js").then((t) => ({
79
79
  default: t.TanstackSelectableCardRadioGroup
80
80
  }))
81
- ), g = e(
81
+ ), I = e(
82
82
  () => import("../components/select/TanstackSelect.js").then((t) => ({
83
83
  default: t.TanstackSelect
84
84
  }))
85
- ), I = e(
85
+ ), g = e(
86
86
  () => import("../components/text-area/TanstackTextArea.js").then((t) => ({
87
87
  default: t.TanstackTextArea
88
88
  }))
@@ -112,21 +112,21 @@ const r = e(
112
112
  default: t.TanstackDatePickerField
113
113
  })
114
114
  )
115
- ), D = e(
115
+ ), H = e(
116
116
  () => import("../components/multi-select-field/TanstackMultiSelectField.js").then(
117
117
  (t) => ({
118
118
  default: t.TanstackMultiSelectField
119
119
  })
120
120
  )
121
- ), L = e(
121
+ ), D = e(
122
122
  () => import("../components/number-field/TanstackNumberField.js").then((t) => ({
123
123
  default: t.TanstackNumberField
124
124
  }))
125
- ), M = e(
125
+ ), L = e(
126
126
  () => import("../components/radio-button-group-field/TanstackRadioButtonGroupField.js").then((t) => ({
127
127
  default: t.TanstackRadioButtonGroupField
128
128
  }))
129
- ), H = e(
129
+ ), M = e(
130
130
  () => import("../components/select-field/TanstackSelectField.js").then((t) => ({
131
131
  default: t.TanstackSelectField
132
132
  }))
@@ -134,76 +134,99 @@ const r = e(
134
134
  () => import("../components/selectable-button-group-field/TanstackSelectableButtonGroupField.js").then((t) => ({
135
135
  default: t.TanstackSelectableButtonGroupField
136
136
  }))
137
- ), y = e(
137
+ ), V = e(
138
138
  () => import("../components/selectable-card-checkbox-group-field/TanstackSelectableCardCheckboxGroupField.js").then((t) => ({
139
139
  default: t.TanstackSelectableCardCheckboxGroupField
140
140
  }))
141
- ), z = e(
141
+ ), y = e(
142
142
  () => import("../components/selectable-card-radio-group-field/TanstackSelectableCardRadioGroupField.js").then((t) => ({
143
143
  default: t.TanstackSelectableCardRadioGroupField
144
144
  }))
145
- ), U = e(
145
+ ), E = e(
146
146
  () => import("../components/text-field/TanstackTextField.js").then((t) => ({
147
147
  default: t.TanstackTextField
148
148
  }))
149
- ), j = e(
149
+ ), z = e(
150
150
  () => import("../components/toggle-switch-field/TanstackToggleSwitchField.js").then(
151
151
  (t) => ({
152
152
  default: t.TanstackToggleSwitchField
153
153
  })
154
154
  )
155
- ), q = e(
155
+ ), U = e(
156
156
  () => import("../components/toggle-switch-group-field/TanstackToggleSwitchGroupField.js").then((t) => ({
157
157
  default: t.TanstackToggleSwitchGroupField
158
158
  }))
159
+ ), j = e(
160
+ () => import("../components/inline-field-group/InlineFieldGroup.js").then((t) => ({
161
+ default: t.InlineFieldGroup
162
+ }))
163
+ ), q = e(
164
+ () => import("../components/inline-field-group/parts/InlineFieldGroupHeader.js").then(
165
+ (t) => ({
166
+ default: t.InlineFieldGroupHeader
167
+ })
168
+ )
169
+ ), v = e(
170
+ () => import("../components/inline-field-group/parts/InlineFieldGroupReadView.js").then((t) => ({
171
+ default: t.InlineFieldGroupReadView
172
+ }))
173
+ ), J = e(
174
+ () => import("../components/inline-field-group/parts/InlineFieldGroupEditView.js").then((t) => ({
175
+ default: t.InlineFieldGroupEditView
176
+ }))
159
177
  ), a = o({
160
178
  fieldComponents: {
161
179
  // Base components for field building
162
- FieldFeedbackText: i,
180
+ FieldFeedbackText: r,
163
181
  FieldHelperText: u,
164
182
  FieldLabel: d,
165
- FieldRawContextualLink: s,
166
- Field: p,
183
+ FieldRawContextualLink: p,
184
+ Field: s,
167
185
  // bound input components
168
186
  CheckboxGroupInput: k,
169
187
  CheckboxInput: T,
170
188
  DatePickerInput: m,
171
- MultiSelectInput: h,
172
- PhoneNumberInput: F,
189
+ MultiSelectInput: F,
190
+ PhoneNumberInput: h,
173
191
  NumberInput: f,
174
- RadioButtonInput: S,
175
- SelectableButtonGroupInput: C,
176
- SelectableCardCheckboxGroupInput: G,
192
+ RadioButtonInput: G,
193
+ SelectableButtonGroupInput: S,
194
+ SelectableCardCheckboxGroupInput: C,
177
195
  SelectableCardRadioGroupInput: x,
178
- SelectInput: g,
179
- TextAreaInput: I,
196
+ SelectInput: I,
197
+ TextAreaInput: g,
180
198
  TextInput: w,
181
199
  ToggleSwitchGroupInput: R,
182
200
  ToggleSwitchInput: B,
183
201
  // Field organisms
184
- CheckboxField: r,
202
+ CheckboxField: i,
185
203
  CheckboxGroupField: N,
186
204
  DatePickerField: P,
187
- MultiSelectField: D,
188
- NumberField: L,
205
+ MultiSelectField: H,
206
+ NumberField: D,
189
207
  PhoneNumberField: b,
190
- RadioButtonGroupField: M,
208
+ RadioButtonGroupField: L,
191
209
  SelectableButtonGroupField: A,
192
- SelectableCardCheckboxGroupField: y,
193
- SelectableCardRadioGroupField: z,
194
- SelectField: H,
195
- TextField: U,
196
- ToggleSwitchField: j,
197
- ToggleSwitchGroupField: q
210
+ SelectableCardCheckboxGroupField: V,
211
+ SelectableCardRadioGroupField: y,
212
+ SelectField: M,
213
+ TextField: E,
214
+ ToggleSwitchField: z,
215
+ ToggleSwitchGroupField: U
198
216
  },
199
217
  formComponents: {
200
- Form: n
218
+ Form: n,
219
+ // Inline Edition components
220
+ InlineFieldGroup: j,
221
+ InlineFieldGroupHeader: q,
222
+ InlineFieldGroupReadView: v,
223
+ InlineFieldGroupEditView: J
201
224
  },
202
- fieldContext: l,
203
- formContext: c
204
- }), O = a.useAppForm, Q = a.withForm, V = a.withFieldGroup;
225
+ fieldContext: c,
226
+ formContext: l
227
+ }), X = a.useAppForm, Y = a.withForm, Z = a.withFieldGroup;
205
228
  export {
206
- O as useTanstackUnityForm,
207
- V as withFieldGroup,
208
- Q as withForm
229
+ X as useTanstackUnityForm,
230
+ Z as withFieldGroup,
231
+ Y as withForm
209
232
  };
@@ -18,6 +18,7 @@ export * from './components/autocomplete/parts/AutocompleteItem.js';
18
18
  export * from './components/autocomplete/parts/AutocompleteItemGroup.js';
19
19
  export * from './components/avatar/Avatar.js';
20
20
  export * from './components/avatar/parts/AvatarFallback.js';
21
+ export * from './components/avatar/parts/AvatarIcon.js';
21
22
  export * from './components/avatar/parts/AvatarImage.js';
22
23
  export * from './components/avatar/parts/AvatarPair.js';
23
24
  export * from './components/avatar/utils.js';