@atlaskit/page-layout
Version:
A collection of components which let you compose an application's page layout.
13 lines (12 loc) • 915 B
TypeScript
import { type DimensionNames } from './types';
declare const mergeGridStateIntoStorage: (key: string, value: any) => void;
declare const getGridStateFromStorage: (key: string) => any;
declare const removeFromGridStateInStorage: (key: string, secondKey?: string) => void;
declare const resolveDimension: (key: DimensionNames, dimension?: number, shouldPersist?: boolean) => any;
declare const getLeftPanelWidth: () => number;
declare const getLeftSidebarPercentage: (currentWidth: number, maxWidth: number) => number;
declare const getPageLayoutSlotSelector: (slotName: string) => {
"data-ds--page-layout--slot": string;
};
declare const getPageLayoutSlotCSSSelector: (slotName: string) => string;
export { mergeGridStateIntoStorage, getGridStateFromStorage, removeFromGridStateInStorage, resolveDimension, getLeftPanelWidth, getLeftSidebarPercentage, getPageLayoutSlotSelector, getPageLayoutSlotCSSSelector, };