"use client";
const require_create_split_props = require("../../utils/create-split-props.cjs");
const require_factory = require("../factory.cjs");
const require_use_floating_panel_context = require("./use-floating-panel-context.cjs");
let react = require("react");
let _zag_js_react = require("@zag-js/react");
let react_jsx_runtime = require("react/jsx-runtime");
//#region src/components/floating-panel/floating-panel-stage-trigger.tsx
var splitStageTriggerProps = require_create_split_props.createSplitProps();
var FloatingPanelStageTrigger = (0, react.forwardRef)((props, ref) => {
	const [stage, localProps] = splitStageTriggerProps(props, ["stage"]);
	const mergedProps = (0, _zag_js_react.mergeProps)(require_use_floating_panel_context.useFloatingPanelContext().getStageTriggerProps(stage), localProps);
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.ark.button, {
		...mergedProps,
		ref
	});
});
FloatingPanelStageTrigger.displayName = "FloatingPanelStageTrigger";
//#endregion
exports.FloatingPanelStageTrigger = FloatingPanelStageTrigger;
