@gravity-ui/dynamic-forms 4.3.0 → 4.4.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.
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
6
  const debounce_1 = tslib_1.__importDefault(require("lodash/debounce"));
7
7
  const get_1 = tslib_1.__importDefault(require("lodash/get"));
8
+ const isEqual_1 = tslib_1.__importDefault(require("lodash/isEqual"));
8
9
  const isFunction_1 = tslib_1.__importDefault(require("lodash/isFunction"));
9
10
  const values_1 = tslib_1.__importDefault(require("lodash/values"));
10
11
  const react_final_form_1 = require("react-final-form");
@@ -34,6 +35,7 @@ const useIntegrationFF = (store, withoutDebounce) => {
34
35
  }
35
36
  return error;
36
37
  },
38
+ isEqual: isEqual_1.default,
37
39
  };
38
40
  return react_1.default.createElement(react_final_form_1.Field, Object.assign({}, props));
39
41
  }, [store.name, store.errors]);
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import debounce from 'lodash/debounce';
3
3
  import get from 'lodash/get';
4
+ import isEqual from 'lodash/isEqual';
4
5
  import isFunction from 'lodash/isFunction';
5
6
  import values from 'lodash/values';
6
7
  import { Field as FinalFormField, useForm } from 'react-final-form';
@@ -30,6 +31,7 @@ export const useIntegrationFF = (store, withoutDebounce) => {
30
31
  }
31
32
  return error;
32
33
  },
34
+ isEqual,
33
35
  };
34
36
  return React.createElement(FinalFormField, Object.assign({}, props));
35
37
  }, [store.name, store.errors]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/dynamic-forms",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "main": "build/cjs/index.js",
@@ -65,6 +65,8 @@
65
65
  "@storybook/preset-scss": "^1.0.3",
66
66
  "@storybook/react": "^7.0.27",
67
67
  "@storybook/react-webpack5": "^7.0.27",
68
+ "@swc/core": "^1.5.0",
69
+ "@swc/jest": "^0.2.36",
68
70
  "@testing-library/jest-dom": "^5.16.5",
69
71
  "@testing-library/react": "^14.0.0",
70
72
  "@testing-library/user-event": "^14.4.3",
@@ -84,7 +86,7 @@
84
86
  "gulp-replace": "^1.1.4",
85
87
  "gulp-typescript": "^6.0.0-alpha.1",
86
88
  "husky": "^7.0.4",
87
- "jest": "^29.5.0",
89
+ "jest": "^29.7.0",
88
90
  "jest-environment-jsdom": "^29.5.0",
89
91
  "jest-transform-css": "^6.0.1",
90
92
  "monaco-editor": "^0.30.1",