Releases: silevis/reactgrid
Releases · silevis/reactgrid
v4.1.6
What's Changed
- fix: moveDownOnEnter onCellsChanged is triggered twice #314 by @qiufeihong2018 in #315
- fix: pasting externally copied negative numbers into ReactGrid by @webloopbox in #349
- fix: onSelectionChanged unusable with Typescript as Range and Locatio… by @qiufeihong2018 in #364
- fix: onSelectionChanging not called when column header is selected #351 by @qiufeihong2018 in #352
- fix: blurHandler assumes event target has an id by @mithodin in #382
- fix: prevent empty strings from being parsed to number by @webloopbox in #384
- fix: prevent css selector on input from overriding material ui styles by @webloopbox in #383
- feat: Add a way to deselect rows from code #358 by @qiufeihong2018 in #368
- fix className not being applied to highlights by @ACERposS in #375
- Update parseLocaleNumber.ts by @Shiro00000 in #355
- updated readme by @bayareaunicorn in #363
- modify handleKeyDown to listen to caps lock by @ben-horgan in #360
- V4 fix: prevent copying cell color styles during copy-paste operations by @webloopbox in #396
- V4 fix: prevent dropdown menu closure on scrollbar click by @webloopbox in #395
- V4 fix: export dropdown cell styles by @webloopbox in #394
- V4 fix/edge browser displays cell borders post 4.1.0 update by @webloopbox in #391
- V4 fix/prevent clearing the last cell while pasting data by @webloopbox in #390
Full Changelog: v4.1.3...v4.1.6
v4.1.3
New Features
Fixes:
- Provide fallback range to selection change handler by @DLowHP in #252
- Fix date cell inconsistency. @DLowHP in #249
- Replace
parseFloat
withparseLocaleNumber
, so ReactGrid will respect locale-based separators. @Michota in #296 - Do not trim values if they were pasted with
ContextMenu
. @Michota in #296 - Center checkmark in checkbox cells. @DLowHP in #261
- Get the current user's language before proccesing characters. @qiufeihong2018 in #254
- Add padding to GridRenderer on Firefox to prevent scrollbar from overlapping
ResizeHandler
. @Michota in #303 - Patch FillHandle to work properly with CheckboxCell. @qiufeihong2018 in #294
- Do not fire
onCellsChanged
twice, if changes were saved by pressingEnter
key. @qiufeihong2018 in #292 - Chrome bug patch: Always use z-index for sticky content by @DLowHP. #235
- Fix
ContextMenu
positioning to stop it from rendering outside ReactGrid on right and bottom. @qiufeihong2018 in #287 - Trigger onSelectionChanged on row selection. @qiufeihong2018 in #274
- Restore missing
#
in default border color. @robofish in #268 - Set default text color to black, change text to white in test grid @DLowHP in #224
Other changes:
fix: ContextMenu copy and paste error fails(#250) by @qiufeihong2018 in #256Replaced with #296
Full Changelog: v4.1.2...v4.1.3
v4.1.2
Fixes
- Reverted default text color to black, keeping it white in test grid
- Fixed errors on ContextMenu copy and paste
- Now always checking the current user's language setting before processing the first character
- Recentered CheckboxCell's "tick"
- Provided fallback range to selection change handler to fix the issue with
onSelectionChanging
handler when selecting with keyboard - Fixed date cell inconsistency that caused them to return wrong values depending on user's timezone
- Patched Chrome v117+ bug that caused sticky content to overlap; this change introduced zIndexBase property that allows you to offset the z-indexes for panes which are now used regardless of the browser
v4.1.1
v4.1.0
Changes
- Achieved React 18 support
- Achieved Node v17 support
- Migrated to react-scripts v5
- Added pnpm support
- Added compositionEnd event to cell templates - support for Input Method Editors
- Achieved foreign keyboard layouts support
- Added
key
param toonKeyDown
handler for cell templates - Added
getCharFromKey
helper function - Added
isCharAlphanumeric
string based validator - Added string based character validator for number cells -
isCharAllowedOnNumberInput
- Added
isKeyPrintable
helper to validate incoming key presses based onkeyDownEvent.key
- Updated cell templates to use
key
property along with a.n. helpers - Added new
moveRightOnEnter
property - Made min column width customizable through property
- Added text color variables to scss
- Introduced
onSelectionChanged
andonSelectionChanging
callbacks - Updated internal functions to call selection callbacks on changes caused by pointer, keyboard, fill handle, paste or selection reset
- Migrated to Cypress v12
- Updated and fixed tests
Fixes
- Fixed an issue where first key press on focused cell outside edit mode did not always trigger input and edit mode
- Escape key should now cancel changes before exiting edit mode
- You should now be able to change cell border color using its props
- You should now be able to cut, copy and paste dropdown cells
- Fixed an issue where IME did not focus cell and trigger edit mode
- Fixed an issue where foreign keyboard layouts sometimes did not trigger edit mode
- Foreign keyboard layouts should now produce proper characters on first input
- You should now be able to use fill handle on dropdown cells
- Context menu should not restore its position on ReactGrid remount anymore
- Dropdown cell should now properly update the selected value
- Pressing Ctrl + A inside edit mode on number-based cells should not select whole grid anymore
- Replaced implicit string conversion with explicit constructor inside
getCellProperty
- Updated dependencies
- Minor JSDoc, internal variable names grammar and readability fixes
v3.1.16
Changes:
- building production code with Rollup,
- supporting Next.js without
next-transpile-modules
plugin, - added cell span feature,
- improved fill handle to predict next values (PRO version),
- added new test cases (i.e. cell editor position, copy-paste, cell-span),
- added ESLint - removed warnings and errors,
- renamed
shadow
CSS class name torg-pane-shadow
- merged
Change
interface intoCellChange
for better readability
Fixes:
- sticky pinned to the body on mobile view now should render properly,
- navigating between cells with the keyboard when header cell or non-focusable cell is in the middle,
- entering negative values in number cell with numeric keyboard,
- cell editor position, when the focus is not changing and the cell is not fully visible.
v3.1.12
Changes:
- added
responsive sticky
feature (horizontalStickyBreakpoint
andverticalStickyBreakpoint
prop) - complete Cypress test environment rebuild for new test cases (over 80 end-2-end tests)
- removed unnecessary
data-cy
selectors - added
husky
Fixes:
- updated
Dropdown
cell implementation - moving focus inside the selection with the
tab
andtab + shift
key - row selecting when the focus isn't placed
- default menu options are not returned if
onContextMenu
callback returns an empty array - viewport scrolling is prevented if the user touches the first top row or first left column on touch devices
- Firefox browser checking (for Cypress tests)
v3.1.7
Changes:
- added brand new cell template -
DropdownCell
build onreact-select
library - added placeholder feature to the
TextCell
- rendering
Cell Editor
statically in-cell on mobile devices
Fixes:
- rendering full-width header shadow
- setting minimum column width to 40px
- pasting data on cells where
text
andvalue
in a cell template - enable context menu on column and row selection on mobile devices
- not selecting cell if focus can't be placed on cell
v.3.1.6
Changes:
- added
nonEditable
cell property. Now you no need to create a newCellTemplate
disable changes on a cell; - added JSDoc API descriptions;
- updated
readme.md
:getting started
handling changes
example; - added description of how to use
ReactGrid
withNext.js
; - temporarily downgraded the
typescript
version to3.9.7
.
Fixes:
- removed all circular dependencies
- preventing including currency symbol on
NumberCell
editor - losing
focus
on mobile devices - new way to display sticky panes shadows
v3.1.3
Changes:
- Added
ErrorBoundary
component and error handling - Rewritten cell borders (added
BorderProps
interface, changedCellStyle
interface, removed separator lines) - Added new notification about not implemented functionalities that exist only in PRO version
- Updated README.md file
- Updated dependencies
- Updated Cypress tests
- Simplified rendering PRO elements
Fixes:
areLocationEqual
rewritten- Improved recalculating visible view
- Removed unused code in
HiddenElement
- Opening context menu on mobile devices while reordering rows/columns
- pasting data using context menu between GroupId cells
- Fixed range selection when the cursor is outside RG's sticky right and left pane