@gravity-ui/page-constructor 5.15.1 → 5.15.2

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.
@@ -26,4 +26,7 @@ unpredictable css rules order in build */
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  flex: 1 0 auto;
29
+ }
30
+ .pc-icon-wrapper__content_icon-position_left.pc-icon-wrapper__content_icon-position_left {
31
+ flex: 1 0 0;
29
32
  }
@@ -15,6 +15,6 @@ const IconWrapper = (props) => {
15
15
  const iconPosition = icon === null || icon === void 0 ? void 0 : icon.position;
16
16
  return (react_1.default.createElement("div", { className: b({ ['icon-position']: iconPosition }, className) },
17
17
  iconProps && (react_1.default.createElement(Image_1.default, Object.assign({}, iconProps, { containerClassName: b('icon-container'), className: b('icon', { ['icon-position']: iconPosition }) }))),
18
- react_1.default.createElement("div", { className: b('content') }, children)));
18
+ react_1.default.createElement("div", { className: b('content', { ['icon-position']: iconPosition }) }, children)));
19
19
  };
20
20
  exports.default = IconWrapper;
@@ -26,4 +26,7 @@ unpredictable css rules order in build */
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  flex: 1 0 auto;
29
+ }
30
+ .pc-icon-wrapper__content_icon-position_left.pc-icon-wrapper__content_icon-position_left {
31
+ flex: 1 0 0;
29
32
  }
@@ -13,6 +13,6 @@ const IconWrapper = (props) => {
13
13
  const iconPosition = icon === null || icon === void 0 ? void 0 : icon.position;
14
14
  return (React.createElement("div", { className: b({ ['icon-position']: iconPosition }, className) },
15
15
  iconProps && (React.createElement(Image, Object.assign({}, iconProps, { containerClassName: b('icon-container'), className: b('icon', { ['icon-position']: iconPosition }) }))),
16
- React.createElement("div", { className: b('content') }, children)));
16
+ React.createElement("div", { className: b('content', { ['icon-position']: iconPosition }) }, children)));
17
17
  };
18
18
  export default IconWrapper;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "5.15.1",
3
+ "version": "5.15.2",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {