@mjhls/mjh-framework 1.0.1082-rl-v3 → 1.0.1083

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 (138) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD300x250.js +1 -1
  3. package/dist/cjs/AD300x250x600.js +1 -1
  4. package/dist/cjs/AD728x90.js +1 -1
  5. package/dist/cjs/ADFloatingFooter.js +1 -1
  6. package/dist/cjs/ADGutter.js +1 -1
  7. package/dist/cjs/{ADInfeed-98ee4120.js → ADInfeed-2530b9b0.js} +1 -1
  8. package/dist/cjs/ADSkyscraper.js +1 -1
  9. package/dist/cjs/ADSponsoredResources.js +1 -1
  10. package/dist/cjs/ADWebcast.js +1 -1
  11. package/dist/cjs/ADWelcome.js +1 -1
  12. package/dist/cjs/{ADlgInfeed-55df7d69.js → ADlgInfeed-df49ed95.js} +1 -1
  13. package/dist/cjs/AdSlot.js +1 -1
  14. package/dist/cjs/AdSlotsProvider.js +1 -1
  15. package/dist/cjs/AlgoliaSearch.js +79 -67
  16. package/dist/cjs/ArticleCarousel.js +1 -1
  17. package/dist/cjs/ArticleProgramLandingPage.js +2 -2
  18. package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
  19. package/dist/cjs/ArticleSeriesListing.js +1 -1
  20. package/dist/cjs/AuthWrapper.js +133 -133
  21. package/dist/cjs/CEDeckSupabase.js +1 -1
  22. package/dist/cjs/CMEDeck.js +1 -1
  23. package/dist/cjs/Column3.js +1 -1
  24. package/dist/cjs/ContentCardPaginated.js +2 -2
  25. package/dist/cjs/DeckContent.js +2 -2
  26. package/dist/cjs/DeckQueue.js +1 -1
  27. package/dist/cjs/DeckQueuePaginated.js +1 -1
  28. package/dist/cjs/EventsDeck.js +2 -2
  29. package/dist/cjs/ExternalResources.js +3 -3
  30. package/dist/cjs/Feature.js +1 -1
  31. package/dist/cjs/GridContent.js +3 -3
  32. package/dist/cjs/GridContentPaginated.js +3 -3
  33. package/dist/cjs/HamMagazine.js +2 -2
  34. package/dist/cjs/HorizontalArticleListing.js +2 -2
  35. package/dist/cjs/{ImageSlider-7c995858.js → ImageSlider-d65bc9c8.js} +160 -115
  36. package/dist/cjs/IssueLanding.js +4 -4
  37. package/dist/cjs/LeftNav.js +1 -1
  38. package/dist/cjs/MasterDeck.js +3 -3
  39. package/dist/cjs/MasterDeckPaginated.js +3 -3
  40. package/dist/cjs/MediaSeriesCard.js +2 -2
  41. package/dist/cjs/MediaSeriesLanding.js +6 -6
  42. package/dist/cjs/MediaSeriesLandingPaginated.js +6 -6
  43. package/dist/cjs/NavMagazine.js +2 -2
  44. package/dist/cjs/NavNative.js +1 -1
  45. package/dist/cjs/PartnerDetailListing.js +5 -6
  46. package/dist/cjs/PartnerDetailListingPaginated.js +5 -6
  47. package/dist/cjs/PodcastsLanding.js +4 -4
  48. package/dist/cjs/PubSection.js +3 -3
  49. package/dist/cjs/QueueDeckExpanded.js +3 -3
  50. package/dist/cjs/QueueDeckExpandedPaginated.js +3 -3
  51. package/dist/cjs/SeriesListingDeck.js +2 -2
  52. package/dist/cjs/{SeriesSlider-086a8319.js → SeriesSlider-a8b51591.js} +1 -1
  53. package/dist/cjs/{SocialSearchComponent-d7e5d3a6.js → SocialSearchComponent-9d272141.js} +1 -1
  54. package/dist/cjs/TaxonomyDescription.js +2 -2
  55. package/dist/cjs/TemplateNormal.js +2 -2
  56. package/dist/cjs/{Tooltip-b8516cbf.js → Tooltip-66c1a867.js} +53 -25
  57. package/dist/cjs/Ustream.js +1 -1
  58. package/dist/cjs/VideoProgramLandingPage.js +2 -2
  59. package/dist/cjs/VideoSeriesLandingPage.js +3 -3
  60. package/dist/cjs/VideoSeriesListing.js +1 -1
  61. package/dist/cjs/View.js +3 -8
  62. package/dist/cjs/YoutubeGroup.js +1 -1
  63. package/dist/cjs/getSerializers.js +2 -2
  64. package/dist/cjs/{index-171e9e82.js → index-1d905301.js} +1 -1
  65. package/dist/cjs/{index-3177f564.js → index-4d21663c.js} +18 -18
  66. package/dist/cjs/{index-ff83a88b.js → index-9ec837cc.js} +10 -25
  67. package/dist/cjs/index.js +9 -10
  68. package/dist/cjs/{main-ae8472f3.js → main-812888f1.js} +1 -1
  69. package/dist/esm/AD300x250.js +1 -1
  70. package/dist/esm/AD300x250x600.js +1 -1
  71. package/dist/esm/AD728x90.js +1 -1
  72. package/dist/esm/ADFloatingFooter.js +1 -1
  73. package/dist/esm/ADGutter.js +1 -1
  74. package/dist/esm/{ADInfeed-41bba2c6.js → ADInfeed-92953c60.js} +1 -1
  75. package/dist/esm/ADSkyscraper.js +1 -1
  76. package/dist/esm/ADSponsoredResources.js +1 -1
  77. package/dist/esm/ADWebcast.js +1 -1
  78. package/dist/esm/ADWelcome.js +1 -1
  79. package/dist/esm/{ADlgInfeed-3c717ece.js → ADlgInfeed-338ff48c.js} +1 -1
  80. package/dist/esm/AdSlot.js +1 -1
  81. package/dist/esm/AdSlotsProvider.js +1 -1
  82. package/dist/esm/AlgoliaSearch.js +78 -66
  83. package/dist/esm/ArticleCarousel.js +1 -1
  84. package/dist/esm/ArticleProgramLandingPage.js +2 -2
  85. package/dist/esm/ArticleSeriesLandingPage.js +3 -3
  86. package/dist/esm/ArticleSeriesListing.js +1 -1
  87. package/dist/esm/AuthWrapper.js +131 -131
  88. package/dist/esm/CEDeckSupabase.js +1 -1
  89. package/dist/esm/CMEDeck.js +1 -1
  90. package/dist/esm/Column3.js +1 -1
  91. package/dist/esm/ContentCardPaginated.js +2 -2
  92. package/dist/esm/DeckContent.js +2 -2
  93. package/dist/esm/DeckQueue.js +1 -1
  94. package/dist/esm/DeckQueuePaginated.js +1 -1
  95. package/dist/esm/EventsDeck.js +2 -2
  96. package/dist/esm/ExternalResources.js +3 -3
  97. package/dist/esm/Feature.js +1 -1
  98. package/dist/esm/GridContent.js +3 -3
  99. package/dist/esm/GridContentPaginated.js +3 -3
  100. package/dist/esm/HamMagazine.js +2 -2
  101. package/dist/esm/HorizontalArticleListing.js +2 -2
  102. package/dist/esm/{ImageSlider-75f7b81a.js → ImageSlider-801685f8.js} +161 -116
  103. package/dist/esm/IssueLanding.js +4 -4
  104. package/dist/esm/LeftNav.js +1 -1
  105. package/dist/esm/MasterDeck.js +3 -3
  106. package/dist/esm/MasterDeckPaginated.js +3 -3
  107. package/dist/esm/MediaSeriesCard.js +2 -2
  108. package/dist/esm/MediaSeriesLanding.js +6 -6
  109. package/dist/esm/MediaSeriesLandingPaginated.js +6 -6
  110. package/dist/esm/NavMagazine.js +2 -2
  111. package/dist/esm/NavNative.js +1 -1
  112. package/dist/esm/PartnerDetailListing.js +5 -6
  113. package/dist/esm/PartnerDetailListingPaginated.js +5 -6
  114. package/dist/esm/PodcastsLanding.js +4 -4
  115. package/dist/esm/PubSection.js +3 -3
  116. package/dist/esm/QueueDeckExpanded.js +3 -3
  117. package/dist/esm/QueueDeckExpandedPaginated.js +3 -3
  118. package/dist/esm/SeriesListingDeck.js +2 -2
  119. package/dist/esm/{SeriesSlider-acbdf4c9.js → SeriesSlider-5757414b.js} +1 -1
  120. package/dist/esm/{SocialSearchComponent-9e65c8d6.js → SocialSearchComponent-98bfc990.js} +1 -1
  121. package/dist/esm/TaxonomyDescription.js +2 -2
  122. package/dist/esm/TemplateNormal.js +2 -2
  123. package/dist/esm/{Tooltip-fe0ed92d.js → Tooltip-0b3b4558.js} +211 -183
  124. package/dist/esm/Ustream.js +1 -1
  125. package/dist/esm/VideoProgramLandingPage.js +2 -2
  126. package/dist/esm/VideoSeriesLandingPage.js +3 -3
  127. package/dist/esm/VideoSeriesListing.js +1 -1
  128. package/dist/esm/View.js +3 -8
  129. package/dist/esm/YoutubeGroup.js +1 -1
  130. package/dist/esm/getSerializers.js +2 -2
  131. package/dist/esm/{index-c8d5e72b.js → index-0ce54f8a.js} +11 -25
  132. package/dist/esm/{index-1d1bbc8c.js → index-517a7573.js} +1 -1
  133. package/dist/esm/{index-4550ef23.js → index-887c1f5e.js} +18 -18
  134. package/dist/esm/index.js +9 -10
  135. package/dist/esm/{main-754d4992.js → main-dde1592e.js} +1 -1
  136. package/package.json +1 -1
  137. package/dist/cjs/defineProperty-19580e93.js +0 -71
  138. package/dist/esm/defineProperty-e8022d1e.js +0 -66
