@aivenio/aquarium 1.28.0 → 1.30.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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 05 Jul 2023 09:21:36 GMT
3
+ // Generated on Fri, 14 Jul 2023 08:34:12 GMT
4
4
 
5
5
  $border-radius-none: 0px !default;
6
6
  $border-radius-sm: 0.125rem !default;
@@ -67,6 +67,7 @@ $colors-grey-60: #5a5b6a !default;
67
67
  $colors-grey-50: #787885 !default;
68
68
  $colors-grey-40: #9696a0 !default;
69
69
  $colors-grey-30: #b4b4bb !default;
70
+ $colors-grey-20: #d2d2d6 !default;
70
71
  $colors-grey-10: #e1e1e3 !default;
71
72
  $colors-grey-5: #ededf0 !default;
72
73
  $colors-grey-0: #f7f7fa !default;
@@ -82,20 +83,18 @@ $colors-secondary-20: #f8c99c !default;
82
83
  $colors-secondary-10: #fee8d0 !default;
83
84
  $colors-secondary-5: #fff3e8 !default;
84
85
  $colors-secondary-0: #fffbf8 !default;
85
- $colors-primary-100: #a70045 !default;
86
- $colors-primary-90: #c60443 !default;
87
- $colors-primary-80: #e41a4a !default;
88
- $colors-primary-70: #ff3554 !default;
89
- $colors-primary-60: #ff5275 !default;
90
- $colors-primary-50: #ff6f94 !default;
91
- $colors-primary-40: #ff8db0 !default;
92
- $colors-primary-30: #ffa9c9 !default;
93
- $colors-primary-20: #ffc4de !default;
94
- $colors-primary-10: #ffdeef !default;
95
- $colors-primary-5: #ffe8f4 !default;
96
- $colors-primary-0: #fff9fc !default;
97
- $colors-grey-20: #d2d2d6 !default;
98
- $colors-navy-blue-100: #30375e !default;
86
+ $colors-primary-100: #0e1652 !default;
87
+ $colors-primary-90: #222f95 !default;
88
+ $colors-primary-80: #3545be !default;
89
+ $colors-primary-70: #5865cd !default;
90
+ $colors-primary-60: #818eec !default;
91
+ $colors-primary-50: #9daaee !default;
92
+ $colors-primary-40: #b9c5ef !default;
93
+ $colors-primary-30: #c7d1f4 !default;
94
+ $colors-primary-20: #d5ddfa !default;
95
+ $colors-primary-10: #e3e9ff !default;
96
+ $colors-primary-5: #f3f6ff !default;
97
+ $colors-primary-0: #ffffff !default;
99
98
  $colors-transparent: transparent !default;
100
99
  $colors-white: white !default;
101
100
  $colors-black: black !default;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 05 Jul 2023 09:21:36 GMT
3
+ // Generated on Fri, 14 Jul 2023 08:34:13 GMT
4
4
 
5
5
  $border-radius-none: 0px;
6
6
  $border-radius-sm: 0.125rem;
@@ -95,7 +95,6 @@ $colors-primary-20: #b4e5fb;
95
95
  $colors-primary-10: #e0f5fe;
96
96
  $colors-primary-5: #effaff;
97
97
  $colors-primary-0: #f9fdff;
98
- $colors-navy-blue-100: #30375e;
99
98
  $colors-transparent: transparent;
100
99
  $colors-white: white;
101
100
  $colors-black: black;
package/dist/atoms.cjs CHANGED
@@ -3191,6 +3191,22 @@ var require_reset = __commonJS({
3191
3191
  }
3192
3192
  });
3193
3193
 
3194
+ // src/icons/roadmap.js
3195
+ var require_roadmap = __commonJS({
3196
+ "src/icons/roadmap.js"(exports) {
3197
+ "use strict";
3198
+ var data = {
3199
+ "body": '<path fill="none" stroke="currentColor" stroke-width="1.5" d="M9.272 5.69h.75v-2.6h.233v15.83h-.233v-3.466H7.106a.55.55 0 110-1.1h2.916v-3.232h-4.65a.55.55 0 110-1.1h4.65V6.789H3.64a.55.55 0 110-1.1h5.632Zm4.216.25a.25.25 0 01.25-.25h.6a.25.25 0 01.25.25v.599a.25.25 0 01-.25.25h-.6a.25.25 0 01-.25-.25v-.6Zm0 4.632a.55.55 0 01.55-.55h1.733a.55.55 0 110 1.1h-1.733a.55.55 0 01-.55-.55Zm0 4.332a.55.55 0 01.55-.55h4.332a.55.55 0 110 1.1h-4.332a.55.55 0 01-.55-.55Z"/>',
3200
+ "left": 0,
3201
+ "top": 0,
3202
+ "width": 22,
3203
+ "height": 22
3204
+ };
3205
+ exports.__esModule = true;
3206
+ exports.default = data;
3207
+ }
3208
+ });
3209
+
3194
3210
  // src/icons/saved.js
