@mjhls/mjh-framework 1.0.1017-cls-test → 1.0.1017-cls-v2
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/dist/cjs/Feature.js +1 -1
- package/dist/cjs/YahooHero.js +28 -20
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/YahooHero.js +28 -20
- package/package.json +1 -1
package/dist/cjs/Feature.js
CHANGED
|
@@ -109,7 +109,7 @@ var Feature = function Feature(props) {
|
|
|
109
109
|
return openLink(feature_link);
|
|
110
110
|
} },
|
|
111
111
|
React__default["default"].createElement('img', {
|
|
112
|
-
style: {
|
|
112
|
+
style: { maxHeight: '375px', minHeight: '300px', objectFit: 'cover', paddingLeft: '50%' },
|
|
113
113
|
className: 'd-block w-100',
|
|
114
114
|
src: urlFor({ client: client, source: feature_img, imageWidth: imageWidth }),
|
|
115
115
|
alt: feature_alt
|
package/dist/cjs/YahooHero.js
CHANGED
|
@@ -51,22 +51,26 @@ var YahooHero = function YahooHero(props) {
|
|
|
51
51
|
),
|
|
52
52
|
React__default["default"].createElement('div', { className: 'yh-top-article--blur' }),
|
|
53
53
|
React__default["default"].createElement(
|
|
54
|
-
|
|
55
|
-
{
|
|
56
|
-
React__default["default"].createElement(
|
|
57
|
-
'h1',
|
|
58
|
-
null,
|
|
59
|
-
topArticle.title
|
|
60
|
-
),
|
|
54
|
+
index.LazyLoad,
|
|
55
|
+
{ height: '100%', once: true },
|
|
61
56
|
React__default["default"].createElement(
|
|
62
|
-
'
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
57
|
+
'div',
|
|
58
|
+
{ className: 'yh-top-article--body' },
|
|
59
|
+
React__default["default"].createElement(
|
|
60
|
+
'h1',
|
|
61
|
+
null,
|
|
62
|
+
topArticle.title
|
|
63
|
+
),
|
|
64
|
+
React__default["default"].createElement(
|
|
65
|
+
'p',
|
|
66
|
+
null,
|
|
67
|
+
moment.moment(topArticle.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
|
|
68
|
+
),
|
|
69
|
+
React__default["default"].createElement(
|
|
70
|
+
'p',
|
|
71
|
+
null,
|
|
72
|
+
entities.clean_html_1(topArticle.summary)
|
|
73
|
+
)
|
|
70
74
|
)
|
|
71
75
|
)
|
|
72
76
|
)
|
|
@@ -94,12 +98,16 @@ var YahooHero = function YahooHero(props) {
|
|
|
94
98
|
React__default["default"].createElement('img', { src: articleThumbnail })
|
|
95
99
|
),
|
|
96
100
|
React__default["default"].createElement(
|
|
97
|
-
|
|
98
|
-
{
|
|
101
|
+
index.LazyLoad,
|
|
102
|
+
{ height: '100%', once: true },
|
|
99
103
|
React__default["default"].createElement(
|
|
100
|
-
'
|
|
101
|
-
{
|
|
102
|
-
|
|
104
|
+
'a',
|
|
105
|
+
{ href: '/view/' + article.url.current },
|
|
106
|
+
React__default["default"].createElement(
|
|
107
|
+
'h6',
|
|
108
|
+
{ className: 'yh-sub-article--title' },
|
|
109
|
+
article.title
|
|
110
|
+
)
|
|
103
111
|
)
|
|
104
112
|
),
|
|
105
113
|
React__default["default"].createElement(
|
package/dist/esm/Feature.js
CHANGED
|
@@ -102,7 +102,7 @@ var Feature = function Feature(props) {
|
|
|
102
102
|
return openLink(feature_link);
|
|
103
103
|
} },
|
|
104
104
|
React__default.createElement('img', {
|
|
105
|
-
style: {
|
|
105
|
+
style: { maxHeight: '375px', minHeight: '300px', objectFit: 'cover', paddingLeft: '50%' },
|
|
106
106
|
className: 'd-block w-100',
|
|
107
107
|
src: urlFor({ client: client, source: feature_img, imageWidth: imageWidth }),
|
|
108
108
|
alt: feature_alt
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -45,22 +45,26 @@ var YahooHero = function YahooHero(props) {
|
|
|
45
45
|
),
|
|
46
46
|
React__default.createElement('div', { className: 'yh-top-article--blur' }),
|
|
47
47
|
React__default.createElement(
|
|
48
|
-
|
|
49
|
-
{
|
|
50
|
-
React__default.createElement(
|
|
51
|
-
'h1',
|
|
52
|
-
null,
|
|
53
|
-
topArticle.title
|
|
54
|
-
),
|
|
48
|
+
LazyLoad,
|
|
49
|
+
{ height: '100%', once: true },
|
|
55
50
|
React__default.createElement(
|
|
56
|
-
'
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
51
|
+
'div',
|
|
52
|
+
{ className: 'yh-top-article--body' },
|
|
53
|
+
React__default.createElement(
|
|
54
|
+
'h1',
|
|
55
|
+
null,
|
|
56
|
+
topArticle.title
|
|
57
|
+
),
|
|
58
|
+
React__default.createElement(
|
|
59
|
+
'p',
|
|
60
|
+
null,
|
|
61
|
+
moment(topArticle.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
|
|
62
|
+
),
|
|
63
|
+
React__default.createElement(
|
|
64
|
+
'p',
|
|
65
|
+
null,
|
|
66
|
+
clean_html_1(topArticle.summary)
|
|
67
|
+
)
|
|
64
68
|
)
|
|
65
69
|
)
|
|
66
70
|
)
|
|
@@ -88,12 +92,16 @@ var YahooHero = function YahooHero(props) {
|
|
|
88
92
|
React__default.createElement('img', { src: articleThumbnail })
|
|
89
93
|
),
|
|
90
94
|
React__default.createElement(
|
|
91
|
-
|
|
92
|
-
{
|
|
95
|
+
LazyLoad,
|
|
96
|
+
{ height: '100%', once: true },
|
|
93
97
|
React__default.createElement(
|
|
94
|
-
'
|
|
95
|
-
{
|
|
96
|
-
|
|
98
|
+
'a',
|
|
99
|
+
{ href: '/view/' + article.url.current },
|
|
100
|
+
React__default.createElement(
|
|
101
|
+
'h6',
|
|
102
|
+
{ className: 'yh-sub-article--title' },
|
|
103
|
+
article.title
|
|
104
|
+
)
|
|
97
105
|
)
|
|
98
106
|
),
|
|
99
107
|
React__default.createElement(
|