@mjhls/mjh-framework 1.0.1017 → 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 (50) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AlgoliaSearch.js +113 -49
  3. package/dist/cjs/ArticleProgramLandingPage.js +1 -1
  4. package/dist/cjs/AuthWrapper.js +89 -19
  5. package/dist/cjs/ExternalResources.js +1 -1
  6. package/dist/cjs/HorizontalArticleListing.js +1 -1
  7. package/dist/cjs/{ImageSlider-17fdaf3b.js → ImageSlider-1ec0408b.js} +156 -116
  8. package/dist/cjs/IssueLanding.js +1 -1
  9. package/dist/cjs/{MediaSeriesCard-6882e999.js → MediaSeriesCard-756b0d9a.js} +1 -1
  10. package/dist/cjs/MediaSeriesLanding.js +4 -4
  11. package/dist/cjs/MediaSeriesLandingPaginated.js +4 -4
  12. package/dist/cjs/PartnerDetailListing.js +2 -3
  13. package/dist/cjs/PartnerDetailListingPaginated.js +2 -3
  14. package/dist/cjs/PodcastsLanding.js +2 -2
  15. package/dist/cjs/TaxonomyDescription.js +1 -1
  16. package/dist/cjs/{Tooltip-96fe6ef6.js → Tooltip-71754b2a.js} +248 -206
  17. package/dist/cjs/VideoProgramLandingPage.js +1 -1
  18. package/dist/cjs/View.js +1 -1
  19. package/dist/cjs/getSerializers.js +1 -1
  20. package/dist/cjs/index-b95410f0.js +54 -0
  21. package/dist/cjs/{index-71879a4f.js → index-de9f9069.js} +19 -7
  22. package/dist/cjs/index.js +3 -5
  23. package/dist/esm/AlgoliaSearch.js +100 -36
  24. package/dist/esm/ArticleProgramLandingPage.js +1 -1
  25. package/dist/esm/AuthWrapper.js +86 -16
  26. package/dist/esm/ExternalResources.js +1 -1
  27. package/dist/esm/HorizontalArticleListing.js +1 -1
  28. package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-83913c4c.js} +157 -117
  29. package/dist/esm/IssueLanding.js +1 -1
  30. package/dist/esm/{MediaSeriesCard-8dc5e25b.js → MediaSeriesCard-f1f91e14.js} +1 -1
  31. package/dist/esm/MediaSeriesLanding.js +4 -4
  32. package/dist/esm/MediaSeriesLandingPaginated.js +4 -4
  33. package/dist/esm/PartnerDetailListing.js +2 -3
  34. package/dist/esm/PartnerDetailListingPaginated.js +2 -3
  35. package/dist/esm/PodcastsLanding.js +2 -2
  36. package/dist/esm/TaxonomyDescription.js +1 -1
  37. package/dist/esm/{Tooltip-bc98d17e.js → Tooltip-8307d9d1.js} +43 -1
  38. package/dist/esm/VideoProgramLandingPage.js +1 -1
  39. package/dist/esm/View.js +1 -1
  40. package/dist/esm/getSerializers.js +1 -1
  41. package/dist/esm/index-174b5baf.js +52 -0
  42. package/dist/esm/{index-fca3cf8e.js → index-29ed16aa.js} +19 -7
  43. package/dist/esm/index.js +3 -5
  44. package/package.json +1 -1
  45. package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
  46. package/dist/cjs/index-50be6759.js +0 -105
  47. package/dist/cjs/typeof-1358762e.js +0 -33
  48. package/dist/esm/defineProperty-23a8f8cd.js +0 -68
  49. package/dist/esm/index-98ca9cec.js +0 -100
  50. package/dist/esm/typeof-2f07d0e8.js +0 -30
@@ -3,7 +3,7 @@ import React__default from 'react';
3
3
  import QueueDeckExpanded from './QueueDeckExpanded.js';
4
4
  import Breadcrumbs from './Breadcrumbs.js';
