govuk_publishing_components 27.9.1 → 27.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1972033395616c1023a78e4452ac636b90a5bc7f9c7739c2a1d258e76691b900
4
- data.tar.gz: 0c9ce6602fc0811249802d4c4db210ac2df342d35ce2b6bc2a796315d5b0213f
3
+ metadata.gz: 84421d91c40a900cecce84bc40059fc02803fbdb42173e03a590dc2b26904353
4
+ data.tar.gz: a23db6521a6481c233984680d2eb3c166f07b1ed321e6bf7ec6ca5e0e392b36b
5
5
  SHA512:
6
- metadata.gz: 0ea760c12bc9de04e792adfa8f37c6ffbb2a14ec58bde29a4419afcc7bdc72e7ef47b8c2f7408fddf8a2b0f494aad26947d4d5d2b896c485f72bbea2f37cebdf
7
- data.tar.gz: c27b47624a8c10554bf33af5099f5aebc14144410692823e84c7f59a4abb009d82ec9ac1b54c707e30dcd71423e465ced00e405df1abf0ffc325db1f1d9743b0
6
+ metadata.gz: c4c0ea74bb2365e4bd1ee66768566f96a4655f9dcfc0e369723b79bb8814c3b9e882611c45db1853552a2407ae0ae30f38dd733e27107fdadd120916d410be23
7
+ data.tar.gz: 49d57ddc1d28d67b450d1e1211195511fb93c87ed05fae9887a58c17a8617e804b8ee497978bc9a03fcb34f6fffe251795158f722e6b63398f489e0e2f1ba449
@@ -233,8 +233,6 @@ window.GOVUK.Modules = window.GOVUK.Modules || {};
233
233
  // The menu needs to be updated when the window is resized to make sure that
234
234
  // the space needed for the dropdown menu is correct.
235
235
  window.addEventListener('resize', this.updateStates.bind(this), { passive: true })
236
-
237
- this.$module.classList.add('js-module-initialised')
238
236
  }
239
237
 
240
238
  Modules.SuperNavigationMegaMenu = SuperNavigationMegaMenu
@@ -225,7 +225,7 @@ $chevron-indent-spacing: 7px;
225
225
  display: inline-block;
226
226
  }
227
227
 
228
- .js-module-initialised & {
228
+ .js-enabled & {
229
229
  padding: 0 0 govuk-spacing(9) 0;
230
230
 
231
231
  @include govuk-media-query($from: "desktop") {
@@ -367,7 +367,7 @@ $chevron-indent-spacing: 7px;
367
367
  }
368
368
 
369
369
  .gem-c-layout-super-navigation-header__navigation-item-link {
370
- .js-module-initialised & {
370
+ .js-enabled & {
371
371
  margin-left: govuk-spacing(4);
372
372
  }
373
373
  }
@@ -535,7 +535,7 @@ $chevron-indent-spacing: 7px;
535
535
  padding-bottom: govuk-spacing(4);
536
536
  padding-top: govuk-spacing(4);
537
537
 
538
- .js-module-initialised & {
538
+ .js-enabled & {
539
539
  display: block;
540
540
  }
541
541
  }
@@ -856,7 +856,7 @@ $chevron-indent-spacing: 7px;
856
856
  @include govuk-media-query($from: "desktop") {
857
857
  margin: 0;
858
858
 
859
- .js-module-initialised & {
859
+ .js-enabled & {
860
860
  left: 0;
861
861
  position: absolute;
862
862
  right: 0;
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "27.9.1".freeze
2
+ VERSION = "27.9.2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_publishing_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 27.9.1
4
+ version: 27.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev