@mjhls/mjh-framework 1.0.939-disable-episode-number-v2 → 1.0.939-iamge-width-v2

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 (152) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AlgoliaSearch.js +5 -11
  3. package/dist/cjs/Auth.js +17 -20
  4. package/dist/cjs/AuthWrapper.js +13 -19
  5. package/dist/cjs/CMEDeck.js +1 -5
  6. package/dist/cjs/Column1.js +1 -1
  7. package/dist/cjs/Column2.js +1 -1
  8. package/dist/cjs/Column3.js +1 -1
  9. package/dist/cjs/ConferenceArticleCard.js +15 -15
  10. package/dist/cjs/DeckContent.js +46 -13
  11. package/dist/cjs/Dfp-9be904d5.js +1 -1
  12. package/dist/cjs/EventsDeck.js +17 -17
  13. package/dist/cjs/HamMagazine.js +10 -10
  14. package/dist/cjs/Header.js +1 -1
  15. package/dist/cjs/IssueLanding.js +29 -29
  16. package/dist/cjs/KMTracker.js +15 -15
  17. package/dist/cjs/LeftNav.js +1 -1
  18. package/dist/cjs/MasterDeck.js +10 -10
  19. package/dist/cjs/MasterDeckPaginated.js +8 -8
  20. package/dist/cjs/{MediaSeriesCard-0c0fa2c6.js → MediaSeriesCard-cc5aa886.js} +43 -65
  21. package/dist/cjs/MediaSeriesLanding.js +6 -6
  22. package/dist/cjs/MediaSeriesLandingPaginated.js +6 -6
  23. package/dist/cjs/NavDvm.js +1 -1
  24. package/dist/cjs/NavMagazine.js +11 -11
  25. package/dist/cjs/NavNative.js +10 -10
  26. package/dist/cjs/PublicationLanding.js +26 -26
  27. package/dist/cjs/RelatedContent.js +28 -28
  28. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  29. package/dist/cjs/SeriesListingDeck.js +1 -1
  30. package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-de93a303.js} +4 -4
  31. package/dist/cjs/SideFooter.js +2 -2
  32. package/dist/cjs/VideoSeriesCard.js +1 -1
  33. package/dist/cjs/View.js +12 -16
  34. package/dist/cjs/YoutubeGroup.js +4 -4
  35. package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-dab97fe1.js} +9 -9
  36. package/dist/cjs/getTargeting.js +1 -1
  37. package/dist/cjs/index.js +2 -2
  38. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  39. package/dist/esm/AD.js +1 -1
  40. package/dist/esm/AD300x250.js +1 -1
  41. package/dist/esm/AD300x250x600.js +1 -1
  42. package/dist/esm/AD728x90.js +1 -1
  43. package/dist/esm/ADFloatingFooter.js +1 -1
  44. package/dist/esm/ADFooter.js +1 -1
  45. package/dist/esm/ADGutter.js +1 -1
  46. package/dist/esm/ADSkyscraper.js +1 -1
  47. package/dist/esm/ADSponsoredResources.js +1 -1
  48. package/dist/esm/ADWebcast.js +1 -1
  49. package/dist/esm/ADWelcome.js +1 -1
  50. package/dist/esm/AccordionPanel.js +1 -1
  51. package/dist/esm/AdSlot.js +1 -1
  52. package/dist/esm/AdSlotsProvider.js +1 -1
  53. package/dist/esm/AlgoliaSearch.js +6 -12
  54. package/dist/esm/AlphabeticList.js +1 -1
  55. package/dist/esm/ArticleCarousel.js +1 -1
  56. package/dist/esm/ArticleProgramLandingPage.js +1 -1
  57. package/dist/esm/ArticleSeriesLandingPage.js +1 -1
  58. package/dist/esm/ArticleSeriesListing.js +1 -1
  59. package/dist/esm/Auth.js +18 -20
  60. package/dist/esm/AuthWrapper.js +14 -20
  61. package/dist/esm/Beam.js +1 -1
  62. package/dist/esm/Breadcrumbs.js +1 -1
  63. package/dist/esm/CMEDeck.js +2 -6
  64. package/dist/esm/Column1.js +2 -1
  65. package/dist/esm/Column2.js +2 -1
  66. package/dist/esm/Column3.js +2 -1
  67. package/dist/esm/ConferenceArticleCard.js +16 -16
  68. package/dist/esm/ContentCardPaginated.js +1 -1
  69. package/dist/esm/DeckContent.js +47 -14
  70. package/dist/esm/DeckQueue.js +1 -1
  71. package/dist/esm/DeckQueuePaginated.js +1 -1
  72. package/dist/esm/Dfp-102f0beb.js +1 -1
  73. package/dist/esm/EventsDeck.js +18 -18
  74. package/dist/esm/ExternalResources.js +1 -1
  75. package/dist/esm/Feature.js +1 -1
  76. package/dist/esm/ForbesHero.js +1 -1
  77. package/dist/esm/GridContent.js +1 -1
  78. package/dist/esm/GridContentPaginated.js +1 -1
  79. package/dist/esm/GridHero.js +1 -1
  80. package/dist/esm/GroupDeck.js +1 -1
  81. package/dist/esm/HamMagazine.js +11 -10
  82. package/dist/esm/Header.js +2 -1
  83. package/dist/esm/Hero.js +1 -1
  84. package/dist/esm/HighlightenVideo.js +1 -1
  85. package/dist/esm/HorizontalArticleListing.js +1 -1
  86. package/dist/esm/HorizontalHero.js +1 -1
  87. package/dist/esm/IssueContentDeck.js +1 -1
  88. package/dist/esm/IssueDeck.js +1 -1
  89. package/dist/esm/IssueLanding.js +30 -30
  90. package/dist/esm/KMTracker.js +16 -16
  91. package/dist/esm/LeftNav.js +2 -1
  92. package/dist/esm/MasterDeck.js +11 -11
  93. package/dist/esm/MasterDeckPaginated.js +9 -9
  94. package/dist/esm/{MediaSeriesCard-4c6c664c.js → MediaSeriesCard-2dc3c439.js} +43 -65
  95. package/dist/esm/MediaSeriesLanding.js +7 -7
  96. package/dist/esm/MediaSeriesLandingPaginated.js +7 -7
  97. package/dist/esm/NavDvm.js +2 -1
  98. package/dist/esm/NavMagazine.js +12 -11
  99. package/dist/esm/NavNative.js +11 -10
  100. package/dist/esm/OncliveHero.js +1 -1
  101. package/dist/esm/OncliveLargeHero.js +1 -1
  102. package/dist/esm/PageFilter.js +1 -1
  103. package/dist/esm/PartnerDetailListing.js +1 -1
  104. package/dist/esm/PartnerDetailListingPaginated.js +1 -1
  105. package/dist/esm/PdfDownload.js +1 -1
  106. package/dist/esm/PopUpModal.js +1 -1
  107. package/dist/esm/PubSection.js +1 -1
  108. package/dist/esm/PubToc.js +1 -1
  109. package/dist/esm/PublicationDeck.js +1 -1
  110. package/dist/esm/PublicationLanding.js +27 -27
  111. package/dist/esm/QueueDeckExpanded.js +1 -1
  112. package/dist/esm/QueueDeckExpandedPaginated.js +1 -1
  113. package/dist/esm/RecentNews.js +1 -1
  114. package/dist/esm/RelatedContent.js +29 -29
  115. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  116. package/dist/esm/RolesDeck.js +1 -1
  117. package/dist/esm/Schema.js +1 -1
  118. package/dist/esm/Search.js +1 -1
  119. package/dist/esm/Segment.js +1 -1
  120. package/dist/esm/SeriesListingDeck.js +2 -2
  121. package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-98ad6d97.js} +4 -4
  122. package/dist/esm/SetCookie.js +1 -1
  123. package/dist/esm/SideFooter.js +3 -3
  124. package/dist/esm/SocialIcons.js +1 -1
  125. package/dist/esm/SocialShare.js +1 -1
  126. package/dist/esm/TaxonomyCard.js +1 -1
  127. package/dist/esm/TaxonomyDescription.js +1 -1
  128. package/dist/esm/TemplateNormal.js +1 -1
  129. package/dist/esm/ThumbnailCard.js +1 -1
  130. package/dist/esm/Ustream.js +1 -1
  131. package/dist/esm/VerticalHero.js +1 -1
  132. package/dist/esm/VideoProgramLandingPage.js +1 -1
  133. package/dist/esm/VideoSeriesCard.js +2 -2
  134. package/dist/esm/VideoSeriesFilter.js +1 -1
  135. package/dist/esm/VideoSeriesLandingPage.js +1 -1
  136. package/dist/esm/VideoSeriesListing.js +1 -1
  137. package/dist/esm/View.js +13 -17
  138. package/dist/esm/YahooHero.js +1 -1
  139. package/dist/esm/YoutubeGroup.js +5 -5
  140. package/dist/esm/getKeywords.js +1 -1
  141. package/dist/esm/getQuery.js +1 -1
  142. package/dist/esm/getRelatedArticle.js +1 -1
  143. package/dist/esm/getRootDocGroup.js +1 -1
  144. package/dist/esm/getSeriesDetail.js +1 -1
  145. package/dist/esm/{getTargeting-42f9b439.js → getTargeting-04d979c9.js} +9 -9
  146. package/dist/esm/getTargeting.js +1 -1
  147. package/dist/esm/index.js +2 -2
  148. package/dist/esm/stringify-2b084bee.js +1 -1
  149. package/dist/esm/timeDifferenceCalc.js +1 -1
  150. package/dist/esm/urlFor.js +1 -1
  151. package/dist/esm/ustream-api-d3714624.js +1 -1
  152. package/package.json +115 -115
