UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

86 lines (85 loc) 2.17 kB
import { IStyle } from '../../Styling'; export interface ICoachmarkStyleProps { /** * Is the Coachmark collapsed */ collapsed: boolean; /** * Is the beacon currently animating. */ isBeaconAnimating: boolean; /** * Is the component taking measurements */ isMeasuring: boolean; /** * The height measured before the component has been mounted * in pixels */ entityHostHeight?: string; /** * The width measured in pixels */ entityHostWidth?: string; /** * Width of the coachmark */ width?: string; /** * Height of the coachmark */ height?: string; /** * Color */ color?: string; /** * Beacon color one */ beaconColorOne?: string; /** * Beacon color two */ beaconColorTwo?: string; } export interface ICoachmarkStyles { /** * Style for the root element in the default enabled/unchecked state. */ root?: IStyle; /** * The pulsing beacon that animates when the coachmark * is collapsed. */ pulsingBeacon?: IStyle; /** * The layer, or div, that the translate animation will be applied to. */ translateAnimationContainer?: IStyle; /** * The layer the Scale animation will be applied to. */ scaleAnimationLayer?: IStyle; /** * The layer the Rotate animation will be applied to. */ rotateAnimationLayer?: IStyle; /** * The layer that content/components/elments will be hosted in. */ entityHost?: IStyle; /** * The inner layer that components will be hosted in * and primary purpose is scaling the layer down while the * Coachmark collapsed. */ entityInnerHost: IStyle; /** * The styles applied when the coachmark has collapsed. */ collapsed?: IStyle; } export declare const translateOne: string; export declare const scaleOne: string; export declare const rotateOne: string; export declare function getStyles(props: ICoachmarkStyleProps): ICoachmarkStyles;