@tanstack/vue-form 0.27.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.
package/dist/cjs/types.d.cts
CHANGED
@@ -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
|
};
|
package/dist/cjs/useField.d.cts
CHANGED
@@ -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
|
}
|
package/dist/cjs/useForm.d.cts
CHANGED
@@ -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>;
|
package/dist/esm/types.d.ts
CHANGED
@@ -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
|
};
|
package/dist/esm/useField.d.ts
CHANGED
@@ -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
|
}
|
package/dist/esm/useForm.d.ts
CHANGED
@@ -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.
|
3
|
+
"version": "0.29.1",
|
4
4
|
"description": "Powerful, type-safe forms for Vue.",
|
5
5
|
"author": "tannerlinsley",
|
6
6
|
"license": "MIT",
|
@@ -38,11 +38,11 @@
|
|
38
38
|
],
|
39
39
|
"dependencies": {
|
40
40
|
"@tanstack/vue-store": "^0.5.5",
|
41
|
-
"@tanstack/form-core": "0.
|
41
|
+
"@tanstack/form-core": "0.28.0"
|
42
42
|
},
|
43
43
|
"devDependencies": {
|
44
44
|
"@vitejs/plugin-vue": "^5.1.2",
|
45
|
-
"vite": "^5.
|
45
|
+
"vite": "^5.4.0",
|
46
46
|
"vue": "^3.3.4"
|
47
47
|
},
|
48
48
|
"peerDependencies": {
|