Skip to content

Releases: collector-bank/collector-portal-framework

Use TypeScript config flag `esModuleInterop`

28 Nov 08:23
Compare
Choose a tag to compare

This release starts using the TypeScript config flag esModuleInterop, to be more spec-compliant. Good post on the subject.

Remove no longer needed `ModalBodyContainer`

27 Nov 14:12
Compare
Choose a tag to compare

This release removes the no longer needed ModalBodyContainer component

Button icon SVG's now require a height attribute at minimum

05 Nov 15:14
Compare
Choose a tag to compare

We have published a new breaking change that we discovered we introduced in 7.8.2.

We now require that any icons used as props in the Button component have a height set. If they do not, they will not be shown any more. This was done in order to have more granular control over icon size, and be able to use smaller SVG's than the 1.3em previously specified.

New Modal style

26 Sep 12:31
Compare
Choose a tag to compare

In this latest release we have drastically changed the style of the Modal. It is now a real modal, which closes when you click on the background outside the content. (If you don't want this behaviour, don't implement anything for onRequestClose).

The API is identical, it's just a big visual change :)

Theming support

20 Sep 08:10
Compare
Choose a tag to compare

Breaking change! This release adds support for theming. See the how to section in the README on how to use this.

Adjust modal scroll to edge of display area

10 Sep 08:17
Compare
Choose a tag to compare

Previously our modal had a scroll in the content area. We have now adjusted it so it goes to the outside edge of the display area. We've done compatibility testing in all major browsers on all major platforms, including Mobile; nonetheless if you encounter any errors, please make an issue!

Remove border from Togglable and add size.

05 Sep 11:57
Compare
Choose a tag to compare

In this release we have decided to make a somewhat breaking visual change with the Togglable component. It will no longer have any borders of its own, it will instead rely on the consumer to add borders as necessary. It is too inflexible and beyond the scope of the component itself for it to have borders on the top and bottom by default.

As we don't consider the borders to be a huge change, this is still a minor update, and the API remains backwards compatible. We have also added a new property "size" which changes the title and icon size.

Fix issue with spinner

21 Aug 08:12
Compare
Choose a tag to compare

In this version we changed how we render the spinner. This improves performance but can clash with potential CSP, so make sure you check your CSP settings before upgrading to 6.2.