Skip to content

Commit 877211e

Browse files
committed
fix(className): fix grid extra leading space issue & bump 0.1.7
1 parent ad0b9cb commit 877211e

File tree

8 files changed

+15
-8
lines changed

8 files changed

+15
-8
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55

66
---
77

8+
## [0.1.7] — March 12, 2026 🐛
9+
10+
### Fixed
11+
- Fixed an issue where the main wrapper `className` would erroneously include extra whitespace (e.g. `ogx `) when no optional classes were active.
12+
- Fixed an issue where `onRowOrderChange` drag-and-drop visuals didn't actually update in the `EventsDemo` component examples because it was referencing a static array instead of React State.
13+
14+
815
## [0.1.6] — March 12, 2026 🎨
916

1017
### Added

demo/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function App() {
117117
<img src={`${import.meta.env.BASE_URL}logo.png`} alt="OpenGridX Logo" className="app-logo" />
118118
<h2 className="app-title">
119119
OpenGridX
120-
<span className="app-version">v0.1.6</span>
120+
<span className="app-version">v0.1.7</span>
121121
</h2>
122122
</div>
123123

demo/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default function Home(_props: HomeProps) {
6868
<div className="home-logo-hero">
6969
<img src={`${import.meta.env.BASE_URL}banner.png`} alt="OpenGridX Logo" className="home-banner-image" />
7070
</div>
71-
<span className="home-badge">OpenGridX v0.1.6</span>
71+
<span className="home-badge">OpenGridX v0.1.7</span>
7272
<p className="home-subtitle">
7373
The elite, high-performance DataGrid for modern React.
7474
Built to handle massive data with a premium developer experience.

demo/public/llms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OpenGridX — AI Agent Context
22
# Package: @opencorestack/opengridx
3-
# Version: 0.1.6
3+
# Version: 0.1.7
44
# Docs: https://opencorestack.github.io/OpenGridX/
55
# This file is machine-readable. AI developers: start here.
66

lib/components/DataGrid/DataGrid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1643,7 +1643,7 @@ export function DataGrid<R extends GridRowModel = GridRowModel>(props: DataGridP
16431643
return (
16441644
<div
16451645
ref={containerRef}
1646-
className={`ogx ${className} ${autoHeight ? 'ogx--auto-height' : ''} ${hasRowSpanning ? 'ogx--row-spanning' : ''} ${listView ? 'ogx--list-view' : ''}`}
1646+
className={['ogx', className, autoHeight && 'ogx--auto-height', hasRowSpanning && 'ogx--row-spanning', listView && 'ogx--list-view'].filter(Boolean).join(' ')}
16471647
style={{
16481648
...style,
16491649
height: height ?? style?.height,

llms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OpenGridX — AI Agent Context
22
# Package: @opencorestack/opengridx
3-
# Version: 0.1.6
3+
# Version: 0.1.7
44
# Docs: https://opencorestack.github.io/OpenGridX/
55
# This file is machine-readable. AI developers: start here.
66

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencorestack/opengridx",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"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.",
55
"type": "module",
66
"main": "./dist/opengridx.umd.js",

0 commit comments

Comments
 (0)