govuk_publishing_components 16.3.0 → 16.4.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.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/components/modal-dialogue.js +92 -0
  3. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -0
  4. data/app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss +137 -0
  5. data/app/views/govuk_publishing_components/components/_input.html.erb +2 -0
  6. data/app/views/govuk_publishing_components/components/_modal_dialogue.html.erb +21 -0
  7. data/app/views/govuk_publishing_components/components/docs/input.yml +7 -0
  8. data/app/views/govuk_publishing_components/components/docs/modal_dialogue.yml +71 -0
  9. data/app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb +1 -0
  10. data/lib/govuk_publishing_components/presenters/services.rb +1 -1
  11. data/lib/govuk_publishing_components/version.rb +1 -1
  12. data/node_modules/accessible-autocomplete/package.json +1 -1
  13. data/node_modules/govuk-frontend/all.js +26 -1
  14. data/node_modules/govuk-frontend/components/breadcrumbs/macro-options.json +5 -0
  15. data/node_modules/govuk-frontend/components/button/button.js +26 -1
  16. data/node_modules/govuk-frontend/components/button/macro-options.json +6 -0
  17. data/node_modules/govuk-frontend/components/button/template.njk +1 -1
  18. data/node_modules/govuk-frontend/components/character-count/macro-options.json +0 -6
  19. data/node_modules/govuk-frontend/components/checkboxes/macro-options.json +1 -1
  20. data/node_modules/govuk-frontend/components/checkboxes/template.njk +2 -1
  21. data/node_modules/govuk-frontend/components/date-input/macro-options.json +13 -1
  22. data/node_modules/govuk-frontend/components/date-input/template.njk +4 -4
  23. data/node_modules/govuk-frontend/components/error-message/macro-options.json +5 -0
  24. data/node_modules/govuk-frontend/components/error-message/template.njk +3 -0
  25. data/node_modules/govuk-frontend/components/file-upload/macro-options.json +1 -1
  26. data/node_modules/govuk-frontend/components/file-upload/template.njk +2 -1
  27. data/node_modules/govuk-frontend/components/footer/macro-options.json +13 -3
  28. data/node_modules/govuk-frontend/components/footer/template.njk +6 -6
  29. data/node_modules/govuk-frontend/components/input/macro-options.json +8 -2
  30. data/node_modules/govuk-frontend/components/input/template.njk +3 -1
  31. data/node_modules/govuk-frontend/components/inset-text/_inset-text.scss +3 -3
  32. data/node_modules/govuk-frontend/components/inset-text/macro-options.json +2 -2
  33. data/node_modules/govuk-frontend/components/radios/macro-options.json +1 -7
  34. data/node_modules/govuk-frontend/components/radios/template.njk +2 -1
  35. data/node_modules/govuk-frontend/components/select/macro-options.json +9 -3
  36. data/node_modules/govuk-frontend/components/select/template.njk +2 -1
  37. data/node_modules/govuk-frontend/components/skip-link/_skip-link.scss +11 -0
  38. data/node_modules/govuk-frontend/components/summary-list/_summary-list.scss +7 -3
  39. data/node_modules/govuk-frontend/components/tabs/macro-options.json +33 -7
  40. data/node_modules/govuk-frontend/components/textarea/macro-options.json +1 -7
  41. data/node_modules/govuk-frontend/components/textarea/template.njk +2 -1
  42. data/node_modules/govuk-frontend/core/_global-styles.scss +4 -0
  43. data/node_modules/govuk-frontend/core/_links.scss +4 -0
  44. data/node_modules/govuk-frontend/core/_lists.scss +4 -0
  45. data/node_modules/govuk-frontend/core/_section-break.scss +4 -0
  46. data/node_modules/govuk-frontend/core/_template.scss +8 -0
  47. data/node_modules/govuk-frontend/core/_typography.scss +4 -0
  48. data/node_modules/govuk-frontend/objects/_form-group.scss +4 -0
  49. data/node_modules/govuk-frontend/objects/_grid.scss +4 -0
  50. data/node_modules/govuk-frontend/objects/_main-wrapper.scss +4 -0
  51. data/node_modules/govuk-frontend/objects/_width-container.scss +32 -0
  52. data/node_modules/govuk-frontend/overrides/_display.scss +4 -0
  53. data/node_modules/govuk-frontend/overrides/_spacing.scss +4 -0
  54. data/node_modules/govuk-frontend/overrides/_typography.scss +4 -0
  55. data/node_modules/govuk-frontend/overrides/_width.scss +4 -0
  56. data/node_modules/govuk-frontend/package.json +12 -12
  57. data/node_modules/govuk-frontend/template.njk +1 -1
  58. metadata +6 -2
