@mjhls/mjh-framework 1.0.950-deck-pagination-v1 → 1.0.950-deck-pagination-v3

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.
@@ -17,7 +17,7 @@ var index$1 = require('./index-eadd5035.js');
17
17
  var main = require('./main-f1c77adb.js');
18
18
  var entities = require('./entities-df1aed86.js');
19
19
  var ADInfeed = require('./ADInfeed-44d43b8a.js');
20
- var Pagination = require('./Pagination-54f2cb54.js');
20
+ var Pagination = require('./Pagination-a58f82af.js');
21
21
  var Spinner = require('react-bootstrap/Spinner');
22
22
  require('./_commonjsHelpers-06173234.js');
23
23
  require('./core.get-iterator-method-5643aa10.js');
@@ -18,7 +18,7 @@ var get = require('./get-5839e5b5.js');
18
18
  var main = require('./main-f1c77adb.js');
19
19
  var urlFor = require('./urlFor.js');
20
20
  var entities = require('./entities-df1aed86.js');
21
- var Pagination = require('./Pagination-54f2cb54.js');
21
+ var Pagination = require('./Pagination-a58f82af.js');
22
22
  require('./_commonjsHelpers-06173234.js');
23
23
  require('./core.get-iterator-method-5643aa10.js');
24
24
  require('./web.dom.iterable-d98303e0.js');
@@ -24,7 +24,7 @@ var urlFor = require('./urlFor.js');
24
24
  var main = require('./main-f1c77adb.js');
25
25
  var AuthorComponent = require('./AuthorComponent-39b37d84.js');
26
26
  var PublicationFeature = require('./PublicationFeature-5ccf9b13.js');
27
- var Pagination = require('./Pagination-54f2cb54.js');
27
+ var Pagination = require('./Pagination-a58f82af.js');
28
28
  var Spinner = require('react-bootstrap/Spinner');
29
29
  require('./_commonjsHelpers-06173234.js');
30
30
  require('./core.get-iterator-method-5643aa10.js');
@@ -14,7 +14,7 @@ var lodash = require('./lodash-f0783643.js');
14
14
  var main = require('./main-f1c77adb.js');
15
15
  var ADlgInfeed = require('./ADlgInfeed-24d739f6.js');
16
16
  var ADInfeed = require('./ADInfeed-44d43b8a.js');
17
- var Pagination = require('./Pagination-54f2cb54.js');
17
+ var Pagination = require('./Pagination-a58f82af.js');
18
18
  require('./_commonjsHelpers-06173234.js');
19
19
  require('./core.get-iterator-method-5643aa10.js');
20
20
  require('./web.dom.iterable-d98303e0.js');
@@ -46,7 +46,7 @@ require('./toNumber-5e1fac58.js');
46
46
  require('./Beam.js');
47
47
  require('./Segment.js');
48
48
  require('./ADInfeed-44d43b8a.js');
49
- require('./Pagination-54f2cb54.js');
49
+ require('./Pagination-a58f82af.js');
50
50
  require('react-bootstrap/Button');
51
51
  require('./index.esm-d51c9ac6.js');
52
52
  require('./iconBase-be4097c0.js');
@@ -81,7 +81,7 @@ var Pagination = function Pagination(props) {
81
81
  _onPageChange(currentPage - 1);
82
82
  },
83
83
  disabled: currentPage === 1,
84
- href: '?page=' + (currentPage - 1) },
84
+ href: currentPage >= 1 ? '?page=1' : '?page=' + (currentPage - 1) },
85
85
  React__default['default'].createElement(index_esm.FaArrowLeft, { className: 'fa-arrow-left' }),
86
86
  'PREVIOUS PAGE'
87
87
  )
@@ -46,7 +46,7 @@ require('./AuthorComponent-39b37d84.js');
46
46
  require('./ADlgInfeed-24d739f6.js');
47
47
  require('./getContentCategory-f38a4c00.js');
48
48
  require('./timeDifferenceCalc.js');
49
- require('./Pagination-54f2cb54.js');
49
+ require('./Pagination-a58f82af.js');
50
50
  require('react-bootstrap/Button');
51
51
  require('./index.esm-d51c9ac6.js');
52
52
  require('./iconBase-be4097c0.js');
@@ -19,7 +19,7 @@ var ADlgInfeed = require('./ADlgInfeed-24d739f6.js');
19
19
  var getContentCategory = require('./getContentCategory-f38a4c00.js');
20
20
  var timeDifferenceCalc = require('./timeDifferenceCalc.js');
21
21
  var urlFor = require('./urlFor.js');
22
- var Pagination = require('./Pagination-54f2cb54.js');
22
+ var Pagination = require('./Pagination-a58f82af.js');
23
23
  require('./_commonjsHelpers-06173234.js');
