@mjhls/mjh-framework 1.0.1017-cls-v2 → 1.0.1018

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 (156) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +2 -3
  4. package/dist/cjs/AD300x250x600.js +2 -3
  5. package/dist/cjs/AD728x90.js +2 -3
  6. package/dist/cjs/ADFloatingFooter.js +2 -3
  7. package/dist/cjs/ADGutter.js +2 -3
  8. package/dist/cjs/ADSkyscraper.js +2 -3
  9. package/dist/cjs/ADSponsoredResources.js +2 -3
  10. package/dist/cjs/ADWebcast.js +2 -3
  11. package/dist/cjs/ADWelcome.js +2 -3
  12. package/dist/cjs/AdSlot.js +2 -3
  13. package/dist/cjs/AdSlotsProvider.js +2 -3
  14. package/dist/cjs/AlgoliaSearch.js +1068 -521
  15. package/dist/cjs/ArticleCarousel.js +1 -1
  16. package/dist/cjs/ArticleProgramLandingPage.js +3 -4
  17. package/dist/cjs/ArticleSeriesLandingPage.js +4 -5
  18. package/dist/cjs/ArticleSeriesListing.js +2 -3
  19. package/dist/cjs/Auth.js +40 -11
  20. package/dist/cjs/AuthWrapper.js +89 -19
  21. package/dist/cjs/CEDeckSupabase.js +2 -3
  22. package/dist/cjs/CMEDeck.js +2 -3
  23. package/dist/cjs/Column3.js +2 -3
  24. package/dist/cjs/ContentCardPaginated.js +4 -5
  25. package/dist/cjs/DeckContent.js +34 -39
  26. package/dist/cjs/DeckQueue.js +2 -3
  27. package/dist/cjs/DeckQueuePaginated.js +3 -4
  28. package/dist/cjs/{Dfp-c313a700.js → Dfp-67646058.js} +1 -2
  29. package/dist/cjs/EventsDeck.js +2 -2
  30. package/dist/cjs/ExternalResources.js +4 -5
  31. package/dist/cjs/Feature.js +1 -1
  32. package/dist/cjs/GridContent.js +4 -5
  33. package/dist/cjs/GridContentPaginated.js +5 -6
  34. package/dist/cjs/HamMagazine.js +206 -212
  35. package/dist/cjs/HorizontalArticleListing.js +3 -4
  36. package/dist/cjs/{ImageSlider-17fdaf3b.js → ImageSlider-1ec0408b.js} +156 -116
  37. package/dist/cjs/IssueLanding.js +5 -6
  38. package/dist/cjs/LeftNav.js +2 -3
  39. package/dist/cjs/MasterDeck.js +4 -5
  40. package/dist/cjs/MasterDeckPaginated.js +5 -6
  41. package/dist/cjs/{MediaSeriesCard-42536e1e.js → MediaSeriesCard-756b0d9a.js} +1 -1
  42. package/dist/cjs/MediaSeriesLanding.js +8 -9
  43. package/dist/cjs/MediaSeriesLandingPaginated.js +9 -10
  44. package/dist/cjs/NavMagazine.js +2 -2
  45. package/dist/cjs/NavNative.js +1 -1
  46. package/dist/cjs/{Pagination-842c556f.js → Pagination-6359861a.js} +1 -1
  47. package/dist/cjs/PartnerDetailListing.js +6 -8
  48. package/dist/cjs/PartnerDetailListingPaginated.js +7 -9
  49. package/dist/cjs/PodcastsLanding.js +6 -7
  50. package/dist/cjs/PubSection.js +4 -5
  51. package/dist/cjs/QueueDeckExpanded.js +4 -5
  52. package/dist/cjs/QueueDeckExpandedPaginated.js +5 -6
  53. package/dist/cjs/SeriesListingDeck.js +3 -4
  54. package/dist/cjs/{SeriesSlider-3d57985d.js → SeriesSlider-18fc6e71.js} +1 -1
  55. package/dist/cjs/{SocialSearchComponent-e2a5511a.js → SocialSearchComponent-b36e5525.js} +1 -1
  56. package/dist/cjs/TaxonomyDescription.js +3 -4
  57. package/dist/cjs/TemplateNormal.js +3 -6
  58. package/dist/cjs/{Tooltip-4cb8849a.js → Tooltip-71754b2a.js} +355 -272
  59. package/dist/cjs/Ustream.js +1 -1
  60. package/dist/cjs/VideoProgramLandingPage.js +3 -4
  61. package/dist/cjs/VideoSeriesLandingPage.js +4 -5
  62. package/dist/cjs/VideoSeriesListing.js +2 -3
  63. package/dist/cjs/View.js +4 -5
  64. package/dist/cjs/YahooHero.js +21 -29
  65. package/dist/cjs/YoutubeGroup.js +1 -1
  66. package/dist/cjs/getSerializers.js +3 -4
  67. package/dist/cjs/{index-d2a6ef75.js → index-7435b964.js} +467 -2
  68. package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
  69. package/dist/cjs/index-b95410f0.js +54 -0
  70. package/dist/cjs/{index-67617e6f.js → index-de9f9069.js} +3 -3
  71. package/dist/cjs/index.js +10 -13
  72. package/dist/cjs/{main-3643d499.js → main-6054981e.js} +4 -9
  73. package/dist/esm/AD.js +1 -1
  74. package/dist/esm/AD300x250.js +2 -3
  75. package/dist/esm/AD300x250x600.js +2 -3
  76. package/dist/esm/AD728x90.js +2 -3
  77. package/dist/esm/ADFloatingFooter.js +2 -3
  78. package/dist/esm/ADGutter.js +2 -3
  79. package/dist/esm/ADSkyscraper.js +2 -3
  80. package/dist/esm/ADSponsoredResources.js +2 -3
  81. package/dist/esm/ADWebcast.js +2 -3
  82. package/dist/esm/ADWelcome.js +2 -3
  83. package/dist/esm/AdSlot.js +2 -3
  84. package/dist/esm/AdSlotsProvider.js +2 -3
  85. package/dist/esm/AlgoliaSearch.js +1065 -518
  86. package/dist/esm/ArticleCarousel.js +1 -1
  87. package/dist/esm/ArticleProgramLandingPage.js +3 -4
  88. package/dist/esm/ArticleSeriesLandingPage.js +4 -5
  89. package/dist/esm/ArticleSeriesListing.js +2 -3
  90. package/dist/esm/Auth.js +40 -11
  91. package/dist/esm/AuthWrapper.js +86 -16
  92. package/dist/esm/CEDeckSupabase.js +2 -3
  93. package/dist/esm/CMEDeck.js +2 -3
  94. package/dist/esm/Column3.js +2 -3
  95. package/dist/esm/ContentCardPaginated.js +4 -5
  96. package/dist/esm/DeckContent.js +34 -39
  97. package/dist/esm/DeckQueue.js +2 -3
  98. package/dist/esm/DeckQueuePaginated.js +3 -4
  99. package/dist/esm/{Dfp-102f0beb.js → Dfp-cf85d203.js} +1 -2
  100. package/dist/esm/EventsDeck.js +2 -2
  101. package/dist/esm/ExternalResources.js +4 -5
  102. package/dist/esm/Feature.js +1 -1
  103. package/dist/esm/GridContent.js +4 -5
  104. package/dist/esm/GridContentPaginated.js +5 -6
  105. package/dist/esm/HamMagazine.js +206 -212
  106. package/dist/esm/HorizontalArticleListing.js +3 -4
  107. package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-83913c4c.js} +157 -117
  108. package/dist/esm/IssueLanding.js +5 -6
  109. package/dist/esm/LeftNav.js +2 -3
  110. package/dist/esm/MasterDeck.js +4 -5
  111. package/dist/esm/MasterDeckPaginated.js +5 -6
  112. package/dist/esm/{MediaSeriesCard-8d171570.js → MediaSeriesCard-f1f91e14.js} +1 -1
  113. package/dist/esm/MediaSeriesLanding.js +8 -9
  114. package/dist/esm/MediaSeriesLandingPaginated.js +9 -10
  115. package/dist/esm/NavMagazine.js +2 -2
  116. package/dist/esm/NavNative.js +1 -1
  117. package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
  118. package/dist/esm/PartnerDetailListing.js +6 -8
  119. package/dist/esm/PartnerDetailListingPaginated.js +7 -9
  120. package/dist/esm/PodcastsLanding.js +6 -7
  121. package/dist/esm/PubSection.js +4 -5
  122. package/dist/esm/QueueDeckExpanded.js +4 -5
  123. package/dist/esm/QueueDeckExpandedPaginated.js +5 -6
  124. package/dist/esm/SeriesListingDeck.js +3 -4
  125. package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-5728e349.js} +1 -1
  126. package/dist/esm/{SocialSearchComponent-a7714c5e.js → SocialSearchComponent-daceaa22.js} +1 -1
  127. package/dist/esm/TaxonomyDescription.js +3 -4
  128. package/dist/esm/TemplateNormal.js +3 -6
  129. package/dist/esm/{Tooltip-95655b44.js → Tooltip-8307d9d1.js} +150 -67
  130. package/dist/esm/Ustream.js +1 -1
  131. package/dist/esm/VideoProgramLandingPage.js +3 -4
  132. package/dist/esm/VideoSeriesLandingPage.js +4 -5
  133. package/dist/esm/VideoSeriesListing.js +2 -3
  134. package/dist/esm/View.js +4 -5
  135. package/dist/esm/YahooHero.js +21 -29
  136. package/dist/esm/YoutubeGroup.js +1 -1
  137. package/dist/esm/getSerializers.js +3 -4
  138. package/dist/esm/index-174b5baf.js +52 -0
  139. package/dist/esm/{index-188f561f.js → index-29ed16aa.js} +3 -3
  140. package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
  141. package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
  142. package/dist/esm/index.js +10 -13
  143. package/dist/esm/{main-1894c974.js → main-9f6806ea.js} +4 -9
  144. package/package.json +1 -1
  145. package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
  146. package/dist/cjs/events-1b438fe7.js +0 -469
  147. package/dist/cjs/index-50be6759.js +0 -105
  148. package/dist/cjs/typeof-1358762e.js +0 -33
  149. package/dist/esm/defineProperty-23a8f8cd.js +0 -68
  150. package/dist/esm/events-6c3a7a63.js +0 -467
  151. package/dist/esm/index-98ca9cec.js +0 -100
  152. package/dist/esm/typeof-2f07d0e8.js +0 -30
  153. /package/dist/cjs/{ADInfeed-0394f391.js → ADInfeed-ef933a08.js} +0 -0
  154. /package/dist/cjs/{ADlgInfeed-759969d6.js → ADlgInfeed-0e931f24.js} +0 -0
  155. /package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-f946441a.js} +0 -0
  156. /package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-012e6f16.js} +0 -0
