@deque/cauldron-styles 6.4.2-canary.2657ce8b → 6.4.2-canary.40759dba
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 +49 -20
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1166,7 +1166,8 @@ textarea.Field--has-error:focus:hover,
|
|
|
1166
1166
|
--button-outline-color-error: var(--error);
|
|
1167
1167
|
|
|
1168
1168
|
--button-text-color-dark: var(--gray-90);
|
|
1169
|
-
--button-text-color-light:
|
|
1169
|
+
--button-text-color-light: #fff;
|
|
1170
|
+
--button-text-color-disabled: var(--disabled);
|
|
1170
1171
|
--button-focus-ring-color: var(--focus-light);
|
|
1171
1172
|
--button-thin-height: var(--target-size-minimum);
|
|
1172
1173
|
|
|
@@ -1175,6 +1176,7 @@ textarea.Field--has-error:focus:hover,
|
|
|
1175
1176
|
|
|
1176
1177
|
.Button--primary,
|
|
1177
1178
|
.Button--secondary,
|
|
1179
|
+
.Button--tertiary,
|
|
1178
1180
|
.Button--clear,
|
|
1179
1181
|
.Button--error {
|
|
1180
1182
|
border-radius: 3px;
|
|
@@ -1204,6 +1206,7 @@ button.Link {
|
|
|
1204
1206
|
|
|
1205
1207
|
.Button--primary:focus,
|
|
1206
1208
|
.Button--secondary:focus,
|
|
1209
|
+
.Button--tertiary:focus,
|
|
1207
1210
|
.Button--clear:focus,
|
|
1208
1211
|
.Button--error:focus {
|
|
1209
1212
|
outline: none;
|
|
@@ -1211,6 +1214,7 @@ button.Link {
|
|
|
1211
1214
|
|
|
1212
1215
|
.Button--primary:before,
|
|
1213
1216
|
.Button--secondary:before,
|
|
1217
|
+
.Button--tertiary:before,
|
|
1214
1218
|
.Button--clear:before,
|
|
1215
1219
|
.Button--error:before,
|
|
1216
1220
|
.Button--tag:before {
|
|
@@ -1232,7 +1236,8 @@ button.Link {
|
|
|
1232
1236
|
box-shadow: 0 0 0 1px var(--button-outline-color-primary);
|
|
1233
1237
|
}
|
|
1234
1238
|
|
|
1235
|
-
.Button--secondary:not([disabled]):not([aria-disabled='true']):hover:before
|
|
1239
|
+
.Button--secondary:not([disabled]):not([aria-disabled='true']):hover:before,
|
|
1240
|
+
.Button--tertiary:not([disabled]):not([aria-disabled='true']):hover:before {
|
|
1236
1241
|
box-shadow: 0 0 0 1px var(--button-outline-color-secondary);
|
|
1237
1242
|
}
|
|
1238
1243
|
|
|
@@ -1246,6 +1251,7 @@ button.Link {
|
|
|
1246
1251
|
|
|
1247
1252
|
.Button--primary:focus:before,
|
|
1248
1253
|
.Button--secondary:focus:before,
|
|
1254
|
+
.Button--tertiary:focus:before,
|
|
1249
1255
|
.Button--error:focus:before {
|
|
1250
1256
|
box-shadow: 0 0 1px 2px var(--button-focus-ring-color, --focus);
|
|
1251
1257
|
}
|
|
@@ -1264,19 +1270,29 @@ button.Link {
|
|
|
1264
1270
|
background: var(--button-background-color-primary-active);
|
|
1265
1271
|
}
|
|
1266
1272
|
|
|
1267
|
-
.Button--secondary
|
|
1273
|
+
.Button--secondary,
|
|
1274
|
+
.Button--tertiary {
|
|
1268
1275
|
background-color: var(--button-background-color-secondary);
|
|
1269
1276
|
color: var(--button-text-color-dark);
|
|
1270
1277
|
border: 1px solid var(--field-border-color);
|
|
1271
1278
|
}
|
|
1272
1279
|
|
|
1273
|
-
.Button--
|
|
1274
|
-
|
|
1275
|
-
color:
|
|
1280
|
+
.Button--tertiary:is(:not(:hover, :focus), [disabled], [aria-disabled='true']) {
|
|
1281
|
+
border-color: transparent;
|
|
1282
|
+
background-color: transparent;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
.Button--secondary:is([aria-disabled='true'], [disabled]) {
|
|
1286
|
+
color: var(--button-text-color-disabled);
|
|
1276
1287
|
background-color: var(--button-background-color-secondary-disabled);
|
|
1277
1288
|
}
|
|
1278
1289
|
|
|
1279
|
-
.Button--
|
|
1290
|
+
.Button--tertiary:is([aria-disabled='true'], [disabled]) {
|
|
1291
|
+
color: var(--button-text-color-disabled);
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
.Button--secondary:not([disabled], [aria-disabled='true']):active,
|
|
1295
|
+
.Button--tertiary:not([disabled], [aria-disabled='true']):active {
|
|
1280
1296
|
background-color: var(--button-background-color-secondary-active);
|
|
1281
1297
|
}
|
|
1282
1298
|
|
|
@@ -1297,13 +1313,13 @@ button.Link {
|
|
|
1297
1313
|
background-color: var(--button-background-color-error-active);
|
|
1298
1314
|
}
|
|
1299
1315
|
|
|
1300
|
-
.Button--tag[aria-disabled='true']
|
|
1301
|
-
.Button--tag[disabled] {
|
|
1316
|
+
.Button--tag:is([disabled], [aria-disabled='true']) {
|
|
1302
1317
|
color: var(--disabled);
|
|
1303
1318
|
}
|
|
1304
1319
|
|
|
1305
1320
|
.Button--primary .Icon,
|
|
1306
1321
|
.Button--secondary .Icon,
|
|
1322
|
+
.Button--tertiary .Icon,
|
|
1307
1323
|
.Button--clear .Icon,
|
|
1308
1324
|
.Button--error .Icon {
|
|
1309
1325
|
margin: 0 -4px;
|
|
@@ -1378,26 +1394,33 @@ button.Link {
|
|
|
1378
1394
|
border: 2px solid var(--accent-light);
|
|
1379
1395
|
}
|
|
1380
1396
|
|
|
1397
|
+
.cauldron--theme-dark .Button--tertiary {
|
|
1398
|
+
color: var(--accent-light);
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
.cauldron--theme-dark .Button--tertiary:not(:hover, :focus) {
|
|
1402
|
+
color: #fff;
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1381
1405
|
.cauldron--theme-dark .Button--error {
|
|
1382
1406
|
background-color: var(--accent-medium);
|
|
1383
|
-
color:
|
|
1407
|
+
color: #fff;
|
|
1384
1408
|
border: 2px solid var(--accent-danger);
|
|
1385
1409
|
}
|
|
1386
1410
|
|
|
1387
|
-
.cauldron--theme-dark .Button--primary[aria-disabled='true'],
|
|
1388
|
-
.cauldron--theme-dark .Button--
|
|
1389
|
-
.cauldron--theme-dark .Button--
|
|
1390
|
-
.cauldron--theme-dark .Button--
|
|
1391
|
-
.cauldron--theme-dark .Button--error[aria-disabled='true'],
|
|
1392
|
-
.cauldron--theme-dark .Button--error[disabled],
|
|
1393
|
-
.cauldron--theme-dark .Button--tag[disabled] {
|
|
1411
|
+
.cauldron--theme-dark .Button--primary:is([disabled], [aria-disabled='true']),
|
|
1412
|
+
.cauldron--theme-dark .Button--secondary:is([disabled], [aria-disabled='true']),
|
|
1413
|
+
.cauldron--theme-dark .Button--error:is([disabled], [aria-disabled='true']),
|
|
1414
|
+
.cauldron--theme-dark .Button--tag:is([disabled], [aria-disabled='true']) {
|
|
1394
1415
|
color: var(--dark-workspace-color);
|
|
1395
1416
|
}
|
|
1396
1417
|
|
|
1397
1418
|
.cauldron--theme-dark
|
|
1398
1419
|
.Button--primary:not([disabled]):not([aria-disabled='true']):active,
|
|
1399
1420
|
.cauldron--theme-dark
|
|
1400
|
-
.Button--secondary:not([disabled]):not([aria-disabled='true']):active
|
|
1421
|
+
.Button--secondary:not([disabled]):not([aria-disabled='true']):active,
|
|
1422
|
+
.cauldron--theme-dark
|
|
1423
|
+
.Button--tertiary:not([disabled]):not([aria-disabled='true']):active {
|
|
1401
1424
|
color: var(--accent-medium);
|
|
1402
1425
|
}
|
|
1403
1426
|
|
|
@@ -1412,7 +1435,7 @@ button.Link {
|
|
|
1412
1435
|
}
|
|
1413
1436
|
|
|
1414
1437
|
.cauldron--theme-dark button.Link:hover {
|
|
1415
|
-
color:
|
|
1438
|
+
color: #fff;
|
|
1416
1439
|
}
|
|
1417
1440
|
|
|
1418
1441
|
.cauldron--theme-dark
|
|
@@ -1422,7 +1445,9 @@ button.Link {
|
|
|
1422
1445
|
}
|
|
1423
1446
|
|
|
1424
1447
|
.cauldron--theme-dark
|
|
1425
|
-
.Button--secondary:not([disabled]):not([aria-disabled='true']):hover:before
|
|
1448
|
+
.Button--secondary:not([disabled]):not([aria-disabled='true']):hover:before,
|
|
1449
|
+
.cauldron--theme-dark
|
|
1450
|
+
.Button--tertiary:not([disabled]):not([aria-disabled='true']):hover:before {
|
|
1426
1451
|
box-shadow: 0 0 0 1px var(--dark-workspace-color),
|
|
1427
1452
|
0 0 0 2px var(--accent-light);
|
|
1428
1453
|
}
|
|
@@ -1439,6 +1464,10 @@ button.Link {
|
|
|
1439
1464
|
0 0 0 2px var(--accent-info);
|
|
1440
1465
|
}
|
|
1441
1466
|
|
|
1467
|
+
.cauldron--theme-dark .Button--tertiary:is([disabled], [aria-disabled='true']) {
|
|
1468
|
+
color: #74818b;
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1442
1471
|
:root {
|
|
1443
1472
|
/* Primary */
|
|
1444
1473
|
--icon-button-primary-color: var(--button-text-color-light);
|
package/package.json
CHANGED