@@ -11,5 +11,16 @@
11
11
 
12
12
  display: block;
13
13
  padding: govuk-spacing(2) govuk-spacing(3);
14
+
15
+ // Respect 'display cutout' safe area (avoids notches and rounded corners)
16
+ @supports (padding: unquote("max(calc(0px))")) {
17
+ $padding-safe-area-right: calc(#{govuk-spacing(3)} + env(safe-area-inset-right));
18
+ $padding-safe-area-left: calc(#{govuk-spacing(3)} + env(safe-area-inset-left));
19
+
20
+ // Use max() to pick largest padding, default or with safe area
21
+ // Escaped due to Sass max() vs. CSS native max()
22
+ padding-right: unquote("max(#{govuk-spacing(3)}, #{$padding-safe-area-right})");
23
+ padding-left: unquote("max(#{govuk-spacing(3)}, #{$padding-safe-area-left})");
24
+ }
14
25
  }
15
26
  }
@@ -10,6 +10,7 @@
10
10
  @include govuk-media-query($from: tablet) {
11
11
  display: table;
12
12
  width: 100%;
13
+ table-layout: fixed; // Required to allow us to wrap words that overflow.
13
14
  }
14
15
  margin: 0; // Reset default user agent styles
15
16
  @include govuk-responsive-margin(6, "bottom");
@@ -49,6 +50,7 @@
49
50
  .govuk-summary-list__actions {
50
51
  margin-bottom: govuk-spacing(3);
51
52
  @include govuk-media-query($from: tablet) {
53
+ width: 20%;
52
54
  padding-right: 0;
53
55
  text-align: right;
54
56
  }
@@ -56,10 +58,9 @@
56
58
 
57
59
  .govuk-summary-list__key,
58
60
  .govuk-summary-list__value {
59
- // sass-lint:disable no-duplicate-properties
60
61
  // Automatic wrapping for unbreakable text (e.g. URLs)
61
- word-break: break-word; // WebKit/Blink only
62
- word-break: break-all; // Standards
62
+ word-wrap: break-word; // Fallback for older browsers only
63
+ overflow-wrap: break-word;
63
64
  }
64
65
 
65
66
  .govuk-summary-list__key {
@@ -74,6 +75,9 @@
74
75
  @include govuk-media-query($until: tablet) {
75
76
  margin-bottom: govuk-spacing(3);
76
77
  }
78
+ @include govuk-media-query($from: tablet) {
79
+ width: 50%;
80
+ }
77
81
  }
78
82
 
79
83
  .govuk-summary-list__value > p {
@@ -11,6 +11,12 @@
11
11
  "required": false,
12
12
  "description": "String to prefix id for each tab item if no id is specified on each item"
13
13
  },
14
+ {
15
+ "name": "title",
16
+ "type": "string",
17
+ "required": false,
18
+ "description": "Title for the tabs table of contents"
19
+ },
14
20
  {
15
21
  "name": "items",
16
22
  "type": "array",
@@ -30,16 +36,36 @@
30
36
  "description": "The text label of a tab item."
31
37
  },
32
38
  {
33
- "name": "panel.text",
34
- "type": "string",
35
- "required": true,
36
- "description": "If `html` is set, this is not required. Text to use within each tab panel. If `html` is provided, the `text` argument will be ignored."
39
+ "name": "attributes",
40
+ "type": "object",
41
+ "required": false,
42
+ "description": "HTML attributes (for example data attributes) to add to the tab."
37
43
  },
38
44
  {
39
- "name": "panel.html",
40
- "type": "string",
45
+ "name": "panel",
46
+ "description": "Content for the panel",
47
+ "type": "object",
41
48
  "required": true,
42
- "description": "If `text` is set, this is not required. HTML to use within the each tab panel. If `html` is provided, the `text` argument will be ignored."
49
+ "params": [
50
+ {
51
+ "name": "text",
52
+ "type": "string",
53
+ "required": true,
54
+ "description": "If `html` is set, this is not required. Text to use within each tab panel. If `html` is provided, the `text` argument will be ignored."
55
+ },
56
+ {
57
+ "name": "html",
58
+ "type": "string",
59
+ "required": true,
60
+ "description": "If `text` is set, this is not required. HTML to use within the each tab panel. If `html` is provided, the `text` argument will be ignored."
61
+ },
62
+ {
63
+ "name": "attributes",
64
+ "type": "object",
65
+ "required": false,
66
+ "description": "HTML attributes (for example data attributes) to add to the tab panel."
67
+ }
68
+ ]
43
69
  }
44
70
  ]