@@ -45,26 +45,22 @@ var YahooHero = function YahooHero(props) {
45
45
  ),
46
46
  React__default.createElement('div', { className: 'yh-top-article--blur' }),
47
47
  React__default.createElement(
48
- LazyLoad,
49
- { height: '100%', once: true },
48
+ 'div',
49
+ { className: 'yh-top-article--body' },
50
50
  React__default.createElement(
51
- 'div',
52
- { className: 'yh-top-article--body' },
53
- React__default.createElement(
54
- 'h1',
55
- null,
56
- topArticle.title
57
- ),
58
- React__default.createElement(
59
- 'p',
60
- null,
61
- moment(topArticle.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
62
- ),
63
- React__default.createElement(
64
- 'p',
65
- null,
66
- clean_html_1(topArticle.summary)
67
- )
51
+ 'h1',
52
+ null,
53
+ topArticle.title
54
+ ),
55
+ React__default.createElement(
56
+ 'p',
57
+ null,
58
+ moment(topArticle.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
59
+ ),
60
+ React__default.createElement(
61
+ 'p',
62
+ null,
63
+ clean_html_1(topArticle.summary)
68
64
  )
69
65
  )
70
66
  )
@@ -92,16 +88,12 @@ var YahooHero = function YahooHero(props) {
92
88
  React__default.createElement('img', { src: articleThumbnail })
93
89
  ),
94
90
  React__default.createElement(
95
- LazyLoad,
96
- { height: '100%', once: true },
91
+ 'a',
92
+ { href: '/view/' + article.url.current },
97
93
  React__default.createElement(
98
- 'a',
99
- { href: '/view/' + article.url.current },
100
- React__default.createElement(
101
- 'h6',
102
- { className: 'yh-sub-article--title' },
103
- article.title
104
- )
94
+ 'h6',
95
+ { className: 'yh-sub-article--title' },
96
+ article.title
105
97
  )
106
98
  ),
107
99
  React__default.createElement(
@@ -120,7 +112,7 @@ var YahooHero = function YahooHero(props) {
120
112
  React__default.createElement(
121
113
  'style',
122
114
  { jsx: 'true' },
123
- '\n .article-hero{\n padding-bottom:15px\n }\n .yh-top-article {\n display: flex;\n flex-direction: row;\n position: relative;\n font-family: Roboto, sans-serif;\n margin-bottom: 1rem;\n border-radius: 15px;\n overflow: hidden;\n min-height: 315px;\n }\n .yh-top-article--img {\n width: 100%;\n min-height: 240px;\n overflow: hidden;\n }\n .yh-top-article--img img {\n width: 100%;\n height: 100%C;\n min-height: 100%;\n max-height: 615px;\n object-fit: cover;\n }\n .yh-top-article--body {\n height: 100%;\n width: 40%;\n min-width: 320px;\n right: 0;\n position: absolute;\n color: white;\n padding: 1.75rem;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n }\n .yh-top-article--body h1 {\n color: white!important;\n font-size: 1.4rem;\n font-weight: 500;\n margin-bottom: 0.5rem;\n }\n .yh-top-article--body p {\n font-size: 0.9rem;\n margin-bottom: 0.5rem;\n }\n .yh-top-article--blur {\n height: 100%;\n width: 40%;\n right: 0;\n position: absolute;\n filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));\n background: rgba(0,0,0,.65);\n min-width: 320px;\n }\n .yh-sub-article-container {\n display: flex;\n justify-content: space-between;\n }\n .yh-sub-article {\n width: 23.25%;\n }\n .yh-sub-article p.yh-sub-article--title {\n font-weight: bold;\n }\n .yh-sub-article img {\n width: 100%;\n max-height: 150px;\n object-fit: cover;\n border-radius: 15px;\n }\n .yh-sub-article img[src=\'' + props.thumbnail + '\']{\n object-fit: contain;\n }\n .yh-sub-article--title {\n font-weight: bold;\n margin-top: .25rem;\n font-size: 1rem;\n margin-bottom: .25rem;\n }\n .yh-sub-article--info {\n font-size: .8rem;\n margin-bottom: 0;\n\n }\n @media screen and (max-width: 968px) {\n .yh-sub-article-container {\n flex-wrap: wrap;\n }\n .yh-sub-article {\n width: 48%;\n margin-bottom: 1rem;\n }\n }\n '
115
+ '\n .article-hero{\n padding-bottom:15px\n }\n .yh-top-article {\n display: flex;\n flex-direction: row;\n position: relative;\n font-family: Roboto, sans-serif;\n margin-bottom: 1rem;\n border-radius: 15px;\n overflow: hidden;\n min-height: 315px;\n }\n .yh-top-article--img {\n width: 100%;\n min-height: 240px;\n overflow: hidden;\n }\n .yh-top-article--img img {\n width: 100%;\n height: auto;\n min-height: 100%;\n max-height: 615px;\n object-fit: cover;\n }\n .yh-top-article--body {\n height: 100%;\n width: 40%;\n min-width: 320px;\n right: 0;\n position: absolute;\n color: white;\n padding: 1.75rem;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n }\n .yh-top-article--body h1 {\n color: white!important;\n font-size: 1.4rem;\n font-weight: 500;\n margin-bottom: 0.5rem;\n }\n .yh-top-article--body p {\n font-size: 0.9rem;\n margin-bottom: 0.5rem;\n }\n .yh-top-article--blur {\n height: 100%;\n width: 40%;\n right: 0;\n position: absolute;\n filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));\n background: rgba(0,0,0,.65);\n min-width: 320px;\n }\n .yh-sub-article-container {\n display: flex;\n justify-content: space-between;\n }\n .yh-sub-article {\n width: 23.25%;\n }\n .yh-sub-article p.yh-sub-article--title {\n font-weight: bold;\n }\n .yh-sub-article img {\n width: 100%;\n max-height: 150px;\n object-fit: cover;\n border-radius: 15px;\n }\n .yh-sub-article img[src=\'' + props.thumbnail + '\']{\n object-fit: contain;\n }\n .yh-sub-article--title {\n font-weight: bold;\n margin-top: .25rem;\n font-size: 1rem;\n margin-bottom: .25rem;\n }\n .yh-sub-article--info {\n font-size: .8rem;\n margin-bottom: 0;\n\n }\n @media screen and (max-width: 968px) {\n .yh-sub-article-container {\n flex-wrap: wrap;\n }\n .yh-sub-article {\n width: 48%;\n margin-bottom: 1rem;\n }\n }\n '
124
116
  )
125
117
  );
126
118
  };
@@ -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-1894c974.js';
7
+ import { m as main_43, a as main_49, b as main_42 } from './main-9f6806ea.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './web.dom.iterable-ab4dea5c.js';
10
10
  import './core.get-iterator-method-ea258bb1.js';
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { g as default } from './index-188f561f.js';
2
+ export { g as default } from './index-29ed16aa.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
4
  import './entities-6d9154b4.js';
5
5
  import './slicedToArray-6ebcbfea.js';
@@ -9,8 +9,7 @@ import './core.get-iterator-method-ea258bb1.js';
9
9
  import 'react-bootstrap';
10
10
  import './urlFor.js';
11
11
  import './index-3f5c03b2.js';
12
- import './index-f0fc23eb.js';
13
- import './events-6c3a7a63.js';
12
+ import './index-5cc7b406.js';
14
13
  import 'prop-types';
15
14
  import 'next/router';
16
15
  import './index-c7e2ac95.js';
@@ -21,7 +20,7 @@ import './asyncToGenerator-958ef5fc.js';
21
20
  import './_library-528f1934.js';
22
21
  import './_iter-detect-98db3b07.js';
23
22
  import './Segment.js';
24
- import './main-1894c974.js';
23
+ import './main-9f6806ea.js';
25
24
  import './extends-6d8e3924.js';
26
25
  import './_object-pie-133f504a.js';
27
26
  import './urlForFile-b69adffc.js';
@@ -0,0 +1,52 @@
1
+ import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
+
3
+ var classnames = createCommonjsModule(function (module) {
4
+ /*!
5
+ Copyright (c) 2017 Jed Watson.
6
+ Licensed under the MIT License (MIT), see
7
+ http://jedwatson.github.io/classnames
8
+ */
9
+ /* global define */
10
+
11
+ (function () {
12
+
13
+ var hasOwn = {}.hasOwnProperty;
14
+
15
+ function classNames () {
16
+ var classes = [];
17
+
18
+ for (var i = 0; i < arguments.length; i++) {
19
+ var arg = arguments[i];
20
+ if (!arg) continue;
21
+
22
+ var argType = typeof arg;
23
+
24
+ if (argType === 'string' || argType === 'number') {
25
+ classes.push(arg);
26
+ } else if (Array.isArray(arg) && arg.length) {
27
+ var inner = classNames.apply(null, arg);
28
+ if (inner) {
29
+ classes.push(inner);
30
+ }
31
+ } else if (argType === 'object') {
32
+ for (var key in arg) {
33
+ if (hasOwn.call(arg, key) && arg[key]) {
34
+ classes.push(key);
35
+ }
36
+ }
37
+ }
38
+ }
39
+
40
+ return classes.join(' ');
41
+ }
42
+
43
+ if (module.exports) {
44
+ classNames.default = classNames;
45
+ module.exports = classNames;
46
+ } else {
47
+ window.classNames = classNames;
48
+ }
49
+ }());
50
+ });
51
+
52
+ export { classnames as c };
@@ -2,7 +2,7 @@ import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallba
2
2
  import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
3
3
  import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button as Button$1, ProgressBar } from 'react-bootstrap';
