@aivenio/aquarium 1.30.0 → 1.32.0

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/system.cjs CHANGED
@@ -7153,7 +7153,7 @@ var ghostButtonStyle = tw(
7153
7153
  );
7154
7154
  var linkStyle = classNames(
7155
7155
  ghostButtonStyle,
7156
- tw("visited:text-primary-80 underline hover:no-underline focusable")
7156
+ tw("visited:text-primary-80 no-underline hover:underline focusable")
7157
7157
  );
7158
7158
 
7159
7159
  // src/utils/string.ts
@@ -7839,7 +7839,7 @@ var asCrumb = (Component, displayName, options = { isActive: false }) => {
7839
7839
  }), /* @__PURE__ */ import_react28.default.createElement("span", {
7840
7840
  className: (0, import_classnames3.default)(
7841
7841
  tw("flex flex-row flex-nowrap items-center gap-x-3 whitespace-nowrap", {
7842
- "text-primary-80 hover:text-primary-70 underline hover:no-underline": !options.isActive,
7842
+ "text-primary-80 hover:text-primary-70 no-underline hover:underline": !options.isActive,
7843
7843
  "text-grey-90": options.isActive
7844
7844
  })
7845
7845
  )
@@ -10033,7 +10033,10 @@ var Pagination = ({
10033
10033
  setValue(currentPage);
10034
10034
  }, [currentPage]);
10035
10035
  return /* @__PURE__ */ import_react59.default.createElement(Box, {
10036
- className: classNames("Aquarium-Pagination", tw("grid grid-cols-[200px_1fr_200px]")),
10036
+ className: classNames(
10037
+ "Aquarium-Pagination",
10038
+ tw({ "grid grid-cols-[200px_1fr_200px]": !!pageSizes, "flex flex-nowrap justify-center": !pageSizes })
10039
+ ),
10037
10040
  backgroundColor: "grey-0",
10038
10041
  padding: "4"
10039
10042
  }, pageSizes && onPageSizeChange && typeof pageSize === "number" ? /* @__PURE__ */ import_react59.default.createElement(Box, {
@@ -10105,7 +10108,7 @@ var Pagination = ({
10105
10108
  onClick: () => onPageChange(totalPages),
10106
10109
  icon: import_chevronForward2.default,
10107
10110
  disabled: !hasNextPage
10108
- })), /* @__PURE__ */ import_react59.default.createElement("div", null));
10111
+ })), pageSizes && /* @__PURE__ */ import_react59.default.createElement("div", null));
10109
10112
  };
10110
10113
 
10111
10114
  // src/molecules/Pagination/usePagination.tsx
package/dist/system.mjs CHANGED
@@ -7010,7 +7010,7 @@ var ghostButtonStyle = tw(
7010
7010
  );
7011
7011
  var linkStyle = classNames(
7012
7012
  ghostButtonStyle,
7013
- tw("visited:text-primary-80 underline hover:no-underline focusable")
7013
+ tw("visited:text-primary-80 no-underline hover:underline focusable")
7014
7014
  );
7015
7015
 
7016
7016
  // src/utils/string.ts
@@ -7696,7 +7696,7 @@ var asCrumb = (Component, displayName, options = { isActive: false }) => {
7696
7696
  }), /* @__PURE__ */ React24.createElement("span", {
7697
7697
  className: classNames3(
7698
7698
  tw("flex flex-row flex-nowrap items-center gap-x-3 whitespace-nowrap", {
7699
- "text-primary-80 hover:text-primary-70 underline hover:no-underline": !options.isActive,
7699
+ "text-primary-80 hover:text-primary-70 no-underline hover:underline": !options.isActive,
7700
7700
  "text-grey-90": options.isActive
7701
7701
  })
7702
7702
  )
@@ -9890,7 +9890,10 @@ var Pagination = ({
9890
9890
  setValue(currentPage);
9891
9891
  }, [currentPage]);
9892
9892
  return /* @__PURE__ */ React54.createElement(Box, {
9893
- className: classNames("Aquarium-Pagination", tw("grid grid-cols-[200px_1fr_200px]")),
9893
+ className: classNames(
9894
+ "Aquarium-Pagination",
9895
+ tw({ "grid grid-cols-[200px_1fr_200px]": !!pageSizes, "flex flex-nowrap justify-center": !pageSizes })
9896
+ ),
9894
9897
  backgroundColor: "grey-0",
9895
9898
  padding: "4"
9896
9899
  }, pageSizes && onPageSizeChange && typeof pageSize === "number" ? /* @__PURE__ */ React54.createElement(Box, {
@@ -9962,7 +9965,7 @@ var Pagination = ({
9962
9965
  onClick: () => onPageChange(totalPages),
9963
9966
  icon: import_chevronForward2.default,
9964
9967
  disabled: !hasNextPage
9965
- })), /* @__PURE__ */ React54.createElement("div", null));
9968
+ })), pageSizes && /* @__PURE__ */ React54.createElement("div", null));
9966
9969
  };
9967
9970
 
9968
9971
  // src/molecules/Pagination/usePagination.tsx