Skip to content

Conversation

@spburtsev
Copy link
Contributor

Resolves #2105

Breaking changes:

  • labelText slot renamed to labelChildren to resolve Svelte 5 errors when passing snippets

In Svelte 5, having both a labelText prop and labelText slot causes the static analyzer to flag errors when using snippet syntax. Renaming the slot eliminates this error and creates a clearer distinction between text-only labels (prop) and rich content labels (slot/snippet).

@spburtsev spburtsev force-pushed the distinct-label-children branch from 8b57958 to 3806960 Compare December 5, 2025 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Svelte 5] Name conflict between property and slot

1 participant