@coldsmirk/ledger-mantine 0.7.0 → 0.8.0
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 +19 -6
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -399,11 +399,16 @@
|
|
|
399
399
|
background-color: var(--ledger-pinned-bg, var(--ledger-body-bg, var(--mantine-color-body)));
|
|
400
400
|
}
|
|
401
401
|
|
|
402
|
-
/* Pinned-edge scroll
|
|
402
|
+
/* Pinned-edge scroll shades: what a pinned block casts over the columns scrolling under it,
|
|
403
|
+
drawn only while content is actually scrolled past that edge. The edge is a hairline in the
|
|
404
|
+
border color — the plane the rows pass beneath — and the shade only its depth: narrow, and in
|
|
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. */
|
|
403
407
|
[data-pinned-edge]::after {
|
|
408
|
+
--ledger-pinned-shade: var(--ledger-edge-shade, light-dark(rgb(15 19 24 / 7%), rgb(0 0 0 / 36%)));
|
|
404
409
|
position: absolute;
|
|
405
410
|
inset-block: 0;
|
|
406
|
-
width:
|
|
411
|
+
width: 7px;
|
|
407
412
|
pointer-events: none;
|
|
408
413
|
content: "";
|
|
409
414
|
opacity: 0;
|
|
@@ -411,26 +416,34 @@
|
|
|
411
416
|
|
|
412
417
|
[data-pinned-edge="start"]::after {
|
|
413
418
|
inset-inline-end: 0;
|
|
414
|
-
background: linear-gradient(to right,
|
|
419
|
+
background-image: linear-gradient(to right, var(--ledger-pinned-shade), transparent);
|
|
420
|
+
border-inline-start: 1px solid var(--ledger-border-color, var(--mantine-color-default-border));
|
|
415
421
|
translate: 100% 0;
|
|
416
422
|
}
|
|
417
423
|
|
|
418
424
|
[data-pinned-edge="end"]::after {
|
|
419
425
|
inset-inline-start: 0;
|
|
420
|
-
background: linear-gradient(to left,
|
|
426
|
+
background-image: linear-gradient(to left, var(--ledger-pinned-shade), transparent);
|
|
427
|
+
border-inline-end: 1px solid var(--ledger-border-color, var(--mantine-color-default-border));
|
|
421
428
|
translate: -100% 0;
|
|
422
429
|
}
|
|
423
430
|
|
|
424
431
|
[dir="rtl"] [data-pinned-edge="start"]::after {
|
|
425
|
-
background: linear-gradient(to left,
|
|
432
|
+
background-image: linear-gradient(to left, var(--ledger-pinned-shade), transparent);
|
|
426
433
|
translate: -100% 0;
|
|
427
434
|
}
|
|
428
435
|
|
|
429
436
|
[dir="rtl"] [data-pinned-edge="end"]::after {
|
|
430
|
-
background: linear-gradient(to right,
|
|
437
|
+
background-image: linear-gradient(to right, var(--ledger-pinned-shade), transparent);
|
|
431
438
|
translate: 100% 0;
|
|
432
439
|
}
|
|
433
440
|
|
|
441
|
+
/* Column borders already draw an end-pinned block's edge: its own leading border, which stays
|
|
442
|
+
with it while the rows pass beneath. A second hairline beside it would double the line. */
|
|
443
|
+
.ledger-root[data-with-column-borders] [data-pinned-edge="end"]::after {
|
|
444
|
+
border-inline-end: 0;
|
|
445
|
+
}
|
|
446
|
+
|
|
434
447
|
.ledger-root[data-scrolled-start] [data-pinned-edge="start"]::after,
|
|
435
448
|
.ledger-root[data-scrolled-end] [data-pinned-edge="end"]::after {
|
|
436
449
|
opacity: 1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coldsmirk/ledger-mantine",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
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",
|