@mjhls/mjh-framework 1.0.653 → 1.0.654-hamNav-expand-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.
Files changed (144) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +3 -3
  4. package/dist/cjs/AD300x250x600.js +3 -3
  5. package/dist/cjs/AD728x90.js +4 -4
  6. package/dist/cjs/ADFloatingFooter.js +2 -2
  7. package/dist/cjs/ADGutter.js +2 -2
  8. package/dist/cjs/ADSkyscraper.js +2 -2
  9. package/dist/cjs/ADSponsoredResources.js +2 -2
  10. package/dist/cjs/ADWebcast.js +2 -2
  11. package/dist/cjs/ADWelcome.js +2 -2
  12. package/dist/cjs/AdSlot.js +2 -2
  13. package/dist/cjs/AdSlotsProvider.js +1 -1
  14. package/dist/cjs/ArticleSeriesListing.js +4 -4
  15. package/dist/cjs/Auth.js +255 -506
  16. package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-80b15fac.js} +1 -1
  17. package/dist/cjs/CMEDeck.js +5 -5
  18. package/dist/cjs/Column3.js +4 -4
  19. package/dist/cjs/ConferenceArticleCard.js +2 -2
  20. package/dist/cjs/DeckContent.js +7 -7
  21. package/dist/cjs/DeckQueue.js +6 -6
  22. package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-390337bf.js} +1 -1
  23. package/dist/cjs/EventsDeck.js +5 -5
  24. package/dist/cjs/ExternalResources.js +7 -7
  25. package/dist/cjs/Feature.js +3 -3
  26. package/dist/cjs/ForbesHero.js +2 -2
  27. package/dist/cjs/GridContent.js +11 -11
  28. package/dist/cjs/GridHero.js +2 -2
  29. package/dist/cjs/GroupDeck.js +1 -1
  30. package/dist/cjs/HamMagazine.js +7 -6
  31. package/dist/cjs/Hero.js +1 -1
  32. package/dist/cjs/HorizontalHero.js +2 -2
  33. package/dist/cjs/IssueContentDeck.js +2 -2
  34. package/dist/cjs/IssueDeck.js +2 -2
  35. package/dist/cjs/IssueLanding.js +8 -8
  36. package/dist/cjs/LeftNav.js +2 -2
  37. package/dist/cjs/MasterDeck.js +9 -9
  38. package/dist/cjs/NavMagazine.js +6 -5
  39. package/dist/cjs/NavNative.js +4 -3
  40. package/dist/cjs/OncliveHero.js +2 -2
  41. package/dist/cjs/OncliveLargeHero.js +2 -2
  42. package/dist/cjs/PartnerDetailListing.js +1211 -14
  43. package/dist/cjs/PublicationDeck.js +2 -2
  44. package/dist/cjs/QueueDeckExpanded.js +10 -10
  45. package/dist/cjs/RecentNews.js +2 -2
  46. package/dist/cjs/RelatedContent.js +2 -2
  47. package/dist/cjs/{SocialSearchComponent-962b1344.js → SocialSearchComponent-81a50f81.js} +5 -5
  48. package/dist/cjs/TaxonomyCard.js +2 -2
  49. package/dist/cjs/TemplateNormal.js +3 -3
  50. package/dist/cjs/ThumbnailCard.js +1 -1
  51. package/dist/cjs/Ustream.js +2 -2
  52. package/dist/cjs/VerticalHero.js +2 -2
  53. package/dist/cjs/VideoSeriesCard.js +2 -2
  54. package/dist/cjs/VideoSeriesListing.js +3 -3
  55. package/dist/cjs/View.js +15 -15
  56. package/dist/cjs/YahooHero.js +2 -2
  57. package/dist/cjs/YoutubeGroup.js +1 -1
  58. package/dist/cjs/getRelatedArticle.js +357 -10
  59. package/dist/cjs/getSerializers.js +6 -6
  60. package/dist/cjs/{index-2d0a4911.js → index-099d45ae.js} +6 -4
  61. package/dist/cjs/{index-5be2866f.js → index-3294d3bc.js} +1 -1
  62. package/dist/cjs/{index-b5eb3ff8.js → index-39beccb3.js} +18 -18
  63. package/dist/cjs/{index-94418bc4.js → index-9176613a.js} +14 -14
  64. package/dist/cjs/index-bd6c9f56.js +211 -0
  65. package/dist/cjs/{index.es-ab3f2690.js → index.es-9110add6.js} +1 -3
  66. package/dist/cjs/index.js +15 -16
  67. package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
  68. package/dist/cjs/{main-b6c96c8d.js → main-a4cb15bb.js} +36 -67
  69. package/dist/cjs/{moment-66a6a284.js → moment-575fe24c.js} +1 -1
  70. package/dist/cjs/urlFor.js +1 -1
  71. package/dist/esm/AD.js +1 -1
  72. package/dist/esm/AD300x250.js +3 -3
  73. package/dist/esm/AD300x250x600.js +3 -3
  74. package/dist/esm/AD728x90.js +4 -4
  75. package/dist/esm/ADFloatingFooter.js +2 -2
  76. package/dist/esm/ADGutter.js +2 -2
  77. package/dist/esm/ADSkyscraper.js +2 -2
  78. package/dist/esm/ADSponsoredResources.js +2 -2
  79. package/dist/esm/ADWebcast.js +2 -2
  80. package/dist/esm/ADWelcome.js +2 -2
  81. package/dist/esm/AdSlot.js +2 -2
  82. package/dist/esm/AdSlotsProvider.js +1 -1
  83. package/dist/esm/ArticleSeriesListing.js +4 -4
  84. package/dist/esm/Auth.js +250 -501
  85. package/dist/esm/{BlockContent-a614acdf.js → BlockContent-c409aca5.js} +1 -1
  86. package/dist/esm/CMEDeck.js +5 -5
  87. package/dist/esm/Column3.js +4 -4
  88. package/dist/esm/ConferenceArticleCard.js +2 -2
  89. package/dist/esm/DeckContent.js +7 -7
  90. package/dist/esm/DeckQueue.js +6 -6
  91. package/dist/esm/{Dfp-8a8fca18.js → Dfp-741c01be.js} +1 -1
  92. package/dist/esm/EventsDeck.js +5 -5
  93. package/dist/esm/ExternalResources.js +7 -7
  94. package/dist/esm/Feature.js +3 -3
  95. package/dist/esm/ForbesHero.js +2 -2
  96. package/dist/esm/GridContent.js +11 -11
  97. package/dist/esm/GridHero.js +2 -2
  98. package/dist/esm/GroupDeck.js +1 -1
  99. package/dist/esm/HamMagazine.js +7 -6
  100. package/dist/esm/Hero.js +1 -1
  101. package/dist/esm/HorizontalHero.js +2 -2
  102. package/dist/esm/IssueContentDeck.js +2 -2
  103. package/dist/esm/IssueDeck.js +2 -2
  104. package/dist/esm/IssueLanding.js +8 -8
  105. package/dist/esm/LeftNav.js +2 -2
  106. package/dist/esm/MasterDeck.js +9 -9
  107. package/dist/esm/NavMagazine.js +6 -5
  108. package/dist/esm/NavNative.js +4 -3
  109. package/dist/esm/OncliveHero.js +2 -2
  110. package/dist/esm/OncliveLargeHero.js +2 -2
  111. package/dist/esm/PartnerDetailListing.js +1210 -14
  112. package/dist/esm/PublicationDeck.js +2 -2
  113. package/dist/esm/QueueDeckExpanded.js +10 -10
  114. package/dist/esm/RecentNews.js +2 -2
  115. package/dist/esm/RelatedContent.js +2 -2
  116. package/dist/esm/{SocialSearchComponent-75527dfe.js → SocialSearchComponent-55960ec4.js} +5 -5
  117. package/dist/esm/TaxonomyCard.js +2 -2
  118. package/dist/esm/TemplateNormal.js +3 -3
  119. package/dist/esm/ThumbnailCard.js +1 -1
  120. package/dist/esm/Ustream.js +2 -2
  121. package/dist/esm/VerticalHero.js +2 -2
  122. package/dist/esm/VideoSeriesCard.js +2 -2
  123. package/dist/esm/VideoSeriesListing.js +3 -3
  124. package/dist/esm/View.js +15 -15
  125. package/dist/esm/YahooHero.js +2 -2
  126. package/dist/esm/YoutubeGroup.js +1 -1
  127. package/dist/esm/getRelatedArticle.js +357 -10
  128. package/dist/esm/getSerializers.js +6 -6
  129. package/dist/esm/{index-d493a594.js → index-11dc87c2.js} +14 -14
  130. package/dist/esm/{index-51a80699.js → index-3849e3fe.js} +18 -18
  131. package/dist/esm/{index-93ec3c59.js → index-3f4dd6f2.js} +6 -4
  132. package/dist/esm/index-db3bb315.js +207 -0
  133. package/dist/esm/{index-d2f90501.js → index-ef6d5dcf.js} +1 -1
  134. package/dist/esm/{index.es-938a3a58.js → index.es-29c1cef5.js} +1 -3
  135. package/dist/esm/index.js +14 -15
  136. package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
  137. package/dist/esm/{main-0465b2a0.js → main-5d1e4bd3.js} +34 -65
  138. package/dist/esm/{moment-12415288.js → moment-e2f9b20c.js} +1 -1
  139. package/dist/esm/urlFor.js +1 -1
  140. package/package.json +3 -3
  141. /package/dist/cjs/{ADInfeed-eaa6c661.js → ADInfeed-f886da72.js} +0 -0
  142. /package/dist/cjs/{ADlgInfeed-f25eb4f7.js → ADlgInfeed-7aa459cc.js} +0 -0
  143. /package/dist/esm/{ADInfeed-c27997a3.js → ADInfeed-67097b02.js} +0 -0
  144. /package/dist/esm/{ADlgInfeed-41c3909c.js → ADlgInfeed-0bd34fef.js} +0 -0
