@aivenio/aquarium 1.21.0 → 1.22.0-rc1

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
@@ -714,18 +714,18 @@ var require_tokens = __commonJS({
714
714
  "secondary-10": "#fee8d0",
715
715
  "secondary-5": "#fff3e8",
716
716
  "secondary-0": "#fffbf8",
717
- "primary-100": "#a70045",
718
- "primary-90": "#c60443",
719
- "primary-80": "#e41a4a",
720
- "primary-70": "#ff3554",
721
- "primary-60": "#ff5275",
722
- "primary-50": "#ff6f94",
723
- "primary-40": "#ff8db0",
724
- "primary-30": "#ffa9c9",
725
- "primary-20": "#ffc4de",
726
- "primary-10": "#ffdeef",
727
- "primary-5": "#ffe8f4",
728
- "primary-0": "#fff9fc",
717
+ "primary-100": "0e1652",
718
+ "primary-90": "#222f95",
719
+ "primary-80": "#3545be",
720
+ "primary-70": "#5865cd",
721
+ "primary-60": "#818eec",
722
+ "primary-50": "#000000",
723
+ "primary-40": "#b9c5ef",
724
+ "primary-30": "#000000",
725
+ "primary-20": "#000000",
726
+ "primary-10": "#e3e9ff",
727
+ "primary-5": "#f3f6ff",
728
+ "primary-0": "#ffffff",
729
729
  "grey-20": "#d2d2d6"
730
730
  },
731
731
  typography: {
@@ -5798,18 +5798,18 @@ var tailwind_theme_default = {
5798
5798
  "secondary-10": "var(--aquarium-colors-secondary-10, #fee8d0)",
5799
5799
  "secondary-5": "var(--aquarium-colors-secondary-5, #fff3e8)",
5800
5800
  "secondary-0": "var(--aquarium-colors-secondary-0, #fffbf8)",
5801
- "primary-100": "var(--aquarium-colors-primary-100, #a70045)",
5802
- "primary-90": "var(--aquarium-colors-primary-90, #c60443)",
5803
- "primary-80": "var(--aquarium-colors-primary-80, #e41a4a)",
5804
- "primary-70": "var(--aquarium-colors-primary-70, #ff3554)",
5805
- "primary-60": "var(--aquarium-colors-primary-60, #ff5275)",
5806
- "primary-50": "var(--aquarium-colors-primary-50, #ff6f94)",
5807
- "primary-40": "var(--aquarium-colors-primary-40, #ff8db0)",
5808
- "primary-30": "var(--aquarium-colors-primary-30, #ffa9c9)",
5809
- "primary-20": "var(--aquarium-colors-primary-20, #ffc4de)",
5810
- "primary-10": "var(--aquarium-colors-primary-10, #ffdeef)",
5811
- "primary-5": "var(--aquarium-colors-primary-5, #ffe8f4)",
5812
- "primary-0": "var(--aquarium-colors-primary-0, #fff9fc)",
5801
+ "primary-100": "var(--aquarium-colors-primary-100, 0e1652)",
5802
+ "primary-90": "var(--aquarium-colors-primary-90, #222f95)",
5803
+ "primary-80": "var(--aquarium-colors-primary-80, #3545be)",
5804
+ "primary-70": "var(--aquarium-colors-primary-70, #5865cd)",
5805
+ "primary-60": "var(--aquarium-colors-primary-60, #818eec)",
5806
+ "primary-50": "var(--aquarium-colors-primary-50, #000000)",
5807
+ "primary-40": "var(--aquarium-colors-primary-40, #b9c5ef)",
5808
+ "primary-30": "var(--aquarium-colors-primary-30, #000000)",
5809
+ "primary-20": "var(--aquarium-colors-primary-20, #000000)",
5810
+ "primary-10": "var(--aquarium-colors-primary-10, #e3e9ff)",
5811
+ "primary-5": "var(--aquarium-colors-primary-5, #f3f6ff)",
5812
+ "primary-0": "var(--aquarium-colors-primary-0, #ffffff)",
5813
5813
  "grey-20": "var(--aquarium-colors-grey-20, #d2d2d6)",
5814
5814
  transparent: "var(--aquarium-colors-transparent, transparent)",
5815
5815
  white: "var(--aquarium-colors-white, white)",
@@ -7132,9 +7132,12 @@ var getCommonInputStyles = ({ readOnly, valid }) => tw(
7132
7132
  }
7133
7133
  );
7134
7134
  var ghostButtonStyle = tw(
7135
- "text-primary-80 active:text-primary-70 focus-visible:text-grey-90 hover:text-primary-70 disabled:text-primary-40"
7135
+ "text-primary-80 active:text-primary-70 focus-visible:text-primary-90 hover:text-primary-70 disabled:text-primary-40"
7136
+ );
7137
+ var linkStyle = classNames(
7138
+ ghostButtonStyle,
7139
+ tw("visited:text-primary-80 underline hover:no-underline focusable")
7136
7140
  );
7137
- var linkStyle = classNames(ghostButtonStyle, tw("visited:text-primary-80 focusable"));
7138
7141
 
7139
7142
  // src/utils/string.ts
7140
7143
  var capitalize = (a) => a.charAt(0).toUpperCase() + a.slice(1);
@@ -7144,12 +7147,12 @@ var import_chevronDown3 = __toESM(require_chevronDown());
7144
7147
  var import_loading2 = __toESM(require_loading());
7145
7148
  var COLOR_CLASSNAMES = {
7146
7149
  "primary": tw(
7147
- "text-white bg-primary-80 active:bg-primary-90 active:ring-0 focus-visible:ring-2 focus-visible:ring-primary-100 focus-visible:ring-inset hover:bg-primary-70 disabled:bg-primary-5"
7150
+ "text-white bg-primary-80 active:bg-primary-90 active:ring-0 focus-visible:ring-2 focus-visible:ring-primary-90 focus-visible:ring-inset hover:bg-primary-70 disabled:bg-primary-40"
7148
7151
  ),
7149
7152
  "secondary": tw(
7150
- "text-grey-60 bg-white ring-1 ring-grey-30 ring-inset active:bg-grey-5 active:ring-grey-50 active:text-grey-80",
7151
- "focus-visible:ring-2 focus-visible:ring-grey-50 focus-visible:text-grey-80",
7152
- "hover:ring-grey-50 hover:text-grey-80 disabled:text-grey-30 disabled:bg-grey-0 disabled:ring-grey-20"
7153
+ "text-primary-80 bg-white ring-1 ring-primary-80 ring-inset active:bg-primary-5 active:ring-primary-90 active:text-primary-80",
7154
+ "focus-visible:ring-2 focus-visible:ring-primary-90 focus-visible:text-primary-80",
7155
+ "hover:ring-primary-70 hover:text-primary-70 disabled:text-primary-40 disabled:ring-primary-40"
7153
7156
  ),
7154
7157
  "ghost": ghostButtonStyle,
7155
7158
  "text": ghostButtonStyle,
@@ -7157,15 +7160,12 @@ var COLOR_CLASSNAMES = {
7157
7160
  "text-grey-60 active:text-grey-50 focus-visible:text-grey-80 hover:text-grey-80 disabled:text-grey-30"
7158
7161
  )
7159
7162
  };
7160
- var LoadingSpinner = ({
7161
- size = "20px",
7162
- kind = "primary"
7163
- }) => {
7163
+ var LoadingSpinner = ({ size = "20px" }) => {
7164
7164
  return /* @__PURE__ */ import_react19.default.createElement(InlineIcon, {
7165
7165
  icon: import_loading2.default,
7166
7166
  width: size,
7167
7167
  height: size,
7168
- color: kind === "primary" ? "primary-60" : "grey-60",
7168
+ color: "primary-80",
7169
7169
  "data-testid": "loading-button"
7170
7170
  });
7171
7171
  };
@@ -7263,6 +7263,7 @@ var asButton = (Component, isDropdownButton) => {
7263
7263
  "text-grey-70 p-2 active:text-grey-70 active:bg-transparent hover:text-grey-90 hover:bg-grey-0 focus-visible:text-grey-90 focus-visible:bg-grey-0 disabled:text-grey-20 disabled:bg-transparent": isIconOnlyButton,
7264
7264
  "typography-default-strong": !dense && !isIconOnlyButton && kind !== "text",
7265
7265
  "typography-small-strong": dense && !isIconOnlyButton && kind !== "text",
7266
+ "underline hover:no-underline": kind === "text",
7266
7267
  "py-3 px-4": !dense && isButton,
7267
7268
  "py-2 px-3": dense && isButton,
7268
7269
  "py-3": !dense && isGhost,
@@ -7279,8 +7280,7 @@ var asButton = (Component, isDropdownButton) => {
7279
7280
  className: tw("absolute left-1/2 top-0 bottom-0 flex"),
7280
7281
  style: { transform: "translate(-50%)" }
7281
7282
  }, /* @__PURE__ */ import_react19.default.createElement(LoadingSpinner, {
7282
- size: iconSize,
7283
- kind: kind === "primary" ? "primary" : "secondary"
7283
+ size: iconSize
7284
7284
  })), /* @__PURE__ */ import_react19.default.createElement("div", {
7285
7285
  className: tw({ invisible: loading2 })
7286
7286
  }, buttonContent())) : buttonContent());
@@ -7656,10 +7656,10 @@ var Banner = (_a) => {
7656
7656
  }), children);
