@mjhls/mjh-framework 1.0.1031 → 1.0.1033-taxonomy-native

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 (190) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD300x250.js +1 -2
  3. package/dist/cjs/AD300x250x600.js +1 -2
  4. package/dist/cjs/AD728x90.js +1 -2
  5. package/dist/cjs/ADFloatingFooter.js +1 -2
  6. package/dist/cjs/ADGutter.js +1 -2
  7. package/dist/cjs/ADSkyscraper.js +1 -2
  8. package/dist/cjs/ADSponsoredResources.js +1 -2
  9. package/dist/cjs/ADWebcast.js +1 -2
  10. package/dist/cjs/ADWelcome.js +1 -2
  11. package/dist/cjs/AdSlot.js +1 -2
  12. package/dist/cjs/AlgoliaSearch.js +3 -4
  13. package/dist/cjs/AlphabeticList.js +1 -2
  14. package/dist/cjs/ArticleCarousel.js +1 -2
  15. package/dist/cjs/ArticleProgramLandingPage.js +6 -7
  16. package/dist/cjs/ArticleSeriesLandingPage.js +5 -6
  17. package/dist/cjs/ArticleSeriesListing.js +3 -4
  18. package/dist/cjs/Auth.js +1 -2
  19. package/dist/cjs/Column2.js +3 -2
  20. package/dist/cjs/Column3.js +1 -2
  21. package/dist/cjs/ConferenceArticleCard.js +1 -0
  22. package/dist/cjs/ContentCardPaginated.js +4 -5
  23. package/dist/cjs/DeckContent.js +4 -5
  24. package/dist/cjs/DeckQueue.js +3 -4
  25. package/dist/cjs/DeckQueuePaginated.js +3 -4
  26. package/dist/cjs/EventsDeck.js +2 -3
  27. package/dist/cjs/ExternalResources.js +9 -10
  28. package/dist/cjs/Feature.js +1 -0
  29. package/dist/cjs/ForbesHero.js +1 -0
  30. package/dist/cjs/GridContent.js +6 -7
  31. package/dist/cjs/GridContentPaginated.js +6 -7
  32. package/dist/cjs/GridHero.js +1 -0
  33. package/dist/cjs/GroupDeck.js +2 -2
  34. package/dist/cjs/HamMagazine.js +41 -40
  35. package/dist/cjs/Hero.js +1 -0
  36. package/dist/cjs/HorizontalArticleListing.js +6 -7
  37. package/dist/cjs/HorizontalHero.js +1 -0
  38. package/dist/cjs/IssueContentDeck.js +1 -0
  39. package/dist/cjs/IssueDeck.js +1 -2
  40. package/dist/cjs/IssueLanding.js +8 -9
  41. package/dist/cjs/LeftNav.js +12 -14
  42. package/dist/cjs/MasterDeck.js +5 -6
  43. package/dist/cjs/MasterDeckPaginated.js +5 -6
  44. package/dist/cjs/{MediaSeriesCard-5c112798.js → MediaSeriesCard-df8ea0d1.js} +2 -2
  45. package/dist/cjs/MediaSeriesLanding.js +9 -10
  46. package/dist/cjs/MediaSeriesLandingPaginated.js +9 -10
  47. package/dist/cjs/NavDvm.js +29 -28
  48. package/dist/cjs/{NavFooter-257b5318.js → NavFooter-b7b16d48.js} +4 -3
  49. package/dist/cjs/NavMagazine.js +43 -42
  50. package/dist/cjs/NavNative.js +44 -45
  51. package/dist/cjs/OncliveHero.js +1 -0
  52. package/dist/cjs/OncliveLargeHero.js +1 -0
  53. package/dist/cjs/PartnerDetailListing.js +42 -32
  54. package/dist/cjs/PartnerDetailListingPaginated.js +40 -36
  55. package/dist/cjs/PodcastsLanding.js +9 -10
  56. package/dist/cjs/PubSection.js +3 -4
  57. package/dist/cjs/PublicationDeck.js +1 -0
  58. package/dist/cjs/PublicationLanding.js +7 -7
  59. package/dist/cjs/QueueDeckExpanded.js +3 -4
  60. package/dist/cjs/QueueDeckExpandedPaginated.js +3 -4
  61. package/dist/cjs/RelatedContent.js +1 -0
  62. package/dist/cjs/Schema.js +1 -2
  63. package/dist/cjs/SeriesListingDeck.js +2 -3
  64. package/dist/cjs/SideFooter.js +8 -7
  65. package/dist/cjs/{SocialSearchComponent-b99947d4.js → SocialSearchComponent-d7e5d3a6.js} +1 -1
  66. package/dist/cjs/TaxonomyCard.js +9 -10
  67. package/dist/cjs/TaxonomyDescription.js +6 -7
  68. package/dist/cjs/TemplateNormal.js +4 -5
  69. package/dist/cjs/ThumbnailCard.js +1 -0
  70. package/dist/cjs/VerticalHero.js +1 -0
  71. package/dist/cjs/VideoProgramLandingPage.js +6 -7
  72. package/dist/cjs/VideoSeriesCard.js +2 -2
  73. package/dist/cjs/VideoSeriesLandingPage.js +5 -6
  74. package/dist/cjs/VideoSeriesListing.js +3 -4
  75. package/dist/cjs/View.js +17 -13
  76. package/dist/cjs/YahooHero.js +1 -0
  77. package/dist/cjs/YoutubeGroup.js +1 -0
  78. package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-9337ba83.js} +2 -2
  79. package/dist/cjs/{extends-7c86182f.js → extends-be0d85bc.js} +16 -3
  80. package/dist/cjs/getSerializers.js +6 -7
  81. package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-5b954783.js} +1 -1
  82. package/dist/cjs/getTargeting.js +2 -3
  83. package/dist/cjs/{index-1a89a9de.js → index-cb6fa8f2.js} +14 -9
  84. package/dist/cjs/{index.esm-91e651b0.js → index.esm-2ea9e9ff.js} +8 -7
  85. package/dist/cjs/index.js +15 -16
  86. package/dist/cjs/{inherits-de66ea16.js → inherits-e47b5342.js} +1 -1
  87. package/dist/cjs/{typeof-567e31ff.js → typeof-220bbf73.js} +9 -9
  88. package/dist/cjs/urlFor.js +3 -2
  89. package/dist/cjs/{urlForFile-29d3815a.js → urlForFile-5084fc48.js} +5 -0
  90. package/dist/esm/AD300x250.js +1 -2
  91. package/dist/esm/AD300x250x600.js +1 -2
  92. package/dist/esm/AD728x90.js +1 -2
  93. package/dist/esm/ADFloatingFooter.js +1 -2
  94. package/dist/esm/ADGutter.js +1 -2
  95. package/dist/esm/ADSkyscraper.js +1 -2
  96. package/dist/esm/ADSponsoredResources.js +1 -2
  97. package/dist/esm/ADWebcast.js +1 -2
  98. package/dist/esm/ADWelcome.js +1 -2
  99. package/dist/esm/AdSlot.js +1 -2
  100. package/dist/esm/AlgoliaSearch.js +3 -4
  101. package/dist/esm/AlphabeticList.js +1 -2
  102. package/dist/esm/ArticleCarousel.js +1 -2
  103. package/dist/esm/ArticleProgramLandingPage.js +6 -7
  104. package/dist/esm/ArticleSeriesLandingPage.js +5 -6
  105. package/dist/esm/ArticleSeriesListing.js +3 -4
  106. package/dist/esm/Auth.js +1 -2
  107. package/dist/esm/Column2.js +3 -2
  108. package/dist/esm/Column3.js +1 -2
  109. package/dist/esm/ConferenceArticleCard.js +1 -0
  110. package/dist/esm/ContentCardPaginated.js +4 -5
  111. package/dist/esm/DeckContent.js +4 -5
  112. package/dist/esm/DeckQueue.js +3 -4
  113. package/dist/esm/DeckQueuePaginated.js +3 -4
  114. package/dist/esm/EventsDeck.js +2 -3
  115. package/dist/esm/ExternalResources.js +9 -10
  116. package/dist/esm/Feature.js +1 -0
  117. package/dist/esm/ForbesHero.js +1 -0
  118. package/dist/esm/GridContent.js +6 -7
  119. package/dist/esm/GridContentPaginated.js +6 -7
  120. package/dist/esm/GridHero.js +1 -0
  121. package/dist/esm/GroupDeck.js +2 -2
  122. package/dist/esm/HamMagazine.js +41 -40
  123. package/dist/esm/Hero.js +1 -0
  124. package/dist/esm/HorizontalArticleListing.js +6 -7
  125. package/dist/esm/HorizontalHero.js +1 -0
  126. package/dist/esm/IssueContentDeck.js +1 -0
  127. package/dist/esm/IssueDeck.js +1 -2
  128. package/dist/esm/IssueLanding.js +8 -9
  129. package/dist/esm/LeftNav.js +12 -14
  130. package/dist/esm/MasterDeck.js +5 -6
  131. package/dist/esm/MasterDeckPaginated.js +5 -6
  132. package/dist/esm/{MediaSeriesCard-febb981a.js → MediaSeriesCard-e509e94d.js} +2 -2
  133. package/dist/esm/MediaSeriesLanding.js +9 -10
  134. package/dist/esm/MediaSeriesLandingPaginated.js +9 -10
  135. package/dist/esm/NavDvm.js +29 -28
  136. package/dist/esm/{NavFooter-27a16f65.js → NavFooter-1546a102.js} +4 -3
  137. package/dist/esm/NavMagazine.js +43 -42
  138. package/dist/esm/NavNative.js +44 -45
  139. package/dist/esm/OncliveHero.js +1 -0
  140. package/dist/esm/OncliveLargeHero.js +1 -0
  141. package/dist/esm/PartnerDetailListing.js +42 -32
  142. package/dist/esm/PartnerDetailListingPaginated.js +40 -36
  143. package/dist/esm/PodcastsLanding.js +9 -10
  144. package/dist/esm/PubSection.js +3 -4
  145. package/dist/esm/PublicationDeck.js +1 -0
  146. package/dist/esm/PublicationLanding.js +7 -7
  147. package/dist/esm/QueueDeckExpanded.js +3 -4
  148. package/dist/esm/QueueDeckExpandedPaginated.js +3 -4
  149. package/dist/esm/RelatedContent.js +1 -0
  150. package/dist/esm/Schema.js +1 -2
  151. package/dist/esm/SeriesListingDeck.js +2 -3
  152. package/dist/esm/SideFooter.js +8 -7
  153. package/dist/esm/{SocialSearchComponent-aedf8322.js → SocialSearchComponent-6065bff2.js} +1 -1
  154. package/dist/esm/TaxonomyCard.js +9 -10
  155. package/dist/esm/TaxonomyDescription.js +6 -7
  156. package/dist/esm/TemplateNormal.js +4 -5
  157. package/dist/esm/ThumbnailCard.js +1 -0
  158. package/dist/esm/VerticalHero.js +1 -0
  159. package/dist/esm/VideoProgramLandingPage.js +6 -7
  160. package/dist/esm/VideoSeriesCard.js +2 -2
  161. package/dist/esm/VideoSeriesLandingPage.js +5 -6
  162. package/dist/esm/VideoSeriesListing.js +3 -4
  163. package/dist/esm/View.js +17 -13
  164. package/dist/esm/YahooHero.js +1 -0
  165. package/dist/esm/YoutubeGroup.js +1 -0
  166. package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-b61d5965.js} +1 -1
  167. package/dist/esm/{extends-6d8e3924.js → extends-1559c147.js} +13 -2
  168. package/dist/esm/getSerializers.js +6 -7
  169. package/dist/esm/{getTargeting-9bd28724.js → getTargeting-5a281334.js} +1 -1
  170. package/dist/esm/getTargeting.js +2 -3
  171. package/dist/esm/{index-127807d3.js → index-56c9814b.js} +14 -9
  172. package/dist/esm/{index.esm-06bf63a3.js → index.esm-35a42e7d.js} +8 -7
  173. package/dist/esm/index.js +15 -16
  174. package/dist/esm/{inherits-a6ba2ec4.js → inherits-d21b4ef9.js} +1 -1
  175. package/dist/esm/{typeof-e9fc0c5d.js → typeof-657f25da.js} +1 -1
  176. package/dist/esm/urlFor.js +3 -2
  177. package/dist/esm/{urlForFile-b69adffc.js → urlForFile-f6485737.js} +5 -0
  178. package/package.json +1 -1
  179. package/dist/cjs/_object-pie-083f2dd6.js +0 -16
  180. package/dist/esm/_object-pie-133f504a.js +0 -13
  181. /package/dist/cjs/{ADInfeed-9aae73be.js → ADInfeed-b52ecddd.js} +0 -0
  182. /package/dist/cjs/{ADlgInfeed-0e40c762.js → ADlgInfeed-59dcc040.js} +0 -0
  183. /package/dist/cjs/{ImageSlider-1ec0408b.js → ImageSlider-d65bc9c8.js} +0 -0
  184. /package/dist/cjs/{PublicationFeature-a989a2b3.js → PublicationFeature-e945bd55.js} +0 -0
  185. /package/dist/cjs/{SeriesSlider-fc6dd07d.js → SeriesSlider-086a8319.js} +0 -0
  186. /package/dist/esm/{ADInfeed-80914a61.js → ADInfeed-2503361a.js} +0 -0
  187. /package/dist/esm/{ADlgInfeed-55786341.js → ADlgInfeed-bc4a726f.js} +0 -0
  188. /package/dist/esm/{ImageSlider-83913c4c.js → ImageSlider-da225417.js} +0 -0
  189. /package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-3cc370de.js} +0 -0
  190. /package/dist/esm/{SeriesSlider-771918ce.js → SeriesSlider-a6b1d617.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { g as default } from './index-127807d3.js';
2
+ export { g as default } from './index-56c9814b.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
4
  import './entities-6d9154b4.js';
5
5
  import './slicedToArray-6ebcbfea.js';
@@ -8,6 +8,7 @@ import './web.dom.iterable-ab4dea5c.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import 'react-bootstrap';
10
10
  import './urlFor.js';
11
+ import './extends-1559c147.js';
11
12
  import './index-3f5c03b2.js';
12
13
  import './index-5cc7b406.js';
13
14
  import 'prop-types';
@@ -22,15 +23,13 @@ import './_set-species-2cd9340f.js';
22
23
  import './_iter-detect-98db3b07.js';
23
24
  import './Segment.js';
24
25
  import './main-754d4992.js';
25
- import './extends-6d8e3924.js';
26
- import './_object-pie-133f504a.js';
27
- import './urlForFile-b69adffc.js';
26
+ import './urlForFile-f6485737.js';
28
27
  import './index-755f2cc2.js';
29
28
  import 'react-dom';
30
- import './typeof-e9fc0c5d.js';
29
+ import './typeof-657f25da.js';
31
30
  import './_is-array-8d21b9e3.js';
32
31
  import './brightcove-react-player-loader.es-57a70a56.js';
33
- import './_object-to-array-2300e51b.js';
32
+ import './_object-to-array-b61d5965.js';
34
33
  import './keys-31dcdb31.js';
35
34
  import './_object-sap-7cee6f84.js';
36
35
  import 'react-bootstrap/Modal';
@@ -51,7 +50,7 @@ import './isSymbol-a7e9aafe.js';
51
50
  import './toNumber-5aeba6e7.js';
52
51
  import 'react-bootstrap/Row';
53
52
  import 'react-bootstrap/Col';
54
- import './inherits-a6ba2ec4.js';
53
+ import './inherits-d21b4ef9.js';
55
54
  import './define-property-5f1bda73.js';
56
55
  import './index.esm-eb1e8e80.js';
57
56
  import './iconBase-ccc56b97.js';
@@ -1,4 +1,4 @@
1
- import { _ as _extends } from './extends-6d8e3924.js';
1
+ import { _ as _extends } from './extends-1559c147.js';
2
2
  import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
3
3
 
4
4
  var getContentPlacementUrl = function getContentPlacementUrl(cp) {
@@ -1,7 +1,6 @@
1
- import './extends-6d8e3924.js';
1
+ import './extends-1559c147.js';
2
2
  import './toConsumableArray-f7074d7c.js';
3
- export { g as default } from './getTargeting-9bd28724.js';
3
+ export { g as default } from './getTargeting-5a281334.js';
4
4
  import './_commonjsHelpers-0c4b6f40.js';
5
5
  import './core.get-iterator-method-ea258bb1.js';
6
- import './_object-pie-133f504a.js';
7
6
  import './_iter-detect-98db3b07.js';
@@ -12,15 +12,15 @@ import './Beam.js';
12
12
  import Segment from './Segment.js';
13
13
  import { f as main_18, b as main_42, m as main_43 } from './main-754d4992.js';
14
14
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
15
- import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
16
- import { u as urlForFile } from './urlForFile-b69adffc.js';
15
+ import { _ as _extends, b as _extends$1 } from './extends-1559c147.js';
16
+ import { u as urlForFile } from './urlForFile-f6485737.js';
17
17
  import { L as LazyLoad } from './index-755f2cc2.js';
18
18
  import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64822ccc.js';
19
- import { _ as _typeof$1 } from './typeof-e9fc0c5d.js';
19
+ import { _ as _typeof$1 } from './typeof-657f25da.js';
20
20
  import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
21
21
  import { _ as _JSON$stringify } from './stringify-2b084bee.js';
22
22
  import { _ as _export, a as _core } from './core.get-iterator-method-ea258bb1.js';
23
- import { _ as _objectToArray } from './_object-to-array-2300e51b.js';
23
+ import { _ as _objectToArray } from './_object-to-array-b61d5965.js';
24
24
  import { _ as _Object$keys } from './keys-31dcdb31.js';
25
25
  import Modal from 'react-bootstrap/Modal';
26
26
  import Button from 'react-bootstrap/Button';
@@ -36,7 +36,7 @@ import DFPAdSlot from './AdSlot.js';
36
36
  import Row$1 from 'react-bootstrap/Row';
37
37
  import Col$1 from 'react-bootstrap/Col';
38
38
  import Head from 'next/head';
39
- import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-a6ba2ec4.js';
39
+ import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-d21b4ef9.js';
40
40
  import { c as IoIosArrowDropupCircle } from './index.esm-eb1e8e80.js';
41
41
  import Figure$2 from 'react-bootstrap/Figure';
42
42
  import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
@@ -2159,12 +2159,14 @@ var Media = function Media(_ref) {
2159
2159
  margin: imageMargin
2160
2160
  };
2161
2161
 
2162
+ var _baseUrl = client ? client.config().baseUrl : '';
2163
+
2162
2164
  return React__default.createElement(
2163
2165
  Figure$1,
2164
2166
  { className: 'd-block ' + className, style: figureStyle },
2165
2167
  React__default.createElement(
2166
2168
  'a',
2167
- { href: urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
2169
+ { href: urlForFile({ asset: uploadDoc.asset }, _baseUrl), target: blank ? '_blank' : '_self' },
2168
2170
  React__default.createElement(
2169
2171
  LazyLoad,
2170
2172
  { once: true },
@@ -2188,8 +2190,8 @@ var Media = function Media(_ref) {
2188
2190
  return React__default.createElement(
2189
2191
  'a',
2190
2192
  _extends({}, uploadDoc.downloadMedia ? {
2191
- href: urlForFile({ asset: uploadDoc.asset }) + '?dl='
2192
- } : { href: urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self', rel: 'noopener noreferrer' }, {
2193
+ href: urlForFile({ asset: uploadDoc.asset }, baseUrl) + '?dl='
2194
+ } : { href: urlForFile({ asset: uploadDoc.asset }, baseUrl), target: blank ? '_blank' : '_self', rel: 'noopener noreferrer' }, {
2193
2195
  style: { paddingLeft: '4px', paddingRight: '4px' },
2194
2196
  className: 'media-link' }),
2195
2197
  caption
@@ -8850,6 +8852,9 @@ var MultiMedia = function MultiMedia(props) {
8850
8852
  return false;
8851
8853
  }
8852
8854
  });
8855
+
8856
+ var baseUrl = client ? client.config().baseUrl : '';
8857
+
8853
8858
  if (medias && medias.length > 0) {
8854
8859
  return React__default.createElement(
8855
8860
  'div',
@@ -8863,7 +8868,7 @@ var MultiMedia = function MultiMedia(props) {
8863
8868
  { xs: 12, md: 12 / medias.length, key: media._key },
8864
8869
  React__default.createElement(
8865
8870
  'a',
8866
- _extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
8871
+ _extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile({ asset: media.upload_doc.asset }, baseUrl), target: media.blank ? '_blank' : '_self' }, {
8867
8872
  style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
8868
8873
  React__default.createElement(
8869
8874
  'div',
@@ -1,3 +1,4 @@
1
+ import { _ as _extends } from './extends-1559c147.js';
1
2
  import React__default from 'react';
2
3
  import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
3
4
  import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
@@ -22,7 +23,7 @@ var SocialNavFooter = function SocialNavFooter(props) {
22
23
  { key: index },
23
24
  React__default.createElement(
24
25
  'a',
25
- { target: '_blank', rel: checkSisterSite(content.url) ? '' : 'noopener noreferrer', href: content.url, className: 'nav-link' },
26
+ _extends({ target: '_blank' }, checkSisterSite(content.url) ? {} : { rel: 'noopener noreferrer' }, { href: content.url, className: 'nav-link' }),
26
27
  content.title
27
28
  )
28
29
  ) : React__default.createElement(
@@ -30,7 +31,7 @@ var SocialNavFooter = function SocialNavFooter(props) {
30
31
  { key: index },
31
32
  React__default.createElement(
32
33
  'a',
33
- { href: content.url, rel: checkSisterSite(content.url) ? '' : 'noopener noreferrer', className: 'nav-link' },
34
+ _extends({ href: content.url }, checkSisterSite(content.url) ? {} : { rel: 'noopener noreferrer' }, { className: 'nav-link' }),
34
35
  content.title
35
36
  )
36
37
  );
@@ -44,16 +45,16 @@ var SocialNavFooter = function SocialNavFooter(props) {
44
45
  'li',
45
46
  { style: { marginTop: '10px' }, key: website.footerLinks ? website.footerLinks.length + 1 : 1 },
46
47
  website.socialLinks && website.socialLinks.map(function (row, index) {
47
- return React__default.createElement(reactSocialIcons_1, {
48
- target: row.blank ? '_blank' : '_self',
49
- rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer',
48
+ return React__default.createElement(reactSocialIcons_1, _extends({
49
+ target: row.blank ? '_blank' : '_self'
50
+ }, checkSisterSite(row.url) ? {} : { rel: 'noopener noreferrer' }, {
50
51
  key: index,
51
52
  index: index,
52
53
  url: row.url
53
54
  // including network prop to identify the icon based on the social icon title.
54
55
  , network: row.title.split(' ')[0].toLowerCase(),
55
56
  style: { width: 30, height: 30, marginRight: 5 }
56
- });
57
+ }));
57
58
  })
58
59
  ),
59
60
  showLogo && React__default.createElement(
@@ -61,7 +62,7 @@ var SocialNavFooter = function SocialNavFooter(props) {
61
62
  null,
62
63
  React__default.createElement(
63
64
  'a',
64
- { href: 'https://www.mjhlifesciences.com', rel: checkSisterSite('https://www.mjhlifesciences.com') ? '' : 'noopener noreferrer' },
65
+ _extends({ href: 'https://www.mjhlifesciences.com' }, checkSisterSite('https://www.mjhlifesciences.com') ? {} : { rel: 'noopener noreferrer' }),
65
66
  React__default.createElement('img', {
66
67
  style: { maxWidth: '100%', height: '50px', margin: ' 10px 0', objectFit: 'contain' },
67
68
  alt: 'MJHLS Brand Logo',
package/dist/esm/index.js CHANGED
@@ -73,7 +73,7 @@ export { default as PubToc } from './PubToc.js';
73
73
  export { default as PubSection } from './PubSection.js';
74
74
  import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64822ccc.js';
75
75
  import { _ as _JSON$stringify } from './stringify-2b084bee.js';
76
- import { _ as _extends } from './extends-6d8e3924.js';
76
+ import { _ as _extends } from './extends-1559c147.js';
77
77
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
78
78
  import PropTypes from 'prop-types';
79
79
  import { m as momentTimezone } from './index-30a6257d.js';
@@ -87,7 +87,7 @@ export { default as VerticalHero } from './VerticalHero.js';
87
87
  export { default as YahooHero } from './YahooHero.js';
88
88
  export { default as GridHero } from './GridHero.js';
89
89
  export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
90
- export { g as getSerializers } from './index-127807d3.js';
90
+ export { g as getSerializers } from './index-56c9814b.js';
91
91
  export { default as Beam } from './Beam.js';
92
92
  export { default as Segment } from './Segment.js';
93
93
  export { default as KMTracker } from './KMTracker.js';
@@ -102,20 +102,19 @@ export { default as VideoSeriesLandingPage } from './VideoSeriesLandingPage.js';
102
102
  export { default as ArticleProgramLandingPage } from './ArticleProgramLandingPage.js';
103
103
  export { default as ArticleSeriesLandingPage } from './ArticleSeriesLandingPage.js';
104
104
  export { default as Schema } from './Schema.js';
105
- export { g as getTargeting } from './getTargeting-9bd28724.js';
105
+ export { g as getTargeting } from './getTargeting-5a281334.js';
106
106
  export { default as getKeywords } from './getKeywords.js';
107
107
  export { default as getQuery } from './getQuery.js';
108
108
  import './toConsumableArray-f7074d7c.js';
109
109
  import './_commonjsHelpers-0c4b6f40.js';
110
110
  import './core.get-iterator-method-ea258bb1.js';
111
111
  import './_iter-detect-98db3b07.js';
112
- import './inherits-a6ba2ec4.js';
112
+ import './inherits-d21b4ef9.js';
113
113
  import './_object-sap-7cee6f84.js';
114
114
  import './define-property-5f1bda73.js';
115
- import './typeof-e9fc0c5d.js';
115
+ import './typeof-657f25da.js';
116
116
  import './web.dom.iterable-ab4dea5c.js';
117
117
  import './_is-array-8d21b9e3.js';
118
- import './_object-pie-133f504a.js';
119
118
  import './_library-528f1934.js';
120
119
  import './index-5cc7b406.js';
121
120
  import 'react-bootstrap/Container';
@@ -130,14 +129,14 @@ import './visibility-sensor-72fd8f8b.js';
130
129
  import 'react-dom';
131
130
  import './main-754d4992.js';
132
131
  import './entities-6d9154b4.js';
133
- import './ADInfeed-80914a61.js';
132
+ import './ADInfeed-2503361a.js';
134
133
  import './lodash-f97fd99a.js';
135
- import './ADlgInfeed-55786341.js';
134
+ import './ADlgInfeed-bc4a726f.js';
136
135
  import './getContentCategory-15dcc413.js';
137
136
  import './get-3c308da4.js';
138
137
  import './eq-bdcbf886.js';
139
138
  import './AuthorComponent-11adff02.js';
140
- import './PublicationFeature-d88e76b9.js';
139
+ import './PublicationFeature-3cc370de.js';
141
140
  import 'react-bootstrap/Button';
142
141
  import 'react-bootstrap/Media';
143
142
  import './BlockContent-1e73bd2c.js';
@@ -151,7 +150,7 @@ import './timeDifferenceCalc.js';
151
150
  import './index.esm-eb1e8e80.js';
152
151
  import './iconBase-ccc56b97.js';
153
152
  import './defineProperty-8c30428f.js';
154
- import './_object-to-array-2300e51b.js';
153
+ import './_object-to-array-b61d5965.js';
155
154
  import 'react-bootstrap/Spinner';
156
155
  import 'react-bootstrap/Form';
157
156
  import './js.cookie-6874175c.js';
@@ -167,9 +166,9 @@ import 'react-bootstrap/Nav';
167
166
  import 'react-bootstrap/Navbar';
168
167
  import 'react-bootstrap/NavDropdown';
169
168
  import './index.esm-9b042655.js';
170
- import './NavFooter-27a16f65.js';
171
- import './index.esm-06bf63a3.js';
172
- import './SocialSearchComponent-aedf8322.js';
169
+ import './NavFooter-1546a102.js';
170
+ import './index.esm-35a42e7d.js';
171
+ import './SocialSearchComponent-6065bff2.js';
173
172
  import 'react-bootstrap/FormControl';
174
173
  import 'react-ga';
175
174
  import 'react-bootstrap/Carousel';
@@ -180,7 +179,7 @@ import 'react-bootstrap/Dropdown';
180
179
  import './index.esm-1bd8a0a8.js';
181
180
  import './brightcove-react-player-loader.es-57a70a56.js';
182
181
  import './_set-species-2cd9340f.js';
183
- import './urlForFile-b69adffc.js';
182
+ import './urlForFile-f6485737.js';
184
183
  import 'react-bootstrap/Modal';
185
184
  import './util-8ed16d48.js';
186
185
  import 'react-bootstrap/Pagination';
@@ -193,11 +192,11 @@ import 'swr';
193
192
  import 'passport-local';
194
193
  import 'mysql';
195
194
  import './md5-4e42248e.js';
196
- import './SeriesSlider-771918ce.js';
195
+ import './SeriesSlider-a6b1d617.js';
197
196
  import './style-inject.es-1f59c1d0.js';
198
197
  import 'disqus-react';
199
198
  import 'react-twitter-embed';
200
- import './ImageSlider-83913c4c.js';
199
+ import './ImageSlider-da225417.js';
201
200
  import './VideoSeriesCard.js';
202
201
 
203
202
  //Feature query to be used
@@ -2,7 +2,7 @@ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelper
2
2
  import { u as _objectGpo, i as _toObject, a as _core, e as _ctx, v as _anObject, b as _isObject, _ as _export, d as _objectCreate } from './core.get-iterator-method-ea258bb1.js';
3
3
  import { _ as _objectSap } from './_object-sap-7cee6f84.js';
4
4
  import { d as defineProperty } from './define-property-5f1bda73.js';
5
- import { a as _typeof_1, b as _objectGopd } from './typeof-e9fc0c5d.js';
5
+ import { a as _typeof_1, b as _objectGopd } from './typeof-657f25da.js';
6
6
 
7
7
  // 19.1.2.9 Object.getPrototypeOf(O)
8
8
 
@@ -2,7 +2,7 @@ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelper
2
2
  import { h as _wks, c as _objectDp, a as _core, t as _objectKeys, w as _enumBugKeys, x as _objectKeysInternal, y as _toIobject, f as _descriptors, z as _toPrimitive, A as _ie8DomDefine, B as _has, r as _propertyDesc, l as _global, C as _shared, m as _fails, D as _uid, E as _redefine, _ as _export, n as _hide, o as _setToStringTag, d as _objectCreate, v as _anObject, i as _toObject, b as _isObject } from './core.get-iterator-method-ea258bb1.js';
3
3
  import './web.dom.iterable-ab4dea5c.js';
4
4
  import { _ as _meta, a as _isArray } from './_is-array-8d21b9e3.js';
5
- import { _ as _objectGops, a as _objectPie } from './_object-pie-133f504a.js';
5
+ import { c as _objectGops, d as _objectPie } from './extends-1559c147.js';
6
6
  import { _ as _library } from './_library-528f1934.js';
7
7
 
8
8
  var f$3 = _wks;
@@ -1,4 +1,5 @@
1
1
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
2
+ import { _ as _extends } from './extends-1559c147.js';
2
3
  import { i as imageUrlBuilder } from './index-3f5c03b2.js';
3
4
  import './_commonjsHelpers-0c4b6f40.js';
4
5
  import './web.dom.iterable-ab4dea5c.js';
@@ -29,7 +30,7 @@ function urlFor(_ref) {
29
30
  //will need to update to urlFor({client, source: thumbnail.asset})
30
31
  //All framework components are using new format
31
32
  if (arguments[1] && arguments[1]._ref) {
32
- return imageUrlBuilder(client).image(source).auto('format');
33
+ return imageUrlBuilder(_extends({}, client.config())).image(source).auto('format');
33
34
  }
34
35
 
35
36
  if (imageWidth && imageHeight) {
@@ -37,7 +38,7 @@ function urlFor(_ref) {
37
38
  imageHeight = null;
38
39
  }
39
40
 
40
- var builder = imageUrlBuilder(client);
41
+ var builder = imageUrlBuilder(_extends({}, client.config()));
41
42
  var url = builder.image(source);
42
43
  if (imageWidth) url = url.width(imageWidth);
43
44
  if (imageHeight) url = url.height(imageHeight);
@@ -3,6 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  var urlForFile = function urlForFile(_ref) {
4
4
  var _ref$asset = _ref.asset,
5
5
  asset = _ref$asset === undefined ? {} : _ref$asset;
6
+ var baseUrl = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
6
7
  var url = asset.url,
7
8
  originalFilename = asset.originalFilename;
8
9
  // Appending file name in URL
@@ -13,8 +14,12 @@ var urlForFile = function urlForFile(_ref) {
13
14
  path = _url$split2[0],
14
15
  queryString = _url$split2[1];
15
16
 
17
+ console.log('asset:', asset);
16
18
  originalFilename = encodeURIComponent(originalFilename);
17
19
  url = queryString ? path + '/' + originalFilename + '?' + queryString : path + '/' + originalFilename;
20
+ if (baseUrl) {
21
+ url = queryString ? baseUrl + '/' + asset.path + '/' + originalFilename + '?' + queryString : baseUrl + '/' + asset.path + '/' + originalFilename;
22
+ }
18
23
  }
19
24
  return url;
20
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.1031",
3
+ "version": "1.0.1033-taxonomy-native",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- var f$1 = Object.getOwnPropertySymbols;
4
-
5
- var _objectGops = {
6
- f: f$1
7
- };
8
-
9
- var f = {}.propertyIsEnumerable;
10
-
11
- var _objectPie = {
12
- f: f
13
- };
14
-
15
- exports._objectGops = _objectGops;
16
- exports._objectPie = _objectPie;
@@ -1,13 +0,0 @@
1
- var f$1 = Object.getOwnPropertySymbols;
2
-
3
- var _objectGops = {
4
- f: f$1
5
- };
6
-
7
- var f = {}.propertyIsEnumerable;
8
-
9
- var _objectPie = {
10
- f: f
11
- };
12
-
13
- export { _objectGops as _, _objectPie as a };