@aivenio/aquarium 1.58.1 → 1.60.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 +5 -3
- package/dist/atoms.cjs +31 -12
- package/dist/atoms.mjs +30 -12
- package/dist/charts.cjs +3 -3
- package/dist/charts.mjs +3 -3
- package/dist/src/atoms/Checkbox/Checkbox.d.ts +1 -1
- package/dist/src/atoms/DropdownMenu/DropdownMenu.js +3 -3
- package/dist/src/atoms/Navigation/Navigation.js +2 -2
- package/dist/src/atoms/ProgressBar/ProgressBar.js +2 -2
- package/dist/src/atoms/RadioButton/RadioButton.d.ts +1 -1
- package/dist/src/atoms/Select/Select.js +5 -5
- package/dist/src/atoms/Switch/Switch.d.ts +1 -1
- package/dist/src/atoms/Table/Table.js +3 -3
- package/dist/src/atoms/index.d.ts +1 -0
- package/dist/src/atoms/index.js +2 -1
- package/dist/src/charts/Container/Container.js +4 -4
- package/dist/src/icons/aivenEnterprise.d.ts +9 -0
- package/dist/src/icons/aivenEnterprise.js +11 -0
- package/dist/src/icons/index.d.ts +1 -0
- package/dist/src/icons/index.js +2 -1
- package/dist/src/molecules/Box/Box.d.ts +3 -3
- package/dist/src/molecules/Button/Button.d.ts +1 -1
- package/dist/src/molecules/Button/Button.js +2 -2
- package/dist/src/molecules/Card/Compact.js +2 -2
- package/dist/src/molecules/Chip/Chip.js +4 -4
- package/dist/src/molecules/ControlLabel/ControlLabel.js +2 -2
- package/dist/src/molecules/Dropdown/Dropdown.js +3 -3
- package/dist/src/molecules/Element/Element.d.ts +1 -1
- package/dist/src/molecules/MultiInput/InputChip.js +1 -1
- package/dist/src/molecules/NativeSelect/NativeSelect.d.ts +1 -0
- package/dist/src/molecules/NativeSelect/NativeSelect.js +4 -4
- package/dist/src/utils/constants.js +2 -2
- package/dist/src/utils/form/InputAdornment/InputAdornment.js +2 -2
- package/dist/src/utils/form/Label/Label.js +4 -4
- package/dist/styles.css +40 -18
- package/dist/system.cjs +49 -33
- package/dist/system.mjs +49 -33
- package/dist/tailwind.config.js +16 -8
- package/dist/tailwind.theme.json +2 -2
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/tailwindGenerated.d.ts +1 -1
- package/dist/types/utils.d.ts +1 -1
- package/package.json +4 -4
package/dist/styles.css
CHANGED
@@ -457,9 +457,9 @@ img,video {
|
|
457
457
|
--aquarium-colors-primary-5: #f3f6ff;
|
458
458
|
--aquarium-colors-primary-0: #ffffff;
|
459
459
|
--aquarium-colors-transparent: transparent;
|
460
|
+
--aquarium-colors-current: currentColor;
|
460
461
|
--aquarium-colors-white: white;
|
461
462
|
--aquarium-colors-black: black;
|
462
|
-
--aquarium-colors-current: currentColor;
|
463
463
|
--aquarium-box-shadow-24dp: 0px 24px 48px rgba(90, 91, 106, 0.08), 0px 12px 24px rgba(58, 58, 68, 0.08);
|
464
464
|
--aquarium-box-shadow-16dp: 0px 16px 32px rgba(90, 91, 106, 0.12), 0px 8px 16px rgba(58, 58, 68, 0.12);
|
465
465
|
--aquarium-box-shadow-8dp: 0px 8px 16px rgba(90, 91, 106, 0.16), 0px 4px 8px rgba(58, 58, 68, 0.16);
|
@@ -533,6 +533,8 @@ img,video {
|
|
533
533
|
--aquarium-spacing-l5: 64px;
|
534
534
|
--aquarium-spacing-l6: 96px;
|
535
535
|
--aquarium-spacing-l7: 160px;
|
536
|
+
--aquarium-text-color-muted: var(--aquarium-colors-grey-40);
|
537
|
+
--aquarium-text-color-default: var(--aquarium-colors-grey-70);
|
536
538
|
}
|
537
539
|
input[type='number'].no-arrows::-webkit-inner-spin-button,input[type='number'].no-arrow::-webkit-outer-spin-button {
|
538
540
|
-webkit-appearance: none;
|
@@ -1054,12 +1056,12 @@ input[type='number'].no-arrows {
|
|
1054
1056
|
.z-20{
|
1055
1057
|
z-index: 20;
|
1056
1058
|
}
|
1057
|
-
.z-0{
|
1058
|
-
z-index: 0;
|
1059
|
-
}
|
1060
1059
|
.z-40{
|
1061
1060
|
z-index: 40;
|
1062
1061
|
}
|
1062
|
+
.z-0{
|
1063
|
+
z-index: 0;
|
1064
|
+
}
|
1063
1065
|
.col-span-full{
|
1064
1066
|
grid-column: 1 / -1;
|
1065
1067
|
}
|
@@ -2431,10 +2433,18 @@ input[type='number'].no-arrows {
|
|
2431
2433
|
color: #ffffff;
|
2432
2434
|
color: var(--aquarium-colors-primary-0, #ffffff);
|
2433
2435
|
}
|
2436
|
+
.text-default{
|
2437
|
+
color: #4a4b57;
|
2438
|
+
color: var(--aquarium-text-color-default);
|
2439
|
+
}
|
2434
2440
|
.text-transparent{
|
2435
2441
|
color: transparent;
|
2436
2442
|
color: var(--aquarium-colors-transparent, transparent);
|
2437
2443
|
}
|
2444
|
+
.text-muted{
|
2445
|
+
color: #9696a0;
|
2446
|
+
color: var(--aquarium-text-color-muted);
|
2447
|
+
}
|
2438
2448
|
.text-white{
|
2439
2449
|
color: white;
|
2440
2450
|
color: var(--aquarium-colors-white, white);
|
@@ -2507,7 +2517,7 @@ input[type='number'].no-arrows {
|
|
2507
2517
|
}
|
2508
2518
|
.ring{
|
2509
2519
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
2510
|
-
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(
|
2520
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
2511
2521
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 rgba(0,0,0,0);
|
2512
2522
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0,0,0,0));
|
2513
2523
|
}
|
@@ -2616,13 +2626,29 @@ input[type='number'].no-arrows {
|
|
2616
2626
|
.scrollbar-hide::-webkit-scrollbar{
|
2617
2627
|
display: none;
|
2618
2628
|
}
|
2619
|
-
.
|
2629
|
+
.aquarium-theme-dark {
|
2630
|
+
--aquarium-text-color-faint: var(--aquarium-colors-grey-60);
|
2631
|
+
--aquarium-text-color-muted: var(--aquarium-colors-grey-50);
|
2632
|
+
--aquarium-text-color-lighter: var(--aquarium-colors-grey-40);
|
2633
|
+
--aquarium-text-color-default: var(--aquarium-colors-grey-20);
|
2634
|
+
--aquarium-text-color-accent: var(--aquarium-colors-grey-0);
|
2635
|
+
|
2636
|
+
--aquarium-border-color-muted: var(--aquarium-colors-grey-80);
|
2637
|
+
--aquarium-border-color-default: var(--aquarium-colors-grey-80);
|
2638
|
+
--aquarium-border-color-accent: var(--aquarium-colors-grey-40);
|
2639
|
+
|
2640
|
+
--aquarium-background-color-muted: var(--aquarium-colors-grey-80);
|
2641
|
+
--aquarium-background-color-default: var(--aquarium-colors-grey-40);
|
2642
|
+
--aquarium-background-color-accent: var(--aquarium-colors-grey-70);
|
2643
|
+
--aquarium-background-color-contrast: var(--aquarium-colors-grey-20);
|
2644
|
+
}
|
2645
|
+
.placeholder\:text-muted::-moz-placeholder{
|
2620
2646
|
color: #9696a0;
|
2621
|
-
color: var(--aquarium-
|
2647
|
+
color: var(--aquarium-text-color-muted);
|
2622
2648
|
}
|
2623
|
-
.placeholder\:text-
|
2649
|
+
.placeholder\:text-muted::placeholder{
|
2624
2650
|
color: #9696a0;
|
2625
|
-
color: var(--aquarium-
|
2651
|
+
color: var(--aquarium-text-color-muted);
|
2626
2652
|
}
|
2627
2653
|
.before\:content-\[\'_\'\]::before{
|
2628
2654
|
--tw-content: ' ';
|
@@ -2915,9 +2941,9 @@ input[type='number'].no-arrows {
|
|
2915
2941
|
color: #787885;
|
2916
2942
|
color: var(--aquarium-colors-grey-50, #787885);
|
2917
2943
|
}
|
2918
|
-
.active\:text-
|
2944
|
+
.active\:text-default:active{
|
2919
2945
|
color: #4a4b57;
|
2920
|
-
color: var(--aquarium-
|
2946
|
+
color: var(--aquarium-text-color-default);
|
2921
2947
|
}
|
2922
2948
|
.active\:ring-0:active{
|
2923
2949
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
@@ -2951,9 +2977,9 @@ input[type='number'].no-arrows {
|
|
2951
2977
|
background-color: transparent;
|
2952
2978
|
background-color: var(--aquarium-colors-transparent, transparent);
|
2953
2979
|
}
|
2954
|
-
.disabled\:text-
|
2980
|
+
.disabled\:text-muted:disabled{
|
2955
2981
|
color: #9696a0;
|
2956
|
-
color: var(--aquarium-
|
2982
|
+
color: var(--aquarium-text-color-muted);
|
2957
2983
|
}
|
2958
2984
|
.disabled\:text-primary-40:disabled{
|
2959
2985
|
color: #b9c5ef;
|
@@ -2963,10 +2989,6 @@ input[type='number'].no-arrows {
|
|
2963
2989
|
color: #b4b4bb;
|
2964
2990
|
color: var(--aquarium-colors-grey-30, #b4b4bb);
|
2965
2991
|
}
|
2966
|
-
.disabled\:text-grey-20:disabled{
|
2967
|
-
color: #d2d2d6;
|
2968
|
-
color: var(--aquarium-colors-grey-20, #d2d2d6);
|
2969
|
-
}
|
2970
2992
|
.disabled\:ring-primary-40:disabled{
|
2971
2993
|
--tw-ring-color: var(--aquarium-colors-primary-40, #b9c5ef);
|
2972
2994
|
}
|
@@ -3072,4 +3094,4 @@ input[type='number'].no-arrows {
|
|
3072
3094
|
.\[\&\>div\:first-child\]\:px-3>div:first-child{
|
3073
3095
|
padding-left: 8px;
|
3074
3096
|
padding-right: 8px;
|
3075
|
-
}
|
3097
|
+
}
|
package/dist/system.cjs
CHANGED
@@ -774,6 +774,22 @@ var require_airplane = __commonJS({
|
|
774
774
|
}
|
775
775
|
});
|
776
776
|
|
777
|
+
// src/icons/aivenEnterprise.js
|
778
|
+
var require_aivenEnterprise = __commonJS({
|
779
|
+
"src/icons/aivenEnterprise.js"(exports) {
|
780
|
+
"use strict";
|
781
|
+
var data = {
|
782
|
+
"body": '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M20 15.3c0 1.512 0 2.268-.294 2.846a2.7 2.7 0 01-1.18 1.18c-.578.294-1.334.294-2.846.294H6.32c-1.512 0-2.268 0-2.846-.294a2.7 2.7 0 01-1.18-1.18C2 17.568 2 16.812 2 15.3m10.36-2.743c0-.24 0-.36.047-.452a.428.428 0 01.187-.187c.092-.047.212-.047.452-.047h2.057c.24 0 .36 0 .452.047.08.041.146.107.187.187.047.092.047.212.047.452v2.057c0 .24 0 .36-.047.452a.429.429 0 01-.187.187c-.092.047-.212.047-.452.047h-2.057c-.24 0-.36 0-.452-.047a.428.428 0 01-.187-.187c-.047-.092-.047-.212-.047-.452v-2.057Zm-6.15 0c0-.24 0-.36.047-.452a.429.429 0 01.187-.187c.092-.047.212-.047.452-.047h2.057c.24 0 .36 0 .452.047.08.041.146.107.187.187.047.092.047.212.047.452v2.057c0 .24 0 .36-.047.452a.429.429 0 01-.187.187c-.092.047-.212.047-.452.047H6.896c-.24 0-.36 0-.452-.047a.429.429 0 01-.187-.187c-.047-.092-.047-.212-.047-.452v-2.057Zm6.15-6.714c0-.24 0-.36.047-.452a.428.428 0 01.187-.187c.092-.047.212-.047.452-.047h2.057c.24 0 .36 0 .452.047.08.04.146.106.187.187.047.092.047.212.047.452V7.9c0 .24 0 .36-.047.452a.428.428 0 01-.187.187c-.092.047-.212.047-.452.047h-2.057c-.24 0-.36 0-.452-.047a.428.428 0 01-.187-.187c-.047-.092-.047-.212-.047-.452V5.843ZM3.3 3.557c0-.44 0-.66.086-.828a.786.786 0 01.343-.343c.168-.086.388-.086.828-.086H8.33c.44 0 .66 0 .828.086a.786.786 0 01.343.343c.086.168.086.388.086.828V7.33c0 .44 0 .66-.086.828a.786.786 0 01-.343.343c-.168.086-.388.086-.828.086H4.557c-.44 0-.66 0-.828-.086a.786.786 0 01-.343-.343C3.3 7.989 3.3 7.769 3.3 7.329V3.557Z"/>',
|
783
|
+
"left": 0,
|
784
|
+
"top": 0,
|
785
|
+
"width": 22,
|
786
|
+
"height": 22
|
787
|
+
};
|
788
|
+
exports.__esModule = true;
|
789
|
+
exports.default = data;
|
790
|
+
}
|
791
|
+
});
|
792
|
+
|
777
793
|
// src/icons/alignCenter.js
|
778
794
|
var require_alignCenter = __commonJS({
|
779
795
|
"src/icons/alignCenter.js"(exports) {
|
@@ -5024,9 +5040,9 @@ var Input = import_react3.default.forwardRef((_a, ref) => {
|
|
5024
5040
|
type: "text",
|
5025
5041
|
className: classNames(
|
5026
5042
|
className,
|
5027
|
-
"grow rounded border-0 focus:outline-none px-[1px] my-1 min-w-0 typography-small disabled:cursor-not-allowed disabled:bg-grey-5 placeholder:text-
|
5043
|
+
"grow rounded border-0 focus:outline-none px-[1px] my-1 min-w-0 typography-small disabled:cursor-not-allowed disabled:bg-grey-5 placeholder:text-muted",
|
5028
5044
|
{
|
5029
|
-
"text-
|
5045
|
+
"text-default": !props.disabled,
|
5030
5046
|
"text-grey-30": props.disabled,
|
5031
5047
|
"cursor-default": props.readOnly
|
5032
5048
|
}
|
@@ -5049,7 +5065,7 @@ var NoResults = import_react3.default.forwardRef(
|
|
5049
5065
|
return /* @__PURE__ */ import_react3.default.createElement("li", __spreadProps(__spreadValues({
|
5050
5066
|
ref
|
5051
5067
|
}, rest), {
|
5052
|
-
className: classNames(tw("p-3 text-
|
5068
|
+
className: classNames(tw("p-3 text-muted italic typography-small"), className)
|
5053
5069
|
}), children);
|
5054
5070
|
}
|
5055
5071
|
);
|
@@ -5069,7 +5085,7 @@ var Group = import_react3.default.forwardRef((_a, ref) => {
|
|
5069
5085
|
ref,
|
5070
5086
|
className: classNames(
|
5071
5087
|
className,
|
5072
|
-
"flex items-center gap-x-3 p-3 text-
|
5088
|
+
"flex items-center gap-x-3 p-3 text-muted uppercase cursor-default typography-caption mt-4 first:mt-0",
|
5073
5089
|
{
|
5074
5090
|
"text-grey-20": props.disabled
|
5075
5091
|
}
|
@@ -5520,9 +5536,9 @@ var tailwind_theme_default = {
|
|
5520
5536
|
"primary-5": "var(--aquarium-colors-primary-5, #f3f6ff)",
|
5521
5537
|
"primary-0": "var(--aquarium-colors-primary-0, #ffffff)",
|
5522
5538
|
transparent: "var(--aquarium-colors-transparent, transparent)",
|
5539
|
+
current: "var(--aquarium-colors-current, currentColor)",
|
5523
5540
|
white: "var(--aquarium-colors-white, white)",
|
5524
|
-
black: "var(--aquarium-colors-black, black)"
|
5525
|
-
current: "var(--aquarium-colors-current, currentColor)"
|
5541
|
+
black: "var(--aquarium-colors-black, black)"
|
5526
5542
|
},
|
5527
5543
|
gap: {
|
5528
5544
|
"0": "0",
|
@@ -6023,6 +6039,7 @@ Toast.Dismiss = Dismiss;
|
|
6023
6039
|
var import_addToFolder = __toESM(require_addToFolder());
|
6024
6040
|
var import_add = __toESM(require_add());
|
6025
6041
|
var import_airplane = __toESM(require_airplane());
|
6042
|
+
var import_aivenEnterprise = __toESM(require_aivenEnterprise());
|
6026
6043
|
var import_alignCenter = __toESM(require_alignCenter());
|
6027
6044
|
var import_alignJustify = __toESM(require_alignJustify());
|
6028
6045
|
var import_alignLeft = __toESM(require_alignLeft());
|
@@ -6867,7 +6884,7 @@ var Arrow = (props) => {
|
|
6867
6884
|
|
6868
6885
|
// src/utils/constants.ts
|
6869
6886
|
var getCommonInputStyles = ({ readOnly, valid }) => tw(
|
6870
|
-
"block w-full rounded-sm disabled:cursor-not-allowed disabled:border-grey-20 disabled:bg-grey-5 typography-small text-
|
6887
|
+
"block w-full rounded-sm disabled:cursor-not-allowed disabled:border-grey-20 disabled:bg-grey-5 typography-small text-default disabled:text-muted placeholder:text-muted focus:outline-none",
|
6871
6888
|
{
|
6872
6889
|
"px-3 py-3": !readOnly,
|
6873
6890
|
"border-none resize-none cursor-default": readOnly,
|
@@ -7006,7 +7023,7 @@ var asButton = (Component, isDropdownButton) => {
|
|
7006
7023
|
tw(
|
7007
7024
|
"inline-block border-0 rounded-sm transition whitespace-nowrap focus:outline-none relative text-center",
|
7008
7025
|
{
|
7009
|
-
"text-
|
7026
|
+
"text-default p-2 active:text-default active:bg-transparent hover:text-grey-90 hover:bg-grey-0 focus-visible:text-grey-90 focus-visible:bg-grey-0 disabled:text-muted disabled:bg-transparent": isIconOnlyButton,
|
7010
7027
|
"typography-default-strong": !dense && !isIconOnlyButton && kind !== "text",
|
7011
7028
|
"typography-small-strong": dense && !isIconOnlyButton && kind !== "text",
|
7012
7029
|
"py-3 px-4": !dense && isButton,
|
@@ -7938,7 +7955,7 @@ var getStatusClassNames = (status = "neutral") => {
|
|
7938
7955
|
return tw("text-success-100 bg-success-5");
|
7939
7956
|
case "neutral":
|
7940
7957
|
default:
|
7941
|
-
return tw("text-
|
7958
|
+
return tw("text-default bg-grey-5");
|
7942
7959
|
}
|
7943
7960
|
};
|
7944
7961
|
var Chip2 = (_a) => {
|
@@ -7962,8 +7979,8 @@ var Chip2 = (_a) => {
|
|
7962
7979
|
className: (0, import_classnames5.default)(
|
7963
7980
|
"Aquarium-Chip",
|
7964
7981
|
tw({
|
7965
|
-
"bg-grey-0 text-
|
7966
|
-
"bg-grey-5 text-
|
7982
|
+
"bg-grey-0 text-default": !locked,
|
7983
|
+
"bg-grey-5 text-muted": locked
|
7967
7984
|
})
|
7968
7985
|
)
|
7969
7986
|
}, rest), icon && /* @__PURE__ */ import_react32.default.createElement(InlineIcon, {
|
@@ -8430,13 +8447,12 @@ var CompactCard = ({
|
|
8430
8447
|
modality: isFocusVisible ? "keyboard" : "pointer"
|
8431
8448
|
}), commonContent);
|
8432
8449
|
}
|
8433
|
-
return /* @__PURE__ */ import_react41.default.createElement(Card, __spreadProps(__spreadValues({
|
8450
|
+
return /* @__PURE__ */ import_react41.default.createElement(Card, __spreadValues(__spreadProps(__spreadValues({
|
8434
8451
|
ref,
|
8435
8452
|
className: "Aquarium-Card.Compact"
|
8436
8453
|
}, onClick ? buttonProps : {}), {
|
8437
|
-
role: onClick ? "button" : void 0
|
8438
|
-
|
8439
|
-
}), commonContent, (primaryAction || secondaryAction) && /* @__PURE__ */ import_react41.default.createElement(Card.Actions, {
|
8454
|
+
role: onClick ? "button" : void 0
|
8455
|
+
}), commonProps), commonContent, (primaryAction || secondaryAction) && /* @__PURE__ */ import_react41.default.createElement(Card.Actions, {
|
8440
8456
|
dense: true
|
8441
8457
|
}, primaryAction && renderAction({ kind: "secondary", dense: true, action: primaryAction }), secondaryAction && renderAction({ kind: "ghost", dense: true, action: secondaryAction })));
|
8442
8458
|
};
|
@@ -8776,7 +8792,7 @@ var ControlLabel = (_a) => {
|
|
8776
8792
|
"style",
|
8777
8793
|
"className"
|
8778
8794
|
]);
|
8779
|
-
const textClass = disabled ? "text-
|
8795
|
+
const textClass = disabled ? "text-muted" : "text-default";
|
8780
8796
|
const rtl = labelPlacement === "left";
|
8781
8797
|
const labelEl = label && /* @__PURE__ */ import_react44.default.createElement("span", {
|
8782
8798
|
className: tw("typography-small self-center", { "text-right": rtl })
|
@@ -9098,9 +9114,9 @@ var LabelText = ({
|
|
9098
9114
|
className: tw("block mb-2")
|
9099
9115
|
}, /* @__PURE__ */ import_react51.default.createElement("span", {
|
9100
9116
|
className: tw("inline-flex items-center typography-small-strong", {
|
9101
|
-
"text-
|
9117
|
+
"text-default": variant === "default",
|
9102
9118
|
"text-error-50": variant === "error",
|
9103
|
-
"text-
|
9119
|
+
"text-muted": variant === "disabled"
|
9104
9120
|
})
|
9105
9121
|
}, labelText, required && /* @__PURE__ */ import_react51.default.createElement("span", {
|
9106
9122
|
className: tw("text-error-50")
|
@@ -9109,7 +9125,7 @@ var LabelText = ({
|
|
9109
9125
|
placement: helpTooltipPlacement
|
9110
9126
|
}, /* @__PURE__ */ import_react51.default.createElement("span", {
|
9111
9127
|
tabIndex: 0,
|
9112
|
-
className: tw("text-
|
9128
|
+
className: tw("text-muted flex items-center cursor-pointer ml-2")
|
9113
9129
|
}, /* @__PURE__ */ import_react51.default.createElement(InlineIcon, {
|
9114
9130
|
icon: import_questionMark2.default,
|
9115
9131
|
"data-testid": "icon-info"
|
@@ -9853,7 +9869,7 @@ var InputAdornment = ({
|
|
9853
9869
|
children
|
9854
9870
|
}) => {
|
9855
9871
|
return /* @__PURE__ */ import_react62.default.createElement("span", {
|
9856
|
-
className: classNames(className, "absolute inset-y-0 grow-0 text-
|
9872
|
+
className: classNames(className, "absolute inset-y-0 grow-0 text-muted flex items-center mx-3", {
|
9857
9873
|
"right-0": placement === "right",
|
9858
9874
|
"left-0": placement === "left",
|
9859
9875
|
"typography-small": dense,
|
@@ -10506,7 +10522,7 @@ var TableRow = (_a) => {
|
|
10506
10522
|
}), children);
|
10507
10523
|
};
|
10508
10524
|
var cellClassNames = tw("px-4 border-b typography-small leading-[18px]");
|
10509
|
-
var getBodyCellClassNames = (table = true, stickyColumn) => tw("text-
|
10525
|
+
var getBodyCellClassNames = (table = true, stickyColumn) => tw("text-default py-3", {
|
10510
10526
|
"h-[50px]": table,
|
10511
10527
|
"min-h-[50px]": !table,
|
10512
10528
|
"sticky z-10 bg-white group-hover:bg-grey-0": Boolean(stickyColumn),
|
@@ -10557,7 +10573,7 @@ var TableSelectCell = (_a) => {
|
|
10557
10573
|
};
|
10558
10574
|
var getSortCellButtonClassNames = (align) => tw("group flex items-center gap-x-4 text-grey-50", { "flex-row-reverse": align === "right" });
|
10559
10575
|
var getSortCellIconClassNames = (active) => {
|
10560
|
-
return tw("text-[9px]", active ? "text-
|
10576
|
+
return tw("text-[9px]", active ? "text-default" : "text-muted");
|
10561
10577
|
};
|
10562
10578
|
var TableSortCell = (_a) => {
|
10563
10579
|
var _b = _a, { children, direction = "none", onClick } = _b, rest = __objRest(_b, ["children", "direction", "onClick"]);
|
@@ -10828,7 +10844,7 @@ var DropdownMenu = import_react72.default.forwardRef(
|
|
10828
10844
|
return /* @__PURE__ */ import_react72.default.createElement("div", __spreadValues({
|
10829
10845
|
ref,
|
10830
10846
|
style: { minHeight, maxHeight, minWidth, maxWidth },
|
10831
|
-
className: classNames(className, "bg-white w-full flex flex-col overflow-x-hidden typography-small text-
|
10847
|
+
className: classNames(className, "bg-white w-full flex flex-col overflow-x-hidden typography-small text-default")
|
10832
10848
|
}, props), children);
|
10833
10849
|
}
|
10834
10850
|
);
|
@@ -10852,7 +10868,7 @@ var Group2 = import_react72.default.forwardRef(
|
|
10852
10868
|
return /* @__PURE__ */ import_react72.default.createElement("li", __spreadValues({
|
10853
10869
|
ref
|
10854
10870
|
}, props), title && /* @__PURE__ */ import_react72.default.createElement("div", __spreadValues({
|
10855
|
-
className: classNames(className, "p-3 text-
|
10871
|
+
className: classNames(className, "p-3 text-muted uppercase cursor-default typography-caption", {
|
10856
10872
|
"text-grey-20": props.disabled
|
10857
10873
|
})
|
10858
10874
|
}, titleProps), title), children);
|
@@ -12644,8 +12660,8 @@ var DropdownItem = (_a) => {
|
|
12644
12660
|
onKeyDown: handleKeyDown
|
12645
12661
|
}, props), {
|
12646
12662
|
className: tw("typography-small flex items-center focus:ring-0", {
|
12647
|
-
"text-
|
12648
|
-
"text-
|
12663
|
+
"text-default cursor-pointer hover:bg-grey-0": !disabled,
|
12664
|
+
"text-muted cursor-not-allowed": disabled,
|
12649
12665
|
"text-primary-70 hover:text-primary-80": color === "danger" && !disabled
|
12650
12666
|
})
|
12651
12667
|
}), tooltip ? /* @__PURE__ */ import_react88.default.createElement(Tooltip, {
|
@@ -13050,7 +13066,7 @@ var InputChip = import_react98.default.forwardRef(
|
|
13050
13066
|
icon: import_smallCross2.default,
|
13051
13067
|
className: tw({
|
13052
13068
|
"text-error-70": invalid,
|
13053
|
-
"text-
|
13069
|
+
"text-default": !invalid
|
13054
13070
|
})
|
13055
13071
|
})));
|
13056
13072
|
}
|
@@ -13567,7 +13583,7 @@ var NativeSelectBase = import_react101.default.forwardRef(
|
|
13567
13583
|
className: classNames("Aquarium-NativeSelectBase", tw("relative block"))
|
13568
13584
|
}, !readOnly && /* @__PURE__ */ import_react101.default.createElement("span", {
|
13569
13585
|
className: tw(
|
13570
|
-
"absolute right-0 inset-y-0 mr-4 text-
|
13586
|
+
"absolute right-0 inset-y-0 mr-4 text-muted flex ml-3 pointer-events-none typography-default-strong mt-4"
|
13571
13587
|
)
|
13572
13588
|
}, /* @__PURE__ */ import_react101.default.createElement(Icon, {
|
13573
13589
|
icon: import_caretDown2.default,
|
@@ -13581,9 +13597,9 @@ var NativeSelectBase = import_react101.default.forwardRef(
|
|
13581
13597
|
onBlur: handleBlur,
|
13582
13598
|
className: classNames(
|
13583
13599
|
tw(
|
13584
|
-
"block w-full rounded-sm appearance-none disabled:cursor-not-allowed typography-small text-
|
13600
|
+
"block w-full rounded-sm appearance-none disabled:cursor-not-allowed typography-small text-default placeholder:text-muted focus:outline-none",
|
13585
13601
|
{
|
13586
|
-
"px-3 py-3 disabled:border-grey-20 disabled:bg-grey-5 disabled:text-
|
13602
|
+
"px-3 py-3 disabled:border-grey-20 disabled:bg-grey-5 disabled:text-muted": !readOnly,
|
13587
13603
|
"px-0 py-3 border-none": readOnly,
|
13588
13604
|
"border border-error-50": !valid && !readOnly,
|
13589
13605
|
"border border-grey-20 hover:border-grey-50 focus:border-info-70": valid && !readOnly
|
@@ -13678,7 +13694,7 @@ var Section2 = (_a) => {
|
|
13678
13694
|
role: "presentation",
|
13679
13695
|
className: tw("py-5")
|
13680
13696
|
}, title && /* @__PURE__ */ import_react102.default.createElement("div", {
|
13681
|
-
className: classNames(className, "py-2 px-6 text-
|
13697
|
+
className: classNames(className, "py-2 px-6 text-muted uppercase cursor-default typography-caption")
|
13682
13698
|
}, title), /* @__PURE__ */ import_react102.default.createElement("ul", __spreadProps(__spreadValues({}, rest), {
|
13683
13699
|
role: "group",
|
13684
13700
|
className: classNames(tw("flex flex-col"), className)
|
@@ -13975,9 +13991,9 @@ ProgressBar.Labels = (_a) => {
|
|
13975
13991
|
return /* @__PURE__ */ import_react108.default.createElement("div", {
|
13976
13992
|
className: classNames(tw("flex flex-row"), className)
|
13977
13993
|
}, /* @__PURE__ */ import_react108.default.createElement("span", __spreadProps(__spreadValues({}, rest), {
|
13978
|
-
className: tw("grow text-
|
13994
|
+
className: tw("grow text-default typography-caption")
|
13979
13995
|
}), startLabel), /* @__PURE__ */ import_react108.default.createElement("span", __spreadProps(__spreadValues({}, rest), {
|
13980
|
-
className: tw("grow text-
|
13996
|
+
className: tw("grow text-default typography-caption text-right")
|
13981
13997
|
}), endLabel));
|
13982
13998
|
};
|
13983
13999
|
|
package/dist/system.mjs
CHANGED
@@ -772,6 +772,22 @@ var require_airplane = __commonJS({
|
|
772
772
|
}
|
773
773
|
});
|
774
774
|
|
775
|
+
// src/icons/aivenEnterprise.js
|
776
|
+
var require_aivenEnterprise = __commonJS({
|
777
|
+
"src/icons/aivenEnterprise.js"(exports) {
|
778
|
+
"use strict";
|
779
|
+
var data = {
|
780
|
+
"body": '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M20 15.3c0 1.512 0 2.268-.294 2.846a2.7 2.7 0 01-1.18 1.18c-.578.294-1.334.294-2.846.294H6.32c-1.512 0-2.268 0-2.846-.294a2.7 2.7 0 01-1.18-1.18C2 17.568 2 16.812 2 15.3m10.36-2.743c0-.24 0-.36.047-.452a.428.428 0 01.187-.187c.092-.047.212-.047.452-.047h2.057c.24 0 .36 0 .452.047.08.041.146.107.187.187.047.092.047.212.047.452v2.057c0 .24 0 .36-.047.452a.429.429 0 01-.187.187c-.092.047-.212.047-.452.047h-2.057c-.24 0-.36 0-.452-.047a.428.428 0 01-.187-.187c-.047-.092-.047-.212-.047-.452v-2.057Zm-6.15 0c0-.24 0-.36.047-.452a.429.429 0 01.187-.187c.092-.047.212-.047.452-.047h2.057c.24 0 .36 0 .452.047.08.041.146.107.187.187.047.092.047.212.047.452v2.057c0 .24 0 .36-.047.452a.429.429 0 01-.187.187c-.092.047-.212.047-.452.047H6.896c-.24 0-.36 0-.452-.047a.429.429 0 01-.187-.187c-.047-.092-.047-.212-.047-.452v-2.057Zm6.15-6.714c0-.24 0-.36.047-.452a.428.428 0 01.187-.187c.092-.047.212-.047.452-.047h2.057c.24 0 .36 0 .452.047.08.04.146.106.187.187.047.092.047.212.047.452V7.9c0 .24 0 .36-.047.452a.428.428 0 01-.187.187c-.092.047-.212.047-.452.047h-2.057c-.24 0-.36 0-.452-.047a.428.428 0 01-.187-.187c-.047-.092-.047-.212-.047-.452V5.843ZM3.3 3.557c0-.44 0-.66.086-.828a.786.786 0 01.343-.343c.168-.086.388-.086.828-.086H8.33c.44 0 .66 0 .828.086a.786.786 0 01.343.343c.086.168.086.388.086.828V7.33c0 .44 0 .66-.086.828a.786.786 0 01-.343.343c-.168.086-.388.086-.828.086H4.557c-.44 0-.66 0-.828-.086a.786.786 0 01-.343-.343C3.3 7.989 3.3 7.769 3.3 7.329V3.557Z"/>',
|
781
|
+
"left": 0,
|
782
|
+
"top": 0,
|
783
|
+
"width": 22,
|
784
|
+
"height": 22
|
785
|
+
};
|
786
|
+
exports.__esModule = true;
|
787
|
+
exports.default = data;
|
788
|
+
}
|
789
|
+
});
|
790
|
+
|
775
791
|
// src/icons/alignCenter.js
|
776
792
|
var require_alignCenter = __commonJS({
|
777
793
|
"src/icons/alignCenter.js"(exports) {
|
@@ -4876,9 +4892,9 @@ var Input = React2.forwardRef((_a, ref) => {
|
|
4876
4892
|
type: "text",
|
4877
4893
|
className: classNames(
|
4878
4894
|
className,
|
4879
|
-
"grow rounded border-0 focus:outline-none px-[1px] my-1 min-w-0 typography-small disabled:cursor-not-allowed disabled:bg-grey-5 placeholder:text-
|
4895
|
+
"grow rounded border-0 focus:outline-none px-[1px] my-1 min-w-0 typography-small disabled:cursor-not-allowed disabled:bg-grey-5 placeholder:text-muted",
|
4880
4896
|
{
|
4881
|
-
"text-
|
4897
|
+
"text-default": !props.disabled,
|
4882
4898
|
"text-grey-30": props.disabled,
|
4883
4899
|
"cursor-default": props.readOnly
|
4884
4900
|
}
|
@@ -4901,7 +4917,7 @@ var NoResults = React2.forwardRef(
|
|
4901
4917
|
return /* @__PURE__ */ React2.createElement("li", __spreadProps(__spreadValues({
|
4902
4918
|
ref
|
4903
4919
|
}, rest), {
|
4904
|
-
className: classNames(tw("p-3 text-
|
4920
|
+
className: classNames(tw("p-3 text-muted italic typography-small"), className)
|
4905
4921
|
}), children);
|
4906
4922
|
}
|
4907
4923
|
);
|
@@ -4921,7 +4937,7 @@ var Group = React2.forwardRef((_a, ref) => {
|
|
4921
4937
|
ref,
|
4922
4938
|
className: classNames(
|
4923
4939
|
className,
|
4924
|
-
"flex items-center gap-x-3 p-3 text-
|
4940
|
+
"flex items-center gap-x-3 p-3 text-muted uppercase cursor-default typography-caption mt-4 first:mt-0",
|
4925
4941
|
{
|
4926
4942
|
"text-grey-20": props.disabled
|
4927
4943
|
}
|
@@ -5372,9 +5388,9 @@ var tailwind_theme_default = {
|
|
5372
5388
|
"primary-5": "var(--aquarium-colors-primary-5, #f3f6ff)",
|
5373
5389
|
"primary-0": "var(--aquarium-colors-primary-0, #ffffff)",
|
5374
5390
|
transparent: "var(--aquarium-colors-transparent, transparent)",
|
5391
|
+
current: "var(--aquarium-colors-current, currentColor)",
|
5375
5392
|
white: "var(--aquarium-colors-white, white)",
|
5376
|
-
black: "var(--aquarium-colors-black, black)"
|
5377
|
-
current: "var(--aquarium-colors-current, currentColor)"
|
5393
|
+
black: "var(--aquarium-colors-black, black)"
|
5378
5394
|
},
|
5379
5395
|
gap: {
|
5380
5396
|
"0": "0",
|
@@ -5875,6 +5891,7 @@ Toast.Dismiss = Dismiss;
|
|
5875
5891
|
var import_addToFolder = __toESM(require_addToFolder());
|
5876
5892
|
var import_add = __toESM(require_add());
|
5877
5893
|
var import_airplane = __toESM(require_airplane());
|
5894
|
+
var import_aivenEnterprise = __toESM(require_aivenEnterprise());
|
5878
5895
|
var import_alignCenter = __toESM(require_alignCenter());
|
5879
5896
|
var import_alignJustify = __toESM(require_alignJustify());
|
5880
5897
|
var import_alignLeft = __toESM(require_alignLeft());
|
@@ -6719,7 +6736,7 @@ var Arrow = (props) => {
|
|
6719
6736
|
|
6720
6737
|
// src/utils/constants.ts
|
6721
6738
|
var getCommonInputStyles = ({ readOnly, valid }) => tw(
|
6722
|
-
"block w-full rounded-sm disabled:cursor-not-allowed disabled:border-grey-20 disabled:bg-grey-5 typography-small text-
|
6739
|
+
"block w-full rounded-sm disabled:cursor-not-allowed disabled:border-grey-20 disabled:bg-grey-5 typography-small text-default disabled:text-muted placeholder:text-muted focus:outline-none",
|
6723
6740
|
{
|
6724
6741
|
"px-3 py-3": !readOnly,
|
6725
6742
|
"border-none resize-none cursor-default": readOnly,
|
@@ -6858,7 +6875,7 @@ var asButton = (Component, isDropdownButton) => {
|
|
6858
6875
|
tw(
|
6859
6876
|
"inline-block border-0 rounded-sm transition whitespace-nowrap focus:outline-none relative text-center",
|
6860
6877
|
{
|
6861
|
-
"text-
|
6878
|
+
"text-default p-2 active:text-default active:bg-transparent hover:text-grey-90 hover:bg-grey-0 focus-visible:text-grey-90 focus-visible:bg-grey-0 disabled:text-muted disabled:bg-transparent": isIconOnlyButton,
|
6862
6879
|
"typography-default-strong": !dense && !isIconOnlyButton && kind !== "text",
|
6863
6880
|
"typography-small-strong": dense && !isIconOnlyButton && kind !== "text",
|
6864
6881
|
"py-3 px-4": !dense && isButton,
|
@@ -7790,7 +7807,7 @@ var getStatusClassNames = (status = "neutral") => {
|
|
7790
7807
|
return tw("text-success-100 bg-success-5");
|
7791
7808
|
case "neutral":
|
7792
7809
|
default:
|
7793
|
-
return tw("text-
|
7810
|
+
return tw("text-default bg-grey-5");
|
7794
7811
|
}
|
7795
7812
|
};
|
7796
7813
|
var Chip2 = (_a) => {
|
@@ -7814,8 +7831,8 @@ var Chip2 = (_a) => {
|
|
7814
7831
|
className: classNames5(
|
7815
7832
|
"Aquarium-Chip",
|
7816
7833
|
tw({
|
7817
|
-
"bg-grey-0 text-
|
7818
|
-
"bg-grey-5 text-
|
7834
|
+
"bg-grey-0 text-default": !locked,
|
7835
|
+
"bg-grey-5 text-muted": locked
|
7819
7836
|
})
|
7820
7837
|
)
|
7821
7838
|
}, rest), icon && /* @__PURE__ */ React27.createElement(InlineIcon, {
|
@@ -8282,13 +8299,12 @@ var CompactCard = ({
|
|
8282
8299
|
modality: isFocusVisible ? "keyboard" : "pointer"
|
8283
8300
|
}), commonContent);
|
8284
8301
|
}
|
8285
|
-
return /* @__PURE__ */ React36.createElement(Card, __spreadProps(__spreadValues({
|
8302
|
+
return /* @__PURE__ */ React36.createElement(Card, __spreadValues(__spreadProps(__spreadValues({
|
8286
8303
|
ref,
|
8287
8304
|
className: "Aquarium-Card.Compact"
|
8288
8305
|
}, onClick ? buttonProps : {}), {
|
8289
|
-
role: onClick ? "button" : void 0
|
8290
|
-
|
8291
|
-
}), commonContent, (primaryAction || secondaryAction) && /* @__PURE__ */ React36.createElement(Card.Actions, {
|
8306
|
+
role: onClick ? "button" : void 0
|
8307
|
+
}), commonProps), commonContent, (primaryAction || secondaryAction) && /* @__PURE__ */ React36.createElement(Card.Actions, {
|
8292
8308
|
dense: true
|
8293
8309
|
}, primaryAction && renderAction({ kind: "secondary", dense: true, action: primaryAction }), secondaryAction && renderAction({ kind: "ghost", dense: true, action: secondaryAction })));
|
8294
8310
|
};
|
@@ -8628,7 +8644,7 @@ var ControlLabel = (_a) => {
|
|
8628
8644
|
"style",
|
8629
8645
|
"className"
|
8630
8646
|
]);
|
8631
|
-
const textClass = disabled ? "text-
|
8647
|
+
const textClass = disabled ? "text-muted" : "text-default";
|
8632
8648
|
const rtl = labelPlacement === "left";
|
8633
8649
|
const labelEl = label && /* @__PURE__ */ React39.createElement("span", {
|
8634
8650
|
className: tw("typography-small self-center", { "text-right": rtl })
|
@@ -8950,9 +8966,9 @@ var LabelText = ({
|
|
8950
8966
|
className: tw("block mb-2")
|
8951
8967
|
}, /* @__PURE__ */ React46.createElement("span", {
|
8952
8968
|
className: tw("inline-flex items-center typography-small-strong", {
|
8953
|
-
"text-
|
8969
|
+
"text-default": variant === "default",
|
8954
8970
|
"text-error-50": variant === "error",
|
8955
|
-
"text-
|
8971
|
+
"text-muted": variant === "disabled"
|
8956
8972
|
})
|
8957
8973
|
}, labelText, required && /* @__PURE__ */ React46.createElement("span", {
|
8958
8974
|
className: tw("text-error-50")
|
@@ -8961,7 +8977,7 @@ var LabelText = ({
|
|
8961
8977
|
placement: helpTooltipPlacement
|
8962
8978
|
}, /* @__PURE__ */ React46.createElement("span", {
|
8963
8979
|
tabIndex: 0,
|
8964
|
-
className: tw("text-
|
8980
|
+
className: tw("text-muted flex items-center cursor-pointer ml-2")
|
8965
8981
|
}, /* @__PURE__ */ React46.createElement(InlineIcon, {
|
8966
8982
|
icon: import_questionMark2.default,
|
8967
8983
|
"data-testid": "icon-info"
|
@@ -9705,7 +9721,7 @@ var InputAdornment = ({
|
|
9705
9721
|
children
|
9706
9722
|
}) => {
|
9707
9723
|
return /* @__PURE__ */ React56.createElement("span", {
|
9708
|
-
className: classNames(className, "absolute inset-y-0 grow-0 text-
|
9724
|
+
className: classNames(className, "absolute inset-y-0 grow-0 text-muted flex items-center mx-3", {
|
9709
9725
|
"right-0": placement === "right",
|
9710
9726
|
"left-0": placement === "left",
|
9711
9727
|
"typography-small": dense,
|
@@ -10358,7 +10374,7 @@ var TableRow = (_a) => {
|
|
10358
10374
|
}), children);
|
10359
10375
|
};
|
10360
10376
|
var cellClassNames = tw("px-4 border-b typography-small leading-[18px]");
|
10361
|
-
var getBodyCellClassNames = (table = true, stickyColumn) => tw("text-
|
10377
|
+
var getBodyCellClassNames = (table = true, stickyColumn) => tw("text-default py-3", {
|
10362
10378
|
"h-[50px]": table,
|
10363
10379
|
"min-h-[50px]": !table,
|
10364
10380
|
"sticky z-10 bg-white group-hover:bg-grey-0": Boolean(stickyColumn),
|
@@ -10409,7 +10425,7 @@ var TableSelectCell = (_a) => {
|
|
10409
10425
|
};
|
10410
10426
|
var getSortCellButtonClassNames = (align) => tw("group flex items-center gap-x-4 text-grey-50", { "flex-row-reverse": align === "right" });
|
10411
10427
|
var getSortCellIconClassNames = (active) => {
|
10412
|
-
return tw("text-[9px]", active ? "text-
|
10428
|
+
return tw("text-[9px]", active ? "text-default" : "text-muted");
|
10413
10429
|
};
|
10414
10430
|
var TableSortCell = (_a) => {
|
10415
10431
|
var _b = _a, { children, direction = "none", onClick } = _b, rest = __objRest(_b, ["children", "direction", "onClick"]);
|
@@ -10680,7 +10696,7 @@ var DropdownMenu = React65.forwardRef(
|
|
10680
10696
|
return /* @__PURE__ */ React65.createElement("div", __spreadValues({
|
10681
10697
|
ref,
|
10682
10698
|
style: { minHeight, maxHeight, minWidth, maxWidth },
|
10683
|
-
className: classNames(className, "bg-white w-full flex flex-col overflow-x-hidden typography-small text-
|
10699
|
+
className: classNames(className, "bg-white w-full flex flex-col overflow-x-hidden typography-small text-default")
|
10684
10700
|
}, props), children);
|
10685
10701
|
}
|
10686
10702
|
);
|
@@ -10704,7 +10720,7 @@ var Group2 = React65.forwardRef(
|
|
10704
10720
|
return /* @__PURE__ */ React65.createElement("li", __spreadValues({
|
10705
10721
|
ref
|
10706
10722
|
}, props), title && /* @__PURE__ */ React65.createElement("div", __spreadValues({
|
10707
|
-
className: classNames(className, "p-3 text-
|
10723
|
+
className: classNames(className, "p-3 text-muted uppercase cursor-default typography-caption", {
|
10708
10724
|
"text-grey-20": props.disabled
|
10709
10725
|
})
|
10710
10726
|
}, titleProps), title), children);
|
@@ -12496,8 +12512,8 @@ var DropdownItem = (_a) => {
|
|
12496
12512
|
onKeyDown: handleKeyDown
|
12497
12513
|
}, props), {
|
12498
12514
|
className: tw("typography-small flex items-center focus:ring-0", {
|
12499
|
-
"text-
|
12500
|
-
"text-
|
12515
|
+
"text-default cursor-pointer hover:bg-grey-0": !disabled,
|
12516
|
+
"text-muted cursor-not-allowed": disabled,
|
12501
12517
|
"text-primary-70 hover:text-primary-80": color === "danger" && !disabled
|
12502
12518
|
})
|
12503
12519
|
}), tooltip ? /* @__PURE__ */ React80.createElement(Tooltip, {
|
@@ -12902,7 +12918,7 @@ var InputChip = React90.forwardRef(
|
|
12902
12918
|
icon: import_smallCross2.default,
|
12903
12919
|
className: tw({
|
12904
12920
|
"text-error-70": invalid,
|
12905
|
-
"text-
|
12921
|
+
"text-default": !invalid
|
12906
12922
|
})
|
12907
12923
|
})));
|
12908
12924
|
}
|
@@ -13419,7 +13435,7 @@ var NativeSelectBase = React93.forwardRef(
|
|
13419
13435
|
className: classNames("Aquarium-NativeSelectBase", tw("relative block"))
|
13420
13436
|
}, !readOnly && /* @__PURE__ */ React93.createElement("span", {
|
13421
13437
|
className: tw(
|
13422
|
-
"absolute right-0 inset-y-0 mr-4 text-
|
13438
|
+
"absolute right-0 inset-y-0 mr-4 text-muted flex ml-3 pointer-events-none typography-default-strong mt-4"
|
13423
13439
|
)
|
13424
13440
|
}, /* @__PURE__ */ React93.createElement(Icon, {
|
13425
13441
|
icon: import_caretDown2.default,
|
@@ -13433,9 +13449,9 @@ var NativeSelectBase = React93.forwardRef(
|
|
13433
13449
|
onBlur: handleBlur,
|
13434
13450
|
className: classNames(
|
13435
13451
|
tw(
|
13436
|
-
"block w-full rounded-sm appearance-none disabled:cursor-not-allowed typography-small text-
|
13452
|
+
"block w-full rounded-sm appearance-none disabled:cursor-not-allowed typography-small text-default placeholder:text-muted focus:outline-none",
|
13437
13453
|
{
|
13438
|
-
"px-3 py-3 disabled:border-grey-20 disabled:bg-grey-5 disabled:text-
|
13454
|
+
"px-3 py-3 disabled:border-grey-20 disabled:bg-grey-5 disabled:text-muted": !readOnly,
|
13439
13455
|
"px-0 py-3 border-none": readOnly,
|
13440
13456
|
"border border-error-50": !valid && !readOnly,
|
13441
13457
|
"border border-grey-20 hover:border-grey-50 focus:border-info-70": valid && !readOnly
|
@@ -13530,7 +13546,7 @@ var Section2 = (_a) => {
|
|
13530
13546
|
role: "presentation",
|
13531
13547
|
className: tw("py-5")
|
13532
13548
|
}, title && /* @__PURE__ */ React94.createElement("div", {
|
13533
|
-
className: classNames(className, "py-2 px-6 text-
|
13549
|
+
className: classNames(className, "py-2 px-6 text-muted uppercase cursor-default typography-caption")
|
13534
13550
|
}, title), /* @__PURE__ */ React94.createElement("ul", __spreadProps(__spreadValues({}, rest), {
|
13535
13551
|
role: "group",
|
13536
13552
|
className: classNames(tw("flex flex-col"), className)
|
@@ -13827,9 +13843,9 @@ ProgressBar.Labels = (_a) => {
|
|
13827
13843
|
return /* @__PURE__ */ React100.createElement("div", {
|
13828
13844
|
className: classNames(tw("flex flex-row"), className)
|
13829
13845
|
}, /* @__PURE__ */ React100.createElement("span", __spreadProps(__spreadValues({}, rest), {
|
13830
|
-
className: tw("grow text-
|
13846
|
+
className: tw("grow text-default typography-caption")
|
13831
13847
|
}), startLabel), /* @__PURE__ */ React100.createElement("span", __spreadProps(__spreadValues({}, rest), {
|
13832
|
-
className: tw("grow text-
|
13848
|
+
className: tw("grow text-default typography-caption text-right")
|
13833
13849
|
}), endLabel));
|
13834
13850
|
};
|
13835
13851
|
|