qwikifiers / qwik-ui

Qwik's Headless and styled component library
https://qwikui.com
MIT License
632 stars 144 forks source link

[✨] DatePicker component #123

Open gioboa opened 1 year ago

yishayhaz commented 1 year ago

Need more info, do we want something complex like mui react-date-pickers? or native one is enough?

gioboa commented 1 year ago

We discussed about it in the discord channel. Here the first message of a long discussion https://discord.com/channels/990511757091033108/1040763063533588562/1075379303455391794

yishayhaz commented 1 year ago

I see. Maybe we could divide it into smaller components, such as calendar, combobox etc. although I think this is an advanced component that requires a lot of smaller & stable components to rely on (tooltip, input, dropdown, etc.), and I think we should focus on the smaller components for now.

briosheje commented 1 year ago

Should we keep the native feel of input or should we provide an higher level abstraction where the value of the component will be a Date instead of the default input value type?

maiieul commented 5 months ago

@iancharlesdouglas suggested basing it on flatpickr. But @diecodev has started working on a date picker already right? Will it also be a time picker @diecodev? Could you add some info in here pls 🙏

diecodev commented 5 months ago

@maiieul the calendar is just a date picker, the time version is something I'm gonna work after the calendar and then combine them, because I need more knowledge to be able to develop the time component. As we know, JS is not the best language to deal with dates and time.

maiieul commented 5 months ago

Yes that's what I was thinking. Let's focus on the date picker first 👍