"use client";
import { createSplitProps } from "../../utils/create-split-props.js";
import { ark } from "../factory.js";
import { useDatePickerContext } from "./use-date-picker-context.js";
import { forwardRef } from "react";
import { mergeProps } from "@zag-js/react";
import { jsx } from "react/jsx-runtime";
//#region src/components/date-picker/date-picker-week-number-cell.tsx
var splitWeekNumberCellProps = createSplitProps();
var DatePickerWeekNumberCell = forwardRef((props, ref) => {
	const [cellProps, localProps] = splitWeekNumberCellProps(props, ["weekIndex", "week"]);
	const mergedProps = mergeProps(useDatePickerContext().getWeekNumberCellProps(cellProps), localProps);
	return /* @__PURE__ */ jsx(ark.td, {
		...mergedProps,
		ref
	});
});
DatePickerWeekNumberCell.displayName = "DatePickerWeekNumberCell";
//#endregion
export { DatePickerWeekNumberCell };