@@ -8,7 +8,7 @@ import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default, { useRef, useState, useEffect } from 'react';
9
9
  import 'prop-types';
10
10
  import Container from 'react-bootstrap/Container';
11
- import { a as main_40 } from './main-0465b2a0.js';
11
+ import { a as main_37 } from './main-5d1e4bd3.js';
12
12
  import './stringify-008c8802.js';
13
13
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
14
14
  import './asyncToGenerator-7c654f36.js';
@@ -27,7 +27,7 @@ import { N as NavFooter } from './NavFooter-e27bd93b.js';
27
27
  import { S as SocialNavFooter } from './index.esm-73e847d2.js';
28
28
  import './SocialIcons.js';
29
29
  import 'react-bootstrap/FormControl';
30
- import { S as SocialSearchComponent } from './SocialSearchComponent-75527dfe.js';
30
+ import { S as SocialSearchComponent } from './SocialSearchComponent-55960ec4.js';
31
31
 
32
32
  var NavMagazine = function NavMagazine(props) {
33
33
  /*
@@ -123,7 +123,8 @@ var NavMagazine = function NavMagazine(props) {
123
123
  if (window.innerWidth < 768 && resolution >= 768) {
124
124
  console.log('Detected Mobile Resolution');
125
125
  window.location.reload();
126
- } else if (window.innerWidth >= 768 && resolution < 768) {
126
+ // Updating the condition to reload the page on resize in desktop view
127
+ } else if (window.innerWidth >= 768) {
127
128
  console.log('Detected Tablet/Desktop Resolution');
128
129
  window.location.reload();
129
130
  }
@@ -306,7 +307,7 @@ var NavMagazine = function NavMagazine(props) {
306
307
  {
307
308
  id: 'navbar-ham',
308
309
  style: { width: '100%', display: 'flex', top: topOffset, overflow: 'auto', zIndex: '999999' },
309
- className: main_40 ? 'bottom-nav ios-nav' : 'bottom-nav ',
310
+ className: main_37 ? 'bottom-nav ios-nav' : 'bottom-nav ',
310
311
  variant: 'dark',
311
312
  expand: 'xl',
312
313
  bg: 'primary',
@@ -322,7 +323,7 @@ var NavMagazine = function NavMagazine(props) {
322
323
  'aria-controls': 'basic-navbar-nav',
323
324
  onClick: function onClick() {
324
325
  // Set overflow fix for iPhones safari browsers
325
- if (main_40) {
326
+ if (main_37) {
326
327
  var mainNav = document.querySelector('#navbar-ham');
327
328
  if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
328
329
  }
@@ -8,7 +8,7 @@ import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default, { useRef, useState, useEffect } from 'react';
9
9
  import 'prop-types';
10
10
  import Container from 'react-bootstrap/Container';
11
- import { a as main_40 } from './main-0465b2a0.js';
11
+ import { a as main_37 } from './main-5d1e4bd3.js';
12
12
  import './stringify-008c8802.js';
13
13
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
14
14
  import './asyncToGenerator-7c654f36.js';
@@ -92,7 +92,8 @@ var NavNative = function NavNative(props) {
92
92
  if (window.innerWidth < 768 && resolution >= 768) {
93
93
  console.log('Detected Mobile Resolution');
94
94
  window.location.reload();
95
- } else if (window.innerWidth >= 768 && resolution < 768) {
95
+ // Updating the condition to reload the page on resize in desktop view
96
+ } else if (window.innerWidth >= 768) {
96
97
  console.log('Detected Tablet/Desktop Resolution');
97
98
  window.location.reload();
98
99
  }
@@ -251,7 +252,7 @@ var NavNative = function NavNative(props) {
251
252
  React__default.createElement(
252
253
  Navbar,
253
254
  {
254
- className: main_40 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
255
+ className: main_37 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
255
256
  variant: 'dark',
256
257
  expand: 'lg',
257
258
  bg: 'primary',
@@ -1,7 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
- import { m as moment } from './moment-12415288.js';
4
- import { i as imageUrlBuilder } from './index-51a80699.js';
3
+ import { m as moment } from './moment-e2f9b20c.js';
4
+ import { i as imageUrlBuilder } from './index-3849e3fe.js';
5
5
  import './iconBase-602d52fe.js';
6
6
  import 'react-bootstrap/Badge';
7
7
  import './index.esm-9a4c8813.js';
@@ -5,9 +5,9 @@ import './core.get-iterator-method-54d2e411.js';
5
5
  import './web.dom.iterable-8956f9a5.js';
6
6
  import React__default from 'react';
7
7
  import 'prop-types';
8
- import { m as moment } from './moment-12415288.js';
8
+ import { m as moment } from './moment-e2f9b20c.js';
9
9
  import 'react-dom';
10
- import { i as imageUrlBuilder } from './index-51a80699.js';
10
+ import { i as imageUrlBuilder } from './index-3849e3fe.js';
11
11
  import { L as LazyLoad } from './index-5f9f807a.js';
12
12
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
13
13
  import './slicedToArray-7021e5df.js';