@truedat/core 4.53.11 → 4.54.2

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.54.2] 2022-10-25
4
+
5
+ ### Changed
6
+
7
+ - [TD-5265] Use class for global filters instead of hard-coded color and icon
8
+
3
9
  ## [4.53.11] 2022-10-20
4
10
 
5
11
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/core",
3
- "version": "4.53.11",
3
+ "version": "4.54.2",
4
4
  "description": "Truedat Web Core",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -35,7 +35,7 @@
35
35
  "@testing-library/jest-dom": "^5.16.4",
36
36
  "@testing-library/react": "^12.0.0",
37
37
  "@testing-library/user-event": "^13.2.1",
38
- "@truedat/test": "4.53.11",
38
+ "@truedat/test": "4.54.0",
39
39
  "babel-jest": "^28.1.0",
40
40
  "babel-plugin-dynamic-import-node": "^2.3.3",
41
41
  "babel-plugin-lodash": "^3.3.4",
@@ -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": "f0bff07f7491edcbe2195f2ff9d0ef74736edef9"
115
+ "gitHead": "5f8e708ced0c68fbe8a38373f3cc579702f3e7e4"
116
116
  }
@@ -29,9 +29,8 @@ export const UserFilters = ({
29
29
  basic={selectedUserFilter == userFilter.name ? false : true}
30
30
  circular
31
31
  key={key}
32
- color={isGlobal ? "teal" : null}
32
+ className={isGlobal ? "global" : null}
33
33
  >
34
- {isGlobal ? <Icon name="globe" /> : null}
35
34
  <span
36
35
  onClick={
37
36
  disabled
@@ -67,12 +67,8 @@ exports[`<UserFilters /> admin matches the latest snapshot with global filters 1
67
67
  />
68
68
  </div>
69
69
  <div
70
- class="ui teal basic circular label"
70
+ class="ui basic circular label global"
71
71
  >
72
- <i
73
- aria-hidden="true"
74
- class="globe icon"
75
- />
76
72
  <span
77
73
  class="userFilter"
78
74
  >
@@ -150,12 +146,8 @@ exports[`<UserFilters /> not admin matches the latest snapshot with global filte
150
146
  />
151
147
  </div>
152
148
  <div
153
- class="ui teal basic circular label"
149
+ class="ui basic circular label global"
154
150
  >
155
- <i
156
- aria-hidden="true"
157
- class="globe icon"
158
- />
159
151
  <span
160
152
  class="userFilter"
161
153
  >