@deque/cauldron-styles 5.2.0 → 5.3.0-canary.bab94097

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 +31 -14
  2. package/package.json +2 -2
package/dist/index.css CHANGED
@@ -31,6 +31,7 @@
31
31
  --accent-warning: #ffdd75;
32
32
  --accent-warning-light: #ffa1a1;
33
33
  --accent-caution: #ffe69f;
34
+ --accent-warning-dark: #b88a00;
34
35
  --accent-info: #6cdaf2;
35
36
  --accent-info-light: #83e4fa;
36
37
  --accent-primary: #3c7aae;
@@ -564,7 +565,6 @@ button.Link {
564
565
  min-height: var(--button-thin-height);
565
566
  min-width: 100px;
566
567
  font-size: var(--text-size-smallest);
567
- line-height: var(--text-size-smallest);
568
568
  padding: 0 16px;
569
569
  }
570
570
 
@@ -1633,6 +1633,13 @@ textarea.Field--has-error:focus:hover,
1633
1633
  flex-wrap: wrap;
1634
1634
  }
1635
1635
 
1636
+ .Radio--inline {
1637
+ display: flex;
1638
+ align-items: baseline;
1639
+ flex-wrap: wrap;
1640
+ gap: var(--space-small);
1641
+ }
1642
+
1636
1643
  .Checkbox {
1637
1644
  margin-bottom: var(--space-smallest);
1638
1645
  }
@@ -2063,6 +2070,7 @@ p .Link {
2063
2070
  width: 100%;
2064
2071
  min-height: var(--select-min-height);
2065
2072
  padding: var(--space-three-quarters) var(--space-smallest);
2073
+ padding-right: var(--space-large);
2066
2074
  border: 1px solid var(--field-border-color);
2067
2075
  font-family: Roboto;
2068
2076
  font-weight: normal;
@@ -2431,7 +2439,7 @@ p .Link {
2431
2439
  align-items: center;
2432
2440
  box-sizing: border-box;
2433
2441
  display: flex;
2434
- padding: 4px 15px;
2442
+ padding: var(--space-smallest) var(--space-small);
2435
2443
  }
2436
2444
 
2437
2445
  .Toast.Toast--non-dismissible {
@@ -3473,7 +3481,7 @@ button.TooltipTabstop {
3473
3481
  font-size: var(--text-size-small);
3474
3482
  border-collapse: collapse;
3475
3483
  text-align: left;
3476
- width: 100%;
3484
+ width: var(--table-width, 100%);
3477
3485
  overflow-wrap: break-word;
3478
3486
  }
3479
3487
 
@@ -3826,16 +3834,6 @@ button.TooltipTabstop {
3826
3834
  --panel-content-color: var(--gray-80);
3827
3835
  }
3828
3836
 
3829
- /* Resets aggressive Chrome user agent styles */
3830
-
3831
- .Panel > :is(.Panel__Header, .Panel__Content, .Panel__Heading) > *,
3832
- .Panel:first-child > :not(.Panel__Header, .Panel__Heading, .Panel__Content) {
3833
- -webkit-margin-before: 0;
3834
- -webkit-margin-after: 0;
3835
- margin-block-start: 0;
3836
- margin-block-end: 0;
3837
- }
3838
-
3839
3837
  .Panel {
3840
3838
  padding: var(--panel-padding);
3841
3839
  margin: 0;
@@ -3868,6 +3866,10 @@ button.TooltipTabstop {
3868
3866
  var(--space-small) calc(var(--panel-padding) * -1);
3869
3867
  }
3870
3868
 
3869
+ .Panel__Heading + .Panel__Content {
3870
+ margin-top: calc(var(--panel-padding) * -1);
3871
+ }
3872
+
3871
3873
  .Panel__Header {
3872
3874
  margin: calc(var(--panel-padding) * -1) calc(var(--panel-padding) * -1) 0
3873
3875
  calc(var(--panel-padding) * -1);
@@ -3882,6 +3884,17 @@ button.TooltipTabstop {
3882
3884
  margin: 0 calc(var(--panel-padding) * -1);
3883
3885
  }
3884
3886
 
3887
+ .Panel > :not(.Panel__Heading, .Panel__Header, .Panel__Content):first-child,
3888
+ .Panel > :is(.Panel__Heading, .Panel__Header) + :not(.Panel__Content),
3889
+ .Panel__Content > :first-child {
3890
+ margin-top: 0;
3891
+ }
3892
+
3893
+ .Panel > :not(.Panel__Heading, .Panel__Header, .Panel__Content):last-child,
3894
+ .Panel__Content > :last-child {
3895
+ margin-bottom: 0;
3896
+ }
3897
+
3885
3898
  .Panel
3886
3899
  :is(.Panel__Header + .Panel__Content, .Panel__Content + .Panel__Content) {
3887
3900
  border-top: 1px solid var(--panel-divider-border-color);
@@ -3907,12 +3920,16 @@ button.TooltipTabstop {
3907
3920
  color: var(--panel-heading-color);
3908
3921
  }
3909
3922
 
3923
+ .Panel > :is(.Panel__Header, .Panel__Heading) > :is(h1, h2, h3, h4, h5, h6) {
3924
+ margin: 0;
3925
+ }
3926
+
3910
3927
  .Panel--collapsed {
3911
3928
  --panel-padding: 12px;
3912
3929
  }
3913
3930
 
3914
3931
  .Panel--collapsed .Panel__Heading {
3915
- margin: 0 0 12px 0;
3932
+ margin: 0 0 var(--panel-padding) 0;
3916
3933
  font-size: var(--text-size-normal);
3917
3934
  }
3918
3935
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "5.2.0",
3
+ "version": "5.3.0-canary.bab94097",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",
@@ -22,4 +22,4 @@
22
22
  "postcss-cli": "^7.1.1",
23
23
  "postcss-import": "^12.0.1"
24
24
  }
25
- }
25
+ }