Package-level declarations

Functions

Link copied to clipboard
fun KPBottomSheetCheckboxItem(checked: Boolean, text: String, onCheckedChange: (Boolean) -> Unit, modifier: Modifier = Modifier, isIconVisible: Boolean = false, textStyle: TextStyle = KPDesign.typography.titleMediumColorOnSurfaceVariant3, iconSize: IconSize = KPIconSize.XSmall, description: String = "", descriptionTextStyle: TextStyle = KPDesign.typography.body1ColorOnSurfaceVariant1)

A composable function that creates a checkbox item with a text label and optional description for a bottom sheet.

Link copied to clipboard
fun KPBottomSheetRadioItem(selected: Boolean, text: String, onClick: () -> Unit, modifier: Modifier = Modifier, isIconVisible: Boolean = false, textStyle: TextStyle = KPDesign.typography.titleMediumColorOnSurfaceVariant3, iconSize: IconSize = KPIconSize.XSmall, description: String = "", descriptionTextStyle: TextStyle = KPDesign.typography.body1ColorOnSurfaceVariant1)

A composable function that creates a radio button item with a text label and optional description for a bottom sheet.

Link copied to clipboard
fun KPBottomSheetSingleSelectItem(selected: Boolean, text: String, onClick: () -> Unit, modifier: Modifier = Modifier, isIconVisible: Boolean = true, textStyle: TextStyle = KPDesign.typography.titleMediumColorOnSurfaceVariant3, helperText: String = "", helperTextStyle: TextStyle = KPDesign.typography.body1MediumColorWarning, description: String = "", descriptionTextStyle: TextStyle = KPDesign.typography.body1ColorOnSurfaceVariant1)

A composable function that creates a single-select item with a text label, optional description, helper text, and icon for a bottom sheet.

Link copied to clipboard
fun KPBottomSheetStaticItem(text: String, onClick: () -> Unit, modifier: Modifier = Modifier, icon: ImageVector? = null, iconPosition: Alignment.Vertical = Alignment.CenterVertically, textStyle: TextStyle = KPDesign.typography.subtitleMediumColorOnSurfaceVariant3, description: String = "", descriptionTextStyle: TextStyle = KPDesign.typography.body1ColorOnSurfaceVariant1)

A composable function that creates a static item with a text label, optional description, and optional icon for a bottom sheet.