@insymetri/styleguide 0.1.53 → 0.1.54
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type {Snippet} from 'svelte'
|
|
3
|
+
import {fly} from 'svelte/transition'
|
|
3
4
|
import type {VirtualElement} from '@floating-ui/dom'
|
|
4
5
|
import {cn} from '../utils/cn'
|
|
5
6
|
import {IIIcon} from '../IIIcon'
|
|
@@ -287,6 +288,7 @@
|
|
|
287
288
|
data-menu-content
|
|
288
289
|
class={cn(menuStyles.content, className)}
|
|
289
290
|
onkeydown={handleMenuKeydown}
|
|
291
|
+
transition:fly={{y: -4, duration: 150}}
|
|
290
292
|
>
|
|
291
293
|
{@render menuEntries(items)}
|
|
292
294
|
</div>
|