The standard Android back-gesture preview — the surface scales to ~90%, rounds its corners and shifts toward the swiped edge as the gesture is dragged, then commits or springs back. Plus rememberReduceMotion() to honour the system "remove animations" setting. Drawn from Calendula's CalendarTransitions so both apps preview back the same way; adds the activity-compose dependency. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
35 lines
1.9 KiB
TOML
35 lines
1.9 KiB
TOML
# Version catalog for floret-kit. Kept in lockstep with the consuming apps'
|
|
# catalogs (same AGP/Kotlin/Compose + test stack) until the catalog itself is shared.
|
|
[versions]
|
|
agp = "9.2.1"
|
|
kotlin = "2.3.21"
|
|
coreKtx = "1.19.0"
|
|
appcompat = "1.7.1"
|
|
activityCompose = "1.13.0"
|
|
composeBom = "2026.05.01"
|
|
# Material 3 Expressive APIs live in the 1.5 alpha line; pinned to override the BOM.
|
|
material3 = "1.5.0-alpha21"
|
|
junit = "6.1.0"
|
|
junitPlatform = "6.1.0"
|
|
truth = "1.4.5"
|
|
|
|
[libraries]
|
|
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
|
|
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
|
|
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
|
|
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
|
|
androidx-ui = { group = "androidx.compose.ui", name = "ui" }
|
|
androidx-foundation = { group = "androidx.compose.foundation", name = "foundation" }
|
|
androidx-material3 = { group = "androidx.compose.material3", name = "material3", version.ref = "material3" }
|
|
androidx-material-icons-core = { group = "androidx.compose.material", name = "material-icons-core" }
|
|
|
|
junit-jupiter-api = { group = "org.junit.jupiter", name = "junit-jupiter-api", version.ref = "junit" }
|
|
junit-jupiter-engine = { group = "org.junit.jupiter", name = "junit-jupiter-engine", version.ref = "junit" }
|
|
junit-platform-launcher = { group = "org.junit.platform", name = "junit-platform-launcher", version.ref = "junitPlatform" }
|
|
truth = { group = "com.google.truth", name = "truth", version.ref = "truth" }
|
|
|
|
[plugins]
|
|
android-library = { id = "com.android.library", version.ref = "agp" }
|
|
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
|
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|