refactor: organize shared utilities

This commit is contained in:
2026-06-27 10:13:51 +01:00
parent 85441c0dfe
commit e6f79cd68a
306 changed files with 343 additions and 343 deletions
@@ -1,6 +1,6 @@
<script lang="ts">
import type { HTMLAttributes } from 'svelte/elements';
import { cn, type WithElementRef, type WithoutChildren } from '$lib/utils.js';
import { cn, type WithElementRef, type WithoutChildren } from '$lib/utils/format.js';
import MoreHorizontalIcon from '@lucide/svelte/icons/more-horizontal';
let {
@@ -1,6 +1,6 @@
<script lang="ts">
import type { HTMLLiAttributes } from 'svelte/elements';
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '$lib/utils/format.js';
let {
ref = $bindable(null),
@@ -1,7 +1,7 @@
<script lang="ts">
import type { HTMLAnchorAttributes } from 'svelte/elements';
import type { Snippet } from 'svelte';
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '$lib/utils/format.js';
let {
ref = $bindable(null),
@@ -1,6 +1,6 @@
<script lang="ts">
import type { HTMLOlAttributes } from 'svelte/elements';
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '$lib/utils/format.js';
let {
ref = $bindable(null),
@@ -1,6 +1,6 @@
<script lang="ts">
import type { HTMLAttributes } from 'svelte/elements';
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '$lib/utils/format.js';
let {
ref = $bindable(null),
@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '$lib/utils/format.js';
import type { HTMLLiAttributes } from 'svelte/elements';
import ChevronRightIcon from '@lucide/svelte/icons/chevron-right';
@@ -1,7 +1,7 @@
<script lang="ts">
import type { WithElementRef } from '$lib/utils.js';
import type { WithElementRef } from '$lib/utils/format.js';
import type { HTMLAttributes } from 'svelte/elements';
import { cn } from '$lib/utils.js';
import { cn } from '$lib/utils/format.js';
let {
ref = $bindable(null),