@rkosafo/cai.components 0.0.55 → 0.0.57
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/types/index.d.ts
CHANGED
|
@@ -472,7 +472,7 @@
|
|
|
472
472
|
{#if busy}
|
|
473
473
|
<TableLoader bodySize={loadingBodySize} headerSize={loadingHeaderSize} />
|
|
474
474
|
{:else}
|
|
475
|
-
<div class="h-full w-full flex-grow
|
|
475
|
+
<div class="h-full w-full flex-grow">
|
|
476
476
|
<Table
|
|
477
477
|
data={tableData}
|
|
478
478
|
{headerColor}
|
|
@@ -38,7 +38,9 @@
|
|
|
38
38
|
onDelete,
|
|
39
39
|
onEdit,
|
|
40
40
|
onView,
|
|
41
|
-
onRowClicked
|
|
41
|
+
onRowClicked,
|
|
42
|
+
showTableBottomPadding = true,
|
|
43
|
+
tableBottomContent
|
|
42
44
|
}: TableProps = $props();
|
|
43
45
|
|
|
44
46
|
let dropdown = $state(-1);
|
|
@@ -359,7 +361,11 @@
|
|
|
359
361
|
{/each}
|
|
360
362
|
</tbody>
|
|
361
363
|
</table>
|
|
362
|
-
|
|
364
|
+
{#if tableBottomContent}
|
|
365
|
+
{@render tableBottomContent?.()}
|
|
366
|
+
{:else if showTableBottomPadding}
|
|
367
|
+
<div class="h-10"></div>
|
|
368
|
+
{/if}
|
|
363
369
|
|
|
364
370
|
{#if !$pageRows.length}
|
|
365
371
|
<div class="flex h-72 w-full items-center justify-center">
|