govuk_publishing_components 62.0.0 → 62.1.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 (190) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/components/option-select.js +4 -3
  3. data/app/assets/javascripts/govuk_publishing_components/lib/filter-list.js +48 -0
  4. data/app/assets/javascripts/govuk_publishing_components/vendor/lux/lux-reporter.js +373 -245
  5. data/app/assets/stylesheets/component_guide/application.scss +1 -42
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +5 -1
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +6 -11
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_option-select.scss +2 -2
  9. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss +6 -38
  10. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +2 -3
  11. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +6 -1
  12. data/app/controllers/govuk_publishing_components/applications_page_controller.rb +50 -0
  13. data/app/models/govuk_publishing_components/applications_page.rb +64 -0
  14. data/app/views/govuk_publishing_components/applications_page/_table-content.html.erb +39 -0
  15. data/app/views/govuk_publishing_components/applications_page/show.html.erb +37 -0
  16. data/app/views/govuk_publishing_components/audit/show.html.erb +5 -1
  17. data/app/views/govuk_publishing_components/component_guide/_component_list.html.erb +14 -0
  18. data/app/views/govuk_publishing_components/component_guide/example.html.erb +3 -3
  19. data/app/views/govuk_publishing_components/component_guide/index.html.erb +50 -75
  20. data/app/views/govuk_publishing_components/component_guide/show.html.erb +7 -7
  21. data/app/views/govuk_publishing_components/components/contextual_sidebar/_ukraine_cta.html.erb +27 -25
  22. data/app/views/govuk_publishing_components/components/docs/govspeak.yml +6 -0
  23. data/app/views/govuk_publishing_components/components/docs/organisation_logo.yml +7 -1
  24. data/config/routes.rb +1 -0
  25. data/lib/govuk_publishing_components/minitest/component_guide_test.rb +1 -1
  26. data/lib/govuk_publishing_components/presenters/organisation_logo_helper.rb +7 -1
  27. data/lib/govuk_publishing_components/version.rb +1 -1
  28. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +37 -133
  29. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -1
  30. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +37 -133
  31. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -1
  32. data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
  33. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss +4 -4
  34. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss.map +1 -1
  35. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js +1 -126
  36. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js.map +1 -1
  37. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs +1 -126
  38. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs.map +1 -1
  39. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss +1 -1
  40. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss.map +1 -1
  41. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss +2 -2
  42. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss.map +1 -1
  43. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js +1 -126
  44. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js.map +1 -1
  45. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs +1 -126
  46. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs.map +1 -1
  47. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/fixtures.json +34 -29
  48. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/macro-options.json +1 -1
  49. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-default.html +23 -23
  50. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-conditional-reveal.html +21 -21
  51. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-divider-and-none.html +30 -30
  52. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-error.html +26 -26
  53. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-hint.html +25 -25
  54. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-long-text.html +23 -23
  55. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small.html +23 -23
  56. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-items.html +35 -35
  57. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-and-none.html +30 -30
  58. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-none-and-conditional-items.html +40 -40
  59. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-error-message.html +32 -32
  60. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-hint.html +25 -25
  61. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-hints-on-items.html +21 -21
  62. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-legend-as-a-page-heading.html +27 -27
  63. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-optional-form-group-classes-showing-group-error.html +36 -36
  64. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-pre-checked-values.html +35 -35
  65. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-very-long-option-text.html +25 -25
  66. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template.njk +1 -1
  67. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss +1 -1
  68. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss.map +1 -1
  69. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js +1 -126
  70. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js.map +1 -1
  71. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs +1 -126
  72. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs.map +1 -1
  73. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss +2 -1
  74. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss.map +1 -1
  75. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js +36 -132
  76. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js.map +1 -1
  77. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs +36 -132
  78. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs.map +1 -1
  79. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.mjs +35 -6
  80. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.mjs.map +1 -1
  81. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/fixtures.json +17 -0
  82. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced-multiple-files.html +10 -0
  83. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +4 -4
  84. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -1
  85. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +20 -20
  86. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +1 -1
  87. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss +7 -15
  88. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss.map +1 -1
  89. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss +2 -2
  90. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss.map +1 -1
  91. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss +4 -2
  92. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss.map +1 -1
  93. data/node_modules/govuk-frontend/dist/govuk/components/pagination/fixtures.json +1 -1
  94. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-many-pages.html +2 -2
  95. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template.njk +1 -1
  96. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +2 -2
  97. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss.map +1 -1
  98. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss +2 -2
  99. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss.map +1 -1
  100. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js +1 -126
  101. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js.map +1 -1
  102. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs +1 -126
  103. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs.map +1 -1
  104. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss +1 -1
  105. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss.map +1 -1
  106. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +1 -1
  107. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +1 -1
  108. data/node_modules/govuk-frontend/dist/govuk/components/radios/fixtures.json +36 -31
  109. data/node_modules/govuk-frontend/dist/govuk/components/radios/macro-options.json +3 -3
  110. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-default.html +17 -17
  111. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-inline.html +19 -19
  112. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-inline.html +23 -23
  113. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-a-divider.html +24 -24
  114. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-conditional-reveal.html +27 -27
  115. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-error.html +26 -26
  116. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-hint.html +25 -25
  117. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-long-text.html +23 -23
  118. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small.html +23 -23
  119. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-a-divider.html +24 -24
  120. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-item-checked.html +35 -35
  121. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items-and-pre-checked-value.html +35 -35
  122. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items.html +35 -35
  123. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-fieldset-and-error-message.html +20 -20
  124. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-hint.html +19 -19
  125. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-hints-on-items.html +23 -23
  126. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-legend-as-page-heading.html +21 -21
  127. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-optional-form-group-classes-showing-group-error.html +36 -36
  128. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-very-long-option-text.html +28 -28
  129. data/node_modules/govuk-frontend/dist/govuk/components/radios/template.njk +1 -1
  130. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss +1 -7
  131. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss.map +1 -1
  132. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +5 -5
  133. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss.map +1 -1
  134. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss +16 -16
  135. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss.map +1 -1
  136. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss +1 -1
  137. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss.map +1 -1
  138. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss +1 -1
  139. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss.map +1 -1
  140. data/node_modules/govuk-frontend/dist/govuk/components/task-list/fixtures.json +46 -0
  141. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-forced-hover-state.html +37 -0
  142. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss +1 -7
  143. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss.map +1 -1
  144. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +1 -1
  145. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss.map +1 -1
  146. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +1 -1
  147. data/node_modules/govuk-frontend/dist/govuk/core/_lists.scss +2 -2
  148. data/node_modules/govuk-frontend/dist/govuk/core/_lists.scss.map +1 -1
  149. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss +3 -3
  150. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss.map +1 -1
  151. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +2 -2
  152. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -1
  153. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -1
  154. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -1
  155. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss +34 -0
  156. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss.map +1 -1
  157. data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss +1 -1
  158. data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss.map +1 -1
  159. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss +1 -1
  160. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss.map +1 -1
  161. data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.scss +172 -33
  162. data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.scss.map +1 -1
  163. data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.scss +1 -1
  164. data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.scss.map +1 -1
  165. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +4 -4
  166. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss.map +1 -1
  167. data/node_modules/govuk-frontend/dist/govuk/i18n.mjs +1 -126
  168. data/node_modules/govuk-frontend/dist/govuk/i18n.mjs.map +1 -1
  169. data/node_modules/govuk-frontend/dist/govuk/objects/_button-group.scss +1 -1
  170. data/node_modules/govuk-frontend/dist/govuk/objects/_button-group.scss.map +1 -1
  171. data/node_modules/govuk-frontend/dist/govuk/objects/_main-wrapper.scss +1 -1
  172. data/node_modules/govuk-frontend/dist/govuk/objects/_main-wrapper.scss.map +1 -1
  173. data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss +1 -1
  174. data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss.map +1 -1
  175. data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.scss +2 -2
  176. data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.scss.map +1 -1
  177. data/node_modules/govuk-frontend/dist/govuk/overrides/_display.scss +1 -1
  178. data/node_modules/govuk-frontend/dist/govuk/overrides/_display.scss.map +1 -1
  179. data/node_modules/govuk-frontend/dist/govuk/overrides/_width.scss +5 -5
  180. data/node_modules/govuk-frontend/dist/govuk/overrides/_width.scss.map +1 -1
  181. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss +7 -0
  182. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss.map +1 -1
  183. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.scss +4 -2
  184. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.scss.map +1 -1
  185. data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +1 -1
  186. data/node_modules/govuk-frontend/package.json +9 -8
  187. metadata +9 -4
  188. data/app/assets/javascripts/component_guide/filter-components.js +0 -35
  189. data/node_modules/govuk-frontend/dist/govuk/vendor/_sass-mq.scss +0 -349
  190. data/node_modules/govuk-frontend/dist/govuk/vendor/_sass-mq.scss.map +0 -1
