feat: upgrade to SvelteKit 3 and adapter-bun
Some checks failed
Test and deploy staging / staging (push) Failing after 43s

Run the sveltekit-3 migration and finish its manual tasks:

- Move kit config into the sveltekit() Vite plugin; drop svelte.config.js
- Replace $lib with #lib subpath imports
- Declare env vars in src/env.ts and import them from $app/env/{private,public}
- Consolidate param matchers into src/params.ts
- Use error(status, message), Response.json, refreshAll and goto reset/shallow
- Fall back to a full page load when goto rejects a login return path

Switch from adapter-node to adapter-bun: the build script runs Vite under
Bun (the adapter requires it) and the image starts with `bun ./build`.
Runtime env names (PORT, BODY_SIZE_LIMIT, ADDRESS_HEADER, ...) are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-18 22:17:30 +00:00
parent b52e9188f4
commit 54924b39f0
240 changed files with 894 additions and 944 deletions

View File

@@ -101,7 +101,7 @@
</dl>
<a
href={resolve(`/projects/animaldex/register?animalId=${animal.id}`)}
href={resolve(`projects/animaldex/register?animalId=${animal.id}`)}
class="mt-6 inline-flex items-center gap-2 rounded bg-[var(--site-text)] px-4 py-2.5 text-base font-medium text-[var(--site-bg)]"
>
i saw this animal too <ArrowRight size={16} aria-hidden="true" />

View File