5
5
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
6
- import { g as getSerializers } from './index-fca3cf8e.js';
6
+ import { g as getSerializers } from './index-29ed16aa.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './_object-pie-133f504a.js';
@@ -5,7 +5,7 @@ import urlFor from './urlFor.js';
5
5
  import { m as moment } from './moment-bc12cb97.js';
6
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
7
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
8
- import { g as getSerializers } from './index-fca3cf8e.js';
8
+ import { g as getSerializers } from './index-29ed16aa.js';
9
9
 
10
10
  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";
11
11
  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" };
@@ -3,14 +3,14 @@ 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 { D as DropdownButton, a as Dropdown } from './Tooltip-bc98d17e.js';
7
- import './index-98ca9cec.js';
6
+ import { D as DropdownButton, a as Dropdown } from './Tooltip-8307d9d1.js';
7
+ import './index-174b5baf.js';
8
8
  import 'react-dom';
9
9
  import Link from 'next/link';
10
10
  import MasterDeck from './MasterDeck.js';
11
- import { M as MediaSeriesCard } from './MediaSeriesCard-8dc5e25b.js';
11
+ import { M as MediaSeriesCard } from './MediaSeriesCard-f1f91e14.js';
12
12
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
13
- import { g as getSerializers } from './index-fca3cf8e.js';
13
+ import { g as getSerializers } from './index-29ed16aa.js';
14
14
  import './_commonjsHelpers-0c4b6f40.js';
15
15
  import './core.get-iterator-method-ea258bb1.js';
16
16
  import './web.dom.iterable-ab4dea5c.js';
@@ -3,14 +3,14 @@ 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 { D as DropdownButton, a as Dropdown } from './Tooltip-bc98d17e.js';
7
- import './index-98ca9cec.js';
6
+ import { D as DropdownButton, a as Dropdown } from './Tooltip-8307d9d1.js';
7
+ import './index-174b5baf.js';
8
8
  import 'react-dom';
9
9
  import Link from 'next/link';
10
10
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
11
11
  import MasterDeck from './MasterDeckPaginated.js';
12
- import { M as MediaSeriesCard } from './MediaSeriesCard-8dc5e25b.js';
13
- import { g as getSerializers } from './index-fca3cf8e.js';
12
+ import { M as MediaSeriesCard } from './MediaSeriesCard-f1f91e14.js';
13
+ import { g as getSerializers } from './index-29ed16aa.js';
14
14
  import './_commonjsHelpers-0c4b6f40.js';
15
15
  import './core.get-iterator-method-ea258bb1.js';
16
16
  import './web.dom.iterable-ab4dea5c.js';
@@ -3,15 +3,14 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import React__default from 'react';
5
5
  import { TwitterTimelineEmbed } from 'react-twitter-embed';
6
- import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-f84174cb.js';
7
- import './defineProperty-23a8f8cd.js';
6
+ import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-83913c4c.js';
8
7
  import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
9
8
  import { m as moment } from './moment-bc12cb97.js';
10
9
  import QueueDeckExpanded from './QueueDeckExpanded.js';
11
10
  import Breadcrumbs from './Breadcrumbs.js';
12
11
  import Feature from './Feature.js';
13
12
  import urlFor from './urlFor.js';
14
- import { g as getSerializers } from './index-fca3cf8e.js';
13
+ import { g as getSerializers } from './index-29ed16aa.js';
15
14
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
16
15
  import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
17
16
  import './_commonjsHelpers-0c4b6f40.js';
@@ -3,15 +3,14 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import React__default from 'react';
5
5
  import { TwitterTimelineEmbed } from 'react-twitter-embed';
6
- import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-f84174cb.js';
7
- import './defineProperty-23a8f8cd.js';
6
+ import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-83913c4c.js';
8
7
  import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
9
8
  import './moment-bc12cb97.js';
10
9
  import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
11
10
  import Breadcrumbs from './Breadcrumbs.js';
12
11
  import Feature from './Feature.js';
13
12
  import urlFor from './urlFor.js';
14
- import { g as getSerializers } from './index-fca3cf8e.js';
13
+ import { g as getSerializers } from './index-29ed16aa.js';
15
14
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
16
15
  import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
17
16
  import './_commonjsHelpers-0c4b6f40.js';
