Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update deps #1057

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.15.1
22.12.0
4 changes: 3 additions & 1 deletion docs/framework/angular/reference/functions/injectform.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ function injectForm<TFormData, TFormValidator>(opts?): FormApi<TFormData, TFormV

## Parameters

• **opts?**: `FormOptions`\<`TFormData`, `TFormValidator`\>
### opts?

`FormOptions`\<`TFormData`, `TFormValidator`\>

## Returns

Expand Down
8 changes: 6 additions & 2 deletions docs/framework/angular/reference/functions/injectstore.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ function injectStore<TFormData, TFormValidator, TSelected>(form, selector?): Sig

## Parameters

• **form**: `FormApi`\<`TFormData`, `TFormValidator`\>
### form

• **selector?**
`FormApi`\<`TFormData`, `TFormValidator`\>

### selector?

(`state`) => `TSelected`

## Returns

Expand Down
22 changes: 15 additions & 7 deletions docs/framework/lit/reference/classes/tanstackformcontroller.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,13 @@ new TanStackFormController<TParentData, TFormValidator>(host, config?): TanStack

#### Parameters

• **host**: `ReactiveControllerHost`
##### host

• **config?**: `FormOptions`\<`TParentData`, `TFormValidator`\>
`ReactiveControllerHost`

##### config?

`FormOptions`\<`TParentData`, `TFormValidator`\>

#### Returns

Expand Down Expand Up @@ -67,9 +71,13 @@ field<TName, TFieldValidator, TData>(fieldConfig, render): object

#### Parameters

• **fieldConfig**: `FieldOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>
##### fieldConfig

`FieldOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>

##### render

• **render**: `renderCallback`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>
`renderCallback`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>

#### Returns

Expand All @@ -81,19 +89,19 @@ field<TName, TFieldValidator, TData>(fieldConfig, render): object
values: object;
```

##### values.form
###### values.form

```ts
form: FormApi<TParentData, TFormValidator>;
```

##### values.options
###### values.options

```ts
options: FieldOptions<TParentData, TName, TFieldValidator, TFormValidator, TData>;
```

##### values.render
###### values.render

```ts
render: renderCallback<TParentData, TName, TFieldValidator, TFormValidator, TData>;
Expand Down
4 changes: 3 additions & 1 deletion docs/framework/react/reference/functions/field.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ The `Field` component uses the `useField` hook internally to manage the field in

## Parameters

• **\_\_namedParameters**: `FieldComponentProps`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>
### \_\_namedParameters

`FieldComponentProps`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>

## Returns

Expand Down
4 changes: 3 additions & 1 deletion docs/framework/react/reference/functions/usefield.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ A hook for managing a field in a form.

## Parameters

• **opts**: `UseFieldOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>
### opts

`UseFieldOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>

An object with field options.

Expand Down
4 changes: 3 additions & 1 deletion docs/framework/react/reference/functions/useform.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ This API encapsulates all the necessary functionalities related to the form. It

## Parameters

• **opts?**: `FormOptions`\<`TFormData`, `TFormValidator`\>
### opts?

`FormOptions`\<`TFormData`, `TFormValidator`\>

## Returns

Expand Down
8 changes: 6 additions & 2 deletions docs/framework/react/reference/functions/usetransform.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ function useTransform<TFormData, TFormValidator>(fn, deps): FormTransform<TFormD

## Parameters

• **fn**
### fn

• **deps**: `unknown`[]
(`formBase`) => `FormApi`\<`TFormData`, `TFormValidator`\>

### deps

`unknown`[]

## Returns

Expand Down
14 changes: 10 additions & 4 deletions docs/framework/react/reference/interfaces/reactformapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,15 @@ A `Subscribe` function that allows you to listen and react to changes in the for

#### Parameters

• **props**
##### props

• **props.children**: `ReactNode` \| (`state`) => `ReactNode`
###### children

• **props.selector?**
`ReactNode` \| (`state`) => `ReactNode`

###### selector

(`state`) => `TSelected`

#### Returns

Expand Down Expand Up @@ -87,7 +91,9 @@ A `useStore` hook that connects to the internal store of the form. It can be use

#### Parameters

• **selector?**
##### selector?

(`state`) => `TSelected`

#### Returns

Expand Down
6 changes: 4 additions & 2 deletions docs/framework/react/reference/type-aliases/fieldcomponent.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ A type alias representing a field component for a specific form data type.

## Parameters

• **\{
### \{
children,
...fieldOptions
\}**: `Omit`\<`FieldComponentProps`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>, `"form"`\>
\}

