UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

19 lines • 860 B
import type RootStore from './RootStore'; /** * View-model store for the overlay bottom-sheet: derives the sizing inputs the * pure `<Overlay>` component needs (how tall the medium/full sheet should be) * from the current UI state. Keeps this presentation math out of the Container * and out of the already-large UIState. */ export default class OverlayStore { private readonly rootStore; constructor(rootStore: RootStore); private get ui(); private get isRouteActive(); private get isSearchListOpen(); /** Divisor for the medium sheet height (viewportHeight / multiplier) — larger = shorter sheet. */ get mediumSizeMultiplier(): 3 | 7 | 9; /** Pixels subtracted from viewport height for the full sheet (search box, banners, safe padding). */ get fullSizeOffset(): number; } //# sourceMappingURL=OverlayStore.d.ts.map