DateRangeUIProvider

UI rendering contract for date-range calendar cells, sharing the rest of DateUIProvider.

Functions

Link copied to clipboard
abstract fun Button(type: DatePickerButtonType, modifier: Modifier, onClick: () -> Unit, enabled: Boolean, content: @Composable () -> Unit)

Renders the selected-date or Today button, styled by its semantic type.

Link copied to clipboard
abstract fun CalendarCell(date: LocalDate, type: DatePickerCellType, modifier: Modifier, onClick: () -> Unit)

Renders one calendar day, including its month, selected, and today state.

Link copied to clipboard
abstract fun CalendarRangeCell(date: LocalDate, type: DateRangePickerCellType, modifier: Modifier, onClick: () -> Unit)

Renders one calendar day, including its selected range and enabled state.

Link copied to clipboard
abstract fun color(color: DateColor): Color

Returns the theme color for a semantic date-picker color role.

Link copied to clipboard
abstract fun Divider(modifier: Modifier, vertical: Boolean)

Separates the calendar header from the year/month selection list.

Link copied to clipboard
abstract fun Icon(icon: DatePickerIcon, contentDescription: String?, modifier: Modifier, tint: Color?)

Renders calendar navigation, dropdown, and selected-entry icons.

Link copied to clipboard
abstract fun IconButton(modifier: Modifier, onClick: () -> Unit, enabled: Boolean, content: @Composable () -> Unit)

Renders the previous/next navigation buttons in the calendar header.

Link copied to clipboard

Applies a minimum touch-target size to year/month selection rows.

Link copied to clipboard
abstract fun ScrollableList(state: LazyListState, content: LazyListScope.() -> Unit)

Renders the scrolling list used to select a year or month.

Link copied to clipboard
abstract fun smallShape(): Shape

Returns the compact shape used by calendar header and selection rows.

Link copied to clipboard
abstract fun Text(text: String, modifier: Modifier, style: DateTextStyle, color: Color?, textAlign: TextAlign?, maxLines: Int)

Renders calendar headings, date labels, and year/month selection entries.