45
71
  },
@@ -5,12 +5,6 @@
5
5
  "required": true,
6
6
  "description": "The id of the textarea."
7
7
  },
8
- {
9
- "name": "describedBy",
10
- "type": "string",
11
- "required": false,
12
- "description": "Text or element id to add to the `aria-describedby` attribute to provide description for screenreader users."
13
- },
14
8
  {
15
9
  "name": "name",
16
10
  "type": "string",
@@ -60,7 +54,7 @@
60
54
  "name": "classes",
61
55
  "type": "string",
62
56
  "required": false,
63
- "description": "Optional classes to add to the form group (e.g. to show error state for the whole group)"
57
+ "description": "Classes to add to the form group (e.g. to show error state for the whole group)"
64
58
  }
65
59
  ]
66
60
  },
@@ -33,7 +33,8 @@
33
33
  classes: params.errorMessage.classes,
34
34
  attributes: params.errorMessage.attributes,
35
35
  html: params.errorMessage.html,
36
- text: params.errorMessage.text
36
+ text: params.errorMessage.text,
37
+ visuallyHiddenText: params.errorMessage.visuallyHiddenText
37
38
  }) | indent(2) | trim }}
38
39
  {% endif %}
39
40
  <textarea class="govuk-textarea {{- ' govuk-textarea--error' if params.errorMessage }} {{- ' ' + params.classes if params.classes}}" id="{{ params.id }}" name="{{ params.name }}" rows="{%if params.rows %} {{- params.rows -}} {% else %}5{%endif %}"
@@ -1,3 +1,7 @@
1
+ @import "../settings/all";
2
+ @import "../tools/all";
3
+ @import "../helpers/all";
4
+
1
5
  @import "links";
2
6
  @import "typography";
3
7
 
