@mjhls/mjh-framework 1.0.926-bc-fullscreen-v2 → 1.0.926-bc-fullscreen-v4

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/dist/cjs/View.js CHANGED
@@ -684,9 +684,9 @@ var Article = React.forwardRef(function (props, ref) {
684
684
  }
685
685
  if (authorDetails && authorDetails.length) {
686
686
  authorDetails.map(function (authorDetail, index) {
687
- return fileContent += 'AU - ' + authorDetail.displayName + '\n' //Author
688
- ;
689
- });
687
+ return fileContent += 'AU - ' + authorDetail.displayName + '\n';
688
+ } //Author
689
+ );
690
690
  }
691
691
  if (issue.publication && issue.publication.name) {
692
692
  fileContent += 'T2 - ' + issue.publication.name + '\n'; //Secondary Title - T2
@@ -1118,7 +1118,7 @@ var Article = React.forwardRef(function (props, ref) {
1118
1118
  return episode;
1119
1119
  };
1120
1120
  // pixels from bottom of window to change trigger visibility change
1121
- var triggerOffset = 10;
1121
+ var triggerOffset = 20;
1122
1122
  var isVideoSeries = checkIfVideoSeries(article);
1123
1123
  var episodeNumber = fetchCurrentEpisode(props.sliderData, props.article);
1124
1124
  var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
@@ -1131,7 +1131,7 @@ var Article = React.forwardRef(function (props, ref) {
1131
1131
  visibilitySensor.VisibilitySensor,
1132
1132
  {
1133
1133
  partialVisibility: true,
1134
- offset: { bottom: triggerOffset, top: containerHeight - 80 },
1134
+ offset: { bottom: triggerOffset, top: containerHeight },
1135
1135
  onChange: function onChange(isVisible) {
1136
1136
  if (isVisible && queueData && queueData.length > 1) {
1137
1137
  var pageviewProperties = _extends._extends({}, targeting, {
@@ -1695,7 +1695,7 @@ var ArticleQueue = function ArticleQueue(props) {
1695
1695
 
1696
1696
  return React__default['default'].createElement(
1697
1697
  index_es.InfiniteScroll,
1698
- { dataLength: queueData.length, next: loadmore, scrollThreshold: '70%', hasMore: true, style: { overflow: 'hidden' } },
1698
+ { dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
1699
1699
  queueData.map(function (article, index) {
1700
1700
  return React__default['default'].createElement(
1701
1701
  React__default['default'].Fragment,
package/dist/esm/View.js CHANGED
@@ -674,9 +674,9 @@ var Article = forwardRef(function (props, ref) {
674
674
  }
675
675
  if (authorDetails && authorDetails.length) {
676
676
  authorDetails.map(function (authorDetail, index) {
677
- return fileContent += 'AU - ' + authorDetail.displayName + '\n' //Author
678
- ;
679
- });
677
+ return fileContent += 'AU - ' + authorDetail.displayName + '\n';
678
+ } //Author
679
+ );
680
680
  }
681
681
  if (issue.publication && issue.publication.name) {
682
682
  fileContent += 'T2 - ' + issue.publication.name + '\n'; //Secondary Title - T2
@@ -1108,7 +1108,7 @@ var Article = forwardRef(function (props, ref) {
1108
1108
  return episode;
1109
1109
  };
1110
1110
  // pixels from bottom of window to change trigger visibility change
1111
- var triggerOffset = 10;
1111
+ var triggerOffset = 20;
1112
1112
  var isVideoSeries = checkIfVideoSeries(article);
1113
1113
  var episodeNumber = fetchCurrentEpisode(props.sliderData, props.article);
1114
1114
  var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
@@ -1121,7 +1121,7 @@ var Article = forwardRef(function (props, ref) {
1121
1121
  VisibilitySensor,
1122
1122
  {
1123
1123
  partialVisibility: true,
1124
- offset: { bottom: triggerOffset, top: containerHeight - 80 },
1124
+ offset: { bottom: triggerOffset, top: containerHeight },
1125
1125
  onChange: function onChange(isVisible) {
1126
1126
  if (isVisible && queueData && queueData.length > 1) {
1127
1127
  var pageviewProperties = _extends({}, targeting, {
@@ -1685,7 +1685,7 @@ var ArticleQueue = function ArticleQueue(props) {
1685
1685
 
1686
1686
  return React__default.createElement(
1687
1687
  InfiniteScroll,
1688
- { dataLength: queueData.length, next: loadmore, scrollThreshold: '70%', hasMore: true, style: { overflow: 'hidden' } },
1688
+ { dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
1689
1689
  queueData.map(function (article, index) {
1690
1690
  return React__default.createElement(
1691
1691
  React__default.Fragment,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.926-bc-fullscreen-v2",
3
+ "version": "1.0.926-bc-fullscreen-v4",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",