"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const clsx = require("clsx");
const FOCUS_CLASS_NAMES = {
  always: "mantine-focus-always",
  auto: "mantine-focus-auto",
  never: "mantine-focus-never"
};
function getGlobalClassNames({ theme, options, unstyled }) {
  return clsx(
    (options == null ? void 0 : options.focusable) && !unstyled && (theme.focusClassName || FOCUS_CLASS_NAMES[theme.focusRing]),
    (options == null ? void 0 : options.active) && !unstyled && theme.activeClassName
  );
}
exports.FOCUS_CLASS_NAMES = FOCUS_CLASS_NAMES;
exports.getGlobalClassNames = getGlobalClassNames;
