@mjhls/mjh-framework 1.0.641 → 1.0.642-multi-doc-group

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 (86) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +2 -2
  4. package/dist/cjs/AD300x250x600.js +2 -2
  5. package/dist/cjs/AD728x90.js +2 -2
  6. package/dist/cjs/ADFloatingFooter.js +2 -2
  7. package/dist/cjs/ADGutter.js +2 -2
  8. package/dist/cjs/ADSkyscraper.js +2 -2
  9. package/dist/cjs/ADSponsoredResources.js +2 -2
  10. package/dist/cjs/ADWebcast.js +2 -2
  11. package/dist/cjs/ADWelcome.js +2 -2
  12. package/dist/cjs/AdSlot.js +2 -2
  13. package/dist/cjs/ArticleSeriesListing.js +2 -2
  14. package/dist/cjs/CMEDeck.js +2 -2
  15. package/dist/cjs/Column2.js +2 -3
  16. package/dist/cjs/Column3.js +3 -4
  17. package/dist/cjs/ConferenceArticleCard.js +11 -27
  18. package/dist/cjs/DeckContent.js +3 -3
  19. package/dist/cjs/DeckQueue.js +3 -4
  20. package/dist/cjs/{Dfp-ffaf5981.js → Dfp-b2bc3b97.js} +2 -2
  21. package/dist/cjs/ExternalResources.js +3 -3
  22. package/dist/cjs/GridContent.js +5 -6
  23. package/dist/cjs/IssueLanding.js +4 -4
  24. package/dist/cjs/LeftNav.js +2 -2
  25. package/dist/cjs/MasterDeck.js +4 -4
  26. package/dist/cjs/PartnerDetailListing.js +5 -5
  27. package/dist/cjs/QueueDeckExpanded.js +4 -4
  28. package/dist/cjs/RelatedContent.js +0 -30
  29. package/dist/cjs/SideFooter.js +2 -3
  30. package/dist/cjs/TemplateNormal.js +3 -4
  31. package/dist/cjs/VideoSeriesListing.js +2 -2
  32. package/dist/cjs/View.js +34 -26
  33. package/dist/cjs/{debounce-32e57002.js → debounce-eb287781.js} +1 -2
  34. package/dist/cjs/{get-5dfcdc33.js → get-68c52cb1.js} +90 -7
  35. package/dist/cjs/getQuery.js +2 -2
  36. package/dist/cjs/getSerializers.js +3 -3
  37. package/dist/cjs/{index-7b0682af.js → index-04c709c4.js} +56 -2
  38. package/dist/cjs/index.js +8 -11
  39. package/dist/cjs/{isSymbol-488934a7.js → isSymbol-04666465.js} +0 -2
  40. package/dist/esm/AD.js +1 -1
  41. package/dist/esm/AD300x250.js +2 -2
  42. package/dist/esm/AD300x250x600.js +2 -2
  43. package/dist/esm/AD728x90.js +2 -2
  44. package/dist/esm/ADFloatingFooter.js +2 -2
  45. package/dist/esm/ADGutter.js +2 -2
  46. package/dist/esm/ADSkyscraper.js +2 -2
  47. package/dist/esm/ADSponsoredResources.js +2 -2
  48. package/dist/esm/ADWebcast.js +2 -2
  49. package/dist/esm/ADWelcome.js +2 -2
  50. package/dist/esm/AdSlot.js +2 -2
  51. package/dist/esm/ArticleSeriesListing.js +2 -2
  52. package/dist/esm/CMEDeck.js +2 -2
  53. package/dist/esm/Column2.js +2 -3
  54. package/dist/esm/Column3.js +3 -4
  55. package/dist/esm/ConferenceArticleCard.js +11 -27
  56. package/dist/esm/DeckContent.js +3 -3
  57. package/dist/esm/DeckQueue.js +3 -4
  58. package/dist/esm/{Dfp-4f966af0.js → Dfp-43d61e01.js} +2 -2
  59. package/dist/esm/ExternalResources.js +3 -3
  60. package/dist/esm/GridContent.js +5 -6
  61. package/dist/esm/IssueLanding.js +4 -4
  62. package/dist/esm/LeftNav.js +2 -2
  63. package/dist/esm/MasterDeck.js +4 -4
  64. package/dist/esm/PartnerDetailListing.js +5 -5
  65. package/dist/esm/QueueDeckExpanded.js +4 -4
  66. package/dist/esm/RelatedContent.js +0 -30
  67. package/dist/esm/SideFooter.js +2 -3
  68. package/dist/esm/TemplateNormal.js +3 -4
  69. package/dist/esm/VideoSeriesListing.js +2 -2
  70. package/dist/esm/View.js +31 -23
  71. package/dist/esm/{debounce-a0d9abca.js → debounce-1a993acf.js} +2 -2
  72. package/dist/esm/{get-58d2f7cc.js → get-5ee14cda.js} +85 -2
  73. package/dist/esm/getQuery.js +2 -2
  74. package/dist/esm/getSerializers.js +3 -3
  75. package/dist/esm/{index-56d0db8b.js → index-c3ffdcd7.js} +56 -2
  76. package/dist/esm/index.js +7 -9
  77. package/dist/esm/{isSymbol-47f5ff3b.js → isSymbol-807e927e.js} +1 -1
  78. package/package.json +1 -1
  79. package/dist/cjs/ArticleQueue.js +0 -1689
  80. package/dist/cjs/_arrayMap-3b4a0f75.js +0 -91
  81. package/dist/esm/ArticleQueue.js +0 -1684
  82. package/dist/esm/_arrayMap-818441dd.js +0 -87
  83. /package/dist/cjs/{ADInfeed-350decaa.js → ADInfeed-eaa6c661.js} +0 -0
  84. /package/dist/cjs/{ADlgInfeed-7d61609b.js → ADlgInfeed-f25eb4f7.js} +0 -0
  85. /package/dist/esm/{ADInfeed-fd7a62b1.js → ADInfeed-3c4773f8.js} +0 -0
  86. /package/dist/esm/{ADlgInfeed-79c771d6.js → ADlgInfeed-5a52301f.js} +0 -0
