y200subcontrols 0.0.3733 → 0.0.3735
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.
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
export let width = void 0;
|
|
3
3
|
export let breakpoint = void 0;
|
|
4
4
|
export let extendedCss = "";
|
|
5
|
+
export let colspan = 0;
|
|
5
6
|
</script>
|
|
6
7
|
|
|
7
8
|
{#if isHeader}
|
|
@@ -12,6 +13,7 @@ export let extendedCss = "";
|
|
|
12
13
|
{breakpoint === 'lg' ? 'lg:hidden' : ''} {extendedCss}
|
|
13
14
|
"
|
|
14
15
|
style={width === undefined ? '' : `width:${width}px`}
|
|
16
|
+
{colspan}
|
|
15
17
|
>
|
|
16
18
|
<slot />
|
|
17
19
|
</th>
|
|
@@ -23,6 +25,7 @@ export let extendedCss = "";
|
|
|
23
25
|
{breakpoint === 'lg' ? 'lg:hidden' : ''} {extendedCss}
|
|
24
26
|
"
|
|
25
27
|
style={width === undefined ? '' : `width:${width}px`}
|
|
28
|
+
{colspan}
|
|
26
29
|
>
|
|
27
30
|
<slot />
|
|
28
31
|
</td>
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
<script>export let hasFooter = false;
|
|
2
|
-
let head;
|
|
3
2
|
</script>
|
|
4
3
|
|
|
5
4
|
<div class="w-full border border-slate-300 overflow-clip rounded-md">
|
|
6
5
|
<table class="w-full border-collapse">
|
|
7
|
-
<thead
|
|
6
|
+
<thead class="bg-gray-500 text-gray-50 border-b-2 border-b-gray-700">
|
|
8
7
|
<slot name="thead" />
|
|
9
8
|
</thead>
|
|
10
9
|
<tbody>
|