`Omit`\<`FieldComponentProps`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>, `"form"`\>

## Returns

Expand Down
4 changes: 3 additions & 1 deletion docs/framework/react/reference/type-aliases/usefield.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ A function that takes an optional object with a `name` property and field option

## Parameters

• **opts**: `Omit`\<`UseFieldOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>, `"form"`\>
### opts

`Omit`\<`UseFieldOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>, `"form"`\>

## Returns

Expand Down
4 changes: 3 additions & 1 deletion docs/framework/solid/reference/functions/createfield.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ function createField<TParentData, TName, TFieldValidator, TFormValidator, TData>

## Parameters

• **opts**
### opts

() => `CreateFieldOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>

## Returns

Expand Down
4 changes: 3 additions & 1 deletion docs/framework/solid/reference/functions/createform.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ function createForm<TParentData, TFormValidator>(opts?): FormApi<TParentData, TF

## Parameters

• **opts?**
### opts?

() => `FormOptions`\<`TParentData`, `TFormValidator`\>

## Returns

Expand Down
4 changes: 3 additions & 1 deletion docs/framework/solid/reference/functions/field.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ function Field<TParentData, TName, TFieldValidator, TFormValidator, TData>(props

## Parameters

• **props**: `object` & `FieldApiOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\> & `object`
### props

`object` & `FieldApiOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\> & `object`

## Returns

Expand Down
14 changes: 10 additions & 4 deletions docs/framework/solid/reference/interfaces/solidformapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,15 @@ Subscribe: <TSelected>(props) => Element;

#### Parameters

• **props**
##### props

• **props.children**: `Element` \| (`state`) => `Element`
###### children

• **props.selector?**
`Element` \| (`state`) => `Element`

###### selector

(`state`) => `TSelected`

#### Returns

Expand All @@ -77,7 +81,9 @@ useStore: <TSelected>(selector?) => () => TSelected;

#### Parameters

• **selector?**
##### selector?

(`state`) => `TSelected`

#### Returns

Expand Down
4 changes: 3 additions & 1 deletion docs/framework/solid/reference/type-aliases/createfield.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ type CreateField<TParentData, TFormValidator>: <TName, TFieldValidator, TData>(o

## Parameters

• **opts**
### opts

() => `object` & `Omit`\<`CreateFieldOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>, `"form"`\>

## Returns

Expand Down
6 changes: 4 additions & 2 deletions docs/framework/solid/reference/type-aliases/fieldcomponent.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ type FieldComponent<TParentData, TFormValidator>: <TName, TFieldValidator, TData

## Parameters

• **\{
### \{
children,
...fieldOptions
\}**: `Omit`\<`FieldComponentProps`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>, `"form"`\>
\}

`Omit`\<`FieldComponentProps`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>, `"form"`\>

## Returns

