@mjhls/mjh-framework 1.0.874-ad-test-v4 → 1.0.874-beta.0

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 (313) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +9 -10
  3. package/dist/cjs/AD300x250.js +27 -62
  4. package/dist/cjs/AD300x250x600.js +28 -29
  5. package/dist/cjs/AD728x90.js +31 -32
  6. package/dist/cjs/ADFloatingFooter.js +30 -31
  7. package/dist/cjs/ADFooter.js +12 -13
  8. package/dist/cjs/ADGutter.js +30 -31
  9. package/dist/cjs/{ADInfeed-b9e5ff3f.js → ADInfeed-c628363f.js} +13 -15
  10. package/dist/cjs/ADSkyscraper.js +30 -31
  11. package/dist/cjs/ADSponsoredResources.js +30 -31
  12. package/dist/cjs/ADWebcast.js +30 -31
  13. package/dist/cjs/ADWelcome.js +31 -32
  14. package/dist/cjs/{ADlgInfeed-3cdefebd.js → ADlgInfeed-a827d389.js} +10 -11
  15. package/dist/cjs/AccordionPanel.js +27 -29
  16. package/dist/cjs/AdSlot.js +33 -34
  17. package/dist/cjs/AdSlotsProvider.js +909 -18
  18. package/dist/cjs/AlgoliaSearch.js +1274 -1392
  19. package/dist/cjs/AlphabeticList.js +23 -24
  20. package/dist/cjs/ArticleCarousel.js +19 -20
  21. package/dist/cjs/ArticleProgramLandingPage.js +60 -61
  22. package/dist/cjs/ArticleSeriesLandingPage.js +40 -41
  23. package/dist/cjs/ArticleSeriesListing.js +59 -60
  24. package/dist/cjs/Auth.js +1504 -680
  25. package/dist/cjs/AuthWrapper.js +267 -309
  26. package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-02e827ae.js} +13 -14
  27. package/dist/cjs/Beam.js +6 -6
  28. package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-091a991f.js} +55 -56
  29. package/dist/cjs/Breadcrumbs.js +25 -27
  30. package/dist/cjs/CMEDeck.js +81 -81
  31. package/dist/cjs/Column1.js +11 -14
  32. package/dist/cjs/Column2.js +31 -34
  33. package/dist/cjs/Column3.js +57 -60
  34. package/dist/cjs/ConferenceArticleCard.js +40 -41
  35. package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
  36. package/dist/cjs/DeckContent.js +101 -105
  37. package/dist/cjs/DeckQueue.js +87 -91
  38. package/dist/cjs/{Dfp-9be904d5.js → Dfp-14d2455c.js} +32 -33
  39. package/dist/cjs/EventsDeck.js +150 -157
  40. package/dist/cjs/ExternalResources.js +78 -79
  41. package/dist/cjs/Feature.js +27 -29
  42. package/dist/cjs/ForbesHero.js +40 -41
  43. package/dist/cjs/GridContent.js +231 -236
  44. package/dist/cjs/GridHero.js +42 -43
  45. package/dist/cjs/GroupDeck.js +57 -58
  46. package/dist/cjs/HamMagazine.js +138 -143
  47. package/dist/cjs/Header.js +12 -14
  48. package/dist/cjs/Hero.js +15 -16
  49. package/dist/cjs/HighlightenVideo.js +17 -18
  50. package/dist/cjs/HorizontalArticleListing.js +71 -72
  51. package/dist/cjs/HorizontalHero.js +27 -28
  52. package/dist/cjs/IssueContentDeck.js +71 -76
  53. package/dist/cjs/IssueDeck.js +70 -75
  54. package/dist/cjs/IssueLanding.js +93 -94
  55. package/dist/cjs/KMTracker.js +15 -15
  56. package/dist/cjs/LeftNav.js +37 -39
  57. package/dist/cjs/MasterDeck.js +78 -79
  58. package/dist/cjs/MediaSeriesLanding.js +1127 -1118
  59. package/dist/cjs/NavDvm.js +72 -77
  60. package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
  61. package/dist/cjs/NavMagazine.js +145 -150
  62. package/dist/cjs/NavNative.js +137 -145
  63. package/dist/cjs/OncliveHero.js +22 -22
  64. package/dist/cjs/OncliveLargeHero.js +70 -71
  65. package/dist/cjs/PageFilter.js +12 -13
  66. package/dist/cjs/PartnerDetailListing.js +3916 -116
  67. package/dist/cjs/PdfDownload.js +8 -9
  68. package/dist/cjs/PopUpModal.js +17 -19
  69. package/dist/cjs/PubSection.js +40 -41
  70. package/dist/cjs/PubToc.js +13 -14
  71. package/dist/cjs/PublicationDeck.js +65 -70
  72. package/dist/cjs/PublicationLanding.js +133 -137
  73. package/dist/cjs/QueueDeckExpanded.js +308 -308
  74. package/dist/cjs/RecentNews.js +21 -22
  75. package/dist/cjs/RelatedContent.js +57 -58
  76. package/dist/cjs/RelatedTopicsDropdown.js +29 -32
  77. package/dist/cjs/RolesDeck.js +27 -32
  78. package/dist/cjs/Search.js +16 -20
  79. package/dist/cjs/Segment.js +4 -4
  80. package/dist/cjs/SeriesListingDeck.js +36 -36
  81. package/dist/cjs/{SeriesSlider-ce3261cb.js → SeriesSlider-49b81b0b.js} +39 -40
  82. package/dist/cjs/SetCookie.js +1 -1
  83. package/dist/cjs/SideFooter.js +36 -37
  84. package/dist/cjs/SocialIcons.js +9 -10
  85. package/dist/cjs/{SocialSearchComponent-5ec44406.js → SocialSearchComponent-e8477ca3.js} +36 -40
  86. package/dist/cjs/SocialShare.js +29 -31
  87. package/dist/cjs/TaxonomyCard.js +61 -66
  88. package/dist/cjs/TaxonomyDescription.js +53 -54
  89. package/dist/cjs/TemplateNormal.js +72 -73
  90. package/dist/cjs/ThumbnailCard.js +24 -26
  91. package/dist/cjs/Ustream.js +27 -28
  92. package/dist/cjs/VerticalHero.js +19 -20
  93. package/dist/cjs/VideoProgramLandingPage.js +74 -78
  94. package/dist/cjs/VideoSeriesCard.js +32 -33
  95. package/dist/cjs/VideoSeriesFilter.js +16 -16
  96. package/dist/cjs/VideoSeriesLandingPage.js +49 -50
  97. package/dist/cjs/VideoSeriesListing.js +76 -77
  98. package/dist/cjs/View.js +268 -271
  99. package/dist/cjs/YahooHero.js +39 -40
  100. package/dist/cjs/YoutubeGroup.js +67 -68
  101. package/dist/cjs/{_is-array-54228b29.js → _is-array-aa52fa1e.js} +6 -6
  102. package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-05795553.js} +7 -7
  103. package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
  104. package/dist/cjs/{_object-sap-d1978572.js → _object-sap-171b9ea5.js} +1 -1
  105. package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-9bac8737.js} +2 -2
  106. package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-df19209d.js} +30 -30
  107. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
  108. package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-f3c44602.js} +35 -35
  109. package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
  110. package/dist/cjs/{define-property-e8404b64.js → define-property-21887c62.js} +6 -6
  111. package/dist/cjs/{defineProperty-9673846a.js → defineProperty-77a37684.js} +1 -1
  112. package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
  113. package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
  114. package/dist/cjs/{extends-7c86182f.js → extends-eed4f016.js} +7 -7
  115. package/dist/cjs/faundadb.js +19 -19
  116. package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.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 -43
  120. package/dist/cjs/{getTargeting-9d509319.js → getTargeting-8874437b.js} +12 -12
  121. package/dist/cjs/getTargeting.js +6 -6
  122. package/dist/cjs/iconBase-68959171.js +3 -0
  123. package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
  124. package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
  125. package/dist/cjs/{index-fc2f1ca2.js → index-98e01cb9.js} +12 -13
  126. package/dist/cjs/{index-efca863c.js → index-be0c82be.js} +30 -36
  127. package/dist/cjs/{index-6a2a3e03.js → index-cdacba23.js} +1063 -1089
  128. package/dist/cjs/{index-8041a4eb.js → index-e2e62963.js} +1 -11
  129. package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
  130. package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
  131. package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
  132. package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-e32d3e8e.js} +6 -3
  133. package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
  134. package/dist/cjs/index.js +164 -170
  135. package/dist/cjs/inherits-8d29278d.js +110 -0
  136. package/dist/cjs/{inherits-de66ea16.js → inherits-cba9c846.js} +19 -19
  137. package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
  138. package/dist/cjs/{keys-e982b3fa.js → keys-d207942e.js} +6 -6
  139. package/dist/cjs/{lodash-f0783643.js → lodash-fc2922d0.js} +31 -128
  140. package/dist/cjs/main-02daeefe.js +862 -0
  141. package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
  142. package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
  143. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
  144. package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-f6d4eaa8.js} +12 -12
  145. package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
  146. package/dist/cjs/{stringify-f7a37a8d.js → stringify-bbc68047.js} +5 -5
  147. package/dist/cjs/timeDifferenceCalc.js +1 -1
  148. package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-c9b8a0d0.js} +7 -7
  149. package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
  150. package/dist/cjs/{typeof-567e31ff.js → typeof-5f52cf64.js} +35 -35
  151. package/dist/cjs/urlFor.js +6 -6
  152. package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +4 -4
  153. package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
  154. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
  155. package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-e34bf324.js} +2 -2
  156. package/dist/esm/AD.js +7 -7
  157. package/dist/esm/AD300x250.js +24 -58
  158. package/dist/esm/AD300x250x600.js +25 -25
  159. package/dist/esm/AD728x90.js +28 -28
  160. package/dist/esm/ADFloatingFooter.js +27 -27
  161. package/dist/esm/ADFooter.js +9 -9
  162. package/dist/esm/ADGutter.js +27 -27
  163. package/dist/esm/{ADInfeed-6c6093ae.js → ADInfeed-8d5edcac.js} +11 -11
  164. package/dist/esm/ADSkyscraper.js +27 -27
  165. package/dist/esm/ADSponsoredResources.js +27 -27
  166. package/dist/esm/ADWebcast.js +27 -27
  167. package/dist/esm/ADWelcome.js +28 -28
  168. package/dist/esm/{ADlgInfeed-5d7386e8.js → ADlgInfeed-996c0199.js} +8 -8
  169. package/dist/esm/AccordionPanel.js +22 -22
  170. package/dist/esm/AdSlot.js +25 -25
  171. package/dist/esm/AdSlotsProvider.js +907 -15
  172. package/dist/esm/AlgoliaSearch.js +703 -820
  173. package/dist/esm/AlphabeticList.js +20 -20
  174. package/dist/esm/ArticleCarousel.js +16 -16
  175. package/dist/esm/ArticleProgramLandingPage.js +54 -54
  176. package/dist/esm/ArticleSeriesLandingPage.js +35 -35
  177. package/dist/esm/ArticleSeriesListing.js +55 -55
  178. package/dist/esm/Auth.js +1487 -659
  179. package/dist/esm/AuthWrapper.js +265 -306
  180. package/dist/esm/{AuthorComponent-46a745ba.js → AuthorComponent-e6f95c2f.js} +11 -11
  181. package/dist/esm/Beam.js +6 -6
  182. package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-e9b4ddcf.js} +35 -35
  183. package/dist/esm/Breadcrumbs.js +15 -15
  184. package/dist/esm/CMEDeck.js +77 -77
  185. package/dist/esm/Column1.js +9 -9
  186. package/dist/esm/Column2.js +28 -28
  187. package/dist/esm/Column3.js +54 -54
  188. package/dist/esm/ConferenceArticleCard.js +38 -38
  189. package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
  190. package/dist/esm/DeckContent.js +96 -96
  191. package/dist/esm/DeckQueue.js +82 -82
  192. package/dist/esm/{Dfp-4ca12f2e.js → Dfp-f867d061.js} +20 -20
  193. package/dist/esm/EventsDeck.js +127 -127
  194. package/dist/esm/ExternalResources.js +72 -72
  195. package/dist/esm/Feature.js +21 -21
  196. package/dist/esm/ForbesHero.js +33 -33
  197. package/dist/esm/GridContent.js +199 -199
  198. package/dist/esm/GridHero.js +35 -35
  199. package/dist/esm/GroupDeck.js +45 -45
  200. package/dist/esm/HamMagazine.js +114 -114
  201. package/dist/esm/Header.js +8 -8
  202. package/dist/esm/Hero.js +13 -13
  203. package/dist/esm/HighlightenVideo.js +14 -14
  204. package/dist/esm/HorizontalArticleListing.js +68 -68
  205. package/dist/esm/HorizontalHero.js +25 -25
  206. package/dist/esm/IssueContentDeck.js +59 -59
  207. package/dist/esm/IssueDeck.js +63 -63
  208. package/dist/esm/IssueLanding.js +90 -90
  209. package/dist/esm/KMTracker.js +15 -15
  210. package/dist/esm/LeftNav.js +33 -33
  211. package/dist/esm/MasterDeck.js +75 -75
  212. package/dist/esm/MediaSeriesLanding.js +851 -839
  213. package/dist/esm/NavDvm.js +57 -57
  214. package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
  215. package/dist/esm/NavMagazine.js +124 -124
  216. package/dist/esm/NavNative.js +114 -114
  217. package/dist/esm/OncliveHero.js +20 -19
  218. package/dist/esm/OncliveLargeHero.js +58 -58
  219. package/dist/esm/PageFilter.js +10 -10
  220. package/dist/esm/PartnerDetailListing.js +3912 -112
  221. package/dist/esm/PdfDownload.js +6 -6
  222. package/dist/esm/PopUpModal.js +12 -12
  223. package/dist/esm/PubSection.js +37 -37
  224. package/dist/esm/PubToc.js +10 -10
  225. package/dist/esm/PublicationDeck.js +56 -56
  226. package/dist/esm/PublicationLanding.js +120 -120
  227. package/dist/esm/QueueDeckExpanded.js +273 -273
  228. package/dist/esm/RecentNews.js +19 -19
  229. package/dist/esm/RelatedContent.js +51 -51
  230. package/dist/esm/RelatedTopicsDropdown.js +21 -21
  231. package/dist/esm/RolesDeck.js +25 -25
  232. package/dist/esm/Search.js +11 -11
  233. package/dist/esm/Segment.js +4 -4
  234. package/dist/esm/SeriesListingDeck.js +30 -30
  235. package/dist/esm/{SeriesSlider-485f514e.js → SeriesSlider-d555a1d2.js} +31 -31
  236. package/dist/esm/SetCookie.js +1 -1
  237. package/dist/esm/SideFooter.js +32 -32
  238. package/dist/esm/SocialIcons.js +7 -7
  239. package/dist/esm/{SocialSearchComponent-a5b11613.js → SocialSearchComponent-d240935c.js} +30 -30
  240. package/dist/esm/SocialShare.js +25 -25
  241. package/dist/esm/TaxonomyCard.js +56 -56
  242. package/dist/esm/TaxonomyDescription.js +48 -48
  243. package/dist/esm/TemplateNormal.js +68 -68
  244. package/dist/esm/ThumbnailCard.js +17 -17
  245. package/dist/esm/Ustream.js +24 -24
  246. package/dist/esm/VerticalHero.js +17 -17
  247. package/dist/esm/VideoProgramLandingPage.js +65 -65
  248. package/dist/esm/VideoSeriesCard.js +26 -26
  249. package/dist/esm/VideoSeriesFilter.js +13 -13
  250. package/dist/esm/VideoSeriesLandingPage.js +40 -40
  251. package/dist/esm/VideoSeriesListing.js +72 -72
  252. package/dist/esm/View.js +250 -249
  253. package/dist/esm/YahooHero.js +33 -33
  254. package/dist/esm/YoutubeGroup.js +52 -52
  255. package/dist/esm/{_is-array-893ab020.js → _is-array-4df618a6.js} +6 -6
  256. package/dist/esm/{_iter-detect-f089461c.js → _iter-detect-130ee549.js} +7 -7
  257. package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
  258. package/dist/esm/{_object-sap-169d6272.js → _object-sap-8b8ea5a9.js} +1 -1
  259. package/dist/esm/{_object-to-array-50a6b9a3.js → _object-to-array-c54dd835.js} +2 -2
  260. package/dist/esm/{asyncToGenerator-b4dfe691.js → asyncToGenerator-7bf8bc4d.js} +30 -30
  261. package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
  262. package/dist/esm/{core.get-iterator-method-e903ff31.js → core.get-iterator-method-86d4db69.js} +36 -36
  263. package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
  264. package/dist/esm/{define-property-99e66838.js → define-property-6d26cb48.js} +6 -6
  265. package/dist/esm/{defineProperty-8fa0bc8d.js → defineProperty-d7d9b577.js} +1 -1
  266. package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
  267. package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
  268. package/dist/esm/{extends-dc6a71fd.js → extends-5b1796d4.js} +7 -7
  269. package/dist/esm/faundadb.js +5 -5
  270. package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
  271. package/dist/esm/getRelatedArticle.js +12 -12
  272. package/dist/esm/getRootDocGroup.js +4 -4
  273. package/dist/esm/getSerializers.js +43 -43
  274. package/dist/esm/{getTargeting-ff2c9409.js → getTargeting-277c801e.js} +11 -11
  275. package/dist/esm/getTargeting.js +6 -6
  276. package/dist/esm/{index-2446af28.js → index-41a678ea.js} +6 -6
  277. package/dist/esm/{index-35bdcc81.js → index-5f7e79e7.js} +10 -10
  278. package/dist/esm/{index-0dbff1d1.js → index-73819142.js} +30 -36
  279. package/dist/esm/{index-67e1773f.js → index-aaa2dae0.js} +2 -11
  280. package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
  281. package/dist/esm/{index-5bbd1562.js → index-f51152f7.js} +1021 -1037
  282. package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
  283. package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
  284. package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
  285. package/dist/esm/{index.esm-c6715e80.js → index.esm-f8aaeeeb.js} +6 -3
  286. package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
  287. package/dist/esm/index.js +137 -140
  288. package/dist/esm/{inherits-8a801a18.js → inherits-2409637d.js} +18 -18
  289. package/dist/esm/inherits-77d5e4fc.js +101 -0
  290. package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
  291. package/dist/esm/{keys-425c8ab0.js → keys-69989821.js} +6 -6
  292. package/dist/esm/{lodash-f97fd99a.js → lodash-17fdfebb.js} +31 -128
  293. package/dist/esm/main-e4a934b2.js +851 -0
  294. package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
  295. package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
  296. package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
  297. package/dist/esm/{slicedToArray-ca2c8b8d.js → slicedToArray-67a08c9c.js} +12 -12
  298. package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
  299. package/dist/esm/stringify-70b72959.js +15 -0
  300. package/dist/esm/timeDifferenceCalc.js +1 -1
  301. package/dist/esm/{toConsumableArray-7b1c0e23.js → toConsumableArray-32282905.js} +7 -7
  302. package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
  303. package/dist/esm/{typeof-83d9eb10.js → typeof-c05a82ba.js} +35 -35
  304. package/dist/esm/urlFor.js +4 -4
  305. package/dist/esm/{ustream-api-41166338.js → ustream-api-4c4fe0ba.js} +4 -4
  306. package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
  307. package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
  308. package/dist/esm/{web.dom.iterable-fdf034f5.js → web.dom.iterable-f8f967cd.js} +2 -2
  309. package/package.json +111 -111
  310. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  311. package/dist/cjs/main-025fdc78.js +0 -973
  312. package/dist/esm/main-b5c5aac1.js +0 -961
  313. package/dist/esm/stringify-c21932b3.js +0 -15
