@aivenio/aquarium 1.74.0 → 1.76.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 +86 -85
- package/dist/atoms.cjs +172 -165
- package/dist/atoms.mjs +172 -165
- package/dist/src/atoms/Card/Card.js +2 -2
- package/dist/src/atoms/DropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/src/atoms/DropdownMenu/DropdownMenu.js +2 -1
- package/dist/src/atoms/Modal/Modal.js +3 -3
- package/dist/src/atoms/RadioButton/RadioButton.js +2 -2
- package/dist/src/atoms/Select/Select.js +4 -3
- package/dist/src/atoms/Toast/Toast.js +4 -4
- package/dist/src/molecules/Accordion/Accordion.js +2 -2
- package/dist/src/molecules/Badge/Badge.js +3 -3
- package/dist/src/molecules/DropdownMenu/DropdownMenu.d.ts +3 -1
- package/dist/src/molecules/DropdownMenu/DropdownMenu.js +1 -1
- package/dist/src/molecules/Input/Input.js +3 -1
- package/dist/src/molecules/TagLabel/TagLabel.d.ts +1 -1
- package/dist/src/molecules/TagLabel/TagLabel.js +5 -3
- package/dist/src/molecules/index.d.ts +1 -0
- package/dist/src/molecules/index.js +2 -1
- package/dist/src/tokens/tokens.json +157 -154
- package/dist/styles.css +591 -492
- package/dist/system.cjs +2904 -2893
- package/dist/system.mjs +3039 -3029
- package/dist/tailwind.theme.json +1 -0
- package/dist/tokens.json +157 -154
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/tailwindGenerated.d.ts +1 -1
- package/package.json +3 -1
package/dist/atoms.cjs
CHANGED
@@ -4768,6 +4768,7 @@ var tailwind_theme_default = {
|
|
4768
4768
|
muted: "var(--aquarium-text-color-muted)",
|
4769
4769
|
default: "var(--aquarium-text-color-default)",
|
4770
4770
|
intense: "var(--aquarium-text-color-intense)",
|
4771
|
+
opposite: { default: "var(--aquarium-text-color-opposite-default)" },
|
4771
4772
|
danger: {
|
4772
4773
|
inactive: "var(--aquarium-text-color-danger-inactive)",
|
4773
4774
|
muted: "var(--aquarium-text-color-danger-muted)",
|
@@ -5092,77 +5093,77 @@ var tokens_default = {
|
|
5092
5093
|
},
|
5093
5094
|
backgroundColor: {
|
5094
5095
|
body: "white",
|
5095
|
-
"body-intense": "
|
5096
|
+
"body-intense": "rgba(58,58,68,1)",
|
5096
5097
|
"popover-content": "white",
|
5097
|
-
muted: "
|
5098
|
-
default: "
|
5099
|
-
intense: "
|
5098
|
+
muted: "rgba(247,247,250,1)",
|
5099
|
+
default: "rgba(237,237,240,1)",
|
5100
|
+
intense: "rgba(210,210,214,1)",
|
5100
5101
|
primary: {
|
5101
|
-
muted: "
|
5102
|
-
default: "
|
5103
|
-
intense: "
|
5104
|
-
active: "
|
5105
|
-
hover: "
|
5102
|
+
muted: "rgba(185,197,239,1)",
|
5103
|
+
default: "rgba(53,69,190,1)",
|
5104
|
+
intense: "rgba(34,47,149,1)",
|
5105
|
+
active: "rgba(243,246,255,1)",
|
5106
|
+
hover: "rgba(243,246,255,1)"
|
5106
5107
|
},
|
5107
5108
|
info: {
|
5108
|
-
muted: "
|
5109
|
-
default: "
|
5110
|
-
intense: "
|
5109
|
+
muted: "rgba(224,245,254,1)",
|
5110
|
+
default: "rgba(3,153,227,1)",
|
5111
|
+
intense: "rgba(1,116,186,1)"
|
5111
5112
|
},
|
5112
5113
|
success: {
|
5113
|
-
muted: "
|
5114
|
-
default: "
|
5115
|
-
intense: "
|
5114
|
+
muted: "rgba(236,247,237,1)",
|
5115
|
+
default: "rgba(0,179,0,1)",
|
5116
|
+
intense: "rgba(0,142,0,1)"
|
5116
5117
|
},
|
5117
5118
|
warning: {
|
5118
|
-
muted: "
|
5119
|
-
default: "
|
5120
|
-
intense: "
|
5119
|
+
muted: "rgba(255,248,234,1)",
|
5120
|
+
default: "rgba(255,179,0,1)",
|
5121
|
+
intense: "rgba(255,144,3,1)"
|
5121
5122
|
},
|
5122
5123
|
danger: {
|
5123
|
-
muted: "
|
5124
|
-
default: "
|
5125
|
-
intense: "
|
5124
|
+
muted: "rgba(255,203,210,1)",
|
5125
|
+
default: "rgba(255,173,179,1)",
|
5126
|
+
intense: "rgba(230,39,40,1)"
|
5126
5127
|
},
|
5127
5128
|
status: {
|
5128
|
-
announcement: "
|
5129
|
-
info: "
|
5130
|
-
warning: "
|
5131
|
-
danger: "
|
5132
|
-
success: "
|
5129
|
+
announcement: "rgba(243,246,255,1)",
|
5130
|
+
info: "rgba(224,245,254,1)",
|
5131
|
+
warning: "rgba(255,248,234,1)",
|
5132
|
+
danger: "rgba(254,232,231,1)",
|
5133
|
+
success: "rgba(236,247,237,1)"
|
5133
5134
|
},
|
5134
5135
|
"icon-button": {
|
5135
5136
|
hover: "rgba(25,25,29,.05)"
|
5136
5137
|
}
|
5137
5138
|
},
|
5138
5139
|
borderColor: {
|
5139
|
-
muted: "
|
5140
|
-
default: "
|
5141
|
-
intense: "
|
5140
|
+
muted: "rgba(237,237,240,1)",
|
5141
|
+
default: "rgba(210,210,214,1)",
|
5142
|
+
intense: "rgba(120,120,133,1)",
|
5142
5143
|
primary: {
|
5143
|
-
muted: "
|
5144
|
-
default: "
|
5145
|
-
intense: "
|
5144
|
+
muted: "rgba(129,142,236,1)",
|
5145
|
+
default: "rgba(53,69,190,1)",
|
5146
|
+
intense: "rgba(14,22,82,1)"
|
5146
5147
|
},
|
5147
5148
|
info: {
|
5148
|
-
muted: "
|
5149
|
-
default: "
|
5150
|
-
intense: "
|
5149
|
+
muted: "rgba(40,180,244,1)",
|
5150
|
+
default: "rgba(3,153,227,1)",
|
5151
|
+
intense: "rgba(1,116,186,1)"
|
5151
5152
|
},
|
5152
5153
|
success: {
|
5153
|
-
muted: "
|
5154
|
-
default: "
|
5155
|
-
intense: "
|
5154
|
+
muted: "rgba(203,255,201,1)",
|
5155
|
+
default: "rgba(96,219,87,1)",
|
5156
|
+
intense: "rgba(0,179,0,1)"
|
5156
5157
|
},
|
5157
5158
|
warning: {
|
5158
|
-
muted: "
|
5159
|
-
default: "
|
5160
|
-
intense: "
|
5159
|
+
muted: "rgba(254,235,178,1)",
|
5160
|
+
default: "rgba(255,179,0,1)",
|
5161
|
+
intense: "rgba(255,144,3,1)"
|
5161
5162
|
},
|
5162
5163
|
danger: {
|
5163
|
-
muted: "
|
5164
|
-
default: "
|
5165
|
-
intense: "
|
5164
|
+
muted: "rgba(255,203,210,1)",
|
5165
|
+
default: "rgba(230,39,40,1)",
|
5166
|
+
intense: "rgba(197,0,1,1)"
|
5166
5167
|
}
|
5167
5168
|
},
|
5168
5169
|
colors: {
|
@@ -5171,139 +5172,142 @@ var tokens_default = {
|
|
5171
5172
|
transparent: "transparent",
|
5172
5173
|
current: "currentColor",
|
5173
5174
|
error: {
|
5174
|
-
"0": "
|
5175
|
-
"5": "
|
5176
|
-
"10": "
|
5177
|
-
"20": "
|
5178
|
-
"30": "
|
5179
|
-
"40": "
|
5180
|
-
"50": "
|
5181
|
-
"60": "
|
5182
|
-
"70": "
|
5183
|
-
"80": "
|
5184
|
-
"90": "
|
5185
|
-
"100": "
|
5175
|
+
"0": "rgba(254,242,241,1)",
|
5176
|
+
"5": "rgba(254,232,231,1)",
|
5177
|
+
"10": "rgba(255,203,210,1)",
|
5178
|
+
"20": "rgba(255,173,179,1)",
|
5179
|
+
"30": "rgba(237,121,117,1)",
|
5180
|
+
"40": "rgba(224,80,79,1)",
|
5181
|
+
"50": "rgba(230,39,40,1)",
|
5182
|
+
"60": "rgba(231,0,0,1)",
|
5183
|
+
"70": "rgba(216,0,5,1)",
|
5184
|
+
"80": "rgba(197,0,1,1)",
|
5185
|
+
"90": "rgba(185,0,0,1)",
|
5186
|
+
"100": "rgba(170,0,0,1)"
|
5186
5187
|
},
|
5187
5188
|
warning: {
|
5188
|
-
"0": "
|
5189
|
-
"5": "
|
5190
|
-
"10": "
|
5191
|
-
"20": "
|
5192
|
-
"30": "
|
5193
|
-
"40": "
|
5194
|
-
"50": "
|
5195
|
-
"60": "
|
5196
|
-
"70": "
|
5197
|
-
"80": "
|
5198
|
-
"90": "
|
5199
|
-
"100": "
|
5189
|
+
"0": "rgba(255,253,249,1)",
|
5190
|
+
"5": "rgba(255,248,234,1)",
|
5191
|
+
"10": "rgba(255,242,205,1)",
|
5192
|
+
"20": "rgba(254,235,178,1)",
|
5193
|
+
"30": "rgba(253,223,129,1)",
|
5194
|
+
"40": "rgba(253,212,77,1)",
|
5195
|
+
"50": "rgba(253,201,38,1)",
|
5196
|
+
"60": "rgba(255,193,7,1)",
|
5197
|
+
"70": "rgba(255,179,0,1)",
|
5198
|
+
"80": "rgba(253,159,0,1)",
|
5199
|
+
"90": "rgba(255,144,3,1)",
|
5200
|
+
"100": "rgba(254,109,0,1)"
|
5200
5201
|
},
|
5201
5202
|
success: {
|
5202
|
-
"0": "
|
5203
|
-
"5": "
|
5204
|
-
"10": "
|
5205
|
-
"20": "
|
5206
|
-
"30": "
|
5207
|
-
"40": "
|
5208
|
-
"50": "
|
5209
|
-
"60": "
|
5210
|
-
"70": "
|
5211
|
-
"80": "
|
5212
|
-
"90": "
|
5213
|
-
"100": "
|
5203
|
+
"0": "rgba(245,250,245,1)",
|
5204
|
+
"5": "rgba(236,247,237,1)",
|
5205
|
+
"10": "rgba(203,255,201,1)",
|
5206
|
+
"20": "rgba(175,255,167,1)",
|
5207
|
+
"30": "rgba(137,235,128,1)",
|
5208
|
+
"40": "rgba(96,219,87,1)",
|
5209
|
+
"50": "rgba(64,206,55,1)",
|
5210
|
+
"60": "rgba(0,195,0,1)",
|
5211
|
+
"70": "rgba(0,179,0,1)",
|
5212
|
+
"80": "rgba(0,159,0,1)",
|
5213
|
+
"90": "rgba(0,142,0,1)",
|
5214
|
+
"100": "rgba(0,111,0,1)"
|
5214
5215
|
},
|
5215
5216
|
info: {
|
5216
|
-
"0": "
|
5217
|
-
"5": "
|
5218
|
-
"10": "
|
5219
|
-
"20": "
|
5220
|
-
"30": "
|
5221
|
-
"40": "
|
5222
|
-
"50": "
|
5223
|
-
"60": "
|
5224
|
-
"70": "
|
5225
|
-
"80": "
|
5226
|
-
"90": "
|
5227
|
-
"100": "
|
5217
|
+
"0": "rgba(249,253,255,1)",
|
5218
|
+
"5": "rgba(239,250,255,1)",
|
5219
|
+
"10": "rgba(224,245,254,1)",
|
5220
|
+
"20": "rgba(180,229,251,1)",
|
5221
|
+
"30": "rgba(127,209,247,1)",
|
5222
|
+
"40": "rgba(76,194,247,1)",
|
5223
|
+
"50": "rgba(40,180,244,1)",
|
5224
|
+
"60": "rgba(2,168,243,1)",
|
5225
|
+
"70": "rgba(3,153,227,1)",
|
5226
|
+
"80": "rgba(7,136,209,1)",
|
5227
|
+
"90": "rgba(1,116,186,1)",
|
5228
|
+
"100": "rgba(2,86,154,1)"
|
5228
5229
|
},
|
5229
5230
|
grey: {
|
5230
|
-
"0": "
|
5231
|
-
"5": "
|
5232
|
-
"10": "
|
5233
|
-
"20": "
|
5234
|
-
"30": "
|
5235
|
-
"40": "
|
5236
|
-
"50": "
|
5237
|
-
"60": "
|
5238
|
-
"70": "
|
5239
|
-
"80": "
|
5240
|
-
"90": "
|
5241
|
-
"100": "
|
5231
|
+
"0": "rgba(247,247,250,1)",
|
5232
|
+
"5": "rgba(237,237,240,1)",
|
5233
|
+
"10": "rgba(225,225,227,1)",
|
5234
|
+
"20": "rgba(210,210,214,1)",
|
5235
|
+
"30": "rgba(180,180,187,1)",
|
5236
|
+
"40": "rgba(150,150,160,1)",
|
5237
|
+
"50": "rgba(120,120,133,1)",
|
5238
|
+
"60": "rgba(90,91,106,1)",
|
5239
|
+
"70": "rgba(74,75,87,1)",
|
5240
|
+
"80": "rgba(58,58,68,1)",
|
5241
|
+
"90": "rgba(41,42,49,1)",
|
5242
|
+
"100": "rgba(25,25,29,1)"
|
5242
5243
|
},
|
5243
5244
|
secondary: {
|
5244
|
-
"0": "
|
5245
|
-
"5": "
|
5246
|
-
"10": "
|
5247
|
-
"20": "
|
5248
|
-
"30": "
|
5249
|
-
"40": "
|
5250
|
-
"50": "
|
5251
|
-
"60": "
|
5252
|
-
"70": "
|
5253
|
-
"80": "
|
5254
|
-
"90": "
|
5255
|
-
"100": "
|
5245
|
+
"0": "rgba(255,251,248,1)",
|
5246
|
+
"5": "rgba(255,243,232,1)",
|
5247
|
+
"10": "rgba(254,232,208,1)",
|
5248
|
+
"20": "rgba(248,201,156,1)",
|
5249
|
+
"30": "rgba(250,178,110,1)",
|
5250
|
+
"40": "rgba(251,154,62,1)",
|
5251
|
+
"50": "rgba(252,135,26,1)",
|
5252
|
+
"60": "rgba(255,119,0,1)",
|
5253
|
+
"70": "rgba(249,106,2,1)",
|
5254
|
+
"80": "rgba(243,88,13,1)",
|
5255
|
+
"90": "rgba(235,70,16,1)",
|
5256
|
+
"100": "rgba(225,29,22,1)"
|
5256
5257
|
},
|
5257
5258
|
primary: {
|
5258
|
-
"0": "
|
5259
|
-
"5": "
|
5260
|
-
"10": "
|
5261
|
-
"20": "
|
5262
|
-
"30": "
|
5263
|
-
"40": "
|
5264
|
-
"50": "
|
5265
|
-
"60": "
|
5266
|
-
"70": "
|
5267
|
-
"80": "
|
5268
|
-
"90": "
|
5269
|
-
"100": "
|
5259
|
+
"0": "rgba(255,255,255,1)",
|
5260
|
+
"5": "rgba(243,246,255,1)",
|
5261
|
+
"10": "rgba(227,233,255,1)",
|
5262
|
+
"20": "rgba(213,221,250,1)",
|
5263
|
+
"30": "rgba(199,209,244,1)",
|
5264
|
+
"40": "rgba(185,197,239,1)",
|
5265
|
+
"50": "rgba(157,170,238,1)",
|
5266
|
+
"60": "rgba(129,142,236,1)",
|
5267
|
+
"70": "rgba(88,101,205,1)",
|
5268
|
+
"80": "rgba(53,69,190,1)",
|
5269
|
+
"90": "rgba(34,47,149,1)",
|
5270
|
+
"100": "rgba(14,22,82,1)"
|
5270
5271
|
}
|
5271
5272
|
},
|
5272
5273
|
textColor: {
|
5273
|
-
inactive: "
|
5274
|
-
muted: "
|
5275
|
-
default: "
|
5276
|
-
intense: "
|
5274
|
+
inactive: "rgba(150,150,160,1)",
|
5275
|
+
muted: "rgba(120,120,133,1)",
|
5276
|
+
default: "rgba(74,75,87,1)",
|
5277
|
+
intense: "rgba(41,42,49,1)",
|
5278
|
+
opposite: {
|
5279
|
+
default: "white"
|
5280
|
+
},
|
5277
5281
|
primary: {
|
5278
|
-
inactive: "
|
5279
|
-
active: "
|
5280
|
-
muted: "
|
5281
|
-
default: "
|
5282
|
-
intense: "
|
5282
|
+
inactive: "rgba(185,197,239,1)",
|
5283
|
+
active: "rgba(34,47,149,1)",
|
5284
|
+
muted: "rgba(129,142,236,1)",
|
5285
|
+
default: "rgba(88,101,205,1)",
|
5286
|
+
intense: "rgba(53,69,190,1)"
|
5283
5287
|
},
|
5284
5288
|
info: {
|
5285
|
-
inactive: "
|
5286
|
-
muted: "
|
5287
|
-
default: "
|
5288
|
-
intense: "
|
5289
|
+
inactive: "rgba(180,229,251,1)",
|
5290
|
+
muted: "rgba(76,194,247,1)",
|
5291
|
+
default: "rgba(3,153,227,1)",
|
5292
|
+
intense: "rgba(1,116,186,1)"
|
5289
5293
|
},
|
5290
5294
|
success: {
|
5291
|
-
inactive: "
|
5292
|
-
muted: "
|
5293
|
-
default: "
|
5294
|
-
intense: "
|
5295
|
+
inactive: "rgba(203,255,201,1)",
|
5296
|
+
muted: "rgba(137,235,128,1)",
|
5297
|
+
default: "rgba(0,179,0,1)",
|
5298
|
+
intense: "rgba(0,142,0,1)"
|
5295
5299
|
},
|
5296
5300
|
warning: {
|
5297
|
-
inactive: "
|
5298
|
-
muted: "
|
5299
|
-
default: "
|
5300
|
-
intense: "
|
5301
|
+
inactive: "rgba(254,235,178,1)",
|
5302
|
+
muted: "rgba(253,212,77,1)",
|
5303
|
+
default: "rgba(253,159,0,1)",
|
5304
|
+
intense: "rgba(254,109,0,1)"
|
5301
5305
|
},
|
5302
5306
|
danger: {
|
5303
|
-
inactive: "
|
5304
|
-
muted: "
|
5305
|
-
default: "
|
5306
|
-
intense: "
|
5307
|
+
inactive: "rgba(255,203,210,1)",
|
5308
|
+
muted: "rgba(255,173,179,1)",
|
5309
|
+
default: "rgba(230,39,40,1)",
|
5310
|
+
intense: "rgba(197,0,1,1)"
|
5307
5311
|
}
|
5308
5312
|
},
|
5309
5313
|
boxShadow: {
|
@@ -5312,7 +5316,7 @@ var tokens_default = {
|
|
5312
5316
|
"8dp": "0px 8px 16px rgba(90, 91, 106, 0.16), 0px 4px 8px rgba(58, 58, 68, 0.16)",
|
5313
5317
|
"4dp": "0px 4px 8px rgba(90, 91, 106, 0.20), 0px 2px 4px rgba(58, 58, 68, 0.20)",
|
5314
5318
|
"2dp": "0px 2px 4px rgba(90, 91, 106, 0.24), 0px 1px 2px rgba(58, 58, 68, 0.24)",
|
5315
|
-
|
5319
|
+
bodyInset: "inset 0 0 0 3px var(--aquarium-background-color-body)"
|
5316
5320
|
},
|
5317
5321
|
elevations: {
|
5318
5322
|
"24dp": "0px 24px 48px rgba(90, 91, 106, 0.08), 0px 12px 24px rgba(58, 58, 68, 0.08)",
|
@@ -6013,9 +6017,10 @@ var Toast = (_a) => {
|
|
6013
6017
|
]);
|
6014
6018
|
return /* @__PURE__ */ import_react7.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
6015
6019
|
className: (0, import_classnames3.default)(
|
6016
|
-
|
6017
|
-
|
6018
|
-
"bg-
|
6020
|
+
"Aquarium-Toast",
|
6021
|
+
tw("typography-small rounded grid grid-cols-[1fr_auto] items-center gap-x-6 gap-y-2 p-4", {
|
6022
|
+
"bg-body-intense text-opposite-default": variant === "default",
|
6023
|
+
"bg-danger-intense text-white": variant === "danger"
|
6019
6024
|
}),
|
6020
6025
|
className
|
6021
6026
|
)
|
@@ -7634,7 +7639,7 @@ var getTitleContent = ({
|
|
7634
7639
|
}
|
7635
7640
|
const titleContent = /* @__PURE__ */ import_react24.default.createElement(Typography2, {
|
7636
7641
|
variant: dense ? "small-strong" : "default-strong",
|
7637
|
-
color: "
|
7642
|
+
color: "intense"
|
7638
7643
|
}, title);
|
7639
7644
|
if (clampTitle) {
|
7640
7645
|
return /* @__PURE__ */ import_react24.default.createElement(LineClamp, {
|
@@ -7732,7 +7737,7 @@ var RadioButton = import_react27.default.forwardRef(
|
|
7732
7737
|
tw(
|
7733
7738
|
"inline-flex justify-center items-center self-center appearance-none",
|
7734
7739
|
"w-5 h-5 p-[3px] rounded-full border border-default",
|
7735
|
-
"outline-none focus:border-info-default checked:bg-primary-default checked:shadow-
|
7740
|
+
"outline-none focus:border-info-default checked:bg-primary-default checked:shadow-bodyInset",
|
7736
7741
|
{
|
7737
7742
|
"cursor-pointer hover:border-intense checked:border-primary-default": !disabled,
|
7738
7743
|
"cursor-not-allowed border-muted bg-muted checked:bg-primary-muted checked:border-transparent": disabled
|
@@ -8130,7 +8135,7 @@ var createBadge = (type, displayName) => {
|
|
8130
8135
|
tw("inline-block text-center", {
|
8131
8136
|
"rounded-full": type === "default" || type === "chip",
|
8132
8137
|
"rounded": type === "tab",
|
8133
|
-
"border border-current": kind === "outlined",
|
8138
|
+
"text-default border border-current": kind === "outlined",
|
8134
8139
|
"bg-current": kind === "filled" && type !== "chip",
|
8135
8140
|
"bg-white": type === "chip" && !disabled,
|
8136
8141
|
"bg-muted": type === "chip" && disabled,
|
@@ -8164,7 +8169,7 @@ var createBadge = (type, displayName) => {
|
|
8164
8169
|
var NotificationBadge = (_a) => {
|
8165
8170
|
var _b = _a, { children, top = "-2px", right = "-2px" } = _b, props = __objRest(_b, ["children", "top", "right"]);
|
8166
8171
|
return /* @__PURE__ */ import_react31.default.createElement("div", __spreadProps(__spreadValues({}, props), {
|
8167
|
-
className: classNames("Aquarium-Badge.Notification", tw("relative inline-flex"))
|
8172
|
+
className: classNames("Aquarium-Badge.Notification", tw("relative inline-flex text-default"))
|
8168
8173
|
}), children, /* @__PURE__ */ import_react31.default.createElement("span", {
|
8169
8174
|
style: { top, right },
|
8170
8175
|
className: tw("absolute rounded-full w-[6px] h-[6px] bg-danger-intense")
|
@@ -8239,6 +8244,7 @@ var Item2 = import_react32.default.forwardRef(
|
|
8239
8244
|
"cursor-pointer hover:bg-muted": !props.disabled,
|
8240
8245
|
"bg-muted": highlighted,
|
8241
8246
|
"text-primary-intense": kind === "action",
|
8247
|
+
"text-danger-default": kind === "danger",
|
8242
8248
|
"text-inactive cursor-not-allowed": props.disabled
|
8243
8249
|
})
|
8244
8250
|
}, props), icon && showNotification && /* @__PURE__ */ import_react32.default.createElement(Badge.Notification, null, /* @__PURE__ */ import_react32.default.createElement(InlineIcon, {
|
@@ -8452,7 +8458,7 @@ var Modal = (_a) => {
|
|
8452
8458
|
Modal.BackDrop = (_a) => {
|
8453
8459
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
8454
8460
|
return /* @__PURE__ */ import_react36.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
8455
|
-
className: classNames(tw("-z-10 fixed min-w-full min-h-full bg-
|
8461
|
+
className: classNames(tw("-z-10 fixed min-w-full min-h-full bg-default opacity-80"), className)
|
8456
8462
|
}));
|
8457
8463
|
};
|
8458
8464
|
Modal.Dialog = import_react36.default.forwardRef(
|
@@ -8531,7 +8537,7 @@ Modal.TitleContainer = (_a) => {
|
|
8531
8537
|
Modal.Body = (_a) => {
|
8532
8538
|
var _b = _a, { children, className, noFooter = false, maxHeight, style } = _b, rest = __objRest(_b, ["children", "className", "noFooter", "maxHeight", "style"]);
|
8533
8539
|
return /* @__PURE__ */ import_react36.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
8534
|
-
className: classNames(tw("px-7 grow overflow-y-auto", { "pb-6": noFooter }), className),
|
8540
|
+
className: classNames(tw("px-7 grow overflow-y-auto text-default", { "pb-6": noFooter }), className),
|
8535
8541
|
style: __spreadValues({ maxHeight }, style)
|
8536
8542
|
}), children);
|
8537
8543
|
};
|
@@ -8904,7 +8910,8 @@ var Input = import_react43.default.forwardRef((_a, ref) => {
|
|
8904
8910
|
{
|
8905
8911
|
"text-default": !props.disabled,
|
8906
8912
|
"text-inactive": props.disabled,
|
8907
|
-
"
|
8913
|
+
"bg-body": !props.readOnly,
|
8914
|
+
"cursor-default bg-transparent": props.readOnly
|
8908
8915
|
}
|
8909
8916
|
)
|
8910
8917
|
}, props));
|
@@ -8915,7 +8922,7 @@ var Menu = import_react43.default.forwardRef(
|
|
8915
8922
|
return /* @__PURE__ */ import_react43.default.createElement("ul", __spreadValues({
|
8916
8923
|
ref,
|
8917
8924
|
style: { maxHeight },
|
8918
|
-
className
|
8925
|
+
className: classNames(className, tw("text-default"))
|
8919
8926
|
}, props), children);
|
8920
8927
|
}
|
8921
8928
|
);
|