@skeletonlabs/skeleton 2.1.0-dev.220eb5ba → 2.1.0-dev.53dc1d76
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,7 +44,7 @@ $:
|
|
|
44
44
|
{/if}
|
|
45
45
|
|
|
46
46
|
<!-- Page -->
|
|
47
|
-
<div id="page" class="{regionPage} {cPage}" style:scrollbarGutter on:scroll>
|
|
47
|
+
<div id="page" class="{regionPage} {cPage}" style:scrollbar-gutter={scrollbarGutter} on:scroll>
|
|
48
48
|
<!-- Slot: Page Header -->
|
|
49
49
|
{#if $$slots.pageHeader}
|
|
50
50
|
<header id="page-header" class="flex-none {classesPageHeader}"><slot name="pageHeader">(slot:header)</slot></header>
|
|
@@ -202,11 +202,13 @@ $:
|
|
|
202
202
|
aria-modal="true"
|
|
203
203
|
aria-label={$modalStore[0].title ?? ''}
|
|
204
204
|
>
|
|
205
|
-
|
|
206
|
-
{
|
|
205
|
+
{#if currentComponent?.slot}
|
|
206
|
+
<svelte:component this={currentComponent?.ref} {...currentComponent?.props} {parent}>
|
|
207
207
|
{@html currentComponent?.slot}
|
|
208
|
-
|
|
209
|
-
|
|
208
|
+
</svelte:component>
|
|
209
|
+
{:else}
|
|
210
|
+
<svelte:component this={currentComponent?.ref} {...currentComponent?.props} {parent} />
|
|
211
|
+
{/if}
|
|
210
212
|
</div>
|
|
211
213
|
{/if}
|
|
212
214
|
</div>
|