@algorithm-shift/design-system 1.2.48 → 1.2.50
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.mjs
CHANGED
|
@@ -2171,13 +2171,13 @@ var CustomPagination = ({
|
|
|
2171
2171
|
}
|
|
2172
2172
|
};
|
|
2173
2173
|
const pageNumbers = getPageNumbers();
|
|
2174
|
-
return /* @__PURE__ */ jsxs26("div", { className: "flex flex-
|
|
2174
|
+
return /* @__PURE__ */ jsxs26("div", { className: "flex flex-row gap-1 w-full items-center justify-between", children: [
|
|
2175
2175
|
/* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-2", children: [
|
|
2176
|
-
/* @__PURE__ */ jsx43("
|
|
2176
|
+
/* @__PURE__ */ jsx43("p", { className: "text-sm text-muted-foreground whitespace-nowrap", children: "Items per page:" }),
|
|
2177
2177
|
/* @__PURE__ */ jsxs26(
|
|
2178
2178
|
Select,
|
|
2179
2179
|
{
|
|
2180
|
-
|
|
2180
|
+
defaultValue: String(perPage),
|
|
2181
2181
|
onValueChange: (value) => {
|
|
2182
2182
|
onPageChange({ page: 1, itemsPerPage: Number(value) });
|
|
2183
2183
|
},
|
|
@@ -2193,7 +2193,7 @@ var CustomPagination = ({
|
|
|
2193
2193
|
}
|
|
2194
2194
|
)
|
|
2195
2195
|
] }),
|
|
2196
|
-
/* @__PURE__ */ jsx43(Pagination, { children: /* @__PURE__ */ jsxs26(PaginationContent, { children: [
|
|
2196
|
+
/* @__PURE__ */ jsx43(Pagination, { className: "justify-end", children: /* @__PURE__ */ jsxs26(PaginationContent, { children: [
|
|
2197
2197
|
/* @__PURE__ */ jsx43(PaginationItem, { children: /* @__PURE__ */ jsx43(
|
|
2198
2198
|
PaginationPrevious,
|
|
2199
2199
|
{
|