next-data-kit 8.2.0 → 8.2.2
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/client/components/data-kit-table.d.ts.map +1 -1
- package/dist/client/components/data-kit-table.js +1 -1
- package/dist/client/components/data-kit-table.js.map +1 -1
- package/dist/client/components/ui/pagination.d.ts.map +1 -1
- package/dist/client/components/ui/pagination.js +1 -1
- package/dist/client/components/ui/pagination.js.map +1 -1
- package/dist/client/components/ui/switch.js +1 -1
- package/dist/client/components/ui/switch.js.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1003,7 +1003,7 @@ function Pagination({ className, ...props }) {
|
|
|
1003
1003
|
role: "navigation",
|
|
1004
1004
|
"aria-label": "pagination",
|
|
1005
1005
|
"data-slot": "pagination",
|
|
1006
|
-
className: cn("
|
|
1006
|
+
className: cn("flex", className),
|
|
1007
1007
|
...props
|
|
1008
1008
|
}
|
|
1009
1009
|
);
|
|
@@ -1499,7 +1499,7 @@ var DataKitRoot = (props) => {
|
|
|
1499
1499
|
] }, rowId);
|
|
1500
1500
|
}) })
|
|
1501
1501
|
] }) }),
|
|
1502
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between
|
|
1502
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4 justify-between", children: [
|
|
1503
1503
|
/* @__PURE__ */ jsxs("div", { className: "min-w-[140px]", children: [
|
|
1504
1504
|
/* @__PURE__ */ jsxs("p", { className: "text-sm text-muted-foreground", children: [
|
|
1505
1505
|
"Page ",
|
|
@@ -1513,7 +1513,7 @@ var DataKitRoot = (props) => {
|
|
|
1513
1513
|
] })
|
|
1514
1514
|
] }),
|
|
1515
1515
|
/* @__PURE__ */ jsx("div", { className: "flex-1" }),
|
|
1516
|
-
paginationType === "SIMPLE" ? /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
1516
|
+
/* @__PURE__ */ jsx("div", { className: "flex justify-end w-full", children: paginationType === "SIMPLE" ? /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
1517
1517
|
/* @__PURE__ */ jsx(
|
|
1518
1518
|
Button,
|
|
1519
1519
|
{
|
|
@@ -1534,7 +1534,7 @@ var DataKitRoot = (props) => {
|
|
|
1534
1534
|
children: /* @__PURE__ */ jsx(ChevronRight, { className: "size-4" })
|
|
1535
1535
|
}
|
|
1536
1536
|
)
|
|
1537
|
-
] }) : /* @__PURE__ */ jsx(Pagination, { className: "
|
|
1537
|
+
] }) : /* @__PURE__ */ jsx(Pagination, { className: "w-auto", children: /* @__PURE__ */ jsxs(PaginationContent, { children: [
|
|
1538
1538
|
/* @__PURE__ */ jsx(PaginationItem, { className: "hidden sm:block", children: /* @__PURE__ */ jsx(
|
|
1539
1539
|
PaginationPrevious,
|
|
1540
1540
|
{
|
|
@@ -1575,7 +1575,7 @@ var DataKitRoot = (props) => {
|
|
|
1575
1575
|
children: /* @__PURE__ */ jsx(ChevronRight, { className: "size-4" })
|
|
1576
1576
|
}
|
|
1577
1577
|
) })
|
|
1578
|
-
] }) })
|
|
1578
|
+
] }) }) })
|
|
1579
1579
|
] })
|
|
1580
1580
|
] });
|
|
1581
1581
|
};
|