Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release [email protected] #3251

Merged
merged 6 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions packages/eds-data-grid-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,37 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.0] - 2024-02-15

### Added

- ✨ Allow controlling size with new `columnSizing` and `onColumnResize` props by @yusijs in https://github.com/equinor/design-system/pull/3268

### Changed

- 🔧 Update babel compile target to "last 2 Chrome versions, last 2 firefox versions, last 2 safari versions, last 2 edge versions, not dead" by @oddvernes in https://github.com/equinor/design-system/pull/3219
- ⚡️ Improve performance by enabling `contain: strict` when width and height is provided by @magnh in https://github.com/equinor/design-system/pull/3273
- ✨ Improve data grid by @magnh in https://github.com/equinor/design-system/pull/3231

#### Details of https://github.com/equinor/design-system/pull/3231:

- ✨ Reexport `@tanstack/react-table` types to ease typing in apps using the data grid
- 📌 Move `eds-core-react` to peer dependencies
- This is neccessary because EDS uses React Context and the grid and the project should
have the same React instance running. This makes it possible to set EDS Density of the
table above the component.
- ♻️ Move text truncating into default cell to enable overwriting cell content
- This enables custom cells like popover, autocomplete or other cells that overflows the cell itself.
- 🐛 Inherit row background color for pinned cells
- This ensures hover color on the whole row when columns are pinned
- 🐛 Support 100% width
- Support string `width` and `height`
- ✨ Allow setting `minWidth` of table
- ✨ Expose `getRowId` callback from react-table
- ✨ Expose virtualizer ref
- This is needed to be able to run "scroll to" functionality in apps.
- 🐛 Hide virtualizer rows top and bottom rows when not needed

## [0.2.0] - 2023-12-13

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/eds-data-grid-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/eds-data-grid-react",
"version": "0.2.0",
"version": "0.3.0",
"description": "A feature-rich data-grid written in React, implementing the Equinor Design System",
"license": "MIT",
"types": "dist/types/index.d.ts",
Expand Down
Loading