@@ -4,9 +4,9 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
4
4
  import React__default, { useState } from 'react';
5
5
  import Link from 'next/link';
6
6
  import MasterDeck from './MasterDeck.js';
7
- import { M as MediaSeriesCard } from './MediaSeriesCard-8dc5e25b.js';
7
+ import { M as MediaSeriesCard } from './MediaSeriesCard-f1f91e14.js';
8
8
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
9
- import { g as getSerializers } from './index-fca3cf8e.js';
9
+ import { g as getSerializers } from './index-29ed16aa.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-ea258bb1.js';
12
12
  import './web.dom.iterable-ab4dea5c.js';
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect } from 'react';
5
5
  import { useRouter } from 'next/router';
6
6
  import Head from 'next/head';
7
7
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
8
- import { g as getSerializers } from './index-fca3cf8e.js';
8
+ import { g as getSerializers } from './index-29ed16aa.js';
9
9
  import './_commonjsHelpers-0c4b6f40.js';
10
10
  import './core.get-iterator-method-ea258bb1.js';
11
11
  import './_object-pie-133f504a.js';
@@ -1,9 +1,42 @@
1
- import { _ as _objectWithoutPropertiesLoose, b as _extends, a as _setPrototypeOf, c as classnames } from './index-98ca9cec.js';
1
+ import { c as classnames } from './index-174b5baf.js';
2
2
  import React__default, { useCallback, useRef, useState, useContext, useMemo, useEffect, useImperativeHandle, useReducer, forwardRef, cloneElement } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import ReactDOM from 'react-dom';
5
5
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
6
6
 
