@s_mart/form 3.2.0 → 3.2.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -15,7 +15,7 @@ interface IFormProps<T> extends Omit<UseFormProps, 'resolver'> {
15
15
  * Prop que faz com que o formulário não atualize ao mudar o defaultValue
16
16
  */
17
17
  disableDefaultValuesUpdate?: boolean;
18
- schema?: z.ZodObject<any>;
18
+ schema?: z.ZodObject<any> | z.ZodEffects<z.ZodObject<any>>;
19
19
  }
20
20
 
21
21
  declare function Form({ children, onSubmit, style, disableDefaultValuesUpdate, ...rest }: IFormProps<any>): react_jsx_runtime.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@s_mart/form",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",