3195
3211
  var require_saved = __commonJS({
3196
3212
  "src/icons/saved.js"(exports) {
@@ -3873,8 +3889,7 @@ var require_tokens = __commonJS({
3873
3889
  "primary-20": "#b4e5fb",
3874
3890
  "primary-10": "#e0f5fe",
3875
3891
  "primary-5": "#effaff",
3876
- "primary-0": "#f9fdff",
3877
- "navyBlue-100": "#30375e"
3892
+ "primary-0": "#f9fdff"
3878
3893
  },
3879
3894
  typography: {
3880
3895
  sizes: [
@@ -4407,6 +4422,7 @@ var require_tokens = __commonJS({
4407
4422
  "grey-50": "#787885",
4408
4423
  "grey-40": "#9696a0",
4409
4424
  "grey-30": "#b4b4bb",
4425
+ "grey-20": "#d2d2d6",
4410
4426
  "grey-10": "#e1e1e3",
4411
4427
  "grey-5": "#ededf0",
4412
4428
  "grey-0": "#f7f7fa",
@@ -4422,20 +4438,18 @@ var require_tokens = __commonJS({
4422
4438
  "secondary-10": "#fee8d0",
4423
4439
  "secondary-5": "#fff3e8",
4424
4440
  "secondary-0": "#fffbf8",
4425
- "primary-100": "#a70045",
4426
- "primary-90": "#c60443",
4427
- "primary-80": "#e41a4a",
4428
- "primary-70": "#ff3554",
4429
- "primary-60": "#ff5275",
4430
- "primary-50": "#ff6f94",
4431
- "primary-40": "#ff8db0",
4432
- "primary-30": "#ffa9c9",
4433
- "primary-20": "#ffc4de",
4434
- "primary-10": "#ffdeef",
4435
- "primary-5": "#ffe8f4",
4436
- "primary-0": "#fff9fc",
4437
- "grey-20": "#d2d2d6",
4438
- "navyBlue-100": "#30375e"
4441
+ "primary-100": "#0e1652",
4442
+ "primary-90": "#222f95",
4443
+ "primary-80": "#3545be",
4444
+ "primary-70": "#5865cd",
4445
+ "primary-60": "#818eec",
4446
+ "primary-50": "#9daaee",
4447
+ "primary-40": "#b9c5ef",
4448
+ "primary-30": "#c7d1f4",
4449
+ "primary-20": "#d5ddfa",
4450
+ "primary-10": "#e3e9ff",
4451
+ "primary-5": "#f3f6ff",
4452
+ "primary-0": "#ffffff"
4439
4453
  },
4440
4454
  typography: {
4441
4455
  sizes: [
@@ -4443,40 +4457,40 @@ var require_tokens = __commonJS({
4443
4457
  name: "large-heading",
4444
4458
  className: "typography-large-heading",
4445
4459
  style: {
4446
- fontFamily: "Inter",
4460
+ fontFamily: "Poppins",
4447
4461
  fontSize: "32px",
4448
4462
  fontWeight: 700,
4449
4463
  fontStyle: "normal",
4450
4464
  lineHeight: 1.375,
4451
4465
  textTransform: "none"
4452
4466
  },
4453
- fontPostScriptName: "Inter-Bold"
4467
+ fontPostScriptName: "Poppins-Bold"
4454
4468
  },
4455
4469
  {
4456
4470
  name: "heading",
4457
4471
  className: "typography-heading",
4458
4472
  style: {
4459
- fontFamily: "Inter",
4473
+ fontFamily: "Poppins",
4460
4474
  fontSize: "24px",
4461
4475
  fontWeight: 700,
4462
4476
  fontStyle: "normal",
4463
4477
  lineHeight: 1.375,
4464
4478
  textTransform: "none"
4465
4479
  },
4466
- fontPostScriptName: "Inter-Bold"
4480
+ fontPostScriptName: "Poppins-Bold"
4467
4481
  },
4468
4482
  {
4469
4483
  name: "subheading",
4470
4484
  className: "typography-subheading",
4471
4485
  style: {
4472
- fontFamily: "Inter",
4486
+ fontFamily: "Poppins",
4473
4487
  fontSize: "20px",
4474
4488
  fontWeight: 600,
4475
4489
  fontStyle: "normal",
4476
4490
  lineHeight: 1.375,
4477
4491
  textTransform: "none"
4478
4492
  },
4479
- fontPostScriptName: "Inter-Bold"
4493
+ fontPostScriptName: "Poppins-Bold"
4480
4494
  },
4481
4495
  {
4482
4496
  name: "large-strong",
@@ -5316,6 +5330,7 @@ var tailwind_theme_default = {
5316
5330
  "grey-50": "var(--aquarium-colors-grey-50, #787885)",
5317
5331
  "grey-40": "var(--aquarium-colors-grey-40, #9696a0)",
5318
5332
  "grey-30": "var(--aquarium-colors-grey-30, #b4b4bb)",
5333
+ "grey-20": "var(--aquarium-colors-grey-20, #d2d2d6)",
5319
5334
  "grey-10": "var(--aquarium-colors-grey-10, #e1e1e3)",
5320
5335
  "grey-5": "var(--aquarium-colors-grey-5, #ededf0)",
5321
5336
  "grey-0": "var(--aquarium-colors-grey-0, #f7f7fa)",
@@ -5331,20 +5346,18 @@ var tailwind_theme_default = {
5331
5346
  "secondary-10": "var(--aquarium-colors-secondary-10, #fee8d0)",
5332
5347
  "secondary-5": "var(--aquarium-colors-secondary-5, #fff3e8)",
5333
5348
  "secondary-0": "var(--aquarium-colors-secondary-0, #fffbf8)",
5334
- "primary-100": "var(--aquarium-colors-primary-100, #a70045)",
5335
- "primary-90": "var(--aquarium-colors-primary-90, #c60443)",
5336
- "primary-80": "var(--aquarium-colors-primary-80, #e41a4a)",
5337
- "primary-70": "var(--aquarium-colors-primary-70, #ff3554)",
5338
- "primary-60": "var(--aquarium-colors-primary-60, #ff5275)",
5339
- "primary-50": "var(--aquarium-colors-primary-50, #ff6f94)",
5340
- "primary-40": "var(--aquarium-colors-primary-40, #ff8db0)",
5341
- "primary-30": "var(--aquarium-colors-primary-30, #ffa9c9)",
5342
- "primary-20": "var(--aquarium-colors-primary-20, #ffc4de)",
5343
- "primary-10": "var(--aquarium-colors-primary-10, #ffdeef)",
5344
- "primary-5": "var(--aquarium-colors-primary-5, #ffe8f4)",
5345
- "primary-0": "var(--aquarium-colors-primary-0, #fff9fc)",
5346
- "grey-20": "var(--aquarium-colors-grey-20, #d2d2d6)",
5347
- "navyBlue-100": "var(--aquarium-colors-navyBlue-100, #30375e)",
5349
+ "primary-100": "var(--aquarium-colors-primary-100, #0e1652)",
5350
+ "primary-90": "var(--aquarium-colors-primary-90, #222f95)",
5351
+ "primary-80": "var(--aquarium-colors-primary-80, #3545be)",
5352
+ "primary-70": "var(--aquarium-colors-primary-70, #5865cd)",
5353
+ "primary-60": "var(--aquarium-colors-primary-60, #818eec)",
5354
+ "primary-50": "var(--aquarium-colors-primary-50, #9daaee)",
5355
+ "primary-40": "var(--aquarium-colors-primary-40, #b9c5ef)",
5356
+ "primary-30": "var(--aquarium-colors-primary-30, #c7d1f4)",
5357
+ "primary-20": "var(--aquarium-colors-primary-20, #d5ddfa)",
5358
+ "primary-10": "var(--aquarium-colors-primary-10, #e3e9ff)",
5359
+ "primary-5": "var(--aquarium-colors-primary-5, #f3f6ff)",
5360
+ "primary-0": "var(--aquarium-colors-primary-0, #ffffff)",
5348
5361
  transparent: "var(--aquarium-colors-transparent, transparent)",
5349
5362
  white: "var(--aquarium-colors-white, white)",
5350
5363
  black: "var(--aquarium-colors-black, black)",
@@ -5999,6 +6012,7 @@ var import_remove = __toESM(require_remove());
5999
6012
  var import_repeat = __toESM(require_repeat());
6000
6013
  var import_replicationFlow = __toESM(require_replicationFlow());
6001
6014
  var import_reset = __toESM(require_reset());
6015
+ var import_roadmap = __toESM(require_roadmap());
6002
6016
  var import_saved = __toESM(require_saved());
6003
6017
  var import_scatterPlot = __toESM(require_scatterPlot());
6004
6018
  var import_search = __toESM(require_search());
@@ -6509,9 +6523,12 @@ var Arrow = (props) => {
6509
6523
 
6510
6524
  // src/utils/constants.ts
6511
6525
  var ghostButtonStyle = tw(
6512
- "text-primary-80 active:text-primary-70 focus-visible:text-grey-90 hover:text-primary-70 disabled:text-primary-40"
6526
+ "text-primary-80 active:text-primary-90 focus-visible:text-primary-90 hover:text-primary-90 disabled:text-primary-40"
6527
+ );
6528
+ var linkStyle = classNames(
6529
+ ghostButtonStyle,
6530
+ tw("visited:text-primary-80 underline hover:no-underline focusable")
6513
6531
  );
6514
- var linkStyle = classNames(ghostButtonStyle, tw("visited:text-primary-80 focusable"));
6515
6532
 
6516
6533
  // src/utils/string.ts
6517
6534
  var capitalize = (a) => a.charAt(0).toUpperCase() + a.slice(1);
@@ -6521,28 +6538,27 @@ var import_chevronDown2 = __toESM(require_chevronDown());
6521
6538
  var import_loading2 = __toESM(require_loading());
6522
6539
  var COLOR_CLASSNAMES = {
6523
6540
  "primary": tw(
6524
- "text-white bg-primary-80 active:bg-primary-90 active:ring-0 focus-visible:ring-2 focus-visible:ring-primary-100 focus-visible:ring-inset hover:bg-primary-70 disabled:bg-primary-5"
6541
+ "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"
6525
6542
  ),
6526
6543
  "secondary": tw(
6527
- "text-grey-60 bg-white ring-1 ring-grey-30 ring-inset active:bg-grey-5 active:ring-grey-50 active:text-grey-80",
6528
- "focus-visible:ring-2 focus-visible:ring-grey-50 focus-visible:text-grey-80",
6529
- "hover:ring-grey-50 hover:text-grey-80 disabled:text-grey-30 disabled:bg-grey-0 disabled:ring-grey-20"
6544
+ "text-primary-80 bg-white ring-1 ring-primary-80 ring-inset",
6545
+ "active:bg-primary-5 active:ring-primary-90 active:text-primary-90",
6546
+ "focus-visible:ring-2 focus-visible:ring-primary-90 focus-visible:text-primary-80",
6547
+ "hover:bg-primary-5 hover:ring-primary-90 hover:text-primary-90",
6548
+ "disabled:bg-white disabled:text-primary-40 disabled:ring-primary-40"
6530
6549
  ),
6531
6550
  "ghost": ghostButtonStyle,
6532
- "text": ghostButtonStyle,
6551
+ "text": linkStyle,
6533
6552
  "secondary-ghost": tw(
6534
6553
  "text-grey-60 active:text-grey-50 focus-visible:text-grey-80 hover:text-grey-80 disabled:text-grey-30"
6535
6554
  )
6536
6555
  };
6537
- var LoadingSpinner = ({
6538
- size = "20px",
6539
- kind = "primary"
6540
- }) => {
6556
+ var LoadingSpinner = ({ size = "20px" }) => {
6541
6557
  return /* @__PURE__ */ import_react18.default.createElement(InlineIcon, {
6542
6558
  icon: import_loading2.default,
6543
6559
  width: size,
6544
6560
  height: size,
6545
- color: kind === "primary" ? "primary-60" : "grey-60",
6561
+ color: "primary-80",
6546
6562
  "data-testid": "loading-button"
6547
6563
  });
6548
6564
  };
@@ -6656,8 +6672,7 @@ var asButton = (Component, isDropdownButton) => {
6656
6672
  className: tw("absolute left-1/2 top-0 bottom-0 flex"),
6657
6673
  style: { transform: "translate(-50%)" }
6658
6674
  }, /* @__PURE__ */ import_react18.default.createElement(LoadingSpinner, {
6659
- size: iconSize,
6660
- kind: kind === "primary" ? "primary" : "secondary"
6675
+ size: iconSize
6661
6676
  })), /* @__PURE__ */ import_react18.default.createElement("div", {
6662
6677
  className: tw({ invisible: loading2 })
6663
6678
  }, buttonContent())) : buttonContent());
@@ -6786,19 +6801,19 @@ var import_warningSign2 = __toESM(require_warningSign());
6786
6801
  var alertTypes = {
6787
6802
  information: {
6788
6803
  icon: import_infoSign2.default,
6789
- color: "info-40"
6804
+ color: "info-70"
6790
6805
  },
6791
6806
  warning: {
6792
6807
  icon: import_warningSign2.default,
6793
- color: "warning-40"
6808
+ color: "warning-90"
6794
6809
  },
6795
6810
  error: {
6796
6811
  icon: import_error2.default,
6797
- color: "error-40"
6812
+ color: "error-70"
6798
6813
  },
6799
6814
  success: {
6800
6815
  icon: import_tickCircle2.default,
6801
- color: "success-40"
6816
+ color: "success-70"
6802
6817
  }
6803
6818
  };
6804
6819
  var Alert = (_a) => {
@@ -6818,7 +6833,7 @@ var Alert = (_a) => {
6818
6833
  className: classNames(
6819
6834
  tw("rounded grid grid-cols-[auto_1fr_auto] items-center gap-x-3 gap-y-2", {
6820
6835
  "bg-error-5": type === "error",
6821
- "bg-info-5": type === "information",
6836
+ "bg-info-10": type === "information",
6822
6837
  "bg-success-5": type === "success",
6823
6838
  "bg-warning-5": type === "warning",
6824
6839
  "p-4": Boolean(dense),
@@ -6948,7 +6963,7 @@ var Checkbox = import_react22.default.forwardRef(
6948
6963
  var _b = _a, { id, children, name, disabled = false, readOnly = false, indeterminate = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly", "indeterminate"]);
6949
6964
  return /* @__PURE__ */ import_react22.default.createElement("span", {
6950
6965
  className: classNames(tw("inline-flex justify-center items-center self-center relative"), {
6951
- "hover:border-grey-50 peer-checked:border-navyBlue-100": !disabled,
6966
+ "hover:border-grey-50 peer-checked:border-primary-80": !disabled,
6952
6967
  "border-grey-5": disabled
6953
6968
  })
6954
6969
  }, /* @__PURE__ */ import_react22.default.createElement("input", __spreadProps(__spreadValues({
@@ -6959,24 +6974,25 @@ var Checkbox = import_react22.default.forwardRef(
6959
6974
  }, props), {
6960
6975
  className: classNames(
6961
6976
  tw("peer appearance-none outline-none w-5 h-5", "rounded-sm border border-transparent", {
6962
- "cursor-pointer checked:bg-navyBlue-100": !disabled,
6963
- "cursor-not-allowed bg-grey-0": disabled
6977
+ "cursor-pointer checked:bg-primary-80": !disabled,
6978
+ "cursor-not-allowed bg-grey-0 checked:bg-primary-40": disabled
6964
6979
  })
6965
6980
  ),
6966
6981
  readOnly,
6967
6982
  disabled
6968
6983
  })), /* @__PURE__ */ import_react22.default.createElement(Icon, {
6969
6984
  icon: indeterminate ? import_minus2.default : import_tick2.default,
6985
+ strokeWidth: "2px",
6970
6986
  className: classNames(
6971
6987
  tw(
6972
6988
  "absolute top-0 right-0",
6973
6989
  "pointer-events-none p-[2px] w-5 h-5",
6974
- "text-transparent [&>path]:stroke-transparent",
6990
+ "text-transparent [&>path]:stroke-transparent [&>path]:stroke-2",
6975
6991
  "rounded-sm border border-grey-20 peer-focus:border-info-70"
6976
6992
  ),
6977
6993
  {
6978
- "peer-hover:border-grey-50 peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-navyBlue-100": !disabled,
6979
- "border-grey-5 peer-checked:text-grey-30 peer-checked:[&>path]:stroke-grey-30": disabled
6994
+ "peer-hover:border-grey-50 peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-primary-80": !disabled,
6995
+ "border-grey-5 peer-checked:text-primary-10 peer-checked:[&>path]:stroke-primary-10 peer-checked:border-primary-40": disabled
6980
6996
  }
6981
6997
  )
6982
6998
  }));
@@ -7425,7 +7441,7 @@ var Modal = (_a) => {
7425
7441
  Modal.BackDrop = (_a) => {
7426
7442
  var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
7427
7443
  return /* @__PURE__ */ import_react31.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
7428
- className: classNames(tw("-z-10 fixed min-w-full min-h-full bg-navyBlue-100 opacity-70"), className)
7444
+ className: classNames(tw("-z-10 fixed min-w-full min-h-full bg-primary-100 opacity-60"), className)
7429
7445
  }));
7430
7446
  };
7431
7447
  Modal.Dialog = import_react31.default.forwardRef(
@@ -7661,10 +7677,10 @@ var RadioButton = import_react35.default.forwardRef(
7661
7677
  tw(
7662
7678
  "inline-flex justify-center items-center self-center appearance-none",
7663
7679
  "w-5 h-5 p-[3px] rounded-full cursor-pointer border border-grey-20",
7664
- "outline-none focus:border-info-70 checked:bg-navyBlue-100 checked:shadow-whiteInset",
7680
+ "outline-none focus:border-info-70 checked:bg-primary-80 checked:shadow-whiteInset",
7665
7681
  {
7666
- "hover:border-grey-50 checked:border-navyBlue-100": !disabled,
7667
- "cursor-not-allowed border-grey-5 bg-grey-0 checked:bg-opacity-40": disabled
7682
+ "hover:border-grey-50 checked:border-primary-80": !disabled,
7683
+ "cursor-not-allowed border-grey-5 bg-grey-0 checked:bg-opacity-40 checked:bg-primary-40 checked:border-primary-40": disabled
7668
7684
  }
7669
7685
  )
7670
7686
  ),
@@ -7946,8 +7962,8 @@ var Switch = import_react38.default.forwardRef(
7946
7962
  "outline-none focus:border border-info-70 bg-grey-20",
7947
7963
  "cursor-pointer disabled:cursor-not-allowed",
7948
7964
  {
7949
- "hover:bg-grey-30 checked:bg-navyBlue-100 hover:checked:bg-navyBlue-100": !disabled,
7950
- "bg-grey-5 checked:opacity-40": disabled
7965
+ "hover:bg-grey-30 checked:bg-primary-80 hover:checked:bg-primary-80": !disabled,
7966
+ "bg-grey-5 checked:opacity-40 checked:bg-primary-40": disabled
7951
7967
  }
7952
7968
  )
7953
7969
  ),