@mjhls/mjh-framework 1.0.603 → 1.0.604-hamMagazine-v6

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 (119) hide show
  1. package/README.md +172 -172
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/ADFloatingFooter.js +3 -3
  4. package/dist/cjs/AccordionPanel.js +1 -1
  5. package/dist/cjs/ArticleQueue.js +3 -3
  6. package/dist/cjs/Auth.js +12 -12
  7. package/dist/cjs/{BlockContent-77f81ffc.js → BlockContent-c2168db0.js} +1 -1
  8. package/dist/cjs/ConferenceArticleCard.js +16 -16
  9. package/dist/cjs/DeckContent.js +9 -9
  10. package/dist/cjs/DeckQueue.js +1 -1
  11. package/dist/cjs/EventsDeck.js +17 -17
  12. package/dist/cjs/ExternalResources.js +3 -3
  13. package/dist/cjs/Feature.js +1 -1
  14. package/dist/cjs/ForbesHero.js +1 -1
  15. package/dist/cjs/GridContent.js +2 -2
  16. package/dist/cjs/GridHero.js +1 -1
  17. package/dist/cjs/GroupDeck.js +5 -5
  18. package/dist/cjs/HamMagazine.js +215 -32
  19. package/dist/cjs/Hero.js +1 -1
  20. package/dist/cjs/HorizontalHero.js +1 -1
  21. package/dist/cjs/IssueContentDeck.js +1 -1
  22. package/dist/cjs/IssueDeck.js +1 -1
  23. package/dist/cjs/IssueLanding.js +31 -31
  24. package/dist/cjs/KMTracker.js +15 -15
  25. package/dist/cjs/MasterDeck.js +10 -10
  26. package/dist/cjs/NavMagazine.js +13 -14
  27. package/dist/cjs/NavNative.js +11 -12
  28. package/dist/cjs/OncliveHero.js +1 -1
  29. package/dist/cjs/OncliveLargeHero.js +1 -1
  30. package/dist/cjs/PartnerDetailListing.js +6 -6
  31. package/dist/cjs/PublicationDeck.js +2 -2
  32. package/dist/cjs/PublicationLanding.js +33 -33
  33. package/dist/cjs/QueueDeckExpanded.js +2 -2
  34. package/dist/cjs/RecentNews.js +1 -1
  35. package/dist/cjs/RelatedContent.js +29 -29
  36. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  37. package/dist/cjs/SideFooter.js +2 -2
  38. package/dist/cjs/SocialShare.js +5 -3
  39. package/dist/cjs/TaxonomyCard.js +2 -2
  40. package/dist/cjs/TemplateNormal.js +2 -3
  41. package/dist/cjs/ThumbnailCard.js +1 -1
  42. package/dist/cjs/Ustream.js +1 -1
  43. package/dist/cjs/VerticalHero.js +1 -1
  44. package/dist/cjs/VideoSeriesListing.js +2 -2
  45. package/dist/cjs/View.js +39 -33
  46. package/dist/cjs/YahooHero.js +1 -1
  47. package/dist/cjs/YoutubeGroup.js +5 -5
  48. package/dist/cjs/getRelatedArticle.js +5 -354
  49. package/dist/cjs/getSerializers.js +3 -3
  50. package/dist/cjs/{getTargeting-5db63100.js → getTargeting-5a0b8ee4.js} +11 -11
  51. package/dist/cjs/getTargeting.js +1 -1
  52. package/dist/cjs/{index-be0c82be.js → index-39beccb3.js} +2 -1
  53. package/dist/cjs/{index-f745a50a.js → index-af999dce.js} +448 -436
  54. package/dist/cjs/{index.esm-fbd1f7e9.js → index.esm-876ca9ff.js} +0 -5
  55. package/dist/cjs/{SocialNavFooter-9a07520f.js → index.esm-d1259b34.js} +8 -0
  56. package/dist/cjs/index.js +11 -11
  57. package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
  58. package/dist/cjs/urlFor.js +2 -2
  59. package/dist/esm/ADFloatingFooter.js +3 -3
  60. package/dist/esm/AccordionPanel.js +1 -1
  61. package/dist/esm/ArticleQueue.js +3 -3
  62. package/dist/esm/Auth.js +8 -8
  63. package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-c409aca5.js} +1 -1
  64. package/dist/esm/ConferenceArticleCard.js +16 -16
  65. package/dist/esm/DeckContent.js +9 -9
  66. package/dist/esm/DeckQueue.js +1 -1
  67. package/dist/esm/EventsDeck.js +17 -17
  68. package/dist/esm/ExternalResources.js +3 -3
  69. package/dist/esm/Feature.js +1 -1
  70. package/dist/esm/ForbesHero.js +1 -1
  71. package/dist/esm/GridContent.js +2 -2
  72. package/dist/esm/GridHero.js +1 -1
  73. package/dist/esm/GroupDeck.js +5 -5
  74. package/dist/esm/HamMagazine.js +214 -31
  75. package/dist/esm/Hero.js +1 -1
  76. package/dist/esm/HorizontalHero.js +1 -1
  77. package/dist/esm/IssueContentDeck.js +1 -1
  78. package/dist/esm/IssueDeck.js +1 -1
  79. package/dist/esm/IssueLanding.js +31 -31
  80. package/dist/esm/KMTracker.js +15 -15
  81. package/dist/esm/MasterDeck.js +10 -10
  82. package/dist/esm/NavMagazine.js +12 -13
  83. package/dist/esm/NavNative.js +10 -11
  84. package/dist/esm/OncliveHero.js +1 -1
  85. package/dist/esm/OncliveLargeHero.js +1 -1
  86. package/dist/esm/PartnerDetailListing.js +4 -4
  87. package/dist/esm/PublicationDeck.js +2 -2
  88. package/dist/esm/PublicationLanding.js +33 -33
  89. package/dist/esm/QueueDeckExpanded.js +2 -2
  90. package/dist/esm/RecentNews.js +1 -1
  91. package/dist/esm/RelatedContent.js +29 -29
  92. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  93. package/dist/esm/SideFooter.js +2 -2
  94. package/dist/esm/SocialShare.js +5 -3
  95. package/dist/esm/TaxonomyCard.js +2 -2
  96. package/dist/esm/TemplateNormal.js +2 -3
  97. package/dist/esm/ThumbnailCard.js +1 -1
  98. package/dist/esm/Ustream.js +1 -1
  99. package/dist/esm/VerticalHero.js +1 -1
  100. package/dist/esm/VideoSeriesListing.js +2 -2
  101. package/dist/esm/View.js +15 -9
  102. package/dist/esm/YahooHero.js +1 -1
  103. package/dist/esm/YoutubeGroup.js +5 -5
  104. package/dist/esm/getRelatedArticle.js +5 -354
  105. package/dist/esm/getSerializers.js +3 -3
  106. package/dist/esm/{getTargeting-36bcd238.js → getTargeting-962c9cf6.js} +9 -9
  107. package/dist/esm/getTargeting.js +1 -1
  108. package/dist/esm/{index-599efdf0.js → index-1c791baf.js} +448 -436
  109. package/dist/esm/{index-73819142.js → index-3849e3fe.js} +2 -1
  110. package/dist/esm/{SocialNavFooter-4fb16720.js → index.esm-73e847d2.js} +8 -1
  111. package/dist/esm/{index.esm-4b1d94b7.js → index.esm-85cb09e6.js} +1 -5
  112. package/dist/esm/index.js +10 -10
  113. package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
  114. package/dist/esm/urlFor.js +2 -2
  115. package/package.json +107 -107
  116. package/dist/cjs/index-bd6c9f56.js +0 -211
  117. package/dist/cjs/index.esm-0e5c6a9e.js +0 -11
  118. package/dist/esm/index-db3bb315.js +0 -207
  119. package/dist/esm/index.esm-16536e81.js +0 -9
