@infinite-table/infinite-react 4.3.4 → 4.3.5

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.css CHANGED
@@ -1043,7 +1043,7 @@
1043
1043
  user-select: none;
1044
1044
  }
1045
1045
 
1046
- /* vanilla-extract-css-ns:src/components/InfiniteTable/components/cell.css.ts.vanilla.css?source=#H4sIAAAAAAAAA82XzW7bMBCE73kKIacYKAPZSdNCPRU+5ZoAvQoUuZLZ0FyVpGwnRd+9ICVLsv4spy3Qm20N5xsuyRV9y0DKmKEstuqrFJlag5TP9lVCzEBZ0HG8BDiwFQ2Dn1dB8L0wVqSvhKGyoGwUlKovV7+ubsetjKXa1k7LYadUwoF45Rk3ULz2Wp33CspvqcR9FGjcEw070AYairNeS/ONakGVNbHZiNQKldWUO0+xmiojrEAVBRJSG9yF4daM23BNs6xtc9+zUaj6OWr9R6/PKedCZVGwo/qGEKFSoYQF4oaQ6uHCTTNBzUETF21Y3BK0B2iRbaZHeMXCB32snrucxzox9KFfoUhWOxVUk/FL153SQ68E/nOKetsL4A2IhjIDpCkwS3ihqRu4aMr2DBKY+229AfaS4KEN/OSBW6ozoYhQUijoTdUcDQirHMjJgBarmVVNfVRcMGpRPwETOdTkz1GUQIoafIJ6a15fu9LneJw/TQzKwoL7VSgDNgpC97lcRkYluwnzQ0Cm1mcvuN0s/JpWi3nxuByFO8gEdqCsOe7MIEgoe8k0FoqPlA14ZVkLCYeUFvJkj3nSOYeW9ENXSpkVu4H0Y0J30Cd1A3VYtBMb12vmJfbSOYm9sE2Z5d9z/u/K9g+qNCNgVc15dIYS+5UcoE8KW/QxnXshlg8X5Y66oHX4wxunVJqmjdCTNtJuyMdDFV7EcH2lg2BDCKd7H8Fi3gHAEMBi/j7/BK3FbQeRDSFK5SSl07Q3VbOW2D+bfpeUKzvhRN1l5eSOoibuKKD4hNcOtBWMSn8B6tyicu/qaURY2JrhG9QZz3bOHyOO0xnfINE0dq+N2uitXIPxN4c/RvXjqWqW7siblMtwjjtyPpOgcf9cNYzY6qLZCsvlHFDdbObRUqGN7XDuu6fCHz1NuSjM9LXMS9ovrWrDX2wwmlfSXtyHbtyyGf1J3ssdpgv8hPtOe1jyTupJjMV8isFwm7uFjsPGX/bac4+QC6VO30qzIKsGoroN+m8x7htGfuZ/3m+6Y/cRMg4AAA== */
1046
+ /* vanilla-extract-css-ns:src/components/InfiniteTable/components/cell.css.ts.vanilla.css?source=#H4sIAAAAAAAAA81Xy27bMBC85yuEnmKgDGQnTQv3VOSUawL0KlDkSmZDkSq58iNF/70gJUuyXpbTFOhNloYzw13ucn3DQMqIaVlk6psUqXoAKZ/xICFioBBMFC0B9mxFw+DXVRD8KCyK5ECYVggK10GJ+nr1++pmnMoiNVgzLYeZEgl74pFn2EDxmmt1nisofyVS79aB0TtiYAvGQqPiqB+k/U6NoAptZDciQaHSWuXWq6ChygoUWq0DCQkGt2GY2XEabmiatmnuejRKq76PGv/J43PKuVDpOthSc02IUIlQAoG4JaT6uHDbjLXhYIizNgxuAdoLjEg30ys8YuGNPlbfnc9jnJj2pg9QxKutCqrN+NR1t3TfC4F/TrTJegY8ATFQeoAkAYaEF4a6hYsmbM8ggbl3DxtgL7HetwU/e8GMmlQoIpQUCnpbtUcCwioGcrKgpdXsqlZ9VFwwito8ARM51Mpf1usYEm3AO6iP5ocPLvS5Pu6fxlbLAsG9FcoCroPQPZdpZFSy6zDfB2QqPzvBcbPwOa2SefG6XAtXyAS2oNAeT2YQxJS9pEYXio+EDXhFWQMJh4QW8uSMeaVzDC3oxy6UMhTbAfdjQFfok7iBOCzajq3rNfMce+gcxx7YVpnF32P+78L2D6I0w2AVzXnqTEvdj+SA+iSwpT6Gcxdi+XFRnqgLWocv3iih0jZthJ60kXZDPhZVeJGG6ysdCTYk4XBvU0CddwRgSAB1/jb+WCPqrCORDkmUyEmVTtPeVM1a6n5t+lNSZnaCibph5WRGURMzCig+wbUFg4JR6QegzhSVe1avRgRCZocnqDOcbZ8/RxinPb5CbGgnGYcyCeNXh6+j+vNUOEt6dyvV7K/vza55E4RlOIddcz5Twejdc9WPIjRFE6Plco5Q3cvmqSXCWOzo3HWLzle2oVwUdnrq85D2nVjV08UEo34l7dm979ote93f+L2cYTrAT3rXOfBL3nE9KYM6n9JgOstdoqOw4Ze97t9TyIVSp5feLJFVI6K6/f+9NO4ajfzM38g/4zQQypEOAAA= */
1047
1047
  .cell_columnAlignCellStyle_center__1eexc2a0 {
1048
1048
  justify-content: center;
1049
1049
  }
@@ -1107,6 +1107,9 @@
1107
1107
  .cell_ColumnCellRecipe_verticalAlign_end__1eexc2aq {
1108
1108
  align-items: flex-end;
1109
1109
  }
1110
+ .cell_ColumnCellRecipe_zebra_false__1eexc2ay {
1111
+ background: var(--infinite-row-background);
1112
+ }
1110
1113
  .cell_ColumnCellRecipe_zebra_even__1eexc2az {
1111
1114
  background: var(--infinite-row-background);
1112
1115
  }
package/index.dev.js CHANGED
@@ -14883,136 +14883,6 @@ function useDataSourceInternal(props) {
14883
14883
  };
14884
14884
  }
14885
14885
 
