After updating the CSS to v5.4 the backlink wasn't styling right and the tag in the beta banner now looked a bit odd as it's now longer defaulting to all caps.
Backlink
I changed this to an action link instead, which seemed to help it pick up the styling. I tested on the example app and functionality did seem to work fine, though the tests were failing as the placing of the label within the underlying object had moved - so I've updated them to match the updates to the function.
I also added a label argument so that people can customise the label if they want, though left the default as "Back", so in theory it stays backwards compatible.
Before:
After:
Beta banner
This was a quick one to update the case in the examples to be in line with updated GDS tag component
Before:
After:
Documentation
I had a newer version of roxygen2 locally so updated the package to that to then update the docs, assuming this hasn't caused any issues?
Overview
After updating the CSS to v5.4 the backlink wasn't styling right and the tag in the beta banner now looked a bit odd as it's now longer defaulting to all caps.
Backlink
I changed this to an action link instead, which seemed to help it pick up the styling. I tested on the example app and functionality did seem to work fine, though the tests were failing as the placing of the label within the underlying object had moved - so I've updated them to match the updates to the function.
I also added a
label
argument so that people can customise the label if they want, though left the default as "Back", so in theory it stays backwards compatible.Before:![image](https://github.com/moj-analytical-services/shinyGovstyle/assets/52536248/613e1d82-00b2-4724-9542-8f5e394cc479)
After:![image](https://github.com/moj-analytical-services/shinyGovstyle/assets/52536248/4bd125ee-2ccd-4181-99a5-8c4e0e4d379c)
Beta banner
This was a quick one to update the case in the examples to be in line with updated GDS tag component
Before:![image](https://github.com/moj-analytical-services/shinyGovstyle/assets/52536248/dfa53f6d-dc1e-4743-9a94-bdc3c9261a3e)
After:![image](https://github.com/moj-analytical-services/shinyGovstyle/assets/52536248/6cf5982a-4e22-4c13-b046-8408e085444a)
Documentation
I had a newer version of roxygen2 locally so updated the package to that to then update the docs, assuming this hasn't caused any issues?