@mjhls/mjh-framework 1.0.1016 → 1.0.1017-blanktagremoval-v2

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 (82) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AlgoliaSearch.js +72 -108
  3. package/dist/cjs/ArticleProgramLandingPage.js +2 -2
  4. package/dist/cjs/Auth.js +1 -1
  5. package/dist/cjs/AuthWrapper.js +3 -65
  6. package/dist/cjs/Column2.js +5 -3
  7. package/dist/cjs/Column3.js +1 -1
  8. package/dist/cjs/ExternalResources.js +5 -5
  9. package/dist/cjs/HamMagazine.js +43 -41
  10. package/dist/cjs/HorizontalArticleListing.js +2 -2
  11. package/dist/cjs/{ImageSlider-1ec0408b.js → ImageSlider-50807a77.js} +114 -159
  12. package/dist/cjs/IssueLanding.js +2 -2
  13. package/dist/cjs/LeftNav.js +14 -15
  14. package/dist/cjs/{MediaSeriesCard-7f8ea2ea.js → MediaSeriesCard-02a04189.js} +1 -1
  15. package/dist/cjs/MediaSeriesLanding.js +5 -5
  16. package/dist/cjs/MediaSeriesLandingPaginated.js +5 -5
  17. package/dist/cjs/NavDvm.js +31 -29
  18. package/dist/cjs/{NavFooter-880e9d87.js → NavFooter-b37e3eed.js} +5 -4
  19. package/dist/cjs/NavMagazine.js +41 -39
  20. package/dist/cjs/NavNative.js +46 -46
  21. package/dist/cjs/PartnerDetailListing.js +26 -25
  22. package/dist/cjs/PartnerDetailListingPaginated.js +29 -28
  23. package/dist/cjs/PodcastsLanding.js +3 -3
  24. package/dist/cjs/SideFooter.js +10 -8
  25. package/dist/cjs/{SocialSearchComponent-ca9c0c45.js → SocialSearchComponent-e30b4dea.js} +1 -1
  26. package/dist/cjs/TaxonomyCard.js +10 -9
  27. package/dist/cjs/TaxonomyDescription.js +2 -2
  28. package/dist/cjs/TemplateNormal.js +4 -4
  29. package/dist/cjs/{Tooltip-71754b2a.js → Tooltip-8011d690.js} +234 -257
  30. package/dist/cjs/VideoProgramLandingPage.js +2 -2
  31. package/dist/cjs/View.js +3 -3
  32. package/dist/cjs/{checkSisterSite-b29833b2.js → checkSisterSite-c3a4ac98.js} +1 -1
  33. package/dist/cjs/defineProperty-19580e93.js +71 -0
  34. package/dist/cjs/getRelatedArticle.js +1 -1
  35. package/dist/cjs/getSerializers.js +2 -2
  36. package/dist/cjs/{index-bd6c9f56.js → index-3cd60d26.js} +11 -11
  37. package/dist/cjs/index-50be6759.js +105 -0
  38. package/dist/cjs/{index-b41ea6a0.js → index-88b1d875.js} +545 -42
  39. package/dist/cjs/{index.esm-f59ef5b4.js → index.esm-bb54403e.js} +9 -8
  40. package/dist/cjs/index.js +9 -8
  41. package/dist/esm/AlgoliaSearch.js +59 -95
  42. package/dist/esm/ArticleProgramLandingPage.js +2 -2
  43. package/dist/esm/Auth.js +1 -1
  44. package/dist/esm/AuthWrapper.js +1 -63
  45. package/dist/esm/Column2.js +5 -3
  46. package/dist/esm/Column3.js +1 -1
  47. package/dist/esm/ExternalResources.js +5 -5
  48. package/dist/esm/HamMagazine.js +43 -41
  49. package/dist/esm/HorizontalArticleListing.js +2 -2
  50. package/dist/esm/{ImageSlider-83913c4c.js → ImageSlider-cdb57d30.js} +115 -160
  51. package/dist/esm/IssueLanding.js +2 -2
  52. package/dist/esm/LeftNav.js +14 -15
  53. package/dist/esm/{MediaSeriesCard-478f939a.js → MediaSeriesCard-5a7491a4.js} +1 -1
  54. package/dist/esm/MediaSeriesLanding.js +5 -5
  55. package/dist/esm/MediaSeriesLandingPaginated.js +5 -5
  56. package/dist/esm/NavDvm.js +31 -29
  57. package/dist/esm/{NavFooter-3272e9cd.js → NavFooter-37c5eea2.js} +5 -4
  58. package/dist/esm/NavMagazine.js +41 -39
  59. package/dist/esm/NavNative.js +46 -46
  60. package/dist/esm/PartnerDetailListing.js +26 -25
  61. package/dist/esm/PartnerDetailListingPaginated.js +29 -28
  62. package/dist/esm/PodcastsLanding.js +3 -3
  63. package/dist/esm/SideFooter.js +10 -8
  64. package/dist/esm/{SocialSearchComponent-68d948b9.js → SocialSearchComponent-7591859b.js} +1 -1
  65. package/dist/esm/TaxonomyCard.js +10 -9
  66. package/dist/esm/TaxonomyDescription.js +2 -2
  67. package/dist/esm/TemplateNormal.js +4 -4
  68. package/dist/esm/{Tooltip-8307d9d1.js → Tooltip-2cdd0895.js} +29 -52
  69. package/dist/esm/VideoProgramLandingPage.js +2 -2
  70. package/dist/esm/View.js +3 -3
  71. package/dist/esm/{checkSisterSite-baa4fb6b.js → checkSisterSite-a7218fda.js} +1 -1
  72. package/dist/esm/defineProperty-e8022d1e.js +66 -0
  73. package/dist/esm/getRelatedArticle.js +1 -1
  74. package/dist/esm/getSerializers.js +2 -2
  75. package/dist/esm/{index-dd204fd9.js → index-0110e48e.js} +545 -42
  76. package/dist/esm/{index-db3bb315.js → index-0a63f9a3.js} +11 -11
  77. package/dist/esm/index-98ca9cec.js +100 -0
  78. package/dist/esm/{index.esm-07c37a92.js → index.esm-8639823a.js} +9 -8
  79. package/dist/esm/index.js +9 -8
  80. package/package.json +2 -1
  81. package/dist/cjs/index-b95410f0.js +0 -54
  82. package/dist/esm/index-174b5baf.js +0 -52
