Skip to content

Commit

Permalink
Deprecate Dropdown
Browse files Browse the repository at this point in the history
Reference #718

Signed-off-by: Ivan Morgillo <[email protected]>

closes JetBrains/intellij-community#2911

GitOrigin-RevId: 7d134278bda80edef233be65b76177b21b93c4de
  • Loading branch information
hamen authored and intellij-monorepo-bot committed Jan 15, 2025
1 parent 624637c commit 1091fb1
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down

0 comments on commit 1091fb1

Please sign in to comment.