hmrc-frontend 5.41.0 → 5.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -62,3 +62,4 @@ You can also create a pull request to contribute to HMRC Frontend. See our [cont
62
62
  ## License
63
63
 
64
64
  This code is open source software licensed under the [Apache 2.0 License]("http://www.apache.org/licenses/LICENSE-2.0.html").
65
+
@@ -1,4 +1,10 @@
1
1
  {
2
+ "pluginDependencies": [
3
+ {
4
+ "packageName": "govuk-frontend",
5
+ "minVersion": "4.7.0"
6
+ }
7
+ ],
2
8
  "assets": [
3
9
  "/hmrc/components/account-menu/images",
4
10
  "/hmrc/components/banner/images",
@@ -98,4 +104,4 @@
98
104
  "importFrom": "hmrc/components/user-research-banner/macro.njk"
99
105
  }
100
106
  ]
101
- }
107
+ }
package/hmrc/VERSION.txt CHANGED
@@ -1 +1 @@
1
- 5.41.0
1
+ 5.43.0
@@ -1,2 +1,2 @@
1
1
  .autocomplete__wrapper{position:relative}.autocomplete__hint,.autocomplete__input{-webkit-appearance:none;border:2px solid #0b0c0c;border-radius:0;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;margin-bottom:0;width:100%}.autocomplete__input{background-color:rgba(0,0,0,0);position:relative}.autocomplete__hint{color:#b1b4b6;position:absolute}.autocomplete__input--default{padding:5px}.autocomplete__input--focused{outline:3px solid #fd0;outline-offset:0;-webkit-box-shadow:inset 0 0 0 2px;box-shadow:inset 0 0 0 2px}.autocomplete__input--show-all-values{padding:5px 34px 5px 5px;cursor:pointer}.autocomplete__dropdown-arrow-down{z-index:-1;display:inline-block;position:absolute;right:8px;width:24px;height:24px;top:10px}.autocomplete__menu{background-color:#fff;border:2px solid #0b0c0c;border-top:0;color:#0b0c0c;margin:0;max-height:342px;overflow-x:hidden;padding:0;width:100%;width:calc(100% - 4px)}.autocomplete__menu--visible{display:block}.autocomplete__menu--hidden{display:none}.autocomplete__menu--overlay{-webkit-box-shadow:rgba(0,0,0,.256863) 0 2px 6px;box-shadow:0 2px 6px rgba(0,0,0,.256863);left:0;position:absolute;top:100%;z-index:100}.autocomplete__menu--inline{position:relative}.autocomplete__option{border-left-width:0;border-bottom:1px solid #b1b4b6;border-right-width:0;border-top-width:1px;cursor:pointer;display:block;position:relative}.autocomplete__option>*{pointer-events:none}.autocomplete__option:first-of-type{border-top-width:0}.autocomplete__option:last-of-type{border-bottom-width:0}.autocomplete__option--odd{background-color:#fafafa}.autocomplete__option--focused,.autocomplete__option:hover{background-color:#1d70b8;border-color:#1d70b8;color:#fff;outline:0}@media (-ms-high-contrast:active),(forced-colors:active){.autocomplete__menu{border-color:FieldText}.autocomplete__option{background-color:Field;color:FieldText}.autocomplete__option--focused,.autocomplete__option:hover{forced-color-adjust:none;background-color:SelectedItem;border-color:SelectedItem;color:SelectedItemText;outline-color:SelectedItemText}}.autocomplete__option--no-results{background-color:#fafafa;color:#646b6f;cursor:not-allowed}.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:16px;line-height:1.25}.autocomplete__hint,.autocomplete__option{padding:5px}@media (min-width:641px){.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:19px;line-height:1.31579}}.autocomplete__hint,.autocomplete__input,.autocomplete__wrapper{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-size:16px;font-size:1rem;line-height:1.25}@media print{.autocomplete__hint,.autocomplete__input,.autocomplete__wrapper{font-family:sans-serif}}@media (min-width:40.0625em){.autocomplete__hint,.autocomplete__input,.autocomplete__wrapper{font-size:19px;font-size:1.1875rem;line-height:1.31579}}@media print{.autocomplete__hint,.autocomplete__input,.autocomplete__wrapper{font-size:14pt;line-height:1.15}}
2
- /*# sourceMappingURL=maps/accessible-autocomplete-5.41.0.css.map */
2
+ /*# sourceMappingURL=maps/accessible-autocomplete-5.43.0.css.map */
@@ -1,5 +1,6 @@
1
1
  @import "account-menu/account-menu";
2
2
  @import "banner/banner";
3
+ @import "back-link-helper/back-link-helper";
3
4
  @import "currency-input/currency-input";
4
5
  @import "notification-badge/notification-badge";
5
6
  @import "page-heading/page-heading";
@@ -10,7 +10,7 @@
10
10
  }
11
11
 
12
12
  // dirty, dirty, dirty
13
- // Necessary as there's a specicifity problem on the <li>'s in the mobile menu
13
+ // Necessary as there's a specificity problem on the <li>'s in the mobile menu
14
14
  .hidden,
15
15
  .no-js .js-visible,
16
16
  .js .js-hidden {
@@ -1,4 +1,5 @@
1
1
  # Back Link helper
2
2
 
3
3
  When activated via attribute `data-module="hmrc-back-link"`,
4
- this helper will set up a _Back_ link so that it mimics the browser's back button when clicked.
4
+ this helper will set up a _Back_ link so that it uses JavaScript to mimic the browser's back button when clicked.
5
+ If JavaScript is disabled, the link will be hidden using CSS.
@@ -0,0 +1,4 @@
1
+
2
+ body:not(.js-enabled) a[data-module="hmrc-back-link"][href="#"] {
3
+ display: none;
4
+ }