@@ -1,39 +1,39 @@
1
1
  <div class="govuk-form-group govuk-form-group--error">
2
2
  <fieldset class="govuk-fieldset" aria-describedby="waste-error">
3
- <legend class="govuk-fieldset__legend">
4
- Which types of waste do you transport regularly?
5
- </legend>
6
- <p id="waste-error" class="govuk-error-message">
7
- <span class="govuk-visually-hidden">Error:</span> Please select an option
8
- </p>
9
- <div class="govuk-checkboxes" data-module="govuk-checkboxes">
10
- <div class="govuk-checkboxes__item">
11
- <input class="govuk-checkboxes__input" id="waste" name="waste" type="checkbox" value="animal" aria-describedby="waste-item-hint">
12
- <label class="govuk-label govuk-checkboxes__label" for="waste">
13
- Waste from animal carcasses
14
- </label>
15
- <div id="waste-item-hint" class="govuk-hint govuk-checkboxes__hint">
16
- Nullam id dolor id nibh ultricies vehicula ut id elit.
17
- </div>
3
+ <legend class="govuk-fieldset__legend">
4
+ Which types of waste do you transport regularly?
5
+ </legend>
6
+ <p id="waste-error" class="govuk-error-message">
7
+ <span class="govuk-visually-hidden">Error:</span> Please select an option
8
+ </p>
9
+ <div class="govuk-checkboxes" data-module="govuk-checkboxes">
10
+ <div class="govuk-checkboxes__item">
11
+ <input class="govuk-checkboxes__input" id="waste" name="waste" type="checkbox" value="animal" aria-describedby="waste-item-hint">
12
+ <label class="govuk-label govuk-checkboxes__label" for="waste">
13
+ Waste from animal carcasses
14
+ </label>
15
+ <div id="waste-item-hint" class="govuk-hint govuk-checkboxes__hint">
16
+ Nullam id dolor id nibh ultricies vehicula ut id elit.
18
17
  </div>
19
- <div class="govuk-checkboxes__item">
20
- <input class="govuk-checkboxes__input" id="waste-2" name="waste" type="checkbox" value="mines" aria-describedby="waste-2-item-hint">
21
- <label class="govuk-label govuk-checkboxes__label" for="waste-2">
22
- Waste from mines or quarries
23
- </label>
24
- <div id="waste-2-item-hint" class="govuk-hint govuk-checkboxes__hint">
25
- Nullam id dolor id nibh ultricies vehicula ut id elit.
26
- </div>
18
+ </div>
19
+ <div class="govuk-checkboxes__item">
20
+ <input class="govuk-checkboxes__input" id="waste-2" name="waste" type="checkbox" value="mines" aria-describedby="waste-2-item-hint">
21
+ <label class="govuk-label govuk-checkboxes__label" for="waste-2">
22
+ Waste from mines or quarries
23
+ </label>
24
+ <div id="waste-2-item-hint" class="govuk-hint govuk-checkboxes__hint">
25
+ Nullam id dolor id nibh ultricies vehicula ut id elit.
27
26
  </div>
28
- <div class="govuk-checkboxes__item">
29
- <input class="govuk-checkboxes__input" id="waste-3" name="waste" type="checkbox" value="farm" aria-describedby="waste-3-item-hint">
30
- <label class="govuk-label govuk-checkboxes__label" for="waste-3">
31
- Farm or agricultural waste
32
- </label>
33
- <div id="waste-3-item-hint" class="govuk-hint govuk-checkboxes__hint">
34
- Nullam id dolor id nibh ultricies vehicula ut id elit.
35
- </div>
27
+ </div>
28
+ <div class="govuk-checkboxes__item">
29
+ <input class="govuk-checkboxes__input" id="waste-3" name="waste" type="checkbox" value="farm" aria-describedby="waste-3-item-hint">
30
+ <label class="govuk-label govuk-checkboxes__label" for="waste-3">
31
+ Farm or agricultural waste
32
+ </label>
33
+ <div id="waste-3-item-hint" class="govuk-hint govuk-checkboxes__hint">
34
+ Nullam id dolor id nibh ultricies vehicula ut id elit.
36
35
  </div>
37
36
  </div>
38
- </fieldset>
37
+ </div>
38
+ </fieldset>
39
39
  </div>
@@ -1,30 +1,30 @@
1
1
  <div class="govuk-form-group">
2
2
  <fieldset class="govuk-fieldset" aria-describedby="nationality-hint">
3
- <legend class="govuk-fieldset__legend">
4
- What is your nationality?
5
- </legend>
6
- <div id="nationality-hint" class="govuk-hint">
7
- Select all that apply
3
+ <legend class="govuk-fieldset__legend">
4
+ What is your nationality?
5
+ </legend>
6
+ <div id="nationality-hint" class="govuk-hint">
7
+ Select all that apply
8
+ </div>
9
+ <div class="govuk-checkboxes" data-module="govuk-checkboxes">
10
+ <div class="govuk-checkboxes__item">
11
+ <input class="govuk-checkboxes__input" id="nationality" name="nationality" type="checkbox" value="british">
12
+ <label class="govuk-label govuk-checkboxes__label" for="nationality">
13
+ British
14
+ </label>
8
15
  </div>
9
- <div class="govuk-checkboxes" data-module="govuk-checkboxes">
10
- <div class="govuk-checkboxes__item">
11
- <input class="govuk-checkboxes__input" id="nationality" name="nationality" type="checkbox" value="british">
12
- <label class="govuk-label govuk-checkboxes__label" for="nationality">
13
- British
14
- </label>
15
- </div>
16
- <div class="govuk-checkboxes__item">
17
- <input class="govuk-checkboxes__input" id="nationality-2" name="nationality" type="checkbox" value="irish">
18
- <label class="govuk-label govuk-checkboxes__label" for="nationality-2">
19
- Irish
20
- </label>
21
- </div>
22
- <div class="govuk-checkboxes__item">
23
- <input class="govuk-checkboxes__input" id="nationality-3" name="nationality" type="checkbox" value="other">
24
- <label class="govuk-label govuk-checkboxes__label" for="nationality-3">
25
- Citizen of another country
26
- </label>
27
- </div>
16
+ <div class="govuk-checkboxes__item">
17
+ <input class="govuk-checkboxes__input" id="nationality-2" name="nationality" type="checkbox" value="irish">
18
+ <label class="govuk-label govuk-checkboxes__label" for="nationality-2">
19
+ Irish
20
+ </label>
28
21
  </div>
29
- </fieldset>
22
+ <div class="govuk-checkboxes__item">
23
+ <input class="govuk-checkboxes__input" id="nationality-3" name="nationality" type="checkbox" value="other">
24
+ <label class="govuk-label govuk-checkboxes__label" for="nationality-3">
25
+ Citizen of another country
26
+ </label>
27
+ </div>
28
+ </div>
29
+ </fieldset>
30
30
  </div>
@@ -1,27 +1,27 @@
1
1
  <div class="govuk-form-group">
2
2
  <fieldset class="govuk-fieldset">
