Interface: GeovisWorkspaceSidebarVariationsBody
Defined in: context/GeovisWorkspaceContext.ts:146
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?
optionalcloseOnSelect?:boolean
Defined in: context/GeovisWorkspaceContext.ts:176
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?
optionaldefaultGroupId?:string
Defined in: context/GeovisWorkspaceContext.ts:164
Id of the group expanded on first render. Unused by the flat list; kept for back-compat with the earlier accordion layout.
defaultValue?
optionaldefaultValue?:string
Defined in: context/GeovisWorkspaceContext.ts:166
Variation selected on first render.
groups
groups:
GeovisWorkspaceSidebarVariationGroup[]
Defined in: context/GeovisWorkspaceContext.ts:159
The variation groups; flattened into one list in the given order.
icon?
optionalicon?:string
Defined in: context/GeovisWorkspaceContext.ts:155
Iconify token rendered before title.
kind
kind:
"variations"
Defined in: context/GeovisWorkspaceContext.ts:147
menuId
menuId:
string
Defined in: context/GeovisWorkspaceContext.ts:157
Keys the shared selection this zone drives (selection[menuId]).
title?
optionaltitle?:string
Defined in: context/GeovisWorkspaceContext.ts:153
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.