@truedat/dq 4.43.2 → 4.43.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.43.3] 2022-05-04
4
+
5
+ ### Changed
6
+
7
+ - [TD-3936] Updated `react-hook-form`
8
+
3
9
  ## [4.43.2] 2022-05-03
4
10
 
5
11
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dq",
3
- "version": "4.43.2",
3
+ "version": "4.43.3",
4
4
  "description": "Truedat Web Data Quality Module",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -31,7 +31,7 @@
31
31
  "@babel/plugin-transform-modules-commonjs": "^7.15.0",
32
32
  "@babel/preset-env": "^7.15.0",
33
33
  "@babel/preset-react": "^7.14.5",
34
- "@truedat/test": "4.43.2",
34
+ "@truedat/test": "4.43.3",
35
35
  "babel-jest": "^27.0.6",
36
36
  "babel-plugin-dynamic-import-node": "^2.3.3",
37
37
  "babel-plugin-lodash": "^3.3.4",
@@ -82,8 +82,8 @@
82
82
  },
83
83
  "dependencies": {
84
84
  "@apollo/client": "^3.4.10",
85
- "@truedat/core": "4.43.2",
86
- "@truedat/df": "4.43.2",
85
+ "@truedat/core": "4.43.3",
86
+ "@truedat/df": "4.43.3",
87
87
  "axios": "^0.19.2",
88
88
  "graphql": "^15.5.3",
89
89
  "path-to-regexp": "^1.7.0",
@@ -103,5 +103,5 @@
103
103
  "react-dom": ">= 16.8.6 < 17",
104
104
  "semantic-ui-react": ">= 0.88.2 < 2.1"
105
105
  },
106
- "gitHead": "26f59c4d36ab1ecfae705bbce4320ff443cce304"
106
+ "gitHead": "072eb5d04ec38033c17e030c365502484815a96b"
107
107
  }
@@ -29,14 +29,17 @@ export const RuleSelector = ({ rules, control, loading }) => {
29
29
  control={control}
30
30
  name="rule_id"
31
31
  rules={{ required: true }}
32
- render={({ onBlur, onChange, value }, { invalid }) => (
32
+ render={({
33
+ field: { onBlur, onChange, value },
34
+ fieldState: { error },
35
+ }) => (
33
36
  <Form.Select
34
37
  label={{
35
38
  children: formatMessage({ id: "rule" }),
36
39
  htmlFor: "rule_id",
37
40
  }}
38
41
  deburr
39
- error={invalid}
42
+ error={!!error}
40
43
  loading={loading}
41
44
  onBlur={onBlur}
42
45
  onChange={(_e, { value }) => onChange(value)}