@infinite-table/infinite-react 0.2.17 → 0.2.18

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/index.esm.js CHANGED
@@ -1289,7 +1289,7 @@ var forwardProps = (setupState) => {
1289
1289
  pivotColumnGroups: 1,
1290
1290
  onScrollbarsChange: 1,
1291
1291
  autoSizeColumnsKey: 1,
1292
- scrollStopDelay: (scrollStopDelay) => scrollStopDelay != null ? scrollStopDelay : 100,
1292
+ scrollStopDelay: (scrollStopDelay) => scrollStopDelay != null ? scrollStopDelay : 250,
1293
1293
  viewportReservedWidth: (viewportReservedWidth) => viewportReservedWidth != null ? viewportReservedWidth : 0,
1294
1294
  activeIndex: (activeIndex) => activeIndex != null ? activeIndex : 0,
1295
1295
  columnMinWidth: (columnMinWidth) => columnMinWidth != null ? columnMinWidth : 30,
@@ -4423,7 +4423,6 @@ function getPivotColumnsAndColumnGroups({
4423
4423
  if (!pivotLength && pivotTotalColumnPosition === "end" || pivotGrandTotalColumnPosition === "end") {
4424
4424
  addGrandTotalColumns();
4425
4425
  }
4426
- console.log(columns.keys());
4427
4426
  const result = {
4428
4427
  columns,
4429
4428
  columnGroups
@@ -7221,7 +7220,6 @@ var useOnContainerScroll = ({
7221
7220
  componentState: {
7222
7221
  scrollStopDelay,
7223
7222
  scrollerDOMRef,
7224
- domRef,
7225
7223
  scrollToBottomOffset,
7226
7224
  onScrollToBottom,
7227
7225
  onScrollToTop,
@@ -7267,7 +7265,7 @@ var useOnContainerScroll = ({
7267
7265
  lastVisibleRowIndex: range.renderEndIndex
7268
7266
  });
7269
7267
  }
7270
- const classList = (_a = domRef.current) == null ? void 0 : _a.classList;
7268
+ const classList = (_a = scrollerDOMRef.current) == null ? void 0 : _a.classList;
7271
7269
  if (!classList) {
7272
7270
  return;
7273
7271
  }
@@ -7285,7 +7283,7 @@ var useOnContainerScroll = ({
7285
7283
  }, [
7286
7284
  horizontalVirtualBrain,
7287
7285
  verticalVirtualBrain,
7288
- domRef.current,
7286
+ scrollerDOMRef.current,
7289
7287
  setScrolling
7290
7288
  ]);
7291
7289
  const scrollPositionRef = useRef16({
@@ -8030,7 +8028,7 @@ var useLicense = (licenseKey = "") => {
8030
8028
  const valid = useMemo12(() => {
8031
8029
  let valid2 = isValidLicense(licenseKey, {
8032
8030
  publishedAt: 1624970570587,
8033
- version: "0.2.17"
8031
+ version: "0.2.18"
8034
8032
  });
8035
8033
  if (!licenseKey && !valid2 && isInsidePlayground) {
8036
8034
  return true;
package/index.js CHANGED
@@ -1309,7 +1309,7 @@ var forwardProps = (setupState) => {
1309
1309
  pivotColumnGroups: 1,
1310
1310
  onScrollbarsChange: 1,
1311
1311
  autoSizeColumnsKey: 1,
1312
- scrollStopDelay: (scrollStopDelay) => scrollStopDelay != null ? scrollStopDelay : 100,
1312
+ scrollStopDelay: (scrollStopDelay) => scrollStopDelay != null ? scrollStopDelay : 250,
1313
1313
  viewportReservedWidth: (viewportReservedWidth) => viewportReservedWidth != null ? viewportReservedWidth : 0,
1314
1314
  activeIndex: (activeIndex) => activeIndex != null ? activeIndex : 0,
1315
1315
  columnMinWidth: (columnMinWidth) => columnMinWidth != null ? columnMinWidth : 30,
@@ -4412,7 +4412,6 @@ function getPivotColumnsAndColumnGroups({
4412
4412
  if (!pivotLength && pivotTotalColumnPosition === "end" || pivotGrandTotalColumnPosition === "end") {
4413
4413
  addGrandTotalColumns();
4414
4414
  }
4415
- console.log(columns.keys());
4416
4415
  const result = {
4417
4416
  columns,
4418
4417
  columnGroups
@@ -7139,7 +7138,6 @@ var useOnContainerScroll = ({
7139
7138
  componentState: {
7140
7139
  scrollStopDelay,
7141
7140
  scrollerDOMRef,
7142
- domRef,
7143
7141
  scrollToBottomOffset,
7144
7142
  onScrollToBottom,
7145
7143
  onScrollToTop,
@@ -7185,7 +7183,7 @@ var useOnContainerScroll = ({
7185
7183
  lastVisibleRowIndex: range.renderEndIndex
7186
7184
  });
7187
7185
  }
7188
- const classList = (_a = domRef.current) == null ? void 0 : _a.classList;
7186
+ const classList = (_a = scrollerDOMRef.current) == null ? void 0 : _a.classList;
7189
7187
  if (!classList) {
7190
7188
  return;
7191
7189
  }
@@ -7203,7 +7201,7 @@ var useOnContainerScroll = ({
7203
7201
  }, [
7204
7202
  horizontalVirtualBrain,
7205
7203
  verticalVirtualBrain,
7206
- domRef.current,
7204
+ scrollerDOMRef.current,
7207
7205
  setScrolling
7208
7206
  ]);
7209
7207
  const scrollPositionRef = (0, import_react36.useRef)({
@@ -7938,7 +7936,7 @@ var useLicense = (licenseKey = "") => {
7938
7936
  const valid = (0, import_react44.useMemo)(() => {
7939
7937
  let valid2 = isValidLicense(licenseKey, {
7940
7938
  publishedAt: 1624970570587,
7941
- version: "0.2.17"
7939
+ version: "0.2.18"
7942
7940
  });
7943
7941
  if (!licenseKey && !valid2 && isInsidePlayground) {
7944
7942
  return true;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@infinite-table/infinite-react",
3
3
  "description": "Infinite Table for React",
4
- "version": "0.2.17",
4
+ "version": "0.2.18",
5
5
  "main": "index.js",
6
6
  "module": "index.esm.js",
7
7
  "typings": "index.d.ts",
@@ -14,5 +14,5 @@
14
14
  },
15
15
  "license": "Commercial & Open Source",
16
16
  "//": "will be updated at build time",
17
- "publishedAt": 1648554753079
17
+ "publishedAt": 1648644879867
18
18
  }