@likable-hair/svelte 4.0.8 → 4.0.10
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.
|
@@ -44,6 +44,7 @@ onMount(() => {
|
|
|
44
44
|
table.classList.add('dynamic-resizable');
|
|
45
45
|
resizeObserver = new ResizeObserver(() => {
|
|
46
46
|
updateRemainingWidth();
|
|
47
|
+
updateHeaderHeight();
|
|
47
48
|
});
|
|
48
49
|
if (tableContainer) {
|
|
49
50
|
resizeObserver.observe(tableContainer);
|
|
@@ -1138,7 +1139,7 @@ function resizeHeader(th, header) {
|
|
|
1138
1139
|
{/if}
|
|
1139
1140
|
</th>
|
|
1140
1141
|
{/each}
|
|
1141
|
-
{#if remainingWidth && (customizeHeaders || resizableColumns)}
|
|
1142
|
+
{#if remainingWidth && (customizeHeaders || rowAppendSnippet || resizableColumns)}
|
|
1142
1143
|
<th
|
|
1143
1144
|
style:width={remainingWidth + 'px'}
|
|
1144
1145
|
class="filler"
|
|
@@ -1291,7 +1292,7 @@ function resizeHeader(th, header) {
|
|
|
1291
1292
|
{/if}
|
|
1292
1293
|
</td>
|
|
1293
1294
|
{/each}
|
|
1294
|
-
{#if remainingWidth && (customizeHeaders || resizableColumns)}
|
|
1295
|
+
{#if remainingWidth && (customizeHeaders || rowAppendSnippet || resizableColumns)}
|
|
1295
1296
|
<td></td>
|
|
1296
1297
|
{/if}
|
|
1297
1298
|
{#if rowAppendSnippet}
|
|
@@ -21,7 +21,7 @@ function handleDayClick(dateStat, extraMonth) {
|
|
|
21
21
|
}
|
|
22
22
|
</script>
|
|
23
23
|
|
|
24
|
-
<div class="container {clazz.container || ''}">
|
|
24
|
+
<div class="calendar-container {clazz.container || ''}">
|
|
25
25
|
{#key visibleMonth}
|
|
26
26
|
<div
|
|
27
27
|
in:fly={{ delay: animationDuration, duration: animationDuration, y: 30 }}
|
|
@@ -68,7 +68,7 @@ function handleDayClick(dateStat, extraMonth) {
|
|
|
68
68
|
</div>
|
|
69
69
|
|
|
70
70
|
<style>
|
|
71
|
-
.container {
|
|
71
|
+
.calendar-container {
|
|
72
72
|
height: var(
|
|
73
73
|
--calendar-height,
|
|
74
74
|
var(--calendar-default-height)
|