Skip to contents

shinyGovstyle 0.2.0

Breaking changes

  • header() arguments main_text and secondary_text have been renamed to org_name and service_name respectively. The old names are deprecated and will be removed in a future version.
  • value_box() has had the redundant inputId argument removed.

New features

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 when width_overwrite = NULL.
  • header() alt text validation softened from errors to warnings.
  • header() has been fixed to correctly size and align on small screens, and service_name now 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_example for 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_box and gov_text to give better control over the layouts.
  • Added tabs as a component using the govTab command.
  • Added summary list as a component using the gov_summary command.
  • 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_area function. You can change the limit on word_count if needed.
  • Change the run_example to a better versions that show more ways you can you the package.
  • Change the backlink_Input to a button so that you can use server to move between panels etc.
  • Added tags through the tag_Input function plus added to the use_example.
  • Added cookie banner through the cookieBanner function.
  • Added accordion through the accordion function.
  • Added tables through the govTable function.

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.md file to track changes to the package.
  • Added a notification banner function.
  • Got ready for CRAN release.
  • Added output value to the documentation.