@coldsmirk/ledger-mantine 0.8.0 → 0.8.1

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/styles.css +9 -2
  2. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -403,9 +403,12 @@
403
403
  drawn only while content is actually scrolled past that edge. The edge is a hairline in the
404
404
  border color — the plane the rows pass beneath — and the shade only its depth: narrow, and in
405
405
  `--ledger-edge-shade`, the ink thinned to a breath on light and a dusk on dark, so the edge
406
- reads as one plane over another and never as a bar beside it. */
406
+ reads as one plane over another and never as a bar beside it. The dark tone follows Mantine's
407
+ scheme attribute, never `light-dark()`: a consumer's bundler lowers that for older targets
408
+ into variables it defines only beside a literal `color-scheme`, which Mantine sets through a
409
+ variable — lowered, the shade would be no color at all. */
407
410
  [data-pinned-edge]::after {
408
- --ledger-pinned-shade: var(--ledger-edge-shade, light-dark(rgb(15 19 24 / 7%), rgb(0 0 0 / 36%)));
411
+ --ledger-pinned-shade: var(--ledger-edge-shade, rgb(15 19 24 / 7%));
409
412
  position: absolute;
410
413
  inset-block: 0;
411
414
  width: 7px;
@@ -414,6 +417,10 @@
414
417
  opacity: 0;
415
418
  }
416
419
 
420
+ :where([data-mantine-color-scheme="dark"]) [data-pinned-edge]::after {
421
+ --ledger-pinned-shade: var(--ledger-edge-shade, rgb(0 0 0 / 36%));
422
+ }
423
+
417
424
  [data-pinned-edge="start"]::after {
418
425
  inset-inline-end: 0;
419
426
  background-image: linear-gradient(to right, var(--ledger-pinned-shade), transparent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coldsmirk/ledger-mantine",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
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",