import { cs } from "../utils/styles.js";
import "../utils/index.js";
import { useStyleConfig } from "../core/theme.js";
import { vui } from "../core/vui.js";
import "../core/index.js";
import popoverContent_default from "../popover/popoverContent.js";
import "../popover/index.js";
import { useSelectContext } from "./context.js";
import { jsx } from "react/jsx-runtime";

//#region src/select/selectContent.tsx
/** Extends PopoverContent to display given content is an overlaying box. */
const SelectContent = vui((props, ref) => {
	const { className, ...rest } = props;
	const styles = useStyleConfig("Select", useSelectContext());
	return /* @__PURE__ */ jsx(popoverContent_default, {
		className: cs("vui-selectContent", className),
		column: true,
		py: 1,
		ref,
		...styles.content,
		...rest
	});
});
SelectContent.displayName = "SelectContent";
var selectContent_default = SelectContent;

//#endregion
export { SelectContent, selectContent_default as default };
globalThis.__vuiVersion__ = "4.0.0-beta.1"
//# sourceMappingURL=selectContent.js.map