Skip to main content

Interface: GeovisWorkspaceSidebarVariationsBody

Defined in: context/GeovisWorkspaceContext.ts:151

Body of the "Variações" tab: a flat list of every group's variations. Drives the same shared selection the menus do, keyed by menuId — switching a variation recolors the map.

Properties​

closeOnSelect?​

optional closeOnSelect?: boolean

Defined in: context/GeovisWorkspaceContext.ts:181

Closes the left sidebar right after a variation is picked, so the map it just recolored is visible without a second tap. Defaults to false.

Declared here rather than on GeovisWorkspaceLeftSidebarState because the sidebar's sections have different terminal actions: choosing a variation ends the interaction, while a timeline writes to the selection on every auto-advance tick and must not close anything.


defaultGroupId?​

optional defaultGroupId?: string

Defined in: context/GeovisWorkspaceContext.ts:169

Id of the group expanded on first render. Unused by the flat list; kept for back-compat with the earlier accordion layout.


defaultValue?​

optional defaultValue?: string

Defined in: context/GeovisWorkspaceContext.ts:171

Variation selected on first render.


groups​

groups: GeovisWorkspaceSidebarVariationGroup[]

Defined in: context/GeovisWorkspaceContext.ts:164

The variation groups; flattened into one list in the given order.


icon?​

optional icon?: string

Defined in: context/GeovisWorkspaceContext.ts:160

Iconify token rendered before title.


kind​

kind: "variations"

Defined in: context/GeovisWorkspaceContext.ts:152


menuId: string

Defined in: context/GeovisWorkspaceContext.ts:162

Keys the shared selection this zone drives (selection[menuId]).


title?​

optional title?: string

Defined in: context/GeovisWorkspaceContext.ts:158

Heads the list with the same label a filter block draws — worth setting when the sections carry no header.title, since the tab bar then names nothing and the rows would open straight against it.