import { cs } from "../utils/styles.js";
import "../utils/index.js";
import { useStyleConfig } from "../core/theme.js";
import { vui } from "../core/vui.js";
import box_default from "../box/box.js";
import "../box/index.js";
import "../core/index.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_default, {
		alignItems: "center",
		className: cs("vui-paginationEllipsis", className),
		px: "10px",
		ref,
		...styles.ellipsis,
		...rest,
		children: children ?? "…"
	});
});
PaginationEllipsis.displayName = "PaginationEllipsis";
var paginationEllipsis_default = PaginationEllipsis;

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