Skip to main content

Blog

Rivet 1.4.0 release

Rivet 1.4.0 is now available. This release makes some updates to the Rivet footer and deprecates classes related to alerts and the loading indicator.

Scott Anthony Murray

Mar 25, 2019

Rivet 1.4.0 is now available! This release makes some updates to the Rivet footer and deprecates classes related to alerts and the loading indicator.

Recently, the layout of the IU-branded footer for websites was updated. This release updates the Rivet footer to reflect these changes, including the removal of markup and CSS classes no longer needed in the new footer.

You can see the updated Rivet footer markup in the Rivet component documentation.

Alert class deprecation #

In previous versions of Rivet, alerts were dismissed by clicking a button element with the .rvt-alert__dismiss class.

In an effort to decouple CSS classes from JavaScript behavior and be more consistent with how other JavaScript-powered Rivet components are implemented, the .rvt-alert__dismiss class has been deprecated in favor of the data-alert-close attribute.

The examples in the alert component documentation have been updated to reflect this new approach.

Loading indicator class deprecation #

This release deprecates the .rvt-button__text class used by the loading indicator component in favor of the .rvt-button__content class.

We realized it wasn’t clear to developers that button icons should be included in the element with the .rvt-button__text class, so the loading indicator wasn’t hiding these icons when busy.

The .rvt-button__content class more clearly communicates that both text and icons should be included so that they’ll be hidden properly when the loading indicator appears.

Complete list of updates #

For a complete breakdown of the 1.4.0 updates, see the Rivet changelog.

Getting help #

If you have questions about the changes to the footer, alert, or loading indicator components, head over to the Rivet Slack channel or send a message to the Rivet mailing list.