@gravity-ui/page-constructor 4.18.2-alpha.1 → 4.19.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/blocks/Header/Header.css +1 -1
- package/build/cjs/blocks/Header/Header.js +4 -1
- package/build/cjs/containers/PageConstructor/PageConstructor.css +2 -2
- package/build/esm/blocks/Header/Header.css +1 -1
- package/build/esm/blocks/Header/Header.js +4 -1
- package/build/esm/containers/PageConstructor/PageConstructor.css +2 -2
- package/package.json +1 -1
- package/styles/styles.css +2 -2
- package/styles/yfm.scss +4 -4
- package/widget/index.js +1 -1
|
@@ -21,7 +21,7 @@ unpredictable css rules order in build */
|
|
|
21
21
|
height: 100%;
|
|
22
22
|
}
|
|
23
23
|
.pc-header-block__content_theme_dark .pc-header-block__title,
|
|
24
|
-
.pc-header-block__content_theme_dark .pc-header-
|
|
24
|
+
.pc-header-block__content_theme_dark .pc-header-block__overtitle {
|
|
25
25
|
color: var(--g-color-text-light-primary);
|
|
26
26
|
}
|
|
27
27
|
.pc-header-block__content_vertical-offset {
|
|
@@ -57,7 +57,10 @@ const HeaderBlock = (props) => {
|
|
|
57
57
|
status,
|
|
58
58
|
react_1.default.createElement(components_1.HTML, null, title)),
|
|
59
59
|
description && (react_1.default.createElement("div", { className: b('description') },
|
|
60
|
-
react_1.default.createElement(YFMWrapper_1.default, { content: description, modifiers: {
|
|
60
|
+
react_1.default.createElement(YFMWrapper_1.default, { content: description, modifiers: {
|
|
61
|
+
constructor: true,
|
|
62
|
+
constructorTheme: textTheme,
|
|
63
|
+
} }))),
|
|
61
64
|
buttons && (react_1.default.createElement("div", { className: b('buttons'), "data-qa": "header-buttons" }, buttons.map((button, index) => (react_1.default.createElement(components_1.RouterLink, { href: button.url, key: index },
|
|
62
65
|
react_1.default.createElement(components_1.Button, Object.assign({ key: index, className: b('button'), size: "xl" }, button))))))),
|
|
63
66
|
children))),
|
|
@@ -103,10 +103,10 @@ unpredictable css rules order in build */
|
|
|
103
103
|
.yfm_constructor.yfm_constructor_size_s p {
|
|
104
104
|
margin-bottom: 8px;
|
|
105
105
|
}
|
|
106
|
-
|
|
107
|
-
.yfm_constructor_theme_dark p {
|
|
106
|
+
.yfm_constructor.yfm_constructor_theme_dark p {
|
|
108
107
|
color: var(--g-color-text-light-primary);
|
|
109
108
|
}
|
|
109
|
+
|
|
110
110
|
.yfm_constructor_list_style ul {
|
|
111
111
|
padding-left: 20px;
|
|
112
112
|
}
|
|
@@ -21,7 +21,7 @@ unpredictable css rules order in build */
|
|
|
21
21
|
height: 100%;
|
|
22
22
|
}
|
|
23
23
|
.pc-header-block__content_theme_dark .pc-header-block__title,
|
|
24
|
-
.pc-header-block__content_theme_dark .pc-header-
|
|
24
|
+
.pc-header-block__content_theme_dark .pc-header-block__overtitle {
|
|
25
25
|
color: var(--g-color-text-light-primary);
|
|
26
26
|
}
|
|
27
27
|
.pc-header-block__content_vertical-offset {
|
|
@@ -54,7 +54,10 @@ export const HeaderBlock = (props) => {
|
|
|
54
54
|
status,
|
|
55
55
|
React.createElement(HTML, null, title)),
|
|
56
56
|
description && (React.createElement("div", { className: b('description') },
|
|
57
|
-
React.createElement(YFMWrapper, { content: description, modifiers: {
|
|
57
|
+
React.createElement(YFMWrapper, { content: description, modifiers: {
|
|
58
|
+
constructor: true,
|
|
59
|
+
constructorTheme: textTheme,
|
|
60
|
+
} }))),
|
|
58
61
|
buttons && (React.createElement("div", { className: b('buttons'), "data-qa": "header-buttons" }, buttons.map((button, index) => (React.createElement(RouterLink, { href: button.url, key: index },
|
|
59
62
|
React.createElement(Button, Object.assign({ key: index, className: b('button'), size: "xl" }, button))))))),
|
|
60
63
|
children))),
|
|
@@ -103,10 +103,10 @@ unpredictable css rules order in build */
|
|
|
103
103
|
.yfm_constructor.yfm_constructor_size_s p {
|
|
104
104
|
margin-bottom: 8px;
|
|
105
105
|
}
|
|
106
|
-
|
|
107
|
-
.yfm_constructor_theme_dark p {
|
|
106
|
+
.yfm_constructor.yfm_constructor_theme_dark p {
|
|
108
107
|
color: var(--g-color-text-light-primary);
|
|
109
108
|
}
|
|
109
|
+
|
|
110
110
|
.yfm_constructor_list_style ul {
|
|
111
111
|
padding-left: 20px;
|
|
112
112
|
}
|
package/package.json
CHANGED
package/styles/styles.css
CHANGED
|
@@ -49,10 +49,10 @@ unpredictable css rules order in build */
|
|
|
49
49
|
.yfm_constructor.yfm_constructor_size_s p {
|
|
50
50
|
margin-bottom: 8px;
|
|
51
51
|
}
|
|
52
|
-
|
|
53
|
-
.yfm_constructor_theme_dark p {
|
|
52
|
+
.yfm_constructor.yfm_constructor_theme_dark p {
|
|
54
53
|
color: var(--g-color-text-light-primary);
|
|
55
54
|
}
|
|
55
|
+
|
|
56
56
|
.yfm_constructor_list_style ul {
|
|
57
57
|
padding-left: 20px;
|
|
58
58
|
}
|