@kanunilabs/pivotgrid-react 1.8.3 → 1.8.4

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
@@ -1410,6 +1410,33 @@
1410
1410
  align-content: flex-start;
1411
1411
  }
1412
1412
 
1413
+ /* B.61: on a phone the filter strip must leave the data its room. With 8-10
1414
+ filter chips the strip filled the whole 400-500px pivot and the first data
1415
+ row sat ~150px outside the box. At 768px and below the strip takes at most
1416
+ 40% of the pivot's height and scrolls inside itself past that; this holds
1417
+ WITH `layout.filterAreaMaxRows` set (a smaller cap still wins; a larger one
1418
+ stops at 40%). Percent of a pivot whose box has no height is ignored, and
1419
+ then the pivot is as tall as its contents anyway. */
1420
+ @media (max-width: 768px) {
1421
+ .kanuni-pivot-filter-strip {
1422
+ box-sizing: border-box;
1423
+ max-height: 40%;
1424
+ min-height: 0;
1425
+ overflow: hidden;
1426
+ }
1427
+ .kanuni-pivot-filter-strip > .pivot-flex {
1428
+ flex: 1 1 auto;
1429
+ min-height: 0;
1430
+ }
1431
+ .kanuni-pivot-filter-strip .kanuni-pivot-area-dropzone {
1432
+ min-height: 0;
1433
+ }
1434
+ .kanuni-pivot-filter-strip .kanuni-pivot-area-content {
1435
+ min-height: 0;
1436
+ overflow-y: auto;
1437
+ }
1438
+ }
1439
+
1413
1440
  .kanuni-pivot-field-chip {
1414
1441
  display: flex;
1415
1442
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanunilabs/pivotgrid-react",
3
- "version": "1.8.3",
3
+ "version": "1.8.4",
4
4
  "description": "High-performance React pivot table with a Web Worker engine — drag-and-drop pivoting, filtering, sorting, theming and export",
5
5
  "keywords": [
6
6
  "react",
@@ -65,7 +65,7 @@
65
65
  "access": "public"
66
66
  },
67
67
  "dependencies": {
68
- "@kanunilabs/pivotgrid-core": "1.11.3"
68
+ "@kanunilabs/pivotgrid-core": "1.11.4"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@tailwindcss/postcss": "^4.3.0",