@gravity-ui/page-constructor 4.40.4 → 4.40.6

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.
@@ -190,7 +190,7 @@ unpredictable css rules order in build */
190
190
  width: auto;
191
191
  max-height: 100%;
192
192
  max-width: 100%;
193
- position: relative;
193
+ position: absolute;
194
194
  top: 50%;
195
195
  left: 50%;
196
196
  transform: translate(-50%, -50%);
@@ -21,7 +21,7 @@ const Icons = ({ title, description, size = 's', colSizes = { all: 12 }, items }
21
21
  items.map((item) => {
22
22
  const itemContent = getItemContent(item);
23
23
  const { url, text } = item;
24
- return url ? (react_1.default.createElement("a", Object.assign({ className: b('item'), key: url, href: url, "aria-label": text, title: text }, (0, utils_1.getLinkProps)(url, hostname), { onClick: () => onClick(item) }), itemContent)) : (react_1.default.createElement("div", { className: b('item'), key: url }, itemContent));
24
+ return url ? (react_1.default.createElement("a", Object.assign({ className: b('item'), key: url, href: url, "aria-label": text, title: text }, (0, utils_1.getLinkProps)(url, hostname), { onClick: () => onClick(item) }), itemContent)) : (react_1.default.createElement("div", { className: b('item'), key: text }, itemContent));
25
25
  })));
26
26
  };
27
27
  exports.default = Icons;
@@ -190,7 +190,7 @@ unpredictable css rules order in build */
190
190
  width: auto;
191
191
  max-height: 100%;
192
192
  max-width: 100%;
193
- position: relative;
193
+ position: absolute;
194
194
  top: 50%;
195
195
  left: 50%;
196
196
  transform: translate(-50%, -50%);
@@ -19,7 +19,7 @@ const Icons = ({ title, description, size = 's', colSizes = { all: 12 }, items }
19
19
  items.map((item) => {
20
20
  const itemContent = getItemContent(item);
21
21
  const { url, text } = item;
22
- return url ? (React.createElement("a", Object.assign({ className: b('item'), key: url, href: url, "aria-label": text, title: text }, getLinkProps(url, hostname), { onClick: () => onClick(item) }), itemContent)) : (React.createElement("div", { className: b('item'), key: url }, itemContent));
22
+ return url ? (React.createElement("a", Object.assign({ className: b('item'), key: url, href: url, "aria-label": text, title: text }, getLinkProps(url, hostname), { onClick: () => onClick(item) }), itemContent)) : (React.createElement("div", { className: b('item'), key: text }, itemContent));
23
23
  })));
24
24
  };
25
25
  export default Icons;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "4.40.4",
3
+ "version": "4.40.6",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {