@deque/cauldron-styles 4.5.0-canary.f4c1c3dd → 4.5.0-canary.fa9f1d61

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 +33 -3
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -36,6 +36,10 @@
36
36
  --accent-secondary-active: var(--gray-30);
37
37
  --focus-light: #c11bde;
38
38
  --focus-dark: #eb94ff;
39
+ --issue-critical: #ed5959;
40
+ --issue-serious: #f3826b;
41
+ --issue-moderate: #ffdd76;
42
+ --issue-minor: #d3dde0;
39
43
 
40
44
  /* text colours */
41
45
  --text-color-base: var(--gray-60);
@@ -394,6 +398,10 @@ p {
394
398
  gap: 8px;
395
399
  }
396
400
 
401
+ .Button--tag {
402
+ position: relative;
403
+ }
404
+
397
405
  button.Link {
398
406
  cursor: pointer;
399
407
  }
@@ -408,7 +416,8 @@ button.Link {
408
416
  .Button--primary:before,
409
417
  .Button--secondary:before,
410
418
  .Button--clear:before,
411
- .Button--error:before {
419
+ .Button--error:before,
420
+ .Button--tag:before {
412
421
  content: '';
413
422
  position: absolute;
414
423
  top: -2px;
@@ -419,6 +428,10 @@ button.Link {
419
428
  pointer-events: none;
420
429
  }
421
430
 
431
+ .Button--tag:before {
432
+ border-radius: 11px;
433
+ }
434
+
422
435
  .Button--primary:not([disabled]):not([aria-disabled='true']):hover:before {
423
436
  box-shadow: 0 0 0 1px var(--button-outline-color-primary);
424
437
  }
@@ -431,9 +444,14 @@ button.Link {
431
444
  box-shadow: 0 0 0 1px var(--button-outline-color-error);
432
445
  }
433
446
 
447
+ .Button--tag:not([disabled]):not([aria-disabled='true']):hover:before {
448
+ box-shadow: 0 0 0 1px var(--button-outline-color-primary);
449
+ }
450
+
434
451
  .Button--primary:focus:before,
435
452
  .Button--secondary:focus:before,
436
- .Button--error:focus:before {
453
+ .Button--error:focus:before,
454
+ .Button--tag:focus:before {
437
455
  box-shadow: 0 0 1px 2px var(--button-focus-ring-color, --focus);
438
456
  }
439
457
 
@@ -484,6 +502,11 @@ button.Link {
484
502
  background-color: var(--button-background-color-error-active);
485
503
  }
486
504
 
505
+ .Button--tag[aria-disabled='true'],
506
+ .Button--tag[disabled] {
507
+ color: var(--disabled);
508
+ }
509
+
487
510
  .Button--primary .Icon,
488
511
  .Button--secondary .Icon,
489
512
  .Button--clear .Icon,
@@ -568,7 +591,8 @@ button.Link {
568
591
  .cauldron--theme-dark .Button--secondary[aria-disabled='true'],
569
592
  .cauldron--theme-dark .Button--secondary[disabled],
570
593
  .cauldron--theme-dark .Button--error[aria-disabled='true'],
571
- .cauldron--theme-dark .Button--error[disabled] {
594
+ .cauldron--theme-dark .Button--error[disabled],
595
+ .cauldron--theme-dark .Button--tag[disabled] {
572
596
  color: var(--dark-workspace-color);
573
597
  }
574
598
 
@@ -608,6 +632,12 @@ button.Link {
608
632
  0 0 0 2px var(--accent-danger);
609
633
  }
610
634
 
635
+ .cauldron--theme-dark
636
+ .Button--tag:not([disabled]):not([aria-disabled='true']):hover:before {
637
+ box-shadow: 0 0 0 1px var(--dark-workspace-color),
638
+ 0 0 0 2px var(--accent-info);
639
+ }
640
+
611
641
  :root {
612
642
  --icon-button-background-color-primary: var(
613
643
  --button-background-color-primary
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "4.5.0-canary.f4c1c3dd",
3
+ "version": "4.5.0-canary.fa9f1d61",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",