@scenid/react-formulator 0.1.8 → 0.1.9
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.
- package/dist/index.cjs.js +943 -3685
- package/dist/index.esm.js +943 -3684
- package/package.json +2 -2
- package/src/Editable/FormField.jsx +2 -2
- package/src/FormulatorForm.jsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scenid/react-formulator",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"main": "dist/index.cjs.js",
|
|
5
5
|
"module": "dist/index.esm.js",
|
|
6
6
|
"repository": "https://dennykoch@bitbucket.org/scenid/react-formulator.git",
|
|
@@ -47,7 +47,6 @@
|
|
|
47
47
|
"babel-loader": "^8.2.5",
|
|
48
48
|
"classnames": "^2.3.1",
|
|
49
49
|
"cross-env": "^7.0.3",
|
|
50
|
-
"deep-equal": "^2.0.5",
|
|
51
50
|
"eslint": "^7.11.0",
|
|
52
51
|
"eslint-config-airbnb": "^18.0.1",
|
|
53
52
|
"eslint-formatter-pretty": "^2.1.1",
|
|
@@ -60,6 +59,7 @@
|
|
|
60
59
|
"eslint-plugin-react": "^7.6.1",
|
|
61
60
|
"eslint-plugin-react-hooks": "^2.3.0",
|
|
62
61
|
"eventemitter3": "^4.0.7",
|
|
62
|
+
"fast-deep-equal": "^3.1.3",
|
|
63
63
|
"micromustache": "^8.0.3",
|
|
64
64
|
"prop-types": "^15.8.1",
|
|
65
65
|
"react": "16.11.0",
|
|
@@ -2,7 +2,7 @@ import React from 'react'
|
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import cx from 'classnames'
|
|
4
4
|
|
|
5
|
-
import isEqual from 'deep-equal'
|
|
5
|
+
import isEqual from 'fast-deep-equal'
|
|
6
6
|
|
|
7
7
|
import {
|
|
8
8
|
FormControl,
|
|
@@ -220,4 +220,4 @@ FormField.propTypes = {
|
|
|
220
220
|
onChange: PropTypes.func.isRequired
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
export default React.memo(FormField, (prevProps, nextProps) => isEqual(prevProps, nextProps
|
|
223
|
+
export default React.memo(FormField, (prevProps, nextProps) => isEqual(prevProps, nextProps))
|
package/src/FormulatorForm.jsx
CHANGED