@algorithm-shift/design-system 1.2.48 → 1.2.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2256,13 +2256,13 @@ var CustomPagination = ({
|
|
|
2256
2256
|
}
|
|
2257
2257
|
};
|
|
2258
2258
|
const pageNumbers = getPageNumbers();
|
|
2259
|
-
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex flex-
|
|
2259
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex flex-row gap-1 w-full items-center justify-between", children: [
|
|
2260
2260
|
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
2261
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("
|
|
2261
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: "text-sm text-muted-foreground whitespace-nowrap", children: "Items per page:" }),
|
|
2262
2262
|
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
2263
2263
|
Select,
|
|
2264
2264
|
{
|
|
2265
|
-
|
|
2265
|
+
defaultValue: String(perPage),
|
|
2266
2266
|
onValueChange: (value) => {
|
|
2267
2267
|
onPageChange({ page: 1, itemsPerPage: Number(value) });
|
|
2268
2268
|
},
|
|
@@ -2278,7 +2278,7 @@ var CustomPagination = ({
|
|
|
2278
2278
|
}
|
|
2279
2279
|
)
|
|
2280
2280
|
] }),
|
|
2281
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Pagination, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(PaginationContent, { children: [
|
|
2281
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Pagination, { className: "flex-end", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(PaginationContent, { children: [
|
|
2282
2282
|
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
2283
2283
|
PaginationPrevious,
|
|
2284
2284
|
{
|