UNPKG

apphouse

Version:

Component library for React that uses observable state management and theme-able components.

58 lines (57 loc) 1.41 kB
/** * Breakpoint for min XS screen width */ export declare const MinScreenSizeXS = 0; /** * Breakpoint for min S screen width */ export declare const MinScreenSizeS = 600; /** * Breakpoint for min M screen width */ export declare const MinScreenSizeM = 960; /** * Breakpoint for min L screen width */ export declare const MinScreenSizeL = 1280; /** * Breakpoint for min XL screen width */ export declare const MinScreenSizeXL = 1920; /** * Breakpoint for max XS screen width */ export declare const MaxScreenSizeXS: number; /** * Breakpoint for max S screen width */ export declare const MaxScreenSizeS: number; /** * Breakpoint for max M screen width */ export declare const MaxScreenSizeM: number; /** * Breakpoint for max L screen width */ export declare const MaxScreenSizeL: number; /** * Breakpoint for max XL screen width */ export declare const MaxScreenSizeXL: undefined; export declare class WindowSizeStore { windowWidth: number | null; screenWindow: any; windowHeight: number | null; panels: any; constructor(); get hasMinimalPortraitMobileWidth(): boolean; get width(): number; get height(): number; get panelSizes(): any; setWindow: () => void; private handleWindowWidthChange; private setWindowWidth; private setWindowHeight; setAppPanels: (panels: string[]) => void; expandPanel: (panelId: string) => void; }