@aivenio/aquarium 5.0.1 → 5.2.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 (40) hide show
  1. package/dist/_variables.scss +19 -0
  2. package/dist/atoms.cjs +103 -49
  3. package/dist/atoms.mjs +103 -49
  4. package/dist/charts.cjs +31 -4
  5. package/dist/charts.mjs +31 -4
  6. package/dist/src/atoms/Button/Button.js +7 -7
  7. package/dist/src/atoms/Checkbox/Checkbox.js +1 -1
  8. package/dist/src/atoms/DatePicker/Calendar.js +3 -3
  9. package/dist/src/atoms/DatePicker/RangeCalendar.js +6 -6
  10. package/dist/src/atoms/DropdownMenu/DropdownMenu.js +3 -3
  11. package/dist/src/atoms/Filter/Filter.js +2 -2
  12. package/dist/src/atoms/Modal/Modal.js +4 -4
  13. package/dist/src/atoms/Navigation/Navigation.js +3 -3
  14. package/dist/src/atoms/Popover/Popover.d.ts +1 -1
  15. package/dist/src/atoms/Popover/Popover.js +2 -2
  16. package/dist/src/atoms/RadioButton/RadioButton.js +1 -1
  17. package/dist/src/atoms/Select/Select.js +4 -4
  18. package/dist/src/atoms/Skeleton/Skeleton.js +2 -2
  19. package/dist/src/atoms/Stepper/Stepper.js +2 -2
  20. package/dist/src/atoms/Switch/Switch.js +3 -3
  21. package/dist/src/atoms/Timeline/Timeline.js +2 -2
  22. package/dist/src/atoms/Toast/Toast.js +2 -2
  23. package/dist/src/atoms/utils/index.js +2 -2
  24. package/dist/src/molecules/Chip/Chip.js +2 -2
  25. package/dist/src/molecules/Drawer/Drawer.js +1 -1
  26. package/dist/src/molecules/Dropdown/Dropdown.js +2 -2
  27. package/dist/src/molecules/ListItem/ListItem.js +2 -2
  28. package/dist/src/molecules/MultiInput/InputChip.js +2 -2
  29. package/dist/src/molecules/NativeSelect/NativeSelect.js +2 -2
  30. package/dist/src/molecules/TagLabel/TagLabel.js +3 -3
  31. package/dist/src/molecules/Tooltip/Tooltip.js +3 -3
  32. package/dist/src/tokens/tokens.json +31 -4
  33. package/dist/src/utils/constants.js +2 -2
  34. package/dist/styles.css +198 -84
  35. package/dist/system.cjs +107 -53
  36. package/dist/system.mjs +107 -53
  37. package/dist/tailwind.theme.json +31 -4
  38. package/dist/tokens.json +31 -4
  39. package/dist/tsconfig.module.tsbuildinfo +1 -1
  40. package/package.json +1 -1
