govuk_publishing_components 37.3.1 → 37.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (312) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/govuk_publishing_components/favicon-development.png +0 -0
  3. data/app/assets/images/govuk_publishing_components/favicon-example.png +0 -0
  4. data/app/assets/images/govuk_publishing_components/favicon-integration.png +0 -0
  5. data/app/assets/images/govuk_publishing_components/favicon-production.png +0 -0
  6. data/app/assets/images/govuk_publishing_components/favicon-staging.png +0 -0
  7. data/app/assets/images/govuk_publishing_components/govuk-logo.png +0 -0
  8. data/app/assets/images/govuk_publishing_components/govuk-schema-placeholder-16x9.png +0 -0
  9. data/app/assets/images/govuk_publishing_components/govuk-schema-placeholder-1x1.png +0 -0
  10. data/app/assets/images/govuk_publishing_components/govuk-schema-placeholder-4x3.png +0 -0
  11. data/app/assets/javascripts/govuk_publishing_components/vendor/lux/lux-reporter.js +26 -22
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss +8 -0
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +0 -5
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +15 -7
  15. data/app/views/govuk_publishing_components/components/_document_list.html.erb +15 -8
  16. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +4 -4
  17. data/app/views/govuk_publishing_components/components/_metadata.html.erb +0 -1
  18. data/app/views/govuk_publishing_components/components/_modal_dialogue.html.erb +5 -4
  19. data/app/views/govuk_publishing_components/components/_notice.html.erb +23 -3
  20. data/app/views/govuk_publishing_components/components/_share_links.html.erb +3 -3
  21. data/app/views/govuk_publishing_components/components/cross_service_header/_one_login_header.html.erb +3 -2
  22. data/app/views/govuk_publishing_components/components/docs/document_list.yml +24 -1
  23. data/app/views/govuk_publishing_components/components/docs/notice.yml +10 -0
  24. data/app/views/govuk_publishing_components/components/docs/share_links.yml +4 -4
  25. data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +5 -3
  26. data/lib/govuk_publishing_components/presenters/breadcrumb_selector.rb +1 -1
  27. data/lib/govuk_publishing_components/presenters/contextual_navigation.rb +4 -0
  28. data/lib/govuk_publishing_components/version.rb +1 -1
  29. data/node_modules/govuk-frontend/govuk/_base.scss +2 -0
  30. data/node_modules/govuk-frontend/govuk/_base.scss.map +1 -0
  31. data/node_modules/govuk-frontend/govuk/all-ie8.scss +2 -0
  32. data/node_modules/govuk-frontend/govuk/all-ie8.scss.map +1 -0
  33. data/node_modules/govuk-frontend/govuk/all.js +1 -1
  34. data/node_modules/govuk-frontend/govuk/all.scss +2 -0
  35. data/node_modules/govuk-frontend/govuk/all.scss.map +1 -0
  36. data/node_modules/govuk-frontend/govuk/assets/images/favicon.ico +0 -0
  37. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-152x152.png +0 -0
  38. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-167x167.png +0 -0
  39. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-180x180.png +0 -0
  40. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon.png +0 -0
  41. data/node_modules/govuk-frontend/govuk/assets/images/govuk-logotype-tudor-crown.png +0 -0
  42. data/node_modules/govuk-frontend/govuk/assets/images/govuk-mask-icon.svg +1 -7
  43. data/node_modules/govuk-frontend/govuk/assets/images/govuk-opengraph-image.png +0 -0
  44. data/node_modules/govuk-frontend/govuk/common/govuk-frontend-version.js +1 -1
  45. data/node_modules/govuk-frontend/govuk/components/_all.scss +2 -0
  46. data/node_modules/govuk-frontend/govuk/components/_all.scss.map +1 -0
  47. data/node_modules/govuk-frontend/govuk/components/accordion/_accordion.scss +2 -0
  48. data/node_modules/govuk-frontend/govuk/components/accordion/_accordion.scss.map +1 -0
  49. data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +8 -10
  50. data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss.map +1 -0
  51. data/node_modules/govuk-frontend/govuk/components/back-link/_back-link.scss +2 -0
  52. data/node_modules/govuk-frontend/govuk/components/back-link/_back-link.scss.map +1 -0
  53. data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss +4 -4
  54. data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss.map +1 -0
  55. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_breadcrumbs.scss +2 -0
  56. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_breadcrumbs.scss.map +1 -0
  57. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss +4 -4
  58. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss.map +1 -0
  59. data/node_modules/govuk-frontend/govuk/components/button/_button.scss +2 -0
  60. data/node_modules/govuk-frontend/govuk/components/button/_button.scss.map +1 -0
  61. data/node_modules/govuk-frontend/govuk/components/button/_index.scss +2 -0
  62. data/node_modules/govuk-frontend/govuk/components/button/_index.scss.map +1 -0
  63. data/node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss +2 -0
  64. data/node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss.map +1 -0
  65. data/node_modules/govuk-frontend/govuk/components/character-count/_index.scss +2 -0
  66. data/node_modules/govuk-frontend/govuk/components/character-count/_index.scss.map +1 -0
  67. data/node_modules/govuk-frontend/govuk/components/character-count/fixtures.json +8 -2
  68. data/node_modules/govuk-frontend/govuk/components/checkboxes/_checkboxes.scss +2 -0
  69. data/node_modules/govuk-frontend/govuk/components/checkboxes/_checkboxes.scss.map +1 -0
  70. data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +4 -4
  71. data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss.map +1 -0
  72. data/node_modules/govuk-frontend/govuk/components/checkboxes/fixtures.json +4 -3
  73. data/node_modules/govuk-frontend/govuk/components/cookie-banner/_cookie-banner.scss +2 -0
  74. data/node_modules/govuk-frontend/govuk/components/cookie-banner/_cookie-banner.scss.map +1 -0
  75. data/node_modules/govuk-frontend/govuk/components/cookie-banner/_index.scss +2 -0
  76. data/node_modules/govuk-frontend/govuk/components/cookie-banner/_index.scss.map +1 -0
  77. data/node_modules/govuk-frontend/govuk/components/date-input/_date-input.scss +2 -0
  78. data/node_modules/govuk-frontend/govuk/components/date-input/_date-input.scss.map +1 -0
  79. data/node_modules/govuk-frontend/govuk/components/date-input/_index.scss +2 -0
  80. data/node_modules/govuk-frontend/govuk/components/date-input/_index.scss.map +1 -0
  81. data/node_modules/govuk-frontend/govuk/components/details/_details.scss +2 -0
  82. data/node_modules/govuk-frontend/govuk/components/details/_details.scss.map +1 -0
  83. data/node_modules/govuk-frontend/govuk/components/details/_index.scss +2 -0
  84. data/node_modules/govuk-frontend/govuk/components/details/_index.scss.map +1 -0
  85. data/node_modules/govuk-frontend/govuk/components/error-message/_error-message.scss +2 -0
  86. data/node_modules/govuk-frontend/govuk/components/error-message/_error-message.scss.map +1 -0
  87. data/node_modules/govuk-frontend/govuk/components/error-message/_index.scss +2 -0
  88. data/node_modules/govuk-frontend/govuk/components/error-message/_index.scss.map +1 -0
  89. data/node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss +2 -0
  90. data/node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss.map +1 -0
  91. data/node_modules/govuk-frontend/govuk/components/error-summary/_index.scss +2 -0
  92. data/node_modules/govuk-frontend/govuk/components/error-summary/_index.scss.map +1 -0
  93. data/node_modules/govuk-frontend/govuk/components/exit-this-page/_exit-this-page.scss +2 -0
  94. data/node_modules/govuk-frontend/govuk/components/exit-this-page/_exit-this-page.scss.map +1 -0
  95. data/node_modules/govuk-frontend/govuk/components/exit-this-page/_index.scss +2 -0
  96. data/node_modules/govuk-frontend/govuk/components/exit-this-page/_index.scss.map +1 -0
  97. data/node_modules/govuk-frontend/govuk/components/fieldset/_fieldset.scss +2 -0
  98. data/node_modules/govuk-frontend/govuk/components/fieldset/_fieldset.scss.map +1 -0
  99. data/node_modules/govuk-frontend/govuk/components/fieldset/_index.scss +2 -0
  100. data/node_modules/govuk-frontend/govuk/components/fieldset/_index.scss.map +1 -0
  101. data/node_modules/govuk-frontend/govuk/components/file-upload/_file-upload.scss +2 -0
  102. data/node_modules/govuk-frontend/govuk/components/file-upload/_file-upload.scss.map +1 -0
  103. data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +2 -0
  104. data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss.map +1 -0
  105. data/node_modules/govuk-frontend/govuk/components/footer/_footer.scss +2 -0
  106. data/node_modules/govuk-frontend/govuk/components/footer/_footer.scss.map +1 -0
  107. data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +2 -0
  108. data/node_modules/govuk-frontend/govuk/components/footer/_index.scss.map +1 -0
  109. data/node_modules/govuk-frontend/govuk/components/header/_header.scss +2 -0
  110. data/node_modules/govuk-frontend/govuk/components/header/_header.scss.map +1 -0
  111. data/node_modules/govuk-frontend/govuk/components/header/_index.scss +18 -0
  112. data/node_modules/govuk-frontend/govuk/components/header/_index.scss.map +1 -0
  113. data/node_modules/govuk-frontend/govuk/components/header/fixtures.json +29 -21
  114. data/node_modules/govuk-frontend/govuk/components/header/macro-options.json +6 -0
  115. data/node_modules/govuk-frontend/govuk/components/header/template.njk +56 -31
  116. data/node_modules/govuk-frontend/govuk/components/hint/_hint.scss +2 -0
  117. data/node_modules/govuk-frontend/govuk/components/hint/_hint.scss.map +1 -0
  118. data/node_modules/govuk-frontend/govuk/components/hint/_index.scss +2 -0
  119. data/node_modules/govuk-frontend/govuk/components/hint/_index.scss.map +1 -0
  120. data/node_modules/govuk-frontend/govuk/components/input/_index.scss +2 -0
  121. data/node_modules/govuk-frontend/govuk/components/input/_index.scss.map +1 -0
  122. data/node_modules/govuk-frontend/govuk/components/input/_input.scss +2 -0
  123. data/node_modules/govuk-frontend/govuk/components/input/_input.scss.map +1 -0
  124. data/node_modules/govuk-frontend/govuk/components/inset-text/_index.scss +2 -0
  125. data/node_modules/govuk-frontend/govuk/components/inset-text/_index.scss.map +1 -0
  126. data/node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss +2 -0
  127. data/node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss.map +1 -0
  128. data/node_modules/govuk-frontend/govuk/components/label/_index.scss +2 -0
  129. data/node_modules/govuk-frontend/govuk/components/label/_index.scss.map +1 -0
  130. data/node_modules/govuk-frontend/govuk/components/label/_label.scss +2 -0
  131. data/node_modules/govuk-frontend/govuk/components/label/_label.scss.map +1 -0
  132. data/node_modules/govuk-frontend/govuk/components/notification-banner/_index.scss +2 -0
  133. data/node_modules/govuk-frontend/govuk/components/notification-banner/_index.scss.map +1 -0
  134. data/node_modules/govuk-frontend/govuk/components/notification-banner/_notification-banner.scss +2 -0
  135. data/node_modules/govuk-frontend/govuk/components/notification-banner/_notification-banner.scss.map +1 -0
  136. data/node_modules/govuk-frontend/govuk/components/pagination/_index.scss +2 -0
  137. data/node_modules/govuk-frontend/govuk/components/pagination/_index.scss.map +1 -0
  138. data/node_modules/govuk-frontend/govuk/components/pagination/_pagination.scss +2 -0
  139. data/node_modules/govuk-frontend/govuk/components/pagination/_pagination.scss.map +1 -0
  140. data/node_modules/govuk-frontend/govuk/components/panel/_index.scss +2 -0
  141. data/node_modules/govuk-frontend/govuk/components/panel/_index.scss.map +1 -0
  142. data/node_modules/govuk-frontend/govuk/components/panel/_panel.scss +2 -0
  143. data/node_modules/govuk-frontend/govuk/components/panel/_panel.scss.map +1 -0
  144. data/node_modules/govuk-frontend/govuk/components/phase-banner/_index.scss +2 -0
  145. data/node_modules/govuk-frontend/govuk/components/phase-banner/_index.scss.map +1 -0
  146. data/node_modules/govuk-frontend/govuk/components/phase-banner/_phase-banner.scss +2 -0
  147. data/node_modules/govuk-frontend/govuk/components/phase-banner/_phase-banner.scss.map +1 -0
  148. data/node_modules/govuk-frontend/govuk/components/radios/_index.scss +2 -0
  149. data/node_modules/govuk-frontend/govuk/components/radios/_index.scss.map +1 -0
  150. data/node_modules/govuk-frontend/govuk/components/radios/_radios.scss +2 -0
  151. data/node_modules/govuk-frontend/govuk/components/radios/_radios.scss.map +1 -0
  152. data/node_modules/govuk-frontend/govuk/components/select/_index.scss +2 -0
  153. data/node_modules/govuk-frontend/govuk/components/select/_index.scss.map +1 -0
  154. data/node_modules/govuk-frontend/govuk/components/select/_select.scss +2 -0
  155. data/node_modules/govuk-frontend/govuk/components/select/_select.scss.map +1 -0
  156. data/node_modules/govuk-frontend/govuk/components/select/fixtures.json +36 -9
  157. data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss +2 -0
  158. data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss.map +1 -0
  159. data/node_modules/govuk-frontend/govuk/components/skip-link/_skip-link.scss +2 -0
  160. data/node_modules/govuk-frontend/govuk/components/skip-link/_skip-link.scss.map +1 -0
  161. data/node_modules/govuk-frontend/govuk/components/summary-list/_index.scss +2 -0
  162. data/node_modules/govuk-frontend/govuk/components/summary-list/_index.scss.map +1 -0
  163. data/node_modules/govuk-frontend/govuk/components/summary-list/_summary-list.scss +2 -0
  164. data/node_modules/govuk-frontend/govuk/components/summary-list/_summary-list.scss.map +1 -0
  165. data/node_modules/govuk-frontend/govuk/components/table/_index.scss +2 -0
  166. data/node_modules/govuk-frontend/govuk/components/table/_index.scss.map +1 -0
  167. data/node_modules/govuk-frontend/govuk/components/table/_table.scss +2 -0
  168. data/node_modules/govuk-frontend/govuk/components/table/_table.scss.map +1 -0
  169. data/node_modules/govuk-frontend/govuk/components/table/fixtures.json +2 -1
  170. data/node_modules/govuk-frontend/govuk/components/tabs/_index.scss +2 -0
  171. data/node_modules/govuk-frontend/govuk/components/tabs/_index.scss.map +1 -0
  172. data/node_modules/govuk-frontend/govuk/components/tabs/_tabs.scss +2 -0
  173. data/node_modules/govuk-frontend/govuk/components/tabs/_tabs.scss.map +1 -0
  174. data/node_modules/govuk-frontend/govuk/components/tag/_index.scss +2 -0
  175. data/node_modules/govuk-frontend/govuk/components/tag/_index.scss.map +1 -0
  176. data/node_modules/govuk-frontend/govuk/components/tag/_tag.scss +2 -0
  177. data/node_modules/govuk-frontend/govuk/components/tag/_tag.scss.map +1 -0
  178. data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss +2 -0
  179. data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss.map +1 -0
  180. data/node_modules/govuk-frontend/govuk/components/textarea/_textarea.scss +2 -0
  181. data/node_modules/govuk-frontend/govuk/components/textarea/_textarea.scss.map +1 -0
  182. data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss +2 -0
  183. data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss.map +1 -0
  184. data/node_modules/govuk-frontend/govuk/components/warning-text/_warning-text.scss +2 -0
  185. data/node_modules/govuk-frontend/govuk/components/warning-text/_warning-text.scss.map +1 -0
  186. data/node_modules/govuk-frontend/govuk/core/_all.scss +2 -0
  187. data/node_modules/govuk-frontend/govuk/core/_all.scss.map +1 -0
  188. data/node_modules/govuk-frontend/govuk/core/_global-styles.scss +2 -0
  189. data/node_modules/govuk-frontend/govuk/core/_global-styles.scss.map +1 -0
  190. data/node_modules/govuk-frontend/govuk/core/_govuk-frontend-version.scss +3 -1
  191. data/node_modules/govuk-frontend/govuk/core/_govuk-frontend-version.scss.map +1 -0
  192. data/node_modules/govuk-frontend/govuk/core/_links.scss +2 -0
  193. data/node_modules/govuk-frontend/govuk/core/_links.scss.map +1 -0
  194. data/node_modules/govuk-frontend/govuk/core/_lists.scss +2 -0
  195. data/node_modules/govuk-frontend/govuk/core/_lists.scss.map +1 -0
  196. data/node_modules/govuk-frontend/govuk/core/_section-break.scss +2 -0
  197. data/node_modules/govuk-frontend/govuk/core/_section-break.scss.map +1 -0
  198. data/node_modules/govuk-frontend/govuk/core/_typography.scss +2 -0
  199. data/node_modules/govuk-frontend/govuk/core/_typography.scss.map +1 -0
  200. data/node_modules/govuk-frontend/govuk/helpers/_all.scss +2 -0
  201. data/node_modules/govuk-frontend/govuk/helpers/_all.scss.map +1 -0
  202. data/node_modules/govuk-frontend/govuk/helpers/_clearfix.scss +2 -0
  203. data/node_modules/govuk-frontend/govuk/helpers/_clearfix.scss.map +1 -0
  204. data/node_modules/govuk-frontend/govuk/helpers/_colour.scss +2 -0
  205. data/node_modules/govuk-frontend/govuk/helpers/_colour.scss.map +1 -0
  206. data/node_modules/govuk-frontend/govuk/helpers/_device-pixels.scss +2 -0
  207. data/node_modules/govuk-frontend/govuk/helpers/_device-pixels.scss.map +1 -0
  208. data/node_modules/govuk-frontend/govuk/helpers/_focused.scss +2 -0
  209. data/node_modules/govuk-frontend/govuk/helpers/_focused.scss.map +1 -0
  210. data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss +2 -0
  211. data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss.map +1 -0
  212. data/node_modules/govuk-frontend/govuk/helpers/_grid.scss +2 -0
  213. data/node_modules/govuk-frontend/govuk/helpers/_grid.scss.map +1 -0
  214. data/node_modules/govuk-frontend/govuk/helpers/_links.scss +2 -0
  215. data/node_modules/govuk-frontend/govuk/helpers/_links.scss.map +1 -0
  216. data/node_modules/govuk-frontend/govuk/helpers/_media-queries.scss +2 -0
  217. data/node_modules/govuk-frontend/govuk/helpers/_media-queries.scss.map +1 -0
  218. data/node_modules/govuk-frontend/govuk/helpers/_shape-arrow.scss +2 -0
  219. data/node_modules/govuk-frontend/govuk/helpers/_shape-arrow.scss.map +1 -0
  220. data/node_modules/govuk-frontend/govuk/helpers/_spacing.scss +2 -0
  221. data/node_modules/govuk-frontend/govuk/helpers/_spacing.scss.map +1 -0
  222. data/node_modules/govuk-frontend/govuk/helpers/_typography.scss +2 -0
  223. data/node_modules/govuk-frontend/govuk/helpers/_typography.scss.map +1 -0
  224. data/node_modules/govuk-frontend/govuk/helpers/_visually-hidden.scss +2 -0
  225. data/node_modules/govuk-frontend/govuk/helpers/_visually-hidden.scss.map +1 -0
  226. data/node_modules/govuk-frontend/govuk/objects/_all.scss +2 -0
  227. data/node_modules/govuk-frontend/govuk/objects/_all.scss.map +1 -0
  228. data/node_modules/govuk-frontend/govuk/objects/_button-group.scss +2 -0
  229. data/node_modules/govuk-frontend/govuk/objects/_button-group.scss.map +1 -0
  230. data/node_modules/govuk-frontend/govuk/objects/_form-group.scss +2 -0
  231. data/node_modules/govuk-frontend/govuk/objects/_form-group.scss.map +1 -0
  232. data/node_modules/govuk-frontend/govuk/objects/_grid.scss +2 -0
  233. data/node_modules/govuk-frontend/govuk/objects/_grid.scss.map +1 -0
  234. data/node_modules/govuk-frontend/govuk/objects/_main-wrapper.scss +2 -0
  235. data/node_modules/govuk-frontend/govuk/objects/_main-wrapper.scss.map +1 -0
  236. data/node_modules/govuk-frontend/govuk/objects/_template.scss +2 -0
  237. data/node_modules/govuk-frontend/govuk/objects/_template.scss.map +1 -0
  238. data/node_modules/govuk-frontend/govuk/objects/_width-container.scss +2 -0
  239. data/node_modules/govuk-frontend/govuk/objects/_width-container.scss.map +1 -0
  240. data/node_modules/govuk-frontend/govuk/overrides/_all.scss +2 -0
  241. data/node_modules/govuk-frontend/govuk/overrides/_all.scss.map +1 -0
  242. data/node_modules/govuk-frontend/govuk/overrides/_display.scss +2 -0
  243. data/node_modules/govuk-frontend/govuk/overrides/_display.scss.map +1 -0
  244. data/node_modules/govuk-frontend/govuk/overrides/_spacing.scss +2 -0
  245. data/node_modules/govuk-frontend/govuk/overrides/_spacing.scss.map +1 -0
  246. data/node_modules/govuk-frontend/govuk/overrides/_text-align.scss +2 -0
  247. data/node_modules/govuk-frontend/govuk/overrides/_text-align.scss.map +1 -0
  248. data/node_modules/govuk-frontend/govuk/overrides/_typography.scss +2 -0
  249. data/node_modules/govuk-frontend/govuk/overrides/_typography.scss.map +1 -0
  250. data/node_modules/govuk-frontend/govuk/overrides/_width.scss +2 -0
  251. data/node_modules/govuk-frontend/govuk/overrides/_width.scss.map +1 -0
  252. data/node_modules/govuk-frontend/govuk/settings/_all.scss +2 -0
  253. data/node_modules/govuk-frontend/govuk/settings/_all.scss.map +1 -0
  254. data/node_modules/govuk-frontend/govuk/settings/_assets.scss +2 -0
  255. data/node_modules/govuk-frontend/govuk/settings/_assets.scss.map +1 -0
  256. data/node_modules/govuk-frontend/govuk/settings/_colours-applied.scss +2 -0
  257. data/node_modules/govuk-frontend/govuk/settings/_colours-applied.scss.map +1 -0
  258. data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss +2 -0
  259. data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss.map +1 -0
  260. data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss +2 -0
  261. data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss.map +1 -0
  262. data/node_modules/govuk-frontend/govuk/settings/_compatibility.scss +2 -0
  263. data/node_modules/govuk-frontend/govuk/settings/_compatibility.scss.map +1 -0
  264. data/node_modules/govuk-frontend/govuk/settings/_global-styles.scss +2 -0
  265. data/node_modules/govuk-frontend/govuk/settings/_global-styles.scss.map +1 -0
  266. data/node_modules/govuk-frontend/govuk/settings/_ie8.scss +2 -0
  267. data/node_modules/govuk-frontend/govuk/settings/_ie8.scss.map +1 -0
  268. data/node_modules/govuk-frontend/govuk/settings/_links.scss +2 -0
  269. data/node_modules/govuk-frontend/govuk/settings/_links.scss.map +1 -0
  270. data/node_modules/govuk-frontend/govuk/settings/_measurements.scss +2 -0
  271. data/node_modules/govuk-frontend/govuk/settings/_measurements.scss.map +1 -0
  272. data/node_modules/govuk-frontend/govuk/settings/_media-queries.scss +2 -0
  273. data/node_modules/govuk-frontend/govuk/settings/_media-queries.scss.map +1 -0
  274. data/node_modules/govuk-frontend/govuk/settings/_spacing.scss +2 -0
  275. data/node_modules/govuk-frontend/govuk/settings/_spacing.scss.map +1 -0
  276. data/node_modules/govuk-frontend/govuk/settings/_typography-font-families.scss +2 -0
  277. data/node_modules/govuk-frontend/govuk/settings/_typography-font-families.scss.map +1 -0
  278. data/node_modules/govuk-frontend/govuk/settings/_typography-font.scss +2 -0
  279. data/node_modules/govuk-frontend/govuk/settings/_typography-font.scss.map +1 -0
  280. data/node_modules/govuk-frontend/govuk/settings/_typography-responsive.scss +2 -0
  281. data/node_modules/govuk-frontend/govuk/settings/_typography-responsive.scss.map +1 -0
  282. data/node_modules/govuk-frontend/govuk/settings/_warnings.scss +2 -0
  283. data/node_modules/govuk-frontend/govuk/settings/_warnings.scss.map +1 -0
  284. data/node_modules/govuk-frontend/govuk/tools/_all.scss +2 -0
  285. data/node_modules/govuk-frontend/govuk/tools/_all.scss.map +1 -0
  286. data/node_modules/govuk-frontend/govuk/tools/_compatibility.scss +2 -0
  287. data/node_modules/govuk-frontend/govuk/tools/_compatibility.scss.map +1 -0
  288. data/node_modules/govuk-frontend/govuk/tools/_exports.scss +2 -0
  289. data/node_modules/govuk-frontend/govuk/tools/_exports.scss.map +1 -0
  290. data/node_modules/govuk-frontend/govuk/tools/_font-url.scss +2 -0
  291. data/node_modules/govuk-frontend/govuk/tools/_font-url.scss.map +1 -0
  292. data/node_modules/govuk-frontend/govuk/tools/_ie8.scss +2 -0
  293. data/node_modules/govuk-frontend/govuk/tools/_ie8.scss.map +1 -0
  294. data/node_modules/govuk-frontend/govuk/tools/_image-url.scss +2 -0
  295. data/node_modules/govuk-frontend/govuk/tools/_image-url.scss.map +1 -0
  296. data/node_modules/govuk-frontend/govuk/tools/_px-to-em.scss +2 -0
  297. data/node_modules/govuk-frontend/govuk/tools/_px-to-em.scss.map +1 -0
  298. data/node_modules/govuk-frontend/govuk/tools/_px-to-rem.scss +2 -0
  299. data/node_modules/govuk-frontend/govuk/tools/_px-to-rem.scss.map +1 -0
  300. data/node_modules/govuk-frontend/govuk/utilities/_all.scss +2 -0
  301. data/node_modules/govuk-frontend/govuk/utilities/_all.scss.map +1 -0
  302. data/node_modules/govuk-frontend/govuk/utilities/_clearfix.scss +2 -0
  303. data/node_modules/govuk-frontend/govuk/utilities/_clearfix.scss.map +1 -0
  304. data/node_modules/govuk-frontend/govuk/utilities/_visually-hidden.scss +2 -0
  305. data/node_modules/govuk-frontend/govuk/utilities/_visually-hidden.scss.map +1 -0
  306. data/node_modules/govuk-frontend/govuk/vendor/_sass-mq.scss +2 -0
  307. data/node_modules/govuk-frontend/govuk/vendor/_sass-mq.scss.map +1 -0
  308. data/node_modules/govuk-frontend/govuk-esm/common/govuk-frontend-version.mjs +1 -1
  309. data/node_modules/govuk-frontend/govuk-prototype-kit/init.scss +2 -0
  310. data/node_modules/govuk-frontend/govuk-prototype-kit/init.scss.map +1 -0
  311. data/node_modules/govuk-frontend/package.json +1 -1
  312. metadata +135 -2
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/skip-link/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,wCAAwC;IACxC,gCAAgC;IAChC,8BAA8B;IAC9B,8BAA8B;IAC9B,+CAA+C;;IAE/C,cAAc;IACd,0CAA0C;;IAE1C,yEAAyE;IACzE;MACE,gFAAgF;MAChF,8EAA8E;;MAE9E,8DAA8D;MAC9D,gDAAgD;MAChD,+EAA+E;MAC/E,6EAA6E;IAC/E;;IAEA;MACE,qDAAqD;MACrD,iBAAiB;MACjB,qCAAqC;;MAErC,sDAAsD;MACtD;QACE,gBAAgB;MAClB;IACF;EACF;;EAEA;IACE;MACE,yFAAyF;MACzF,CAAC;MACD,2FAA2F;MAC3F,0FAA0F;MAC1F,mFAAmF;MACnF,CAAC;MACD,+DAA+D;MAC/D,aAAa;IACf;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/skip-link\") {\n .govuk-skip-link {\n @include govuk-visually-hidden-focusable;\n @include govuk-typography-common;\n @include govuk-link-decoration;\n @include govuk-link-style-text;\n @include govuk-typography-responsive($size: 16);\n\n display: block;\n padding: govuk-spacing(2) govuk-spacing(3);\n\n // Respect 'display cutout' safe area (avoids notches and rounded corners)\n @supports (padding: unquote(\"max(calc(0px))\")) {\n $padding-safe-area-right: calc(#{govuk-spacing(3)} + env(safe-area-inset-right));\n $padding-safe-area-left: calc(#{govuk-spacing(3)} + env(safe-area-inset-left));\n\n // Use max() to pick largest padding, default or with safe area\n // Escaped due to Sass max() vs. CSS native max()\n padding-right: unquote(\"max(#{govuk-spacing(3)}, #{$padding-safe-area-right})\");\n padding-left: unquote(\"max(#{govuk-spacing(3)}, #{$padding-safe-area-left})\");\n }\n\n &:focus {\n outline: $govuk-focus-width solid $govuk-focus-colour;\n outline-offset: 0;\n background-color: $govuk-focus-colour;\n\n // Undo unwanted changes when global styles are enabled\n @if $govuk-global-styles {\n box-shadow: none;\n }\n }\n }\n\n .govuk-skip-link-focused-element {\n &:focus {\n // Remove the native visible focus indicator when the element is programmatically focused.\n //\n // We set the focus on the linked element (this is usually the <main> element) when the skip\n // link is activated to improve screen reader announcements. However, we remove the visible\n // focus indicator from the linked element because the user cannot interact with it.\n //\n // A related discussion: https://github.com/w3c/wcag/issues/1001\n outline: none;\n }\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_skip-link.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/skip-link/_skip-link.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_skip-link.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -274,3 +274,5 @@
274
274
  }
