@mjhls/mjh-framework 1.0.250 → 1.0.252

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 +171 -171
  2. package/dist/cjs/{AdSlot-58638d45.js → AdSlot-9f3af35d.js} +4 -2
  3. package/dist/cjs/DeckContent.js +10 -10
  4. package/dist/cjs/DeckQueue.js +1 -1
  5. package/dist/cjs/{GridContent-85c7b623.js → GridContent-007573a0.js} +3 -3
  6. package/dist/cjs/GridContent.js +3 -3
  7. package/dist/cjs/IssueContentDeck.js +1 -1
  8. package/dist/cjs/IssueDeck.js +1 -1
  9. package/dist/cjs/MasterDeck.js +11 -11
  10. package/dist/cjs/{Normal-77dfd44a.js → Normal-503df349.js} +30 -30
  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 +2 -2
  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 +738 -542
  22. package/dist/esm/{AdSlot-1e5a6a2f.js → AdSlot-0f82b407.js} +4 -2
  23. package/dist/esm/DeckContent.js +10 -10
  24. package/dist/esm/DeckQueue.js +1 -1
  25. package/dist/esm/{GridContent-0ee59a38.js → GridContent-9e96754b.js} +2 -2
  26. package/dist/esm/GridContent.js +3 -3
  27. package/dist/esm/IssueContentDeck.js +1 -1
  28. package/dist/esm/IssueDeck.js +1 -1
  29. package/dist/esm/MasterDeck.js +11 -11
  30. package/dist/esm/{Normal-48ff37c3.js → Normal-dfda02dc.js} +30 -30
  31. package/dist/esm/PublicationDeck.js +1 -1
  32. package/dist/esm/QueueDeckExpanded.js +1 -1
  33. package/dist/esm/{TaxonomyCard-ee1a22ae.js → TaxonomyCard-2d0ab635.js} +1 -1
  34. package/dist/esm/TaxonomyCard.js +2 -2
  35. package/dist/esm/TemplateNormal.js +2 -2
  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 +740 -547
  42. package/package.json +102 -102
@@ -7,7 +7,7 @@ var React = require('react');
7
7
  var React__default = _interopDefault(React);
8
8
  require('prop-types');
9
9
  require('react-dom');
10
- var index$1 = require('./index-39beccb3.js');
10
+ var index$1 = require('./index-be0c82be.js');
11
11
  var index$2 = require('./index-fa0fb52c.js');
12
12
  var entities = require('./entities-310b46ee.js');
13
13
  var Media$1 = _interopDefault(require('react-bootstrap/Media'));
@@ -19,7 +19,7 @@ var Router = require('next/router');
19
19
  var Router__default = _interopDefault(Router);
20
20
  require('react-dom');
21
21
  require('./index-fa0fb52c.js');
22
- var YoutubeGroup = require('./YoutubeGroup-fd44f8a0.js');
22
+ var YoutubeGroup = require('./YoutubeGroup-5f480446.js');
23
23
  var index_esm = require('./index.esm-340d3792.js');
24
24
 
25
25
  var VideoSeriesListing = function (_React$Component) {
@@ -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,