@truedat/df 5.0.4 → 5.0.5

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
+ ## [5.0.5] 2023-01-27
4
+
5
+ ### Fixed
6
+
7
+ - [TD-3805] Add missing messages for hierarchy functionality
8
+
3
9
  ## [5.0.2] 2023-01-26
4
10
 
5
11
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/df",
3
- "version": "5.0.4",
3
+ "version": "5.0.5",
4
4
  "description": "Truedat Web Data Quality Module",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -34,7 +34,7 @@
34
34
  "@testing-library/jest-dom": "^5.16.5",
35
35
  "@testing-library/react": "^12.0.0",
36
36
  "@testing-library/user-event": "^13.2.1",
37
- "@truedat/test": "5.0.4",
37
+ "@truedat/test": "5.0.5",
38
38
  "babel-jest": "^28.1.0",
39
39
  "babel-plugin-dynamic-import-node": "^2.3.3",
40
40
  "babel-plugin-lodash": "^3.3.4",
@@ -87,8 +87,8 @@
87
87
  },
88
88
  "dependencies": {
89
89
  "@apollo/client": "^3.7.1",
90
- "@truedat/auth": "5.0.4",
91
- "@truedat/core": "5.0.4",
90
+ "@truedat/auth": "5.0.5",
91
+ "@truedat/core": "5.0.5",
92
92
  "decode-uri-component": "^0.2.2",
93
93
  "path-to-regexp": "^1.7.0",
94
94
  "prop-types": "^15.8.1",
@@ -109,5 +109,5 @@
109
109
  "react-dom": ">= 16.8.6 < 17",
110
110
  "semantic-ui-react": ">= 2.0.3 < 2.2"
111
111
  },
112
- "gitHead": "91d484a16499494eedec012362b3a7f45cb1cbc9"
112
+ "gitHead": "a90adc0fcf336af276a585669065b661e28a8739"
113
113
  }
@@ -97,7 +97,14 @@ const ListHierarchyItem = ({
97
97
  </Label>
98
98
  )
99
99
  ) : (
100
- <Label basic title={expanded ? "Collapse" : "Expand"}>
100
+ <Label
101
+ basic
102
+ title={
103
+ expanded
104
+ ? formatMessage({ id: "hierarchy.collapse_node" })
105
+ : formatMessage({ id: "hierarchy.expand_node" })
106
+ }
107
+ >
101
108
  <Icon
102
109
  fitted
103
110
  onClick={() => setExpanded(!expanded)}
@@ -18,9 +18,11 @@ export default {
18
18
  "hierarchy.add_child": "Add child",
19
19
  "hierarchy.add_description": "Add description",
20
20
  "hierarchy.add": "Add",
21
+ "hierarchy.collapse_node": "Collapse",
21
22
  "hierarchy.create": "New hierarchy",
22
23
  "hierarchy.delete_node": "Delete node",
23
24
  "hierarchy.description": "Description",
25
+ "hierarchy.expand_node": "Expand",
24
26
  "hierarchy.name": "Hierarchy name",
25
27
  "hierarchy.new_node": "New node",
26
28
  "hierarchy.node": "Node",
@@ -18,9 +18,11 @@ export default {
18
18
  "hierarchy.add_child": "Añadir hijo",
19
19
  "hierarchy.add_description": "Añadir descripción",
20
20
  "hierarchy.add": "Añadir",
21
+ "hierarchy.collapse_node": "Colapsar",
21
22
  "hierarchy.create": "Nueva jerarquía",
22
23
  "hierarchy.delete_node": "Eliminar nodo",
23
24
  "hierarchy.description": "Descripción",
25
+ "hierarchy.expand_node": "Expandir",
24
26
  "hierarchy.name": "Nombre de jerarquía",
25
27
  "hierarchy.new_node": "Nuevo nodo",
26
28
  "hierarchy.node": "Nodo",