Compare commits
3 Commits
feat/scrol
...
feat/selec
| Author | SHA1 | Date | |
|---|---|---|---|
| b4954713ff | |||
| df8bdbaf73 | |||
| 9fe655a33b |
16
CHANGELOG.md
16
CHANGELOG.md
@@ -6,10 +6,24 @@ All notable changes to floret-kit are documented here. The format follows
|
|||||||
floret-kit is consumed **from source** — each app embeds it as a git submodule
|
floret-kit is consumed **from source** — each app embeds it as a git submodule
|
||||||
and builds it through a Gradle composite build, pinning a specific commit. There
|
and builds it through a Gradle composite build, pinning a specific commit. There
|
||||||
are no binary releases; "version" tracks the shared `version` in the root build
|
are no binary releases; "version" tracks the shared `version` in the root build
|
||||||
(currently `0.2.0`). Entries are grouped by module.
|
(currently `0.2.1`). Entries are grouped by module.
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.2.1] - 2026-07-17
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- **`components`** — `CollapsingScaffold` takes a `scrollable` flag (default
|
||||||
|
`true`, so every existing caller is unchanged). Set it to `false` when the
|
||||||
|
content brings its own scrolling container: the scaffold's own
|
||||||
|
`verticalScroll` composes each row up front and can't host a `LazyColumn`
|
||||||
|
(nesting a same-axis scrollable throws), which ruled out any surface with more
|
||||||
|
options than fit an eager pass. Opting out hands the content a plain column and
|
||||||
|
leaves the insets, IME padding and top-bar collapse as they were.
|
||||||
|
`FullScreenPicker` forwards the flag. Consumed by Calendula's ~600-entry
|
||||||
|
time-zone picker from 2.16.0.
|
||||||
|
|
||||||
## [0.2.0] - 2026-07-17
|
## [0.2.0] - 2026-07-17
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -10,5 +10,5 @@ plugins {
|
|||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
group = "de.jeanlucmakiola.floret"
|
group = "de.jeanlucmakiola.floret"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -102,8 +102,18 @@ fun <T> OptionPicker(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The trailing check that marks the chosen row in a full-screen picker — the
|
||||||
|
* family's single selection affordance, so every picker (option, reminder,
|
||||||
|
* agenda range, timezone, calendar, recurrence) marks its selection the same
|
||||||
|
* way. Pair it with `GroupedRow(selected = true)`: the tonal highlight carries
|
||||||
|
* the state at a glance, the check confirms it unambiguously.
|
||||||
|
*
|
||||||
|
* Purely decorative — the row itself owns the semantics, so it takes no
|
||||||
|
* content description.
|
||||||
|
*/
|
||||||
@Composable
|
@Composable
|
||||||
private fun SelectedCheck() {
|
fun SelectedCheck() {
|
||||||
Icon(
|
Icon(
|
||||||
imageVector = Icons.Rounded.Check,
|
imageVector = Icons.Rounded.Check,
|
||||||
contentDescription = null,
|
contentDescription = null,
|
||||||
|
|||||||
Reference in New Issue
Block a user