@infinite-table/infinite-react 0.3.18 → 0.3.19

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
@@ -5801,12 +5801,12 @@ function useColumnGroupResizeHandle(groupColumns, config) {
5801
5801
  })
5802
5802
  });
5803
5803
  return result;
5804
- }, []);
5804
+ }, [lastColumnInGroup]);
5805
5805
  const onColumnResize = useCallback9((diff) => {
5806
5806
  const { columnSizing, reservedWidth } = computeResizeForDiff(diff);
5807
5807
  componentActions.viewportReservedWidth = reservedWidth;
5808
5808
  componentActions.columnSizing = columnSizing;
5809
- }, []);
5809
+ }, [computeResizeForDiff]);
5810
5810
  const groupResizable = groupColumns.some((c) => c.computedResizable);
5811
5811
  const resizeHandle = groupResizable ? /* @__PURE__ */ createElement17(GroupResizeHandle, {
5812
5812
  brain: bodyBrain,
@@ -10256,7 +10256,7 @@ var useLicense = (licenseKey = "") => {
10256
10256
  const valid = useMemo12(() => {
10257
10257
  let valid2 = isValidLicense(licenseKey, {
10258
10258
  publishedAt: 1624970570587,
10259
- version: "0.3.18"
10259
+ version: "0.3.19"
10260
10260
  });
10261
10261
  if (!licenseKey && !valid2 && isInsidePlayground) {
10262
10262
  return true;
package/index.js CHANGED
@@ -5744,12 +5744,12 @@ function useColumnGroupResizeHandle(groupColumns, config) {
5744
5744
  })
5745
5745
  });
5746
5746
  return result;
5747
- }, []);
5747
+ }, [lastColumnInGroup]);
5748
5748
  const onColumnResize = (0, import_react25.useCallback)((diff) => {
5749
5749
  const { columnSizing, reservedWidth } = computeResizeForDiff(diff);
5750
5750
  componentActions.viewportReservedWidth = reservedWidth;
5751
5751
  componentActions.columnSizing = columnSizing;
5752
- }, []);
5752
+ }, [computeResizeForDiff]);
5753
5753
  const groupResizable = groupColumns.some((c) => c.computedResizable);
5754
5754
  const resizeHandle = groupResizable ? /* @__PURE__ */ React24.createElement(GroupResizeHandle, {
5755
5755
  brain: bodyBrain,
@@ -10173,7 +10173,7 @@ var useLicense = (licenseKey = "") => {
10173
10173
  const valid = (0, import_react46.useMemo)(() => {
10174
10174
  let valid2 = isValidLicense(licenseKey, {
10175
10175
  publishedAt: 1624970570587,
10176
- version: "0.3.18"
10176
+ version: "0.3.19"
10177
10177
  });
10178
10178
  if (!licenseKey && !valid2 && isInsidePlayground) {
10179
10179
  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.3.18",
4
+ "version": "0.3.19",
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": 1656535379315
17
+ "publishedAt": 1656535974616
18
18
  }