@truedat/dd 4.46.7 → 4.46.10

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
@@ -4,7 +4,7 @@
4
4
 
5
5
  ### Added
6
6
 
7
- - [TD-4858] System Cards are splited by `system_group` field of df
7
+ - [TD-4858] Split System Cards by `system_group` df field
8
8
 
9
9
  ## [4.46.5] 2022-06-17
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dd",
3
- "version": "4.46.7",
3
+ "version": "4.46.10",
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.4",
35
35
  "@testing-library/react": "^12.0.0",
36
36
  "@testing-library/user-event": "^13.2.1",
37
- "@truedat/test": "4.46.7",
37
+ "@truedat/test": "4.46.10",
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",
@@ -88,9 +88,9 @@
88
88
  },
89
89
  "dependencies": {
90
90
  "@apollo/client": "^3.6.4",
91
- "@truedat/auth": "4.46.7",
92
- "@truedat/core": "4.46.7",
93
- "@truedat/df": "4.46.7",
91
+ "@truedat/auth": "4.46.10",
92
+ "@truedat/core": "4.46.10",
93
+ "@truedat/df": "4.46.10",
94
94
  "lodash": "^4.17.21",
95
95
  "path-to-regexp": "^1.7.0",
96
96
  "prop-types": "^15.8.1",
@@ -112,5 +112,5 @@
112
112
  "react-dom": ">= 16.8.6 < 17",
113
113
  "semantic-ui-react": ">= 0.88.2 < 2.1"
114
114
  },
115
- "gitHead": "2b1c3f0fcf94a7b510f171c06cfb2e1550a14166"
115
+ "gitHead": "2bfaf01b4ff0cbd9166456e0cfff7028015d220f"
116
116
  }
@@ -13,7 +13,7 @@ import { linkTo } from "@truedat/core/routes";
13
13
  export const SystemCards = ({ systems, structureTypes }) => {
14
14
  const groups = _.flow(
15
15
  _.map((system) =>
16
- system.df_content?.system_group === ""
16
+ !system.df_content?.system_group
17
17
  ? _.set("df_content.system_group", "default", system)
18
18
  : system
19
19
  ),
@@ -16,7 +16,7 @@ exports[`<SystemCards /> It matches the latest snapshot with system_groups 1`] =
16
16
  aria-hidden="true"
17
17
  class="dropdown icon"
18
18
  />
19
- foo-group
19
+ Without Groups
20
20
  </h3>
21
21
  </div>
22
22
  <div
@@ -27,7 +27,7 @@ exports[`<SystemCards /> It matches the latest snapshot with system_groups 1`] =
27
27
  >
28
28
  <a
29
29
  class="ui link card"
30
- href="/systems/1/structures"
30
+ href="/systems/27/structures"
31
31
  >
32
32
  <div
33
33
  class="content extra-bottom-padding"
@@ -35,12 +35,7 @@ exports[`<SystemCards /> It matches the latest snapshot with system_groups 1`] =
35
35
  <div
36
36
  class="header"
37
37
  >
38
- Microstrategy
39
- </div>
40
- <div
41
- class="ui bottom right attached label overlapping"
42
- >
43
- 1,239
38
+ vacio
44
39
  </div>
45
40
  </div>
46
41
  </a>
@@ -58,7 +53,7 @@ exports[`<SystemCards /> It matches the latest snapshot with system_groups 1`] =
58
53
  aria-hidden="true"
59
54
  class="dropdown icon"
60
55
  />
61
- undefined
56
+ foo-group
62
57
  </h3>
63
58
  </div>
64
59
  <div
@@ -69,7 +64,7 @@ exports[`<SystemCards /> It matches the latest snapshot with system_groups 1`] =
69
64
  >
70
65
  <a
71
66
  class="ui link card"
72
- href="/systems/27/structures"
67
+ href="/systems/1/structures"
73
68
  >
74
69
  <div
75
70
  class="content extra-bottom-padding"
@@ -77,7 +72,12 @@ exports[`<SystemCards /> It matches the latest snapshot with system_groups 1`] =
77
72
  <div
78
73
  class="header"
79
74
  >
80
- vacio
75
+ Microstrategy
76
+ </div>
77
+ <div
78
+ class="ui bottom right attached label overlapping"
79
+ >
80
+ 1,239
81
81
  </div>
82
82
  </div>
83
83
  </a>