@mjhls/mjh-framework 1.0.1046 → 1.0.1048

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.
@@ -16,8 +16,8 @@ import './web.dom.iterable-ab4dea5c.js';
16
16
  import 'react-dom';
17
17
  import 'prop-types';
18
18
 
19
- var css = "#CMEDeck-module_ceToggles__1QFCs {\n display: flex;\n padding: 1rem;\n }\n #CMEDeck-module_ceToggles__1QFCs div {\n box-sizing: border-box;\n padding: 0.5rem;\n width: 50%;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n justify-content: center;\n cursor: pointer;\n border-bottom: 3px solid #fff;\n }\n #CMEDeck-module_ceToggles__1QFCs div:hover {\n opacity: 1 !important;\n border-color: #cecece;\n }\n #CMEDeck-module_ceToggles__1QFCs div p {\n margin: 0;\n font-weight: 700;\n width: 100%;\n text-align: center;\n font-size: 1rem;\n }\n #CMEDeck-module_ceToggles__1QFCs div img {\n width: 100%;\n max-width: 10rem;\n }\n\n .CMEDeck-module_cardImage__3yM5u{\n width: 268px;\n max-width: 100%;\n border-radius: 0 0 0 10%;\n margin-bottom: 20px;\n margin-top: 10px;\n border-top: 1px solid #EEE;\n }\n .CMEDeck-module_cardText__2zCzZ{\n font-size:22px;\n font-weight: 500;\n\n }\n @media (max-width: 500px){\n #CMEDeck-module_ceToggles__1QFCs div img {\n width: 131px;\n height: 46px;\n max-width: 10rem;\n }\n\n .CMEDeck-module_cardText__2zCzZ{\n font-size: 12px;\n font-weight: 500;\n }\n }";
20
- var styles = { "ceToggles": "CMEDeck-module_ceToggles__1QFCs", "cardImage": "CMEDeck-module_cardImage__3yM5u", "cardText": "CMEDeck-module_cardText__2zCzZ" };
19
+ var css = "#CMEDeck-module_ceToggles__1QFCs {\n display: flex;\n padding: 1rem;\n }\n #CMEDeck-module_ceToggles__1QFCs div {\n box-sizing: border-box;\n padding: 0.5rem;\n width: 50%;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n justify-content: center;\n cursor: pointer;\n border-bottom: 3px solid #fff;\n }\n #CMEDeck-module_ceToggles__1QFCs div:hover {\n opacity: 1 !important;\n border-color: #cecece;\n }\n #CMEDeck-module_ceToggles__1QFCs div p {\n margin: 0;\n font-weight: 700;\n width: 100%;\n text-align: center;\n font-size: 1rem;\n }\n #CMEDeck-module_ceToggles__1QFCs div img {\n width: 100%;\n max-width: 10rem;\n }\n\n .CMEDeck-module_cardImage__3yM5u{\n width: 268px;\n max-width: 100%;\n border-radius: 0 0 0 10%;\n margin-bottom: 20px;\n margin-top: 10px;\n border-top: 1px solid #EEE;\n }\n .CMEDeck-module_cardText__2zCzZ{\n font-size:22px;\n font-weight: 500;\n\n }\n @media (max-width: 500px){\n #CMEDeck-module_ceToggles__1QFCs div img {\n width: 131px;\n height: 46px;\n max-width: 10rem;\n }\n\n .CMEDeck-module_cardText__2zCzZ{\n font-size: 12px;\n font-weight: 500;\n }\n }\n\n .CMEDeck-module_networkLogo__1jFYP {\n max-width: 250px;\n margin: auto;\n }\n\n @media screen and (max-width: 768px) {\n #CMEDeck-module_ceToggles__1QFCs {\n flex-wrap: wrap-reverse;\n justify-content: center;\n }\n .CMEDeck-module_networkLogo__1jFYP {\n margin: 1rem 0;\n }\n }";
20
+ var styles = { "ceToggles": "CMEDeck-module_ceToggles__1QFCs", "cardImage": "CMEDeck-module_cardImage__3yM5u", "cardText": "CMEDeck-module_cardText__2zCzZ", "networkLogo": "CMEDeck-module_networkLogo__1jFYP" };
21
21
  styleInject(css);
22
22
 
23
23
  var CMEDeck = function CMEDeck(_ref) {
@@ -38,7 +38,8 @@ var CMEDeck = function CMEDeck(_ref) {
38
38
  _ref$itemsPerPage = _ref.itemsPerPage,
39
39
  itemsPerPage = _ref$itemsPerPage === undefined ? 10 : _ref$itemsPerPage,
40
40
  _ref$numberOfItemsBef = _ref.numberOfItemsBeforeAd,
41
- numberOfItemsBeforeAd = _ref$numberOfItemsBef === undefined ? 6 : _ref$numberOfItemsBef;
41
+ numberOfItemsBeforeAd = _ref$numberOfItemsBef === undefined ? 6 : _ref$numberOfItemsBef,
42
+ networkLogo = _ref.networkLogo;
42
43
 
43
44
  var router = useRouter();
44
45
 
@@ -190,7 +191,8 @@ var CMEDeck = function CMEDeck(_ref) {
190
191
  null,
191
192
  'Pharmacist Education'
192
193
  )
193
- )
194
+ ),
195
+ networkLogo ? React__default.createElement('img', { src: networkLogo, alt: 'Network Logo', className: styles.networkLogo }) : ''
194
196
  ),
195
197
  React__default.createElement(
196
198
  Row,