3
- <legend class="govuk-fieldset__legend">
4
- How do you want to sign in?
5
- </legend>
6
- <div class="govuk-checkboxes" data-module="govuk-checkboxes">
7
- <div class="govuk-checkboxes__item">
8
- <input class="govuk-checkboxes__input" id="government-gateway" name="gateway" type="checkbox" value="gov-gateway" aria-describedby="government-gateway-item-hint">
9
- <label class="govuk-label govuk-checkboxes__label" for="government-gateway">
10
- Sign in with Government Gateway
11
- </label>
12
- <div id="government-gateway-item-hint" class="govuk-hint govuk-checkboxes__hint">
13
- You&#39;ll have a user ID if you&#39;ve registered for Self Assessment or filed a tax return online before.
14
- </div>
3
+ <legend class="govuk-fieldset__legend">
4
+ How do you want to sign in?
5
+ </legend>
6
+ <div class="govuk-checkboxes" data-module="govuk-checkboxes">
7
+ <div class="govuk-checkboxes__item">
8
+ <input class="govuk-checkboxes__input" id="government-gateway" name="gateway" type="checkbox" value="gov-gateway" aria-describedby="government-gateway-item-hint">
9
+ <label class="govuk-label govuk-checkboxes__label" for="government-gateway">
10
+ Sign in with Government Gateway
11
+ </label>
12
+ <div id="government-gateway-item-hint" class="govuk-hint govuk-checkboxes__hint">
13
+ You&#39;ll have a user ID if you&#39;ve registered for Self Assessment or filed a tax return online before.
15
14
  </div>
16
- <div class="govuk-checkboxes__item">
17
- <input class="govuk-checkboxes__input" id="govuk-verify" name="verify" type="checkbox" value="gov-verify" aria-describedby="govuk-verify-item-hint">
18
- <label class="govuk-label govuk-checkboxes__label" for="govuk-verify">
19
- Sign in with GOV.UK Verify
20
- </label>
21
- <div id="govuk-verify-item-hint" class="govuk-hint govuk-checkboxes__hint">
22
- You&#39;ll have an account if you&#39;ve already proved your identity with either Barclays, CitizenSafe, Digidentity, Experian, Post Office, Royal Mail or SecureIdentity.
23
- </div>
15
+ </div>
16
+ <div class="govuk-checkboxes__item">
17
+ <input class="govuk-checkboxes__input" id="govuk-verify" name="verify" type="checkbox" value="gov-verify" aria-describedby="govuk-verify-item-hint">
18
+ <label class="govuk-label govuk-checkboxes__label" for="govuk-verify">
19
+ Sign in with GOV.UK Verify
20
+ </label>
21
+ <div id="govuk-verify-item-hint" class="govuk-hint govuk-checkboxes__hint">
22
+ You&#39;ll have an account if you&#39;ve already proved your identity with either Barclays, CitizenSafe, Digidentity, Experian, Post Office, Royal Mail or SecureIdentity.
24
23
  </div>
25
24
  </div>
26
- </fieldset>
25
+ </div>
26
+ </fieldset>
27
27
  </div>
@@ -1,32 +1,32 @@
1
1
  <div class="govuk-form-group">
2
2
  <fieldset class="govuk-fieldset" aria-describedby="waste-hint">
3
- <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
4
- <h1 class="govuk-fieldset__heading">
5
- Which types of waste do you transport regularly?
6
- </h1>
7
- </legend>
8
- <div id="waste-hint" class="govuk-hint">
9
- Select all that apply
3
+ <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
4
+ <h1 class="govuk-fieldset__heading">
5
+ Which types of waste do you transport regularly?
6
+ </h1>
7
+ </legend>
8
+ <div id="waste-hint" class="govuk-hint">
9
+ Select all that apply
10
+ </div>
11
+ <div class="govuk-checkboxes" data-module="govuk-checkboxes">
12
+ <div class="govuk-checkboxes__item">
13
+ <input class="govuk-checkboxes__input" id="waste" name="waste" type="checkbox" value="animal">
14
+ <label class="govuk-label govuk-checkboxes__label" for="waste">
15
+ Waste from animal carcasses
16
+ </label>
10
17
  </div>
11
- <div class="govuk-checkboxes" data-module="govuk-checkboxes">
12
- <div class="govuk-checkboxes__item">
13
- <input class="govuk-checkboxes__input" id="waste" name="waste" type="checkbox" value="animal">
14
- <label class="govuk-label govuk-checkboxes__label" for="waste">
15
- Waste from animal carcasses
16
- </label>
17
- </div>
18
- <div class="govuk-checkboxes__item">
19
- <input class="govuk-checkboxes__input" id="waste-2" name="waste" type="checkbox" value="mines">
20
- <label class="govuk-label govuk-checkboxes__label" for="waste-2">
21
- Waste from mines or quarries
22
- </label>
23
- </div>
24
- <div class="govuk-checkboxes__item">
25
- <input class="govuk-checkboxes__input" id="waste-3" name="waste" type="checkbox" value="farm">
26
- <label class="govuk-label govuk-checkboxes__label" for="waste-3">
27
- Farm or agricultural waste
28
- </label>
29
- </div>
18
+ <div class="govuk-checkboxes__item">
19
+ <input class="govuk-checkboxes__input" id="waste-2" name="waste" type="checkbox" value="mines">
20
+ <label class="govuk-label govuk-checkboxes__label" for="waste-2">
21
+ Waste from mines or quarries
22
+ </label>
30
23
  </div>
31
- </fieldset>
24
+ <div class="govuk-checkboxes__item">
25
+ <input class="govuk-checkboxes__input" id="waste-3" name="waste" type="checkbox" value="farm">
26
+ <label class="govuk-label govuk-checkboxes__label" for="waste-3">
27
+ Farm or agricultural waste
28
+ </label>
29
+ </div>
30
+ </div>
31
+ </fieldset>
32
32
  </div>
