@cntrl-site/sdk-nextjs 1.9.61 → 1.9.63

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.
@@ -175,7 +175,7 @@ const Item = ({ item, sectionId, articleHeight, isParentVisible = true, isInGrou
175
175
  .item-wrapper-${item.id} {
176
176
  position: ${area.positionType === sdk_1.PositionType.ScreenBased ? 'fixed' : 'absolute'};
177
177
  z-index: ${area.zIndex};
178
- ${!isInGroup && stickyFix}
178
+ ${!isInGroup && sticky ? stickyFix : ''}
179
179
  pointer-events: none;
180
180
  bottom: ${isScreenBasedBottom ? `${-area.top * 100}vw` : 'unset'};
181
181
  top: ${isScreenBasedBottom ? 'unset' : isContainItem ? (0, getItemTopStyle_1.getPercentageBasedTopStyle)(area.top, area.height, area.anchorSide) : (0, getItemTopStyle_1.getItemTopStyle)(area.top, area.anchorSide)};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/sdk-nextjs",
3
- "version": "1.9.61",
3
+ "version": "1.9.63",
4
4
  "description": "SDK for Next.js",
5
5
  "author": "arsen@momdesign.nyc",
6
6
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "dependencies": {
32
32
  "@antfu/eslint-config": "^3.8.0",
33
33
  "@cntrl-site/color": "^1.0.0",
34
- "@cntrl-site/components": "^1.0.5",
34
+ "@cntrl-site/components": "^1.0.6",
35
35
  "@cntrl-site/effects": "^1.4.2",
36
36
  "@cntrl-site/sdk": "^1.26.3",
37
37
  "@types/vimeo__player": "^2.18.0",
@@ -253,7 +253,7 @@ export const Item: FC<ItemWrapperProps> = ({ item, sectionId, articleHeight, isP
253
253
  .item-wrapper-${item.id} {
254
254
  position: ${area.positionType === PositionType.ScreenBased ? 'fixed' : 'absolute'};
255
255
  z-index: ${area.zIndex};
256
- ${!isInGroup && stickyFix}
256
+ ${!isInGroup && sticky ? stickyFix : ''}
257
257
  pointer-events: none;
258
258
  bottom: ${isScreenBasedBottom ? `${-area.top * 100}vw` : 'unset'};
259
259
  top: ${isScreenBasedBottom ? 'unset' : isContainItem ? getPercentageBasedTopStyle(area.top, area.height, area.anchorSide) : getItemTopStyle(area.top, area.anchorSide)};