Package-level declarations
Types
Supplies the grouping preset the contextual toolbar applies at the current capacity — the Compose successor to the legacy MenuItemGroupingRule.
Which contextual (special-mode) toolbar is being shown. Mode bars share one generic renderer and state slice; the kind is what per-mode binders and customer item providers key on.
State slice for the currently displayed contextual toolbar. null on the coordinator's contextualToolbar flow means no contextual toolbar is shown.
State of the document title overlay — the strip rendered directly below the main toolbar row that shows the current document's title. It is the Compose successor of the legacy pspdf__activity_title_overlay TextView, but lives inside the main toolbar composable (below the toolbar row), rather than as a separate overlay in the activity layout.
One-way event emitted by a toolbar composable.
Frame-level toolbar state — visual chrome that's independent of which items are shown. Splitting this from ToolbarItems means changing frame colors doesn't recompose item rows, and vice-versa (loophole P1-13).
Sealed type describing how a toolbar item renders its icon.
Host-neutral description of the window insets the main toolbar reserves for its own content.
One toolbar entry. Fully immutable; safe for Compose stability.
The ordered, pre-grouped collection of items for one toolbar.
Per-item dynamic state. Split from ToolbarItem so enabled/selected changes recompose only the affected button (loophole P1-13).
Logical position of a toolbar relative to its host container.
One entry of a capacity-keyed contextual-toolbar grouping preset: either a single item reference (childIds null) or a group whose children collapse into a ToolbarItem.Submenu.
Functions
Returns this action stamped with the contextual toolbar kind it originated from. Non-click actions (overflow, navigation, position) pass through unchanged — they are frame-level and carry no per-item source.