@@ -70,35 +70,35 @@ import 'react-bootstrap/OverlayTrigger';
70
70
  import 'react-bootstrap/Tooltip';
71
71
  import 'react-bootstrap/Popover';
72
72
 
73
- /* usage
74
- import Settings, { Ads } from '../../../../settings'
75
- import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
76
- import client from '../../../../client'
77
- import moment from 'moment'
78
- import Shell from '../../../../components/2.0/Shell'
79
- import { pageview } from '../../../../utilities/gtag'
80
-
81
- const Issue = (props) => {
82
- const { pubIssue, cache } = props
83
- const targeting = {
84
- content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
85
- document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
86
- }
87
- return (
88
- <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
89
- <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
90
- </Shell>
91
- )
92
- }
93
-
94
- Issue.getInitialProps = async (ctx) => {
95
- const { query } = ctx
96
- const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
97
- )
98
- return { pubIssue }
99
- }
100
-
101
- export default Issue
73
+ /* usage
74
+ import Settings, { Ads } from '../../../../settings'
75
+ import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
76
+ import client from '../../../../client'
77
+ import moment from 'moment'
78
+ import Shell from '../../../../components/2.0/Shell'
79
+ import { pageview } from '../../../../utilities/gtag'
80
+
81
+ const Issue = (props) => {
82
+ const { pubIssue, cache } = props
83
+ const targeting = {
84
+ content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
85
+ document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
86
+ }
87
+ return (
88
+ <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
89
+ <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
90
+ </Shell>
91
+ )
92
+ }
93
+
94
+ Issue.getInitialProps = async (ctx) => {
95
+ const { query } = ctx
96
+ const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
97
+ )
98
+ return { pubIssue }
99
+ }
100
+
101
+ export default Issue
102
102
  */
