Package-level declarations
Types
Link copied to clipboard
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, val leadingSymbol: Symbol? = null, val trailingSymbol: Symbol? = null) : UiElement.Interactive
A clickable button not a part of a block of text.
Link copied to clipboard
Checkbox form element.
Link copied to clipboard
Link copied to clipboard
data class ElementList(val items: List<UiElement>, val positioning: Positioning = Positioning.Start, val groupingStyle: GroupingStyle = GroupingStyle.Items, val orientation: Orientation = Orientation.Vertical) : 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
data class FormattedText(val spans: List<FormattedText.Span>, val paragraph: Boolean = true) : UiElement.Static
Link copied to clipboard
data class IconElement(val symbol: Symbol, val sentiment: Sentiment = Sentiment.Nominal) : UiElement.Static
A vector icon for signifying a noun or action.
Link copied to clipboard
data class MenuRowElement(val text: String, val onClick: () -> Unit? = null, val rightElement: UiElement? = null) : UiElement.Interactive
A clickable element in a list of related actions.
Link copied to clipboard
Link copied to clipboard
UI Element to indicate linear progress of work being done.
Link copied to clipboard
data class SpinnerElement(val value: String, val onNextValue: () -> Unit, val onPreviousValue: () -> Unit, val hasPreviousValue: Boolean = true, val hasNextValue: Boolean = true) : UiElement.Interactive
An element that can be cycled through values for.
Link copied to clipboard
UI Element to indicate the current state of a described label.
Link copied to clipboard
A single contiguous block of text.
Link copied to clipboard
data class TextListElement(val items: List<FormattedText>, val ordered: Boolean = false) : UiElement.Static
A bulleted or numbered list of text items.
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
data class WeatherElement(val temperature: String, val condition: WeatherElement.Condition, val secondaryText: String? = null, val title: String? = null, val daytime: Boolean = true, val sentiment: Sentiment = Sentiment.Nominal) : UiElement.Static