7
+ function _extends() {
8
+ _extends = Object.assign || function (target) {
9
+ for (var i = 1; i < arguments.length; i++) {
10
+ var source = arguments[i];
11
+
12
+ for (var key in source) {
13
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
14
+ target[key] = source[key];
15
+ }
16
+ }
17
+ }
18
+
19
+ return target;
20
+ };
21
+
22
+ return _extends.apply(this, arguments);
23
+ }
24
+
25
+ function _objectWithoutPropertiesLoose(source, excluded) {
26
+ if (source == null) return {};
27
+ var target = {};
28
+ var sourceKeys = Object.keys(source);
29
+ var key, i;
30
+
31
+ for (i = 0; i < sourceKeys.length; i++) {
32
+ key = sourceKeys[i];
33
+ if (excluded.indexOf(key) >= 0) continue;
34
+ target[key] = source[key];
35
+ }
36
+
37
+ return target;
38
+ }
39
+
7
40
  /**
8
41
  * Copyright (c) 2013-present, Facebook, Inc.
9
42
  *
@@ -109,6 +142,15 @@ function useUncontrolled(props, config) {
109
142
  }, props);
110
143
  }
111
144
 
145
+ function _setPrototypeOf(o, p) {
146
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
147
+ o.__proto__ = p;
148
+ return o;
149
+ };
150
+
151
+ return _setPrototypeOf(o, p);
152
+ }
153
+
112
154
  function _inheritsLoose(subClass, superClass) {
113
155
  subClass.prototype = Object.create(superClass.prototype);
114
156
  subClass.prototype.constructor = subClass;
@@ -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-fca3cf8e.js';
8
+ import { g as getSerializers } from './index-29ed16aa.js';
9
9
  import VideoSeriesListing from './VideoSeriesListing.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-ea258bb1.js';
package/dist/esm/View.js CHANGED
@@ -15,7 +15,7 @@ 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-fca3cf8e.js';
18
+ import { r as renderAuthor, g as getSerializers } from './index-29ed16aa.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
20
  import { S as SeriesSlider } from './SeriesSlider-5728e349.js';
21
21
  import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-9bd28724.js';
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { g as default } from './index-fca3cf8e.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';
@@ -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 };
@@ -1629,11 +1629,13 @@ function shouldUpdateVideo(prevProps, props) {
1629
1629
 
1630
1630
  function filterResetOptions(opts) {
1631
1631
  return _objectSpread(_objectSpread({}, opts), {}, {
1632
- playerVars: _objectSpread({
1632
+ height: 0,
1633
+ width: 0,
1634
+ playerVars: _objectSpread(_objectSpread({}, opts.playerVars), {}, {
1633
1635
  autoplay: 0,
1634
1636
  start: 0,
1635
1637
  end: 0
1636
- }, opts.playerVars)
1638
+ })
1637
1639
  });
1638
1640
  }
1639
1641
  /**
@@ -1648,7 +1650,7 @@ function filterResetOptions(opts) {
1648
1650
 
1649
1651
 
1650
1652
  function shouldResetPlayer(prevProps, props) {
1651
- return !fastDeepEqual(filterResetOptions(prevProps.opts), filterResetOptions(props.opts));
1653
+ return prevProps.videoId !== props.videoId || !fastDeepEqual(filterResetOptions(prevProps.opts), filterResetOptions(props.opts));
1652
1654
  }
1653
1655
  /**
1654
1656
  * Check whether a props change should result in an id or className update.
@@ -1659,7 +1661,7 @@ function shouldResetPlayer(prevProps, props) {
1659
1661
 
1660
1662
 
1661
1663
  function shouldUpdatePlayer(prevProps, props) {
1662
- return prevProps.id !== props.id || prevProps.className !== props.className;
1664
+ return prevProps.id !== props.id || prevProps.className !== props.className || prevProps.opts.width !== props.opts.width || prevProps.opts.height !== props.opts.height || prevProps.title !== props.title;
1663
1665
  }
1664
1666
 
1665
1667
  var YouTube = /*#__PURE__*/function (_React$Component) {
@@ -1746,6 +1748,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
1746
1748
  _this.internalPlayer.getIframe().then(function (iframe) {
1747
1749
  if (_this.props.id) iframe.setAttribute('id', _this.props.id);else iframe.removeAttribute('id');
1748
1750
  if (_this.props.className) iframe.setAttribute('class', _this.props.className);else iframe.removeAttribute('class');
1751
+ if (_this.props.opts && _this.props.opts.width) iframe.setAttribute('width', _this.props.opts.width);else iframe.removeAttribute('width');
1752
+ if (_this.props.opts && _this.props.opts.height) iframe.setAttribute('height', _this.props.opts.height);else iframe.removeAttribute('height');
1753
+ if (typeof _this.props.title === 'string') iframe.setAttribute('title', _this.props.title);else iframe.setAttribute('title', 'YouTube video player');
1749
1754
  });
1750
1755
  });
1751
1756
 
@@ -1844,7 +1849,8 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
1844
1849
  }, /*#__PURE__*/React__default.createElement("div", {
1845
1850
  id: this.props.id,
1846
1851
  className: this.props.className,
1847
- ref: this.refContainer
1852
+ ref: this.refContainer,
1853
+ loading: this.props.loading
1848
1854
  }));
1849
1855
  }
1850
1856
  }]);
