@meduza/ui-kit-2 0.1.21 → 0.1.23

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.
@@ -2344,6 +2344,7 @@ var Spoiler = function Spoiler(_ref) {
2344
2344
  };
2345
2345
 
2346
2346
  var classNames = [[styles$A.root, true], [styles$A[onlyOn], !!onlyOn], [styles$A[display], !!display && styles$A[display]], [[styles$A.spoiled], !!spoiled]];
2347
+ var context = ['center'].concat(styleContext);
2347
2348
 
2348
2349
  if (styleContext) {
2349
2350
  classNames = makeStyleContext(classNames, styleContext, styles$A);
@@ -2363,7 +2364,7 @@ var Spoiler = function Spoiler(_ref) {
2363
2364
  return React__default.createElement(RenderBlocks, {
2364
2365
  key: item.id,
2365
2366
  block: item,
2366
- styleContext: styleContext
2367
+ styleContext: context
2367
2368
  });
2368
2369
  })), React__default.createElement("div", {
2369
2370
  className: styles$A.footer