package/dist/system.mjs CHANGED
@@ -4468,7 +4468,7 @@ var inputContainerClasses = tv({
4468
4468
  variants: {
4469
4469
  variant: {
4470
4470
  default: "border px-3 py-[6px] border-default hover:border-intense bg-transparent",
4471
- disabled: "border px-3 py-[6px] cursor-not-allowed border-default bg-default",
4471
+ disabled: "border px-3 py-[6px] cursor-not-allowed border-default bg-medium",
4472
4472
  error: "border px-3 py-[6px] border-danger-default bg-transparent",
4473
4473
  focused: "border px-3 py-[6px] border-info-default bg-transparent",
4474
4474
  readOnly: "cursor-default border-default bg-transparent"
@@ -4476,7 +4476,7 @@ var inputContainerClasses = tv({
4476
4476
  }
4477
4477
  });
4478
4478
  var inputClasses = tv({
4479
- base: "grow rounded border-0 focus:outline-none px-[1px] my-1 min-w-0 typography-small bg-transparent disabled:cursor-not-allowed disabled:bg-default placeholder:text-inactive",
4479
+ base: "grow rounded border-0 focus:outline-none px-[1px] my-1 min-w-0 typography-small bg-transparent disabled:cursor-not-allowed disabled:bg-medium placeholder:text-inactive",
4480
4480
  variants: {
4481
4481
  disabled: {
4482
4482
  true: "text-inactive",
@@ -4489,7 +4489,7 @@ var inputClasses = tv({
4489
4489
  }
4490
4490
  });
4491
4491
  var menuClasses = tv({
4492
- base: "text-default bg-popover-content overflow-y-auto"
4492
+ base: "text-default bg-overlay overflow-y-auto"
4493
4493
  });
4494
4494
  var noResultsClasses = tv({
4495
4495
  base: "p-3 text-inactive typography-small"
@@ -5330,7 +5330,8 @@ var tailwind_theme_default = {
5330
5330
  "100": "var(--aquarium-colors-warning-100)",
5331
5331
  muted: "var(--aquarium-background-color-warning-muted)",
5332
5332
  default: "var(--aquarium-background-color-warning-default)",
5333
- intense: "var(--aquarium-background-color-warning-intense)"
5333
+ intense: "var(--aquarium-background-color-warning-intense)",
5334
+ inverse: "var(--aquarium-background-color-warning-inverse)"
5334
5335
  },
5335
5336
  success: {
5336
5337
  "0": "var(--aquarium-colors-success-0)",
@@ -5347,7 +5348,8 @@ var tailwind_theme_default = {
5347
5348
  "100": "var(--aquarium-colors-success-100)",
5348
5349
  muted: "var(--aquarium-background-color-success-muted)",
5349
5350
  default: "var(--aquarium-background-color-success-default)",
5350
- intense: "var(--aquarium-background-color-success-intense)"
5351
+ intense: "var(--aquarium-background-color-success-intense)",
5352
+ inverse: "var(--aquarium-background-color-success-inverse)"
5351
5353
  },
5352
5354
  info: {
5353
5355
  "0": "var(--aquarium-colors-info-0)",
@@ -5364,7 +5366,8 @@ var tailwind_theme_default = {
5364
5366
  "100": "var(--aquarium-colors-info-100)",
5365
5367
  muted: "var(--aquarium-background-color-info-muted)",
5366
5368
  default: "var(--aquarium-background-color-info-default)",
5367
- intense: "var(--aquarium-background-color-info-intense)"
5369
+ intense: "var(--aquarium-background-color-info-intense)",
5370
+ inverse: "var(--aquarium-background-color-info-inverse)"
5368
5371
  },
5369
5372
  grey: {
5370
5373
  "0": "var(--aquarium-colors-grey-0)",
@@ -5409,20 +5412,35 @@ var tailwind_theme_default = {
5409
5412
  "100": "var(--aquarium-colors-primary-100)",
5410
5413
  muted: "var(--aquarium-background-color-primary-muted)",
5411
5414
  default: "var(--aquarium-background-color-primary-default)",
5415
+ graphic: "var(--aquarium-background-color-primary-graphic)",
5412
5416
  intense: "var(--aquarium-background-color-primary-intense)",
5417
+ inverse: "var(--aquarium-background-color-primary-inverse)",
5413
5418
  active: "var(--aquarium-background-color-primary-active)",
5414
5419
  hover: "var(--aquarium-background-color-primary-hover)"
5415
5420
  },
5416
5421
  body: "var(--aquarium-background-color-body)",
5422
+ layer: "var(--aquarium-background-color-layer)",
5417
5423
  "body-intense": "var(--aquarium-background-color-body-intense)",
5424
+ inverse: "var(--aquarium-background-color-inverse)",
5425
+ overlay: "var(--aquarium-background-color-overlay)",
5418
5426
  "popover-content": "var(--aquarium-background-color-popover-content)",
5419
5427
  muted: "var(--aquarium-background-color-muted)",
5420
5428
  default: "var(--aquarium-background-color-default)",
5429
+ medium: "var(--aquarium-background-color-medium)",
5421
5430
  intense: "var(--aquarium-background-color-intense)",
5431
+ action: {
5432
+ "primary-button": {
5433
+ default: "var(--aquarium-background-color-action-primary-button-default)",
5434
+ active: "var(--aquarium-background-color-action-primary-button-active)",
5435
+ hover: "var(--aquarium-background-color-action-primary-button-hover)",
5436
+ disabled: "var(--aquarium-background-color-action-primary-button-disabled)"
5437
+ }
5438
+ },
5422
5439
  danger: {
5423
5440
  muted: "var(--aquarium-background-color-danger-muted)",
5424
5441
  default: "var(--aquarium-background-color-danger-default)",
5425
- intense: "var(--aquarium-background-color-danger-intense)"
5442
+ intense: "var(--aquarium-background-color-danger-intense)",
5443
+ inverse: "var(--aquarium-background-color-danger-inverse)"
5426
5444
  },
5427
5445
  status: {
5428
5446
  announcement: "var(--aquarium-background-color-status-announcement)",
@@ -5686,6 +5704,15 @@ var tailwind_theme_default = {
5686
5704
  muted: "var(--aquarium-border-color-muted)",
5687
5705
  default: "var(--aquarium-border-color-default)",
5688
5706
  intense: "var(--aquarium-border-color-intense)",
5707
+ action: {
5708
+ focus: "var(--aquarium-border-color-action-focus)",
5709
+ "secondary-button": {
5710
+ default: "var(--aquarium-border-color-action-secondary-button-default)",
5711
+ active: "var(--aquarium-border-color-action-secondary-button-active)",
5712
+ hover: "var(--aquarium-border-color-action-secondary-button-hover)",
5713
+ disabled: "var(--aquarium-border-color-action-secondary-button-disabled)"
5714
+ }
5715
+ },
5689
5716
  danger: {
5690
5717
  muted: "var(--aquarium-border-color-danger-muted)",
5691
5718
  default: "var(--aquarium-border-color-danger-default)",
@@ -5914,37 +5941,55 @@ var tokens_default = {
5914
5941
  },
5915
5942
  backgroundColor: {
5916
5943
  body: "white",
5944
+ layer: "white",
5917
5945
  "body-intense": "rgba(58,58,68,1)",
5946
+ inverse: "rgba(58,58,68,1)",
5947
+ overlay: "white",
5918
5948
  "popover-content": "white",
5919
5949
  muted: "rgba(247,247,250,1)",
5920
5950
  default: "rgba(237,237,240,1)",
5951
+ medium: "rgba(237,237,240,1)",
5921
5952
  intense: "rgba(210,210,214,1)",
5922
5953
  primary: {
5923
5954
  muted: "rgba(185,197,239,1)",
5924
5955
  default: "rgba(53,69,190,1)",
5956
+ graphic: "rgba(53,69,190,1)",
5925
5957
  intense: "rgba(34,47,149,1)",
5958
+ inverse: "rgba(34,47,149,1)",
5926
5959
  active: "rgba(243,246,255,1)",
5927
5960
  hover: "rgba(243,246,255,1)"
5928
5961
  },
5962
+ action: {
5963
+ "primary-button": {
5964
+ default: "rgba(53,69,190,1)",
5965
+ active: "rgba(243,246,255,1)",
5966
+ hover: "rgba(34,47,149,1)",
5967
+ disabled: "rgba(185,197,239,1)"
5968
+ }
5969
+ },
5929
5970
  info: {
5930
5971
  muted: "rgba(224,245,254,1)",
5931
5972
  default: "rgba(3,153,227,1)",
5932
- intense: "rgba(1,116,186,1)"
5973
+ intense: "rgba(1,116,186,1)",
5974
+ inverse: "rgba(3,153,227,1)"
5933
5975
  },
5934
5976
  success: {
5935
5977
  muted: "rgba(236,247,237,1)",
5936
5978
  default: "rgba(0,179,0,1)",
5937
- intense: "rgba(0,142,0,1)"
5979
+ intense: "rgba(0,142,0,1)",
5980
+ inverse: "rgba(0,179,0,1)"
5938
5981
  },
5939
5982
  warning: {
5940
5983
  muted: "rgba(255,248,234,1)",
5941
5984
  default: "rgba(255,179,0,1)",
5942
- intense: "rgba(255,144,3,1)"
5985
+ intense: "rgba(255,144,3,1)",
5986
+ inverse: "rgba(255,179,0,1)"
5943
5987
  },
5944
5988
  danger: {
5945
5989
  muted: "rgba(255,203,210,1)",
5946
5990
  default: "rgba(255,173,179,1)",
5947
- intense: "rgba(230,39,40,1)"
5991
+ intense: "rgba(230,39,40,1)",
5992
+ inverse: "rgba(216,0,5,1)"
5948
5993
  },
5949
5994
  status: {
5950
5995
  announcement: "rgba(243,246,255,1)",
@@ -5966,6 +6011,15 @@ var tokens_default = {
5966
6011
  default: "rgba(53,69,190,1)",
5967
6012
  intense: "rgba(14,22,82,1)"
5968
6013
  },
6014
+ action: {
6015
+ focus: "rgba(53,69,190,1)",
6016
+ "secondary-button": {
6017
+ default: "rgba(53,69,190,1)",
6018
+ active: "rgba(243,246,255,1)",
6019
+ hover: "rgba(243,246,255,1)",
6020
+ disabled: "rgba(129,142,236,1)"
6021
+ }
6022
+ },
5969
6023
  info: {
5970
6024
  muted: "rgba(40,180,244,1)",
5971
6025
  default: "rgba(3,153,227,1)",
@@ -6732,7 +6786,7 @@ var TooltipWrapper = React6.forwardRef(
6732
6786
  "div",
6733
6787
  {
6734
6788
  ref,
6735
- className: "Aquarium-Tooltip p-3 rounded-sm typography-caption max-w-[320px] bg-body-intense text-opposite-default",
6789
+ className: "Aquarium-Tooltip p-3 rounded-sm typography-caption max-w-[320px] bg-inverse text-opposite-default",
6736
6790
  ...mergeProps(props, tooltipProps)
6737
6791
  },
6738
6792
  props.children,
@@ -6772,7 +6826,7 @@ var getArrowStyle = (element, position, { left, top }) => {
6772
6826
  return { left, top };
6773
6827
  };
6774
6828
  var Arrow = (props) => {
6775
- return /* @__PURE__ */ React6.createElement("div", { className: "absolute w-3 h-3 bg-body-intense rotate-45", ...props });
6829
+ return /* @__PURE__ */ React6.createElement("div", { className: "absolute w-3 h-3 bg-inverse rotate-45", ...props });
6776
6830
  };
6777
6831
 
6778
6832
  // src/atoms/Button/Button.tsx
@@ -6785,7 +6839,7 @@ import { tv as tv3 } from "tailwind-variants";
6785
6839
  import { clsx as clsx3 } from "clsx";
6786
6840
  import { tv as tv2 } from "tailwind-variants";
6787
6841
  var getCommonInputStyles = ({ readOnly, valid }) => clsx3(
6788
- "block w-full rounded-sm disabled:cursor-not-allowed disabled:border-default disabled:bg-default typography-small text-default disabled:text-inactive placeholder:text-inactive focus:outline-none",
6842
+ "block w-full rounded-sm disabled:cursor-not-allowed disabled:border-default disabled:bg-medium typography-small text-default disabled:text-inactive placeholder:text-inactive focus:outline-none",
6789
6843
  {
6790
6844
  "px-3 py-3 bg-transparent": !readOnly,
6791
6845
  "border-none resize-none cursor-default bg-transparent": readOnly,
@@ -6807,14 +6861,14 @@ var buttonStateClasses = tv3({
6807
6861
  variants: {
6808
6862
  kind: {
6809
6863
  primary: [
6810
- "active:text-white active:bg-primary-active",
6811
- "hover:bg-primary-intense",
6812
- "disabled:text-white disabled:bg-primary-muted"
6864
+ "active:text-white active:bg-action-primary-button-active",
6865
+ "hover:bg-action-primary-button-hover",
6866
+ "disabled:text-white disabled:bg-action-primary-button-disabled"
6813
6867
  ],
6814
6868
  secondary: [
6815
6869
  "active:bg-primary-active active:text-primary-active",
6816
6870
  "hover:bg-primary-hover",
6817
- "before:disabled:border-primary-muted"
6871
+ "before:disabled:border-action-secondary-button-disabled"
6818
6872
  ],
6819
6873
  ghost: ["hover:text-primary-active"],
6820
6874
  text: interactiveTextStyles(),
@@ -6833,8 +6887,8 @@ var buttonClasses = tv3({
6833
6887
  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",
6834
6888
  variants: {
6835
6889
  kind: {
6836
- primary: "Aquarium-Button.Primary text-white bg-primary-default icon-stroke-2",
6837
- secondary: "Aquarium-Button.Secondary bg-transparent before:absolute before:inset-0 before:border before:border-primary-default before:rounded-sm icon-stroke-2",
6890
+ primary: "Aquarium-Button.Primary text-white bg-action-primary-button-default icon-stroke-2",
6891
+ 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",
6838
6892
  ghost: "Aquarium-Button.Ghost px-0 icon-stroke-2",
6839
6893
  text: "Aquarium-Button.Text px-0 py-0 icon-stroke-2",
6840
6894
  icon: "Aquarium-Button.Icon px-2 py-2 text-default"
@@ -7008,7 +7062,7 @@ var toastStyles = tv4({
7008
7062
  variants: {
7009
7063
  variant: {
7010
7064
  default: {
7011
- base: "bg-body-intense text-opposite-default",
7065
+ base: "bg-inverse text-opposite-default",
7012
7066
  dismiss: "[&>button]:text-muted",
7013
7067
  action: "[&>*]:text-primary-inactive hover:[&>*]:text-primary-muted"
7014
7068
  },
@@ -7863,7 +7917,7 @@ import React25 from "react";
7863
7917
  import { isNumber, isUndefined as isUndefined6 } from "lodash-es";
7864
7918
  import { tv as tv7 } from "tailwind-variants";
7865
7919
  var skeletonStyles = tv7({
7866
- base: "bg-default",
7920
+ base: "bg-medium",
7867
7921
  variants: {
7868
7922
  hasHeight: {
7869
7923
  false: "h-auto before:content-['_'] whitespace-pre origin-[0%_45%] scale-[0.55]"
@@ -8167,7 +8221,7 @@ var getStatusClassNames = (status = "neutral") => {
8167
8221
  return "text-success-intense bg-status-success";
8168
8222
  case "neutral":
8169
8223
  default:
8170
- return "text-default bg-default";
8224
+ return "text-default bg-medium";
8171
8225
  }
8172
8226
  };
8173
8227
  var Chip2 = ({
@@ -8508,7 +8562,7 @@ var checkboxClasses = tv11({
8508
8562
  },
8509
8563
  false: {
8510
8564
  wrapper: "hover:border-intense peer-checked:border-primary-default",
8511
- input: "cursor-pointer checked:bg-primary-default",
8565
+ input: "cursor-pointer checked:bg-primary-graphic",
8512
8566
  icon: "border-default peer-hover:border-intense peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-primary-default"
8513
8567
  }
8514
8568
  }
@@ -8537,7 +8591,7 @@ var Checkbox = React35.forwardRef(
8537
8591
  import React36 from "react";
8538
8592
  import { tv as tv12 } from "tailwind-variants";
8539
8593
  var radioButtonClasses = tv12({
8540
- base: "inline-flex justify-center items-center self-center appearance-none w-5 h-5 p-[3px] rounded-full border border-default outline-none focus:border-info-default checked:bg-primary-default checked:shadow-bodyInset",
8594
+ base: "inline-flex justify-center items-center self-center appearance-none w-5 h-5 p-[3px] rounded-full border border-default outline-none focus:border-info-default checked:bg-primary-graphic checked:shadow-bodyInset",
8541
8595
  variants: {
8542
8596
  disabled: {
8543
8597
  true: "cursor-not-allowed border-muted bg-muted checked:bg-primary-muted checked:border-transparent",
@@ -9649,7 +9703,7 @@ import {
9649
9703
  import { tv as tv14 } from "tailwind-variants";
9650
9704
  var popoverStyles = tv14({
9651
9705
  // z-[101] ensures popover appears above modal (z-modal: 100)
9652
- base: "rounded-sm shadow-16dp bg-popover-content mt-1 overflow-y-auto flex flex-col border border-default outline-none z-[101]"
9706
+ base: "rounded-sm shadow-16dp bg-overlay mt-1 overflow-y-auto flex flex-col border border-default outline-none z-[101]"
9653
9707
  });
9654
9708
  var Popover = React55.forwardRef(
9655
9709
  ({ children, offset = 0, className, placement: _placement = "bottom-left", ...props }, ref) => {
@@ -11167,7 +11221,7 @@ import { clsx as clsx27 } from "clsx";
11167
11221
  import { tv as tv17 } from "tailwind-variants";
11168
11222
  var import_tick5 = __toESM(require_tick());
11169
11223
  var dropdownMenuStyles = tv17({
11170
- base: "bg-popover-content w-full flex flex-col overflow-x-hidden typography-small text-default"
11224
+ base: "bg-overlay w-full flex flex-col overflow-x-hidden typography-small text-default"
11171
11225
  });
11172
11226
  var DropdownMenu = ({ className, children, ...props }) => {
11173
11227
  return /* @__PURE__ */ React68.createElement(AriaMenu, { className: dropdownMenuStyles({ className: ["Aquarium-DropdownMenu", className] }), ...props }, children);
@@ -11180,7 +11234,7 @@ var dropdownMenuGroupStyles = tv17({
11180
11234
  slots: {
11181
11235
  base: [
11182
11236
  '[&:not(:first-child)]:before:content-[""] [&:not(:first-child)]:before:block',
11183
- "[&:not(:first-child)]:before:h-[1px] [&:not(:first-child)]:before:bg-default [&:not(:first-child)]:before:m-3"
11237
+ "[&:not(:first-child)]:before:h-[1px] [&:not(:first-child)]:before:bg-medium [&:not(:first-child)]:before:m-3"
11184
11238
  ],
11185
11239
  title: "p-3 text-inactive uppercase cursor-default typography-caption"
11186
11240
  }
@@ -11290,7 +11344,7 @@ var fieldBorder = tv18({
11290
11344
  true: "border-danger-default"
11291
11345
  },
11292
11346
  isDisabled: {
11293
- true: "bg-default cursor-not-allowed text-inactive"
11347
+ true: "bg-medium cursor-not-allowed text-inactive"
11294
11348
  }
11295
11349
  }
11296
11350
  });
@@ -12404,8 +12458,8 @@ var cellStyles = tv21({
12404
12458
  base: "w-8 h-8 typography-small cursor-default rounded-md flex items-center justify-center outside-month:hidden",
12405
12459
  variants: {
12406
12460
  isSelected: {
12407
- false: "text-default hover:bg-default pressed:bg-intense",
12408
- true: "bg-primary-default invalid:bg-danger-default text-white"
12461
+ false: "text-default hover:bg-medium pressed:bg-intense",
12462
+ true: "bg-primary-graphic invalid:bg-danger-default text-white"
12409
12463
  },
12410
12464
  isUnavailable: {
12411
12465
  true: "text-inactive"
@@ -15105,7 +15159,7 @@ import { tv as tv23 } from "tailwind-variants";
15105
15159
  var cellContainer = tv23({
15106
15160
  base: [
15107
15161
  "group w-8 h-8 typography-small outline outline-0 cursor-default",
15108
- "outside-month:hidden selected:bg-primary-default",
15162
+ "outside-month:hidden selected:bg-primary-graphic",
15109
15163
  "invalid:selected:bg-danger-default",
15110
15164
  "selection-start:rounded-s-md selection-end:rounded-e-md"
15111
15165
  ]
@@ -15115,15 +15169,15 @@ var cell = tv23({
15115
15169
  base: "w-full h-full flex items-center justify-center rounded-md text-default",
15116
15170
  variants: {
15117
15171
  selectionState: {
15118
- none: "group-hover:bg-default group-pressed:bg-intense",
15172
+ none: "group-hover:bg-medium group-pressed:bg-intense",
15119
15173
  middle: [
15120
15174
  "text-white",
15121
- "group-hover:bg-primary-default",
15175
+ "group-hover:bg-primary-graphic",
15122
15176
  "group-invalid:group-hover:bg-danger-default",
15123
- "group-pressed:bg-primary-intense",
15177
+ "group-pressed:bg-primary-inverse",
15124
15178
  "group-invalid:group-pressed:bg-danger-intense"
15125
15179
  ],
15126
- cap: "text-white bg-primary-default group-invalid:bg-danger-default"
15180
+ cap: "text-white bg-primary-graphic group-invalid:bg-danger-default"
15127
15181
  },
15128
15182
  isUnavailable: {
15129
15183
  true: "text-inactive"
@@ -15282,8 +15336,8 @@ var bodyMaskClasses = tv24({
15282
15336
  var modalStyles = tv24({
15283
15337
  slots: {
15284
15338
  overlay: "inset-0 overflow-y-auto z-modal fixed",
15285
- backdrop: "-z-10 fixed min-w-full min-h-full bg-body-intense opacity-70",
15286
- dialog: "bg-popover-content max-h-full flex flex-col",
15339
+ backdrop: "-z-10 fixed min-w-full min-h-full bg-inverse opacity-30",
15340
+ dialog: "bg-overlay max-h-full flex flex-col",
15287
15341
  header: "pl-7 pr-[64px] pt-6 pb-4 gap-3 flex items-center",
15288
15342
  headerImage: "h-[120px] min-h-[120px] w-full",
15289
15343
  titleContainer: "flex flex-col grow",
@@ -15331,7 +15385,7 @@ var modalStyles = tv24({
15331
15385
  headerImage: "object-cover"
15332
15386
  },
15333
15387
  false: {
15334
- headerImage: "bg-default"
15388
+ headerImage: "bg-medium"
15335
15389
  }
15336
15390
  }
15337
15391
  },
@@ -15798,7 +15852,7 @@ var Drawer = ({
15798
15852
  }
15799
15853
  const { opacity, right } = useSpring4({
15800
15854
  right: open ? "0px" : `-${WIDTHS[size]}px`,
15801
- opacity: open ? 0.6 : 0,
15855
+ opacity: open ? 0.3 : 0,
15802
15856
  config: {
15803
15857
  mass: 0.5,
15804
15858
  tension: 150,
@@ -15895,7 +15949,7 @@ var DropdownMenu3 = ({
15895
15949
  const id = setTimeout(() => (menuRef.current?.children[0]).focus());
15896
15950
  return () => clearTimeout(id);
15897
15951
  }, [menuRef.current]);
15898
- return /* @__PURE__ */ React96.createElement("div", { style: { minWidth: "250px" }, className: "py-3 bg-popover-content" }, !!title && /* @__PURE__ */ React96.createElement("div", { className: "px-4 py-4 text-left text-intense typography-default-strong" }, title), /* @__PURE__ */ React96.createElement("ol", { role: "menu", ref: menuRef, id: contentId, "aria-labelledby": triggerId }, React96.Children.map(children, (child) => {
15952
+ return /* @__PURE__ */ React96.createElement("div", { style: { minWidth: "250px" }, className: "py-3 bg-overlay" }, !!title && /* @__PURE__ */ React96.createElement("div", { className: "px-4 py-4 text-left text-intense typography-default-strong" }, title), /* @__PURE__ */ React96.createElement("ol", { role: "menu", ref: menuRef, id: contentId, "aria-labelledby": triggerId }, React96.Children.map(children, (child) => {
15899
15953
  return React96.cloneElement(child, { setClose });
15900
15954
  })));
15901
15955
  };
@@ -16162,7 +16216,7 @@ var FilterClearButton = ({ onClear }) => (
16162
16216
  }
16163
16217
  onClear();
16164
16218
  },
16165
- className: "py-[10px] pl-[6px] pr-4 inline-flex items-center hover:bg-default focus:bg-default outline-0 outline-none rounded-r-full"
16219
+ className: "py-[10px] pl-[6px] pr-4 inline-flex items-center hover:bg-medium focus:bg-medium outline-0 outline-none rounded-r-full"
16166
16220
  },
16167
16221
  /* @__PURE__ */ React98.createElement(InlineIcon, { icon: import_cross7.default })
16168
16222
  )
@@ -16233,7 +16287,7 @@ var ListItem = ({ name, icon, active = false }) => {
16233
16287
  variant: active ? "small-strong" : "small",
16234
16288
  color: "default",
16235
16289
  htmlTag: "span",
16236
- className: `px-4 py-2 rounded-full ${active ? "bg-default" : "hover:bg-muted"}`
16290
+ className: `px-4 py-2 rounded-full ${active ? "bg-medium" : "hover:bg-muted"}`
16237
16291
  },
16238
16292
  /* @__PURE__ */ React101.createElement("img", { src: icon, alt: "", className: "inline mr-4", height: 28, width: 28 }),
16239
16293
  name
@@ -16319,7 +16373,7 @@ var InputChip = React103.forwardRef(
16319
16373
  {
16320
16374
  "bg-status-danger": invalid,
16321
16375
  "bg-muted": !invalid && !disabled,
16322
- "bg-default": disabled
16376
+ "bg-medium": disabled
16323
16377
  }
16324
16378
  )
16325
16379
  },
@@ -16817,7 +16871,7 @@ var NativeSelectBase = React106.forwardRef(
16817
16871
  className: clsx37(
16818
16872
  "block w-full rounded-sm appearance-none disabled:cursor-not-allowed typography-small text-default placeholder:text-inactive focus:outline-none",
16819
16873
  {
16820
- "px-3 py-3 bg-transparent disabled:border-default disabled:bg-default disabled:text-inactive": !readOnly,
16874
+ "px-3 py-3 bg-transparent disabled:border-default disabled:bg-medium disabled:text-inactive": !readOnly,
16821
16875
  "px-0 py-3 border-none bg-transparent": readOnly,
16822
16876
  "border border-danger-default": !valid && !readOnly,
16823
16877
  "border border-default hover:border-intense focus:border-info-default": valid && !readOnly
@@ -16896,9 +16950,9 @@ var navigationClasses = tv26({
16896
16950
  sectionList: "flex flex-col",
16897
16951
  divider: "border-t-2 border-muted",
16898
16952
  itemContainer: "",
16899
- itemAnchor: "py-3 px-6 hover:bg-default cursor-pointer flex gap-4 items-center typography-small focusable",
16953
+ itemAnchor: "py-3 px-6 hover:bg-medium cursor-pointer flex gap-4 items-center typography-small focusable",
16900
16954
  submenuContainer: "",
16901
- submenuAnchor: "py-3 pr-6 pl-3 hover:bg-default cursor-pointer typography-small focusable flex items-center w-full",
16955
+ submenuAnchor: "py-3 pr-6 pl-3 hover:bg-medium cursor-pointer typography-small focusable flex items-center w-full",
16902
16956
  submenuList: "flex flex-col",
16903
16957
  submenuItem: "pl-[56px]"
16904
16958
  },
@@ -17319,10 +17373,10 @@ var switchStyles = tv29({
17319
17373
  variants: {
17320
17374
  disabled: {
17321
17375
  true: {
17322
- input: "bg-default checked:opacity-50 checked:bg-primary-muted"
17376
+ input: "bg-medium checked:opacity-50 checked:bg-primary-muted"
17323
17377
  },
17324
17378
  false: {
17325
- input: "bg-intense hover:bg-intense checked:bg-primary-default hover:checked:bg-primary-intense",
17379
+ input: "bg-intense hover:bg-intense checked:bg-primary-graphic hover:checked:bg-primary-inverse",
17326
17380
  thumb: "shadow-4dp"
17327
17381
  }
17328
17382
  }
@@ -17389,14 +17443,14 @@ import { clsx as clsx41 } from "clsx";
17389
17443
  var getVariantClassNames = (variant = "primary") => {
17390
17444
  switch (variant) {
17391
17445
  case "neutral":
17392
- return "bg-default";
17446
+ return "bg-medium";
17393
17447
  case "danger":
17394
17448
  return "bg-danger-intense";
17395
17449
  case "success":
17396
17450
  return "bg-success-intense";
17397
17451
  case "primary":
17398
17452
  default:
17399
- return "bg-primary-default";
17453
+ return "bg-primary-graphic";
17400
17454
  }
17401
17455
  };
17402
17456
  var TagLabel = ({ title, dense = false, variant, ...rest }) => /* @__PURE__ */ React119.createElement(
@@ -17698,7 +17752,7 @@ var stepStyles = tv31({
17698
17752
  slots: ["indicator"],
17699
17753
  dense: true,
17700
17754
  state: "active",
17701
- class: "bg-body-intense"
17755
+ class: "bg-inverse"
17702
17756
  },
17703
17757
  {
17704
17758
  slots: ["indicator"],
@@ -17874,7 +17928,7 @@ var Timeline = ({ className, ...rest }) => /* @__PURE__ */ React127.createElemen
17874
17928
  var Content2 = ({ className, ...rest }) => /* @__PURE__ */ React127.createElement("div", { ...rest, className: clsx45("pb-6", className) });
17875
17929
  var Separator = ({ className, ...rest }) => /* @__PURE__ */ React127.createElement("div", { ...rest, className: clsx45("flex items-center justify-center h-5 w-5", className) });
17876
17930
  var LineContainer = ({ className, ...rest }) => /* @__PURE__ */ React127.createElement("div", { ...rest, className: clsx45("flex justify-center py-1", className) });
17877
- var Line = ({ className, ...rest }) => /* @__PURE__ */ React127.createElement("div", { ...rest, className: clsx45("w-1 bg-default h-full justify-self-center", className) });
17931
+ var Line = ({ className, ...rest }) => /* @__PURE__ */ React127.createElement("div", { ...rest, className: clsx45("w-1 bg-medium h-full justify-self-center", className) });
17878
17932
  var Dot = ({ className, ...rest }) => /* @__PURE__ */ React127.createElement("div", { ...rest, className: clsx45("bg-intense h-[6px] w-[6px] rounded", className) });
17879
17933
  Separator.Dot = Dot;
17880
17934
  LineContainer.Line = Line;
@@ -367,7 +367,8 @@
367
367
  "100": "var(--aquarium-colors-warning-100)",
368
368
  "muted": "var(--aquarium-background-color-warning-muted)",
369
369
  "default": "var(--aquarium-background-color-warning-default)",
370
- "intense": "var(--aquarium-background-color-warning-intense)"
370
+ "intense": "var(--aquarium-background-color-warning-intense)",
371
+ "inverse": "var(--aquarium-background-color-warning-inverse)"
371
372
  },
372
373
  "success": {
373
374
  "0": "var(--aquarium-colors-success-0)",
@@ -384,7 +385,8 @@
384
385
  "100": "var(--aquarium-colors-success-100)",
385
386
  "muted": "var(--aquarium-background-color-success-muted)",
386
387
  "default": "var(--aquarium-background-color-success-default)",
387
- "intense": "var(--aquarium-background-color-success-intense)"
388
+ "intense": "var(--aquarium-background-color-success-intense)",
389
+ "inverse": "var(--aquarium-background-color-success-inverse)"
388
390
  },
389
391
  "info": {
390
392
  "0": "var(--aquarium-colors-info-0)",
@@ -401,7 +403,8 @@
401
403
  "100": "var(--aquarium-colors-info-100)",
402
404
  "muted": "var(--aquarium-background-color-info-muted)",
403
405
  "default": "var(--aquarium-background-color-info-default)",
404
- "intense": "var(--aquarium-background-color-info-intense)"
406
+ "intense": "var(--aquarium-background-color-info-intense)",
407
+ "inverse": "var(--aquarium-background-color-info-inverse)"
405
408
  },
406
409
  "grey": {
407
410
  "0": "var(--aquarium-colors-grey-0)",
@@ -446,20 +449,35 @@
446
449
  "100": "var(--aquarium-colors-primary-100)",
447
450
  "muted": "var(--aquarium-background-color-primary-muted)",
448
451
  "default": "var(--aquarium-background-color-primary-default)",
452
+ "graphic": "var(--aquarium-background-color-primary-graphic)",
449
453
  "intense": "var(--aquarium-background-color-primary-intense)",
454
+ "inverse": "var(--aquarium-background-color-primary-inverse)",
450
455
  "active": "var(--aquarium-background-color-primary-active)",
451
456
  "hover": "var(--aquarium-background-color-primary-hover)"
452
457
  },
453
458
  "body": "var(--aquarium-background-color-body)",
459
+ "layer": "var(--aquarium-background-color-layer)",
454
460
  "body-intense": "var(--aquarium-background-color-body-intense)",
461
+ "inverse": "var(--aquarium-background-color-inverse)",
462
+ "overlay": "var(--aquarium-background-color-overlay)",
455
463
  "popover-content": "var(--aquarium-background-color-popover-content)",
456
464
  "muted": "var(--aquarium-background-color-muted)",
457
465
  "default": "var(--aquarium-background-color-default)",
466
+ "medium": "var(--aquarium-background-color-medium)",
458
467
  "intense": "var(--aquarium-background-color-intense)",
468
+ "action": {
469
+ "primary-button": {
470
+ "default": "var(--aquarium-background-color-action-primary-button-default)",
471
+ "active": "var(--aquarium-background-color-action-primary-button-active)",
472
+ "hover": "var(--aquarium-background-color-action-primary-button-hover)",
473
+ "disabled": "var(--aquarium-background-color-action-primary-button-disabled)"
474
+ }
475
+ },
459
476
  "danger": {
460
477
  "muted": "var(--aquarium-background-color-danger-muted)",
461
478
  "default": "var(--aquarium-background-color-danger-default)",
462
- "intense": "var(--aquarium-background-color-danger-intense)"
479
+ "intense": "var(--aquarium-background-color-danger-intense)",
480
+ "inverse": "var(--aquarium-background-color-danger-inverse)"
463
481
  },
464
482
  "status": {
465
483
  "announcement": "var(--aquarium-background-color-status-announcement)",
@@ -723,6 +741,15 @@
723
741
  "muted": "var(--aquarium-border-color-muted)",
724
742
  "default": "var(--aquarium-border-color-default)",
725
743
  "intense": "var(--aquarium-border-color-intense)",
744
+ "action": {
745
+ "focus": "var(--aquarium-border-color-action-focus)",
746
+ "secondary-button": {
747
+ "default": "var(--aquarium-border-color-action-secondary-button-default)",
748
+ "active": "var(--aquarium-border-color-action-secondary-button-active)",
749
+ "hover": "var(--aquarium-border-color-action-secondary-button-hover)",
750
+ "disabled": "var(--aquarium-border-color-action-secondary-button-disabled)"
751
+ }
752
+ },
726
753
  "danger": {
727
754
  "muted": "var(--aquarium-border-color-danger-muted)",
728
755
  "default": "var(--aquarium-border-color-danger-default)",
package/dist/tokens.json CHANGED
@@ -20,37 +20,55 @@
20
20
  },
21
21
  "backgroundColor": {
22
22
  "body": "white",
23
+ "layer": "white",
23
24
  "body-intense": "rgba(58,58,68,1)",
25
+ "inverse": "rgba(58,58,68,1)",
26
+ "overlay": "white",
24
27
  "popover-content": "white",
25
28
  "muted": "rgba(247,247,250,1)",
26
29
  "default": "rgba(237,237,240,1)",
30
+ "medium": "rgba(237,237,240,1)",
27
31
  "intense": "rgba(210,210,214,1)",
28
32
  "primary": {
29
33
  "muted": "rgba(185,197,239,1)",
30
34
  "default": "rgba(53,69,190,1)",
35
+ "graphic": "rgba(53,69,190,1)",
31
36
  "intense": "rgba(34,47,149,1)",
37
+ "inverse": "rgba(34,47,149,1)",
32
38
  "active": "rgba(243,246,255,1)",
33
39
  "hover": "rgba(243,246,255,1)"
34
40
  },
41
+ "action": {
42
+ "primary-button": {
43
+ "default": "rgba(53,69,190,1)",
44
+ "active": "rgba(243,246,255,1)",
45
+ "hover": "rgba(34,47,149,1)",
46
+ "disabled": "rgba(185,197,239,1)"
47
+ }
48
+ },
35
49
  "info": {
36
50
  "muted": "rgba(224,245,254,1)",
37
51
  "default": "rgba(3,153,227,1)",
38
- "intense": "rgba(1,116,186,1)"
52
+ "intense": "rgba(1,116,186,1)",
53
+ "inverse": "rgba(3,153,227,1)"
39
54
  },
40
55
  "success": {
41
56
  "muted": "rgba(236,247,237,1)",
42
57
  "default": "rgba(0,179,0,1)",
43
- "intense": "rgba(0,142,0,1)"
58
+ "intense": "rgba(0,142,0,1)",
59
+ "inverse": "rgba(0,179,0,1)"
44
60
  },
45
61
  "warning": {
46
62
  "muted": "rgba(255,248,234,1)",
47
63
  "default": "rgba(255,179,0,1)",
48
- "intense": "rgba(255,144,3,1)"
64
+ "intense": "rgba(255,144,3,1)",
65
+ "inverse": "rgba(255,179,0,1)"
49
66
  },
50
67
  "danger": {
51
68
  "muted": "rgba(255,203,210,1)",
52
69
  "default": "rgba(255,173,179,1)",
53
- "intense": "rgba(230,39,40,1)"
70
+ "intense": "rgba(230,39,40,1)",
71
+ "inverse": "rgba(216,0,5,1)"
54
72
  },
55
73
  "status": {
56
74
  "announcement": "rgba(243,246,255,1)",
@@ -72,6 +90,15 @@
72
90
  "default": "rgba(53,69,190,1)",
73
91
  "intense": "rgba(14,22,82,1)"
74
92
  },
93
+ "action": {
94
+ "focus": "rgba(53,69,190,1)",
95
+ "secondary-button": {
96
+ "default": "rgba(53,69,190,1)",
97
+ "active": "rgba(243,246,255,1)",
98
+ "hover": "rgba(243,246,255,1)",
99
+ "disabled": "rgba(129,142,236,1)"
100
+ }
101
+ },
75
102
  "info": {
76
103
  "muted": "rgba(40,180,244,1)",
77
104
  "default": "rgba(3,153,227,1)",