Phase 4 (components). The family's canonical grouped-row primitive (GroupedSurface/GroupedRow + Position/positionOf, press-morphing tonal container), the borderless InlineTextField (capitalization parameterized), the OptionCard selection-dialog pick, and the pastelize() colour softener. All app-agnostic (no R, no domain) and taken from Agendula's versions as the canonical reference per design sign-off; apps keep their own identity chips and compose their own screens from these. android-library, Compose-only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
41 lines
1.1 KiB
Kotlin
41 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)
|
|
}
|