Moved pattern loader to ModelConfig. Editing styles in chat/. Added page fly transitions. Tidying. Removed - ChatHeader, unused modal from Transcripts, FlyandScaleParams from lib/types/utils.

This commit is contained in:
John
2024-12-03 02:04:39 -05:00
parent 9fa8634083
commit f33ebb7e25
16 changed files with 220 additions and 196 deletions

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { cn } from "$lib/types/utils";
let className: string | undefined = undefined;
export let value = undefined;
export let value: string | undefined = undefined;
export { className as class };
export let readonly = undefined;
</script>

View File

@@ -1,5 +1,5 @@
<script>
import { cn } from "$lib/types/utils.ts";
<script lang="ts">
import { cn } from "$lib/types/utils";
let className = undefined;
export { className as class };
</script>

View File

@@ -1,13 +1,13 @@
import { clsx, type ClassValue } from 'clsx';
import { twMerge } from 'tailwind-merge';
import { cubicOut } from 'svelte/easing';
import type { TransitionConfig } from 'svelte/transition';
// import { cubicOut } from 'svelte/easing';
// import type { TransitionConfig } from 'svelte/transition';
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
type FlyAndScaleParams = {
/* type FlyAndScaleParams = {
y?: number;
x?: number;
start?: number;
@@ -53,4 +53,4 @@ export const flyAndScale = (
},
easing: cubicOut
};
};
}; */