@emamid/svelte-data-table 0.0.5 → 0.0.7
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/DataTable.svelte
CHANGED
|
@@ -19,7 +19,7 @@ export let tableClassOverride = "";
|
|
|
19
19
|
const tableClassDefault = "";
|
|
20
20
|
export let theadClassAppend = "";
|
|
21
21
|
export let theadClassOverride = "";
|
|
22
|
-
const theadClassDefault = "text-xs uppercase sticky top-0 z-
|
|
22
|
+
const theadClassDefault = "text-xs uppercase sticky top-0 z-10";
|
|
23
23
|
export let thClassAppend = "";
|
|
24
24
|
export let thClassOverride = "";
|
|
25
25
|
const thClassDefault = "";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>import { TableHeadCell } from "flowbite-svelte";
|
|
2
|
-
import {
|
|
2
|
+
import { AngleDownSolid, AngleUpSolid } from "flowbite-svelte-icons";
|
|
3
3
|
import { joinClasses } from "./common.js";
|
|
4
4
|
export let column;
|
|
5
5
|
export let reverseSort;
|
|
@@ -13,9 +13,9 @@ export let thClass;
|
|
|
13
13
|
>
|
|
14
14
|
{#if isSorted}
|
|
15
15
|
{#if reverseSort}
|
|
16
|
-
<
|
|
16
|
+
<AngleUpSolid class="inline h-3 w-3" />
|
|
17
17
|
{:else}
|
|
18
|
-
<
|
|
18
|
+
<AngleDownSolid class="inline h-3 w-3" />
|
|
19
19
|
{/if}
|
|
20
20
|
{/if}
|
|
21
21
|
<span>{column.title}</span>
|