@coldsmirk/ledger-mantine 0.10.1 → 0.10.3
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.cjs +29 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +29 -9
- package/dist/index.js.map +1 -1
- package/dist/styles.css +17 -4
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
either way — a two-step tell, like the Tooltip's delay. */
|
|
306
306
|
:where(.ledger-root:not([data-with-column-borders])) .ledger-resizer::after {
|
|
307
307
|
inset-block: 30%;
|
|
308
|
-
background-color: var(--mantine-color-default-border);
|
|
308
|
+
background-color: var(--ledger-border-color, var(--mantine-color-default-border));
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
.ledger-resizer:hover::after,
|
|
@@ -657,7 +657,7 @@
|
|
|
657
657
|
overflow: hidden;
|
|
658
658
|
pointer-events: none;
|
|
659
659
|
background-color: var(--ledger-body-bg, var(--mantine-color-body));
|
|
660
|
-
border: 1px solid var(--mantine-color-default-border);
|
|
660
|
+
border: 1px solid var(--ledger-border-color, var(--mantine-color-default-border));
|
|
661
661
|
border-radius: var(--mantine-radius-default);
|
|
662
662
|
box-shadow: var(--mantine-shadow-md);
|
|
663
663
|
}
|
|
@@ -670,6 +670,19 @@
|
|
|
670
670
|
--table-horizontal-spacing: var(--mantine-spacing-md);
|
|
671
671
|
}
|
|
672
672
|
|
|
673
|
+
/* Full-width body cells (`colSpan` across every column) span the whole table when it overflows,
|
|
674
|
+
so their inner box sticks to the scrollport's start edge and caps at the visible viewport
|
|
675
|
+
width — an open detail panel and the infinite-loading line stay framed in view instead of
|
|
676
|
+
clipping off the trailing edge or scrolling out with the columns. When `--ledger-viewport-width`
|
|
677
|
+
is unset (before measurement, or in headless tests), `max-width` falls back to `none`. */
|
|
678
|
+
.ledger-detail-panel > [data-detail-content],
|
|
679
|
+
.ledger-loader-row-content {
|
|
680
|
+
position: sticky;
|
|
681
|
+
inset-inline-start: var(--table-horizontal-spacing, 0);
|
|
682
|
+
width: 100%;
|
|
683
|
+
max-width: max(0px, calc(var(--ledger-viewport-width) - 2 * var(--table-horizontal-spacing, 0px)));
|
|
684
|
+
}
|
|
685
|
+
|
|
673
686
|
.ledger-footer-cell {
|
|
674
687
|
font-weight: 600;
|
|
675
688
|
background-color: var(--ledger-body-bg, var(--mantine-color-body));
|
|
@@ -734,7 +747,7 @@
|
|
|
734
747
|
|
|
735
748
|
.ledger-root > .ledger-pagination-bar {
|
|
736
749
|
padding: var(--mantine-spacing-xs) var(--mantine-spacing-sm);
|
|
737
|
-
border-block-start: 1px solid var(--mantine-color-default-border);
|
|
750
|
+
border-block-start: 1px solid var(--ledger-border-color, var(--mantine-color-default-border));
|
|
738
751
|
}
|
|
739
752
|
|
|
740
753
|
/* The seam above the bar is owned by the table's own bottom edge (the frame, or the closing
|
|
@@ -776,7 +789,7 @@
|
|
|
776
789
|
.ledger-columns-panel-header {
|
|
777
790
|
padding: 4px 0 10px;
|
|
778
791
|
margin-block-end: var(--mantine-spacing-xs);
|
|
779
|
-
border-block-end: 1px solid var(--mantine-color-default-border);
|
|
792
|
+
border-block-end: 1px solid var(--ledger-border-color, var(--mantine-color-default-border));
|
|
780
793
|
}
|
|
781
794
|
|
|
782
795
|
.ledger-columns-panel-list {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coldsmirk/ledger-mantine",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.3",
|
|
4
4
|
"description": "Mantine-native <DataTable> on TanStack Table and TanStack Virtual: sorting, filtering, pagination, selection, pinning, inline editing, and adaptive row virtualization.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data-table",
|