@mjhls/mjh-framework 1.0.514 → 1.0.516

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.514
2
+ # mjh-framework v. 1.0.516
3
3
 
4
4
  > Foundation Framework
5
5
 
@@ -65,7 +65,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
65
65
  React__default.createElement(
66
66
  'style',
67
67
  { jsx: 'true' },
68
- '\n .breadcrumb {\n background: transparent;\n padding-left: 0.25rem;\n }\n .breadcrumb .breadcrumb-item + .breadcrumb-item::before {\n content: \'' + separator + '\';\n }\n '
68
+ '\n .breadcrumb {\n background: transparent;\n padding-left: 0.25rem;\n }\n .breadcrumb .breadcrumb-item + .breadcrumb-item::before {\n content: \'' + separator + '\';\n }\n .breadcrumb-item.active {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 40ch;\n }\n @media screen and (max-width: 1400px) {\n .breadcrumb-item.active {\n max-width: 20ch;\n }\n }\n @media screen and (max-width: 768px) {\n .breadcrumb-item.active {\n max-width: 40ch;\n }\n }\n '
69
69
  )
70
70
  );
71
71
  }
@@ -96,7 +96,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
96
96
  React__default.createElement(
97
97
  'style',
98
98
  { jsx: 'true' },
99
- '\n ol.breadcrumb {\n background: transparent;\n padding-left: 0.25rem;\n }\n '
99
+ '\n ol.breadcrumb {\n background: transparent;\n padding-left: 0.25rem;\n }\n .breadcrumb-item.active {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 40ch;\n }\n @media screen and (max-width: 1400px) {\n .breadcrumb-item.active {\n max-width: 20ch;\n }\n }\n @media screen and (max-width: 768px) {\n .breadcrumb-item.active {\n max-width: 40ch;\n }\n }\n '
100
100
  )
101
101
  );
102
102
  };
@@ -79,7 +79,15 @@ var IssueLanding = function IssueLanding(props) {
79
79
  client = props.client,
80
80
  settings = props.settings,
81
81
  pageview = props.pageview,
82
- rightItems = props.rightItems;
82
+ rightItems = props.rightItems,
83
+ _props$showCategory = props.showCategory,
84
+ showCategory = _props$showCategory === undefined ? true : _props$showCategory,
85
+ _props$showPublished = props.showPublished,
86
+ showPublished = _props$showPublished === undefined ? true : _props$showPublished,
87
+ _props$seoPaginate = props.seoPaginate,
88
+ seoPaginate = _props$seoPaginate === undefined ? true : _props$seoPaginate,
89
+ _props$autoScroll = props.autoScroll,
90
+ autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll;
83
91
 
84
92
  return React__default.createElement(
85
93
  'div',
@@ -94,14 +102,14 @@ var IssueLanding = function IssueLanding(props) {
94
102
  client: client,
95
103
  mapping: settings.mapping,
96
104
  dataRecord: pubIssue.issue.articles,
97
- seoPaginate: true,
105
+ seoPaginate: seoPaginate,
98
106
  pageview: pageview,
99
107
  columns: 'rotate',
100
108
  variant: 'top',
101
- autoScroll: true,
109
+ autoScroll: autoScroll,
102
110
  defaultImage: settings.logo,
103
- showPublished: true,
104
- showCategory: true,
111
+ showPublished: showPublished,
112
+ showCategory: showCategory,
105
113
  imageHeight: 270,
106
114
  imageWidth: 480,
107
115
  rightItems: rightItems
@@ -60,7 +60,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
60
60
  React__default.createElement(
61
61
  'style',
62
62
  { jsx: 'true' },
63
- '\n .breadcrumb {\n background: transparent;\n padding-left: 0.25rem;\n }\n .breadcrumb .breadcrumb-item + .breadcrumb-item::before {\n content: \'' + separator + '\';\n }\n '
63
+ '\n .breadcrumb {\n background: transparent;\n padding-left: 0.25rem;\n }\n .breadcrumb .breadcrumb-item + .breadcrumb-item::before {\n content: \'' + separator + '\';\n }\n .breadcrumb-item.active {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 40ch;\n }\n @media screen and (max-width: 1400px) {\n .breadcrumb-item.active {\n max-width: 20ch;\n }\n }\n @media screen and (max-width: 768px) {\n .breadcrumb-item.active {\n max-width: 40ch;\n }\n }\n '
64
64
  )
65
65
  );
66
66
  }
@@ -91,7 +91,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
91
91
  React__default.createElement(
92
92
  'style',
93
93
  { jsx: 'true' },
94
- '\n ol.breadcrumb {\n background: transparent;\n padding-left: 0.25rem;\n }\n '
94
+ '\n ol.breadcrumb {\n background: transparent;\n padding-left: 0.25rem;\n }\n .breadcrumb-item.active {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 40ch;\n }\n @media screen and (max-width: 1400px) {\n .breadcrumb-item.active {\n max-width: 20ch;\n }\n }\n @media screen and (max-width: 768px) {\n .breadcrumb-item.active {\n max-width: 40ch;\n }\n }\n '
95
95
  )
96
96
  );
97
97
  };
@@ -74,7 +74,15 @@ var IssueLanding = function IssueLanding(props) {
74
74
  client = props.client,
75
75
  settings = props.settings,
76
76
  pageview = props.pageview,
77
- rightItems = props.rightItems;
77
+ rightItems = props.rightItems,
78
+ _props$showCategory = props.showCategory,
79
+ showCategory = _props$showCategory === undefined ? true : _props$showCategory,
80
+ _props$showPublished = props.showPublished,
81
+ showPublished = _props$showPublished === undefined ? true : _props$showPublished,
82
+ _props$seoPaginate = props.seoPaginate,
83
+ seoPaginate = _props$seoPaginate === undefined ? true : _props$seoPaginate,
84
+ _props$autoScroll = props.autoScroll,
85
+ autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll;
78
86
 
79
87
  return React__default.createElement(
80
88
  'div',
@@ -89,14 +97,14 @@ var IssueLanding = function IssueLanding(props) {
89
97
  client: client,
90
98
  mapping: settings.mapping,
91
99
  dataRecord: pubIssue.issue.articles,
92
- seoPaginate: true,
100
+ seoPaginate: seoPaginate,
93
101
  pageview: pageview,
94
102
  columns: 'rotate',
95
103
  variant: 'top',
96
- autoScroll: true,
104
+ autoScroll: autoScroll,
97
105
  defaultImage: settings.logo,
98
- showPublished: true,
99
- showCategory: true,
106
+ showPublished: showPublished,
107
+ showCategory: showCategory,
100
108
  imageHeight: 270,
101
109
  imageWidth: 480,
102
110
  rightItems: rightItems
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.514",
3
+ "version": "1.0.516",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",