@rkosafo/cai.components 0.0.48 → 0.0.49

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.
@@ -67,6 +67,7 @@
67
67
  onDelete,
68
68
  editor,
69
69
  customFilter,
70
+ handleCheckbox,
70
71
  read = $bindable((skip?: number, take?: number, filter?: TableFilter<any>) => {
71
72
  return null;
72
73
  }),
@@ -474,7 +475,7 @@
474
475
  onDelete={handleDelete}
475
476
  onRowClicked={handleRowClicked}
476
477
  {onActionClicked}
477
- handleCheckbox={(val) => {}}
478
+ {handleCheckbox}
478
479
  {...otherProps}
479
480
  />
480
481
  </div>
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { Dropdown, DropdownItem, type TableProps } from '../../index.js';
2
+ import { Checkbox, Dropdown, DropdownItem, type TableProps } from '../../index.js';
3
3
  import { clickOutsideAction } from '../../utils/svelte-legos.js';
4
4
  import { createTable, Render, Subscribe } from 'svelte-headless-table';
5
5
  import {
@@ -141,9 +141,8 @@
141
141
  <th
142
142
  class="px-6 py-2.5 text-left text-sm font-semibold whitespace-nowrap rtl:text-right"
143
143
  >
144
- <input
144
+ <Checkbox
145
145
  class="cursor-pointer"
146
- type="checkbox"
147
146
  checked={selectAllChecked}
148
147
  onchange={handleSelectAllChange}
149
148
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rkosafo/cai.components",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
4
  "files": [
5
5
  "dist",
6
6
  "!dist/**/*.test.*",