refactor(ui): draw InlineTextField/OptionCard/DialogControls from floret-kit components
Adopt the floret-kit components module for the three widgets whose kit form is identical to Calendula's, deleting the app-local copies and repointing imports. One behavioural guard: the kit's InlineTextField defaults capitalization to Sentences (the family default), where Calendula's defaulted to None. The three Calendula call sites that relied on the old default now pass KeyboardCapitalization.None explicitly — notably the guest **email** field, which must not auto-capitalize — so behaviour is unchanged. The richer app-local primitives (GroupedRow with dimmed/container, CollapsingScaffold with actions/snackbar/predictive-back) stay local for now: they're supersets of the kit's versions, so consuming the kit forms would drop features. Promoting those into the kit is a follow-up. Compile + unit tests + lintDebug green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -164,6 +164,7 @@ dependencies {
|
||||
implementation("de.jeanlucmakiola.floret:core-crash")
|
||||
implementation("de.jeanlucmakiola.floret:core-reminders")
|
||||
implementation("de.jeanlucmakiola.floret:identity")
|
||||
implementation("de.jeanlucmakiola.floret:components")
|
||||
implementation(libs.kotlinx.coroutines.core)
|
||||
|
||||
debugImplementation(libs.androidx.ui.tooling)
|
||||
|
||||
Reference in New Issue
Block a user