@mjhls/mjh-framework 1.0.432 → 1.0.433

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 CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.432
2
+ # mjh-framework v. 1.0.433
3
3
 
4
4
  > Foundation Framework
5
5
 
@@ -232,8 +232,8 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
232
232
  React__default.createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
233
233
  ),
234
234
  article.source && React__default.createElement(
235
- 'p',
236
- { className: 'p-0 mb-1' },
235
+ 'div',
236
+ { className: 'mb-1 sanityDisplayLabel' },
237
237
  article.source
238
238
  ),
239
239
  React__default.createElement(
@@ -328,8 +328,8 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
328
328
  React__default.createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
329
329
  ),
330
330
  article.source && React__default.createElement(
331
- 'p',
332
- { className: 'p-0 mb-1' },
331
+ 'div',
332
+ { className: 'mb-1 sanityDisplayLabel' },
333
333
  article.source
334
334
  ),
335
335
  React__default.createElement(
@@ -434,8 +434,8 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
434
434
  )
435
435
  ),
436
436
  article.source && React__default.createElement(
437
- 'p',
438
- { className: 'p-0 mb-1' },
437
+ 'div',
438
+ { className: 'mb-1 sanityDisplayLabel' },
439
439
  article.source
440
440
  ),
441
441
  React__default.createElement(
@@ -497,7 +497,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
497
497
  React__default.createElement(
498
498
  'style',
499
499
  { jsx: 'true' },
500
- '\n .feature-media > .media-body {\n -webkit-box-flex: none;\n -ms-flex: none;\n flex: none;\n }\n .img-wrapper img {\n max-height: 240px;\n height: auto;\n width: 100%;\n object-fit: contain;\n }\n .feature-wrapper {\n height: 100%;\n width: 100%;\n }\n .feature-wrapper img {\n width: 100%;\n margin-bottom: 1em;\n }\n @media only screen and (min-width: 768px) {\n .img-wrapper > img {\n padding-right: 1em;\n }\n }\n @media only screen and (max-width: 767px) {\n .img-wrapper {\n width: 100%;\n }\n .img-wrapper img {\n padding-bottom: 1em;\n }\n .media {\n flex-direction: column !important;\n }\n }\n '
500
+ '\n .sanityDisplayLabel {\n margin: .5rem 0;\n border: 1px solid black;\n width: fit-content;\n padding: 5px;\n }\n .feature-media > .media-body {\n -webkit-box-flex: none;\n -ms-flex: none;\n flex: none;\n }\n .img-wrapper img {\n max-height: 240px;\n height: auto;\n width: 100%;\n object-fit: contain;\n }\n .feature-wrapper {\n height: 100%;\n width: 100%;\n }\n .feature-wrapper img {\n width: 100%;\n margin-bottom: 1em;\n }\n @media only screen and (min-width: 768px) {\n .img-wrapper > img {\n padding-right: 1em;\n }\n }\n @media only screen and (max-width: 767px) {\n .img-wrapper {\n width: 100%;\n }\n .img-wrapper img {\n padding-bottom: 1em;\n }\n .media {\n flex-direction: column !important;\n }\n }\n '
501
501
  )
502
502
  );
503
503
  };
package/dist/cjs/index.js CHANGED
@@ -17335,14 +17335,10 @@ var Article = function Article(props) {
17335
17335
  renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length, authorPrefix)
17336
17336
  );
17337
17337
  }),
17338
- React__default.createElement(
17338
+ props.article.source && React__default.createElement(
17339
17339
  'div',
17340
- null,
17341
- source && React__default.createElement(
17342
- 'p',
17343
- null,
17344
- source
17345
- )
17340
+ { className: 'sanityDisplayLabel' },
17341
+ props.article.source
17346
17342
  ),
17347
17343
  issue && React__default.createElement(
17348
17344
  'div',
@@ -17436,7 +17432,12 @@ var Article = function Article(props) {
17436
17432
  }
17437
17433
  }),
17438
17434
  React__default.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
17439
- React__default.createElement('hr', { className: 'article-seperater' })
17435
+ React__default.createElement('hr', { className: 'article-seperater' }),
17436
+ React__default.createElement(
17437
+ 'style',
17438
+ { jsx: 'true' },
17439
+ '\n .sanityDisplayLabel {\n margin: .5rem 0;\n border: 1px solid black;\n width: fit-content;\n padding: 5px;\n }\n '
17440
+ )
17440
17441
  );
