@nemigo/layout 2.3.2 → 2.5.0
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.
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { Navigation } from "@nemigo/svelte/kit/navigation";
|
|
3
3
|
import { linear } from "svelte/easing";
|
|
4
4
|
import { blur } from "svelte/transition";
|
|
5
|
-
const { class: className, duration = 290, handler, children } = $props();
|
|
6
|
-
const
|
|
5
|
+
const { class: className, duration = 290, controller, handler, children } = $props();
|
|
6
|
+
const __controller = controller ?? Navigation.default(handler).hydrate();
|
|
7
7
|
let animate = $state(false);
|
|
8
|
-
const show = $derived(!
|
|
8
|
+
const show = $derived(!__controller.state.signal && !animate);
|
|
9
9
|
const stepper = {
|
|
10
10
|
in: {
|
|
11
11
|
get duration() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nemigo/layout",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"author": {
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@nemigo/helpers": ">=2.
|
|
44
|
-
"@nemigo/svelte": ">=2.
|
|
43
|
+
"@nemigo/helpers": ">=2.4.0",
|
|
44
|
+
"@nemigo/svelte": ">=2.4.0",
|
|
45
45
|
"@sveltejs/kit": ">=2.49.0",
|
|
46
|
-
"svelte": ">=5.
|
|
46
|
+
"svelte": ">=5.46.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependenciesMeta": {
|
|
49
49
|
"@sveltejs/kit": {
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@nemigo/configs": "2.
|
|
55
|
-
"@nemigo/helpers": "2.
|
|
56
|
-
"@nemigo/svelte": "2.
|
|
54
|
+
"@nemigo/configs": "2.5.0",
|
|
55
|
+
"@nemigo/helpers": "2.5.0",
|
|
56
|
+
"@nemigo/svelte": "2.5.0"
|
|
57
57
|
}
|
|
58
58
|
}
|