@adiba-banking-cloud/backoffice 0.0.21 → 0.0.22

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.
@@ -12487,12 +12487,10 @@ const SimpleBody = _ref => {
12487
12487
  console.log("column: ".concat(column.id, ", type: ").concat(typeof row[column.id]));
12488
12488
  return /*#__PURE__*/React$1.createElement(core.Table.Td, {
12489
12489
  key: index
12490
- }, typeof row[columnIndex] === "string" ? row[columnIndex] : row[columnIndex](columnIndex));
12490
+ }, typeof row[columnIndex] === 'function' ? row[columnIndex](columnIndex) : row[columnIndex] || "");
12491
12491
  }));
12492
12492
  };
12493
12493
 
12494
- //TODO: Add rowId and cellId to enable onclick attributes
12495
-
12496
12494
  const SimpleTable = _ref => {
12497
12495
  let {
12498
12496
  columns,
@@ -12466,12 +12466,10 @@ const SimpleBody = _ref => {
12466
12466
  console.log("column: ".concat(column.id, ", type: ").concat(typeof row[column.id]));
12467
12467
  return /*#__PURE__*/React$1.createElement(Table.Td, {
12468
12468
  key: index
12469
- }, typeof row[columnIndex] === "string" ? row[columnIndex] : row[columnIndex](columnIndex));
12469
+ }, typeof row[columnIndex] === 'function' ? row[columnIndex](columnIndex) : row[columnIndex] || "");
12470
12470
  }));
12471
12471
  };
12472
12472
 
12473
- //TODO: Add rowId and cellId to enable onclick attributes
12474
-
12475
12473
  const SimpleTable = _ref => {
12476
12474
  let {
12477
12475
  columns,
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { PaymentMethodProps } from "./PaymentMethod.types";
3
3
  export declare const PaymentMethod: React.FC<PaymentMethodProps>;
4
- export declare const PaymentMethodAdd: React.FC;
4
+ export declare const PaymentMethodAdd: () => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adiba-banking-cloud/backoffice",
3
3
  "author": "TUROG Technologies",
4
- "version": "0.0.21",
4
+ "version": "0.0.22",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",