@gravity-ui/page-constructor 1.25.1 → 1.25.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.25.2](https://github.com/gravity-ui/page-constructor/compare/v1.25.1...v1.25.2) (2023-03-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **ExtendedFeatures:** label position fixed ([#175](https://github.com/gravity-ui/page-constructor/issues/175)) ([fb8d206](https://github.com/gravity-ui/page-constructor/commit/fb8d206ad2378564a1dc7a7295f02da13ae66df1))
9
+
3
10
  ## [1.25.1](https://github.com/gravity-ui/page-constructor/compare/v1.25.0...v1.25.1) (2023-03-20)
4
11
 
5
12
 
@@ -21,7 +21,7 @@ unpredictable css rules order in build */
21
21
  line-height: var(--yc-text-header-1-line-height);
22
22
  color: var(--pc-text-header-color);
23
23
  font-weight: var(--yc-text-accent-font-weight);
24
- display: flex;
24
+ display: block;
25
25
  position: relative;
26
26
  margin-bottom: 8px;
27
27
  }
@@ -42,13 +42,13 @@ unpredictable css rules order in build */
42
42
  font-size: var(--yc-text-caption-2-font-size);
43
43
  line-height: var(--yc-text-caption-2-line-height);
44
44
  position: relative;
45
- top: 5px;
45
+ top: -3px;
46
46
  height: 16px;
47
47
  margin-left: 8px;
48
- padding: 0 5px;
48
+ padding: 1.5px 5px 2px;
49
49
  color: var(--yc-color-base-background);
50
50
  background-color: var(--yc-my-color-brand-normal);
51
- border-radius: 3px;
51
+ border-radius: 4px;
52
52
  }
53
53
  .pc-ExtendedFeaturesBlock__item-text, .pc-ExtendedFeaturesBlock__item-link {
54
54
  font-size: var(--yc-text-body-2-font-size);
@@ -33,7 +33,7 @@ const ExtendedFeaturesBlock = ({ title, description, items, colSizes = DEFAULT_S
33
33
  react_1.default.createElement("div", { className: b('container') },
34
34
  itemTitle && (react_1.default.createElement("h5", { className: b('item-title') },
35
35
  react_1.default.createElement(components_1.HTML, null, itemTitle),
36
- label && (react_1.default.createElement("div", { className: b('item-label') }, label)))),
36
+ label && (react_1.default.createElement("span", { className: b('item-label') }, label)))),
37
37
  react_1.default.createElement(sub_blocks_1.Content, { text: text, links: itemLinks, size: "s", colSizes: { all: 12, md: 12 }, buttons: buttons, additionalInfo: additionalInfo }))));
38
38
  })))));
39
39
  };
@@ -21,7 +21,7 @@ unpredictable css rules order in build */
21
21
  line-height: var(--yc-text-header-1-line-height);
22
22
  color: var(--pc-text-header-color);
23
23
  font-weight: var(--yc-text-accent-font-weight);
24
- display: flex;
24
+ display: block;
25
25
  position: relative;
26
26
  margin-bottom: 8px;
27
27
  }
@@ -42,13 +42,13 @@ unpredictable css rules order in build */
42
42
  font-size: var(--yc-text-caption-2-font-size);
43
43
  line-height: var(--yc-text-caption-2-line-height);
44
44
  position: relative;
45
- top: 5px;
45
+ top: -3px;
46
46
  height: 16px;
47
47
  margin-left: 8px;
48
- padding: 0 5px;
48
+ padding: 1.5px 5px 2px;
49
49
  color: var(--yc-color-base-background);
50
50
  background-color: var(--yc-my-color-brand-normal);
51
- border-radius: 3px;
51
+ border-radius: 4px;
52
52
  }
53
53
  .pc-ExtendedFeaturesBlock__item-text, .pc-ExtendedFeaturesBlock__item-link {
54
54
  font-size: var(--yc-text-body-2-font-size);
@@ -30,7 +30,7 @@ export const ExtendedFeaturesBlock = ({ title, description, items, colSizes = DE
30
30
  React.createElement("div", { className: b('container') },
31
31
  itemTitle && (React.createElement("h5", { className: b('item-title') },
32
32
  React.createElement(HTML, null, itemTitle),
33
- label && (React.createElement("div", { className: b('item-label') }, label)))),
33
+ label && (React.createElement("span", { className: b('item-label') }, label)))),
34
34
  React.createElement(Content, { text: text, links: itemLinks, size: "s", colSizes: { all: 12, md: 12 }, buttons: buttons, additionalInfo: additionalInfo }))));
35
35
  })))));
36
36
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "1.25.1",
3
+ "version": "1.25.2",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {