@nemigo/layout 2.1.2 → 2.1.3
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,9 +1,21 @@
|
|
|
1
|
-
<script module lang="ts">
|
|
2
|
-
</script>
|
|
1
|
+
<script module lang="ts"></script>
|
|
3
2
|
|
|
4
3
|
<script lang="ts">import { preventStop, usePreventStop } from "@nemigo/helpers/html/events";
|
|
5
|
-
let {
|
|
6
|
-
|
|
4
|
+
let {
|
|
5
|
+
id,
|
|
6
|
+
label,
|
|
7
|
+
class: className,
|
|
8
|
+
style,
|
|
9
|
+
disabled,
|
|
10
|
+
load,
|
|
11
|
+
onclick: onClick,
|
|
12
|
+
onmousedown,
|
|
13
|
+
onenterdown,
|
|
14
|
+
onkeydown,
|
|
15
|
+
oncontextmenu,
|
|
16
|
+
children
|
|
17
|
+
} = $props();
|
|
18
|
+
let ariaLabel = $derived(label ?? void 0);
|
|
7
19
|
</script>
|
|
8
20
|
|
|
9
21
|
{#if onClick}
|
|
@@ -7,20 +7,20 @@ const __navigation = Navigation.default(handler).hydrate();
|
|
|
7
7
|
let animate = $state(false);
|
|
8
8
|
let show = $derived(!__navigation.state.signal && !animate);
|
|
9
9
|
const stepper = {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
10
|
+
in: {
|
|
11
|
+
get duration() {
|
|
12
|
+
return duration;
|
|
13
|
+
},
|
|
14
|
+
amount: 7,
|
|
15
|
+
easing: linear
|
|
16
|
+
},
|
|
17
|
+
out: {
|
|
18
|
+
get duration() {
|
|
19
|
+
return duration;
|
|
20
|
+
},
|
|
21
|
+
amount: 14,
|
|
22
|
+
easing: linear
|
|
23
|
+
}
|
|
24
24
|
};
|
|
25
25
|
</script>
|
|
26
26
|
|
|
@@ -3,7 +3,7 @@ export const loaderCursorStore = LoaderStore.default();
|
|
|
3
3
|
</script>
|
|
4
4
|
|
|
5
5
|
<script lang="ts">$effect(() => {
|
|
6
|
-
|
|
6
|
+
document.documentElement.style.cursor = loaderCursorStore.state.signal ? "wait" : "auto";
|
|
7
7
|
});
|
|
8
8
|
loaderCursorStore.hydrate();
|
|
9
9
|
</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nemigo/layout",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Vlad Logvin",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@nemigo/configs": "2.1.
|
|
55
|
-
"@nemigo/helpers": "2.0.
|
|
56
|
-
"@nemigo/svelte": "2.1.
|
|
54
|
+
"@nemigo/configs": "2.1.2",
|
|
55
|
+
"@nemigo/helpers": "2.0.2",
|
|
56
|
+
"@nemigo/svelte": "2.1.1"
|
|
57
57
|
}
|
|
58
58
|
}
|