konstaui / konsta

Mobile UI components made with Tailwind CSS
https://konstaui.com
MIT License
3.55k stars 131 forks source link

Using Svelte 5 snippets produces TypeScript errors #224

Open ilyakamens opened 1 week ago

ilyakamens commented 1 week ago

Check that this is really a bug

Reproduction link

Any test will demonstrate it.

Bug description

Using Svelte 5 snippets produces TypeScript errors:

image


Also, the snippets themselves don't actually work. I assume this is because the underlying components are still using Svelte 4 slots. I'm happy to update the components, but I'd need some guidance on updating the exported types.

Expected Behavior

There should be no TS errors when using Svelte 5 snippets.

Actual Behavior

No response

Konsta UI version

4.0.1

Platform/Target and Browser Versions

iOS and Android

Validations

Would you like to open a PR for this bug?