import { cs } from "../utils/styles.js";
import { useStyleConfig } from "../core/theme.js";
import vui from "../core/vui.js";
import Box from "../box/box.js";
import { usePaginationContext } from "./context.js";
import { jsx } from "react/jsx-runtime";

//#region src/pagination/paginationEllipsis.tsx
/** Displays '...' ellipsis for hidden pages. */
const PaginationEllipsis = vui((props, ref) => {
	const { children, className, ...rest } = props;
	const styles = useStyleConfig("Pagination", usePaginationContext());
	return /* @__PURE__ */ jsx(Box, {
		alignItems: "center",
		className: cs("vui-paginationEllipsis", className),
		px: "10px",
		ref,
		...styles.ellipsis,
		...rest,
		children: children ?? "…"
	});
});
PaginationEllipsis.displayName = "PaginationEllipsis";

//#endregion
export { PaginationEllipsis as default };
globalThis.__vuiVersion__ = "4.0.0-beta.1"
//# sourceMappingURL=paginationEllipsis.js.map