@@ -20,7 +20,7 @@ function parseAssetId(ref) {
20
20
  return { id: id, width: width, height: height, format: format };
21
21
  }
22
22
  exports.default = parseAssetId;
23
- //# sourceMappingURL=parseAssetId.js.map
23
+
24
24
  });
25
25
 
26
26
  _commonjsHelpers.unwrapExports(parseAssetId_1);
@@ -60,35 +60,35 @@ function parseSource(source) {
60
60
  if (typeof source === 'string' && isUrl(source)) {
61
61
  // Someone passed an existing image url?
62
62
  image = {
63
- asset: { _ref: urlToId(source) },
63
+ asset: { _ref: urlToId(source) }
64
64
  };
65
65
  }
66
66
  else if (typeof source === 'string') {
67
67
  // Just an asset id
68
68
  image = {
69
- asset: { _ref: source },
69
+ asset: { _ref: source }
70
70
  };
71
71
  }
72
72
  else if (isRef(source)) {
73
73
  // We just got passed an asset directly
74
74
  image = {
75
- asset: source,
75
+ asset: source
76
76
  };
77
77
  }
78
78
  else if (isAsset(source)) {
79
79
  // If we were passed an image asset document
80
80
  image = {
81
81
  asset: {
82
- _ref: source._id || '',
83
- },
82
+ _ref: source._id || ''
83
+ }
84
84
  };
85
85
  }
