Package-level declarations
Overlays: JengaDialog, JengaBottomSheet (with rememberJengaSheetState, which can refuse a close), JengaListSheet, JengaSideSheet, and snackbars (JengaSnackbar, JengaSnackbarHost).
Types
Resolved colors for a JengaDialog. Override via JengaDialogDefaults.colors.
Defaults for JengaDialog. Each one follows the theme's JengaDialogStyle.
Theme-wide style for every JengaDialog, set through io.github.joelkanyi.jenga.theme.JengaComponentStyles.dialog. A null value keeps Jenga's default; arguments passed to a JengaDialog call still win.
Defaults for JengaListSheet and JengaSideSheet. Each one follows the theme's JengaListSheetStyle.
Theme-wide style for every JengaListSheet and JengaSideSheet, set through io.github.joelkanyi.jenga.theme.JengaComponentStyles.listSheet. A null value keeps Jenga's default; arguments passed to a call still win.
The visibility state of a JengaBottomSheet. Create one with rememberJengaSheetState and drive it imperatively (e.g. from an MVI effect): scope.launch { sheetState.hide() }. Keeps the underlying Material state out of Jenga's public API.
Defaults for JengaSideSheet.
Resolved colors for a JengaSnackbar. Override via JengaSnackbarDefaults.colors.
Defaults and token mappings for JengaSnackbar.
How long a snackbar stays before it auto-dismisses.
Drives a JengaSnackbarHost: enqueue transient messages with showSnackbar. Create one with rememberJengaSnackbarHostState. Wraps the Material queueing machinery, keeping it out of Jenga's public API.
The outcome of a snackbar shown via JengaSnackbarHostState.showSnackbar.
Theme-wide style for every JengaSnackbar, set through io.github.joelkanyi.jenga.theme.JengaComponentStyles.snackbar. A null value keeps Jenga's default; arguments passed to a call still win.
Semantic tone of a JengaSnackbar.
Functions
A modal bottom sheet, themed with Jenga tokens.
A modal bottom sheet whose visibility is driven by an external sheetState, so it can be shown/hidden imperatively (the MVI pattern: a ViewModel effect calls sheetState.hide(), then composition removes the sheet).
A modal dialog with an optional title and body, plus confirm/dismiss actions. For a destructive confirmation, pass a danger JengaButton as confirmButton.
A modal bottom sheet with a title, a lazily laid out body, and an optional footer pinned to the bottom, above the keyboard. Use it for pickers and short forms; for free-form content use JengaBottomSheet.
A JengaListSheet whose subtitle is styled text (e.g. a monospaced id beside plain words).
A modal sheet that slides in from the end edge over a scrim, with the same layout as JengaListSheet: a title, a lazily laid out body, and an optional footer pinned to the bottom. Use it in place of a bottom sheet on wide or landscape layouts.
A JengaSideSheet whose subtitle is styled text (e.g. a monospaced id beside plain words).
A transient message surface with an optional action.
Renders the snackbar queued on hostState as a JengaSnackbar. Place it in a scaffold's snackbarHost slot (see JengaScaffold).
Remembers a JengaSheetState for an externally-controlled JengaBottomSheet.
Remembers a JengaSnackbarHostState for a JengaSnackbarHost.