chore: migrate lucide package and close quick TODO cleanups
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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);
|
||||
|
||||
9
src/types/temporary-svelte-augments.d.ts
vendored
9
src/types/temporary-svelte-augments.d.ts
vendored
@@ -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 {};
|
||||
|
||||
Reference in New Issue
Block a user