@coldsmirk/ledger-mantine 0.3.1 → 0.4.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 +123 -68
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -2
- package/dist/index.d.ts +22 -2
- package/dist/index.js +124 -69
- package/dist/index.js.map +1 -1
- package/dist/styles.css +9 -1
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
min-height: 0;
|
|
30
30
|
overflow: hidden;
|
|
31
31
|
|
|
32
|
+
/* `size` (the --ledger-font-size variable, docs/styling.md#size): the type every table under
|
|
33
|
+
the root inherits; a `fz` on the root is inline and still wins. */
|
|
34
|
+
font-size: var(--ledger-font-size);
|
|
35
|
+
|
|
32
36
|
/* `radius` (the --ledger-radius variable): the root rounds with the frame so a `bg` or the
|
|
33
37
|
pagination bar follows the same corners. */
|
|
34
38
|
border-radius: var(--ledger-radius, 0);
|
|
@@ -461,6 +465,11 @@
|
|
|
461
465
|
padding-block: 2px;
|
|
462
466
|
}
|
|
463
467
|
|
|
468
|
+
/* An `xs` row is as tall as the smallest input Mantine draws: the editor takes the whole of it. */
|
|
469
|
+
.ledger-root[data-size="xs"] .ledger-cell[data-editing] {
|
|
470
|
+
padding-block: 0;
|
|
471
|
+
}
|
|
472
|
+
|
|
464
473
|
.ledger-cell-editor {
|
|
465
474
|
display: flex;
|
|
466
475
|
gap: 4px;
|
|
@@ -590,7 +599,6 @@
|
|
|
590
599
|
gap: 8px;
|
|
591
600
|
align-items: center;
|
|
592
601
|
justify-content: center;
|
|
593
|
-
font-size: var(--mantine-font-size-sm);
|
|
594
602
|
}
|
|
595
603
|
|
|
596
604
|
/* The retry button carries its own horizontal padding, so the pair needs less between them. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coldsmirk/ledger-mantine",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.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",
|