Package-level declarations
Types
Functions
Link copied to clipboard
fun DatePickerTextField(modifier: Modifier = Modifier, dateMillis: Long, onDateSelected: (Long) -> Unit, textFieldIcon: ImageVector = Icons.Default.CalendarToday, textFieldReadOnly: Boolean = true, textFieldEnabled: Boolean = false, ga4Event: Ga4EventData? = null)
Link copied to clipboard
fun DropdownMenuBox(selectedText: String, options: ImmutableList<String>, onOptionSelected: (String) -> Unit, modifier: Modifier = Modifier, ga4Event: Ga4EventData? = null)
Link copied to clipboard
fun GeneralTextField(value: TextFieldValue, onValueChange: (TextFieldValue) -> Unit, modifier: Modifier = Modifier, style: GeneralTextFieldStyle = GeneralTextFieldStyle.Filled, enabled: Boolean = true, readOnly: Boolean = false, label: String? = null, placeholder: String? = null, supportingText: String? = null, errorText: String? = null, isError: Boolean = errorText != null, leadingIcon: ToolkitIcon? = null, leadingIconContentDescription: String? = null, trailingIcon: ToolkitIcon? = null, trailingIconContentDescription: String? = null, onTrailingIconClick: () -> Unit? = null, trailingContent: @Composable RowScope.() -> Unit? = null, singleLine: Boolean = false, minLines: Int = 1, maxLines: Int = if (singleLine) 1 else Int.MAX_VALUE, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions.Default, visualTransformation: VisualTransformation = VisualTransformation.None, textStyle: TextStyle = LocalTextStyle.current, markdown: GeneralTextFieldMarkdown = GeneralTextFieldMarkdown.None, onMarkdownFormat: (MarkdownFormatAction) -> Unit = {}, position: GroupedItemPosition = GroupedItemPosition.SINGLE, groupedOuterRadius: Dp = SizeConstants.LargeMediumSize, shape: Shape? = null, colors: TextFieldColors? = null, ga4Event: Ga4EventData? = null)
TextFieldValue variant, for callers that own the caret as well as the text.
fun GeneralTextField(value: String, onValueChange: (String) -> Unit, modifier: Modifier = Modifier, style: GeneralTextFieldStyle = GeneralTextFieldStyle.Filled, enabled: Boolean = true, readOnly: Boolean = false, label: String? = null, placeholder: String? = null, supportingText: String? = null, errorText: String? = null, isError: Boolean = errorText != null, leadingIcon: ToolkitIcon? = null, leadingIconContentDescription: String? = null, trailingIcon: ToolkitIcon? = null, trailingIconContentDescription: String? = null, onTrailingIconClick: () -> Unit? = null, trailingContent: @Composable RowScope.() -> Unit? = null, onSearch: (String) -> Unit? = null, singleLine: Boolean = false, minLines: Int = 1, maxLines: Int = if (singleLine) 1 else Int.MAX_VALUE, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions.Default, visualTransformation: VisualTransformation = VisualTransformation.None, textStyle: TextStyle = LocalTextStyle.current, markdown: GeneralTextFieldMarkdown = GeneralTextFieldMarkdown.None, onMarkdownFormat: (MarkdownFormatAction) -> Unit = {}, position: GroupedItemPosition = GroupedItemPosition.SINGLE, groupedOuterRadius: Dp = SizeConstants.LargeMediumSize, shape: Shape? = null, colors: TextFieldColors? = null, ga4Event: Ga4EventData? = null)
The toolkit's text field: a Material field with the toolkit's grouped styling, icon slot and Markdown authoring available as options rather than as separate components.