@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
44 lines (43 loc) • 1.3 kB
TypeScript
declare const CLASS_PREFIX = "md-popover";
declare const BACKDROP_CLASS = "tippy-backdrop";
declare const BOUNDARIES: {
readonly VIEWPORT: "viewport";
readonly WINDOW: "window";
readonly PARENT: "scrollParent";
};
declare const CLOSE_BUTTON_PLACEMENTS: {
TOP_LEFT: string;
TOP_RIGHT: string;
NONE: string;
};
declare const DEFAULTS: {
VARIANT: string;
TRIGGER: string;
PLACEMENT: string;
OFFSET_DISTANCE: number;
OFFSET_SKIDDING: number;
SHOW_ARROW: boolean;
INTERACTIVE: boolean;
COLOR: import("../ModalContainer/ModalContainer.types").Color;
BOUNDARY: "scrollParent";
HIDE_ON_ESC: boolean;
HIDE_ON_BLUR: boolean;
IS_CHILD_POPOVER_OPEN: boolean;
CLOSE_BUTTON_PLACEMENT: string;
FOCUS_BACK_ON_TRIGGER_COMPONENT_INTERACTIVE: boolean;
FOCUS_BACK_ON_TRIGGER_COMPONENT_NON_INTERACTIVE: boolean;
AUTO_FOCUS: boolean;
STRATEGY: "absolute";
ADD_BACKDROP: boolean;
ROLE: string;
APPEND_TO: "parent";
DISABLE_FOCUS_LOCK: boolean;
};
declare const STYLE: {
wrapper: string;
arrowWrapper: string;
closeButton: string;
backdrop: string;
};
declare const ARROW_PADDING = 5;
export { CLASS_PREFIX, DEFAULTS, STYLE, ARROW_PADDING, BOUNDARIES, CLOSE_BUTTON_PLACEMENTS, BACKDROP_CLASS, };