@mjhls/mjh-framework 1.0.880-beta.0 → 1.0.880

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 (315) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +10 -9
  3. package/dist/cjs/AD300x250.js +29 -28
  4. package/dist/cjs/AD300x250x600.js +29 -28
  5. package/dist/cjs/AD728x90.js +32 -31
  6. package/dist/cjs/ADFloatingFooter.js +31 -30
  7. package/dist/cjs/ADFooter.js +13 -12
  8. package/dist/cjs/ADGutter.js +31 -30
  9. package/dist/cjs/{ADInfeed-2e48af77.js → ADInfeed-9a2e923a.js} +15 -13
  10. package/dist/cjs/ADSkyscraper.js +31 -30
  11. package/dist/cjs/ADSponsoredResources.js +31 -30
  12. package/dist/cjs/ADWebcast.js +31 -30
  13. package/dist/cjs/ADWelcome.js +32 -31
  14. package/dist/cjs/{ADlgInfeed-c39c7131.js → ADlgInfeed-957a1996.js} +11 -10
  15. package/dist/cjs/AccordionPanel.js +29 -27
  16. package/dist/cjs/AdSlot.js +32 -31
  17. package/dist/cjs/AdSlotsProvider.js +18 -909
  18. package/dist/cjs/AlgoliaSearch.js +1391 -1272
  19. package/dist/cjs/AlphabeticList.js +24 -23
  20. package/dist/cjs/ArticleCarousel.js +21 -19
  21. package/dist/cjs/ArticleProgramLandingPage.js +61 -59
  22. package/dist/cjs/ArticleSeriesLandingPage.js +44 -38
  23. package/dist/cjs/ArticleSeriesListing.js +60 -58
  24. package/dist/cjs/Auth.js +680 -1504
  25. package/dist/cjs/AuthWrapper.js +309 -267
  26. package/dist/cjs/{AuthorComponent-02e827ae.js → AuthorComponent-39b37d84.js} +14 -13
  27. package/dist/cjs/Beam.js +6 -6
  28. package/dist/cjs/{BlockContent-9c6b07ad.js → BlockContent-36e54d77.js} +56 -55
  29. package/dist/cjs/Breadcrumbs.js +27 -25
  30. package/dist/cjs/CMEDeck.js +81 -81
  31. package/dist/cjs/Column1.js +14 -11
  32. package/dist/cjs/Column2.js +34 -31
  33. package/dist/cjs/Column3.js +60 -57
  34. package/dist/cjs/ConferenceArticleCard.js +43 -41
  35. package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
  36. package/dist/cjs/DeckContent.js +105 -100
  37. package/dist/cjs/DeckQueue.js +91 -86
  38. package/dist/cjs/{Dfp-14d2455c.js → Dfp-9be904d5.js} +33 -32
  39. package/dist/cjs/EventsDeck.js +157 -150
  40. package/dist/cjs/ExternalResources.js +80 -78
  41. package/dist/cjs/Feature.js +31 -28
  42. package/dist/cjs/ForbesHero.js +43 -41
  43. package/dist/cjs/GridContent.js +237 -231
  44. package/dist/cjs/GridHero.js +45 -43
  45. package/dist/cjs/GroupDeck.js +60 -58
  46. package/dist/cjs/HamMagazine.js +143 -138
  47. package/dist/cjs/Header.js +14 -12
  48. package/dist/cjs/Hero.js +16 -14
  49. package/dist/cjs/HighlightenVideo.js +18 -17
  50. package/dist/cjs/HorizontalArticleListing.js +72 -70
  51. package/dist/cjs/HorizontalHero.js +30 -28
  52. package/dist/cjs/IssueContentDeck.js +77 -71
  53. package/dist/cjs/IssueDeck.js +76 -70
  54. package/dist/cjs/IssueLanding.js +94 -91
  55. package/dist/cjs/KMTracker.js +15 -15
  56. package/dist/cjs/LeftNav.js +39 -37
  57. package/dist/cjs/MasterDeck.js +355 -227
  58. package/dist/cjs/MediaSeriesLanding.js +1118 -1126
  59. package/dist/cjs/NavDvm.js +77 -72
  60. package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
  61. package/dist/cjs/NavMagazine.js +150 -145
  62. package/dist/cjs/NavNative.js +145 -137
  63. package/dist/cjs/OncliveHero.js +24 -23
  64. package/dist/cjs/OncliveLargeHero.js +75 -73
  65. package/dist/cjs/PageFilter.js +13 -12
  66. package/dist/cjs/PartnerDetailListing.js +119 -3917
  67. package/dist/cjs/PdfDownload.js +9 -8
  68. package/dist/cjs/PopUpModal.js +19 -17
  69. package/dist/cjs/PubSection.js +41 -38
  70. package/dist/cjs/PubToc.js +14 -13
  71. package/dist/cjs/PublicationDeck.js +71 -65
  72. package/dist/cjs/PublicationLanding.js +137 -133
  73. package/dist/cjs/QueueDeckExpanded.js +1173 -1001
  74. package/dist/cjs/RecentNews.js +22 -21
  75. package/dist/cjs/RelatedContent.js +59 -57
  76. package/dist/cjs/RelatedTopicsDropdown.js +32 -29
  77. package/dist/cjs/RolesDeck.js +32 -27
  78. package/dist/cjs/Search.js +20 -16
  79. package/dist/cjs/Segment.js +4 -4
  80. package/dist/cjs/SeriesListingDeck.js +37 -36
  81. package/dist/cjs/{SeriesSlider-ec146338.js → SeriesSlider-ce3261cb.js} +41 -40
  82. package/dist/cjs/SetCookie.js +1 -1
  83. package/dist/cjs/SideFooter.js +37 -36
  84. package/dist/cjs/SocialIcons.js +10 -9
  85. package/dist/cjs/{SocialSearchComponent-e8477ca3.js → SocialSearchComponent-5ec44406.js} +40 -36
  86. package/dist/cjs/SocialShare.js +31 -29
  87. package/dist/cjs/TaxonomyCard.js +67 -61
  88. package/dist/cjs/TaxonomyDescription.js +55 -53
  89. package/dist/cjs/TemplateNormal.js +73 -72
  90. package/dist/cjs/ThumbnailCard.js +26 -23
  91. package/dist/cjs/Ustream.js +28 -27
  92. package/dist/cjs/VerticalHero.js +22 -20
  93. package/dist/cjs/VideoProgramLandingPage.js +78 -73
  94. package/dist/cjs/VideoSeriesCard.js +34 -32
  95. package/dist/cjs/VideoSeriesFilter.js +16 -16
  96. package/dist/cjs/VideoSeriesLandingPage.js +52 -48
  97. package/dist/cjs/VideoSeriesListing.js +77 -75
  98. package/dist/cjs/View.js +275 -271
  99. package/dist/cjs/YahooHero.js +42 -40
  100. package/dist/cjs/YoutubeGroup.js +68 -66
  101. package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-54228b29.js} +6 -6
  102. package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-b1df62f0.js} +7 -7
  103. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
  104. package/dist/cjs/{_object-sap-171b9ea5.js → _object-sap-d1978572.js} +1 -1
  105. package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-ce86cae7.js} +2 -2
  106. package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-77821af0.js} +30 -30
  107. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
  108. package/dist/cjs/{core.get-iterator-method-f3c44602.js → core.get-iterator-method-5643aa10.js} +35 -35
  109. package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
  110. package/dist/cjs/{define-property-21887c62.js → define-property-e8404b64.js} +6 -6
  111. package/dist/cjs/{defineProperty-77a37684.js → defineProperty-9673846a.js} +1 -1
  112. package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
  113. package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
  114. package/dist/cjs/{extends-eed4f016.js → extends-7c86182f.js} +7 -7
  115. package/dist/cjs/faundadb.js +19 -19
  116. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  117. package/dist/cjs/getRelatedArticle.js +18 -18
  118. package/dist/cjs/getRootDocGroup.js +6 -6
  119. package/dist/cjs/getSerializers.js +43 -42
  120. package/dist/cjs/{getTargeting-8874437b.js → getTargeting-9d509319.js} +12 -12
  121. package/dist/cjs/getTargeting.js +6 -6
  122. package/dist/cjs/iconBase-68959171.js +0 -3
  123. package/dist/cjs/{index-17c6af5a.js → index-22bdde81.js} +1093 -1067
  124. package/dist/cjs/{index-e2e62963.js → index-8041a4eb.js} +11 -1
  125. package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
  126. package/dist/cjs/{urlFor-3a61226f.js → index-efca863c.js} +37 -88
  127. package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
  128. package/dist/cjs/{index-98e01cb9.js → index-fc2f1ca2.js} +13 -12
  129. package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
  130. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
  131. package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
  132. package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
  133. package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
  134. package/dist/cjs/index.js +170 -164
  135. package/dist/cjs/{inherits-cba9c846.js → inherits-de66ea16.js} +19 -19
  136. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  137. package/dist/cjs/{keys-d207942e.js → keys-e982b3fa.js} +6 -6
  138. package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
  139. package/dist/cjs/main-025fdc78.js +973 -0
  140. package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
  141. package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
  142. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
  143. package/dist/cjs/{slicedToArray-f6d4eaa8.js → slicedToArray-067dd3bc.js} +12 -12
  144. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  145. package/dist/cjs/{stringify-bbc68047.js → stringify-f7a37a8d.js} +5 -5
  146. package/dist/cjs/timeDifferenceCalc.js +1 -1
  147. package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-d7797c2b.js} +7 -7
  148. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  149. package/dist/cjs/{typeof-5f52cf64.js → typeof-567e31ff.js} +35 -35
  150. package/dist/cjs/urlFor.js +59 -5
  151. package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-3819e4aa.js} +4 -4
  152. package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
  153. package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
  154. package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-d98303e0.js} +2 -2
  155. package/dist/esm/AD.js +7 -7
  156. package/dist/esm/AD300x250.js +25 -25
  157. package/dist/esm/AD300x250x600.js +25 -25
  158. package/dist/esm/AD728x90.js +28 -28
  159. package/dist/esm/ADFloatingFooter.js +27 -27
  160. package/dist/esm/ADFooter.js +9 -9
  161. package/dist/esm/ADGutter.js +27 -27
  162. package/dist/esm/{ADInfeed-0c13c803.js → ADInfeed-8c5f8c58.js} +11 -11
  163. package/dist/esm/ADSkyscraper.js +27 -27
  164. package/dist/esm/ADSponsoredResources.js +27 -27
  165. package/dist/esm/ADWebcast.js +27 -27
  166. package/dist/esm/ADWelcome.js +28 -28
  167. package/dist/esm/{ADlgInfeed-e4e2031a.js → ADlgInfeed-2316e091.js} +8 -8
  168. package/dist/esm/AccordionPanel.js +22 -22
  169. package/dist/esm/AdSlot.js +23 -23
  170. package/dist/esm/AdSlotsProvider.js +15 -907
  171. package/dist/esm/AlgoliaSearch.js +820 -702
  172. package/dist/esm/AlphabeticList.js +20 -20
  173. package/dist/esm/ArticleCarousel.js +17 -16
  174. package/dist/esm/ArticleProgramLandingPage.js +54 -53
  175. package/dist/esm/ArticleSeriesLandingPage.js +38 -33
  176. package/dist/esm/ArticleSeriesListing.js +55 -54
  177. package/dist/esm/Auth.js +659 -1487
  178. package/dist/esm/AuthWrapper.js +306 -265
  179. package/dist/esm/{AuthorComponent-e6f95c2f.js → AuthorComponent-46a745ba.js} +11 -11
  180. package/dist/esm/Beam.js +6 -6
  181. package/dist/esm/{BlockContent-f4515898.js → BlockContent-52cf21c5.js} +35 -35
  182. package/dist/esm/Breadcrumbs.js +15 -15
  183. package/dist/esm/CMEDeck.js +77 -77
  184. package/dist/esm/Column1.js +9 -9
  185. package/dist/esm/Column2.js +28 -28
  186. package/dist/esm/Column3.js +54 -54
  187. package/dist/esm/ConferenceArticleCard.js +38 -37
  188. package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
  189. package/dist/esm/DeckContent.js +96 -95
  190. package/dist/esm/DeckQueue.js +82 -81
  191. package/dist/esm/{Dfp-f867d061.js → Dfp-4ca12f2e.js} +20 -20
  192. package/dist/esm/EventsDeck.js +129 -129
  193. package/dist/esm/ExternalResources.js +73 -72
  194. package/dist/esm/Feature.js +22 -21
  195. package/dist/esm/ForbesHero.js +33 -32
  196. package/dist/esm/GridContent.js +199 -198
  197. package/dist/esm/GridHero.js +35 -34
  198. package/dist/esm/GroupDeck.js +45 -44
  199. package/dist/esm/HamMagazine.js +114 -114
  200. package/dist/esm/Header.js +8 -8
  201. package/dist/esm/Hero.js +13 -12
  202. package/dist/esm/HighlightenVideo.js +14 -14
  203. package/dist/esm/HorizontalArticleListing.js +68 -67
  204. package/dist/esm/HorizontalHero.js +25 -24
  205. package/dist/esm/IssueContentDeck.js +59 -58
  206. package/dist/esm/IssueDeck.js +63 -62
  207. package/dist/esm/IssueLanding.js +90 -88
  208. package/dist/esm/KMTracker.js +15 -15
  209. package/dist/esm/LeftNav.js +33 -33
  210. package/dist/esm/MasterDeck.js +350 -223
  211. package/dist/esm/MediaSeriesLanding.js +839 -850
  212. package/dist/esm/NavDvm.js +57 -57
  213. package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
  214. package/dist/esm/NavMagazine.js +124 -124
  215. package/dist/esm/NavNative.js +114 -114
  216. package/dist/esm/OncliveHero.js +20 -20
  217. package/dist/esm/OncliveLargeHero.js +58 -57
  218. package/dist/esm/PageFilter.js +10 -10
  219. package/dist/esm/PartnerDetailListing.js +112 -3910
  220. package/dist/esm/PdfDownload.js +6 -6
  221. package/dist/esm/PopUpModal.js +12 -12
  222. package/dist/esm/PubSection.js +37 -35
  223. package/dist/esm/PubToc.js +10 -10
  224. package/dist/esm/PublicationDeck.js +56 -55
  225. package/dist/esm/PublicationLanding.js +120 -120
  226. package/dist/esm/QueueDeckExpanded.js +1166 -994
  227. package/dist/esm/RecentNews.js +19 -19
  228. package/dist/esm/RelatedContent.js +51 -50
  229. package/dist/esm/RelatedTopicsDropdown.js +21 -21
  230. package/dist/esm/RolesDeck.js +25 -25
  231. package/dist/esm/Search.js +11 -11
  232. package/dist/esm/Segment.js +4 -4
  233. package/dist/esm/SeriesListingDeck.js +31 -30
  234. package/dist/esm/{SeriesSlider-d6561e33.js → SeriesSlider-7a6c45ce.js} +31 -31
  235. package/dist/esm/SetCookie.js +1 -1
  236. package/dist/esm/SideFooter.js +32 -32
  237. package/dist/esm/SocialIcons.js +7 -7
  238. package/dist/esm/{SocialSearchComponent-b5be0e6c.js → SocialSearchComponent-bdecba55.js} +30 -30
  239. package/dist/esm/SocialShare.js +25 -25
  240. package/dist/esm/TaxonomyCard.js +56 -55
  241. package/dist/esm/TaxonomyDescription.js +49 -48
  242. package/dist/esm/TemplateNormal.js +68 -68
  243. package/dist/esm/ThumbnailCard.js +17 -16
  244. package/dist/esm/Ustream.js +24 -24
  245. package/dist/esm/VerticalHero.js +17 -16
  246. package/dist/esm/VideoProgramLandingPage.js +65 -64
  247. package/dist/esm/VideoSeriesCard.js +26 -25
  248. package/dist/esm/VideoSeriesFilter.js +13 -13
  249. package/dist/esm/VideoSeriesLandingPage.js +42 -39
  250. package/dist/esm/VideoSeriesListing.js +72 -71
  251. package/dist/esm/View.js +246 -246
  252. package/dist/esm/YahooHero.js +33 -32
  253. package/dist/esm/YoutubeGroup.js +52 -51
  254. package/dist/esm/{_is-array-4df618a6.js → _is-array-893ab020.js} +6 -6
  255. package/dist/esm/{_iter-detect-130ee549.js → _iter-detect-f089461c.js} +7 -7
  256. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  257. package/dist/esm/{_object-sap-8b8ea5a9.js → _object-sap-169d6272.js} +1 -1
  258. package/dist/esm/{_object-to-array-c54dd835.js → _object-to-array-50a6b9a3.js} +2 -2
  259. package/dist/esm/{asyncToGenerator-64812e90.js → asyncToGenerator-b4dfe691.js} +31 -31
  260. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
  261. package/dist/esm/{core.get-iterator-method-86d4db69.js → core.get-iterator-method-e903ff31.js} +36 -36
  262. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  263. package/dist/esm/{define-property-6d26cb48.js → define-property-99e66838.js} +6 -6
  264. package/dist/esm/{defineProperty-d7d9b577.js → defineProperty-8fa0bc8d.js} +1 -1
  265. package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
  266. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  267. package/dist/esm/{extends-5b1796d4.js → extends-dc6a71fd.js} +7 -7
  268. package/dist/esm/faundadb.js +5 -5
  269. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  270. package/dist/esm/getRelatedArticle.js +12 -12
  271. package/dist/esm/getRootDocGroup.js +4 -4
  272. package/dist/esm/getSerializers.js +43 -42
  273. package/dist/esm/{getTargeting-277c801e.js → getTargeting-ff2c9409.js} +11 -11
  274. package/dist/esm/getTargeting.js +6 -6
  275. package/dist/esm/{urlFor-23b2244b.js → index-0dbff1d1.js} +37 -88
  276. package/dist/esm/{index-41a678ea.js → index-2446af28.js} +6 -6
  277. package/dist/esm/{index-5f7e79e7.js → index-35bdcc81.js} +10 -10
  278. package/dist/esm/{index-aaa2dae0.js → index-67e1773f.js} +11 -2
  279. package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
  280. package/dist/esm/{index-a35a5c39.js → index-c9bfc91f.js} +1017 -1001
  281. package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
  282. package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
  283. package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
  284. package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
  285. package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-c6715e80.js} +3 -6
  286. package/dist/esm/index.js +140 -137
  287. package/dist/esm/{inherits-2409637d.js → inherits-8a801a18.js} +18 -18
  288. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  289. package/dist/esm/{keys-69989821.js → keys-425c8ab0.js} +6 -6
  290. package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
  291. package/dist/esm/main-4136096f.js +961 -0
  292. package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
  293. package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
  294. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
  295. package/dist/esm/{slicedToArray-67a08c9c.js → slicedToArray-ca2c8b8d.js} +12 -12
  296. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  297. package/dist/esm/stringify-c21932b3.js +15 -0
  298. package/dist/esm/timeDifferenceCalc.js +1 -1
  299. package/dist/esm/{toConsumableArray-32282905.js → toConsumableArray-7b1c0e23.js} +7 -7
  300. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  301. package/dist/esm/{typeof-c05a82ba.js → typeof-83d9eb10.js} +35 -35
  302. package/dist/esm/urlFor.js +62 -4
  303. package/dist/esm/{ustream-api-4c4fe0ba.js → ustream-api-41166338.js} +4 -4
  304. package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
  305. package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
  306. package/dist/esm/{web.dom.iterable-f8f967cd.js → web.dom.iterable-fdf034f5.js} +2 -2
  307. package/package.json +111 -112
  308. package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
  309. package/dist/cjs/Pagination-9cb60fba.js +0 -61
  310. package/dist/cjs/inherits-8d29278d.js +0 -110
  311. package/dist/cjs/main-02daeefe.js +0 -862
  312. package/dist/esm/Pagination-256b60e5.js +0 -56
  313. package/dist/esm/inherits-77d5e4fc.js +0 -101
  314. package/dist/esm/main-c0612122.js +0 -851
  315. package/dist/esm/stringify-70b72959.js +0 -15
