nillud-data-table 1.3.4 → 1.3.5
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/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -122,6 +122,8 @@ var Cell = ({
|
|
122
122
|
{
|
123
123
|
className: "ndt-cell",
|
124
124
|
title: isTitles && stringValue ? stringValue : "",
|
125
|
+
onClick: typeof column.isSelectableCell === "undefined" || column.isSelectableCell ? onRowSelect : () => {
|
126
|
+
},
|
125
127
|
children: content
|
126
128
|
}
|
127
129
|
);
|
@@ -148,7 +150,6 @@ var Row = ({
|
|
148
150
|
{
|
149
151
|
className: `ndt-table-row ${isSelectable && "ndt-table-row-selectable"} ${isRowSelected && "ndt-table-row-selected"}`,
|
150
152
|
style: { gridTemplateColumns: widths },
|
151
|
-
onClick: onRowSelect,
|
152
153
|
children: columns.map((column, id) => /* @__PURE__ */ jsx6(
|
153
154
|
Cell_default,
|
154
155
|
{
|