@mjhls/mjh-framework 1.0.711-beta.0 → 1.0.711-beta.2

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 (40) hide show
  1. package/dist/cjs/AdSlotsProvider.js +7 -109
  2. package/dist/cjs/ArticleCarousel.js +2 -1
  3. package/dist/cjs/ArticleSeriesListing.js +2 -1
  4. package/dist/cjs/Auth.js +6 -6
  5. package/dist/cjs/BrowseVideosListing.js +2 -1
  6. package/dist/cjs/EventsDeck.js +10 -10
  7. package/dist/cjs/ExternalResources.js +5 -4
  8. package/dist/cjs/GroupDeck.js +4 -3
  9. package/dist/cjs/PartnerDetailListing.js +3 -2
  10. package/dist/cjs/TaxonomyDescription.js +3 -2
  11. package/dist/cjs/VideoProgramLandingPage.js +247 -0
  12. package/dist/cjs/VideoSeriesLandingPage.js +177 -0
  13. package/dist/cjs/VideoSeriesListing.js +2 -1
  14. package/dist/cjs/View.js +3 -2
  15. package/dist/cjs/YoutubeGroup.js +4 -3
  16. package/dist/cjs/getRelatedArticle.js +8 -8
  17. package/dist/cjs/getSerializers.js +3 -2
  18. package/dist/cjs/index-187c967e.js +54 -0
  19. package/dist/cjs/{index-b0cfd1de.js → index-9b8a57e5.js} +5 -5
  20. package/dist/cjs/index.js +8 -2
  21. package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-5054361f.js} +0 -50
  22. package/dist/esm/AdSlotsProvider.js +9 -111
  23. package/dist/esm/ArticleCarousel.js +2 -1
  24. package/dist/esm/ArticleSeriesListing.js +2 -1
  25. package/dist/esm/BrowseVideosListing.js +2 -1
  26. package/dist/esm/ExternalResources.js +3 -2
  27. package/dist/esm/GroupDeck.js +2 -1
  28. package/dist/esm/PartnerDetailListing.js +3 -2
  29. package/dist/esm/TaxonomyDescription.js +3 -2
  30. package/dist/esm/VideoProgramLandingPage.js +242 -0
  31. package/dist/esm/VideoSeriesLandingPage.js +172 -0
  32. package/dist/esm/VideoSeriesListing.js +2 -1
  33. package/dist/esm/View.js +3 -2
  34. package/dist/esm/YoutubeGroup.js +2 -1
  35. package/dist/esm/getSerializers.js +3 -2
  36. package/dist/esm/{index-c6440f6f.js → index-4d1ed4ba.js} +1 -1
  37. package/dist/esm/index-c7e2ac95.js +52 -0
  38. package/dist/esm/index.js +6 -2
  39. package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-0cd4c7a6.js} +2 -51
  40. package/package.json +1 -1
@@ -1,53 +1,4 @@
1
- import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
2
-
3
- var getYoutubeId = createCommonjsModule(function (module, exports) {
4
- (function (root, factory) {
5
- {
6
- module.exports = factory();
7
- }
8
- }(commonjsGlobal, function (exports) {
9
-
10
- return function (url, opts) {
11
- if (opts == undefined) {
12
- opts = {fuzzy: true};
13
- }
14
-
15
- if (/youtu\.?be/.test(url)) {
16
-
17
- // Look first for known patterns
18
- var i;
19
- var patterns = [
20
- /youtu\.be\/([^#\&\?]{11})/, // youtu.be/<id>
21
- /\?v=([^#\&\?]{11})/, // ?v=<id>
22
- /\&v=([^#\&\?]{11})/, // &v=<id>
23
- /embed\/([^#\&\?]{11})/, // embed/<id>
24
- /\/v\/([^#\&\?]{11})/ // /v/<id>
25
- ];
26
-
27
- // If any pattern matches, return the ID
28
- for (i = 0; i < patterns.length; ++i) {
29
- if (patterns[i].test(url)) {
30
- return patterns[i].exec(url)[1];
31
- }
32
- }
33
-
34
- if (opts.fuzzy) {
35
- // If that fails, break it apart by certain characters and look
36
- // for the 11 character key
37
- var tokens = url.split(/[\/\&\?=#\.\s]/g);
38
- for (i = 0; i < tokens.length; ++i) {
39
- if (/^[^#\&\?]{11}$/.test(tokens[i])) {
40
- return tokens[i];
41
- }
42
- }
43
- }
44
- }
45
-
46
- return null;
47
- };
48
-
49
- }));
50
- });
1
+ import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
51
2
 
52
3
  var smoothscroll = createCommonjsModule(function (module, exports) {
53
4
  /* smoothscroll v0.4.4 - 2019 - Dustan Kasten, Jeremias Menichelli - MIT License */
@@ -482,4 +433,4 @@ var smoothscroll = createCommonjsModule(function (module, exports) {
482
433
  });
483
434
  var smoothscroll_1 = smoothscroll.polyfill;
484
435
 
485
- export { getYoutubeId as g, smoothscroll as s };
436
+ export { smoothscroll as s };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.711-beta.0",
3
+ "version": "1.0.711-beta.2",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",