@deque/cauldron-styles 7.5.0-canary.2ded826e → 7.5.0-canary.37db3801

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 +19 -8
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -4407,6 +4407,11 @@ button.TooltipTabstop {
4407
4407
  }
4408
4408
 
4409
4409
  .Panel {
4410
+ /* Not on :root, so a per-instance --panel-border-radius recomputes it. */
4411
+ --panel-inner-border-radius: max(
4412
+ 0px,
4413
+ calc(var(--panel-border-radius) - var(--panel-border-width))
4414
+ );
4410
4415
  padding: var(--panel-padding);
4411
4416
  margin: 0;
4412
4417
  border: var(--panel-border);
@@ -4445,14 +4450,20 @@ button.TooltipTabstop {
4445
4450
  .Panel__Header {
4446
4451
  margin: calc(var(--panel-padding) * -1) calc(var(--panel-padding) * -1) 0
4447
4452
  calc(var(--panel-padding) * -1);
4448
- border-start-start-radius: max(
4449
- 0px,
4450
- calc(var(--panel-border-radius) - var(--panel-border-width))
4451
- );
4452
- border-start-end-radius: max(
4453
- 0px,
4454
- calc(var(--panel-border-radius) - var(--panel-border-width))
4455
- );
4453
+ border-start-start-radius: var(--panel-inner-border-radius);
4454
+ border-start-end-radius: var(--panel-inner-border-radius);
4455
+ }
4456
+
4457
+ .Panel--no-padding > :first-child {
4458
+ --content-start-corner-radius: var(--panel-inner-border-radius);
4459
+ border-start-start-radius: var(--panel-inner-border-radius);
4460
+ border-start-end-radius: var(--panel-inner-border-radius);
4461
+ }
4462
+
4463
+ .Panel--no-padding > :last-child {
4464
+ --content-end-corner-radius: var(--panel-inner-border-radius);
4465
+ border-end-start-radius: var(--panel-inner-border-radius);
4466
+ border-end-end-radius: var(--panel-inner-border-radius);
4456
4467
  }
4457
4468
 
4458
4469
  .Panel--no-padding > :is(.Panel__Heading, .Panel__Header, .Panel__Content) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "7.5.0-canary.2ded826e",
3
+ "version": "7.5.0-canary.37db3801",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",