275
275
  }
276
276
  }
277
+
278
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/summary-list/_index.scss"],"names":[],"mappings":"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","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/summary-list\") {\n .govuk-summary-list {\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n @include govuk-media-query($from: tablet) {\n display: table;\n width: 100%;\n table-layout: fixed; // Required to allow us to wrap words that overflow.\n border-collapse: collapse;\n }\n margin: 0; // Reset default user agent styles\n @include govuk-responsive-margin(6, \"bottom\");\n }\n\n .govuk-summary-list__row {\n border-bottom: 1px solid $govuk-border-colour;\n\n @include govuk-media-query($until: tablet) {\n margin-bottom: govuk-spacing(3);\n }\n @include govuk-media-query($from: tablet) {\n display: table-row;\n }\n }\n\n // Remove right padding from the last column in the row\n .govuk-summary-list__row:not(.govuk-summary-list__row--no-actions) > :last-child {\n padding-right: 0;\n }\n\n // Provide an empty 'cell' for rows that don't have actions – otherwise the\n // bottom border is not drawn for that part of the row in some browsers.\n .govuk-summary-list__row--no-actions {\n @include govuk-media-query($from: tablet) {\n &:after {\n content: \"\";\n display: table-cell;\n width: 20%;\n }\n }\n }\n\n .govuk-summary-list__key,\n .govuk-summary-list__value,\n .govuk-summary-list__actions {\n margin: 0; // Reset default user agent styles\n\n @include govuk-media-query($from: tablet) {\n display: table-cell;\n padding-top: govuk-spacing(2);\n padding-right: govuk-spacing(4);\n padding-bottom: govuk-spacing(2);\n }\n }\n\n .govuk-summary-list__actions {\n margin-bottom: govuk-spacing(3);\n @include govuk-media-query($from: tablet) {\n width: 20%;\n padding-right: 0; // Needed for IE8\n text-align: right;\n }\n }\n\n .govuk-summary-list__key,\n .govuk-summary-list__value {\n // Automatic wrapping for unbreakable text (e.g. URLs)\n word-wrap: break-word; // Fallback for older browsers only\n overflow-wrap: break-word;\n }\n\n .govuk-summary-list__key {\n margin-bottom: govuk-spacing(1);\n @include govuk-typography-weight-bold;\n @include govuk-media-query($from: tablet) {\n width: 30%;\n }\n }\n\n .govuk-summary-list__value {\n @include govuk-media-query($until: tablet) {\n margin-bottom: govuk-spacing(3);\n }\n }\n\n .govuk-summary-list__value > p {\n margin-bottom: govuk-spacing(2);\n }\n\n .govuk-summary-list__value > :last-child {\n margin-bottom: 0;\n }\n\n .govuk-summary-list__actions-list {\n width: 100%;\n margin: 0; // Reset default user agent styles\n padding: 0; // Reset default user agent styles\n }\n\n .govuk-summary-list__actions-list-item {\n display: inline-block;\n }\n\n // In older browsers such as IE8, :last-child is not available,\n // so only show the border divider where it is available.\n @include govuk-media-query($until: tablet) {\n .govuk-summary-list__actions-list-item {\n margin-right: govuk-spacing(2);\n padding-right: govuk-spacing(2);\n }\n\n .govuk-summary-list__actions-list-item:not(:last-child) {\n border-right: 1px solid $govuk-border-colour;\n }\n\n .govuk-summary-list__actions-list-item:last-child {\n margin-right: 0;\n padding-right: 0;\n border: 0;\n }\n }\n\n @include govuk-media-query($from: tablet) {\n .govuk-summary-list__actions-list-item {\n margin-left: govuk-spacing(2);\n padding-left: govuk-spacing(2);\n }\n\n .govuk-summary-list__actions-list-item:not(:first-child) {\n border-left: 1px solid $govuk-border-colour;\n }\n\n .govuk-summary-list__actions-list-item:first-child {\n margin-left: 0;\n padding-left: 0;\n border: 0;\n }\n }\n\n // No border on entire summary list\n .govuk-summary-list--no-border {\n .govuk-summary-list__row {\n border: 0;\n }\n\n // Increase padding by 1px to compensate for 'missing' border\n @include govuk-media-query($from: tablet) {\n .govuk-summary-list__key,\n .govuk-summary-list__value,\n .govuk-summary-list__actions {\n padding-bottom: govuk-spacing(2) + 1px;\n }\n }\n }\n\n // No border on specific rows\n .govuk-summary-list__row--no-border {\n border: 0;\n\n // Increase padding by 1px to compensate for 'missing' border\n @include govuk-media-query($from: tablet) {\n .govuk-summary-list__key,\n .govuk-summary-list__value,\n .govuk-summary-list__actions {\n padding-bottom: govuk-spacing(2) + 1px;\n }\n }\n }\n\n // Additional block for the summary card\n .govuk-summary-card {\n @include govuk-responsive-margin(6, \"bottom\");\n border: 1px solid $govuk-border-colour;\n }\n\n .govuk-summary-card__title-wrapper {\n padding: govuk-spacing(3);\n\n // Ensures the card header appears separate to the summary list in forced colours mode\n border-bottom: 1px solid transparent;\n background-color: govuk-colour(\"light-grey\", $legacy: \"grey-3\");\n\n @include govuk-media-query($from: \"tablet\") {\n display: flex;\n justify-content: space-between;\n flex-wrap: nowrap;\n padding: govuk-spacing(3) govuk-spacing(4);\n }\n }\n\n .govuk-summary-card__title {\n @include govuk-font($size: 19, $weight: bold);\n margin: govuk-spacing(1) govuk-spacing(4) govuk-spacing(2) 0;\n\n @include govuk-media-query($from: \"tablet\") {\n margin-bottom: govuk-spacing(1);\n }\n }\n\n .govuk-summary-card__actions {\n @include govuk-font($size: 19, $weight: bold);\n display: flex;\n flex-wrap: wrap;\n row-gap: 10px;\n margin: govuk-spacing(1) 0;\n padding: 0;\n list-style: none;\n\n @include govuk-media-query($from: \"tablet\") {\n justify-content: right;\n text-align: right;\n }\n }\n\n .govuk-summary-card__action {\n display: inline;\n margin: 0 govuk-spacing(2) 0 0;\n padding-right: govuk-spacing(2);\n border-right: 1px solid $govuk-border-colour;\n\n @include govuk-media-query($from: \"tablet\") {\n margin-right: 0;\n }\n\n // We use the following media query to target IE11 and 10 only to add margin\n // between actions.\n //\n // We do this because we're using row-gap to create space between actions on\n // more evergreen browsers which IE doesn't support. @supports currently isn't\n // a viable solution, see https://github.com/w3c/csswg-drafts/issues/3559.\n //\n // Solution taken from https://stackoverflow.com/questions/11173106/apply-style-only-on-ie#answer-36448860\n // which also includes an explanation of why this works\n @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n margin-bottom: govuk-spacing(1);\n }\n }\n\n .govuk-summary-card__action:last-child {\n margin: 0;\n padding-right: 0;\n border-right: none;\n\n @include govuk-media-query($from: \"tablet\") {\n padding-left: govuk-spacing(2);\n }\n\n // See above comment for why this is here\n @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n margin-bottom: 0;\n }\n }\n\n .govuk-summary-card__content {\n padding: govuk-spacing(3) govuk-spacing(3) 0;\n\n @include govuk-media-query($from: \"tablet\") {\n padding: govuk-spacing(3) govuk-spacing(4);\n }\n\n .govuk-summary-list {\n margin-bottom: 0;\n }\n\n .govuk-summary-list__row:last-of-type {\n margin-bottom: 0;\n border-bottom: none;\n }\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_summary-list.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/summary-list/_summary-list.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_summary-list.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -69,3 +69,5 @@
69
69
  @include govuk-font($size: 19, $weight: bold);
