"use client";
const require_factory = require("../factory.cjs");
const require_use_color_picker_area_props_context = require("./use-color-picker-area-props-context.cjs");
const require_use_color_picker_context = require("./use-color-picker-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/color-picker/color-picker-area-background.tsx
var ColorPickerAreaBackground = (0, react.forwardRef)((props, ref) => {
	const colorPicker = require_use_color_picker_context.useColorPickerContext();
	const areaProps = require_use_color_picker_area_props_context.useColorPickerAreaPropsContext();
	const mergedProps = (0, _zag_js_react.mergeProps)(colorPicker.getAreaBackgroundProps(areaProps), props);
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.ark.div, {
		...mergedProps,
		ref
	});
});
ColorPickerAreaBackground.displayName = "ColorPickerAreaBackground";
//#endregion
exports.ColorPickerAreaBackground = ColorPickerAreaBackground;
