govuk_publishing_components 27.10.3 → 27.10.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 657e4c5dd25ccaf9fbcb4052fb9b48033884e4ea11a67853a774d4c94ff987c9
4
- data.tar.gz: c315a4c225848b20d8a1db997a86844fc659cf26700a2297b74caf007bc2c96e
3
+ metadata.gz: 5c285efd48df213555a9afafac32940f67b475830d61fd04d184ed9927019aed
4
+ data.tar.gz: b51c92356aa12905d44a798c40f603fca665c940545569ab35c1565d9041b5d4
5
5
  SHA512:
6
- metadata.gz: dbbe3180641788a4f06261a5e5ef9a68fdae6f34a4d55d9585cf021aa22ab4ccd00b4da2afca6709eb78e06feb42896c8889e4ce8222268f37a98de565055f26
7
- data.tar.gz: b172a6ff735e768886eac870678a6929cc5d288055756a3176b39b26255e50c6543b913728ee7bf1bc1f2333ebb9e1075b4f241cd675d98aa8e655b898776375
6
+ metadata.gz: 01a744cc980fead4cf18e15708f13260d8c3d0fe79aa5df84e8ed21d7bb2e29d2a9c472c750a8cf4a7b5d3f19c2765b35b2a58f878be4321a43111e50efa9ad3
7
+ data.tar.gz: c1b5398df98f3f57c4e1c4708499981d9630c01ac6e70942c36927e99c4842b1ef41fbb9d9a8e69bdbe9454ec18c5371172cc9b4ac015611b917ee2fbcff35c1
@@ -268,11 +268,12 @@ $chevron-indent-spacing: 7px;
268
268
  .gem-c-layout-super-navigation-header__navigation-second-toggle-button {
269
269
  @include govuk-link-common;
270
270
  @include govuk-link-style-no-visited-state;
271
- @include govuk-link-style-no-underline;
272
271
 
273
272
  display: inline-block;
274
273
  font-size: 19px;
275
- font-size: govuk-px-to-rem(19px);
274
+ @if $govuk-typography-use-rem {
275
+ font-size: govuk-px-to-rem(19px);
276
+ }
276
277
  font-weight: bold;
277
278
  margin: govuk-spacing(3) 0;
278
279
 
@@ -313,7 +314,13 @@ $chevron-indent-spacing: 7px;
313
314
  @include govuk-media-query($from: "desktop") {
314
315
  float: left;
315
316
  font-size: 16px;
316
- font-size: govuk-px-to-rem(16px);
317
+
318
+ // stylelint-disable max-nesting-depth
319
+ @if $govuk-typography-use-rem {
320
+ font-size: govuk-px-to-rem(16px);
321
+ }
322
+ // stylelint-enable max-nesting-depth
323
+
317
324
  height: govuk-spacing(4);
318
325
  padding: govuk-spacing(4);
319
326
  position: relative;
@@ -369,6 +376,7 @@ $chevron-indent-spacing: 7px;
369
376
  .gem-c-layout-super-navigation-header__navigation-item-link {
370
377
  .js-module-initialised & {
371
378
  margin-left: govuk-spacing(4);
379
+ @include govuk-link-style-no-underline;
372
380
  }
373
381
  }
374
382
 
@@ -408,7 +416,9 @@ $chevron-indent-spacing: 7px;
408
416
  color: govuk-colour("white");
409
417
  float: left;
410
418
  font-size: 16px;
411
- font-size: govuk-px-to-rem(16px);
419
+ @if $govuk-typography-use-rem {
420
+ font-size: govuk-px-to-rem(16px);
421
+ }
412
422
  height: govuk-spacing(9);
413
423
  padding: govuk-spacing(4);
414
424
  position: relative;
@@ -481,6 +491,10 @@ $chevron-indent-spacing: 7px;
481
491
  }
482
492
  }
483
493
  }
494
+
495
+ .js-module-initialised & {
496
+ @include govuk-link-style-no-underline;
497
+ }
484
498
  }
485
499
 
486
500
  // Search link and dropdown.
@@ -656,14 +670,14 @@ $chevron-indent-spacing: 7px;
656
670
  @include govuk-media-query($from: "desktop") {
657
671
  @include focus-not-focus-visible {
658
672
  background: $govuk-brand-colour;
659
- border-bottom: govuk-spacing(1) solid $govuk-brand-colour;
673
+ border-bottom: 1px solid govuk-colour("black");
660
674
  border-left: none;
661
675
  position: relative;
662
676
  }
663
677
 
664
678
  &:hover {
665
679
  background: govuk-colour("black");
666
- border-bottom-color: govuk-colour("mid-grey");
680
+ border-bottom: govuk-spacing(1) solid govuk-colour("mid-grey");
667
681
  color: govuk-colour("mid-grey");
668
682
  }
669
683
 
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "27.10.3".freeze
2
+ VERSION = "27.10.4".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_publishing_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 27.10.3
4
+ version: 27.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-02 00:00:00.000000000 Z
11
+ date: 2021-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -268,6 +268,20 @@ dependencies:
268
268
  - - ">="
269
269
  - !ruby/object:Gem::Version
270
270
  version: '0'
271
+ - !ruby/object:Gem::Dependency
272
+ name: rails_translation_manager
273
+ requirement: !ruby/object:Gem::Requirement
274
+ requirements:
275
+ - - ">="
276
+ - !ruby/object:Gem::Version
277
+ version: '0'
278
+ type: :development
279
+ prerelease: false
280
+ version_requirements: !ruby/object:Gem::Requirement
281
+ requirements:
282
+ - - ">="
283
+ - !ruby/object:Gem::Version
284
+ version: '0'
271
285
  - !ruby/object:Gem::Dependency
272
286
  name: rake
273
287
  requirement: !ruby/object:Gem::Requirement