103
103
 
104
104
  var IssueLanding = function IssueLanding(props) {
@@ -161,4 +161,4 @@ var IssueLanding = function IssueLanding(props) {
161
161
  );
162
162
  };
163
163
 
164
- export { IssueLanding as default };
164
+ export default IssueLanding;
@@ -1,25 +1,25 @@
1
1
  var KMTracker = function KMTracker(props) {
2
- var id = props.id;
2
+ var id = props.id;
3
3
 
4
- if (document && id) {
4
+ if (document && id) {
5
5
  (function () {
6
- var ecnJquery = document.createElement('script');
6
+ var ecnJquery = document.createElement('script');
7
7
 
8
- ecnJquery.type = 'text/javascript';
9
- ecnJquery.async = true;
10
- ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
8
+ ecnJquery.type = 'text/javascript';
9
+ ecnJquery.async = true;
10
+ ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
11
11
 
12
- var ecnScript = document.createElement('script');
12
+ var ecnScript = document.createElement('script');
13
13
 
14
- ecnScript.type = 'text/javascript';
15
- ecnScript.async = true;
16
- ecnScript.id = 'km-tracker';
17
- ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
14
+ ecnScript.type = 'text/javascript';
15
+ ecnScript.async = true;
16
+ ecnScript.id = 'km-tracker';
17
+ ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
18
18
 
19
- document.head.appendChild(ecnJquery);
20
- document.head.appendChild(ecnScript);
21
- })();
22
- }
19
+ document.head.appendChild(ecnJquery);
20
+ document.head.appendChild(ecnScript);
21
+ })();
22
+ }
23
23
  };
24
24
 
