Package-level declarations
Shared helper functions.
Types
Link copied to clipboard
data class A11ySkipListing(val listTitle: String, val actionLabel: String, val nextItemFocusRequester: FocusRequester)
Used to skip listing when a list of components is too large
Link copied to clipboard
Defines the border type.
Link copied to clipboard
class SkapaButtonIndicationImplementation(resizeFactor: Float = SkapaAnimation.SizeFactors.RegularComponents, animationSpec: AnimationSpec<Float> = SkapaAnimation.PressAnimationSpec, color: State<Color?>, scale: State<Animatable<Float, AnimationVector1D>>, cornersRadius: State<Dp>, offset: Offset) : IndicationInstance, RememberObserver
Functions
Link copied to clipboard
fun DrawScope.animatedRoundedBackground(animatedScale: Animatable<Float, AnimationVector1D>, backgroundColor: Color, cornerRadius: Dp)
Link copied to clipboard
fun Modifier.focusableWithBorder(focused: State<Boolean>, enabled: Boolean = true, shape: CornerBasedShape, borderType: FocusBorderType = FocusBorderType.Default, insideBorder: Boolean = false, doubleBorders: Boolean = true, paddingValues: PaddingValues = PaddingValues()): Modifier
fun Modifier.focusableWithBorder(focused: State<Boolean>, enabled: Boolean = true, cornerSize: Dp = 0.dp, borderType: FocusBorderType = FocusBorderType.Default, insideBorder: Boolean = false, doubleBorders: Boolean = true, paddingValues: PaddingValues = PaddingValues()): Modifier
InternalSkapaApi modifier extension used to apply Skapa keyboard navigation border to focusable components
Link copied to clipboard
InternalSkapaApi modifier extension copied from androidx.compose.material.TouchTarget used to guarantee minimum touch target size.
Link copied to clipboard
Link copied to clipboard
fun rememberSkapaButtonIndication(resizeFactor: Float = SkapaAnimation.SizeFactors.RegularComponents, animationSpec: AnimationSpec<Float> = SkapaAnimation.PressAnimationSpec, color: Color? = null, cornersRadius: Dp = Dp.Unspecified, offset: Offset = Offset.Unspecified, scale: Animatable<Float, AnimationVector1D>): Indication
Link copied to clipboard
fun Modifier.skapaShadow(cornersRadius: Dp, color: Color = Color.Unspecified, shadowBlurRadius: Dp = 16.dp, offsetY: Dp = 4.dp, offsetX: Dp = 0.dp): Modifier
InternalSkapaApi modifier extension used to apply Skapa default shadow.