@@ -1,40 +1,40 @@
1
1
  <div class="govuk-form-group govuk-form-group--error">
2
2
  <fieldset class="govuk-fieldset">
3
- <legend class="govuk-fieldset__legend">
4
- How do you want to be contacted?
5
- </legend>
6
- <div class="govuk-checkboxes" data-module="govuk-checkboxes">
7
- <div class="govuk-checkboxes__item">
8
- <input class="govuk-checkboxes__input" id="how-contacted-checked" name="how-contacted-checked" type="checkbox" value="email" data-aria-controls="conditional-how-contacted-checked">
9
- <label class="govuk-label govuk-checkboxes__label" for="how-contacted-checked">
10
- Email
11
- </label>
12
- </div>
13
- <div class="govuk-checkboxes__conditional govuk-checkboxes__conditional--hidden" id="conditional-how-contacted-checked">
14
- <label class="govuk-label" for="context-email">Email address</label>
15
- <input class="govuk-input govuk-!-width-one-third" name="context-email" type="text" id="context-email">
16
- </div>
17
- <div class="govuk-checkboxes__item">
18
- <input class="govuk-checkboxes__input" id="how-contacted-checked-2" name="how-contacted-checked" type="checkbox" value="phone" checked data-aria-controls="conditional-how-contacted-checked-2">
19
- <label class="govuk-label govuk-checkboxes__label" for="how-contacted-checked-2">
20
- Phone
21
- </label>
22
- </div>
23
- <div class="govuk-checkboxes__conditional" id="conditional-how-contacted-checked-2">
24
- <label class="govuk-label" for="contact-phone">Phone number</label>
25
- <span id="contact-phone-error" class="govuk-error-message">Problem with input</span>
26
- <input class="govuk-input govuk-input--error govuk-!-width-one-third" name="contact-phone" type="text" id="contact-phone" aria-describedby="contact-phone-error">
27
- </div>
28
- <div class="govuk-checkboxes__item">
29
- <input class="govuk-checkboxes__input" id="how-contacted-checked-3" name="how-contacted-checked" type="checkbox" value="text" data-aria-controls="conditional-how-contacted-checked-3">
30
- <label class="govuk-label govuk-checkboxes__label" for="how-contacted-checked-3">
31
- Text message
32
- </label>
33
- </div>
34
- <div class="govuk-checkboxes__conditional govuk-checkboxes__conditional--hidden" id="conditional-how-contacted-checked-3">
35
- <label class="govuk-label" for="contact-text-message">Mobile phone number</label>
36
- <input class="govuk-input govuk-!-width-one-third" name="contact-text-message" type="text" id="contact-text-message">
37
- </div>
3
+ <legend class="govuk-fieldset__legend">
4
+ How do you want to be contacted?
5
+ </legend>
6
+ <div class="govuk-checkboxes" data-module="govuk-checkboxes">
7
+ <div class="govuk-checkboxes__item">
8
+ <input class="govuk-checkboxes__input" id="how-contacted-checked" name="how-contacted-checked" type="checkbox" value="email" data-aria-controls="conditional-how-contacted-checked">
9
+ <label class="govuk-label govuk-checkboxes__label" for="how-contacted-checked">
10
+ Email
11
+ </label>
38
12
  </div>
39
- </fieldset>
13
+ <div class="govuk-checkboxes__conditional govuk-checkboxes__conditional--hidden" id="conditional-how-contacted-checked">
14
+ <label class="govuk-label" for="context-email">Email address</label>
15
+ <input class="govuk-input govuk-!-width-one-third" name="context-email" type="text" id="context-email">
16
+ </div>
17
+ <div class="govuk-checkboxes__item">
18
+ <input class="govuk-checkboxes__input" id="how-contacted-checked-2" name="how-contacted-checked" type="checkbox" value="phone" checked data-aria-controls="conditional-how-contacted-checked-2">
19
+ <label class="govuk-label govuk-checkboxes__label" for="how-contacted-checked-2">
20
+ Phone
21
+ </label>
22
+ </div>
23
+ <div class="govuk-checkboxes__conditional" id="conditional-how-contacted-checked-2">
24
+ <label class="govuk-label" for="contact-phone">Phone number</label>
25
+ <span id="contact-phone-error" class="govuk-error-message">Problem with input</span>
26
+ <input class="govuk-input govuk-input--error govuk-!-width-one-third" name="contact-phone" type="text" id="contact-phone" aria-describedby="contact-phone-error">
27
+ </div>
28
+ <div class="govuk-checkboxes__item">
29
+ <input class="govuk-checkboxes__input" id="how-contacted-checked-3" name="how-contacted-checked" type="checkbox" value="text" data-aria-controls="conditional-how-contacted-checked-3">
30
+ <label class="govuk-label govuk-checkboxes__label" for="how-contacted-checked-3">
31
+ Text message
32
+ </label>
33
+ </div>
34
+ <div class="govuk-checkboxes__conditional govuk-checkboxes__conditional--hidden" id="conditional-how-contacted-checked-3">
35
+ <label class="govuk-label" for="contact-text-message">Mobile phone number</label>
36
+ <input class="govuk-input govuk-!-width-one-third" name="contact-text-message" type="text" id="contact-text-message">
37
+ </div>
38
+ </div>
39
+ </fieldset>
40
40
  </div>
@@ -1,39 +1,39 @@
1
1
  <div class="govuk-form-group">
2
2
  <fieldset class="govuk-fieldset">
3
- <legend class="govuk-fieldset__legend">
4
- How do you want to be contacted?
5
- </legend>
6
- <div class="govuk-checkboxes" data-module="govuk-checkboxes">
7
- <div class="govuk-checkboxes__item">
8
- <input class="govuk-checkboxes__input" id="how-contacted-checked" name="how-contacted-checked" type="checkbox" value="email" checked data-aria-controls="conditional-how-contacted-checked">
9
- <label class="govuk-label govuk-checkboxes__label" for="how-contacted-checked">
10
- Email
11
- </label>
12
- </div>
13
- <div class="govuk-checkboxes__conditional" id="conditional-how-contacted-checked">
14
- <label class="govuk-label" for="context-email">Email address</label>
15
- <input class="govuk-input govuk-!-width-one-third" name="context-email" type="text" id="context-email">
16
- </div>
17
- <div class="govuk-checkboxes__item">
18
- <input class="govuk-checkboxes__input" id="how-contacted-checked-2" name="how-contacted-checked" type="checkbox" value="phone" data-aria-controls="conditional-how-contacted-checked-2">
19
- <label class="govuk-label govuk-checkboxes__label" for="how-contacted-checked-2">
20
- Phone
21
- </label>
22
- </div>
23
- <div class="govuk-checkboxes__conditional govuk-checkboxes__conditional--hidden" id="conditional-how-contacted-checked-2">
24
- <label class="govuk-label" for="contact-phone">Phone number</label>
25
- <input class="govuk-input govuk-!-width-one-third" name="contact-phone" type="text" id="contact-phone">
26
- </div>
27
- <div class="govuk-checkboxes__item">
28
- <input class="govuk-checkboxes__input" id="how-contacted-checked-3" name="how-contacted-checked" type="checkbox" value="text" checked data-aria-controls="conditional-how-contacted-checked-3">
29
- <label class="govuk-label govuk-checkboxes__label" for="how-contacted-checked-3">
30
- Text message
31
- </label>
32
- </div>
33
- <div class="govuk-checkboxes__conditional" id="conditional-how-contacted-checked-3">
34
- <label class="govuk-label" for="contact-text-message">Mobile phone number</label>
35
- <input class="govuk-input govuk-!-width-one-third" name="contact-text-message" type="text" id="contact-text-message">
36
- </div>
3
+ <legend class="govuk-fieldset__legend">
4
+ How do you want to be contacted?
5
+ </legend>
6
+ <div class="govuk-checkboxes" data-module="govuk-checkboxes">
7
+ <div class="govuk-checkboxes__item">
8
+ <input class="govuk-checkboxes__input" id="how-contacted-checked" name="how-contacted-checked" type="checkbox" value="email" checked data-aria-controls="conditional-how-contacted-checked">
9
+ <label class="govuk-label govuk-checkboxes__label" for="how-contacted-checked">
10
+ Email
11
+ </label>
37
12
  </div>
38
- </fieldset>
13
+ <div class="govuk-checkboxes__conditional" id="conditional-how-contacted-checked">
14
+ <label class="govuk-label" for="context-email">Email address</label>
15
+ <input class="govuk-input govuk-!-width-one-third" name="context-email" type="text" id="context-email">
16
+ </div>
17
+ <div class="govuk-checkboxes__item">
18
+ <input class="govuk-checkboxes__input" id="how-contacted-checked-2" name="how-contacted-checked" type="checkbox" value="phone" data-aria-controls="conditional-how-contacted-checked-2">
19
+ <label class="govuk-label govuk-checkboxes__label" for="how-contacted-checked-2">
20
+ Phone
21
+ </label>
22
+ </div>
23
+ <div class="govuk-checkboxes__conditional govuk-checkboxes__conditional--hidden" id="conditional-how-contacted-checked-2">
24
+ <label class="govuk-label" for="contact-phone">Phone number</label>
25
+ <input class="govuk-input govuk-!-width-one-third" name="contact-phone" type="text" id="contact-phone">
26
+ </div>
27
+ <div class="govuk-checkboxes__item">
28
+ <input class="govuk-checkboxes__input" id="how-contacted-checked-3" name="how-contacted-checked" type="checkbox" value="text" checked data-aria-controls="conditional-how-contacted-checked-3">
29
+ <label class="govuk-label govuk-checkboxes__label" for="how-contacted-checked-3">
30
+ Text message
31
+ </label>
32
+ </div>
33
+ <div class="govuk-checkboxes__conditional" id="conditional-how-contacted-checked-3">
34
+ <label class="govuk-label" for="contact-text-message">Mobile phone number</label>
35
+ <input class="govuk-input govuk-!-width-one-third" name="contact-text-message" type="text" id="contact-text-message">
36
+ </div>
37
+ </div>
38
+ </fieldset>
39
39
  </div>
@@ -1,30 +1,30 @@
1
1
  <div class="govuk-form-group">
2
2
  <fieldset class="govuk-fieldset" aria-describedby="waste-hint">
