@truedat/dd 5.3.1 → 5.3.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
+ ## [5.3.2] 2023-03-13
4
+
5
+ ### Fixed
6
+
7
+ - [TD-5509] Permission name
8
+
3
9
  ## [5.3.1] 2023-03-11
4
10
 
5
11
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dd",
3
- "version": "5.3.1",
3
+ "version": "5.3.3",
4
4
  "description": "Truedat Web Data Dictionary",
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.3.1",
37
+ "@truedat/test": "5.3.3",
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,9 +87,9 @@
87
87
  },
88
88
  "dependencies": {
89
89
  "@apollo/client": "^3.7.1",
90
- "@truedat/auth": "5.3.1",
91
- "@truedat/core": "5.3.1",
92
- "@truedat/df": "5.3.1",
90
+ "@truedat/auth": "5.3.3",
91
+ "@truedat/core": "5.3.3",
92
+ "@truedat/df": "5.3.3",
93
93
  "lodash": "^4.17.21",
94
94
  "moment": "^2.29.4",
95
95
  "path-to-regexp": "^1.7.0",
@@ -114,5 +114,5 @@
114
114
  "react-dom": ">= 16.8.6 < 17",
115
115
  "semantic-ui-react": ">= 2.0.3 < 2.2"
116
116
  },
117
- "gitHead": "6f7ae72a2abda5e41480fa5254c3c37447821a45"
117
+ "gitHead": "019b7a3383879ed824b1b494e78e03ad8cc9556f"
118
118
  }
@@ -26,7 +26,7 @@ exports[`<GrantApprovalRuleEdit /> matches the last snapshot 1`] = `
26
26
  </div>
27
27
  </div>
28
28
  <div
29
- class="required field"
29
+ class="required field fix-dropdown-selector"
30
30
  >
31
31
  <label>
32
32
  Domain
@@ -690,7 +690,7 @@ exports[`<GrantApprovalRuleForm /> matches the last snapshot for new rule 1`] =
690
690
  </div>
691
691
  </div>
692
692
  <div
693
- class="required field"
693
+ class="required field fix-dropdown-selector"
694
694
  >
695
695
  <label>
696
696
  Domain
@@ -26,7 +26,7 @@ exports[`<GrantApprovalRuleNew /> matches the last snapshot 1`] = `
26
26
  </div>
27
27
  </div>
28
28
  <div
29
- class="required field"
29
+ class="required field fix-dropdown-selector"
30
30
  >
31
31
  <label>
32
32
  Domain
@@ -130,7 +130,7 @@ exports[`<ReferenceDataset /> edit dataset view matches the latest snapshot 1`]
130
130
  class="ui form"
131
131
  >
132
132
  <div
133
- class="field"
133
+ class="field fix-dropdown-selector"
134
134
  >
135
135
  <label>
136
136
  Domain
@@ -41,7 +41,7 @@ exports[`<ReferenceDatasetCreate /> matches the latest snapshot 1`] = `
41
41
  class="ui form"
42
42
  >
43
43
  <div
44
- class="field"
44
+ class="field fix-dropdown-selector"
45
45
  >
46
46
  <label>
47
47
  Domain
@@ -6,7 +6,7 @@ exports[`<ReferenceDatasetDetail /> matches the latest snapshot (edit route) 1`]
6
6
  class="ui form"
7
7
  >
8
8
  <div
9
- class="field"
9
+ class="field fix-dropdown-selector"
10
10
  >
11
11
  <label>
12
12
  Domain
@@ -6,7 +6,7 @@ exports[`<ReferenceDatasetForm /> matches the latest snapshot 1`] = `
6
6
  class="ui form"
7
7
  >
8
8
  <div
9
- class="field"
9
+ class="field fix-dropdown-selector"
10
10
  >
11
11
  <label>
12
12
  Domain
@@ -41,7 +41,7 @@ exports[`<ReferenceDatasetRoutes /> matches the latest snapshot (create route) 1
41
41
  class="ui form"
42
42
  >
43
43
  <div
44
- class="field"
44
+ class="field fix-dropdown-selector"
45
45
  >
46
46
  <label>
47
47
  Domain
@@ -1,7 +1,6 @@
1
1
  import _ from "lodash/fp";
2
2
  import {
3
3
  clearGraph,
4
- clearStructure,
5
4
  fetchGraph,
6
5
  fetchStructure,
7
6
  createGraph,
@@ -37,7 +37,7 @@ const notesTabVisible = ({ templatesLoading, templates, structure }) =>
37
37
 
38
38
  const versionsTabVisible = notEmptyPath("structureVersions");
39
39
  const structureLinksTabVisible = (state) =>
40
- _.has("manage_structure_to_structure_link", state?.structureActions) ||
40
+ _.has("create_struct_to_struct_link", state?.structureActions) ||
41
41
  state?.structure?.data_structure_link_count > 0;
42
42
  const rulesTabVisible = (state) => state?.structure?.implementation_count > 0;
43
43
  const lineageTabVisible = _.anyPass([_.path("structure.degree.in")]);