@@ -20,7 +20,6 @@ var serialize_1 = serialize;
20
20
 
21
21
  var decode = decodeURIComponent;
22
22
  var encode = encodeURIComponent;
23
- var pairSplitRegExp = /; */;
24
23
 
25
24
  /**
26
25
  * RegExp to match field-content in RFC 7230 sec 3.2
@@ -51,28 +50,29 @@ function parse(str, options) {
51
50
 
52
51
  var obj = {};
53
52
  var opt = options || {};
54
- var pairs = str.split(pairSplitRegExp);
53
+ var pairs = str.split(';');
55
54
  var dec = opt.decode || decode;
56
55
 
57
56
  for (var i = 0; i < pairs.length; i++) {
58
57
  var pair = pairs[i];
59
- var eq_idx = pair.indexOf('=');
58
+ var index = pair.indexOf('=');
60
59
 
61
60
  // skip things that don't look like key=value
62
- if (eq_idx < 0) {
61
+ if (index < 0) {
63
62
  continue;
64
63
  }
65
64
 
66
- var key = pair.substr(0, eq_idx).trim();
67
- var val = pair.substr(++eq_idx, pair.length).trim();
68
-
69
- // quoted values
70
- if ('"' == val[0]) {
71
- val = val.slice(1, -1);
72
- }
65
+ var key = pair.substring(0, index).trim();
73
66
 
74
67
  // only assign once
75
68
  if (undefined == obj[key]) {
69
+ var val = pair.substring(index + 1, pair.length).trim();
70
+
71
+ // quoted values
72
+ if (val[0] === '"') {
73
+ val = val.slice(1, -1);
74
+ }
75
+
76
76
  obj[key] = tryDecode(val, dec);
77
77
  }
78
78
  }
@@ -0,0 +1,100 @@
1
+ import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
+
3
+ function _extends() {
4
+ _extends = Object.assign || function (target) {
5
+ for (var i = 1; i < arguments.length; i++) {
6
+ var source = arguments[i];
7
+
8
+ for (var key in source) {
9
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
10
+ target[key] = source[key];
11
+ }
12
+ }
13
+ }
14
+
15
+ return target;
16
+ };
17
+
18
+ return _extends.apply(this, arguments);
19
+ }
20
+
21
+ function _objectWithoutPropertiesLoose(source, excluded) {
22
+ if (source == null) return {};
23
+ var target = {};
24
+ var sourceKeys = Object.keys(source);
25
+ var key, i;
26
+
27
+ for (i = 0; i < sourceKeys.length; i++) {
28
+ key = sourceKeys[i];
29
+ if (excluded.indexOf(key) >= 0) continue;
30
+ target[key] = source[key];
31
+ }
32
+
33
+ return target;
34
+ }
35
+
36
+ function _setPrototypeOf(o, p) {
37
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
38
+ o.__proto__ = p;
39
+ return o;
40
+ };
41
+
42
+ return _setPrototypeOf(o, p);
43
+ }
44
+
45
+ var classnames = createCommonjsModule(function (module) {
46
+ /*!
47
+ Copyright (c) 2018 Jed Watson.
48
+ Licensed under the MIT License (MIT), see
49
+ http://jedwatson.github.io/classnames
50
+ */
51
+ /* global define */
52
+
53
+ (function () {
54
+
55
+ var hasOwn = {}.hasOwnProperty;
56
+
57
+ function classNames() {
58
+ var classes = [];
59
+
60
+ for (var i = 0; i < arguments.length; i++) {
61
+ var arg = arguments[i];
62
+ if (!arg) continue;
63
+
64
+ var argType = typeof arg;
65
+
66
+ if (argType === 'string' || argType === 'number') {
67
+ classes.push(arg);
68
+ } else if (Array.isArray(arg)) {
69
+ if (arg.length) {
70
+ var inner = classNames.apply(null, arg);
71
+ if (inner) {
72
+ classes.push(inner);
73
+ }
74
+ }
75
+ } else if (argType === 'object') {
76
+ if (arg.toString === Object.prototype.toString) {
77
+ for (var key in arg) {
78
+ if (hasOwn.call(arg, key) && arg[key]) {
79
+ classes.push(key);
80
+ }
81
+ }
82
+ } else {
83
+ classes.push(arg.toString());
84
+ }
85
+ }
86
+ }
87
+
88
+ return classes.join(' ');
89
+ }
90
+
91
+ if (module.exports) {
92
+ classNames.default = classNames;
93
+ module.exports = classNames;
94
+ } else {
95
+ window.classNames = classNames;
96
+ }
97
+ }());
98
+ });
99
+
100
+ export { _objectWithoutPropertiesLoose as _, _setPrototypeOf as a, _extends as b, classnames as c };
@@ -1,6 +1,7 @@
1
+ import { _ as _extends } from './extends-6d8e3924.js';
1
2
  import React__default from 'react';
