mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Deprecate Dropdown
Reference https://github.com/JetBrains/jewel/pull/718 Signed-off-by: Ivan Morgillo <imorgillo@gmail.com> closes https://github.com/JetBrains/intellij-community/pull/2911 GitOrigin-RevId: 7d134278bda80edef233be65b76177b21b93c4de
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6e08ceb66e
commit
9e2c68a917
@@ -33,6 +33,7 @@ import androidx.compose.ui.input.InputMode
|
||||
import androidx.compose.ui.layout.onSizeChanged
|
||||
import androidx.compose.ui.platform.LocalDensity
|
||||
import androidx.compose.ui.semantics.Role
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import org.jetbrains.jewel.foundation.Stroke
|
||||
import org.jetbrains.jewel.foundation.modifier.border
|
||||
import org.jetbrains.jewel.foundation.state.CommonStateBitMask.Active
|
||||
@@ -53,6 +54,10 @@ import org.jetbrains.jewel.ui.painter.hints.Stateful
|
||||
import org.jetbrains.jewel.ui.theme.dropdownStyle
|
||||
import org.jetbrains.jewel.ui.util.thenIf
|
||||
|
||||
@Deprecated(
|
||||
message = "Use ListComboBox instead. This component will be removed in a future release.",
|
||||
level = DeprecationLevel.WARNING,
|
||||
)
|
||||
@Composable
|
||||
public fun Dropdown(
|
||||
modifier: Modifier = Modifier,
|
||||
|
||||
Reference in New Issue
Block a user