import { t as e } from "./utils-B7XIe3qq.js";
import { t } from "./createLucideIcon-wKpAnzBe.js";
import { t as n } from "./chevron-right-DuHRAn8w.js";
import { t as r } from "./ellipsis-QzwbUxFu.js";
import "react";
import { jsx as i, jsxs as a } from "react/jsx-runtime";
var o = t("chevron-left", [["path", {
	d: "m15 18-6-6 6-6",
	key: "1wnfg3"
}]]);
//#endregion
//#region src/react/primitives/pagination.tsx
function s({ className: t, ...n }) {
	return /* @__PURE__ */ i("nav", {
		"data-slot": "pagination",
		role: "navigation",
		"aria-label": "Pagination",
		className: e("mx-auto flex w-full justify-center", t),
		...n
	});
}
function c({ className: t, ...n }) {
	return /* @__PURE__ */ i("ul", {
		"data-slot": "pagination-content",
		className: e("flex flex-row items-center gap-1", t),
		...n
	});
}
function l({ className: t, ...n }) {
	return /* @__PURE__ */ i("li", {
		"data-slot": "pagination-item",
		className: e("", t),
		...n
	});
}
function u({ className: t, isActive: n, ...r }) {
	return /* @__PURE__ */ i("button", {
		"data-slot": "pagination-link",
		type: "button",
		"aria-current": n === !0 ? "page" : void 0,
		className: e("inline-flex size-9 items-center justify-center rounded-lg text-sm font-medium transition-colors", "outline-none focus-visible:ring-2 focus-visible:ring-primary/50", n === !0 ? "bg-primary text-primary-foreground shadow-glow" : "text-foreground-secondary hover:bg-glass-hover hover:text-foreground border border-transparent hover:border-border-glass", t),
		...r
	});
}
function d({ className: t, ...n }) {
	return /* @__PURE__ */ a("button", {
		"data-slot": "pagination-previous",
		type: "button",
		"aria-label": "Go to previous page",
		className: e("inline-flex h-9 items-center justify-center gap-1 rounded-lg px-3 text-sm font-medium transition-colors", "text-foreground-secondary hover:bg-glass-hover hover:text-foreground", "outline-none focus-visible:ring-2 focus-visible:ring-primary/50", "disabled:pointer-events-none disabled:opacity-50", t),
		...n,
		children: [/* @__PURE__ */ i(o, { className: "size-4" }), /* @__PURE__ */ i("span", { children: "Previous" })]
	});
}
function f({ className: t, ...r }) {
	return /* @__PURE__ */ a("button", {
		"data-slot": "pagination-next",
		type: "button",
		"aria-label": "Go to next page",
		className: e("inline-flex h-9 items-center justify-center gap-1 rounded-lg px-3 text-sm font-medium transition-colors", "text-foreground-secondary hover:bg-glass-hover hover:text-foreground", "outline-none focus-visible:ring-2 focus-visible:ring-primary/50", "disabled:pointer-events-none disabled:opacity-50", t),
		...r,
		children: [/* @__PURE__ */ i("span", { children: "Next" }), /* @__PURE__ */ i(n, { className: "size-4" })]
	});
}
function p({ className: t, ...n }) {
	return /* @__PURE__ */ a("span", {
		"data-slot": "pagination-ellipsis",
		"aria-hidden": !0,
		className: e("flex size-9 items-center justify-center text-foreground-muted", t),
		...n,
		children: [/* @__PURE__ */ i(r, { className: "size-4" }), /* @__PURE__ */ i("span", {
			className: "sr-only",
			children: "More pages"
		})]
	});
}
//#endregion
export { u as a, l as i, c as n, f as o, p as r, d as s, s as t };

//# sourceMappingURL=pagination-BmFjVnmV.js.map