@aivenio/aquarium 1.66.0 → 1.67.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.
Files changed (70) hide show
  1. package/README.md +11 -3
  2. package/dist/_variables.scss +27 -15
  3. package/dist/atoms.cjs +73 -65
  4. package/dist/atoms.mjs +73 -65
  5. package/dist/src/atoms/Alert/Alert.js +10 -10
  6. package/dist/src/atoms/Card/Card.js +3 -3
  7. package/dist/src/atoms/Checkbox/Checkbox.d.ts +1 -1
  8. package/dist/src/atoms/Checkbox/Checkbox.js +3 -3
  9. package/dist/src/atoms/DataList/DataList.js +2 -2
  10. package/dist/src/atoms/DropdownMenu/DropdownMenu.js +3 -5
  11. package/dist/src/atoms/Navigation/Navigation.js +1 -1
  12. package/dist/src/atoms/RadioButton/RadioButton.d.ts +1 -1
  13. package/dist/src/atoms/RadioButton/RadioButton.js +4 -4
  14. package/dist/src/atoms/Select/Select.js +9 -12
  15. package/dist/src/atoms/Stepper/Stepper.js +5 -4
  16. package/dist/src/atoms/Switch/Switch.d.ts +1 -1
  17. package/dist/src/atoms/Switch/Switch.js +1 -1
  18. package/dist/src/atoms/Table/Table.js +1 -1
  19. package/dist/src/atoms/Toast/Toast.js +2 -2
  20. package/dist/src/molecules/Badge/Badge.d.ts +10 -4
  21. package/dist/src/molecules/Badge/Badge.js +5 -4
  22. package/dist/src/molecules/Banner/Banner.d.ts +1 -1
  23. package/dist/src/molecules/Breadcrumbs/Breadcrumbs.js +1 -1
  24. package/dist/src/molecules/Button/Button.d.ts +9 -9
  25. package/dist/src/molecules/Button/Button.js +4 -4
  26. package/dist/src/molecules/Chip/Chip.js +8 -8
  27. package/dist/src/molecules/ControlLabel/ControlLabel.js +1 -1
  28. package/dist/src/molecules/Drawer/Drawer.js +7 -9
  29. package/dist/src/molecules/Dropdown/Dropdown.js +1 -1
  30. package/dist/src/molecules/DropdownMenu/DropdownMenu.js +10 -2
  31. package/dist/src/molecules/Input/Input.d.ts +4 -3
  32. package/dist/src/molecules/Input/Input.js +10 -4
  33. package/dist/src/molecules/MultiInput/InputChip.js +6 -7
  34. package/dist/src/molecules/NativeSelect/NativeSelect.js +3 -3
  35. package/dist/src/molecules/SegmentedControl/SegmentedControl.js +1 -1
  36. package/dist/src/molecules/TagLabel/TagLabel.js +2 -2
  37. package/dist/src/molecules/Tooltip/Tooltip.js +3 -3
  38. package/dist/src/utils/constants.js +3 -3
  39. package/dist/src/utils/form/InputAdornment/InputAdornment.js +3 -3
  40. package/dist/src/utils/form/Label/Label.js +2 -2
  41. package/dist/styles.css +116 -95
  42. package/dist/system.cjs +122 -102
  43. package/dist/system.mjs +128 -108
  44. package/dist/tailwind/tailwind.backgroundColor.d.ts +43 -0
  45. package/dist/tailwind/tailwind.backgroundColor.js +44 -0
  46. package/dist/tailwind/tailwind.borderColor.d.ts +44 -0
  47. package/dist/tailwind/tailwind.borderColor.js +32 -0
  48. package/dist/tailwind/tailwind.borderRadius.d.ts +1 -0
  49. package/dist/tailwind/tailwind.borderRadius.js +5 -0
  50. package/dist/tailwind/tailwind.colors.d.ts +102 -0
  51. package/dist/tailwind/tailwind.colors.js +106 -0
  52. package/dist/tailwind/tailwind.elevations.d.ts +8 -0
  53. package/dist/tailwind/tailwind.elevations.js +9 -0
  54. package/dist/tailwind/tailwind.margin.d.ts +22 -0
  55. package/dist/tailwind/tailwind.margin.js +23 -0
  56. package/dist/tailwind/tailwind.spacing.d.ts +21 -0
  57. package/dist/tailwind/tailwind.spacing.js +22 -0
  58. package/dist/tailwind/tailwind.textColor.d.ts +56 -0
  59. package/dist/tailwind/tailwind.textColor.js +39 -0
  60. package/dist/tailwind/tailwind.typography.d.ts +14 -0
  61. package/dist/tailwind/tailwind.typography.js +15 -0
  62. package/dist/tailwind/textColor.d.ts +219 -0
  63. package/dist/tailwind/textColor.js +651 -0
  64. package/dist/tailwind/typography.d.ts +219 -0
  65. package/dist/tailwind/typography.js +651 -0
  66. package/dist/tailwind.config.js +25 -13
  67. package/dist/tailwind.theme.json +26 -14
  68. package/dist/tsconfig.module.tsbuildinfo +1 -1
  69. package/dist/types/tailwindGenerated.d.ts +1 -1
  70. package/package.json +2 -2
package/dist/system.mjs CHANGED
@@ -4952,10 +4952,10 @@ var Input = React2.forwardRef((_a, ref) => {
4952
4952
  type: "text",
4953
4953
  className: classNames(
4954
4954
  className,
4955
- "grow rounded border-0 focus:outline-none px-[1px] my-1 min-w-0 typography-small disabled:cursor-not-allowed disabled:bg-default placeholder:text-muted-2x",
4955
+ "grow rounded border-0 focus:outline-none px-[1px] my-1 min-w-0 typography-small disabled:cursor-not-allowed disabled:bg-default placeholder:text-inactive",
4956
4956
  {
4957
4957
  "text-default": !props.disabled,
4958
- "text-muted-3x": props.disabled,
4958
+ "text-inactive": props.disabled,
4959
4959
  "cursor-default": props.readOnly
4960
4960
  }
4961
4961
  )
@@ -4977,7 +4977,7 @@ var NoResults = React2.forwardRef(
4977
4977
  return /* @__PURE__ */ React2.createElement("li", __spreadProps(__spreadValues({
4978
4978
  ref
4979
4979
  }, rest), {
4980
- className: classNames(tw("p-3 text-muted-2x italic typography-small"), className)
4980
+ className: classNames(tw("p-3 text-inactive italic typography-small"), className)
4981
4981
  }), children);
4982
4982
  }
4983
4983
  );
@@ -4997,10 +4997,7 @@ var Group = React2.forwardRef((_a, ref) => {
4997
4997
  ref,
4998
4998
  className: classNames(
4999
4999
  className,
5000
- "flex items-center gap-x-3 p-3 text-muted-2x uppercase cursor-default typography-caption mt-4 first:mt-0",
5001
- {
5002
- "text-muted-3x": props.disabled
5003
- }
5000
+ "flex items-center gap-x-3 p-3 text-inactive uppercase cursor-default typography-caption mt-4 first:mt-0"
5004
5001
  )
5005
5002
  }, props), children);
