"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
require("react");
require("clsx");
const useProps = require("../../core/MantineProvider/use-props/use-props.cjs");
const useStyles = require("../../core/styles-api/use-styles/use-styles.cjs");
const Box = require("../../core/Box/Box.cjs");
const factory = require("../../core/factory/factory.cjs");
const VisuallyHidden_module_css = require("./VisuallyHidden.module.css.cjs");
const defaultProps = {};
const VisuallyHidden = factory.factory((_props, ref) => {
  const props = useProps.useProps("VisuallyHidden", defaultProps, _props);
  const { classNames, className, style, styles, unstyled, vars, ...others } = props;
  const getStyles = useStyles.useStyles({
    name: "VisuallyHidden",
    classes: VisuallyHidden_module_css.default,
    props,
    className,
    style,
    classNames,
    styles,
    unstyled
  });
  return /* @__PURE__ */ jsxRuntime.jsx(Box.Box, { component: "span", ref, ...getStyles("root"), ...others });
});
VisuallyHidden.classes = VisuallyHidden_module_css.default;
VisuallyHidden.displayName = "@mantine/core/VisuallyHidden";
exports.VisuallyHidden = VisuallyHidden;
