File tree 3 files changed +6
-3
lines changed 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 9
9
export let fadeParams: FadeParams = { duration: 300 };
10
10
</script >
11
11
12
+ <!-- TODO: Add `|local` to transition without breaking `ToggleButton` usage: https://github.com/techniq/svelte-ux/issues/51 -->
12
13
<div
13
14
class =" backdrop fixed top-0 bottom-0 left-0 right-0 flex items-center
14
15
justify-center bg-black/50 {$$restProps.class || ''}"
18
19
on:click
19
20
on:mousedown
20
21
on:mouseup
21
- transition:fade | local ={fadeParams }
22
+ transition:fade ={fadeParams }
22
23
class:blur
23
24
use:portalAction ={{ enabled : portal }}
24
25
>
Original file line number Diff line number Diff line change 91
91
}}
92
92
use:portalAction ={{ enabled : portal }}
93
93
>
94
+ <!-- TODO: Add `|local` to transition without breaking `ToggleButton` usage: https://github.com/techniq/svelte-ux/issues/51 -->
94
95
<div
95
96
class ={cls (
96
97
' dialog rounded bg-white elevation-4 overflow-y-auto pointer-events-auto relative outline-none' ,
97
98
classes .dialog ,
98
99
$$props .class
99
100
)}
100
101
style ={$$props .style }
101
- transition:scale | local ={{ duration : 150 , easing : quadIn }}
102
+ transition:scale ={{ duration : 150 , easing : quadIn }}
102
103
on:introstart
103
104
on:outrostart
104
105
on:introend
Original file line number Diff line number Diff line change 42
42
{portal }
43
43
/>
44
44
45
+ <!-- TODO: Add `|local` to transition without breaking `ToggleButton` usage: https://github.com/techniq/svelte-ux/issues/51 -->
45
46
<div
46
47
class ={cls (
47
48
' bg-white fixed overflow-auto transform z-50 outline-none' ,
56
57
$$props .class
57
58
)}
58
59
style ={$$props .style }
59
- transition:fly | local ={{
60
+ transition:fly ={{
60
61
x : left ? ' -100%' : right ? ' 100%' : 0 ,
61
62
y : top ? ' -100%' : bottom ? ' 100%' : 0 ,
62
63
}}
You can’t perform that action at this time.
0 commit comments