Kasper

Results 261 comments of Kasper

I probably won't work on this, but would welcome a PR. [fend](https://github.com/printfn/fend) is a great alternative to try out, trigonometry seems to work there One thing about other decimal libraries...

Sure, that sounds useful

There's only an `on:select` which is called when the user clicks on a date or presses enter (but _only_ in those cases) What's your use case?

Thanks for explaining. Would it work for you to run your validation whenever the `value` changes? ```svelte $: validate(value) ```

That would be a change to your code. I'd suggest reading up on the Svelte reactivity/stores if you're unfamiliar with it. An event for user input would still be a...

Yeah for now you'd have to use custom CSS styling with `:global()`. In the future it would be cool to have an action or something to make custom styles possible

That's a CSS specificity issue. In the devtools we can see why: So `DateInput.svelte` already has the `border-radius` defined for the component (Svelte generates random classes like `.svelte-1bsxr9h` to scope...

It's been brought up a few times. I think the way it would have to be implemented is to create a fake input element with the `name` attribute. My biggest...

I'd want to support it for the `DatePicker` component as well, which doesn't have a format. It could also cause bugs when someone uses locale-specific formats, or decides to switch...

Should probably be a function property like `isDateDisabled: (date: Date) => boolean | undefined`