Expand Down
4 changes: 3 additions & 1 deletion docs/framework/vue/reference/functions/usefield.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ function useField<TParentData, TName, TFieldValidator, TFormValidator, TData>(op

## Parameters

• **opts**: `UseFieldOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>
### opts

`UseFieldOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>

## Returns

Expand Down
4 changes: 3 additions & 1 deletion docs/framework/vue/reference/functions/useform.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ function useForm<TFormData, TFormValidator>(opts?): FormApi<TFormData, TFormVali

## Parameters

• **opts?**: `FormOptions`\<`TFormData`, `TFormValidator`\>
### opts?

`FormOptions`\<`TFormData`, `TFormValidator`\>

## Returns

Expand Down
14 changes: 10 additions & 4 deletions docs/framework/vue/reference/interfaces/vueformapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,15 @@ Subscribe: <TSelected>(props, context) => any;

#### Parameters

• **props**
##### props

• **props.selector?**
###### selector

• **context**: `SetupContext`\<`EmitsOptions`, `SlotsType`\<`object`\>\>
(`state`) => `TSelected`

##### context

`SetupContext`\<`EmitsOptions`, `SlotsType`\<`object`\>\>

#### Returns

Expand Down Expand Up @@ -77,7 +81,9 @@ useStore: <TSelected>(selector?) => Readonly<Ref<TSelected, TSelected>>;

#### Parameters

• **selector?**
##### selector?

(`state`) => `TSelected`

#### Returns

Expand Down
8 changes: 6 additions & 2 deletions docs/framework/vue/reference/type-aliases/fieldcomponent.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,13 @@ type FieldComponent<TParentData, TFormValidator>: <TName, TFieldValidator, TData

## Parameters

• **fieldOptions**: `Omit`\<`FieldComponentProps`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>, `"form"`\>
### fieldOptions

• **context**: `SetupContext`\<`object`, `SlotsType`\<`object`\>\>
`Omit`\<`FieldComponentProps`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>, `"form"`\>

### context

`SetupContext`\<`object`, `SlotsType`\<`object`\>\>

## Returns

Expand Down
4 changes: 3 additions & 1 deletion docs/framework/vue/reference/type-aliases/usefield.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ type UseField<TParentData, TFormValidator>: <TName, TFieldValidator, TData>(opts

## Parameters

• **opts**: `Omit`\<`UseFieldOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>, `"form"`\>
### opts

`Omit`\<`UseFieldOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\>, `"form"`\>

## Returns

Expand Down
8 changes: 5 additions & 3 deletions docs/framework/vue/reference/variables/field.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ title: Field
# Variable: Field()

```ts
const Field: <TParentData, TName, TFieldValidator, TFormValidator, TData>(props) => CreateComponentPublicInstanceWithMixins<FieldApiOptions<TParentData, TName, TFieldValidator, TFormValidator, TData> & object & object | object, object, object, object, object, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, PublicProps, object, false, object, object, object, object, string, object, any, ComponentProvideOptions, OptionTypesType<object, object, object, object, object, object>, object & FieldApiOptions<TParentData, TName, TFieldValidator, TFormValidator, TData> & { mode?: "value" | ... 1 more ... | undefined; } & ({ ...; } | { ...; }), object, object, object, object, object>;
const Field: <TParentData, TName, TFieldValidator, TFormValidator, TData>(props) => CreateComponentPublicInstanceWithMixins<FieldApiOptions<TParentData, TName, TFieldValidator, TFormValidator, TData> & object & {} | {}, object, object, object, object, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, PublicProps, object, false, object, object, object, object, string, object, any, ComponentProvideOptions, OptionTypesType<object, object, object, object, object, object>, object & FieldApiOptions<TParentData, TName, TFieldValidator, TFormValidator, TData> & { mode?: "value" | ... 1 more ... | undefined; } & ({ ...; } | { ...; }), object, object, object, object, object>;
```

## Parameters

• **props**: FieldApiOptions\<TParentData, TName, TFieldValidator, TFormValidator, TData\> & \{ mode?: "value" \| ... 1 more ... \| undefined; \} & (\{ ...; \} \| \{ ...; \}) & `VNodeProps` & `AllowedComponentProps` & `ComponentCustomProps`
### props

FieldApiOptions\<TParentData, TName, TFieldValidator, TFormValidator, TData\> & \{ mode?: "value" \| ... 1 more ... \| undefined; \} & (\{ ...; \} \| \{ ...; \}) & `VNodeProps` & `AllowedComponentProps` & `ComponentCustomProps`

## Returns

`CreateComponentPublicInstanceWithMixins`\<`FieldApiOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\> & `object` & `object` \| `object`, `object`, `object`, `object`, `object`, `ComponentOptionsMixin`, `ComponentOptionsMixin`, `EmitsOptions`, `PublicProps`, `object`, `false`, `object`, `object`, `object`, `object`, `string`, `object`, `any`, `ComponentProvideOptions`, `OptionTypesType`\<`object`, `object`, `object`, `object`, `object`, `object`\>, `object` & FieldApiOptions\<TParentData, TName, TFieldValidator, TFormValidator, TData\> & \{ mode?: "value" \| ... 1 more ... \| undefined; \} & (\{ ...; \} \| \{ ...; \}), `object`, `object`, `object`, `object`, `object`\>
`CreateComponentPublicInstanceWithMixins`\<`FieldApiOptions`\<`TParentData`, `TName`, `TFieldValidator`, `TFormValidator`, `TData`\> & `object` & \{\} \| \{\}, `object`, `object`, `object`, `object`, `ComponentOptionsMixin`, `ComponentOptionsMixin`, `EmitsOptions`, `PublicProps`, `object`, `false`, `object`, `object`, `object`, `object`, `string`, `object`, `any`, `ComponentProvideOptions`, `OptionTypesType`\<`object`, `object`, `object`, `object`, `object`, `object`\>, `object` & FieldApiOptions\<TParentData, TName, TFieldValidator, TFormValidator, TData\> & \{ mode?: "value" \| ... 1 more ... \| undefined; \} & (\{ ...; \} \| \{ ...; \}), `object`, `object`, `object`, `object`, `object`\>

## Defined in

Expand Down
Loading
Loading