@tanstack/vue-form 0.13.3 → 0.13.5
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/createFormFactory.d.cts +1 -1
- package/dist/cjs/index.d.cts +4 -4
- package/dist/cjs/useField.d.cts +1 -1
- package/dist/cjs/useForm.d.cts +1 -1
- package/dist/esm/createFormFactory.d.ts +1 -1
- package/dist/esm/index.d.ts +4 -4
- package/dist/esm/useField.d.ts +1 -1
- package/dist/esm/useForm.d.ts +1 -1
- package/package.json +3 -3
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { FormApi, FormOptions, Validator } from '@tanstack/form-core';
|
2
|
-
import { type UseField, type FieldComponent } from './useField';
|
2
|
+
import { type UseField, type FieldComponent } from './useField.cjs';
|
3
3
|
export type FormFactory<TFormData, TFormValidator extends Validator<TFormData, unknown> | undefined = undefined> = {
|
4
4
|
useForm: (opts?: FormOptions<TFormData, TFormValidator>) => FormApi<TFormData, TFormValidator>;
|
5
5
|
useField: UseField<TFormData, TFormValidator>;
|
package/dist/cjs/index.d.cts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
export * from '@tanstack/form-core';
|
2
|
-
export * from './createFormFactory';
|
3
|
-
export * from './formContext';
|
4
|
-
export * from './useField';
|
5
|
-
export * from './useForm';
|
2
|
+
export * from './createFormFactory.cjs';
|
3
|
+
export * from './formContext.cjs';
|
4
|
+
export * from './useField.cjs';
|
5
|
+
export * from './useForm.cjs';
|
package/dist/cjs/useField.d.cts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { FieldApi, type Validator } from '@tanstack/form-core';
|
2
2
|
import type { DeepKeys, DeepValue, Narrow } from '@tanstack/form-core';
|
3
3
|
import type { SlotsType, SetupContext, Ref } from 'vue';
|
4
|
-
import type { UseFieldOptions } from './types';
|
4
|
+
import type { UseFieldOptions } from './types.cjs';
|
5
5
|
declare module '@tanstack/form-core' {
|
6
6
|
interface FieldApi<TParentData, TName extends DeepKeys<TParentData>, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData = DeepValue<TParentData, TName>> {
|
7
7
|
Field: FieldComponent<TParentData, TFormValidator>;
|
package/dist/cjs/useForm.d.cts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FormApi, type FormState, type FormOptions, type Validator } from '@tanstack/form-core';
|
2
2
|
import { type NoInfer } from '@tanstack/vue-store';
|
3
|
-
import { type UseField, type FieldComponent } from './useField';
|
3
|
+
import { type UseField, type FieldComponent } from './useField.cjs';
|
4
4
|
import { type EmitsOptions, type SlotsType, type SetupContext, type Ref } from 'vue';
|
5
5
|
declare module '@tanstack/form-core' {
|
6
6
|
interface FormApi<TFormData, TFormValidator> {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { FormApi, FormOptions, Validator } from '@tanstack/form-core';
|
2
|
-
import { type UseField, type FieldComponent } from './useField';
|
2
|
+
import { type UseField, type FieldComponent } from './useField.js';
|
3
3
|
export type FormFactory<TFormData, TFormValidator extends Validator<TFormData, unknown> | undefined = undefined> = {
|
4
4
|
useForm: (opts?: FormOptions<TFormData, TFormValidator>) => FormApi<TFormData, TFormValidator>;
|
5
5
|
useField: UseField<TFormData, TFormValidator>;
|
package/dist/esm/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
export * from '@tanstack/form-core';
|
2
|
-
export * from './createFormFactory';
|
3
|
-
export * from './formContext';
|
4
|
-
export * from './useField';
|
5
|
-
export * from './useForm';
|
2
|
+
export * from './createFormFactory.js';
|
3
|
+
export * from './formContext.js';
|
4
|
+
export * from './useField.js';
|
5
|
+
export * from './useForm.js';
|
package/dist/esm/useField.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { FieldApi, type Validator } from '@tanstack/form-core';
|
2
2
|
import type { DeepKeys, DeepValue, Narrow } from '@tanstack/form-core';
|
3
3
|
import type { SlotsType, SetupContext, Ref } from 'vue';
|
4
|
-
import type { UseFieldOptions } from './types';
|
4
|
+
import type { UseFieldOptions } from './types.js';
|
5
5
|
declare module '@tanstack/form-core' {
|
6
6
|
interface FieldApi<TParentData, TName extends DeepKeys<TParentData>, TFieldValidator extends Validator<DeepValue<TParentData, TName>, unknown> | undefined = undefined, TFormValidator extends Validator<TParentData, unknown> | undefined = undefined, TData = DeepValue<TParentData, TName>> {
|
7
7
|
Field: FieldComponent<TParentData, TFormValidator>;
|
package/dist/esm/useForm.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FormApi, type FormState, type FormOptions, type Validator } from '@tanstack/form-core';
|
2
2
|
import { type NoInfer } from '@tanstack/vue-store';
|
3
|
-
import { type UseField, type FieldComponent } from './useField';
|
3
|
+
import { type UseField, type FieldComponent } from './useField.js';
|
4
4
|
import { type EmitsOptions, type SlotsType, type SetupContext, type Ref } from 'vue';
|
5
5
|
declare module '@tanstack/form-core' {
|
6
6
|
interface FormApi<TFormData, TFormValidator> {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tanstack/vue-form",
|
3
|
-
"version": "0.13.
|
3
|
+
"version": "0.13.5",
|
4
4
|
"description": "Powerful, type-safe forms for Vue.",
|
5
5
|
"author": "tannerlinsley",
|
6
6
|
"license": "MIT",
|
@@ -33,8 +33,8 @@
|
|
33
33
|
"src"
|
34
34
|
],
|
35
35
|
"dependencies": {
|
36
|
-
"@tanstack/vue-store": "0.1
|
37
|
-
"@tanstack/form-core": "0.13.
|
36
|
+
"@tanstack/vue-store": "^0.3.1",
|
37
|
+
"@tanstack/form-core": "0.13.5"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
40
|
"@vitejs/plugin-vue": "^5.0.2",
|