@coldsmirk/ledger-mantine 0.10.0 → 0.10.2

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/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,
@@ -417,6 +417,25 @@
417
417
  border: 0;
418
418
  }
419
419
 
420
+ /* The filler (docs/sizing.md#the-filler): what the columns leave of the viewport, one empty
421
+ cell of every row. Everything else it takes as any cell of its row does — the row's
422
+ background through the pipeline (stripes, hover, selection, the editing wash), the row rule,
423
+ the editing frame and the drop edge, and with column borders the line that closes the last
424
+ scrolling column — and in the header and the footer the band and the surface, so the table
425
+ spans its frame where its columns stop short. A plain cell, like the spacers: no Mantine
426
+ padding reaches it, and the user agent's is taken off here. */
427
+ .ledger-table [data-ledger-filler] {
428
+ padding: 0;
429
+ }
430
+
431
+ .ledger-thead th[data-ledger-filler] {
432
+ background-color: var(--ledger-header-bg, var(--ledger-body-bg, var(--mantine-color-body)));
433
+ }
434
+
435
+ .ledger-tfoot td[data-ledger-filler] {
436
+ background-color: var(--ledger-body-bg, var(--mantine-color-body));
437
+ }
438
+
420
439
  /* ------------------------------------------------------------------------------------------
421
440
  * Cells
422
441
  * ------------------------------------------------------------------------------------------ */
@@ -638,7 +657,7 @@
638
657
  overflow: hidden;
639
658
  pointer-events: none;
640
659
  background-color: var(--ledger-body-bg, var(--mantine-color-body));
641
- border: 1px solid var(--mantine-color-default-border);
660
+ border: 1px solid var(--ledger-border-color, var(--mantine-color-default-border));
642
661
  border-radius: var(--mantine-radius-default);
643
662
  box-shadow: var(--mantine-shadow-md);
644
663
  }
@@ -715,7 +734,7 @@
715
734
 
716
735
  .ledger-root > .ledger-pagination-bar {
717
736
  padding: var(--mantine-spacing-xs) var(--mantine-spacing-sm);
718
- border-block-start: 1px solid var(--mantine-color-default-border);
737
+ border-block-start: 1px solid var(--ledger-border-color, var(--mantine-color-default-border));
719
738
  }
720
739
 
721
740
  /* The seam above the bar is owned by the table's own bottom edge (the frame, or the closing
@@ -757,7 +776,7 @@
757
776
  .ledger-columns-panel-header {
758
777
  padding: 4px 0 10px;
759
778
  margin-block-end: var(--mantine-spacing-xs);
760
- border-block-end: 1px solid var(--mantine-color-default-border);
779
+ border-block-end: 1px solid var(--ledger-border-color, var(--mantine-color-default-border));
761
780
  }
762
781
 
763
782
  .ledger-columns-panel-list {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coldsmirk/ledger-mantine",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
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",