@aivenio/aquarium 5.1.0 → 5.3.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 +12 -0
- package/dist/atoms.cjs +61 -37
- package/dist/atoms.mjs +61 -37
- package/dist/charts.cjs +12 -0
- package/dist/charts.mjs +12 -0
- 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 +7 -7
- package/dist/src/atoms/DropdownMenu/DropdownMenu.js +2 -2
- package/dist/src/atoms/Filter/Filter.js +2 -2
- package/dist/src/atoms/Modal/Modal.js +2 -2
- package/dist/src/atoms/Navigation/Navigation.js +3 -3
- package/dist/src/atoms/ProgressBar/ProgressBar.js +4 -4
- package/dist/src/atoms/RadioButton/RadioButton.js +1 -1
- package/dist/src/atoms/Select/Select.js +3 -3
- 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 +4 -4
- package/dist/src/atoms/Timeline/Timeline.js +2 -2
- package/dist/src/atoms/Toast/Toast.js +4 -4
- package/dist/src/atoms/utils/index.js +2 -2
- package/dist/src/molecules/Badge/Badge.js +1 -1
- package/dist/src/molecules/Chip/Chip.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 +4 -4
- package/dist/src/tokens/tokens.json +12 -0
- package/dist/src/utils/constants.js +2 -2
- package/dist/styles.css +135 -64
- package/dist/system.cjs +65 -41
- package/dist/system.mjs +65 -41
- package/dist/tailwind.theme.json +12 -0
- package/dist/tokens.json +12 -0
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/_variables.scss
CHANGED
|
@@ -218,10 +218,13 @@ $background-color-overlay: $colors-white;
|
|
|
218
218
|
$background-color-popover-content: $colors-white;
|
|
219
219
|
$background-color-muted: $colors-grey-0;
|
|
220
220
|
$background-color-default: $colors-grey-5;
|
|
221
|
+
$background-color-medium: $colors-grey-5;
|
|
221
222
|
$background-color-intense: $colors-grey-20;
|
|
222
223
|
$background-color-primary-muted: $colors-primary-40;
|
|
223
224
|
$background-color-primary-default: $colors-primary-80;
|
|
225
|
+
$background-color-primary-graphic: $colors-primary-80;
|
|
224
226
|
$background-color-primary-intense: $colors-primary-90;
|
|
227
|
+
$background-color-primary-inverse: $colors-primary-90;
|
|
225
228
|
$background-color-primary-active: $colors-primary-5;
|
|
226
229
|
$background-color-primary-hover: $colors-primary-5;
|
|
227
230
|
$background-color-action-primary-button-default: $colors-primary-80;
|
|
@@ -230,19 +233,23 @@ $background-color-action-primary-button-hover: $colors-primary-90;
|
|
|
230
233
|
$background-color-action-primary-button-disabled: $colors-primary-40;
|
|
231
234
|
$background-color-info-muted: $colors-info-10;
|
|
232
235
|
$background-color-info-default: $colors-info-70;
|
|
236
|
+
$background-color-info-graphic: $colors-info-70;
|
|
233
237
|
$background-color-info-intense: $colors-info-90;
|
|
234
238
|
$background-color-info-inverse: $colors-info-70;
|
|
235
239
|
$background-color-success-muted: $colors-success-5;
|
|
236
240
|
$background-color-success-default: $colors-success-70;
|
|
241
|
+
$background-color-success-graphic: $colors-success-70;
|
|
237
242
|
$background-color-success-intense: $colors-success-90;
|
|
238
243
|
$background-color-success-inverse: $colors-success-70;
|
|
239
244
|
$background-color-warning-muted: $colors-warning-5;
|
|
240
245
|
$background-color-warning-default: $colors-warning-70;
|
|
246
|
+
$background-color-warning-graphic: $colors-warning-70;
|
|
241
247
|
$background-color-warning-intense: $colors-warning-90;
|
|
242
248
|
$background-color-warning-inverse: $colors-warning-70;
|
|
243
249
|
$background-color-danger-muted: $colors-error-10;
|
|
244
250
|
$background-color-danger-default: $colors-error-20;
|
|
245
251
|
$background-color-danger-intense: $colors-error-50;
|
|
252
|
+
$background-color-danger-graphic: $colors-error-50;
|
|
246
253
|
$background-color-danger-inverse: $colors-error-70;
|
|
247
254
|
$background-color-status-announcement: $colors-primary-5;
|
|
248
255
|
$background-color-status-info: $colors-info-10;
|
|
@@ -280,22 +287,27 @@ $text-color-opposite-default: $colors-white;
|
|
|
280
287
|
$text-color-primary-inactive: $colors-primary-40;
|
|
281
288
|
$text-color-primary-active: $colors-primary-90;
|
|
282
289
|
$text-color-primary-muted: $colors-primary-60;
|
|
290
|
+
$text-color-primary-graphic: $colors-primary-60;
|
|
283
291
|
$text-color-primary-default: $colors-primary-70;
|
|
284
292
|
$text-color-primary-intense: $colors-primary-80;
|
|
285
293
|
$text-color-info-inactive: $colors-info-20;
|
|
286
294
|
$text-color-info-muted: $colors-info-40;
|
|
295
|
+
$text-color-info-graphic: $colors-info-40;
|
|
287
296
|
$text-color-info-default: $colors-info-70;
|
|
288
297
|
$text-color-info-intense: $colors-info-90;
|
|
289
298
|
$text-color-success-inactive: $colors-success-10;
|
|
290
299
|
$text-color-success-muted: $colors-success-30;
|
|
300
|
+
$text-color-success-graphic: $colors-success-30;
|
|
291
301
|
$text-color-success-default: $colors-success-70;
|
|
292
302
|
$text-color-success-intense: $colors-success-90;
|
|
293
303
|
$text-color-warning-inactive: $colors-warning-20;
|
|
294
304
|
$text-color-warning-muted: $colors-warning-40;
|
|
305
|
+
$text-color-warning-graphic: $colors-warning-40;
|
|
295
306
|
$text-color-warning-default: $colors-warning-80;
|
|
296
307
|
$text-color-warning-intense: $colors-warning-100;
|
|
297
308
|
$text-color-danger-inactive: $colors-error-10;
|
|
298
309
|
$text-color-danger-muted: $colors-error-20;
|
|
310
|
+
$text-color-danger-graphic: $colors-error-20;
|
|
299
311
|
$text-color-danger-default: $colors-error-50;
|
|
300
312
|
$text-color-danger-intense: $colors-error-80;
|
|
301
313
|
$box-shadow-24dp: $elevations-24dp;
|
package/dist/atoms.cjs
CHANGED
|
@@ -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,
|
|
@@ -5128,11 +5128,14 @@ var tokens_default = {
|
|
|
5128
5128
|
"popover-content": "white",
|
|
5129
5129
|
muted: "rgba(247,247,250,1)",
|
|
5130
5130
|
default: "rgba(237,237,240,1)",
|
|
5131
|
+
medium: "rgba(237,237,240,1)",
|
|
5131
5132
|
intense: "rgba(210,210,214,1)",
|
|
5132
5133
|
primary: {
|
|
5133
5134
|
muted: "rgba(185,197,239,1)",
|
|
5134
5135
|
default: "rgba(53,69,190,1)",
|
|
5136
|
+
graphic: "rgba(53,69,190,1)",
|
|
5135
5137
|
intense: "rgba(34,47,149,1)",
|
|
5138
|
+
inverse: "rgba(34,47,149,1)",
|
|
5136
5139
|
active: "rgba(243,246,255,1)",
|
|
5137
5140
|
hover: "rgba(243,246,255,1)"
|
|
5138
5141
|
},
|
|
@@ -5147,18 +5150,21 @@ var tokens_default = {
|
|
|
5147
5150
|
info: {
|
|
5148
5151
|
muted: "rgba(224,245,254,1)",
|
|
5149
5152
|
default: "rgba(3,153,227,1)",
|
|
5153
|
+
graphic: "rgba(3,153,227,1)",
|
|
5150
5154
|
intense: "rgba(1,116,186,1)",
|
|
5151
5155
|
inverse: "rgba(3,153,227,1)"
|
|
5152
5156
|
},
|
|
5153
5157
|
success: {
|
|
5154
5158
|
muted: "rgba(236,247,237,1)",
|
|
5155
5159
|
default: "rgba(0,179,0,1)",
|
|
5160
|
+
graphic: "rgba(0,179,0,1)",
|
|
5156
5161
|
intense: "rgba(0,142,0,1)",
|
|
5157
5162
|
inverse: "rgba(0,179,0,1)"
|
|
5158
5163
|
},
|
|
5159
5164
|
warning: {
|
|
5160
5165
|
muted: "rgba(255,248,234,1)",
|
|
5161
5166
|
default: "rgba(255,179,0,1)",
|
|
5167
|
+
graphic: "rgba(255,179,0,1)",
|
|
5162
5168
|
intense: "rgba(255,144,3,1)",
|
|
5163
5169
|
inverse: "rgba(255,179,0,1)"
|
|
5164
5170
|
},
|
|
@@ -5166,6 +5172,7 @@ var tokens_default = {
|
|
|
5166
5172
|
muted: "rgba(255,203,210,1)",
|
|
5167
5173
|
default: "rgba(255,173,179,1)",
|
|
5168
5174
|
intense: "rgba(230,39,40,1)",
|
|
5175
|
+
graphic: "rgba(230,39,40,1)",
|
|
5169
5176
|
inverse: "rgba(216,0,5,1)"
|
|
5170
5177
|
},
|
|
5171
5178
|
status: {
|
|
@@ -5389,30 +5396,35 @@ var tokens_default = {
|
|
|
5389
5396
|
inactive: "rgba(185,197,239,1)",
|
|
5390
5397
|
active: "rgba(34,47,149,1)",
|
|
5391
5398
|
muted: "rgba(129,142,236,1)",
|
|
5399
|
+
graphic: "rgba(129,142,236,1)",
|
|
5392
5400
|
default: "rgba(88,101,205,1)",
|
|
5393
5401
|
intense: "rgba(53,69,190,1)"
|
|
5394
5402
|
},
|
|
5395
5403
|
info: {
|
|
5396
5404
|
inactive: "rgba(180,229,251,1)",
|
|
5397
5405
|
muted: "rgba(76,194,247,1)",
|
|
5406
|
+
graphic: "rgba(76,194,247,1)",
|
|
5398
5407
|
default: "rgba(3,153,227,1)",
|
|
5399
5408
|
intense: "rgba(1,116,186,1)"
|
|
5400
5409
|
},
|
|
5401
5410
|
success: {
|
|
5402
5411
|
inactive: "rgba(203,255,201,1)",
|
|
5403
5412
|
muted: "rgba(137,235,128,1)",
|
|
5413
|
+
graphic: "rgba(137,235,128,1)",
|
|
5404
5414
|
default: "rgba(0,179,0,1)",
|
|
5405
5415
|
intense: "rgba(0,142,0,1)"
|
|
5406
5416
|
},
|
|
5407
5417
|
warning: {
|
|
5408
5418
|
inactive: "rgba(254,235,178,1)",
|
|
5409
5419
|
muted: "rgba(253,212,77,1)",
|
|
5420
|
+
graphic: "rgba(253,212,77,1)",
|
|
5410
5421
|
default: "rgba(253,159,0,1)",
|
|
5411
5422
|
intense: "rgba(254,109,0,1)"
|
|
5412
5423
|
},
|
|
5413
5424
|
danger: {
|
|
5414
5425
|
inactive: "rgba(255,203,210,1)",
|
|
5415
5426
|
muted: "rgba(255,173,179,1)",
|
|
5427
|
+
graphic: "rgba(255,173,179,1)",
|
|
5416
5428
|
default: "rgba(230,39,40,1)",
|
|
5417
5429
|
intense: "rgba(197,0,1,1)"
|
|
5418
5430
|
}
|
|
@@ -6037,6 +6049,7 @@ var tailwind_theme_default = {
|
|
|
6037
6049
|
"100": "var(--aquarium-colors-warning-100)",
|
|
6038
6050
|
muted: "var(--aquarium-background-color-warning-muted)",
|
|
6039
6051
|
default: "var(--aquarium-background-color-warning-default)",
|
|
6052
|
+
graphic: "var(--aquarium-background-color-warning-graphic)",
|
|
6040
6053
|
intense: "var(--aquarium-background-color-warning-intense)",
|
|
6041
6054
|
inverse: "var(--aquarium-background-color-warning-inverse)"
|
|
6042
6055
|
},
|
|
@@ -6055,6 +6068,7 @@ var tailwind_theme_default = {
|
|
|
6055
6068
|
"100": "var(--aquarium-colors-success-100)",
|
|
6056
6069
|
muted: "var(--aquarium-background-color-success-muted)",
|
|
6057
6070
|
default: "var(--aquarium-background-color-success-default)",
|
|
6071
|
+
graphic: "var(--aquarium-background-color-success-graphic)",
|
|
6058
6072
|
intense: "var(--aquarium-background-color-success-intense)",
|
|
6059
6073
|
inverse: "var(--aquarium-background-color-success-inverse)"
|
|
6060
6074
|
},
|
|
@@ -6073,6 +6087,7 @@ var tailwind_theme_default = {
|
|
|
6073
6087
|
"100": "var(--aquarium-colors-info-100)",
|
|
6074
6088
|
muted: "var(--aquarium-background-color-info-muted)",
|
|
6075
6089
|
default: "var(--aquarium-background-color-info-default)",
|
|
6090
|
+
graphic: "var(--aquarium-background-color-info-graphic)",
|
|
6076
6091
|
intense: "var(--aquarium-background-color-info-intense)",
|
|
6077
6092
|
inverse: "var(--aquarium-background-color-info-inverse)"
|
|
6078
6093
|
},
|
|
@@ -6119,7 +6134,9 @@ var tailwind_theme_default = {
|
|
|
6119
6134
|
"100": "var(--aquarium-colors-primary-100)",
|
|
6120
6135
|
muted: "var(--aquarium-background-color-primary-muted)",
|
|
6121
6136
|
default: "var(--aquarium-background-color-primary-default)",
|
|
6137
|
+
graphic: "var(--aquarium-background-color-primary-graphic)",
|
|
6122
6138
|
intense: "var(--aquarium-background-color-primary-intense)",
|
|
6139
|
+
inverse: "var(--aquarium-background-color-primary-inverse)",
|
|
6123
6140
|
active: "var(--aquarium-background-color-primary-active)",
|
|
6124
6141
|
hover: "var(--aquarium-background-color-primary-hover)"
|
|
6125
6142
|
},
|
|
@@ -6131,6 +6148,7 @@ var tailwind_theme_default = {
|
|
|
6131
6148
|
"popover-content": "var(--aquarium-background-color-popover-content)",
|
|
6132
6149
|
muted: "var(--aquarium-background-color-muted)",
|
|
6133
6150
|
default: "var(--aquarium-background-color-default)",
|
|
6151
|
+
medium: "var(--aquarium-background-color-medium)",
|
|
6134
6152
|
intense: "var(--aquarium-background-color-intense)",
|
|
6135
6153
|
action: {
|
|
6136
6154
|
"primary-button": {
|
|
@@ -6144,6 +6162,7 @@ var tailwind_theme_default = {
|
|
|
6144
6162
|
muted: "var(--aquarium-background-color-danger-muted)",
|
|
6145
6163
|
default: "var(--aquarium-background-color-danger-default)",
|
|
6146
6164
|
intense: "var(--aquarium-background-color-danger-intense)",
|
|
6165
|
+
graphic: "var(--aquarium-background-color-danger-graphic)",
|
|
6147
6166
|
inverse: "var(--aquarium-background-color-danger-inverse)"
|
|
6148
6167
|
},
|
|
6149
6168
|
status: {
|
|
@@ -6191,6 +6210,7 @@ var tailwind_theme_default = {
|
|
|
6191
6210
|
"100": "var(--aquarium-colors-warning-100)",
|
|
6192
6211
|
inactive: "var(--aquarium-text-color-warning-inactive)",
|
|
6193
6212
|
muted: "var(--aquarium-text-color-warning-muted)",
|
|
6213
|
+
graphic: "var(--aquarium-text-color-warning-graphic)",
|
|
6194
6214
|
default: "var(--aquarium-text-color-warning-default)",
|
|
6195
6215
|
intense: "var(--aquarium-text-color-warning-intense)"
|
|
6196
6216
|
},
|
|
@@ -6209,6 +6229,7 @@ var tailwind_theme_default = {
|
|
|
6209
6229
|
"100": "var(--aquarium-colors-success-100)",
|
|
6210
6230
|
inactive: "var(--aquarium-text-color-success-inactive)",
|
|
6211
6231
|
muted: "var(--aquarium-text-color-success-muted)",
|
|
6232
|
+
graphic: "var(--aquarium-text-color-success-graphic)",
|
|
6212
6233
|
default: "var(--aquarium-text-color-success-default)",
|
|
6213
6234
|
intense: "var(--aquarium-text-color-success-intense)"
|
|
6214
6235
|
},
|
|
@@ -6227,6 +6248,7 @@ var tailwind_theme_default = {
|
|
|
6227
6248
|
"100": "var(--aquarium-colors-info-100)",
|
|
6228
6249
|
inactive: "var(--aquarium-text-color-info-inactive)",
|
|
6229
6250
|
muted: "var(--aquarium-text-color-info-muted)",
|
|
6251
|
+
graphic: "var(--aquarium-text-color-info-graphic)",
|
|
6230
6252
|
default: "var(--aquarium-text-color-info-default)",
|
|
6231
6253
|
intense: "var(--aquarium-text-color-info-intense)"
|
|
6232
6254
|
},
|
|
@@ -6274,6 +6296,7 @@ var tailwind_theme_default = {
|
|
|
6274
6296
|
inactive: "var(--aquarium-text-color-primary-inactive)",
|
|
6275
6297
|
active: "var(--aquarium-text-color-primary-active)",
|
|
6276
6298
|
muted: "var(--aquarium-text-color-primary-muted)",
|
|
6299
|
+
graphic: "var(--aquarium-text-color-primary-graphic)",
|
|
6277
6300
|
default: "var(--aquarium-text-color-primary-default)",
|
|
6278
6301
|
intense: "var(--aquarium-text-color-primary-intense)"
|
|
6279
6302
|
},
|
|
@@ -6285,6 +6308,7 @@ var tailwind_theme_default = {
|
|
|
6285
6308
|
danger: {
|
|
6286
6309
|
inactive: "var(--aquarium-text-color-danger-inactive)",
|
|
6287
6310
|
muted: "var(--aquarium-text-color-danger-muted)",
|
|
6311
|
+
graphic: "var(--aquarium-text-color-danger-graphic)",
|
|
6288
6312
|
default: "var(--aquarium-text-color-danger-default)",
|
|
6289
6313
|
intense: "var(--aquarium-text-color-danger-intense)"
|
|
6290
6314
|
}
|
|
@@ -6842,11 +6866,11 @@ var toastStyles = (0, import_tailwind_variants3.tv)({
|
|
|
6842
6866
|
default: {
|
|
6843
6867
|
base: "bg-inverse text-opposite-default",
|
|
6844
6868
|
dismiss: "[&>button]:text-muted",
|
|
6845
|
-
action: "[&>*]:text-primary-inactive hover:[&>*]:text-primary-
|
|
6869
|
+
action: "[&>*]:text-primary-inactive hover:[&>*]:text-primary-graphic"
|
|
6846
6870
|
},
|
|
6847
6871
|
danger: {
|
|
6848
|
-
base: "bg-danger-
|
|
6849
|
-
dismiss: "[&>button]:text-danger-
|
|
6872
|
+
base: "bg-danger-graphic text-white",
|
|
6873
|
+
dismiss: "[&>button]:text-danger-graphic",
|
|
6850
6874
|
action: "[&>*]:text-white hover:[&>*]:text-white"
|
|
6851
6875
|
}
|
|
6852
6876
|
},
|
|
@@ -6908,7 +6932,7 @@ var inputContainerClasses = (0, import_tailwind_variants4.tv)({
|
|
|
6908
6932
|
variants: {
|
|
6909
6933
|
variant: {
|
|
6910
6934
|
default: "border px-3 py-[6px] border-default hover:border-intense bg-transparent",
|
|
6911
|
-
disabled: "border px-3 py-[6px] cursor-not-allowed border-default bg-
|
|
6935
|
+
disabled: "border px-3 py-[6px] cursor-not-allowed border-default bg-medium",
|
|
6912
6936
|
error: "border px-3 py-[6px] border-danger-default bg-transparent",
|
|
6913
6937
|
focused: "border px-3 py-[6px] border-info-default bg-transparent",
|
|
6914
6938
|
readOnly: "cursor-default border-default bg-transparent"
|
|
@@ -6916,7 +6940,7 @@ var inputContainerClasses = (0, import_tailwind_variants4.tv)({
|
|
|
6916
6940
|
}
|
|
6917
6941
|
});
|
|
6918
6942
|
var inputClasses = (0, import_tailwind_variants4.tv)({
|
|
6919
|
-
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-
|
|
6943
|
+
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",
|
|
6920
6944
|
variants: {
|
|
6921
6945
|
disabled: {
|
|
6922
6946
|
true: "text-inactive",
|
|
@@ -7404,7 +7428,7 @@ var import_react24 = __toESM(require("react"));
|
|
|
7404
7428
|
var import_lodash_es6 = require("lodash-es");
|
|
7405
7429
|
var import_tailwind_variants6 = require("tailwind-variants");
|
|
7406
7430
|
var skeletonStyles = (0, import_tailwind_variants6.tv)({
|
|
7407
|
-
base: "bg-
|
|
7431
|
+
base: "bg-medium",
|
|
7408
7432
|
variants: {
|
|
7409
7433
|
hasHeight: {
|
|
7410
7434
|
false: "h-auto before:content-['_'] whitespace-pre origin-[0%_45%] scale-[0.55]"
|
|
@@ -7501,7 +7525,7 @@ var createBadge = (type, displayName) => {
|
|
|
7501
7525
|
return Component;
|
|
7502
7526
|
};
|
|
7503
7527
|
var NotificationBadge = ({ children, top = "-2px", right = "-2px", ...props }) => {
|
|
7504
|
-
return /* @__PURE__ */ import_react26.default.createElement("div", { ...props, className: "Aquarium-Badge.Notification relative inline-flex text-default" }, children, /* @__PURE__ */ import_react26.default.createElement("span", { style: { top, right }, className: "absolute rounded-full w-[6px] h-[6px] bg-danger-
|
|
7528
|
+
return /* @__PURE__ */ import_react26.default.createElement("div", { ...props, className: "Aquarium-Badge.Notification relative inline-flex text-default" }, children, /* @__PURE__ */ import_react26.default.createElement("span", { style: { top, right }, className: "absolute rounded-full w-[6px] h-[6px] bg-danger-graphic" }));
|
|
7505
7529
|
};
|
|
7506
7530
|
var DotBadge = ({ dense = false, ...props }) => {
|
|
7507
7531
|
return /* @__PURE__ */ import_react26.default.createElement(
|
|
@@ -7707,7 +7731,7 @@ var getStatusClassNames = (status = "neutral") => {
|
|
|
7707
7731
|
return "text-success-intense bg-status-success";
|
|
7708
7732
|
case "neutral":
|
|
7709
7733
|
default:
|
|
7710
|
-
return "text-default bg-
|
|
7734
|
+
return "text-default bg-medium";
|
|
7711
7735
|
}
|
|
7712
7736
|
};
|
|
7713
7737
|
var Chip2 = ({
|
|
@@ -8048,7 +8072,7 @@ var checkboxClasses = (0, import_tailwind_variants10.tv)({
|
|
|
8048
8072
|
},
|
|
8049
8073
|
false: {
|
|
8050
8074
|
wrapper: "hover:border-intense peer-checked:border-primary-default",
|
|
8051
|
-
input: "cursor-pointer checked:bg-primary-
|
|
8075
|
+
input: "cursor-pointer checked:bg-primary-graphic",
|
|
8052
8076
|
icon: "border-default peer-hover:border-intense peer-checked:text-white peer-checked:[&>path]:stroke-white peer-checked:border-primary-default"
|
|
8053
8077
|
}
|
|
8054
8078
|
}
|
|
@@ -8077,7 +8101,7 @@ var Checkbox = import_react35.default.forwardRef(
|
|
|
8077
8101
|
var import_react36 = __toESM(require("react"));
|
|
8078
8102
|
var import_tailwind_variants11 = require("tailwind-variants");
|
|
8079
8103
|
var radioButtonClasses = (0, import_tailwind_variants11.tv)({
|
|
8080
|
-
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-
|
|
8104
|
+
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",
|
|
8081
8105
|
variants: {
|
|
8082
8106
|
disabled: {
|
|
8083
8107
|
true: "cursor-not-allowed border-muted bg-muted checked:bg-primary-muted checked:border-transparent",
|
|
@@ -10528,7 +10552,7 @@ var dropdownMenuGroupStyles = (0, import_tailwind_variants16.tv)({
|
|
|
10528
10552
|
slots: {
|
|
10529
10553
|
base: [
|
|
10530
10554
|
'[&:not(:first-child)]:before:content-[""] [&:not(:first-child)]:before:block',
|
|
10531
|
-
"[&:not(:first-child)]:before:h-[1px] [&:not(:first-child)]:before:bg-
|
|
10555
|
+
"[&:not(:first-child)]:before:h-[1px] [&:not(:first-child)]:before:bg-medium [&:not(:first-child)]:before:m-3"
|
|
10532
10556
|
],
|
|
10533
10557
|
title: "p-3 text-inactive uppercase cursor-default typography-caption"
|
|
10534
10558
|
}
|
|
@@ -10634,7 +10658,7 @@ var fieldBorder = (0, import_tailwind_variants17.tv)({
|
|
|
10634
10658
|
true: "border-danger-default"
|
|
10635
10659
|
},
|
|
10636
10660
|
isDisabled: {
|
|
10637
|
-
true: "bg-
|
|
10661
|
+
true: "bg-medium cursor-not-allowed text-inactive"
|
|
10638
10662
|
}
|
|
10639
10663
|
}
|
|
10640
10664
|
});
|
|
@@ -11732,8 +11756,8 @@ var cellStyles = (0, import_tailwind_variants20.tv)({
|
|
|
11732
11756
|
base: "w-8 h-8 typography-small cursor-default rounded-md flex items-center justify-center outside-month:hidden",
|
|
11733
11757
|
variants: {
|
|
11734
11758
|
isSelected: {
|
|
11735
|
-
false: "text-default hover:bg-
|
|
11736
|
-
true: "bg-primary-
|
|
11759
|
+
false: "text-default hover:bg-medium pressed:bg-intense",
|
|
11760
|
+
true: "bg-primary-graphic invalid:bg-danger-default text-white"
|
|
11737
11761
|
},
|
|
11738
11762
|
isUnavailable: {
|
|
11739
11763
|
true: "text-inactive"
|
|
@@ -14419,7 +14443,7 @@ var import_tailwind_variants22 = require("tailwind-variants");
|
|
|
14419
14443
|
var cellContainer = (0, import_tailwind_variants22.tv)({
|
|
14420
14444
|
base: [
|
|
14421
14445
|
"group w-8 h-8 typography-small outline outline-0 cursor-default",
|
|
14422
|
-
"outside-month:hidden selected:bg-primary-
|
|
14446
|
+
"outside-month:hidden selected:bg-primary-graphic",
|
|
14423
14447
|
"invalid:selected:bg-danger-default",
|
|
14424
14448
|
"selection-start:rounded-s-md selection-end:rounded-e-md"
|
|
14425
14449
|
]
|
|
@@ -14429,15 +14453,15 @@ var cell = (0, import_tailwind_variants22.tv)({
|
|
|
14429
14453
|
base: "w-full h-full flex items-center justify-center rounded-md text-default",
|
|
14430
14454
|
variants: {
|
|
14431
14455
|
selectionState: {
|
|
14432
|
-
none: "group-hover:bg-
|
|
14456
|
+
none: "group-hover:bg-medium group-pressed:bg-intense",
|
|
14433
14457
|
middle: [
|
|
14434
14458
|
"text-white",
|
|
14435
|
-
"group-hover:bg-primary-
|
|
14459
|
+
"group-hover:bg-primary-graphic",
|
|
14436
14460
|
"group-invalid:group-hover:bg-danger-default",
|
|
14437
|
-
"group-pressed:bg-primary-
|
|
14438
|
-
"group-invalid:group-pressed:bg-danger-
|
|
14461
|
+
"group-pressed:bg-primary-inverse",
|
|
14462
|
+
"group-invalid:group-pressed:bg-danger-graphic"
|
|
14439
14463
|
],
|
|
14440
|
-
cap: "text-white bg-primary-
|
|
14464
|
+
cap: "text-white bg-primary-graphic group-invalid:bg-danger-default"
|
|
14441
14465
|
},
|
|
14442
14466
|
isUnavailable: {
|
|
14443
14467
|
true: "text-inactive"
|
|
@@ -14645,7 +14669,7 @@ var modalStyles = (0, import_tailwind_variants23.tv)({
|
|
|
14645
14669
|
headerImage: "object-cover"
|
|
14646
14670
|
},
|
|
14647
14671
|
false: {
|
|
14648
|
-
headerImage: "bg-
|
|
14672
|
+
headerImage: "bg-medium"
|
|
14649
14673
|
}
|
|
14650
14674
|
}
|
|
14651
14675
|
},
|
|
@@ -15296,7 +15320,7 @@ var FilterClearButton = ({ onClear }) => (
|
|
|
15296
15320
|
}
|
|
15297
15321
|
onClear();
|
|
15298
15322
|
},
|
|
15299
|
-
className: "py-[10px] pl-[6px] pr-4 inline-flex items-center hover:bg-
|
|
15323
|
+
className: "py-[10px] pl-[6px] pr-4 inline-flex items-center hover:bg-medium focus:bg-medium outline-0 outline-none rounded-r-full"
|
|
15300
15324
|
},
|
|
15301
15325
|
/* @__PURE__ */ import_react100.default.createElement(InlineIcon2, { icon: import_cross6.default })
|
|
15302
15326
|
)
|
|
@@ -15354,7 +15378,7 @@ var InputChip = import_react105.default.forwardRef(
|
|
|
15354
15378
|
{
|
|
15355
15379
|
"bg-status-danger": invalid,
|
|
15356
15380
|
"bg-muted": !invalid && !disabled,
|
|
15357
|
-
"bg-
|
|
15381
|
+
"bg-medium": disabled
|
|
15358
15382
|
}
|
|
15359
15383
|
)
|
|
15360
15384
|
},
|
|
@@ -15852,7 +15876,7 @@ var NativeSelectBase = import_react108.default.forwardRef(
|
|
|
15852
15876
|
className: (0, import_clsx36.clsx)(
|
|
15853
15877
|
"block w-full rounded-sm appearance-none disabled:cursor-not-allowed typography-small text-default placeholder:text-inactive focus:outline-none",
|
|
15854
15878
|
{
|
|
15855
|
-
"px-3 py-3 bg-transparent disabled:border-default disabled:bg-
|
|
15879
|
+
"px-3 py-3 bg-transparent disabled:border-default disabled:bg-medium disabled:text-inactive": !readOnly,
|
|
15856
15880
|
"px-0 py-3 border-none bg-transparent": readOnly,
|
|
15857
15881
|
"border border-danger-default": !valid && !readOnly,
|
|
15858
15882
|
"border border-default hover:border-intense focus:border-info-default": valid && !readOnly
|
|
@@ -15931,9 +15955,9 @@ var navigationClasses = (0, import_tailwind_variants25.tv)({
|
|
|
15931
15955
|
sectionList: "flex flex-col",
|
|
15932
15956
|
divider: "border-t-2 border-muted",
|
|
15933
15957
|
itemContainer: "",
|
|
15934
|
-
itemAnchor: "py-3 px-6 hover:bg-
|
|
15958
|
+
itemAnchor: "py-3 px-6 hover:bg-medium cursor-pointer flex gap-4 items-center typography-small focusable",
|
|
15935
15959
|
submenuContainer: "",
|
|
15936
|
-
submenuAnchor: "py-3 pr-6 pl-3 hover:bg-
|
|
15960
|
+
submenuAnchor: "py-3 pr-6 pl-3 hover:bg-medium cursor-pointer typography-small focusable flex items-center w-full",
|
|
15937
15961
|
submenuList: "flex flex-col",
|
|
15938
15962
|
submenuItem: "pl-[56px]"
|
|
15939
15963
|
},
|
|
@@ -16174,10 +16198,10 @@ var progressBarIndicatorClasses = (0, import_tailwind_variants27.tv)({
|
|
|
16174
16198
|
base: "h-2 rounded-full transition-all ease-in-out delay-150",
|
|
16175
16199
|
variants: {
|
|
16176
16200
|
status: {
|
|
16177
|
-
info: "bg-info-
|
|
16178
|
-
warning: "bg-warning-
|
|
16179
|
-
success: "bg-success-
|
|
16180
|
-
error: "bg-danger-
|
|
16201
|
+
info: "bg-info-graphic",
|
|
16202
|
+
warning: "bg-warning-graphic",
|
|
16203
|
+
success: "bg-success-graphic",
|
|
16204
|
+
error: "bg-danger-graphic"
|
|
16181
16205
|
}
|
|
16182
16206
|
}
|
|
16183
16207
|
});
|
|
@@ -16341,15 +16365,15 @@ var switchStyles = (0, import_tailwind_variants28.tv)({
|
|
|
16341
16365
|
slots: {
|
|
16342
16366
|
wrapper: "relative inline-flex justify-center items-center self-center group",
|
|
16343
16367
|
input: "appearance-none peer/switch rounded-full inline-block w-[34px] h-[20px] transition duration-300 outline-none focusable cursor-pointer disabled:cursor-not-allowed",
|
|
16344
|
-
thumb: "pointer-events-none rounded-full absolute inline-flex justify-center items-center transition duration-300 h-4 w-4 transform peer-checked/switch:translate-x-5 bg-white left-2 peer-checked/switch:left-1 text-inactive peer-checked/switch:text-primary-
|
|
16368
|
+
thumb: "pointer-events-none rounded-full absolute inline-flex justify-center items-center transition duration-300 h-4 w-4 transform peer-checked/switch:translate-x-5 bg-white left-2 peer-checked/switch:left-1 text-inactive peer-checked/switch:text-primary-graphic"
|
|
16345
16369
|
},
|
|
16346
16370
|
variants: {
|
|
16347
16371
|
disabled: {
|
|
16348
16372
|
true: {
|
|
16349
|
-
input: "bg-
|
|
16373
|
+
input: "bg-medium checked:opacity-50 checked:bg-primary-muted"
|
|
16350
16374
|
},
|
|
16351
16375
|
false: {
|
|
16352
|
-
input: "bg-intense hover:bg-intense checked:bg-primary-
|
|
16376
|
+
input: "bg-intense hover:bg-intense checked:bg-primary-graphic hover:checked:bg-primary-inverse",
|
|
16353
16377
|
thumb: "shadow-4dp"
|
|
16354
16378
|
}
|
|
16355
16379
|
}
|
|
@@ -16489,7 +16513,7 @@ var connectorStyles = (0, import_tailwind_variants30.tv)({
|
|
|
16489
16513
|
},
|
|
16490
16514
|
variants: {
|
|
16491
16515
|
completed: {
|
|
16492
|
-
true: { connector: "bg-success-
|
|
16516
|
+
true: { connector: "bg-success-graphic" },
|
|
16493
16517
|
false: { connector: "bg-intense" }
|
|
16494
16518
|
},
|
|
16495
16519
|
dense: {
|
|
@@ -16538,7 +16562,7 @@ var stepStyles = (0, import_tailwind_variants30.tv)({
|
|
|
16538
16562
|
slots: ["indicator"],
|
|
16539
16563
|
dense: false,
|
|
16540
16564
|
state: "completed",
|
|
16541
|
-
class: "border-2 text-white bg-success-
|
|
16565
|
+
class: "border-2 text-white bg-success-graphic border-success-intense"
|
|
16542
16566
|
},
|
|
16543
16567
|
// Dense variants
|
|
16544
16568
|
{
|
|
@@ -16721,7 +16745,7 @@ var Timeline = ({ className, ...rest }) => /* @__PURE__ */ import_react130.defau
|
|
|
16721
16745
|
var Content2 = ({ className, ...rest }) => /* @__PURE__ */ import_react130.default.createElement("div", { ...rest, className: (0, import_clsx44.clsx)("pb-6", className) });
|
|
16722
16746
|
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) });
|
|
16723
16747
|
var LineContainer = ({ className, ...rest }) => /* @__PURE__ */ import_react130.default.createElement("div", { ...rest, className: (0, import_clsx44.clsx)("flex justify-center py-1", className) });
|
|
16724
|
-
var Line = ({ className, ...rest }) => /* @__PURE__ */ import_react130.default.createElement("div", { ...rest, className: (0, import_clsx44.clsx)("w-1 bg-
|
|
16748
|
+
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) });
|
|
16725
16749
|
var Dot = ({ className, ...rest }) => /* @__PURE__ */ import_react130.default.createElement("div", { ...rest, className: (0, import_clsx44.clsx)("bg-intense h-[6px] w-[6px] rounded", className) });
|
|
16726
16750
|
Separator.Dot = Dot;
|
|
16727
16751
|
LineContainer.Line = Line;
|