@deque/cauldron-styles 5.2.0-canary.86b2c664 → 5.2.0-canary.9daa8e85

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 +17 -13
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -564,7 +564,6 @@ button.Link {
564
564
  min-height: var(--button-thin-height);
565
565
  min-width: 100px;
566
566
  font-size: var(--text-size-smallest);
567
- line-height: var(--text-size-smallest);
568
567
  padding: 0 16px;
569
568
  }
570
569
 
@@ -2431,7 +2430,7 @@ p .Link {
2431
2430
  align-items: center;
2432
2431
  box-sizing: border-box;
2433
2432
  display: flex;
2434
- padding: 4px 15px;
2433
+ padding: var(--space-smallest) var(--space-small);
2435
2434
  }
2436
2435
 
2437
2436
  .Toast.Toast--non-dismissible {
@@ -3826,16 +3825,6 @@ button.TooltipTabstop {
3826
3825
  --panel-content-color: var(--gray-80);
3827
3826
  }
3828
3827
 
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
3828
  .Panel {
3840
3829
  padding: var(--panel-padding);
3841
3830
  margin: 0;
@@ -3882,6 +3871,17 @@ button.TooltipTabstop {
3882
3871
  margin: 0 calc(var(--panel-padding) * -1);
3883
3872
  }
3884
3873
 
3874
+ .Panel > :not(.Panel__Heading, .Panel__Header, .Panel__Content):first-child,
3875
+ .Panel > :is(.Panel__Heading, .Panel__Header) + :not(.Panel__Content),
3876
+ .Panel__Content > :first-child {
3877
+ margin-top: 0;
3878
+ }
3879
+
3880
+ .Panel > :not(.Panel__Heading, .Panel__Header, .Panel__Content):last-child,
3881
+ .Panel__Content > :last-child {
3882
+ margin-bottom: 0;
3883
+ }
3884
+
3885
3885
  .Panel
3886
3886
  :is(.Panel__Header + .Panel__Content, .Panel__Content + .Panel__Content) {
3887
3887
  border-top: 1px solid var(--panel-divider-border-color);
@@ -3907,12 +3907,16 @@ button.TooltipTabstop {
3907
3907
  color: var(--panel-heading-color);
3908
3908
  }
3909
3909
 
3910
+ .Panel > :is(.Panel__Header, .Panel__Heading) > :is(h1, h2, h3, h4, h5, h6) {
3911
+ margin: 0;
3912
+ }
3913
+
3910
3914
  .Panel--collapsed {
3911
3915
  --panel-padding: 12px;
3912
3916
  }
3913
3917
 
3914
3918
  .Panel--collapsed .Panel__Heading {
3915
- margin: 0 0 12px 0;
3919
+ margin: 0 0 var(--panel-padding) 0;
3916
3920
  font-size: var(--text-size-normal);
3917
3921
  }
3918
3922
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "5.2.0-canary.86b2c664",
3
+ "version": "5.2.0-canary.9daa8e85",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",