Compare commits
2 Commits
55ad536513
...
v0.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 78c5fd1fd4 | |||
| e1919cab83 |
@@ -10,6 +10,8 @@ are no binary releases; "version" tracks the shared `version` in the root build
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.1.0] - 2026-07-07
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- **`core-time`** (JVM library) — pure-Kotlin date/time helpers, no Android and
|
- **`core-time`** (JVM library) — pure-Kotlin date/time helpers, no Android and
|
||||||
@@ -46,7 +48,9 @@ are no binary releases; "version" tracks the shared `version` in the root build
|
|||||||
`largeTopBar = false` for a pinned single-line bar (the picker variant).
|
`largeTopBar = false` for a pinned single-line bar (the picker variant).
|
||||||
- `FullScreenPicker` / `OptionPicker` — the full-screen single-select picker,
|
- `FullScreenPicker` / `OptionPicker` — the full-screen single-select picker,
|
||||||
now over a pinned single-line bar (a picker is a short list, so no tall
|
now over a pinned single-line bar (a picker is a short list, so no tall
|
||||||
collapsing header to scroll past).
|
collapsing header to scroll past). `FullScreenPicker` takes an optional
|
||||||
|
`actions` slot (app-bar trailing items) for pickers that carry a commit or
|
||||||
|
extra action — a custom-value **Add**/**OK**, a **Reset**.
|
||||||
- `ReorderableColumn` — dependency-free drag-to-reorder for the short, fixed
|
- `ReorderableColumn` — dependency-free drag-to-reorder for the short, fixed
|
||||||
grouped-card Settings lists; pairs with `GroupedRow(gapBelow = false)`, which
|
grouped-card Settings lists; pairs with `GroupedRow(gapBelow = false)`, which
|
||||||
hands the column uniform control of row spacing.
|
hands the column uniform control of row spacing.
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ package de.jeanlucmakiola.floret.components
|
|||||||
|
|
||||||
import android.view.WindowManager
|
import android.view.WindowManager
|
||||||
import androidx.compose.foundation.layout.ColumnScope
|
import androidx.compose.foundation.layout.ColumnScope
|
||||||
|
import androidx.compose.foundation.layout.RowScope
|
||||||
import androidx.compose.material.icons.Icons
|
import androidx.compose.material.icons.Icons
|
||||||
import androidx.compose.material.icons.rounded.Check
|
import androidx.compose.material.icons.rounded.Check
|
||||||
import androidx.compose.material3.Icon
|
import androidx.compose.material3.Icon
|
||||||
@@ -25,6 +26,7 @@ fun FullScreenPicker(
|
|||||||
title: String,
|
title: String,
|
||||||
onDismiss: () -> Unit,
|
onDismiss: () -> Unit,
|
||||||
predictiveBack: Boolean = false,
|
predictiveBack: Boolean = false,
|
||||||
|
actions: @Composable RowScope.() -> Unit = {},
|
||||||
content: @Composable ColumnScope.() -> Unit,
|
content: @Composable ColumnScope.() -> Unit,
|
||||||
) {
|
) {
|
||||||
Dialog(
|
Dialog(
|
||||||
@@ -48,6 +50,7 @@ fun FullScreenPicker(
|
|||||||
onBack = onDismiss,
|
onBack = onDismiss,
|
||||||
largeTopBar = false,
|
largeTopBar = false,
|
||||||
predictiveBack = predictiveBack,
|
predictiveBack = predictiveBack,
|
||||||
|
actions = actions,
|
||||||
content = content,
|
content = content,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user