@mjhls/mjh-framework 1.0.1015 → 1.0.1017-blanktagremoval

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 (90) 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/CEDeckSupabase.js +446 -0
  7. package/dist/cjs/Column2.js +5 -3
  8. package/dist/cjs/Column3.js +1 -1
  9. package/dist/cjs/EventsDeck.js +3 -30
  10. package/dist/cjs/ExternalResources.js +5 -5
  11. package/dist/cjs/HamMagazine.js +43 -41
  12. package/dist/cjs/HorizontalArticleListing.js +2 -2
  13. package/dist/cjs/{ImageSlider-1ec0408b.js → ImageSlider-50807a77.js} +114 -159
  14. package/dist/cjs/IssueLanding.js +2 -2
  15. package/dist/cjs/LeftNav.js +14 -15
  16. package/dist/cjs/{MediaSeriesCard-7f8ea2ea.js → MediaSeriesCard-02a04189.js} +1 -1
  17. package/dist/cjs/MediaSeriesLanding.js +5 -5
  18. package/dist/cjs/MediaSeriesLandingPaginated.js +5 -5
  19. package/dist/cjs/NavDvm.js +31 -29
  20. package/dist/cjs/{NavFooter-880e9d87.js → NavFooter-6df4a327.js} +5 -4
  21. package/dist/cjs/NavMagazine.js +41 -39
  22. package/dist/cjs/NavNative.js +46 -46
  23. package/dist/cjs/PartnerDetailListing.js +26 -25
  24. package/dist/cjs/PartnerDetailListingPaginated.js +29 -28
  25. package/dist/cjs/PodcastsLanding.js +3 -3
  26. package/dist/cjs/SideFooter.js +10 -8
  27. package/dist/cjs/{SocialSearchComponent-ca9c0c45.js → SocialSearchComponent-3cdae210.js} +1 -1
  28. package/dist/cjs/TaxonomyCard.js +9 -9
  29. package/dist/cjs/TaxonomyDescription.js +2 -2
  30. package/dist/cjs/TemplateNormal.js +4 -4
  31. package/dist/cjs/{Tooltip-71754b2a.js → Tooltip-8011d690.js} +234 -257
  32. package/dist/cjs/VideoProgramLandingPage.js +2 -2
  33. package/dist/cjs/View.js +3 -3
  34. package/dist/cjs/{checkSisterSite-b29833b2.js → checkSisterSite-c3a4ac98.js} +1 -1
  35. package/dist/cjs/defineProperty-19580e93.js +71 -0
  36. package/dist/cjs/defineProperty-9673846a.js +34 -0
  37. package/dist/cjs/getRelatedArticle.js +1 -1
  38. package/dist/cjs/getSerializers.js +2 -2
  39. package/dist/cjs/getTIData.js +92 -0
  40. package/dist/cjs/{index-bd6c9f56.js → index-3cd60d26.js} +11 -11
  41. package/dist/cjs/index-50be6759.js +105 -0
  42. package/dist/cjs/{index-b41ea6a0.js → index-88b1d875.js} +545 -42
  43. package/dist/cjs/{index.esm-f59ef5b4.js → index.esm-ab909ee1.js} +9 -8
  44. package/dist/cjs/index.js +10 -8
  45. package/dist/esm/AlgoliaSearch.js +59 -95
  46. package/dist/esm/ArticleProgramLandingPage.js +2 -2
  47. package/dist/esm/Auth.js +1 -1
  48. package/dist/esm/AuthWrapper.js +1 -63
  49. package/dist/esm/CEDeckSupabase.js +440 -0
  50. package/dist/esm/Column2.js +5 -3
  51. package/dist/esm/Column3.js +1 -1
  52. package/dist/esm/EventsDeck.js +2 -29
  53. package/dist/esm/ExternalResources.js +5 -5
  54. package/dist/esm/HamMagazine.js +43 -41
  55. package/dist/esm/HorizontalArticleListing.js +2 -2
  56. package/dist/esm/{ImageSlider-83913c4c.js → ImageSlider-cdb57d30.js} +115 -160
  57. package/dist/esm/IssueLanding.js +2 -2
  58. package/dist/esm/LeftNav.js +14 -15
  59. package/dist/esm/{MediaSeriesCard-478f939a.js → MediaSeriesCard-5a7491a4.js} +1 -1
  60. package/dist/esm/MediaSeriesLanding.js +5 -5
  61. package/dist/esm/MediaSeriesLandingPaginated.js +5 -5
  62. package/dist/esm/NavDvm.js +31 -29
  63. package/dist/esm/{NavFooter-3272e9cd.js → NavFooter-3673bac5.js} +5 -4
  64. package/dist/esm/NavMagazine.js +41 -39
  65. package/dist/esm/NavNative.js +46 -46
  66. package/dist/esm/PartnerDetailListing.js +26 -25
  67. package/dist/esm/PartnerDetailListingPaginated.js +29 -28
  68. package/dist/esm/PodcastsLanding.js +3 -3
  69. package/dist/esm/SideFooter.js +10 -8
  70. package/dist/esm/{SocialSearchComponent-68d948b9.js → SocialSearchComponent-0e0af6e1.js} +1 -1
  71. package/dist/esm/TaxonomyCard.js +9 -9
  72. package/dist/esm/TaxonomyDescription.js +2 -2
  73. package/dist/esm/TemplateNormal.js +4 -4
  74. package/dist/esm/{Tooltip-8307d9d1.js → Tooltip-2cdd0895.js} +29 -52
  75. package/dist/esm/VideoProgramLandingPage.js +2 -2
  76. package/dist/esm/View.js +3 -3
  77. package/dist/esm/{checkSisterSite-baa4fb6b.js → checkSisterSite-a7218fda.js} +1 -1
  78. package/dist/esm/defineProperty-8c30428f.js +32 -0
  79. package/dist/esm/defineProperty-e8022d1e.js +66 -0
  80. package/dist/esm/getRelatedArticle.js +1 -1
  81. package/dist/esm/getSerializers.js +2 -2
  82. package/dist/esm/getTIData.js +90 -0
  83. package/dist/esm/{index-dd204fd9.js → index-0110e48e.js} +545 -42
  84. package/dist/esm/{index-db3bb315.js → index-0a63f9a3.js} +11 -11
  85. package/dist/esm/index-98ca9cec.js +100 -0
  86. package/dist/esm/{index.esm-07c37a92.js → index.esm-f7316244.js} +9 -8
  87. package/dist/esm/index.js +10 -8
  88. package/package.json +3 -1
  89. package/dist/cjs/index-b95410f0.js +0 -54
  90. 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,18 +143,19 @@ 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';