@@ -1,3 +1,7 @@
1
+ @import "../settings/all";
2
+ @import "../tools/all";
3
+ @import "../helpers/all";
4
+
1
5
  @include govuk-exports("govuk/core/links") {
2
6
 
3
7
  %govuk-link {
@@ -1,3 +1,7 @@
1
+ @import "../settings/all";
2
+ @import "../tools/all";
3
+ @import "../helpers/all";
4
+
1
5
  @include govuk-exports("govuk/core/lists") {
2
6
 
3
7
  %govuk-list {
@@ -1,3 +1,7 @@
1
+ @import "../settings/all";
2
+ @import "../tools/all";
3
+ @import "../helpers/all";
4
+
1
5
  @include govuk-exports("govuk/core/section-break") {
2
6
 
3
7
  %govuk-section-break {
@@ -1,4 +1,6 @@
1
1
  @import "../settings/all";
2
+ @import "../tools/all";
3
+ @import "../helpers/all";
2
4
 
3
5
  @include govuk-exports("govuk/core/template") {
4
6
 
@@ -14,6 +16,12 @@
14
16
  -moz-text-size-adjust: 100%;
15
17
  -ms-text-size-adjust: 100%;
16
18
  text-size-adjust: 100%;
19
+
20
+ // Force the scrollbar to always display in IE, to prevent horizontal page
21
+ // jumps as content height changes (e.g. autocomplete results open).
22
+ @include govuk-media-query($media-type: screen) {
23
+ overflow-y: scroll;
24
+ }
17
25
  }
18
26
 
19
27
  // Applied to the <body> element
@@ -1,3 +1,7 @@
1
+ @import "../settings/all";
2
+ @import "../tools/all";
3
+ @import "../helpers/all";
4
+
1
5
  @include govuk-exports("govuk/core/typography") {
2
6
 
3
7
  // Headings
@@ -1,3 +1,7 @@
1
+ @import "../settings/all";
2
+ @import "../tools/all";
3
+ @import "../helpers/all";
4
+
1
5
  @include govuk-exports("govuk/objects/form-group") {
2
6
 
3
7
  .govuk-form-group {
@@ -1,3 +1,7 @@
1
+ @import "../settings/all";
2
+ @import "../tools/all";
3
+ @import "../helpers/all";
4
+
1
5
  @include govuk-exports("govuk/objects/grid") {
2
6
 
3
7
  .govuk-grid-row {
@@ -1,3 +1,7 @@
1
+ @import "../settings/all";
2
+ @import "../tools/all";
3
+ @import "../helpers/all";
4
+
1
5
  // Example usage with Breadcrumbs, phase banners, back links:
2
6
  // <div class="govuk-width-container">
3
7
  // <!-- Breadcrumbs, phase banners, back links are placed in here. -->
@@ -1,3 +1,7 @@
1
+ @import "../settings/all";
2
+ @import "../tools/all";
3
+ @import "../helpers/all";
4
+
1
5
  @mixin govuk-width-container {
2
6
  // Limit the width of the container to the page width
3
7
  max-width: $govuk-page-width;
@@ -5,15 +9,43 @@
5
9
  // On mobile, add half width gutters
6
10
  margin: 0 $govuk-gutter-half;
7
11
 
12
+ // Respect 'display cutout' safe area (avoids notches and rounded corners)
13
+ @supports (margin: unquote("max(calc(0px))")) {
14
+ $gutter-safe-area-right: calc(#{$govuk-gutter-half} + env(safe-area-inset-right));
15
+ $gutter-safe-area-left: calc(#{$govuk-gutter-half} + env(safe-area-inset-left));
16
+
17
+ // Use max() to pick largest margin, default or with safe area
18
+ // Escaped due to Sass max() vs. CSS native max()
19
+ margin-right: unquote("max(#{$govuk-gutter-half}, #{$gutter-safe-area-right})");
20
+ margin-left: unquote("max(#{$govuk-gutter-half}, #{$gutter-safe-area-left})");
21
+ }
22
+
8
23
  // On tablet, add full width gutters
9
24
  @include govuk-media-query($from: tablet) {
10
25
  margin: 0 $govuk-gutter;
26
+
27
+ // Respect 'display cutout' safe area (avoids notches and rounded corners)
28
+ @supports (margin: unquote("max(calc(0px))")) {
29
+ $gutter-safe-area-right: calc(#{$govuk-gutter-half} + env(safe-area-inset-right));
30
+ $gutter-safe-area-left: calc(#{$govuk-gutter-half} + env(safe-area-inset-left));
31
+
32
+ // Use max() to pick largest margin, default or with safe area
33
+ // Escaped due to Sass max() vs. CSS native max()
34
+ margin-right: unquote("max(#{$govuk-gutter}, #{$gutter-safe-area-right})");
35
+ margin-left: unquote("max(#{$govuk-gutter}, #{$gutter-safe-area-left})");
36
+ }
11
37
  }
12
38
 
13
39
  // As soon as the viewport is greater than the width of the page plus the
14
40
  // gutters, just centre the content instead of adding gutters.
15
41
  @include govuk-media-query($and: "(min-width: #{($govuk-page-width + $govuk-gutter * 2)})") {
16
42
  margin: 0 auto;
43
+
44
+ // Since a safe area may have previously been set above,
45
+ // we need to duplicate this margin that centers the page.
46
+ @supports (margin: unquote("max(calc(0px))")) {
47
+ margin: 0 auto;
48
+ }
17
49
  }
18
50
 
19
51
  @include govuk-if-ie8 {
@@ -1,3 +1,7 @@
1
+ @import "../settings/all";
2
+ @import "../tools/all";
3
+ @import "../helpers/all";
4
+
1
5
  @include govuk-exports("govuk/overrides/display") {
2
6
 
3
7
  .govuk-\!-display-inline {
@@ -1,3 +1,7 @@
1
+ @import "../settings/all";
2
+ @import "../tools/all";
3
+ @import "../helpers/all";
4
+
1
5
  ////
2
6
  /// @group overrides
3
7
  ////
@@ -1,3 +1,7 @@
1
+ @import "../settings/all";
2
+ @import "../tools/all";
3
+ @import "../helpers/all";
4
+
1
5
  @include govuk-exports("govuk/overrides/typography") {
2
6
  // Font size and line height
3
7
 
@@ -1,3 +1,7 @@
1
+ @import "../settings/all";
2
+ @import "../tools/all";
3
+ @import "../helpers/all";
4
+
1
5
  @include govuk-exports("govuk/overrides/width") {
2
6
  .govuk-\!-width-full {
3
7
  width: 100% !important;
@@ -15,19 +15,19 @@
15
15
  ],
16
16
  "_from": "govuk-frontend@>=2.5.1 <3.0.0",
17
17
  "_hasShrinkwrap": false,
18
- "_id": "govuk-frontend@2.7.0",
18
+ "_id": "govuk-frontend@2.8.0",
19
19
  "_inCache": true,
20
20
  "_location": "/govuk-frontend",
21
- "_nodeVersion": "8.9.4",
21
+ "_nodeVersion": "10.15.1",
22
22
  "_npmOperationalInternal": {
23
23
  "host": "s3://npm-registry-packages",
24
- "tmp": "tmp/govuk-frontend_2.7.0_1549642536744_0.35250151507621896"
24
+ "tmp": "tmp/govuk-frontend_2.8.0_1551804821074_0.023110877769064953"
25
25
  },
26
26
  "_npmUser": {
27
27
  "name": "govuk-patterns-and-tools",
28
28
  "email": "design-system-pipeline@digital.cabinet-office.gov.uk"
29
29
  },
30
- "_npmVersion": "5.6.0",
30
+ "_npmVersion": "6.4.1",
31
31
  "_phantomChildren": {},
32
32
  "_requested": {
33
33
  "raw": "govuk-frontend@^2.5.1",
@@ -41,8 +41,8 @@
41
41
  "_requiredBy": [
42
42
  "/"
43
43
  ],
44
- "_resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.7.0.tgz",
45
- "_shasum": "6a12baf514426653220dd3cdef55b1e1d97f52a6",
44
+ "_resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.8.0.tgz",
45
+ "_shasum": "e4cecf7365ca38d65ed514867d11ff3a35b1c361",
46
46
  "_shrinkwrap": null,
47
47
  "_spec": "govuk-frontend@^2.5.1",
48
48
  "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
@@ -59,12 +59,12 @@
59
59
  "devDependencies": {},
60
60
  "directories": {},
61
61
  "dist": {
62
- "integrity": "sha512-IZvho72ExUAOmMOZHbE7s//HdtpSoO1aLn3fcXTnuIUi20UTsz6j+5i1Ztyqr4KUEb8OB/jNMYt4kuYyJnEMRQ==",
63
- "shasum": "6a12baf514426653220dd3cdef55b1e1d97f52a6",
64
- "tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.7.0.tgz",
62
+ "integrity": "sha512-yGjvE9HlIRUb5IxpF19h+IMIX8ATlCsyXLIY/KTvCRnHMMOd0RNlTtHyhD7YMP3k1yP+mqlyoQYcNH9XC8Qwqw==",
63
+ "shasum": "e4cecf7365ca38d65ed514867d11ff3a35b1c361",
64
+ "tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.8.0.tgz",
65
65
  "fileCount": 257,
66
- "unpackedSize": 1344357,
67
- "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXaspCRA9TVsSAnZWagAAGswP/0VVAW+w1NPRCdX5CUko\nce0A4cwcWSW8zRdhF5hzloEv+MF8plnXcvKKbuY3iCjEr78jMMSUvTbA6o7w\nIdOF2NwZuQTV6lvr4y5FRlVsE/hdn9bMOb3z5jggIEjlaCFZHF1rq6qvrwIs\nlN6nUSbme3Q+OW9cJKqAM3/7Z8nAdG5sidRXBObbQ/a4tnfXp4BKIJyRhqln\njp7wCadA4V03AJyPsvXju2EOBnHooAtivS2cLlz0nZh4Sar040JSSLSYd07l\nEcS+Bl88UBIi1Q30CUv2Qnz8UyKZI22D4GHxoxby1PkWENszxTXzfn8eRjr/\nADKTV84tL1mlNPnqbqc6mu93mxdr5kllcfzZ4u5xFKXYs568+r1cBaw77i1h\nCJul2kJ3ycpDQ2JqdE2Ngzhm2FmQo2rSewbdFJuMVB9Toet64QhB87hbiFoU\ngyV/KT5RHTdD8hh9Bck/KwuKezaY9k3AjzfyLjQgkCLX2MAx1M3FVUWbRjqo\nGuWStU/o2LuEdbkl3HloLf0r/gDjw86TSgYFa5tgWOiD1nGL6JZ9Mw1IuqVf\n5tN0uj9p0zel/ecaRBIL94K+WXyzii0wWPtLxTELyG507OQ4Gd21uUZnw+Zq\nVUlMmrGy81TIMPwkrVTLTlpVe9sZBN2McscEqbEsag9LbaxPn+HeMr3xdIVe\nVKbh\r\n=GlSb\r\n-----END PGP SIGNATURE-----\r\n"
66
+ "unpackedSize": 1352784,
67
+ "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfqmVCRA9TVsSAnZWagAAmGIP/13WDZ1CZm1/UnTzjbo1\n/Dv5Gk5jfRHgUR7FLfkLq6+Rvan1Q6AzkJGvbQYJFBVGI+dhxfMRg2mn6E1V\nilSfJjYVVIot6E4H0A9SZvo6VjHaIascLMZ/pJAG/amg+1tZV9peNfyENUag\n/4OGP/zXRM9QcJ+wr/EQeiNOWUXeJ2vZWCIzigLa3sbPVAWN7AUhxr3PH9K3\nd7tAiQRzJY/yApdPmrbYefQixeWIupV+I1AJVcCfiatxxEVloX2Tvrl6/pdu\nU8GeBTaTgMwHrsQP/5R6Z7lartZOosAHj82ZqQVr0E07sRDOdE7XEIdAfHq8\nyfGL+dYYP8b/1hcdZq3xu35dasSiBl2O8AYKNkW1kcEVN0cQTwxC6yEL0p2V\nrjp8/uirbutdM5nUEQnPhERKEShtyI9Mw+ShpJFJdO6tnzgtyc3RGkWjSMxu\nXUp792p0iuAnob6pcgtSDVosrRmRTLnSZoUr+NilGX0CEreG5onCpbzdnHwD\noZ6Xufu6R7euT9QklyujEX0P2WI9Ggv6noG8vZqASqekqCfgyAqNu3I4+/TC\nM9kzOAihsliYnXliaeHmzNjoFO3mKxtKZeHMRLbOQaCQX35niSqAtKGjv6su\nHhJj891klk1VTxgixgmr+4X84Z52euicJwvnDbyWGaDY/pkmABvM1q42S6rF\nHsV2\r\n=Zp12\r\n-----END PGP SIGNATURE-----\r\n"
68
68
  },
69
69
  "engines": {
70
70
  "node": ">= 4.2.0"
@@ -92,5 +92,5 @@
92
92
  "url": "git+https://github.com/alphagov/govuk-frontend.git"
93
93
  },
94
94
  "sass": "all.scss",
95
- "version": "2.7.0"
95
+ "version": "2.8.0"
96
96
  }
@@ -8,7 +8,7 @@
8
8
  <head>
9
9
  <meta charset="utf-8" />
10
10
  <title>{% block pageTitle %}GOV.UK - The best place to find government services and information{% endblock %}</title>
11
- <meta name="viewport" content="width=device-width, initial-scale=1">
11
+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
12
12
  <meta name="theme-color" content="{{ themeColor | default('#0b0c0c') }}" /> {# Hardcoded value of $govuk-black #}
13
13
  {# Ensure that older IE versions always render with the correct rendering engine #}
14
14
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
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: 16.3.0
4
+ version: 16.4.0
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: 2019-02-28 00:00:00.000000000 Z
11
+ date: 2019-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govspeak
@@ -318,6 +318,7 @@ files:
318
318
  - app/assets/javascripts/govuk_publishing_components/components/feedback.js
319
319
  - app/assets/javascripts/govuk_publishing_components/components/govspeak.js
320
320
  - app/assets/javascripts/govuk_publishing_components/components/initial-focus.js
321
+ - app/assets/javascripts/govuk_publishing_components/components/modal-dialogue.js
321
322
  - app/assets/javascripts/govuk_publishing_components/components/radio.js
322
323
  - app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js
323
324
  - app/assets/javascripts/govuk_publishing_components/dependencies.js
@@ -366,6 +367,7 @@ files:
366
367
  - app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
367
368
  - app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss
368
369
  - app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
370
+ - app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss
369
371
  - app/assets/stylesheets/govuk_publishing_components/components/_notice.scss
370
372
  - app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss
371
373
  - app/assets/stylesheets/govuk_publishing_components/components/_panel.scss
@@ -485,6 +487,7 @@ files:
485
487
  - app/views/govuk_publishing_components/components/_machine_readable_metadata.html.erb
486
488
  - app/views/govuk_publishing_components/components/_meta_tags.html.erb
487
489
  - app/views/govuk_publishing_components/components/_metadata.html.erb
490
+ - app/views/govuk_publishing_components/components/_modal_dialogue.html.erb
488
491
  - app/views/govuk_publishing_components/components/_notice.html.erb
489
492
  - app/views/govuk_publishing_components/components/_organisation_logo.html.erb
490
493
  - app/views/govuk_publishing_components/components/_panel.html.erb
@@ -548,6 +551,7 @@ files:
548
551
  - app/views/govuk_publishing_components/components/docs/machine_readable_metadata.yml
549
552
  - app/views/govuk_publishing_components/components/docs/meta_tags.yml
550
553
  - app/views/govuk_publishing_components/components/docs/metadata.yml
554
+ - app/views/govuk_publishing_components/components/docs/modal_dialogue.yml
551
555
  - app/views/govuk_publishing_components/components/docs/notice.yml
552
556
  - app/views/govuk_publishing_components/components/docs/organisation_logo.yml
553
557
  - app/views/govuk_publishing_components/components/docs/panel.yml