Skip to content

Releases: OvidijusParsiunas/active-table

1.1.7 - paste issue fix for Windows

13 May 13:22

Choose a tag to compare

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

15 Jan 15:13

Choose a tag to compare

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

01 Mar 15:52

Choose a tag to compare

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

02 Feb 19:40

Choose a tag to compare

This release contains a bug fix for exporting pasted data.

Previously, if the user pasted data into an empty cell, Active Table would not register that data, hence it was not returned via getData method and was not present in the exported table.

This issue is now fixed.

1.1.3 - CSV parsing upgrades

01 Feb 14:42

Choose a tag to compare

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

08 Jan 16:36

Choose a tag to compare

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

02 Jan 09:44

Choose a tag to compare

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

21 Dec 19:55

Choose a tag to compare

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

15 Nov 17:46

Choose a tag to compare

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

12 Nov 17:04

Choose a tag to compare

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.