@@ -375,7 +375,8 @@ function urlBuilder(options) {
375
375
  var client = options;
376
376
  if (isSanityClient(client)) {
377
377
  // Inherit config from client
378
- var _a = client.clientConfig, apiHost = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
378
+ var _a = client.clientConfig, apiUrl = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
379
+ var apiHost = apiUrl || 'https://api.sanity.io';
379
380
  return new ImageUrlBuilder(null, {
380
381
  baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
381
382
  projectId: projectId,
@@ -1,5 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import { r as reactSocialIcons_1 } from './react-social-icons-a7d5c5c7.js';
3
+ import { G as GenIcon } from './iconBase-602d52fe.js';
3
4
 
4
5
  var year = new Date().getFullYear();
5
6
 
@@ -74,4 +75,10 @@ var SocialNavFooter = function SocialNavFooter(props) {
74
75
  );
75
76
  };
76
77
 
77
- export { SocialNavFooter as S };
78
+ // THIS FILE IS AUTO GENERATED
79
+ var GoSearch = function (props) {
80
+ return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 16 16"},"child":[{"tag":"path","attr":{"fillRule":"evenodd","d":"M15.7 13.3l-3.81-3.83A5.93 5.93 0 0 0 13 6c0-3.31-2.69-6-6-6S1 2.69 1 6s2.69 6 6 6c1.3 0 2.48-.41 3.47-1.11l3.83 3.81c.19.2.45.3.7.3.25 0 .52-.09.7-.3a.996.996 0 0 0 0-1.41v.01zM7 10.7c-2.59 0-4.7-2.11-4.7-4.7 0-2.59 2.11-4.7 4.7-4.7 2.59 0 4.7 2.11 4.7 4.7 0 2.59-2.11 4.7-4.7 4.7z"}}]})(props);
81
+ };
82
+ GoSearch.displayName = "GoSearch";
83
+
84
+ export { GoSearch as G, SocialNavFooter as S };
@@ -5,10 +5,6 @@ var IoIosArrowForward = function (props) {
5
5
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M294.1 256L167 129c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.3 34 0L345 239c9.1 9.1 9.3 23.7.7 33.1L201.1 417c-4.7 4.7-10.9 7-17 7s-12.3-2.3-17-7c-9.4-9.4-9.4-24.6 0-33.9l127-127.1z"}}]})(props);
6
6
  };
7
7
  IoIosArrowForward.displayName = "IoIosArrowForward";
8
- var IoIosHome = function (props) {
9
- return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M258.5 104.1c-1.5-1.2-3.5-1.2-5 0l-156 124.8c-.9.8-1.5 1.9-1.5 3.1v230c0 1.1.9 2 2 2h108c1.1 0 2-.9 2-2V322c0-1.1.9-2 2-2h92c1.1 0 2 .9 2 2v140c0 1.1.9 2 2 2h108c1.1 0 2-.9 2-2V232c0-1.2-.6-2.4-1.5-3.1l-156-124.8z"}},{"tag":"path","attr":{"d":"M458.7 204.2l-189-151.4C265.9 49.7 261 48 256 48s-9.9 1.7-13.7 4.8L160 119.7V77.5c0-1.1-.9-2-2-2H98c-1.1 0-2 .9-2 2v92.2l-42.7 35.1c-3.1 2.5-5.1 6.2-5.3 10.2-.2 4 1.3 7.9 4.1 10.7 2.6 2.6 6.1 4.1 9.9 4.1 3.2 0 6.3-1.1 8.8-3.1l183.9-148c.5-.4.9-.4 1.3-.4s.8.1 1.3.4l183.9 147.4c2.5 2 5.6 3.1 8.8 3.1 3.7 0 7.2-1.4 9.9-4.1 2.9-2.8 4.4-6.7 4.2-10.7-.3-4-2.2-7.7-5.4-10.2z"}}]})(props);
10
- };
11
- IoIosHome.displayName = "IoIosHome";
12
8
  var IoIosOpen = function (props) {
13
9
  return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M227.8 300.2c-5.1-5.1-5.1-13.3 0-18.4l133.7-133.7c-5.3-2.6-11.2-4.1-17.5-4.1H88c-22 0-40 18-40 40v224c0 22 18 40 40 40h256c22 0 40-18 40-40V184c0-6.3-1.5-12.2-4.1-17.5L246.2 300.2c-5.1 5.1-13.3 5.1-18.4 0z"}},{"tag":"path","attr":{"d":"M459.5 68.5C457 66 453 64 449 64h-97c-7.2-.1-13.1 5.7-13.1 12.9-.1 7.2 5.7 13.1 12.9 13.1l67.3.5-57.6 57.6c8 3.9 14.5 10.4 18.4 18.4l57.6-57.6.5 67.3c.1 7.2 5.9 13 13.1 12.9 7.2-.1 13-5.9 12.9-13.1V78c0-3.5-2-7-4.5-9.5z"}}]})(props);
14
10
  };
@@ -22,4 +18,4 @@ var IoMdLogIn = function (props) {
22
18
  };
23
19
  IoMdLogIn.displayName = "IoMdLogIn";
24
20
 
25
- export { IoIosArrowForward as I, IoMdArrowDropdown as a, IoMdLogIn as b, IoIosHome as c, IoIosOpen as d };
21
+ export { IoIosArrowForward as I, IoMdArrowDropdown as a, IoMdLogIn as b, IoIosOpen as c };
package/dist/esm/index.js CHANGED
@@ -25,7 +25,7 @@ import './debounce-a0d9abca.js';
25
25
  import './index.es-29c1cef5.js';
26
26
  import 'react-dom';
27
27
  import './visibility-sensor-0baa4eea.js';
28
- import './index-73819142.js';
28
+ import './index-3849e3fe.js';
29
29
  import './index-5f9f807a.js';
30
30
  import './main-d7ee6151.js';
31
31
  import './entities-7cc3bf45.js';
@@ -37,7 +37,7 @@ export { B as Beam, S as Segment } from './beam-c40d77ae.js';
37
37
  export { default as AdSlot } from './AdSlot.js';
38
38
  import './ADInfeed-541eaae3.js';
39
39
  export { default as DeckContent } from './DeckContent.js';
40
- import './lodash-17fdfebb.js';
40
+ import './lodash-ec8c6b48.js';
41
41
  import './ADlgInfeed-25c3d142.js';
42
42
  import './_arrayMap-818441dd.js';
43
43
  import './get-58d2f7cc.js';
@@ -47,7 +47,7 @@ export { default as GridContent } from './GridContent.js';
47
47
  export { default as DeckQueue } from './DeckQueue.js';
48
48
  import 'react-bootstrap/Media';
49
49
  export { default as ThumbnailCard } from './ThumbnailCard.js';
50
- import './BlockContent-e9b4ddcf.js';
50
+ import './BlockContent-c409aca5.js';
51
51
  import './react-social-icons-a7d5c5c7.js';
52
52
  export { default as TaxonomyCard } from './TaxonomyCard.js';
53
53
  export { default as RolesDeck } from './RolesDeck.js';
@@ -57,7 +57,7 @@ export { default as YoutubeGroup } from './YoutubeGroup.js';
57
57
  import 'react-bootstrap';
58
58
  export { default as QueueDeckExpanded } from './QueueDeckExpanded.js';
59
59
  import './iconBase-602d52fe.js';
60
- import './index.esm-4b1d94b7.js';
60
+ import './index.esm-85cb09e6.js';
61
61
  export { default as VideoSeriesListing } from './VideoSeriesListing.js';
62
62
  export { default as MasterDeck } from './MasterDeck.js';
63
63
  import 'react-bootstrap/Button';
@@ -70,7 +70,7 @@ import './index-ef6d5dcf.js';
70
70
  import './js.cookie-6874175c.js';
71
71
  export { default as EventsDeck } from './EventsDeck.js';
72
72
  export { default as CMEDeck } from './CMEDeck.js';
73
- export { g as getSerializers } from './index-599efdf0.js';
73
+ export { g as getSerializers } from './index-1c791baf.js';
74
74
  import './util-7700fc59.js';
75
75
  import './brightcove-react-player-loader.es-83f53e4e.js';
76
76
  import 'react-bootstrap/Pagination';
@@ -98,9 +98,8 @@ import 'react-bootstrap/Navbar';
98
98
  import 'react-bootstrap/NavDropdown';
99
99
  import './index.esm-b08f4b04.js';
100
100
  import './NavFooter-e27bd93b.js';
101
- import './SocialNavFooter-4fb16720.js';
101
+ import './index.esm-73e847d2.js';
102
102
  export { default as SocialIcons } from './SocialIcons.js';
103
- import './index.esm-16536e81.js';
104
103
  import 'react-bootstrap/Form';
105
104
  import 'react-bootstrap/FormControl';
106
105
  export { default as NavMagazine } from './NavMagazine.js';
@@ -151,14 +150,15 @@ export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
151
150
  export { default as KMTracker } from './KMTracker.js';
152
151
  export { default as getSeriesDetail } from './getSeriesDetail.js';
153
152
  export { default as SetCookie } from './SetCookie.js';
154
- import './index-db3bb315.js';
155
- export { default as getRelatedArticle } from './getRelatedArticle.js';
153
+ import 'nookies';
156
154
  export { default as getQuery } from './getQuery.js';
155
+ export { default as getRelatedArticle } from './getRelatedArticle.js';
157
156
  export { default as Auth } from './Auth.js';
158
157
  import 'swr';
158
+ import 'cookie';
159
159
  import 'passport-local';
160
160
  import 'mysql';
161
- export { g as getTargeting } from './getTargeting-36bcd238.js';
161
+ export { g as getTargeting } from './getTargeting-962c9cf6.js';
162
162
  export { default as View } from './View.js';
163
163
  export { default as urlFor } from './urlFor.js';
164
164
  export { default as PartnerDetailListing } from './PartnerDetailListing.js';
@@ -7,7 +7,7 @@ var lodash = createCommonjsModule(function (module, exports) {
7
7
  var undefined$1;
8
8
 
9
9
  /** Used as the semantic version number. */
10
- var VERSION = '4.17.15';
10
+ var VERSION = '4.17.20';
11
11
 
12
12
  /** Used as the size to enable large array optimizations. */
13
13
  var LARGE_ARRAY_SIZE = 200;
@@ -3714,8 +3714,21 @@ var lodash = createCommonjsModule(function (module, exports) {
3714
3714
  * @returns {Array} Returns the new sorted array.
3715
3715
  */
3716
3716
  function baseOrderBy(collection, iteratees, orders) {
3717
+ if (iteratees.length) {
3718
+ iteratees = arrayMap(iteratees, function(iteratee) {
3719
+ if (isArray(iteratee)) {
3720
+ return function(value) {
3721
+ return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
3722
+ }
3723
+ }
3724
+ return iteratee;
3725
+ });
3726
+ } else {
3727
+ iteratees = [identity];
3728
+ }
3729
+
3717
3730
  var index = -1;
3718
- iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(getIteratee()));
3731
+ iteratees = arrayMap(iteratees, baseUnary(getIteratee()));
3719
3732
 
3720
3733
  var result = baseMap(collection, function(value, key, collection) {
3721
3734
  var criteria = arrayMap(iteratees, function(iteratee) {
@@ -3972,6 +3985,10 @@ var lodash = createCommonjsModule(function (module, exports) {
3972
3985
  var key = toKey(path[index]),
3973
3986
  newValue = value;
3974
3987
 
3988
+ if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
3989
+ return object;
3990
+ }
3991
+
3975
3992
  if (index != lastIndex) {
3976
3993
  var objValue = nested[key];
3977
3994
  newValue = customizer ? customizer(objValue, key, nested) : undefined$1;
@@ -4124,11 +4141,14 @@ var lodash = createCommonjsModule(function (module, exports) {
4124
4141
  * into `array`.
4125
4142
  */
4126
4143
  function baseSortedIndexBy(array, value, iteratee, retHighest) {
4127
- value = iteratee(value);
4128
-
4129
4144
  var low = 0,
4130
- high = array == null ? 0 : array.length,
4131
- valIsNaN = value !== value,
4145
+ high = array == null ? 0 : array.length;
4146
+ if (high === 0) {
4147
+ return 0;
4148
+ }
4149
+
4150
+ value = iteratee(value);
4151
+ var valIsNaN = value !== value,
4132
4152
  valIsNull = value === null,
4133
4153
  valIsSymbol = isSymbol(value),
4134
4154
  valIsUndefined = value === undefined$1;
@@ -5613,10 +5633,11 @@ var lodash = createCommonjsModule(function (module, exports) {
5613
5633
  if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
5614
5634
  return false;
5615
5635
  }
5616
- // Assume cyclic values are equal.
5617
- var stacked = stack.get(array);
5618
- if (stacked && stack.get(other)) {
5619
- return stacked == other;
5636
+ // Check that cyclic values are equal.
5637
+ var arrStacked = stack.get(array);
5638
+ var othStacked = stack.get(other);
5639
+ if (arrStacked && othStacked) {
5640
+ return arrStacked == other && othStacked == array;
5620
5641
  }
5621
5642
  var index = -1,
5622
5643
  result = true,
@@ -5778,10 +5799,11 @@ var lodash = createCommonjsModule(function (module, exports) {
5778
5799
  return false;
5779
5800
  }
5780
5801
  }
5781
- // Assume cyclic values are equal.
5782
- var stacked = stack.get(object);
5783
- if (stacked && stack.get(other)) {
5784
- return stacked == other;
5802
+ // Check that cyclic values are equal.
5803
+ var objStacked = stack.get(object);
5804
+ var othStacked = stack.get(other);
5805
+ if (objStacked && othStacked) {
5806
+ return objStacked == other && othStacked == object;
5785
5807
  }
5786
5808
  var result = true;
5787
5809
  stack.set(object, other);
@@ -9162,6 +9184,10 @@ var lodash = createCommonjsModule(function (module, exports) {
9162
9184
  * // The `_.property` iteratee shorthand.
9163
9185
  * _.filter(users, 'active');
9164
9186
  * // => objects for ['barney']
9187
+ *
9188
+ * // Combining several predicates using `_.overEvery` or `_.overSome`.
9189
+ * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));
9190
+ * // => objects for ['fred', 'barney']
9165
9191
  */
9166
9192
  function filter(collection, predicate) {
9167
9193
  var func = isArray(collection) ? arrayFilter : baseFilter;
@@ -9911,15 +9937,15 @@ var lodash = createCommonjsModule(function (module, exports) {
9911
9937
  * var users = [
9912
9938
  * { 'user': 'fred', 'age': 48 },
9913
9939
  * { 'user': 'barney', 'age': 36 },
9914
- * { 'user': 'fred', 'age': 40 },
9940
+ * { 'user': 'fred', 'age': 30 },
9915
9941
  * { 'user': 'barney', 'age': 34 }
9916
9942
  * ];
9917
9943
  *
9918
9944
  * _.sortBy(users, [function(o) { return o.user; }]);
9919
- * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]
9945
+ * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]
9920
9946
  *
9921
9947
  * _.sortBy(users, ['user', 'age']);
9922
- * // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]]
9948
+ * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]
9923
9949
  */
9924
9950
  var sortBy = baseRest(function(collection, iteratees) {
9925
9951
  if (collection == null) {
@@ -14794,11 +14820,11 @@ var lodash = createCommonjsModule(function (module, exports) {
14794
14820
 
14795
14821
  // Use a sourceURL for easier debugging.
14796
14822
  // The sourceURL gets injected into the source that's eval-ed, so be careful
14797
- // with lookup (in case of e.g. prototype pollution), and strip newlines if any.
14798
- // A newline wouldn't be a valid sourceURL anyway, and it'd enable code injection.
14823
+ // to normalize all kinds of whitespace, so e.g. newlines (and unicode versions of it) can't sneak in
14824
+ // and escape the comment, thus injecting code that gets evaled.
14799
14825
  var sourceURL = '//# sourceURL=' +
14800
14826
  (hasOwnProperty.call(options, 'sourceURL')
14801
- ? (options.sourceURL + '').replace(/[\r\n]/g, ' ')
14827
+ ? (options.sourceURL + '').replace(/\s/g, ' ')
14802
14828
  : ('lodash.templateSources[' + (++templateCounter) + ']')
14803
14829
  ) + '\n';
14804
14830
 
@@ -14831,8 +14857,6 @@ var lodash = createCommonjsModule(function (module, exports) {
14831
14857
 
14832
14858
  // If `variable` is not specified wrap a with-statement around the generated
14833
14859
  // code to add the data object to the top of the scope chain.
14834
- // Like with sourceURL, we take care to not check the option's prototype,
14835
- // as this configuration is a code injection vector.
14836
14860
  var variable = hasOwnProperty.call(options, 'variable') && options.variable;
14837
14861
  if (!variable) {
14838
14862
  source = 'with (obj) {\n' + source + '\n}\n';
@@ -15539,6 +15563,9 @@ var lodash = createCommonjsModule(function (module, exports) {
15539
15563
  * values against any array or object value, respectively. See `_.isEqual`
15540
15564
  * for a list of supported value comparisons.
15541
15565
  *
15566
+ * **Note:** Multiple values can be checked by combining several matchers
15567
+ * using `_.overSome`
15568
+ *
15542
15569
  * @static
15543
15570
  * @memberOf _
15544
15571
  * @since 3.0.0
@@ -15554,6 +15581,10 @@ var lodash = createCommonjsModule(function (module, exports) {
15554
15581
  *
15555
15582
  * _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));
15556
15583
  * // => [{ 'a': 4, 'b': 5, 'c': 6 }]
15584
+ *
15585
+ * // Checking for several possible values
15586
+ * _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));
15587
+ * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
15557
15588
  */
15558
15589
  function matches(source) {
15559
15590
  return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
@@ -15568,6 +15599,9 @@ var lodash = createCommonjsModule(function (module, exports) {
15568
15599
  * `srcValue` values against any array or object value, respectively. See
15569
15600
  * `_.isEqual` for a list of supported value comparisons.
15570
15601
  *
15602
+ * **Note:** Multiple values can be checked by combining several matchers
15603
+ * using `_.overSome`
15604
+ *
15571
15605
  * @static
15572
15606
  * @memberOf _
15573
15607
  * @since 3.2.0
@@ -15584,6 +15618,10 @@ var lodash = createCommonjsModule(function (module, exports) {
15584
15618
  *
15585
15619
  * _.find(objects, _.matchesProperty('a', 4));
15586
15620
  * // => { 'a': 4, 'b': 5, 'c': 6 }
15621
+ *
15622
+ * // Checking for several possible values
15623
+ * _.filter(objects, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));
15624
+ * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
15587
15625
  */
15588
15626
  function matchesProperty(path, srcValue) {
15589
15627
  return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));
@@ -15807,6 +15845,10 @@ var lodash = createCommonjsModule(function (module, exports) {
15807
15845
  * Creates a function that checks if **all** of the `predicates` return
15808
15846
  * truthy when invoked with the arguments it receives.
15809
15847
  *
15848
+ * Following shorthands are possible for providing predicates.
15849
+ * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
15850
+ * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
15851
+ *
15810
15852
  * @static
15811
15853
  * @memberOf _
15812
15854
  * @since 4.0.0
@@ -15833,6 +15875,10 @@ var lodash = createCommonjsModule(function (module, exports) {
15833
15875
  * Creates a function that checks if **any** of the `predicates` return
15834
15876
  * truthy when invoked with the arguments it receives.
15835
15877
  *
15878
+ * Following shorthands are possible for providing predicates.
15879
+ * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
15880
+ * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
15881
+ *
15836
15882
  * @static
15837
15883
  * @memberOf _
15838
15884
  * @since 4.0.0
@@ -15852,6 +15898,9 @@ var lodash = createCommonjsModule(function (module, exports) {
15852
15898
  *
15853
15899
  * func(NaN);
15854
15900
  * // => false
15901
+ *
15902
+ * var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])
15903
+ * var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])
15855
15904
  */
15856
15905
  var overSome = createOver(arraySome);
15857
15906
 
@@ -1,8 +1,8 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import { i as imageUrlBuilder } from './index-73819142.js';
2
+ import { i as imageUrlBuilder } from './index-3849e3fe.js';
3
3
 
4
4
  function urlFor(client, source) {
5
- return imageUrlBuilder(client).image(source);
5
+ return imageUrlBuilder(client).image(source);
6
6
  }
7
7
 
8
8
  export default urlFor;
package/package.json CHANGED
@@ -1,107 +1,107 @@
1
- {
2
- "name": "@mjhls/mjh-framework",
3
- "version": "1.0.603",
4
- "description": "Foundation Framework",
5
- "author": "mjh-framework",
6
- "license": "MIT",
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/MJHLS/mjh-framework.git"
10
- },
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "engines": {
14
- "node": ">=8",
15
- "npm": ">=5"
16
- },
17
- "scripts": {
18
- "clean": "rimraf dist",
19
- "test": "cross-env CI=1 react-scripts test --env=jsdom",
20
- "test:watch": "react-scripts test --env=jsdom",
21
- "build": "npm run clean && rollup -c",
22
- "start": "npm run clean && rollup -c -w",
23
- "prepare": "yarn run build",
24
- "predeploy": "cd example && yarn install && yarn run build",
25
- "deploy": "gh-pages -d example/build"
26
- },
27
- "peerDependencies": {
28
- "next": "^9.0.0",
29
- "prop-types": "^15.5.4",
30
- "react": "^15.0.0 || ^16.0.0",
31
- "react-dom": "^15.0.0 || ^16.0.0",
32
- "react-share": "^4.0.1",
33
- "react-bootstrap": "^1.0.0-beta.14"
34
- },
35
- "devDependencies": {
36
- "@brightcove/react-player-loader": "^1.4.0",
37
- "@rollup/plugin-json": "^4.0.3",
38
- "@sanity/block-content-to-react": "^2.0.7",
39
- "@sanity/image-url": "^0.140.15",
40
- "@segment/analytics.js-core": "^4.0.1",
41
- "@segment/analytics.js-integration-segmentio": "^4.2.5",
42
- "@svgr/rollup": "^2.4.1",
43
- "babel-core": "^6.26.3",
44
- "babel-eslint": "^8.2.5",
45
- "babel-plugin-external-helpers": "^6.22.0",
46
- "babel-plugin-transform-runtime": "^6.23.0",
47
- "babel-preset-env": "^1.7.0",
48
- "babel-preset-react": "^6.24.1",
49
- "babel-preset-stage-0": "^6.24.1",
50
- "cross-env": "^5.1.4",
51
- "eslint": "^5.0.1",
52
- "eslint-config-standard": "^11.0.0",
53
- "eslint-config-standard-react": "^6.0.0",
54
- "eslint-plugin-import": "^2.13.0",
55
- "eslint-plugin-node": "^7.0.1",
56
- "eslint-plugin-promise": "^4.0.0",
57
- "eslint-plugin-react": "^7.10.0",
58
- "eslint-plugin-react-hooks": "^2.3.0",
59
- "eslint-plugin-standard": "^3.1.0",
60
- "get-youtube-id": "^1.0.1",
61
- "gh-pages": "^1.2.0",
62
- "lodash": "^4.17.15",
63
- "md5": "^2.2.1",
64
- "moment": "^2.26.0",
65
- "moment-timezone": "^0.5.31",
66
- "next": "^9.2.0",
67
- "react": "^16.12.0",
68
- "react-bootstrap": "^1.0.0-beta.16",
69
- "react-device-detect": "^1.11.14",
70
- "react-dfp": "^0.17.0",
71
- "react-dom": "^16.12.0",
72
- "react-icons": "^3.8.0",
73
- "react-infinite-scroll-component": "^5.0.4",
74
- "react-lazyload": "^2.6.5",
75
- "react-player": "^1.15.2",
76
- "react-scripts": "^1.1.4",
77
- "react-share": "^4.0.1",
78
- "react-social-icons": "^4.1.0",
79
- "react-visibility-sensor": "^5.1.1",
80
- "react-youtube": "^7.9.0",
81
- "rimraf": "^3.0.2",
82
- "rollup": "^2.7.3",
83
- "rollup-plugin-babel": "^3.0.7",
84
- "rollup-plugin-commonjs": "^9.1.3",
85
- "rollup-plugin-node-builtins": "^2.1.2",
86
- "rollup-plugin-node-resolve": "^3.3.0",
87
- "rollup-plugin-peer-deps-external": "^2.2.0",
88
- "rollup-plugin-postcss": "^1.6.2",
89
- "rollup-plugin-url": "^1.4.0"
90
- },
91
- "files": [
92
- "dist"
93
- ],
94
- "dependencies": {
95
- "babel-polyfill": "^6.26.0",
96
- "cookie": "^0.4.1",
97
- "js-cookie": "^2.2.1",
98
- "next-cookies": "^2.0.3",
99
- "nookies": "^2.4.0",
100
- "react-cookies": "^0.1.1",
101
- "react-twitter-embed": "^3.0.3",
102
- "shortid": "^2.2.15",
103
- "smoothscroll-polyfill": "^0.4.4",
104
- "striptags": "^3.1.1",
105
- "superagent": "^5.2.2"
106
- }
107
- }
1
+ {
2
+ "name": "@mjhls/mjh-framework",
3
+ "version": "1.0.604-hamMagazine-v6",
4
+ "description": "Foundation Framework",
5
+ "author": "mjh-framework",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/MJHLS/mjh-framework.git"
10
+ },
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "engines": {
14
+ "node": ">=8",
15
+ "npm": ">=5"
16
+ },
17
+ "scripts": {
18
+ "clean": "rimraf dist",
19
+ "test": "cross-env CI=1 react-scripts test --env=jsdom",
20
+ "test:watch": "react-scripts test --env=jsdom",
21
+ "build": "npm run clean && rollup -c",
22
+ "start": "npm run clean && rollup -c -w",
23
+ "prepare": "npm run build",
24
+ "predeploy": "cd example && npm install && npm run build",
25
+ "deploy": "gh-pages -d example/build"
26
+ },
27
+ "peerDependencies": {
28
+ "next": "^9.0.0",
29
+ "prop-types": "^15.5.4",
30
+ "react": "^15.0.0 || ^16.0.0",
31
+ "react-dom": "^15.0.0 || ^16.0.0",
32
+ "react-share": "^4.0.1",
33
+ "react-bootstrap": "^1.0.0-beta.14"
34
+ },
35
+ "devDependencies": {
36
+ "@brightcove/react-player-loader": "^1.4.0",
37
+ "@rollup/plugin-json": "^4.0.3",
38
+ "@sanity/block-content-to-react": "^2.0.7",
39
+ "@sanity/image-url": "^0.140.15",
40
+ "@segment/analytics.js-core": "^4.0.1",
41
+ "@segment/analytics.js-integration-segmentio": "^4.2.5",
42
+ "@svgr/rollup": "^2.4.1",
43
+ "babel-core": "^6.26.3",
44
+ "babel-eslint": "^8.2.5",
45
+ "babel-plugin-external-helpers": "^6.22.0",
46
+ "babel-plugin-transform-runtime": "^6.23.0",
47
+ "babel-preset-env": "^1.7.0",
48
+ "babel-preset-react": "^6.24.1",
49
+ "babel-preset-stage-0": "^6.24.1",
50
+ "cross-env": "^5.1.4",
51
+ "eslint": "^5.0.1",
52
+ "eslint-config-standard": "^11.0.0",
53
+ "eslint-config-standard-react": "^6.0.0",
54
+ "eslint-plugin-import": "^2.13.0",
55
+ "eslint-plugin-node": "^7.0.1",
56
+ "eslint-plugin-promise": "^4.0.0",
57
+ "eslint-plugin-react": "^7.10.0",
58
+ "eslint-plugin-react-hooks": "^2.3.0",
59
+ "eslint-plugin-standard": "^3.1.0",
60
+ "get-youtube-id": "^1.0.1",
61
+ "gh-pages": "^1.2.0",
62
+ "lodash": "^4.17.15",
63
+ "md5": "^2.2.1",
64
+ "moment": "^2.26.0",
65
+ "moment-timezone": "^0.5.31",
66
+ "next": "^9.2.0",
67
+ "react": "^16.12.0",
68
+ "react-bootstrap": "^1.0.0-beta.16",
69
+ "react-device-detect": "^1.11.14",
70
+ "react-dfp": "^0.17.0",
71
+ "react-dom": "^16.12.0",
72
+ "react-icons": "^3.8.0",
73
+ "react-infinite-scroll-component": "^5.0.4",
74
+ "react-lazyload": "^2.6.5",
75
+ "react-player": "^1.15.2",
76
+ "react-scripts": "^1.1.4",
77
+ "react-share": "^4.0.1",
78
+ "react-social-icons": "^4.1.0",
79
+ "react-visibility-sensor": "^5.1.1",
80
+ "react-youtube": "^7.9.0",
81
+ "rimraf": "^3.0.2",
82
+ "rollup": "^2.7.3",
83
+ "rollup-plugin-babel": "^3.0.7",
84
+ "rollup-plugin-commonjs": "^9.1.3",
85
+ "rollup-plugin-node-builtins": "^2.1.2",
86
+ "rollup-plugin-node-resolve": "^3.3.0",
87
+ "rollup-plugin-peer-deps-external": "^2.2.0",
88
+ "rollup-plugin-postcss": "^1.6.2",
89
+ "rollup-plugin-url": "^1.4.0"
90
+ },
91
+ "files": [
92
+ "dist"
93
+ ],
94
+ "dependencies": {
95
+ "babel-polyfill": "^6.26.0",
96
+ "cookie": "^0.4.1",
97
+ "js-cookie": "^2.2.1",
98
+ "next-cookies": "^2.0.3",
99
+ "nookies": "^2.4.0",
100
+ "react-cookies": "^0.1.1",
101
+ "react-twitter-embed": "^3.0.3",
102
+ "shortid": "^2.2.15",
103
+ "smoothscroll-polyfill": "^0.4.4",
104
+ "striptags": "^3.1.1",
105
+ "superagent": "^5.2.2"
106
+ }
107
+ }