@truedat/core 4.56.2 → 4.56.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
+ ## [4.56.3] 2022-11-24
4
+
5
+ ### Added
6
+
7
+ - [TD-5286] Implementation results pagination
8
+
3
9
  ## [4.56.1] 2022-11-21
4
10
 
5
11
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/core",
3
- "version": "4.56.2",
3
+ "version": "4.56.3",
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.56.0",
38
+ "@truedat/test": "4.56.3",
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",
@@ -113,5 +113,5 @@
113
113
  "react-dom": ">= 16.8.6 < 17",
114
114
  "semantic-ui-react": ">= 0.88.2 < 2.1"
115
115
  },
116
- "gitHead": "d76f2da5ed4892e557e4aa159d4e9ff009e0e853"
116
+ "gitHead": "7940a71d7e8ed3eb6c1fc088cf631e37e87fd093"
117
117
  }
@@ -5,7 +5,7 @@ import queryString from "query-string";
5
5
  import { useLocation, Link } from "react-router-dom";
6
6
  import { Menu } from "semantic-ui-react";
7
7
 
8
- export const CursorPagination = ({ pageInfo }) => {
8
+ export const CursorPagination = ({ pageInfo, className }) => {
9
9
  const { search, ...location } = useLocation();
10
10
  const { endCursor, startCursor, hasPreviousPage, hasNextPage } =
11
11
  pageInfo || {};
@@ -31,7 +31,7 @@ export const CursorPagination = ({ pageInfo }) => {
31
31
  search: _.isEmpty(rest) ? null : "?" + queryString.stringify(rest),
32
32
  };
33
33
  return (
34
- <Menu pagination role="navigation">
34
+ <Menu className={className} pagination role="navigation">
35
35
  <Menu.Item
36
36
  as={next ? Link : null}
37
37
  link={!!next}
@@ -64,6 +64,7 @@ export const CursorPagination = ({ pageInfo }) => {
64
64
  };
65
65
 
66
66
  CursorPagination.propTypes = {
67
+ className: PropTypes.string,
67
68
  pageInfo: PropTypes.object,
68
69
  };
69
70