2
3
  import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
3
- import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
4
+ import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
4
5
  import { G as GenIcon } from './iconBase-ccc56b97.js';
5
6
 
6
7
  var year = new Date().getFullYear();
@@ -22,7 +23,7 @@ var SocialNavFooter = function SocialNavFooter(props) {
22
23
  { key: index },
23
24
  React__default.createElement(
24
25
  'a',
25
- { target: '_blank', rel: checkSisterSite(content.url) ? '' : 'noopener noreferrer', href: content.url, className: 'nav-link' },
26
+ _extends({ target: '_blank' }, checkSisterSite(content.url) ? {} : { rel: 'noopener noreferrer' }, { href: content.url, className: 'nav-link' }),
26
27
  content.title
27
28
  )
28
29
  ) : React__default.createElement(
@@ -30,7 +31,7 @@ var SocialNavFooter = function SocialNavFooter(props) {
30
31
  { key: index },
31
32
  React__default.createElement(
32
33
  'a',
33
- { href: content.url, rel: checkSisterSite(content.url) ? '' : 'noopener noreferrer', className: 'nav-link' },
34
+ _extends({ href: content.url }, checkSisterSite(content.url) ? {} : { rel: 'noopener noreferrer' }, { className: 'nav-link' }),
34
35
  content.title
35
36
  )
36
37
  );
@@ -44,16 +45,16 @@ var SocialNavFooter = function SocialNavFooter(props) {
44
45
  'li',
45
46
  { style: { marginTop: '10px' }, key: website.footerLinks ? website.footerLinks.length + 1 : 1 },
46
47
  website.socialLinks && website.socialLinks.map(function (row, index) {
47
- return React__default.createElement(reactSocialIcons_1, {
48
- target: row.blank ? '_blank' : '_self',
49
- rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer',
48
+ return React__default.createElement(reactSocialIcons_1, _extends({
49
+ target: row.blank ? '_blank' : '_self'
50
+ }, checkSisterSite(row.url) ? {} : { rel: 'noopener noreferrer' }, {
50
51
  key: index,
51
52
  index: index,
52
53
  url: row.url
53
54
  // including network prop to identify the icon based on the social icon title.
54
55
  , network: row.title.split(' ')[0].toLowerCase(),
55
56
  style: { width: 30, height: 30, marginRight: 5 }
56
- });
57
+ }));
57
58
  })
58
59
  ),
59
60
  showLogo && React__default.createElement(
@@ -61,7 +62,7 @@ var SocialNavFooter = function SocialNavFooter(props) {
61
62
  null,
62
63
  React__default.createElement(
63
64
  'a',
64
- { href: 'https://www.mjhlifesciences.com', rel: checkSisterSite('https://www.mjhlifesciences.com') ? '' : 'noopener noreferrer' },
65
+ _extends({ href: 'https://www.mjhlifesciences.com' }, checkSisterSite('https://www.mjhlifesciences.com') ? {} : { rel: 'noopener noreferrer' }),
65
66
  React__default.createElement('img', {
66
67
  style: { maxWidth: '100%', height: '50px', margin: ' 10px 0', objectFit: 'contain' },
67
68
  alt: 'MJHLS Brand Logo',
package/dist/esm/index.js CHANGED
@@ -87,7 +87,7 @@ export { default as VerticalHero } from './VerticalHero.js';
87
87
  export { default as YahooHero } from './YahooHero.js';
88
88
  export { default as GridHero } from './GridHero.js';
89
89
  export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
90
- export { g as getSerializers } from './index-dd204fd9.js';
90
+ export { g as getSerializers } from './index-0110e48e.js';
91
91
  export { default as Beam } from './Beam.js';
92
92
  export { default as Segment } from './Segment.js';
93
93
  export { default as KMTracker } from './KMTracker.js';
@@ -143,7 +143,7 @@ import 'react-bootstrap/Media';
143
143
  import './BlockContent-1e73bd2c.js';
144
144
  import './index-3f5c03b2.js';
145
145
  import './react-social-icons-9be47857.js';
146
- import './checkSisterSite-baa4fb6b.js';
146
+ import './checkSisterSite-a7218fda.js';
147
147
  import './index-c7e2ac95.js';
148
148
  import './smoothscroll-fa4e3f8c.js';
149
149
  import 'react-bootstrap';
@@ -155,7 +155,7 @@ import './_object-to-array-2300e51b.js';
155
155
  import 'react-bootstrap/Spinner';
156
156
  import 'react-bootstrap/Form';
157
157
  import './js.cookie-6874175c.js';
158
- import './index-174b5baf.js';
158
+ import './index-98ca9cec.js';
159
159
  import './ConferenceBanner-8792ebd2.js';
160
160
  import 'next/head';
161
161
  import '@mjhls/mjh-framework/dist/cjs/urlFor';
@@ -167,9 +167,9 @@ import 'react-bootstrap/Nav';
167
167
  import 'react-bootstrap/Navbar';
168
168
  import 'react-bootstrap/NavDropdown';
169
169
  import './index.esm-9b042655.js';
170
- import './NavFooter-3272e9cd.js';
171
- import './index.esm-07c37a92.js';
172
- import './SocialSearchComponent-68d948b9.js';
170
+ import './NavFooter-37c5eea2.js';
171
+ import './index.esm-8639823a.js';
172
+ import './SocialSearchComponent-7591859b.js';
173
173
  import 'react-bootstrap/FormControl';
174
174
  import 'react-ga';
175
175
  import 'react-bootstrap/Carousel';
@@ -187,7 +187,7 @@ import 'react-bootstrap/Figure';
187
187
  import 'react-bootstrap/OverlayTrigger';
188
188
  import 'react-bootstrap/Tooltip';
189
189
  import 'react-bootstrap/Popover';
190
- import './index-db3bb315.js';
190
+ import './index-0a63f9a3.js';
191
191
  import 'swr';
192
192
  import 'passport-local';
193
193
  import 'mysql';
@@ -196,7 +196,8 @@ import './SeriesSlider-5728e349.js';
196
196
  import './style-inject.es-1f59c1d0.js';
197
197
  import 'disqus-react';
198
198
  import 'react-twitter-embed';
199
- import './ImageSlider-83913c4c.js';
199
+ import './ImageSlider-cdb57d30.js';
200
+ import './defineProperty-e8022d1e.js';
200
201
  import './VideoSeriesCard.js';
201
202
 
202
203
  //Feature query to be used
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.1016",
3
+ "version": "1.0.1017-blanktagremoval-v2",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",
@@ -46,6 +46,7 @@
46
46
  "babel-preset-env": "^1.7.0",
47
47
  "babel-preset-react": "^6.24.1",
48
48
  "babel-preset-stage-0": "^6.24.1",
49
+ "bibtex-parse-js": "0.0.24",
49
50
  "cross-env": "^5.1.4",
50
51
  "eslint": "^5.0.1",
51
52
  "eslint-config-standard": "^11.0.0",
@@ -1,54 +0,0 @@
1
- 'use strict';
2
-
3
- var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
4
-
5
- var classnames = _commonjsHelpers.createCommonjsModule(function (module) {
6
- /*!
7
- Copyright (c) 2017 Jed Watson.
8
- Licensed under the MIT License (MIT), see
9
- http://jedwatson.github.io/classnames
10
- */
11
- /* global define */
12
-
13
- (function () {
14
-
15
- var hasOwn = {}.hasOwnProperty;
16
-
17
- function classNames () {
18
- var classes = [];
19
-
20
- for (var i = 0; i < arguments.length; i++) {
21
- var arg = arguments[i];
22
- if (!arg) continue;
23
-
24
- var argType = typeof arg;
25
-
26
- if (argType === 'string' || argType === 'number') {
27
- classes.push(arg);
28
- } else if (Array.isArray(arg) && arg.length) {
29
- var inner = classNames.apply(null, arg);
30
- if (inner) {
31
- classes.push(inner);
32
- }
33
- } else if (argType === 'object') {
34
- for (var key in arg) {
35
- if (hasOwn.call(arg, key) && arg[key]) {
36
- classes.push(key);
37
- }
38
- }
39
- }
40
- }
41
-
42
- return classes.join(' ');
43
- }
44
-
45
- if (module.exports) {
46
- classNames.default = classNames;
47
- module.exports = classNames;
48
- } else {
49
- window.classNames = classNames;
50
- }
51
- }());
52
- });
53
-
54
- exports.classnames = classnames;
@@ -1,52 +0,0 @@
1
- import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
-
3
- var classnames = createCommonjsModule(function (module) {
4
- /*!
5
- Copyright (c) 2017 Jed Watson.
6
- Licensed under the MIT License (MIT), see
7
- http://jedwatson.github.io/classnames
8
- */
9
- /* global define */
10
-
11
- (function () {
12
-
13
- var hasOwn = {}.hasOwnProperty;
14
-
15
- function classNames () {
16
- var classes = [];
17
-
18
- for (var i = 0; i < arguments.length; i++) {
19
- var arg = arguments[i];
20
- if (!arg) continue;
21
-
22
- var argType = typeof arg;
23
-
24
- if (argType === 'string' || argType === 'number') {
25
- classes.push(arg);
26
- } else if (Array.isArray(arg) && arg.length) {
27
- var inner = classNames.apply(null, arg);
28
- if (inner) {
29
- classes.push(inner);
30
- }
31
- } else if (argType === 'object') {
32
- for (var key in arg) {
33
- if (hasOwn.call(arg, key) && arg[key]) {
34
- classes.push(key);
35
- }
36
- }
37
- }
38
- }
39
-
40
- return classes.join(' ');
41
- }
42
-
43
- if (module.exports) {
44
- classNames.default = classNames;
45
- module.exports = classNames;
46
- } else {
47
- window.classNames = classNames;
48
- }
49
- }());
50
- });
51
-
52
- export { classnames as c };