JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
16.13k stars 1.17k forks source link

Missing compose functions in material3 #2037

Closed Thomas-Vos closed 1 year ago

Thomas-Vos commented 2 years ago

The following functions seem to not have been added yet in material3 for desktop, but are available for Android. It would be great if they could be added so I do not have to copy the material3 source code into my project, and keep that up to date.

Thomas-Vos commented 2 years ago

For exposed dropdown menus I found this issue: https://issuetracker.google.com/issues/201051696

CXwudi commented 1 year ago

Any progress on AlertDialog? 👀

QiXi commented 1 year ago

To use AlertDialog on desktop, you can install two dependencies at the same time.

api(compose.material) //for AlertDialog 
api(compose.material3)

as a temporary solution

fflopsi commented 1 year ago

If I'm not mistaken, androidx.compose.material3.DatePickerDialog is also one of the composables that is still missing

MatkovIvan commented 1 year ago

@fflopsi It was tracked in #3354, #3359, #1299. Desktop support was added during merge material3 1.1, iOS and web were in https://github.com/JetBrains/compose-multiplatform-core/pull/717 that was merged recently too

alexzhirkevich commented 1 year ago

If I'm not mistaken, androidx.compose.material3.DatePickerDialog is also one of the composables that is still missing

@MatkovIvan Actually, he has a point. I've added support for date picker itself, but DatePickerDialog that uses AlertDialog under the hood, is still not merged to common

MatkovIvan commented 1 year ago

Right, it's about dialog, not a picker itself. Well, material3.AlertDialog is already merged, so it looks like nothing prevents to "commonize" it too. I'll make sure that this dialog is also in our queue.

MatkovIvan commented 1 year ago

All components mentioned in this issue were merged into main branch, closing

helmysaeed commented 1 year ago

in which release we can find them pleas

MatkovIvan commented 1 year ago

The next one, but most part of it is already available in 1.5.0

okushnikov commented 1 month ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.