@@ -1,5 +1,31 @@
1
- import { c as isSymbol_1, a as _root, d as isObject_1, e as _Symbol } from './isSymbol-47f5ff3b.js';
2
- import { a as isArray_1, i as isFunction_1, _ as _arrayMap } from './_arrayMap-818441dd.js';
1
+ import { i as isSymbol_1, a as isObject_1, b as _baseGetTag, _ as _root, c as _Symbol } from './isSymbol-807e927e.js';
2
+
3
+ /**
4
+ * Checks if `value` is classified as an `Array` object.
5
+ *
6
+ * @static
7
+ * @memberOf _
8
+ * @since 0.1.0
9
+ * @category Lang
10
+ * @param {*} value The value to check.
11
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
12
+ * @example
13
+ *
14
+ * _.isArray([1, 2, 3]);
15
+ * // => true
16
+ *
17
+ * _.isArray(document.body.children);
18
+ * // => false
19
+ *
20
+ * _.isArray('abc');
21
+ * // => false
22
+ *
23
+ * _.isArray(_.noop);
24
+ * // => false
25
+ */
26
+ var isArray = Array.isArray;
27
+
28
+ var isArray_1 = isArray;
3
29
 
4
30
  /** Used to match property names within property paths. */
5
31
  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
@@ -28,6 +54,41 @@ function isKey(value, object) {
28
54
 
29
55
  var _isKey = isKey;
30
56
 
57
+ /** `Object#toString` result references. */
58
+ var asyncTag = '[object AsyncFunction]',
59
+ funcTag = '[object Function]',
60
+ genTag = '[object GeneratorFunction]',
61
+ proxyTag = '[object Proxy]';
62
+
63
+ /**
64
+ * Checks if `value` is classified as a `Function` object.
65
+ *
66
+ * @static
67
+ * @memberOf _
68
+ * @since 0.1.0
69
+ * @category Lang
70
+ * @param {*} value The value to check.
71
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
72
+ * @example
73
+ *
74
+ * _.isFunction(_);
75
+ * // => true
76
+ *
77
+ * _.isFunction(/abc/);
78
+ * // => false
79
+ */
80
+ function isFunction(value) {
81
+ if (!isObject_1(value)) {
82
+ return false;
83
+ }
84
+ // The use of `Object#toString` avoids issues with the `typeof` operator
85
+ // in Safari 9 which returns 'object' for typed arrays and other constructors.
86
+ var tag = _baseGetTag(value);
87
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
88
+ }
89
+
90
+ var isFunction_1 = isFunction;
91
+
31
92
  /** Used to detect overreaching core-js shims. */
32
93
  var coreJsData = _root['__core-js_shared__'];
33
94
 
@@ -753,6 +814,28 @@ var stringToPath = _memoizeCapped(function(string) {
753
814
 
754
815
  var _stringToPath = stringToPath;
755
816
 
817
+ /**
818
+ * A specialized version of `_.map` for arrays without support for iteratee
819
+ * shorthands.
820
+ *
821
+ * @private
822
+ * @param {Array} [array] The array to iterate over.
823
+ * @param {Function} iteratee The function invoked per iteration.
824
+ * @returns {Array} Returns the new mapped array.
825
+ */
826
+ function arrayMap(array, iteratee) {
827
+ var index = -1,
828
+ length = array == null ? 0 : array.length,
829
+ result = Array(length);
830
+
831
+ while (++index < length) {
832
+ result[index] = iteratee(array[index], index, array);
833
+ }
834
+ return result;
835
+ }
836
+
837
+ var _arrayMap = arrayMap;
838
+
756
839
  /** Used as references for various `Number` constants. */
757
840
  var INFINITY = 1 / 0;
758
841
 
@@ -8,9 +8,9 @@ var getQuery = function getQuery(type) {
8
8
 
9
9
  switch (type) {
10
10
  case 'related':
11
- return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && published <= now()\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n }';
11
+ return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && published <= now()\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n }';
12
12
  case 'article':
13
- return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n } \n },\n articles[]{\n ...,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
13
+ return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n } \n },\n articles[]{\n ...,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
14
14
  case 'publication':
15
15
  return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n pdf{asset->}\n } | order(year desc, month desc)\n }';
