@cntrl-site/sdk-nextjs 1.0.16 → 1.0.17
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.
|
Binary file
|
package/lib/components/Item.js
CHANGED
|
@@ -122,13 +122,14 @@ const Item = ({ item, sectionId, articleHeight, isInGroup = false }) => {
|
|
|
122
122
|
.item-${item.id} {
|
|
123
123
|
position: ${sticky ? 'sticky' : 'absolute'};
|
|
124
124
|
top: ${sticky ? `${(0, getAnchoredItemTop_1.getAnchoredItemTop)(area.top - sticky.from, sectionHeight, area.anchorSide)}` : 0};
|
|
125
|
-
pointer-events: auto;
|
|
126
125
|
transition: opacity 0.2s linear 0.1s;
|
|
126
|
+
pointer-events: none;
|
|
127
127
|
display: ${hidden ? 'none' : 'block'};
|
|
128
128
|
height: fit-content;
|
|
129
129
|
}
|
|
130
130
|
.item-${item.id}-inner {
|
|
131
131
|
transition: ${(0, HoverStyles_1.getTransitions)(['width', 'height', 'scale'], hoverParams)};
|
|
132
|
+
pointer-events: auto;
|
|
132
133
|
width: ${sizingAxis.x === 'manual'
|
|
133
134
|
? `${area.width * 100}vw`
|
|
134
135
|
: 'max-content'};
|
package/package.json
CHANGED
package/src/components/Item.tsx
CHANGED
|
@@ -177,13 +177,14 @@ export const Item: FC<ItemWrapperProps> = ({ item, sectionId, articleHeight, isI
|
|
|
177
177
|
.item-${item.id} {
|
|
178
178
|
position: ${sticky ? 'sticky' : 'absolute'};
|
|
179
179
|
top: ${sticky ? `${getAnchoredItemTop(area.top - sticky.from, sectionHeight, area.anchorSide)}` : 0};
|
|
180
|
-
pointer-events: auto;
|
|
181
180
|
transition: opacity 0.2s linear 0.1s;
|
|
181
|
+
pointer-events: none;
|
|
182
182
|
display: ${hidden ? 'none' : 'block'};
|
|
183
183
|
height: fit-content;
|
|
184
184
|
}
|
|
185
185
|
.item-${item.id}-inner {
|
|
186
186
|
transition: ${getTransitions(['width', 'height', 'scale'], hoverParams)};
|
|
187
|
+
pointer-events: auto;
|
|
187
188
|
width: ${sizingAxis.x === 'manual'
|
|
188
189
|
? `${area.width * 100}vw`
|
|
189
190
|
: 'max-content'};
|
|
@@ -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>
|