@alaarab/ogrid-vue-radix 2.1.15 → 2.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.
@@ -323,8 +323,18 @@
323
323
  position: relative;
324
324
  padding: 0;
325
325
  height: 1px;
326
+ contain: content;
326
327
  }
327
328
 
329
+ /* Pinned columns need contain: none because contain breaks position: sticky */
330
+
331
+ .ogrid-data-cell--pinned-left,
332
+ .ogrid-data-cell--pinned-right { contain: none; }
333
+
334
+ /* content-visibility: auto on rows for non-virtualized grids */
335
+
336
+ .ogrid-table:not([data-virtual-scroll]) tbody tr { content-visibility: auto; }
337
+
328
338
  .ogrid-data-cell--pinned-left {
329
339
  position: sticky;
330
340
  z-index: var(--ogrid-z-pinned, 6);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alaarab/ogrid-vue-radix",
3
- "version": "2.1.15",
3
+ "version": "2.2.0",
4
4
  "description": "OGrid Vue Radix – Lightweight data grid with sorting, filtering, pagination, column chooser, and CSV export. Built with Headless UI Vue.",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -42,7 +42,7 @@
42
42
  "node": ">=18"
43
43
  },
44
44
  "dependencies": {
45
- "@alaarab/ogrid-vue": "2.1.15",
45
+ "@alaarab/ogrid-vue": "2.2.0",
46
46
  "@headlessui/vue": "^1.7.23"
47
47
  },
48
48
  "peerDependencies": {