@deque/cauldron-styles 7.6.0-canary.76ccf05b → 7.6.0-canary.7cb56d7f

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 +28 -5
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -4007,11 +4007,6 @@ button.TooltipTabstop {
4007
4007
  border-bottom: 1px solid var(--gray-40);
4008
4008
  }
4009
4009
 
4010
- .Table--border .TableBody .TableHeader {
4011
- border-bottom-width: 1px;
4012
- border-right: 1px solid var(--table-row-border-color);
4013
- }
4014
-
4015
4010
  .cauldron--theme-dark .Table--border,
4016
4011
  .cauldron--theme-dark .Table--border .TableHeader,
4017
4012
  .cauldron--theme-dark .Table--border .TableFooter,
@@ -5350,6 +5345,14 @@ button.Accordion__trigger {
5350
5345
  border-radius: 0 0 3px 3px;
5351
5346
  }
5352
5347
 
5348
+ .Accordion__panel > :first-child {
5349
+ margin-top: 0;
5350
+ }
5351
+
5352
+ .Accordion__panel > :last-child {
5353
+ margin-bottom: 0;
5354
+ }
5355
+
5353
5356
  .Accordion:has(> button[aria-expanded='true']) {
5354
5357
  box-shadow: var(--drop-shadow-raised);
5355
5358
  }
@@ -6053,6 +6056,7 @@ button.Accordion__trigger {
6053
6056
  position: fixed;
6054
6057
  max-height: var(--drawer-height, 100vh);
6055
6058
  max-width: var(--drawer-width, 100vw);
6059
+ overflow-y: auto;
6056
6060
  z-index: var(--z-index-drawer);
6057
6061
  transition: transform var(--drawer-animation-timing-function, ease-out)
6058
6062
  var(--drawer-animation-timing, 250ms);
@@ -6480,6 +6484,7 @@ button.Accordion__trigger {
6480
6484
  }
6481
6485
  :root {
6482
6486
  --tree-view-padding: 1rem;
6487
+ --tree-view-row-height: 36px;
6483
6488
  --tree-view-focus-ring-color: var(--focus-light);
6484
6489
  --tree-view-highlight-background: var(--accent-light);
6485
6490
  }
@@ -6504,6 +6509,17 @@ button.Accordion__trigger {
6504
6509
  outline-offset: -1px;
6505
6510
  }
6506
6511
 
6512
+ /* Virtualized rows are absolutely positioned and the list layout owns their
6513
+ spacing, so the flex container's flow, gap and padding are cleared. The tree
6514
+ needs a definite width from an ancestor — absolutely positioned rows give it
6515
+ no intrinsic one. */
6516
+ .TreeView--virtualized {
6517
+ display: block;
6518
+ gap: 0;
6519
+ padding: 0;
6520
+ position: relative;
6521
+ }
6522
+
6507
6523
  .TreeView .TreeView__item {
6508
6524
  display: flex;
6509
6525
  align-items: center;
@@ -6515,6 +6531,13 @@ button.Accordion__trigger {
6515
6531
  transform: translateZ(0);
6516
6532
  }
6517
6533
 
6534
+ /* Vertical padding makes virtualized rows overlap and swallow the gap: the
6535
+ virtualizer measures a row's content box first, its border box after. */
6536
+ .TreeView--virtualized .TreeView__item {
6537
+ padding-block: 0;
6538
+ min-height: var(--tree-view-row-height);
6539
+ }
6540
+
6518
6541
  .TreeView .TreeView__item .TreeView__chevron {
6519
6542
  all: unset;
6520
6543
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "7.6.0-canary.76ccf05b",
3
+ "version": "7.6.0-canary.7cb56d7f",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",