Releases: OvidijusParsiunas/active-table
1.1.7 - paste issue fix for Windows
This release includes a fix for Active Table error that is caused when pasting data from Excel using Windows which ends with "\r\n" and the table still retained "\r" text.
More details in the following issue.
A big thankyou to @Akhand-99 for implementing the fix!
1.1.6 - Page resize fixes
This release includes a fix for Active Table error that is caused when resizing the webpage width:
Unhandled Runtime Error
TypeError: Cannot read properties of null (reading 'offsetWidth')
Call Stack
ParentResize.shouldRerenderTable
node_modules/active-table/dist/utils/render/parentResize.js (19:0)
ActiveTable.resizeCallback
node_modules/active-table/dist/utils/render/parentResize.js (25:0)
Mode details in the following issue.
A big thankyou to @irshadmb for implementing the fix!
1.1.5 - React compatibility fixes
This release includes an update to the Active Table's integration in React.
Previously, when devs were using create react app or other React integrations - they would sometimes run into an error that would contain something along the lines of the following:
...
module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"'
...
We have now fixed this issue by bundling the project using vite.
1.1.4 - pasted data export fix
1.1.3 - CSV parsing upgrades
The table is now better at parsing CSV content that is separated by double quotes. E.g. if the user inserted the following:
Test,"Hi, this doesn't work"
Result
Before:
Test | Hi | this doesn't work
Now:
Test | "Hi, this doesn't work"
This has been implemented for CSV file uploads and CSV pasting.
1.1.2 - ability to change ENTER key behaviour to move down
This release introduces a new property called enterKeyMoveDown which can change the behaviour of the ENTER key to move down to the cell that is below the current row.
This release also contains a bug fix for positioning the rowDropdown when the parent element contains a top or translateY style property.
1.1.1 - ability to drag columns and rows
This release features a new capability that allows the user to change column and row positions by dragging them using the mouse.
Read more in the dragColumns and dragRows descriptions.
1.1.0 - Renaming content property to data
In this release the content property has been renamed to data.
The reason for this change is motivated by the fact that content being an already existing html attribute - info. Hence the Active Table's property was clashing with this and was causing TypeScript errors.
This change has also called for other property updates like onDataUpdate and getData to keep the overall API comprehensive.
The release also contains a package upgrade to not use the "@types/xlsx" package in favour of creating a custom one in order to remove critical security vulnerabilities that were flagged during installation.
1.0.16 - Package version updates
Active Table has been migrated to use the new Lit Element version 3. This update also includes other package updates for maintainability and security purposes.
1.0.15 - Optimizing TypeScript API to not use enums
availableDefaultColumnTypes and customColumnTypes properties were previously using Enums in their types, which were forcing TypeScript devs to additionally import them when assigning their values. These enums have now been replaced with string types to make development easier for all.