"use client";
import { jsx } from "react/jsx-runtime";
import * as React from "react";
import { cn } from "@open-mercato/shared/lib/utils";
import {
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectLabel,
  SelectSeparator,
  SelectTrigger,
  SelectValue
} from "./select.js";
const InlineSelectTrigger = React.forwardRef(({ className, size = "sm", showBorderOnHover = true, children, ...props }, ref) => /* @__PURE__ */ jsx(
  SelectTrigger,
  {
    ref,
    size,
    className: cn(
      "border-transparent bg-transparent shadow-none",
      showBorderOnHover ? "hover:border-input hover:bg-muted/40" : "hover:bg-transparent",
      className
    ),
    "data-slot": "inline-select-trigger",
    ...props,
    children
  }
));
InlineSelectTrigger.displayName = "InlineSelectTrigger";
export {
  InlineSelectTrigger,
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectLabel,
  SelectSeparator,
  SelectValue
};
//# sourceMappingURL=inline-select.js.map
