chore: migrate lucide package and close quick TODO cleanups

This commit is contained in:
Scott Idem
2026-06-02 14:19:12 -04:00
parent de048a084b
commit 87084f0f71
9 changed files with 9 additions and 36 deletions

View File

@@ -1,6 +1,6 @@
<script lang="ts">
// *** Import Svelte specific
import * as Lucide from 'lucide-svelte';
import * as Lucide from '@lucide/svelte';
import { fade } from 'svelte/transition';
// *** Import Aether specific variables and functions

View File

@@ -2,7 +2,7 @@
// untrack import removed — task_id sync now uses direct $effect (no untrack needed)
// Imports
// Import components and elements
import * as Lucide from 'lucide-svelte';
import * as Lucide from '@lucide/svelte';
import Element_input_files_tbl from '$lib/elements/element_input_files_tbl.svelte';
// Import storage, functions, and libraries

View File

@@ -1,4 +1,4 @@
import * as Lucide from 'lucide-svelte';
import * as Lucide from '@lucide/svelte';
/**
* Returns a Lucide icon component based on the provided file extension.

View File

@@ -1,7 +1,7 @@
<script lang="ts">
// *** Import Svelte core
import { onMount } from 'svelte';
import * as Lucide from 'lucide-svelte';
import * as Lucide from '@lucide/svelte';
// *** Import Aether core variables and functions
import type { key_val } from '$lib/stores/ae_stores';

View File

@@ -3,7 +3,7 @@ import { onMount } from 'svelte';
import { ae_api, ae_loc } from '$lib/stores/ae_stores';
import { load_ae_obj_id__hosted_file } from '$lib/ae_core/core__hosted_files';
import AE_Comp_Hosted_Files_Download_Button from '$lib/ae_core/ae_comp__hosted_files_download_button.svelte';
import * as Lucide from 'lucide-svelte';
import * as Lucide from '@lucide/svelte';
let hosted_files: any[] = $state([]);
let large_file_obj: any = $state(null);

View File

@@ -45,13 +45,4 @@ declare module '@lucide/svelte' {
export default _default;
}
declare module 'lucide-svelte' {
import type { SvelteComponentTyped } from 'svelte';
export class IconBase extends SvelteComponentTyped<Record<string, any>, Record<string, any>, Record<string, any>> {}
export class Star extends IconBase {}
export class User extends IconBase {}
const _default: { [key: string]: typeof IconBase | any };
export default _default;
}
export {};