@aivenio/aquarium 5.0.1 → 5.1.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.
@@ -211,7 +211,10 @@ $font-size-8xl: 6rem;
211
211
  $font-size-9xl-line-height: 1;
212
212
  $font-size-9xl: 8rem;
213
213
  $background-color-body: $colors-white;
214
+ $background-color-layer: $colors-white;
214
215
  $background-color-body-intense: $colors-grey-80;
216
+ $background-color-inverse: $colors-grey-80;
217
+ $background-color-overlay: $colors-white;
215
218
  $background-color-popover-content: $colors-white;
216
219
  $background-color-muted: $colors-grey-0;
217
220
  $background-color-default: $colors-grey-5;
@@ -221,18 +224,26 @@ $background-color-primary-default: $colors-primary-80;
221
224
  $background-color-primary-intense: $colors-primary-90;
222
225
  $background-color-primary-active: $colors-primary-5;
223
226
  $background-color-primary-hover: $colors-primary-5;
227
+ $background-color-action-primary-button-default: $colors-primary-80;
228
+ $background-color-action-primary-button-active: $colors-primary-5;
229
+ $background-color-action-primary-button-hover: $colors-primary-90;
230
+ $background-color-action-primary-button-disabled: $colors-primary-40;
224
231
  $background-color-info-muted: $colors-info-10;
225
232
  $background-color-info-default: $colors-info-70;
226
233
  $background-color-info-intense: $colors-info-90;
234
+ $background-color-info-inverse: $colors-info-70;
227
235
  $background-color-success-muted: $colors-success-5;
228
236
  $background-color-success-default: $colors-success-70;
229
237
  $background-color-success-intense: $colors-success-90;
238
+ $background-color-success-inverse: $colors-success-70;
230
239
  $background-color-warning-muted: $colors-warning-5;
231
240
  $background-color-warning-default: $colors-warning-70;
232
241
  $background-color-warning-intense: $colors-warning-90;
242
+ $background-color-warning-inverse: $colors-warning-70;
233
243
  $background-color-danger-muted: $colors-error-10;
234
244
  $background-color-danger-default: $colors-error-20;
235
245
  $background-color-danger-intense: $colors-error-50;
246
+ $background-color-danger-inverse: $colors-error-70;
236
247
  $background-color-status-announcement: $colors-primary-5;
237
248
  $background-color-status-info: $colors-info-10;
238
249
  $background-color-status-warning: $colors-warning-5;
@@ -244,6 +255,11 @@ $border-color-intense: $colors-grey-50;
244
255
  $border-color-primary-muted: $colors-primary-60;
245
256
  $border-color-primary-default: $colors-primary-80;
246
257
  $border-color-primary-intense: $colors-primary-100;
258
+ $border-color-action-focus: $colors-primary-80;
259
+ $border-color-action-secondary-button-default: $colors-primary-80;
260
+ $border-color-action-secondary-button-active: $colors-primary-5;
261
+ $border-color-action-secondary-button-hover: $colors-primary-5;
262
+ $border-color-action-secondary-button-disabled: $colors-primary-60;
247
263
  $border-color-info-muted: $colors-info-50;
248
264
  $border-color-info-default: $colors-info-70;
249
265
  $border-color-info-intense: $colors-info-90;