17441
17442
  };
17442
17443
 
@@ -226,8 +226,8 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
226
226
  React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
227
227
  ),
228
228
  article.source && React__default.createElement(
229
- 'p',
230
- { className: 'p-0 mb-1' },
229
+ 'div',
230
+ { className: 'mb-1 sanityDisplayLabel' },
231
231
  article.source
232
232
  ),
233
233
  React__default.createElement(
@@ -322,8 +322,8 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
322
322
  React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
323
323
  ),
324
324
  article.source && React__default.createElement(
325
- 'p',
326
- { className: 'p-0 mb-1' },
325
+ 'div',
326
+ { className: 'mb-1 sanityDisplayLabel' },
327
327
  article.source
328
328
  ),
329
329
  React__default.createElement(
@@ -428,8 +428,8 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
428
428
  )
429
429
  ),
430
430
  article.source && React__default.createElement(
431
- 'p',
432
- { className: 'p-0 mb-1' },
431
+ 'div',
432
+ { className: 'mb-1 sanityDisplayLabel' },
433
433
  article.source
434
434
  ),
435
435
  React__default.createElement(
@@ -491,7 +491,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
491
491
  React__default.createElement(
492
492
  'style',
493
493
  { jsx: 'true' },
494
- '\n .feature-media > .media-body {\n -webkit-box-flex: none;\n -ms-flex: none;\n flex: none;\n }\n .img-wrapper img {\n max-height: 240px;\n height: auto;\n width: 100%;\n object-fit: contain;\n }\n .feature-wrapper {\n height: 100%;\n width: 100%;\n }\n .feature-wrapper img {\n width: 100%;\n margin-bottom: 1em;\n }\n @media only screen and (min-width: 768px) {\n .img-wrapper > img {\n padding-right: 1em;\n }\n }\n @media only screen and (max-width: 767px) {\n .img-wrapper {\n width: 100%;\n }\n .img-wrapper img {\n padding-bottom: 1em;\n }\n .media {\n flex-direction: column !important;\n }\n }\n '
494
+ '\n .sanityDisplayLabel {\n margin: .5rem 0;\n border: 1px solid black;\n width: fit-content;\n padding: 5px;\n }\n .feature-media > .media-body {\n -webkit-box-flex: none;\n -ms-flex: none;\n flex: none;\n }\n .img-wrapper img {\n max-height: 240px;\n height: auto;\n width: 100%;\n object-fit: contain;\n }\n .feature-wrapper {\n height: 100%;\n width: 100%;\n }\n .feature-wrapper img {\n width: 100%;\n margin-bottom: 1em;\n }\n @media only screen and (min-width: 768px) {\n .img-wrapper > img {\n padding-right: 1em;\n }\n }\n @media only screen and (max-width: 767px) {\n .img-wrapper {\n width: 100%;\n }\n .img-wrapper img {\n padding-bottom: 1em;\n }\n .media {\n flex-direction: column !important;\n }\n }\n '
495
495
  )
496
496
  );
497
497
  };
package/dist/esm/index.js CHANGED
@@ -17333,14 +17333,10 @@ var Article = function Article(props) {
17333
17333
  renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length, authorPrefix)
17334
17334
  );
17335
17335
  }),
17336
- React__default.createElement(
17336
+ props.article.source && React__default.createElement(
17337
17337
  'div',
17338
- null,
17339
- source && React__default.createElement(
17340
- 'p',
17341
- null,
17342
- source
17343
- )
17338
+ { className: 'sanityDisplayLabel' },
17339
+ props.article.source
17344
17340
  ),
17345
17341
  issue && React__default.createElement(
17346
17342
  'div',
@@ -17434,7 +17430,12 @@ var Article = function Article(props) {
17434
17430
  }
17435
17431
  }),
17436
17432
  React__default.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
17437
- React__default.createElement('hr', { className: 'article-seperater' })
17433
+ React__default.createElement('hr', { className: 'article-seperater' }),
17434
+ React__default.createElement(
17435
+ 'style',
17436
+ { jsx: 'true' },
17437
+ '\n .sanityDisplayLabel {\n margin: .5rem 0;\n border: 1px solid black;\n width: fit-content;\n padding: 5px;\n }\n '
17438
+ )
17438
17439
  );
17439
17440
  };
17440
17441
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.432",
3
+ "version": "1.0.433",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",