70
70
  }
71
71
  }
72
+
73
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/table/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;IAC9B,0BAA0B;IAC1B,WAAW;IACX,6CAA6C;;IAE7C,iBAAiB;IACjB,yBAAyB;EAC3B;;EAEA;IACE,qCAAqC;EACvC;;EAEA;;IAEE,6DAA6D;IAC7D,6CAA6C;IAC7C,gBAAgB;IAChB,mBAAmB;IACnB,8EAA8E;IAC9E,YAAY;IACZ;MACE,kBAAkB;MAClB,oBAAoB;IACtB;EACF;;EAEA;IACE,iDAAiD;EACnD;;EAEA;;IAEE,iBAAiB;EACnB;;EAEA;;IAEE,gBAAgB;EAClB;;EAEA;IACE,qCAAqC;;IAErC,sBAAsB;IACtB,gBAAgB;EAClB;;EAEA,uEAAuE;;EAEvE;IACE,6CAA6C;IAC7C,+BAA+B;EACjC;;EAEA;IACE,6CAA6C;IAC7C,+BAA+B;EACjC;;EAEA;IACE,6CAA6C;IAC7C,+BAA+B;EACjC;;EAEA;IACE,6CAA6C;EAC/C;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/table\") {\n .govuk-table {\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n width: 100%;\n @include govuk-responsive-margin(6, \"bottom\");\n\n border-spacing: 0;\n border-collapse: collapse;\n }\n\n .govuk-table__header {\n @include govuk-typography-weight-bold;\n }\n\n .govuk-table__header,\n .govuk-table__cell {\n padding: govuk-spacing(2) govuk-spacing(4) govuk-spacing(2) 0;\n border-bottom: 1px solid $govuk-border-colour;\n text-align: left;\n vertical-align: top;\n // GOV.UK Elements sets the font-size and line-height for all headers and cells\n // in tables.\n @include _govuk-compatibility(govuk_elements) {\n font-size: inherit;\n line-height: inherit;\n }\n }\n\n .govuk-table__cell--numeric {\n @include govuk-font($size: false, $tabular: true);\n }\n\n .govuk-table__header--numeric,\n .govuk-table__cell--numeric {\n text-align: right;\n }\n\n .govuk-table__header:last-child,\n .govuk-table__cell:last-child {\n padding-right: 0;\n }\n\n .govuk-table__caption {\n @include govuk-typography-weight-bold;\n\n display: table-caption;\n text-align: left;\n }\n\n // Modifiers that make captions look more like their equivalent headings\n\n .govuk-table__caption--xl {\n @include govuk-font($size: 48, $weight: bold);\n margin-bottom: govuk-spacing(3);\n }\n\n .govuk-table__caption--l {\n @include govuk-font($size: 36, $weight: bold);\n margin-bottom: govuk-spacing(3);\n }\n\n .govuk-table__caption--m {\n @include govuk-font($size: 24, $weight: bold);\n margin-bottom: govuk-spacing(3);\n }\n\n .govuk-table__caption--s {\n @include govuk-font($size: 19, $weight: bold);\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_table.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/table/_table.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_table.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -302,6 +302,7 @@
302
302
  "options": {
303
303
  "head": [
304
304
  {
305
+ "text": "Foo",
305
306
  "attributes": {
306
307
  "data-fizz": "buzz"
307
308
  }
@@ -319,7 +320,7 @@
319
320
  ]
320
321
  },
321
322
  "hidden": true,
322
- "html": "<table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header\" data-fizz=\"buzz\"></th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell\">Jan</td>\n <td class=\"govuk-table__cell\">Feb</td>\n </tr>\n </tbody>\n</table>"
323
+ "html": "<table class=\"govuk-table\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header\" data-fizz=\"buzz\">Foo</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <td class=\"govuk-table__cell\">Jan</td>\n <td class=\"govuk-table__cell\">Feb</td>\n </tr>\n </tbody>\n</table>"
323
324
  },
324
325
  {
325
326
  "name": "with firstCellIsHeader true",
@@ -128,3 +128,5 @@
128
128
  }
129
129
  }
130
130
  }
131
+
132
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/tabs/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,0CAA0C;IAC1C,6CAA6C;EAC/C;;EAEA;IACE,8BAA8B;IAC9B,0BAA0B;IAC1B,+BAA+B;EACjC;;EAEA;IACE,SAAS;IACT,UAAU;IACV,gBAAgB;IAChB,6CAA6C;EAC/C;;EAEA;IACE,8BAA8B;IAC9B,6BAA6B;;IAE7B;MACE,0BAA0B;MAC1B,iBAAiB,EAAE,MAAM;MACzB,8BAA8B;MAC9B,+BAA+B;IACjC;EACF;;EAEA;IACE,0BAA0B;IAC1B,iCAAiC;;IAEjC,qBAAqB;IACrB,+BAA+B;EACjC;;EAEA;IACE,6CAA6C;EAC/C;;EAEA,oBAAoB;EACpB;;IAEE;MACE;QACE,uBAAuB;QACvB,gBAAgB;QAChB,6CAA6C;MAC/C;;MAEA;QACE,aAAa;MACf;;MAEA;QACE,kBAAkB;;QAElB,8BAA8B;QAC9B,gBAAgB;QAChB,cAAc;QACd,0CAA0C;;QAE1C,WAAW;QACX,+DAA+D;QAC/D,kBAAkB;;QAElB;UACE,aAAa;QACf;MACF;;MAEA;QACE,kBAAkB;;QAElB,kBAAkB;;QAElB,6BAA6B;;QAE7B,oDAAoD;QACpD,6BAA6B;QAC7B,6CAA6C;QAC7C,+CAA+C;QAC/C,gDAAgD;QAChD,8CAA8C;;QAE9C,gDAAgD;QAChD,gBAAgB;;QAEhB,+CAA+C;;QAE/C;UACE,qBAAqB;QACvB;MACF;;MAEA;QACE,8BAA8B;;QAE9B,gBAAgB;;QAEhB;UACE,WAAW;UACX,kBAAkB;UAClB,MAAM;UACN,QAAQ;UACR,SAAS;UACT,OAAO;QACT;MACF;;MAEA;QACE,6CAA6C;QAC7C,0CAA0C;QAC1C,sCAAsC;QACtC,aAAa;;QAEb;UACE,gBAAgB;QAClB;MACF;;MAEA;QACE,aAAa;MACf;IACF;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/tabs\") {\n .govuk-tabs {\n @include govuk-responsive-margin(1, \"top\");\n @include govuk-responsive-margin(6, \"bottom\");\n }\n\n .govuk-tabs__title {\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n margin-bottom: govuk-spacing(2);\n }\n\n .govuk-tabs__list {\n margin: 0;\n padding: 0;\n list-style: none;\n @include govuk-responsive-margin(6, \"bottom\");\n }\n\n .govuk-tabs__list-item {\n @include govuk-font($size: 19);\n margin-left: govuk-spacing(5);\n\n &:before {\n @include govuk-text-colour;\n content: \"\\2014 \"; // \"— \"\n margin-left: govuk-spacing(-5);\n padding-right: govuk-spacing(1);\n }\n }\n\n .govuk-tabs__tab {\n @include govuk-link-common;\n @include govuk-link-style-default;\n\n display: inline-block;\n margin-bottom: govuk-spacing(2);\n }\n\n .govuk-tabs__panel {\n @include govuk-responsive-margin(8, \"bottom\");\n }\n\n // JavaScript enabled\n .js-enabled {\n\n @include govuk-media-query($from: tablet) {\n .govuk-tabs__list {\n @include govuk-clearfix;\n margin-bottom: 0;\n border-bottom: 1px solid $govuk-border-colour;\n }\n\n .govuk-tabs__title {\n display: none;\n }\n\n .govuk-tabs__list-item {\n position: relative;\n\n margin-right: govuk-spacing(1);\n margin-bottom: 0;\n margin-left: 0;\n padding: govuk-spacing(2) govuk-spacing(4);\n\n float: left;\n background-color: govuk-colour(\"light-grey\", $legacy: \"grey-4\");\n text-align: center;\n\n &:before {\n content: none;\n }\n }\n\n .govuk-tabs__list-item--selected {\n $border-width: 1px;\n\n position: relative;\n\n margin-top: govuk-spacing(-1);\n\n // Compensation for border (otherwise we get a shift)\n margin-bottom: -$border-width;\n padding-top: govuk-spacing(3) - $border-width;\n padding-right: govuk-spacing(4) - $border-width;\n padding-bottom: govuk-spacing(3) + $border-width;\n padding-left: govuk-spacing(4) - $border-width;\n\n border: $border-width solid $govuk-border-colour;\n border-bottom: 0;\n\n background-color: $govuk-body-background-colour;\n\n .govuk-tabs__tab {\n text-decoration: none;\n }\n }\n\n .govuk-tabs__tab {\n @include govuk-link-style-text;\n\n margin-bottom: 0;\n\n &:after {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n }\n\n .govuk-tabs__panel {\n @include govuk-responsive-margin(0, \"bottom\");\n padding: govuk-spacing(6) govuk-spacing(4);\n border: 1px solid $govuk-border-colour;\n border-top: 0;\n\n & > :last-child {\n margin-bottom: 0;\n }\n }\n\n .govuk-tabs__panel--hidden {\n display: none;\n }\n }\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_tabs.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/tabs/_tabs.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_tabs.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -79,3 +79,5 @@
79
79
  background: govuk-tint(govuk-colour("green"), 80%);
