@kanunilabs/datagrid-react 1.8.5 → 1.8.7

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 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);
@@ -682,7 +703,9 @@
682
703
  /* The search box's own refusal (`toolbar.search.validate`), right after it. */
683
704
  .kanuni-datagrid-toolbar-search-error {
684
705
  color: var(--dg-danger-text);
685
- font-size: 11px;
706
+ /* The grid's body size: at 11px a refusal was easy to miss (Tekax,
707
+ 2026-10-29). Restyle it through this class. */
708
+ font-size: var(--dg-font-size);
686
709
  }
687
710
 
688
711
  .kanuni-datagrid-toolbar-search[aria-invalid='true'] {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanunilabs/datagrid-react",
3
- "version": "1.8.5",
3
+ "version": "1.8.7",
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.5"
60
+ "@kanunilabs/datagrid-core": "1.10.7"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "react": ">=18.0.0",