@deque/cauldron-styles 6.14.0-canary.1653ddc7 → 6.14.0-canary.3aa034a4

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.
Files changed (2) hide show
  1. package/dist/index.css +7 -37
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -1194,8 +1194,6 @@ 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
-
1199
1197
  --button-background-color-error: var(--error);
1200
1198
  --button-background-color-error-disabled: #db6379;
1201
1199
  --button-background-color-error-active: var(--accent-error-active);
@@ -1234,29 +1232,10 @@ textarea.Field--has-error:focus:hover,
1234
1232
  gap: var(--space-smallest);
1235
1233
  }
1236
1234
 
1237
- .Button--tag,
1238
- .Button--badge {
1235
+ .Button--tag {
1239
1236
  position: relative;
1240
1237
  }
1241
1238
 
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
-
1260
1239
  button.Link {
1261
1240
  cursor: pointer;
1262
1241
  font-size: inherit;
@@ -1276,8 +1255,7 @@ button.Link {
1276
1255
  .Button--tertiary:before,
1277
1256
  .Button--clear:before,
1278
1257
  .Button--error:before,
1279
- .Button--tag:before,
1280
- .Button--badge:before {
1258
+ .Button--tag:before {
1281
1259
  content: '';
1282
1260
  position: absolute;
1283
1261
  top: -2px;
@@ -1288,8 +1266,7 @@ button.Link {
1288
1266
  pointer-events: none;
1289
1267
  }
1290
1268
 
1291
- .Button--tag:before,
1292
- .Button--badge:before {
1269
+ .Button--tag:before {
1293
1270
  border-radius: var(--button-height);
1294
1271
  }
1295
1272
 
@@ -1306,8 +1283,7 @@ button.Link {
1306
1283
  box-shadow: 0 0 0 1px var(--button-outline-color-error);
1307
1284
  }
1308
1285
 
1309
- .Button--tag:not([disabled]):not([aria-disabled='true']):hover:before,
1310
- .Button--badge:not([disabled]):not([aria-disabled='true']):hover:before {
1286
+ .Button--tag:not([disabled]):not([aria-disabled='true']):hover:before {
1311
1287
  box-shadow: 0 0 0 1px var(--button-outline-color-secondary);
1312
1288
  }
1313
1289
 
@@ -1375,8 +1351,7 @@ button.Link {
1375
1351
  background-color: var(--button-background-color-error-active);
1376
1352
  }
1377
1353
 
1378
- .Button--tag:is([disabled], [aria-disabled='true']),
1379
- .Button--badge:is([disabled], [aria-disabled='true']) {
1354
+ .Button--tag:is([disabled], [aria-disabled='true']) {
1380
1355
  color: var(--disabled);
1381
1356
  }
1382
1357
 
@@ -1451,8 +1426,6 @@ button.Link {
1451
1426
  --button-background-color-secondary-active: var(--accent-light);
1452
1427
  --button-background-color-error-active: #fea7a6;
1453
1428
 
1454
- --button-background-color-badge-active: var(--badge-background-color);
1455
-
1456
1429
  --button-focus-ring-color: var(--focus-dark);
1457
1430
  --field-label-text-color: var(--accent-light);
1458
1431
  --field-border-color-error: var(--accent-danger);
@@ -1489,8 +1462,7 @@ button.Link {
1489
1462
  .cauldron--theme-dark .Button--primary:is([disabled], [aria-disabled='true']),
1490
1463
  .cauldron--theme-dark .Button--secondary:is([disabled], [aria-disabled='true']),
1491
1464
  .cauldron--theme-dark .Button--error: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']) {
1465
+ .cauldron--theme-dark .Button--tag:is([disabled], [aria-disabled='true']) {
1494
1466
  color: var(--dark-workspace-color);
1495
1467
  }
1496
1468
 
@@ -1538,9 +1510,7 @@ button.Link {
1538
1510
  }
1539
1511
 
1540
1512
  .cauldron--theme-dark
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 {
1513
+ .Button--tag:not([disabled]):not([aria-disabled='true']):hover:before {
1544
1514
  box-shadow: 0 0 0 1px var(--dark-workspace-color),
1545
1515
  0 0 0 2px var(--accent-info);
1546
1516
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "6.14.0-canary.1653ddc7",
3
+ "version": "6.14.0-canary.3aa034a4",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",