Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class PrimaryButtonStyle(val colorsLight: PrimaryButtonColors, val colorsDark: PrimaryButtonColors, val shape: PrimaryButtonShape, val typography: PrimaryButtonTypography)
Link copied to clipboard
Link copied to clipboard
data class StripeComposeShapes(val borderStrokeWidth: Dp, val borderStrokeWidthSelected: Dp, val material: Shapes)
Link copied to clipboard
data class StripeShapes(val cornerRadius: Float, val borderStrokeWidth: Float, val borderStrokeWidthSelected: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class StripeTypography(val fontWeightNormal: Int, val fontWeightMedium: Int, val fontWeightBold: Int, val fontSizeMultiplier: Float, val xxSmallFontSize: TextUnit, val xSmallFontSize: TextUnit, val smallFontSize: TextUnit, val mediumFontSize: TextUnit, val largeFontSize: TextUnit, val xLargeFontSize: TextUnit, @FontRes val fontFamily: Int?, val body1FontFamily: FontFamily? = null, val body2FontFamily: FontFamily? = null, val h4FontFamily: FontFamily? = null, val h5FontFamily: FontFamily? = null, val h6FontFamily: FontFamily? = null, val subtitle1FontFamily: FontFamily? = null, val captionFontFamily: FontFamily? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun createTextSpanFromTextStyle(text: String?, context: Context, fontSizeDp: Dp, color: Color, @FontRes fontFamily: Int?): SpannableString
Link copied to clipboard
Link copied to clipboard
Base Theme for Payments Composables that are not merchant configurable. Use this theme if you do not want merchant configurations to change your UI
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun StripeTheme(colors: StripeColors = StripeTheme.getColors(isSystemInDarkTheme()), shapes: StripeShapes = StripeTheme.shapesMutable, typography: StripeTypography = StripeTheme.typographyMutable, content: @Composable () -> Unit)
Base Theme for Stripe Composables. CAUTION: This theme is mutable by merchant configurations. You shouldn't be passing colors, shapes, typography to this theme outside of tests.
Link copied to clipboard
Link copied to clipboard