86
86
  else if (isAssetStub(source)) {
87
87
  // If we were passed a partial asset (`url`, but no `_id`)
88
88
  image = {
89
89
  asset: {
90
- _ref: urlToId(source.asset.url),
91
- },
90
+ _ref: urlToId(source.asset.url)
91
+ }
92
92
  };
93
93
  }
94
94
  else if (typeof source.asset === 'object') {
@@ -129,7 +129,7 @@ function applyDefaults(image) {
129
129
  left: 0,
130
130
  top: 0,
131
131
  bottom: 0,
132
- right: 0,
132
+ right: 0
133
133
  };
134
134
  }
135
135
  if (!result.hotspot) {
@@ -137,12 +137,12 @@ function applyDefaults(image) {
137
137
  x: 0.5,
138
138
  y: 0.5,
139
139
  height: 1.0,
140
- width: 1.0,
140
+ width: 1.0
141
141
  };
142
142
  }
143
143
  return result;
144
144
  }
145
- //# sourceMappingURL=parseSource.js.map
145
+
146
146
  });
147
147
 
148
148
  _commonjsHelpers.unwrapExports(parseSource_1);
@@ -184,8 +184,7 @@ exports.SPEC_NAME_TO_URL_NAME_MAPPINGS = [
184
184
  ['crop', 'crop'],
185
185
  ['saturation', 'sat'],
186
186
  ['auto', 'auto'],
187
- ['dpr', 'dpr'],
188
- ['pad', 'pad'],
187
+ ['dpr', 'dpr']
189
188
  ];
