@deque/cauldron-styles 7.6.0-canary.76ccf05b → 7.6.0-canary.86f5cf0c

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 +36 -6
  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
  }
@@ -5440,7 +5443,7 @@ button.Accordion__trigger {
5440
5443
  margin-top: var(--space-smallest);
5441
5444
  }
5442
5445
 
5443
- .Notice .Icon > svg {
5446
+ .Notice .Notice__icon > svg {
5444
5447
  height: var(--notice-icon-size);
5445
5448
  width: var(--notice-icon-size);
5446
5449
  color: var(--notice-icon-color);
@@ -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);
@@ -6348,6 +6352,13 @@ button.Accordion__trigger {
6348
6352
  --action-list-item-description-color: var(--action-list-text-color);
6349
6353
  }
6350
6354
 
6355
+ /* accent-error on the gray-20 hover background is only 4.15:1. :where() keeps
6356
+ this at the base rule's specificity so the dark theme overrides still win. */
6357
+ .ActionListItem--danger:where(:hover:not([aria-disabled='true'])) {
6358
+ --action-list-text-color: var(--accent-error-active);
6359
+ --action-list-item-icon-color: var(--accent-error-active);
6360
+ }
6361
+
6351
6362
  :where(.cauldron--theme-dark) .ActionListItem--danger {
6352
6363
  --action-list-text-color: #fff;
6353
6364
  --action-list-item-icon-color: #fff;
@@ -6480,6 +6491,7 @@ button.Accordion__trigger {
6480
6491
  }
6481
6492
  :root {
6482
6493
  --tree-view-padding: 1rem;
6494
+ --tree-view-row-height: 36px;
6483
6495
  --tree-view-focus-ring-color: var(--focus-light);
6484
6496
  --tree-view-highlight-background: var(--accent-light);
6485
6497
  }
@@ -6504,6 +6516,17 @@ button.Accordion__trigger {
6504
6516
  outline-offset: -1px;
6505
6517
  }
6506
6518
 
6519
+ /* Virtualized rows are absolutely positioned and the list layout owns their
6520
+ spacing, so the flex container's flow, gap and padding are cleared. The tree
6521
+ needs a definite width from an ancestor — absolutely positioned rows give it
6522
+ no intrinsic one. */
6523
+ .TreeView--virtualized {
6524
+ display: block;
6525
+ gap: 0;
6526
+ padding: 0;
6527
+ position: relative;
6528
+ }
6529
+
6507
6530
  .TreeView .TreeView__item {
6508
6531
  display: flex;
6509
6532
  align-items: center;
@@ -6515,6 +6538,13 @@ button.Accordion__trigger {
6515
6538
  transform: translateZ(0);
6516
6539
  }
6517
6540
 
6541
+ /* Vertical padding makes virtualized rows overlap and swallow the gap: the
6542
+ virtualizer measures a row's content box first, its border box after. */
6543
+ .TreeView--virtualized .TreeView__item {
6544
+ padding-block: 0;
6545
+ min-height: var(--tree-view-row-height);
6546
+ }
6547
+
6518
6548
  .TreeView .TreeView__item .TreeView__chevron {
6519
6549
  all: unset;
6520
6550
  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.86f5cf0c",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",