@mjhls/mjh-framework 1.0.707 → 1.0.708

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/README.md CHANGED
@@ -1,10 +1,6 @@
1
-
2
1
  # mjh-framework v. 1.0.707
3
2
 
4
- > Foundation Framework
5
-
6
-
7
- [![NPM](https://img.shields.io/npm/v/mjh-framework.svg)](https://www.npmjs.com/package/mjh-framework) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)]( https://standardjs.com )
3
+ [![NPM](https://img.shields.io/npm/v/mjh-framework.svg)](https://www.npmjs.com/package/mjh-framework) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
8
4
 
9
5
  ## Install
10
6
 
@@ -62,7 +62,7 @@ var MasterDeck = function (_React$Component) {
62
62
  args[_key] = arguments[_key];
63
63
  }
64
64
 
65
- return _ret = (_temp = (_this = inherits._possibleConstructorReturn(this, (_ref = MasterDeck.__proto__ || inherits._Object$getPrototypeOf(MasterDeck)).call.apply(_ref, [this].concat(args))), _this), _this.Deck = _this.props.deck, _this.variant = _this.props.variant, _this.mapping = _this.props.mapping, _this.data = _this.props.dataRecord || [], _this.query = _this.props.query, _this.params = _this.props.params, _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.rightItems = _this.props.rightItems ? _this.props.rightItems : false, _this.state = {
65
+ return _ret = (_temp = (_this = inherits._possibleConstructorReturn(this, (_ref = MasterDeck.__proto__ || inherits._Object$getPrototypeOf(MasterDeck)).call.apply(_ref, [this].concat(args))), _this), _this.Deck = _this.props.deck, _this.variant = _this.props.variant, _this.mapping = _this.props.mapping, _this.data = _this.props.dataRecord || [], _this.query = _this.props.query, _this.params = _this.props.params, _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.rightItems = _this.props.rightItems ? _this.props.rightItems : false, _this.isSeriesLanding = _this.props.isSeriesLanding ? _this.props.isSeriesLanding : false, _this.state = {
66
66
  data: _this.data,
67
67
  dataKeptToCompareNewDatarecord: _this.data,
68
68
  per: _this.params ? _this.params.to : 2,
@@ -354,7 +354,7 @@ var MasterDeck = function (_React$Component) {
354
354
  React__default['default'].createElement(
355
355
  React__default['default'].Fragment,
356
356
  { key: index },
357
- React__default['default'].createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage }),
357
+ React__default['default'].createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding }),
358
358
  _this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default['default'].createElement(
359
359
  'div',
360
360
  { className: 'ad-container', style: { margin: '0 auto' } },
@@ -379,7 +379,7 @@ var MasterDeck = function (_React$Component) {
379
379
  React__default['default'].createElement(
380
380
  React__default['default'].Fragment,
381
381
  { key: index },
382
- React__default['default'].createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage })
382
+ React__default['default'].createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding })
383
383
  )
384
384
  );
385
385
  }
@@ -55,7 +55,7 @@ var MasterDeck = function (_React$Component) {
55
55
  args[_key] = arguments[_key];
56
56
  }
57
57
 
58
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = MasterDeck.__proto__ || _Object$getPrototypeOf(MasterDeck)).call.apply(_ref, [this].concat(args))), _this), _this.Deck = _this.props.deck, _this.variant = _this.props.variant, _this.mapping = _this.props.mapping, _this.data = _this.props.dataRecord || [], _this.query = _this.props.query, _this.params = _this.props.params, _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.rightItems = _this.props.rightItems ? _this.props.rightItems : false, _this.state = {
58
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = MasterDeck.__proto__ || _Object$getPrototypeOf(MasterDeck)).call.apply(_ref, [this].concat(args))), _this), _this.Deck = _this.props.deck, _this.variant = _this.props.variant, _this.mapping = _this.props.mapping, _this.data = _this.props.dataRecord || [], _this.query = _this.props.query, _this.params = _this.props.params, _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.rightItems = _this.props.rightItems ? _this.props.rightItems : false, _this.isSeriesLanding = _this.props.isSeriesLanding ? _this.props.isSeriesLanding : false, _this.state = {
59
59
  data: _this.data,
60
60
  dataKeptToCompareNewDatarecord: _this.data,
61
61
  per: _this.params ? _this.params.to : 2,
@@ -347,7 +347,7 @@ var MasterDeck = function (_React$Component) {
347
347
  React.createElement(
348
348
  React.Fragment,
349
349
  { key: index },
350
- React.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage }),
350
+ React.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding }),
351
351
  _this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React.createElement(
352
352
  'div',
353
353
  { className: 'ad-container', style: { margin: '0 auto' } },
@@ -372,7 +372,7 @@ var MasterDeck = function (_React$Component) {
372
372
  React.createElement(
373
373
  React.Fragment,
374
374
  { key: index },
375
- React.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage })
375
+ React.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding })
376
376
  )
377
377
  );
378
378
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.707",
3
+ "version": "1.0.708",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",
@@ -28,9 +28,9 @@
28
28
  "next": "^9.0.0",
29
29
  "prop-types": "^15.5.4",
30
30
  "react": "^15.0.0 || ^16.0.0",
31
+ "react-bootstrap": "^1.0.0-beta.14",
31
32
  "react-dom": "^15.0.0 || ^16.0.0",
32
- "react-share": "^4.0.1",
33
- "react-bootstrap": "^1.0.0-beta.14"
33
+ "react-share": "^4.0.1"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@brightcove/react-player-loader": "^1.4.0",