@@ -2,7 +2,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1eb
2
2
  import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
3
3
  import React__default, { useState, useRef, useEffect } from 'react';
4
4
  import { F as FaWindowClose } from './index.esm-1bd8a0a8.js';
5
- import { m as main_43 } from './main-754d4992.js';
5
+ import { m as main_43 } from './main-dde1592e.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
7
7
  import './core.get-iterator-method-95db387d.js';
8
8
  import './web.dom.iterable-3fffc027.js';
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
5
5
  import Col from 'react-bootstrap/Col';
6
6
  import Form from 'react-bootstrap/Form';
7
7
  import Button from 'react-bootstrap/Button';
8
- import { g as getSerializers } from './index-1d1bbc8c.js';
8
+ import { g as getSerializers } from './index-517a7573.js';
9
9
  import VideoSeriesListing from './VideoSeriesListing.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-95db387d.js';
@@ -24,7 +24,7 @@ import './index-c7e2ac95.js';
24
24
  import './Beam.js';
25
25
  import './stringify-1e2a5946.js';
26
26
  import './Segment.js';
27
- import './main-754d4992.js';
27
+ import './main-dde1592e.js';
28
28
  import './urlForFile-2e523b67.js';
29
29
  import './index-755f2cc2.js';
30
30
  import 'react-dom';
