Release 3.6.0
Changelog
All notable changes to this project will be documented in this file.
3.6.0 - December 3, 2024
PRs in this release
- PR #2054: Add new tooltip component to DS - Chris Contolini
General
- Add new tooltip component to DS
We have two cf.gov apps that use tooltips but limited documentation
on best practices or how to use them in new projects. This PR adds
one implementation to the DS. It requires a third party library called
Tippy.js. - (b718f49) - Chris Contolini
- Rebuild dist bundles - (e7d8d57) - Chris Contolini
- Add exports config to DS package
The exports
field allows multiple entrypoints to be defined instead of
just a single main
entrypoint. This allows the bundled code to be selectively
imported by developers. For our purposes, we can package the majority of our DS
code into a single file but keep the tooltip code separate. Tooltips are used
on very few pages and they rely on a third party library that we don't want users
to unnecessarily download on every page of cf.gov.
See https://nodejs.org/api/packages.html#package-entry-points - (005bce9) - Chris Contolini
- Hide tooltip trigger elements if JS is disabled - (eb584f8) - Chris Contolini
- Change cursor to pointer on tooltip trigger hover - (979f268) - CFPBot
- Rebuild assets, move new packages to yarn cache dir - (e0e9531) - Chris Contolini
- Remove erroneous auto-changelog dependency and config - (980d9eb) - Chris Contolini