Version 3.2.0
- Make the library configurable. This change was made with the help of internal-ruby-gems team, Massive thanks to @JonF1, @HettieS and @robyoung91 for their contributions 🎉 #355
- Allow
visually_hidden_text
to be required on all summary list action items. This option is controlled by the new configuration flagrequire_summary_list_action_visually_hidden_text
and is false by default, maintaining the old behaviour. When toggled to true all actions must be accompanied by some visually hidden text unless explicitly overridden withnil
. Thanks to @frankieroberto for implementing this and @josephhull676 for making it configurable #354 - Update
view_component
to 2.69.0 #365 - Ensure the tests are run using matrix variables #364
Upgrade notes
As part of #355 the visually_hidden_next_text
and visually_hidden_previous_text
arguments were removed from GovukComponent::PaginationComponent
. These were superfluous and unnecessary so treated like a bug and removed. The visually hidden text should either passed in as a block of HTML or set via the default_pagination_next_text
and default_pagination_previous_text
config options.