80
80
  }
81
81
  }
82
+
83
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/tag/_index.scss"],"names":[],"mappings":"AAAA;EACE;;IAEE,qBAAqB;;IAErB,uEAAuE;IACvE,gFAAgF;IAChF,oFAAoF;IACpF,8BAA8B;IAC9B,oBAAoB;;IAEpB,4BAA4B;IAC5B,sCAAsC;IACtC,mBAAmB;;IAEnB,qBAAqB;IACrB,yBAAyB;;IAEzB;MACE,mEAAmE;MACnE,sEAAsE;MACtE,gFAAgF;MAChF,iEAAiE;MACjE,gBAAgB;MAChB,kBAAkB;MAClB,mBAAmB;MACnB,iBAAiB;IACnB,EAAE;MACA,8DAA8D;MAC9D,gBAAgB;MAChB,kBAAkB;MAClB,mBAAmB;MACnB,iBAAiB;IACnB;EACF;;EAEA;IACE,qEAAqE;IACrE,yEAAyE;EAC3E;;EAEA;IACE,+CAA+C;IAC/C,mDAAmD;EACrD;;EAEA;IACE,kDAAkD;IAClD,sDAAsD;EACxD;;EAEA;IACE,6CAA6C;IAC7C,iDAAiD;EACnD;;EAEA;IACE,+CAA+C;IAC/C,mDAAmD;EACrD;;EAEA;IACE,+CAA+C;IAC/C,mDAAmD;EACrD;;EAEA;IACE,4CAA4C;IAC5C,gDAAgD;EAClD;;EAEA;IACE,6CAA6C;IAC7C,iDAAiD;EACnD;;EAEA;IACE,8CAA8C;IAC9C,kDAAkD;EACpD;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/tag\") {\n .govuk-tag {\n\n display: inline-block;\n\n // When a user customises their colours often the background is removed,\n // by adding a outline we ensure that the tag component still keeps it's meaning.\n // https://accessibility.blog.gov.uk/2017/03/27/how-users-change-colours-on-websites/\n outline: 2px solid transparent;\n outline-offset: -2px;\n\n color: govuk-colour(\"white\");\n background-color: govuk-colour(\"blue\");\n letter-spacing: 1px;\n\n text-decoration: none;\n text-transform: uppercase;\n\n @if $govuk-use-legacy-font {\n // Since New Transport sits slightly higher than other common fonts.\n // We use intentionally uneven padding to make it balanced, this can be\n // removed using the version of the font that has a more common vertical spacing.\n @include govuk-font($size: 16, $weight: bold, $line-height: 1.25);\n padding-top: 4px;\n padding-right: 8px;\n padding-bottom: 1px;\n padding-left: 8px;\n } @else {\n @include govuk-font($size: 16, $weight: bold, $line-height: 1);\n padding-top: 5px;\n padding-right: 8px;\n padding-bottom: 4px;\n padding-left: 8px;\n }\n }\n\n .govuk-tag--grey {\n color: govuk-shade(govuk-colour(\"dark-grey\", $legacy: \"grey-1\"), 30%);\n background: govuk-tint(govuk-colour(\"dark-grey\", $legacy: \"grey-1\"), 90%);\n }\n\n .govuk-tag--purple {\n color: govuk-shade(govuk-colour(\"purple\"), 20%);\n background: govuk-tint(govuk-colour(\"purple\"), 80%);\n }\n\n .govuk-tag--turquoise {\n color: govuk-shade(govuk-colour(\"turquoise\"), 60%);\n background: govuk-tint(govuk-colour(\"turquoise\"), 70%);\n }\n\n .govuk-tag--blue {\n color: govuk-shade(govuk-colour(\"blue\"), 30%);\n background: govuk-tint(govuk-colour(\"blue\"), 80%);\n }\n\n .govuk-tag--yellow {\n color: govuk-shade(govuk-colour(\"yellow\"), 65%);\n background: govuk-tint(govuk-colour(\"yellow\"), 75%);\n }\n\n .govuk-tag--orange {\n color: govuk-shade(govuk-colour(\"orange\"), 55%);\n background: govuk-tint(govuk-colour(\"orange\"), 70%);\n }\n\n .govuk-tag--red {\n color: govuk-shade(govuk-colour(\"red\"), 30%);\n background: govuk-tint(govuk-colour(\"red\"), 80%);\n }\n\n .govuk-tag--pink {\n color: govuk-shade(govuk-colour(\"pink\"), 40%);\n background: govuk-tint(govuk-colour(\"pink\"), 80%);\n }\n\n .govuk-tag--green {\n color: govuk-shade(govuk-colour(\"green\"), 20%);\n background: govuk-tint(govuk-colour(\"green\"), 80%);\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_tag.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/tag/_tag.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_tag.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -52,3 +52,5 @@
52
52
  }
53
53
  }
54
54
  }
55
+
56
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/textarea/_index.scss"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uBAAuB;AACvB,wBAAwB;;AAExB;EACE;IACE,kDAAkD;;IAElD,sBAAsB,EAAE,wBAAwB;IAChD,cAAc;IACd,WAAW;IACX,gBAAgB;IAChB,6CAA6C;IAC7C,yBAAyB;;IAEzB,gBAAgB;;IAEhB,yEAAyE;IACzE,gBAAgB;;IAEhB,wBAAwB;;IAExB;MACE,qDAAqD;MACrD,+CAA+C;MAC/C,iBAAiB;MACjB,qEAAqE;MACrE,0EAA0E;MAC1E,6DAA6D;MAC7D,wDAAwD;;MAExD;QACE,4DAA4D;QAC5D,iBAAiB;QACjB,kDAAkD;MACpD;IACF;;IAEA;MACE,WAAW;MACX,cAAc;MACd,6BAA6B;MAC7B,mBAAmB;IACrB;EACF;;EAEA;IACE,iCAAiC;;IAEjC;MACE,wCAAwC;IAC1C;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../error-message/index\";\n@import \"../hint/index\";\n@import \"../label/index\";\n\n@include govuk-exports(\"govuk/component/textarea\") {\n .govuk-textarea {\n @include govuk-font($size: 19, $line-height: 1.25);\n\n box-sizing: border-box; // should this be global?\n display: block;\n width: 100%;\n min-height: 40px;\n @include govuk-responsive-margin(6, \"bottom\");\n padding: govuk-spacing(1);\n\n resize: vertical;\n\n border: $govuk-border-width-form-element solid $govuk-input-border-colour;\n border-radius: 0;\n\n -webkit-appearance: none;\n\n &:focus {\n outline: $govuk-focus-width solid $govuk-focus-colour;\n // Ensure outline appears outside of the element\n outline-offset: 0;\n // Double the border by adding its width again. Use `box-shadow` to do\n // this instead of changing `border-width` (which changes element size) and\n // since `outline` is already used for the yellow focus state.\n box-shadow: inset 0 0 0 $govuk-border-width-form-element;\n\n @include _govuk-if-ie8 {\n // IE8 doesn't support `box-shadow` so double the border with\n // `border-width`.\n border-width: $govuk-border-width-form-element * 2;\n }\n }\n\n &:disabled {\n opacity: .5;\n color: inherit;\n background-color: transparent;\n cursor: not-allowed;\n }\n }\n\n .govuk-textarea--error {\n border-color: $govuk-error-colour;\n\n &:focus {\n border-color: $govuk-input-border-colour;\n }\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_textarea.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/textarea/_textarea.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_textarea.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -64,3 +64,5 @@
64
64
  padding-left: 45px;
65
65
  }
66
66
  }
