@aivenio/aquarium 1.65.1 → 1.66.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.
Files changed (74) hide show
  1. package/dist/_variables.scss +57 -3
  2. package/dist/atoms.cjs +804 -316
  3. package/dist/atoms.mjs +799 -316
  4. package/dist/charts.cjs +1 -1
  5. package/dist/charts.mjs +1 -1
  6. package/dist/src/atoms/Alert/Alert.js +15 -15
  7. package/dist/src/atoms/Banner/Banner.js +3 -3
  8. package/dist/src/atoms/Card/Card.js +6 -6
  9. package/dist/src/atoms/Checkbox/Checkbox.js +7 -7
  10. package/dist/src/atoms/DataList/DataList.js +5 -5
  11. package/dist/src/atoms/Dialog/Dialog.d.ts +2 -2
  12. package/dist/src/atoms/Dialog/Dialog.js +4 -4
  13. package/dist/src/atoms/DropdownMenu/DropdownMenu.js +9 -9
  14. package/dist/src/atoms/Modal/Modal.js +4 -4
  15. package/dist/src/atoms/Navigation/Navigation.js +5 -5
  16. package/dist/src/atoms/Popover/Popover.js +2 -2
  17. package/dist/src/atoms/ProgressBar/ProgressBar.js +6 -6
  18. package/dist/src/atoms/RadioButton/RadioButton.js +4 -4
  19. package/dist/src/atoms/Section/Section.js +2 -2
  20. package/dist/src/atoms/Select/Select.js +17 -17
  21. package/dist/src/atoms/Stepper/Stepper.js +11 -11
  22. package/dist/src/atoms/Switch/Switch.js +5 -5
  23. package/dist/src/atoms/Table/Table.js +6 -6
  24. package/dist/src/atoms/Timeline/Timeline.js +3 -3
  25. package/dist/src/atoms/Toast/Toast.js +5 -5
  26. package/dist/src/atoms/Typography/Typography.d.ts +2 -2
  27. package/dist/src/atoms/Typography/Typography.js +2 -2
  28. package/dist/src/atoms/index.d.ts +5 -0
  29. package/dist/src/atoms/index.js +6 -1
  30. package/dist/src/charts/PieChart/ChartValue.js +1 -1
  31. package/dist/src/js/resolveTheme.js +2 -14
  32. package/dist/src/molecules/Accordion/Accordion.js +2 -2
  33. package/dist/src/molecules/Badge/Badge.js +2 -2
  34. package/dist/src/molecules/Breadcrumbs/Breadcrumbs.js +4 -4
  35. package/dist/src/molecules/Button/Button.js +6 -6
  36. package/dist/src/molecules/Chip/Chip.js +9 -9
  37. package/dist/src/molecules/ChoiceChip/ChoiceChip.js +3 -3
  38. package/dist/src/molecules/ControlLabel/ControlLabel.js +2 -2
  39. package/dist/src/molecules/DataList/DataList.d.ts +5 -1
  40. package/dist/src/molecules/DataList/DataList.js +7 -6
  41. package/dist/src/molecules/DataList/DataListGroup.d.ts +1 -1
  42. package/dist/src/molecules/DataList/DataListGroup.js +4 -3
  43. package/dist/src/molecules/DataTable/DataTable.js +1 -1
  44. package/dist/src/molecules/Divider/Divider.js +2 -2
  45. package/dist/src/molecules/Dropdown/Dropdown.js +6 -6
  46. package/dist/src/molecules/Icon/Icon.d.ts +2 -2
  47. package/dist/src/molecules/Icon/Icon.js +3 -3
  48. package/dist/src/molecules/Input/Input.js +20 -22
  49. package/dist/src/molecules/List/List.js +2 -2
  50. package/dist/src/molecules/ListItem/ListItem.js +2 -2
  51. package/dist/src/molecules/MultiInput/InputChip.js +7 -7
  52. package/dist/src/molecules/NativeSelect/NativeSelect.js +6 -6
  53. package/dist/src/molecules/Pagination/Pagination.js +2 -2
  54. package/dist/src/molecules/Section/Section.js +2 -2
  55. package/dist/src/molecules/SegmentedControl/SegmentedControl.js +12 -12
  56. package/dist/src/molecules/Skeleton/Skeleton.js +2 -2
  57. package/dist/src/molecules/Tabs/Tabs.js +9 -9
  58. package/dist/src/molecules/TagLabel/TagLabel.js +4 -4
  59. package/dist/src/molecules/Timeline/Timeline.js +2 -2
  60. package/dist/src/molecules/Tooltip/Tooltip.js +3 -3
  61. package/dist/src/utils/constants.js +6 -6
  62. package/dist/src/utils/form/CharCounter/CharCounter.js +2 -2
  63. package/dist/src/utils/form/HelperText/HelperText.js +2 -2
  64. package/dist/src/utils/form/InputAdornment/InputAdornment.js +6 -6
  65. package/dist/src/utils/form/Label/Label.js +6 -6
  66. package/dist/styles.css +315 -221
  67. package/dist/system.cjs +474 -227
  68. package/dist/system.mjs +486 -239
  69. package/dist/tailwind.config.js +62 -5
  70. package/dist/tailwind.theme.json +241 -1
  71. package/dist/tsconfig.module.tsbuildinfo +1 -1
  72. package/dist/types/designTokens.d.ts +2 -0
  73. package/dist/types/tailwindGenerated.d.ts +1 -1
  74. package/package.json +1 -1
package/dist/system.cjs CHANGED
@@ -652,12 +652,8 @@ var require_resolveTheme = __commonJS({
652
652
  "src/js/resolveTheme.js"(exports, module2) {
653
653
  "use strict";
654
654
  var tokensJson = require_tokens();
655
- var themeName = process.env.THEME || process.env.STORYBOOK_THEME || "aiven";
656
- if (!(themeName in tokensJson.themes)) {
657
- throw new Error(`Could not find theme '${themeName}' from tokens.json`);
658
- }
659
655
  module2.exports = {
660
- theme: tokensJson.themes[themeName]
656
+ theme: tokensJson.themes.aiven
661
657
  };
662
658
  }
663
659
  });
