Package-level declarations

Types

Link copied to clipboard
data class ButtonElement(val text: String, val onClick: () -> Unit, val sentiment: Sentiment = Sentiment.Nominal, val enabled: Boolean = true, val latchOnPress: Boolean = false) : UiElement.Interactive

A clickable button not a part of a block of text.

Link copied to clipboard
data class ElementList(val items: List<UiElement>, val positioning: Positioning = Positioning.Start) : UiElement.Static

UI element that composites multiple elements together.

Link copied to clipboard

UI Element that does nothing. Can be used as a default when no element should be shown, or in grids to fill blank space.

Link copied to clipboard

UI Element to indicate linear progress of work being done.

Link copied to clipboard
data class StatusIndicatorElement(val text: String, val sentiment: Sentiment) : UiElement.Static

UI Element to indicate the current state of a described label.

Link copied to clipboard
data class TextElement(val text: String, val style: TextStyle = TextStyle.Body) : UiElement.Static

A single contiguous block of text.

Link copied to clipboard
data class ThrobberElement(val caption: String? = null, val sentiment: Sentiment = Sentiment.Nominal) : UiElement.Static

UI Element to indicate that work is being done.

Link copied to clipboard
interface UiElement

An individual view element in the UI.