67
+
68
+ /*# sourceMappingURL=_index.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/warning-text/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,kBAAkB;IAClB,6CAA6C;IAC7C,2BAA2B;EAC7B;;EAEA;IACE,8BAA8B;EAChC;;EAEA;IACE,gDAAgD;;IAEhD,sBAAsB;;IAEtB,qBAAqB;;IAErB,kBAAkB;IAClB,OAAO;;IAEP,eAAe;IACf,gBAAgB;IAChB,gBAAgB;;IAEhB;MACE,gBAAgB;IAClB;;IAEA,mFAAmF;IACnF,gEAAgE;IAChE,uCAAuC;IACvC,kBAAkB;;IAElB,4BAA4B;IAC5B,iCAAiC;;IAEjC,eAAe;IACf,iBAAiB;;IAEjB,kBAAkB;;IAElB,wEAAwE;IACxE,yBAAyB;IACzB,yBAAiB;QAAjB,qBAAiB;YAAjB,iBAAiB;;IAEjB,iEAAiE;IACjE,uEAAuE;IACvE,yBAAyB;;IAEzB;MACE,wBAAwB;MACxB,iBAAiB;MACjB,uBAAuB;IACzB;EACF;;EAEA;IACE,6CAA6C;IAC7C,0BAA0B;IAC1B,cAAc;IACd,kBAAkB;EACpB;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/warning-text\") {\n .govuk-warning-text {\n position: relative;\n @include govuk-responsive-margin(6, \"bottom\");\n padding: govuk-spacing(2) 0;\n }\n\n .govuk-warning-text__assistive {\n @include govuk-visually-hidden;\n }\n\n .govuk-warning-text__icon {\n @include govuk-font($size: false, $weight: bold);\n\n box-sizing: border-box;\n\n display: inline-block;\n\n position: absolute;\n left: 0;\n\n min-width: 35px;\n min-height: 35px;\n margin-top: -7px;\n\n @include govuk-media-query($from: tablet) {\n margin-top: -5px;\n }\n\n // When a user customises their colours the background colour will often be removed.\n // Adding a border to the component keeps it's shape as a circle.\n border: 3px solid govuk-colour(\"black\");\n border-radius: 50%;\n\n color: govuk-colour(\"white\");\n background: govuk-colour(\"black\");\n\n font-size: 30px;\n line-height: 29px;\n\n text-align: center;\n\n // Prevent the exclamation mark from being included when the warning text\n // is copied, for example.\n user-select: none;\n\n // Improve rendering in Windows High Contrast Mode (Edge), where a\n // readability backplate behind the exclamation mark obscures the circle\n forced-color-adjust: none;\n\n @media screen and (forced-colors: active) {\n border-color: windowText;\n color: windowText;\n background: transparent;\n }\n }\n\n .govuk-warning-text__text {\n @include govuk-font($size: 19, $weight: bold);\n @include govuk-text-colour;\n display: block;\n padding-left: 45px;\n }\n}\n"]}
@@ -1,2 +1,4 @@
1
1
  @import "../../base";
2
2
  @import "./index";
3
+
4
+ /*# sourceMappingURL=_warning-text.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/govuk/components/warning-text/_warning-text.scss"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,iBAAiB","file":"_warning-text.scss","sourcesContent":["@import \"../../base\";\n@import \"./index\";\n"]}
@@ -4,3 +4,5 @@
4
4
  @import "typography";
5
5
  @import "section-break";
6
6
  @import "global-styles";
7
+
8
+ /*# sourceMappingURL=_all.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/core/_all.scss"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,eAAe;AACf,eAAe;AACf,oBAAoB;AACpB,uBAAuB;AACvB,uBAAuB","file":"_all.scss","sourcesContent":["@import \"govuk-frontend-version\";\n@import \"links\";\n@import \"lists\";\n@import \"typography\";\n@import \"section-break\";\n@import \"global-styles\";\n"]}
@@ -17,3 +17,5 @@
17
17
  @include govuk-global-styles;
18
18
  }
19
19
  }
20
+
21
+ /*# sourceMappingURL=_global-styles.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/core/_global-styles.scss"],"names":[],"mappings":"AAAA,eAAe;AACf,oBAAoB;;AAEpB;EACE;IACE,mBAAmB;EACrB;;EAEA;IACE,qBAAqB;EACvB;AACF;;AAEA;;EAEE;IACE,4BAA4B;EAC9B;AACF","file":"_global-styles.scss","sourcesContent":["@import \"links\";\n@import \"typography\";\n\n@mixin govuk-global-styles {\n a {\n @extend %govuk-link;\n }\n\n p {\n @extend %govuk-body-m;\n }\n}\n\n@include govuk-exports(\"govuk/core/global-styles\") {\n\n @if $govuk-global-styles == true {\n @include govuk-global-styles;\n }\n}\n"]}
@@ -1,5 +1,7 @@
1
1
  :root {
2
2
  // This variable is automatically overwritten during builds and releases.
3
3
  // It doesn't need to be updated manually.
4
- --govuk-frontend-version: "4.7.0";
4
+ --govuk-frontend-version: "4.8.0";
5
5
  }
6
+
7
+ /*# sourceMappingURL=_govuk-frontend-version.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/core/_govuk-frontend-version.scss"],"names":[],"mappings":"AAAA;EACE,wEAAwE;EACxE,yCAAyC;EACzC,iCAAuC;AACzC","file":"_govuk-frontend-version.scss","sourcesContent":[":root {\n // This variable is automatically overwritten during builds and releases.\n // It doesn't need to be updated manually.\n --govuk-frontend-version: \"development\";\n}\n"]}
@@ -33,3 +33,5 @@
33
33
  @include govuk-link-style-no-visited-state;
34
34
  }
35
35
  }
36
+
37
+ /*# sourceMappingURL=_links.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/core/_links.scss"],"names":[],"mappings":"AAAA;;EAEE;IACE,0BAA0B;IAC1B,iCAAiC;IACjC,kCAAkC;EACpC;;EAEA;IACE,mBAAmB;EACrB;;EAEA,2EAA2E;EAC3E,4EAA4E;;EAE5E;IACE,+BAA+B;EACjC;;EAEA;IACE,8BAA8B;EAChC;;EAEA;IACE,iCAAiC;EACnC;;EAEA;IACE,sCAAsC;EACxC;;EAEA;IACE,0CAA0C;EAC5C;AACF","file":"_links.scss","sourcesContent":["@include govuk-exports(\"govuk/core/links\") {\n\n %govuk-link {\n @include govuk-link-common;\n @include govuk-link-style-default;\n @include govuk-link-print-friendly;\n }\n\n .govuk-link {\n @extend %govuk-link;\n }\n\n // Variant classes should always be used in conjunction with the .govuk-link\n // class, so we do not need the common link styles as they will be inherited.\n\n .govuk-link--muted {\n @include govuk-link-style-muted;\n }\n\n .govuk-link--text-colour {\n @include govuk-link-style-text;\n }\n\n .govuk-link--inverse {\n @include govuk-link-style-inverse;\n }\n\n .govuk-link--no-underline {\n @include govuk-link-style-no-underline;\n }\n\n .govuk-link--no-visited-state {\n @include govuk-link-style-no-visited-state;\n }\n}\n"]}
@@ -64,3 +64,5 @@
64
64
  @extend %govuk-list--spaced;
65
65
  }
66
66
  }
67
+
68
+ /*# sourceMappingURL=_lists.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/core/_lists.scss"],"names":[],"mappings":"AAAA;;EAEE;IACE,8BAA8B;IAC9B,0BAA0B;IAC1B,aAAa;IACb,6CAA6C;IAC7C,eAAe;IACf,qBAAqB;;IAErB,mCAAmC;IACnC;MACE,4BAA4B;IAC9B;EACF;;EAEA;IACE,yEAAyE;IACzE,yEAAyE;IACzE,kBAAkB;IAClB,+BAA+B;EACjC;;EAEA;IACE,mBAAmB;EACrB;;EAEA;IACE,8BAA8B;IAC9B,qBAAqB;EACvB;;EAEA;IACE,8BAA8B;IAC9B,wBAAwB;EAC1B;;EAEA;;IAEE,gBAAgB;;IAEhB;MACE,+BAA+B;IACjC;EACF;;EAEA;IACE,+BAA+B;;IAE/B;MACE,+BAA+B;IACjC;EACF;;EAEA;IACE,2BAA2B;EAC7B;;EAEA;IACE,2BAA2B;EAC7B;;EAEA;IACE,2BAA2B;EAC7B;AACF","file":"_lists.scss","sourcesContent":["@include govuk-exports(\"govuk/core/lists\") {\n\n %govuk-list {\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n margin-top: 0;\n @include govuk-responsive-margin(4, \"bottom\");\n padding-left: 0;\n list-style-type: none;\n\n // Add a top margin for nested lists\n %govuk-list {\n margin-top: govuk-spacing(2);\n }\n }\n\n %govuk-list > li {\n // Lists without numbers or bullets should always have extra space between\n // list items. Lists with numbers or bullets only have this extra space on\n // tablet and above\n margin-bottom: govuk-spacing(1);\n }\n\n .govuk-list {\n @extend %govuk-list;\n }\n\n %govuk-list--bullet {\n padding-left: govuk-spacing(4);\n list-style-type: disc;\n }\n\n %govuk-list--number {\n padding-left: govuk-spacing(4);\n list-style-type: decimal;\n }\n\n %govuk-list--bullet > li,\n %govuk-list--number > li {\n margin-bottom: 0;\n\n @include govuk-media-query($from: tablet) {\n margin-bottom: govuk-spacing(1);\n }\n }\n\n %govuk-list--spaced > li {\n margin-bottom: govuk-spacing(2);\n\n @include govuk-media-query($from: tablet) {\n margin-bottom: govuk-spacing(3);\n }\n }\n\n .govuk-list--bullet {\n @extend %govuk-list--bullet;\n }\n\n .govuk-list--number {\n @extend %govuk-list--number;\n }\n\n .govuk-list--spaced {\n @extend %govuk-list--spaced;\n }\n}\n"]}
@@ -54,3 +54,5 @@
54
54
  @extend %govuk-section-break--visible;
55
55
  }
56
56
  }
57
+
58
+ /*# sourceMappingURL=_section-break.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/core/_section-break.scss"],"names":[],"mappings":"AAAA;;EAEE;IACE,SAAS;IACT,SAAS;;IAET,iEAAiE;IACjE,kDAAkD;IAClD;MACE,SAAS;IACX;EACF;;EAEA;IACE,4BAA4B;EAC9B;;EAEA,OAAO;;EAEP;IACE,0CAA0C;IAC1C,6CAA6C;EAC/C;;EAEA;IACE,gCAAgC;EAClC;;EAEA;IACE,0CAA0C;IAC1C,6CAA6C;EAC/C;;EAEA;IACE,+BAA+B;EACjC;;EAEA;IACE,0CAA0C;IAC1C,6CAA6C;EAC/C;;EAEA;IACE,+BAA+B;EACjC;;EAEA,iBAAiB;;EAEjB;IACE,6CAA6C;EAC/C;;EAEA;IACE,qCAAqC;EACvC;AACF","file":"_section-break.scss","sourcesContent":["@include govuk-exports(\"govuk/core/section-break\") {\n\n %govuk-section-break {\n margin: 0;\n border: 0;\n\n // fix double-width section break and forced visible section break\n // when combined with styles from alphagov/elements\n @include _govuk-compatibility(govuk_elements) {\n height: 0;\n }\n }\n\n .govuk-section-break {\n @extend %govuk-section-break;\n }\n\n // Sizes\n\n %govuk-section-break--xl {\n @include govuk-responsive-margin(8, \"top\");\n @include govuk-responsive-margin(8, \"bottom\");\n }\n\n .govuk-section-break--xl {\n @extend %govuk-section-break--xl;\n }\n\n %govuk-section-break--l {\n @include govuk-responsive-margin(6, \"top\");\n @include govuk-responsive-margin(6, \"bottom\");\n }\n\n .govuk-section-break--l {\n @extend %govuk-section-break--l;\n }\n\n %govuk-section-break--m {\n @include govuk-responsive-margin(4, \"top\");\n @include govuk-responsive-margin(4, \"bottom\");\n }\n\n .govuk-section-break--m {\n @extend %govuk-section-break--m;\n }\n\n // Visible variant\n\n %govuk-section-break--visible {\n border-bottom: 1px solid $govuk-border-colour;\n }\n\n .govuk-section-break--visible {\n @extend %govuk-section-break--visible;\n }\n}\n"]}
@@ -184,3 +184,5 @@
184
184
  }
185
185
  }
186
186
  }
187
+
188
+ /*# sourceMappingURL=_typography.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/core/_typography.scss"],"names":[],"mappings":"AAAA;;EAEE,UAAU;;EAEV;IACE,0BAA0B;IAC1B,6CAA6C;;IAE7C,cAAc;;IAEd,aAAa;IACb,6CAA6C;EAC/C;;EAEA;IACE,yBAAyB;EAC3B;;EAEA;IACE,0BAA0B;IAC1B,6CAA6C;;IAE7C,cAAc;;IAEd,aAAa;IACb,6CAA6C;EAC/C;;EAEA;IACE,wBAAwB;EAC1B;;EAEA;IACE,0BAA0B;IAC1B,6CAA6C;;IAE7C,cAAc;;IAEd,aAAa;IACb,6CAA6C;EAC/C;;EAEA;IACE,wBAAwB;EAC1B;;EAEA;IACE,0BAA0B;IAC1B,6CAA6C;;IAE7C,cAAc;;IAEd,aAAa;IACb,6CAA6C;EAC/C;;EAEA;IACE,wBAAwB;EAC1B;;EAEA,qCAAqC;;EAErC;IACE,8BAA8B;;IAE9B,cAAc;;IAEd,+BAA+B;;IAE/B,mCAAmC;EACrC;;EAEA;IACE,8BAA8B;;IAE9B,cAAc;;IAEd,+BAA+B;IAC/B,mCAAmC;;IAEnC;MACE,gBAAgB;IAClB;EACF;;EAEA;IACE,8BAA8B;;IAE9B,cAAc;;IAEd,mCAAmC;EACrC;;EAEA,mBAAmB;;EAEnB;IACE,0BAA0B;IAC1B,8BAA8B;;IAE9B,aAAa;IACb,6CAA6C;EAC/C;;EAEA;IACE,qBAAqB;EACvB;;EAEA;IACE,0BAA0B;IAC1B,8BAA8B;;IAE9B,aAAa;IACb,6CAA6C;EAC/C;;EAEA;IACE,qBAAqB;EACvB;;EAEA;IACE,0BAA0B;IAC1B,8BAA8B;;IAE9B,aAAa;IACb,6CAA6C;EAC/C;;EAEA;IACE,qBAAqB;EACvB;;EAEA;IACE,0BAA0B;IAC1B,8BAA8B;;IAE9B,aAAa;IACb,6CAA6C;EAC/C;;EAEA;IACE,sBAAsB;EACxB;;EAEA,eAAe;;EAEf,6EAA6E;EAC7E,oCAAoC;;EAEpC;IACE,qBAAqB;EACvB;;EAEA;IACE,qBAAqB;EACvB;;EAEA,wBAAwB;EACxB,oEAAoE;;EAEpE;IACE,6BAA6B;;IAE7B;MACE,6BAA6B;IAC/B;EACF;;EAEA;;;IAGE,2CAA2C;EAC7C;;EAEA;;;;;;IAME,6BAA6B;;IAE7B;MACE,6BAA6B;IAC/B;EACF;AACF","file":"_typography.scss","sourcesContent":["@include govuk-exports(\"govuk/core/typography\") {\n\n // Headings\n\n %govuk-heading-xl {\n @include govuk-text-colour;\n @include govuk-font($size: 48, $weight: bold);\n\n display: block;\n\n margin-top: 0;\n @include govuk-responsive-margin(8, \"bottom\");\n }\n\n .govuk-heading-xl {\n @extend %govuk-heading-xl;\n }\n\n %govuk-heading-l {\n @include govuk-text-colour;\n @include govuk-font($size: 36, $weight: bold);\n\n display: block;\n\n margin-top: 0;\n @include govuk-responsive-margin(6, \"bottom\");\n }\n\n .govuk-heading-l {\n @extend %govuk-heading-l;\n }\n\n %govuk-heading-m {\n @include govuk-text-colour;\n @include govuk-font($size: 24, $weight: bold);\n\n display: block;\n\n margin-top: 0;\n @include govuk-responsive-margin(4, \"bottom\");\n }\n\n .govuk-heading-m {\n @extend %govuk-heading-m;\n }\n\n %govuk-heading-s {\n @include govuk-text-colour;\n @include govuk-font($size: 19, $weight: bold);\n\n display: block;\n\n margin-top: 0;\n @include govuk-responsive-margin(4, \"bottom\");\n }\n\n .govuk-heading-s {\n @extend %govuk-heading-s;\n }\n\n // Captions to be used inside headings\n\n .govuk-caption-xl {\n @include govuk-font($size: 27);\n\n display: block;\n\n margin-bottom: govuk-spacing(1);\n\n color: $govuk-secondary-text-colour;\n }\n\n .govuk-caption-l {\n @include govuk-font($size: 24);\n\n display: block;\n\n margin-bottom: govuk-spacing(1);\n color: $govuk-secondary-text-colour;\n\n @include govuk-media-query($from: tablet) {\n margin-bottom: 0;\n }\n }\n\n .govuk-caption-m {\n @include govuk-font($size: 19);\n\n display: block;\n\n color: $govuk-secondary-text-colour;\n }\n\n // Body (paragraphs)\n\n %govuk-body-l {\n @include govuk-text-colour;\n @include govuk-font($size: 24);\n\n margin-top: 0;\n @include govuk-responsive-margin(6, \"bottom\");\n }\n\n .govuk-body-l {\n @extend %govuk-body-l;\n }\n\n %govuk-body-m {\n @include govuk-text-colour;\n @include govuk-font($size: 19);\n\n margin-top: 0;\n @include govuk-responsive-margin(4, \"bottom\");\n }\n\n .govuk-body-m {\n @extend %govuk-body-m;\n }\n\n %govuk-body-s {\n @include govuk-text-colour;\n @include govuk-font($size: 16);\n\n margin-top: 0;\n @include govuk-responsive-margin(4, \"bottom\");\n }\n\n .govuk-body-s {\n @extend %govuk-body-s;\n }\n\n %govuk-body-xs {\n @include govuk-text-colour;\n @include govuk-font($size: 14);\n\n margin-top: 0;\n @include govuk-responsive-margin(4, \"bottom\");\n }\n\n .govuk-body-xs {\n @extend %govuk-body-xs;\n }\n\n // Usage aliases\n\n // Using extend to alias means we also inherit any contextual adjustments that\n // refer to the 'original' class name\n\n .govuk-body-lead {\n @extend %govuk-body-l;\n }\n\n .govuk-body {\n @extend %govuk-body-m;\n }\n\n // Contextual adjustments\n // Add top padding to headings that appear directly after paragraphs.\n\n %govuk-body-l + %govuk-heading-l {\n padding-top: govuk-spacing(1);\n\n @include govuk-media-query($from: tablet) {\n padding-top: govuk-spacing(2);\n }\n }\n\n %govuk-body-m + %govuk-heading-l,\n %govuk-body-s + %govuk-heading-l,\n %govuk-list + %govuk-heading-l {\n @include govuk-responsive-padding(4, \"top\");\n }\n\n %govuk-body-m + %govuk-heading-m,\n %govuk-body-s + %govuk-heading-m,\n %govuk-list + %govuk-heading-m,\n %govuk-body-m + %govuk-heading-s,\n %govuk-body-s + %govuk-heading-s,\n %govuk-list + %govuk-heading-s {\n padding-top: govuk-spacing(1);\n\n @include govuk-media-query($from: tablet) {\n padding-top: govuk-spacing(2);\n }\n }\n}\n"]}
@@ -10,3 +10,5 @@
10
10
  @import "spacing";
11
11
  @import "typography";
12
12
  @import "visually-hidden";
13
+
14
+ /*# sourceMappingURL=_all.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/helpers/_all.scss"],"names":[],"mappings":"AAAA,kBAAkB;AAClB,gBAAgB;AAChB,uBAAuB;AACvB,iBAAiB;AACjB,oBAAoB;AACpB,cAAc;AACd,eAAe;AACf,uBAAuB;AACvB,qBAAqB;AACrB,iBAAiB;AACjB,oBAAoB;AACpB,yBAAyB","file":"_all.scss","sourcesContent":["@import \"clearfix\";\n@import \"colour\";\n@import \"device-pixels\";\n@import \"focused\";\n@import \"font-faces\";\n@import \"grid\";\n@import \"links\";\n@import \"media-queries\";\n@import \"shape-arrow\";\n@import \"spacing\";\n@import \"typography\";\n@import \"visually-hidden\";\n"]}
@@ -13,3 +13,5 @@
13
13
  clear: both;
14
14
  }
15
15
  }
16
+
17
+ /*# sourceMappingURL=_clearfix.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/helpers/_clearfix.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,wBAAwB;AACxB,GAAG;;AAEH,kEAAkE;AAClE,EAAE;AACF,iBAAiB;;AAEjB;EACE;IACE,WAAW;IACX,cAAc;IACd,WAAW;EACb;AACF","file":"_clearfix.scss","sourcesContent":["////\n/// @group helpers/layout\n////\n\n/// Clear floated content within a container using a pseudo element\n///\n/// @access public\n\n@mixin govuk-clearfix {\n &:after {\n content: \"\";\n display: block;\n clear: both;\n }\n}\n"]}
@@ -96,3 +96,5 @@
96
96
  @function govuk-tint($colour, $percentage) {
97
97
  @return mix(govuk-colour("white"), $colour, $percentage);
98
98
  }
99
+
100
+ /*# sourceMappingURL=_colour.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/helpers/_colour.scss"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,qCAAqC;AACrC,2CAA2C;;AAE3C,GAAG;AACH,wBAAwB;AACxB,GAAG;;AAEH,aAAa;AACb,EAAE;AACF,4EAA4E;AAC5E,uBAAuB;AACvB,8EAA8E;AAC9E,4EAA4E;AAC5E,mEAAmE;AACnE,kDAAkD;AAClD,EAAE;AACF,wDAAwD;AACxD,UAAU;AACV,qEAAqE;AACrE,KAAK;AACL,EAAE;AACF,+CAA+C;AAC/C,UAAU;AACV,iEAAiE;AACjE,KAAK;AACL,EAAE;AACF,8DAA8D;AAC9D,iBAAiB;;AAEjB;EACE;IACE;MACE,eAAe;IACjB;IACA,gBAAgB;EAClB;;EAEA;IACE,0EAA0E;IAC1E,4BAA4B;EAC9B;;EAEA;IACE,oCAAoC;EACtC;;EAEA,wCAAwC;AAC1C;;AAEA,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,2EAA2E;AAC3E,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,0DAA0D;AAC1D,EAAE;AACF,6DAA6D;AAC7D,wDAAwD;AACxD,iBAAiB;;AAEjB;EACE;IACE,gDAAgD;EAClD;;EAEA,iEAAiE;;EAEjE;IACE,4CAA4C;EAC9C,EAAE;IACA,oCAAoC;EACtC;AACF;;AAEA,+CAA+C;AAC/C,EAAE;AACF,4CAA4C;AAC5C,wEAAwE;AACxE,mBAAmB;AACnB,iBAAiB;;AAEjB;EACE,0CAA0C;AAC5C;;AAEA,gDAAgD;AAChD,EAAE;AACF,2CAA2C;AAC3C,wEAAwE;AACxE,mBAAmB;AACnB,iBAAiB;;AAEjB;EACE,wDAAwD;AAC1D","file":"_colour.scss","sourcesContent":["@import \"../settings/compatibility\";\n@import \"../settings/colours-palette\";\n@import \"../settings/colours-organisations\";\n\n////\n/// @group helpers/colour\n////\n\n/// Get colour\n///\n/// @param {String | Colour} $colour - Name of colour from the colour palette\n/// (`$govuk-colours`)\n/// @param {String} $legacy - Either the name of colour from the legacy palette\n/// or a colour literal, to return instead when in 'legacy mode' - matching\n/// the palette from GOV.UK Template, Elements or Frontend Toolkit\n/// @return {Colour} Representation of named colour\n///\n/// @example scss - Using legacy colours from the palette\n/// .foo {\n/// background-colour: govuk-colour(\"mid-grey\", $legacy: \"grey-2\");\n/// }\n///\n/// @example scss - Using legacy colour literals\n/// .foo {\n/// background-colour: govuk-colour(\"green\", $legacy: #BADA55);\n/// }\n///\n/// @throw if `$colour` is not a colour from the colour palette\n/// @access public\n\n@function govuk-colour($colour, $legacy: false) {\n @if $govuk-use-legacy-palette and $legacy {\n @if type-of($legacy) == \"color\" {\n @return $legacy;\n }\n $colour: $legacy;\n }\n\n @if type-of($colour) == \"color\" {\n // stylelint-disable-next-line scss/function-quote-no-quoted-strings-inside\n $colour: quote(\"#{$colour}\");\n }\n\n @if not map-has-key($govuk-colours, $colour) {\n @error \"Unknown colour `#{$colour}`\";\n }\n\n @return map-get($govuk-colours, $colour);\n}\n\n/// Get the colour for a government organisation\n///\n/// @param {String} $organisation - Organisation name, lowercase, hyphenated\n/// @param {Boolean} $websafe [true] - By default a 'websafe' version of the\n/// colour will be returned which meets contrast requirements . If you want to\n/// use the non-websafe version you can set this to `false` but your should\n/// ensure that you still meets contrast requirements for accessibility - for\n/// example, do not use the non-websafe version for text.\n///\n/// @return {Colour} Representation of colour for organisation\n/// @throw if `$organisation` is not a known organisation\n/// @access public\n\n@function govuk-organisation-colour($organisation, $websafe: true) {\n @if not map-has-key($govuk-colours-organisations, $organisation) {\n @error \"Unknown organisation `#{$organisation}`\";\n }\n\n $org-colour: map-get($govuk-colours-organisations, $organisation);\n\n @if $websafe and map-has-key($org-colour, colour-websafe) {\n @return map-get($org-colour, colour-websafe);\n } @else {\n @return map-get($org-colour, colour);\n }\n}\n\n/// Make a colour darker by mixing it with black\n///\n/// @param {Colour} $colour - colour to shade\n/// @param {Number} $percentage - percentage of black to mix with $colour\n/// @return {Colour}\n/// @access public\n\n@function govuk-shade($colour, $percentage) {\n @return mix(#000000, $colour, $percentage);\n}\n\n/// Make a colour lighter by mixing it with white\n///\n/// @param {Colour} $colour - colour to tint\n/// @param {Number} $percentage - percentage of white to mix with $colour\n/// @return {Colour}\n/// @access public\n\n@function govuk-tint($colour, $percentage) {\n @return mix(govuk-colour(\"white\"), $colour, $percentage);\n}\n"]}
@@ -35,3 +35,5 @@
35
35
  @content;
36
36
  }
37
37
  }
38
+
39
+ /*# sourceMappingURL=_device-pixels.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/helpers/_device-pixels.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,iBAAiB;AACjB,GAAG;;AAEH,qDAAqD;AACrD,EAAE;AACF,kDAAkD;AAClD,mEAAmE;AACnE,EAAE;AACF,oEAAoE;AACpE,uDAAuD;AACvD,EAAE;AACF,wCAAwC;AACxC,4DAA4D;AAC5D,MAAM;AACN,EAAE;AACF,uCAAuC;AACvC,uDAAuD;AACvD,EAAE;AACF,wCAAwC;AACxC,4DAA4D;AAC5D,MAAM;AACN,EAAE;AACF,2CAA2C;AAC3C,4DAA4D;AAC5D,MAAM;AACN,EAAE;AACF,iBAAiB;;AAEjB;EACE,+BAA+B;EAC/B;;;MAII,QAAQ;IACV;AACJ","file":"_device-pixels.scss","sourcesContent":["////\n/// @group helpers\n////\n\n/// Media query for retina images (device-pixel-ratio)\n///\n/// @param {Number} $ratio [2] - Device pixel ratio\n/// @content Passed content will be outputted within the media query\n///\n/// @example scss - Providing a @2x image for screens that support it\n/// background-image: govuk-image-url(\"my-image.png\");\n///\n/// @include govuk-device-pixel-ratio {\n/// background-image: govuk-image-url(\"my-image-2x.png\");\n/// }\n///\n/// @example scss - Using a custom ratio\n/// background-image: govuk-image-url(\"my-image.png\");\n///\n/// @include govuk-device-pixel-ratio {\n/// background-image: govuk-image-url(\"my-image-2x.png\");\n/// }\n///\n/// @include govuk-device-pixel-ratio(3) {\n/// background-image: govuk-image-url(\"my-image-3x.png\");\n/// }\n///\n/// @access public\n\n@mixin govuk-device-pixel-ratio($ratio: 2) {\n // stylelint-disable indentation\n @media only screen and (-webkit-min-device-pixel-ratio: $ratio),\n only screen and (-o-min-device-pixel-ratio: #{($ratio * 10)} / 10),\n only screen and (min-resolution: #{($ratio * 96)}dpi),\n only screen and (min-resolution: #{$ratio}dppx) {\n @content;\n }\n}\n"]}
@@ -31,3 +31,5 @@
31
31
  -webkit-box-decoration-break: clone;
32
32
  box-decoration-break: clone;
33
33
  }
34
+
35
+ /*# sourceMappingURL=_focused.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/helpers/_focused.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,+BAA+B;AAC/B,GAAG;;AAEH,eAAe;AACf,EAAE;AACF,8EAA8E;AAC9E,4CAA4C;AAC5C,EAAE;AACF,iBAAiB;;AAEjB;EACE,uEAAuE;EACvE,uEAAuE;EACvE,4DAA4D;;EAE5D,6EAA6E;EAC7E,qBAAqB;EACrB;IACE,6CAA6C;EAC/C;EACA,+BAA+B;EAC/B,qCAAqC;EACrC,sEAAsE;EACtE,6DAA6D;EAC7D,iCAAiC;EACjC,qBAAqB;;EAErB,oEAAoE;EACpE,uDAAuD;EACvD,mCAA2B;UAA3B,2BAA2B;AAC7B","file":"_focused.scss","sourcesContent":["////\n/// @group helpers/accessibility\n////\n\n/// Focused text\n///\n/// Provides an outline to clearly indicate when the target element is focused.\n/// Used for interactive text-based elements.\n///\n/// @access public\n\n@mixin govuk-focused-text {\n // When colours are overridden, for example when users have a dark mode,\n // backgrounds and box-shadows disappear, so we need to ensure there's a\n // transparent outline which will be set to a visible colour.\n\n // Since Internet Explorer 8 does not support box-shadow, we want to force the\n // user-agent outlines\n @include _govuk-not-ie8 {\n outline: $govuk-focus-width solid transparent;\n }\n color: $govuk-focus-text-colour;\n background-color: $govuk-focus-colour;\n box-shadow: 0 -2px $govuk-focus-colour, 0 4px $govuk-focus-text-colour;\n // When link is focussed, hide the default underline since the\n // box shadow adds the \"underline\"\n text-decoration: none;\n\n // When a focused box is broken by e.g. a line break, ensure that the\n // box-shadow is applied to each fragment independently.\n box-decoration-break: clone;\n}\n"]}
@@ -39,3 +39,5 @@
39
39
  }
40
40
  }
41
41
  }
42
+
43
+ /*# sourceMappingURL=_font-faces.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/helpers/_font-faces.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,iBAAiB;AACjB,GAAG;;AAEH,0BAA0B;;AAE1B,4BAA4B;AAC5B,EAAE;AACF,sFAAsF;AACtF,+BAA+B;AAC/B,EAAE;AACF,kBAAkB;;AAElB;EACE,0BAA0B,uEAAuE;IAC/F;MACE;QACE,mLAAmL,EAAE,iDAAiD;QACtO;UACE,4BAA4B;UAC5B,kBAAkB;UAClB,mBAAmB;UACnB;;qEAE2D;UAC3D,sBAAsB;QACxB;;QAEA;UACE,4BAA4B;UAC5B,kBAAkB;UAClB,iBAAiB;UACjB;;oEAE0D;UAC1D,sBAAsB;QACxB;MACF;IACF;EACF;AACF","file":"_font-faces.scss","sourcesContent":["////\n/// @group helpers\n////\n\n@import \"../tools/exports\";\n\n/// Font Face - GDS Transport\n///\n/// Outputs the font-face declaration for GDS Transport at the root of the CSS document\n/// the first time it is called.\n///\n/// @access private\n\n@mixin _govuk-font-face-gds-transport {\n @include _govuk-not-ie8 { // In IE8, which cannot render WOFF format, we fall back to system fonts\n @include govuk-exports(\"govuk/helpers/font-faces\") {\n @at-root {\n /*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */ /* stylelint-disable-line scss/comment-no-loud */\n @font-face {\n font-family: \"GDS Transport\";\n font-style: normal;\n font-weight: normal;\n src:\n govuk-font-url(\"light-94a07e06a1-v2.woff2\") format(\"woff2\"),\n govuk-font-url(\"light-f591b13f7d-v2.woff\") format(\"woff\");\n font-display: fallback;\n }\n\n @font-face {\n font-family: \"GDS Transport\";\n font-style: normal;\n font-weight: bold;\n src:\n govuk-font-url(\"bold-b542beb274-v2.woff2\") format(\"woff2\"),\n govuk-font-url(\"bold-affa96571d-v2.woff\") format(\"woff\");\n font-display: fallback;\n }\n }\n }\n }\n}\n"]}
@@ -59,3 +59,5 @@
59
59
  float: $float;
