@teselagen/ui 0.9.7 → 0.9.8

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.cjs.js CHANGED
@@ -57072,7 +57072,7 @@ const ReactTable = /* @__PURE__ */ __name(({
57072
57072
  "data-tip": typeof rowDisabled === "string" ? rowDisabled : void 0,
57073
57073
  onDoubleClick: /* @__PURE__ */ __name((e) => {
57074
57074
  if (rowDisabled) return;
57075
- getRowClassName && onDoubleClick(rowInfo.original, rowInfo.index, history, e);
57075
+ onDoubleClick && onDoubleClick(rowInfo.original, rowInfo.index, history, e);
57076
57076
  }, "onDoubleClick")
57077
57077
  };
57078
57078
  },
package/index.es.js CHANGED
@@ -57054,7 +57054,7 @@ const ReactTable = /* @__PURE__ */ __name(({
57054
57054
  "data-tip": typeof rowDisabled === "string" ? rowDisabled : void 0,
57055
57055
  onDoubleClick: /* @__PURE__ */ __name((e) => {
57056
57056
  if (rowDisabled) return;
57057
- getRowClassName && onDoubleClick(rowInfo.original, rowInfo.index, history, e);
57057
+ onDoubleClick && onDoubleClick(rowInfo.original, rowInfo.index, history, e);
57058
57058
  }, "onDoubleClick")
57059
57059
  };
57060
57060
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ui",
3
- "version": "0.9.7",
3
+ "version": "0.9.8",
4
4
  "main": "./src/index.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -506,7 +506,7 @@ export const ReactTable = ({
506
506
  "data-tip": typeof rowDisabled === "string" ? rowDisabled : undefined,
507
507
  onDoubleClick: e => {
508
508
  if (rowDisabled) return;
509
- getRowClassName &&
509
+ onDoubleClick &&
510
510
  onDoubleClick(rowInfo.original, rowInfo.index, history, e);
511
511
  }
512
512
  };