diff --git a/src/components/ScrollyVideo/Foreground.svelte b/src/components/ScrollyVideo/Foreground.svelte index c38f0962..28da3ebd 100644 --- a/src/components/ScrollyVideo/Foreground.svelte +++ b/src/components/ScrollyVideo/Foreground.svelte @@ -6,7 +6,7 @@ import { Markdown } from '@reuters-graphics/svelte-markdown'; // Types - import type { ScrollyVideoState } from './js/state.svelte'; + import type { ScrollyVideoState } from './ts/state.svelte'; import type { ContainerWidth, ScrollyVideoForegroundPosition, diff --git a/src/components/ScrollyVideo/ScrollyVideo.stories.svelte b/src/components/ScrollyVideo/ScrollyVideo.stories.svelte index fbe9f181..1dcea2f8 100644 --- a/src/components/ScrollyVideo/ScrollyVideo.stories.svelte +++ b/src/components/ScrollyVideo/ScrollyVideo.stories.svelte @@ -125,9 +125,9 @@ - - {#snippet children(args)} - {#key args} - {#if width < 600} - - {:else if width < 1200} - - {:else} - - {/if} - {/key} - {/snippet} + + {#if width < 600} + + {:else if width < 1200} + + {:else} + + {/if} - {#snippet children(args)} - {#key args} - - {/key} - {/snippet} + - {#snippet children(args)} - {#key args} - - {/key} - {/snippet} + - {#snippet children(args)} - {#key args} - - {/key} - {/snippet} + - {#snippet children(args)} - {#key args} - - {/key} - {/snippet} + diff --git a/src/components/ScrollyVideo/ScrollyVideo.svelte b/src/components/ScrollyVideo/ScrollyVideo.svelte index 20ebcfe6..d03a1f03 100644 --- a/src/components/ScrollyVideo/ScrollyVideo.svelte +++ b/src/components/ScrollyVideo/ScrollyVideo.svelte @@ -1,6 +1,6 @@