@mjhls/mjh-framework 1.0.238 → 1.0.239

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 (42) hide show
  1. package/README.md +174 -174
  2. package/dist/cjs/DeckContent.js +9 -9
  3. package/dist/cjs/DeckQueue.js +1 -1
  4. package/dist/cjs/{GridContent-53e78cbf.js → GridContent-21bc198f.js} +2 -2
  5. package/dist/cjs/GridContent.js +2 -2
  6. package/dist/cjs/IssueContentDeck.js +1 -1
  7. package/dist/cjs/IssueDeck.js +1 -1
  8. package/dist/cjs/{MasterDeck-91c6ad85.js → MasterDeck-f8fbac3c.js} +9 -9
  9. package/dist/cjs/MasterDeck.js +2 -2
  10. package/dist/cjs/{Normal-a94a1ec8.js → Normal-c89b709d.js} +31 -31
  11. package/dist/cjs/PublicationDeck.js +1 -1
  12. package/dist/cjs/QueueDeckExpanded.js +1 -1
  13. package/dist/cjs/{TaxonomyCard-b5074d6e.js → TaxonomyCard-e3566492.js} +1 -1
  14. package/dist/cjs/TaxonomyCard.js +2 -2
  15. package/dist/cjs/TemplateNormal.js +1 -1
  16. package/dist/cjs/ThumbnailCard.js +1 -1
  17. package/dist/cjs/VideoSeriesListing.js +1 -1
  18. package/dist/cjs/{YoutubeGroup-fd44f8a0.js → YoutubeGroup-5f480446.js} +4 -4
  19. package/dist/cjs/YoutubeGroup.js +1 -1
  20. package/dist/cjs/{index-39beccb3.js → index-be0c82be.js} +1 -2
  21. package/dist/cjs/index.js +515 -527
  22. package/dist/esm/DeckContent.js +9 -9
  23. package/dist/esm/DeckQueue.js +1 -1
  24. package/dist/esm/{GridContent-f5bc4d75.js → GridContent-73c97039.js} +1 -1
  25. package/dist/esm/GridContent.js +2 -2
  26. package/dist/esm/IssueContentDeck.js +1 -1
  27. package/dist/esm/IssueDeck.js +1 -1
  28. package/dist/esm/{MasterDeck-5dd97a66.js → MasterDeck-238f31d7.js} +9 -9
  29. package/dist/esm/MasterDeck.js +2 -2
  30. package/dist/esm/{Normal-357f00d1.js → Normal-fdd55386.js} +31 -31
  31. package/dist/esm/PublicationDeck.js +1 -1
  32. package/dist/esm/QueueDeckExpanded.js +1 -1
  33. package/dist/esm/{TaxonomyCard-f74512cb.js → TaxonomyCard-a7b7ded8.js} +1 -1
  34. package/dist/esm/TaxonomyCard.js +2 -2
  35. package/dist/esm/TemplateNormal.js +1 -1
  36. package/dist/esm/ThumbnailCard.js +1 -1
  37. package/dist/esm/VideoSeriesListing.js +1 -1
  38. package/dist/esm/{YoutubeGroup-1b3eca73.js → YoutubeGroup-78d93d44.js} +4 -4
  39. package/dist/esm/YoutubeGroup.js +1 -1
  40. package/dist/esm/{index-3849e3fe.js → index-73819142.js} +1 -2
  41. package/dist/esm/index.js +519 -531
  42. package/package.json +101 -101
@@ -57,10 +57,10 @@ var getYoutubeId = _commonjsHelpers.createCommonjsModule(function (module, expor
57
57
  }));
58
58
  });
59
59
 
60
- /*
61
- GROQ query -
62
- accepts an array of title, URL
63
- `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
60
+ /*
61
+ GROQ query -
62
+ accepts an array of title, URL
63
+ `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
64
64
  */
65
65
  var YoutubeGroup = function YoutubeGroup(props) {
66
66
  // Props should be an array of objects containing Thumbnail, title, and URL
@@ -6,7 +6,7 @@ require('prop-types');
6
6
  require('next/link');
7
7
  require('react-dom');
8
8
  require('./index-fa0fb52c.js');
9
- var YoutubeGroup = require('./YoutubeGroup-fd44f8a0.js');
9
+ var YoutubeGroup = require('./YoutubeGroup-5f480446.js');
10
10
 
11
11
 
12
12
 
@@ -377,8 +377,7 @@ function urlBuilder(options) {
377
377
  var client = options;
378
378
  if (isSanityClient(client)) {
379
379
  // Inherit config from client
380
- var _a = client.clientConfig, apiUrl = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
381
- var apiHost = apiUrl || 'https://api.sanity.io';
380
+ var _a = client.clientConfig, apiHost = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
382
381
  return new ImageUrlBuilder(null, {
383
382
  baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
384
383
  projectId: projectId,