7657
7657
  };
7658
7658
  Banner.Title = (_a) => {
7659
- var _b = _a, { children, className, layout, titleVariant = "primary" } = _b, rest = __objRest(_b, ["children", "className", "layout", "titleVariant"]);
7659
+ var _b = _a, { children, className, layout } = _b, rest = __objRest(_b, ["children", "className", "layout"]);
7660
7660
  return /* @__PURE__ */ import_react26.default.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7661
7661
  variant: "subheading",
7662
- color: titleVariant === "secondary" ? "primary-80" : "grey-100",
7662
+ color: "grey-100",
7663
7663
  className: classNames(
7664
7664
  className,
7665
7665
  tw("whitespace-nowrap", {
@@ -7731,8 +7731,7 @@ var createBanner = (displayName, opts = {}) => {
7731
7731
  }, /* @__PURE__ */ import_react27.default.createElement(Banner.ContentContainer, {
7732
7732
  layout
7733
7733
  }, /* @__PURE__ */ import_react27.default.createElement(Banner.Title, {
7734
- layout,
7735
- titleVariant: opts.isOneLineBanner ? "secondary" : "primary"
7734
+ layout
7736
7735
  }, title), /* @__PURE__ */ import_react27.default.createElement(Banner.Description, {
7737
7736
  flexGrow: isDismissable ? false : true
7738
7737
  }, children || description), action && /* @__PURE__ */ import_react27.default.createElement(Banner.Actions, {
@@ -7802,7 +7801,7 @@ var asCrumb = (Component, displayName, options = { isActive: false }) => {
7802
7801
  }), /* @__PURE__ */ import_react28.default.createElement("span", {
7803
7802
  className: (0, import_classnames3.default)(
7804
7803
  tw("flex flex-row flex-nowrap items-center gap-x-3 ", {
7805
- "text-primary-80 hover:text-primary-70": !options.isActive,
7804
+ "text-primary-80 hover:text-primary-70 underline hover:no-underline": !options.isActive,
7806
7805
  "text-grey-90": options.isActive
7807
7806
  })
7808
7807
  )
@@ -8506,7 +8505,7 @@ var Checkbox = import_react39.default.forwardRef(
8506
8505
  var _b = _a, { id, children, name, disabled = false, readOnly = false, indeterminate = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly", "indeterminate"]);
8507
8506
  return /* @__PURE__ */ import_react39.default.createElement("span", {
8508
8507
  className: classNames(tw("inline-flex justify-center items-center self-center relative"), {
8509
- "hover:border-grey-50 peer-checked:border-navyBlue-100": !disabled,
8508
+ "hover:border-grey-50 peer-checked:border-primary-80": !disabled,
8510
8509
  "border-grey-5": disabled
8511
8510
  })
8512
8511
  }, /* @__PURE__ */ import_react39.default.createElement("input", __spreadProps(__spreadValues({
@@ -8517,8 +8516,8 @@ var Checkbox = import_react39.default.forwardRef(
8517
8516
  }, props), {
8518
8517
  className: classNames(
8519
8518
  tw("peer appearance-none outline-none w-5 h-5", "rounded-sm border border-transparent", {
8520
- "cursor-pointer checked:bg-navyBlue-100": !disabled,
8521
- "cursor-not-allowed bg-grey-0": disabled
8519
+ "cursor-pointer checked:bg-primary-80": !disabled,
8520
+ "cursor-not-allowed bg-grey-0 checked:bg-primary-40": disabled
8522
8521
  })
8523
8522
  ),
8524
8523
  readOnly,
@@ -8533,8 +8532,8 @@ var Checkbox = import_react39.default.forwardRef(
8533
8532
  "rounded-sm border border-grey-20 peer-focus:border-info-70"
8534
8533
  ),
8535
8534
  {
8536
- "peer-hover:border-grey-50 peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-navyBlue-100": !disabled,
8537
- "border-grey-5 peer-checked:text-grey-30 peer-checked:[&>path]:stroke-grey-30": disabled
8535
+ "peer-hover:border-grey-50 peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-primary-80": !disabled,
8536
+ "border-grey-5 peer-checked:text-primary-10 peer-checked:[&>path]:stroke-primary-10 peer-checked:border-primary-40": disabled
8538
8537
  }
8539
8538
  )
8540
8539
  }));
@@ -9784,10 +9783,10 @@ var RadioButton = import_react59.default.forwardRef(
9784
9783
  tw(
9785
9784
  "inline-flex justify-center items-center self-center appearance-none",
9786
9785
  "w-5 h-5 p-[3px] rounded-full cursor-pointer border border-grey-20",
9787
- "outline-none focus:border-info-70 checked:bg-navyBlue-100 checked:shadow-whiteInset",
9786
+ "outline-none focus:border-info-70 checked:bg-primary-80 checked:shadow-whiteInset",
9788
9787
  {
9789
- "hover:border-grey-50 checked:border-navyBlue-100": !disabled,
9790
- "cursor-not-allowed border-grey-5 bg-grey-0 checked:bg-opacity-40": disabled
9788
+ "hover:border-grey-50 checked:border-primary-80": !disabled,
9789
+ "cursor-not-allowed border-grey-5 bg-grey-0 checked:bg-opacity-40 checked:bg-primary-40 checked:border-primary-40": disabled
9791
9790
  }
9792
9791
  )
9793
9792
  ),
@@ -10992,12 +10991,12 @@ var asTabItem = (Component, displayName, { defaultUnderlineHidden } = {}) => {
10992
10991
  if (status === "warning") {
10993
10992
  statusIcon = /* @__PURE__ */ import_react81.default.createElement(InlineIcon, {
10994
10993
  icon: import_warningSign4.default,
10995
- color: "warning-80"
10994
+ color: selected ? void 0 : "warning-80"
10996
10995
  });
10997
10996
  } else if (status === "error") {
10998
10997
  statusIcon = /* @__PURE__ */ import_react81.default.createElement(InlineIcon, {
10999
10998
  icon: import_warningSign4.default,
11000
- color: "error-50"
10999
+ color: selected ? void 0 : "error-50"
11001
11000
  });
11002
11001
  }
11003
11002
  const tab = /* @__PURE__ */ import_react81.default.createElement(Component, __spreadValues({
@@ -12990,8 +12989,8 @@ var Switch = import_react104.default.forwardRef(
12990
12989
  "outline-none focus:border border-info-70 bg-grey-20",
12991
12990
  "cursor-pointer disabled:cursor-not-allowed",
12992
12991
  {
12993
- "hover:bg-grey-30 checked:bg-navyBlue-100 hover:checked:bg-navyBlue-100": !disabled,
12994
- "bg-grey-5 checked:opacity-40": disabled
12992
+ "hover:bg-grey-30 checked:bg-primary-80 hover:checked:bg-primary-80": !disabled,
12993
+ "bg-grey-5 checked:opacity-40 checked:bg-primary-40": disabled
12995
12994
  }
12996
12995
  )
12997
12996
  ),
package/dist/system.mjs CHANGED
@@ -712,18 +712,18 @@ var require_tokens = __commonJS({
712
712
  "secondary-10": "#fee8d0",
713
713
  "secondary-5": "#fff3e8",
714
714
  "secondary-0": "#fffbf8",
715
- "primary-100": "#a70045",
716
- "primary-90": "#c60443",
717
- "primary-80": "#e41a4a",
718
- "primary-70": "#ff3554",
719
- "primary-60": "#ff5275",
720
- "primary-50": "#ff6f94",
721
- "primary-40": "#ff8db0",
722
- "primary-30": "#ffa9c9",
723
- "primary-20": "#ffc4de",
724
- "primary-10": "#ffdeef",
725
- "primary-5": "#ffe8f4",
726
- "primary-0": "#fff9fc",
715
+ "primary-100": "0e1652",
716
+ "primary-90": "#222f95",
717
+ "primary-80": "#3545be",
718
+ "primary-70": "#5865cd",
719
+ "primary-60": "#818eec",
720
+ "primary-50": "#000000",
721
+ "primary-40": "#b9c5ef",
722
+ "primary-30": "#000000",
723
+ "primary-20": "#000000",
724
+ "primary-10": "#e3e9ff",
725
+ "primary-5": "#f3f6ff",
726
+ "primary-0": "#ffffff",
727
727
  "grey-20": "#d2d2d6"
728
728
  },
729
729
  typography: {
@@ -5656,18 +5656,18 @@ var tailwind_theme_default = {
5656
5656
  "secondary-10": "var(--aquarium-colors-secondary-10, #fee8d0)",
5657
5657
  "secondary-5": "var(--aquarium-colors-secondary-5, #fff3e8)",
5658
5658
  "secondary-0": "var(--aquarium-colors-secondary-0, #fffbf8)",
5659
- "primary-100": "var(--aquarium-colors-primary-100, #a70045)",
5660
- "primary-90": "var(--aquarium-colors-primary-90, #c60443)",
5661
- "primary-80": "var(--aquarium-colors-primary-80, #e41a4a)",
5662
- "primary-70": "var(--aquarium-colors-primary-70, #ff3554)",
5663
- "primary-60": "var(--aquarium-colors-primary-60, #ff5275)",
5664
- "primary-50": "var(--aquarium-colors-primary-50, #ff6f94)",
5665
- "primary-40": "var(--aquarium-colors-primary-40, #ff8db0)",
5666
- "primary-30": "var(--aquarium-colors-primary-30, #ffa9c9)",
5667
- "primary-20": "var(--aquarium-colors-primary-20, #ffc4de)",
5668
- "primary-10": "var(--aquarium-colors-primary-10, #ffdeef)",
5669
- "primary-5": "var(--aquarium-colors-primary-5, #ffe8f4)",
5670
- "primary-0": "var(--aquarium-colors-primary-0, #fff9fc)",
5659
+ "primary-100": "var(--aquarium-colors-primary-100, 0e1652)",
5660
+ "primary-90": "var(--aquarium-colors-primary-90, #222f95)",
5661
+ "primary-80": "var(--aquarium-colors-primary-80, #3545be)",
5662
+ "primary-70": "var(--aquarium-colors-primary-70, #5865cd)",
5663
+ "primary-60": "var(--aquarium-colors-primary-60, #818eec)",
5664
+ "primary-50": "var(--aquarium-colors-primary-50, #000000)",
5665
+ "primary-40": "var(--aquarium-colors-primary-40, #b9c5ef)",
5666
+ "primary-30": "var(--aquarium-colors-primary-30, #000000)",
5667
+ "primary-20": "var(--aquarium-colors-primary-20, #000000)",
5668
+ "primary-10": "var(--aquarium-colors-primary-10, #e3e9ff)",
5669
+ "primary-5": "var(--aquarium-colors-primary-5, #f3f6ff)",
5670
+ "primary-0": "var(--aquarium-colors-primary-0, #ffffff)",
5671
5671
  "grey-20": "var(--aquarium-colors-grey-20, #d2d2d6)",
5672
5672
  transparent: "var(--aquarium-colors-transparent, transparent)",
5673
5673
  white: "var(--aquarium-colors-white, white)",
@@ -6990,9 +6990,12 @@ var getCommonInputStyles = ({ readOnly, valid }) => tw(
6990
6990
  }
6991
6991
  );
6992
6992
  var ghostButtonStyle = tw(
6993
- "text-primary-80 active:text-primary-70 focus-visible:text-grey-90 hover:text-primary-70 disabled:text-primary-40"
6993
+ "text-primary-80 active:text-primary-70 focus-visible:text-primary-90 hover:text-primary-70 disabled:text-primary-40"
6994
+ );
6995
+ var linkStyle = classNames(
6996
+ ghostButtonStyle,
6997
+ tw("visited:text-primary-80 underline hover:no-underline focusable")
6994
6998
  );
6995
- var linkStyle = classNames(ghostButtonStyle, tw("visited:text-primary-80 focusable"));
6996
6999
 
6997
7000
  // src/utils/string.ts
6998
7001
  var capitalize = (a) => a.charAt(0).toUpperCase() + a.slice(1);
@@ -7002,12 +7005,12 @@ var import_chevronDown3 = __toESM(require_chevronDown());
7002
7005
  var import_loading2 = __toESM(require_loading());
7003
7006
  var COLOR_CLASSNAMES = {
7004
7007
  "primary": tw(
7005
- "text-white bg-primary-80 active:bg-primary-90 active:ring-0 focus-visible:ring-2 focus-visible:ring-primary-100 focus-visible:ring-inset hover:bg-primary-70 disabled:bg-primary-5"
7008
+ "text-white bg-primary-80 active:bg-primary-90 active:ring-0 focus-visible:ring-2 focus-visible:ring-primary-90 focus-visible:ring-inset hover:bg-primary-70 disabled:bg-primary-40"
7006
7009
  ),
7007
7010
  "secondary": tw(
7008
- "text-grey-60 bg-white ring-1 ring-grey-30 ring-inset active:bg-grey-5 active:ring-grey-50 active:text-grey-80",
7009
- "focus-visible:ring-2 focus-visible:ring-grey-50 focus-visible:text-grey-80",
7010
- "hover:ring-grey-50 hover:text-grey-80 disabled:text-grey-30 disabled:bg-grey-0 disabled:ring-grey-20"
7011
+ "text-primary-80 bg-white ring-1 ring-primary-80 ring-inset active:bg-primary-5 active:ring-primary-90 active:text-primary-80",
7012
+ "focus-visible:ring-2 focus-visible:ring-primary-90 focus-visible:text-primary-80",
7013
+ "hover:ring-primary-70 hover:text-primary-70 disabled:text-primary-40 disabled:ring-primary-40"
7011
7014
  ),
7012
7015
  "ghost": ghostButtonStyle,
7013
7016
  "text": ghostButtonStyle,
@@ -7015,15 +7018,12 @@ var COLOR_CLASSNAMES = {
7015
7018
  "text-grey-60 active:text-grey-50 focus-visible:text-grey-80 hover:text-grey-80 disabled:text-grey-30"
7016
7019
  )
7017
7020
  };
7018
- var LoadingSpinner = ({
7019
- size = "20px",
7020
- kind = "primary"
7021
- }) => {
7021
+ var LoadingSpinner = ({ size = "20px" }) => {
7022
7022
  return /* @__PURE__ */ React15.createElement(InlineIcon, {
7023
7023
  icon: import_loading2.default,
7024
7024
  width: size,
7025
7025
  height: size,
7026
- color: kind === "primary" ? "primary-60" : "grey-60",
7026
+ color: "primary-80",
7027
7027
  "data-testid": "loading-button"
7028
7028
  });
7029
7029
  };
@@ -7121,6 +7121,7 @@ var asButton = (Component, isDropdownButton) => {
7121
7121
  "text-grey-70 p-2 active:text-grey-70 active:bg-transparent hover:text-grey-90 hover:bg-grey-0 focus-visible:text-grey-90 focus-visible:bg-grey-0 disabled:text-grey-20 disabled:bg-transparent": isIconOnlyButton,
7122
7122
  "typography-default-strong": !dense && !isIconOnlyButton && kind !== "text",
7123
7123
  "typography-small-strong": dense && !isIconOnlyButton && kind !== "text",
7124
+ "underline hover:no-underline": kind === "text",
7124
7125
  "py-3 px-4": !dense && isButton,
7125
7126
  "py-2 px-3": dense && isButton,
7126
7127
  "py-3": !dense && isGhost,
@@ -7137,8 +7138,7 @@ var asButton = (Component, isDropdownButton) => {
7137
7138
  className: tw("absolute left-1/2 top-0 bottom-0 flex"),
7138
7139
  style: { transform: "translate(-50%)" }
7139
7140
  }, /* @__PURE__ */ React15.createElement(LoadingSpinner, {
7140
- size: iconSize,
7141
- kind: kind === "primary" ? "primary" : "secondary"
7141
+ size: iconSize
7142
7142
  })), /* @__PURE__ */ React15.createElement("div", {
7143
7143
  className: tw({ invisible: loading2 })
7144
7144
  }, buttonContent())) : buttonContent());
@@ -7514,10 +7514,10 @@ var Banner = (_a) => {
7514
7514
  }), children);
7515
7515
  };
7516
7516
  Banner.Title = (_a) => {
7517
- var _b = _a, { children, className, layout, titleVariant = "primary" } = _b, rest = __objRest(_b, ["children", "className", "layout", "titleVariant"]);
7517
+ var _b = _a, { children, className, layout } = _b, rest = __objRest(_b, ["children", "className", "layout"]);
7518
7518
  return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7519
7519
  variant: "subheading",
7520
- color: titleVariant === "secondary" ? "primary-80" : "grey-100",
7520
+ color: "grey-100",
7521
7521
  className: classNames(
7522
7522
  className,
7523
7523
  tw("whitespace-nowrap", {
@@ -7589,8 +7589,7 @@ var createBanner = (displayName, opts = {}) => {
7589
7589
  }, /* @__PURE__ */ React23.createElement(Banner.ContentContainer, {
7590
7590
  layout
7591
7591
  }, /* @__PURE__ */ React23.createElement(Banner.Title, {
7592
- layout,
7593
- titleVariant: opts.isOneLineBanner ? "secondary" : "primary"
7592
+ layout
7594
7593
  }, title), /* @__PURE__ */ React23.createElement(Banner.Description, {
7595
7594
  flexGrow: isDismissable ? false : true
7596
7595
  }, children || description), action && /* @__PURE__ */ React23.createElement(Banner.Actions, {
@@ -7660,7 +7659,7 @@ var asCrumb = (Component, displayName, options = { isActive: false }) => {
7660
7659
  }), /* @__PURE__ */ React24.createElement("span", {
7661
7660
  className: classNames3(
7662
7661
  tw("flex flex-row flex-nowrap items-center gap-x-3 ", {
7663
- "text-primary-80 hover:text-primary-70": !options.isActive,
7662
+ "text-primary-80 hover:text-primary-70 underline hover:no-underline": !options.isActive,
7664
7663
  "text-grey-90": options.isActive
7665
7664
  })
7666
7665
  )
@@ -8364,7 +8363,7 @@ var Checkbox = React34.forwardRef(
8364
8363
  var _b = _a, { id, children, name, disabled = false, readOnly = false, indeterminate = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly", "indeterminate"]);
8365
8364
  return /* @__PURE__ */ React34.createElement("span", {
8366
8365
  className: classNames(tw("inline-flex justify-center items-center self-center relative"), {
8367
- "hover:border-grey-50 peer-checked:border-navyBlue-100": !disabled,
8366
+ "hover:border-grey-50 peer-checked:border-primary-80": !disabled,
8368
8367
  "border-grey-5": disabled
8369
8368
  })
8370
8369
  }, /* @__PURE__ */ React34.createElement("input", __spreadProps(__spreadValues({
@@ -8375,8 +8374,8 @@ var Checkbox = React34.forwardRef(
8375
8374
  }, props), {
8376
8375
  className: classNames(
8377
8376
  tw("peer appearance-none outline-none w-5 h-5", "rounded-sm border border-transparent", {
8378
- "cursor-pointer checked:bg-navyBlue-100": !disabled,
8379
- "cursor-not-allowed bg-grey-0": disabled
8377
+ "cursor-pointer checked:bg-primary-80": !disabled,
8378
+ "cursor-not-allowed bg-grey-0 checked:bg-primary-40": disabled
8380
8379
  })
8381
8380
  ),
8382
8381
  readOnly,
@@ -8391,8 +8390,8 @@ var Checkbox = React34.forwardRef(
8391
8390
  "rounded-sm border border-grey-20 peer-focus:border-info-70"
8392
8391
  ),
8393
8392
  {
8394
- "peer-hover:border-grey-50 peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-navyBlue-100": !disabled,
8395
- "border-grey-5 peer-checked:text-grey-30 peer-checked:[&>path]:stroke-grey-30": disabled
8393
+ "peer-hover:border-grey-50 peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-primary-80": !disabled,
8394
+ "border-grey-5 peer-checked:text-primary-10 peer-checked:[&>path]:stroke-primary-10 peer-checked:border-primary-40": disabled
8396
8395
  }
8397
8396
  )
8398
8397
  }));
@@ -9642,10 +9641,10 @@ var RadioButton = React54.forwardRef(
9642
9641
  tw(
9643
9642
  "inline-flex justify-center items-center self-center appearance-none",
9644
9643
  "w-5 h-5 p-[3px] rounded-full cursor-pointer border border-grey-20",
9645
- "outline-none focus:border-info-70 checked:bg-navyBlue-100 checked:shadow-whiteInset",
9644
+ "outline-none focus:border-info-70 checked:bg-primary-80 checked:shadow-whiteInset",
9646
9645
  {
9647
- "hover:border-grey-50 checked:border-navyBlue-100": !disabled,
9648
- "cursor-not-allowed border-grey-5 bg-grey-0 checked:bg-opacity-40": disabled
9646
+ "hover:border-grey-50 checked:border-primary-80": !disabled,
9647
+ "cursor-not-allowed border-grey-5 bg-grey-0 checked:bg-opacity-40 checked:bg-primary-40 checked:border-primary-40": disabled
9649
9648
  }
9650
9649
  )
9651
9650
  ),
@@ -10850,12 +10849,12 @@ var asTabItem = (Component, displayName, { defaultUnderlineHidden } = {}) => {
10850
10849
  if (status === "warning") {
10851
10850
  statusIcon = /* @__PURE__ */ React75.createElement(InlineIcon, {
10852
10851
  icon: import_warningSign4.default,
10853
- color: "warning-80"
10852
+ color: selected ? void 0 : "warning-80"
10854
10853
  });
10855
10854
  } else if (status === "error") {
10856
10855
  statusIcon = /* @__PURE__ */ React75.createElement(InlineIcon, {
10857
10856
  icon: import_warningSign4.default,
10858
- color: "error-50"
10857
+ color: selected ? void 0 : "error-50"
10859
10858
  });
10860
10859
  }
10861
10860
  const tab = /* @__PURE__ */ React75.createElement(Component, __spreadValues({
@@ -12848,8 +12847,8 @@ var Switch = React98.forwardRef(
12848
12847
  "outline-none focus:border border-info-70 bg-grey-20",
12849
12848
  "cursor-pointer disabled:cursor-not-allowed",
12850
12849
  {
12851
- "hover:bg-grey-30 checked:bg-navyBlue-100 hover:checked:bg-navyBlue-100": !disabled,
12852
- "bg-grey-5 checked:opacity-40": disabled
12850
+ "hover:bg-grey-30 checked:bg-primary-80 hover:checked:bg-primary-80": !disabled,
12851
+ "bg-grey-5 checked:opacity-40 checked:bg-primary-40": disabled
12853
12852
  }
12854
12853
  )
12855
12854
  ),
@@ -341,18 +341,18 @@
341
341
  "secondary-10": "var(--aquarium-colors-secondary-10, #fee8d0)",
342
342
  "secondary-5": "var(--aquarium-colors-secondary-5, #fff3e8)",
343
343
  "secondary-0": "var(--aquarium-colors-secondary-0, #fffbf8)",
344
- "primary-100": "var(--aquarium-colors-primary-100, #a70045)",
345
- "primary-90": "var(--aquarium-colors-primary-90, #c60443)",
346
- "primary-80": "var(--aquarium-colors-primary-80, #e41a4a)",
347
- "primary-70": "var(--aquarium-colors-primary-70, #ff3554)",
348
- "primary-60": "var(--aquarium-colors-primary-60, #ff5275)",
349
- "primary-50": "var(--aquarium-colors-primary-50, #ff6f94)",
350
- "primary-40": "var(--aquarium-colors-primary-40, #ff8db0)",
351
- "primary-30": "var(--aquarium-colors-primary-30, #ffa9c9)",
352
- "primary-20": "var(--aquarium-colors-primary-20, #ffc4de)",
353
- "primary-10": "var(--aquarium-colors-primary-10, #ffdeef)",
354
- "primary-5": "var(--aquarium-colors-primary-5, #ffe8f4)",
355
- "primary-0": "var(--aquarium-colors-primary-0, #fff9fc)",
344
+ "primary-100": "var(--aquarium-colors-primary-100, 0e1652)",
345
+ "primary-90": "var(--aquarium-colors-primary-90, #222f95)",
346
+ "primary-80": "var(--aquarium-colors-primary-80, #3545be)",
347
+ "primary-70": "var(--aquarium-colors-primary-70, #5865cd)",
348
+ "primary-60": "var(--aquarium-colors-primary-60, #818eec)",
349
+ "primary-50": "var(--aquarium-colors-primary-50, #000000)",
350
+ "primary-40": "var(--aquarium-colors-primary-40, #b9c5ef)",
351
+ "primary-30": "var(--aquarium-colors-primary-30, #000000)",
352
+ "primary-20": "var(--aquarium-colors-primary-20, #000000)",
353
+ "primary-10": "var(--aquarium-colors-primary-10, #e3e9ff)",
354
+ "primary-5": "var(--aquarium-colors-primary-5, #f3f6ff)",
355
+ "primary-0": "var(--aquarium-colors-primary-0, #ffffff)",
356
356
  "grey-20": "var(--aquarium-colors-grey-20, #d2d2d6)",
357
357
  "transparent": "var(--aquarium-colors-transparent, transparent)",
358
358
  "white": "var(--aquarium-colors-white, white)",
package/dist/tokens.json CHANGED
@@ -633,18 +633,18 @@
633
633
  "secondary-10": "#fee8d0",
634
634
  "secondary-5": "#fff3e8",
635
635
  "secondary-0": "#fffbf8",
636
- "primary-100": "#a70045",
637
- "primary-90": "#c60443",
638
- "primary-80": "#e41a4a",
639
- "primary-70": "#ff3554",
640
- "primary-60": "#ff5275",
641
- "primary-50": "#ff6f94",
642
- "primary-40": "#ff8db0",
643
- "primary-30": "#ffa9c9",
644
- "primary-20": "#ffc4de",
645
- "primary-10": "#ffdeef",
646
- "primary-5": "#ffe8f4",
647
- "primary-0": "#fff9fc",
636
+ "primary-100": "0e1652",
637
+ "primary-90": "#222f95",
638
+ "primary-80": "#3545be",
639
+ "primary-70": "#5865cd",
640
+ "primary-60": "#818eec",
641
+ "primary-50": "#000000",
642
+ "primary-40": "#b9c5ef",
643
+ "primary-30": "#000000",
644
+ "primary-20": "#000000",
645
+ "primary-10": "#e3e9ff",
646
+ "primary-5": "#f3f6ff",
647
+ "primary-0": "#ffffff",
648
648
  "grey-20": "#d2d2d6"
649
649
  },
650
650
  "typography": {