@invopop/popui 0.1.4-beta.26 → 0.1.4-beta.28
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/InputSearch.svelte
CHANGED
package/dist/StepIconList.svelte
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<Tooltip>
|
|
39
39
|
<TooltipTrigger class="shrink-0">
|
|
40
40
|
<div
|
|
41
|
-
class="flex items-center justify-center text-icon font-medium text-
|
|
41
|
+
class="flex items-center justify-center text-icon font-medium text-sm size-7 shrink-0 rounded-md bg-background-default-tertiary ml-[-1px]"
|
|
42
42
|
>
|
|
43
43
|
+{restIcons.length}
|
|
44
44
|
</div>
|
|
@@ -61,7 +61,8 @@
|
|
|
61
61
|
onSortingChange,
|
|
62
62
|
onFilterChange,
|
|
63
63
|
onFreezeChange,
|
|
64
|
-
getRowClassName
|
|
64
|
+
getRowClassName,
|
|
65
|
+
children
|
|
65
66
|
}: DataTableProps<TData> = $props()
|
|
66
67
|
|
|
67
68
|
const enableSelection = !disableSelection
|
|
@@ -424,20 +425,23 @@
|
|
|
424
425
|
<div class="flex flex-col h-full">
|
|
425
426
|
<DataTableToolbar {table} {filters} {frozenColumns} onFreezeColumn={handleFreezeColumn} />
|
|
426
427
|
<div class="flex-1 overflow-hidden flex flex-col">
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
428
|
+
<div
|
|
429
|
+
bind:this={containerRef}
|
|
430
|
+
class="relative bg-background flex-1 overflow-auto"
|
|
431
|
+
style="overscroll-behavior-x: none;"
|
|
432
|
+
>
|
|
433
|
+
{#if data.length === 0}
|
|
434
|
+
<div class="absolute inset-0 flex items-center justify-center pointer-events-none">
|
|
435
|
+
<div class="pointer-events-auto">
|
|
436
|
+
<EmptyState
|
|
437
|
+
icon={children}
|
|
438
|
+
iconSource={emptyState.iconSource}
|
|
439
|
+
title={emptyState.title}
|
|
440
|
+
description={emptyState.description}
|
|
441
|
+
/>
|
|
442
|
+
</div>
|
|
443
|
+
</div>
|
|
444
|
+
{:else}
|
|
441
445
|
<Table.Root>
|
|
442
446
|
<Table.Header>
|
|
443
447
|
{#each table.getHeaderGroups() as headerGroup (headerGroup.id)}
|
|
@@ -588,8 +592,8 @@
|
|
|
588
592
|
{/each}
|
|
589
593
|
</Table.Body>
|
|
590
594
|
</Table.Root>
|
|
595
|
+
{/if}
|
|
591
596
|
</div>
|
|
592
|
-
{/if}
|
|
593
597
|
{#if enablePagination}
|
|
594
598
|
<DataTablePagination
|
|
595
599
|
{table}
|