190
189
  function urlForImage(options) {
191
190
  var spec = __assign({}, (options || {}));
@@ -204,7 +203,7 @@ function urlForImage(options) {
204
203
  left: cropLeft,
205
204
  top: cropTop,
206
205
  width: Math.round(asset.width - image.crop.right * asset.width - cropLeft),
207
- height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop),
206
+ height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop)
208
207
  };
209
208
  // Compute hot spot rect in terms of pixel coordinates
210
209
  var hotSpotVerticalRadius = (image.hotspot.height * asset.height) / 2;
@@ -215,7 +214,7 @@ function urlForImage(options) {
215
214
  left: hotSpotCenterX - hotSpotHorizontalRadius,
216
215
  top: hotSpotCenterY - hotSpotVerticalRadius,
217
216
  right: hotSpotCenterX + hotSpotHorizontalRadius,
218
- bottom: hotSpotCenterY + hotSpotVerticalRadius,
217
+ bottom: hotSpotCenterY + hotSpotVerticalRadius
219
218
  };
220
219
  // If irrelevant, or if we are requested to: don't perform crop/fit based on
221
220
  // the crop/hotspot.
@@ -297,7 +296,7 @@ function fit(source, spec) {
297
296
  left: Math.round(left),
298
297
  top: Math.round(top_2),
299
298
  width: Math.round(width),
300
- height: Math.round(height),
299
+ height: Math.round(height)
301
300
  };
