Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLATUI-2705: Upgrade to latest govuk-frontend v5.0.0 #338

Merged
merged 12 commits into from
Jan 16, 2024

Conversation

kyle-bowden
Copy link
Contributor

@kyle-bowden kyle-bowden commented Jan 11, 2024

Stuff that has happened in this PR

  • IE Pollyfills have been removed
  • html5shiv has been left in as decided by us during our spike investigation
  • forked components have been updated
  • TimeiutDialog was using ActiveXObject for IE which we have decided to leave in place until DIAS lets us know if we should be supporting the TimeoutDialog in IE

@kyle-bowden kyle-bowden force-pushed the PLATUI-2627_spike-govuk-frontend-5-0-0 branch 2 times, most recently from 35d4ea5 to 52574ce Compare January 11, 2024 14:40
@kyle-bowden kyle-bowden force-pushed the PLATUI-2627_spike-govuk-frontend-5-0-0 branch from 52574ce to fd4d686 Compare January 11, 2024 16:38
@kyle-bowden kyle-bowden changed the title PLATUI-2627: spike govuk frontend v5.0.0 PLATUI-2705: Upgrade to latest govuk-frontend v5.0.0 Jan 11, 2024
@kyle-bowden kyle-bowden force-pushed the PLATUI-2627_spike-govuk-frontend-5-0-0 branch from fd4d686 to b3fe3ac Compare January 11, 2024 16:52
@kyle-bowden kyle-bowden marked this pull request as ready for review January 11, 2024 19:11
package.json Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably lots of improvements we could snag from https://github.com/alphagov/govuk-frontend/blob/60b0a67bcd7cbb9c072c0fd573c30cdd5c2d31ba/packages/govuk-frontend/rollup.publish.config.mjs I think it's outside scope of this change probably - though maybe some bits we might want to do

@kyle-bowden kyle-bowden force-pushed the PLATUI-2627_spike-govuk-frontend-5-0-0 branch from b3fe3ac to bced47f Compare January 12, 2024 13:20
@@ -247,15 +247,6 @@ describe('header', () => {

describe('SVG logo', () => {
const $ = render('header', {});
const $svg = $('.govuk-header__logotype-crown');

it('sets focusable="false" so that IE does not treat it as an interactive element', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test has been deleted but it looks like we still have the SVG with focusable="false", should we keep the test? Or delete the attribute?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I replaced the SVG element with the one from the guidance on the govuk-frontend release notes. I am going to leave the test that tests for focusable="false" as this is what govuk recommends.

@kyle-bowden kyle-bowden force-pushed the PLATUI-2627_spike-govuk-frontend-5-0-0 branch from bced47f to 6e55d21 Compare January 15, 2024 15:59
@kyle-bowden kyle-bowden merged commit c1614d3 into main Jan 16, 2024
1 check passed
@kyle-bowden kyle-bowden deleted the PLATUI-2627_spike-govuk-frontend-5-0-0 branch January 16, 2024 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants