@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.
- package/dist/_variables.scss +14 -15
- package/dist/_variables_timescale.scss +1 -2
- package/dist/atoms.cjs +83 -67
- package/dist/atoms.mjs +83 -67
- package/dist/src/atoms/Alert/Alert.js +6 -6
- package/dist/src/atoms/Banner/Banner.d.ts +1 -4
- package/dist/src/atoms/Banner/Banner.js +3 -3
- package/dist/src/atoms/Checkbox/Checkbox.js +7 -7
- package/dist/src/atoms/Modal/Modal.js +2 -2
- package/dist/src/atoms/RadioButton/RadioButton.js +4 -4
- package/dist/src/atoms/Switch/Switch.js +3 -3
- package/dist/src/icons/index.d.ts +1 -0
- package/dist/src/icons/index.js +2 -1
- package/dist/src/icons/roadmap.d.ts +9 -0
- package/dist/src/icons/roadmap.js +11 -0
- package/dist/src/molecules/Banner/Banner.js +2 -2
- package/dist/src/molecules/Box/Box.d.ts +2 -2
- package/dist/src/molecules/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/src/molecules/Button/Button.js +8 -8
- package/dist/src/molecules/SegmentedControl/SegmentedControl.d.ts +9 -2
- package/dist/src/molecules/SegmentedControl/SegmentedControl.js +5 -4
- package/dist/src/molecules/Tabs/Tabs.js +3 -4
- package/dist/src/utils/constants.js +3 -3
- package/dist/styles.css +187 -144
- package/dist/styles_timescaledb.css +159 -116
- package/dist/system.cjs +99 -80
- package/dist/system.mjs +99 -80
- package/dist/tailwind.theme.json +13 -14
- package/dist/tokens.json +20 -22
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/tailwindGenerated.d.ts +1 -1
- package/package.json +3 -3
package/dist/system.mjs
CHANGED
@@ -164,8 +164,7 @@ var require_tokens = __commonJS({
|
|
164
164
|
"primary-20": "#b4e5fb",
|
165
165
|
"primary-10": "#e0f5fe",
|
166
166
|
"primary-5": "#effaff",
|
167
|
-
"primary-0": "#f9fdff"
|
168
|
-
"navyBlue-100": "#30375e"
|
167
|
+
"primary-0": "#f9fdff"
|
169
168
|
},
|
170
169
|
typography: {
|
171
170
|
sizes: [
|
@@ -698,6 +697,7 @@ var require_tokens = __commonJS({
|
|
698
697
|
"grey-50": "#787885",
|
699
698
|
"grey-40": "#9696a0",
|
700
699
|
"grey-30": "#b4b4bb",
|
700
|
+
"grey-20": "#d2d2d6",
|
701
701
|
"grey-10": "#e1e1e3",
|
702
702
|
"grey-5": "#ededf0",
|
703
703
|
"grey-0": "#f7f7fa",
|
@@ -713,20 +713,18 @@ var require_tokens = __commonJS({
|
|
713
713
|
"secondary-10": "#fee8d0",
|
714
714
|
"secondary-5": "#fff3e8",
|
715
715
|
"secondary-0": "#fffbf8",
|
716
|
-
"primary-100": "#
|
717
|
-
"primary-90": "#
|
718
|
-
"primary-80": "#
|
719
|
-
"primary-70": "#
|
720
|
-
"primary-60": "#
|
721
|
-
"primary-50": "#
|
722
|
-
"primary-40": "#
|
723
|
-
"primary-30": "#
|
724
|
-
"primary-20": "#
|
725
|
-
"primary-10": "#
|
726
|
-
"primary-5": "#
|
727
|
-
"primary-0": "#
|
728
|
-
"grey-20": "#d2d2d6",
|
729
|
-
"navyBlue-100": "#30375e"
|
716
|
+
"primary-100": "#0e1652",
|
717
|
+
"primary-90": "#222f95",
|
718
|
+
"primary-80": "#3545be",
|
719
|
+
"primary-70": "#5865cd",
|
720
|
+
"primary-60": "#818eec",
|
721
|
+
"primary-50": "#9daaee",
|
722
|
+
"primary-40": "#b9c5ef",
|
723
|
+
"primary-30": "#c7d1f4",
|
724
|
+
"primary-20": "#d5ddfa",
|
725
|
+
"primary-10": "#e3e9ff",
|
726
|
+
"primary-5": "#f3f6ff",
|
727
|
+
"primary-0": "#ffffff"
|
730
728
|
},
|
731
729
|
typography: {
|
732
730
|
sizes: [
|
@@ -734,40 +732,40 @@ var require_tokens = __commonJS({
|
|
734
732
|
name: "large-heading",
|
735
733
|
className: "typography-large-heading",
|
736
734
|
style: {
|
737
|
-
fontFamily: "
|
735
|
+
fontFamily: "Poppins",
|
738
736
|
fontSize: "32px",
|
739
737
|
fontWeight: 700,
|
740
738
|
fontStyle: "normal",
|
741
739
|
lineHeight: 1.375,
|
742
740
|
textTransform: "none"
|
743
741
|
},
|
744
|
-
fontPostScriptName: "
|
742
|
+
fontPostScriptName: "Poppins-Bold"
|
745
743
|
},
|
746
744
|
{
|
747
745
|
name: "heading",
|
748
746
|
className: "typography-heading",
|
749
747
|
style: {
|
750
|
-
fontFamily: "
|
748
|
+
fontFamily: "Poppins",
|
751
749
|
fontSize: "24px",
|
752
750
|
fontWeight: 700,
|
753
751
|
fontStyle: "normal",
|
754
752
|
lineHeight: 1.375,
|
755
753
|
textTransform: "none"
|
756
754
|
},
|
757
|
-
fontPostScriptName: "
|
755
|
+
fontPostScriptName: "Poppins-Bold"
|
758
756
|
},
|
759
757
|
{
|
760
758
|
name: "subheading",
|
761
759
|
className: "typography-subheading",
|
762
760
|
style: {
|
763
|
-
fontFamily: "
|
761
|
+
fontFamily: "Poppins",
|
764
762
|
fontSize: "20px",
|
765
763
|
fontWeight: 600,
|
766
764
|
fontStyle: "normal",
|
767
765
|
lineHeight: 1.375,
|
768
766
|
textTransform: "none"
|
769
767
|
},
|
770
|
-
fontPostScriptName: "
|
768
|
+
fontPostScriptName: "Poppins-Bold"
|
771
769
|
},
|
772
770
|
{
|
773
771
|
name: "large-strong",
|
@@ -4390,6 +4388,22 @@ var require_reset = __commonJS({
|
|
4390
4388
|
}
|
4391
4389
|
});
|
4392
4390
|
|
4391
|
+
// src/icons/roadmap.js
|
4392
|
+
var require_roadmap = __commonJS({
|
4393
|
+
"src/icons/roadmap.js"(exports) {
|
4394
|
+
"use strict";
|
4395
|
+
var data = {
|
4396
|
+
"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"/>',
|
4397
|
+
"left": 0,
|
4398
|
+
"top": 0,
|
4399
|
+
"width": 22,
|
4400
|
+
"height": 22
|
4401
|
+
};
|
4402
|
+
exports.__esModule = true;
|
4403
|
+
exports.default = data;
|
4404
|
+
}
|
4405
|
+
});
|
4406
|
+
|
4393
4407
|
// src/icons/saved.js
|
4394
4408
|
var require_saved = __commonJS({
|
4395
4409
|
"src/icons/saved.js"(exports) {
|
@@ -5644,6 +5658,7 @@ var tailwind_theme_default = {
|
|
5644
5658
|
"grey-50": "var(--aquarium-colors-grey-50, #787885)",
|
5645
5659
|
"grey-40": "var(--aquarium-colors-grey-40, #9696a0)",
|
5646
5660
|
"grey-30": "var(--aquarium-colors-grey-30, #b4b4bb)",
|
5661
|
+
"grey-20": "var(--aquarium-colors-grey-20, #d2d2d6)",
|
5647
5662
|
"grey-10": "var(--aquarium-colors-grey-10, #e1e1e3)",
|
5648
5663
|
"grey-5": "var(--aquarium-colors-grey-5, #ededf0)",
|
5649
5664
|
"grey-0": "var(--aquarium-colors-grey-0, #f7f7fa)",
|
@@ -5659,20 +5674,18 @@ var tailwind_theme_default = {
|
|
5659
5674
|
"secondary-10": "var(--aquarium-colors-secondary-10, #fee8d0)",
|
5660
5675
|
"secondary-5": "var(--aquarium-colors-secondary-5, #fff3e8)",
|
5661
5676
|
"secondary-0": "var(--aquarium-colors-secondary-0, #fffbf8)",
|
5662
|
-
"primary-100": "var(--aquarium-colors-primary-100, #
|
5663
|
-
"primary-90": "var(--aquarium-colors-primary-90, #
|
5664
|
-
"primary-80": "var(--aquarium-colors-primary-80, #
|
5665
|
-
"primary-70": "var(--aquarium-colors-primary-70, #
|
5666
|
-
"primary-60": "var(--aquarium-colors-primary-60, #
|
5667
|
-
"primary-50": "var(--aquarium-colors-primary-50, #
|
5668
|
-
"primary-40": "var(--aquarium-colors-primary-40, #
|
5669
|
-
"primary-30": "var(--aquarium-colors-primary-30, #
|
5670
|
-
"primary-20": "var(--aquarium-colors-primary-20, #
|
5671
|
-
"primary-10": "var(--aquarium-colors-primary-10, #
|
5672
|
-
"primary-5": "var(--aquarium-colors-primary-5, #
|
5673
|
-
"primary-0": "var(--aquarium-colors-primary-0, #
|
5674
|
-
"grey-20": "var(--aquarium-colors-grey-20, #d2d2d6)",
|
5675
|
-
"navyBlue-100": "var(--aquarium-colors-navyBlue-100, #30375e)",
|
5677
|
+
"primary-100": "var(--aquarium-colors-primary-100, #0e1652)",
|
5678
|
+
"primary-90": "var(--aquarium-colors-primary-90, #222f95)",
|
5679
|
+
"primary-80": "var(--aquarium-colors-primary-80, #3545be)",
|
5680
|
+
"primary-70": "var(--aquarium-colors-primary-70, #5865cd)",
|
5681
|
+
"primary-60": "var(--aquarium-colors-primary-60, #818eec)",
|
5682
|
+
"primary-50": "var(--aquarium-colors-primary-50, #9daaee)",
|
5683
|
+
"primary-40": "var(--aquarium-colors-primary-40, #b9c5ef)",
|
5684
|
+
"primary-30": "var(--aquarium-colors-primary-30, #c7d1f4)",
|
5685
|
+
"primary-20": "var(--aquarium-colors-primary-20, #d5ddfa)",
|
5686
|
+
"primary-10": "var(--aquarium-colors-primary-10, #e3e9ff)",
|
5687
|
+
"primary-5": "var(--aquarium-colors-primary-5, #f3f6ff)",
|
5688
|
+
"primary-0": "var(--aquarium-colors-primary-0, #ffffff)",
|
5676
5689
|
transparent: "var(--aquarium-colors-transparent, transparent)",
|
5677
5690
|
white: "var(--aquarium-colors-white, white)",
|
5678
5691
|
black: "var(--aquarium-colors-black, black)",
|
@@ -6363,6 +6376,7 @@ var import_remove = __toESM(require_remove());
|
|
6363
6376
|
var import_repeat = __toESM(require_repeat());
|
6364
6377
|
var import_replicationFlow = __toESM(require_replicationFlow());
|
6365
6378
|
var import_reset = __toESM(require_reset());
|
6379
|
+
var import_roadmap = __toESM(require_roadmap());
|
6366
6380
|
var import_saved = __toESM(require_saved());
|
6367
6381
|
var import_scatterPlot = __toESM(require_scatterPlot());
|
6368
6382
|
var import_search2 = __toESM(require_search());
|
@@ -6992,9 +7006,12 @@ var getCommonInputStyles = ({ readOnly, valid }) => tw(
|
|
6992
7006
|
}
|
6993
7007
|
);
|
6994
7008
|
var ghostButtonStyle = tw(
|
6995
|
-
"text-primary-80 active:text-primary-
|
7009
|
+
"text-primary-80 active:text-primary-90 focus-visible:text-primary-90 hover:text-primary-90 disabled:text-primary-40"
|
7010
|
+
);
|
7011
|
+
var linkStyle = classNames(
|
7012
|
+
ghostButtonStyle,
|
7013
|
+
tw("visited:text-primary-80 underline hover:no-underline focusable")
|
6996
7014
|
);
|
6997
|
-
var linkStyle = classNames(ghostButtonStyle, tw("visited:text-primary-80 focusable"));
|
6998
7015
|
|
6999
7016
|
// src/utils/string.ts
|
7000
7017
|
var capitalize = (a) => a.charAt(0).toUpperCase() + a.slice(1);
|
@@ -7004,28 +7021,27 @@ var import_chevronDown3 = __toESM(require_chevronDown());
|
|
7004
7021
|
var import_loading2 = __toESM(require_loading());
|
7005
7022
|
var COLOR_CLASSNAMES = {
|
7006
7023
|
"primary": tw(
|
7007
|
-
"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-
|
7024
|
+
"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"
|
7008
7025
|
),
|
7009
7026
|
"secondary": tw(
|
7010
|
-
"text-
|
7011
|
-
"
|
7012
|
-
"
|
7027
|
+
"text-primary-80 bg-white ring-1 ring-primary-80 ring-inset",
|
7028
|
+
"active:bg-primary-5 active:ring-primary-90 active:text-primary-90",
|
7029
|
+
"focus-visible:ring-2 focus-visible:ring-primary-90 focus-visible:text-primary-80",
|
7030
|
+
"hover:bg-primary-5 hover:ring-primary-90 hover:text-primary-90",
|
7031
|
+
"disabled:bg-white disabled:text-primary-40 disabled:ring-primary-40"
|
7013
7032
|
),
|
7014
7033
|
"ghost": ghostButtonStyle,
|
7015
|
-
"text":
|
7034
|
+
"text": linkStyle,
|
7016
7035
|
"secondary-ghost": tw(
|
7017
7036
|
"text-grey-60 active:text-grey-50 focus-visible:text-grey-80 hover:text-grey-80 disabled:text-grey-30"
|
7018
7037
|
)
|
7019
7038
|
};
|
7020
|
-
var LoadingSpinner = ({
|
7021
|
-
size = "20px",
|
7022
|
-
kind = "primary"
|
7023
|
-
}) => {
|
7039
|
+
var LoadingSpinner = ({ size = "20px" }) => {
|
7024
7040
|
return /* @__PURE__ */ React15.createElement(InlineIcon, {
|
7025
7041
|
icon: import_loading2.default,
|
7026
7042
|
width: size,
|
7027
7043
|
height: size,
|
7028
|
-
color:
|
7044
|
+
color: "primary-80",
|
7029
7045
|
"data-testid": "loading-button"
|
7030
7046
|
});
|
7031
7047
|
};
|
@@ -7139,8 +7155,7 @@ var asButton = (Component, isDropdownButton) => {
|
|
7139
7155
|
className: tw("absolute left-1/2 top-0 bottom-0 flex"),
|
7140
7156
|
style: { transform: "translate(-50%)" }
|
7141
7157
|
}, /* @__PURE__ */ React15.createElement(LoadingSpinner, {
|
7142
|
-
size: iconSize
|
7143
|
-
kind: kind === "primary" ? "primary" : "secondary"
|
7158
|
+
size: iconSize
|
7144
7159
|
})), /* @__PURE__ */ React15.createElement("div", {
|
7145
7160
|
className: tw({ invisible: loading2 })
|
7146
7161
|
}, buttonContent())) : buttonContent());
|
@@ -7272,19 +7287,19 @@ var import_warningSign2 = __toESM(require_warningSign());
|
|
7272
7287
|
var alertTypes = {
|
7273
7288
|
information: {
|
7274
7289
|
icon: import_infoSign2.default,
|
7275
|
-
color: "info-
|
7290
|
+
color: "info-70"
|
7276
7291
|
},
|
7277
7292
|
warning: {
|
7278
7293
|
icon: import_warningSign2.default,
|
7279
|
-
color: "warning-
|
7294
|
+
color: "warning-90"
|
7280
7295
|
},
|
7281
7296
|
error: {
|
7282
7297
|
icon: import_error2.default,
|
7283
|
-
color: "error-
|
7298
|
+
color: "error-70"
|
7284
7299
|
},
|
7285
7300
|
success: {
|
7286
7301
|
icon: import_tickCircle2.default,
|
7287
|
-
color: "success-
|
7302
|
+
color: "success-70"
|
7288
7303
|
}
|
7289
7304
|
};
|
7290
7305
|
var Alert = (_a) => {
|
@@ -7304,7 +7319,7 @@ var Alert = (_a) => {
|
|
7304
7319
|
className: classNames(
|
7305
7320
|
tw("rounded grid grid-cols-[auto_1fr_auto] items-center gap-x-3 gap-y-2", {
|
7306
7321
|
"bg-error-5": type === "error",
|
7307
|
-
"bg-info-
|
7322
|
+
"bg-info-10": type === "information",
|
7308
7323
|
"bg-success-5": type === "success",
|
7309
7324
|
"bg-warning-5": type === "warning",
|
7310
7325
|
"p-4": Boolean(dense),
|
@@ -7533,10 +7548,10 @@ var Banner = (_a) => {
|
|
7533
7548
|
}), children);
|
7534
7549
|
};
|
7535
7550
|
Banner.Title = (_a) => {
|
7536
|
-
var _b = _a, { children, className, layout
|
7551
|
+
var _b = _a, { children, className, layout } = _b, rest = __objRest(_b, ["children", "className", "layout"]);
|
7537
7552
|
return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
|
7538
7553
|
variant: "subheading",
|
7539
|
-
color:
|
7554
|
+
color: "grey-100",
|
7540
7555
|
className: classNames(
|
7541
7556
|
className,
|
7542
7557
|
tw("whitespace-nowrap", {
|
@@ -7608,8 +7623,7 @@ var createBanner = (displayName, opts = {}) => {
|
|
7608
7623
|
}, /* @__PURE__ */ React23.createElement(Banner.ContentContainer, {
|
7609
7624
|
layout
|
7610
7625
|
}, /* @__PURE__ */ React23.createElement(Banner.Title, {
|
7611
|
-
layout
|
7612
|
-
titleVariant: opts.isOneLineBanner ? "secondary" : "primary"
|
7626
|
+
layout
|
7613
7627
|
}, title), /* @__PURE__ */ React23.createElement(Banner.Description, {
|
7614
7628
|
flexGrow: isDismissable ? false : true
|
7615
7629
|
}, children || description), action && /* @__PURE__ */ React23.createElement(Banner.Actions, {
|
@@ -7682,7 +7696,7 @@ var asCrumb = (Component, displayName, options = { isActive: false }) => {
|
|
7682
7696
|
}), /* @__PURE__ */ React24.createElement("span", {
|
7683
7697
|
className: classNames3(
|
7684
7698
|
tw("flex flex-row flex-nowrap items-center gap-x-3 whitespace-nowrap", {
|
7685
|
-
"text-primary-80 hover:text-primary-70": !options.isActive,
|
7699
|
+
"text-primary-80 hover:text-primary-70 underline hover:no-underline": !options.isActive,
|
7686
7700
|
"text-grey-90": options.isActive
|
7687
7701
|
})
|
7688
7702
|
)
|
@@ -8386,7 +8400,7 @@ var Checkbox = React34.forwardRef(
|
|
8386
8400
|
var _b = _a, { id, children, name, disabled = false, readOnly = false, indeterminate = false } = _b, props = __objRest(_b, ["id", "children", "name", "disabled", "readOnly", "indeterminate"]);
|
8387
8401
|
return /* @__PURE__ */ React34.createElement("span", {
|
8388
8402
|
className: classNames(tw("inline-flex justify-center items-center self-center relative"), {
|
8389
|
-
"hover:border-grey-50 peer-checked:border-
|
8403
|
+
"hover:border-grey-50 peer-checked:border-primary-80": !disabled,
|
8390
8404
|
"border-grey-5": disabled
|
8391
8405
|
})
|
8392
8406
|
}, /* @__PURE__ */ React34.createElement("input", __spreadProps(__spreadValues({
|
@@ -8397,24 +8411,25 @@ var Checkbox = React34.forwardRef(
|
|
8397
8411
|
}, props), {
|
8398
8412
|
className: classNames(
|
8399
8413
|
tw("peer appearance-none outline-none w-5 h-5", "rounded-sm border border-transparent", {
|
8400
|
-
"cursor-pointer checked:bg-
|
8401
|
-
"cursor-not-allowed bg-grey-0": disabled
|
8414
|
+
"cursor-pointer checked:bg-primary-80": !disabled,
|
8415
|
+
"cursor-not-allowed bg-grey-0 checked:bg-primary-40": disabled
|
8402
8416
|
})
|
8403
8417
|
),
|
8404
8418
|
readOnly,
|
8405
8419
|
disabled
|
8406
8420
|
})), /* @__PURE__ */ React34.createElement(Icon, {
|
8407
8421
|
icon: indeterminate ? import_minus2.default : import_tick3.default,
|
8422
|
+
strokeWidth: "2px",
|
8408
8423
|
className: classNames(
|
8409
8424
|
tw(
|
8410
8425
|
"absolute top-0 right-0",
|
8411
8426
|
"pointer-events-none p-[2px] w-5 h-5",
|
8412
|
-
"text-transparent [&>path]:stroke-transparent",
|
8427
|
+
"text-transparent [&>path]:stroke-transparent [&>path]:stroke-2",
|
8413
8428
|
"rounded-sm border border-grey-20 peer-focus:border-info-70"
|
8414
8429
|
),
|
8415
8430
|
{
|
8416
|
-
"peer-hover:border-grey-50 peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-
|
8417
|
-
"border-grey-5 peer-checked:text-
|
8431
|
+
"peer-hover:border-grey-50 peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-primary-80": !disabled,
|
8432
|
+
"border-grey-5 peer-checked:text-primary-10 peer-checked:[&>path]:stroke-primary-10 peer-checked:border-primary-40": disabled
|
8418
8433
|
}
|
8419
8434
|
)
|
8420
8435
|
}));
|
@@ -10042,10 +10057,10 @@ var RadioButton = React56.forwardRef(
|
|
10042
10057
|
tw(
|
10043
10058
|
"inline-flex justify-center items-center self-center appearance-none",
|
10044
10059
|
"w-5 h-5 p-[3px] rounded-full cursor-pointer border border-grey-20",
|
10045
|
-
"outline-none focus:border-info-70 checked:bg-
|
10060
|
+
"outline-none focus:border-info-70 checked:bg-primary-80 checked:shadow-whiteInset",
|
10046
10061
|
{
|
10047
|
-
"hover:border-grey-50 checked:border-
|
10048
|
-
"cursor-not-allowed border-grey-5 bg-grey-0 checked:bg-opacity-40": disabled
|
10062
|
+
"hover:border-grey-50 checked:border-primary-80": !disabled,
|
10063
|
+
"cursor-not-allowed border-grey-5 bg-grey-0 checked:bg-opacity-40 checked:bg-primary-40 checked:border-primary-40": disabled
|
10049
10064
|
}
|
10050
10065
|
)
|
10051
10066
|
),
|
@@ -10580,7 +10595,7 @@ var Modal = (_a) => {
|
|
10580
10595
|
Modal.BackDrop = (_a) => {
|
10581
10596
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
10582
10597
|
return /* @__PURE__ */ React65.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
10583
|
-
className: classNames(tw("-z-10 fixed min-w-full min-h-full bg-
|
10598
|
+
className: classNames(tw("-z-10 fixed min-w-full min-h-full bg-primary-100 opacity-60"), className)
|
10584
10599
|
}));
|
10585
10600
|
};
|
10586
10601
|
Modal.Dialog = React65.forwardRef(
|
@@ -11305,12 +11320,12 @@ var asTabItem = (Component, displayName, { defaultUnderlineHidden } = {}) => {
|
|
11305
11320
|
if (status === "warning") {
|
11306
11321
|
statusIcon = /* @__PURE__ */ React78.createElement(InlineIcon, {
|
11307
11322
|
icon: import_warningSign4.default,
|
11308
|
-
color: "warning-80"
|
11323
|
+
color: selected ? void 0 : "warning-80"
|
11309
11324
|
});
|
11310
11325
|
} else if (status === "error") {
|
11311
11326
|
statusIcon = /* @__PURE__ */ React78.createElement(InlineIcon, {
|
11312
11327
|
icon: import_warningSign4.default,
|
11313
|
-
color: "error-50"
|
11328
|
+
color: selected ? void 0 : "error-50"
|
11314
11329
|
});
|
11315
11330
|
}
|
11316
11331
|
const tab = /* @__PURE__ */ React78.createElement(Component, __spreadValues({
|
@@ -12813,7 +12828,7 @@ var SegmentedControl = (_a) => {
|
|
12813
12828
|
"selected",
|
12814
12829
|
"className"
|
12815
12830
|
]);
|
12816
|
-
return /* @__PURE__ */ React96.createElement("button", __spreadProps(__spreadValues({
|
12831
|
+
return /* @__PURE__ */ React96.createElement("li", null, /* @__PURE__ */ React96.createElement("button", __spreadProps(__spreadValues({
|
12817
12832
|
type: "button"
|
12818
12833
|
}, rest), {
|
12819
12834
|
className: classNames(
|
@@ -12821,8 +12836,9 @@ var SegmentedControl = (_a) => {
|
|
12821
12836
|
!rest.disabled && getHoverClassNames(variant),
|
12822
12837
|
selected && getSelectedClassNames(variant),
|
12823
12838
|
className
|
12824
|
-
)
|
12825
|
-
|
12839
|
+
),
|
12840
|
+
"aria-pressed": selected
|
12841
|
+
}), children));
|
12826
12842
|
};
|
12827
12843
|
var SegmentedControlGroup = (_a) => {
|
12828
12844
|
var _b = _a, {
|
@@ -12831,20 +12847,23 @@ var SegmentedControlGroup = (_a) => {
|
|
12831
12847
|
variant = "filled",
|
12832
12848
|
dense = false,
|
12833
12849
|
children,
|
12834
|
-
className
|
12850
|
+
className,
|
12851
|
+
ariaLabel
|
12835
12852
|
} = _b, rest = __objRest(_b, [
|
12836
12853
|
"value",
|
12837
12854
|
"onChange",
|
12838
12855
|
"variant",
|
12839
12856
|
"dense",
|
12840
12857
|
"children",
|
12841
|
-
"className"
|
12858
|
+
"className",
|
12859
|
+
"ariaLabel"
|
12842
12860
|
]);
|
12843
12861
|
const classes2 = tw("rounded flex", {
|
12844
12862
|
"border border-grey-20 text-grey-50": variant === "outlined",
|
12845
12863
|
"bg-grey-0": variant === "raised"
|
12846
12864
|
});
|
12847
|
-
return /* @__PURE__ */ React96.createElement("
|
12865
|
+
return /* @__PURE__ */ React96.createElement("ul", __spreadProps(__spreadValues({}, rest), {
|
12866
|
+
"aria-label": ariaLabel,
|
12848
12867
|
className: classNames("Aquarium-SegmentedControl", classes2, className)
|
12849
12868
|
}), React96.Children.map(
|
12850
12869
|
children,
|
@@ -13024,8 +13043,8 @@ var Switch = React99.forwardRef(
|
|
13024
13043
|
"outline-none focus:border border-info-70 bg-grey-20",
|
13025
13044
|
"cursor-pointer disabled:cursor-not-allowed",
|
13026
13045
|
{
|
13027
|
-
"hover:bg-grey-30 checked:bg-
|
13028
|
-
"bg-grey-5 checked:opacity-40": disabled
|
13046
|
+
"hover:bg-grey-30 checked:bg-primary-80 hover:checked:bg-primary-80": !disabled,
|
13047
|
+
"bg-grey-5 checked:opacity-40 checked:bg-primary-40": disabled
|
13029
13048
|
}
|
13030
13049
|
)
|
13031
13050
|
),
|
package/dist/tailwind.theme.json
CHANGED
@@ -326,6 +326,7 @@
|
|
326
326
|
"grey-50": "var(--aquarium-colors-grey-50, #787885)",
|
327
327
|
"grey-40": "var(--aquarium-colors-grey-40, #9696a0)",
|
328
328
|
"grey-30": "var(--aquarium-colors-grey-30, #b4b4bb)",
|
329
|
+
"grey-20": "var(--aquarium-colors-grey-20, #d2d2d6)",
|
329
330
|
"grey-10": "var(--aquarium-colors-grey-10, #e1e1e3)",
|
330
331
|
"grey-5": "var(--aquarium-colors-grey-5, #ededf0)",
|
331
332
|
"grey-0": "var(--aquarium-colors-grey-0, #f7f7fa)",
|
@@ -341,20 +342,18 @@
|
|
341
342
|
"secondary-10": "var(--aquarium-colors-secondary-10, #fee8d0)",
|
342
343
|
"secondary-5": "var(--aquarium-colors-secondary-5, #fff3e8)",
|
343
344
|
"secondary-0": "var(--aquarium-colors-secondary-0, #fffbf8)",
|
344
|
-
"primary-100": "var(--aquarium-colors-primary-100, #
|
345
|
-
"primary-90": "var(--aquarium-colors-primary-90, #
|
346
|
-
"primary-80": "var(--aquarium-colors-primary-80, #
|
347
|
-
"primary-70": "var(--aquarium-colors-primary-70, #
|
348
|
-
"primary-60": "var(--aquarium-colors-primary-60, #
|
349
|
-
"primary-50": "var(--aquarium-colors-primary-50, #
|
350
|
-
"primary-40": "var(--aquarium-colors-primary-40, #
|
351
|
-
"primary-30": "var(--aquarium-colors-primary-30, #
|
352
|
-
"primary-20": "var(--aquarium-colors-primary-20, #
|
353
|
-
"primary-10": "var(--aquarium-colors-primary-10, #
|
354
|
-
"primary-5": "var(--aquarium-colors-primary-5, #
|
355
|
-
"primary-0": "var(--aquarium-colors-primary-0, #
|
356
|
-
"grey-20": "var(--aquarium-colors-grey-20, #d2d2d6)",
|
357
|
-
"navyBlue-100": "var(--aquarium-colors-navyBlue-100, #30375e)",
|
345
|
+
"primary-100": "var(--aquarium-colors-primary-100, #0e1652)",
|
346
|
+
"primary-90": "var(--aquarium-colors-primary-90, #222f95)",
|
347
|
+
"primary-80": "var(--aquarium-colors-primary-80, #3545be)",
|
348
|
+
"primary-70": "var(--aquarium-colors-primary-70, #5865cd)",
|
349
|
+
"primary-60": "var(--aquarium-colors-primary-60, #818eec)",
|
350
|
+
"primary-50": "var(--aquarium-colors-primary-50, #9daaee)",
|
351
|
+
"primary-40": "var(--aquarium-colors-primary-40, #b9c5ef)",
|
352
|
+
"primary-30": "var(--aquarium-colors-primary-30, #c7d1f4)",
|
353
|
+
"primary-20": "var(--aquarium-colors-primary-20, #d5ddfa)",
|
354
|
+
"primary-10": "var(--aquarium-colors-primary-10, #e3e9ff)",
|
355
|
+
"primary-5": "var(--aquarium-colors-primary-5, #f3f6ff)",
|
356
|
+
"primary-0": "var(--aquarium-colors-primary-0, #ffffff)",
|
358
357
|
"transparent": "var(--aquarium-colors-transparent, transparent)",
|
359
358
|
"white": "var(--aquarium-colors-white, white)",
|
360
359
|
"black": "var(--aquarium-colors-black, black)",
|
package/dist/tokens.json
CHANGED
@@ -85,8 +85,7 @@
|
|
85
85
|
"primary-20": "#b4e5fb",
|
86
86
|
"primary-10": "#e0f5fe",
|
87
87
|
"primary-5": "#effaff",
|
88
|
-
"primary-0": "#f9fdff"
|
89
|
-
"navyBlue-100": "#30375e"
|
88
|
+
"primary-0": "#f9fdff"
|
90
89
|
},
|
91
90
|
"typography": {
|
92
91
|
"sizes": [
|
@@ -619,6 +618,7 @@
|
|
619
618
|
"grey-50": "#787885",
|
620
619
|
"grey-40": "#9696a0",
|
621
620
|
"grey-30": "#b4b4bb",
|
621
|
+
"grey-20": "#d2d2d6",
|
622
622
|
"grey-10": "#e1e1e3",
|
623
623
|
"grey-5": "#ededf0",
|
624
624
|
"grey-0": "#f7f7fa",
|
@@ -634,20 +634,18 @@
|
|
634
634
|
"secondary-10": "#fee8d0",
|
635
635
|
"secondary-5": "#fff3e8",
|
636
636
|
"secondary-0": "#fffbf8",
|
637
|
-
"primary-100": "#
|
638
|
-
"primary-90": "#
|
639
|
-
"primary-80": "#
|
640
|
-
"primary-70": "#
|
641
|
-
"primary-60": "#
|
642
|
-
"primary-50": "#
|
643
|
-
"primary-40": "#
|
644
|
-
"primary-30": "#
|
645
|
-
"primary-20": "#
|
646
|
-
"primary-10": "#
|
647
|
-
"primary-5": "#
|
648
|
-
"primary-0": "#
|
649
|
-
"grey-20": "#d2d2d6",
|
650
|
-
"navyBlue-100": "#30375e"
|
637
|
+
"primary-100": "#0e1652",
|
638
|
+
"primary-90": "#222f95",
|
639
|
+
"primary-80": "#3545be",
|
640
|
+
"primary-70": "#5865cd",
|
641
|
+
"primary-60": "#818eec",
|
642
|
+
"primary-50": "#9daaee",
|
643
|
+
"primary-40": "#b9c5ef",
|
644
|
+
"primary-30": "#c7d1f4",
|
645
|
+
"primary-20": "#d5ddfa",
|
646
|
+
"primary-10": "#e3e9ff",
|
647
|
+
"primary-5": "#f3f6ff",
|
648
|
+
"primary-0": "#ffffff"
|
651
649
|
},
|
652
650
|
"typography": {
|
653
651
|
"sizes": [
|
@@ -655,40 +653,40 @@
|
|
655
653
|
"name": "large-heading",
|
656
654
|
"className": "typography-large-heading",
|
657
655
|
"style": {
|
658
|
-
"fontFamily": "
|
656
|
+
"fontFamily": "Poppins",
|
659
657
|
"fontSize": "32px",
|
660
658
|
"fontWeight": 700,
|
661
659
|
"fontStyle": "normal",
|
662
660
|
"lineHeight": 1.375,
|
663
661
|
"textTransform": "none"
|
664
662
|
},
|
665
|
-
"fontPostScriptName": "
|
663
|
+
"fontPostScriptName": "Poppins-Bold"
|
666
664
|
},
|
667
665
|
{
|
668
666
|
"name": "heading",
|
669
667
|
"className": "typography-heading",
|
670
668
|
"style": {
|
671
|
-
"fontFamily": "
|
669
|
+
"fontFamily": "Poppins",
|
672
670
|
"fontSize": "24px",
|
673
671
|
"fontWeight": 700,
|
674
672
|
"fontStyle": "normal",
|
675
673
|
"lineHeight": 1.375,
|
676
674
|
"textTransform": "none"
|
677
675
|
},
|
678
|
-
"fontPostScriptName": "
|
676
|
+
"fontPostScriptName": "Poppins-Bold"
|
679
677
|
},
|
680
678
|
{
|
681
679
|
"name": "subheading",
|
682
680
|
"className": "typography-subheading",
|
683
681
|
"style": {
|
684
|
-
"fontFamily": "
|
682
|
+
"fontFamily": "Poppins",
|
685
683
|
"fontSize": "20px",
|
686
684
|
"fontWeight": 600,
|
687
685
|
"fontStyle": "normal",
|
688
686
|
"lineHeight": 1.375,
|
689
687
|
"textTransform": "none"
|
690
688
|
},
|
691
|
-
"fontPostScriptName": "
|
689
|
+
"fontPostScriptName": "Poppins-Bold"
|
692
690
|
},
|
693
691
|
{
|
694
692
|
"name": "large-strong",
|