update transitions to match modal component
This commit is contained in:
parent
467abd7270
commit
7755a0092c
|
@ -1,7 +1,7 @@
|
||||||
<script>
|
<script>
|
||||||
import analytics from "analytics"
|
import analytics from "analytics"
|
||||||
import { createEventDispatcher } from "svelte"
|
import { createEventDispatcher } from "svelte"
|
||||||
import { fly } from "svelte/transition"
|
import { fade, fly } from "svelte/transition"
|
||||||
import {
|
import {
|
||||||
ActionButton,
|
ActionButton,
|
||||||
RadioGroup,
|
RadioGroup,
|
||||||
|
@ -49,8 +49,16 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="position">
|
<div
|
||||||
<div class="feedback-frame" transition:fly>
|
class="position"
|
||||||
|
in:fade={{ duration: 200 }}
|
||||||
|
out:fade|local={{ duration: 200 }}
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="feedback-frame"
|
||||||
|
in:fly={{ y: 30, duration: 200 }}
|
||||||
|
out:fly|local={{ y: 30, duration: 200 }}
|
||||||
|
>
|
||||||
<Layout gap="XS">
|
<Layout gap="XS">
|
||||||
{#if step === 0}
|
{#if step === 0}
|
||||||
<Heading size="XS"
|
<Heading size="XS"
|
||||||
|
|
Loading…
Reference in New Issue