shinokada / svelte-5-ui-lib

A UI library crafted for Svelte 5: Runes
https://svelte-5-ui-lib.codewithshin.com
MIT License
104 stars 13 forks source link

FloatingLabel doesn't have name in the props #2

Closed ICTServ closed 1 week ago

ICTServ commented 8 months ago

Describe the bug

Object literal may only specify known properties, and '"name"' does not exist in type '{ children: (this: void) => unique symbol & { _: "functions passed to {@render ...} tags must use the Snippet type imported from \"svelte\""; }; id?: string | undefined; style?: "filled" | ... 2 more ... | undefined; ... 6 more ...; labelclass?: string | undefined; }'.ts(2353) (property) "name": string

Reproduction

            <FloatingLabel size="small" style="filled" id="full_name" name="full_name" type="text" inputclass="rounded-md">
                Full name
            </FloatingLabel>

Version and System Info

svelte-5-ui-lib v0.3.7
shinokada commented 1 week ago

Fixed for the latest vesion.