@dialpad/dialtone
Version:
Dialpad's Dialtone design system monorepo
35 lines (34 loc) • 1.28 kB
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const tippy_utils = require("./tippy_utils.cjs");
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_utils.TIPPY_STICKY_VALUES
];
const POPOVER_DIRECTIONS = [
...tippy_utils.BASE_TIPPY_DIRECTIONS
];
exports.POPOVER_APPEND_TO_VALUES = POPOVER_APPEND_TO_VALUES;
exports.POPOVER_CONTENT_WIDTHS = POPOVER_CONTENT_WIDTHS;
exports.POPOVER_DIRECTIONS = POPOVER_DIRECTIONS;
exports.POPOVER_HEADER_FOOTER_PADDING_CLASSES = POPOVER_HEADER_FOOTER_PADDING_CLASSES;
exports.POPOVER_INITIAL_FOCUS_STRINGS = POPOVER_INITIAL_FOCUS_STRINGS;
exports.POPOVER_PADDING_CLASSES = POPOVER_PADDING_CLASSES;
exports.POPOVER_ROLES = POPOVER_ROLES;
exports.POPOVER_STICKY_VALUES = POPOVER_STICKY_VALUES;
//# sourceMappingURL=popover_constants.cjs.map