package/dist/atoms.cjs CHANGED
@@ -4579,7 +4579,7 @@ var TooltipWrapper = import_react2.default.forwardRef(
4579
4579
  "div",
4580
4580
  {
4581
4581
  ref,
4582
- className: "Aquarium-Tooltip p-3 rounded-sm typography-caption max-w-[320px] bg-body-intense text-opposite-default",
4582
+ className: "Aquarium-Tooltip p-3 rounded-sm typography-caption max-w-[320px] bg-inverse text-opposite-default",
4583
4583
  ...(0, import_utils.mergeProps)(props, tooltipProps)
4584
4584
  },
4585
4585
  props.children,
@@ -4619,7 +4619,7 @@ var getArrowStyle = (element, position, { left, top }) => {
4619
4619
  return { left, top };
4620
4620
  };
4621
4621
  var Arrow = (props) => {
4622
- return /* @__PURE__ */ import_react2.default.createElement("div", { className: "absolute w-3 h-3 bg-body-intense rotate-45", ...props });
4622
+ return /* @__PURE__ */ import_react2.default.createElement("div", { className: "absolute w-3 h-3 bg-inverse rotate-45", ...props });
4623
4623
  };
4624
4624
 
4625
4625
  // src/atoms/Button/Button.tsx
@@ -4923,14 +4923,14 @@ var buttonStateClasses = (0, import_tailwind_variants2.tv)({
4923
4923
  variants: {
4924
4924
  kind: {
4925
4925
  primary: [
4926
- "active:text-white active:bg-primary-active",
4927
- "hover:bg-primary-intense",
4928
- "disabled:text-white disabled:bg-primary-muted"
4926
+ "active:text-white active:bg-action-primary-button-active",
4927
+ "hover:bg-action-primary-button-hover",
4928
+ "disabled:text-white disabled:bg-action-primary-button-disabled"
4929
4929
  ],
4930
4930
  secondary: [
4931
4931
  "active:bg-primary-active active:text-primary-active",
4932
4932
  "hover:bg-primary-hover",
4933
- "before:disabled:border-primary-muted"
4933
+ "before:disabled:border-action-secondary-button-disabled"
4934
4934
  ],
4935
4935
  ghost: ["hover:text-primary-active"],
4936
4936
  text: interactiveTextStyles(),
@@ -4949,8 +4949,8 @@ var buttonClasses = (0, import_tailwind_variants2.tv)({
4949
4949
  base: "Aquarium-Button whitespace-nowrap transition text-center text-primary-intense rounded-sm relative px-4 py-3 inline-flex gap-3 items-center justify-center",
4950
4950
  variants: {
4951
4951
  kind: {
4952
- primary: "Aquarium-Button.Primary text-white bg-primary-default icon-stroke-2",
4953
- secondary: "Aquarium-Button.Secondary bg-transparent before:absolute before:inset-0 before:border before:border-primary-default before:rounded-sm icon-stroke-2",
4952
+ primary: "Aquarium-Button.Primary text-white bg-action-primary-button-default icon-stroke-2",
4953
+ secondary: "Aquarium-Button.Secondary bg-transparent before:absolute before:inset-0 before:border before:border-action-secondary-button-default before:rounded-sm icon-stroke-2",
4954
4954
  ghost: "Aquarium-Button.Ghost px-0 icon-stroke-2",
4955
4955
  text: "Aquarium-Button.Text px-0 py-0 icon-stroke-2",
4956
4956
  icon: "Aquarium-Button.Icon px-2 py-2 text-default"
@@ -5121,7 +5121,10 @@ var tokens_default = {
5121
5121
  },
5122
5122
  backgroundColor: {
5123
5123
  body: "white",
5124
+ layer: "white",
5124
5125
  "body-intense": "rgba(58,58,68,1)",
5126
+ inverse: "rgba(58,58,68,1)",
5127
+ overlay: "white",
5125
5128
  "popover-content": "white",
5126
5129
  muted: "rgba(247,247,250,1)",
5127
5130
  default: "rgba(237,237,240,1)",
@@ -5133,25 +5136,37 @@ var tokens_default = {
5133
5136
  active: "rgba(243,246,255,1)",
5134
5137
  hover: "rgba(243,246,255,1)"
5135
5138
  },
5139
+ action: {
5140
+ "primary-button": {
5141
+ default: "rgba(53,69,190,1)",
5142
+ active: "rgba(243,246,255,1)",
5143
+ hover: "rgba(34,47,149,1)",
5144
+ disabled: "rgba(185,197,239,1)"
5145
+ }
5146
+ },
5136
5147
  info: {
5137
5148
  muted: "rgba(224,245,254,1)",
5138
5149
  default: "rgba(3,153,227,1)",
5139
- intense: "rgba(1,116,186,1)"
5150
+ intense: "rgba(1,116,186,1)",
5151
+ inverse: "rgba(3,153,227,1)"
5140
5152
  },
5141
5153
  success: {
5142
5154
  muted: "rgba(236,247,237,1)",
5143
5155
  default: "rgba(0,179,0,1)",
5144
- intense: "rgba(0,142,0,1)"
5156
+ intense: "rgba(0,142,0,1)",
5157
+ inverse: "rgba(0,179,0,1)"
5145
5158
  },
5146
5159
  warning: {
5147
5160
  muted: "rgba(255,248,234,1)",
5148
5161
  default: "rgba(255,179,0,1)",
5149
- intense: "rgba(255,144,3,1)"
5162
+ intense: "rgba(255,144,3,1)",
5163
+ inverse: "rgba(255,179,0,1)"
5150
5164
  },
5151
5165
  danger: {
5152
5166
  muted: "rgba(255,203,210,1)",
5153
5167
  default: "rgba(255,173,179,1)",
5154
- intense: "rgba(230,39,40,1)"
5168
+ intense: "rgba(230,39,40,1)",
5169
+ inverse: "rgba(216,0,5,1)"
5155
5170
  },
5156
5171
  status: {
5157
5172
  announcement: "rgba(243,246,255,1)",
@@ -5173,6 +5188,15 @@ var tokens_default = {
5173
5188
  default: "rgba(53,69,190,1)",
5174
5189
  intense: "rgba(14,22,82,1)"
5175
5190
  },
5191
+ action: {
5192
+ focus: "rgba(53,69,190,1)",
5193
+ "secondary-button": {
5194
+ default: "rgba(53,69,190,1)",
5195
+ active: "rgba(243,246,255,1)",
5196
+ hover: "rgba(243,246,255,1)",
5197
+ disabled: "rgba(129,142,236,1)"
5198
+ }
5199
+ },
5176
5200
  info: {
5177
5201
  muted: "rgba(40,180,244,1)",
5178
5202
  default: "rgba(3,153,227,1)",
@@ -6013,7 +6037,8 @@ var tailwind_theme_default = {
6013
6037
  "100": "var(--aquarium-colors-warning-100)",
6014
6038
  muted: "var(--aquarium-background-color-warning-muted)",
6015
6039
  default: "var(--aquarium-background-color-warning-default)",
6016
- intense: "var(--aquarium-background-color-warning-intense)"
6040
+ intense: "var(--aquarium-background-color-warning-intense)",
6041
+ inverse: "var(--aquarium-background-color-warning-inverse)"
6017
6042
  },
6018
6043
  success: {
6019
6044
  "0": "var(--aquarium-colors-success-0)",
@@ -6030,7 +6055,8 @@ var tailwind_theme_default = {
6030
6055
  "100": "var(--aquarium-colors-success-100)",
6031
6056
  muted: "var(--aquarium-background-color-success-muted)",
6032
6057
  default: "var(--aquarium-background-color-success-default)",
6033
- intense: "var(--aquarium-background-color-success-intense)"
6058
+ intense: "var(--aquarium-background-color-success-intense)",
6059
+ inverse: "var(--aquarium-background-color-success-inverse)"
6034
6060
  },
6035
6061
  info: {
6036
6062
  "0": "var(--aquarium-colors-info-0)",
@@ -6047,7 +6073,8 @@ var tailwind_theme_default = {
6047
6073
  "100": "var(--aquarium-colors-info-100)",
6048
6074
  muted: "var(--aquarium-background-color-info-muted)",
6049
6075
  default: "var(--aquarium-background-color-info-default)",
6050
- intense: "var(--aquarium-background-color-info-intense)"
6076
+ intense: "var(--aquarium-background-color-info-intense)",
6077
+ inverse: "var(--aquarium-background-color-info-inverse)"
6051
6078
  },
6052
6079
  grey: {
6053
6080
  "0": "var(--aquarium-colors-grey-0)",
@@ -6097,15 +6124,27 @@ var tailwind_theme_default = {
6097
6124
  hover: "var(--aquarium-background-color-primary-hover)"
6098
6125
  },
6099
6126
  body: "var(--aquarium-background-color-body)",
6127
+ layer: "var(--aquarium-background-color-layer)",
6100
6128
  "body-intense": "var(--aquarium-background-color-body-intense)",
6129
+ inverse: "var(--aquarium-background-color-inverse)",
6130
+ overlay: "var(--aquarium-background-color-overlay)",
6101
6131
  "popover-content": "var(--aquarium-background-color-popover-content)",
6102
6132
  muted: "var(--aquarium-background-color-muted)",
6103
6133
  default: "var(--aquarium-background-color-default)",
6104
6134
  intense: "var(--aquarium-background-color-intense)",
6135
+ action: {
6136
+ "primary-button": {
6137
+ default: "var(--aquarium-background-color-action-primary-button-default)",
6138
+ active: "var(--aquarium-background-color-action-primary-button-active)",
6139
+ hover: "var(--aquarium-background-color-action-primary-button-hover)",
6140
+ disabled: "var(--aquarium-background-color-action-primary-button-disabled)"
6141
+ }
6142
+ },
6105
6143
  danger: {
6106
6144
  muted: "var(--aquarium-background-color-danger-muted)",
6107
6145
  default: "var(--aquarium-background-color-danger-default)",
6108
- intense: "var(--aquarium-background-color-danger-intense)"
6146
+ intense: "var(--aquarium-background-color-danger-intense)",
6147
+ inverse: "var(--aquarium-background-color-danger-inverse)"
6109
6148
  },
6110
6149
  status: {
6111
6150
  announcement: "var(--aquarium-background-color-status-announcement)",
@@ -6369,6 +6408,15 @@ var tailwind_theme_default = {
6369
6408
  muted: "var(--aquarium-border-color-muted)",
6370
6409
  default: "var(--aquarium-border-color-default)",
6371
6410
  intense: "var(--aquarium-border-color-intense)",
6411
+ action: {
6412
+ focus: "var(--aquarium-border-color-action-focus)",
6413
+ "secondary-button": {
6414
+ default: "var(--aquarium-border-color-action-secondary-button-default)",
6415
+ active: "var(--aquarium-border-color-action-secondary-button-active)",
6416
+ hover: "var(--aquarium-border-color-action-secondary-button-hover)",
6417
+ disabled: "var(--aquarium-border-color-action-secondary-button-disabled)"
6418
+ }
6419
+ },
6372
6420
  danger: {
6373
6421
  muted: "var(--aquarium-border-color-danger-muted)",
6374
6422
  default: "var(--aquarium-border-color-danger-default)",
@@ -6792,7 +6840,7 @@ var toastStyles = (0, import_tailwind_variants3.tv)({
6792
6840
  variants: {
6793
6841
  variant: {
6794
6842
  default: {
6795
- base: "bg-body-intense text-opposite-default",
6843
+ base: "bg-inverse text-opposite-default",
6796
6844
  dismiss: "[&>button]:text-muted",
6797
6845
  action: "[&>*]:text-primary-inactive hover:[&>*]:text-primary-muted"
6798
6846
  },
@@ -6881,7 +6929,7 @@ var inputClasses = (0, import_tailwind_variants4.tv)({
6881
6929
  }
6882
6930
  });
6883
6931
  var menuClasses = (0, import_tailwind_variants4.tv)({
6884
- base: "text-default bg-popover-content overflow-y-auto"
6932
+ base: "text-default bg-overlay overflow-y-auto"
6885
6933
  });
6886
6934
  var noResultsClasses = (0, import_tailwind_variants4.tv)({
6887
6935
  base: "p-3 text-inactive typography-small"
@@ -8977,7 +9025,7 @@ var import_react_aria_components = require("react-aria-components");
8977
9025
  var import_tailwind_variants13 = require("tailwind-variants");
8978
9026
  var popoverStyles = (0, import_tailwind_variants13.tv)({
8979
9027
  // z-[101] ensures popover appears above modal (z-modal: 100)
8980
- base: "rounded-sm shadow-16dp bg-popover-content mt-1 overflow-y-auto flex flex-col border border-default outline-none z-[101]"
9028
+ base: "rounded-sm shadow-16dp bg-overlay mt-1 overflow-y-auto flex flex-col border border-default outline-none z-[101]"
8981
9029
  });
8982
9030
  var Popover = import_react55.default.forwardRef(
8983
9031
  ({ children, offset = 0, className, placement: _placement = "bottom-left", ...props }, ref) => {
@@ -10467,7 +10515,7 @@ var import_clsx26 = require("clsx");
10467
10515
  var import_tailwind_variants16 = require("tailwind-variants");
10468
10516
  var import_tick5 = __toESM(require_tick());
10469
10517
  var dropdownMenuStyles = (0, import_tailwind_variants16.tv)({
10470
- base: "bg-popover-content w-full flex flex-col overflow-x-hidden typography-small text-default"
10518
+ base: "bg-overlay w-full flex flex-col overflow-x-hidden typography-small text-default"
10471
10519
  });
10472
10520
  var DropdownMenu = ({ className, children, ...props }) => {
10473
10521
  return /* @__PURE__ */ import_react69.default.createElement(import_react_aria_components2.Menu, { className: dropdownMenuStyles({ className: ["Aquarium-DropdownMenu", className] }), ...props }, children);
@@ -14548,8 +14596,8 @@ var bodyMaskClasses = (0, import_tailwind_variants23.tv)({
14548
14596
  var modalStyles = (0, import_tailwind_variants23.tv)({
14549
14597
  slots: {
14550
14598
  overlay: "inset-0 overflow-y-auto z-modal fixed",
14551
- backdrop: "-z-10 fixed min-w-full min-h-full bg-body-intense opacity-70",
14552
- dialog: "bg-popover-content max-h-full flex flex-col",
14599
+ backdrop: "-z-10 fixed min-w-full min-h-full bg-inverse opacity-30",
14600
+ dialog: "bg-overlay max-h-full flex flex-col",
14553
14601
  header: "pl-7 pr-[64px] pt-6 pb-4 gap-3 flex items-center",
14554
14602
  headerImage: "h-[120px] min-h-[120px] w-full",
14555
14603
  titleContainer: "flex flex-col grow",
@@ -15057,7 +15105,7 @@ var DropdownMenu3 = ({
15057
15105
  const id = setTimeout(() => (menuRef.current?.children[0]).focus());
15058
15106
  return () => clearTimeout(id);
15059
15107
  }, [menuRef.current]);
15060
- return /* @__PURE__ */ import_react98.default.createElement("div", { style: { minWidth: "250px" }, className: "py-3 bg-popover-content" }, !!title && /* @__PURE__ */ import_react98.default.createElement("div", { className: "px-4 py-4 text-left text-intense typography-default-strong" }, title), /* @__PURE__ */ import_react98.default.createElement("ol", { role: "menu", ref: menuRef, id: contentId, "aria-labelledby": triggerId }, import_react98.default.Children.map(children, (child) => {
15108
+ return /* @__PURE__ */ import_react98.default.createElement("div", { style: { minWidth: "250px" }, className: "py-3 bg-overlay" }, !!title && /* @__PURE__ */ import_react98.default.createElement("div", { className: "px-4 py-4 text-left text-intense typography-default-strong" }, title), /* @__PURE__ */ import_react98.default.createElement("ol", { role: "menu", ref: menuRef, id: contentId, "aria-labelledby": triggerId }, import_react98.default.Children.map(children, (child) => {
15061
15109
  return import_react98.default.cloneElement(child, { setClose });
15062
15110
  })));
15063
15111
  };
@@ -16497,7 +16545,7 @@ var stepStyles = (0, import_tailwind_variants30.tv)({
16497
16545
  slots: ["indicator"],
16498
16546
  dense: true,
16499
16547
  state: "active",
16500
- class: "bg-body-intense"
16548
+ class: "bg-inverse"
16501
16549
  },
16502
16550
  {
16503
16551
  slots: ["indicator"],
package/dist/atoms.mjs CHANGED
@@ -4512,7 +4512,7 @@ var TooltipWrapper = React.forwardRef(
4512
4512
  "div",
4513
4513
  {
4514
4514
  ref,
4515
- className: "Aquarium-Tooltip p-3 rounded-sm typography-caption max-w-[320px] bg-body-intense text-opposite-default",
4515
+ className: "Aquarium-Tooltip p-3 rounded-sm typography-caption max-w-[320px] bg-inverse text-opposite-default",
4516
4516
  ...mergeProps(props, tooltipProps)
4517
4517
  },
4518
4518
  props.children,
@@ -4552,7 +4552,7 @@ var getArrowStyle = (element, position, { left, top }) => {
4552
4552
  return { left, top };
4553
4553
  };
4554
4554
  var Arrow = (props) => {
4555
- return /* @__PURE__ */ React.createElement("div", { className: "absolute w-3 h-3 bg-body-intense rotate-45", ...props });
4555
+ return /* @__PURE__ */ React.createElement("div", { className: "absolute w-3 h-3 bg-inverse rotate-45", ...props });
4556
4556
  };
4557
4557
 
4558
4558
  // src/atoms/Button/Button.tsx
@@ -4856,14 +4856,14 @@ var buttonStateClasses = tv2({
4856
4856
  variants: {
4857
4857
  kind: {
4858
4858
  primary: [
4859
- "active:text-white active:bg-primary-active",
4860
- "hover:bg-primary-intense",
4861
- "disabled:text-white disabled:bg-primary-muted"
4859
+ "active:text-white active:bg-action-primary-button-active",
4860
+ "hover:bg-action-primary-button-hover",
4861
+ "disabled:text-white disabled:bg-action-primary-button-disabled"
4862
4862
  ],
4863
4863
  secondary: [
4864
4864
  "active:bg-primary-active active:text-primary-active",
4865
4865
  "hover:bg-primary-hover",
4866
- "before:disabled:border-primary-muted"
4866
+ "before:disabled:border-action-secondary-button-disabled"
4867
4867
  ],
4868
4868
  ghost: ["hover:text-primary-active"],
4869
4869
  text: interactiveTextStyles(),
@@ -4882,8 +4882,8 @@ var buttonClasses = tv2({
4882
4882
  base: "Aquarium-Button whitespace-nowrap transition text-center text-primary-intense rounded-sm relative px-4 py-3 inline-flex gap-3 items-center justify-center",
4883
4883
  variants: {
4884
4884
  kind: {
4885
- primary: "Aquarium-Button.Primary text-white bg-primary-default icon-stroke-2",
4886
- secondary: "Aquarium-Button.Secondary bg-transparent before:absolute before:inset-0 before:border before:border-primary-default before:rounded-sm icon-stroke-2",
4885
+ primary: "Aquarium-Button.Primary text-white bg-action-primary-button-default icon-stroke-2",
4886
+ secondary: "Aquarium-Button.Secondary bg-transparent before:absolute before:inset-0 before:border before:border-action-secondary-button-default before:rounded-sm icon-stroke-2",
4887
4887
  ghost: "Aquarium-Button.Ghost px-0 icon-stroke-2",
4888
4888
  text: "Aquarium-Button.Text px-0 py-0 icon-stroke-2",
4889
4889
  icon: "Aquarium-Button.Icon px-2 py-2 text-default"
@@ -5057,7 +5057,10 @@ var tokens_default = {
5057
5057
  },
5058
5058
  backgroundColor: {
5059
5059
  body: "white",
5060
+ layer: "white",
5060
5061
  "body-intense": "rgba(58,58,68,1)",
5062
+ inverse: "rgba(58,58,68,1)",
5063
+ overlay: "white",
5061
5064
  "popover-content": "white",
5062
5065
  muted: "rgba(247,247,250,1)",
5063
5066
  default: "rgba(237,237,240,1)",
@@ -5069,25 +5072,37 @@ var tokens_default = {
5069
5072
  active: "rgba(243,246,255,1)",
5070
5073
  hover: "rgba(243,246,255,1)"
5071
5074
  },
5075
+ action: {
5076
+ "primary-button": {
5077
+ default: "rgba(53,69,190,1)",
5078
+ active: "rgba(243,246,255,1)",
5079
+ hover: "rgba(34,47,149,1)",
5080
+ disabled: "rgba(185,197,239,1)"
5081
+ }
5082
+ },
5072
5083
  info: {
5073
5084
  muted: "rgba(224,245,254,1)",
5074
5085
  default: "rgba(3,153,227,1)",
5075
- intense: "rgba(1,116,186,1)"
5086
+ intense: "rgba(1,116,186,1)",
5087
+ inverse: "rgba(3,153,227,1)"
5076
5088
  },
5077
5089
  success: {
5078
5090
  muted: "rgba(236,247,237,1)",
5079
5091
  default: "rgba(0,179,0,1)",
5080
- intense: "rgba(0,142,0,1)"
5092
+ intense: "rgba(0,142,0,1)",
5093
+ inverse: "rgba(0,179,0,1)"
5081
5094
  },
5082
5095
  warning: {
5083
5096
  muted: "rgba(255,248,234,1)",
5084
5097
  default: "rgba(255,179,0,1)",
5085
- intense: "rgba(255,144,3,1)"
5098
+ intense: "rgba(255,144,3,1)",
5099
+ inverse: "rgba(255,179,0,1)"
5086
5100
  },
5087
5101
  danger: {
5088
5102
  muted: "rgba(255,203,210,1)",
5089
5103
  default: "rgba(255,173,179,1)",
5090
- intense: "rgba(230,39,40,1)"
5104
+ intense: "rgba(230,39,40,1)",
5105
+ inverse: "rgba(216,0,5,1)"
5091
5106
  },
5092
5107
  status: {
5093
5108
  announcement: "rgba(243,246,255,1)",
@@ -5109,6 +5124,15 @@ var tokens_default = {
5109
5124
  default: "rgba(53,69,190,1)",
5110
5125
  intense: "rgba(14,22,82,1)"
5111
5126
  },
5127
+ action: {
5128
+ focus: "rgba(53,69,190,1)",
5129
+ "secondary-button": {
5130
+ default: "rgba(53,69,190,1)",
5131
+ active: "rgba(243,246,255,1)",
5132
+ hover: "rgba(243,246,255,1)",
5133
+ disabled: "rgba(129,142,236,1)"
5134
+ }
5135
+ },
5112
5136
  info: {
5113
5137
  muted: "rgba(40,180,244,1)",
5114
5138
  default: "rgba(3,153,227,1)",
@@ -5949,7 +5973,8 @@ var tailwind_theme_default = {
5949
5973
  "100": "var(--aquarium-colors-warning-100)",
5950
5974
  muted: "var(--aquarium-background-color-warning-muted)",
5951
5975
  default: "var(--aquarium-background-color-warning-default)",
5952
- intense: "var(--aquarium-background-color-warning-intense)"
5976
+ intense: "var(--aquarium-background-color-warning-intense)",
5977
+ inverse: "var(--aquarium-background-color-warning-inverse)"
5953
5978
  },
5954
5979
  success: {
5955
5980
  "0": "var(--aquarium-colors-success-0)",
@@ -5966,7 +5991,8 @@ var tailwind_theme_default = {
5966
5991
  "100": "var(--aquarium-colors-success-100)",
5967
5992
  muted: "var(--aquarium-background-color-success-muted)",
5968
5993
  default: "var(--aquarium-background-color-success-default)",
5969
- intense: "var(--aquarium-background-color-success-intense)"
5994
+ intense: "var(--aquarium-background-color-success-intense)",
5995
+ inverse: "var(--aquarium-background-color-success-inverse)"
5970
5996
  },
5971
5997
  info: {
5972
5998
  "0": "var(--aquarium-colors-info-0)",
@@ -5983,7 +6009,8 @@ var tailwind_theme_default = {
5983
6009
  "100": "var(--aquarium-colors-info-100)",
5984
6010
  muted: "var(--aquarium-background-color-info-muted)",
5985
6011
  default: "var(--aquarium-background-color-info-default)",
5986
- intense: "var(--aquarium-background-color-info-intense)"
6012
+ intense: "var(--aquarium-background-color-info-intense)",
6013
+ inverse: "var(--aquarium-background-color-info-inverse)"
5987
6014
  },
5988
6015
  grey: {
5989
6016
  "0": "var(--aquarium-colors-grey-0)",
@@ -6033,15 +6060,27 @@ var tailwind_theme_default = {
6033
6060
  hover: "var(--aquarium-background-color-primary-hover)"
6034
6061
  },
6035
6062
  body: "var(--aquarium-background-color-body)",
6063
+ layer: "var(--aquarium-background-color-layer)",
6036
6064
  "body-intense": "var(--aquarium-background-color-body-intense)",
6065
+ inverse: "var(--aquarium-background-color-inverse)",
6066
+ overlay: "var(--aquarium-background-color-overlay)",
6037
6067
  "popover-content": "var(--aquarium-background-color-popover-content)",
6038
6068
  muted: "var(--aquarium-background-color-muted)",
6039
6069
  default: "var(--aquarium-background-color-default)",
6040
6070
  intense: "var(--aquarium-background-color-intense)",
6071
+ action: {
6072
+ "primary-button": {
6073
+ default: "var(--aquarium-background-color-action-primary-button-default)",
6074
+ active: "var(--aquarium-background-color-action-primary-button-active)",
6075
+ hover: "var(--aquarium-background-color-action-primary-button-hover)",
6076
+ disabled: "var(--aquarium-background-color-action-primary-button-disabled)"
6077
+ }
6078
+ },
6041
6079
  danger: {
6042
6080
  muted: "var(--aquarium-background-color-danger-muted)",
6043
6081
  default: "var(--aquarium-background-color-danger-default)",
6044
- intense: "var(--aquarium-background-color-danger-intense)"
6082
+ intense: "var(--aquarium-background-color-danger-intense)",
6083
+ inverse: "var(--aquarium-background-color-danger-inverse)"
6045
6084
  },
6046
6085
  status: {
6047
6086
  announcement: "var(--aquarium-background-color-status-announcement)",
@@ -6305,6 +6344,15 @@ var tailwind_theme_default = {
6305
6344
  muted: "var(--aquarium-border-color-muted)",
6306
6345
  default: "var(--aquarium-border-color-default)",
6307
6346
  intense: "var(--aquarium-border-color-intense)",
6347
+ action: {
6348
+ focus: "var(--aquarium-border-color-action-focus)",
6349
+ "secondary-button": {
6350
+ default: "var(--aquarium-border-color-action-secondary-button-default)",
6351
+ active: "var(--aquarium-border-color-action-secondary-button-active)",
6352
+ hover: "var(--aquarium-border-color-action-secondary-button-hover)",
6353
+ disabled: "var(--aquarium-border-color-action-secondary-button-disabled)"
6354
+ }
6355
+ },
6308
6356
  danger: {
6309
6357
  muted: "var(--aquarium-border-color-danger-muted)",
6310
6358
  default: "var(--aquarium-border-color-danger-default)",
@@ -6728,7 +6776,7 @@ var toastStyles = tv3({
6728
6776
  variants: {
6729
6777
  variant: {
6730
6778
  default: {
6731
- base: "bg-body-intense text-opposite-default",
6779
+ base: "bg-inverse text-opposite-default",
6732
6780
  dismiss: "[&>button]:text-muted",
6733
6781
  action: "[&>*]:text-primary-inactive hover:[&>*]:text-primary-muted"
6734
6782
  },
@@ -6817,7 +6865,7 @@ var inputClasses = tv4({
6817
6865
  }
6818
6866
  });
6819
6867
  var menuClasses = tv4({
6820
- base: "text-default bg-popover-content overflow-y-auto"
6868
+ base: "text-default bg-overlay overflow-y-auto"
6821
6869
  });
6822
6870
  var noResultsClasses = tv4({
6823
6871
  base: "p-3 text-inactive typography-small"
@@ -8917,7 +8965,7 @@ import {
8917
8965
  import { tv as tv13 } from "tailwind-variants";
8918
8966
  var popoverStyles = tv13({
8919
8967
  // z-[101] ensures popover appears above modal (z-modal: 100)
8920
- base: "rounded-sm shadow-16dp bg-popover-content mt-1 overflow-y-auto flex flex-col border border-default outline-none z-[101]"
8968
+ base: "rounded-sm shadow-16dp bg-overlay mt-1 overflow-y-auto flex flex-col border border-default outline-none z-[101]"
8921
8969
  });
8922
8970
  var Popover = React49.forwardRef(
8923
8971
  ({ children, offset = 0, className, placement: _placement = "bottom-left", ...props }, ref) => {
@@ -10418,7 +10466,7 @@ import { clsx as clsx26 } from "clsx";
10418
10466
  import { tv as tv16 } from "tailwind-variants";
10419
10467
  var import_tick5 = __toESM(require_tick());
10420
10468
  var dropdownMenuStyles = tv16({
10421
- base: "bg-popover-content w-full flex flex-col overflow-x-hidden typography-small text-default"
10469
+ base: "bg-overlay w-full flex flex-col overflow-x-hidden typography-small text-default"
10422
10470
  });
10423
10471
  var DropdownMenu = ({ className, children, ...props }) => {
10424
10472
  return /* @__PURE__ */ React62.createElement(AriaMenu, { className: dropdownMenuStyles({ className: ["Aquarium-DropdownMenu", className] }), ...props }, children);
@@ -14533,8 +14581,8 @@ var bodyMaskClasses = tv23({
14533
14581
  var modalStyles = tv23({
14534
14582
  slots: {
14535
14583
  overlay: "inset-0 overflow-y-auto z-modal fixed",
14536
- backdrop: "-z-10 fixed min-w-full min-h-full bg-body-intense opacity-70",
14537
- dialog: "bg-popover-content max-h-full flex flex-col",
14584
+ backdrop: "-z-10 fixed min-w-full min-h-full bg-inverse opacity-30",
14585
+ dialog: "bg-overlay max-h-full flex flex-col",
14538
14586
  header: "pl-7 pr-[64px] pt-6 pb-4 gap-3 flex items-center",
14539
14587
  headerImage: "h-[120px] min-h-[120px] w-full",
14540
14588
  titleContainer: "flex flex-col grow",
@@ -15042,7 +15090,7 @@ var DropdownMenu3 = ({
15042
15090
  const id = setTimeout(() => (menuRef.current?.children[0]).focus());
15043
15091
  return () => clearTimeout(id);
15044
15092
  }, [menuRef.current]);
15045
- return /* @__PURE__ */ React90.createElement("div", { style: { minWidth: "250px" }, className: "py-3 bg-popover-content" }, !!title && /* @__PURE__ */ React90.createElement("div", { className: "px-4 py-4 text-left text-intense typography-default-strong" }, title), /* @__PURE__ */ React90.createElement("ol", { role: "menu", ref: menuRef, id: contentId, "aria-labelledby": triggerId }, React90.Children.map(children, (child) => {
15093
+ return /* @__PURE__ */ React90.createElement("div", { style: { minWidth: "250px" }, className: "py-3 bg-overlay" }, !!title && /* @__PURE__ */ React90.createElement("div", { className: "px-4 py-4 text-left text-intense typography-default-strong" }, title), /* @__PURE__ */ React90.createElement("ol", { role: "menu", ref: menuRef, id: contentId, "aria-labelledby": triggerId }, React90.Children.map(children, (child) => {
15046
15094
  return React90.cloneElement(child, { setClose });
15047
15095
  })));
15048
15096
  };
@@ -16487,7 +16535,7 @@ var stepStyles = tv30({
16487
16535
  slots: ["indicator"],
16488
16536
  dense: true,
16489
16537
  state: "active",
16490
- class: "bg-body-intense"
16538
+ class: "bg-inverse"
16491
16539
  },
16492
16540
  {
16493
16541
  slots: ["indicator"],
package/dist/charts.cjs CHANGED
@@ -214,7 +214,10 @@ var tokens_default = {
214
214
  },
215
215
  backgroundColor: {
216
216
  body: "white",
217
+ layer: "white",
217
218
  "body-intense": "rgba(58,58,68,1)",
219
+ inverse: "rgba(58,58,68,1)",
220
+ overlay: "white",
218
221
  "popover-content": "white",
219
222
  muted: "rgba(247,247,250,1)",
220
223
  default: "rgba(237,237,240,1)",
@@ -226,25 +229,37 @@ var tokens_default = {
226
229
  active: "rgba(243,246,255,1)",
227
230
  hover: "rgba(243,246,255,1)"
228
231
  },
232
+ action: {
233
+ "primary-button": {
234
+ default: "rgba(53,69,190,1)",
235
+ active: "rgba(243,246,255,1)",
236
+ hover: "rgba(34,47,149,1)",
237
+ disabled: "rgba(185,197,239,1)"
238
+ }
239
+ },
229
240
  info: {
230
241
  muted: "rgba(224,245,254,1)",
231
242
  default: "rgba(3,153,227,1)",
232
- intense: "rgba(1,116,186,1)"
243
+ intense: "rgba(1,116,186,1)",
244
+ inverse: "rgba(3,153,227,1)"
233
245
  },
234
246
  success: {
235
247
  muted: "rgba(236,247,237,1)",
236
248
  default: "rgba(0,179,0,1)",
237
- intense: "rgba(0,142,0,1)"
249
+ intense: "rgba(0,142,0,1)",
250
+ inverse: "rgba(0,179,0,1)"
238
251
  },
239
252
  warning: {
240
253
  muted: "rgba(255,248,234,1)",
241
254
  default: "rgba(255,179,0,1)",
242
- intense: "rgba(255,144,3,1)"
255
+ intense: "rgba(255,144,3,1)",
256
+ inverse: "rgba(255,179,0,1)"
243
257
  },
244
258
  danger: {
245
259
  muted: "rgba(255,203,210,1)",
246
260
  default: "rgba(255,173,179,1)",
247
- intense: "rgba(230,39,40,1)"
261
+ intense: "rgba(230,39,40,1)",
262
+ inverse: "rgba(216,0,5,1)"
248
263
  },
249
264
  status: {
250
265
  announcement: "rgba(243,246,255,1)",
@@ -266,6 +281,15 @@ var tokens_default = {
266
281
  default: "rgba(53,69,190,1)",
267
282
  intense: "rgba(14,22,82,1)"
268
283
  },
284
+ action: {
285
+ focus: "rgba(53,69,190,1)",
286
+ "secondary-button": {
287
+ default: "rgba(53,69,190,1)",
288
+ active: "rgba(243,246,255,1)",
289
+ hover: "rgba(243,246,255,1)",
290
+ disabled: "rgba(129,142,236,1)"
291
+ }
292
+ },
269
293
  info: {
270
294
  muted: "rgba(40,180,244,1)",
271
295
  default: "rgba(3,153,227,1)",