150
150
  import './timeDifferenceCalc.js';
151
151
  import './index.esm-eb1e8e80.js';
152
152
  import './iconBase-ccc56b97.js';
153
+ import './defineProperty-8c30428f.js';
153
154
  import './_object-to-array-2300e51b.js';
154
155
  import 'react-bootstrap/Spinner';
155
156
  import 'react-bootstrap/Form';
156
157
  import './js.cookie-6874175c.js';
157
- import './index-174b5baf.js';
158
+ import './index-98ca9cec.js';
158
159
  import './ConferenceBanner-8792ebd2.js';
159
160
  import 'next/head';
160
161
  import '@mjhls/mjh-framework/dist/cjs/urlFor';
@@ -166,9 +167,9 @@ import 'react-bootstrap/Nav';
166
167
  import 'react-bootstrap/Navbar';
167
168
  import 'react-bootstrap/NavDropdown';
168
169
  import './index.esm-9b042655.js';
169
- import './NavFooter-3272e9cd.js';
170
- import './index.esm-07c37a92.js';
171
- import './SocialSearchComponent-68d948b9.js';
170
+ import './NavFooter-3673bac5.js';
171
+ import './index.esm-f7316244.js';
172
+ import './SocialSearchComponent-0e0af6e1.js';
172
173
  import 'react-bootstrap/FormControl';
173
174
  import 'react-ga';
174
175
  import 'react-bootstrap/Carousel';
@@ -186,7 +187,7 @@ import 'react-bootstrap/Figure';
186
187
  import 'react-bootstrap/OverlayTrigger';
187
188
  import 'react-bootstrap/Tooltip';
188
189
  import 'react-bootstrap/Popover';
189
- import './index-db3bb315.js';
190
+ import './index-0a63f9a3.js';
190
191
  import 'swr';
191
192
  import 'passport-local';
192
193
  import 'mysql';
@@ -195,7 +196,8 @@ import './SeriesSlider-5728e349.js';
195
196
  import './style-inject.es-1f59c1d0.js';
196
197
  import 'disqus-react';
197
198
  import 'react-twitter-embed';
198
- import './ImageSlider-83913c4c.js';
199
+ import './ImageSlider-cdb57d30.js';
200
+ import './defineProperty-e8022d1e.js';
199
201
  import './VideoSeriesCard.js';
200
202
 
201
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.1015",
3
+ "version": "1.0.1017-blanktagremoval",
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",
@@ -92,6 +93,7 @@
92
93
  "dist"
93
94
  ],
94
95
  "dependencies": {
96
+ "@supabase/supabase-js": "^1.29.4",
95
97
  "babel-polyfill": "^6.26.0",
96
98
  "cookie": "^0.4.1",
97
99
  "disqus-react": "^1.0.11",
@@ -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 };