@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.
@@ -12124,8 +12124,8 @@ var Loader = styled.div(_templateObject2$3 || (_templateObject2$3 = _taggedTempl
12124
12124
  theme = _ref.theme,
12125
12125
  filled = _ref.filled,
12126
12126
  zIndex = _ref.zIndex;
12127
- size = size || theme.spacings.s4;
12128
- borderSize = borderSize || "calc(" + size + " * 0.0757)";
12127
+ borderSize = borderSize || size ? "calc(" + size + " * 0.0757)" : '5px';
12128
+ size = size || '48px';
12129
12129
  color = color || 'blue';
12130
12130
  bgColor = bgColor || color;
12131
12131
  var beforeColor = isKeyOf(theme.colors, bgColor) ? theme.getColor(bgColor, 25) : color;
@@ -12658,7 +12658,7 @@ var Container$1 = styled.div(_templateObject$7 || (_templateObject$7 = _taggedTe
12658
12658
  var theme = _ref2.theme;
12659
12659
  return theme.spacings.s1;
12660
12660
  });
12661
- var OverflowContainer = styled.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) {
12661
+ var OverflowContainer = styled.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) {
12662
12662
  var height = _ref3.height;
12663
12663
  return height || '100%';
12664
12664
  }, function (_ref4) {
@@ -12717,9 +12717,7 @@ var ScrollContainer = function ScrollContainer(props) {
12717
12717
  _onScroll2(event);
12718
12718
  }
12719
12719
  })), loading && React__default.createElement(Loader, {
12720
- filled: true,
12721
- size: '43px',
12722
- borderSize: '2px'
12720
+ filled: true
12723
12721
  })), after);
12724
12722
  };
12725
12723