@@ -35,13 +35,13 @@ import './index.es-a6137319.js';
35
35
  import './visibility-sensor-72fd8f8b.js';
36
36
  import 'react-dom';
37
37
  import './index-3f5c03b2.js';
38
- import './ADlgInfeed-3c717ece.js';
38
+ import './ADlgInfeed-338ff48c.js';
39
39
  import './AdSlot.js';
40
40
  import './Beam.js';
41
41
  import './stringify-1e2a5946.js';
42
42
  import './Segment.js';
43
- import './main-754d4992.js';
44
- import './ADInfeed-41bba2c6.js';
43
+ import './main-dde1592e.js';
44
+ import './ADInfeed-92953c60.js';
45
45
  import './index-755f2cc2.js';
46
46
  import './urlFor.js';
47
47
  import './style-inject.es-1f59c1d0.js';
@@ -27,7 +27,7 @@ import './index-755f2cc2.js';
27
27
  import './smoothscroll-fa4e3f8c.js';
28
28
  import './urlFor.js';
29
29
  import './index-3f5c03b2.js';
30
- import './main-754d4992.js';
30
+ import './main-dde1592e.js';
31
31
  import './isSymbol-a7e9aafe.js';
32
32
  import './toNumber-5aeba6e7.js';
33
33
 
package/dist/esm/View.js CHANGED
@@ -8,16 +8,16 @@ import { _ as _JSON$stringify } from './stringify-1e2a5946.js';
8
8
  import { _ as _toConsumableArray } from './toConsumableArray-e6f28e5c.js';
