@rkosafo/cai.components 0.0.58 → 0.0.60

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.
@@ -217,7 +217,10 @@
217
217
  const target = e.target as HTMLElement | null;
218
218
  if (
219
219
  target &&
220
- (target.localName === 'iconify-icon' || target.localName === 'button')
220
+ (target.localName === 'iconify-icon' ||
221
+ target.localName === 'button' ||
222
+ target.localName === 'input' ||
223
+ target.localName === 'checkbox')
221
224
  ) {
222
225
  return;
223
226
  }
@@ -233,6 +236,7 @@
233
236
  onchange={(e) => {
234
237
  const checked = e?.target?.checked;
235
238
  handleRowCheckboxChange(checked, getRow(row));
239
+ e.stopPropagation();
236
240
  }}
237
241
  checked={selectedRows.find((x) => x.id === getRow(row).id) ?? false}
238
242
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rkosafo/cai.components",
3
- "version": "0.0.58",
3
+ "version": "0.0.60",
4
4
  "files": [
5
5
  "dist",
6
6
  "!dist/**/*.test.*",