@gravity-ui/page-constructor 5.9.0 → 5.9.1

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.
@@ -7,6 +7,9 @@ unpredictable css rules order in build */
7
7
  .pc-icon-wrapper_icon-position_left {
8
8
  flex-direction: row;
9
9
  }
10
+ .pc-icon-wrapper__icon-container {
11
+ flex-shrink: 0;
12
+ }
10
13
  .pc-icon-wrapper__icon {
11
14
  max-width: 100%;
12
15
  margin-bottom: 12px;
@@ -14,7 +14,7 @@ const IconWrapper = (props) => {
14
14
  const iconProps = (0, utils_2.getMediaImage)(icon.value);
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 }) },
17
- iconProps && (react_1.default.createElement(Image_1.default, Object.assign({}, iconProps, { className: b('icon', { ['icon-position']: iconPosition }) }))),
17
+ iconProps && (react_1.default.createElement(Image_1.default, Object.assign({}, iconProps, { containerClassName: b('icon-container'), className: b('icon', { ['icon-position']: iconPosition }) }))),
18
18
  react_1.default.createElement("div", { className: b({ ['content']: iconPosition }) }, children)));
19
19
  };
20
20
  exports.default = IconWrapper;
@@ -85,7 +85,7 @@ unpredictable css rules order in build */
85
85
  .pc-content_theme_dark .pc-content__title *,
86
86
  .pc-content_theme_dark .pc-content__text .yfm,
87
87
  .pc-content_theme_dark .pc-content__text .yfm *,
88
- .pc-content_theme_dark .pc-content__link a {
88
+ .pc-content_theme_dark .pc-content__links a {
89
89
  color: var(--g-color-text-light-primary);
90
90
  }
91
91
  .pc-content_theme_dark .pc-content__notice .yfm,
@@ -117,7 +117,7 @@ unpredictable css rules order in build */
117
117
  .pc-content_theme_light .pc-content__title *,
118
118
  .pc-content_theme_light .pc-content__text .yfm,
119
119
  .pc-content_theme_light .pc-content__text .yfm *,
120
- .pc-content_theme_light .pc-content__link a {
120
+ .pc-content_theme_light .pc-content__links a {
121
121
  color: var(--g-color-text-dark-primary);
122
122
  }
123
123
  .pc-content_theme_light .pc-content__notice .yfm,
@@ -7,6 +7,9 @@ unpredictable css rules order in build */
7
7
  .pc-icon-wrapper_icon-position_left {
8
8
  flex-direction: row;
9
9
  }
10
+ .pc-icon-wrapper__icon-container {
11
+ flex-shrink: 0;
12
+ }
10
13
  .pc-icon-wrapper__icon {
11
14
  max-width: 100%;
12
15
  margin-bottom: 12px;
@@ -12,7 +12,7 @@ const IconWrapper = (props) => {
12
12
  const iconProps = getMediaImage(icon.value);
13
13
  const iconPosition = icon === null || icon === void 0 ? void 0 : icon.position;
14
14
  return (React.createElement("div", { className: b({ ['icon-position']: iconPosition }) },
15
- iconProps && (React.createElement(Image, Object.assign({}, iconProps, { className: b('icon', { ['icon-position']: iconPosition }) }))),
15
+ iconProps && (React.createElement(Image, Object.assign({}, iconProps, { containerClassName: b('icon-container'), className: b('icon', { ['icon-position']: iconPosition }) }))),
16
16
  React.createElement("div", { className: b({ ['content']: iconPosition }) }, children)));
17
17
  };
18
18
  export default IconWrapper;
@@ -85,7 +85,7 @@ unpredictable css rules order in build */
85
85
  .pc-content_theme_dark .pc-content__title *,
86
86
  .pc-content_theme_dark .pc-content__text .yfm,
87
87
  .pc-content_theme_dark .pc-content__text .yfm *,
88
- .pc-content_theme_dark .pc-content__link a {
88
+ .pc-content_theme_dark .pc-content__links a {
89
89
  color: var(--g-color-text-light-primary);
90
90
  }
91
91
  .pc-content_theme_dark .pc-content__notice .yfm,
@@ -117,7 +117,7 @@ unpredictable css rules order in build */
117
117
  .pc-content_theme_light .pc-content__title *,
118
118
  .pc-content_theme_light .pc-content__text .yfm,
119
119
  .pc-content_theme_light .pc-content__text .yfm *,
120
- .pc-content_theme_light .pc-content__link a {
120
+ .pc-content_theme_light .pc-content__links a {
121
121
  color: var(--g-color-text-dark-primary);
122
122
  }
123
123
  .pc-content_theme_light .pc-content__notice .yfm,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "5.9.0",
3
+ "version": "5.9.1",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {