widgetti / solara

A Pure Python, React-style Framework for Scaling Your Jupyter and Web Apps
https://solara.dev
MIT License
1.92k stars 145 forks source link

Date and Time Picker Component #136

Open DavMelchi opened 1 year ago

DavMelchi commented 1 year ago

Hi, It would be nice to have a Date and Time Picker if it doesn't exist yet. I couldn't find it in APIs liste. Thank You.

maartenbreddels commented 1 year ago

Hi Dav,

yes, that would be good to have. In principle we have access to all components from https://v2.vuetifyjs.com/en/components/date-pickers/ via https://ipyvuetify.readthedocs.io/ like you will see if you take a peek under the hood (e.g. https://github.com/widgetti/solara/blob/master/solara/components/button.py )

But we prefer to have a nice set of components in solara with a proper API and typing.

Regards,

Maarten

lp9052 commented 1 year ago

We do need a datepicker. But before that I think we might need menu component. @maartenbreddels Any plans on this?

mikegiann01 commented 6 months ago

Hello! Can I work on this?

iisakkirotko commented 6 months ago

Hey @mikegiann01! Great to see you're enthusiastic to contribute more!

There's a solara.lab.InputDate (and a couple variants) here, so we're mostly just missing a time picker / InputTime. If you'd like to take a stab at adding that, you can take a look at InputDate, and at the Vuetify documentation for time pickers