60
60
  }
61
61
  }
62
+
63
+ /*# sourceMappingURL=_grid.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/helpers/_grid.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,wBAAwB;AACxB,GAAG;;AAEH,wBAAwB;AACxB,EAAE;AACF,8DAA8D;AAC9D,oCAAoC;AACpC,6CAA6C;AAC7C,iBAAiB;;AAEjB;EACE;IACE,yCAAyC;EAC3C;;EAEA,qCAAqC;AACvC;;AAEA,8BAA8B;AAC9B,EAAE;AACF,kEAAkE;AAClE,EAAE;AACF,2DAA2D;AAC3D,EAAE;AACF,0EAA0E;AAC1E,8EAA8E;AAC9E,aAAa;AACb,EAAE;AACF,6EAA6E;AAC7E,6CAA6C;AAC7C,mFAAmF;AACnF,EAAE;AACF,0BAA0B;AAC1B,oCAAoC;AACpC,6CAA6C;AAC7C,MAAM;AACN,EAAE;AACF,+EAA+E;AAC/E,6CAA6C;AAC7C,0DAA0D;AAC1D,MAAM;AACN,EAAE;AACF,kDAAkD;AAClD,wCAAwC;AACxC,6DAA6D;AAC7D,MAAM;AACN,EAAE;AACF,iBAAiB;;AAEjB;EACE,sBAAsB;EACtB;IACE,WAAW;EACb;EACA,6BAA6B;EAC7B;IACE,+BAA+B;IAC/B,aAAa;EACf;AACF","file":"_grid.scss","sourcesContent":["////\n/// @group helpers/layout\n////\n\n/// Grid width percentage\n///\n/// @param {String} $key - Name of grid width (e.g. two-thirds)\n/// @return {Number} Percentage width\n/// @throw if `$key` is not a valid grid width\n/// @access public\n\n@function govuk-grid-width($key) {\n @if map-has-key($govuk-grid-widths, $key) {\n @return map-get($govuk-grid-widths, $key);\n }\n\n @error \"Unknown grid width `#{$key}`\";\n}\n\n/// Generate grid column styles\n///\n/// Creates a grid column with standard gutter between the columns.\n///\n/// Grid widths are defined in the `$govuk-grid-widths` map.\n///\n/// By default the column width changes from 100% to specified width at the\n/// 'tablet' breakpoint, but other breakpoints can be specified using the `$at`\n/// parameter.\n///\n/// @param {String} $width [full] name of a grid width from $govuk-grid-widths\n/// @param {String} $float [left] left | right\n/// @param {String} $at [tablet] - mobile | tablet | desktop | any custom breakpoint\n///\n/// @example scss - Default\n/// .govuk-grid-column-two-thirds {\n/// @include govuk-grid-column(two-thirds)\n/// }\n///\n/// @example scss - Customising the breakpoint where width percentage is applied\n/// .govuk-grid-column-one-half-at-desktop {\n/// @include govuk-grid-column(one-half, $at: desktop);\n/// }\n///\n/// @example scss - Customising the float direction\n/// .govuk-grid-column-one-half-right {\n/// @include govuk-grid-column(two-thirds, $float: right);\n/// }\n///\n/// @access public\n\n@mixin govuk-grid-column($width: full, $float: left, $at: tablet) {\n box-sizing: border-box;\n @if $at != desktop {\n width: 100%;\n }\n padding: 0 $govuk-gutter-half;\n @include govuk-media-query($from: $at) {\n width: govuk-grid-width($width);\n float: $float;\n }\n}\n"]}
@@ -427,3 +427,5 @@
427
427
  }
428
428
  }
429
429
  }
430
+
431
+ /*# sourceMappingURL=_links.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/helpers/_links.scss"],"names":[],"mappings":"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","file":"_links.scss","sourcesContent":["////\n/// @group helpers/links\n////\n\n/// Common link styles\n///\n/// Provides the typography and focus state, regardless of link style.\n///\n/// @access public\n\n@mixin govuk-link-common {\n @include govuk-typography-common;\n @include govuk-link-decoration;\n\n &:hover {\n @include govuk-link-hover-decoration;\n }\n\n &:focus {\n @include govuk-focused-text;\n }\n}\n\n/// Link decoration\n///\n/// Provides the text decoration for links, including thickness and underline\n/// offset. Use this mixin only if you cannot use the `govuk-link-common` mixin.\n///\n/// @access public\n@mixin govuk-link-decoration {\n text-decoration: underline;\n\n @if $govuk-new-link-styles {\n @if $govuk-link-underline-thickness {\n text-decoration-thickness: $govuk-link-underline-thickness;\n }\n\n @if $govuk-link-underline-offset {\n text-underline-offset: $govuk-link-underline-offset;\n }\n }\n}\n\n/// Link hover decoration\n///\n/// Provides the text decoration for links in their hover state, for you to use\n/// within a `:hover` pseudo-selector. Use this mixin only if you cannot use the\n/// `govuk-link-common` mixin.\n///\n/// @access public\n\n@mixin govuk-link-hover-decoration {\n @if $govuk-new-link-styles and $govuk-link-hover-underline-thickness {\n text-decoration-thickness: $govuk-link-hover-underline-thickness;\n // Disable ink skipping on underlines on hover. Browsers haven't\n // standardised on this part of the spec yet, so set both properties\n text-decoration-skip-ink: none; // Chromium, Firefox\n text-decoration-skip: none; // Safari\n }\n}\n\n/// Default link styles\n///\n/// Makes links use the default unvisited, visited, hover and active colours.\n///\n/// If you use this mixin in a component, you must also include the\n/// `govuk-link-common` mixin to get the correct focus and hover states.\n///\n/// @example scss\n/// .govuk-component__link {\n/// @include govuk-link-common;\n/// @include govuk-link-style-default;\n/// }\n///\n/// @access public\n\n@mixin govuk-link-style-default {\n &:link {\n color: $govuk-link-colour;\n }\n\n &:visited {\n color: $govuk-link-visited-colour;\n }\n\n &:hover {\n color: $govuk-link-hover-colour;\n }\n\n &:active {\n color: $govuk-link-active-colour;\n }\n\n // When focussed, the text colour needs to be darker to ensure that colour\n // contrast is still acceptable\n &:focus {\n color: $govuk-focus-text-colour;\n }\n\n // alphagov/govuk_template includes a specific a:link:focus selector\n // designed to make unvisited link s a slightly darker blue when focussed, so\n // we need to override the text colour for that combination of selectors so\n // so that unvisited links styled as buttons do not end up with dark blue\n // text when focussed.\n @include _govuk-compatibility(govuk_template) {\n &:link:focus {\n color: $govuk-focus-text-colour;\n }\n }\n}\n\n/// Error link styles\n///\n/// Makes links use the error colour. The link will darken if it's active or a\n/// user hovers their cursor over it.\n///\n/// If you use this mixin in a component, you must also include the\n/// `govuk-link-common` mixin to get the correct focus and hover states.\n///\n/// @example scss\n/// .govuk-component__link {\n/// @include govuk-link-common;\n/// @include govuk-link-style-error;\n/// }\n///\n/// @access public\n\n@mixin govuk-link-style-error {\n &:link,\n &:visited {\n color: $govuk-error-colour;\n }\n\n &:hover {\n color: scale-color($govuk-error-colour, $lightness: -30%);\n }\n\n &:active {\n color: $govuk-error-colour;\n }\n\n // When focussed, the text colour needs to be darker to ensure that colour\n // contrast is still acceptable\n &:focus {\n color: $govuk-focus-text-colour;\n }\n\n // alphagov/govuk_template includes a specific a:link:focus selector\n // designed to make unvisited link s a slightly darker blue when focussed, so\n // we need to override the text colour for that combination of selectors so\n // so that unvisited links styled as buttons do not end up with dark blue\n // text when focussed.\n @include _govuk-compatibility(govuk_template) {\n &:link:focus {\n color: $govuk-focus-text-colour;\n }\n }\n}\n\n/// Success link styles\n///\n/// Makes links use the success colour. The link will darken if it's active or a\n/// user hovers their cursor over it.\n///\n/// If you use this mixin in a component, you must also include the\n/// `govuk-link-common` mixin to get the correct focus and hover states.\n///\n/// @example scss\n/// .govuk-component__link {\n/// @include govuk-link-common;\n/// @include govuk-link-style-success;\n/// }\n///\n/// @access public\n\n@mixin govuk-link-style-success {\n &:link,\n &:visited {\n color: $govuk-success-colour;\n }\n\n &:hover {\n color: scale-color($govuk-success-colour, $lightness: -30%);\n }\n\n &:active {\n color: $govuk-success-colour;\n }\n\n // When focussed, the text colour needs to be darker to ensure that colour\n // contrast is still acceptable\n &:focus {\n color: $govuk-focus-text-colour;\n }\n\n // alphagov/govuk_template includes a specific a:link:focus selector\n // designed to make unvisited link s a slightly darker blue when focussed, so\n // we need to override the text colour for that combination of selectors so\n // so that unvisited links styled as buttons do not end up with dark blue\n // text when focussed.\n @include _govuk-compatibility(govuk_template) {\n &:link:focus {\n color: $govuk-focus-text-colour;\n }\n }\n}\n\n/// Muted link styles\n///\n/// Makes links use the secondary text colour. The link will darken if it's\n/// active or a user hovers their cursor over it.\n///\n/// If you use this mixin in a component, you must also include the\n/// `govuk-link-common` mixin to get the correct focus and hover states.\n///\n/// @example scss\n/// .govuk-component__link {\n/// @include govuk-link-common;\n/// @include govuk-link-style-muted;\n/// }\n///\n/// @access public\n\n@mixin govuk-link-style-muted {\n &:link,\n &:visited {\n color: $govuk-secondary-text-colour;\n }\n\n &:hover,\n &:active {\n color: $govuk-text-colour;\n }\n\n // When focussed, the text colour needs to be darker to ensure that colour\n // contrast is still acceptable\n &:focus {\n color: $govuk-focus-text-colour;\n }\n\n // alphagov/govuk_template includes a specific a:link:focus selector designed\n // to make unvisited links a slightly darker blue when focussed, so we need to\n // override the text colour for that combination of selectors.\n @include _govuk-compatibility(govuk_template) {\n &:link:focus {\n @include govuk-text-colour;\n }\n }\n}\n\n/// Text link styles\n///\n/// Makes links use the primary text colour, in all states. Use this mixin for\n/// navigation components, such as breadcrumbs or the back link.\n///\n/// If you use this mixin in a component, you must also include the\n/// `govuk-link-common` mixin to get the correct focus and hover states.\n///\n/// @example scss\n/// .govuk-component__link {\n/// @include govuk-link-common;\n/// @include govuk-link-style-text;\n/// }\n///\n/// @access public\n\n@mixin govuk-link-style-text {\n &:link,\n &:visited {\n @include govuk-text-colour;\n }\n\n // Force a colour change on hover to work around a bug in Safari\n // https://bugs.webkit.org/show_bug.cgi?id=224483\n &:hover {\n @if type-of($govuk-text-colour) == color {\n color: rgba($govuk-text-colour, .99);\n }\n }\n\n &:active,\n &:focus {\n @include govuk-text-colour;\n }\n\n // alphagov/govuk_template includes a specific a:link:focus selector designed\n // to make unvisited links a slightly darker blue when focussed, so we need to\n // override the text colour for that combination of selectors.\n @include _govuk-compatibility(govuk_template) {\n &:link:focus {\n @include govuk-text-colour;\n }\n }\n}\n\n/// Inverse link styles\n///\n/// Makes links white, in all states. Use this mixin if you're displaying links\n/// against a dark background.\n///\n/// If you use this mixin in a component, you must also include the\n/// `govuk-link-common` mixin to get the correct focus and hover states.\n///\n/// @example scss\n/// .govuk-component__link {\n/// @include govuk-link-common;\n/// @include govuk-link-style-inverse;\n/// }\n///\n/// @access public\n\n@mixin govuk-link-style-inverse {\n &:link,\n &:visited {\n color: govuk-colour(\"white\");\n }\n\n // Force a colour change on hover to work around a bug in Safari\n // https://bugs.webkit.org/show_bug.cgi?id=224483\n &:hover,\n &:active {\n color: rgba(govuk-colour(\"white\"), .99);\n }\n\n &:focus {\n color: $govuk-focus-text-colour;\n }\n\n // alphagov/govuk_template includes a specific a:link:focus selector designed\n // to make unvisited links a slightly darker blue when focussed, so we need to\n // override the text colour for that combination of selectors.\n @include _govuk-compatibility(govuk_template) {\n &:link:focus {\n color: $govuk-focus-text-colour;\n }\n }\n}\n\n/// Default link styles, without a visited state\n///\n/// Makes links use the default unvisited, hover and active colours, with no\n/// distinct visited state.\n///\n/// Use this mixin when it's not helpful to distinguish between visited and\n/// non-visited links. For example, when you link to pages with\n/// frequently-changing content, such as the dashboard for an admin interface.\n///\n/// If you use this mixin in a component, you must also include the\n/// `govuk-link-common` mixin to get the correct focus and hover states.\n///\n/// @example scss\n/// .govuk-component__link {\n/// @include govuk-link-common;\n/// @include govuk-link-style-no-visited-state;\n/// }\n///\n/// @access public\n\n@mixin govuk-link-style-no-visited-state {\n &:link {\n color: $govuk-link-colour;\n }\n\n &:visited {\n color: $govuk-link-colour;\n }\n\n &:hover {\n color: $govuk-link-hover-colour;\n }\n\n &:active {\n color: $govuk-link-active-colour;\n }\n\n // When focussed, the text colour needs to be darker to ensure that colour\n // contrast is still acceptable\n &:focus {\n color: $govuk-focus-text-colour;\n }\n}\n\n/// Remove underline from links\n///\n/// Remove underlines from links unless the link is active or a user hovers\n/// their cursor over it. This has no effect in Internet Explorer 8 (IE8),\n/// because IE8 does not support `:not`.\n///\n/// @example scss\n/// .govuk-component__link {\n/// @include govuk-link-common;\n/// @include govuk-link-style-default;\n/// @include govuk-link-style-no-underline;\n/// }\n///\n/// @access public\n\n@mixin govuk-link-style-no-underline {\n &:not(:hover):not(:active) {\n text-decoration: none;\n }\n}\n\n/// Include link destination when printing the page\n///\n/// If the user prints the page, add the destination URL after the link text, if\n/// the URL starts with `/`, `http://` or `https://`.\n///\n/// @access public\n\n@mixin govuk-link-print-friendly {\n @include govuk-media-query($media-type: print) {\n &[href^=\"/\"],\n &[href^=\"http://\"],\n &[href^=\"https://\"] {\n &:after {\n content: \" (\" attr(href) \")\";\n font-size: 90%;\n\n // Because the URLs may be very long, ensure that they may be broken\n // at arbitrary points if there are no otherwise acceptable break\n // points in the line\n word-wrap: break-word;\n }\n }\n }\n}\n"]}
@@ -89,3 +89,5 @@ $sass-mq-already-included: true;
89
89
  @content;
90
90
  }
91
91
  }
92
+
93
+ /*# sourceMappingURL=_media-queries.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/helpers/_media-queries.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,wBAAwB;AACxB,GAAG;;AAEH,2DAA2D;AAC3D,2BAA2B;AAC3B,2DAA2D;;AAE3D,4EAA4E;AAC5E,+EAA+E;AAC/E,gGAAgG;;AAEhG,wBAAwB;;AAExB;EACE,kDAAkD;AACpD;;AAEA,6EAA6E;AAC7E,gCAAgC;;AAEhC,oBAAoB;AACpB;EACE,qBAAqB;AACvB;;AAEA,4EAA4E;AAC5E,4DAA4D;AAC5D,CAAC;AACD,+EAA+E;AAC/E,mCAAmC;AACnC,yCAAyC;;AAEzC;EACE,wBAAwB;AAC1B;;AAEA,2BAA2B;;AAE3B,+BAA+B;;AAE/B,2DAA2D;AAC3D,SAAS;AACT,2DAA2D;;AAE3D,cAAc;AACd,EAAE;AACF,wEAAwE;AACxE,4CAA4C;AAC5C,EAAE;AACF,sEAAsE;AACtE,uEAAuE;AACvE,6EAA6E;AAC7E,iEAAiE;AACjE,EAAE;AACF,sDAAsD;AACtD,yDAAyD;AACzD,qEAAqE;AACrE,uDAAuD;AACvD,EAAE;AACF,+EAA+E;AAC/E,EAAE;AACF,gBAAgB;AAChB,cAAc;AACd,iDAAiD;AACjD,mBAAmB;AACnB,OAAO;AACP,kDAAkD;AAClD,oBAAoB;AACpB,OAAO;AACP,kDAAkD;AAClD,qBAAqB;AACrB,OAAO;AACP,mFAAmF;AACnF,oBAAoB;AACpB,OAAO;AACP,yCAAyC;AACzC,uBAAuB;AACvB,OAAO;AACP,+DAA+D;AAC/D,uBAAuB;AACvB,OAAO;AACP,KAAK;AACL,EAAE;AACF,iBAAiB;;AAEjB;EACE;IACE,QAAQ;EACV;AACF","file":"_media-queries.scss","sourcesContent":["////\n/// @group helpers/layout\n////\n\n// =========================================================\n// Wrangle sass-mq config...\n// =========================================================\n\n// Pass our breakpoints and static breakpoint definitions through to sass-mq.\n$mq-breakpoints: if(variable-exists(govuk-breakpoints), $govuk-breakpoints, ());\n$mq-static-breakpoint: if(variable-exists(govuk-ie8-breakpoint), $govuk-ie8-breakpoint, desktop);\n\n$mq-show-breakpoints: ();\n\n@if variable-exists(govuk-show-breakpoints) and $govuk-show-breakpoints {\n $mq-show-breakpoints: map-keys($govuk-breakpoints);\n}\n\n// When building a stylesheet for IE8, set $mq-responsive to false in order to\n// 'rasterize' any media queries.\n\n$mq-responsive: true;\n@if variable-exists(govuk-is-ie8) and $govuk-is-ie8 {\n $mq-responsive: false;\n}\n\n// This is a horrible, horrible hack to prevent the 'dev mode' CSS to display\n// the current breakpoint from being included multiple times.\n//\n// We can't use the `exports` mixin for this because import directives cannot be\n// used within control directives 😠\n$sass-mq-already-included: false !default;\n\n@if $sass-mq-already-included {\n $mq-show-breakpoints: ();\n}\n\n@import \"../vendor/sass-mq\";\n\n$sass-mq-already-included: true;\n\n// =========================================================\n// Helpers\n// =========================================================\n\n/// Media Query\n///\n/// This is a currently a wrapper for sass-mq - abstracted so that we can\n/// replace it in the future if we so choose.\n///\n/// @param {String | Boolean} $from [false] - One of $govuk-breakpoints\n/// @param {String | Boolean} $until [false] - One of $govuk-breakpoints\n/// @param {String | Boolean} $and [false] - Additional media query parameters\n/// @param {String} $media-type [all] - Media type: screen, print…\n///\n/// @ignore Undocumented mq API, for advanced use only:\n/// @ignore @param {Map} $breakpoints [$govuk-breakpoints]\n/// @ignore @param {String} $static-breakpoint [$govuk-ie8-breakpoint]\n/// @ignore @param {Boolean} $responsive [$govuk-is-ie8]\n///\n/// @content styling rules, wrapped into a @media query when $responsive is true\n///\n/// @example scss\n/// .element {\n/// @include govuk-media-query($from: mobile) {\n/// color: red;\n/// }\n/// @include govuk-media-query($until: tablet) {\n/// color: blue;\n/// }\n/// @include govuk-media-query(mobile, tablet) {\n/// color: green;\n/// }\n/// @include govuk-media-query($from: tablet, $and: '(orientation: landscape)') {\n/// color: teal;\n/// }\n/// @include govuk-media-query(950px) {\n/// color: hotpink;\n/// }\n/// @include govuk-media-query(tablet, $media-type: screen) {\n/// color: hotpink;\n/// }\n/// }\n///\n/// @access public\n\n@mixin govuk-media-query($args...) {\n @include mq($args...) {\n @content;\n }\n}\n"]}
@@ -78,3 +78,5 @@
78
78
  @error "Invalid arrow direction: expected `up`, `right`, `down` or `left`, got `#{$direction}`";
79
79
  }
80
80
  }
81
+
82
+ /*# sourceMappingURL=_shape-arrow.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/helpers/_shape-arrow.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,wBAAwB;AACxB,GAAG;;AAEH,kDAAkD;AAClD,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,EAAE;AACF,6DAA6D;AAC7D,qDAAqD;AACrD,kBAAkB;;AAElB;EACE,4BAA4B;;EAE5B,2CAA2C;AAC7C;;AAEA,cAAc;AACd,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,EAAE;AACF,8EAA8E;AAC9E,sEAAsE;AACtE,0DAA0D;AAC1D,EAAE;AACF,gEAAgE;AAChE,EAAE;AACF,2EAA2E;AAC3E,6DAA6D;AAC7D,6EAA6E;AAC7E,uEAAuE;AACvE,EAAE;AACF,iBAAiB;;AAEjB;EACE,iBAAiB;;EAEjB,QAAQ;EACR,SAAS;;EAET,mBAAmB;EACnB,yBAAyB,EAAE,GAAG;;EAE9B,yBAAyB;;EAEzB;IACE,yCAAyC;EAC3C;;EAEA;IACE,sDAA8C;YAA9C,8CAA8C,EAAE,GAAG;;IAEnD,qDAAqD;IACrD,4BAA4B,EAAE,GAAG;EACnC,EAAE;IACA,oDAA4C;YAA5C,4CAA4C,EAAE,GAAG;;IAEjD,qDAAqD;IACrD,0BAA0B,EAAE,GAAG;EACjC,EAAE;IACA,oDAA4C;YAA5C,4CAA4C,EAAE,GAAG;;IAEjD,qDAAqD;IACrD,yBAAyB,EAAE,GAAG;EAChC,EAAE;IACA,sDAA8C;YAA9C,8CAA8C,EAAE,GAAG;;IAEnD,qDAAqD;IACrD,2BAA2B,EAAE,GAAG;EAClC,EAAE;IACA,+FAA+F;EACjG;AACF","file":"_shape-arrow.scss","sourcesContent":["////\n/// @group helpers/shapes\n////\n\n/// Calculate the height of an equilateral triangle\n///\n/// Multiplying half the length of the base of an equilateral triangle by the\n/// square root of three gives us its height. We use 1.732 as an approximation.\n///\n/// @param {Number} $base - Length of the base of the triangle\n/// @return {Number} Calculated height of the triangle\n/// @access private\n\n@function _govuk-equilateral-height($base) {\n $square-root-of-three: 1.732;\n\n @return ($base / 2) * $square-root-of-three;\n}\n\n/// Arrow mixin\n///\n/// Generate Arrows (triangles) by using a mix of transparent (1) and coloured\n/// borders. The coloured borders inherit the text colour of the element (2).\n///\n/// Ensure the arrow is rendered correctly if browser colours are overridden by\n/// providing a clip path (3). Without this the transparent borders are\n/// overridden to become visible which results in a square.\n///\n/// We need both because older browsers do not support clip-path.\n///\n/// @param {String} $direction - Direction for arrow: up, right, down, left.\n/// @param {Number} $base - Length of the triangle 'base' side\n/// @param {Number} $height [null] - Height of triangle. Omit for equilateral.\n/// @param {String} $display [block] - CSS display property of the arrow\n///\n/// @access public\n\n@mixin govuk-shape-arrow($direction, $base, $height: null, $display: block) {\n display: $display;\n\n width: 0;\n height: 0;\n\n border-style: solid;\n border-color: transparent; // 1\n\n $perpendicular: $base / 2;\n\n @if not $height {\n $height: _govuk-equilateral-height($base);\n }\n\n @if $direction == \"up\" {\n clip-path: polygon(50% 0%, 0% 100%, 100% 100%); // 3\n\n border-width: 0 $perpendicular $height $perpendicular;\n border-bottom-color: inherit; // 2\n } @else if $direction == \"right\" {\n clip-path: polygon(0% 0%, 100% 50%, 0% 100%); // 3\n\n border-width: $perpendicular 0 $perpendicular $height;\n border-left-color: inherit; // 2\n } @else if $direction == \"down\" {\n clip-path: polygon(0% 0%, 50% 100%, 100% 0%); // 3\n\n border-width: $height $perpendicular 0 $perpendicular;\n border-top-color: inherit; // 2\n } @else if $direction == \"left\" {\n clip-path: polygon(0% 50%, 100% 100%, 100% 0%); // 3\n\n border-width: $perpendicular $height $perpendicular 0;\n border-right-color: inherit; // 2\n } @else {\n @error \"Invalid arrow direction: expected `up`, `right`, `down` or `left`, got `#{$direction}`\";\n }\n}\n"]}
@@ -169,3 +169,5 @@
169
169
  @mixin govuk-responsive-padding($responsive-spacing-point, $direction: "all", $important: false, $adjustment: false) {
170
170
  @include _govuk-responsive-spacing($responsive-spacing-point, "padding", $direction, $important, $adjustment);
171
171
  }
172
+
173
+ /*# sourceMappingURL=_spacing.scss.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/govuk/helpers/_spacing.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,yBAAyB;AACzB,GAAG;;AAEH,+BAA+B;;AAE/B,uBAAuB;AACvB,EAAE;AACF,oEAAoE;AACpE,EAAE;AACF,8DAA8D;AAC9D,qCAAqC;AACrC,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,gBAAgB;AAChB,eAAe;AACf,iCAAiC;AACjC,MAAM;AACN,EAAE;AACF,uCAAuC;AACvC,eAAe;AACf,qCAAqC;AACrC,MAAM;AACN,EAAE;AACF,0DAA0D;AAC1D,eAAe;AACf,+CAA+C;AAC/C,MAAM;AACN,EAAE;AACF,iBAAiB;;AAEjB;;EAEE,2CAA2C;EAC3C;IACE;8BAC0B;EAC5B;;EAEA,mBAAmB;EACnB;IACE,kBAAkB;IAClB,mCAAmC;EACrC;;EAEA;IACE,0IAA0I;EAC5I;;EAEA,sDAAsD;EACtD,6CAA6C;AAC/C;;AAEA,qBAAqB;AACrB,EAAE;AACF,+EAA+E;AAC/E,+EAA+E;AAC/E,qDAAqD;AACrD,EAAE;AACF,mEAAmE;AACnE,oCAAoC;AACpC,EAAE;AACF,8EAA8E;AAC9E,kEAAkE;AAClE,yEAAyE;AACzE,iEAAiE;AACjE,8CAA8C;AAC9C,wEAAwE;AACxE,oEAAoE;AACpE,EAAE;AACF,kBAAkB;;AAElB;;EAEE,sDAAsD;EACtD;IACE,2EAA2E;EAC7E;;EAEA;IACE;6DACyD;EAC3D;;EAEA,yEAAyE;EACzE,+EAA+E;EAC/E,qCAAqC;EACrC;IACE;qHACiH;EACnH;;EAEA,yCAAyC;EACzC;;IAEE;MACE,kDAAkD;IACpD;;IAEA,sCAAsC;IACtC;;MAEE;QACE,gEAAgE;MAClE,EAAE;QACA,8EAA8E;MAChF;IACF,EAAE;MACA;QACE;UACE,gEAAgE;QAClE,EAAE;UACA,8EAA8E;QAChF;MACF;IACF;EACF;AACF;;AAEA,oBAAoB;AACpB,EAAE;AACF,yEAAyE;AACzE,qEAAqE;AACrE,kEAAkE;AAClE,EAAE;AACF,yCAAyC;AACzC,EAAE;AACF,8EAA8E;AAC9E,gEAAgE;AAChE,iEAAiE;AACjE,8CAA8C;AAC9C,wEAAwE;AACxE,oEAAoE;AACpE,EAAE;AACF,gBAAgB;AAChB,eAAe;AACf,sEAAsE;AACtE,MAAM;AACN,EAAE;AACF,iBAAiB;;AAEjB;EACE,4GAA4G;AAC9G;;AAEA,qBAAqB;AACrB,EAAE;AACF,0EAA0E;AAC1E,qEAAqE;AACrE,kEAAkE;AAClE,EAAE;AACF,yCAAyC;AACzC,EAAE;AACF,8EAA8E;AAC9E,kEAAkE;AAClE,iEAAiE;AACjE,8CAA8C;AAC9C,wEAAwE;AACxE,iEAAiE;AACjE,EAAE;AACF,gBAAgB;AAChB,eAAe;AACf,uEAAuE;AACvE,MAAM;AACN,EAAE;AACF,iBAAiB;;AAEjB;EACE,6GAA6G;AAC/G","file":"_spacing.scss","sourcesContent":["////\n/// @group helpers/spacing\n////\n\n// stylelint-disable indentation\n\n/// Single point spacing\n///\n/// Returns measurement corresponding to the spacing point requested.\n///\n/// @param {Number} $spacing-point - Point on the spacing scale\n/// (set in `settings/_spacing.scss`)\n///\n/// @returns {String} Spacing measurement eg. 10px\n///\n/// @example scss\n/// .element {\n/// padding: govuk-spacing(5);\n/// }\n///\n/// @example scss Using negative spacing\n/// .element {\n/// margin-top: govuk-spacing(-1);\n/// }\n///\n/// @example scss Marking spacing declarations as important\n/// .element {\n/// margin-top: govuk-spacing(1) !important;\n/// }\n///\n/// @access public\n\n@function govuk-spacing($spacing-point) {\n\n $actual-input-type: type-of($spacing-point);\n @if $actual-input-type != \"number\" {\n @error \"Expected a number (integer), but got a \"\n + \"#{$actual-input-type}.\";\n }\n\n $is-negative: false;\n @if $spacing-point < 0 {\n $is-negative: true;\n $spacing-point: abs($spacing-point);\n }\n\n @if not map-has-key($govuk-spacing-points, $spacing-point) {\n @error \"Unknown spacing variable `#{$spacing-point}`. Make sure you are using a point from the spacing scale in `_settings/spacing.scss`.\";\n }\n\n $value: map-get($govuk-spacing-points, $spacing-point);\n @return if($is-negative, $value * -1, $value);\n}\n\n/// Responsive spacing\n///\n/// Adds responsive spacing (either padding or margin, depending on `$property`)\n/// by fetching a 'spacing map' from the responsive spacing scale, which defines\n/// different spacing values at different breakpoints.\n///\n/// To generate responsive spacing, use 'govuk-responsive-margin' or\n/// 'govuk-responsive-padding' mixins\n///\n/// @param {Number} $responsive-spacing-point - Point on the responsive spacing\n/// scale, corresponds to a map of breakpoints and spacing values\n/// @param {String} $property - Property to add spacing to (e.g. 'margin')\n/// @param {String} $direction [all] - Direction to add spacing to\n/// (`top`, `right`, `bottom`, `left`, `all`)\n/// @param {Boolean} $important [false] - Whether to mark as `!important`\n/// @param {Number} $adjustment [false] - Offset to adjust spacing by\n///\n/// @access private\n\n@mixin _govuk-responsive-spacing($responsive-spacing-point, $property, $direction: \"all\", $important: false, $adjustment: false) {\n\n $actual-input-type: type-of($responsive-spacing-point);\n @if $actual-input-type != \"number\" {\n @error \"Expected a number (integer), but got a \" + \"#{$actual-input-type}.\";\n }\n\n @if not map-has-key($govuk-spacing-responsive-scale, $responsive-spacing-point) {\n @error \"Unknown spacing point `#{$responsive-spacing-point}`. Make sure you are using a point from the \"\n + \"responsive spacing scale in `_settings/spacing.scss`.\";\n }\n\n // Make sure that the return value from `_settings/spacing.scss` is a map.\n $scale-map: map-get($govuk-spacing-responsive-scale, $responsive-spacing-point);\n $actual-map-type: type-of($scale-map);\n @if $actual-map-type != \"map\" {\n @error \"Expected a number (integer), but got a \"\n + \"#{$actual-map-type}. Make sure you are using a map to set the responsive spacing in `_settings/spacing.scss`)\";\n }\n\n // Loop through each breakpoint in the map\n @each $breakpoint, $breakpoint-value in $scale-map {\n\n @if $adjustment {\n $breakpoint-value: $breakpoint-value + $adjustment;\n }\n\n // The 'null' breakpoint is for mobile.\n @if not $breakpoint {\n\n @if $direction == all {\n #{$property}: $breakpoint-value if($important, !important, null);\n } @else {\n #{$property}-#{$direction}: $breakpoint-value if($important, !important, null);\n }\n } @else {\n @include govuk-media-query($from: $breakpoint) {\n @if $direction == all {\n #{$property}: $breakpoint-value if($important, !important, null);\n } @else {\n #{$property}-#{$direction}: $breakpoint-value if($important, !important, null);\n }\n }\n }\n }\n}\n\n/// Responsive margin\n///\n/// Adds responsive margin by fetching a 'spacing map' from the responsive\n/// spacing scale, which defines different spacing values at different\n/// breakpoints. Wrapper for the `_govuk-responsive-spacing` mixin.\n///\n/// @see {mixin} _govuk-responsive-spacing\n///\n/// @param {Number} $responsive-spacing-point - Point on the responsive spacing\n/// scale, corresponds to a map of breakpoints and spacing values\n/// @param {String} $direction [all] - Direction to add spacing to\n/// (`top`, `right`, `bottom`, `left`, `all`)\n/// @param {Boolean} $important [false] - Whether to mark as `!important`\n/// @param {Number} $adjustment [false] - Offset to adjust spacing by\n///\n/// @example scss\n/// .element {\n/// @include govuk-responsive-margin(6, \"left\", $adjustment: 1px);\n/// }\n///\n/// @access public\n\n@mixin govuk-responsive-margin($responsive-spacing-point, $direction: \"all\", $important: false, $adjustment: false) {\n @include _govuk-responsive-spacing($responsive-spacing-point, \"margin\", $direction, $important, $adjustment);\n}\n\n/// Responsive padding\n///\n/// Adds responsive padding by fetching a 'spacing map' from the responsive\n/// spacing scale, which defines different spacing values at different\n/// breakpoints. Wrapper for the `_govuk-responsive-spacing` mixin.\n///\n/// @see {mixin} _govuk-responsive-spacing\n///\n/// @param {Number} $responsive-spacing-point - Point on the responsive spacing\n/// scale, corresponds to a map of breakpoints and spacing values\n/// @param {String} $direction [all] - Direction to add spacing to\n/// (`top`, `right`, `bottom`, `left`, `all`)\n/// @param {Boolean} $important [false] - Whether to mark as `!important`\n/// @param {Number} $adjustment [false] - Offset to adjust spacing\n///\n/// @example scss\n/// .element {\n/// @include govuk-responsive-padding(6, \"left\", $adjustment: 1px);\n/// }\n///\n/// @access public\n\n@mixin govuk-responsive-padding($responsive-spacing-point, $direction: \"all\", $important: false, $adjustment: false) {\n @include _govuk-responsive-spacing($responsive-spacing-point, \"padding\", $direction, $important, $adjustment);\n}\n"]}
@@ -212,3 +212,5 @@
212
212
  @include govuk-typography-responsive($size, $override-line-height: $line-height);
213
213
  }
214
214
  }
215
+
216
+ /*# sourceMappingURL=_typography.scss.map */