react-f0rm 0.6.0 → 0.7.0

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 (39) hide show
  1. package/README.md +22 -0
  2. package/dist/devtools/index.cjs.js +1 -743
  3. package/dist/devtools/index.cjs.js.map +1 -1
  4. package/dist/devtools/index.mjs +1 -723
  5. package/dist/devtools/index.mjs.map +1 -1
  6. package/dist/form-CGRvih_c.cjs.js +2 -0
  7. package/dist/form-CGRvih_c.cjs.js.map +1 -0
  8. package/dist/form-CfBBPz6p.mjs +2 -0
  9. package/dist/form-CfBBPz6p.mjs.map +1 -0
  10. package/dist/{form-D9COEt0-.d.ts → form-DHKns6j_.d.ts} +41 -1
  11. package/dist/index.cjs.js +1 -1812
  12. package/dist/index.cjs.js.map +1 -1
  13. package/dist/index.d.ts +3 -3
  14. package/dist/index.mjs +1 -1719
  15. package/dist/index.mjs.map +1 -1
  16. package/dist/index.umd.js +27 -7
  17. package/dist/index.umd.js.map +1 -1
  18. package/dist/index.umd.min.js +2 -2
  19. package/dist/index.umd.min.js.map +1 -1
  20. package/dist/resolvers/standard-schema.cjs.js +1 -89
  21. package/dist/resolvers/standard-schema.cjs.js.map +1 -1
  22. package/dist/resolvers/standard-schema.mjs +1 -85
  23. package/dist/resolvers/standard-schema.mjs.map +1 -1
  24. package/dist/resolvers/yup.cjs.js +1 -22
  25. package/dist/resolvers/yup.cjs.js.map +1 -1
  26. package/dist/resolvers/yup.d.ts +1 -1
  27. package/dist/resolvers/yup.mjs +1 -20
  28. package/dist/resolvers/yup.mjs.map +1 -1
  29. package/dist/resolvers/zod.cjs.js +1 -22
  30. package/dist/resolvers/zod.cjs.js.map +1 -1
  31. package/dist/resolvers/zod.d.ts +1 -1
  32. package/dist/resolvers/zod.mjs +1 -20
  33. package/dist/resolvers/zod.mjs.map +1 -1
  34. package/dist/{validate-Cu43SqhV.d.ts → validate-BoNZhOMY.d.ts} +1 -1
  35. package/package.json +6 -1
  36. package/dist/form-CXF5HwQG.mjs +0 -349
  37. package/dist/form-CXF5HwQG.mjs.map +0 -1
  38. package/dist/form-DbnzAKSM.cjs.js +0 -358
  39. package/dist/form-DbnzAKSM.cjs.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { a as FieldPath, N as Name, F as Form$1, V as ValidationMode, P as PathValueOf, b as FieldError, c as Path, O as Options } from './form-D9COEt0-.js';
2
- export { d as FieldErrorEntry, e as FieldState, H as HandleSubmitOptions, f as PathValue, R as ReValidateMode, g as ResetFieldOptions, h as ResetOptions, S as SetFieldOptions, i as SetFocusOptions, j as SetServerErrorsOptions, k as VALIDATION_OUTCOME, l as ValidateResult, m as ValidationOutcome, n as clearErrors, o as createForm, p as ensureValidate, q as getDirtyFields, r as getError, s as getErrorByPath, t as getErrors, u as getFieldErrors, v as getFieldErrorsByPath, w as getFieldState, x as getFirstError, y as getTouchedFields, z as getValue, A as getValueByPath, B as getValues, C as handleSubmit, D as hasErrors, E as hasTouched, G as hasTouchedByPath, I as incrementSubmitCount, J as isDirty, K as isTouched, L as removeField, M as removeFieldByPath, Q as reset, T as resetField, U as setDisabled, W as setError, X as setErrorByPath, Y as setFocus, Z as setInitialValues, _ as setIsSubmitting, $ as setServerErrors, a0 as setSubmitSuccessful, a1 as setTouched, a2 as setTouchedByPath, a3 as setValidatingByPath, a4 as setValue, a5 as setValueByPath, a6 as trigger, a7 as unsetValidatingByPath, a8 as validate } from './form-D9COEt0-.js';
3
- import { V as Validator } from './validate-Cu43SqhV.js';
1
+ import { a as FieldPath, N as Name, F as Form$1, V as ValidationMode, P as PathValueOf, b as FieldError, c as Path, O as Options } from './form-DHKns6j_.js';
2
+ export { d as FieldErrorEntry, e as FieldState, H as HandleSubmitOptions, f as PathValue, R as ReValidateMode, g as ResetFieldOptions, h as ResetOptions, S as SetFieldOptions, i as SetFocusOptions, j as SetServerErrorsOptions, k as VALIDATION_OUTCOME, l as ValidateResult, m as ValidationOutcome, n as changeValue, o as changeValueByPath, p as clearErrors, q as createForm, r as ensureValidate, s as getDirtyFields, t as getError, u as getErrorByPath, v as getErrors, w as getFieldErrors, x as getFieldErrorsByPath, y as getFieldState, z as getFirstError, A as getTouchedFields, B as getValue, C as getValueByPath, D as getValues, E as handleSubmit, G as hasErrors, I as hasTouched, J as hasTouchedByPath, K as incrementSubmitCount, L as isDirty, M as isTouched, Q as removeField, T as removeFieldByPath, U as reset, W as resetField, X as setDisabled, Y as setError, Z as setErrorByPath, _ as setFocus, $ as setInitialValues, a0 as setIsSubmitting, a1 as setServerErrors, a2 as setSubmitSuccessful, a3 as setTouched, a4 as setTouchedByPath, a5 as setValidatingByPath, a6 as setValue, a7 as setValueByPath, a8 as trigger, a9 as unsetValidatingByPath, aa as validate } from './form-DHKns6j_.js';
3
+ import { V as Validator } from './validate-BoNZhOMY.js';
4
4
  import * as React from 'react';
5
5
  import { ReactNode } from 'react';
6
6
  import { EventEmitter } from '@for-fun/event-emitter';