@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.
- package/build/cjs/components/IconWrapper/IconWrapper.css +3 -0
- package/build/cjs/components/IconWrapper/IconWrapper.js +1 -1
- package/build/cjs/sub-blocks/Content/Content.css +2 -2
- package/build/esm/components/IconWrapper/IconWrapper.css +3 -0
- package/build/esm/components/IconWrapper/IconWrapper.js +1 -1
- package/build/esm/sub-blocks/Content/Content.css +2 -2
- package/package.json +1 -1
- package/widget/index.js +1 -1
|
@@ -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-
|
|
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-
|
|
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,
|
|
@@ -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-
|
|
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-
|
|
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,
|