@adiba-banking-cloud/backoffice 0.0.32 → 0.0.33

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.
@@ -11896,6 +11896,7 @@ const DropdownItem = _ref2 => {
11896
11896
  activeBg = "gray.1",
11897
11897
  activeColor = "altiba",
11898
11898
  inactiveColor = "adiba",
11899
+ id,
11899
11900
  onClick
11900
11901
  } = _ref2;
11901
11902
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(core.Button, {
@@ -11904,7 +11905,8 @@ const DropdownItem = _ref2 => {
11904
11905
  mih: 70,
11905
11906
  bg: active ? activeBg : {},
11906
11907
  c: active ? activeColor : inactiveColor,
11907
- onClick: onClick
11908
+ onClick: onClick,
11909
+ "data-index": id
11908
11910
  }, /*#__PURE__*/React.createElement(core.Group, {
11909
11911
  w: 320
11910
11912
  }, /*#__PURE__*/React.createElement(Icons, icon), /*#__PURE__*/React.createElement(core.Stack, {
@@ -12924,7 +12926,6 @@ const SimpleBody = _ref => {
12924
12926
  h: 50
12925
12927
  }, columns.map((column, index) => {
12926
12928
  const columnIndex = column.id;
12927
- console.log("column: ".concat(column.id, ", type: ").concat(typeof row[column.id]));
12928
12929
  return /*#__PURE__*/React.createElement(core.Table.Td, {
12929
12930
  key: index
12930
12931
  }, typeof row[columnIndex] === 'function' ? row[columnIndex](columnIndex) : row[columnIndex] || "");
@@ -11875,6 +11875,7 @@ const DropdownItem = _ref2 => {
11875
11875
  activeBg = "gray.1",
11876
11876
  activeColor = "altiba",
11877
11877
  inactiveColor = "adiba",
11878
+ id,
11878
11879
  onClick
11879
11880
  } = _ref2;
11880
11881
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
@@ -11883,7 +11884,8 @@ const DropdownItem = _ref2 => {
11883
11884
  mih: 70,
11884
11885
  bg: active ? activeBg : {},
11885
11886
  c: active ? activeColor : inactiveColor,
11886
- onClick: onClick
11887
+ onClick: onClick,
11888
+ "data-index": id
11887
11889
  }, /*#__PURE__*/React.createElement(Group, {
11888
11890
  w: 320
11889
11891
  }, /*#__PURE__*/React.createElement(Icons, icon), /*#__PURE__*/React.createElement(Stack, {
@@ -12903,7 +12905,6 @@ const SimpleBody = _ref => {
12903
12905
  h: 50
12904
12906
  }, columns.map((column, index) => {
12905
12907
  const columnIndex = column.id;
12906
- console.log("column: ".concat(column.id, ", type: ").concat(typeof row[column.id]));
12907
12908
  return /*#__PURE__*/React.createElement(Table.Td, {
12908
12909
  key: index
12909
12910
  }, typeof row[columnIndex] === 'function' ? row[columnIndex](columnIndex) : row[columnIndex] || "");
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.32",
4
+ "version": "0.0.33",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",