@mw-kit/mw-ui 1.7.59 → 1.7.61
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/index.js +7 -9
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -9
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12127,8 +12127,8 @@ var Loader = styled__default.div(_templateObject2$3 || (_templateObject2$3 = _ta
|
|
|
12127
12127
|
theme = _ref.theme,
|
|
12128
12128
|
filled = _ref.filled,
|
|
12129
12129
|
zIndex = _ref.zIndex;
|
|
12130
|
-
|
|
12131
|
-
|
|
12130
|
+
borderSize = borderSize || size ? "calc(" + size + " * 0.0757)" : '5px';
|
|
12131
|
+
size = size || '48px';
|
|
12132
12132
|
color = color || 'blue';
|
|
12133
12133
|
bgColor = bgColor || color;
|
|
12134
12134
|
var beforeColor = isKeyOf(theme.colors, bgColor) ? theme.getColor(bgColor, 25) : color;
|
|
@@ -12661,7 +12661,7 @@ var Container$1 = styled__default.div(_templateObject$7 || (_templateObject$7 =
|
|
|
12661
12661
|
var theme = _ref2.theme;
|
|
12662
12662
|
return theme.spacings.s1;
|
|
12663
12663
|
});
|
|
12664
|
-
var OverflowContainer = styled__default.div(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteralLoose(["\n overflow-y: scroll;\n overflow-y: overlay;\n width: 100%;\n position: relative;\n\n max-height: ", ";\n\n scrollbar-color: ", ";\n scrollbar-width:
|
|
12664
|
+
var OverflowContainer = styled__default.div(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteralLoose(["\n overflow-y: scroll;\n overflow-y: overlay;\n width: 100%;\n position: relative;\n\n max-height: ", ";\n\n scrollbar-color: ", ";\n scrollbar-width: thin;\n\n ::-webkit-scrollbar {\n width: 7px;\n }\n ::-webkit-scrollbar-thumb {\n background: ", ";\n }\n ::-webkit-scrollbar-track {\n background: ", ";\n }\n\n ", ";\n"])), function (_ref3) {
|
|
12665
12665
|
var height = _ref3.height;
|
|
12666
12666
|
return height || '100%';
|
|
12667
12667
|
}, function (_ref4) {
|
|
@@ -12720,9 +12720,7 @@ var ScrollContainer = function ScrollContainer(props) {
|
|
|
12720
12720
|
_onScroll2(event);
|
|
12721
12721
|
}
|
|
12722
12722
|
})), loading && React__default.createElement(Loader, {
|
|
12723
|
-
filled: true
|
|
12724
|
-
size: '43px',
|
|
12725
|
-
borderSize: '2px'
|
|
12723
|
+
filled: true
|
|
12726
12724
|
})), after);
|
|
12727
12725
|
};
|
|
12728
12726
|
|
|
@@ -17969,7 +17967,7 @@ var Row = styled__default.div(_templateObject$O || (_templateObject$O = _taggedT
|
|
|
17969
17967
|
}
|
|
17970
17968
|
|
|
17971
17969
|
var config = striped === true ? {
|
|
17972
|
-
even: ['
|
|
17970
|
+
even: ['ghostWhite', 50]
|
|
17973
17971
|
} : striped;
|
|
17974
17972
|
var colors = Object.keys(config).reduce(function (prev, key) {
|
|
17975
17973
|
var _extends2;
|
|
@@ -17990,9 +17988,9 @@ var Row = styled__default.div(_templateObject$O || (_templateObject$O = _taggedT
|
|
|
17990
17988
|
return c;
|
|
17991
17989
|
}, function (_ref7) {
|
|
17992
17990
|
var borderless = _ref7.borderless,
|
|
17993
|
-
|
|
17991
|
+
platinum = _ref7.theme.colors.platinum;
|
|
17994
17992
|
if (borderless) return;
|
|
17995
|
-
return styled.css(_templateObject9$b || (_templateObject9$b = _taggedTemplateLiteralLoose(["\n :
|
|
17993
|
+
return styled.css(_templateObject9$b || (_templateObject9$b = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", ";\n :last-child {\n border-bottom: 1px solid transparent;\n }\n "])), platinum);
|
|
17996
17994
|
}, function (_ref8) {
|
|
17997
17995
|
var hover = _ref8.hover,
|
|
17998
17996
|
theme = _ref8.theme;
|