@deque/cauldron-styles 4.7.0-canary.c092e1d1 → 4.7.0-canary.c168abdb

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 +56 -10
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -20,6 +20,7 @@
20
20
  --accent-medium: #283640;
21
21
  --accent-light: #d4dde0;
22
22
  --accent-success: #a5db75;
23
+ --accent-success-high-contrast: #4fa630;
23
24
  --accent-success-light: #d1ffa4;
24
25
  --accent-success-dark: #57a711;
25
26
  --accent-error: #d93251;
@@ -38,8 +39,8 @@
38
39
  --focus-light: #c11bde;
39
40
  --focus-dark: #eb94ff;
40
41
  --issue-critical: var(--accent-danger);
41
- --issue-serious: #ed9a55;
42
- --issue-moderate: var(--accent-warning);
42
+ --issue-serious: var(--accent-warning);
43
+ --issue-moderate: #f0c4f8;
43
44
  --issue-minor: var(--gray-20);
44
45
 
45
46
  /* text colours */
@@ -699,6 +700,12 @@ button.Link {
699
700
  padding: 0;
700
701
  }
701
702
 
703
+ /* Ensure both <a> and <button> IconButtons are aligned correctly. See #846. */
704
+
705
+ a.IconButton {
706
+ vertical-align: middle;
707
+ }
708
+
702
709
  .IconButton .Icon {
703
710
  width: 100%;
704
711
  height: 100%;
@@ -1835,7 +1842,7 @@ textarea.Field--has-error:focus:hover,
1835
1842
 
1836
1843
  .Link:hover {
1837
1844
  text-decoration: underline;
1838
- color: var(--link-text-color);
1845
+ color: var(--link-text-color-hover);
1839
1846
  }
1840
1847
 
1841
1848
  .Link:focus {
@@ -2259,9 +2266,9 @@ p .Link {
2259
2266
  }
2260
2267
 
2261
2268
  .RadioCardGroup__Icon.Icon svg {
2262
- /**
2269
+ /**
2263
2270
  * this is edge case to pass color-contrast when the radio-card is selected,
2264
- * it is not a color we want to live in cauldron as a variable
2271
+ * it is not a color we want to live in cauldron as a variable
2265
2272
  * @see https://github.com/dequelabs/cauldron/pull/736
2266
2273
  */
2267
2274
  color: #4f990f;
@@ -2305,6 +2312,10 @@ p .Link {
2305
2312
  justify-content: center;
2306
2313
  }
2307
2314
 
2315
+ .cauldron--theme-dark .RadioCardGroup__Icon.Icon svg {
2316
+ color: var(--accent-success);
2317
+ }
2318
+
2308
2319
  :root {
2309
2320
  --tile-background-color: var(--white);
2310
2321
  --list-separator: rgba(153, 153, 153, 0.15);
@@ -2602,15 +2613,14 @@ p .Link {
2602
2613
 
2603
2614
  .TooltipHead {
2604
2615
  background: var(--gray-20);
2605
- font-size: 16px;
2616
+ font-size: var(--text-size-small);
2606
2617
  color: var(--gray-90);
2607
- padding: 16px 28px;
2618
+ padding: var(--space-small) var(--space-large);
2608
2619
  text-align: center;
2609
2620
  }
2610
2621
 
2611
2622
  .TooltipContent {
2612
2623
  background: #fff;
2613
- font-size: var(--font-size-smaller);
2614
2624
  text-align: left;
2615
2625
  }
2616
2626
 
@@ -3395,6 +3405,7 @@ button.TooltipTabstop {
3395
3405
  --table-row-border-color: var(--gray-40);
3396
3406
  --table-space: 11px;
3397
3407
  --table-header-sorting-border-color: var(--gray-90);
3408
+ --table-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
3398
3409
  }
3399
3410
 
3400
3411
  .cauldron--theme-dark {
@@ -3475,14 +3486,39 @@ button.TooltipTabstop {
3475
3486
  }
3476
3487
 
3477
3488
  .TableCell,
3478
- .TableHeader {
3489
+ .TableHeader,
3490
+ .TableFooter {
3479
3491
  padding: var(--table-space) var(--space-smallest);
3480
3492
  }
3481
3493
 
3482
- .TableRow:last-child .TableCell {
3494
+ .Table:not(.Table--border) .TableRow:last-child .TableCell {
3483
3495
  border: none;
3484
3496
  }
3485
3497
 
3498
+ .Table--border {
3499
+ box-shadow: var(--table-box-shadow);
3500
+ }
3501
+
3502
+ .Table--border,
3503
+ .Table--border .TableHeader,
3504
+ .Table--border .TableFooter,
3505
+ .Table--border .TableCell {
3506
+ border: 1px solid var(--gray-40);
3507
+ }
3508
+
3509
+ .cauldron--theme-dark .Table--border,
3510
+ .cauldron--theme-dark .Table--border .TableHeader,
3511
+ .cauldron--theme-dark .Table--border .TableFooter,
3512
+ .cauldron--theme-dark .Table--border .TableCell {
3513
+ border-color: var(--stroke-dark);
3514
+ }
3515
+
3516
+ .TableFooter .TableCell {
3517
+ background: var(--table-header-background-color);
3518
+ font-weight: var(--font-weight-medium);
3519
+ color: var(--table-header-text-color);
3520
+ }
3521
+
3486
3522
  :root {
3487
3523
  --data-list-background-color: var(--gray-20);
3488
3524
  --data-list-value-background-color: var(--white);
@@ -4089,6 +4125,16 @@ fieldset.Panel {
4089
4125
  color: var(--accent-light);
4090
4126
  }
4091
4127
 
4128
+ @media (max-width: 28.125rem) {
4129
+ .Pagination [role='log'] {
4130
+ margin: 0;
4131
+ }
4132
+
4133
+ .Pagination--thin [role='log'] {
4134
+ margin: 0;
4135
+ }
4136
+ }
4137
+
4092
4138
  .Breadcrumb ol {
4093
4139
  display: flex;
4094
4140
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "4.7.0-canary.c092e1d1",
3
+ "version": "4.7.0-canary.c168abdb",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",