diff --git a/src/lib/components/Backdrop.svelte b/src/lib/components/Backdrop.svelte index b5d2d3980..0219ba326 100644 --- a/src/lib/components/Backdrop.svelte +++ b/src/lib/components/Backdrop.svelte @@ -18,7 +18,7 @@ on:click on:mousedown on:mouseup - transition:fade={fadeParams} + transition:fade|local={fadeParams} class:blur use:portalAction={{ enabled: portal }} > diff --git a/src/lib/components/Dialog.svelte b/src/lib/components/Dialog.svelte index a52f1de5b..691e2bd8b 100644 --- a/src/lib/components/Dialog.svelte +++ b/src/lib/components/Dialog.svelte @@ -98,7 +98,7 @@ $$props.class )} style={$$props.style} - transition:scale={{ duration: 150, easing: quadIn }} + transition:scale|local={{ duration: 150, easing: quadIn }} on:introstart on:outrostart on:introend diff --git a/src/lib/components/Drawer.svelte b/src/lib/components/Drawer.svelte index c2279ea02..ecd66e896 100644 --- a/src/lib/components/Drawer.svelte +++ b/src/lib/components/Drawer.svelte @@ -56,7 +56,7 @@ $$props.class )} style={$$props.style} - transition:fly={{ + transition:fly|local={{ x: left ? '-100%' : right ? '100%' : 0, y: top ? '-100%' : bottom ? '100%' : 0, }} diff --git a/src/lib/components/Menu.svelte b/src/lib/components/Menu.svelte index 6326b8a13..3123c6227 100644 --- a/src/lib/components/Menu.svelte +++ b/src/lib/components/Menu.svelte @@ -67,7 +67,7 @@ // Do not allow event to reach Popover's on:mouseup (clickOutside) e.stopPropagation(); }} - transition:transition={transitionParams} + transition:transition|local={transitionParams} use:focusMove={{ disabled: !moveFocus }} > diff --git a/src/lib/components/Month.svelte b/src/lib/components/Month.svelte index 3af2488f5..a21dfa013 100644 --- a/src/lib/components/Month.svelte +++ b/src/lib/components/Month.svelte @@ -128,8 +128,8 @@ {#key startOfMonth.valueOf()}
{#each monthDaysByWeek ?? [] as week, weekIndex (weekIndex)} {#each week ?? [] as day (day.valueOf())} diff --git a/src/lib/components/Notification.svelte b/src/lib/components/Notification.svelte index 4b2a82d57..10cad2496 100644 --- a/src/lib/components/Notification.svelte +++ b/src/lib/components/Notification.svelte @@ -43,7 +43,7 @@ {#if open}
dispatch('close')} on:click={onClick} bind:this={notificationEl} diff --git a/src/lib/components/RangeSlider.svelte b/src/lib/components/RangeSlider.svelte index fccb842b6..d0986a3e6 100644 --- a/src/lib/components/RangeSlider.svelte +++ b/src/lib/components/RangeSlider.svelte @@ -304,7 +304,7 @@ {value[0]} @@ -314,7 +314,7 @@ {value[1]} diff --git a/src/lib/components/Tooltip.svelte b/src/lib/components/Tooltip.svelte index 0b03b2704..6d7d5602f 100644 --- a/src/lib/components/Tooltip.svelte +++ b/src/lib/components/Tooltip.svelte @@ -53,7 +53,7 @@ } -{#if enabled} +{#if enabled && (title || $$slots.title)} - {#if title} -
- {title} -
- {/if} +
+ {title} +
{/if}