The family's collapsing settings/sub-screen scaffold and the full-screen single-select picker built on it (used for theme/list/reminder option dialogs). Adds material-icons-core (ArrowBack/Check) and a generic 'back' string apps can override. ReminderFormatting (labels over app-specific R.plurals + per-app presets) deliberately NOT included — it needs a label-callback API, a separate pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
42 lines
1.1 KiB
Kotlin
42 lines
1.1 KiB
Kotlin
// components — the family's shared Compose component vocabulary: the grouped-row
|
|
// primitive (GroupedSurface/GroupedRow, the press-morphing tonal container), the
|
|
// borderless InlineTextField, the OptionCard selection-dialog pick, and the
|
|
// pastelize() colour softener. App-agnostic by design; each app composes its own
|
|
// screens (and keeps its own identity chips/icons) from these primitives.
|
|
plugins {
|
|
alias(libs.plugins.android.library)
|
|
alias(libs.plugins.kotlin.compose)
|
|
}
|
|
|
|
android {
|
|
namespace = "de.jeanlucmakiola.floret.components"
|
|
compileSdk = 37
|
|
|
|
defaultConfig {
|
|
minSdk = 29
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions {
|
|
jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(platform(libs.androidx.compose.bom))
|
|
implementation(libs.androidx.ui)
|
|
implementation(libs.androidx.foundation)
|
|
implementation(libs.androidx.material3)
|
|
implementation(libs.androidx.material.icons.core)
|
|
}
|