@mw-kit/mw-ui 1.7.59 → 1.7.60

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 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
- size = size || theme.spacings.s4;
12131
- borderSize = borderSize || "calc(" + size + " * 0.0757)";
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: auto;\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) {
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