You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: column resize and pinned column width corruption
- ColumnResizeHandle now uses logical stored width (currentWidth prop)
instead of reading DOM getBoundingClientRect, fixing jitter on resize
and preventing width corruption when a pinned column is resized
- Header passes effectiveWidth (columnWidths[field] ?? colDef.width)
to ColumnResizeHandle as the correct baseline for drag calculations
- CSS auto-import added to barrel index.ts for all bundler environments
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,16 @@
5
5
6
6
---
7
7
8
+
## [0.1.3] — March 10, 2026 🐛
9
+
10
+
### Fixed
11
+
- CSS is now explicitly imported at the barrel entry (`lib/index.ts`) in addition to `DataGrid.tsx`, ensuring styles are never silently dropped by bundlers (Vite, Webpack, Next.js App Router) that don't auto-resolve side-effect CSS from library packages.
12
+
13
+
### Docs
14
+
- Updated `README.md` to accurately describe CSS handling and provide a clear fallback import instruction for all environments.
> **Note:** Styles are bundled inside the component. For SSR or CSS-in-JS setups use the explicit styles export:
23
+
> **Styles:** The CSS is bundled as a separate file (`opengridx.css`) alongside the JS. It is imported automatically via the package barrel in most setups.
24
+
> However, **if your grid appears unstyled** (Vite, Next.js App Router, or SSR environments sometimes skip side-effect CSS auto-detection), add this explicit import once — typically in your app's root file (`main.tsx` / `layout.tsx`):
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@opencorestack/opengridx",
3
-
"version": "0.1.2",
3
+
"version": "0.1.3",
4
4
"description": "OpenGridX: High-performance React data infrastructure. Unlock advanced Row Grouping, Excel Export, and Column Pinning without the usual \"Pro\" gatekeeping. Built for speed, scale, and complete architectural freedom. Fully open, virtualization-ready, and feature-complete.",
0 commit comments