UNPKG

@dialpad/dialtone

Version:

Dialpad's Dialtone design system monorepo

35 lines (34 loc) 945 B
import { TIPPY_STICKY_VALUES, BASE_TIPPY_DIRECTIONS } from "./tippy_utils.js"; const POPOVER_PADDING_CLASSES = { none: void 0, small: "d-p4", medium: "d-p8", large: "d-p16" }; const POPOVER_HEADER_FOOTER_PADDING_CLASSES = { none: void 0, small: "d-pl4", medium: "d-pl8", large: "d-pl16" }; const POPOVER_ROLES = ["dialog", "menu", "listbox", "tree", "grid"]; const POPOVER_CONTENT_WIDTHS = ["", "anchor"]; const POPOVER_INITIAL_FOCUS_STRINGS = ["none", "dialog", "first"]; const POPOVER_APPEND_TO_VALUES = ["parent", "body", "root"]; const POPOVER_STICKY_VALUES = [ ...TIPPY_STICKY_VALUES ]; const POPOVER_DIRECTIONS = [ ...BASE_TIPPY_DIRECTIONS ]; export { POPOVER_APPEND_TO_VALUES, POPOVER_CONTENT_WIDTHS, POPOVER_DIRECTIONS, POPOVER_HEADER_FOOTER_PADDING_CLASSES, POPOVER_INITIAL_FOCUS_STRINGS, POPOVER_PADDING_CLASSES, POPOVER_ROLES, POPOVER_STICKY_VALUES }; //# sourceMappingURL=popover_constants.js.map