@dialpad/dialtone
Version:
Dialpad's Dialtone design system monorepo
24 lines (23 loc) • 638 B
JavaScript
import { BASE_TIPPY_DIRECTIONS, TIPPY_STICKY_VALUES } from "../popover/tippy_utils.js";
const TOOLTIP_DIRECTIONS = [
...BASE_TIPPY_DIRECTIONS
];
const TOOLTIP_DELAY_MS = 300;
const TOOLTIP_KIND_MODIFIERS = {
hover: `d-tooltip--hover`,
show: `d-tooltip--show`,
inverted: `d-tooltip--inverted`,
hide: `d-tooltip--hide`
};
const TOOLTIP_STICKY_VALUES = [
...TIPPY_STICKY_VALUES
];
const TOOLTIP_HIDE_ON_CLICK_VARIANTS = [true, false, "toggle"];
export {
TOOLTIP_DELAY_MS,
TOOLTIP_DIRECTIONS,
TOOLTIP_HIDE_ON_CLICK_VARIANTS,
TOOLTIP_KIND_MODIFIERS,
TOOLTIP_STICKY_VALUES
};
//# sourceMappingURL=tooltip_constants.js.map