@@ -5040,7 +5036,7 @@ var classNames = (...args) => {
5040
5036
  // src/molecules/Icon/Icon.tsx
5041
5037
  var Icon = import_react.default.forwardRef((_a, ref) => {
5042
5038
  var _b = _a, { color, className } = _b, rest = __objRest(_b, ["color", "className"]);
5043
- const classes2 = classNames("Aquarium-Icon", className, color && `text-${color}`);
5039
+ const classes2 = classNames("Aquarium-Icon", className, color && `text-${String(color)}`);
5044
5040
  return /* @__PURE__ */ import_react.default.createElement(import_react2.Icon, __spreadValues({
5045
5041
  ref: ref != null ? ref : void 0,
5046
5042
  className: classes2 !== "" ? classes2 : void 0
@@ -5048,7 +5044,7 @@ var Icon = import_react.default.forwardRef((_a, ref) => {
5048
5044
  });
5049
5045
  var InlineIcon = import_react.default.forwardRef((_a, ref) => {
5050
5046
  var _b = _a, { color, className } = _b, rest = __objRest(_b, ["color", "className"]);
5051
- const classes2 = classNames("Aquarium-InlineIcon", color && `text-${color}`);
5047
+ const classes2 = classNames("Aquarium-InlineIcon", color && `text-${String(color)}`);
5052
5048
  return /* @__PURE__ */ import_react.default.createElement("span", {
5053
5049
  className: classNames(tw("children:inline-block inline-flex justify-center items-center"), className)
5054
5050
  }, /* @__PURE__ */ import_react.default.createElement(import_react2.InlineIcon, __spreadValues({
@@ -5082,16 +5078,16 @@ var InputContainer = import_react3.default.forwardRef(
5082
5078
  ref,
5083
5079
  className: classNames(
5084
5080
  className,
5085
- "relative rounded-sm typography-default-strong w-full flex flex-row items-center focus-visible:outline-0 focus-visible:border-info-70",
5081
+ "relative rounded-sm typography-default-strong w-full flex flex-row items-center focus-visible:outline-0 focus-visible:border-info-default",
5086
5082
  {
5087
5083
  "border px-3 py-[6px]": variant !== "readOnly",
5088
5084
  "cursor-default": variant === "readOnly",
5089
5085
  "border-default": variant !== "error" && variant !== "readOnly",
5090
- "border-error-50": variant === "error",
5086
+ "border-danger-default": variant === "error",
5091
5087
  "hover:border-intense": variant !== "error" && variant !== "disabled" && variant !== "focused",
5092
- "border-info-70": variant === "focused",
5093
- "bg-white": variant !== "disabled",
5094
- "cursor-not-allowed border-default bg-grey-5": variant === "disabled"
5088
+ "border-info-default": variant === "focused",
5089
+ "bg-body": variant !== "disabled",
5090
+ "cursor-not-allowed border-default bg-default": variant === "disabled"
5095
5091
  }
5096
5092
  )
5097
5093
  }, props));
@@ -5104,10 +5100,10 @@ var Input = import_react3.default.forwardRef((_a, ref) => {
5104
5100
  type: "text",
5105
5101
  className: classNames(
5106
5102
  className,
5107
- "grow rounded border-0 focus:outline-none px-[1px] my-1 min-w-0 typography-small disabled:cursor-not-allowed disabled:bg-grey-5 placeholder:text-muted",
5103
+ "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",
5108
5104
  {
5109
5105
  "text-default": !props.disabled,
5110
- "text-grey-30": props.disabled,
5106
+ "text-muted-3x": props.disabled,
5111
5107
  "cursor-default": props.readOnly
5112
5108
  }
5113
5109
  )
@@ -5129,7 +5125,7 @@ var NoResults = import_react3.default.forwardRef(
5129
5125
  return /* @__PURE__ */ import_react3.default.createElement("li", __spreadProps(__spreadValues({
5130
5126
  ref
5131
5127
  }, rest), {
5132
- className: classNames(tw("p-3 text-muted italic typography-small"), className)
5128
+ className: classNames(tw("p-3 text-muted-2x italic typography-small"), className)
5133
5129
  }), children);
5134
5130
  }
5135
5131
  );
@@ -5149,9 +5145,9 @@ var Group = import_react3.default.forwardRef((_a, ref) => {
5149
5145
  ref,
5150
5146
  className: classNames(
5151
5147
  className,
5152
- "flex items-center gap-x-3 p-3 text-muted uppercase cursor-default typography-caption mt-4 first:mt-0",
5148
+ "flex items-center gap-x-3 p-3 text-muted-2x uppercase cursor-default typography-caption mt-4 first:mt-0",
5153
5149
  {
5154
- "text-grey-20": props.disabled
5150
+ "text-muted-3x": props.disabled
5155
5151
  }
5156
5152
  )
5157
5153
  }, props), children);
@@ -5162,9 +5158,9 @@ var Item = import_react3.default.forwardRef(
5162
5158
  return /* @__PURE__ */ import_react3.default.createElement("li", __spreadValues({
5163
5159
  ref,
5164
5160
  className: classNames(className, "flex items-center gap-x-3 p-3 typography-small", {
5165
- "cursor-pointer hover:bg-grey-0": !props["aria-disabled"],
5161
+ "cursor-pointer hover:bg-muted": !props["aria-disabled"],
5166
5162
  "cursor-not-allowed opacity-40 grayscale": props["aria-disabled"],
5167
- "bg-grey-0": highlighted
5163
+ "bg-muted": highlighted
5168
5164
  })
5169
5165
  }, props), /* @__PURE__ */ import_react3.default.createElement("span", {
5170
5166
  className: tw("grow flex gap-x-3")
@@ -5180,12 +5176,12 @@ var ActionItem = import_react3.default.forwardRef(
5180
5176
  ref,
5181
5177
  role: "button",
5182
5178
  onClick: () => !props.disabled && (onClick == null ? void 0 : onClick()),
5183
- className: classNames(className, "flex items-center gap-x-3 typography-small text-primary-80", {
5179
+ className: classNames(className, "flex items-center gap-x-3 typography-small text-primary-intense", {
5184
5180
  "p-3": !dense,
5185
5181
  "px-3 py-2": dense,
5186
5182
  "cursor-pointer": !props.disabled,
5187
- "text-grey-20": props.disabled,
5188
- "hover:text-primary-70": !props.disabled
5183
+ "text-muted-3x": props.disabled,
5184
+ "hover:text-primary-default": !props.disabled
5189
5185
  })
5190
5186
  }, props), icon && /* @__PURE__ */ import_react3.default.createElement(InlineIcon, {
5191
5187
  icon
@@ -5202,7 +5198,7 @@ var Toggle = import_react3.default.forwardRef((_a, ref) => {
5202
5198
  }, props), {
5203
5199
  className: tw("grow-0 leading-none", { "cursor-not-allowed": (_a2 = props.disabled) != null ? _a2 : false })
5204
5200
  }), /* @__PURE__ */ import_react3.default.createElement(InlineIcon, {
5205
- color: props.disabled ? "grey-40" : "grey-70",
5201
+ color: props.disabled ? "muted-2x" : "default",
5206
5202
  icon: hasFocus ? import_search.default : isOpen ? import_chevronUp.default : import_chevronDown.default
5207
5203
  }));
5208
5204
  });
@@ -5602,7 +5598,247 @@ var tailwind_theme_default = {
5602
5598
  transparent: "var(--aquarium-colors-transparent, transparent)",
5603
5599
  current: "var(--aquarium-colors-current, currentColor)",
5604
5600
  white: "var(--aquarium-colors-white, white)",
5605
- black: "var(--aquarium-colors-black, black)"
5601
+ black: "var(--aquarium-colors-black, black)",
5602
+ body: "var(--aquarium-background-color-body)",
5603
+ "popover-content": "var(--aquarium-background-color-popover-content)",
5604
+ muted: "var(--aquarium-background-color-muted)",
5605
+ default: "var(--aquarium-background-color-default)",
5606
+ intense: "var(--aquarium-background-color-intense)",
5607
+ "intense-2x": "var(--aquarium-background-color-intense-2x)",
5608
+ "primary-muted-3x": "var(--aquarium-background-color-primary-muted-3x)",
5609
+ "primary-muted-2x": "var(--aquarium-background-color-primary-muted-2x)",
5610
+ "primary-muted": "var(--aquarium-background-color-primary-muted)",
5611
+ "primary-default": "var(--aquarium-background-color-primary-default)",
5612
+ "primary-intense": "var(--aquarium-background-color-primary-intense)",
5613
+ "secondary-default": "var(--aquarium-background-color-secondary-default)",
5614
+ "info-muted": "var(--aquarium-background-color-info-muted)",
5615
+ "info-default": "var(--aquarium-background-color-info-default)",
5616
+ "success-muted": "var(--aquarium-background-color-success-muted)",
5617
+ "success-default": "var(--aquarium-background-color-success-default)",
5618
+ "success-intense": "var(--aquarium-background-color-success-intense)",
5619
+ "warning-muted": "var(--aquarium-background-color-warning-muted)",
5620
+ "warning-default": "var(--aquarium-background-color-warning-default)",
5621
+ "danger-muted-2x": "var(--aquarium-background-color-danger-muted-2x)",
5622
+ "danger-muted": "var(--aquarium-background-color-danger-muted)",
5623
+ "danger-default": "var(--aquarium-background-color-danger-default)",
5624
+ "danger-intense": "var(--aquarium-background-color-danger-intense)"
5625
+ },
5626
+ textColor: {
5627
+ "error-100": "var(--aquarium-colors-error-100, #aa0000)",
5628
+ "error-90": "var(--aquarium-colors-error-90, #b90000)",
5629
+ "error-80": "var(--aquarium-colors-error-80, #c50001)",
5630
+ "error-70": "var(--aquarium-colors-error-70, #d80005)",
5631
+ "error-60": "var(--aquarium-colors-error-60, #e70000)",
5632
+ "error-50": "var(--aquarium-colors-error-50, #e62728)",
5633
+ "error-40": "var(--aquarium-colors-error-40, #e0504f)",
5634
+ "error-30": "var(--aquarium-colors-error-30, #ed7975)",
5635
+ "error-20": "var(--aquarium-colors-error-20, #ffadb3)",
5636
+ "error-10": "var(--aquarium-colors-error-10, #ffcbd2)",
5637
+ "error-5": "var(--aquarium-colors-error-5, #fee8e7)",
5638
+ "error-0": "var(--aquarium-colors-error-0, #fef2f1)",
5639
+ "warning-100": "var(--aquarium-colors-warning-100, #fe6d00)",
5640
+ "warning-90": "var(--aquarium-colors-warning-90, #ff9003)",
5641
+ "warning-80": "var(--aquarium-colors-warning-80, #fd9f00)",
5642
+ "warning-70": "var(--aquarium-colors-warning-70, #ffb300)",
5643
+ "warning-60": "var(--aquarium-colors-warning-60, #ffc107)",
5644
+ "warning-50": "var(--aquarium-colors-warning-50, #fdc926)",
5645
+ "warning-40": "var(--aquarium-colors-warning-40, #fdd44d)",
5646
+ "warning-30": "var(--aquarium-colors-warning-30, #fddf81)",
5647
+ "warning-20": "var(--aquarium-colors-warning-20, #feebb2)",
5648
+ "warning-10": "var(--aquarium-colors-warning-10, #fff2cd)",
5649
+ "warning-5": "var(--aquarium-colors-warning-5, #fff8ea)",
5650
+ "warning-0": "var(--aquarium-colors-warning-0, #fffdf9)",
5651
+ "success-100": "var(--aquarium-colors-success-100, #006f00)",
5652
+ "success-90": "var(--aquarium-colors-success-90, #008e00)",
5653
+ "success-80": "var(--aquarium-colors-success-80, #009f00)",
5654
+ "success-70": "var(--aquarium-colors-success-70, #00b300)",
5655
+ "success-60": "var(--aquarium-colors-success-60, #00c300)",
5656
+ "success-50": "var(--aquarium-colors-success-50, #40ce37)",
5657
+ "success-40": "var(--aquarium-colors-success-40, #60db57)",
5658
+ "success-30": "var(--aquarium-colors-success-30, #89eb80)",
5659
+ "success-20": "var(--aquarium-colors-success-20, #afffa7)",
5660
+ "success-10": "var(--aquarium-colors-success-10, #cbffc9)",
5661
+ "success-5": "var(--aquarium-colors-success-5, #ecf7ed)",
5662
+ "success-0": "var(--aquarium-colors-success-0, #f5faf5)",
5663
+ "info-100": "var(--aquarium-colors-info-100, #02569a)",
5664
+ "info-90": "var(--aquarium-colors-info-90, #0174ba)",
5665
+ "info-80": "var(--aquarium-colors-info-80, #0788d1)",
5666
+ "info-70": "var(--aquarium-colors-info-70, #0399e3)",
5667
+ "info-60": "var(--aquarium-colors-info-60, #02a8f3)",
5668
+ "info-50": "var(--aquarium-colors-info-50, #28b4f4)",
5669
+ "info-40": "var(--aquarium-colors-info-40, #4cc2f7)",
5670
+ "info-30": "var(--aquarium-colors-info-30, #7fd1f7)",
5671
+ "info-20": "var(--aquarium-colors-info-20, #b4e5fb)",
5672
+ "info-10": "var(--aquarium-colors-info-10, #e0f5fe)",
5673
+ "info-5": "var(--aquarium-colors-info-5, #effaff)",
5674
+ "info-0": "var(--aquarium-colors-info-0, #f9fdff)",
5675
+ "grey-100": "var(--aquarium-colors-grey-100, #19191d)",
5676
+ "grey-90": "var(--aquarium-colors-grey-90, #292a31)",
5677
+ "grey-80": "var(--aquarium-colors-grey-80, #3a3a44)",
5678
+ "grey-70": "var(--aquarium-colors-grey-70, #4a4b57)",
5679
+ "grey-60": "var(--aquarium-colors-grey-60, #5a5b6a)",
5680
+ "grey-50": "var(--aquarium-colors-grey-50, #787885)",
5681
+ "grey-40": "var(--aquarium-colors-grey-40, #9696a0)",
5682
+ "grey-30": "var(--aquarium-colors-grey-30, #b4b4bb)",
5683
+ "grey-20": "var(--aquarium-colors-grey-20, #d2d2d6)",
5684
+ "grey-10": "var(--aquarium-colors-grey-10, #e1e1e3)",
5685
+ "grey-5": "var(--aquarium-colors-grey-5, #ededf0)",
5686
+ "grey-0": "var(--aquarium-colors-grey-0, #f7f7fa)",
5687
+ "secondary-100": "var(--aquarium-colors-secondary-100, #e11d16)",
5688
+ "secondary-90": "var(--aquarium-colors-secondary-90, #eb4610)",
5689
+ "secondary-80": "var(--aquarium-colors-secondary-80, #f3580d)",
5690
+ "secondary-70": "var(--aquarium-colors-secondary-70, #f96a02)",
5691
+ "secondary-60": "var(--aquarium-colors-secondary-60, #ff7700)",
5692
+ "secondary-50": "var(--aquarium-colors-secondary-50, #fc871a)",
5693
+ "secondary-40": "var(--aquarium-colors-secondary-40, #fb9a3e)",
5694
+ "secondary-30": "var(--aquarium-colors-secondary-30, #fab26e)",
5695
+ "secondary-20": "var(--aquarium-colors-secondary-20, #f8c99c)",
5696
+ "secondary-10": "var(--aquarium-colors-secondary-10, #fee8d0)",
5697
+ "secondary-5": "var(--aquarium-colors-secondary-5, #fff3e8)",
5698
+ "secondary-0": "var(--aquarium-colors-secondary-0, #fffbf8)",
5699
+ "primary-100": "var(--aquarium-colors-primary-100, #0e1652)",
5700
+ "primary-90": "var(--aquarium-colors-primary-90, #222f95)",
5701
+ "primary-80": "var(--aquarium-colors-primary-80, #3545be)",
5702
+ "primary-70": "var(--aquarium-colors-primary-70, #5865cd)",
5703
+ "primary-60": "var(--aquarium-colors-primary-60, #818eec)",
5704
+ "primary-50": "var(--aquarium-colors-primary-50, #9daaee)",
5705
+ "primary-40": "var(--aquarium-colors-primary-40, #b9c5ef)",
5706
+ "primary-30": "var(--aquarium-colors-primary-30, #c7d1f4)",
5707
+ "primary-20": "var(--aquarium-colors-primary-20, #d5ddfa)",
5708
+ "primary-10": "var(--aquarium-colors-primary-10, #e3e9ff)",
5709
+ "primary-5": "var(--aquarium-colors-primary-5, #f3f6ff)",
5710
+ "primary-0": "var(--aquarium-colors-primary-0, #ffffff)",
5711
+ transparent: "var(--aquarium-colors-transparent, transparent)",
5712
+ current: "var(--aquarium-colors-current, currentColor)",
5713
+ white: "var(--aquarium-colors-white, white)",
5714
+ black: "var(--aquarium-colors-black, black)",
5715
+ "muted-3x": "var(--aquarium-text-color-muted-3x)",
5716
+ "muted-2x": "var(--aquarium-text-color-muted-2x)",
5717
+ muted: "var(--aquarium-text-color-muted)",
5718
+ default: "var(--aquarium-text-color-default)",
5719
+ intense: "var(--aquarium-text-color-intense)",
5720
+ "primary-muted-3x": "var(--aquarium-text-color-primary-muted-3x)",
5721
+ "primary-muted-2x": "var(--aquarium-text-color-primary-muted-2x)",
5722
+ "primary-muted": "var(--aquarium-text-color-primary-muted)",
5723
+ "primary-default": "var(--aquarium-text-color-primary-default)",
5724
+ "primary-intense": "var(--aquarium-text-color-primary-intense)",
5725
+ "primary-intense-2x": "var(--aquarium-text-color-primary-intense-2x)",
5726
+ "info-default": "var(--aquarium-text-color-info-default)",
5727
+ "info-intense": "var(--aquarium-text-color-info-intense)",
5728
+ "success-default": "var(--aquarium-text-color-success-default)",
5729
+ "success-intense": "var(--aquarium-text-color-success-intense)",
5730
+ "warning-default": "var(--aquarium-text-color-warning-default)",
5731
+ "warning-intense": "var(--aquarium-text-color-warning-intense)",
5732
+ "danger-muted": "var(--aquarium-text-color-danger-muted)",
5733
+ "danger-default": "var(--aquarium-text-color-danger-default)",
5734
+ "danger-intense": "var(--aquarium-text-color-danger-intense)"
5735
+ },
5736
+ borderColor: {
5737
+ "error-100": "var(--aquarium-colors-error-100, #aa0000)",
5738
+ "error-90": "var(--aquarium-colors-error-90, #b90000)",
5739
+ "error-80": "var(--aquarium-colors-error-80, #c50001)",
5740
+ "error-70": "var(--aquarium-colors-error-70, #d80005)",
5741
+ "error-60": "var(--aquarium-colors-error-60, #e70000)",
5742
+ "error-50": "var(--aquarium-colors-error-50, #e62728)",
5743
+ "error-40": "var(--aquarium-colors-error-40, #e0504f)",
5744
+ "error-30": "var(--aquarium-colors-error-30, #ed7975)",
5745
+ "error-20": "var(--aquarium-colors-error-20, #ffadb3)",
5746
+ "error-10": "var(--aquarium-colors-error-10, #ffcbd2)",
5747
+ "error-5": "var(--aquarium-colors-error-5, #fee8e7)",
5748
+ "error-0": "var(--aquarium-colors-error-0, #fef2f1)",
5749
+ "warning-100": "var(--aquarium-colors-warning-100, #fe6d00)",
5750
+ "warning-90": "var(--aquarium-colors-warning-90, #ff9003)",
5751
+ "warning-80": "var(--aquarium-colors-warning-80, #fd9f00)",
5752
+ "warning-70": "var(--aquarium-colors-warning-70, #ffb300)",
5753
+ "warning-60": "var(--aquarium-colors-warning-60, #ffc107)",
5754
+ "warning-50": "var(--aquarium-colors-warning-50, #fdc926)",
5755
+ "warning-40": "var(--aquarium-colors-warning-40, #fdd44d)",
5756
+ "warning-30": "var(--aquarium-colors-warning-30, #fddf81)",
5757
+ "warning-20": "var(--aquarium-colors-warning-20, #feebb2)",
5758
+ "warning-10": "var(--aquarium-colors-warning-10, #fff2cd)",
5759
+ "warning-5": "var(--aquarium-colors-warning-5, #fff8ea)",
5760
+ "warning-0": "var(--aquarium-colors-warning-0, #fffdf9)",
5761
+ "success-100": "var(--aquarium-colors-success-100, #006f00)",
5762
+ "success-90": "var(--aquarium-colors-success-90, #008e00)",
5763
+ "success-80": "var(--aquarium-colors-success-80, #009f00)",
5764
+ "success-70": "var(--aquarium-colors-success-70, #00b300)",
5765
+ "success-60": "var(--aquarium-colors-success-60, #00c300)",
5766
+ "success-50": "var(--aquarium-colors-success-50, #40ce37)",
5767
+ "success-40": "var(--aquarium-colors-success-40, #60db57)",
5768
+ "success-30": "var(--aquarium-colors-success-30, #89eb80)",
5769
+ "success-20": "var(--aquarium-colors-success-20, #afffa7)",
5770
+ "success-10": "var(--aquarium-colors-success-10, #cbffc9)",
5771
+ "success-5": "var(--aquarium-colors-success-5, #ecf7ed)",
5772
+ "success-0": "var(--aquarium-colors-success-0, #f5faf5)",
5773
+ "info-100": "var(--aquarium-colors-info-100, #02569a)",
5774
+ "info-90": "var(--aquarium-colors-info-90, #0174ba)",
5775
+ "info-80": "var(--aquarium-colors-info-80, #0788d1)",
5776
+ "info-70": "var(--aquarium-colors-info-70, #0399e3)",
5777
+ "info-60": "var(--aquarium-colors-info-60, #02a8f3)",
5778
+ "info-50": "var(--aquarium-colors-info-50, #28b4f4)",
5779
+ "info-40": "var(--aquarium-colors-info-40, #4cc2f7)",
5780
+ "info-30": "var(--aquarium-colors-info-30, #7fd1f7)",
5781
+ "info-20": "var(--aquarium-colors-info-20, #b4e5fb)",
5782
+ "info-10": "var(--aquarium-colors-info-10, #e0f5fe)",
5783
+ "info-5": "var(--aquarium-colors-info-5, #effaff)",
5784
+ "info-0": "var(--aquarium-colors-info-0, #f9fdff)",
5785
+ "grey-100": "var(--aquarium-colors-grey-100, #19191d)",
5786
+ "grey-90": "var(--aquarium-colors-grey-90, #292a31)",
5787
+ "grey-80": "var(--aquarium-colors-grey-80, #3a3a44)",
5788
+ "grey-70": "var(--aquarium-colors-grey-70, #4a4b57)",
5789
+ "grey-60": "var(--aquarium-colors-grey-60, #5a5b6a)",
5790
+ "grey-50": "var(--aquarium-colors-grey-50, #787885)",
5791
+ "grey-40": "var(--aquarium-colors-grey-40, #9696a0)",
5792
+ "grey-30": "var(--aquarium-colors-grey-30, #b4b4bb)",
5793
+ "grey-20": "var(--aquarium-colors-grey-20, #d2d2d6)",
5794
+ "grey-10": "var(--aquarium-colors-grey-10, #e1e1e3)",
5795
+ "grey-5": "var(--aquarium-colors-grey-5, #ededf0)",
5796
+ "grey-0": "var(--aquarium-colors-grey-0, #f7f7fa)",
5797
+ "secondary-100": "var(--aquarium-colors-secondary-100, #e11d16)",
5798
+ "secondary-90": "var(--aquarium-colors-secondary-90, #eb4610)",
5799
+ "secondary-80": "var(--aquarium-colors-secondary-80, #f3580d)",
5800
+ "secondary-70": "var(--aquarium-colors-secondary-70, #f96a02)",
5801
+ "secondary-60": "var(--aquarium-colors-secondary-60, #ff7700)",
5802
+ "secondary-50": "var(--aquarium-colors-secondary-50, #fc871a)",
5803
+ "secondary-40": "var(--aquarium-colors-secondary-40, #fb9a3e)",
5804
+ "secondary-30": "var(--aquarium-colors-secondary-30, #fab26e)",
5805
+ "secondary-20": "var(--aquarium-colors-secondary-20, #f8c99c)",
5806
+ "secondary-10": "var(--aquarium-colors-secondary-10, #fee8d0)",
5807
+ "secondary-5": "var(--aquarium-colors-secondary-5, #fff3e8)",
5808
+ "secondary-0": "var(--aquarium-colors-secondary-0, #fffbf8)",
5809
+ "primary-100": "var(--aquarium-colors-primary-100, #0e1652)",
5810
+ "primary-90": "var(--aquarium-colors-primary-90, #222f95)",
5811
+ "primary-80": "var(--aquarium-colors-primary-80, #3545be)",
5812
+ "primary-70": "var(--aquarium-colors-primary-70, #5865cd)",
5813
+ "primary-60": "var(--aquarium-colors-primary-60, #818eec)",
5814
+ "primary-50": "var(--aquarium-colors-primary-50, #9daaee)",
5815
+ "primary-40": "var(--aquarium-colors-primary-40, #b9c5ef)",
5816
+ "primary-30": "var(--aquarium-colors-primary-30, #c7d1f4)",
5817
+ "primary-20": "var(--aquarium-colors-primary-20, #d5ddfa)",
5818
+ "primary-10": "var(--aquarium-colors-primary-10, #e3e9ff)",
5819
+ "primary-5": "var(--aquarium-colors-primary-5, #f3f6ff)",
5820
+ "primary-0": "var(--aquarium-colors-primary-0, #ffffff)",
5821
+ transparent: "var(--aquarium-colors-transparent, transparent)",
5822
+ current: "var(--aquarium-colors-current, currentColor)",
5823
+ white: "var(--aquarium-colors-white, white)",
5824
+ black: "var(--aquarium-colors-black, black)",
5825
+ DEFAULT: "currentColor",
5826
+ "muted-2x": "var(--aquarium-border-color-muted-2x)",
5827
+ muted: "var(--aquarium-border-color-muted)",
5828
+ default: "var(--aquarium-border-color-default)",
5829
+ intense: "var(--aquarium-border-color-intense)",
5830
+ "primary-muted-3x": "var(--aquarium-border-color-primary-muted-3x)",
5831
+ "primary-muted-2x": "var(--aquarium-border-color-primary-muted-2x)",
5832
+ "primary-muted": "var(--aquarium-border-color-primary-muted)",
5833
+ "primary-default": "var(--aquarium-border-color-primary-default)",
5834
+ "info-default": "var(--aquarium-border-color-info-default)",
5835
+ "success-muted": "var(--aquarium-border-color-success-muted)",
5836
+ "success-default": "var(--aquarium-border-color-success-default)",
5837
+ "success-intense": "var(--aquarium-border-color-success-intense)",
5838
+ "warning-muted": "var(--aquarium-border-color-warning-muted)",
5839
+ "danger-muted": "var(--aquarium-border-color-danger-muted)",
5840
+ "danger-default": "var(--aquarium-border-color-danger-default)",
5841
+ "danger-intense": "var(--aquarium-border-color-danger-intense)"
5606
5842
  },
5607
5843
  gap: {
5608
5844
  "0": "0",
@@ -6078,8 +6314,8 @@ var Toast = (_a) => {
6078
6314
  return /* @__PURE__ */ import_react10.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
6079
6315
  className: (0, import_classnames2.default)(
6080
6316
  tw("typography-body-small rounded grid grid-cols-[1fr_auto] items-center gap-x-6 gap-y-2 p-4 text-white", {
6081
- "bg-grey-80": variant === "default",
6082
- "bg-error-70": variant === "danger"
6317
+ "bg-intense-2x": variant === "default",
6318
+ "bg-danger-intense": variant === "danger"
6083
6319
  }),
6084
6320
  className
6085
6321
  )
@@ -6090,8 +6326,8 @@ var Dismiss = (_a) => {
6090
6326
  return /* @__PURE__ */ import_react10.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
6091
6327
  className: (0, import_classnames2.default)(
6092
6328
  tw("self-start [&>button]:p-0 flex", {
6093
- "[&>button]:text-grey-50": variant === "default",
6094
- "[&>button]:text-error-20": variant === "danger"
6329
+ "[&>button]:text-muted": variant === "default",
6330
+ "[&>button]:text-danger-muted": variant === "danger"
6095
6331
  }),
6096
6332
  className
6097
6333
  )
@@ -6907,7 +7143,7 @@ var TooltipWrapper = import_react18.default.forwardRef(
6907
7143
  const arrowStyle = getArrowStyle(ref.current, placement, (_a2 = arrowProps.style) != null ? _a2 : {});
6908
7144
  return /* @__PURE__ */ import_react18.default.createElement(import_overlays3.OverlayContainer, null, /* @__PURE__ */ import_react18.default.createElement("div", __spreadValues({
6909
7145
  ref,
6910
- className: classNames(tw("p-3 rounded-sm typography-caption max-w-[320px] bg-grey-90 text-white"))
7146
+ className: classNames(tw("p-3 rounded-sm typography-caption max-w-[320px] bg-intense-2x text-white"))
6911
7147
  }, (0, import_utils.mergeProps)(props, tooltipProps)), props.children, /* @__PURE__ */ import_react18.default.createElement(Arrow, __spreadProps(__spreadValues({}, arrowProps), {
6912
7148
  style: arrowStyle
6913
7149
  }))));
@@ -6946,26 +7182,26 @@ var getArrowStyle = (element, position, { left, top }) => {
6946
7182
  };
6947
7183
  var Arrow = (props) => {
6948
7184
  return /* @__PURE__ */ import_react18.default.createElement("div", __spreadValues({
6949
- className: tw("absolute w-3 h-3 bg-grey-90 rotate-45")
7185
+ className: tw("absolute w-3 h-3 bg-intense-2x rotate-45")
6950
7186
  }, props));
6951
7187
  };
6952
7188
 
6953
7189
  // src/utils/constants.ts
6954
7190
  var getCommonInputStyles = ({ readOnly, valid }) => tw(
6955
- "block w-full rounded-sm disabled:cursor-not-allowed disabled:border-default disabled:bg-grey-5 typography-small text-default disabled:text-muted placeholder:text-muted focus:outline-none",
7191
+ "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",
6956
7192
  {
6957
7193
  "px-3 py-3": !readOnly,
6958
7194
  "border-none resize-none cursor-default": readOnly,
6959
- "border border-error-50": !valid && !readOnly,
6960
- "border border-default hover:border-intense focus:border-info-70": valid && !readOnly
7195
+ "border border-danger-default": !valid && !readOnly,
7196
+ "border border-default hover:border-intense focus:border-info-default": valid && !readOnly
6961
7197
  }
6962
7198
  );
6963
7199
  var ghostButtonStyle = tw(
6964
- "text-primary-80 active:text-primary-90 focus-visible:text-primary-90 hover:text-primary-90 disabled:text-primary-40"
7200
+ "text-primary-intense active:text-primary-intense-2x focus-visible:text-primary-intense-2x hover:text-primary-intense-2x disabled:text-primary-muted-2x"
6965
7201
  );
6966
7202
  var linkStyle = classNames(
6967
7203
  ghostButtonStyle,
6968
- tw("visited:text-primary-80 no-underline hover:underline focusable")
7204
+ tw("visited:text-primary-intense no-underline hover:underline focusable")
6969
7205
  );
6970
7206
 
6971
7207
  // src/utils/string.ts
@@ -6976,19 +7212,19 @@ var import_chevronDown3 = __toESM(require_chevronDown());
6976
7212
  var import_loading2 = __toESM(require_loading());
6977
7213
  var COLOR_CLASSNAMES = {
6978
7214
  "primary": tw(
6979
- "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-90 disabled:bg-primary-40"
7215
+ "text-white bg-primary-default active:bg-primary-intense active:ring-0 focus-visible:ring-2 focus-visible:ring-primary-100 focus-visible:ring-inset hover:bg-primary-intense disabled:bg-primary-muted"
6980
7216
  ),
6981
7217
  "secondary": tw(
6982
- "text-primary-80 bg-white ring-1 ring-primary-80 ring-inset",
6983
- "active:bg-primary-5 active:ring-primary-90 active:text-primary-90",
6984
- "focus-visible:ring-2 focus-visible:ring-primary-90 focus-visible:text-primary-80",
6985
- "hover:bg-primary-5 hover:ring-primary-90 hover:text-primary-90",
6986
- "disabled:bg-white disabled:text-primary-40 disabled:ring-primary-40"
7218
+ "text-primary-intense bg-body ring-1 ring-primary-80 ring-inset",
7219
+ "active:bg-primary-muted-3x active:ring-primary-90 active:text-primary-intense",
7220
+ "focus-visible:ring-2 focus-visible:ring-primary-90 focus-visible:text-primary-intense",
7221
+ "hover:bg-primary-muted-3x hover:ring-primary-90 hover:text-primary-intense",
7222
+ "disabled:bg-body disabled:text-primary-muted-2x disabled:ring-primary-40"
6987
7223
  ),
6988
7224
  "ghost": ghostButtonStyle,
6989
7225
  "text": linkStyle,
6990
7226
  "secondary-ghost": tw(
6991
- "text-grey-60 active:text-grey-50 focus-visible:text-grey-80 hover:text-grey-80 disabled:text-grey-30"
7227
+ "text-grey-60 active:text-muted focus-visible:text-intense hover:text-intense disabled:text-muted-3x"
6992
7228
  )
6993
7229
  };
6994
7230
  var LoadingSpinner = ({ size = "20px" }) => {
@@ -6996,7 +7232,7 @@ var LoadingSpinner = ({ size = "20px" }) => {
6996
7232
  icon: import_loading2.default,
6997
7233
  width: size,
6998
7234
  height: size,
6999
- color: "primary-80",
7235
+ color: "primary-intense",
7000
7236
  "data-testid": "loading-button"
7001
7237
  });
7002
7238
  };
@@ -7091,7 +7327,7 @@ var asButton = (Component, isDropdownButton) => {
7091
7327
  tw(
7092
7328
  "inline-block border-0 rounded-sm transition whitespace-nowrap focus:outline-none relative text-center",
7093
7329
  {
7094
- "text-default p-2 active:text-default active:bg-transparent hover:text-grey-90 hover:bg-grey-0 focus-visible:text-grey-90 focus-visible:bg-grey-0 disabled:text-muted disabled:bg-transparent": isIconOnlyButton,
7330
+ "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,
7095
7331
  "typography-default-strong": !dense && !isIconOnlyButton && kind !== "text",
7096
7332
  "typography-small-strong": dense && !isIconOnlyButton && kind !== "text",
7097
7333
  "py-3 px-4": !dense && isButton,
@@ -7236,7 +7472,7 @@ var Typography = (_a) => {
7236
7472
  const resolvedColorName = (0, import_isUndefined6.default)(color) || color === "current" ? "default" : color;
7237
7473
  const style = useStyle({ fontWeight });
7238
7474
  return /* @__PURE__ */ import_react20.default.createElement(HtmlElement, __spreadValues({
7239
- className: classNames(typographies[variant], `text-${resolvedColorName}`, className),
7475
+ className: classNames(typographies[variant], `text-${resolvedColorName.toString()}`, className),
7240
7476
  style
7241
7477
  }, rest), children);
7242
7478
  };
@@ -7392,23 +7628,23 @@ var import_warningSign2 = __toESM(require_warningSign());
7392
7628
  var alertTypes = {
7393
7629
  announcement: {
7394
7630
  icon: import_announcement2.default,
7395
- color: "primary-80"
7631
+ color: "primary-intense"
7396
7632
  },
7397
7633
  information: {
7398
7634
  icon: import_infoSign2.default,
7399
- color: "info-70"
7635
+ color: "info-default"
7400
7636
  },
7401
7637
  warning: {
7402
7638
  icon: import_warningSign2.default,
7403
- color: "warning-90"
7639
+ color: "warning-default"
7404
7640
  },
7405
7641
  error: {
7406
7642
  icon: import_error2.default,
7407
- color: "error-70"
7643
+ color: "danger-intense"
7408
7644
  },
7409
7645
  success: {
7410
7646
  icon: import_tickCircle2.default,
7411
- color: "success-70"
7647
+ color: "success-default"
7412
7648
  }
7413
7649
  };
7414
7650
  var Alert = (_a) => {
@@ -7427,11 +7663,11 @@ var Alert = (_a) => {
7427
7663
  role: type === "error" || type === "warning" ? "alert" : "status",
7428
7664
  className: classNames(
7429
7665
  tw("rounded grid grid-cols-[auto_1fr_auto] items-center gap-x-3 gap-y-2", {
7430
- "bg-error-5": type === "error",
7431
- "bg-info-10": type === "information",
7432
- "bg-success-5": type === "success",
7433
- "bg-warning-5": type === "warning",
7434
- "bg-primary-10": type === "announcement",
7666
+ "bg-danger-muted-2x": type === "error",
7667
+ "bg-info-muted": type === "information",
7668
+ "bg-success-muted": type === "success",
7669
+ "bg-warning-muted": type === "warning",
7670
+ "bg-primary-muted-2x": type === "announcement",
7435
7671
  "p-4": Boolean(dense),
7436
7672
  "p-5": !dense
7437
7673
  }),
@@ -7495,10 +7731,10 @@ var Banner = (_a) => {
7495
7731
  role: type === "error" || type === "warning" ? "alert" : "status",
7496
7732
  className: classNames(
7497
7733
  tw("relative flex px-[60px] justify-center", {
7498
- "bg-error-5": type === "error",
7499
- "bg-primary-5": type === "information",
7500
- "bg-success-5": type === "success",
7501
- "bg-warning-5": type === "warning"
7734
+ "bg-danger-muted-2x": type === "error",
7735
+ "bg-primary-muted-3x": type === "information",
7736
+ "bg-success-muted": type === "success",
7737
+ "bg-warning-muted": type === "warning"
7502
7738
  }),
7503
7739
  className
7504
7740
  )
@@ -7681,7 +7917,7 @@ var Skeleton = (_a) => {
7681
7917
  role: "progressbar",
7682
7918
  className: classNames(
7683
7919
  "Aquarium-Skeleton",
7684
- tw("bg-grey-5", {
7920
+ tw("bg-default", {
7685
7921
  "h-auto before:content-['_'] whitespace-pre origin-[0%_45%] scale-[0.55]": (0, import_isUndefined7.default)(height),
7686
7922
  "rounded-full": rounded,
7687
7923
  "block": display === "block",
@@ -7766,7 +8002,7 @@ var NotificationBadge = (_a) => {
7766
8002
  className: classNames("Aquarium-Badge.Notification", tw("relative inline-flex"))
7767
8003
  }), children, /* @__PURE__ */ import_react26.default.createElement("span", {
7768
8004
  style: { top, right },
7769
- className: tw("absolute rounded-full w-[6px] h-[6px] bg-error-70")
8005
+ className: tw("absolute rounded-full w-[6px] h-[6px] bg-danger-intense")
7770
8006
  }));
7771
8007
  };
7772
8008
  var DotBadge = (_a) => {
@@ -7816,8 +8052,8 @@ var Banner3 = (_a) => {
7816
8052
  className,
7817
8053
  tw(`rounded flex justify-between gap-7 flex-nowrap ${spacing.spacingAroundBanner}`, {
7818
8054
  "items-center": layout === "horizontal",
7819
- "bg-grey-0": variant === "default",
7820
- "bg-white border border-muted": variant === "outlined"
8055
+ "bg-muted": variant === "default",
8056
+ "bg-body border border-muted": variant === "outlined"
7821
8057
  })
7822
8058
  )
7823
8059
  }), children);
@@ -7952,7 +8188,7 @@ var Breadcrumbs = (props) => {
7952
8188
  className: tw("flex flex-row items-center")
7953
8189
  }, !!index && /* @__PURE__ */ import_react29.default.createElement(Icon, {
7954
8190
  "aria-hidden": true,
7955
- className: tw("mx-2 text-grey-30"),
8191
+ className: tw("mx-2 text-muted-3x"),
7956
8192
  icon: import_slash2.default
7957
8193
  }), !isLast && crumb, isLast && /* @__PURE__ */ import_react29.default.createElement(ActiveCrumb, {
7958
8194
  "aria-disabled": true,
@@ -7971,8 +8207,8 @@ var asCrumb = (Component, displayName, options = { isActive: false }) => {
7971
8207
  }), /* @__PURE__ */ import_react29.default.createElement("span", {
7972
8208
  className: (0, import_classnames4.default)(
7973
8209
  tw("flex flex-row flex-nowrap items-center gap-x-3 whitespace-nowrap", {
7974
- "text-primary-80 hover:text-primary-70 no-underline hover:underline": !options.isActive,
7975
- "text-grey-90": options.isActive
8210
+ "text-primary-intense hover:text-primary-default no-underline hover:underline": !options.isActive,
8211
+ "text-intense": options.isActive
7976
8212
  })
7977
8213
  )
7978
8214
  }, icon && /* @__PURE__ */ import_react29.default.createElement(Icon, {
@@ -8027,16 +8263,16 @@ var import_lock2 = __toESM(require_lock());
8027
8263
  var getStatusClassNames = (status = "neutral") => {
8028
8264
  switch (status) {
8029
8265
  case "info":
8030
- return tw("text-info-100 bg-info-5");
8266
+ return tw("text-info-intense bg-info-muted");
8031
8267
  case "warning":
8032
- return tw("text-secondary-80 bg-secondary-5");
8268
+ return tw("text-warning-intense bg-warning-muted");
8033
8269
  case "danger":
8034
- return tw("text-error-100 bg-error-5");
8270
+ return tw("text-danger-intense bg-danger-muted-2x");
8035
8271
  case "success":
8036
- return tw("text-success-100 bg-success-5");
8272
+ return tw("text-success-intense bg-success-muted");
8037
8273
  case "neutral":
8038
8274
  default:
8039
- return tw("text-default bg-grey-5");
8275
+ return tw("text-default bg-default");
8040
8276
  }
8041
8277
  };
8042
8278
  var Chip2 = (_a) => {
@@ -8060,8 +8296,8 @@ var Chip2 = (_a) => {
8060
8296
  className: (0, import_classnames5.default)(
8061
8297
  "Aquarium-Chip",
8062
8298
  tw({
8063
- "bg-grey-0 text-default": !locked,
8064
- "bg-grey-5 text-muted": locked
8299
+ "bg-muted text-default": !locked,
8300
+ "bg-grey-5 text-muted-2x": locked
8065
8301
  })
8066
8302
  )
8067
8303
  }, rest), icon && /* @__PURE__ */ import_react32.default.createElement(InlineIcon, {
@@ -8069,7 +8305,7 @@ var Chip2 = (_a) => {
8069
8305
  }), text, (0, import_isNumber2.default)(badge) && /* @__PURE__ */ import_react32.default.createElement(ChipBadge, {
8070
8306
  dense,
8071
8307
  value: badge,
8072
- textClassname: tw("text-grey-50")
8308
+ textClassname: tw("text-muted")
8073
8309
  }), onClose && /* @__PURE__ */ import_react32.default.createElement(InlineIcon, {
8074
8310
  role: "button",
8075
8311
  "aria-hidden": false,
@@ -8140,11 +8376,11 @@ var getCommonCardStyles = ({
8140
8376
  fullWidth = false,
8141
8377
  enableMinWidth = true,
8142
8378
  disabled = false
8143
- }) => tw("border-[2px] border-muted rounded-[2px] relative p-5 flex flex-col gap-5 bg-white outline-none transition-all", {
8379
+ }) => tw("border-[2px] border-muted rounded-[2px] relative p-5 flex flex-col gap-5 bg-body outline-none transition-all", {
8144
8380
  "w-[280px]": !fullWidth,
8145
8381
  "w-full": fullWidth,
8146
8382
  "min-w-[280px]": fullWidth && enableMinWidth,
8147
- "bg-grey-0 cursor-not-allowed focus:border-transparent opacity-50": disabled
8383
+ "bg-muted cursor-not-allowed focus:border-transparent opacity-50": disabled
8148
8384
  });
8149
8385
  var Card = import_react34.default.forwardRef((props, ref) => {
8150
8386
  const _a = props, {
@@ -8174,7 +8410,7 @@ var Card = import_react34.default.forwardRef((props, ref) => {
8174
8410
  className: classNames(
8175
8411
  getCommonCardStyles(props),
8176
8412
  tw({
8177
- "cursor-pointer hover:bg-primary-5 active:bg-white": clickable && !disabled,
8413
+ "cursor-pointer hover:bg-primary-muted-3x active:bg-body": clickable && !disabled,
8178
8414
  "focusable": clickable && modality === "keyboard"
8179
8415
  }),
8180
8416
  className
@@ -8187,8 +8423,8 @@ var Label = (props) => {
8187
8423
  className: classNames(
8188
8424
  getCommonCardStyles(props),
8189
8425
  tw({
8190
- "cursor-pointer hover:bg-primary-5 active:bg-white": !disabled,
8191
- "border-primary-80": checked,
8426
+ "cursor-pointer hover:bg-primary-muted-3x active:bg-body": !disabled,
8427
+ "border-primary-default": checked,
8192
8428
  "focusable": modality === "keyboard"
8193
8429
  }),
8194
8430
  className
@@ -8282,7 +8518,7 @@ var Checkbox = import_react35.default.forwardRef(
8282
8518
  var _b = _a, { id, children, name, disabled = false, readOnly = false, indeterminate = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly", "indeterminate"]);
8283
8519
  return /* @__PURE__ */ import_react35.default.createElement("span", {
8284
8520
  className: classNames(tw("inline-flex justify-center items-center self-center relative"), {
8285
- "hover:border-intense peer-checked:border-primary-80": !disabled,
8521
+ "hover:border-intense peer-checked:border-primary-default": !disabled,
8286
8522
  "border-muted": disabled
8287
8523
  })
8288
8524
  }, /* @__PURE__ */ import_react35.default.createElement("input", __spreadProps(__spreadValues({
@@ -8293,8 +8529,8 @@ var Checkbox = import_react35.default.forwardRef(
8293
8529
  }, props), {
8294
8530
  className: classNames(
8295
8531
  tw("peer appearance-none outline-none w-5 h-5", "rounded-sm border border-transparent", {
8296
- "cursor-pointer checked:bg-primary-80": !disabled,
8297
- "cursor-not-allowed bg-grey-0 checked:bg-primary-40": disabled
8532
+ "cursor-pointer checked:bg-primary-default": !disabled,
8533
+ "cursor-not-allowed bg-muted checked:bg-primary-muted": disabled
8298
8534
  })
8299
8535
  ),
8300
8536
  readOnly,
@@ -8307,11 +8543,11 @@ var Checkbox = import_react35.default.forwardRef(
8307
8543
  "absolute top-0 right-0",
8308
8544
  "pointer-events-none p-[2px] w-5 h-5",
8309
8545
  "text-transparent [&>path]:stroke-transparent [&>path]:stroke-2",
8310
- "rounded-sm border border-default peer-focus:border-info-70"
8546
+ "rounded-sm border border-default peer-focus:border-info-default"
8311
8547
  ),
8312
8548
  {
8313
- "peer-hover:border-intense peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-primary-80": !disabled,
8314
- "border-muted peer-checked:text-primary-10 peer-checked:[&>path]:stroke-primary-10 peer-checked:border-primary-40": disabled
8549
+ "peer-hover:border-intense peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-primary-default": !disabled,
8550
+ "border-muted peer-checked:text-primary-muted-3x peer-checked:[&>path]:stroke-primary-10 peer-checked:border-primary-muted-2x": disabled
8315
8551
  }
8316
8552
  )
8317
8553
  }));
@@ -8333,10 +8569,10 @@ var RadioButton = import_react36.default.forwardRef(
8333
8569
  tw(
8334
8570
  "inline-flex justify-center items-center self-center appearance-none",
8335
8571
  "w-5 h-5 p-[3px] rounded-full cursor-pointer border border-default",
8336
- "outline-none focus:border-info-70 checked:bg-primary-80 checked:shadow-whiteInset",
8572
+ "outline-none focus:border-info-default checked:bg-primary-default checked:shadow-whiteInset",
8337
8573
  {
8338
- "hover:border-intense checked:border-primary-80": !disabled,
8339
- "cursor-not-allowed border-muted bg-grey-0 checked:bg-opacity-40 checked:bg-primary-40 checked:border-primary-40": disabled
8574
+ "hover:border-intense checked:border-primary-default": !disabled,
8575
+ "cursor-not-allowed border-muted bg-muted checked:bg-opacity-40 checked:bg-primary-muted checked:border-primary-muted-2x": disabled
8340
8576
  }
8341
8577
  )
8342
8578
  ),
@@ -8873,7 +9109,7 @@ var ControlLabel = (_a) => {
8873
9109
  "style",
8874
9110
  "className"
8875
9111
  ]);
8876
- const textClass = disabled ? "text-muted" : "text-default";
9112
+ const textClass = disabled ? "text-muted-2x" : "text-default";
8877
9113
  const rtl = labelPlacement === "left";
8878
9114
  const labelEl = label && /* @__PURE__ */ import_react44.default.createElement("span", {
8879
9115
  className: tw("typography-small self-center", { "text-right": rtl })
@@ -9129,7 +9365,7 @@ var CharCounter = ({ dense = true, length, maxLength, valid = true }) => {
9129
9365
  return /* @__PURE__ */ import_react49.default.createElement("span", {
9130
9366
  className: tw(
9131
9367
  `whitespace-nowrap`,
9132
- valid ? "text-grey-50" : "text-error-70",
9368
+ valid ? "text-muted" : "text-danger-default",
9133
9369
  dense ? "typography-caption" : "typography-small"
9134
9370
  )
9135
9371
  }, `${length} / ${maxLength}`);
@@ -9164,7 +9400,7 @@ var HelperText = ({
9164
9400
  colEnd: "2"
9165
9401
  }, hasError && /* @__PURE__ */ import_react50.default.createElement("p", {
9166
9402
  id: messageId,
9167
- className: tw("text-error-50 block typography-caption")
9403
+ className: tw("text-danger-default block typography-caption")
9168
9404
  }, helperText)), /* @__PURE__ */ import_react50.default.createElement(GridItem2, {
9169
9405
  colStart: "2",
9170
9406
  colEnd: "3",
@@ -9196,22 +9432,22 @@ var LabelText = ({
9196
9432
  }, /* @__PURE__ */ import_react51.default.createElement("span", {
9197
9433
  className: tw("inline-flex items-center typography-small-strong", {
9198
9434
  "text-default": variant === "default",
9199
- "text-error-50": variant === "error",
9200
- "text-muted": variant === "disabled"
9435
+ "text-danger-default": variant === "error",
9436
+ "text-muted-2x": variant === "disabled"
9201
9437
  })
9202
9438
  }, labelText, required && /* @__PURE__ */ import_react51.default.createElement("span", {
9203
- className: tw("text-error-50")
9439
+ className: tw("text-danger-default")
9204
9440
  }, "*"), helpTooltip && /* @__PURE__ */ import_react51.default.createElement(Tooltip, {
9205
9441
  content: helpTooltip,
9206
9442
  placement: helpTooltipPlacement
9207
9443
  }, /* @__PURE__ */ import_react51.default.createElement("span", {
9208
9444
  tabIndex: 0,
9209
- className: tw("text-muted flex items-center cursor-pointer ml-2")
9445
+ className: tw("text-muted-2x flex items-center cursor-pointer ml-2")
9210
9446
  }, /* @__PURE__ */ import_react51.default.createElement(InlineIcon, {
9211
9447
  icon: import_questionMark2.default,
9212
9448
  "data-testid": "icon-info"
9213
9449
  })))), description && /* @__PURE__ */ import_react51.default.createElement("span", {
9214
- className: tw("block text-grey-50 typography-caption mt-1")
9450
+ className: tw("block text-muted typography-caption mt-1")
9215
9451
  }, description));
9216
9452
  };
9217
9453
  var Label2 = (props) => {
@@ -9403,8 +9639,8 @@ var ChoiceChip = (_a) => {
9403
9639
  className: classNames(
9404
9640
  "Aquarium-ChoiceChip",
9405
9641
  tw("inline-flex items-center border rounded-sm transition whitespace-nowrap cursor-pointer", {
9406
- "bg-white border-default text-grey-60": !selected,
9407
- "bg-grey-0 border-grey-100 text-grey-100": selected,
9642
+ "bg-body border-default text-grey-60": !selected,
9643
+ "bg-muted border-grey-100 text-intense": selected,
9408
9644
  "typography-small py-2 px-3 gap-x-3": !dense,
9409
9645
  "typography-caption py-1 px-2 gap-x-2": Boolean(dense)
9410
9646
  })
@@ -9433,7 +9669,9 @@ var PopoverPanel = import_react54.default.forwardRef((_a, ref) => {
9433
9669
  ref,
9434
9670
  className: classNames(
9435
9671
  className,
9436
- tw("rounded-sm shadow-16dp bg-white mt-1 overflow-y-auto flex flex-col border border-default outline-none")
9672
+ tw(
9673
+ "rounded-sm shadow-16dp bg-popover-content mt-1 overflow-y-auto flex flex-col border border-default outline-none"
9674
+ )
9437
9675
  )
9438
9676
  }, props), children);
9439
9677
  });
@@ -9806,7 +10044,7 @@ var Divider2 = (_a) => {
9806
10044
  return /* @__PURE__ */ import_react59.default.createElement("div", __spreadProps(__spreadValues({}, props), {
9807
10045
  className: classNames(
9808
10046
  "Aquarium-Divider",
9809
- tw(`bg-grey-5 ${sizeClass}`, {
10047
+ tw(`bg-default ${sizeClass}`, {
9810
10048
  "block w-full": direction === "horizontal",
9811
10049
  "inline-block h-full": direction === "vertical"
9812
10050
  })
@@ -9854,7 +10092,7 @@ var AccordionToggle = (_a) => {
9854
10092
  onChange ? onChange(id, isOpen) : setOpenPanelId(isOpen ? void 0 : id);
9855
10093
  };
9856
10094
  const { transform } = (0, import_web3.useSpring)({
9857
- transform: `rotate(${isOpen ? 0 : 180}deg)`,
10095
+ transform: `rotate(${isOpen ? 180 : 90}deg)`,
9858
10096
  config: {
9859
10097
  duration: 150
9860
10098
  }
@@ -9962,7 +10200,7 @@ var InputAdornment = ({
9962
10200
  children
9963
10201
  }) => {
9964
10202
  return /* @__PURE__ */ import_react62.default.createElement("span", {
9965
- className: classNames(className, "absolute inset-y-0 grow-0 text-muted flex items-center mx-3", {
10203
+ className: classNames(className, "absolute inset-y-0 grow-0 text-muted-2x flex items-center mx-3", {
9966
10204
  "right-0": placement === "right",
9967
10205
  "left-0": placement === "left",
9968
10206
  "typography-small": dense,
@@ -9975,14 +10213,14 @@ var InputAdornment = ({
9975
10213
  };
9976
10214
  var SearchIcon = ({ onClick }) => /* @__PURE__ */ import_react62.default.createElement(Icon, {
9977
10215
  icon: import_search3.default,
9978
- color: "grey-30",
10216
+ color: "muted-3x",
9979
10217
  "data-testid": "icon-search",
9980
10218
  onClick
9981
10219
  });
9982
10220
  var ResetIcon = ({ onClick }) => /* @__PURE__ */ import_react62.default.createElement(Icon, {
9983
10221
  className: "hover:cursor-pointer",
9984
10222
  icon: import_cross5.default,
9985
- color: "grey-30",
10223
+ color: "muted-3x",
9986
10224
  "data-testid": "icon-reset",
9987
10225
  onClick
9988
10226
  });
@@ -10033,6 +10271,7 @@ var createInput = (displayName, opts = {}) => {
10033
10271
  disabled,
10034
10272
  maxLength,
10035
10273
  "aria-required": required,
10274
+ role: opts.isSearch ? "searchbox" : props.role,
10036
10275
  readOnly,
10037
10276
  className: classNames(
10038
10277
  {
@@ -10055,23 +10294,32 @@ var createInput = (displayName, opts = {}) => {
10055
10294
  return InputComponent;
10056
10295
  };
10057
10296
  var InputBase = createInput("InputBase");
10058
- var SearchInput = createInput("SearchInput", { adornment: /* @__PURE__ */ import_react63.default.createElement(SearchIcon, null), canReset: true });
10059
- var Input2 = import_react63.default.forwardRef((_a, ref) => {
10060
- var _b = _a, { readOnly = false } = _b, props = __objRest(_b, ["readOnly"]);
10061
- var _a2, _b2, _c;
10062
- const [value, setValue] = (0, import_react63.useState)((_b2 = (_a2 = props.value) != null ? _a2 : props.defaultValue) != null ? _b2 : "");
10063
- const controlledValue = props.value;
10064
- (0, import_react63.useEffect)(() => {
10065
- if (controlledValue !== void 0) {
10066
- setValue(controlledValue);
10067
- }
10068
- }, [controlledValue]);
10297
+ var SearchInput = createInput("SearchInput", { adornment: /* @__PURE__ */ import_react63.default.createElement(SearchIcon, null), canReset: true, isSearch: true });
10298
+ var Input2 = import_react63.default.forwardRef((inputProps, ref) => {
10299
+ var _b, _c;
10300
+ const _a = inputProps, { readOnly = false, value: valueProp, onChange: onChangeProp } = _a, props = __objRest(_a, ["readOnly", "value", "onChange"]);
10301
+ const isControlled = typeof valueProp !== "undefined";
10302
+ const [valueState, setValueState] = (0, import_react63.useState)((_b = props.defaultValue) != null ? _b : "");
10303
+ const value = isControlled ? valueProp : valueState;
10304
+ const handleChange = (0, import_react63.useCallback)(
10305
+ (e) => {
10306
+ const next = e.target.value;
10307
+ if (!isControlled) {
10308
+ setValueState(next);
10309
+ }
10310
+ onChangeProp == null ? void 0 : onChangeProp(e);
10311
+ },
10312
+ [isControlled, onChangeProp]
10313
+ );
10069
10314
  const defaultId = (0, import_utils9.useId)();
10070
10315
  const id = (_c = props.id) != null ? _c : defaultId;
10071
10316
  const errorMessageId = (0, import_utils9.useId)();
10072
10317
  const errorProps = props.valid === false ? { "aria-invalid": true, "aria-describedby": errorMessageId } : {};
10073
- const _d = getLabelControlProps(props), { "data-testid": dataTestId } = _d, labelControlProps = __objRest(_d, ["data-testid"]);
10074
- const baseProps = (0, import_omit5.default)(props, Object.keys(labelControlProps));
10318
+ const _d = getLabelControlProps(inputProps), { "data-testid": dataTestId } = _d, labelControlProps = __objRest(_d, ["data-testid"]);
10319
+ const baseProps = (0, import_omit5.default)(
10320
+ inputProps,
10321
+ Object.keys(labelControlProps).concat(isControlled ? ["defaultValue"] : ["value"])
10322
+ );
10075
10323
  return /* @__PURE__ */ import_react63.default.createElement(LabelControl, __spreadProps(__spreadValues({
10076
10324
  id: `${id}-label`,
10077
10325
  htmlFor: id,
@@ -10084,11 +10332,7 @@ var Input2 = import_react63.default.forwardRef((_a, ref) => {
10084
10332
  }, baseProps), errorProps), {
10085
10333
  id,
10086
10334
  "data-testid": dataTestId,
10087
- onChange: (e) => {
10088
- var _a3;
10089
- setValue(e.currentTarget.value);
10090
- (_a3 = props.onChange) == null ? void 0 : _a3.call(props, e);
10091
- },
10335
+ onChange: handleChange,
10092
10336
  disabled: props.disabled,
10093
10337
  maxLength: props.maxLength,
10094
10338
  required: props.required,
@@ -10359,7 +10603,7 @@ var Pagination = ({
10359
10603
  "Aquarium-Pagination",
10360
10604
  tw({ "grid grid-cols-[200px_1fr_200px]": !!pageSizes, "flex flex-nowrap justify-center": !pageSizes })
10361
10605
  ),
10362
- backgroundColor: "grey-0",
10606
+ backgroundColor: "muted",
10363
10607
  padding: "4"
10364
10608
  }, pageSizes && onPageSizeChange && typeof pageSize === "number" ? /* @__PURE__ */ import_react65.default.createElement(Box, {
10365
10609
  display: "flex",
@@ -10573,7 +10817,7 @@ var List = (_a) => {
10573
10817
  }, /* @__PURE__ */ import_react68.default.createElement(Icon, {
10574
10818
  width: 22,
10575
10819
  icon: import_loading3.default,
10576
- className: tw("text-grey-50")
10820
+ className: tw("text-muted")
10577
10821
  }), /* @__PURE__ */ import_react68.default.createElement(Typography2.Small, {
10578
10822
  color: "grey-70"
10579
10823
  }, loadingIndicator)), pagination && /* @__PURE__ */ import_react68.default.createElement(Pagination, __spreadValues(__spreadValues({}, paginationState), paginationProps))));
@@ -10605,7 +10849,7 @@ var TableBody = (_a) => {
10605
10849
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
10606
10850
  return /* @__PURE__ */ import_react69.default.createElement("tbody", __spreadValues({}, rest), children);
10607
10851
  };
10608
- var rowClassNames = tw("children:border-default group children:last:border-b-0 hover:bg-grey-0");
10852
+ var rowClassNames = tw("children:border-default group children:last:border-b-0 hover:bg-muted");
10609
10853
  var TableRow = (_a) => {
10610
10854
  var _b = _a, { children, className, disabled } = _b, rest = __objRest(_b, ["children", "className", "disabled"]);
10611
10855
  return /* @__PURE__ */ import_react69.default.createElement("tr", __spreadProps(__spreadValues(__spreadValues({}, rest), { inert: disabled ? "" : void 0 }), {
@@ -10618,13 +10862,13 @@ var cellClassNames = tw("px-4 border-b typography-small leading-[18px]");
10618
10862
  var getBodyCellClassNames = (table = true, stickyColumn) => tw("text-default py-3", {
10619
10863
  "h-[50px]": table,
10620
10864
  "min-h-[50px]": !table,
10621
- "sticky z-10 bg-white group-hover:bg-grey-0": Boolean(stickyColumn),
10865
+ "sticky z-10 bg-body group-hover:bg-muted": Boolean(stickyColumn),
10622
10866
  "left-0": stickyColumn === "left",
10623
10867
  "right-0": stickyColumn === "right"
10624
10868
  });
10625
10869
  var getAlignClassNames = (align) => tw({ "text-right": align === "right", "text-center": align === "center" });
10626
10870
  var getHeadCellClassNames = (sticky = true, stickyColumn) => {
10627
- const common = tw("py-[14px] text-left bg-white border-intense text-grey-50 font-semibold whitespace-nowrap");
10871
+ const common = tw("py-[14px] text-left bg-body border-intense text-muted font-semibold whitespace-nowrap");
10628
10872
  return sticky ? classNames(
10629
10873
  common,
10630
10874
  tw("sticky top-0", {
@@ -10664,9 +10908,9 @@ var TableSelectCell = (_a) => {
10664
10908
  "aria-label": ariaLabel
10665
10909
  }, props)));
10666
10910
  };
10667
- var getSortCellButtonClassNames = (align) => tw("group flex items-center gap-x-4 text-grey-50", { "flex-row-reverse": align === "right" });
10911
+ var getSortCellButtonClassNames = (align) => tw("group flex items-center gap-x-4 text-muted", { "flex-row-reverse": align === "right" });
10668
10912
  var getSortCellIconClassNames = (active) => {
10669
- return tw("text-[9px]", active ? "text-default" : "text-muted");
10913
+ return tw("text-[9px]", active ? "text-default" : "text-muted-2x");
10670
10914
  };
10671
10915
  var TableSortCell = (_a) => {
10672
10916
  var _b = _a, { children, direction = "none", onClick } = _b, rest = __objRest(_b, ["children", "direction", "onClick"]);
@@ -10783,8 +11027,8 @@ var Row = (_a) => {
10783
11027
  }), { inert: disabled ? "" : void 0 }), {
10784
11028
  className: classNames(tw("contents"), className, {
10785
11029
  "children:opacity-70": disabled,
10786
- "[&>*]:bg-primary-5": active,
10787
- "[&>*]:hover:bg-grey-0": !disabled && !header
11030
+ "[&>*]:bg-primary-muted-3x": active,
11031
+ "[&>*]:hover:bg-muted": !disabled && !header
10788
11032
  })
10789
11033
  }));
10790
11034
  };
@@ -10792,10 +11036,7 @@ var SubGroupSpacing = (_a) => {
10792
11036
  var _b = _a, { className, divider } = _b, rest = __objRest(_b, ["className", "divider"]);
10793
11037
  return /* @__PURE__ */ import_react70.default.createElement("span", __spreadProps(__spreadValues({}, rest), {
10794
11038
  "aria-hidden": true,
10795
- className: classNames(
10796
- tw("col-span-full h-6 bg-grey-0 border-default", { "border-b": Boolean(divider) }),
10797
- className
10798
- )
11039
+ className: classNames(tw("col-span-full h-6 bg-muted border-default", { "border-b": Boolean(divider) }), className)
10799
11040
  }));
10800
11041
  };
10801
11042
  var SortCell = (_a) => {
@@ -10846,7 +11087,7 @@ var ToolbarContainer = (_a) => {
10846
11087
  role: "row",
10847
11088
  className: classNames(
10848
11089
  tw("col-span-full flex items-stretch py-4 px-l2 border-b border-default", {
10849
- "sticky top-[47px] bg-white z-10": sticky
11090
+ "sticky top-[47px] bg-body z-10": sticky
10850
11091
  }),
10851
11092
  className
10852
11093
  )
@@ -10988,7 +11229,10 @@ var DropdownMenu = import_react72.default.forwardRef(
10988
11229
  return /* @__PURE__ */ import_react72.default.createElement("div", __spreadValues({
10989
11230
  ref,
10990
11231
  style: { minHeight, maxHeight, minWidth, maxWidth },
10991
- className: classNames(className, "bg-white w-full flex flex-col overflow-x-hidden typography-small text-default")
11232
+ className: classNames(
11233
+ className,
11234
+ "bg-popover-content w-full flex flex-col overflow-x-hidden typography-small text-default"
11235
+ )
10992
11236
  }, props), children);
10993
11237
  }
10994
11238
  );
@@ -11012,8 +11256,8 @@ var Group2 = import_react72.default.forwardRef(
11012
11256
  return /* @__PURE__ */ import_react72.default.createElement("li", __spreadValues({
11013
11257
  ref
11014
11258
  }, props), title && /* @__PURE__ */ import_react72.default.createElement("div", __spreadValues({
11015
- className: classNames(className, "p-3 text-muted uppercase cursor-default typography-caption", {
11016
- "text-grey-20": props.disabled
11259
+ className: classNames(className, "p-3 text-muted-2x uppercase cursor-default typography-caption", {
11260
+ "text-muted-3x": props.disabled
11017
11261
  })
11018
11262
  }, titleProps), title), children);
11019
11263
  }
@@ -11025,10 +11269,10 @@ var Item3 = import_react72.default.forwardRef(
11025
11269
  return /* @__PURE__ */ import_react72.default.createElement("li", __spreadValues({
11026
11270
  ref,
11027
11271
  className: classNames(className, "flex items-center gap-x-3 p-3 outline-none", {
11028
- "cursor-pointer hover:bg-grey-0": !props.disabled,
11029
- "bg-grey-0": highlighted,
11030
- "text-primary-80": kind === "action",
11031
- "text-grey-20 cursor-not-allowed": props.disabled
11272
+ "cursor-pointer hover:bg-muted": !props.disabled,
11273
+ "bg-muted": highlighted,
11274
+ "text-primary-intense": kind === "action",
11275
+ "text-muted-3x cursor-not-allowed": props.disabled
11032
11276
  })
11033
11277
  }, props), icon && showNotification && /* @__PURE__ */ import_react72.default.createElement(Badge.Notification, null, /* @__PURE__ */ import_react72.default.createElement(InlineIcon, {
11034
11278
  icon
@@ -11049,7 +11293,7 @@ DropdownMenu.Description = Description;
11049
11293
  var Separator = (_a) => {
11050
11294
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
11051
11295
  return /* @__PURE__ */ import_react72.default.createElement("li", __spreadProps(__spreadValues({}, props), {
11052
- className: classNames(className, tw("m-3 block bg-grey-5 h-[1px]"))
11296
+ className: classNames(className, tw("m-3 block bg-default h-[1px]"))
11053
11297
  }));
11054
11298
  };
11055
11299
  DropdownMenu.Separator = Separator;
@@ -11468,6 +11712,7 @@ var DataListGroup = (_a) => {
11468
11712
  selectable,
11469
11713
  selectedRows,
11470
11714
  onSelectionChange,
11715
+ selectionDisabled = () => false,
11471
11716
  getRowCheckboxLabel = getDefaultRowCheckboxLabel,
11472
11717
  getGroupCheckboxLabel = getDefaultGroupCheckboxLabel
11473
11718
  } = props;
@@ -11488,6 +11733,7 @@ var DataListGroup = (_a) => {
11488
11733
  var _a2;
11489
11734
  const isChecked = (_a2 = selectedRows == null ? void 0 : selectedRows.includes(row.id)) != null ? _a2 : false;
11490
11735
  const isDisabled = disabled == null ? void 0 : disabled(row, index, rows);
11736
+ const isSelectionDisabled = selectionDisabled(row, index, rows);
11491
11737
  return /* @__PURE__ */ import_react76.default.createElement(DataListRow, {
11492
11738
  key: row.id,
11493
11739
  columns,
@@ -11517,7 +11763,7 @@ var DataListGroup = (_a) => {
11517
11763
  "aria-label": getRowCheckboxLabel(row2, index2, isChecked, rows),
11518
11764
  onChange: onSelectionChange(row2.id),
11519
11765
  checked: isChecked,
11520
- disabled: isDisabled
11766
+ disabled: isDisabled || isSelectionDisabled
11521
11767
  })));
11522
11768
  }
11523
11769
  });
@@ -11691,6 +11937,7 @@ var DataList2 = (_a) => {
11691
11937
  defaultSort,
11692
11938
  onSortChanged,
11693
11939
  selectable,
11940
+ selectionDisabled = () => false,
11694
11941
  getRowCheckboxLabel = getDefaultRowCheckboxLabel,
11695
11942
  getGroupCheckboxLabel = getDefaultGroupCheckboxLabel,
11696
11943
  selectedRows,
@@ -11719,6 +11966,7 @@ var DataList2 = (_a) => {
11719
11966
  "defaultSort",
11720
11967
  "onSortChanged",
11721
11968
  "selectable",
11969
+ "selectionDisabled",
11722
11970
  "getRowCheckboxLabel",
11723
11971
  "getGroupCheckboxLabel",
11724
11972
  "selectedRows",
@@ -11812,7 +12060,7 @@ var DataList2 = (_a) => {
11812
12060
  }, /* @__PURE__ */ import_react79.default.createElement(InlineIcon, {
11813
12061
  icon: column.icon,
11814
12062
  height: "22",
11815
- color: "grey-70",
12063
+ color: "default",
11816
12064
  "aria-hidden": true
11817
12065
  }), content) : content;
11818
12066
  return columnIsFieldColumn(column) && column.sortable || column.sort ? /* @__PURE__ */ import_react79.default.createElement(DataList.SortCell, __spreadValues({
@@ -11839,6 +12087,7 @@ var DataList2 = (_a) => {
11839
12087
  onGroupToggled,
11840
12088
  onMenuOpenChange,
11841
12089
  selectable,
12090
+ selectionDisabled,
11842
12091
  selectedRows: selected,
11843
12092
  onSelectionChange: handleSelectionChange,
11844
12093
  getRowCheckboxLabel,
@@ -11854,6 +12103,7 @@ var DataList2 = (_a) => {
11854
12103
  var _a3;
11855
12104
  const details = rowDetails == null ? void 0 : rowDetails(row, index, sortedRows);
11856
12105
  const isChecked = (_a3 = selected == null ? void 0 : selected.includes(row.id)) != null ? _a3 : false;
12106
+ const isSelectionDisabled = selectionDisabled == null ? void 0 : selectionDisabled(row, index, sortedRows);
11857
12107
  const isDisabled = disabled == null ? void 0 : disabled(row, index, sortedRows);
11858
12108
  const content = /* @__PURE__ */ import_react79.default.createElement(DataListRow, {
11859
12109
  key: row.id,
@@ -11882,7 +12132,7 @@ var DataList2 = (_a) => {
11882
12132
  "aria-label": getRowCheckboxLabel(row2, index2, isChecked, sortedRows),
11883
12133
  onChange: handleSelectionChange(row2.id),
11884
12134
  checked: isChecked,
11885
- disabled: isDisabled
12135
+ disabled: isDisabled || isSelectionDisabled
11886
12136
  })), rowDetails !== void 0 && /* @__PURE__ */ import_react79.default.createElement(DataList.Cell, null, details && /* @__PURE__ */ import_react79.default.createElement(Accordion.Toggle, {
11887
12137
  panelId: row2.id.toString(),
11888
12138
  onChange: onGroupToggled
@@ -11898,7 +12148,7 @@ var DataList2 = (_a) => {
11898
12148
  }, content, /* @__PURE__ */ import_react79.default.createElement(Accordion.Panel, {
11899
12149
  role: "row",
11900
12150
  panelId: row.id.toString(),
11901
- className: tw("col-span-full bg-grey-0 border-b border-default"),
12151
+ className: tw("col-span-full bg-muted border-b border-default"),
11902
12152
  "aria-label": `row ${row.id.toString()} details`
11903
12153
  }, /* @__PURE__ */ import_react79.default.createElement("div", {
11904
12154
  role: "cell"
@@ -12038,7 +12288,7 @@ var DataTable = (_a) => {
12038
12288
  }, /* @__PURE__ */ import_react82.default.createElement(InlineIcon, {
12039
12289
  icon: column.icon,
12040
12290
  height: "22",
12041
- color: "grey-70",
12291
+ color: "default",
12042
12292
  "aria-hidden": true
12043
12293
  }), content) : content;
12044
12294
  return columnIsFieldColumn(column) && column.sortable || column.sort ? /* @__PURE__ */ import_react82.default.createElement(Table2.SortCell, __spreadValues({
@@ -12143,15 +12393,15 @@ var import_warningSign3 = __toESM(require_warningSign());
12143
12393
  var DIALOG_ICONS_AND_COLORS = {
12144
12394
  confirmation: {
12145
12395
  icon: import_confirm2.default,
12146
- color: "info-70"
12396
+ color: "info-default"
12147
12397
  },
12148
12398
  warning: {
12149
12399
  icon: import_warningSign3.default,
12150
- color: "secondary-70"
12400
+ color: "warning-default"
12151
12401
  },
12152
12402
  danger: {
12153
12403
  icon: import_error4.default,
12154
- color: "error-70"
12404
+ color: "danger-default"
12155
12405
  }
12156
12406
  };
12157
12407
 
@@ -12182,13 +12432,13 @@ var Modal = (_a) => {
12182
12432
  Modal.BackDrop = (_a) => {
12183
12433
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
12184
12434
  return /* @__PURE__ */ import_react83.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
12185
- className: classNames(tw("-z-10 fixed min-w-full min-h-full bg-primary-100 opacity-60"), className)
12435
+ className: classNames(tw("-z-10 fixed min-w-full min-h-full bg-primary-intense opacity-60"), className)
12186
12436
  }));
12187
12437
  };
12188
12438
  Modal.Dialog = import_react83.default.forwardRef(
12189
12439
  (_a, ref) => {
12190
12440
  var _b = _a, { kind = "dialog", children, className, size = "sm" } = _b, rest = __objRest(_b, ["kind", "children", "className", "size"]);
12191
- const commonClasses = tw("bg-white max-h-full flex flex-col");
12441
+ const commonClasses = tw("bg-popover-content max-h-full flex flex-col");
12192
12442
  const dialogClasses = classNames("relative w-full rounded mx-7", {
12193
12443
  "max-w-[600px]": size === "sm",
12194
12444
  "max-w-[940px]": size === "md",
@@ -12222,7 +12472,7 @@ Modal.HeaderImage = (_a) => {
12222
12472
  }, rest), {
12223
12473
  className: classNames(common, tw("object-cover"), className)
12224
12474
  })) : /* @__PURE__ */ import_react83.default.createElement("div", {
12225
- className: classNames(common, tw("bg-grey-5"), className)
12475
+ className: classNames(common, tw("bg-default"), className)
12226
12476
  });
12227
12477
  };
12228
12478
  Modal.CloseButtonContainer = (_a) => {
@@ -12415,12 +12665,12 @@ var asTabItem = (Component, displayName, { defaultUnderlineHidden } = {}) => {
12415
12665
  if (status === "warning") {
12416
12666
  statusIcon = /* @__PURE__ */ import_react85.default.createElement(InlineIcon, {
12417
12667
  icon: import_warningSign4.default,
12418
- color: selected ? void 0 : "warning-80"
12668
+ color: selected ? void 0 : "warning-default"
12419
12669
  });
12420
12670
  } else if (status === "error") {
12421
12671
  statusIcon = /* @__PURE__ */ import_react85.default.createElement(InlineIcon, {
12422
12672
  icon: import_warningSign4.default,
12423
- color: selected ? void 0 : "error-50"
12673
+ color: selected ? void 0 : "danger-default"
12424
12674
  });
12425
12675
  }
12426
12676
  const tab = /* @__PURE__ */ import_react85.default.createElement(Component, __spreadValues({
@@ -12429,11 +12679,11 @@ var asTabItem = (Component, displayName, { defaultUnderlineHidden } = {}) => {
12429
12679
  onClick: () => !disabled && onSelected(value != null ? value : index),
12430
12680
  className: classNames(className, "px-5 py-3 z-10 no-underline appearance-none outline-none h-full", {
12431
12681
  "cursor-default": disabled,
12432
- "text-grey-80 focus:text-primary-80": !selected,
12433
- "hover:bg-grey-0": !selected && !disabled,
12682
+ "text-default focus:text-primary-intense": !selected,
12683
+ "hover:bg-muted": !selected && !disabled,
12434
12684
  "border-b-2": !defaultUnderlineHidden || selected,
12435
12685
  "border-default": !selected,
12436
- "border-primary-80": selected
12686
+ "border-primary-default": selected
12437
12687
  }),
12438
12688
  type: "button",
12439
12689
  role: "tab",
@@ -12460,7 +12710,7 @@ var asTabItem = (Component, displayName, { defaultUnderlineHidden } = {}) => {
12460
12710
  }, /* @__PURE__ */ import_react85.default.createElement(TabBadge, {
12461
12711
  kind: "filled",
12462
12712
  value: badge,
12463
- textClassname: classNames({ "text-white": selected, "text-grey-50": !selected })
12713
+ textClassname: classNames({ "text-white": selected, "text-muted": !selected })
12464
12714
  })), statusIcon));
12465
12715
  return tooltip ? /* @__PURE__ */ import_react85.default.createElement(Tooltip, {
12466
12716
  content: tooltip
@@ -12626,7 +12876,7 @@ var createTabsComponent = (TabComponent, TabItemComponent, displayName, renderCh
12626
12876
  className: tw("absolute left-0 bg-gradient-to-r from-white via-white z-20 py-3 pr-4")
12627
12877
  }, /* @__PURE__ */ import_react85.default.createElement("div", {
12628
12878
  onClick: () => handleScrollToNext("left"),
12629
- className: tw("hover:bg-grey-0 p-2 leading-none cursor-pointer")
12879
+ className: tw("hover:bg-muted p-2 leading-none cursor-pointer")
12630
12880
  }, /* @__PURE__ */ import_react85.default.createElement(InlineIcon, {
12631
12881
  icon: import_chevronLeft4.default
12632
12882
  }))), rightCaret && /* @__PURE__ */ import_react85.default.createElement("div", {
@@ -12634,7 +12884,7 @@ var createTabsComponent = (TabComponent, TabItemComponent, displayName, renderCh
12634
12884
  className: tw("absolute right-0 bg-gradient-to-l from-white via-white z-20 py-3 pl-4")
12635
12885
  }, /* @__PURE__ */ import_react85.default.createElement("div", {
12636
12886
  onClick: () => handleScrollToNext("right"),
12637
- className: tw("hover:bg-grey-0 p-2 leading-none cursor-pointer")
12887
+ className: tw("hover:bg-muted p-2 leading-none cursor-pointer")
12638
12888
  }, /* @__PURE__ */ import_react85.default.createElement(InlineIcon, {
12639
12889
  icon: import_chevronRight4.default
12640
12890
  })))), renderChildren(children, selected, props));
@@ -12937,9 +13187,9 @@ var DropdownMenu3 = ({
12937
13187
  }, [menuRef.current]);
12938
13188
  return /* @__PURE__ */ import_react90.default.createElement("div", {
12939
13189
  style: { minWidth: "250px" },
12940
- className: tw("py-3 bg-white")
13190
+ className: tw("py-3 bg-popover-content")
12941
13191
  }, !!title && /* @__PURE__ */ import_react90.default.createElement("div", {
12942
- className: tw("px-4 py-4 text-left text-grey-100 typography-default-strong")
13192
+ className: tw("px-4 py-4 text-left text-intense typography-default-strong")
12943
13193
  }, title), /* @__PURE__ */ import_react90.default.createElement("ol", {
12944
13194
  role: "menu",
12945
13195
  ref: menuRef,
@@ -13011,9 +13261,9 @@ var DropdownItem = (_a) => {
13011
13261
  onKeyDown: handleKeyDown
13012
13262
  }, props), {
13013
13263
  className: tw("typography-small flex items-center focus:ring-0", {
13014
- "text-default cursor-pointer hover:bg-grey-0": !disabled,
13015
- "text-muted cursor-not-allowed": disabled,
13016
- "text-primary-70 hover:text-primary-80": color === "danger" && !disabled
13264
+ "text-default cursor-pointer hover:bg-muted": !disabled,
13265
+ "text-muted-2x cursor-not-allowed": disabled,
13266
+ "text-primary-default hover:text-primary-intense": color === "danger" && !disabled
13017
13267
  })
13018
13268
  }), tooltip ? /* @__PURE__ */ import_react90.default.createElement(Tooltip, {
13019
13269
  content: tooltip,
@@ -13283,7 +13533,7 @@ var ListItem = ({ name, icon, active = false }) => {
13283
13533
  variant: active ? "small-strong" : "small",
13284
13534
  color: "grey-70",
13285
13535
  htmlTag: "span",
13286
- className: `px-4 py-2 rounded-full ${active ? "bg-grey-5" : "hover:bg-grey-0"}`
13536
+ className: `px-4 py-2 rounded-full ${active ? "bg-default" : "hover:bg-muted"}`
13287
13537
  }, /* @__PURE__ */ import_react98.default.createElement("img", {
13288
13538
  src: icon,
13289
13539
  alt: "",
@@ -13393,9 +13643,9 @@ var InputChip = import_react100.default.forwardRef(
13393
13643
  };
13394
13644
  return /* @__PURE__ */ import_react100.default.createElement("div", {
13395
13645
  className: classNames(className, "inline-flex align-middle mx-1 items-stretch rounded-sm break-all", {
13396
- "bg-error-0 ": invalid,
13397
- "bg-grey-0 ": !invalid && !disabled,
13398
- "bg-grey-5": disabled
13646
+ "bg-danger-muted-2x ": invalid,
13647
+ "bg-muted ": !invalid && !disabled,
13648
+ "bg-default": disabled
13399
13649
  })
13400
13650
  }, /* @__PURE__ */ import_react100.default.createElement("div", {
13401
13651
  className: tw("px-2 py-1")
@@ -13408,15 +13658,15 @@ var InputChip = import_react100.default.forwardRef(
13408
13658
  onClick,
13409
13659
  className: tw("flex items-center p-1", {
13410
13660
  "pointer-events-none": !!disabled,
13411
- "hover:bg-error-10 focus:bg-error-20": invalid,
13412
- "hover:bg-grey-10 focus:bg-grey-20": !invalid && !disabled
13661
+ "hover:bg-danger-muted focus:bg-danger-default": invalid,
13662
+ "hover:bg-intense focus:bg-intense": !invalid && !disabled
13413
13663
  }),
13414
13664
  role: "button",
13415
13665
  "aria-label": `Remove ${String(children)}`
13416
13666
  }), /* @__PURE__ */ import_react100.default.createElement(Icon, {
13417
13667
  icon: import_smallCross2.default,
13418
13668
  className: tw({
13419
- "text-error-70": invalid,
13669
+ "text-danger-default": invalid,
13420
13670
  "text-default": !invalid
13421
13671
  })
13422
13672
  })));
@@ -13934,7 +14184,7 @@ var NativeSelectBase = import_react103.default.forwardRef(
13934
14184
  className: classNames("Aquarium-NativeSelectBase", tw("relative block"))
13935
14185
  }, !readOnly && /* @__PURE__ */ import_react103.default.createElement("span", {
13936
14186
  className: tw(
13937
- "absolute right-0 inset-y-0 mr-4 text-muted flex ml-3 pointer-events-none typography-default-strong mt-4"
14187
+ "absolute right-0 inset-y-0 mr-4 text-muted-2x flex ml-3 pointer-events-none typography-default-strong mt-4"
13938
14188
  )
13939
14189
  }, /* @__PURE__ */ import_react103.default.createElement(Icon, {
13940
14190
  icon: import_caretDown2.default,
@@ -13948,12 +14198,12 @@ var NativeSelectBase = import_react103.default.forwardRef(
13948
14198
  onBlur: handleBlur,
13949
14199
  className: classNames(
13950
14200
  tw(
13951
- "block w-full rounded-sm appearance-none disabled:cursor-not-allowed typography-small text-default placeholder:text-muted focus:outline-none",
14201
+ "block w-full rounded-sm appearance-none disabled:cursor-not-allowed typography-small text-default placeholder:text-muted-2x focus:outline-none",
13952
14202
  {
13953
- "px-3 py-3 disabled:border-default disabled:bg-grey-5 disabled:text-muted": !readOnly,
14203
+ "px-3 py-3 disabled:border-default disabled:bg-default disabled:text-muted-2x": !readOnly,
13954
14204
  "px-0 py-3 border-none": readOnly,
13955
- "border border-error-50": !valid && !readOnly,
13956
- "border border-default hover:border-intense focus:border-info-70": valid && !readOnly
14205
+ "border border-danger-default": !valid && !readOnly,
14206
+ "border border-default hover:border-intense focus:border-info-default": valid && !readOnly
13957
14207
  }
13958
14208
  ),
13959
14209
  props.className
@@ -14019,7 +14269,7 @@ var import_react104 = __toESM(require("react"));
14019
14269
  var Navigation = (_a) => {
14020
14270
  var _b = _a, { className, children } = _b, rest = __objRest(_b, ["className", "children"]);
14021
14271
  return /* @__PURE__ */ import_react104.default.createElement("nav", {
14022
- className: classNames(tw("bg-grey-0 h-full"))
14272
+ className: classNames(tw("bg-muted h-full"))
14023
14273
  }, /* @__PURE__ */ import_react104.default.createElement("ul", __spreadProps(__spreadValues({}, rest), {
14024
14274
  className: classNames(tw("flex flex-col h-full"), className),
14025
14275
  role: "menubar"
@@ -14045,7 +14295,7 @@ var Section2 = (_a) => {
14045
14295
  role: "presentation",
14046
14296
  className: tw("py-5")
14047
14297
  }, title && /* @__PURE__ */ import_react104.default.createElement("div", {
14048
- className: classNames(className, "py-2 px-6 text-muted uppercase cursor-default typography-caption")
14298
+ className: classNames(className, "py-2 px-6 text-muted-2x uppercase cursor-default typography-caption")
14049
14299
  }, title), /* @__PURE__ */ import_react104.default.createElement("ul", __spreadProps(__spreadValues({}, rest), {
14050
14300
  role: "group",
14051
14301
  className: classNames(tw("flex flex-col"), className)
@@ -14066,9 +14316,9 @@ var Item5 = (_a) => {
14066
14316
  }, /* @__PURE__ */ import_react104.default.createElement("a", __spreadProps(__spreadValues({}, rest), {
14067
14317
  role: "menuitem",
14068
14318
  className: classNames(
14069
- tw("py-3 px-6 hover:bg-grey-5 cursor-pointer flex gap-4 items-center typography-small focusable", {
14319
+ tw("py-3 px-6 hover:bg-default cursor-pointer flex gap-4 items-center typography-small focusable", {
14070
14320
  "text-grey-60": !active,
14071
- "text-primary-80": !!active
14321
+ "text-primary-intense": !!active
14072
14322
  }),
14073
14323
  className
14074
14324
  )
@@ -14309,17 +14559,14 @@ var import_clamp3 = __toESM(require("lodash/clamp"));
14309
14559
  var ProgressBar = (_a) => {
14310
14560
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
14311
14561
  return /* @__PURE__ */ import_react110.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
14312
- className: classNames(
14313
- tw("relative flex items-center w-full bg-grey-0 h-2 rounded-full overflow-hidden"),
14314
- className
14315
- )
14562
+ className: classNames(tw("relative flex items-center w-full bg-muted h-2 rounded-full overflow-hidden"), className)
14316
14563
  }), children);
14317
14564
  };
14318
14565
  var STATUS_COLORS = {
14319
- info: tw("bg-info-50"),
14320
- warning: tw("bg-warning-70"),
14321
- success: tw("bg-success-70"),
14322
- error: tw("bg-error-70")
14566
+ info: tw("bg-info-default"),
14567
+ warning: tw("bg-warning-default"),
14568
+ success: tw("bg-success-default"),
14569
+ error: tw("bg-danger-intense")
14323
14570
  };
14324
14571
  ProgressBar.Indicator = (_a) => {
14325
14572
  var _b = _a, { min, max, value, "aria-label": ariaLabel, status, className } = _b, rest = __objRest(_b, ["min", "max", "value", "aria-label", "status", "className"]);
@@ -14534,11 +14781,11 @@ var Switch = import_react114.default.forwardRef(
14534
14781
  className: classNames(
14535
14782
  tw(
14536
14783
  "appearance-none peer/switch rounded-full inline-block w-[34px] h-[20px] transition duration-300",
14537
- "outline-none focusable bg-grey-10",
14784
+ "outline-none focusable bg-intense",
14538
14785
  "cursor-pointer disabled:cursor-not-allowed",
14539
14786
  {
14540
- "hover:bg-grey-20 checked:bg-primary-80 hover:checked:bg-primary-70": !disabled,
14541
- "bg-grey-5 checked:opacity-50 checked:bg-primary-40": disabled
14787
+ "hover:bg-intense checked:bg-primary-default hover:checked:bg-primary-intense": !disabled,
14788
+ "bg-default checked:opacity-50 checked:bg-primary-muted": disabled
14542
14789
  }
14543
14790
  )
14544
14791
  ),
@@ -14547,7 +14794,7 @@ var Switch = import_react114.default.forwardRef(
14547
14794
  })), /* @__PURE__ */ import_react114.default.createElement("span", {
14548
14795
  className: tw(
14549
14796
  "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",
14550
- "bg-white left-2 peer-checked/switch:left-1 text-grey-30 peer-checked/switch:text-primary-60",
14797
+ "bg-white left-2 peer-checked/switch:left-1 text-muted-3x peer-checked/switch:text-primary-muted",
14551
14798
  {
14552
14799
  "shadow-4dp": !disabled
14553
14800
  }
@@ -14622,12 +14869,12 @@ var import_react116 = __toESM(require("react"));
14622
14869
  var getVariantClassNames = (variant = "primary") => {
14623
14870
  switch (variant) {
14624
14871
  case "danger":
14625
- return tw("bg-secondary-90");
14872
+ return tw("bg-secondary-default");
14626
14873
  case "success":
14627
- return tw("bg-success-90");
14874
+ return tw("bg-success-intense");
14628
14875
  case "primary":
14629
14876
  default:
14630
- return tw("bg-primary-90");
14877
+ return tw("bg-primary-intense");
14631
14878
  }
14632
14879
  };
14633
14880
  var TagLabel = (_a) => {
@@ -14659,7 +14906,7 @@ Section3.Header = (_a) => {
14659
14906
  var _b = _a, { children, className, expanded } = _b, rest = __objRest(_b, ["children", "className", "expanded"]);
14660
14907
  return /* @__PURE__ */ import_react117.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
14661
14908
  className: classNames(
14662
- tw("px-6 flex gap-5 justify-between items-center h-[72px]", { "bg-grey-0": expanded }),
14909
+ tw("px-6 flex gap-5 justify-between items-center h-[72px]", { "bg-muted": expanded }),
14663
14910
  className
14664
14911
  )
14665
14912
  }), children);
@@ -14740,7 +14987,7 @@ var Section4 = (props) => {
14740
14987
  const _f = (0, import_web5.useSpring)({
14741
14988
  height: height !== null ? targetHeight : void 0,
14742
14989
  opacity: isCollapsed ? 0 : 1,
14743
- transform: `rotate(${isCollapsed ? 180 : 0}deg)`,
14990
+ transform: `rotate(${isCollapsed ? 90 : 180}deg)`,
14744
14991
  backgroundColor: isCollapsed ? tailwind_theme_default.backgroundColor["grey-0"] : tailwind_theme_default.backgroundColor["grey-5"],
14745
14992
  config: {
14746
14993
  duration: 150
@@ -14853,8 +15100,8 @@ var SegmentedControlGroup = (_a) => {
14853
15100
  "ariaLabel"
14854
15101
  ]);
14855
15102
  const classes2 = tw("rounded flex", {
14856
- "border border-default text-grey-50": variant === "outlined",
14857
- "bg-grey-0": variant === "raised"
15103
+ "border border-default text-muted": variant === "outlined",
15104
+ "bg-muted": variant === "raised"
14858
15105
  });
14859
15106
  return /* @__PURE__ */ import_react119.default.createElement("ul", __spreadProps(__spreadValues({}, rest), {
14860
15107
  "aria-label": ariaLabel,
@@ -14870,31 +15117,31 @@ var SegmentedControlGroup = (_a) => {
14870
15117
  ));
14871
15118
  };
14872
15119
  var getHoverClassNames = (variant) => tw(
14873
- "hover:text-grey-90",
15120
+ "hover:text-intense",
14874
15121
  {
14875
- "hover:bg-grey-0": variant !== "raised",
14876
- "hover:bg-grey-5": variant === "raised"
15122
+ "hover:bg-muted": variant !== "raised",
15123
+ "hover:bg-default": variant === "raised"
14877
15124
  },
14878
15125
  {
14879
- "active:bg-grey-5": variant !== "raised",
14880
- "active:bg-grey-10": variant === "raised"
15126
+ "active:bg-default": variant !== "raised",
15127
+ "active:bg-intense": variant === "raised"
14881
15128
  }
14882
15129
  );
14883
- var getSelectedClassNames = (variant) => tw("relative z-40 text-grey-90", {
15130
+ var getSelectedClassNames = (variant) => tw("relative z-40 text-intense", {
14884
15131
  "bg-white ring-2 ring-offset-0 ring-grey-30 focus:ring-2": variant === "outlined",
14885
15132
  "bg-white shadow-2dp": variant === "raised",
14886
- "bg-grey-5": variant === "filled"
15133
+ "bg-default": variant === "filled"
14887
15134
  });
14888
15135
  var getCommonClassNames = (dense, selected) => tw(
14889
15136
  "transition whitespace-nowrap rounded mr-1",
14890
15137
  "focus:outline-none focus:ring-1 focus:ring-offset-0 focus:ring-grey-60",
14891
- "disabled:cursor-not-allowed disabled:text-grey-30",
15138
+ "disabled:cursor-not-allowed disabled:text-muted-3x",
14892
15139
  {
14893
15140
  "py-4 px-5": !dense,
14894
15141
  "py-2 px-4": dense,
14895
15142
  "typography-default-strong": !dense,
14896
15143
  "typography-small-strong": dense,
14897
- "text-grey-50": !selected
15144
+ "text-muted": !selected
14898
15145
  }
14899
15146
  );
14900
15147
 
@@ -14935,8 +15182,8 @@ var Connector = (_a) => {
14935
15182
  return /* @__PURE__ */ import_react120.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
14936
15183
  className: classNames(
14937
15184
  tw("w-full", {
14938
- "bg-grey-20": !completed,
14939
- "bg-success-70": Boolean(completed),
15185
+ "bg-intense": !completed,
15186
+ "bg-success-default": Boolean(completed),
14940
15187
  "h-[2px]": !dense,
14941
15188
  "h-[3px]": Boolean(dense)
14942
15189
  }),
@@ -14948,22 +15195,22 @@ var Step = (_a) => {
14948
15195
  var _b = _a, { className, state } = _b, rest = __objRest(_b, ["className", "state"]);
14949
15196
  return /* @__PURE__ */ import_react120.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
14950
15197
  className: classNames(
14951
- tw("flex flex-col items-center text-grey-90 relative text-center", {
14952
- "text-grey-20": state === "inactive"
15198
+ tw("flex flex-col items-center text-intense relative text-center", {
15199
+ "text-muted-3x": state === "inactive"
14953
15200
  }),
14954
15201
  className
14955
15202
  )
14956
15203
  }));
14957
15204
  };
14958
15205
  var getClassNames = (state) => tw("h-[32px] w-[32px] border-2", {
14959
- "border-grey-90 bg-white": state === "active",
14960
- "border-default bg-white": state === "inactive",
14961
- "text-white bg-success-70 border-success-70": state === "completed"
15206
+ "border-grey-90 bg-body": state === "active",
15207
+ "border-default bg-body": state === "inactive",
15208
+ "text-white bg-success-default border-success-intense": state === "completed"
14962
15209
  });
14963
15210
  var getDenseClassNames = (state) => tw("h-[8px] w-[8px]", {
14964
- "bg-grey-90": state === "active",
14965
- "bg-grey-20": state === "inactive",
14966
- "text-success-70": state === "completed"
15211
+ "bg-intense-2x": state === "active",
15212
+ "bg-intense": state === "inactive",
15213
+ "text-success-default": state === "completed"
14967
15214
  });
14968
15215
  var Indicator = (_a) => {
14969
15216
  var _b = _a, { children, className, state, dense } = _b, rest = __objRest(_b, ["children", "className", "state", "dense"]);
@@ -15169,13 +15416,13 @@ var LineContainer = (_a) => {
15169
15416
  var Line = (_a) => {
15170
15417
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
15171
15418
  return /* @__PURE__ */ import_react124.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
15172
- className: classNames(tw("w-1 bg-grey-5 h-full justify-self-center"), className)
15419
+ className: classNames(tw("w-1 bg-default h-full justify-self-center"), className)
15173
15420
  }));
15174
15421
  };
15175
15422
  var Dot = (_a) => {
15176
15423
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
15177
15424
  return /* @__PURE__ */ import_react124.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
15178
- className: classNames(tw("bg-grey-30 h-[6px] w-[6px] rounded"), className)
15425
+ className: classNames(tw("bg-intense h-[6px] w-[6px] rounded"), className)
15179
15426
  }));
15180
15427
  };
15181
15428
  Separator2.Dot = Dot;
@@ -15200,13 +15447,13 @@ var Timeline2 = ({ children }) => /* @__PURE__ */ import_react125.default.create
15200
15447
  key: key != null ? key : props.title
15201
15448
  }, /* @__PURE__ */ import_react125.default.createElement(Timeline.Separator, null, props.variant === "error" ? /* @__PURE__ */ import_react125.default.createElement(Icon, {
15202
15449
  icon: import_error5.default,
15203
- color: "error-30"
15450
+ color: "danger-default"
15204
15451
  }) : props.variant === "warning" ? /* @__PURE__ */ import_react125.default.createElement(Icon, {
15205
15452
  icon: import_warningSign5.default,
15206
- color: "warning-30"
15453
+ color: "warning-default"
15207
15454
  }) : props.variant === "info" ? /* @__PURE__ */ import_react125.default.createElement(Icon, {
15208
15455
  icon: import_time2.default,
15209
- color: "info-30"
15456
+ color: "info-default"
15210
15457
  }) : /* @__PURE__ */ import_react125.default.createElement(Timeline.Separator.Dot, null)), /* @__PURE__ */ import_react125.default.createElement(Typography2.Caption, {
15211
15458
  color: "grey-50"
15212
15459
  }, props.title), /* @__PURE__ */ import_react125.default.createElement(Timeline.LineContainer, null, /* @__PURE__ */ import_react125.default.createElement(Timeline.LineContainer.Line, null)), /* @__PURE__ */ import_react125.default.createElement(Timeline.Content, null, /* @__PURE__ */ import_react125.default.createElement(Typography2.Small, null, props.children)));