@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.
@@ -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-block__description .yfm {
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: { constructor: true } }))),
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-block__description .yfm {
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: { constructor: true } }))),
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "4.18.2-alpha.1",
3
+ "version": "4.19.1",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {
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
  }
package/styles/yfm.scss CHANGED
@@ -60,11 +60,11 @@
60
60
  margin-bottom: $indentXXXS;
61
61
  }
62
62
  }
63
- }
64
63
 
65
- &_theme_dark {
66
- p {
67
- color: var(--g-color-text-light-primary);
64
+ &_theme_dark {
65
+ p {
66
+ color: var(--g-color-text-light-primary);
67
+ }
68
68
  }
69
69
  }
70
70