@deque/cauldron-styles 7.6.0-canary.c56fdf76 → 7.6.0-canary.dc7921cd
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.
- package/dist/index.css +19 -0
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -6480,6 +6480,7 @@ button.Accordion__trigger {
|
|
|
6480
6480
|
}
|
|
6481
6481
|
:root {
|
|
6482
6482
|
--tree-view-padding: 1rem;
|
|
6483
|
+
--tree-view-row-height: 36px;
|
|
6483
6484
|
--tree-view-focus-ring-color: var(--focus-light);
|
|
6484
6485
|
--tree-view-highlight-background: var(--accent-light);
|
|
6485
6486
|
}
|
|
@@ -6504,6 +6505,17 @@ button.Accordion__trigger {
|
|
|
6504
6505
|
outline-offset: -1px;
|
|
6505
6506
|
}
|
|
6506
6507
|
|
|
6508
|
+
/* Virtualized rows are absolutely positioned and the list layout owns their
|
|
6509
|
+
spacing, so the flex container's flow, gap and padding are cleared. The tree
|
|
6510
|
+
needs a definite width from an ancestor — absolutely positioned rows give it
|
|
6511
|
+
no intrinsic one. */
|
|
6512
|
+
.TreeView--virtualized {
|
|
6513
|
+
display: block;
|
|
6514
|
+
gap: 0;
|
|
6515
|
+
padding: 0;
|
|
6516
|
+
position: relative;
|
|
6517
|
+
}
|
|
6518
|
+
|
|
6507
6519
|
.TreeView .TreeView__item {
|
|
6508
6520
|
display: flex;
|
|
6509
6521
|
align-items: center;
|
|
@@ -6515,6 +6527,13 @@ button.Accordion__trigger {
|
|
|
6515
6527
|
transform: translateZ(0);
|
|
6516
6528
|
}
|
|
6517
6529
|
|
|
6530
|
+
/* Vertical padding makes virtualized rows overlap and swallow the gap: the
|
|
6531
|
+
virtualizer measures a row's content box first, its border box after. */
|
|
6532
|
+
.TreeView--virtualized .TreeView__item {
|
|
6533
|
+
padding-block: 0;
|
|
6534
|
+
min-height: var(--tree-view-row-height);
|
|
6535
|
+
}
|
|
6536
|
+
|
|
6518
6537
|
.TreeView .TreeView__item .TreeView__chevron {
|
|
6519
6538
|
all: unset;
|
|
6520
6539
|
display: flex;
|
package/package.json
CHANGED