@ultraviolet/form 1.3.0 → 1.3.2

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.
@@ -1,10 +1,8 @@
1
1
  import arrayMutators from 'final-form-arrays';
2
- import createDecorator from 'final-form-focus';
3
2
  import { Form as Form$1 } from 'react-final-form';
4
3
  import { jsx } from '@emotion/react/jsx-runtime';
5
4
  import { ErrorProvider } from '../../providers/ErrorContext/index.js';
6
5
 
7
- const focusOnErrors = /*#__PURE__*/createDecorator();
8
6
  const Form = _ref => {
9
7
  let {
10
8
  children,
@@ -23,7 +21,6 @@ const Form = _ref => {
23
21
  initialValues: initialValues,
24
22
  validateOnBlur: validateOnBlur,
25
23
  validate: validate,
26
- decorators: [focusOnErrors],
27
24
  mutators: {
28
25
  ...arrayMutators,
29
26
  ...mutators
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/form",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Ultraviolet Form",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {
@@ -52,10 +52,9 @@
52
52
  "@emotion/styled": "11.11.0",
53
53
  "final-form": "4.20.9",
54
54
  "final-form-arrays": "3.0.2",
55
- "final-form-focus": "1.1.2",
56
55
  "react-final-form": "6.5.9",
57
56
  "react-final-form-arrays": "3.1.4",
58
57
  "react-select": "5.7.4",
59
- "@ultraviolet/ui": "1.8.0"
58
+ "@ultraviolet/ui": "1.8.1"
60
59
  }
61
60
  }