@tanstack/vue-form 0.28.0 → 0.29.1

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.
@@ -1,5 +1,4 @@
1
1
  import { DeepKeys, DeepValue, FieldApiOptions, Validator } from '@tanstack/form-core';
2
-
3
2
  export type UseFieldOptions<TParentData, TName extends DeepKeys<TParentData>, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = FieldApiOptions<TParentData, TName, TFieldValidator, TFormValidator, TData> & {
4
3
  mode?: 'value' | 'array';
5
4
  };
@@ -1,7 +1,6 @@
1
1
  import { FieldApi, DeepKeys, DeepValue, Validator } from '@tanstack/form-core';
2
2
  import { Ref, SetupContext, SlotsType } from 'vue';
3
3
  import { UseFieldOptions } from './types.cjs';
4
-
5
4
  interface VueFieldApi<TParentData, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined> {
6
5
  Field: FieldComponent<TParentData, TFormValidator>;
7
6
  }
@@ -2,7 +2,6 @@ import { FormApi, FormOptions, FormState, Validator } from '@tanstack/form-core'
2
2
  import { NoInfer } from '@tanstack/vue-store';
3
3
  import { EmitsOptions, Ref, SetupContext, SlotsType } from 'vue';
4
4
  import { FieldComponent, UseField } from './useField.cjs';
5
-
6
5
  interface VueFormApi<TFormData, TFormValidator extends Validator<TFormData, unknown> | undefined = undefined> {
7
6
  Field: FieldComponent<TFormData, TFormValidator>;
8
7
  useField: UseField<TFormData, TFormValidator>;
@@ -1,5 +1,4 @@
1
1
  import { DeepKeys, DeepValue, FieldApiOptions, Validator } from '@tanstack/form-core';
2
-
3
2
  export type UseFieldOptions<TParentData, TName extends DeepKeys<TParentData>, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = FieldApiOptions<TParentData, TName, TFieldValidator, TFormValidator, TData> & {
4
3
  mode?: 'value' | 'array';
5
4
  };
@@ -1,7 +1,6 @@
1
1
  import { FieldApi, DeepKeys, DeepValue, Validator } from '@tanstack/form-core';
2
2
  import { Ref, SetupContext, SlotsType } from 'vue';
3
3
  import { UseFieldOptions } from './types.js';
4
-
5
4
  interface VueFieldApi<TParentData, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined> {
6
5
  Field: FieldComponent<TParentData, TFormValidator>;
7
6
  }
@@ -2,7 +2,6 @@ import { FormApi, FormOptions, FormState, Validator } from '@tanstack/form-core'
2
2
  import { NoInfer } from '@tanstack/vue-store';
3
3
  import { EmitsOptions, Ref, SetupContext, SlotsType } from 'vue';
4
4
  import { FieldComponent, UseField } from './useField.js';
5
-
6
5
  interface VueFormApi<TFormData, TFormValidator extends Validator<TFormData, unknown> | undefined = undefined> {
7
6
  Field: FieldComponent<TFormData, TFormValidator>;
8
7
  useField: UseField<TFormData, TFormValidator>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/vue-form",
3
- "version": "0.28.0",
3
+ "version": "0.29.1",
4
4
  "description": "Powerful, type-safe forms for Vue.",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@vitejs/plugin-vue": "^5.1.2",
45
- "vite": "^5.3.5",
45
+ "vite": "^5.4.0",
46
46
  "vue": "^3.3.4"
47
47
  },
48
48
  "peerDependencies": {