@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.
@@ -2337,6 +2337,7 @@ var Spoiler = function Spoiler(_ref) {
2337
2337
  };
2338
2338
 
2339
2339
  var classNames = [[styles$A.root, true], [styles$A[onlyOn], !!onlyOn], [styles$A[display], !!display && styles$A[display]], [[styles$A.spoiled], !!spoiled]];
2340
+ var context = ['center'].concat(styleContext);
2340
2341
 
2341
2342
  if (styleContext) {
2342
2343
  classNames = makeStyleContext(classNames, styleContext, styles$A);
@@ -2356,7 +2357,7 @@ var Spoiler = function Spoiler(_ref) {
2356
2357
  return React.createElement(RenderBlocks, {
2357
2358
  key: item.id,
2358
2359
  block: item,
2359
- styleContext: styleContext
2360
+ styleContext: context
2360
2361
  });
2361
2362
  })), React.createElement("div", {
2362
2363
  className: styles$A.footer