4
4
  import urlFor from './urlFor.js';
5
- import { l as lib_3 } from './index-f0fc23eb.js';
5
+ import { l as lib_3 } from './index-5cc7b406.js';
6
6
  import Router, { useRouter } from 'next/router';
7
7
  import { g as getYoutubeId } from './index-c7e2ac95.js';
8
8
  import PropTypes from 'prop-types';
@@ -10,7 +10,7 @@ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelper
10
10
  import { u as util } from './util-8ed16d48.js';
11
11
  import './Beam.js';
12
12
  import Segment from './Segment.js';
13
- import { e as main_18, b as main_42, m as main_43 } from './main-1894c974.js';
13
+ import { e as main_18, b as main_42, m as main_43 } from './main-9f6806ea.js';
14
14
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
15
15
  import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
16
16
  import { u as urlForFile } from './urlForFile-b69adffc.js';
@@ -10432,7 +10432,7 @@ var DigiohSmartTag = function DigiohSmartTag(props) {
10432
10432
  };
10433
10433
 
10434
10434
  var checkUrlIsExternal = function checkUrlIsExternal(url) {
10435
- if (/https?:\/\/((?:[\w\d-]+\.)+[\w\d]{2,})|http?:\/\/((?:[\w\d-]+\.)+[\w\d]{2,})|(^mailto)/i.test(url)) {
10435
+ if (/https?:\/\/((?:[\w\d-]+\.)+[\w\d]{2,})|http?:\/\/((?:[\w\d-]+\.)+[\w\d]{2,})|(^mailto)|(^tel)/i.test(url)) {
10436
10436
  return true;
10437
10437
  }
10438
10438
  return false;