Closed st-clair-clarke closed 5 days ago
Regarding ColorName, there is no default
. Use one of the following color option: https://github.com/shinokada/svelte-5-ui-lib/blob/main/src/lib/types.ts#L4
Regarding style
prop, I will change the name in the next version. Thanks.
Looking forward to the change. Thanks.
I just saw a new version, but the style prop is still in the demo. What is the updated name?
Helper
<Helper class="pt-2" color="primary"></Helper>
errors with
Svelte: Property children is missing in type { class: string; color: 'primary'; } but required in type HelperProp
<Helper class="pt-2" color="primary">Your text</Helper>
https://svelte-5-ui-lib.codewithshin.com/forms/floating-label
<FloatingLabelInput
inputStyle="filled"
>
Floating label
</FloatingLabelInput>
Thanks. Everything is fine now.
Describe the bug
Attempting to use HelperText throws error as follow:
Reproduction
Webstorm IDE flags the color="default" prop displaying 'Svelte: Type 'default' is not assignable to type 'disabled' | ColorName | undefined'
The ide also flgs the style="filled" property display ': is expected. It seems that it is treating the style like the html style attribute.
Version and System Info