@aivenio/aquarium 1.73.0 → 1.75.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 +211 -165
- package/dist/atoms.mjs +211 -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/Popover/Popover.js +6 -2
- package/dist/src/molecules/TagLabel/TagLabel.js +1 -1
- package/dist/src/molecules/Typography/Typography.d.ts +2 -1
- package/dist/src/molecules/Typography/Typography.js +11 -1
- package/dist/src/molecules/index.d.ts +1 -0
- package/dist/src/molecules/index.js +2 -1
- package/dist/src/tokens/tokens.json +180 -154
- package/dist/styles.css +598 -492
- package/dist/system.cjs +3068 -3015
- package/dist/system.mjs +2907 -2855
- package/dist/tailwind.theme.json +1 -0
- package/dist/tokens.json +180 -154
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/designTokens.d.ts +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)",
|
@@ -5403,6 +5407,9 @@ var tokens_default = {
|
|
5403
5407
|
],
|
5404
5408
|
body: [
|
5405
5409
|
"Inter"
|
5410
|
+
],
|
5411
|
+
monospace: [
|
5412
|
+
"Source Code Pro"
|
5406
5413
|
]
|
5407
5414
|
},
|
5408
5415
|
typography: {
|
@@ -5506,6 +5513,26 @@ var tokens_default = {
|
|
5506
5513
|
lineHeight: 1.26,
|
5507
5514
|
textTransform: "none"
|
5508
5515
|
},
|
5516
|
+
code: {
|
5517
|
+
fontFamily: [
|
5518
|
+
"Source Code Pro"
|
5519
|
+
],
|
5520
|
+
fontSize: "16px",
|
5521
|
+
fontWeight: 400,
|
5522
|
+
fontStyle: "normal",
|
5523
|
+
lineHeight: 1.5,
|
5524
|
+
textTransform: "none"
|
5525
|
+
},
|
5526
|
+
"code-strong": {
|
5527
|
+
fontFamily: [
|
5528
|
+
"Source Code Pro"
|
5529
|
+
],
|
5530
|
+
fontSize: "16px",
|
5531
|
+
fontWeight: 600,
|
5532
|
+
fontStyle: "normal",
|
5533
|
+
lineHeight: 1.5,
|
5534
|
+
textTransform: "none"
|
5535
|
+
},
|
5509
5536
|
"caption-small": {
|
5510
5537
|
fontFamily: [
|
5511
5538
|
"Inter"
|
@@ -5990,9 +6017,10 @@ var Toast = (_a) => {
|
|
5990
6017
|
]);
|
5991
6018
|
return /* @__PURE__ */ import_react7.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
5992
6019
|
className: (0, import_classnames3.default)(
|
5993
|
-
|
5994
|
-
|
5995
|
-
"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"
|
5996
6024
|
}),
|
5997
6025
|
className
|
5998
6026
|
)
|
@@ -7407,6 +7435,22 @@ Typography2.Caption = (_a) => {
|
|
7407
7435
|
}));
|
7408
7436
|
};
|
7409
7437
|
Typography2.Caption.displayName = "Typography.Caption";
|
7438
|
+
Typography2.Code = (_a) => {
|
7439
|
+
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
7440
|
+
return /* @__PURE__ */ import_react22.default.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7441
|
+
htmlTag,
|
7442
|
+
variant: "code"
|
7443
|
+
}));
|
7444
|
+
};
|
7445
|
+
Typography2.Code.displayName = "Typography.Code";
|
7446
|
+
Typography2.CodeStrong = (_a) => {
|
7447
|
+
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
7448
|
+
return /* @__PURE__ */ import_react22.default.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
7449
|
+
htmlTag,
|
7450
|
+
variant: "code-strong"
|
7451
|
+
}));
|
7452
|
+
};
|
7453
|
+
Typography2.CodeStrong.displayName = "Typography.CodeStrong";
|
7410
7454
|
Typography2.LargeText = (_a) => {
|
7411
7455
|
var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
|
7412
7456
|
return /* @__PURE__ */ import_react22.default.createElement(Typography, __spreadProps(__spreadValues({}, props), {
|
@@ -7595,7 +7639,7 @@ var getTitleContent = ({
|
|
7595
7639
|
}
|
7596
7640
|
const titleContent = /* @__PURE__ */ import_react24.default.createElement(Typography2, {
|
7597
7641
|
variant: dense ? "small-strong" : "default-strong",
|
7598
|
-
color: "
|
7642
|
+
color: "intense"
|
7599
7643
|
}, title);
|
7600
7644
|
if (clampTitle) {
|
7601
7645
|
return /* @__PURE__ */ import_react24.default.createElement(LineClamp, {
|
@@ -7693,7 +7737,7 @@ var RadioButton = import_react27.default.forwardRef(
|
|
7693
7737
|
tw(
|
7694
7738
|
"inline-flex justify-center items-center self-center appearance-none",
|
7695
7739
|
"w-5 h-5 p-[3px] rounded-full border border-default",
|
7696
|
-
"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",
|
7697
7741
|
{
|
7698
7742
|
"cursor-pointer hover:border-intense checked:border-primary-default": !disabled,
|
7699
7743
|
"cursor-not-allowed border-muted bg-muted checked:bg-primary-muted checked:border-transparent": disabled
|
@@ -8091,7 +8135,7 @@ var createBadge = (type, displayName) => {
|
|
8091
8135
|
tw("inline-block text-center", {
|
8092
8136
|
"rounded-full": type === "default" || type === "chip",
|
8093
8137
|
"rounded": type === "tab",
|
8094
|
-
"border border-current": kind === "outlined",
|
8138
|
+
"text-default border border-current": kind === "outlined",
|
8095
8139
|
"bg-current": kind === "filled" && type !== "chip",
|
8096
8140
|
"bg-white": type === "chip" && !disabled,
|
8097
8141
|
"bg-muted": type === "chip" && disabled,
|
@@ -8125,7 +8169,7 @@ var createBadge = (type, displayName) => {
|
|
8125
8169
|
var NotificationBadge = (_a) => {
|
8126
8170
|
var _b = _a, { children, top = "-2px", right = "-2px" } = _b, props = __objRest(_b, ["children", "top", "right"]);
|
8127
8171
|
return /* @__PURE__ */ import_react31.default.createElement("div", __spreadProps(__spreadValues({}, props), {
|
8128
|
-
className: classNames("Aquarium-Badge.Notification", tw("relative inline-flex"))
|
8172
|
+
className: classNames("Aquarium-Badge.Notification", tw("relative inline-flex text-default"))
|
8129
8173
|
}), children, /* @__PURE__ */ import_react31.default.createElement("span", {
|
8130
8174
|
style: { top, right },
|
8131
8175
|
className: tw("absolute rounded-full w-[6px] h-[6px] bg-danger-intense")
|
@@ -8200,6 +8244,7 @@ var Item2 = import_react32.default.forwardRef(
|
|
8200
8244
|
"cursor-pointer hover:bg-muted": !props.disabled,
|
8201
8245
|
"bg-muted": highlighted,
|
8202
8246
|
"text-primary-intense": kind === "action",
|
8247
|
+
"text-danger-default": kind === "danger",
|
8203
8248
|
"text-inactive cursor-not-allowed": props.disabled
|
8204
8249
|
})
|
8205
8250
|
}, props), icon && showNotification && /* @__PURE__ */ import_react32.default.createElement(Badge.Notification, null, /* @__PURE__ */ import_react32.default.createElement(InlineIcon, {
|
@@ -8413,7 +8458,7 @@ var Modal = (_a) => {
|
|
8413
8458
|
Modal.BackDrop = (_a) => {
|
8414
8459
|
var _b = _a, { className } = _b, rest = __objRest(_b, ["className"]);
|
8415
8460
|
return /* @__PURE__ */ import_react36.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
8416
|
-
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)
|
8417
8462
|
}));
|
8418
8463
|
};
|
8419
8464
|
Modal.Dialog = import_react36.default.forwardRef(
|
@@ -8492,7 +8537,7 @@ Modal.TitleContainer = (_a) => {
|
|
8492
8537
|
Modal.Body = (_a) => {
|
8493
8538
|
var _b = _a, { children, className, noFooter = false, maxHeight, style } = _b, rest = __objRest(_b, ["children", "className", "noFooter", "maxHeight", "style"]);
|
8494
8539
|
return /* @__PURE__ */ import_react36.default.createElement("div", __spreadProps(__spreadValues({}, rest), {
|
8495
|
-
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),
|
8496
8541
|
style: __spreadValues({ maxHeight }, style)
|
8497
8542
|
}), children);
|
8498
8543
|
};
|
@@ -8865,7 +8910,8 @@ var Input = import_react43.default.forwardRef((_a, ref) => {
|
|
8865
8910
|
{
|
8866
8911
|
"text-default": !props.disabled,
|
8867
8912
|
"text-inactive": props.disabled,
|
8868
|
-
"
|
8913
|
+
"bg-body": !props.readOnly,
|
8914
|
+
"cursor-default bg-transparent": props.readOnly
|
8869
8915
|
}
|
8870
8916
|
)
|
8871
8917
|
}, props));
|
@@ -8876,7 +8922,7 @@ var Menu = import_react43.default.forwardRef(
|
|
8876
8922
|
return /* @__PURE__ */ import_react43.default.createElement("ul", __spreadValues({
|
8877
8923
|
ref,
|
8878
8924
|
style: { maxHeight },
|
8879
|
-
className
|
8925
|
+
className: classNames(className, tw("text-default"))
|
8880
8926
|
}, props), children);
|
8881
8927
|
}
|
8882
8928
|
);
|