@deque/cauldron-styles 5.2.0-canary.90b5849f → 5.2.0-canary.c4857aa6

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 +25 -14
  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
 
@@ -1633,6 +1632,13 @@ textarea.Field--has-error:focus:hover,
1633
1632
  flex-wrap: wrap;
1634
1633
  }
1635
1634
 
1635
+ .Radio--inline {
1636
+ display: flex;
1637
+ align-items: baseline;
1638
+ flex-wrap: wrap;
1639
+ gap: var(--space-small);
1640
+ }
1641
+
1636
1642
  .Checkbox {
1637
1643
  margin-bottom: var(--space-smallest);
1638
1644
  }
@@ -2431,7 +2437,7 @@ p .Link {
2431
2437
  align-items: center;
2432
2438
  box-sizing: border-box;
2433
2439
  display: flex;
2434
- padding: 4px 15px;
2440
+ padding: var(--space-smallest) var(--space-small);
2435
2441
  }
2436
2442
 
2437
2443
  .Toast.Toast--non-dismissible {
@@ -3473,7 +3479,7 @@ button.TooltipTabstop {
3473
3479
  font-size: var(--text-size-small);
3474
3480
  border-collapse: collapse;
3475
3481
  text-align: left;
3476
- width: 100%;
3482
+ width: var(--table-width, 100%);
3477
3483
  overflow-wrap: break-word;
3478
3484
  }
3479
3485
 
@@ -3826,16 +3832,6 @@ button.TooltipTabstop {
3826
3832
  --panel-content-color: var(--gray-80);
3827
3833
  }
3828
3834
 
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
3835
  .Panel {
3840
3836
  padding: var(--panel-padding);
3841
3837
  margin: 0;
@@ -3882,6 +3878,17 @@ button.TooltipTabstop {
3882
3878
  margin: 0 calc(var(--panel-padding) * -1);
3883
3879
  }
3884
3880
 
3881
+ .Panel > :not(.Panel__Heading, .Panel__Header, .Panel__Content):first-child,
3882
+ .Panel > :is(.Panel__Heading, .Panel__Header) + :not(.Panel__Content),
3883
+ .Panel__Content > :first-child {
3884
+ margin-top: 0;
3885
+ }
3886
+
3887
+ .Panel > :not(.Panel__Heading, .Panel__Header, .Panel__Content):last-child,
3888
+ .Panel__Content > :last-child {
3889
+ margin-bottom: 0;
3890
+ }
3891
+
3885
3892
  .Panel
3886
3893
  :is(.Panel__Header + .Panel__Content, .Panel__Content + .Panel__Content) {
3887
3894
  border-top: 1px solid var(--panel-divider-border-color);
@@ -3907,12 +3914,16 @@ button.TooltipTabstop {
3907
3914
  color: var(--panel-heading-color);
3908
3915
  }
3909
3916
 
3917
+ .Panel > :is(.Panel__Header, .Panel__Heading) > :is(h1, h2, h3, h4, h5, h6) {
3918
+ margin: 0;
3919
+ }
3920
+
3910
3921
  .Panel--collapsed {
3911
3922
  --panel-padding: 12px;
3912
3923
  }
3913
3924
 
3914
3925
  .Panel--collapsed .Panel__Heading {
3915
- margin: 0 0 12px 0;
3926
+ margin: 0 0 var(--panel-padding) 0;
3916
3927
  font-size: var(--text-size-normal);
3917
3928
  }
3918
3929
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "5.2.0-canary.90b5849f",
3
+ "version": "5.2.0-canary.c4857aa6",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",