Package-level declarations
Types
Link copied to clipboard
annotation class InternalPilotComponentsApi
Link copied to clipboard
open class PilotButton<T : Any>(val content: StateFlow<T>, val isEnabled: StateFlow<Boolean> = MutableStateFlow(true), val accessibilityInfo: StateFlow<PilotAccessibilityInfo?> = MutableStateFlow(null), val action: () -> Unit)
Link copied to clipboard
interface PilotImageResource
Link copied to clipboard
data class PilotRemoteImage(val url: String?, val placeholder: PilotImageResource?, val contentDescription: String? = null)
Link copied to clipboard
data class PilotResizableRemoteImage(urlResolver: (width: Int?, height: Int?) -> String?, val placeholder: PilotImageResource? = null, val contentDescription: String? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class PilotTextField(textFlow: MutableStateFlow<String>, val placeholder: StateFlow<String>, val keyboardType: StateFlow<PilotKeyboardType> = MutableStateFlow(PilotKeyboardType.Default), val keyboardReturnKeyType: StateFlow<PilotKeyboardReturnKeyType> = MutableStateFlow(PilotKeyboardReturnKeyType.Default), val contentType: StateFlow<PilotTextContentType> = MutableStateFlow(PilotTextContentType.NotSet), val autoCorrect: StateFlow<Boolean> = MutableStateFlow(true), val autoCapitalization: StateFlow<PilotKeyboardAutoCapitalization> = MutableStateFlow(PilotKeyboardAutoCapitalization.Sentences), val onReturnKeyTap: () -> Unit = {}, val formatText: (text: String) -> String = { it }, val unformatText: (text: String) -> String = { it }, val transformText: (text: String) -> String = { it })
Link copied to clipboard
interface PilotTextStyleResource