25
- export { KMTracker as default };
25
+ export default KMTracker;
@@ -133,4 +133,5 @@ var LeftNav = function LeftNav(props) {
133
133
 
134
134
  var LeftNav$1 = React__default.memo(LeftNav);
135
135
 
136
- export { LeftNav, LeftNav$1 as default };
136
+ export default LeftNav$1;
137
+ export { LeftNav };
@@ -223,14 +223,14 @@ var MasterDeck = function (_React$Component) {
223
223
  }
224
224
 
225
225
  // please leave this for later debug purpose : Yong Jun.
226
- /* console.log('page change reported', {
227
- currentPage: currentPage,
228
- pageNumber: pageNumber,
229
- pathname: pathname,
230
- path: path,
231
- newPath: newPath,
232
- firstPage: pageNumber === 1,
233
- queryString: queryString
226
+ /* console.log('page change reported', {
227
+ currentPage: currentPage,
228
+ pageNumber: pageNumber,
229
+ pathname: pathname,
230
+ path: path,
231
+ newPath: newPath,
232
+ firstPage: pageNumber === 1,
233
+ queryString: queryString
234
234
  }) */
235
235
 
236
236
  if (pageview) {
@@ -351,7 +351,7 @@ var MasterDeck = function (_React$Component) {
351
351
  React__default.createElement(
352
352
  React__default.Fragment,
353
353
  { key: index },
354
- React__default.createElement(_this2.Deck, _extends({}, _this.props, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding })),
354
+ React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding }),
355
355
  _this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
356
356
  'div',
357
357
  { className: 'ad-container', style: { margin: '0 auto' } },
@@ -376,7 +376,7 @@ var MasterDeck = function (_React$Component) {
376
376
  React__default.createElement(
377
377
  React__default.Fragment,
378
378
  { key: index },
379
- React__default.createElement(_this2.Deck, _extends({}, _this.props, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding }))
379
+ React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding })
380
380
  )
381
381
  );
382
382
  }
