govuk_publishing_components 20.2.0 → 20.2.1

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: '05006139ee9b68bb3a6e0518569811f151d28d6fb1ea47572e9e6d81892c9f76'
4
- data.tar.gz: 6995f979ebfcb57f3eace0c77173f26eb48788c89aa9fe87ba0bef80907c3b20
3
+ metadata.gz: 45cc05db5b137ec2d96ffee09eecf025fcee4c01a91a5b64edded2f18936f8bb
4
+ data.tar.gz: b71a39087918807f81429b741a9dc9ab78e76cc0da63072b28f5c1056e4dd6e8
5
5
  SHA512:
6
- metadata.gz: 87922adb67096dd48bd9818004b82cc612ec899d0078162b81fb9a3faad023e856ba14486262f1922dfed229f77265b3f440c2b5b7857b495f146d97bda05dad
7
- data.tar.gz: 468605f70f4428f9d0e7059cd46b87a7833bb54970e965342fb6040daeee262aa13f10e740d8eb739786b5e3dfd3cb14819f3f4d61ace75657cefd9a4b78a0fd
6
+ metadata.gz: 3be2c669809d94fc17536467e8aeee9f4ad64b9cfd0f69d5c06f0cfcce6c00805fc5f2ea2f45dbdce8cf19bb048c97d05f2e887b8e941bef0c04ab6052221a6c
7
+ data.tar.gz: 6b046f24b0c6f81cddc0a69cf4f06c094a5b14d256d3ca0398b0d11d1905edff8609485868c0d21efc2c819ba5bcfdc4d32ec6edcb33a5b13c1b3be0df2b9db3
@@ -1,13 +1,12 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg viewBox="0 0 135 109" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <defs>
4
- <path id="d" d="M0 0h93v109H0z"/>
5
- </defs>
6
- <g fill="#FD0" shape-rendering="geometricPrecision" stroke="#000" stroke-width="2.5px" vector-effect="non-scaling-stroke">
7
- <path d="m91.611 52.664c1.0371 1.1432 1.0375 2.8869 8.02e-4 4.0305l-44.991 49.634c-0.37092 0.40919-0.33989 1.0416 0.069307 1.4125 0.18394 0.16674 0.42334 0.25909 0.6716 0.25909h36.892c0.55978 0 1.0939-0.2346 1.4727-0.6468l46.534-50.643c1.0549-1.148 1.0546-2.9127-7.09e-4 -4.0604l-46.898-51.003c-0.37873-0.41188-0.91268-0.64628-1.4722-0.64628h-36.891c-0.55228 0-1 0.44772-1 1 0 0.24841 0.092454 0.48792 0.25936 0.6719l45.352 49.992z" vector-effect="non-scaling-stroke"/>
8
- <mask id="c" fill="#fff">
9
- <use xlink:href="#d"/>
10
- </mask>
11
- <path d="m-37.997 1l0.35768 107h40.408c0.55978 0 1.0939-0.2346 1.4727-0.6468l46.534-50.643c1.0549-1.148 1.0546-2.9127-7.095e-4 -4.0604l-46.898-51.003c-0.37873-0.41188-0.91268-0.64628-1.4722-0.64628h-40.402z" mask="url(#c)" vector-effect="non-scaling-stroke"/>
12
- </g>
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 140 109">
2
+ <defs>
3
+ <path id="a" d="M0 0h93v109H0z"/>
4
+ </defs>
5
+ <g fill="none" fill-rule="evenodd" stroke-width="2" shape-rendering="geometricPrecision" vector-effect="non-scaling-stroke">
6
+ <path fill="#FD0" fill-rule="nonzero" stroke="#000" stroke-width="2.5" d="M91.611237 52.6639273c1.037118 1.1432316 1.037466 2.8868605.000802 4.0305048L46.6210236 106.328396c-.3709165.409194-.3398864 1.041599.0693073 1.412515.1839444.166737.4233355.259089.6716035.259089H84.254263c.559784 0 1.093946-.234599 1.472697-.646795l46.534281-50.643363c1.054879-1.1480276 1.05457-2.9127296-.000709-4.0603883L85.36275 1.64627982C84.98402 1.23439602 84.450067 1 83.890527 1H47c-.5522848 0-1 .44771525-1 1 0 .24840526.0924536.48791876.2593567.67189844L91.611237 52.6639273z" vector-effect="non-scaling-stroke"/>
7
+ <mask id="b" fill="#fff">
8
+ <use xlink:href="#a"/>
9
+ </mask>
10
+ <path fill="#FD0" fill-rule="nonzero" stroke="#000" stroke-width="2.5" d="M-37.9966516 1l.3576762 107H2.7689834c.559783 0 1.0939457-.234599 1.4726965-.646795l46.5342804-50.6433632c1.0548793-1.1480275 1.054571-2.9127293-.0007095-4.0603881L3.8774704 1.64628002C3.4987402 1.2343961 2.9647868 1 2.4052469 1h-40.4018985z" mask="url(#b)" vector-effect="non-scaling-stroke"/>
11
+ </g>
13
12
  </svg>
@@ -11,8 +11,10 @@ $yellow: #ffdd00;
11
11
  background-color: $dark-red;
12
12
  }
13
13
 
14
- .gem-c-chevron-banner__link-container:after {
15
- background-image: image-url("govuk_publishing_components/chevron-banner/chevron-banner-hover.svg");
14
+ @include govuk-media-query($from: mobile) {
15
+ .gem-c-chevron-banner__link-container:after {
16
+ background-image: image-url("govuk_publishing_components/chevron-banner/chevron-banner-hover.svg");
17
+ }
16
18
  }
17
19
  }
18
20
 
@@ -26,8 +28,10 @@ $yellow: #ffdd00;
26
28
  }
27
29
  }
28
30
 
29
- .gem-c-chevron-banner__link-container:after {
30
- background-image: image-url("govuk_publishing_components/chevron-banner/chevron-banner-hover-border.svg");
31
+ @include govuk-media-query($from: mobile) {
32
+ .gem-c-chevron-banner__link-container:after {
33
+ background-image: image-url("govuk_publishing_components/chevron-banner/chevron-banner-hover-border.svg");
34
+ }
31
35
  }
32
36
  }
33
37
 
@@ -58,7 +62,12 @@ $yellow: #ffdd00;
58
62
 
59
63
  @include govuk-media-query($from: mobile) {
60
64
  border-radius: 5px 0 0 5px;
61
- margin-right: 104px;
65
+ margin-right: 120px;
66
+ padding: govuk-spacing(3);
67
+ }
68
+
69
+ @include govuk-media-query($from: desktop) {
70
+ padding: govuk-spacing(4);
62
71
  }
63
72
  }
64
73
 
@@ -81,7 +90,7 @@ $yellow: #ffdd00;
81
90
  top: 0;
82
91
  right: 0;
83
92
  height: 100%;
84
- min-width: 105px;
93
+ min-width: 120px;
85
94
  background-image: image-url("govuk_publishing_components/chevron-banner/chevron-banner.svg");
86
95
  background-repeat: no-repeat;
87
96
  background-position: -1px center;
@@ -6,7 +6,13 @@
6
6
  }
7
7
 
8
8
  // this overrides styles from static that break the look of the component
9
+ // unfortunately we then need to override the override for the search icon variant
10
+ // TODO: remove these styles once static is made less aggressive
9
11
  .gem-c-input.govuk-input {
10
12
  margin: 0;
11
13
  padding: govuk-spacing(1);
14
+
15
+ &.gem-c-input--search-icon {
16
+ padding-left: govuk-spacing(6);
17
+ }
12
18
  }
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '20.2.0'.freeze
2
+ VERSION = '20.2.1'.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: 20.2.0
4
+ version: 20.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev