Package-level declarations

The three publication screens — the publication itself, its full article list, and its archives — with the events they emit and the colors they accept.

Types

Link copied to clipboard
class ArchivesColors(backgroundColor: Color, errorMessageColors: ErrorMessageColors)

The colors ArchivesScreen draws with.

Link copied to clipboard

Default colors for the archives screen.

Link copied to clipboard
sealed interface ArchivesEvent

What the user did on ArchivesScreen. The screen never navigates on its own — handle these to decide where each interaction leads.

Link copied to clipboard
sealed interface ArticleListEvent

What the user did on ArticleListScreen. The screen never navigates on its own — handle these to decide where each interaction leads.

Link copied to clipboard
sealed interface PublicationEvent

What the user did on PublicationScreen. The screen never navigates on its own — handle these to decide where each interaction leads.

Functions

Link copied to clipboard
fun ArchivesScreen(publicationId: PublicationId, onEvent: (ArchivesEvent) -> Unit, colors: ArchivesColors = ArchivesDefault.archivesColors())

Screen displaying every archived issue of a publication, one year at a time.

Link copied to clipboard

The full article list of a publication, in a scrollable, paginated column

Link copied to clipboard

Screen displaying a publication.