-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PLATUI-2705: Upgrade to latest govuk-frontend v5.0.0 (#338)
--------- Co-authored-by: JoPintoPaul <joanna.pinto.paul@digital.hmrc.gov.uk> Co-authored-by: david.ellam <ellamdav@users.noreply.github.com>
- Loading branch information
1 parent
72d6478
commit c1614d3
Showing
119 changed files
with
551 additions
and
1,497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-1.12 KB
(97%)
...top_default_account-header_all-available-options_example_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1 KB
(98%)
...op_default_account-header_all-available-options_example_0_document_1_tablet.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.12 KB
(97%)
...eference/backstop_default_account-header_default_example_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-954 Bytes
(98%)
...ference/backstop_default_account-header_default_example_0_document_1_tablet.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.12 KB
(97%)
...kstop_default_account-header_global-service-name_example_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-589 Bytes
(99%)
...stop_default_account-header_global-service-name_example_0_document_1_tablet.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.01 KB
(98%)
...p_default_account-header_link-states-on-desktop_example_0_document_0_tablet.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-989 Bytes
(98%)
...es-on-desktop_example_account-menu-account-home-focused_0_document_0_tablet.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1019 Bytes
(98%)
...es-on-desktop_example_account-menu-account-home-hovered_0_document_0_tablet.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-930 Bytes
(98%)
...states-on-desktop_example_account-menu-messages-focused_0_document_0_tablet.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-944 Bytes
(98%)
...states-on-desktop_example_account-menu-messages-hovered_0_document_0_tablet.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.07 KB
(98%)
...-select-alternate-lang-focused-and-current-lang-hovered_0_document_0_tablet.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.12 KB
(97%)
..._link-states-on-mobile-with-dropdown-link-active_example_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-923 Bytes
(98%)
...e_example_account-menu-dropdown-open-active-link-focused_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-936 Bytes
(98%)
...e_example_account-menu-dropdown-open-active-link-hovered_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-936 Bytes
(98%)
...-dropdown-link-active_example_account-menu-dropdown-open_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-841 Bytes
(99%)
...ink-active_example_account-menu-with-larger-browser-font_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.12 KB
(97%)
...top_default_account-header_link-states-on-mobile_example_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-881 Bytes
(98%)
...ates-on-mobile_example_account-menu-account-home-focused_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.12 KB
(97%)
...ates-on-mobile_example_account-menu-account-home-hovered_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-873 Bytes
(98%)
...k-states-on-mobile_example_account-menu-dropdown-focused_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.12 KB
(97%)
...k-states-on-mobile_example_account-menu-dropdown-hovered_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-922 Bytes
(98%)
...bile_example_account-menu-dropdown-open-messages-focused_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-934 Bytes
(98%)
...bile_example_account-menu-dropdown-open-messages-hovered_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-934 Bytes
(98%)
...link-states-on-mobile_example_account-menu-dropdown-open_0_document_0_phone.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-914 Bytes
(98%)
...lt_account-header_overridden-global-service-name_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-666 Bytes
(99%)
...t_account-header_overridden-global-service-name_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-994 Bytes
(98%)
...p_default_account-header_welsh-with-service-name_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-645 Bytes
(99%)
..._default_account-header_welsh-with-service-name_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.15 KB
(97%)
...ackstop_default_account-header_with-service-name_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-659 Bytes
(99%)
...ckstop_default_account-header_with-service-name_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-847 Bytes
(96%)
...itmaps_reference/backstop_default_header_default_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-1.09 KB
(97%)
...tmaps_reference/backstop_default_header_default_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.13 KB
(86%)
...aps_reference/backstop_default_header_full_width_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-1.24 KB
(90%)
...ps_reference/backstop_default_header_full_width_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1005 Bytes
(94%)
...ll_width_with_navigation_and_menu_open_on_mobile_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-1.15 KB
(88%)
...ckstop_default_header_full_width_with_navigation_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-848 Bytes
(95%)
...kstop_default_header_full_width_with_navigation_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.17 KB
(87%)
...ackstop_default_header_navigation_item_with_html_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-867 Bytes
(95%)
...ckstop_default_header_navigation_item_with_html_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.17 KB
(87%)
...lt_header_navigation_item_with_html_without_link_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-1.07 KB
(93%)
...t_header_navigation_item_with_html_without_link_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.17 KB
(87%)
...lt_header_navigation_item_with_text_without_link_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-1.08 KB
(93%)
...t_header_navigation_item_with_text_without_link_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.1 KB
(89%)
..._reference/backstop_default_header_sign_out_link_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-998 Bytes
(93%)
...reference/backstop_default_header_sign_out_link_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.1 KB
(90%)
...e/backstop_default_header_sign_out_link_in_welsh_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-1023 Bytes
(94%)
.../backstop_default_header_sign_out_link_in_welsh_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.06 KB
(94%)
...e/backstop_default_header_with_additional_banner_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-872 Bytes
(96%)
.../backstop_default_header_with_additional_banner_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.05 KB
(93%)
...backstop_default_header_with_hmrc_banner_english_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-611 Bytes
(97%)
...ackstop_default_header_with_hmrc_banner_english_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.05 KB
(93%)
...e/backstop_default_header_with_hmrc_banner_welsh_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-687 Bytes
(97%)
.../backstop_default_header_with_hmrc_banner_welsh_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.09 KB
(90%)
...stop_default_header_with_language_toggle_english_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-978 Bytes
(94%)
...top_default_header_with_language_toggle_english_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.06 KB
(91%)
...ckstop_default_header_with_language_toggle_welsh_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-934 Bytes
(95%)
...kstop_default_header_with_language_toggle_welsh_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.25 KB
(82%)
...ce/backstop_default_header_with_large_navigation_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-897 Bytes
(98%)
...e/backstop_default_header_with_large_navigation_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.12 KB
(91%)
...kstop_default_header_with_large_navigation_welsh_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-835 Bytes
(98%)
...stop_default_header_with_large_navigation_welsh_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.25 KB
(82%)
...eference/backstop_default_header_with_navigation_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-1.06 KB
(93%)
...ference/backstop_default_header_with_navigation_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.22 KB
(84%)
...ce/backstop_default_header_with_navigation_welsh_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-1.06 KB
(93%)
...e/backstop_default_header_with_navigation_welsh_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.13 KB
(86%)
...erence/backstop_default_header_with_product_name_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-1.25 KB
(90%)
...rence/backstop_default_header_with_product_name_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.17 KB
(87%)
..._default_header_with_service_name_and_navigation_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-870 Bytes
(95%)
...default_header_with_service_name_and_navigation_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.16 KB
(86%)
...ult_header_with_service_name_but_no_service_link_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-1.14 KB
(91%)
...lt_header_with_service_name_but_no_service_link_example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
-1.16 KB
(86%)
...erence/backstop_default_header_with_service_name_example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-1.14 KB
(91%)
...rence/backstop_default_header_with_service_name_example_0_document_1_tablet.png
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
import HMRCAccessibleAutocomplete from 'accessible-autocomplete'; | ||
import { nodeListForEach } from './common'; | ||
import AccessibleAutoComplete from './components/accessible-autocomplete/accessible-autocomplete'; | ||
|
||
window.HMRCAccessibleAutocomplete = HMRCAccessibleAutocomplete; | ||
|
||
const $AccessibleAutocomplete = document.querySelectorAll('select[data-module="hmrc-accessible-autocomplete"]'); | ||
if ($AccessibleAutocomplete) { | ||
nodeListForEach($AccessibleAutocomplete, (selectElement) => { | ||
$AccessibleAutocomplete.forEach((selectElement) => { | ||
new AccessibleAutoComplete(selectElement, window, document).init(); | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
import GOVUKFrontend from 'govuk-frontend/govuk/all'; | ||
import { initAll } from 'govuk-frontend/dist/govuk/govuk-frontend.min'; | ||
import HMRCFrontend from './all'; | ||
|
||
window.GOVUKFrontend = GOVUKFrontend; | ||
window.HMRCFrontend = HMRCFrontend; | ||
|
||
GOVUKFrontend.initAll(); | ||
initAll(); | ||
HMRCFrontend.initAll(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.