Skip to content

Minor component update (modals)

Compare
Choose a tag to compare
@geotrev geotrev released this 13 Apr 22:42
· 355 commits to develop since this release

This release is modifying the Modal api (again) to be slightly more logical and consistent with the other components.

Modal buttons now require data-target instead of data-modal-button. The value of the attribute should still match whatever value set on data-modal on your modal's overlay wrapper.

Some other updates were made to the website:

  • Dependencies updated
  • Proper handling of polyfills to only load on non-modern browsers