@@ -1869,6 +1875,10 @@ YouTube.propTypes = {
1869
1875
  className: PropTypes.string,
1870
1876
  // custom class name for player container element
1871
1877
  containerClassName: PropTypes.string,
1878
+ // custom title for the iFrame, see https://www.w3.org/TR/WCAG20-TECHS/H64.html
1879
+ title: PropTypes.string,
1880
+ // custom loading for player element
1881
+ loading: PropTypes.oneOf(['lazy', 'eager', 'auto']),
1872
1882
  // https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
1873
1883
  opts: PropTypes.objectOf(PropTypes.any),
1874
1884
  // event subscriptions
@@ -1885,6 +1895,7 @@ YouTube.defaultProps = {
1885
1895
  videoId: null,
1886
1896
  id: null,
1887
1897
  className: null,
1898
+ loading: null,
1888
1899
  opts: {},
1889
1900
  containerClassName: '',
1890
1901
  onReady: function onReady() {},
@@ -1894,7 +1905,8 @@ YouTube.defaultProps = {
1894
1905
  onEnd: function onEnd() {},
1895
1906
  onStateChange: function onStateChange() {},
1896
1907
  onPlaybackRateChange: function onPlaybackRateChange() {},
1897
- onPlaybackQualityChange: function onPlaybackQualityChange() {}
1908
+ onPlaybackQualityChange: function onPlaybackQualityChange() {},
1909
+ title: null
1898
1910
  };
1899
1911
 
1900
1912
  var YouTubePlayer = function YouTubePlayer(_ref) {
@@ -10420,7 +10432,7 @@ var DigiohSmartTag = function DigiohSmartTag(props) {
10420
10432
  };
10421
10433
 
10422
10434
  var checkUrlIsExternal = function checkUrlIsExternal(url) {
10423
- 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)) {
10424
10436
  return true;
10425
10437
  }
10426
10438
  return false;
package/dist/esm/index.js CHANGED
@@ -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-fca3cf8e.js';
90
+ export { g as getSerializers } from './index-29ed16aa.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';
@@ -155,8 +155,7 @@ import './_object-to-array-2300e51b.js';
155
155
  import 'react-bootstrap/Spinner';
156
156
  import 'react-bootstrap/Form';
157
157
  import './js.cookie-6874175c.js';
158
- import './typeof-2f07d0e8.js';
159
- import './index-98ca9cec.js';
158
+ import './index-174b5baf.js';
160
159
  import './ConferenceBanner-8792ebd2.js';
161
160
  import 'next/head';
162
161
  import '@mjhls/mjh-framework/dist/cjs/urlFor';
@@ -197,8 +196,7 @@ import './SeriesSlider-5728e349.js';
197
196
  import './style-inject.es-1f59c1d0.js';
198
197
  import 'disqus-react';
199
198
  import 'react-twitter-embed';
200
- import './ImageSlider-f84174cb.js';
201
- import './defineProperty-23a8f8cd.js';
199
+ import './ImageSlider-83913c4c.js';
202
200
  import './VideoSeriesCard.js';
203
201
 
204
202
  //Feature query to be used
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.1017",
3
+ "version": "1.0.1018",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",
@@ -1,73 +0,0 @@
1
- 'use strict';
2
-
3
- var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
4
-
5
- var asyncToGenerator = _commonjsHelpers.createCommonjsModule(function (module) {
6
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
7
- try {
8
- var info = gen[key](arg);
9
- var value = info.value;
10
- } catch (error) {
11
- reject(error);
12
- return;
13
- }
14
-
15
- if (info.done) {
16
- resolve(value);
17
- } else {
18
- Promise.resolve(value).then(_next, _throw);
19
- }
20
- }
21
-
22
- function _asyncToGenerator(fn) {
23
- return function () {
24
- var self = this,
25
- args = arguments;
26
- return new Promise(function (resolve, reject) {
27
- var gen = fn.apply(self, args);
28
-
29
- function _next(value) {
30
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
31
- }
32
-
33
- function _throw(err) {
34
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
35
- }
36
-
37
- _next(undefined);
38
- });
39
- };
40
- }
41
-
42
- module.exports = _asyncToGenerator;
43
- module.exports["default"] = module.exports, module.exports.__esModule = true;
44
- });
45
-
46
- var _asyncToGenerator = _commonjsHelpers.unwrapExports(asyncToGenerator);
47
-
48
- var defineProperty = _commonjsHelpers.createCommonjsModule(function (module) {
49
- function _defineProperty(obj, key, value) {
50
- if (key in obj) {
51
- Object.defineProperty(obj, key, {
52
- value: value,
53
- enumerable: true,
54
- configurable: true,
55
- writable: true
56
- });
57
- } else {
58
- obj[key] = value;
59
- }
60
-
61
- return obj;
62
- }
63
-
64
- module.exports = _defineProperty;
65
- module.exports["default"] = module.exports, module.exports.__esModule = true;
66
- });
67
-
68
- var _defineProperty = _commonjsHelpers.unwrapExports(defineProperty);
69
-
70
- exports._asyncToGenerator = _asyncToGenerator;
71
- exports._defineProperty = _defineProperty;
72
- exports.asyncToGenerator = asyncToGenerator;
73
- exports.defineProperty = defineProperty;
@@ -1,105 +0,0 @@
1
- 'use strict';
2
-
3
- var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
4
-
5
- function _extends() {
6
- _extends = Object.assign || function (target) {
7
- for (var i = 1; i < arguments.length; i++) {
8
- var source = arguments[i];
9
-
10
- for (var key in source) {
11
- if (Object.prototype.hasOwnProperty.call(source, key)) {
12
- target[key] = source[key];
13
- }
14
- }
15
- }
16
-
17
- return target;
18
- };
19
-
20
- return _extends.apply(this, arguments);
21
- }
22
-
23
- function _objectWithoutPropertiesLoose(source, excluded) {
24
- if (source == null) return {};
25
- var target = {};
26
- var sourceKeys = Object.keys(source);
27
- var key, i;
28
-
29
- for (i = 0; i < sourceKeys.length; i++) {
30
- key = sourceKeys[i];
31
- if (excluded.indexOf(key) >= 0) continue;
32
- target[key] = source[key];
33
- }
34
-
35
- return target;
36
- }
37
-
38
- function _setPrototypeOf(o, p) {
39
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
40
- o.__proto__ = p;
41
- return o;
42
- };
43
-
44
- return _setPrototypeOf(o, p);
45
- }
46
-
47
- var classnames = _commonjsHelpers.createCommonjsModule(function (module) {
48
- /*!
49
- Copyright (c) 2018 Jed Watson.
50
- Licensed under the MIT License (MIT), see
51
- http://jedwatson.github.io/classnames
52
- */
53
- /* global define */
54
-
55
- (function () {
56
-
57
- var hasOwn = {}.hasOwnProperty;
58
-
59
- function classNames() {
60
- var classes = [];
61
-
62
- for (var i = 0; i < arguments.length; i++) {
63
- var arg = arguments[i];
64
- if (!arg) continue;
65
-
66
- var argType = typeof arg;
67
-
68
- if (argType === 'string' || argType === 'number') {
69
- classes.push(arg);
70
- } else if (Array.isArray(arg)) {
71
- if (arg.length) {
72
- var inner = classNames.apply(null, arg);
73
- if (inner) {
74
- classes.push(inner);
75
- }
76
- }
77
- } else if (argType === 'object') {
78
- if (arg.toString === Object.prototype.toString) {
79
- for (var key in arg) {
80
- if (hasOwn.call(arg, key) && arg[key]) {
81
- classes.push(key);
82
- }
83
- }
84
- } else {
85
- classes.push(arg.toString());
86
- }
87
- }
88
- }
89
-
90
- return classes.join(' ');
91
- }
92
-
93
- if (module.exports) {
94
- classNames.default = classNames;
95
- module.exports = classNames;
96
- } else {
97
- window.classNames = classNames;
98
- }
99
- }());
100
- });
101
-
102
- exports._extends = _extends;
103
- exports._objectWithoutPropertiesLoose = _objectWithoutPropertiesLoose;
104
- exports._setPrototypeOf = _setPrototypeOf;
105
- exports.classnames = classnames;
@@ -1,33 +0,0 @@
1
- 'use strict';
2
-
3
- var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
4
-
5
- var _typeof_1 = _commonjsHelpers.createCommonjsModule(function (module) {
6
- function _typeof(obj) {
7
- "@babel/helpers - typeof";
8
-
9
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
10
- module.exports = _typeof = function _typeof(obj) {
11
- return typeof obj;
12
- };
13
-
14
- module.exports["default"] = module.exports, module.exports.__esModule = true;
15
- } else {
16
- module.exports = _typeof = function _typeof(obj) {
17
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
18
- };
19
-
20
- module.exports["default"] = module.exports, module.exports.__esModule = true;
21
- }
22
-
23
- return _typeof(obj);
24
- }
25
-
26
- module.exports = _typeof;
27
- module.exports["default"] = module.exports, module.exports.__esModule = true;
28
- });
29
-
30
- var _typeof = _commonjsHelpers.unwrapExports(_typeof_1);
31
-
32
- exports._typeof = _typeof;
33
- exports._typeof_1 = _typeof_1;