@coldsmirk/ledger-mantine 0.1.1 → 0.2.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/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/styles.css +10 -1
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -28,10 +28,17 @@
|
|
|
28
28
|
height: 100%;
|
|
29
29
|
min-height: 0;
|
|
30
30
|
overflow: hidden;
|
|
31
|
+
|
|
32
|
+
/* `radius` (the --ledger-radius variable): the root rounds with the frame so a `bg` or the
|
|
33
|
+
pagination bar follows the same corners. */
|
|
34
|
+
border-radius: var(--ledger-radius, 0);
|
|
31
35
|
}
|
|
32
36
|
|
|
33
37
|
/* The frame around header + body — the elastic middle; carries the outer table border
|
|
34
|
-
(painted in the Borders section: three real sides + an inset overlay bottom).
|
|
38
|
+
(painted in the Borders section: three real sides + an inset overlay bottom). It clips its
|
|
39
|
+
own content so a `radius` rounds the header tint, the rows, and the frame together — every
|
|
40
|
+
positioned thing inside it (header actions, the empty state, the seam overlays) lives within
|
|
41
|
+
its box, and the row-drag ghost is portaled to the body. */
|
|
35
42
|
.ledger-main {
|
|
36
43
|
position: relative;
|
|
37
44
|
display: flex;
|
|
@@ -39,6 +46,8 @@
|
|
|
39
46
|
flex-direction: column;
|
|
40
47
|
min-width: 0;
|
|
41
48
|
min-height: 0;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
border-radius: var(--ledger-radius, 0);
|
|
42
51
|
}
|
|
43
52
|
|
|
44
53
|
/* The header viewport never scrolls by itself; its scrollLeft mirrors the body scroller. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coldsmirk/ledger-mantine",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.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",
|