@cntrl-site/sdk-nextjs 1.0.1 → 1.0.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.
@@ -119,7 +119,7 @@ const Item = ({ item, sectionId, articleHeight, isInGroup = false }) => {
119
119
  position: ${sticky ? 'sticky' : 'absolute'};
120
120
  top: ${sticky ? `${(0, getAnchoredItemTop_1.getAnchoredItemTop)(area.top - sticky.from, sectionHeight, area.anchorSide)}` : 0};
121
121
  pointer-events: auto;
122
- transition: opacity 0.1s linear;
122
+ transition: opacity 0.2s linear 0.1s;
123
123
  display: ${hidden ? 'none' : 'block'};
124
124
  height: fit-content;
125
125
  transform-origin: ${ScaleAnchorMap_1.ScaleAnchorMap[scaleAnchor]};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/sdk-nextjs",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "SDK for Next.js",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/index.ts",
@@ -178,7 +178,7 @@ export const Item: FC<ItemWrapperProps> = ({ item, sectionId, articleHeight, isI
178
178
  position: ${sticky ? 'sticky' : 'absolute'};
179
179
  top: ${sticky ? `${getAnchoredItemTop(area.top - sticky.from, sectionHeight, area.anchorSide)}` : 0};
180
180
  pointer-events: auto;
181
- transition: opacity 0.1s linear;
181
+ transition: opacity 0.2s linear 0.1s;
182
182
  display: ${hidden ? 'none' : 'block'};
183
183
  height: fit-content;
184
184
  transform-origin: ${ScaleAnchorMap[scaleAnchor]};