@mantine/form
Advanced tools
Comparing version 7.3.1 to 7.3.2
import { useLayoutEffect } from 'react'; | ||
import type { SetFieldValue, SetValues, SetInitialValues, SetErrors, SetFieldError, ClearFieldError, ClearErrors, Reset, ValidateField, RemoveListItem, ReorderListItem, InsertListItem, SetFormStatus, ResetDirty, ResetStatus, UseFormReturnType, _TransformValues } from '../types'; | ||
import type { _TransformValues, ClearErrors, ClearFieldError, InsertListItem, RemoveListItem, ReorderListItem, Reset, ResetDirty, ResetStatus, SetErrors, SetFieldError, SetFieldValue, SetFormStatus, SetInitialValues, SetValues, UseFormReturnType, ValidateField } from '../types'; | ||
export declare const useIsomorphicEffect: typeof useLayoutEffect; | ||
@@ -4,0 +4,0 @@ export declare function createFormActions<FormValues extends Record<string, any> = Record<string, any>>(name: string): { |
import React from 'react'; | ||
import { UseFormReturnType, TransformedValues } from '../types'; | ||
import { TransformedValues, UseFormReturnType } from '../types'; | ||
export interface FormProps<Form extends UseFormReturnType<any>> extends React.ComponentPropsWithRef<'form'> { | ||
@@ -4,0 +4,0 @@ form: Form; |
import React from 'react'; | ||
import { UseFormReturnType, UseForm, _TransformValues } from '../types'; | ||
import { _TransformValues, UseForm, UseFormReturnType } from '../types'; | ||
export interface FormProviderProps<Form> { | ||
@@ -4,0 +4,0 @@ form: Form; |
@@ -1,2 +0,2 @@ | ||
import { FormValidateInput, FormFieldValidationResult } from '../types'; | ||
import { FormFieldValidationResult, FormValidateInput } from '../types'; | ||
export declare function validateFieldValue<T>(path: unknown, rules: FormValidateInput<T> | undefined, values: T): FormFieldValidationResult; |
@@ -1,2 +0,2 @@ | ||
import { FormValidateInput, FormErrors } from '../types'; | ||
import { FormErrors, FormValidateInput } from '../types'; | ||
export declare function validateValues<T>(validate: FormValidateInput<T> | undefined, values: T): { | ||
@@ -3,0 +3,0 @@ hasErrors: boolean; |
{ | ||
"name": "@mantine/form", | ||
"version": "7.3.1", | ||
"version": "7.3.2", | ||
"description": "Mantine form management library", | ||
@@ -5,0 +5,0 @@ "homepage": "https://mantine.dev", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package