@deque/cauldron-styles 6.14.0-canary.c600f7ca → 6.14.0-canary.c961e5b8
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/index.css +37 -7
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1194,6 +1194,8 @@ textarea.Field--has-error:focus:hover,
|
|
|
1194
1194
|
--button-background-color-secondary-active: var(--gray-30);
|
|
1195
1195
|
--button-border-color-secondary: var(--gray-40);
|
|
1196
1196
|
|
|
1197
|
+
--button-background-color-badge-active: var(--gray-20);
|
|
1198
|
+
|
|
1197
1199
|
--button-background-color-error: var(--error);
|
|
1198
1200
|
--button-background-color-error-disabled: #db6379;
|
|
1199
1201
|
--button-background-color-error-active: var(--accent-error-active);
|
|
@@ -1232,10 +1234,29 @@ textarea.Field--has-error:focus:hover,
|
|
|
1232
1234
|
gap: var(--space-smallest);
|
|
1233
1235
|
}
|
|
1234
1236
|
|
|
1235
|
-
.Button--tag
|
|
1237
|
+
.Button--tag,
|
|
1238
|
+
.Button--badge {
|
|
1236
1239
|
position: relative;
|
|
1237
1240
|
}
|
|
1238
1241
|
|
|
1242
|
+
.Button--badge {
|
|
1243
|
+
display: inline-flex;
|
|
1244
|
+
align-items: center;
|
|
1245
|
+
justify-content: center;
|
|
1246
|
+
padding: 0 var(--space-small) 0 var(--space-smaller);
|
|
1247
|
+
background-color: var(--badge-background-color);
|
|
1248
|
+
color: var(--badge-text-color);
|
|
1249
|
+
border: 1px solid var(--badge-border-color);
|
|
1250
|
+
border-radius: var(--badge-height);
|
|
1251
|
+
font-size: var(--text-size-body);
|
|
1252
|
+
font-weight: var(--font-weight-normal);
|
|
1253
|
+
min-height: var(--badge-height);
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
.Button--badge:not([disabled], [aria-disabled='true']):active {
|
|
1257
|
+
background-color: var(--button-background-color-badge-active);
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1239
1260
|
button.Link {
|
|
1240
1261
|
cursor: pointer;
|
|
1241
1262
|
font-size: inherit;
|
|
@@ -1255,7 +1276,8 @@ button.Link {
|
|
|
1255
1276
|
.Button--tertiary:before,
|
|
1256
1277
|
.Button--clear:before,
|
|
1257
1278
|
.Button--error:before,
|
|
1258
|
-
.Button--tag:before
|
|
1279
|
+
.Button--tag:before,
|
|
1280
|
+
.Button--badge:before {
|
|
1259
1281
|
content: '';
|
|
1260
1282
|
position: absolute;
|
|
1261
1283
|
top: -2px;
|
|
@@ -1266,7 +1288,8 @@ button.Link {
|
|
|
1266
1288
|
pointer-events: none;
|
|
1267
1289
|
}
|
|
1268
1290
|
|
|
1269
|
-
.Button--tag:before
|
|
1291
|
+
.Button--tag:before,
|
|
1292
|
+
.Button--badge:before {
|
|
1270
1293
|
border-radius: var(--button-height);
|
|
1271
1294
|
}
|
|
1272
1295
|
|
|
@@ -1283,7 +1306,8 @@ button.Link {
|
|
|
1283
1306
|
box-shadow: 0 0 0 1px var(--button-outline-color-error);
|
|
1284
1307
|
}
|
|
1285
1308
|
|
|
1286
|
-
.Button--tag:not([disabled]):not([aria-disabled='true']):hover:before
|
|
1309
|
+
.Button--tag:not([disabled]):not([aria-disabled='true']):hover:before,
|
|
1310
|
+
.Button--badge:not([disabled]):not([aria-disabled='true']):hover:before {
|
|
1287
1311
|
box-shadow: 0 0 0 1px var(--button-outline-color-secondary);
|
|
1288
1312
|
}
|
|
1289
1313
|
|
|
@@ -1351,7 +1375,8 @@ button.Link {
|
|
|
1351
1375
|
background-color: var(--button-background-color-error-active);
|
|
1352
1376
|
}
|
|
1353
1377
|
|
|
1354
|
-
.Button--tag:is([disabled], [aria-disabled='true'])
|
|
1378
|
+
.Button--tag:is([disabled], [aria-disabled='true']),
|
|
1379
|
+
.Button--badge:is([disabled], [aria-disabled='true']) {
|
|
1355
1380
|
color: var(--disabled);
|
|
1356
1381
|
}
|
|
1357
1382
|
|
|
@@ -1426,6 +1451,8 @@ button.Link {
|
|
|
1426
1451
|
--button-background-color-secondary-active: var(--accent-light);
|
|
1427
1452
|
--button-background-color-error-active: #fea7a6;
|
|
1428
1453
|
|
|
1454
|
+
--button-background-color-badge-active: var(--badge-background-color);
|
|
1455
|
+
|
|
1429
1456
|
--button-focus-ring-color: var(--focus-dark);
|
|
1430
1457
|
--field-label-text-color: var(--accent-light);
|
|
1431
1458
|
--field-border-color-error: var(--accent-danger);
|
|
@@ -1462,7 +1489,8 @@ button.Link {
|
|
|
1462
1489
|
.cauldron--theme-dark .Button--primary:is([disabled], [aria-disabled='true']),
|
|
1463
1490
|
.cauldron--theme-dark .Button--secondary:is([disabled], [aria-disabled='true']),
|
|
1464
1491
|
.cauldron--theme-dark .Button--error:is([disabled], [aria-disabled='true']),
|
|
1465
|
-
.cauldron--theme-dark .Button--tag:is([disabled], [aria-disabled='true'])
|
|
1492
|
+
.cauldron--theme-dark .Button--tag:is([disabled], [aria-disabled='true']),
|
|
1493
|
+
.cauldron--theme-dark .Button--badge:is([disabled], [aria-disabled='true']) {
|
|
1466
1494
|
color: var(--dark-workspace-color);
|
|
1467
1495
|
}
|
|
1468
1496
|
|
|
@@ -1510,7 +1538,9 @@ button.Link {
|
|
|
1510
1538
|
}
|
|
1511
1539
|
|
|
1512
1540
|
.cauldron--theme-dark
|
|
1513
|
-
.Button--tag:not([disabled]):not([aria-disabled='true']):hover:before
|
|
1541
|
+
.Button--tag:not([disabled]):not([aria-disabled='true']):hover:before,
|
|
1542
|
+
.cauldron--theme-dark
|
|
1543
|
+
.Button--badge:not([disabled]):not([aria-disabled='true']):hover:before {
|
|
1514
1544
|
box-shadow: 0 0 0 1px var(--dark-workspace-color),
|
|
1515
1545
|
0 0 0 2px var(--accent-info);
|
|
1516
1546
|
}
|
package/package.json
CHANGED