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 CHANGED
@@ -12253,13 +12253,16 @@ const Td$1 = styled.td`
12253
12253
  `;
12254
12254
  const Tr = styled.tr`
12255
12255
  border-bottom: 1px solid #f3f4f6;
12256
- ${({
12257
- enableHover,
12258
- selectHoverColor
12259
- }) => enableHover && `&:hover {
12256
+ ${_ref => {
12257
+ let {
12258
+ enableHover,
12259
+ selectHoverColor
12260
+ } = _ref;
12261
+ return enableHover && `&:hover {
12260
12262
  background-color: ${selectHoverColor};
12261
12263
  cursor: pointer;
12262
- }`}
12264
+ }`;
12265
+ }}
12263
12266
  `;
12264
12267
  const InfoText = styled.div`
12265
12268
  font-weight: 400;
@@ -37840,7 +37843,7 @@ const FilterPop = props => {
37840
37843
  }));
37841
37844
  return {
37842
37845
  visibleItems: visible,
37843
- totalHeight: sortedList.length * itemHeight,
37846
+ totalHeight: (sortedList.length + 1) * (itemHeight + 8),
37844
37847
  offsetY: startIndex * itemHeight
37845
37848
  };
37846
37849
  }, [sortedList, scrollTop, itemHeight, overscan, maxHeight]);