@mjhls/mjh-framework 1.0.738 → 1.0.739
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 -2
- package/dist/cjs/PubSection.js +11 -1
- package/dist/esm/PubSection.js +11 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
# mjh-framework v. 1.0.
|
|
2
|
-
|
|
1
|
+
# mjh-framework v. 1.0.739
|
|
3
2
|
[](https://www.npmjs.com/package/mjh-framework) [](https://standardjs.com)
|
|
4
3
|
|
|
5
4
|
## Install
|
package/dist/cjs/PubSection.js
CHANGED
|
@@ -48,7 +48,8 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
48
48
|
var _this = undefined;
|
|
49
49
|
|
|
50
50
|
var PubSection = function PubSection(props) {
|
|
51
|
-
var pubSection = props.pubSection
|
|
51
|
+
var pubSection = props.pubSection,
|
|
52
|
+
tocUrl = props.tocUrl;
|
|
52
53
|
|
|
53
54
|
return React__default['default'].createElement(
|
|
54
55
|
'div',
|
|
@@ -58,6 +59,15 @@ var PubSection = function PubSection(props) {
|
|
|
58
59
|
null,
|
|
59
60
|
pubSection.publication.name
|
|
60
61
|
),
|
|
62
|
+
React__default['default'].createElement(
|
|
63
|
+
'p',
|
|
64
|
+
null,
|
|
65
|
+
React__default['default'].createElement(
|
|
66
|
+
'a',
|
|
67
|
+
{ id: 'back', href: tocUrl ? tocUrl : 'toc' },
|
|
68
|
+
'Back to Table of Contents'
|
|
69
|
+
)
|
|
70
|
+
),
|
|
61
71
|
React__default['default'].createElement(QueueDeckExpanded, _extends._extends({ dataRecord: pubSection.articles }, props))
|
|
62
72
|
);
|
|
63
73
|
};
|
package/dist/esm/PubSection.js
CHANGED
|
@@ -42,7 +42,8 @@ import './timeDifferenceCalc.js';
|
|
|
42
42
|
var _this = undefined;
|
|
43
43
|
|
|
44
44
|
var PubSection = function PubSection(props) {
|
|
45
|
-
var pubSection = props.pubSection
|
|
45
|
+
var pubSection = props.pubSection,
|
|
46
|
+
tocUrl = props.tocUrl;
|
|
46
47
|
|
|
47
48
|
return React.createElement(
|
|
48
49
|
'div',
|
|
@@ -52,6 +53,15 @@ var PubSection = function PubSection(props) {
|
|
|
52
53
|
null,
|
|
53
54
|
pubSection.publication.name
|
|
54
55
|
),
|
|
56
|
+
React.createElement(
|
|
57
|
+
'p',
|
|
58
|
+
null,
|
|
59
|
+
React.createElement(
|
|
60
|
+
'a',
|
|
61
|
+
{ id: 'back', href: tocUrl ? tocUrl : 'toc' },
|
|
62
|
+
'Back to Table of Contents'
|
|
63
|
+
)
|
|
64
|
+
),
|
|
55
65
|
React.createElement(QueueDeckExpanded, _extends({ dataRecord: pubSection.articles }, props))
|
|
56
66
|
);
|
|
57
67
|
};
|