@kanunilabs/datagrid-react 1.8.4 → 1.8.6
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 +3 -3
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +3 -3
- package/dist/styles.css +27 -0
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -641,6 +641,27 @@
|
|
|
641
641
|
font-size: var(--dg-control-font-size);
|
|
642
642
|
}
|
|
643
643
|
|
|
644
|
+
/* Phones and touch (Tekax, 2026-10-28). On a narrow screen the box takes the
|
|
645
|
+
toolbar's whole first line instead of 40 % of it; on a touch screen it is a
|
|
646
|
+
44 px target, and its text at least 16 px — below that iOS zooms the page in
|
|
647
|
+
when the box takes focus. */
|
|
648
|
+
@media (max-width: 600px) {
|
|
649
|
+
.kanuni-datagrid-toolbar {
|
|
650
|
+
flex-wrap: wrap;
|
|
651
|
+
}
|
|
652
|
+
.kanuni-datagrid-toolbar-search {
|
|
653
|
+
flex: 1 1 100%;
|
|
654
|
+
width: 100%;
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
@media (pointer: coarse) {
|
|
659
|
+
.kanuni-datagrid-toolbar-search {
|
|
660
|
+
height: 44px;
|
|
661
|
+
font-size: max(16px, var(--dg-control-font-size));
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
|
|
644
665
|
.kanuni-datagrid-toolbar-search:focus {
|
|
645
666
|
outline: none;
|
|
646
667
|
border-color: var(--dg-primary);
|
|
@@ -1724,6 +1745,12 @@
|
|
|
1724
1745
|
}
|
|
1725
1746
|
|
|
1726
1747
|
/* ── Header filter popup (portaled — see GridPortal) ──────── */
|
|
1748
|
+
.kanuni-datagrid-portal-host > * {
|
|
1749
|
+
/* The host under a portalContainer covers the viewport and takes no clicks
|
|
1750
|
+
(pointer-events: none, inline); what is put in it does. */
|
|
1751
|
+
pointer-events: auto;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1727
1754
|
.kanuni-datagrid-portal {
|
|
1728
1755
|
/* The portal host must not paint or capture anything itself. */
|
|
1729
1756
|
position: static;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kanunilabs/datagrid-react",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.6",
|
|
4
4
|
"description": "High-performance React data grid — virtualized rows and columns, sticky pinned columns, sorting, filtering and theming",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@kanunilabs/datagrid-core": "1.10.
|
|
60
|
+
"@kanunilabs/datagrid-core": "1.10.6"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"react": ">=18.0.0",
|