14886
- // src/utils/FixedSizeMap.ts
14887
- var _FixedSizeMap = class {
14888
- constructor(clone, size) {
14889
- this.keysInOrder = [];
14890
- if (typeof clone === "number") {
14891
- this.maxSize = clone;
14892
- this.currentMap = /* @__PURE__ */ new Map();
14893
- } else {
14894
- this.maxSize = size != null ? size : _FixedSizeMap.DEFAULT_SIZE;
14895
- if (clone) {
14896
- const arr = Array.from(clone);
14897
- if (this.maxSize < arr.length) {
14898
- arr.slice(arr.length - this.maxSize);
14899
- }
14900
- this.currentMap = /* @__PURE__ */ new Map();
14901
- arr.forEach(([k, v]) => {
14902
- this.set(k, v);
14903
- });
14904
- } else {
14905
- this.currentMap = /* @__PURE__ */ new Map();
14906
- }
14907
- }
14908
- }
14909
- values() {
14910
- return this.currentMap.values();
14911
- }
14912
- get size() {
14913
- return this.currentMap.size;
14914
- }
14915
- delete(key) {
14916
- if (this.currentMap.has(key)) {
14917
- this.currentMap.delete(key);
14918
- this.keysInOrder = this.keysInOrder.filter((k) => k !== key);
14919
- return true;
14920
- }
14921
- return false;
14922
- }
14923
- has(key) {
14924
- return this.currentMap.has(key);
14925
- }
14926
- get(key) {
14927
- return this.currentMap.get(key);
14928
- }
14929
- set(key, el) {
14930
- if (this.has(key)) {
14931
- this.delete(key);
14932
- }
14933
- const canAddCount = this.maxSize - this.currentMap.size;
14934
- if (canAddCount <= 0) {
14935
- const [removedKey] = this.keysInOrder.splice(0, 1);
14936
- if (removedKey != void 0) {
14937
- this.currentMap.delete(removedKey);
14938
- }
14939
- }
14940
- this.keysInOrder.push(key);
14941
- this.currentMap.set(key, el);
14942
- return this;
14943
- }
14944
- };
14945
- var FixedSizeMap = _FixedSizeMap;
14946
- FixedSizeMap.DEFAULT_SIZE = 10;
14947
-
14948
- // src/components/DataSource/RowDetailCache.ts
14949
- var RowDetailNoCacheStorage = class {
14950
- add(_key, _value) {
14951
- return;
14952
- }
14953
- get(_key) {
14954
- return void 0;
14955
- }
14956
- delete(_key) {
14957
- return;
14958
- }
14959
- has(_key) {
14960
- return false;
14961
- }
14962
- };
14963
- var RowDetailFixedSizeCacheStorage = class {
14964
- constructor(maxSize) {
14965
- this.storage = new FixedSizeMap(maxSize);
14966
- }
14967
- add(key, value) {
14968
- this.storage.set(key, value);
14969
- }
14970
- get(key) {
14971
- return this.storage.get(key);
14972
- }
14973
- delete(key) {
14974
- this.storage.delete(key);
14975
- }
14976
- has(key) {
14977
- return this.storage.has(key);
14978
- }
14979
- };
14980
- var RowDetailFullCacheStorage = class {
14981
- constructor() {
14982
- this.storage = /* @__PURE__ */ new Map();
14983
- }
14984
- add(key, value) {
14985
- this.storage.set(key, value);
14986
- }
14987
- get(key) {
14988
- return this.storage.get(key);
14989
- }
14990
- delete(key) {
14991
- this.storage.delete(key);
14992
- }
14993
- has(key) {
14994
- return this.storage.has(key);
14995
- }
14996
- };
14997
- var RowDetailCache = class {
14998
- // public instanceIndex: number = 0;
14999
- constructor(cache) {
15000
- this.cacheStorage = cache === false ? new RowDetailNoCacheStorage() : cache === true ? new RowDetailFullCacheStorage() : typeof cache === "number" ? new RowDetailFixedSizeCacheStorage(cache) : new RowDetailFixedSizeCacheStorage(5);
15001
- }
15002
- add(key, value) {
15003
- this.cacheStorage.add(key, value);
15004
- }
15005
- get(key) {
15006
- return this.cacheStorage.get(key);
15007
- }
15008
- delete(key) {
15009
- this.cacheStorage.delete(key);
15010
- }
15011
- has(key) {
15012
- return this.cacheStorage.has(key);
15013
- }
15014
- };
15015
-
15016
14886
  // src/components/DataSource/BooleanCollectionState.ts