5006
5003
  });
@@ -5028,12 +5025,11 @@ var ActionItem = React2.forwardRef(
5028
5025
  ref,
5029
5026
  role: "button",
5030
5027
  onClick: () => !props.disabled && (onClick == null ? void 0 : onClick()),
5031
- className: classNames(className, "flex items-center gap-x-3 typography-small text-primary-intense", {
5028
+ className: classNames(className, "flex items-center gap-x-3 typography-small", {
5032
5029
  "p-3": !dense,
5033
5030
  "px-3 py-2": dense,
5034
- "cursor-pointer": !props.disabled,
5035
- "text-muted-3x": props.disabled,
5036
- "hover:text-primary-default": !props.disabled
5031
+ "text-primary-intense cursor-pointer hover:text-primary-default": !props.disabled,
5032
+ "text-inactive cursor-not-allowed": props.disabled
5037
5033
  })
5038
5034
  }, props), icon && /* @__PURE__ */ React2.createElement(InlineIcon, {
5039
5035
  icon
@@ -5050,7 +5046,7 @@ var Toggle = React2.forwardRef((_a, ref) => {
5050
5046
  }, props), {
5051
5047
  className: tw("grow-0 leading-none", { "cursor-not-allowed": (_a2 = props.disabled) != null ? _a2 : false })
5052
5048
  }), /* @__PURE__ */ React2.createElement(InlineIcon, {
5053
- color: props.disabled ? "muted-2x" : "default",
5049
+ color: props.disabled ? "inactive" : "default",
5054
5050
  icon: hasFocus ? import_search.default : isOpen ? import_chevronUp.default : import_chevronDown.default
5055
5051
  }));
5056
5052
  });
@@ -5452,28 +5448,33 @@ var tailwind_theme_default = {
5452
5448
  white: "var(--aquarium-colors-white, white)",
5453
5449
  black: "var(--aquarium-colors-black, black)",
5454
5450
  body: "var(--aquarium-background-color-body)",
5451
+ "body-intense": "var(--aquarium-background-color-body-intense)",
5455
5452
  "popover-content": "var(--aquarium-background-color-popover-content)",
5456
5453
  muted: "var(--aquarium-background-color-muted)",
5457
5454
  default: "var(--aquarium-background-color-default)",
5458
5455
  intense: "var(--aquarium-background-color-intense)",
5459
- "intense-2x": "var(--aquarium-background-color-intense-2x)",
5460
- "primary-muted-3x": "var(--aquarium-background-color-primary-muted-3x)",
5461
- "primary-muted-2x": "var(--aquarium-background-color-primary-muted-2x)",
5462
5456
  "primary-muted": "var(--aquarium-background-color-primary-muted)",
5463
5457
  "primary-default": "var(--aquarium-background-color-primary-default)",
5464
5458
  "primary-intense": "var(--aquarium-background-color-primary-intense)",
5465
- "secondary-default": "var(--aquarium-background-color-secondary-default)",
5459
+ "primary-active": "var(--aquarium-background-color-primary-active)",
5460
+ "primary-hover": "var(--aquarium-background-color-primary-hover)",
5466
5461
  "info-muted": "var(--aquarium-background-color-info-muted)",
5467
5462
  "info-default": "var(--aquarium-background-color-info-default)",
5463
+ "info-intense": "var(--aquarium-background-color-info-intense)",
5468
5464
  "success-muted": "var(--aquarium-background-color-success-muted)",
5469
5465
  "success-default": "var(--aquarium-background-color-success-default)",
5470
5466
  "success-intense": "var(--aquarium-background-color-success-intense)",
5471
5467
  "warning-muted": "var(--aquarium-background-color-warning-muted)",
5472
5468
  "warning-default": "var(--aquarium-background-color-warning-default)",
5473
- "danger-muted-2x": "var(--aquarium-background-color-danger-muted-2x)",
5469
+ "warning-intense": "var(--aquarium-background-color-warning-intense)",
5474
5470
  "danger-muted": "var(--aquarium-background-color-danger-muted)",
5475
5471
  "danger-default": "var(--aquarium-background-color-danger-default)",
5476
- "danger-intense": "var(--aquarium-background-color-danger-intense)"
5472
+ "danger-intense": "var(--aquarium-background-color-danger-intense)",
5473
+ "status-announcement": "var(--aquarium-background-color-status-announcement)",
5474
+ "status-info": "var(--aquarium-background-color-status-info)",
5475
+ "status-warning": "var(--aquarium-background-color-status-warning)",
5476
+ "status-danger": "var(--aquarium-background-color-status-danger)",
5477
+ "status-success": "var(--aquarium-background-color-status-success)"
5477
5478
  },