@@ -35,6 +35,15 @@ function _objectWithoutPropertiesLoose(source, excluded) {
35
35
  return target;
36
36
  }
37
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
+
38
47
  var classnames = _commonjsHelpers.createCommonjsModule(function (module) {
39
48
  /*!
40
49
  Copyright (c) 2017 Jed Watson.
@@ -75,7 +84,7 @@ var classnames = _commonjsHelpers.createCommonjsModule(function (module) {
75
84
  return classes.join(' ');
76
85
  }
77
86
 
78
- if ( module.exports) {
87
+ if (module.exports) {
79
88
  classNames.default = classNames;
80
89
  module.exports = classNames;
81
90
  } else {
@@ -86,4 +95,5 @@ var classnames = _commonjsHelpers.createCommonjsModule(function (module) {
86
95
 
87
96
  exports._extends = _extends;
88
97
  exports._objectWithoutPropertiesLoose = _objectWithoutPropertiesLoose;
98
+ exports._setPrototypeOf = _setPrototypeOf;
89
99
  exports.classnames = classnames;
@@ -1,13 +1,15 @@
1
1
  'use strict';
2
2
 
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
3
  var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
6
4
  var React = require('react');
7
- var React__default = _interopDefault(React);
5
+ var ReactDOM = require('react-dom');
8
6
  var PropTypes = require('prop-types');
9
- var PropTypes__default = _interopDefault(PropTypes);
10
- var ReactDOM = _interopDefault(require('react-dom'));
7
+
8
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
+
10
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
11
+ var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
12
+ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
11
13
 
12
14
  var event = _commonjsHelpers.createCommonjsModule(function (module, exports) {
13
15
 
@@ -38,8 +40,8 @@ function off(el, eventName, callback, opts) {
38
40
  });
39
41
 
40
42
  _commonjsHelpers.unwrapExports(event);
41
- var event_1 = event.on;
42
- var event_2 = event.off;
43
+ event.on;
44
+ event.off;
43
45
 
44
46
  var scrollParent = _commonjsHelpers.createCommonjsModule(function (module, exports) {
45
47
 
@@ -185,15 +187,15 @@ var _createClass = function () { function defineProperties(target, props) { for
185
187
 
186
188
 
187
189
 
188
- var _react2 = _interopRequireDefault(React__default);
190
+ var _react2 = _interopRequireDefault(React__default['default']);
189
191
 
190
192
 
191
193
 
192
- var _reactDom2 = _interopRequireDefault(ReactDOM);
194
+ var _reactDom2 = _interopRequireDefault(ReactDOM__default['default']);
193
195
 
194
196
 
195
197
 
196
- var _propTypes2 = _interopRequireDefault(PropTypes__default);
198
+ var _propTypes2 = _interopRequireDefault(PropTypes__default['default']);
197
199
 
198
200
 
199
201
 
@@ -536,7 +538,7 @@ var LazyLoad = function (_Component) {
536
538
  }]);
537
539
 
538
540
  return LazyLoad;
539
- }(React__default.Component);
541
+ }(React__default['default'].Component);
540
542
 
541
543
  LazyLoad.propTypes = {
542
544
  once: _propTypes2.default.bool,
@@ -593,7 +595,7 @@ var decorator = function decorator() {
593
595
  }]);
594
596
 
595
597
  return LazyLoadDecorated;
596
- }(React__default.Component);
598
+ }(React__default['default'].Component);
597
599
  };
598
600
  };
599
601
 
@@ -604,8 +606,8 @@ exports.forceVisible = forceVisible;
604
606
  });
605
607
 
606
608
  var LazyLoad = _commonjsHelpers.unwrapExports(lib);
607
- var lib_1 = lib.forceVisible;
608
- var lib_2 = lib.forceCheck;
609
- var lib_3 = lib.lazyload;
609
+ lib.forceVisible;
610
+ lib.forceCheck;
611
+ lib.lazyload;
610
612
 
611
613
  exports.LazyLoad = LazyLoad;
@@ -1,7 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
4
- var slicedToArray = require('./slicedToArray-f6d4eaa8.js');
5
4
 
6
5
  var parseAssetId_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
7
6
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -21,7 +20,7 @@ function parseAssetId(ref) {
21
20
  return { id: id, width: width, height: height, format: format };
22
21
  }
23
22
  exports.default = parseAssetId;
24
-
23
+ //# sourceMappingURL=parseAssetId.js.map
25
24
  });
26
25
 
27
26
  _commonjsHelpers.unwrapExports(parseAssetId_1);
@@ -61,35 +60,35 @@ function parseSource(source) {
61
60
  if (typeof source === 'string' && isUrl(source)) {
62
61
  // Someone passed an existing image url?
63
62
  image = {
64
- asset: { _ref: urlToId(source) }
63
+ asset: { _ref: urlToId(source) },
65
64
  };
66
65
  }
67
66
  else if (typeof source === 'string') {
68
67
  // Just an asset id
69
68
  image = {
70
- asset: { _ref: source }
69
+ asset: { _ref: source },
71
70
  };
72
71
  }
73
72
  else if (isRef(source)) {
74
73
  // We just got passed an asset directly
75
74
  image = {
76
- asset: source
75
+ asset: source,
77
76
  };
78
77
  }
79
78
  else if (isAsset(source)) {
80
79
  // If we were passed an image asset document
81
80
  image = {
82
81
  asset: {
83
- _ref: source._id || ''
84
- }
82
+ _ref: source._id || '',
83
+ },
85
84
  };
86
85
  }
87
86
  else if (isAssetStub(source)) {
88
87
  // If we were passed a partial asset (`url`, but no `_id`)
89
88
  image = {
90
89
  asset: {
91
- _ref: urlToId(source.asset.url)
92
- }
90
+ _ref: urlToId(source.asset.url),
91
+ },
93
92
  };
94
93
  }
95
94
  else if (typeof source.asset === 'object') {
@@ -130,7 +129,7 @@ function applyDefaults(image) {
130
129
  left: 0,
131
130
  top: 0,
132
131
  bottom: 0,
133
- right: 0
132
+ right: 0,
134
133
  };
135
134
  }
136
135
  if (!result.hotspot) {
@@ -138,12 +137,12 @@ function applyDefaults(image) {
138
137
  x: 0.5,
139
138
  y: 0.5,
140
139
  height: 1.0,
141
- width: 1.0
140
+ width: 1.0,
142
141
  };
143
142
  }
144
143
  return result;
145
144
  }
146
-
145
+ //# sourceMappingURL=parseSource.js.map
147
146
  });
148
147
 
149
148
  _commonjsHelpers.unwrapExports(parseSource_1);
@@ -185,7 +184,8 @@ exports.SPEC_NAME_TO_URL_NAME_MAPPINGS = [
185
184
  ['crop', 'crop'],
186
185
  ['saturation', 'sat'],
187
186
  ['auto', 'auto'],
188
- ['dpr', 'dpr']
187
+ ['dpr', 'dpr'],
188
+ ['pad', 'pad'],
189
189
  ];
190
190
  function urlForImage(options) {
191
191
  var spec = __assign({}, (options || {}));
@@ -204,7 +204,7 @@ function urlForImage(options) {
204
204
  left: cropLeft,
205
205
  top: cropTop,
206
206
  width: Math.round(asset.width - image.crop.right * asset.width - cropLeft),
207
- height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop)
207
+ height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop),
208
208
  };
209
209
  // Compute hot spot rect in terms of pixel coordinates
210
210
  var hotSpotVerticalRadius = (image.hotspot.height * asset.height) / 2;
@@ -215,7 +215,7 @@ function urlForImage(options) {
215
215
  left: hotSpotCenterX - hotSpotHorizontalRadius,
216
216
  top: hotSpotCenterY - hotSpotVerticalRadius,
217
217
  right: hotSpotCenterX + hotSpotHorizontalRadius,
218
- bottom: hotSpotCenterY + hotSpotVerticalRadius
218
+ bottom: hotSpotCenterY + hotSpotVerticalRadius,
219
219
  };
220
220
  // If irrelevant, or if we are requested to: don't perform crop/fit based on
221
221
  // the crop/hotspot.
@@ -297,7 +297,7 @@ function fit(source, spec) {
297
297
  left: Math.round(left),
298
298
  top: Math.round(top_2),
299
299
  width: Math.round(width),
300
- height: Math.round(height)
300
+ height: Math.round(height),
301
301
  };
302
302
  }
303
303
  else {
@@ -319,21 +319,21 @@ function fit(source, spec) {
319
319
  left: Math.max(0, Math.floor(left)),
320
320
  top: Math.max(0, Math.floor(top_3)),
321
321
  width: Math.round(width),
322
- height: Math.round(height)
322
+ height: Math.round(height),
323
323
  };
324
324
  }
325
325
  return {
326
326
  width: imgWidth,
327
327
  height: imgHeight,
328
- rect: cropRect
328
+ rect: cropRect,
329
329
  };
330
330
  }
331
-
331
+ //# sourceMappingURL=urlForImage.js.map
332
332
  });
333
333
 
334
334
  _commonjsHelpers.unwrapExports(urlForImage_1);
335
- var urlForImage_2 = urlForImage_1.parseSource;
336
- var urlForImage_3 = urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
335
+ urlForImage_1.parseSource;
336
+ urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
337
337
 
338
338
  var builder = _commonjsHelpers.createCommonjsModule(function (module, exports) {
339
339
  var __assign = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__assign) || function () {
@@ -359,7 +359,7 @@ var urlForImage_1$1 = __importStar(urlForImage_1);
359
359
  var validFits = ['clip', 'crop', 'fill', 'fillmax', 'max', 'scale', 'min'];
360
360
  var validCrops = ['top', 'bottom', 'left', 'right', 'center', 'focalpoint', 'entropy'];
361
361
  var validAutoModes = ['format'];
362
- function isSanityClient(client) {
362
+ function isSanityClientLike(client) {
363
363
  return client ? typeof client.clientConfig === 'object' : false;
364
364
  }
365
365
  function rewriteSpecName(key) {
@@ -376,13 +376,14 @@ function rewriteSpecName(key) {
376
376
  function urlBuilder(options) {
377
377
  // Did we get a SanityClient?
378
378
  var client = options;
379
- if (isSanityClient(client)) {
379
+ if (isSanityClientLike(client)) {
380
380
  // Inherit config from client
381
- var _a = client.clientConfig, apiHost = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
381
+ var _a = client.clientConfig, apiUrl = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
382
+ var apiHost = apiUrl || 'https://api.sanity.io';
382
383
  return new ImageUrlBuilder(null, {
383
384
  baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
384
385
  projectId: projectId,
385
- dataset: dataset
386
+ dataset: dataset,
386
387
  });
387
388
  }
388
389
  // Or just accept the options as given
@@ -395,7 +396,7 @@ var ImageUrlBuilder = /** @class */ (function () {
395
396
  ? __assign(__assign({}, (parent.options || {})), (options || {})) : __assign({}, (options || {})); // Copy options
396
397
  }
397
398
  ImageUrlBuilder.prototype.withOptions = function (options) {
398
- var baseUrl = options.baseUrl || '';
399
+ var baseUrl = options.baseUrl || this.options.baseUrl;
399
400
  var newOptions = { baseUrl: baseUrl };
400
401
  for (var key in options) {
401
402
  if (options.hasOwnProperty(key)) {
@@ -489,7 +490,7 @@ var ImageUrlBuilder = /** @class */ (function () {
489
490
  ImageUrlBuilder.prototype.flipHorizontal = function () {
490
491
  return this.withOptions({ flipHorizontal: true });
491
492
  };
492
- // Flip image verically
493
+ // Flip image vertically
493
494
  ImageUrlBuilder.prototype.flipVertical = function () {
494
495
  return this.withOptions({ flipVertical: true });
495
496
  };
@@ -519,22 +520,26 @@ var ImageUrlBuilder = /** @class */ (function () {
519
520
  }
520
521
  return this.withOptions({ auto: value });
521
522
  };
523
+ // Specify the number of pixels to pad the image
524
+ ImageUrlBuilder.prototype.pad = function (pad) {
525
+ return this.withOptions({ pad: pad });
526
+ };
522
527
  // Gets the url based on the submitted parameters
523
528
  ImageUrlBuilder.prototype.url = function () {
524
529
  return urlForImage_1$1.default(this.options);
525
530
  };
526
- // Synonym for url()
531
+ // Alias for url()
527
532
  ImageUrlBuilder.prototype.toString = function () {
528
533
  return this.url();
529
534
  };
530
535
  return ImageUrlBuilder;
531
536
  }());
532
537
  exports.ImageUrlBuilder = ImageUrlBuilder;
533
-
538
+ //# sourceMappingURL=builder.js.map
534
539
  });
535
540
 
536
541
  _commonjsHelpers.unwrapExports(builder);
537
- var builder_1 = builder.ImageUrlBuilder;
542
+ builder.ImageUrlBuilder;
538
543
 
539
544
  var node = _commonjsHelpers.createCommonjsModule(function (module) {
540
545
  var __importDefault = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__importDefault) || function (mod) {
@@ -542,66 +547,10 @@ var __importDefault = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commo
542
547
  };
543
548
  var builder_1 = __importDefault(builder);
544
549
  module.exports = builder_1.default;
545
-
550
+ //# sourceMappingURL=index.js.map
546
551
  });
547
552
 
548
553
  var imageUrlBuilder = _commonjsHelpers.unwrapExports(node);
549
554
 
550
- // Sanity image auto formating
551
-
552
- function urlFor(_ref) {
553
- var client = _ref.client,
554
- source = _ref.source,
555
- _ref$imageWidth = _ref.imageWidth,
556
- imageWidth = _ref$imageWidth === undefined ? null : _ref$imageWidth,
557
- _ref$imageHeight = _ref.imageHeight,
558
- imageHeight = _ref$imageHeight === undefined ? null : _ref$imageHeight,
559
- _ref$imageMaxHeight = _ref.imageMaxHeight,
560
- imageMaxHeight = _ref$imageMaxHeight === undefined ? null : _ref$imageMaxHeight,
561
- _ref$imageFit = _ref.imageFit,
562
- imageFit = _ref$imageFit === undefined ? 'crop' : _ref$imageFit;
563
-
564
-
565
- // when imageFit value = null and it's specifically provided, it's value not gets defaulted to 'crop'
566
- if (!imageFit) {
567
- imageFit = 'crop';
568
- }
569
-
570
- //checks for old usage so it wont break view pages
571
- //All view pages are using urlFor(client, thumbnail.asset).url()
572
- //will need to update to urlFor({client, source: thumbnail.asset})
573
- //All framework components are using new format
574
- if (arguments[1] && arguments[1]._ref) {
575
- return imageUrlBuilder(client).image(source).auto('format');
576
- }
577
-
578
- if (imageWidth && imageHeight) {
579
- imageMaxHeight = imageHeight;
580
- imageHeight = null;
581
- }
582
-
583
- var builder = imageUrlBuilder(client);
584
- var url = builder.image(source);
585
- if (imageWidth) url = url.width(imageWidth);
586
- if (imageHeight) url = url.height(imageHeight);
587
- if (imageMaxHeight) url = url.maxHeight(imageMaxHeight);
588
- if (imageFit) url = url.fit(imageFit);
589
- url = url.auto('format').url();
590
-
591
- // Appending file name in URL
592
- var originalFilename = source && source.originalFilename ? source.originalFilename : source && source.asset && source.asset.originalFilename && source.asset.originalFilename;
593
- if (originalFilename) {
594
- var _url$split = url.split('?'),
595
- _url$split2 = slicedToArray._slicedToArray(_url$split, 2),
596
- path = _url$split2[0],
597
- queryString = _url$split2[1];
598
-
599
- originalFilename = encodeURIComponent(originalFilename);
600
- url = queryString ? path + '/' + originalFilename + '?' + queryString : path + '/' + originalFilename;
601
- }
602
-
603
- return url;
604
- }
605
-
555
+ exports.imageUrlBuilder = imageUrlBuilder;
606
556
  exports.node = node;
607
- exports.urlFor = urlFor;