@@ -1,8 +1,8 @@
<script lang="ts">
import { pokemonImage } from '$lib/game-tracker/game-art';
import { Input } from '$lib/components/ui/input/index.js';
import { NativeSelect } from '$lib/components/ui/native-select/index.js';
import * as Table from '$lib/components/ui/table/index.js';
import { pokemonImage } from '#lib/game-tracker/game-art.js';
import { Input } from '#lib/components/ui/input/index.js';
import { NativeSelect } from '#lib/components/ui/native-select/index.js';
import * as Table from '#lib/components/ui/table/index.js';
let moveSearch = $state('');
let moveMethod = $state('all');
@@ -12,8 +12,8 @@
availabilityLabels,
availabilityValues,
obtainableAvailability
} from '$lib/availability';
import type { PokemonDetail } from '$lib/server/pokemon-detail';
} from '#lib/availability.js';
import type { PokemonDetail } from '#lib/server/pokemon-detail.js';
let {
number,

View File

@@ -1,5 +1,5 @@
import { describe, expect, it } from 'vitest';
import { availabilityValues } from '$lib/availability';
import { availabilityValues } from '#lib/availability.js';
import { summarizeProgress } from './progress';
const catchable = availabilityValues.indexOf('catchable');

View File

@@ -1,4 +1,4 @@
import { availabilityValues, obtainableAvailability } from '$lib/availability';
import { availabilityValues, obtainableAvailability } from '#lib/availability.js';
type PokemonWithEntries = {
id: number;

View File

@@ -1,13 +1,13 @@
<script lang="ts">
import { authClient } from '$lib/auth-client';
import { authClient } from '#lib/auth-client.js';
import { onMount } from 'svelte';
import { goto } from '$app/navigation';
import { resolve } from '$app/paths';
import { Button } from '$lib/components/ui/button/index.js';
import * as Card from '$lib/components/ui/card/index.js';
import { Input } from '$lib/components/ui/input/index.js';
import { Label } from '$lib/components/ui/label/index.js';
import { Separator } from '$lib/components/ui/separator/index.js';
import { Button } from '#lib/components/ui/button/index.js';
import * as Card from '#lib/components/ui/card/index.js';
import { Input } from '#lib/components/ui/input/index.js';
import { Label } from '#lib/components/ui/label/index.js';
import { Separator } from '#lib/components/ui/separator/index.js';
let {
mode,
providers,
@@ -43,8 +43,10 @@
return;
}
// Destination is a validated local path, prefixed by resolve('/') above.
// eslint-disable-next-line svelte/no-navigation-without-resolve
await goto(destination, { invalidateAll: true });
// goto rejects paths that match no route, so fall back to a full page load.
await goto(destination, { refreshAll: true }).catch(() => {
window.location.href = destination;
});
} catch {
message = 'Unable to connect. Please try again.';
} finally {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import type { Component } from 'svelte';
import { Button } from '$lib/components/ui/button/index.js';
import { Button } from '#lib/components/ui/button/index.js';
let {
icon: Icon,

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { Progress } from '$lib/components/ui/progress/index.js';
import { Progress } from '#lib/components/ui/progress/index.js';
let {
value,

View File

@@ -4,8 +4,8 @@
buttonVariants,
type ButtonVariant,
type ButtonSize
} from '$lib/components/ui/button/index.js';
import { cn } from '$lib/utils.js';
} from '#lib/components/ui/button/index.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -4,8 +4,8 @@
buttonVariants,
type ButtonVariant,
type ButtonSize
} from '$lib/components/ui/button/index.js';
import { cn } from '$lib/utils.js';
} from '#lib/components/ui/button/index.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { AlertDialog as AlertDialogPrimitive } from 'bits-ui';
import { cn, type WithoutChild, type WithoutChildrenOrChild } from '$lib/utils.js';
import { cn, type WithoutChild, type WithoutChildrenOrChild } from '#lib/utils.js';
import AlertDialogOverlay from './alert-dialog-overlay.svelte';
import AlertDialogPortal from './alert-dialog-portal.svelte';
import type { ComponentProps } from 'svelte';

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { AlertDialog as AlertDialogPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { AlertDialog as AlertDialogPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { AlertDialog as AlertDialogPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -19,7 +19,7 @@
</script>
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -23,7 +23,7 @@
</script>
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAnchorAttributes } from 'svelte/elements';
let {

View File

@@ -1,6 +1,6 @@
<script lang="ts" module>
import { type VariantProps, tv } from 'tailwind-variants';
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAnchorAttributes, HTMLButtonAttributes } from 'svelte/elements';
export const buttonVariants = tv({

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -2,7 +2,7 @@
import { Checkbox as CheckboxPrimitive } from 'bits-ui';
import CheckIcon from '@lucide/svelte/icons/check';
import MinusIcon from '@lucide/svelte/icons/minus';
import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import * as Dialog from '$lib/components/ui/dialog/index.js';
import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
import * as Dialog from '#lib/components/ui/dialog/index.js';
import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
import Command from './command.svelte';
import type { Command as CommandPrimitive, Dialog as DialogPrimitive } from 'bits-ui';
import type { Snippet } from 'svelte';

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Command as CommandPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Command as CommandPrimitive, useId } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,8 +1,8 @@
<script lang="ts">
import { Command as CommandPrimitive } from 'bits-ui';
import * as InputGroup from '$lib/components/ui/input-group/index.js';
import * as InputGroup from '#lib/components/ui/input-group/index.js';
import SearchIcon from '@lucide/svelte/icons/search';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Command as CommandPrimitive } from 'bits-ui';
import CheckIcon from '@lucide/svelte/icons/check';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Command as CommandPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Command as CommandPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Command as CommandPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Command as CommandPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
export type CommandRootApi = CommandPrimitive.Root;

View File

@@ -1,8 +1,8 @@
<script lang="ts">
import { Dialog as DialogPrimitive } from 'bits-ui';
import XIcon from '@lucide/svelte/icons/x';
import { Button } from '$lib/components/ui/button/index.js';
import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
import { Button } from '#lib/components/ui/button/index.js';
import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
import * as Dialog from './index.js';
import DialogPortal from './dialog-portal.svelte';
import type { Snippet } from 'svelte';

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Dialog as DialogPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Dialog as DialogPrimitive } from 'bits-ui';
import { Button } from '$lib/components/ui/button/index.js';
import { cn, type WithElementRef } from '$lib/utils.js';
import { Button } from '#lib/components/ui/button/index.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Dialog as DialogPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Dialog as DialogPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -2,7 +2,7 @@
import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
import MinusIcon from '@lucide/svelte/icons/minus';
import CheckIcon from '@lucide/svelte/icons/check';
import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
import type { Snippet } from 'svelte';
let {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
import DropdownMenuPortal from './dropdown-menu-portal.svelte';
import type { ComponentProps } from 'svelte';

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
import type { ComponentProps } from 'svelte';
let {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
import CheckIcon from '@lucide/svelte/icons/check';
import { cn, type WithoutChild } from '$lib/utils.js';
import { cn, type WithoutChild } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
import ChevronRightIcon from '@lucide/svelte/icons/chevron-right';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -21,7 +21,7 @@
</script>
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -20,8 +20,8 @@
</script>
<script lang="ts">
import { Button } from '$lib/components/ui/button/index.js';
import { cn } from '$lib/utils.js';
import { Button } from '#lib/components/ui/button/index.js';
import { cn } from '#lib/utils.js';
import type { ComponentProps } from 'svelte';
let {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Input } from '$lib/components/ui/input/index.js';
import { cn } from '$lib/utils.js';
import { Input } from '#lib/components/ui/input/index.js';
import { cn } from '#lib/utils.js';
import type { ComponentProps } from 'svelte';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Textarea } from '$lib/components/ui/textarea/index.js';
import { cn } from '$lib/utils.js';
import { Textarea } from '#lib/components/ui/textarea/index.js';
import { cn } from '#lib/utils.js';
import type { ComponentProps } from 'svelte';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLInputAttributes, HTMLInputTypeAttribute } from 'svelte/elements';
type InputType = Exclude<HTMLInputTypeAttribute, 'file'>;

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Label as LabelPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import type { WithElementRef } from '$lib/utils.js';
import type { WithElementRef } from '#lib/utils.js';
import type { HTMLOptgroupAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLOptionAttributes } from 'svelte/elements';
let {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import ChevronDownIcon from '@lucide/svelte/icons/chevron-down';
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLSelectAttributes } from 'svelte/elements';
type NativeSelectProps = Omit<WithElementRef<HTMLSelectAttributes>, 'size'> & {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Popover as PopoverPrimitive } from 'bits-ui';
import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
import PopoverPortal from './popover-portal.svelte';
import type { ComponentProps } from 'svelte';

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Popover as PopoverPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Progress as ProgressPrimitive } from 'bits-ui';
import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Select as SelectPrimitive } from 'bits-ui';
import { cn, type WithoutChild } from '$lib/utils.js';
import type { WithoutChildrenOrChild } from '$lib/utils.js';
import { cn, type WithoutChild } from '#lib/utils.js';
import type { WithoutChildrenOrChild } from '#lib/utils.js';
import SelectPortal from './select-portal.svelte';
import SelectScrollDownButton from './select-scroll-down-button.svelte';
import SelectScrollUpButton from './select-scroll-up-button.svelte';

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Select as SelectPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
import type { ComponentProps } from 'svelte';
let {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Select as SelectPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Select as SelectPrimitive } from 'bits-ui';
import CheckIcon from '@lucide/svelte/icons/check';
import { cn, type WithoutChild } from '$lib/utils.js';
import { cn, type WithoutChild } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Select as SelectPrimitive } from 'bits-ui';
import ChevronDownIcon from '@lucide/svelte/icons/chevron-down';
import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Select as SelectPrimitive } from 'bits-ui';
import ChevronUpIcon from '@lucide/svelte/icons/chevron-up';
import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Separator } from '$lib/components/ui/separator/index.js';
import { cn } from '$lib/utils.js';
import { Separator } from '#lib/components/ui/separator/index.js';
import { cn } from '#lib/utils.js';
import type { Separator as SeparatorPrimitive } from 'bits-ui';
let {

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Select as SelectPrimitive } from 'bits-ui';
import ChevronDownIcon from '@lucide/svelte/icons/chevron-down';
import { cn, type WithoutChild } from '$lib/utils.js';
import { cn, type WithoutChild } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Separator as SeparatorPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -5,8 +5,8 @@
<script lang="ts">
import { Dialog as SheetPrimitive } from 'bits-ui';
import XIcon from '@lucide/svelte/icons/x';
import { Button } from '$lib/components/ui/button/index.js';
import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
import { Button } from '#lib/components/ui/button/index.js';
import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
import SheetOverlay from './sheet-overlay.svelte';
import SheetPortal from './sheet-portal.svelte';
import type { Snippet } from 'svelte';

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Dialog as SheetPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Dialog as SheetPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Dialog as SheetPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef, type WithoutChildren } from '$lib/utils.js';
import { cn, type WithElementRef, type WithoutChildren } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Slider as SliderPrimitive } from 'bits-ui';
import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
import { cn, type WithoutChildrenOrChild } from '#lib/utils.js';
let {
ref = $bindable(null),

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLTdAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLThAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
let {

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { cn, type WithElementRef } from '$lib/utils.js';
import { cn, type WithElementRef } from '#lib/utils.js';
import type { HTMLTableAttributes } from 'svelte/elements';
let {

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { Tabs as TabsPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
import { cn } from '#lib/utils.js';
let {
ref = $bindable(null),

Some files were not shown because too many files have changed in this diff Show More