3
- <legend class="govuk-fieldset__legend">
4
- Maecenas faucibus mollis interdum?
5
- </legend>
6
- <div id="waste-hint" class="govuk-hint">
7
- Nullam id dolor id nibh ultricies vehicula ut id elit.
3
+ <legend class="govuk-fieldset__legend">
4
+ Maecenas faucibus mollis interdum?
5
+ </legend>
6
+ <div id="waste-hint" class="govuk-hint">
7
+ Nullam id dolor id nibh ultricies vehicula ut id elit.
8
+ </div>
9
+ <div class="govuk-checkboxes" data-module="govuk-checkboxes">
10
+ <div class="govuk-checkboxes__item">
11
+ <input class="govuk-checkboxes__input" id="waste" name="waste" type="checkbox" value="nullam">
12
+ <label class="govuk-label govuk-checkboxes__label" for="waste">
13
+ Nullam id dolor id nibh ultricies vehicula ut id elit. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Maecenas faucibus mollis interdum. Donec id elit non mi porta gravida at eget metus.
14
+ </label>
8
15
  </div>
9
- <div class="govuk-checkboxes" data-module="govuk-checkboxes">
10
- <div class="govuk-checkboxes__item">
11
- <input class="govuk-checkboxes__input" id="waste" name="waste" type="checkbox" value="nullam">
12
- <label class="govuk-label govuk-checkboxes__label" for="waste">
13
- Nullam id dolor id nibh ultricies vehicula ut id elit. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Maecenas faucibus mollis interdum. Donec id elit non mi porta gravida at eget metus.
14
- </label>
15
- </div>
16
- <div class="govuk-checkboxes__item">
17
- <input class="govuk-checkboxes__input" id="waste-2" name="waste" type="checkbox" value="aenean">
18
- <label class="govuk-label govuk-checkboxes__label" for="waste-2">
19
- Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Donec sed odio dui. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Cras mattis consectetur purus sit amet fermentum.
20
- </label>
21
- </div>
22
- <div class="govuk-checkboxes__item">
23
- <input class="govuk-checkboxes__input" id="waste-3" name="waste" type="checkbox" value="fusce">
24
- <label class="govuk-label govuk-checkboxes__label" for="waste-3">
25
- Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Etiam porta sem malesuada magna mollis euismod. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. Sed posuere consectetur est at lobortis.
26
- </label>
27
- </div>
16
+ <div class="govuk-checkboxes__item">
17
+ <input class="govuk-checkboxes__input" id="waste-2" name="waste" type="checkbox" value="aenean">
18
+ <label class="govuk-label govuk-checkboxes__label" for="waste-2">
19
+ Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Donec sed odio dui. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Cras mattis consectetur purus sit amet fermentum.
20
+ </label>
28
21
  </div>
29
- </fieldset>
22
+ <div class="govuk-checkboxes__item">
23
+ <input class="govuk-checkboxes__input" id="waste-3" name="waste" type="checkbox" value="fusce">
24
+ <label class="govuk-label govuk-checkboxes__label" for="waste-3">
25
+ Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Etiam porta sem malesuada magna mollis euismod. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. Sed posuere consectetur est at lobortis.
26
+ </label>
27
+ </div>
28
+ </div>
29
+ </fieldset>
30
30
  </div>
@@ -115,7 +115,7 @@
115
115
  attributes: params.fieldset.attributes,
116
116
  legend: params.fieldset.legend,
117
117
  html: innerHtml | trim
118
- }) | trim | indent(2) }}
118
+ }) | trim }}
119
119
  {% else %}
120
120
  {{ innerHtml | safe | trim }}
121
121
  {% endif %}
@@ -12,7 +12,7 @@
12
12
  left: 0;
13
13
  width: 100%;
14
14
 
