Package-level declarations

Types

Link copied to clipboard
data class ButtonInfo(val title: String, val onClick: () -> Unit = {}, val enabled: Boolean = true)

Functions

Link copied to clipboard
fun ButtonGroup(modifier: Modifier = Modifier, title: String? = null, buttons: List<ButtonInfo>)
Link copied to clipboard
fun CopyButton(title: String, textToCopy: String? = null, modifier: Modifier = Modifier)
Link copied to clipboard
fun <T> DropDownList(allValues: Map<T, String>, selectedValue: T, modifier: Modifier = Modifier, title: String? = null, onSelectionChanged: (T) -> Unit = {})
Link copied to clipboard
fun EditButton(title: String, text: String?, modifier: Modifier = Modifier, onEditClicked: () -> Unit = {}, onResetClicked: () -> Unit = {})
Link copied to clipboard
fun LinkItem(label: String, selectedValue: String? = null, modifier: Modifier = Modifier, isEnabled: Boolean = true, enabled: Boolean = true, icon: Int = com.mapbox.dash.theming.R.drawable.ic_arrow_right, iconBackground: Color = AppTheme.colors.backgroundColors.secondary, iconOrientation: LinkIconOrientation = LinkIconOrientation.RIGHT, onClick: () -> Unit = {})
Link copied to clipboard
@Preview(device = "spec:width=1280dp,height=800dp,dpi=480")
fun LinkItem_Preview_Dark()
Link copied to clipboard
fun MapStyleToggle(modifier: Modifier = Modifier, isMap3dAvailable: Boolean = false, isSatelliteModeAvailable: Boolean = false, isNightTheme: Boolean = false, map3dEnabled: Boolean = false, satelliteModeEnabled: Boolean = false, onMap3dChanged: (enabled: Boolean) -> Unit = {}, onSatelliteModeChanged: (enabled: Boolean) -> Unit = {})