sag_components 2.0.0-beta280 → 2.0.0-beta281
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.
- package/dist/index.esm.js +9 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +9 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12263,13 +12263,16 @@ const Td$1 = styled__default["default"].td`
|
|
|
12263
12263
|
`;
|
|
12264
12264
|
const Tr = styled__default["default"].tr`
|
|
12265
12265
|
border-bottom: 1px solid #f3f4f6;
|
|
12266
|
-
${
|
|
12267
|
-
|
|
12268
|
-
|
|
12269
|
-
|
|
12266
|
+
${_ref => {
|
|
12267
|
+
let {
|
|
12268
|
+
enableHover,
|
|
12269
|
+
selectHoverColor
|
|
12270
|
+
} = _ref;
|
|
12271
|
+
return enableHover && `&:hover {
|
|
12270
12272
|
background-color: ${selectHoverColor};
|
|
12271
12273
|
cursor: pointer;
|
|
12272
|
-
}
|
|
12274
|
+
}`;
|
|
12275
|
+
}}
|
|
12273
12276
|
`;
|
|
12274
12277
|
const InfoText = styled__default["default"].div`
|
|
12275
12278
|
font-weight: 400;
|
|
@@ -37850,7 +37853,7 @@ const FilterPop = props => {
|
|
|
37850
37853
|
}));
|
|
37851
37854
|
return {
|
|
37852
37855
|
visibleItems: visible,
|
|
37853
|
-
totalHeight: sortedList.length * itemHeight,
|
|
37856
|
+
totalHeight: (sortedList.length + 1) * (itemHeight + 8),
|
|
37854
37857
|
offsetY: startIndex * itemHeight
|
|
37855
37858
|
};
|
|
37856
37859
|
}, [sortedList, scrollTop, itemHeight, overscan, maxHeight]);
|