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

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 +16 -11
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -3826,16 +3826,6 @@ button.TooltipTabstop {
3826
3826
  --panel-content-color: var(--gray-80);
3827
3827
  }
3828
3828
 
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
3829
  .Panel {
3840
3830
  padding: var(--panel-padding);
3841
3831
  margin: 0;
@@ -3882,6 +3872,17 @@ button.TooltipTabstop {
3882
3872
  margin: 0 calc(var(--panel-padding) * -1);
3883
3873
  }
3884
3874
 
3875
+ .Panel > :not(.Panel__Heading, .Panel__Header, .Panel__Content):first-child,
3876
+ .Panel > :is(.Panel__Heading, .Panel__Header) + :not(.Panel__Content),
3877
+ .Panel__Content > :first-child {
3878
+ margin-top: 0;
3879
+ }
3880
+
3881
+ .Panel > :not(.Panel__Heading, .Panel__Header, .Panel__Content):last-child,
3882
+ .Panel__Content > :last-child {
3883
+ margin-bottom: 0;
3884
+ }
3885
+
3885
3886
  .Panel
3886
3887
  :is(.Panel__Header + .Panel__Content, .Panel__Content + .Panel__Content) {
3887
3888
  border-top: 1px solid var(--panel-divider-border-color);
@@ -3907,12 +3908,16 @@ button.TooltipTabstop {
3907
3908
  color: var(--panel-heading-color);
3908
3909
  }
3909
3910
 
3911
+ .Panel > :is(.Panel__Header, .Panel__Heading) > :is(h1, h2, h3, h4, h5, h6) {
3912
+ margin: 0;
3913
+ }
3914
+
3910
3915
  .Panel--collapsed {
3911
3916
  --panel-padding: 12px;
3912
3917
  }
3913
3918
 
3914
3919
  .Panel--collapsed .Panel__Heading {
3915
- margin: 0 0 12px 0;
3920
+ margin: 0 0 var(--panel-padding) 0;
3916
3921
  font-size: var(--text-size-normal);
3917
3922
  }
3918
3923
 
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.de81016a",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",