302
301
  }
303
302
  else {
@@ -319,21 +318,21 @@ function fit(source, spec) {
319
318
  left: Math.max(0, Math.floor(left)),
320
319
  top: Math.max(0, Math.floor(top_3)),
321
320
  width: Math.round(width),
322
- height: Math.round(height),
321
+ height: Math.round(height)
323
322
  };
324
323
  }
325
324
  return {
326
325
  width: imgWidth,
327
326
  height: imgHeight,
328
- rect: cropRect,
327
+ rect: cropRect
329
328
  };
330
329
  }
331
- //# sourceMappingURL=urlForImage.js.map
330
+
332
331
  });
333
332
 
334
333
  _commonjsHelpers.unwrapExports(urlForImage_1);
335
- urlForImage_1.parseSource;
336
- urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
334
+ var urlForImage_2 = urlForImage_1.parseSource;
335
+ var urlForImage_3 = urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
337
336
 
338
337
  var builder = _commonjsHelpers.createCommonjsModule(function (module, exports) {
339
338
  var __assign = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__assign) || function () {
@@ -359,7 +358,7 @@ var urlForImage_1$1 = __importStar(urlForImage_1);
359
358
  var validFits = ['clip', 'crop', 'fill', 'fillmax', 'max', 'scale', 'min'];
360
359
  var validCrops = ['top', 'bottom', 'left', 'right', 'center', 'focalpoint', 'entropy'];
361
360
  var validAutoModes = ['format'];
362
- function isSanityClientLike(client) {
361
+ function isSanityClient(client) {
363
362
  return client ? typeof client.clientConfig === 'object' : false;
364
363
  }
365
364
  function rewriteSpecName(key) {
@@ -376,14 +375,13 @@ function rewriteSpecName(key) {
376
375
  function urlBuilder(options) {
377
376
  // Did we get a SanityClient?
378
377
  var client = options;
379
- if (isSanityClientLike(client)) {
378
+ if (isSanityClient(client)) {
380
379
  // Inherit config from client
381
- var _a = client.clientConfig, apiUrl = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
382
- var apiHost = apiUrl || 'https://api.sanity.io';
380
+ var _a = client.clientConfig, apiHost = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
383
381
  return new ImageUrlBuilder(null, {
384
382
  baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
385
383
  projectId: projectId,
386
- dataset: dataset,
384
+ dataset: dataset
387
385
  });
388
386
  }
389
387
  // Or just accept the options as given
@@ -396,7 +394,7 @@ var ImageUrlBuilder = /** @class */ (function () {
396
394
  ? __assign(__assign({}, (parent.options || {})), (options || {})) : __assign({}, (options || {})); // Copy options
397
395
  }
398
396
  ImageUrlBuilder.prototype.withOptions = function (options) {
399
- var baseUrl = options.baseUrl || this.options.baseUrl;
397
+ var baseUrl = options.baseUrl || '';
400
398
  var newOptions = { baseUrl: baseUrl };
401
399
  for (var key in options) {
402
400
  if (options.hasOwnProperty(key)) {
@@ -490,7 +488,7 @@ var ImageUrlBuilder = /** @class */ (function () {
490
488
  ImageUrlBuilder.prototype.flipHorizontal = function () {
491
489
  return this.withOptions({ flipHorizontal: true });
492
490
  };
493
- // Flip image vertically
491
+ // Flip image verically
494
492
  ImageUrlBuilder.prototype.flipVertical = function () {
495
493
  return this.withOptions({ flipVertical: true });
496
494
  };
@@ -520,26 +518,22 @@ var ImageUrlBuilder = /** @class */ (function () {
520
518
  }
521
519
  return this.withOptions({ auto: value });
522
520
  };
523
- // Specify the number of pixels to pad the image
524
- ImageUrlBuilder.prototype.pad = function (pad) {
525
- return this.withOptions({ pad: pad });
526
- };
527
521
  // Gets the url based on the submitted parameters
528
522
  ImageUrlBuilder.prototype.url = function () {
529
523
  return urlForImage_1$1.default(this.options);
530
524
  };
531
- // Alias for url()
525
+ // Synonym for url()
532
526
  ImageUrlBuilder.prototype.toString = function () {
533
527
  return this.url();
534
528
  };
535
529
  return ImageUrlBuilder;
536
530
  }());
537
531
  exports.ImageUrlBuilder = ImageUrlBuilder;
538
- //# sourceMappingURL=builder.js.map
532
+
539
533
  });
540
534
 
541
535
  _commonjsHelpers.unwrapExports(builder);
542
- builder.ImageUrlBuilder;
536
+ var builder_1 = builder.ImageUrlBuilder;
543
537
 
544
538
  var node = _commonjsHelpers.createCommonjsModule(function (module) {
545
539
  var __importDefault = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__importDefault) || function (mod) {
@@ -547,7 +541,7 @@ var __importDefault = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commo
547
541
  };
548
542
  var builder_1 = __importDefault(builder);
549
543
  module.exports = builder_1.default;
550
- //# sourceMappingURL=index.js.map
544
+
551
545
  });
552
546
 
553
547
  var imageUrlBuilder = _commonjsHelpers.unwrapExports(node);