@nearform/quantum 1.0.0 → 1.0.1
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 +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -628,7 +628,7 @@ var import_class_variance_authority2 = require("class-variance-authority");
|
|
|
628
628
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
629
629
|
var buttonVariants = (0, import_class_variance_authority2.cva)(
|
|
630
630
|
[
|
|
631
|
-
"inline-flex items-center",
|
|
631
|
+
"inline-flex items-center justify-center",
|
|
632
632
|
"rounded-lg",
|
|
633
633
|
"transition-colors",
|
|
634
634
|
"focus-visible:outline-none",
|
|
@@ -1578,7 +1578,7 @@ var PageNumberActiveStyles = (0, import_class_variance_authority11.cva)([
|
|
|
1578
1578
|
"dark:hover:text-grey-900"
|
|
1579
1579
|
]);
|
|
1580
1580
|
var Pagination = import_react5.default.forwardRef(
|
|
1581
|
-
(_a) => {
|
|
1581
|
+
(_a, ref) => {
|
|
1582
1582
|
var _b = _a, {
|
|
1583
1583
|
className,
|
|
1584
1584
|
currentPage,
|
|
@@ -1642,7 +1642,7 @@ var Pagination = import_react5.default.forwardRef(
|
|
|
1642
1642
|
if (currentPage !== 1)
|
|
1643
1643
|
setCurrentPage(currentPage - 1);
|
|
1644
1644
|
};
|
|
1645
|
-
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("nav", __spreadProps(__spreadValues({ className: cn(PaginationVariants(), className) }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("ul", { children: [
|
|
1645
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("nav", __spreadProps(__spreadValues({ className: cn(PaginationVariants(), className), ref }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("ul", { children: [
|
|
1646
1646
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { className: "hover:bg-background px-4 dark:hover:bg-background-dark rounded-sm", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1647
1647
|
"button",
|
|
1648
1648
|
{
|