shinyGovstyle 0.2.0
Breaking changes
-
header()argumentsmain_textandsecondary_texthave been renamed toorg_nameandservice_namerespectively. The old names are deprecated and will be removed in a future version. -
value_box()has had the redundantinputIdargument removed.
New features
- New
download_link(),download_button(), anddownload_radios()functions for download components. - New
external_link()function for creating safe, accessible external links that open in a new tab. - New
gov_list()function to render styled ordered and unordered lists. - New
service_navigation()function withupdate_service_navigation()andservice_nav_link()helpers for the GOV.UK service navigation component. - New
skip_to_main()function to add a skip-to-main-content accessibility link.
Minor improvements and bug fixes
- Accordion sections now toggle by clicking anywhere in the section header, not just the title text.
- File upload input now uses GDS-like styling.
-
footer()now supports links. -
gov_table()now supports reactive tables, sorting, and pagination. -
gov_table()no longer crashes whenwidth_overwrite = NULL. -
header()alt text validation softened from errors to warnings. -
header()has been fixed to correctly size and align on small screens, andservice_namenow wraps correctly on narrow viewports. - Many functions now cross-reference related functions in their help files.
- Table caption placement fixed.
- Updated govuk-frontend CSS from v5.4.0 to v6.1.0.
-
value_box()updated to use GOV.UK tag colours.
shinyGovstyle 0.1.1
CRAN release: 2026-01-08
- No user facing changes, moving to using snapshot testing for backlink_Input
shinyGovstyle 0.1.0
CRAN release: 2024-09-12
- Update the css to v5.4.0 and made fixes associated with that.
- No longer requires rem remover step to update for future changes.
- One of the major changes in the css is a change in look and functionality for the accordion. Show / hide all works as expected now.
- Another major change to how the radio buttons look and feel, in line with the v5.4.0 design examples.
- Added additional functions to the
run_examplefor ease of testing. - Added the contents_links() function as a helper for getting the styling and behaviour for left navigation.
shinyGovstyle 0.0.8
CRAN release: 2022-02-22
- Update the css to v4.0.0 and made fixes associated with that.
- One of the major changes in the css is a change in look for the accordion.
- Added new functions
gov_main_layout,gov_row,gov_boxandgov_textto give better control over the layouts. - Added tabs as a component using the
govTabcommand. - Added summary list as a component using the
gov_summarycommand. - Added error summary component (
error_summary) and error summary update (error_summary_update).
shinyGovstyle 0.0.7
CRAN release: 2021-11-04
- Improved the header so that you can adjust the logo size to suit.
- Fix some errors that appeared in the footer.
- Fix the word count function so that you only need to enter word count limit on the
text_areafunction. You can change the limit onword_countif needed. - Change the
run_exampleto a better versions that show more ways you can you the package. - Change the
backlink_Inputto a button so that you can use server to move between panels etc. - Added tags through the
tag_Inputfunction plus added to theuse_example. - Added cookie banner through the
cookieBannerfunction. - Added accordion through the
accordionfunction. - Added tables through the
govTablefunction.
shinyGovstyle 0.0.6
CRAN release: 2021-10-25
- Fix minor bugs from the issues list including data default and radio default.
- Added units test.
- Added an example function.
- Added a
NEWS.mdfile to track changes to the package. - Added a notification banner function.
- Got ready for CRAN release.
- Added output value to the documentation.
