@webiny/form
Advanced tools
Comparing version 5.41.1 to 5.41.2-beta.0
import { BindComponentProps, FormValidationOptions, GenericFormData } from "./types"; | ||
import { FormField } from "./FormField"; | ||
import { FieldValidationResult } from "./FormFieldValidator"; | ||
interface FormInvalidFields { | ||
export interface FormInvalidFields { | ||
[name: string]: string; | ||
@@ -6,0 +6,0 @@ } |
{ | ||
"name": "@webiny/form", | ||
"version": "5.41.1", | ||
"version": "5.41.2-beta.0", | ||
"main": "index.js", | ||
@@ -18,4 +18,4 @@ "repository": { | ||
"@babel/runtime": "7.24.1", | ||
"@webiny/react-composition": "5.41.1", | ||
"@webiny/validation": "5.41.1", | ||
"@webiny/react-composition": "5.41.2-beta.0", | ||
"@webiny/validation": "5.41.2-beta.0", | ||
"lodash": "4.17.21" | ||
@@ -33,4 +33,4 @@ }, | ||
"@types/lodash": "4.14.191", | ||
"@webiny/cli": "5.41.1", | ||
"@webiny/project-utils": "5.41.1", | ||
"@webiny/cli": "5.41.2-beta.0", | ||
"@webiny/project-utils": "5.41.2-beta.0", | ||
"mobx": "6.9.0", | ||
@@ -53,3 +53,3 @@ "mobx-react-lite": "3.4.3", | ||
}, | ||
"gitHead": "4d34943dbfc5a776afc74fffd2cfd2dca60bffcd" | ||
"gitHead": "a259e2af938ceb1e2d35b2bef9edcee4459352de" | ||
} |
import React from "react"; | ||
import { Validator } from "@webiny/validation/types"; | ||
import { FormInvalidFields } from "./FormPresenter"; | ||
export { FormInvalidFields }; | ||
export interface BindComponentRenderPropValidation { | ||
@@ -79,5 +81,3 @@ isValid: boolean | null; | ||
export interface FormProps<T extends GenericFormData = GenericFormData> { | ||
invalidFields?: { | ||
[key: string]: any; | ||
}; | ||
invalidFields?: FormInvalidFields; | ||
data?: Partial<T>; | ||
@@ -84,0 +84,0 @@ disabled?: boolean | ((state: FormPropsState<T>) => boolean); |
@@ -6,3 +6,10 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "FormInvalidFields", { | ||
enumerable: true, | ||
get: function get() { | ||
return _FormPresenter.FormInvalidFields; | ||
} | ||
}); | ||
var _FormPresenter = require("./FormPresenter"); | ||
//# sourceMappingURL=types.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
131734
1402
2
+ Added@webiny/react-composition@5.41.2-beta.0(transitive)
+ Added@webiny/validation@5.41.2-beta.0(transitive)
- Removed@webiny/react-composition@5.41.1(transitive)
- Removed@webiny/validation@5.41.1(transitive)