15017
14887
  var BooleanCollectionState = class {
15018
14888
  constructor(state) {
@@ -15210,6 +15080,136 @@ var RowDetailState = class extends BooleanCollectionState {
15210
15080
  }
15211
15081
  };
15212
15082
 
15083
+ // src/utils/FixedSizeMap.ts
15084
+ var _FixedSizeMap = class {
15085
+ constructor(clone, size) {
15086
+ this.keysInOrder = [];
15087
+ if (typeof clone === "number") {
15088
+ this.maxSize = clone;
15089
+ this.currentMap = /* @__PURE__ */ new Map();
15090
+ } else {
15091
+ this.maxSize = size != null ? size : _FixedSizeMap.DEFAULT_SIZE;
15092
+ if (clone) {
15093
+ const arr = Array.from(clone);
15094
+ if (this.maxSize < arr.length) {
15095
+ arr.slice(arr.length - this.maxSize);
15096
+ }
15097
+ this.currentMap = /* @__PURE__ */ new Map();
15098
+ arr.forEach(([k, v]) => {
15099
+ this.set(k, v);
15100
+ });
15101
+ } else {
15102
+ this.currentMap = /* @__PURE__ */ new Map();
15103
+ }
15104
+ }
15105
+ }
15106
+ values() {
15107
+ return this.currentMap.values();
15108
+ }
15109
+ get size() {
15110
+ return this.currentMap.size;
15111
+ }
15112
+ delete(key) {
15113
+ if (this.currentMap.has(key)) {
15114
+ this.currentMap.delete(key);
15115
+ this.keysInOrder = this.keysInOrder.filter((k) => k !== key);
15116
+ return true;
15117
+ }
15118
+ return false;
15119
+ }
15120
+ has(key) {
15121
+ return this.currentMap.has(key);
15122
+ }
15123
+ get(key) {
15124
+ return this.currentMap.get(key);
15125
+ }
15126
+ set(key, el) {
15127
+ if (this.has(key)) {
15128
+ this.delete(key);
15129
+ }
15130
+ const canAddCount = this.maxSize - this.currentMap.size;
15131
+ if (canAddCount <= 0) {
15132
+ const [removedKey] = this.keysInOrder.splice(0, 1);
15133
+ if (removedKey != void 0) {
15134
+ this.currentMap.delete(removedKey);
15135
+ }
15136
+ }
15137
+ this.keysInOrder.push(key);
15138
+ this.currentMap.set(key, el);
15139
+ return this;
15140
+ }
15141
+ };
15142
+ var FixedSizeMap = _FixedSizeMap;
15143
+ FixedSizeMap.DEFAULT_SIZE = 10;
15144
+
15145
+ // src/components/DataSource/RowDetailCache.ts
15146
+ var RowDetailNoCacheStorage = class {
15147
+ add(_key, _value) {
15148
+ return;
15149
+ }
15150
+ get(_key) {
15151
+ return void 0;
15152
+ }
15153
+ delete(_key) {
15154
+ return;
15155
+ }
15156
+ has(_key) {
15157
+ return false;
15158
+ }
15159
+ };
15160
+ var RowDetailFixedSizeCacheStorage = class {
15161
+ constructor(maxSize) {
15162
+ this.storage = new FixedSizeMap(maxSize);
15163
+ }
15164
+ add(key, value) {
15165
+ this.storage.set(key, value);
15166
+ }
15167
+ get(key) {
15168
+ return this.storage.get(key);
15169
+ }
15170
+ delete(key) {
15171
+ this.storage.delete(key);
15172
+ }
15173
+ has(key) {
15174
+ return this.storage.has(key);
15175
+ }
15176
+ };
15177
+ var RowDetailFullCacheStorage = class {
15178
+ constructor() {
15179
+ this.storage = /* @__PURE__ */ new Map();
15180
+ }
15181
+ add(key, value) {
15182
+ this.storage.set(key, value);
15183
+ }
15184
+ get(key) {
15185
+ return this.storage.get(key);
15186
+ }
15187
+ delete(key) {
15188
+ this.storage.delete(key);
15189
+ }
15190
+ has(key) {
15191
+ return this.storage.has(key);
15192
+ }
15193
+ };
15194
+ var RowDetailCache = class {
15195
+ // public instanceIndex: number = 0;
15196
+ constructor(cache) {
15197
+ this.cacheStorage = cache === false ? new RowDetailNoCacheStorage() : cache === true ? new RowDetailFullCacheStorage() : typeof cache === "number" ? new RowDetailFixedSizeCacheStorage(cache) : new RowDetailFixedSizeCacheStorage(5);
15198
+ }
15199
+ add(key, value) {
15200
+ this.cacheStorage.add(key, value);
15201
+ }
15202
+ get(key) {
15203
+ return this.cacheStorage.get(key);
15204
+ }
15205
+ delete(key) {
15206
+ this.cacheStorage.delete(key);
15207
+ }
15208
+ has(key) {
15209
+ return this.cacheStorage.has(key);
15210
+ }
15211
+ };
15212
+
15213
15213
  // src/components/DataSource/types.ts
15214
15214
  var DataSourceActionType = /* @__PURE__ */ ((DataSourceActionType2) => {
15215
15215
  DataSourceActionType2["INIT"] = "INIT";
@@ -18843,7 +18843,7 @@ var useLicense = (licenseKey = "") => {
18843
18843
  }
18844
18844
  let valid2 = isValidLicense(licenseKey, {
18845
18845
  publishedAt: 1624970570587,
18846
- version: "4.3.4"
18846
+ version: "4.3.5"
18847
18847
  });
18848
18848
  if (!licenseKey && !valid2 && isInsidePlayground) {
18849
18849
  return true;
@@ -22560,7 +22560,8 @@ function InfiniteTableBody() {
22560
22560
  components: components2,
22561
22561
  bodySize,
22562
22562
  activeCellIndex,
22563
- rowDetailRenderer
22563
+ rowDetailRenderer,
22564
+ showHoverRows
22564
22565
  } = componentState;
22565
22566
  const LoadMaskCmp = (_a = components2 == null ? void 0 : components2.LoadMask) != null ? _a : LoadMask;
22566
22567
  const computed = getComputed();
@@ -22628,7 +22629,7 @@ function InfiniteTableBody() {
22628
22629
  activeCellRowHeight,
22629
22630
  renderCell,
22630
22631
  renderDetailRow: rowDetailRenderer ? renderDetailRow : void 0,
22631
- cellHoverClassNames: HOVERED_CLASS_NAMES,
22632
+ cellHoverClassNames: showHoverRows ? HOVERED_CLASS_NAMES : void 0,
22632
22633
  scrollerDOMRef
22633
22634
  }
22634
22635
  ), /* @__PURE__ */ React68.createElement(LoadMaskCmp, { visible: loading }, loadingText));
package/index.dev.mjs CHANGED
@@ -14851,136 +14851,6 @@ function useDataSourceInternal(props) {
14851
14851
  };
14852
14852
  }
14853
14853
 
14854
- // src/utils/FixedSizeMap.ts
14855
- var _FixedSizeMap = class {
14856
- constructor(clone, size) {
14857
- this.keysInOrder = [];
14858
- if (typeof clone === "number") {
14859
- this.maxSize = clone;
14860
- this.currentMap = /* @__PURE__ */ new Map();
14861
- } else {
14862
- this.maxSize = size != null ? size : _FixedSizeMap.DEFAULT_SIZE;
14863
- if (clone) {
14864
- const arr = Array.from(clone);
14865
- if (this.maxSize < arr.length) {
14866
- arr.slice(arr.length - this.maxSize);
14867
- }
14868
- this.currentMap = /* @__PURE__ */ new Map();
14869
- arr.forEach(([k, v]) => {
14870
- this.set(k, v);
14871
- });
14872
- } else {
14873
- this.currentMap = /* @__PURE__ */ new Map();
14874
- }
14875
- }
14876
- }
14877
- values() {
14878
- return this.currentMap.values();
14879
- }
14880
- get size() {
14881
- return this.currentMap.size;
14882
- }
14883
- delete(key) {
14884
- if (this.currentMap.has(key)) {
14885
- this.currentMap.delete(key);
14886
- this.keysInOrder = this.keysInOrder.filter((k) => k !== key);
14887
- return true;
14888
- }
14889
- return false;
14890
- }
14891
- has(key) {
14892
- return this.currentMap.has(key);
14893
- }
14894
- get(key) {
14895
- return this.currentMap.get(key);
14896
- }
14897
- set(key, el) {
14898
- if (this.has(key)) {
14899
- this.delete(key);
14900
- }
14901
- const canAddCount = this.maxSize - this.currentMap.size;
14902
- if (canAddCount <= 0) {
14903
- const [removedKey] = this.keysInOrder.splice(0, 1);
14904
- if (removedKey != void 0) {
14905
- this.currentMap.delete(removedKey);
14906
- }
14907
- }
14908
- this.keysInOrder.push(key);
14909
- this.currentMap.set(key, el);
14910
- return this;
14911
- }
14912
- };
14913
- var FixedSizeMap = _FixedSizeMap;
14914
- FixedSizeMap.DEFAULT_SIZE = 10;
14915
-
14916
- // src/components/DataSource/RowDetailCache.ts
14917
- var RowDetailNoCacheStorage = class {
14918
- add(_key, _value) {
14919
- return;
14920
- }
14921
- get(_key) {
14922
- return void 0;
14923
- }
14924
- delete(_key) {
14925
- return;
14926
- }
14927
- has(_key) {
14928
- return false;
14929
- }
14930
- };
14931
- var RowDetailFixedSizeCacheStorage = class {
14932
- constructor(maxSize) {
14933
- this.storage = new FixedSizeMap(maxSize);
14934
- }
14935
- add(key, value) {
14936
- this.storage.set(key, value);
14937
- }
14938
- get(key) {
14939
- return this.storage.get(key);
14940
- }
14941
- delete(key) {
14942
- this.storage.delete(key);
14943
- }
14944
- has(key) {
14945
- return this.storage.has(key);
14946
- }
14947
- };
14948
- var RowDetailFullCacheStorage = class {
14949
- constructor() {
14950
- this.storage = /* @__PURE__ */ new Map();
14951
- }
14952
- add(key, value) {
14953
- this.storage.set(key, value);
14954
- }
14955
- get(key) {
14956
- return this.storage.get(key);
14957
- }
14958
- delete(key) {
14959
- this.storage.delete(key);
14960
- }
14961
- has(key) {
14962
- return this.storage.has(key);
14963
- }
14964
- };
14965
- var RowDetailCache = class {
14966
- // public instanceIndex: number = 0;
14967
- constructor(cache) {
14968
- this.cacheStorage = cache === false ? new RowDetailNoCacheStorage() : cache === true ? new RowDetailFullCacheStorage() : typeof cache === "number" ? new RowDetailFixedSizeCacheStorage(cache) : new RowDetailFixedSizeCacheStorage(5);
14969
- }
14970
- add(key, value) {
14971
- this.cacheStorage.add(key, value);
14972
- }
14973
- get(key) {
14974
- return this.cacheStorage.get(key);
14975
- }
14976
- delete(key) {
14977
- this.cacheStorage.delete(key);
14978
- }
14979
- has(key) {
14980
- return this.cacheStorage.has(key);
14981
- }
14982
- };
14983
-
14984
14854
  // src/components/DataSource/BooleanCollectionState.ts
14985
14855
  var BooleanCollectionState = class {
14986
14856
  constructor(state) {
@@ -15178,6 +15048,136 @@ var RowDetailState = class extends BooleanCollectionState {
15178
15048
  }
15179
15049
  };
15180
15050
 
15051
+ // src/utils/FixedSizeMap.ts
15052
+ var _FixedSizeMap = class {
15053
+ constructor(clone, size) {
15054
+ this.keysInOrder = [];
15055
+ if (typeof clone === "number") {
15056
+ this.maxSize = clone;
15057
+ this.currentMap = /* @__PURE__ */ new Map();
15058
+ } else {
15059
+ this.maxSize = size != null ? size : _FixedSizeMap.DEFAULT_SIZE;
15060
+ if (clone) {
15061
+ const arr = Array.from(clone);
15062
+ if (this.maxSize < arr.length) {
15063
+ arr.slice(arr.length - this.maxSize);
15064
+ }
15065
+ this.currentMap = /* @__PURE__ */ new Map();
15066
+ arr.forEach(([k, v]) => {
15067
+ this.set(k, v);
15068
+ });
15069
+ } else {
15070
+ this.currentMap = /* @__PURE__ */ new Map();
15071
+ }
15072
+ }
15073
+ }
15074
+ values() {
15075
+ return this.currentMap.values();
15076
+ }
15077
+ get size() {
15078
+ return this.currentMap.size;
15079
+ }
15080
+ delete(key) {
15081
+ if (this.currentMap.has(key)) {
15082
+ this.currentMap.delete(key);
15083
+ this.keysInOrder = this.keysInOrder.filter((k) => k !== key);
15084
+ return true;
15085
+ }
15086
+ return false;
15087
+ }
15088
+ has(key) {
15089
+ return this.currentMap.has(key);
15090
+ }
15091
+ get(key) {
15092
+ return this.currentMap.get(key);
15093
+ }
15094
+ set(key, el) {
15095
+ if (this.has(key)) {
15096
+ this.delete(key);
15097
+ }
15098
+ const canAddCount = this.maxSize - this.currentMap.size;
15099
+ if (canAddCount <= 0) {
15100
+ const [removedKey] = this.keysInOrder.splice(0, 1);
15101
+ if (removedKey != void 0) {
15102
+ this.currentMap.delete(removedKey);
15103
+ }
15104
+ }
15105
+ this.keysInOrder.push(key);
15106
+ this.currentMap.set(key, el);
15107
+ return this;
15108
+ }
15109
+ };
15110
+ var FixedSizeMap = _FixedSizeMap;
15111
+ FixedSizeMap.DEFAULT_SIZE = 10;
15112
+
15113
+ // src/components/DataSource/RowDetailCache.ts
15114
+ var RowDetailNoCacheStorage = class {
15115
+ add(_key, _value) {
15116
+ return;
15117
+ }
15118
+ get(_key) {
15119
+ return void 0;
15120
+ }
15121
+ delete(_key) {
15122
+ return;
15123
+ }
15124
+ has(_key) {
15125
+ return false;
15126
+ }
15127
+ };
15128
+ var RowDetailFixedSizeCacheStorage = class {
15129
+ constructor(maxSize) {
15130
+ this.storage = new FixedSizeMap(maxSize);
15131
+ }
15132
+ add(key, value) {
15133
+ this.storage.set(key, value);
15134
+ }
15135
+ get(key) {
15136
+ return this.storage.get(key);
15137
+ }
15138
+ delete(key) {
15139
+ this.storage.delete(key);
15140
+ }
15141
+ has(key) {
15142
+ return this.storage.has(key);
15143
+ }
15144
+ };
15145
+ var RowDetailFullCacheStorage = class {
15146
+ constructor() {
15147
+ this.storage = /* @__PURE__ */ new Map();
15148
+ }
15149
+ add(key, value) {
15150
+ this.storage.set(key, value);
15151
+ }
15152
+ get(key) {
15153
+ return this.storage.get(key);
15154
+ }
15155
+ delete(key) {
15156
+ this.storage.delete(key);
15157
+ }
15158
+ has(key) {
15159
+ return this.storage.has(key);
15160
+ }
15161
+ };
15162
+ var RowDetailCache = class {
15163
+ // public instanceIndex: number = 0;
15164
+ constructor(cache) {
15165
+ this.cacheStorage = cache === false ? new RowDetailNoCacheStorage() : cache === true ? new RowDetailFullCacheStorage() : typeof cache === "number" ? new RowDetailFixedSizeCacheStorage(cache) : new RowDetailFixedSizeCacheStorage(5);
15166
+ }
15167
+ add(key, value) {
15168
+ this.cacheStorage.add(key, value);
15169
+ }
15170
+ get(key) {
15171
+ return this.cacheStorage.get(key);
15172
+ }
15173
+ delete(key) {
15174
+ this.cacheStorage.delete(key);
15175
+ }
15176
+ has(key) {
15177
+ return this.cacheStorage.has(key);
15178
+ }
15179
+ };
15180
+
15181
15181
  // src/components/DataSource/types.ts
15182
15182
  var DataSourceActionType = /* @__PURE__ */ ((DataSourceActionType2) => {
15183
15183
  DataSourceActionType2["INIT"] = "INIT";
@@ -18815,7 +18815,7 @@ var useLicense = (licenseKey = "") => {
18815
18815
  }
18816
18816
  let valid2 = isValidLicense(licenseKey, {
18817
18817
  publishedAt: 1624970570587,
18818
- version: "4.3.4"
18818
+ version: "4.3.5"
18819
18819
  });
18820
18820
  if (!licenseKey && !valid2 && isInsidePlayground) {
18821
18821
  return true;
@@ -22542,7 +22542,8 @@ function InfiniteTableBody() {
22542
22542
  components: components2,
22543
22543
  bodySize,
22544
22544
  activeCellIndex,
22545
- rowDetailRenderer
22545
+ rowDetailRenderer,
22546
+ showHoverRows
22546
22547
  } = componentState;
22547
22548
  const LoadMaskCmp = (_a = components2 == null ? void 0 : components2.LoadMask) != null ? _a : LoadMask;
22548
22549
  const computed = getComputed();
@@ -22610,7 +22611,7 @@ function InfiniteTableBody() {
22610
22611
  activeCellRowHeight,
22611
22612
  renderCell,
22612
22613
  renderDetailRow: rowDetailRenderer ? renderDetailRow : void 0,
22613
- cellHoverClassNames: HOVERED_CLASS_NAMES,
22614
+ cellHoverClassNames: showHoverRows ? HOVERED_CLASS_NAMES : void 0,
22614
22615
  scrollerDOMRef
22615
22616
  }
22616
22617
  ), /* @__PURE__ */ React68.createElement(LoadMaskCmp, { visible: loading }, loadingText));
package/index.js CHANGED
@@ -14883,136 +14883,6 @@ function useDataSourceInternal(props) {
14883
14883
  };
14884
14884
  }
14885
14885
 
14886
- // src/utils/FixedSizeMap.ts
14887
- var _FixedSizeMap = class {
14888
- constructor(clone, size) {
14889
- this.keysInOrder = [];
14890
- if (typeof clone === "number") {
14891
- this.maxSize = clone;
14892
- this.currentMap = /* @__PURE__ */ new Map();
14893
- } else {
14894
- this.maxSize = size != null ? size : _FixedSizeMap.DEFAULT_SIZE;
14895
- if (clone) {
14896
- const arr = Array.from(clone);
14897
- if (this.maxSize < arr.length) {
14898
- arr.slice(arr.length - this.maxSize);
14899
- }
14900
- this.currentMap = /* @__PURE__ */ new Map();
14901
- arr.forEach(([k, v]) => {
14902
- this.set(k, v);
14903
- });
14904
- } else {
14905
- this.currentMap = /* @__PURE__ */ new Map();
14906
- }
14907
- }
14908
- }
14909
- values() {
14910
- return this.currentMap.values();
14911
- }
14912
- get size() {
14913
- return this.currentMap.size;
14914
- }
14915
- delete(key) {
14916
- if (this.currentMap.has(key)) {
14917
- this.currentMap.delete(key);
14918
- this.keysInOrder = this.keysInOrder.filter((k) => k !== key);
14919
- return true;
14920
- }
14921
- return false;
14922
- }
14923
- has(key) {
14924
- return this.currentMap.has(key);
14925
- }
14926
- get(key) {
14927
- return this.currentMap.get(key);
14928
- }
14929
- set(key, el) {
14930
- if (this.has(key)) {
14931
- this.delete(key);
14932
- }
14933
- const canAddCount = this.maxSize - this.currentMap.size;
14934
- if (canAddCount <= 0) {
14935
- const [removedKey] = this.keysInOrder.splice(0, 1);
14936
- if (removedKey != void 0) {
14937
- this.currentMap.delete(removedKey);
14938
- }
14939
- }
14940
- this.keysInOrder.push(key);
14941
- this.currentMap.set(key, el);
14942
- return this;
14943
- }
14944
- };
14945
- var FixedSizeMap = _FixedSizeMap;
14946
- FixedSizeMap.DEFAULT_SIZE = 10;
14947
-
14948
- // src/components/DataSource/RowDetailCache.ts
14949
- var RowDetailNoCacheStorage = class {
14950
- add(_key, _value) {
14951
- return;
14952
- }
14953
- get(_key) {
14954
- return void 0;
14955
- }
14956
- delete(_key) {
14957
- return;
14958
- }
14959
- has(_key) {
14960
- return false;
14961
- }
14962
- };
14963
- var RowDetailFixedSizeCacheStorage = class {
14964
- constructor(maxSize) {
14965
- this.storage = new FixedSizeMap(maxSize);
14966
- }
14967
- add(key, value) {
14968
- this.storage.set(key, value);
14969
- }
14970
- get(key) {
14971
- return this.storage.get(key);
14972
- }
14973
- delete(key) {
14974
- this.storage.delete(key);
14975
- }
14976
- has(key) {
14977
- return this.storage.has(key);
14978
- }
14979
- };
14980
- var RowDetailFullCacheStorage = class {
14981
- constructor() {
14982
- this.storage = /* @__PURE__ */ new Map();
14983
- }
14984
- add(key, value) {
14985
- this.storage.set(key, value);
14986
- }
14987
- get(key) {
14988
- return this.storage.get(key);
14989
- }
14990
- delete(key) {
14991
- this.storage.delete(key);
14992
- }
14993
- has(key) {
14994
- return this.storage.has(key);
14995
- }
14996
- };
14997
- var RowDetailCache = class {
14998
- // public instanceIndex: number = 0;
14999
- constructor(cache) {
15000
- this.cacheStorage = cache === false ? new RowDetailNoCacheStorage() : cache === true ? new RowDetailFullCacheStorage() : typeof cache === "number" ? new RowDetailFixedSizeCacheStorage(cache) : new RowDetailFixedSizeCacheStorage(5);
15001
- }
15002
- add(key, value) {
15003
- this.cacheStorage.add(key, value);
15004
- }
15005
- get(key) {
15006
- return this.cacheStorage.get(key);
15007
- }
15008
- delete(key) {
15009
- this.cacheStorage.delete(key);
15010
- }
15011
- has(key) {
15012
- return this.cacheStorage.has(key);
15013
- }
15014
- };
15015
-
15016
14886
  // src/components/DataSource/BooleanCollectionState.ts
15017
14887
  var BooleanCollectionState = class {
15018
14888
  constructor(state) {
@@ -15210,6 +15080,136 @@ var RowDetailState = class extends BooleanCollectionState {
15210
15080
  }
15211
15081
  };
15212
15082
 
15083
+ // src/utils/FixedSizeMap.ts
15084
+ var _FixedSizeMap = class {
15085
+ constructor(clone, size) {
15086
+ this.keysInOrder = [];
15087
+ if (typeof clone === "number") {
15088
+ this.maxSize = clone;
15089
+ this.currentMap = /* @__PURE__ */ new Map();
15090
+ } else {
15091
+ this.maxSize = size != null ? size : _FixedSizeMap.DEFAULT_SIZE;
15092
+ if (clone) {
15093
+ const arr = Array.from(clone);
15094
+ if (this.maxSize < arr.length) {
15095
+ arr.slice(arr.length - this.maxSize);
15096
+ }
15097
+ this.currentMap = /* @__PURE__ */ new Map();
15098
+ arr.forEach(([k, v]) => {
15099
+ this.set(k, v);
15100
+ });
15101
+ } else {
15102
+ this.currentMap = /* @__PURE__ */ new Map();
15103
+ }
15104
+ }
15105
+ }
15106
+ values() {
15107
+ return this.currentMap.values();
15108
+ }
15109
+ get size() {
15110
+ return this.currentMap.size;
15111
+ }
15112
+ delete(key) {
15113
+ if (this.currentMap.has(key)) {
15114
+ this.currentMap.delete(key);
15115
+ this.keysInOrder = this.keysInOrder.filter((k) => k !== key);
15116
+ return true;
15117
+ }
15118
+ return false;
15119
+ }
15120
+ has(key) {
15121
+ return this.currentMap.has(key);
15122
+ }
15123
+ get(key) {
15124
+ return this.currentMap.get(key);
15125
+ }
15126
+ set(key, el) {
15127
+ if (this.has(key)) {
15128
+ this.delete(key);
15129
+ }
15130
+ const canAddCount = this.maxSize - this.currentMap.size;
15131
+ if (canAddCount <= 0) {
15132
+ const [removedKey] = this.keysInOrder.splice(0, 1);
15133
+ if (removedKey != void 0) {
15134
+ this.currentMap.delete(removedKey);
15135
+ }
15136
+ }
15137
+ this.keysInOrder.push(key);
15138
+ this.currentMap.set(key, el);
15139
+ return this;
15140
+ }
15141
+ };
15142
+ var FixedSizeMap = _FixedSizeMap;
15143
+ FixedSizeMap.DEFAULT_SIZE = 10;
15144
+
15145
+ // src/components/DataSource/RowDetailCache.ts
15146
+ var RowDetailNoCacheStorage = class {
15147
+ add(_key, _value) {
15148
+ return;
15149
+ }
15150
+ get(_key) {
15151
+ return void 0;
15152
+ }
15153
+ delete(_key) {
15154
+ return;
15155
+ }
15156
+ has(_key) {
15157
+ return false;
15158
+ }
15159
+ };
15160
+ var RowDetailFixedSizeCacheStorage = class {
15161
+ constructor(maxSize) {
15162
+ this.storage = new FixedSizeMap(maxSize);
15163
+ }
15164
+ add(key, value) {
15165
+ this.storage.set(key, value);
15166
+ }
15167
+ get(key) {
15168
+ return this.storage.get(key);
15169
+ }
15170
+ delete(key) {
15171
+ this.storage.delete(key);
15172
+ }
15173
+ has(key) {
15174
+ return this.storage.has(key);
15175
+ }
15176
+ };
15177
+ var RowDetailFullCacheStorage = class {
15178
+ constructor() {
15179
+ this.storage = /* @__PURE__ */ new Map();
15180
+ }
15181
+ add(key, value) {
15182
+ this.storage.set(key, value);
15183
+ }
15184
+ get(key) {
15185
+ return this.storage.get(key);
15186
+ }
15187
+ delete(key) {
15188
+ this.storage.delete(key);
15189
+ }
15190
+ has(key) {
15191
+ return this.storage.has(key);
15192
+ }
15193
+ };
15194
+ var RowDetailCache = class {
15195
+ // public instanceIndex: number = 0;
15196
+ constructor(cache) {
15197
+ this.cacheStorage = cache === false ? new RowDetailNoCacheStorage() : cache === true ? new RowDetailFullCacheStorage() : typeof cache === "number" ? new RowDetailFixedSizeCacheStorage(cache) : new RowDetailFixedSizeCacheStorage(5);
15198
+ }
15199
+ add(key, value) {
15200
+ this.cacheStorage.add(key, value);
15201
+ }
15202
+ get(key) {
15203
+ return this.cacheStorage.get(key);
15204
+ }
15205
+ delete(key) {
15206
+ this.cacheStorage.delete(key);
15207
+ }
15208
+ has(key) {
15209
+ return this.cacheStorage.has(key);
15210
+ }
15211
+ };
15212
+
15213
15213
  // src/components/DataSource/types.ts
15214
15214
  var DataSourceActionType = /* @__PURE__ */ ((DataSourceActionType2) => {
15215
15215
  DataSourceActionType2["INIT"] = "INIT";
@@ -18843,7 +18843,7 @@ var useLicense = (licenseKey = "") => {
18843
18843
  }
18844
18844
  let valid2 = isValidLicense(licenseKey, {
18845
18845
  publishedAt: 1624970570587,
18846
- version: "4.3.4"
18846
+ version: "4.3.5"
18847
18847
  });
18848
18848
  if (!licenseKey && !valid2 && isInsidePlayground) {
18849
18849
  return true;
@@ -22560,7 +22560,8 @@ function InfiniteTableBody() {
22560
22560
  components: components2,
22561
22561
  bodySize,
22562
22562
  activeCellIndex,
22563
- rowDetailRenderer
22563
+ rowDetailRenderer,
22564
+ showHoverRows
22564
22565
  } = componentState;
22565
22566
  const LoadMaskCmp = (_a = components2 == null ? void 0 : components2.LoadMask) != null ? _a : LoadMask;
22566
22567
  const computed = getComputed();
@@ -22628,7 +22629,7 @@ function InfiniteTableBody() {
22628
22629
  activeCellRowHeight,
22629
22630
  renderCell,
22630
22631
  renderDetailRow: rowDetailRenderer ? renderDetailRow : void 0,
22631
- cellHoverClassNames: HOVERED_CLASS_NAMES,
22632
+ cellHoverClassNames: showHoverRows ? HOVERED_CLASS_NAMES : void 0,
22632
22633
  scrollerDOMRef
22633
22634
  }
22634
22635
  ), /* @__PURE__ */ React68.createElement(LoadMaskCmp, { visible: loading }, loadingText));
package/index.mjs CHANGED
@@ -14851,136 +14851,6 @@ function useDataSourceInternal(props) {
14851
14851
  };
14852
14852
  }
14853
14853
 
14854
- // src/utils/FixedSizeMap.ts
14855
- var _FixedSizeMap = class {
14856
- constructor(clone, size) {
14857
- this.keysInOrder = [];
14858
- if (typeof clone === "number") {
14859
- this.maxSize = clone;
14860
- this.currentMap = /* @__PURE__ */ new Map();
14861
- } else {
14862
- this.maxSize = size != null ? size : _FixedSizeMap.DEFAULT_SIZE;
14863
- if (clone) {
14864
- const arr = Array.from(clone);
14865
- if (this.maxSize < arr.length) {
14866
- arr.slice(arr.length - this.maxSize);
14867
- }
14868
- this.currentMap = /* @__PURE__ */ new Map();
14869
- arr.forEach(([k, v]) => {
14870
- this.set(k, v);
14871
- });
14872
- } else {
14873
- this.currentMap = /* @__PURE__ */ new Map();
14874
- }
14875
- }
14876
- }
14877
- values() {
14878
- return this.currentMap.values();
14879
- }
14880
- get size() {
14881
- return this.currentMap.size;
14882
- }
14883
- delete(key) {
14884
- if (this.currentMap.has(key)) {
14885
- this.currentMap.delete(key);
14886
- this.keysInOrder = this.keysInOrder.filter((k) => k !== key);
14887
- return true;
14888
- }
14889
- return false;
14890
- }
14891
- has(key) {
14892
- return this.currentMap.has(key);
14893
- }
14894
- get(key) {
14895
- return this.currentMap.get(key);
14896
- }
14897
- set(key, el) {
14898
- if (this.has(key)) {
14899
- this.delete(key);
14900
- }
14901
- const canAddCount = this.maxSize - this.currentMap.size;
14902
- if (canAddCount <= 0) {
14903
- const [removedKey] = this.keysInOrder.splice(0, 1);
14904
- if (removedKey != void 0) {
14905
- this.currentMap.delete(removedKey);
14906
- }
14907
- }
14908
- this.keysInOrder.push(key);
14909
- this.currentMap.set(key, el);
14910
- return this;
14911
- }
14912
- };
14913
- var FixedSizeMap = _FixedSizeMap;
14914
- FixedSizeMap.DEFAULT_SIZE = 10;
14915
-
14916
- // src/components/DataSource/RowDetailCache.ts
14917
- var RowDetailNoCacheStorage = class {
14918
- add(_key, _value) {
14919
- return;
14920
- }
14921
- get(_key) {
14922
- return void 0;
14923
- }
14924
- delete(_key) {
14925
- return;
14926
- }
14927
- has(_key) {
14928
- return false;
14929
- }
14930
- };
14931
- var RowDetailFixedSizeCacheStorage = class {
14932
- constructor(maxSize) {
14933
- this.storage = new FixedSizeMap(maxSize);
14934
- }
14935
- add(key, value) {
14936
- this.storage.set(key, value);
14937
- }
14938
- get(key) {
14939
- return this.storage.get(key);
14940
- }
14941
- delete(key) {
14942
- this.storage.delete(key);
14943
- }
14944
- has(key) {
14945
- return this.storage.has(key);
14946
- }
14947
- };
14948
- var RowDetailFullCacheStorage = class {
14949
- constructor() {
14950
- this.storage = /* @__PURE__ */ new Map();
14951
- }
14952
- add(key, value) {
14953
- this.storage.set(key, value);
14954
- }
14955
- get(key) {
14956
- return this.storage.get(key);
14957
- }
14958
- delete(key) {
14959
- this.storage.delete(key);
14960
- }
14961
- has(key) {
14962
- return this.storage.has(key);
14963
- }
14964
- };
14965
- var RowDetailCache = class {
14966
- // public instanceIndex: number = 0;
14967
- constructor(cache) {
14968
- this.cacheStorage = cache === false ? new RowDetailNoCacheStorage() : cache === true ? new RowDetailFullCacheStorage() : typeof cache === "number" ? new RowDetailFixedSizeCacheStorage(cache) : new RowDetailFixedSizeCacheStorage(5);
14969
- }
14970
- add(key, value) {
14971
- this.cacheStorage.add(key, value);
14972
- }
14973
- get(key) {
14974
- return this.cacheStorage.get(key);
14975
- }
14976
- delete(key) {
14977
- this.cacheStorage.delete(key);
14978
- }
14979
- has(key) {
14980
- return this.cacheStorage.has(key);
14981
- }
14982
- };
14983
-
14984
14854
  // src/components/DataSource/BooleanCollectionState.ts
14985
14855
  var BooleanCollectionState = class {
14986
14856
  constructor(state) {
@@ -15178,6 +15048,136 @@ var RowDetailState = class extends BooleanCollectionState {
15178
15048
  }
15179
15049
  };
15180
15050
 
15051
+ // src/utils/FixedSizeMap.ts
15052
+ var _FixedSizeMap = class {
15053
+ constructor(clone, size) {
15054
+ this.keysInOrder = [];
15055
+ if (typeof clone === "number") {
15056
+ this.maxSize = clone;
15057
+ this.currentMap = /* @__PURE__ */ new Map();
15058
+ } else {
15059
+ this.maxSize = size != null ? size : _FixedSizeMap.DEFAULT_SIZE;
15060
+ if (clone) {
15061
+ const arr = Array.from(clone);
15062
+ if (this.maxSize < arr.length) {
15063
+ arr.slice(arr.length - this.maxSize);
15064
+ }
15065
+ this.currentMap = /* @__PURE__ */ new Map();
15066
+ arr.forEach(([k, v]) => {
15067
+ this.set(k, v);
15068
+ });
15069
+ } else {
15070
+ this.currentMap = /* @__PURE__ */ new Map();
15071
+ }
15072
+ }
15073
+ }
15074
+ values() {
15075
+ return this.currentMap.values();
15076
+ }
15077
+ get size() {
15078
+ return this.currentMap.size;
15079
+ }
15080
+ delete(key) {
15081
+ if (this.currentMap.has(key)) {
15082
+ this.currentMap.delete(key);
15083
+ this.keysInOrder = this.keysInOrder.filter((k) => k !== key);
15084
+ return true;
15085
+ }
15086
+ return false;
15087
+ }
15088
+ has(key) {
15089
+ return this.currentMap.has(key);
15090
+ }
15091
+ get(key) {
15092
+ return this.currentMap.get(key);
15093
+ }
15094
+ set(key, el) {
15095
+ if (this.has(key)) {
15096
+ this.delete(key);
15097
+ }
15098
+ const canAddCount = this.maxSize - this.currentMap.size;
15099
+ if (canAddCount <= 0) {
15100
+ const [removedKey] = this.keysInOrder.splice(0, 1);
15101
+ if (removedKey != void 0) {
15102
+ this.currentMap.delete(removedKey);
15103
+ }
15104
+ }
15105
+ this.keysInOrder.push(key);
15106
+ this.currentMap.set(key, el);
15107
+ return this;
15108
+ }
15109
+ };
15110
+ var FixedSizeMap = _FixedSizeMap;
15111
+ FixedSizeMap.DEFAULT_SIZE = 10;
15112
+
15113
+ // src/components/DataSource/RowDetailCache.ts
15114
+ var RowDetailNoCacheStorage = class {
15115
+ add(_key, _value) {
15116
+ return;
15117
+ }
15118
+ get(_key) {
15119
+ return void 0;
15120
+ }
15121
+ delete(_key) {
15122
+ return;
15123
+ }
15124
+ has(_key) {
15125
+ return false;
15126
+ }
15127
+ };
15128
+ var RowDetailFixedSizeCacheStorage = class {
15129
+ constructor(maxSize) {
15130
+ this.storage = new FixedSizeMap(maxSize);
15131
+ }
15132
+ add(key, value) {
15133
+ this.storage.set(key, value);
15134
+ }
15135
+ get(key) {
15136
+ return this.storage.get(key);
15137
+ }
15138
+ delete(key) {
15139
+ this.storage.delete(key);
15140
+ }
15141
+ has(key) {
15142
+ return this.storage.has(key);
15143
+ }
15144
+ };
15145
+ var RowDetailFullCacheStorage = class {
15146
+ constructor() {
15147
+ this.storage = /* @__PURE__ */ new Map();
15148
+ }
15149
+ add(key, value) {
15150
+ this.storage.set(key, value);
15151
+ }
15152
+ get(key) {
15153
+ return this.storage.get(key);
15154
+ }
15155
+ delete(key) {
15156
+ this.storage.delete(key);
15157
+ }
15158
+ has(key) {
15159
+ return this.storage.has(key);
15160
+ }
15161
+ };
15162
+ var RowDetailCache = class {
15163
+ // public instanceIndex: number = 0;
15164
+ constructor(cache) {
15165
+ this.cacheStorage = cache === false ? new RowDetailNoCacheStorage() : cache === true ? new RowDetailFullCacheStorage() : typeof cache === "number" ? new RowDetailFixedSizeCacheStorage(cache) : new RowDetailFixedSizeCacheStorage(5);
15166
+ }
15167
+ add(key, value) {
15168
+ this.cacheStorage.add(key, value);
15169
+ }
15170
+ get(key) {
15171
+ return this.cacheStorage.get(key);
15172
+ }
15173
+ delete(key) {
15174
+ this.cacheStorage.delete(key);
15175
+ }
15176
+ has(key) {
15177
+ return this.cacheStorage.has(key);
15178
+ }
15179
+ };
15180
+
15181
15181
  // src/components/DataSource/types.ts
15182
15182
  var DataSourceActionType = /* @__PURE__ */ ((DataSourceActionType2) => {
15183
15183
  DataSourceActionType2["INIT"] = "INIT";
@@ -18815,7 +18815,7 @@ var useLicense = (licenseKey = "") => {
18815
18815
  }
18816
18816
  let valid2 = isValidLicense(licenseKey, {
18817
18817
  publishedAt: 1624970570587,
18818
- version: "4.3.4"
18818
+ version: "4.3.5"
18819
18819
  });
18820
18820
  if (!licenseKey && !valid2 && isInsidePlayground) {
18821
18821
  return true;
@@ -22542,7 +22542,8 @@ function InfiniteTableBody() {
22542
22542
  components: components2,
22543
22543
  bodySize,
22544
22544
  activeCellIndex,
22545
- rowDetailRenderer
22545
+ rowDetailRenderer,
22546
+ showHoverRows
22546
22547
  } = componentState;
22547
22548
  const LoadMaskCmp = (_a = components2 == null ? void 0 : components2.LoadMask) != null ? _a : LoadMask;
22548
22549
  const computed = getComputed();
@@ -22610,7 +22611,7 @@ function InfiniteTableBody() {
22610
22611
  activeCellRowHeight,
22611
22612
  renderCell,
22612
22613
  renderDetailRow: rowDetailRenderer ? renderDetailRow : void 0,
22613
- cellHoverClassNames: HOVERED_CLASS_NAMES,
22614
+ cellHoverClassNames: showHoverRows ? HOVERED_CLASS_NAMES : void 0,
22614
22615
  scrollerDOMRef
22615
22616
  }
22616
22617
  ), /* @__PURE__ */ React68.createElement(LoadMaskCmp, { visible: loading }, loadingText));
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "bugs": {
26
26
  "url": "https://github.com/infinite-table/infinite-react/issues"
27
27
  },
28
- "version": "4.3.4",
28
+ "version": "4.3.5",
29
29
  "main": "index.js",
30
30
  "module": "index.mjs",
31
31
  "typings": "index.d.ts",
@@ -34,5 +34,5 @@
34
34
  },
35
35
  "license": "Commercial & Open Source",
36
36
  "//": "will be updated at build time",
37
- "publishedAt": 1721977959467
37
+ "publishedAt": 1723208083972
38
38
  }