hperrin / svelte-material-ui

Svelte Material UI Components
https://sveltematerialui.com/
Apache License 2.0
3.32k stars 285 forks source link

Svelte 5 support #668

Open marekdedic opened 1 week ago

marekdedic commented 1 week ago

Hi, I'd like to upgrade to Svelte 5, but it seems SMUI doesn't support it yet.

See skaut/shared-drive-mover#1806. This is a different problem from #662

awderh commented 4 days ago

FYI, this is the error I get at runtime:

index.js:4 Uncaught Error: Your application, or one of its dependencies, imported from 'svelte/internal', which was a private module used by Svelte 4 components that no longer exists in Svelte 5. It is not intended to be public API. If you're a library author and you used 'svelte/internal' deliberately, please raise an issue on https://github.com/sveltejs/svelte/issues detailing your use case.

And, at compile-time:

in ./node_modules/@smui/tab/dist/Tab.svelte 54:44-65
export 'get_current_component' (imported as 'get_current_component') was not found in 'svelte/internal' (module has no exports)
tadmi commented 4 days ago

@awderh, use the v8.0.0-alpha.0 to fix this error