9
9
  import { m as moment } from './moment-48faeb9c.js';
10
10
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
11
- import { m as main_43 } from './main-754d4992.js';
11
+ import { m as main_43 } from './main-dde1592e.js';
12
12
  import 'react-bootstrap/Dropdown';
13
13
  import Form from 'react-bootstrap/Form';
14
14
  import FormControl from 'react-bootstrap/FormControl';
15
15
  import Button from 'react-bootstrap/Button';
16
16
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
17
17
  import SocialShare from './SocialShare.js';
18
- import { r as renderAuthor, g as getSerializers } from './index-1d1bbc8c.js';
18
+ import { r as renderAuthor, g as getSerializers } from './index-517a7573.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
- import { S as SeriesSlider } from './SeriesSlider-acbdf4c9.js';
20
+ import { S as SeriesSlider } from './SeriesSlider-5757414b.js';
21
21
  import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-b62a177c.js';
22
22
  import getKeywords from './getKeywords.js';
23
23
  import urlFor from './urlFor.js';
@@ -181,7 +181,6 @@ var DocumentGroup = function DocumentGroup(_ref) {
181
181
  thumbnailUrl = urlFor({ client: client, source: mediaSeriesGroup.thumbnail });
182
182
  }
183
183
  var margin = article.documentGroupMapping && article.documentGroupMapping[0] && article.documentGroupMapping[0].parent && article.documentGroupMapping[0].parent.parent && article.documentGroupMapping[0].parent.parent.contextText || article.documentGroup && article.documentGroup.parent && article.documentGroup.parent.parent && article.documentGroup.parent.parent.contextText ? 'none' : '1rem';
184
- console.log("check me", article.documentGroupMapping && article.documentGroupMapping[0] && article.documentGroupMapping[0].parent && article.documentGroupMapping[0].parent.parent && article.documentGroupMapping[0].parent.parent.contextText ? article.documentGroupMapping[0].parent.parent.contextText : article.documentGroup && article.documentGroup.parent && article.documentGroup.parent.parent && article.documentGroup.parent.parent.contextText ? article.documentGroup.parent.parent.contextText : null);
185
184
  return React__default.createElement(
186
185
  'div',
187
186
  null,
@@ -1266,7 +1265,6 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1266
1265
  }
1267
1266
 
1268
1267
  var doc_url = cpModificationRequired ? getDocumentGroupUrl(documentGroup) : documentGroup.ancestor ? documentGroup.parent && !documentGroup.path.includes('/') ? '/' + documentGroup.ancestor + '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.ancestor + '/' + documentGroup.path : documentGroup.parent ? !documentGroup.path.includes('/') ? '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.path : '/' + documentGroup.path;
1269
- console.log("doc_url----------------", doc_url);
1270
1268
  var href = '' + doc_url;
1271
1269
  relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: documentGroup.name, href: href }]);
1272
1270
  // if (documentGroup.parent) {
@@ -1294,7 +1292,6 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1294
1292
 
1295
1293
  var cp_url = cpModificationRequired ? getContentPlacementUrl(cp) : cp.ancestor ? cp.parent && !cp.path.includes('/') ? cp.ancestor + '/' + cp.parent + '/' + cp.path : cp.ancestor + '/' + cp.path : cp.parent ? !cp.path.includes('/') ? cp.parent + '/' + cp.path : '' + cp.path : '' + cp.path;
1296
1294
  var href = '/' + cp_url;
1297
- console.log("cp_url----------------------------", href);
1298
1295
  relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: cp.name, href: href }]);
1299
1296
  });
1300
1297
  }
