@mjhls/mjh-framework 1.0.994-pdlist-fix-v1 → 1.0.994-podcasts

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.
@@ -3,13 +3,6 @@ import React__default, { useCallback, useRef, useState, useContext, useMemo, use
3
3
  import PropTypes from 'prop-types';
4
4
  import ReactDOM from 'react-dom';
5
5
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
6
- import { _ as _typeof } from './typeof-e9fc0c5d.js';
7
- import { L as LazyLoad } from './index-755f2cc2.js';
8
- import urlFor from './urlFor.js';
9
- import { m as moment } from './moment-bc12cb97.js';
10
- import { s as styleInject } from './style-inject.es-1f59c1d0.js';
11
- import { B as BlockContent } from './BlockContent-1e73bd2c.js';
12
- import { g as getSerializers } from './index-9a58ca55.js';
13
6
 
14
7
  /**
15
8
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -9449,69 +9442,4 @@ var Tooltip = React__default.forwardRef(function (_ref, ref) {
9449
9442
  Tooltip.defaultProps = defaultProps;
9450
9443
  Tooltip.displayName = 'Tooltip';
9451
9444
 
9452
- var css = ".MediaSeriesCard-module_article__SAFYK {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.MediaSeriesCard-module_article__SAFYK a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.MediaSeriesCard-module_thumb__3jRAU {\n width: 25%;\n}\n.MediaSeriesCard-module_thumb__3jRAU img {\n width: 100%;\n height: auto;\n}\n.MediaSeriesCard-module_info__3L7_o {\n width: 75%;\n font-size: 1rem;\n}\n.MediaSeriesCard-module_info__3L7_o h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.MediaSeriesCard-module_published__E4oiz {\n color: #6d6d6d;\n margin: 0;\n}\n.MediaSeriesCard-module_summary__1xanh {\n margin: 0.5rem 0 0 0;\n}\n.MediaSeriesCard-module_author__e5fuR {\n margin: 0;\n}\n.MediaSeriesCard-module_author__e5fuR span {\n color: #6d6d6d;\n}\n.MediaSeriesCard-module_name__2m5KY {\n font-size: 1.3rem;\n font-weight: bold;\n}\n@media only screen and (max-width: 568px) {\n .MediaSeriesCard-module_article__SAFYK {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .MediaSeriesCard-module_article__SAFYK a {\n flex-direction: column;\n align-items: center;\n }\n .MediaSeriesCard-module_thumb__3jRAU {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .MediaSeriesCard-module_thumb__3jRAU img{\n border-radius: 10px 10px 0 0; \n }\n .MediaSeriesCard-module_thumb__3jRAU figure {\n margin: 0;\n }\n .MediaSeriesCard-module_info__3L7_o {\n width: 90%;\n padding: 0rem !important;\n }\n .MediaSeriesCard-module_info__3L7_o h2 {\n font-size: 1rem;\n }\n .MediaSeriesCard-module_name__2m5KY {\n font-size: 1rem;\n \n }\n}\n";
9453
- var styles = { "article": "MediaSeriesCard-module_article__SAFYK", "thumb": "MediaSeriesCard-module_thumb__3jRAU", "info": "MediaSeriesCard-module_info__3L7_o", "published": "MediaSeriesCard-module_published__E4oiz", "summary": "MediaSeriesCard-module_summary__1xanh", "author": "MediaSeriesCard-module_author__e5fuR", "name": "MediaSeriesCard-module_name__2m5KY" };
9454
- styleInject(css);
9455
-
9456
- var MediaSeriesCard = function MediaSeriesCard(props) {
9457
- var data = props.data,
9458
- variant = props.variant,
9459
- defaultImage = props.defaultImage,
9460
- client = props.client;
9461
-
9462
-
9463
- return React__default.createElement(
9464
- 'div',
9465
- { className: 'media-series-article ' + styles.article },
9466
- React__default.createElement(
9467
- 'a',
9468
- { href: '/' + data.parentUrl + '/' + data.identifier.current, style: variant === 'right' ? { flexDirection: 'row-reverse' } : {} },
9469
- React__default.createElement(
9470
- 'div',
9471
- { className: 'media-series-thumbnail ' + styles.thumb },
9472
- data.thumbnail && data.thumbnail.asset && React__default.createElement(
9473
- 'figure',
9474
- null,
9475
- React__default.createElement(
9476
- LazyLoad,
9477
- null,
9478
- React__default.createElement('img', {
9479
- src: data.thumbnail && data.thumbnail.asset ? urlFor({ client: client, source: data.thumbnail }) : data.thumbnail && _typeof(data.thumbnail == 'string') ? data.thumbnail : defaultImage
9480
- })
9481
- )
9482
- )
9483
- ),
9484
- React__default.createElement(
9485
- 'div',
9486
- { className: 'media-series-info ' + styles.info, style: variant === 'right' ? { padding: '0 1rem 0 0' } : { padding: ' 0 0 0 1rem' } },
9487
- React__default.createElement(
9488
- 'div',
9489
- { className: 'media-series-name ' + styles.name },
9490
- data.name
9491
- ),
9492
- data.published && React__default.createElement(
9493
- 'p',
9494
- { className: 'media-series-published ' + styles.published },
9495
- moment(data.published).format('MMMM Do YYYY')
9496
- ),
9497
- data.authorMapping && data.authorMapping.displayName && React__default.createElement(
9498
- 'p',
9499
- { className: 'media-series-author ' + styles.author },
9500
- 'By ',
9501
- React__default.createElement(
9502
- 'span',
9503
- null,
9504
- data.authorMapping.displayName
9505
- )
9506
- ),
9507
- data.description && React__default.createElement(
9508
- 'div',
9509
- { className: 'media-series-desc' },
9510
- React__default.createElement(BlockContent, { blocks: data.description, serializers: getSerializers(client) })
9511
- )
9512
- )
9513
- )
9514
- );
9515
- };
9516
-
9517
- export { DropdownButton as D, MediaSeriesCard as M, Dropdown as a };
9445
+ export { DropdownButton as D, Dropdown as a };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.994-pdlist-fix-v1",
3
+ "version": "1.0.994-podcasts",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",