"use client";
import { createSplitProps } from "../../utils/create-split-props.js";
import { ark } from "../factory.js";
import { useColorPickerContext } from "./use-color-picker-context.js";
import { forwardRef } from "react";
import { mergeProps } from "@zag-js/react";
import { jsx } from "react/jsx-runtime";
//#region src/components/color-picker/color-picker-transparency-grid.tsx
var splitTransparencyGridProps = createSplitProps();
var ColorPickerTransparencyGrid = forwardRef((props, ref) => {
	const [gridProps, localProps] = splitTransparencyGridProps(props, ["size"]);
	const mergedProps = mergeProps(useColorPickerContext().getTransparencyGridProps(gridProps), localProps);
	return /* @__PURE__ */ jsx(ark.div, {
		...mergedProps,
		ref
	});
});
ColorPickerTransparencyGrid.displayName = "ColorPickerTransparencyGrid";
//#endregion
export { ColorPickerTransparencyGrid };
