@mjhls/mjh-framework 1.0.89 → 1.0.90
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/index.es.js +38 -40
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +37 -39
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6280,6 +6280,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index$$1, length
|
|
|
6280
6280
|
};
|
|
6281
6281
|
|
|
6282
6282
|
var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate, pageview, router$$1, currentPage, setCurrentPage) {
|
|
6283
|
+
|
|
6283
6284
|
return React__default.createElement(
|
|
6284
6285
|
'div',
|
|
6285
6286
|
null,
|
|
@@ -6294,13 +6295,22 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
6294
6295
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router$$1, currentPage, setCurrentPage);
|
|
6295
6296
|
} },
|
|
6296
6297
|
React__default.createElement(
|
|
6297
|
-
|
|
6298
|
-
|
|
6298
|
+
React__default.Fragment,
|
|
6299
|
+
null,
|
|
6299
6300
|
React__default.createElement(
|
|
6300
|
-
reactBootstrap.
|
|
6301
|
-
|
|
6301
|
+
reactBootstrap.Media,
|
|
6302
|
+
{ key: article._id ? article._id : index$$1, style: { marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
6303
|
+
React__default.createElement(
|
|
6304
|
+
Link,
|
|
6305
|
+
{ href: mapping[contentCategoryName] + '/[url]', as: mapping[contentCategoryName] + '/' + article.url.current },
|
|
6306
|
+
React__default.createElement(
|
|
6307
|
+
'a',
|
|
6308
|
+
null,
|
|
6309
|
+
React__default.createElement('img', { width: 200, height: 130, className: 'mr-3', src: urlFor(builder, article.thumbnail.asset).url(), style: { objectFit: 'cover' }, alt: article.title })
|
|
6310
|
+
)
|
|
6311
|
+
),
|
|
6302
6312
|
React__default.createElement(
|
|
6303
|
-
reactBootstrap.Media,
|
|
6313
|
+
reactBootstrap.Media.Body,
|
|
6304
6314
|
null,
|
|
6305
6315
|
React__default.createElement(
|
|
6306
6316
|
Link,
|
|
@@ -6308,43 +6318,30 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
6308
6318
|
React__default.createElement(
|
|
6309
6319
|
'a',
|
|
6310
6320
|
null,
|
|
6311
|
-
|
|
6321
|
+
article.title && React__default.createElement(
|
|
6322
|
+
'h4',
|
|
6323
|
+
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
6324
|
+
article.title
|
|
6325
|
+
)
|
|
6312
6326
|
)
|
|
6313
6327
|
),
|
|
6314
|
-
React__default.createElement(
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
article.published && React__default.createElement(
|
|
6331
|
-
'h6',
|
|
6332
|
-
{ className: 'card-text' },
|
|
6333
|
-
moment(article.published).format('MMMM DD, YYYY')
|
|
6334
|
-
),
|
|
6335
|
-
article.authorDetails && article.authorDetails.length > 0 && article.authorDetails.map(function (authorDetail, index$$1) {
|
|
6336
|
-
return React__default.createElement(
|
|
6337
|
-
'div',
|
|
6338
|
-
{ className: 'card-text d-inline', key: index$$1 },
|
|
6339
|
-
renderAuthor(authorDetail.displayName, authorDetail.url, index$$1, article.authorDetails.length)
|
|
6340
|
-
);
|
|
6341
|
-
})
|
|
6328
|
+
article.published && React__default.createElement(
|
|
6329
|
+
'p',
|
|
6330
|
+
{ className: 'card-text', style: { color: 'var(--gray)', marginBottom: '.25rem' } },
|
|
6331
|
+
moment(article.published).format('MMMM DD, YYYY')
|
|
6332
|
+
),
|
|
6333
|
+
article.authorDetails && article.authorDetails.length > 0 && article.authorDetails.map(function (authorDetail, index$$1) {
|
|
6334
|
+
return React__default.createElement(
|
|
6335
|
+
'div',
|
|
6336
|
+
{ className: 'card-text d-inline', key: index$$1 },
|
|
6337
|
+
renderAuthor(authorDetail.displayName, authorDetail.url, index$$1, article.authorDetails.length)
|
|
6338
|
+
);
|
|
6339
|
+
}),
|
|
6340
|
+
article.summary && React__default.createElement(
|
|
6341
|
+
'p',
|
|
6342
|
+
{ className: 'pt-2 card-text' },
|
|
6343
|
+
article.summary
|
|
6342
6344
|
)
|
|
6343
|
-
),
|
|
6344
|
-
article.summary && React__default.createElement(
|
|
6345
|
-
'p',
|
|
6346
|
-
{ className: 'pt-2 card-text' },
|
|
6347
|
-
article.summary
|
|
6348
6345
|
)
|
|
6349
6346
|
)
|
|
6350
6347
|
)
|
|
@@ -6379,6 +6376,7 @@ var usePrevious = function usePrevious(value) {
|
|
|
6379
6376
|
};
|
|
6380
6377
|
|
|
6381
6378
|
var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
6379
|
+
|
|
6382
6380
|
var router$$1 = router.useRouter();
|
|
6383
6381
|
var initialData = props.dataRecord,
|
|
6384
6382
|
client = props.client,
|