feat(month): month view style picker + Split pull-to-expand (#38, #53) #90

Merged
makiolaj merged 36 commits from feat/month-view-style into release/v2.16.0 2026-07-20 21:25:50 +00:00
Showing only changes of commit 63ba69729e - Show all commits

View File

@@ -1320,7 +1320,17 @@ private fun SplitDayCell(
.fillMaxSize() .fillMaxSize()
.morphElement(MonthMorphKey.Cell(date)) .morphElement(MonthMorphKey.Cell(date))
.clip(CELL_SHAPE) .clip(CELL_SHAPE)
.background(background) .background(background),
)
// The outline is a layer of its own, deliberately *untagged*. Drawn on the
// morphing pill it rode the cell's shared bounds, so collapsing painted it
// at the expanded cell's size and shrank it down — a full-height outline
// flashing over a grid that no longer had full-height cells. Untagged it
// is laid out where the collapsed cell actually is and simply fades in,
// which is the only size it is ever true at.
Box(
Modifier
.fillMaxSize()
.border( .border(
width = 1.5.dp, width = 1.5.dp,
color = MaterialTheme.colorScheme.primary.copy(alpha = selection), color = MaterialTheme.colorScheme.primary.copy(alpha = selection),