"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 factory = require("../../../core/factory/factory.cjs");
const Popover = require("../../Popover/Popover.cjs");
const Combobox_context = require("../Combobox.context.cjs");
const Combobox_module_css = require("../Combobox.module.css.cjs");
const defaultProps = {};
const ComboboxDropdown = factory.factory((props, ref) => {
  const { classNames, styles, className, style, hidden, ...others } = useProps.useProps(
    "ComboboxDropdown",
    defaultProps,
    props
  );
  const ctx = Combobox_context.useComboboxContext();
  return /* @__PURE__ */ jsxRuntime.jsx(
    Popover.Popover.Dropdown,
    {
      ...others,
      ref,
      role: "presentation",
      "data-hidden": hidden || void 0,
      ...ctx.getStyles("dropdown", { className, style, classNames, styles })
    }
  );
});
ComboboxDropdown.classes = Combobox_module_css.default;
ComboboxDropdown.displayName = "@mantine/core/ComboboxDropdown";
exports.ComboboxDropdown = ComboboxDropdown;
