@mjhls/mjh-framework 1.0.112 → 1.0.113
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 +25 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React__default, { Component, useState, useEffect, useRef,
|
|
1
|
+
import React__default, { Component, useState, useEffect, useRef, createElement, createContext } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import reactDom from 'react-dom';
|
|
4
4
|
import Container from 'react-bootstrap/Container';
|
|
@@ -12530,6 +12530,10 @@ var MdMouse = function (props) {
|
|
|
12530
12530
|
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"d":"M13 1.07V9h7c0-4.08-3.05-7.44-7-7.93zM4 15c0 4.42 3.58 8 8 8s8-3.58 8-8v-4H4v4zm7-13.93C7.05 1.56 4 4.92 4 9h7V1.07z"}}]})(props);
|
|
12531
12531
|
};
|
|
12532
12532
|
MdMouse.displayName = "MdMouse";
|
|
12533
|
+
var MdPictureAsPdf = function (props) {
|
|
12534
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"d":"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5v1zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5v3zm4-3H19v1h1.5V11H19v2h-1.5V7h3v1.5zM9 9.5h1v-1H9v1zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm10 5.5h1v-3h-1v3z"}}]})(props);
|
|
12535
|
+
};
|
|
12536
|
+
MdPictureAsPdf.displayName = "MdPictureAsPdf";
|
|
12533
12537
|
|
|
12534
12538
|
var NavNormal = function NavNormal(props) {
|
|
12535
12539
|
var logo = props.logo,
|
|
@@ -20631,5 +20635,24 @@ var AlphabeticList = function AlphabeticList(_ref) {
|
|
|
20631
20635
|
);
|
|
20632
20636
|
};
|
|
20633
20637
|
|
|
20634
|
-
|
|
20638
|
+
var PdfDownload = function PdfDownload(props) {
|
|
20639
|
+
console.log(props.issueInfo.asset.url);
|
|
20640
|
+
|
|
20641
|
+
return React__default.createElement(
|
|
20642
|
+
'div',
|
|
20643
|
+
{ className: 'pdf-download', style: { textAlign: 'center', padding: '1rem 0', borderTop: '1px solid #eee', marginTop: '1rem' } },
|
|
20644
|
+
React__default.createElement(
|
|
20645
|
+
'a',
|
|
20646
|
+
{ href: props.issueInfo.asset.url, target: '_blank' },
|
|
20647
|
+
React__default.createElement(MdPictureAsPdf, { style: { fontSize: '65px', color: '#ff0000' } }),
|
|
20648
|
+
React__default.createElement(
|
|
20649
|
+
'span',
|
|
20650
|
+
null,
|
|
20651
|
+
'Click to download this publication issue.'
|
|
20652
|
+
)
|
|
20653
|
+
)
|
|
20654
|
+
);
|
|
20655
|
+
};
|
|
20656
|
+
|
|
20657
|
+
export { ContentCard as DeckContent, GridContent$1 as GridContent, Queue as DeckQueue, ThumbnailCard, TaxonomyCard, GroupDeck, YoutubeGroup, QueueDeckExpanded, VideoSeriesListing$1 as VideoSeriesListing, Column1, Column2, Column3, Header, LeftNav, AccordionPanel, SocialShare, PageFilter, NavMagazine, NavNative, NavNormal, NavDvm, TemplateNormal, AD300x250, AD300x250x600, AD728x90, getSerializers$1 as getSerializers, Search, Feature, Breadcrumbs, SetCookie, Hero, AlphabeticList, PdfDownload };
|
|
20635
20658
|
//# sourceMappingURL=index.es.js.map
|