@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.
- package/dist/_variables.scss +19 -0
- package/dist/atoms.cjs +103 -49
- package/dist/atoms.mjs +103 -49
- package/dist/charts.cjs +31 -4
- package/dist/charts.mjs +31 -4
- package/dist/src/atoms/Button/Button.js +7 -7
- package/dist/src/atoms/Checkbox/Checkbox.js +1 -1
- package/dist/src/atoms/DatePicker/Calendar.js +3 -3
- package/dist/src/atoms/DatePicker/RangeCalendar.js +6 -6
- package/dist/src/atoms/DropdownMenu/DropdownMenu.js +3 -3
- package/dist/src/atoms/Filter/Filter.js +2 -2
- package/dist/src/atoms/Modal/Modal.js +4 -4
- package/dist/src/atoms/Navigation/Navigation.js +3 -3
- package/dist/src/atoms/Popover/Popover.d.ts +1 -1
- package/dist/src/atoms/Popover/Popover.js +2 -2
- package/dist/src/atoms/RadioButton/RadioButton.js +1 -1
- package/dist/src/atoms/Select/Select.js +4 -4
- package/dist/src/atoms/Skeleton/Skeleton.js +2 -2
- package/dist/src/atoms/Stepper/Stepper.js +2 -2
- package/dist/src/atoms/Switch/Switch.js +3 -3
- package/dist/src/atoms/Timeline/Timeline.js +2 -2
- package/dist/src/atoms/Toast/Toast.js +2 -2
- package/dist/src/atoms/utils/index.js +2 -2
- package/dist/src/molecules/Chip/Chip.js +2 -2
- package/dist/src/molecules/Drawer/Drawer.js +1 -1
- package/dist/src/molecules/Dropdown/Dropdown.js +2 -2
- package/dist/src/molecules/ListItem/ListItem.js +2 -2
- package/dist/src/molecules/MultiInput/InputChip.js +2 -2
- package/dist/src/molecules/NativeSelect/NativeSelect.js +2 -2
- package/dist/src/molecules/TagLabel/TagLabel.js +3 -3
- package/dist/src/molecules/Tooltip/Tooltip.js +3 -3
- package/dist/src/tokens/tokens.json +31 -4
- package/dist/src/utils/constants.js +2 -2
- package/dist/styles.css +198 -84
- package/dist/system.cjs +107 -53
- package/dist/system.mjs +107 -53
- package/dist/tailwind.theme.json +31 -4
- package/dist/tokens.json +31 -4
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/_variables.scss
CHANGED
|
@@ -211,28 +211,42 @@ $font-size-8xl: 6rem;
|
|
|
211
211
|
$font-size-9xl-line-height: 1;
|
|
212
212
|
$font-size-9xl: 8rem;
|
|
213
213
|
$background-color-body: $colors-white;
|
|
214
|
+
$background-color-layer: $colors-white;
|
|
214
215
|
$background-color-body-intense: $colors-grey-80;
|
|
216
|
+
$background-color-inverse: $colors-grey-80;
|
|
217
|
+
$background-color-overlay: $colors-white;
|
|
215
218
|
$background-color-popover-content: $colors-white;
|
|
216
219
|
$background-color-muted: $colors-grey-0;
|
|
217
220
|
$background-color-default: $colors-grey-5;
|
|
221
|
+
$background-color-medium: $colors-grey-5;
|
|
218
222
|
$background-color-intense: $colors-grey-20;
|
|
219
223
|
$background-color-primary-muted: $colors-primary-40;
|
|
220
224
|
$background-color-primary-default: $colors-primary-80;
|
|
225
|
+
$background-color-primary-graphic: $colors-primary-80;
|
|
221
226
|
$background-color-primary-intense: $colors-primary-90;
|
|
227
|
+
$background-color-primary-inverse: $colors-primary-90;
|
|
222
228
|
$background-color-primary-active: $colors-primary-5;
|
|
223
229
|
$background-color-primary-hover: $colors-primary-5;
|
|
230
|
+
$background-color-action-primary-button-default: $colors-primary-80;
|
|
231
|
+
$background-color-action-primary-button-active: $colors-primary-5;
|
|
232
|
+
$background-color-action-primary-button-hover: $colors-primary-90;
|
|
233
|
+
$background-color-action-primary-button-disabled: $colors-primary-40;
|
|
224
234
|
$background-color-info-muted: $colors-info-10;
|
|
225
235
|
$background-color-info-default: $colors-info-70;
|
|
226
236
|
$background-color-info-intense: $colors-info-90;
|
|
237
|
+
$background-color-info-inverse: $colors-info-70;
|
|
227
238
|
$background-color-success-muted: $colors-success-5;
|
|
228
239
|
$background-color-success-default: $colors-success-70;
|
|
229
240
|
$background-color-success-intense: $colors-success-90;
|
|
241
|
+
$background-color-success-inverse: $colors-success-70;
|
|
230
242
|
$background-color-warning-muted: $colors-warning-5;
|
|
231
243
|
$background-color-warning-default: $colors-warning-70;
|
|
232
244
|
$background-color-warning-intense: $colors-warning-90;
|
|
245
|
+
$background-color-warning-inverse: $colors-warning-70;
|
|
233
246
|
$background-color-danger-muted: $colors-error-10;
|
|
234
247
|
$background-color-danger-default: $colors-error-20;
|
|
235
248
|
$background-color-danger-intense: $colors-error-50;
|
|
249
|
+
$background-color-danger-inverse: $colors-error-70;
|
|
236
250
|
$background-color-status-announcement: $colors-primary-5;
|
|
237
251
|
$background-color-status-info: $colors-info-10;
|
|
238
252
|
$background-color-status-warning: $colors-warning-5;
|
|
@@ -244,6 +258,11 @@ $border-color-intense: $colors-grey-50;
|
|
|
244
258
|
$border-color-primary-muted: $colors-primary-60;
|
|
245
259
|
$border-color-primary-default: $colors-primary-80;
|
|
246
260
|
$border-color-primary-intense: $colors-primary-100;
|
|
261
|
+
$border-color-action-focus: $colors-primary-80;
|
|
262
|
+
$border-color-action-secondary-button-default: $colors-primary-80;
|
|
263
|
+
$border-color-action-secondary-button-active: $colors-primary-5;
|
|
264
|
+
$border-color-action-secondary-button-hover: $colors-primary-5;
|
|
265
|
+
$border-color-action-secondary-button-disabled: $colors-primary-60;
|
|
247
266
|
$border-color-info-muted: $colors-info-50;
|
|
248
267
|
$border-color-info-default: $colors-info-70;
|
|
249
268
|
$border-color-info-intense: $colors-info-90;
|
package/dist/atoms.cjs
CHANGED
|
@@ -4579,7 +4579,7 @@ var TooltipWrapper = import_react2.default.forwardRef(
|
|
|
4579
4579
|
"div",
|
|
4580
4580
|
{
|
|
4581
4581
|
ref,
|
|
4582
|
-
className: "Aquarium-Tooltip p-3 rounded-sm typography-caption max-w-[320px] bg-
|
|
4582
|
+
className: "Aquarium-Tooltip p-3 rounded-sm typography-caption max-w-[320px] bg-inverse text-opposite-default",
|
|
4583
4583
|
...(0, import_utils.mergeProps)(props, tooltipProps)
|
|
4584
4584
|
},
|
|
4585
4585
|
props.children,
|
|
@@ -4619,7 +4619,7 @@ var getArrowStyle = (element, position, { left, top }) => {
|
|
|
4619
4619
|
return { left, top };
|
|
4620
4620
|
};
|
|
4621
4621
|
var Arrow = (props) => {
|
|
4622
|
-
return /* @__PURE__ */ import_react2.default.createElement("div", { className: "absolute w-3 h-3 bg-
|
|
4622
|
+
return /* @__PURE__ */ import_react2.default.createElement("div", { className: "absolute w-3 h-3 bg-inverse rotate-45", ...props });
|
|
4623
4623
|
};
|
|
4624
4624
|
|
|
4625
4625
|
// src/atoms/Button/Button.tsx
|
|
@@ -4901,7 +4901,7 @@ var import_warningSign = __toESM(require_warningSign());
|
|
|
4901
4901
|
var import_clsx = require("clsx");
|
|
4902
4902
|
var import_tailwind_variants = require("tailwind-variants");
|
|
4903
4903
|
var getCommonInputStyles = ({ readOnly, valid }) => (0, import_clsx.clsx)(
|
|
4904
|
-
"block w-full rounded-sm disabled:cursor-not-allowed disabled:border-default disabled:bg-
|
|
4904
|
+
"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",
|
|
4905
4905
|
{
|
|
4906
4906
|
"px-3 py-3 bg-transparent": !readOnly,
|
|
4907
4907
|
"border-none resize-none cursor-default bg-transparent": readOnly,
|
|
@@ -4923,14 +4923,14 @@ var buttonStateClasses = (0, import_tailwind_variants2.tv)({
|
|
|
4923
4923
|
variants: {
|
|
4924
4924
|
kind: {
|
|
4925
4925
|
primary: [
|
|
4926
|
-
"active:text-white active:bg-primary-active",
|
|
4927
|
-
"hover:bg-primary-
|
|
4928
|
-
"disabled:text-white disabled:bg-primary-
|
|
4926
|
+
"active:text-white active:bg-action-primary-button-active",
|
|
4927
|
+
"hover:bg-action-primary-button-hover",
|
|
4928
|
+
"disabled:text-white disabled:bg-action-primary-button-disabled"
|
|
4929
4929
|
],
|
|
4930
4930
|
secondary: [
|
|
4931
4931
|
"active:bg-primary-active active:text-primary-active",
|
|
4932
4932
|
"hover:bg-primary-hover",
|
|
4933
|
-
"before:disabled:border-
|
|
4933
|
+
"before:disabled:border-action-secondary-button-disabled"
|
|
4934
4934
|
],
|
|
4935
4935
|
ghost: ["hover:text-primary-active"],
|
|
4936
4936
|
text: interactiveTextStyles(),
|
|
@@ -4949,8 +4949,8 @@ var buttonClasses = (0, import_tailwind_variants2.tv)({
|
|
|
4949
4949
|
base: "Aquarium-Button whitespace-nowrap transition text-center text-primary-intense rounded-sm relative px-4 py-3 inline-flex gap-3 items-center justify-center",
|
|
4950
4950
|
variants: {
|
|
4951
4951
|
kind: {
|
|
4952
|
-
primary: "Aquarium-Button.Primary text-white bg-primary-default icon-stroke-2",
|
|
4953
|
-
secondary: "Aquarium-Button.Secondary bg-transparent before:absolute before:inset-0 before:border before:border-
|
|
4952
|
+
primary: "Aquarium-Button.Primary text-white bg-action-primary-button-default icon-stroke-2",
|
|
4953
|
+
secondary: "Aquarium-Button.Secondary bg-transparent before:absolute before:inset-0 before:border before:border-action-secondary-button-default before:rounded-sm icon-stroke-2",
|
|
4954
4954
|
ghost: "Aquarium-Button.Ghost px-0 icon-stroke-2",
|
|
4955
4955
|
text: "Aquarium-Button.Text px-0 py-0 icon-stroke-2",
|
|
4956
4956
|
icon: "Aquarium-Button.Icon px-2 py-2 text-default"
|
|
@@ -5121,37 +5121,55 @@ var tokens_default = {
|
|
|
5121
5121
|
},
|
|
5122
5122
|
backgroundColor: {
|
|
5123
5123
|
body: "white",
|
|
5124
|
+
layer: "white",
|
|
5124
5125
|
"body-intense": "rgba(58,58,68,1)",
|
|
5126
|
+
inverse: "rgba(58,58,68,1)",
|
|
5127
|
+
overlay: "white",
|
|
5125
5128
|
"popover-content": "white",
|
|
5126
5129
|
muted: "rgba(247,247,250,1)",
|
|
5127
5130
|
default: "rgba(237,237,240,1)",
|
|
5131
|
+
medium: "rgba(237,237,240,1)",
|
|
5128
5132
|
intense: "rgba(210,210,214,1)",
|
|
5129
5133
|
primary: {
|
|
5130
5134
|
muted: "rgba(185,197,239,1)",
|
|
5131
5135
|
default: "rgba(53,69,190,1)",
|
|
5136
|
+
graphic: "rgba(53,69,190,1)",
|
|
5132
5137
|
intense: "rgba(34,47,149,1)",
|
|
5138
|
+
inverse: "rgba(34,47,149,1)",
|
|
5133
5139
|
active: "rgba(243,246,255,1)",
|
|
5134
5140
|
hover: "rgba(243,246,255,1)"
|
|
5135
5141
|
},
|
|
5142
|
+
action: {
|
|
5143
|
+
"primary-button": {
|
|
5144
|
+
default: "rgba(53,69,190,1)",
|
|
5145
|
+
active: "rgba(243,246,255,1)",
|
|
5146
|
+
hover: "rgba(34,47,149,1)",
|
|
5147
|
+
disabled: "rgba(185,197,239,1)"
|
|
5148
|
+
}
|
|
5149
|
+
},
|
|
5136
5150
|
info: {
|
|
5137
5151
|
muted: "rgba(224,245,254,1)",
|
|
5138
5152
|
default: "rgba(3,153,227,1)",
|
|
5139
|
-
intense: "rgba(1,116,186,1)"
|
|
5153
|
+
intense: "rgba(1,116,186,1)",
|
|
5154
|
+
inverse: "rgba(3,153,227,1)"
|
|
5140
5155
|
},
|
|
5141
5156
|
success: {
|
|
5142
5157
|
muted: "rgba(236,247,237,1)",
|
|
5143
5158
|
default: "rgba(0,179,0,1)",
|
|
5144
|
-
intense: "rgba(0,142,0,1)"
|
|
5159
|
+
intense: "rgba(0,142,0,1)",
|
|
5160
|
+
inverse: "rgba(0,179,0,1)"
|
|
5145
5161
|
},
|
|
5146
5162
|
warning: {
|
|
5147
5163
|
muted: "rgba(255,248,234,1)",
|
|
5148
5164
|
default: "rgba(255,179,0,1)",
|
|
5149
|
-
intense: "rgba(255,144,3,1)"
|
|
5165
|
+
intense: "rgba(255,144,3,1)",
|
|
5166
|
+
inverse: "rgba(255,179,0,1)"
|
|
5150
5167
|
},
|
|
5151
5168
|
danger: {
|
|
5152
5169
|
muted: "rgba(255,203,210,1)",
|
|
5153
5170
|
default: "rgba(255,173,179,1)",
|
|
5154
|
-
intense: "rgba(230,39,40,1)"
|
|
5171
|
+
intense: "rgba(230,39,40,1)",
|
|
5172
|
+
inverse: "rgba(216,0,5,1)"
|
|
5155
5173
|
},
|
|
5156
5174
|
status: {
|
|
5157
5175
|
announcement: "rgba(243,246,255,1)",
|
|
@@ -5173,6 +5191,15 @@ var tokens_default = {
|
|
|
5173
5191
|
default: "rgba(53,69,190,1)",
|
|
5174
5192
|
intense: "rgba(14,22,82,1)"
|
|
5175
5193
|
},
|
|
5194
|
+
action: {
|
|
5195
|
+
focus: "rgba(53,69,190,1)",
|
|
5196
|
+
"secondary-button": {
|
|
5197
|
+
default: "rgba(53,69,190,1)",
|
|
5198
|
+
active: "rgba(243,246,255,1)",
|
|
5199
|
+
hover: "rgba(243,246,255,1)",
|
|
5200
|
+
disabled: "rgba(129,142,236,1)"
|
|
5201
|
+
}
|
|
5202
|
+
},
|
|
5176
5203
|
info: {
|
|
5177
5204
|
muted: "rgba(40,180,244,1)",
|
|
5178
5205
|
default: "rgba(3,153,227,1)",
|
|
@@ -6013,7 +6040,8 @@ var tailwind_theme_default = {
|
|
|
6013
6040
|
"100": "var(--aquarium-colors-warning-100)",
|
|
6014
6041
|
muted: "var(--aquarium-background-color-warning-muted)",
|
|
6015
6042
|
default: "var(--aquarium-background-color-warning-default)",
|
|
6016
|
-
intense: "var(--aquarium-background-color-warning-intense)"
|
|
6043
|
+
intense: "var(--aquarium-background-color-warning-intense)",
|
|
6044
|
+
inverse: "var(--aquarium-background-color-warning-inverse)"
|
|
6017
6045
|
},
|
|
6018
6046
|
success: {
|
|
6019
6047
|
"0": "var(--aquarium-colors-success-0)",
|
|
@@ -6030,7 +6058,8 @@ var tailwind_theme_default = {
|
|
|
6030
6058
|
"100": "var(--aquarium-colors-success-100)",
|
|
6031
6059
|
muted: "var(--aquarium-background-color-success-muted)",
|
|
6032
6060
|
default: "var(--aquarium-background-color-success-default)",
|
|
6033
|
-
intense: "var(--aquarium-background-color-success-intense)"
|
|
6061
|
+
intense: "var(--aquarium-background-color-success-intense)",
|
|
6062
|
+
inverse: "var(--aquarium-background-color-success-inverse)"
|
|
6034
6063
|
},
|
|
6035
6064
|
info: {
|
|
6036
6065
|
"0": "var(--aquarium-colors-info-0)",
|
|
@@ -6047,7 +6076,8 @@ var tailwind_theme_default = {
|
|
|
6047
6076
|
"100": "var(--aquarium-colors-info-100)",
|
|
6048
6077
|
muted: "var(--aquarium-background-color-info-muted)",
|
|
6049
6078
|
default: "var(--aquarium-background-color-info-default)",
|
|
6050
|
-
intense: "var(--aquarium-background-color-info-intense)"
|
|
6079
|
+
intense: "var(--aquarium-background-color-info-intense)",
|
|
6080
|
+
inverse: "var(--aquarium-background-color-info-inverse)"
|
|
6051
6081
|
},
|
|
6052
6082
|
grey: {
|
|
6053
6083
|
"0": "var(--aquarium-colors-grey-0)",
|
|
@@ -6092,20 +6122,35 @@ var tailwind_theme_default = {
|
|
|
6092
6122
|
"100": "var(--aquarium-colors-primary-100)",
|
|
6093
6123
|
muted: "var(--aquarium-background-color-primary-muted)",
|
|
6094
6124
|
default: "var(--aquarium-background-color-primary-default)",
|
|
6125
|
+
graphic: "var(--aquarium-background-color-primary-graphic)",
|
|
6095
6126
|
intense: "var(--aquarium-background-color-primary-intense)",
|
|
6127
|
+
inverse: "var(--aquarium-background-color-primary-inverse)",
|
|
6096
6128
|
active: "var(--aquarium-background-color-primary-active)",
|
|
6097
6129
|
hover: "var(--aquarium-background-color-primary-hover)"
|
|
6098
6130
|
},
|
|
6099
6131
|
body: "var(--aquarium-background-color-body)",
|
|
6132
|
+
layer: "var(--aquarium-background-color-layer)",
|
|
6100
6133
|
"body-intense": "var(--aquarium-background-color-body-intense)",
|
|
6134
|
+
inverse: "var(--aquarium-background-color-inverse)",
|
|
6135
|
+
overlay: "var(--aquarium-background-color-overlay)",
|
|
6101
6136
|
"popover-content": "var(--aquarium-background-color-popover-content)",
|
|
6102
6137
|
muted: "var(--aquarium-background-color-muted)",
|
|
6103
6138
|
default: "var(--aquarium-background-color-default)",
|
|
6139
|
+
medium: "var(--aquarium-background-color-medium)",
|
|
6104
6140
|
intense: "var(--aquarium-background-color-intense)",
|
|
6141
|
+
action: {
|
|
6142
|
+
"primary-button": {
|
|
6143
|
+
default: "var(--aquarium-background-color-action-primary-button-default)",
|
|
6144
|
+
active: "var(--aquarium-background-color-action-primary-button-active)",
|
|
6145
|
+
hover: "var(--aquarium-background-color-action-primary-button-hover)",
|
|
6146
|
+
disabled: "var(--aquarium-background-color-action-primary-button-disabled)"
|
|
6147
|
+
}
|
|
6148
|
+
},
|
|
6105
6149
|
danger: {
|
|
6106
6150
|
muted: "var(--aquarium-background-color-danger-muted)",
|
|
6107
6151
|
default: "var(--aquarium-background-color-danger-default)",
|
|
6108
|
-
intense: "var(--aquarium-background-color-danger-intense)"
|
|
6152
|
+
intense: "var(--aquarium-background-color-danger-intense)",
|
|
6153
|
+
inverse: "var(--aquarium-background-color-danger-inverse)"
|
|
6109
6154
|
},
|
|
6110
6155
|
status: {
|
|
6111
6156
|
announcement: "var(--aquarium-background-color-status-announcement)",
|
|
@@ -6369,6 +6414,15 @@ var tailwind_theme_default = {
|
|
|
6369
6414
|
muted: "var(--aquarium-border-color-muted)",
|
|
6370
6415
|
default: "var(--aquarium-border-color-default)",
|
|
6371
6416
|
intense: "var(--aquarium-border-color-intense)",
|
|
6417
|
+
action: {
|
|
6418
|
+
focus: "var(--aquarium-border-color-action-focus)",
|
|
6419
|
+
"secondary-button": {
|
|
6420
|
+
default: "var(--aquarium-border-color-action-secondary-button-default)",
|
|
6421
|
+
active: "var(--aquarium-border-color-action-secondary-button-active)",
|
|
6422
|
+
hover: "var(--aquarium-border-color-action-secondary-button-hover)",
|
|
6423
|
+
disabled: "var(--aquarium-border-color-action-secondary-button-disabled)"
|
|
6424
|
+
}
|
|
6425
|
+
},
|
|
6372
6426
|
danger: {
|
|
6373
6427
|
muted: "var(--aquarium-border-color-danger-muted)",
|
|
6374
6428
|
default: "var(--aquarium-border-color-danger-default)",
|
|
@@ -6792,7 +6846,7 @@ var toastStyles = (0, import_tailwind_variants3.tv)({
|
|
|
6792
6846
|
variants: {
|
|
6793
6847
|
variant: {
|
|
6794
6848
|
default: {
|
|
6795
|
-
base: "bg-
|
|
6849
|
+
base: "bg-inverse text-opposite-default",
|
|
6796
6850
|
dismiss: "[&>button]:text-muted",
|
|
6797
6851
|
action: "[&>*]:text-primary-inactive hover:[&>*]:text-primary-muted"
|
|
6798
6852
|
},
|
|
@@ -6860,7 +6914,7 @@ var inputContainerClasses = (0, import_tailwind_variants4.tv)({
|
|
|
6860
6914
|
variants: {
|
|
6861
6915
|
variant: {
|
|
6862
6916
|
default: "border px-3 py-[6px] border-default hover:border-intense bg-transparent",
|
|
6863
|
-
disabled: "border px-3 py-[6px] cursor-not-allowed border-default bg-
|
|
6917
|
+
disabled: "border px-3 py-[6px] cursor-not-allowed border-default bg-medium",
|
|
6864
6918
|
error: "border px-3 py-[6px] border-danger-default bg-transparent",
|
|
6865
6919
|
focused: "border px-3 py-[6px] border-info-default bg-transparent",
|
|
6866
6920
|
readOnly: "cursor-default border-default bg-transparent"
|
|
@@ -6868,7 +6922,7 @@ var inputContainerClasses = (0, import_tailwind_variants4.tv)({
|
|
|
6868
6922
|
}
|
|
6869
6923
|
});
|
|
6870
6924
|
var inputClasses = (0, import_tailwind_variants4.tv)({
|
|
6871
|
-
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-
|
|
6925
|
+
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",
|
|
6872
6926
|
variants: {
|
|
6873
6927
|
disabled: {
|
|
6874
6928
|
true: "text-inactive",
|
|
@@ -6881,7 +6935,7 @@ var inputClasses = (0, import_tailwind_variants4.tv)({
|
|
|
6881
6935
|
}
|
|
6882
6936
|
});
|
|
6883
6937
|
var menuClasses = (0, import_tailwind_variants4.tv)({
|
|
6884
|
-
base: "text-default bg-
|
|
6938
|
+
base: "text-default bg-overlay overflow-y-auto"
|
|
6885
6939
|
});
|
|
6886
6940
|
var noResultsClasses = (0, import_tailwind_variants4.tv)({
|
|
6887
6941
|
base: "p-3 text-inactive typography-small"
|
|
@@ -7356,7 +7410,7 @@ var import_react24 = __toESM(require("react"));
|
|
|
7356
7410
|
var import_lodash_es6 = require("lodash-es");
|
|
7357
7411
|
var import_tailwind_variants6 = require("tailwind-variants");
|
|
7358
7412
|
var skeletonStyles = (0, import_tailwind_variants6.tv)({
|
|
7359
|
-
base: "bg-
|
|
7413
|
+
base: "bg-medium",
|
|
7360
7414
|
variants: {
|
|
7361
7415
|
hasHeight: {
|
|
7362
7416
|
false: "h-auto before:content-['_'] whitespace-pre origin-[0%_45%] scale-[0.55]"
|
|
@@ -7659,7 +7713,7 @@ var getStatusClassNames = (status = "neutral") => {
|
|
|
7659
7713
|
return "text-success-intense bg-status-success";
|
|
7660
7714
|
case "neutral":
|
|
7661
7715
|
default:
|
|
7662
|
-
return "text-default bg-
|
|
7716
|
+
return "text-default bg-medium";
|
|
7663
7717
|
}
|
|
7664
7718
|
};
|
|
7665
7719
|
var Chip2 = ({
|
|
@@ -8000,7 +8054,7 @@ var checkboxClasses = (0, import_tailwind_variants10.tv)({
|
|
|
8000
8054
|
},
|
|
8001
8055
|
false: {
|
|
8002
8056
|
wrapper: "hover:border-intense peer-checked:border-primary-default",
|
|
8003
|
-
input: "cursor-pointer checked:bg-primary-
|
|
8057
|
+
input: "cursor-pointer checked:bg-primary-graphic",
|
|
8004
8058
|
icon: "border-default peer-hover:border-intense peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-primary-default"
|
|
8005
8059
|
}
|
|
8006
8060
|
}
|
|
@@ -8029,7 +8083,7 @@ var Checkbox = import_react35.default.forwardRef(
|
|
|
8029
8083
|
var import_react36 = __toESM(require("react"));
|
|
8030
8084
|
var import_tailwind_variants11 = require("tailwind-variants");
|
|
8031
8085
|
var radioButtonClasses = (0, import_tailwind_variants11.tv)({
|
|
8032
|
-
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-
|
|
8086
|
+
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",
|
|
8033
8087
|
variants: {
|
|
8034
8088
|
disabled: {
|
|
8035
8089
|
true: "cursor-not-allowed border-muted bg-muted checked:bg-primary-muted checked:border-transparent",
|
|
@@ -8977,7 +9031,7 @@ var import_react_aria_components = require("react-aria-components");
|
|
|
8977
9031
|
var import_tailwind_variants13 = require("tailwind-variants");
|
|
8978
9032
|
var popoverStyles = (0, import_tailwind_variants13.tv)({
|
|
8979
9033
|
// z-[101] ensures popover appears above modal (z-modal: 100)
|
|
8980
|
-
base: "rounded-sm shadow-16dp bg-
|
|
9034
|
+
base: "rounded-sm shadow-16dp bg-overlay mt-1 overflow-y-auto flex flex-col border border-default outline-none z-[101]"
|
|
8981
9035
|
});
|
|
8982
9036
|
var Popover = import_react55.default.forwardRef(
|
|
8983
9037
|
({ children, offset = 0, className, placement: _placement = "bottom-left", ...props }, ref) => {
|
|
@@ -10467,7 +10521,7 @@ var import_clsx26 = require("clsx");
|
|
|
10467
10521
|
var import_tailwind_variants16 = require("tailwind-variants");
|
|
10468
10522
|
var import_tick5 = __toESM(require_tick());
|
|
10469
10523
|
var dropdownMenuStyles = (0, import_tailwind_variants16.tv)({
|
|
10470
|
-
base: "bg-
|
|
10524
|
+
base: "bg-overlay w-full flex flex-col overflow-x-hidden typography-small text-default"
|
|
10471
10525
|
});
|
|
10472
10526
|
var DropdownMenu = ({ className, children, ...props }) => {
|
|
10473
10527
|
return /* @__PURE__ */ import_react69.default.createElement(import_react_aria_components2.Menu, { className: dropdownMenuStyles({ className: ["Aquarium-DropdownMenu", className] }), ...props }, children);
|
|
@@ -10480,7 +10534,7 @@ var dropdownMenuGroupStyles = (0, import_tailwind_variants16.tv)({
|
|
|
10480
10534
|
slots: {
|
|
10481
10535
|
base: [
|
|
10482
10536
|
'[&:not(:first-child)]:before:content-[""] [&:not(:first-child)]:before:block',
|
|
10483
|
-
"[&:not(:first-child)]:before:h-[1px] [&:not(:first-child)]:before:bg-
|
|
10537
|
+
"[&:not(:first-child)]:before:h-[1px] [&:not(:first-child)]:before:bg-medium [&:not(:first-child)]:before:m-3"
|
|
10484
10538
|
],
|
|
10485
10539
|
title: "p-3 text-inactive uppercase cursor-default typography-caption"
|
|
10486
10540
|
}
|
|
@@ -10586,7 +10640,7 @@ var fieldBorder = (0, import_tailwind_variants17.tv)({
|
|
|
10586
10640
|
true: "border-danger-default"
|
|
10587
10641
|
},
|
|
10588
10642
|
isDisabled: {
|
|
10589
|
-
true: "bg-
|
|
10643
|
+
true: "bg-medium cursor-not-allowed text-inactive"
|
|
10590
10644
|
}
|
|
10591
10645
|
}
|
|
10592
10646
|
});
|
|
@@ -11684,8 +11738,8 @@ var cellStyles = (0, import_tailwind_variants20.tv)({
|
|
|
11684
11738
|
base: "w-8 h-8 typography-small cursor-default rounded-md flex items-center justify-center outside-month:hidden",
|
|
11685
11739
|
variants: {
|
|
11686
11740
|
isSelected: {
|
|
11687
|
-
false: "text-default hover:bg-
|
|
11688
|
-
true: "bg-primary-
|
|
11741
|
+
false: "text-default hover:bg-medium pressed:bg-intense",
|
|
11742
|
+
true: "bg-primary-graphic invalid:bg-danger-default text-white"
|
|
11689
11743
|
},
|
|
11690
11744
|
isUnavailable: {
|
|
11691
11745
|
true: "text-inactive"
|
|
@@ -14371,7 +14425,7 @@ var import_tailwind_variants22 = require("tailwind-variants");
|
|
|
14371
14425
|
var cellContainer = (0, import_tailwind_variants22.tv)({
|
|
14372
14426
|
base: [
|
|
14373
14427
|
"group w-8 h-8 typography-small outline outline-0 cursor-default",
|
|
14374
|
-
"outside-month:hidden selected:bg-primary-
|
|
14428
|
+
"outside-month:hidden selected:bg-primary-graphic",
|
|
14375
14429
|
"invalid:selected:bg-danger-default",
|
|
14376
14430
|
"selection-start:rounded-s-md selection-end:rounded-e-md"
|
|
14377
14431
|
]
|
|
@@ -14381,15 +14435,15 @@ var cell = (0, import_tailwind_variants22.tv)({
|
|
|
14381
14435
|
base: "w-full h-full flex items-center justify-center rounded-md text-default",
|
|
14382
14436
|
variants: {
|
|
14383
14437
|
selectionState: {
|
|
14384
|
-
none: "group-hover:bg-
|
|
14438
|
+
none: "group-hover:bg-medium group-pressed:bg-intense",
|
|
14385
14439
|
middle: [
|
|
14386
14440
|
"text-white",
|
|
14387
|
-
"group-hover:bg-primary-
|
|
14441
|
+
"group-hover:bg-primary-graphic",
|
|
14388
14442
|
"group-invalid:group-hover:bg-danger-default",
|
|
14389
|
-
"group-pressed:bg-primary-
|
|
14443
|
+
"group-pressed:bg-primary-inverse",
|
|
14390
14444
|
"group-invalid:group-pressed:bg-danger-intense"
|
|
14391
14445
|
],
|
|
14392
|
-
cap: "text-white bg-primary-
|
|
14446
|
+
cap: "text-white bg-primary-graphic group-invalid:bg-danger-default"
|
|
14393
14447
|
},
|
|
14394
14448
|
isUnavailable: {
|
|
14395
14449
|
true: "text-inactive"
|
|
@@ -14548,8 +14602,8 @@ var bodyMaskClasses = (0, import_tailwind_variants23.tv)({
|
|
|
14548
14602
|
var modalStyles = (0, import_tailwind_variants23.tv)({
|
|
14549
14603
|
slots: {
|
|
14550
14604
|
overlay: "inset-0 overflow-y-auto z-modal fixed",
|
|
14551
|
-
backdrop: "-z-10 fixed min-w-full min-h-full bg-
|
|
14552
|
-
dialog: "bg-
|
|
14605
|
+
backdrop: "-z-10 fixed min-w-full min-h-full bg-inverse opacity-30",
|
|
14606
|
+
dialog: "bg-overlay max-h-full flex flex-col",
|
|
14553
14607
|
header: "pl-7 pr-[64px] pt-6 pb-4 gap-3 flex items-center",
|
|
14554
14608
|
headerImage: "h-[120px] min-h-[120px] w-full",
|
|
14555
14609
|
titleContainer: "flex flex-col grow",
|
|
@@ -14597,7 +14651,7 @@ var modalStyles = (0, import_tailwind_variants23.tv)({
|
|
|
14597
14651
|
headerImage: "object-cover"
|
|
14598
14652
|
},
|
|
14599
14653
|
false: {
|
|
14600
|
-
headerImage: "bg-
|
|
14654
|
+
headerImage: "bg-medium"
|
|
14601
14655
|
}
|
|
14602
14656
|
}
|
|
14603
14657
|
},
|
|
@@ -15057,7 +15111,7 @@ var DropdownMenu3 = ({
|
|
|
15057
15111
|
const id = setTimeout(() => (menuRef.current?.children[0]).focus());
|
|
15058
15112
|
return () => clearTimeout(id);
|
|
15059
15113
|
}, [menuRef.current]);
|
|
15060
|
-
return /* @__PURE__ */ import_react98.default.createElement("div", { style: { minWidth: "250px" }, className: "py-3 bg-
|
|
15114
|
+
return /* @__PURE__ */ import_react98.default.createElement("div", { style: { minWidth: "250px" }, className: "py-3 bg-overlay" }, !!title && /* @__PURE__ */ import_react98.default.createElement("div", { className: "px-4 py-4 text-left text-intense typography-default-strong" }, title), /* @__PURE__ */ import_react98.default.createElement("ol", { role: "menu", ref: menuRef, id: contentId, "aria-labelledby": triggerId }, import_react98.default.Children.map(children, (child) => {
|
|
15061
15115
|
return import_react98.default.cloneElement(child, { setClose });
|
|
15062
15116
|
})));
|
|
15063
15117
|
};
|
|
@@ -15248,7 +15302,7 @@ var FilterClearButton = ({ onClear }) => (
|
|
|
15248
15302
|
}
|
|
15249
15303
|
onClear();
|
|
15250
15304
|
},
|
|
15251
|
-
className: "py-[10px] pl-[6px] pr-4 inline-flex items-center hover:bg-
|
|
15305
|
+
className: "py-[10px] pl-[6px] pr-4 inline-flex items-center hover:bg-medium focus:bg-medium outline-0 outline-none rounded-r-full"
|
|
15252
15306
|
},
|
|
15253
15307
|
/* @__PURE__ */ import_react100.default.createElement(InlineIcon2, { icon: import_cross6.default })
|
|
15254
15308
|
)
|
|
@@ -15306,7 +15360,7 @@ var InputChip = import_react105.default.forwardRef(
|
|
|
15306
15360
|
{
|
|
15307
15361
|
"bg-status-danger": invalid,
|
|
15308
15362
|
"bg-muted": !invalid && !disabled,
|
|
15309
|
-
"bg-
|
|
15363
|
+
"bg-medium": disabled
|
|
15310
15364
|
}
|
|
15311
15365
|
)
|
|
15312
15366
|
},
|
|
@@ -15804,7 +15858,7 @@ var NativeSelectBase = import_react108.default.forwardRef(
|
|
|
15804
15858
|
className: (0, import_clsx36.clsx)(
|
|
15805
15859
|
"block w-full rounded-sm appearance-none disabled:cursor-not-allowed typography-small text-default placeholder:text-inactive focus:outline-none",
|
|
15806
15860
|
{
|
|
15807
|
-
"px-3 py-3 bg-transparent disabled:border-default disabled:bg-
|
|
15861
|
+
"px-3 py-3 bg-transparent disabled:border-default disabled:bg-medium disabled:text-inactive": !readOnly,
|
|
15808
15862
|
"px-0 py-3 border-none bg-transparent": readOnly,
|
|
15809
15863
|
"border border-danger-default": !valid && !readOnly,
|
|
15810
15864
|
"border border-default hover:border-intense focus:border-info-default": valid && !readOnly
|
|
@@ -15883,9 +15937,9 @@ var navigationClasses = (0, import_tailwind_variants25.tv)({
|
|
|
15883
15937
|
sectionList: "flex flex-col",
|
|
15884
15938
|
divider: "border-t-2 border-muted",
|
|
15885
15939
|
itemContainer: "",
|
|
15886
|
-
itemAnchor: "py-3 px-6 hover:bg-
|
|
15940
|
+
itemAnchor: "py-3 px-6 hover:bg-medium cursor-pointer flex gap-4 items-center typography-small focusable",
|
|
15887
15941
|
submenuContainer: "",
|
|
15888
|
-
submenuAnchor: "py-3 pr-6 pl-3 hover:bg-
|
|
15942
|
+
submenuAnchor: "py-3 pr-6 pl-3 hover:bg-medium cursor-pointer typography-small focusable flex items-center w-full",
|
|
15889
15943
|
submenuList: "flex flex-col",
|
|
15890
15944
|
submenuItem: "pl-[56px]"
|
|
15891
15945
|
},
|
|
@@ -16298,10 +16352,10 @@ var switchStyles = (0, import_tailwind_variants28.tv)({
|
|
|
16298
16352
|
variants: {
|
|
16299
16353
|
disabled: {
|
|
16300
16354
|
true: {
|
|
16301
|
-
input: "bg-
|
|
16355
|
+
input: "bg-medium checked:opacity-50 checked:bg-primary-muted"
|
|
16302
16356
|
},
|
|
16303
16357
|
false: {
|
|
16304
|
-
input: "bg-intense hover:bg-intense checked:bg-primary-
|
|
16358
|
+
input: "bg-intense hover:bg-intense checked:bg-primary-graphic hover:checked:bg-primary-inverse",
|
|
16305
16359
|
thumb: "shadow-4dp"
|
|
16306
16360
|
}
|
|
16307
16361
|
}
|
|
@@ -16497,7 +16551,7 @@ var stepStyles = (0, import_tailwind_variants30.tv)({
|
|
|
16497
16551
|
slots: ["indicator"],
|
|
16498
16552
|
dense: true,
|
|
16499
16553
|
state: "active",
|
|
16500
|
-
class: "bg-
|
|
16554
|
+
class: "bg-inverse"
|
|
16501
16555
|
},
|
|
16502
16556
|
{
|
|
16503
16557
|
slots: ["indicator"],
|
|
@@ -16673,7 +16727,7 @@ var Timeline = ({ className, ...rest }) => /* @__PURE__ */ import_react130.defau
|
|
|
16673
16727
|
var Content2 = ({ className, ...rest }) => /* @__PURE__ */ import_react130.default.createElement("div", { ...rest, className: (0, import_clsx44.clsx)("pb-6", className) });
|
|
16674
16728
|
var Separator = ({ className, ...rest }) => /* @__PURE__ */ import_react130.default.createElement("div", { ...rest, className: (0, import_clsx44.clsx)("flex items-center justify-center h-5 w-5", className) });
|
|
16675
16729
|
var LineContainer = ({ className, ...rest }) => /* @__PURE__ */ import_react130.default.createElement("div", { ...rest, className: (0, import_clsx44.clsx)("flex justify-center py-1", className) });
|
|
16676
|
-
var Line = ({ className, ...rest }) => /* @__PURE__ */ import_react130.default.createElement("div", { ...rest, className: (0, import_clsx44.clsx)("w-1 bg-
|
|
16730
|
+
var Line = ({ className, ...rest }) => /* @__PURE__ */ import_react130.default.createElement("div", { ...rest, className: (0, import_clsx44.clsx)("w-1 bg-medium h-full justify-self-center", className) });
|
|
16677
16731
|
var Dot = ({ className, ...rest }) => /* @__PURE__ */ import_react130.default.createElement("div", { ...rest, className: (0, import_clsx44.clsx)("bg-intense h-[6px] w-[6px] rounded", className) });
|
|
16678
16732
|
Separator.Dot = Dot;
|
|
16679
16733
|
LineContainer.Line = Line;
|