redux-paginator-immutable 17.0.5 → 17.0.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/lib/Info.js CHANGED
@@ -21,7 +21,7 @@ var getNumberForm = function getNumberForm(value, one, all) {
21
21
  return "1 " + one;
22
22
  }
23
23
 
24
- return _words2.default.getNumberTense(value) + " " + all;
24
+ return _utility.words.getNumberTense(value) + " " + all;
25
25
  };
26
26
 
27
27
  var Info = function Info(_ref) {
@@ -33,7 +33,7 @@ var Info = function Info(_ref) {
33
33
  "div",
34
34
  { className: "text-muted" },
35
35
  _words2.default.Showing + " ",
36
- shown === total ? _utility.words.All + " - " : shown + " " + _words2.default.Of,
36
+ shown === total ? _words2.default.All + " - " : shown + " " + _words2.default.Of,
37
37
  " " + getNumberForm(total, one, all)
38
38
  );
39
39
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redux-paginator-immutable",
3
- "version": "17.0.5",
3
+ "version": "17.0.6",
4
4
  "description": "redux-paginator-immutable helps you deal with paginated API by composing your existing reducers",
5
5
  "main": "./lib/index.js",
6
6
  "babel": {
package/src/Info.jsx CHANGED
@@ -18,14 +18,14 @@ const getNumberForm = (value : number, one : string, all : string) : string => {
18
18
  return `1 ${one}`;
19
19
  }
20
20
 
21
- return `${words.getNumberTense(value)} ${all}`;
21
+ return `${x25Words.getNumberTense(value)} ${all}`;
22
22
  };
23
23
 
24
24
  const Info = ({ shown, total, one, all } : InfoPropTypes) => (
25
25
  <div className="text-muted">
26
26
  {`${words.Showing} `}
27
27
  {
28
- (shown === total) ? `${x25Words.All} - ` : `${shown} ${words.Of}`
28
+ (shown === total) ? `${words.All} - ` : `${shown} ${words.Of}`
29
29
  }
30
30
  {` ${getNumberForm(total, one, all)}`}
31
31
  </div>