Skip to content

Commit cd9e345

Browse files
committed
chore: release v0.1.3
- Fix column resize: use logical stored width (currentWidth prop) instead of DOM getBoundingClientRect, eliminating jitter on repeated drags - Fix pinned column resize: sticky left/right offset no longer corrupts the baseline width measurement on first drag - Fix CSS auto-import: added barrel-level import in lib/index.ts so styles load reliably across Vite, Webpack, and Next.js App Router - Add llms.txt: machine-readable AI agent context file bundled inside the npm package with full prop reference, types, and usage examples - Update README: clarify CSS import behaviour and fallback instructions"
1 parent c41e644 commit cd9e345

File tree

4 files changed

+979
-84
lines changed

4 files changed

+979
-84
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@
55

66
---
77

8-
## [0.1.3] — March 10, 2026 🐛
8+
## [0.1.3] — March 10, 2026 🐛✨
9+
10+
### Added
11+
- `llms.txt` bundled inside the npm package — a machine-readable AI agent API context file with complete props reference, type definitions, and usage examples. Located at `node_modules/@opencorestack/opengridx/llms.txt` after installation.
912

1013
### 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.
14+
- CSS now explicitly imported at the barrel entry (`lib/index.ts`), 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.
15+
- Column resize: `ColumnResizeHandle` now uses the logical stored width (`currentWidth` prop) instead of reading DOM `getBoundingClientRect()`, fixing resize jitter and incorrect delta calculations on second+ drag.
16+
- Pinned column resize: Resizing a pinned (sticky) column no longer corrupts its displayed width — the DOM measurement was previously offset by the sticky `left`/`right` position, causing an erroneous width jump on first drag.
1217

1318
### Docs
1419
- Updated `README.md` to accurately describe CSS handling and provide a clear fallback import instruction for all environments.

0 commit comments

Comments
 (0)