@cntrl-site/sdk-nextjs 0.12.3 → 0.12.5

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.
@@ -88,6 +88,8 @@ const Item = ({ item, sectionId }) => {
88
88
  .item-wrapper-${item.id} {
89
89
  position: absolute;
90
90
  z-index: ${area.zIndex};
91
+ -webkit-transform: translate3d(0, 0, 0);
92
+ transform: translate3d(0, 0, 0);
91
93
  pointer-events: none;
92
94
  top: ${(0, useItemPosition_1.getItemTopStyle)(area.top, area.anchorSide)};
93
95
  left: ${area.left * 100}vw;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/sdk-nextjs",
3
- "version": "0.12.3",
3
+ "version": "0.12.5",
4
4
  "description": "SDK for Next.js",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/index.ts",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "homepage": "https://github.com/cntrl-site/sdk-nextjs#readme",
23
23
  "dependencies": {
24
- "@cntrl-site/sdk": "^1.1.3",
24
+ "@cntrl-site/sdk": "^1.1.4",
25
25
  "html-react-parser": "^3.0.1",
26
26
  "styled-jsx": "^5.0.2"
27
27
  },
@@ -115,6 +115,8 @@ export const Item: FC<ItemProps<TArticleItemAny>> = ({ item, sectionId}) => {
115
115
  .item-wrapper-${item.id} {
116
116
  position: absolute;
117
117
  z-index: ${area.zIndex};
118
+ -webkit-transform: translate3d(0, 0, 0);
119
+ transform: translate3d(0, 0, 0);
118
120
  pointer-events: none;
119
121
  top: ${getItemTopStyle(area.top, area.anchorSide)};
120
122
  left: ${area.left * 100}vw;
@@ -1,15 +0,0 @@
1
- <component name="InspectionProjectProfileManager">
2
- <profile version="1.0">
3
- <option name="myName" value="Project Default" />
4
- <inspection_tool class="HtmlUnknownAttribute" enabled="true" level="WARNING" enabled_by_default="true">
5
- <option name="myValues">
6
- <value>
7
- <list size="1">
8
- <item index="0" class="java.lang.String" itemvalue="jsx" />
9
- </list>
10
- </value>
11
- </option>
12
- <option name="myCustomValuesEnabled" value="true" />
13
- </inspection_tool>
14
- </profile>
15
- </component>