@nemigo/layout 2.1.1 → 2.1.2

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,7 +2,7 @@
2
2
  import { Navigation } from "@nemigo/svelte/kit/navigation";
3
3
  import { linear } from "svelte/easing";
4
4
  import { blur } from "svelte/transition";
5
- let { class: className, duration = 350, handler, children } = $props();
5
+ let { class: className, duration = 290, handler, children } = $props();
6
6
  const __navigation = Navigation.default(handler).hydrate();
7
7
  let animate = $state(false);
8
8
  let show = $derived(!__navigation.state.signal && !animate);
@@ -4,6 +4,9 @@ import type { Snippet } from "svelte";
4
4
  import type { ClassValue } from "svelte/elements";
5
5
  interface Props {
6
6
  class?: ClassValue;
7
+ /**
8
+ * @default 290
9
+ */
7
10
  duration?: number;
8
11
  handler?: NavigationHandler;
9
12
  children: Snippet;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nemigo/layout",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "private": false,
5
5
  "author": {
6
6
  "name": "Vlad Logvin",
@@ -12,7 +12,10 @@
12
12
  "check": "svelte-check --tsconfig ./tsconfig.json",
13
13
  "eslint": "bunx --bun eslint ./",
14
14
  "eslint:fix": "bunx --bun eslint --fix ./",
15
- "format": "bunx --bun prettier --write ./"
15
+ "lint": "biome lint",
16
+ "lint:fix": "biome lint --fix --unsafe",
17
+ "lint:fix:unsafe": "biome lint --fix --unsafe",
18
+ "format": "bunx --bun prettier --write ./ && biome check --write --linter-enabled=false"
16
19
  },
17
20
  "exports": {
18
21
  "./Context": {