15
- @include govuk-media-query($from: tablet) {
15
+ @media #{govuk-from-breakpoint(tablet)} {
16
16
  display: inline-block;
17
17
  right: 0;
18
18
  left: auto;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/govuk/components/exit-this-page/_index.scss"],"names":[],"mappings":"AAAA,yBAAyB;;AAEzB;EACE,uBAAuB;;EAEvB;IACE,6CAA6C;IAC7C,wBAAgB;IAAhB,gBAAgB;IAChB,aAAa;IACb,MAAM;IACN,OAAO;IACP,WAAW;;IAEX;MACE,qBAAqB;MACrB,QAAQ;MACR,UAAU;MACV,WAAW;MACX,YAAY;IACd;EACF;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,oCAAoC;IACpC,aAAa;IACb,iBAAiB;IACjB,cAAc;IACd,cAAc,EAAE,mDAAmD;IACnE,kBAAkB;IAClB,oBAAoB;EACtB;;EAEA;IACE,cAAc;EAChB;;EAEA;IACE,sBAAsB;IACtB,qBAAqB;IACrB,sBAAsB;IACtB,uBAAuB;IACvB,iBAAiB;IACjB,iBAAiB;IACjB,mBAAmB;IACnB,kBAAkB;IAClB,0BAA0B;EAC5B;;EAEA;IACE,iCAAiC;EACnC;;EAEA;IACE;MACE,aAAa;IACf;EACF;;EAEA;IACE,eAAe;IACf,aAAa;IACb,MAAM;IACN,QAAQ;IACR,SAAS;IACT,OAAO;IACP,uCAAuC;EACzC;;EAEA,6EAA6E;EAC7E,gFAAgF;EAChF,gBAAgB;EAChB,CAAC;EACD,iFAAiF;EACjF,4EAA4E;EAC5E;IACE,4CAA4C;IAC5C;MACE,wBAAwB;IAC1B;;IAEA;MACE,yBAAyB;IAC3B;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../button/index\";\n\n@include govuk-exports(\"govuk/component/exit-this-page\") {\n $indicator-size: 0.75em;\n\n .govuk-exit-this-page {\n @include govuk-responsive-margin(8, \"bottom\");\n position: sticky;\n z-index: 1000;\n top: 0;\n left: 0;\n width: 100%;\n\n @include govuk-media-query($from: tablet) {\n display: inline-block;\n right: 0;\n left: auto;\n width: auto;\n float: right;\n }\n }\n\n .govuk-exit-this-page__button {\n margin-bottom: 0;\n }\n\n .govuk-exit-this-page__indicator {\n @include govuk-responsive-padding(2);\n display: none;\n padding-bottom: 0;\n color: inherit;\n line-height: 0; // removes extra negative space below the indicators\n text-align: center;\n pointer-events: none;\n }\n\n .govuk-exit-this-page__indicator--visible {\n display: block;\n }\n\n .govuk-exit-this-page__indicator-light {\n box-sizing: border-box;\n display: inline-block;\n width: $indicator-size;\n height: $indicator-size;\n margin: 0 0.125em;\n border-width: 2px;\n border-style: solid;\n border-radius: 50%;\n border-color: currentcolor;\n }\n\n .govuk-exit-this-page__indicator-light--on {\n border-width: $indicator-size / 2;\n }\n\n @media only print {\n .govuk-exit-this-page {\n display: none;\n }\n }\n\n .govuk-exit-this-page-overlay {\n position: fixed;\n z-index: 9999;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: govuk-colour(\"white\");\n }\n\n // This class is added to the body when the Exit This Page button is activated\n // in addition to the overlay to both block the entire screen and hide everything\n // underneath it.\n //\n // We do this to ensure that users don't risk interacting with the page underneath\n // the overlay between activating the button and navigating to the next page.\n .govuk-exit-this-page-hide-content {\n // stylelint-disable declaration-no-important\n * {\n display: none !important;\n }\n\n .govuk-exit-this-page-overlay {\n display: block !important;\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../../src/govuk/components/exit-this-page/_index.scss"],"names":[],"mappings":"AAAA,yBAAyB;;AAEzB;EACE,uBAAuB;;EAEvB;IACE,6CAA6C;IAC7C,wBAAgB;IAAhB,gBAAgB;IAChB,aAAa;IACb,MAAM;IACN,OAAO;IACP,WAAW;;IAEX;MACE,qBAAqB;MACrB,QAAQ;MACR,UAAU;MACV,WAAW;MACX,YAAY;IACd;EACF;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,oCAAoC;IACpC,aAAa;IACb,iBAAiB;IACjB,cAAc;IACd,cAAc,EAAE,mDAAmD;IACnE,kBAAkB;IAClB,oBAAoB;EACtB;;EAEA;IACE,cAAc;EAChB;;EAEA;IACE,sBAAsB;IACtB,qBAAqB;IACrB,sBAAsB;IACtB,uBAAuB;IACvB,iBAAiB;IACjB,iBAAiB;IACjB,mBAAmB;IACnB,kBAAkB;IAClB,0BAA0B;EAC5B;;EAEA;IACE,iCAAiC;EACnC;;EAEA;IACE;MACE,aAAa;IACf;EACF;;EAEA;IACE,eAAe;IACf,aAAa;IACb,MAAM;IACN,QAAQ;IACR,SAAS;IACT,OAAO;IACP,uCAAuC;EACzC;;EAEA,6EAA6E;EAC7E,gFAAgF;EAChF,gBAAgB;EAChB,CAAC;EACD,iFAAiF;EACjF,4EAA4E;EAC5E;IACE,4CAA4C;IAC5C;MACE,wBAAwB;IAC1B;;IAEA;MACE,yBAAyB;IAC3B;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../button/index\";\n\n@include govuk-exports(\"govuk/component/exit-this-page\") {\n $indicator-size: 0.75em;\n\n .govuk-exit-this-page {\n @include govuk-responsive-margin(8, \"bottom\");\n position: sticky;\n z-index: 1000;\n top: 0;\n left: 0;\n width: 100%;\n\n @media #{govuk-from-breakpoint(tablet)} {\n display: inline-block;\n right: 0;\n left: auto;\n width: auto;\n float: right;\n }\n }\n\n .govuk-exit-this-page__button {\n margin-bottom: 0;\n }\n\n .govuk-exit-this-page__indicator {\n @include govuk-responsive-padding(2);\n display: none;\n padding-bottom: 0;\n color: inherit;\n line-height: 0; // removes extra negative space below the indicators\n text-align: center;\n pointer-events: none;\n }\n\n .govuk-exit-this-page__indicator--visible {\n display: block;\n }\n\n .govuk-exit-this-page__indicator-light {\n box-sizing: border-box;\n display: inline-block;\n width: $indicator-size;\n height: $indicator-size;\n margin: 0 0.125em;\n border-width: 2px;\n border-style: solid;\n border-radius: 50%;\n border-color: currentcolor;\n }\n\n .govuk-exit-this-page__indicator-light--on {\n border-width: $indicator-size / 2;\n }\n\n @media only print {\n .govuk-exit-this-page {\n display: none;\n }\n }\n\n .govuk-exit-this-page-overlay {\n position: fixed;\n z-index: 9999;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: govuk-colour(\"white\");\n }\n\n // This class is added to the body when the Exit This Page button is activated\n // in addition to the overlay to both block the entire screen and hide everything\n // underneath it.\n //\n // We do this to ensure that users don't risk interacting with the page underneath\n // the overlay between activating the button and navigating to the next page.\n .govuk-exit-this-page-hide-content {\n // stylelint-disable declaration-no-important\n * {\n display: none !important;\n }\n\n .govuk-exit-this-page-overlay {\n display: block !important;\n }\n }\n}\n"]}