@nearform/quantum 1.0.0 → 1.0.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/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
  {
@@ -6768,7 +6768,14 @@ var SelectContent = React22.forwardRef((_a, ref) => {
6768
6768
  "p-1",
6769
6769
  position === "popper" && "max-h-[var(--radix-select-content-available-height)] w-full min-w-[var(--radix-select-trigger-width)]"
6770
6770
  ),
6771
- children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ScrollArea2.Viewport, { className: "w-full h-full", children })
6771
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
6772
+ ScrollArea2.Viewport,
6773
+ {
6774
+ className: "w-full h-full",
6775
+ style: { overflowY: "auto" },
6776
+ children
6777
+ }
6778
+ )
6772
6779
  }
6773
6780
  ),
6774
6781
  /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ScrollArea2.Scrollbar, { orientation: "vertical", className: "w-3 pr-1 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ScrollArea2.Thumb, { className: "bg-grey-200 w-2 rounded-lg" }) })