pixelize-design-library 1.1.63 → 1.1.65

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.
@@ -89,6 +89,7 @@ var TableBody = function (_a) {
89
89
  react_2.default.createElement("p", null, "No data found")))));
90
90
  }
91
91
  return (react_2.default.createElement(react_2.default.Fragment, null, data.map(function (row, index) {
92
+ var _a;
92
93
  var rowIndex = startRow + index;
93
94
  var isExpanded = expandedRows.has(rowIndex);
94
95
  var isChecked = selections.includes(row.id);
@@ -101,7 +102,7 @@ var TableBody = function (_a) {
101
102
  },
102
103
  }
103
104
  : {} },
104
- isContent && (react_2.default.createElement(RenderContent, { rowIndex: rowIndex, isExpanded: isExpanded, isContent: !!row.content })),
105
+ isContent && (react_2.default.createElement(RenderContent, { rowIndex: rowIndex, isExpanded: isExpanded, isContent: !!((_a = row === null || row === void 0 ? void 0 : row.content) === null || _a === void 0 ? void 0 : _a.call(row)) })),
105
106
  isCheckbox && react_2.default.createElement(RenderCheckbox, { row: row, isChecked: isChecked }),
106
107
  columns.map(function (header, headerIndex) {
107
108
  var _a, _b;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixelize-design-library",
3
- "version": "1.1.63",
3
+ "version": "1.1.65",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
package/tsconfig.json DELETED
@@ -1,23 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es5",
4
- "module": "CommonJS",
5
- "lib": ["dom", "dom.iterable", "esnext"],
6
- "allowJs": true,
7
- "skipLibCheck": true,
8
- "esModuleInterop": true,
9
- "allowSyntheticDefaultImports": true,
10
- "strict": true,
11
- "forceConsistentCasingInFileNames": true,
12
- "noFallthroughCasesInSwitch": true,
13
- "moduleResolution": "node",
14
- "resolveJsonModule": true,
15
- "isolatedModules": true,
16
- "noEmit": false,
17
- "jsx": "react",
18
- "outDir": "./dist",
19
- "typeRoots": ["./node_modules/@types", "./src/types"],
20
- "declaration": true
21
- },
22
- "include": ["src"]
23
- }