16
16
  case 'issue':
@@ -20,8 +20,8 @@ import 'react-bootstrap/Row';
20
20
  import 'react-bootstrap/Col';
21
21
  import './moment-12415288.js';
22
22
  import 'next/router';
23
- import './isSymbol-47f5ff3b.js';
24
- import './debounce-a0d9abca.js';
23
+ import './isSymbol-807e927e.js';
24
+ import './debounce-1a993acf.js';
25
25
  import 'react-dom';
26
26
  import './index-51a80699.js';
27
27
  import './index-5f9f807a.js';
@@ -38,7 +38,7 @@ import './smoothscroll-4b699764.js';
38
38
  import './GroupDeck.js';
39
39
  import 'react-bootstrap';
40
40
  import 'react-bootstrap/Button';
41
- export { g as default } from './index-56d0db8b.js';
41
+ export { g as default } from './index-c3ffdcd7.js';
42
42
  import './util-7700fc59.js';
43
43
  import './brightcove-react-player-loader.es-83f53e4e.js';
44
44
  import 'react-bootstrap/Pagination';
@@ -8545,11 +8545,38 @@ var urlFor$4 = function urlFor(source, client) {
8545
8545
  return builder.image(source).auto('format');
8546
8546
  };
8547
8547
 
8548
+ function useOutsideAlerter$1(ref, container, setOpenImg, setOpenImgSrc) {
8549
+ useEffect(function () {
8550
+ function handleClickOutside(event) {
8551
+ if (ref.current && !ref.current.contains(event.target) && container.current && container.current.className.includes('open')) {
8552
+ setOpenImgSrc('');
8553
+ setOpenImg(false);
8554
+ }
8555
+ }
8556
+ document.addEventListener('mousedown', handleClickOutside);
8557
+ return function () {
8558
+ document.removeEventListener('mousedown', handleClickOutside);
8559
+ };
8560
+ }, [ref]);
8561
+ }
8562
+
8548
8563
  var MultiFigure = function MultiFigure(props) {
8549
8564
  var images = props.node.images,
8550
8565
  client = props.client;
8551
8566
 
8567
+ var _useState = useState(false),
8568
+ _useState2 = _slicedToArray(_useState, 2),
8569
+ openImg = _useState2[0],
8570
+ setOpenImg = _useState2[1];
8552
8571
 
8572
+ var _useState3 = useState(''),
8573
+ _useState4 = _slicedToArray(_useState3, 2),
8574
+ openImgSrc = _useState4[0],
8575
+ setOpenImgSrc = _useState4[1];
8576
+
8577
+ var lightboxImage = useRef(null);
8578
+ var lightboxContainer = useRef(null);
8579
+ useOutsideAlerter$1(lightboxImage, lightboxContainer, setOpenImg, setOpenImgSrc);
8553
8580
  if (images && images.length > 0) {
8554
8581
  return React__default.createElement(
8555
8582
  'div',
@@ -8561,7 +8588,7 @@ var MultiFigure = function MultiFigure(props) {
8561
8588
  return React__default.createElement(
8562
8589
  Col$1,
8563
8590
  { xs: 12, md: 12 / images.length, key: index },
8564
- React__default.createElement(
8591
+ image.link ? React__default.createElement(
8565
8592
  'a',
8566
8593
  _extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
8567
8594
  React__default.createElement(
@@ -8578,14 +8605,41 @@ var MultiFigure = function MultiFigure(props) {
8578
8605
  image.caption
8579
8606
  )
8580
8607
  )
8608
+ ) : React__default.createElement(
8609
+ 'div',
8610
+ { className: 'multi-figure-image-container' },
8611
+ React__default.createElement(
8612
+ LazyLoad,
8613
+ { once: true },
8614
+ React__default.createElement('img', {
8615
+ 'images-count': images.length,
8616
+ className: 'multi-figure-image',
8617
+ src: urlFor$4(image.asset, client).url(),
8618
+ alt: image.alt,
8619
+ onClick: function onClick() {
8620
+ setOpenImgSrc(urlFor$4(image, client).url());
8621
+ setOpenImg(true);
8622
+ }
8623
+ })
8624
+ ),
8625
+ image.caption && React__default.createElement(
8626
+ 'span',
8627
+ { className: 'multi-figure-caption' },
8628
+ image.caption
8629
+ )
8581
8630
  )
8582
8631
  );
8583
8632
  })
8584
8633
  ),
8634
+ React__default.createElement(
8635
+ 'div',
8636
+ { ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
8637
+ React__default.createElement('img', { ref: lightboxImage, src: openImgSrc })
8638
+ ),
8585
8639
  React__default.createElement(
8586
8640
  'style',
8587
8641
  { jsx: 'true' },
8588
- '\n .multi-figure-container {\n margin-bottom: 1rem;\n }\n .multi-figure-image {\n width: 100%;\n height: auto;\n object-fit: cover;\n }\n .multi-figure-image-container {\n padding-right: 0.5rem;\n }\n /* Small devices (portrait tablets and phones, 767px and down) */\n @media (max-width: 767px) {\n .multi-figure-image-container {\n margin-bottom: 1rem;\n }\n }\n\n /* Medium devices (landscape tablets, 768px and up) */\n @media (min-width: 768px) {\n .multi-figure-image[images-count=\'4\'] {\n height: 100px;\n }\n .multi-figure-image[images-count=\'3\'] {\n height: 130px;\n }\n .multi-figure-image[images-count=\'2\'] {\n height: 200px;\n }\n .multi-figure-container [class*=\'col-\'] + [class*=\'col-\'] {\n padding-left: 0.75rem;\n }\n }\n\n /* Large devices (laptops/desktops, 992px and up) */\n @media (min-width: 992px) {\n .multi-figure-image[images-count=\'4\'] {\n height: 150px;\n }\n .multi-figure-image[images-count=\'3\'] {\n height: 200px;\n }\n .multi-figure-image[images-count=\'2\'] {\n height: 300px;\n }\n }\n\n .multi-figure-caption {\n font-size: 90%;\n color: #6c757d;\n }\n '
8642
+ '\n .multi-figure-container {\n margin-bottom: 1rem;\n }\n .multi-figure-image {\n width: 100%;\n height: auto;\n object-fit: cover;\n }\n .multi-figure-image-container {\n padding-right: 0.5rem;\n }\n /* Small devices (portrait tablets and phones, 767px and down) */\n @media (max-width: 767px) {\n .multi-figure-image-container {\n margin-bottom: 1rem;\n }\n }\n\n /* Medium devices (landscape tablets, 768px and up) */\n @media (min-width: 768px) {\n .multi-figure-image[images-count=\'4\'] {\n height: 100px;\n }\n .multi-figure-image[images-count=\'3\'] {\n height: 130px;\n }\n .multi-figure-image[images-count=\'2\'] {\n height: 200px;\n }\n .multi-figure-container [class*=\'col-\'] + [class*=\'col-\'] {\n padding-left: 0.75rem;\n }\n }\n\n /* Large devices (laptops/desktops, 992px and up) */\n @media (min-width: 992px) {\n .multi-figure-image[images-count=\'4\'] {\n height: 150px;\n }\n .multi-figure-image[images-count=\'3\'] {\n height: 200px;\n }\n .multi-figure-image[images-count=\'2\'] {\n height: 300px;\n }\n }\n\n .multi-figure-caption {\n font-size: 90%;\n color: #6c757d;\n }\n\n /* Styles the lightbox, removes it from sight and adds the fade-in transition */\n\n .lightbox-target {\n position: fixed;\n top: -100%;\n width: 100%;\n background: rgba(0, 0, 0, 0.7);\n width: 100%;\n opacity: 0;\n -webkit-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -o-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n overflow: hidden;\n }\n\n .lightbox-target.close {\n opacity: 0;\n }\n\n /* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */\n\n .lightbox-target img {\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n max-height: 0%;\n max-width: 0%;\n border: 3px solid white;\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);\n box-sizing: border-box;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Styles the close link, adds the slide down transition */\n\n a.lightbox-close {\n display: block;\n width: 50px;\n height: 50px;\n box-sizing: border-box;\n background: white;\n color: black;\n text-decoration: none;\n position: absolute;\n top: -80px;\n right: 0;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:before {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(45deg);\n -moz-transform: rotate(45deg);\n -o-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:after {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(-45deg);\n -moz-transform: rotate(-45deg);\n -o-transform: rotate(-45deg);\n transform: rotate(-45deg);\n }\n\n /* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */\n\n .lightbox-target.open {\n opacity: 1;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 3000000;\n }\n\n .lightbox-target.open img {\n max-height: 100%;\n max-width: 100%;\n }\n\n .lightbox-target.open a.lightbox-close {\n top: 0px;\n }\n '
8589
8643
  )
8590
8644
  );
8591
8645
  }
package/dist/esm/index.js CHANGED
@@ -22,8 +22,8 @@ import 'react-bootstrap/Col';
22
22
  import 'react-bootstrap/Card';
23
23
  import './moment-12415288.js';
24
24
  import 'next/router';
25
- import './isSymbol-47f5ff3b.js';
26
- import './debounce-a0d9abca.js';
25
+ import './isSymbol-807e927e.js';
26
+ import './debounce-1a993acf.js';
27
27
  import './index.es-938a3a58.js';
28
28
  import 'react-dom';
29
29
  import './visibility-sensor-0baa4eea.js';
@@ -37,12 +37,11 @@ import './asyncToGenerator-271a52f3.js';
37
37
  import './_set-species-41cbf140.js';
38
38
  export { B as Beam, S as Segment } from './beam-c4d8f8f6.js';
39
39
  export { default as AdSlot } from './AdSlot.js';
40
- import './ADInfeed-fd7a62b1.js';
40
+ import './ADInfeed-3c4773f8.js';
41
41
  export { default as DeckContent } from './DeckContent.js';
42
42
  import './lodash-17fdfebb.js';
43
- import './ADlgInfeed-79c771d6.js';
44
- import './_arrayMap-818441dd.js';
45
- import './get-58d2f7cc.js';
43
+ import './ADlgInfeed-5a52301f.js';
44
+ import './get-5ee14cda.js';
46
45
  export { default as AD } from './AD.js';
47
46
  import './AuthorComponent-1ea27faa.js';
48
47
  export { default as GridContent } from './GridContent.js';
@@ -73,7 +72,7 @@ import './index-d2f90501.js';
73
72
  import './js.cookie-6874175c.js';
74
73
  export { default as EventsDeck } from './EventsDeck.js';
75
74
  export { default as CMEDeck } from './CMEDeck.js';
76
- export { g as getSerializers } from './index-56d0db8b.js';
75
+ export { g as getSerializers } from './index-c3ffdcd7.js';
77
76
  import './util-7700fc59.js';
78
77
  import './brightcove-react-player-loader.es-83f53e4e.js';
79
78
  import 'react-bootstrap/Pagination';
@@ -141,8 +140,6 @@ export { default as PublicationLanding } from './PublicationLanding.js';
141
140
  export { default as IssueLanding } from './IssueLanding.js';
142
141
  import 'react-bootstrap/Modal';
143
142
  export { default as PopUpModal } from './PopUpModal.js';
144
- export { default as ArticleQueue } from './ArticleQueue.js';
145
- export { default as getKeywords } from './getKeywords.js';
146
143
  export { default as RelatedContent } from './RelatedContent.js';
147
144
  export { default as ForbesHero } from './ForbesHero.js';
148
145
  export { default as HorizontalHero } from './HorizontalHero.js';
@@ -164,6 +161,7 @@ import 'passport-local';
164
161
  import 'mysql';
165
162
  export { g as getTargeting } from './getTargeting-3cc3f97d.js';
166
163
  export { default as View } from './View.js';
164
+ export { default as getKeywords } from './getKeywords.js';
167
165
  export { default as urlFor } from './urlFor.js';
168
166
  import './style-inject.es-1f59c1d0.js';
169
167
  import 'react-twitter-embed';
@@ -200,4 +200,4 @@ function isSymbol(value) {
200
200
 
201
201
  var isSymbol_1 = isSymbol;
202
202
 
203
- export { _baseGetTag as _, _root as a, _freeGlobal as b, isSymbol_1 as c, isObject_1 as d, _Symbol as e, isObjectLike_1 as i };
203
+ export { _root as _, isObject_1 as a, _baseGetTag as b, _Symbol as c, isSymbol_1 as i };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.641",
3
+ "version": "1.0.642-multi-doc-group",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",