@mjhls/mjh-framework 1.0.480 → 1.0.482
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
package/dist/cjs/EventsDeck.js
CHANGED
|
@@ -1672,6 +1672,9 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
return 0;
|
|
1674
1674
|
});
|
|
1675
|
+
if (filter.indexOf('end') >= 0) {
|
|
1676
|
+
sortedEventsByStartData.reverse();
|
|
1677
|
+
}
|
|
1675
1678
|
setData(function (prevData) {
|
|
1676
1679
|
return [].concat(toConsumableArray._toConsumableArray(prevData), toConsumableArray._toConsumableArray(sortedEventsByStartData));
|
|
1677
1680
|
});
|
|
@@ -2021,7 +2021,7 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2021
2021
|
React__default.createElement(
|
|
2022
2022
|
'style',
|
|
2023
2023
|
{ jsx: 'true' },
|
|
2024
|
-
'\n .sidebar {\n clear: both;\n float: right;\n background-color: #eee;\n width: 40%;\n padding: 1rem;\n margin: 0 0 1rem 1rem;\n }\n
|
|
2024
|
+
'\n .sidebar {\n clear: both;\n float: right;\n background-color: #eee;\n width: 40%;\n padding: 1rem;\n margin: 0 0 1rem 1rem;\n }\n /* resolving list items inside sidebar being shifted to center because of unusual margin */\n .sidebar ul {\n margin-left: 0;\n padding-left: 1rem;\n }\n @media screen and (max-width: 991px) {\n .sidebar {\n float: none;\n width: auto;\n margin: 1rem 0;\n }\n }\n '
|
|
2025
2025
|
)
|
|
2026
2026
|
);
|
|
2027
2027
|
};
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -1667,6 +1667,9 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
1667
1667
|
}
|
|
1668
1668
|
return 0;
|
|
1669
1669
|
});
|
|
1670
|
+
if (filter.indexOf('end') >= 0) {
|
|
1671
|
+
sortedEventsByStartData.reverse();
|
|
1672
|
+
}
|
|
1670
1673
|
setData(function (prevData) {
|
|
1671
1674
|
return [].concat(_toConsumableArray(prevData), _toConsumableArray(sortedEventsByStartData));
|
|
1672
1675
|
});
|
|
@@ -2015,7 +2015,7 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2015
2015
|
React__default.createElement(
|
|
2016
2016
|
'style',
|
|
2017
2017
|
{ jsx: 'true' },
|
|
2018
|
-
'\n .sidebar {\n clear: both;\n float: right;\n background-color: #eee;\n width: 40%;\n padding: 1rem;\n margin: 0 0 1rem 1rem;\n }\n
|
|
2018
|
+
'\n .sidebar {\n clear: both;\n float: right;\n background-color: #eee;\n width: 40%;\n padding: 1rem;\n margin: 0 0 1rem 1rem;\n }\n /* resolving list items inside sidebar being shifted to center because of unusual margin */\n .sidebar ul {\n margin-left: 0;\n padding-left: 1rem;\n }\n @media screen and (max-width: 991px) {\n .sidebar {\n float: none;\n width: auto;\n margin: 1rem 0;\n }\n }\n '
|
|
2019
2019
|
)
|
|
2020
2020
|
);
|
|
2021
2021
|
};
|