24
24
  require('./core.get-iterator-method-5643aa10.js');
25
25
  require('./web.dom.iterable-d98303e0.js');
@@ -15,7 +15,7 @@ import { L as LazyLoad } from './index-755f2cc2.js';
15
15
  import { m as main_43 } from './main-1894c974.js';
16
16
  import { c as clean_html_1 } from './entities-6d9154b4.js';
17
17
  import { A as ADInfeed } from './ADInfeed-7af1f934.js';
18
- import { P as Pagination } from './Pagination-bfddad7b.js';
18
+ import { P as Pagination } from './Pagination-8b256b07.js';
19
19
  import Spinner from 'react-bootstrap/Spinner';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
21
21
  import './core.get-iterator-method-ea258bb1.js';
@@ -16,7 +16,7 @@ import { g as get_1 } from './get-3c308da4.js';
16
16
  import { m as main_43 } from './main-1894c974.js';
17
17
  import urlFor from './urlFor.js';
18
18
  import { c as clean_html_1 } from './entities-6d9154b4.js';
19
- import { P as Pagination } from './Pagination-bfddad7b.js';
19
+ import { P as Pagination } from './Pagination-8b256b07.js';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
21
21
  import './core.get-iterator-method-ea258bb1.js';
22
22
  import './web.dom.iterable-ab4dea5c.js';
@@ -22,7 +22,7 @@ import urlFor from './urlFor.js';
22
22
  import { m as main_43 } from './main-1894c974.js';
23
23
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
24
24
  import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
25
- import { P as Pagination } from './Pagination-bfddad7b.js';
25
+ import { P as Pagination } from './Pagination-8b256b07.js';
26
26
  import Spinner from 'react-bootstrap/Spinner';
27
27
  import './_commonjsHelpers-0c4b6f40.js';
28
28
  import './core.get-iterator-method-ea258bb1.js';
@@ -12,7 +12,7 @@ import { l as lodash } from './lodash-f97fd99a.js';
12
12
  import { m as main_43 } from './main-1894c974.js';
13
13
  import { A as ADlgInfeed } from './ADlgInfeed-ebcafb85.js';
14
14
  import { A as ADInfeed } from './ADInfeed-7af1f934.js';
15
- import { P as Pagination } from './Pagination-bfddad7b.js';
15
+ import { P as Pagination } from './Pagination-8b256b07.js';
16
16
  import './_commonjsHelpers-0c4b6f40.js';
17
17
  import './core.get-iterator-method-ea258bb1.js';
18
18
  import './web.dom.iterable-ab4dea5c.js';
@@ -44,7 +44,7 @@ import './toNumber-5aeba6e7.js';
44
44
  import './Beam.js';
45
45
  import './Segment.js';
46
46
  import './ADInfeed-7af1f934.js';
47
- import './Pagination-bfddad7b.js';
47
+ import './Pagination-8b256b07.js';
48
48
  import 'react-bootstrap/Button';
49
49
  import './index.esm-1bd8a0a8.js';
50
50
  import './iconBase-ccc56b97.js';
@@ -74,7 +74,7 @@ var Pagination = function Pagination(props) {
74
74
  _onPageChange(currentPage - 1);
75
75
  },
76
76
  disabled: currentPage === 1,
77
- href: '?page=' + (currentPage - 1) },
77
+ href: currentPage >= 1 ? '?page=1' : '?page=' + (currentPage - 1) },
78
78
  React__default.createElement(FaArrowLeft, { className: 'fa-arrow-left' }),
79
79
  'PREVIOUS PAGE'
80
80
  )
@@ -44,7 +44,7 @@ import './AuthorComponent-11adff02.js';
44
44
  import './ADlgInfeed-ebcafb85.js';
45
45
  import './getContentCategory-15dcc413.js';
46
46
  import './timeDifferenceCalc.js';
47
- import './Pagination-bfddad7b.js';
47
+ import './Pagination-8b256b07.js';
48
48
  import 'react-bootstrap/Button';
49
49
  import './index.esm-1bd8a0a8.js';
50
50
  import './iconBase-ccc56b97.js';
@@ -17,7 +17,7 @@ import { A as ADlgInfeed } from './ADlgInfeed-ebcafb85.js';
17
17
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
18
18
  import timeDifferenceCalc from './timeDifferenceCalc.js';
19
19
  import urlFor from './urlFor.js';
20
- import { P as Pagination } from './Pagination-bfddad7b.js';
20
+ import { P as Pagination } from './Pagination-8b256b07.js';
21
21
  import './_commonjsHelpers-0c4b6f40.js';
22
22
  import './core.get-iterator-method-ea258bb1.js';
23
23
  import './web.dom.iterable-ab4dea5c.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.950-deck-pagination-v1",
3
+ "version": "1.0.950-deck-pagination-v3",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",