@mjhls/mjh-framework 1.0.100 → 1.0.102
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 +172 -172
- package/dist/index.es.js +21 -21
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +21 -21
- package/dist/index.js.map +1 -1
- package/package.json +84 -84
package/dist/index.js
CHANGED
|
@@ -3944,14 +3944,14 @@ var DeckContent = function (_React$Component) {
|
|
|
3944
3944
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
3945
3945
|
|
|
3946
3946
|
// please leave this for later debug purpose : Yong Jun.
|
|
3947
|
-
/* console.log('page change reported', {
|
|
3948
|
-
currentPage: currentPage,
|
|
3949
|
-
pageNumber: pageNumber,
|
|
3950
|
-
pathname: pathname,
|
|
3951
|
-
path: path,
|
|
3952
|
-
newPath: newPath,
|
|
3953
|
-
firstPage: pageNumber === 1,
|
|
3954
|
-
queryString: queryString
|
|
3947
|
+
/* console.log('page change reported', {
|
|
3948
|
+
currentPage: currentPage,
|
|
3949
|
+
pageNumber: pageNumber,
|
|
3950
|
+
pathname: pathname,
|
|
3951
|
+
path: path,
|
|
3952
|
+
newPath: newPath,
|
|
3953
|
+
firstPage: pageNumber === 1,
|
|
3954
|
+
queryString: queryString
|
|
3955
3955
|
}) */
|
|
3956
3956
|
|
|
3957
3957
|
pageview(newPath);
|
|
@@ -5955,14 +5955,14 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
5955
5955
|
);
|
|
5956
5956
|
};
|
|
5957
5957
|
|
|
5958
|
-
/*
|
|
5959
|
-
GROQ query -
|
|
5960
|
-
*[_type == "article" && references(*[_type == 'documentGroup' && name == 'test']._id)][0...10]{
|
|
5961
|
-
title,
|
|
5962
|
-
published,
|
|
5963
|
-
"thumbnail": thumbnail.asset->url,
|
|
5964
|
-
"url": url.current
|
|
5965
|
-
}
|
|
5958
|
+
/*
|
|
5959
|
+
GROQ query -
|
|
5960
|
+
*[_type == "article" && references(*[_type == 'documentGroup' && name == 'test']._id)][0...10]{
|
|
5961
|
+
title,
|
|
5962
|
+
published,
|
|
5963
|
+
"thumbnail": thumbnail.asset->url,
|
|
5964
|
+
"url": url.current
|
|
5965
|
+
}
|
|
5966
5966
|
*/
|
|
5967
5967
|
var GroupDeck = function GroupDeck(props) {
|
|
5968
5968
|
// Props should be an array of objects containing Thumbnail, title, and URL
|
|
@@ -6157,10 +6157,10 @@ var getYoutubeId = createCommonjsModule(function (module, exports) {
|
|
|
6157
6157
|
}));
|
|
6158
6158
|
});
|
|
6159
6159
|
|
|
6160
|
-
/*
|
|
6161
|
-
GROQ query -
|
|
6162
|
-
accepts an array of title, URL
|
|
6163
|
-
`http://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
6160
|
+
/*
|
|
6161
|
+
GROQ query -
|
|
6162
|
+
accepts an array of title, URL
|
|
6163
|
+
`http://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
6164
6164
|
*/
|
|
6165
6165
|
var YoutubeGroup = function YoutubeGroup(props) {
|
|
6166
6166
|
// Props should be an array of objects containing Thumbnail, title, and URL
|
|
@@ -12513,7 +12513,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
12513
12513
|
|
|
12514
12514
|
return React__default.createElement(
|
|
12515
12515
|
'div',
|
|
12516
|
-
{ className: 'video-container', style: {
|
|
12516
|
+
{ className: 'video-container', style: { marginBottom: '20vh' } },
|
|
12517
12517
|
React__default.createElement(
|
|
12518
12518
|
'div',
|
|
12519
12519
|
{ className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|