@truedat/dd 4.45.5 → 4.45.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dd",
3
- "version": "4.45.5",
3
+ "version": "4.45.6",
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.45.1",
37
+ "@truedat/test": "4.45.6",
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.45.5",
92
- "@truedat/core": "4.45.1",
93
- "@truedat/df": "4.45.5",
91
+ "@truedat/auth": "4.45.6",
92
+ "@truedat/core": "4.45.6",
93
+ "@truedat/df": "4.45.6",
94
94
  "lodash": "^4.17.21",
95
95
  "path-to-regexp": "^1.7.0",
96
96
  "prop-types": "^15.8.1",
@@ -111,5 +111,5 @@
111
111
  "react-dom": ">= 16.8.6 < 17",
112
112
  "semantic-ui-react": ">= 0.88.2 < 2.1"
113
113
  },
114
- "gitHead": "c4454f208bd09af1ce23225a76df44c6390299c3"
114
+ "gitHead": "6624767ce3b6893d538087057b662d11f90eb72d"
115
115
  }
@@ -29,10 +29,7 @@ export const Grants = ({ grantsLoading, onlyMyGrants }) => (
29
29
  </Header.Content>
30
30
  </Header>
31
31
  <Segment attached="bottom">
32
- <GrantsDownloadButton
33
- onlyMyGrants={onlyMyGrants}
34
- hasFilterApplied={true}
35
- />
32
+ <GrantsDownloadButton onlyMyGrants={onlyMyGrants} hasFilterApplied />
36
33
  <GrantsSearch />
37
34
  <GrantSelectedFilters />
38
35
  <GrantDateFilter />
@@ -20,11 +20,11 @@ export const LineageGroup = ({
20
20
  structure_id: structureId,
21
21
  onClick,
22
22
  selected,
23
- onHover
23
+ onHover,
24
24
  }) => {
25
25
  const handleClick =
26
26
  structureId && onClick
27
- ? e => {
27
+ ? (e) => {
28
28
  e.preventDefault();
29
29
  e.stopPropagation();
30
30
  onClick();
@@ -47,7 +47,7 @@ export const LineageGroup = ({
47
47
  const content = selected ? (
48
48
  <Popup
49
49
  size="small"
50
- open={true}
50
+ open
51
51
  content={
52
52
  <LineageContextMenu
53
53
  id={id}
@@ -67,7 +67,7 @@ export const LineageGroup = ({
67
67
  )([
68
68
  ["group", `z${z}`],
69
69
  type ? [lowerDeburr(type)] : [],
70
- active ? ["active"] : []
70
+ active ? ["active"] : [],
71
71
  ]);
72
72
  return (
73
73
  <g className={classNames} onMouseOver={onHover} onContextMenu={handleClick}>
@@ -91,7 +91,7 @@ LineageGroup.propTypes = {
91
91
  structure_id: PropTypes.number,
92
92
  type: PropTypes.string,
93
93
  onClick: PropTypes.func,
94
- onHover: PropTypes.func
94
+ onHover: PropTypes.func,
95
95
  };
96
96
 
97
97
  export default LineageGroup;
@@ -17,10 +17,10 @@ export const LineageResource = ({
17
17
  structure_id: structureId,
18
18
  onClick,
19
19
  selected,
20
- onHover
20
+ onHover,
21
21
  }) => {
22
22
  const handleClick = onClick
23
- ? e => {
23
+ ? (e) => {
24
24
  e.preventDefault();
25
25
  e.stopPropagation();
26
26
  onClick();
@@ -37,7 +37,7 @@ export const LineageResource = ({
37
37
  const content = selected ? (
38
38
  <Popup
39
39
  size="small"
40
- open={true}
40
+ open
41
41
  content={
42
42
  <LineageContextMenu
43
43
  id={id}
@@ -72,7 +72,7 @@ LineageResource.propTypes = {
72
72
  id: PropTypes.string,
73
73
  name: PropTypes.string,
74
74
  selected: PropTypes.bool,
75
- onHover: PropTypes.func
75
+ onHover: PropTypes.func,
76
76
  };
77
77
 
78
78
  export default LineageResource;
@@ -87,7 +87,7 @@ export const StructureGrantCart = ({
87
87
  {canHasFilters(s) && inCartCheckout ? (
88
88
  <Button
89
89
  compact
90
- basic={true}
90
+ basic
91
91
  icon="filter"
92
92
  color={hasFilters(s) ? "blue" : null}
93
93
  onClick={() => setOpenedStructureFilter(s.id)}
@@ -96,7 +96,7 @@ export const StructureGrantCart = ({
96
96
  <Button
97
97
  onClick={removeRequest(s)}
98
98
  compact
99
- basic={true}
99
+ basic
100
100
  icon="trash alternate outline"
101
101
  color="red"
102
102
  />
package/src/routines.js CHANGED
@@ -57,7 +57,7 @@ export const downloadGrants = createRoutine("DOWNLOAD_GRANTS");
57
57
  export const downloadReferenceDataset = createRoutine("DOWNLOAD_REFERENCE_DATASET");
58
58
  export const downloadStructures = createRoutine("DOWNLOAD_STRUCTURES");
59
59
  export const excludeNode = createRoutine("EXCLUDE_NODE");
60
- export const fetchDomains = createRoutine("FETCH_DOMAINS"); // TODO: Is there a way to avoid repeating this routine here?
60
+ export const fetchDomains = createRoutine("FETCH_DOMAINS");
61
61
  export const fetchGrant = createRoutine("FETCH_GRANT");
62
62
  export const fetchGrantFilters = createRoutine("FETCH_GRANT_FILTERS");
63
63
  export const fetchGrantRequest = createRoutine("FETCH_GRANT_REQUEST");