@@ -547,4 +547,4 @@ var MasterDeck = function (_React$Component) {
547
547
 
548
548
  var MasterDeck$1 = withRouter(MasterDeck);
549
549
 
550
- export { MasterDeck$1 as default };
550
+ export default MasterDeck$1;
@@ -107,14 +107,14 @@ var MasterDeck = function (_React$Component) {
107
107
  }
108
108
 
109
109
  // please leave this for later debug purpose : Yong Jun.
110
- /* console.log('page change reported', {
111
- currentPage: currentPage,
112
- pageNumber: pageNumber,
113
- pathname: pathname,
114
- path: path,
115
- newPath: newPath,
116
- firstPage: pageNumber === 1,
117
- queryString: queryString
110
+ /* console.log('page change reported', {
111
+ currentPage: currentPage,
112
+ pageNumber: pageNumber,
113
+ pathname: pathname,
114
+ path: path,
115
+ newPath: newPath,
116
+ firstPage: pageNumber === 1,
117
+ queryString: queryString
118
118
  }) */
119
119
 
120
120
  if (pageview) {
@@ -458,4 +458,4 @@ var MasterDeck = function (_React$Component) {
458
458
 
459
459
  var MasterDeck$1 = withRouter(MasterDeck);
460
460
 
461
- export { MasterDeck$1 as default };
461
+ export default MasterDeck$1;
@@ -2626,6 +2626,45 @@ function getBasePlacement(placement) {
2626
2626
  return placement.split('-')[0];
2627
2627
  }
2628
2628
 
2629
+ function getBoundingClientRect(element) {
2630
+ var rect = element.getBoundingClientRect();
2631
+ return {
2632
+ width: rect.width,
2633
+ height: rect.height,
2634
+ top: rect.top,
2635
+ right: rect.right,
2636
+ bottom: rect.bottom,
2637
+ left: rect.left,
2638
+ x: rect.left,
2639
+ y: rect.top
2640
+ };
2641
+ }
2642
+
2643
+ // means it doesn't take into account transforms.
2644
+
2645
+ function getLayoutRect(element) {
2646
+ var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
2647
+ // Fixes https://github.com/popperjs/popper-core/issues/1223
2648
+
2649
+ var width = element.offsetWidth;
2650
+ var height = element.offsetHeight;
2651
+
2652
+ if (Math.abs(clientRect.width - width) <= 1) {
2653
+ width = clientRect.width;
2654
+ }
2655
+
2656
+ if (Math.abs(clientRect.height - height) <= 1) {
2657
+ height = clientRect.height;
2658
+ }
2659
+
2660
+ return {
2661
+ x: element.offsetLeft,
2662
+ y: element.offsetTop,
2663
+ width: width,
2664
+ height: height
2665
+ };
2666
+ }
2667
+
2629
2668
  function getWindow(node) {
2630
2669
  if (node == null) {
2631
2670
  return window;
@@ -2659,59 +2698,6 @@ function isShadowRoot(node) {
2659
2698
  return node instanceof OwnElement || node instanceof ShadowRoot;
2660
2699
  }
2661
2700
 
2662
- var round$1 = Math.round;
2663
- function getBoundingClientRect(element, includeScale) {
2664
- if (includeScale === void 0) {
2665
- includeScale = false;
2666
- }
2667
-
2668
- var rect = element.getBoundingClientRect();
2669
- var scaleX = 1;
2670
- var scaleY = 1;
2671
-
2672
- if (isHTMLElement(element) && includeScale) {
2673
- // Fallback to 1 in case both values are `0`
2674
- scaleX = rect.width / element.offsetWidth || 1;
2675
- scaleY = rect.height / element.offsetHeight || 1;
2676
- }
2677
-
2678
- return {
2679
- width: round$1(rect.width / scaleX),
2680
- height: round$1(rect.height / scaleY),
2681
- top: round$1(rect.top / scaleY),
2682
- right: round$1(rect.right / scaleX),
2683
- bottom: round$1(rect.bottom / scaleY),
2684
- left: round$1(rect.left / scaleX),
2685
- x: round$1(rect.left / scaleX),
2686
- y: round$1(rect.top / scaleY)
2687
- };
2688
- }
2689
-
2690
- // means it doesn't take into account transforms.
2691
-
2692
- function getLayoutRect(element) {
2693
- var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
2694
- // Fixes https://github.com/popperjs/popper-core/issues/1223
2695
-
2696
- var width = element.offsetWidth;
2697
- var height = element.offsetHeight;
2698
-
2699
- if (Math.abs(clientRect.width - width) <= 1) {
2700
- width = clientRect.width;
2701
- }
2702
-
2703
- if (Math.abs(clientRect.height - height) <= 1) {
2704
- height = clientRect.height;
2705
- }
2706
-
2707
- return {
2708
- x: element.offsetLeft,
2709
- y: element.offsetTop,
2710
- width: width,
2711
- height: height
2712
- };
2713
- }
2714
-
2715
2701
  function contains$1(parent, child) {
2716
2702
  var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
2717
2703
 
@@ -3938,24 +3924,16 @@ function getNodeScroll(node) {
3938
3924
  }
3939
3925
  }
3940
3926
 
3941
- function isElementScaled(element) {
3942
- var rect = element.getBoundingClientRect();
3943
- var scaleX = rect.width / element.offsetWidth || 1;
3944
- var scaleY = rect.height / element.offsetHeight || 1;
3945
- return scaleX !== 1 || scaleY !== 1;
3946
- } // Returns the composite rect of an element relative to its offsetParent.
3947
3927
  // Composite means it takes into account transforms as well as layout.
3948
3928
 
3949
-
3950
3929
  function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
3951
3930
  if (isFixed === void 0) {
3952
3931
  isFixed = false;
3953
3932
  }
3954
3933
 
3955
- var isOffsetParentAnElement = isHTMLElement(offsetParent);
3956
- var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
3957
3934
  var documentElement = getDocumentElement(offsetParent);
3958
- var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
3935
+ var rect = getBoundingClientRect(elementOrVirtualElement);
3936
+ var isOffsetParentAnElement = isHTMLElement(offsetParent);
3959
3937
  var scroll = {
3960
3938
  scrollLeft: 0,
3961
3939
  scrollTop: 0
@@ -3972,7 +3950,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
3972
3950
  }
3973
3951
 
3974
3952
  if (isHTMLElement(offsetParent)) {
3975
- offsets = getBoundingClientRect(offsetParent, true);
3953
+ offsets = getBoundingClientRect(offsetParent);
3976
3954
  offsets.x += offsetParent.clientLeft;
3977
3955
  offsets.y += offsetParent.clientTop;
3978
3956
  } else if (documentElement) {
@@ -9449,7 +9427,7 @@ var Tooltip = React__default.forwardRef(function (_ref, ref) {
9449
9427
  Tooltip.defaultProps = defaultProps;
9450
9428
  Tooltip.displayName = 'Tooltip';
9451
9429
 
9452
- var css = ".MediaSeriesCard-module_article__SAFYK {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.MediaSeriesCard-module_article__SAFYK a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.MediaSeriesCard-module_thumb__3jRAU {\n width: 25%;\n}\n.MediaSeriesCard-module_thumb__3jRAU img {\n width: 100%;\n height: auto;\n}\n.MediaSeriesCard-module_info__3L7_o {\n width: 75%;\n font-size: 1rem;\n}\n.MediaSeriesCard-module_info__3L7_o h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.MediaSeriesCard-module_published__E4oiz {\n color: #6d6d6d;\n margin: 0;\n}\n.MediaSeriesCard-module_summary__1xanh {\n margin: 0.5rem 0 0 0;\n}\n.MediaSeriesCard-module_author__e5fuR {\n margin: 0;\n}\n.MediaSeriesCard-module_author__e5fuR span {\n color: #6d6d6d;\n}\n.MediaSeriesCard-module_name__2m5KY {\n font-size: 1.3rem;\n font-weight: bold;\n}\n@media only screen and (max-width: 568px) {\n .MediaSeriesCard-module_article__SAFYK {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .MediaSeriesCard-module_article__SAFYK a {\n flex-direction: column;\n align-items: center;\n }\n .MediaSeriesCard-module_thumb__3jRAU {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .MediaSeriesCard-module_thumb__3jRAU img{\n border-radius: 10px 10px 0 0; \n }\n .MediaSeriesCard-module_thumb__3jRAU figure {\n margin: 0;\n }\n .MediaSeriesCard-module_info__3L7_o {\n width: 90%;\n padding: 0rem !important;\n }\n .MediaSeriesCard-module_info__3L7_o h2 {\n font-size: 1rem;\n }\n .MediaSeriesCard-module_name__2m5KY {\n font-size: 1rem;\n \n }\n}\n";
9430
+ var css = ".MediaSeriesCard-module_article__SAFYK {\r\n width: 100%;\r\n margin: 0 0 1rem 0;\r\n}\r\n.MediaSeriesCard-module_article__SAFYK a {\r\n display: flex;\r\n width: 100%;\r\n color: #000000;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU {\r\n width: 25%;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU img {\r\n width: 100%;\r\n height: auto;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o {\r\n width: 75%;\r\n font-size: 1rem;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o h2 {\r\n font-weight: bold;\r\n font-size: 1.25rem;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_published__E4oiz {\r\n color: #6d6d6d;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_summary__1xanh {\r\n margin: 0.5rem 0 0 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR {\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR span {\r\n color: #6d6d6d;\r\n}\r\n.MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1.3rem;\r\n font-weight: bold;\r\n}\r\n@media only screen and (max-width: 568px) {\r\n .MediaSeriesCard-module_article__SAFYK {\r\n margin: 1rem 0;\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n }\r\n .MediaSeriesCard-module_article__SAFYK a {\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU {\r\n overflow: hidden;\r\n width: 100%;\r\n margin-bottom: 1rem;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU img{\r\n border-radius: 10px 10px 0 0; \r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU figure {\r\n margin: 0;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o {\r\n width: 90%;\r\n padding: 0rem !important;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o h2 {\r\n font-size: 1rem;\r\n }\r\n .MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1rem;\r\n \r\n }\r\n}\r\n";
9453
9431
  var styles = { "article": "MediaSeriesCard-module_article__SAFYK", "thumb": "MediaSeriesCard-module_thumb__3jRAU", "info": "MediaSeriesCard-module_info__3L7_o", "published": "MediaSeriesCard-module_published__E4oiz", "summary": "MediaSeriesCard-module_summary__1xanh", "author": "MediaSeriesCard-module_author__e5fuR", "name": "MediaSeriesCard-module_name__2m5KY" };
9454
9432
  styleInject(css);
9455
9433
 
@@ -3,7 +3,7 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
5
5
  import React__default, { useState, useEffect } from 'react';
6
- import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-4c6c664c.js';
6
+ import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-2dc3c439.js';
7
7
  import './index-98ca9cec.js';
8
8
  import 'react-dom';
9
9
  import Link from 'next/link';
@@ -92,11 +92,11 @@ var Filter = function Filter(_ref) {
92
92
  _useState6 = _slicedToArray(_useState5, 2),
93
93
  grandChildData = _useState6[0],
94
94
  setGrandChildData = _useState6[1];
95
- /*
96
- {parent: showAll,
97
- chidlren: show selected from parent,
98
- grandchildren: show selected from children
99
- }
95
+ /*
96
+ {parent: showAll,
97
+ chidlren: show selected from parent,
98
+ grandchildren: show selected from children
99
+ }
100
100
  */
101
101
 
102
102
 
@@ -484,4 +484,4 @@ MediaSeriesLanding.getInitialData = function () {
484
484
  };
485
485
  }();
486
486
 
487
- export { MediaSeriesLanding as default };
487
+ export default MediaSeriesLanding;
@@ -3,7 +3,7 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
5
5
  import React__default, { useState, useEffect } from 'react';
6
- import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-4c6c664c.js';
6
+ import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-2dc3c439.js';
7
7
  import './index-98ca9cec.js';
8
8
  import 'react-dom';
9
9
  import Link from 'next/link';
@@ -93,11 +93,11 @@ var Filter = function Filter(_ref) {
93
93
  _useState6 = _slicedToArray(_useState5, 2),
94
94
  grandChildData = _useState6[0],
95
95
  setGrandChildData = _useState6[1];
96
- /*
97
- {parent: showAll,
98
- chidlren: show selected from parent,
99
- grandchildren: show selected from children
100
- }
96
+ /*
97
+ {parent: showAll,
98
+ chidlren: show selected from parent,
99
+ grandchildren: show selected from children
100
+ }
101
101
  */
102
102
 
103
103
 
@@ -517,4 +517,4 @@ MediaSeriesLanding.getInitialData = function () {
517
517
  };
518
518
  }();
519
519
 
520
- export { MediaSeriesLanding as default };
520
+ export default MediaSeriesLanding;
@@ -229,4 +229,5 @@ var NavDvm = function NavDvm(props) {
229
229
  );
230
230
  };
231
231
 
232
- export { NavDvm, NavDvm as default };
232
+ export default NavDvm;
233
+ export { NavDvm };
@@ -26,16 +26,16 @@ import 'react-bootstrap/FormControl';
26
26
  import 'react-bootstrap/Button';
27
27
 
28
28
  var NavMagazine = function NavMagazine(props) {
29
- /*
30
- Example Nav with acceptable props
31
- <MagazineNav
32
- showLogin
33
- user={props.cache.user}
34
- logo={props.settings.logo}
35
- dataObject={props.cache.mainNavCache}
36
- website={website}
37
- subNav={props.cache.subNavCache}
38
- />
29
+ /*
30
+ Example Nav with acceptable props
31
+ <MagazineNav
32
+ showLogin
33
+ user={props.cache.user}
34
+ logo={props.settings.logo}
35
+ dataObject={props.cache.mainNavCache}
36
+ website={website}
37
+ subNav={props.cache.subNavCache}
38
+ />
39
39
  */
40
40
 
41
41
  // Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
@@ -579,4 +579,5 @@ var NavMagazine = function NavMagazine(props) {
579
579
 
580
580
  var MagazineNav = React__default.memo(NavMagazine);
581
581
 
582
- export { NavMagazine, MagazineNav as default };
582
+ export default MagazineNav;
583
+ export { NavMagazine };
@@ -300,15 +300,15 @@ function chunk(array, size, guard) {
300
300
  var chunk_1 = chunk;
301
301
 
302
302
  var NavNative = function NavNative(props) {
303
- /*
304
- Example Nav with acceptable props
305
- <MagazineNav
306
- showLogin
307
- logo={props.settings.logo}
308
- dataObject={props.cache.mainNavCache}
309
- website={website}
310
- subNav={props.cache.subNavCache}
311
- />
303
+ /*
304
+ Example Nav with acceptable props
305
+ <MagazineNav
306
+ showLogin
307
+ logo={props.settings.logo}
308
+ dataObject={props.cache.mainNavCache}
309
+ website={website}
310
+ subNav={props.cache.subNavCache}
311
+ />
312
312
  */
313
313
  // Setting 'socialIconVariant' as 'dark' as default to make the social icons and search icon black
314
314
  var logo = props.logo,
@@ -842,4 +842,5 @@ var NavNative = function NavNative(props) {
842
842
  );
843
843
  };
844
844
 
845
- export { NavNative, NavNative as default };
845
+ export default NavNative;
846
+ export { NavNative };
@@ -70,4 +70,4 @@ var OncliveHero = function OncliveHero(props) {
70
70
  );
71
71
  };
72
72
 
73
- export { OncliveHero as default };
73
+ export default OncliveHero;
@@ -232,4 +232,4 @@ var OncliveLargeHero = function OncliveLargeHero(props) {
232
232
  );
233
233
  };
234
234
 
235
- export { OncliveLargeHero as default };
235
+ export default OncliveLargeHero;
@@ -63,4 +63,4 @@ var PageFilter = function PageFilter(props) {
63
63
  return null;
64
64
  };
65
65
 
66
- export { PageFilter as default };
66
+ export default PageFilter;
@@ -295,4 +295,4 @@ PartnerDetails.returnGetInitialProps = function () {
295
295
  };
296
296
  }();
297
297
 
298
- export { PartnerDetails as default };
298
+ export default PartnerDetails;
@@ -309,4 +309,4 @@ PartnerDetails.returnGetInitialProps = function () {
309
309
  };
310
310
  }();
311
311
 
312
- export { PartnerDetails as default };
312
+ export default PartnerDetails;
@@ -19,4 +19,4 @@ var PdfDownload = function PdfDownload(props) {
19
19
  );
20
20
  };
21
21
 
22
- export { PdfDownload as default };
22
+ export default PdfDownload;
@@ -48,4 +48,4 @@ var PopUpModal = function PopUpModal(props) {
48
48
  );
49
49
  };
50
50
 
51
- export { PopUpModal as default };
51
+ export default PopUpModal;
@@ -112,4 +112,4 @@ PubSection.getInitialProps = function () {
112
112
  };
113
113
  }();
114
114
 
115
- export { PubSection as default };
115
+ export default PubSection;
@@ -78,4 +78,4 @@ PubToc.getInitialProps = function () {
78
78
  };
79
79
  }();
80
80
 
81
- export { PubToc as default };
81
+ export default PubToc;
@@ -170,4 +170,4 @@ var PublicationDeck = function PublicationDeck(props) {
170
170
  }
171
171
  };
172
172
 
173
- export { PublicationDeck as default };
173
+ export default PublicationDeck;
@@ -376,32 +376,32 @@ module.exports = { "default": set$1, __esModule: true };
376
376
 
377
377
  var _Set = unwrapExports(set);
378
378
 
379
- /* usage & query
380
- const Publication = (props) => {
381
- const { cache, pub, year } = props
382
- const targeting = {
383
- content_placement: [`/journals/${pub.identifier.current}`],
384
- document_url: [`/journals/${pub.identifier.current}`],
385
- }
386
- return (
387
- <Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
388
- <PublicationLanding publication={pub} year={year} href={'journals'} />
389
- </Shell>
390
- )
391
- }
392
- Publication.getInitialProps = async (ctx) => {
393
- const { query } = ctx
394
- const {
395
- query: { year },
396
- } = ctx
397
- const pub = await client.fetch(getQuery('publication'), query)
398
- **import urlFor from framework**
399
- pub.issues.map((issue) => {
400
- issue.thumbnail = urlFor({client, source: issue.thumbnail})
401
- })
402
- return { pub, year }
403
- }
404
- export default Publication
379
+ /* usage & query
380
+ const Publication = (props) => {
381
+ const { cache, pub, year } = props
382
+ const targeting = {
383
+ content_placement: [`/journals/${pub.identifier.current}`],
384
+ document_url: [`/journals/${pub.identifier.current}`],
385
+ }
386
+ return (
387
+ <Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
388
+ <PublicationLanding publication={pub} year={year} href={'journals'} />
389
+ </Shell>
390
+ )
391
+ }
392
+ Publication.getInitialProps = async (ctx) => {
393
+ const { query } = ctx
394
+ const {
395
+ query: { year },
396
+ } = ctx
397
+ const pub = await client.fetch(getQuery('publication'), query)
398
+ **import urlFor from framework**
399
+ pub.issues.map((issue) => {
400
+ issue.thumbnail = urlFor({client, source: issue.thumbnail})
401
+ })
402
+ return { pub, year }
403
+ }
404
+ export default Publication
405
405
  */
406
406
 
407
407
  var generateContentPlacements = function generateContentPlacements(issues) {
@@ -844,4 +844,4 @@ _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2() {
844
844
  );
845
845
  };
846
846
 
847
- export { PublicationLanding as default };
847
+ export default PublicationLanding;
@@ -1534,4 +1534,4 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1534
1534
  );
1535
1535
  };
1536
1536
 
1537
- export { QueueDeckExpanded as default };
1537
+ export default QueueDeckExpanded;
@@ -1379,4 +1379,4 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1379
1379
  );
1380
1380
  };
1381
1381
 
1382
- export { QueueDeckExpanded as default };
1382
+ export default QueueDeckExpanded;
@@ -82,4 +82,4 @@ var RecentNews = function RecentNews(_ref) {
82
82
  );
83
83
  };
84
84
 
85
- export { RecentNews as default };
85
+ export default RecentNews;