5478
5479
  textColor: {
5479
5480
  "error-100": "var(--aquarium-colors-error-100, #aa0000)",
@@ -5564,23 +5565,28 @@ var tailwind_theme_default = {
5564
5565
  current: "var(--aquarium-colors-current, currentColor)",
5565
5566
  white: "var(--aquarium-colors-white, white)",
5566
5567
  black: "var(--aquarium-colors-black, black)",
5567
- "muted-3x": "var(--aquarium-text-color-muted-3x)",
5568
- "muted-2x": "var(--aquarium-text-color-muted-2x)",
5568
+ inactive: "var(--aquarium-text-color-inactive)",
5569
5569
  muted: "var(--aquarium-text-color-muted)",
5570
5570
  default: "var(--aquarium-text-color-default)",
5571
5571
  intense: "var(--aquarium-text-color-intense)",
5572
- "primary-muted-3x": "var(--aquarium-text-color-primary-muted-3x)",
5573
- "primary-muted-2x": "var(--aquarium-text-color-primary-muted-2x)",
5572
+ "primary-inactive": "var(--aquarium-text-color-primary-inactive)",
5573
+ "primary-active": "var(--aquarium-text-color-primary-active)",
5574
5574
  "primary-muted": "var(--aquarium-text-color-primary-muted)",
5575
5575
  "primary-default": "var(--aquarium-text-color-primary-default)",
5576
5576
  "primary-intense": "var(--aquarium-text-color-primary-intense)",
5577
- "primary-intense-2x": "var(--aquarium-text-color-primary-intense-2x)",
5577
+ "info-inactive": "var(--aquarium-text-color-info-inactive)",
5578
+ "info-muted": "var(--aquarium-text-color-info-muted)",
5578
5579
  "info-default": "var(--aquarium-text-color-info-default)",
5579
5580
  "info-intense": "var(--aquarium-text-color-info-intense)",
5581
+ "success-inactive": "var(--aquarium-text-color-success-inactive)",
5582
+ "success-muted": "var(--aquarium-text-color-success-muted)",
5580
5583
  "success-default": "var(--aquarium-text-color-success-default)",
5581
5584
  "success-intense": "var(--aquarium-text-color-success-intense)",
5585
+ "warning-inactive": "var(--aquarium-text-color-warning-inactive)",
5586
+ "warning-muted": "var(--aquarium-text-color-warning-muted)",
5582
5587
  "warning-default": "var(--aquarium-text-color-warning-default)",
5583
5588
  "warning-intense": "var(--aquarium-text-color-warning-intense)",
5589
+ "danger-inactive": "var(--aquarium-text-color-danger-inactive)",
5584
5590
  "danger-muted": "var(--aquarium-text-color-danger-muted)",
5585
5591
  "danger-default": "var(--aquarium-text-color-danger-default)",
5586
5592
  "danger-intense": "var(--aquarium-text-color-danger-intense)"
@@ -5675,19 +5681,21 @@ var tailwind_theme_default = {
5675
5681
  white: "var(--aquarium-colors-white, white)",
5676
5682
  black: "var(--aquarium-colors-black, black)",
5677
5683
  DEFAULT: "currentColor",
5678
- "muted-2x": "var(--aquarium-border-color-muted-2x)",
5679
5684
  muted: "var(--aquarium-border-color-muted)",
5680
5685
  default: "var(--aquarium-border-color-default)",
5681
5686
  intense: "var(--aquarium-border-color-intense)",
5682
- "primary-muted-3x": "var(--aquarium-border-color-primary-muted-3x)",
5683
- "primary-muted-2x": "var(--aquarium-border-color-primary-muted-2x)",
5684
5687
  "primary-muted": "var(--aquarium-border-color-primary-muted)",
5685
5688
  "primary-default": "var(--aquarium-border-color-primary-default)",
5689
+ "primary-intense": "var(--aquarium-border-color-primary-intense)",
5690
+ "info-muted": "var(--aquarium-border-color-info-muted)",
5686
5691
  "info-default": "var(--aquarium-border-color-info-default)",
5692
+ "info-intense": "var(--aquarium-border-color-info-intense)",
5687
5693
  "success-muted": "var(--aquarium-border-color-success-muted)",
5688
5694
  "success-default": "var(--aquarium-border-color-success-default)",
5689
5695
  "success-intense": "var(--aquarium-border-color-success-intense)",
5690
5696
  "warning-muted": "var(--aquarium-border-color-warning-muted)",
5697
+ "warning-default": "var(--aquarium-border-color-warning-default)",
5698
+ "warning-intense": "var(--aquarium-border-color-warning-intense)",
5691
5699
  "danger-muted": "var(--aquarium-border-color-danger-muted)",
5692
5700
  "danger-default": "var(--aquarium-border-color-danger-default)",
5693
5701
  "danger-intense": "var(--aquarium-border-color-danger-intense)"
@@ -6166,7 +6174,7 @@ var Toast = (_a) => {
6166
6174
  return /* @__PURE__ */ React8.createElement("div", __spreadProps(__spreadValues({}, rest), {
6167
6175
  className: classNames2(
6168
6176
  tw("typography-body-small rounded grid grid-cols-[1fr_auto] items-center gap-x-6 gap-y-2 p-4 text-white", {
6169
- "bg-intense-2x": variant === "default",
6177
+ "bg-body-intense": variant === "default",
6170
6178
  "bg-danger-intense": variant === "danger"
6171
6179
  }),
6172
6180
  className
@@ -6995,7 +7003,7 @@ var TooltipWrapper = React14.forwardRef(
6995
7003
  const arrowStyle = getArrowStyle(ref.current, placement, (_a2 = arrowProps.style) != null ? _a2 : {});
6996
7004
  return /* @__PURE__ */ React14.createElement(OverlayContainer, null, /* @__PURE__ */ React14.createElement("div", __spreadValues({
6997
7005
  ref,
6998
- className: classNames(tw("p-3 rounded-sm typography-caption max-w-[320px] bg-intense-2x text-white"))
7006
+ className: classNames(tw("p-3 rounded-sm typography-caption max-w-[320px] bg-body-intense text-white"))
6999
7007
  }, mergeProps(props, tooltipProps)), props.children, /* @__PURE__ */ React14.createElement(Arrow, __spreadProps(__spreadValues({}, arrowProps), {
7000
7008
  style: arrowStyle
7001
7009
  }))));
@@ -7034,13 +7042,13 @@ var getArrowStyle = (element, position, { left, top }) => {
7034
7042
  };
7035
7043
  var Arrow = (props) => {
7036
7044
  return /* @__PURE__ */ React14.createElement("div", __spreadValues({
7037
- className: tw("absolute w-3 h-3 bg-intense-2x rotate-45")
7045
+ className: tw("absolute w-3 h-3 bg-body-intense rotate-45")
7038
7046
  }, props));
7039
7047
  };
7040
7048
 
7041
7049
  // src/utils/constants.ts
7042
7050
  var getCommonInputStyles = ({ readOnly, valid }) => tw(
7043
- "block w-full rounded-sm disabled:cursor-not-allowed disabled:border-default disabled:bg-default typography-small text-default disabled:text-muted-2x placeholder:text-muted-2x focus:outline-none",
7051
+ "block w-full rounded-sm disabled:cursor-not-allowed disabled:border-default disabled:bg-default typography-small text-default disabled:text-inactive placeholder:text-inactive focus:outline-none",
7044
7052
  {
7045
7053
  "px-3 py-3": !readOnly,
7046
7054
  "border-none resize-none cursor-default": readOnly,
@@ -7049,7 +7057,7 @@ var getCommonInputStyles = ({ readOnly, valid }) => tw(
7049
7057
  }
7050
7058
  );
7051
7059
  var ghostButtonStyle = tw(
7052
- "text-primary-intense active:text-primary-intense-2x focus-visible:text-primary-intense-2x hover:text-primary-intense-2x disabled:text-primary-muted-2x"
7060
+ "text-primary-intense active:text-primary-active focus-visible:text-primary-active hover:text-primary-active disabled:text-primary-inactive"
7053
7061
  );
7054
7062
  var linkStyle = classNames(
7055
7063
  ghostButtonStyle,
@@ -7068,15 +7076,15 @@ var COLOR_CLASSNAMES = {
7068
7076
  ),
7069
7077
  "secondary": tw(
7070
7078
  "text-primary-intense bg-body ring-1 ring-primary-80 ring-inset",
7071
- "active:bg-primary-muted-3x active:ring-primary-90 active:text-primary-intense",
7079
+ "active:bg-primary-active active:ring-primary-90 active:text-primary-intense",
7072
7080
  "focus-visible:ring-2 focus-visible:ring-primary-90 focus-visible:text-primary-intense",
7073
- "hover:bg-primary-muted-3x hover:ring-primary-90 hover:text-primary-intense",
7074
- "disabled:bg-body disabled:text-primary-muted-2x disabled:ring-primary-40"
7081
+ "hover:bg-primary-hover hover:ring-primary-90 hover:text-primary-intense",
7082
+ "disabled:bg-body disabled:text-primary-inactive disabled:ring-primary-40"
7075
7083
  ),
7076
7084
  "ghost": ghostButtonStyle,
7077
7085
  "text": linkStyle,
7078
7086
  "secondary-ghost": tw(
7079
- "text-grey-60 active:text-muted focus-visible:text-intense hover:text-intense disabled:text-muted-3x"
7087
+ "text-grey-60 active:text-muted focus-visible:text-intense hover:text-intense disabled:text-inactive"
7080
7088
  )
7081
7089
  };
7082
7090
  var LoadingSpinner = ({ size = "20px" }) => {
@@ -7179,7 +7187,7 @@ var asButton = (Component, isDropdownButton) => {
7179
7187
  tw(
7180
7188
  "inline-block border-0 rounded-sm transition whitespace-nowrap focus:outline-none relative text-center",
7181
7189
  {
7182
- "text-default p-2 active:text-default active:bg-transparent hover:text-intense hover:bg-muted focus-visible:text-intense focus-visible:bg-muted disabled:text-muted-2x disabled:bg-transparent": isIconOnlyButton,
7190
+ "text-default p-2 active:text-default active:bg-transparent hover:text-intense hover:bg-muted focus-visible:text-intense focus-visible:bg-muted disabled:text-inactive disabled:bg-transparent": isIconOnlyButton,
7183
7191
  "typography-default-strong": !dense && !isIconOnlyButton && kind !== "text",
7184
7192
  "typography-small-strong": dense && !isIconOnlyButton && kind !== "text",
7185
7193
  "py-3 px-4": !dense && isButton,
@@ -7515,11 +7523,11 @@ var Alert = (_a) => {
7515
7523
  role: type === "error" || type === "warning" ? "alert" : "status",
7516
7524
  className: classNames(
7517
7525
  tw("rounded grid grid-cols-[auto_1fr_auto] items-center gap-x-3 gap-y-2", {
7518
- "bg-danger-muted-2x": type === "error",
7519
- "bg-info-muted": type === "information",
7520
- "bg-success-muted": type === "success",
7521
- "bg-warning-muted": type === "warning",
7522
- "bg-primary-muted-2x": type === "announcement",
7526
+ "bg-status-danger": type === "error",
7527
+ "bg-status-info": type === "information",
7528
+ "bg-status-success": type === "success",
7529
+ "bg-status-warning": type === "warning",
7530
+ "bg-status-announcement": type === "announcement",
7523
7531
  "p-4": Boolean(dense),
7524
7532
  "p-5": !dense
7525
7533
  }),
@@ -7583,10 +7591,10 @@ var Banner = (_a) => {
7583
7591
  role: type === "error" || type === "warning" ? "alert" : "status",
7584
7592
  className: classNames(
7585
7593
  tw("relative flex px-[60px] justify-center", {
7586
- "bg-danger-muted-2x": type === "error",
7587
- "bg-primary-muted-3x": type === "information",
7588
- "bg-success-muted": type === "success",
7589
- "bg-warning-muted": type === "warning"
7594
+ "bg-status-danger": type === "error",
7595
+ "bg-status-announcement": type === "information",
7596
+ "bg-status-success": type === "success",
7597
+ "bg-status-warning": type === "warning"
7590
7598
  }),
7591
7599
  className
7592
7600
  )
@@ -7811,7 +7819,7 @@ Avatar.Skeleton.displayName = "Avatar.Skeleton";
7811
7819
  import React22 from "react";
7812
7820
  var createBadge = (type, displayName) => {
7813
7821
  const Component = (props) => {
7814
- const _a = props, { kind = "filled", value, textClassname, dense = false } = _a, rest = __objRest(_a, ["kind", "value", "textClassname", "dense"]);
7822
+ const _a = props, { kind = "filled", value, textClassname, dense = false, disabled = false } = _a, rest = __objRest(_a, ["kind", "value", "textClassname", "dense", "disabled"]);
7815
7823
  const valueStr = value.toString();
7816
7824
  return /* @__PURE__ */ React22.createElement("span", __spreadProps(__spreadValues({}, rest), {
7817
7825
  className: classNames(
@@ -7820,7 +7828,8 @@ var createBadge = (type, displayName) => {
7820
7828
  "rounded": type === "tab",
7821
7829
  "border border-current": kind === "outlined",
7822
7830
  "bg-current": kind === "filled" && type !== "chip",
7823
- "bg-white": type === "chip",
7831
+ "bg-white": type === "chip" && !disabled,
7832
+ "bg-muted": type === "chip" && disabled,
7824
7833
  "typography-caption-small leading-none py-1 px-2": !dense,
7825
7834
  "text-[8px]": dense,
7826
7835
  "px-1": dense && valueStr.length > 1,
@@ -8040,7 +8049,7 @@ var Breadcrumbs = (props) => {
8040
8049
  className: tw("flex flex-row items-center")
8041
8050
  }, !!index && /* @__PURE__ */ React25.createElement(Icon, {
8042
8051
  "aria-hidden": true,
8043
- className: tw("mx-2 text-muted-3x"),
8052
+ className: tw("mx-2 text-inactive"),
8044
8053
  icon: import_slash2.default
8045
8054
  }), !isLast && crumb, isLast && /* @__PURE__ */ React25.createElement(ActiveCrumb, {
8046
8055
  "aria-disabled": true,
@@ -8115,13 +8124,13 @@ var import_lock2 = __toESM(require_lock());
8115
8124
  var getStatusClassNames = (status = "neutral") => {
8116
8125
  switch (status) {
8117
8126
  case "info":
8118
- return tw("text-info-intense bg-info-muted");
8127
+ return tw("text-info-intense bg-status-info");
8119
8128
  case "warning":
8120
- return tw("text-warning-intense bg-warning-muted");
8129
+ return tw("text-warning-intense bg-status-warning");
8121
8130
  case "danger":
8122
- return tw("text-danger-intense bg-danger-muted-2x");
8131
+ return tw("text-danger-intense bg-status-danger");
8123
8132
  case "success":
8124
- return tw("text-success-intense bg-success-muted");
8133
+ return tw("text-success-intense bg-status-success");
8125
8134
  case "neutral":
8126
8135
  default:
8127
8136
  return tw("text-default bg-default");
@@ -8149,16 +8158,17 @@ var Chip2 = (_a) => {
8149
8158
  "Aquarium-Chip",
8150
8159
  tw({
8151
8160
  "bg-muted text-default": !locked,
8152
- "bg-grey-5 text-muted-2x": locked
8161
+ "bg-grey-5 text-inactive": locked
8153
8162
  })
8154
8163
  )
8155
8164
  }, rest), icon && /* @__PURE__ */ React27.createElement(InlineIcon, {
8156
8165
  icon
8157
8166
  }), text, isNumber2(badge) && /* @__PURE__ */ React27.createElement(ChipBadge, {
8167
+ disabled: locked,
8158
8168
  dense,
8159
8169
  value: badge,
8160
8170
  textClassname: tw("text-muted")
8161
- }), onClose && /* @__PURE__ */ React27.createElement(InlineIcon, {
8171
+ }), !locked && onClose && /* @__PURE__ */ React27.createElement(InlineIcon, {
8162
8172
  role: "button",
8163
8173
  "aria-hidden": false,
8164
8174
  icon: import_cross4.default,
@@ -8262,7 +8272,7 @@ var Card = React29.forwardRef((props, ref) => {
8262
8272
  className: classNames(
8263
8273
  getCommonCardStyles(props),
8264
8274
  tw({
8265
- "cursor-pointer hover:bg-primary-muted-3x active:bg-body": clickable && !disabled,
8275
+ "cursor-pointer hover:bg-primary-hover active:bg-body": clickable && !disabled,
8266
8276
  "focusable": clickable && modality === "keyboard"
8267
8277
  }),
8268
8278
  className
@@ -8275,7 +8285,7 @@ var Label = (props) => {
8275
8285
  className: classNames(
8276
8286
  getCommonCardStyles(props),
8277
8287
  tw({
8278
- "cursor-pointer hover:bg-primary-muted-3x active:bg-body": !disabled,
8288
+ "cursor-pointer hover:bg-primary-hover active:bg-body": !disabled,
8279
8289
  "border-primary-default": checked,
8280
8290
  "focusable": modality === "keyboard"
8281
8291
  }),
@@ -8389,17 +8399,17 @@ var Checkbox = React30.forwardRef(
8389
8399
  disabled
8390
8400
  })), /* @__PURE__ */ React30.createElement(Icon, {
8391
8401
  icon: indeterminate ? import_minus2.default : import_tick3.default,
8392
- strokeWidth: "2px",
8402
+ strokeWidth: "3px",
8393
8403
  className: classNames(
8394
8404
  tw(
8395
8405
  "absolute top-0 right-0",
8396
8406
  "pointer-events-none p-[2px] w-5 h-5",
8397
- "text-transparent [&>path]:stroke-transparent [&>path]:stroke-2",
8407
+ "text-transparent [&>path]:stroke-transparent [&>path]:stroke-[3px]",
8398
8408
  "rounded-sm border border-default peer-focus:border-info-default"
8399
8409
  ),
8400
8410
  {
8401
8411
  "peer-hover:border-intense peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-primary-default": !disabled,
8402
- "border-muted peer-checked:text-primary-muted-3x peer-checked:[&>path]:stroke-primary-10 peer-checked:border-primary-muted-2x": disabled
8412
+ "border-muted peer-checked:text-primary-default peer-checked:[&>path]:stroke-primary-70 peer-checked:border-transparent": disabled
8403
8413
  }
8404
8414
  )
8405
8415
  }));
@@ -8420,11 +8430,11 @@ var RadioButton = React31.forwardRef(
8420
8430
  className: classNames(
8421
8431
  tw(
8422
8432
  "inline-flex justify-center items-center self-center appearance-none",
8423
- "w-5 h-5 p-[3px] rounded-full cursor-pointer border border-default",
8433
+ "w-5 h-5 p-[3px] rounded-full border border-default",
8424
8434
  "outline-none focus:border-info-default checked:bg-primary-default checked:shadow-whiteInset",
8425
8435
  {
8426
- "hover:border-intense checked:border-primary-default": !disabled,
8427
- "cursor-not-allowed border-muted bg-muted checked:bg-opacity-40 checked:bg-primary-muted checked:border-primary-muted-2x": disabled
8436
+ "cursor-pointer hover:border-intense checked:border-primary-default": !disabled,
8437
+ "cursor-not-allowed border-muted bg-muted checked:bg-primary-muted checked:border-transparent": disabled
8428
8438
  }
8429
8439
  )
8430
8440
  ),
@@ -8961,7 +8971,7 @@ var ControlLabel = (_a) => {
8961
8971
  "style",
8962
8972
  "className"
8963
8973
  ]);
8964
- const textClass = disabled ? "text-muted-2x" : "text-default";
8974
+ const textClass = disabled ? "text-inactive" : "text-default";
8965
8975
  const rtl = labelPlacement === "left";
8966
8976
  const labelEl = label && /* @__PURE__ */ React39.createElement("span", {
8967
8977
  className: tw("typography-small self-center", { "text-right": rtl })
@@ -9285,7 +9295,7 @@ var LabelText = ({
9285
9295
  className: tw("inline-flex items-center typography-small-strong", {
9286
9296
  "text-default": variant === "default",
9287
9297
  "text-danger-default": variant === "error",
9288
- "text-muted-2x": variant === "disabled"
9298
+ "text-inactive": variant === "disabled"
9289
9299
  })
9290
9300
  }, labelText, required && /* @__PURE__ */ React46.createElement("span", {
9291
9301
  className: tw("text-danger-default")
@@ -9294,7 +9304,7 @@ var LabelText = ({
9294
9304
  placement: helpTooltipPlacement
9295
9305
  }, /* @__PURE__ */ React46.createElement("span", {
9296
9306
  tabIndex: 0,
9297
- className: tw("text-muted-2x flex items-center cursor-pointer ml-2")
9307
+ className: tw("text-inactive flex items-center cursor-pointer ml-2")
9298
9308
  }, /* @__PURE__ */ React46.createElement(InlineIcon, {
9299
9309
  icon: import_questionMark2.default,
9300
9310
  "data-testid": "icon-info"
@@ -10052,7 +10062,7 @@ var InputAdornment = ({
10052
10062
  children
10053
10063
  }) => {
10054
10064
  return /* @__PURE__ */ React56.createElement("span", {
10055
- className: classNames(className, "absolute inset-y-0 grow-0 text-muted-2x flex items-center mx-3", {
10065
+ className: classNames(className, "absolute inset-y-0 grow-0 text-inactive flex items-center mx-3", {
10056
10066
  "right-0": placement === "right",
10057
10067
  "left-0": placement === "left",
10058
10068
  "typography-small": dense,
@@ -10065,14 +10075,14 @@ var InputAdornment = ({
10065
10075
  };
10066
10076
  var SearchIcon = ({ onClick }) => /* @__PURE__ */ React56.createElement(Icon, {
10067
10077
  icon: import_search3.default,
10068
- color: "muted-3x",
10078
+ color: "inactive",
10069
10079
  "data-testid": "icon-search",
10070
10080
  onClick
10071
10081
  });
10072
10082
  var ResetIcon = ({ onClick }) => /* @__PURE__ */ React56.createElement(Icon, {
10073
10083
  className: "hover:cursor-pointer",
10074
10084
  icon: import_cross5.default,
10075
- color: "muted-3x",
10085
+ color: "inactive",
10076
10086
  "data-testid": "icon-reset",
10077
10087
  onClick
10078
10088
  });
@@ -10082,23 +10092,24 @@ var createInput = (displayName, opts = {}) => {
10082
10092
  const InputComponent = forwardRef(
10083
10093
  (_a, ref) => {
10084
10094
  var _b = _a, {
10085
- type = "text",
10086
10095
  maxLength,
10087
10096
  valid = true,
10088
10097
  required = false,
10089
10098
  endAdornment,
10090
10099
  disabled = false,
10091
- readOnly = false
10100
+ readOnly = false,
10101
+ type
10092
10102
  } = _b, props = __objRest(_b, [
10093
- "type",
10094
10103
  "maxLength",
10095
10104
  "valid",
10096
10105
  "required",
10097
10106
  "endAdornment",
10098
10107
  "disabled",
10099
- "readOnly"
10108
+ "readOnly",
10109
+ "type"
10100
10110
  ]);
10101
10111
  var _a2;
10112
+ const inputType = opts.isSearch ? "search" : type;
10102
10113
  const inputRef = React57.useRef(null);
10103
10114
  useImperativeHandle(ref, () => inputRef.current);
10104
10115
  const handleReset = () => {
@@ -10118,15 +10129,15 @@ var createInput = (displayName, opts = {}) => {
10118
10129
  placement: "left"
10119
10130
  }, opts.adornment), /* @__PURE__ */ React57.createElement("input", __spreadProps(__spreadValues({
10120
10131
  ref: inputRef,
10121
- type
10132
+ type: inputType
10122
10133
  }, props), {
10123
10134
  disabled,
10124
10135
  maxLength,
10125
10136
  "aria-required": required,
10126
- role: opts.isSearch ? "searchbox" : props.role,
10127
10137
  readOnly,
10128
10138
  className: classNames(
10129
10139
  {
10140
+ "[&::-webkit-search-cancel-button]:appearance-none": opts.isSearch,
10130
10141
  "pl-7": opts.adornment,
10131
10142
  "pr-7": opts.canReset || endAdornment
10132
10143
  },
@@ -10146,7 +10157,11 @@ var createInput = (displayName, opts = {}) => {
10146
10157
  return InputComponent;
10147
10158
  };
10148
10159
  var InputBase = createInput("InputBase");
10149
- var SearchInput = createInput("SearchInput", { adornment: /* @__PURE__ */ React57.createElement(SearchIcon, null), canReset: true, isSearch: true });
10160
+ var SearchInput = createInput("SearchInput", {
10161
+ adornment: /* @__PURE__ */ React57.createElement(SearchIcon, null),
10162
+ canReset: true,
10163
+ isSearch: true
10164
+ });
10150
10165
  var Input2 = React57.forwardRef((inputProps, ref) => {
10151
10166
  var _b, _c;
10152
10167
  const _a = inputProps, { readOnly = false, value: valueProp, onChange: onChangeProp } = _a, props = __objRest(_a, ["readOnly", "value", "onChange"]);
@@ -10762,7 +10777,7 @@ var TableSelectCell = (_a) => {
10762
10777
  };
10763
10778
  var getSortCellButtonClassNames = (align) => tw("group flex items-center gap-x-4 text-muted", { "flex-row-reverse": align === "right" });
10764
10779
  var getSortCellIconClassNames = (active) => {
10765
- return tw("text-[9px]", active ? "text-default" : "text-muted-2x");
10780
+ return tw("text-[9px]", active ? "text-default" : "text-inactive");
10766
10781
  };
10767
10782
  var TableSortCell = (_a) => {
10768
10783
  var _b = _a, { children, direction = "none", onClick } = _b, rest = __objRest(_b, ["children", "direction", "onClick"]);
@@ -10879,7 +10894,7 @@ var Row = (_a) => {
10879
10894
  }), { inert: disabled ? "" : void 0 }), {
10880
10895
  className: classNames(tw("contents"), className, {
10881
10896
  "children:opacity-70": disabled,
10882
- "[&>*]:bg-primary-muted-3x": active,
10897
+ "[&>*]:bg-primary-active": active,
10883
10898
  "[&>*]:hover:bg-muted": !disabled && !header
10884
10899
  })
10885
10900
  }));
@@ -11108,9 +11123,7 @@ var Group2 = React65.forwardRef(
11108
11123
  return /* @__PURE__ */ React65.createElement("li", __spreadValues({
11109
11124
  ref
11110
11125
  }, props), title && /* @__PURE__ */ React65.createElement("div", __spreadValues({
11111
- className: classNames(className, "p-3 text-muted-2x uppercase cursor-default typography-caption", {
11112
- "text-muted-3x": props.disabled
11113
- })
11126
+ className: classNames(className, "p-3 text-inactive uppercase cursor-default typography-caption")
11114
11127
  }, titleProps), title), children);
11115
11128
  }
11116
11129
  );
@@ -11124,7 +11137,7 @@ var Item3 = React65.forwardRef(
11124
11137
  "cursor-pointer hover:bg-muted": !props.disabled,
11125
11138
  "bg-muted": highlighted,
11126
11139
  "text-primary-intense": kind === "action",
11127
- "text-muted-3x cursor-not-allowed": props.disabled
11140
+ "text-inactive cursor-not-allowed": props.disabled
11128
11141
  })
11129
11142
  }, props), icon && showNotification && /* @__PURE__ */ React65.createElement(Badge.Notification, null, /* @__PURE__ */ React65.createElement(InlineIcon, {
11130
11143
  icon
@@ -11298,10 +11311,17 @@ var MenuWrapper = (_a) => {
11298
11311
  const { menuProps } = useMenu(props, state, ref);
11299
11312
  const { contains } = useFilter({ sensitivity: "base" });
11300
11313
  const [search, setSearch] = React66.useState("");
11314
+ const searchInputRef = React66.useRef(null);
11301
11315
  const filteredCollection = React66.useMemo(
11302
11316
  () => searchable ? filterCollection(state.collection, search, contains) : state.collection,
11303
11317
  [searchable, state.collection, search, contains]
11304
11318
  );
11319
+ React66.useEffect(() => {
11320
+ var _a2;
11321
+ if (searchable) {
11322
+ (_a2 = searchInputRef.current) == null ? void 0 : _a2.focus();
11323
+ }
11324
+ }, [searchable]);
11305
11325
  return /* @__PURE__ */ React66.createElement(DropdownMenu, {
11306
11326
  minWidth,
11307
11327
  maxWidth,
@@ -11311,7 +11331,8 @@ var MenuWrapper = (_a) => {
11311
11331
  "aria-label": "search",
11312
11332
  value: search,
11313
11333
  onChange: (e) => setSearch(e.target.value),
11314
- className: tw("mb-5")
11334
+ className: tw("mb-5"),
11335
+ ref: searchInputRef
11315
11336
  }), filteredCollection.size === 0 && emptyState && /* @__PURE__ */ React66.createElement(DropdownMenu.EmptyStateContainer, null, emptyState), /* @__PURE__ */ React66.createElement(DropdownMenu.List, __spreadValues({
11316
11337
  ref
11317
11338
  }, menuProps), Array.from(filteredCollection).map((item) => {
@@ -12443,7 +12464,7 @@ var DialogWrapper = ({
12443
12464
  };
12444
12465
 
12445
12466
  // src/molecules/Drawer/Drawer.tsx
12446
- import React78, { useEffect as useEffect9 } from "react";
12467
+ import React78 from "react";
12447
12468
  import { useOverlayTriggerState as useOverlayTriggerState3 } from "react-stately";
12448
12469
  import { useDialog as useDialog2 } from "@react-aria/dialog";
12449
12470
  import { Overlay as Overlay3, useModalOverlay as useModalOverlay2 } from "@react-aria/overlays";
@@ -12765,11 +12786,9 @@ var Drawer = (_a) => {
12765
12786
  const [hidden, setHidden] = React78.useState(!open);
12766
12787
  const ref = React78.useRef(null);
12767
12788
  const state = useOverlayTriggerState3({ isOpen: !hidden, onOpenChange: (isOpen) => !isOpen && onClose() });
12768
- useEffect9(() => {
12769
- if (open && hidden) {
12770
- setHidden(!open);
12771
- }
12772
- }, [open]);
12789
+ if (open && hidden) {
12790
+ setHidden(!open);
12791
+ }
12773
12792
  const { modalProps, underlayProps } = useModalOverlay2(
12774
12793
  { isDismissable: false, isKeyboardDismissDisabled: !closeOnEsc },
12775
12794
  state,
@@ -12783,8 +12802,8 @@ var Drawer = (_a) => {
12783
12802
  tension: 150,
12784
12803
  friction: 15
12785
12804
  },
12786
- onRest: () => {
12787
- if (!open) {
12805
+ onResolve: () => {
12806
+ if (!open && !hidden) {
12788
12807
  setHidden(true);
12789
12808
  }
12790
12809
  }
@@ -13114,7 +13133,7 @@ var DropdownItem = (_a) => {
13114
13133
  }, props), {
13115
13134
  className: tw("typography-small flex items-center focus:ring-0", {
13116
13135
  "text-default cursor-pointer hover:bg-muted": !disabled,
13117
- "text-muted-2x cursor-not-allowed": disabled,
13136
+ "text-inactive cursor-not-allowed": disabled,
13118
13137
  "text-primary-default hover:text-primary-intense": color === "danger" && !disabled
13119
13138
  })
13120
13139
  }), tooltip ? /* @__PURE__ */ React81.createElement(Tooltip, {
@@ -13476,7 +13495,7 @@ var ModalTabs = createTabsComponent(
13476
13495
  );
13477
13496
 
13478
13497
  // src/molecules/MultiInput/MultiInput.tsx
13479
- import React92, { useEffect as useEffect10, useRef as useRef9, useState as useState11 } from "react";
13498
+ import React92, { useEffect as useEffect9, useRef as useRef9, useState as useState11 } from "react";
13480
13499
  import { useId as useId12 } from "@react-aria/utils";
13481
13500
  import castArray5 from "lodash/castArray";
13482
13501
  import identity from "lodash/identity";
@@ -13495,7 +13514,7 @@ var InputChip = React91.forwardRef(
13495
13514
  };
13496
13515
  return /* @__PURE__ */ React91.createElement("div", {
13497
13516
  className: classNames(className, "inline-flex align-middle mx-1 items-stretch rounded-sm break-all", {
13498
- "bg-danger-muted-2x ": invalid,
13517
+ "bg-status-danger ": invalid,
13499
13518
  "bg-muted ": !invalid && !disabled,
13500
13519
  "bg-default": disabled
13501
13520
  })
@@ -13515,7 +13534,7 @@ var InputChip = React91.forwardRef(
13515
13534
  }),
13516
13535
  role: "button",
13517
13536
  "aria-label": `Remove ${String(children)}`
13518
- }), /* @__PURE__ */ React91.createElement(Icon, {
13537
+ }), !disabled && /* @__PURE__ */ React91.createElement(Icon, {
13519
13538
  icon: import_smallCross2.default,
13520
13539
  className: tw({
13521
13540
  "text-danger-default": invalid,
@@ -13577,7 +13596,7 @@ var MultiInputBase = (_a) => {
13577
13596
  const [items, setItems] = useState11((_a2 = value != null ? value : defaultValue) != null ? _a2 : []);
13578
13597
  const [hasFocus, setFocus] = useState11(false);
13579
13598
  const keyCodes = [delimiter !== "enter" ? " " : null, delimiter !== "space" ? "Enter" : null].filter(identity);
13580
- useEffect10(() => {
13599
+ useEffect9(() => {
13581
13600
  const requiresUpdate = value !== void 0 || defaultValue === void 0;
13582
13601
  if (requiresUpdate && JSON.stringify(value) !== JSON.stringify(items)) {
13583
13602
  setItems(value != null ? value : []);
@@ -13703,7 +13722,7 @@ var MultiInput = (props) => {
13703
13722
  var _a, _b, _c, _d, _e;
13704
13723
  const maxLength = (_a = props.maxLength) != null ? _a : props.max;
13705
13724
  const [value, setValue] = useState11((_c = (_b = props.value) != null ? _b : props.defaultValue) != null ? _c : []);
13706
- useEffect10(() => {
13725
+ useEffect9(() => {
13707
13726
  var _a2;
13708
13727
  setValue((_a2 = props.value) != null ? _a2 : []);
13709
13728
  }, [JSON.stringify(props.value)]);
@@ -13738,7 +13757,7 @@ MultiInput.Skeleton = MultiInputSkeleton;
13738
13757
  MultiInput.Skeleton.displayName = "MultiInput.Skeleton";
13739
13758
 
13740
13759
  // src/molecules/MultiSelect/MultiSelect.tsx
13741
- import React93, { useEffect as useEffect11, useRef as useRef10, useState as useState12 } from "react";
13760
+ import React93, { useEffect as useEffect10, useRef as useRef10, useState as useState12 } from "react";
13742
13761
  import { ariaHideOutside as ariaHideOutside2 } from "@react-aria/overlays";
13743
13762
  import { useId as useId13 } from "@react-aria/utils";
13744
13763
  import { useCombobox as useCombobox2, useMultipleSelection } from "downshift";
@@ -13893,7 +13912,7 @@ var MultiSelectBase = (_a) => {
13893
13912
  toggle: toggleMenu,
13894
13913
  setOpen: (isOpen2) => isOpen2 ? openMenu() : closeMenu()
13895
13914
  };
13896
- useEffect11(() => {
13915
+ useEffect10(() => {
13897
13916
  if (state.isOpen && inputRef.current && popoverRef.current) {
13898
13917
  return ariaHideOutside2([inputRef.current, popoverRef.current]);
13899
13918
  }
@@ -14036,7 +14055,7 @@ var NativeSelectBase = React94.forwardRef(
14036
14055
  className: classNames("Aquarium-NativeSelectBase", tw("relative block"))
14037
14056
  }, !readOnly && /* @__PURE__ */ React94.createElement("span", {
14038
14057
  className: tw(
14039
- "absolute right-0 inset-y-0 mr-4 text-muted-2x flex ml-3 pointer-events-none typography-default-strong mt-4"
14058
+ "absolute right-0 inset-y-0 mr-4 text-inactive flex ml-3 pointer-events-none typography-default-strong mt-4"
14040
14059
  )
14041
14060
  }, /* @__PURE__ */ React94.createElement(Icon, {
14042
14061
  icon: import_caretDown2.default,
@@ -14050,9 +14069,9 @@ var NativeSelectBase = React94.forwardRef(
14050
14069
  onBlur: handleBlur,
14051
14070
  className: classNames(
14052
14071
  tw(
14053
- "block w-full rounded-sm appearance-none disabled:cursor-not-allowed typography-small text-default placeholder:text-muted-2x focus:outline-none",
14072
+ "block w-full rounded-sm appearance-none disabled:cursor-not-allowed typography-small text-default placeholder:text-inactive focus:outline-none",
14054
14073
  {
14055
- "px-3 py-3 disabled:border-default disabled:bg-default disabled:text-muted-2x": !readOnly,
14074
+ "px-3 py-3 disabled:border-default disabled:bg-default disabled:text-inactive": !readOnly,
14056
14075
  "px-0 py-3 border-none": readOnly,
14057
14076
  "border border-danger-default": !valid && !readOnly,
14058
14077
  "border border-default hover:border-intense focus:border-info-default": valid && !readOnly
@@ -14147,7 +14166,7 @@ var Section2 = (_a) => {
14147
14166
  role: "presentation",
14148
14167
  className: tw("py-5")
14149
14168
  }, title && /* @__PURE__ */ React95.createElement("div", {
14150
- className: classNames(className, "py-2 px-6 text-muted-2x uppercase cursor-default typography-caption")
14169
+ className: classNames(className, "py-2 px-6 text-inactive uppercase cursor-default typography-caption")
14151
14170
  }, title), /* @__PURE__ */ React95.createElement("ul", __spreadProps(__spreadValues({}, rest), {
14152
14171
  role: "group",
14153
14172
  className: classNames(tw("flex flex-col"), className)
@@ -14646,7 +14665,7 @@ var Switch = React105.forwardRef(
14646
14665
  })), /* @__PURE__ */ React105.createElement("span", {
14647
14666
  className: tw(
14648
14667
  "pointer-events-none rounded-full absolute inline-flex justify-center items-center transition duration-300 h-4 w-4 transform peer-checked/switch:translate-x-5",
14649
- "bg-white left-2 peer-checked/switch:left-1 text-muted-3x peer-checked/switch:text-primary-muted",
14668
+ "bg-white left-2 peer-checked/switch:left-1 text-inactive peer-checked/switch:text-primary-muted",
14650
14669
  {
14651
14670
  "shadow-4dp": !disabled
14652
14671
  }
@@ -14721,7 +14740,7 @@ import React107 from "react";
14721
14740
  var getVariantClassNames = (variant = "primary") => {
14722
14741
  switch (variant) {
14723
14742
  case "danger":
14724
- return tw("bg-secondary-default");
14743
+ return tw("bg-danger-intense");
14725
14744
  case "success":
14726
14745
  return tw("bg-success-intense");
14727
14746
  case "primary":
@@ -14987,7 +15006,7 @@ var getSelectedClassNames = (variant) => tw("relative z-40 text-intense", {
14987
15006
  var getCommonClassNames = (dense, selected) => tw(
14988
15007
  "transition whitespace-nowrap rounded mr-1",
14989
15008
  "focus:outline-none focus:ring-1 focus:ring-offset-0 focus:ring-grey-60",
14990
- "disabled:cursor-not-allowed disabled:text-muted-3x",
15009
+ "disabled:cursor-not-allowed disabled:text-inactive",
14991
15010
  {
14992
15011
  "py-4 px-5": !dense,
14993
15012
  "py-2 px-4": dense,
@@ -15047,8 +15066,9 @@ var Step = (_a) => {
15047
15066
  var _b = _a, { className, state } = _b, rest = __objRest(_b, ["className", "state"]);
15048
15067
  return /* @__PURE__ */ React111.createElement("div", __spreadProps(__spreadValues({}, rest), {
15049
15068
  className: classNames(
15050
- tw("flex flex-col items-center text-intense relative text-center", {
15051
- "text-muted-3x": state === "inactive"
15069
+ tw("flex flex-col items-center relative text-center", {
15070
+ "text-intense": state !== "inactive",
15071
+ "text-inactive": state === "inactive"
15052
15072
  }),
15053
15073
  className
15054
15074
  )
@@ -15060,7 +15080,7 @@ var getClassNames = (state) => tw("h-[32px] w-[32px] border-2", {
15060
15080
  "text-white bg-success-default border-success-intense": state === "completed"
15061
15081
  });
15062
15082
  var getDenseClassNames = (state) => tw("h-[8px] w-[8px]", {
15063
- "bg-intense-2x": state === "active",
15083
+ "bg-body-intense": state === "active",
15064
15084
  "bg-intense": state === "inactive",
15065
15085
  "text-success-default": state === "completed"
15066
15086
  });