@mjhls/mjh-framework 1.0.908-summary-fix-v1 → 1.0.909-export-pub-featured-v1
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.
- package/README.md +1 -1
- package/dist/cjs/GridContent.js +2 -2
- package/dist/cjs/GridContentPaginated.js +2 -2
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature.js} +8 -1
- package/dist/cjs/index.js +3 -2
- package/dist/esm/GridContent.js +1 -1
- package/dist/esm/GridContentPaginated.js +1 -1
- package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature.js} +8 -1
- package/dist/esm/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# mjh-framework v. 1.0.
|
|
1
|
+
# mjh-framework v. 1.0.909
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/mjh-framework) [](https://standardjs.com)
|
|
4
4
|
|
package/dist/cjs/GridContent.js
CHANGED
|
@@ -25,7 +25,7 @@ var urlFor = require('./urlFor.js');
|
|
|
25
25
|
var main = require('./main-f1c77adb.js');
|
|
26
26
|
require('./AD.js');
|
|
27
27
|
var AuthorComponent = require('./AuthorComponent-39b37d84.js');
|
|
28
|
-
var PublicationFeature = require('./PublicationFeature
|
|
28
|
+
var PublicationFeature = require('./PublicationFeature.js');
|
|
29
29
|
require('./_commonjsHelpers-06173234.js');
|
|
30
30
|
require('./core.get-iterator-method-5643aa10.js');
|
|
31
31
|
require('./_iter-detect-b1df62f0.js');
|
|
@@ -625,7 +625,7 @@ var GridContent = function (_React$Component) {
|
|
|
625
625
|
return React__default['default'].createElement(ADlgInfeed.ADlgInfeed, _extends._extends({ index: index }, row));
|
|
626
626
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
627
627
|
return React__default['default'].createElement(ADInfeed.ADInfeed, { index: index, infeedAd: row });
|
|
628
|
-
} else if (row._type === 'publication') return React__default['default'].createElement(PublicationFeature
|
|
628
|
+
} else if (row._type === 'publication') return React__default['default'].createElement(PublicationFeature, { data: row, defaultImage: _this2.defaultImage, issueMapping: _this2.props.issueMapping, client: _this2.client });
|
|
629
629
|
if (index + 1 > heroContent + featureCount && (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type))) {
|
|
630
630
|
return React__default['default'].createElement(
|
|
631
631
|
React__default['default'].Fragment,
|
|
@@ -23,7 +23,7 @@ var get = require('./get-5839e5b5.js');
|
|
|
23
23
|
var urlFor = require('./urlFor.js');
|
|
24
24
|
var main = require('./main-f1c77adb.js');
|
|
25
25
|
var AuthorComponent = require('./AuthorComponent-39b37d84.js');
|
|
26
|
-
var PublicationFeature = require('./PublicationFeature
|
|
26
|
+
var PublicationFeature = require('./PublicationFeature.js');
|
|
27
27
|
var Pagination = require('./Pagination-42f92f7c.js');
|
|
28
28
|
var Spinner = require('react-bootstrap/Spinner');
|
|
29
29
|
require('./_commonjsHelpers-06173234.js');
|
|
@@ -542,7 +542,7 @@ var GridContent = function (_React$Component) {
|
|
|
542
542
|
return React__default['default'].createElement(ADlgInfeed.ADlgInfeed, _extends._extends({ index: index }, row));
|
|
543
543
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
544
544
|
return React__default['default'].createElement(ADInfeed.ADInfeed, { index: index, infeedAd: row });
|
|
545
|
-
} else if (row._type === 'publication') return React__default['default'].createElement(PublicationFeature
|
|
545
|
+
} else if (row._type === 'publication') return React__default['default'].createElement(PublicationFeature, { data: row, defaultImage: _this3.defaultImage, issueMapping: _this3.props.issueMapping, client: _this3.client });
|
|
546
546
|
if (index + 1 > heroContent + featureCount && (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type))) {
|
|
547
547
|
return React__default['default'].createElement(
|
|
548
548
|
React__default['default'].Fragment,
|
|
@@ -6,6 +6,13 @@ var Col = require('react-bootstrap/Col');
|
|
|
6
6
|
var Button = require('react-bootstrap/Button');
|
|
7
7
|
var index = require('./index-eadd5035.js');
|
|
8
8
|
var urlFor = require('./urlFor.js');
|
|
9
|
+
require('./_commonjsHelpers-06173234.js');
|
|
10
|
+
require('react-dom');
|
|
11
|
+
require('prop-types');
|
|
12
|
+
require('./slicedToArray-067dd3bc.js');
|
|
13
|
+
require('./web.dom.iterable-d98303e0.js');
|
|
14
|
+
require('./core.get-iterator-method-5643aa10.js');
|
|
15
|
+
require('./index-d48b231c.js');
|
|
9
16
|
|
|
10
17
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
18
|
|
|
@@ -127,4 +134,4 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
127
134
|
return null;
|
|
128
135
|
};
|
|
129
136
|
|
|
130
|
-
exports
|
|
137
|
+
module.exports = PublicationFeature;
|
package/dist/cjs/index.js
CHANGED
|
@@ -74,6 +74,7 @@ var ArticleCarousel = require('./ArticleCarousel.js');
|
|
|
74
74
|
var TaxonomyDescription = require('./TaxonomyDescription.js');
|
|
75
75
|
var PubToc = require('./PubToc.js');
|
|
76
76
|
var PubSection = require('./PubSection.js');
|
|
77
|
+
var PublicationFeature = require('./PublicationFeature.js');
|
|
77
78
|
var ForbesHero = require('./ForbesHero.js');
|
|
78
79
|
var HorizontalHero = require('./HorizontalHero.js');
|
|
79
80
|
var OncliveHero = require('./OncliveHero.js');
|
|
@@ -136,8 +137,6 @@ require('./getContentCategory-f38a4c00.js');
|
|
|
136
137
|
require('./get-5839e5b5.js');
|
|
137
138
|
require('./eq-5fc26c07.js');
|
|
138
139
|
require('./AuthorComponent-39b37d84.js');
|
|
139
|
-
require('./PublicationFeature-5ccf9b13.js');
|
|
140
|
-
require('react-bootstrap/Button');
|
|
141
140
|
require('react-bootstrap/Media');
|
|
142
141
|
require('./BlockContent-9ebd251f.js');
|
|
143
142
|
require('./index-d48b231c.js');
|
|
@@ -149,6 +148,7 @@ require('./timeDifferenceCalc.js');
|
|
|
149
148
|
require('./index.esm-d81454e7.js');
|
|
150
149
|
require('./iconBase-be4097c0.js');
|
|
151
150
|
require('./asyncToGenerator-77821af0.js');
|
|
151
|
+
require('react-bootstrap/Button');
|
|
152
152
|
require('./defineProperty-9673846a.js');
|
|
153
153
|
require('./_object-to-array-ce86cae7.js');
|
|
154
154
|
require('./stringify-f7a37a8d.js');
|
|
@@ -351,6 +351,7 @@ exports.ArticleCarousel = ArticleCarousel;
|
|
|
351
351
|
exports.TaxonomyDescription = TaxonomyDescription;
|
|
352
352
|
exports.PubToc = PubToc;
|
|
353
353
|
exports.PubSection = PubSection;
|
|
354
|
+
exports.PublicationFeature = PublicationFeature;
|
|
354
355
|
exports.ForbesHero = ForbesHero;
|
|
355
356
|
exports.HorizontalHero = HorizontalHero;
|
|
356
357
|
exports.OncliveHero = OncliveHero;
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -23,7 +23,7 @@ import urlFor from './urlFor.js';
|
|
|
23
23
|
import { m as main_43 } from './main-1894c974.js';
|
|
24
24
|
import './AD.js';
|
|
25
25
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
26
|
-
import
|
|
26
|
+
import PublicationFeature from './PublicationFeature.js';
|
|
27
27
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
28
28
|
import './core.get-iterator-method-ea258bb1.js';
|
|
29
29
|
import './_iter-detect-98db3b07.js';
|
|
@@ -21,7 +21,7 @@ import { g as get_1 } from './get-3c308da4.js';
|
|
|
21
21
|
import urlFor from './urlFor.js';
|
|
22
22
|
import { m as main_43 } from './main-1894c974.js';
|
|
23
23
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
24
|
-
import
|
|
24
|
+
import PublicationFeature from './PublicationFeature.js';
|
|
25
25
|
import { P as Pagination } from './Pagination-484b86c5.js';
|
|
26
26
|
import Spinner from 'react-bootstrap/Spinner';
|
|
27
27
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -4,6 +4,13 @@ import Col from 'react-bootstrap/Col';
|
|
|
4
4
|
import Button from 'react-bootstrap/Button';
|
|
5
5
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
6
|
import urlFor from './urlFor.js';
|
|
7
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
+
import 'react-dom';
|
|
9
|
+
import 'prop-types';
|
|
10
|
+
import './slicedToArray-6ebcbfea.js';
|
|
11
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
12
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
13
|
+
import './index-3f5c03b2.js';
|
|
7
14
|
|
|
8
15
|
var PublicationFeature = function PublicationFeature(_ref) {
|
|
9
16
|
var data = _ref.data,
|
|
@@ -118,4 +125,4 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
118
125
|
return null;
|
|
119
126
|
};
|
|
120
127
|
|
|
121
|
-
export
|
|
128
|
+
export default PublicationFeature;
|
package/dist/esm/index.js
CHANGED
|
@@ -71,6 +71,7 @@ export { default as ArticleCarousel } from './ArticleCarousel.js';
|
|
|
71
71
|
export { default as TaxonomyDescription } from './TaxonomyDescription.js';
|
|
72
72
|
export { default as PubToc } from './PubToc.js';
|
|
73
73
|
export { default as PubSection } from './PubSection.js';
|
|
74
|
+
export { default as PublicationFeature } from './PublicationFeature.js';
|
|
74
75
|
export { default as ForbesHero } from './ForbesHero.js';
|
|
75
76
|
export { default as HorizontalHero } from './HorizontalHero.js';
|
|
76
77
|
export { default as OncliveHero } from './OncliveHero.js';
|
|
@@ -133,8 +134,6 @@ import './getContentCategory-15dcc413.js';
|
|
|
133
134
|
import './get-3c308da4.js';
|
|
134
135
|
import './eq-bdcbf886.js';
|
|
135
136
|
import './AuthorComponent-11adff02.js';
|
|
136
|
-
import './PublicationFeature-d88e76b9.js';
|
|
137
|
-
import 'react-bootstrap/Button';
|
|
138
137
|
import 'react-bootstrap/Media';
|
|
139
138
|
import './BlockContent-1e73bd2c.js';
|
|
140
139
|
import './index-3f5c03b2.js';
|
|
@@ -146,6 +145,7 @@ import './timeDifferenceCalc.js';
|
|
|
146
145
|
import './index.esm-eb1e8e80.js';
|
|
147
146
|
import './iconBase-ccc56b97.js';
|
|
148
147
|
import './asyncToGenerator-5ef104a7.js';
|
|
148
|
+
import 'react-bootstrap/Button';
|
|
149
149
|
import './defineProperty-8c30428f.js';
|
|
150
150
|
import './_object-to-array-2300e51b.js';
|
|
151
151
|
import './stringify-2b084bee.js';
|