@@ -2390,8 +2387,6 @@ var View = function View(props) {
2390
2387
  var title = _props$article2.title,
2391
2388
  seriesShareOptions = _props$article2.seriesShareOptions;
2392
2389
 
2393
- console.log(props);
2394
-
2395
2390
  var _useState = useState(0),
2396
2391
  _useState2 = _slicedToArray(_useState, 2),
2397
2392
  currentPage = _useState2[0],
@@ -4,7 +4,7 @@ import { g as getYoutubeId } from './index-c7e2ac95.js';
4
4
  import { L as LazyLoad } from './index-755f2cc2.js';
5
5
  import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
6
6
  import urlFor from './urlFor.js';
7
- import { m as main_43, a as main_49, b as main_42 } from './main-754d4992.js';
7
+ import { m as main_43, a as main_49, b as main_42 } from './main-dde1592e.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './web.dom.iterable-3fffc027.js';
10
10
  import './core.get-iterator-method-95db387d.js';
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { g as default } from './index-1d1bbc8c.js';
2
+ export { g as default } from './index-517a7573.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
4
  import './entities-6d9154b4.js';
5
5
  import './slicedToArray-72ed566b.js';
@@ -21,7 +21,7 @@ import './_library-528f1934.js';
21
21
  import './_set-species-7d3317b7.js';
22
22
  import './_iter-detect-2f89237f.js';
23
23
  import './Segment.js';
24
- import './main-754d4992.js';
24
+ import './main-dde1592e.js';
25
25
  import './urlForFile-2e523b67.js';
26
26
  import './index-755f2cc2.js';
27
27
  import 'react-dom';
@@ -1,7 +1,7 @@
1
1
  import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
2
 
3
3
  function _extends() {
4
- _extends = Object.assign ? Object.assign.bind() : function (target) {
4
+ _extends = Object.assign || function (target) {
5
5
  for (var i = 1; i < arguments.length; i++) {
6
6
  var source = arguments[i];
7
7
 
@@ -14,6 +14,7 @@ function _extends() {
14
14
 
15
15
  return target;
16
16
  };
17
+
17
18
  return _extends.apply(this, arguments);
18
19
  }
19
20
 
@@ -32,19 +33,11 @@ function _objectWithoutPropertiesLoose(source, excluded) {
32
33
  return target;
33
34
  }
34
35
 
35
- function _setPrototypeOf(o, p) {
36
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
37
- o.__proto__ = p;
38
- return o;
39
- };
40
- return _setPrototypeOf(o, p);
41
- }
42
-
43
36
  var classnames = createCommonjsModule(function (module) {
44
37
  /*!
45
- Copyright (c) 2018 Jed Watson.
46
- Licensed under the MIT License (MIT), see
47
- http://jedwatson.github.io/classnames
38
+ Copyright (c) 2017 Jed Watson.
39
+ Licensed under the MIT License (MIT), see
40
+ http://jedwatson.github.io/classnames
48
41
  */
49
42
  /* global define */
50
43
 
@@ -52,7 +45,7 @@ var classnames = createCommonjsModule(function (module) {
52
45
 
53
46
  var hasOwn = {}.hasOwnProperty;
54
47
 
55
- function classNames() {
48
+ function classNames () {
56
49
  var classes = [];
57
50
 
58
51
  for (var i = 0; i < arguments.length; i++) {
@@ -63,19 +56,12 @@ var classnames = createCommonjsModule(function (module) {
63
56
 
64
57
  if (argType === 'string' || argType === 'number') {
65
58
  classes.push(arg);
66
- } else if (Array.isArray(arg)) {
67
- if (arg.length) {
68
- var inner = classNames.apply(null, arg);
69
- if (inner) {
70
- classes.push(inner);
71
- }
59
+ } else if (Array.isArray(arg) && arg.length) {
60
+ var inner = classNames.apply(null, arg);
61
+ if (inner) {
62
+ classes.push(inner);
72
63
  }
73
64
  } else if (argType === 'object') {
74
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
75
- classes.push(arg.toString());
76
- continue;
77
- }
78
-
79
65
  for (var key in arg) {
80
66
  if (hasOwn.call(arg, key) && arg[key]) {
81
67
  classes.push(key);
@@ -96,4 +82,4 @@ var classnames = createCommonjsModule(function (module) {
96
82
  }());
97
83
  });
98
84
 
99
- export { _objectWithoutPropertiesLoose as _, _setPrototypeOf as a, _extends as b, classnames as c };
85
+ export { _objectWithoutPropertiesLoose as _, _extends as a, classnames as c };
@@ -9,7 +9,7 @@ import PropTypes from 'prop-types';
9
9
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
10
10
  import './Beam.js';
11
11
  import Segment from './Segment.js';
12
- import { f as main_18, b as main_42, m as main_43 } from './main-754d4992.js';
12
+ import { f as main_18, b as main_42, m as main_43 } from './main-dde1592e.js';
13
13
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
14
14
  import { _ as _extends, b as _extends$1 } from './extends-2f4448b8.js';
15
15
  import { u as urlForFile } from './urlForFile-2e523b67.js';