@infinite-table/infinite-react 0.3.5 → 0.3.6

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
@@ -5174,12 +5174,11 @@ function InfiniteTableColumnCellFn(props) {
5174
5174
  });
5175
5175
  }
5176
5176
  const onClick = useCallback11(() => {
5177
- const { activeRowIndex: activeRowIndex2, activeCellIndex } = getState();
5178
- if (activeRowIndex2 !== void 0 && keyboardNavigation === "row") {
5177
+ if (keyboardNavigation === "row") {
5179
5178
  componentActions.activeRowIndex = rowIndex;
5180
5179
  return;
5181
5180
  }
5182
- if (activeCellIndex !== void 0 && keyboardNavigation === "cell") {
5181
+ if (keyboardNavigation === "cell") {
5183
5182
  componentActions.activeCellIndex = [
5184
5183
  rowIndex,
5185
5184
  column.computedVisibleIndex
@@ -9405,7 +9404,7 @@ var useLicense = (licenseKey = "") => {
9405
9404
  const valid = useMemo12(() => {
9406
9405
  let valid2 = isValidLicense(licenseKey, {
9407
9406
  publishedAt: 1624970570587,
9408
- version: "0.3.5"
9407
+ version: "0.3.6"
9409
9408
  });
9410
9409
  if (!licenseKey && !valid2 && isInsidePlayground) {
9411
9410
  return true;
package/index.js CHANGED
@@ -5107,12 +5107,11 @@ function InfiniteTableColumnCellFn(props) {
5107
5107
  });
5108
5108
  }
5109
5109
  const onClick = (0, import_react25.useCallback)(() => {
5110
- const { activeRowIndex: activeRowIndex2, activeCellIndex } = getState();
5111
- if (activeRowIndex2 !== void 0 && keyboardNavigation === "row") {
5110
+ if (keyboardNavigation === "row") {
5112
5111
  componentActions.activeRowIndex = rowIndex;
5113
5112
  return;
5114
5113
  }
5115
- if (activeCellIndex !== void 0 && keyboardNavigation === "cell") {
5114
+ if (keyboardNavigation === "cell") {
5116
5115
  componentActions.activeCellIndex = [
5117
5116
  rowIndex,
5118
5117
  column.computedVisibleIndex
@@ -9321,7 +9320,7 @@ var useLicense = (licenseKey = "") => {
9321
9320
  const valid = (0, import_react43.useMemo)(() => {
9322
9321
  let valid2 = isValidLicense(licenseKey, {
9323
9322
  publishedAt: 1624970570587,
9324
- version: "0.3.5"
9323
+ version: "0.3.6"
9325
9324
  });
9326
9325
  if (!licenseKey && !valid2 && isInsidePlayground) {
9327
9326
  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.5",
4
+ "version": "0.3.6",
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": 1654528141421
17
+ "publishedAt": 1654529307233
18
18
  }