govuk_publishing_components 9.3.6 → 9.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -0
  3. data/app/assets/stylesheets/component_guide/application.scss +10 -0
  4. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -0
  5. data/app/assets/stylesheets/govuk_publishing_components/admin_styles.scss +13 -0
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_highlight-boxes.scss +66 -0
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-footer.scss +1 -0
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-admin.scss +1 -0
  9. data/app/models/govuk_publishing_components/component_doc.rb +12 -0
  10. data/app/views/govuk_publishing_components/component_guide/component_doc/_preview.html.erb +7 -5
  11. data/app/views/govuk_publishing_components/component_guide/show.html.erb +22 -0
  12. data/app/views/govuk_publishing_components/components/_highlight_boxes.html.erb +39 -0
  13. data/app/views/govuk_publishing_components/components/_layout_footer.html.erb +26 -0
  14. data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +10 -0
  15. data/app/views/govuk_publishing_components/components/docs/highlight_boxes.yml +142 -0
  16. data/app/views/govuk_publishing_components/components/docs/layout_footer.yml +12 -0
  17. data/app/views/govuk_publishing_components/components/docs/layout_for_admin.yml +28 -0
  18. data/app/views/govuk_publishing_components/components/docs/metadata.yml +1 -0
  19. data/app/views/layouts/govuk_publishing_components/application.html.erb +5 -0
  20. data/config/initializers/assets.rb +12 -0
  21. data/lib/govuk_publishing_components.rb +1 -0
  22. data/lib/govuk_publishing_components/presenters/highlight_boxes_helper.rb +13 -0
  23. data/lib/govuk_publishing_components/presenters/meta_tags.rb +1 -0
  24. data/lib/govuk_publishing_components/version.rb +1 -1
  25. data/node_modules/govuk-frontend/README.md +96 -0
  26. data/node_modules/govuk-frontend/all-ie8.scss +6 -0
  27. data/node_modules/govuk-frontend/all.js +1720 -0
  28. data/node_modules/govuk-frontend/all.scss +11 -0
  29. data/node_modules/govuk-frontend/assets/fonts/bold-a2452cb66f-v1.woff2 +0 -0
  30. data/node_modules/govuk-frontend/assets/fonts/bold-f38c792ac2-v1.woff +0 -0
  31. data/node_modules/govuk-frontend/assets/fonts/bold-fb2676462a-v1.eot +0 -0
  32. data/node_modules/govuk-frontend/assets/fonts/bold-tabular-357fdfbcc3-v1.eot +0 -0
  33. data/node_modules/govuk-frontend/assets/fonts/bold-tabular-784c21afb8-v1.woff +0 -0
  34. data/node_modules/govuk-frontend/assets/fonts/bold-tabular-b89238d840-v1.woff2 +0 -0
  35. data/node_modules/govuk-frontend/assets/fonts/light-2c037cf7e1-v1.eot +0 -0
  36. data/node_modules/govuk-frontend/assets/fonts/light-458f8ea81c-v1.woff +0 -0
  37. data/node_modules/govuk-frontend/assets/fonts/light-f38ad40456-v1.woff2 +0 -0
  38. data/node_modules/govuk-frontend/assets/fonts/light-tabular-498ea8ffe2-v1.eot +0 -0
  39. data/node_modules/govuk-frontend/assets/fonts/light-tabular-62cc6f0a28-v1.woff +0 -0
  40. data/node_modules/govuk-frontend/assets/fonts/light-tabular-851b10ccdd-v1.woff2 +0 -0
  41. data/node_modules/govuk-frontend/assets/images/favicon.ico +0 -0
  42. data/node_modules/govuk-frontend/assets/images/govuk-apple-touch-icon-152x152.png +0 -0
  43. data/node_modules/govuk-frontend/assets/images/govuk-apple-touch-icon-167x167.png +0 -0
  44. data/node_modules/govuk-frontend/assets/images/govuk-apple-touch-icon-180x180.png +0 -0
  45. data/node_modules/govuk-frontend/assets/images/govuk-apple-touch-icon.png +0 -0
  46. data/node_modules/govuk-frontend/assets/images/govuk-crest-2x.png +0 -0
  47. data/node_modules/govuk-frontend/assets/images/govuk-crest.png +0 -0
  48. data/node_modules/govuk-frontend/assets/images/govuk-logotype-crown.png +0 -0
  49. data/node_modules/govuk-frontend/assets/images/govuk-mask-icon.svg +7 -0
  50. data/node_modules/govuk-frontend/assets/images/govuk-opengraph-image.png +0 -0
  51. data/node_modules/govuk-frontend/assets/images/icon-arrow-left.png +0 -0
  52. data/node_modules/govuk-frontend/assets/images/icon-important.png +0 -0
  53. data/node_modules/govuk-frontend/assets/images/icon-pointer-2x.png +0 -0
  54. data/node_modules/govuk-frontend/assets/images/icon-pointer.png +0 -0
  55. data/node_modules/govuk-frontend/common.js +39 -0
  56. data/node_modules/govuk-frontend/components/_all.scss +26 -0
  57. data/node_modules/govuk-frontend/components/back-link/README.md +142 -0
  58. data/node_modules/govuk-frontend/components/back-link/_back-link.scss +54 -0
  59. data/node_modules/govuk-frontend/components/back-link/back-link.njk +3 -0
  60. data/node_modules/govuk-frontend/components/back-link/macro.njk +3 -0
  61. data/node_modules/govuk-frontend/components/back-link/template.njk +2 -0
  62. data/node_modules/govuk-frontend/components/breadcrumbs/README.md +335 -0
  63. data/node_modules/govuk-frontend/components/breadcrumbs/_breadcrumbs.scss +119 -0
  64. data/node_modules/govuk-frontend/components/breadcrumbs/breadcrumbs.njk +14 -0
  65. data/node_modules/govuk-frontend/components/breadcrumbs/macro.njk +3 -0
  66. data/node_modules/govuk-frontend/components/breadcrumbs/template.njk +13 -0
  67. data/node_modules/govuk-frontend/components/button/README.md +319 -0
  68. data/node_modules/govuk-frontend/components/button/_button.scss +185 -0
  69. data/node_modules/govuk-frontend/components/button/button.js +548 -0
  70. data/node_modules/govuk-frontend/components/button/button.njk +3 -0
  71. data/node_modules/govuk-frontend/components/button/macro.njk +3 -0
  72. data/node_modules/govuk-frontend/components/button/template.njk +35 -0
  73. data/node_modules/govuk-frontend/components/checkboxes/README.md +782 -0
  74. data/node_modules/govuk-frontend/components/checkboxes/_checkboxes.scss +151 -0
  75. data/node_modules/govuk-frontend/components/checkboxes/checkboxes.js +730 -0
  76. data/node_modules/govuk-frontend/components/checkboxes/checkboxes.njk +27 -0
  77. data/node_modules/govuk-frontend/components/checkboxes/macro.njk +3 -0
  78. data/node_modules/govuk-frontend/components/checkboxes/template.njk +86 -0
  79. data/node_modules/govuk-frontend/components/date-input/README.md +640 -0
  80. data/node_modules/govuk-frontend/components/date-input/_date-input.scss +35 -0
  81. data/node_modules/govuk-frontend/components/date-input/date-input.njk +23 -0
  82. data/node_modules/govuk-frontend/components/date-input/macro.njk +3 -0
  83. data/node_modules/govuk-frontend/components/date-input/template.njk +76 -0
  84. data/node_modules/govuk-frontend/components/details/README.md +237 -0
  85. data/node_modules/govuk-frontend/components/details/_details.scss +86 -0
  86. data/node_modules/govuk-frontend/components/details/details.js +836 -0
  87. data/node_modules/govuk-frontend/components/details/details.njk +7 -0
  88. data/node_modules/govuk-frontend/components/details/implementation.md +43 -0
  89. data/node_modules/govuk-frontend/components/details/macro.njk +3 -0
  90. data/node_modules/govuk-frontend/components/details/template.njk +10 -0
  91. data/node_modules/govuk-frontend/components/error-message/README.md +143 -0
  92. data/node_modules/govuk-frontend/components/error-message/_error-message.scss +15 -0
  93. data/node_modules/govuk-frontend/components/error-message/error-message.njk +7 -0
  94. data/node_modules/govuk-frontend/components/error-message/macro.njk +3 -0
  95. data/node_modules/govuk-frontend/components/error-message/template.njk +3 -0
  96. data/node_modules/govuk-frontend/components/error-summary/README.md +215 -0
  97. data/node_modules/govuk-frontend/components/error-summary/_error-summary.scss +68 -0
  98. data/node_modules/govuk-frontend/components/error-summary/error-summary.js +520 -0
  99. data/node_modules/govuk-frontend/components/error-summary/error-summary.njk +17 -0
  100. data/node_modules/govuk-frontend/components/error-summary/macro.njk +3 -0
  101. data/node_modules/govuk-frontend/components/error-summary/template.njk +25 -0
  102. data/node_modules/govuk-frontend/components/fieldset/README.md +213 -0
  103. data/node_modules/govuk-frontend/components/fieldset/_fieldset.scss +58 -0
  104. data/node_modules/govuk-frontend/components/fieldset/fieldset.njk +13 -0
  105. data/node_modules/govuk-frontend/components/fieldset/macro.njk +3 -0
  106. data/node_modules/govuk-frontend/components/fieldset/template.njk +17 -0
  107. data/node_modules/govuk-frontend/components/file-upload/README.md +332 -0
  108. data/node_modules/govuk-frontend/components/file-upload/_file-upload.scss +19 -0
  109. data/node_modules/govuk-frontend/components/file-upload/file-upload.njk +9 -0
  110. data/node_modules/govuk-frontend/components/file-upload/macro.njk +3 -0
  111. data/node_modules/govuk-frontend/components/file-upload/template.njk +42 -0
  112. data/node_modules/govuk-frontend/components/footer/README.md +284 -0
  113. data/node_modules/govuk-frontend/components/footer/_footer.scss +216 -0
  114. data/node_modules/govuk-frontend/components/footer/footer.njk +3 -0
  115. data/node_modules/govuk-frontend/components/footer/macro.njk +3 -0
  116. data/node_modules/govuk-frontend/components/footer/template.njk +80 -0
  117. data/node_modules/govuk-frontend/components/header/README.md +524 -0
  118. data/node_modules/govuk-frontend/components/header/_header.scss +285 -0
  119. data/node_modules/govuk-frontend/components/header/header.js +717 -0
  120. data/node_modules/govuk-frontend/components/header/header.njk +3 -0
  121. data/node_modules/govuk-frontend/components/header/macro.njk +3 -0
  122. data/node_modules/govuk-frontend/components/header/template.njk +82 -0
  123. data/node_modules/govuk-frontend/components/hint/README.md +157 -0
  124. data/node_modules/govuk-frontend/components/hint/_hint.scss +29 -0
  125. data/node_modules/govuk-frontend/components/hint/hint.njk +7 -0
  126. data/node_modules/govuk-frontend/components/hint/macro.njk +3 -0
  127. data/node_modules/govuk-frontend/components/hint/template.njk +4 -0
  128. data/node_modules/govuk-frontend/components/input/README.md +416 -0
  129. data/node_modules/govuk-frontend/components/input/_input.scss +62 -0
  130. data/node_modules/govuk-frontend/components/input/input.njk +9 -0
  131. data/node_modules/govuk-frontend/components/input/macro.njk +3 -0
  132. data/node_modules/govuk-frontend/components/input/template.njk +42 -0
  133. data/node_modules/govuk-frontend/components/inset-text/README.md +157 -0
  134. data/node_modules/govuk-frontend/components/inset-text/_inset-text.scss +28 -0
  135. data/node_modules/govuk-frontend/components/inset-text/inset-text.njk +7 -0
  136. data/node_modules/govuk-frontend/components/inset-text/macro.njk +3 -0
  137. data/node_modules/govuk-frontend/components/inset-text/template.njk +4 -0
  138. data/node_modules/govuk-frontend/components/label/README.md +193 -0
  139. data/node_modules/govuk-frontend/components/label/_label.scss +45 -0
  140. data/node_modules/govuk-frontend/components/label/label.njk +6 -0
  141. data/node_modules/govuk-frontend/components/label/macro.njk +3 -0
  142. data/node_modules/govuk-frontend/components/label/template.njk +15 -0
  143. data/node_modules/govuk-frontend/components/panel/README.md +151 -0
  144. data/node_modules/govuk-frontend/components/panel/_panel.scss +42 -0
  145. data/node_modules/govuk-frontend/components/panel/macro.njk +3 -0
  146. data/node_modules/govuk-frontend/components/panel/panel.njk +7 -0
  147. data/node_modules/govuk-frontend/components/panel/template.njk +12 -0
  148. data/node_modules/govuk-frontend/components/phase-banner/README.md +152 -0
  149. data/node_modules/govuk-frontend/components/phase-banner/_phase-banner.scss +31 -0
  150. data/node_modules/govuk-frontend/components/phase-banner/macro.njk +3 -0
  151. data/node_modules/govuk-frontend/components/phase-banner/phase-banner.njk +7 -0
  152. data/node_modules/govuk-frontend/components/phase-banner/template.njk +17 -0
  153. data/node_modules/govuk-frontend/components/radios/README.md +686 -0
  154. data/node_modules/govuk-frontend/components/radios/_radios.scss +157 -0
  155. data/node_modules/govuk-frontend/components/radios/macro.njk +3 -0
  156. data/node_modules/govuk-frontend/components/radios/radios.js +730 -0
  157. data/node_modules/govuk-frontend/components/radios/radios.njk +27 -0
  158. data/node_modules/govuk-frontend/components/radios/template.njk +85 -0
  159. data/node_modules/govuk-frontend/components/select/README.md +387 -0
  160. data/node_modules/govuk-frontend/components/select/_select.scss +35 -0
  161. data/node_modules/govuk-frontend/components/select/macro.njk +3 -0
  162. data/node_modules/govuk-frontend/components/select/select.njk +24 -0
  163. data/node_modules/govuk-frontend/components/select/template.njk +44 -0
  164. data/node_modules/govuk-frontend/components/skip-link/README.md +142 -0
  165. data/node_modules/govuk-frontend/components/skip-link/_skip-link.scss +15 -0
  166. data/node_modules/govuk-frontend/components/skip-link/macro.njk +3 -0
  167. data/node_modules/govuk-frontend/components/skip-link/skip-link.njk +3 -0
  168. data/node_modules/govuk-frontend/components/skip-link/template.njk +3 -0
  169. data/node_modules/govuk-frontend/components/table/README.md +585 -0
  170. data/node_modules/govuk-frontend/components/table/_table.scss +50 -0
  171. data/node_modules/govuk-frontend/components/table/macro.njk +3 -0
  172. data/node_modules/govuk-frontend/components/table/table.njk +45 -0
  173. data/node_modules/govuk-frontend/components/table/template.njk +39 -0
  174. data/node_modules/govuk-frontend/components/tabs/README.md +375 -0
  175. data/node_modules/govuk-frontend/components/tabs/_tabs.scss +120 -0
  176. data/node_modules/govuk-frontend/components/tabs/macro.njk +3 -0
  177. data/node_modules/govuk-frontend/components/tabs/tabs.js +1302 -0
  178. data/node_modules/govuk-frontend/components/tabs/tabs.njk +3 -0
  179. data/node_modules/govuk-frontend/components/tabs/template.njk +29 -0
  180. data/node_modules/govuk-frontend/components/tag/README.md +150 -0
  181. data/node_modules/govuk-frontend/components/tag/_tag.scss +23 -0
  182. data/node_modules/govuk-frontend/components/tag/macro.njk +3 -0
  183. data/node_modules/govuk-frontend/components/tag/tag.njk +7 -0
  184. data/node_modules/govuk-frontend/components/tag/template.njk +3 -0
  185. data/node_modules/govuk-frontend/components/textarea/README.md +350 -0
  186. data/node_modules/govuk-frontend/components/textarea/_textarea.scss +31 -0
  187. data/node_modules/govuk-frontend/components/textarea/macro.njk +3 -0
  188. data/node_modules/govuk-frontend/components/textarea/template.njk +41 -0
  189. data/node_modules/govuk-frontend/components/textarea/textarea.njk +11 -0
  190. data/node_modules/govuk-frontend/components/warning-text/README.md +148 -0
  191. data/node_modules/govuk-frontend/components/warning-text/_warning-text.scss +50 -0
  192. data/node_modules/govuk-frontend/components/warning-text/macro.njk +3 -0
  193. data/node_modules/govuk-frontend/components/warning-text/template.njk +9 -0
  194. data/node_modules/govuk-frontend/components/warning-text/warning-text.njk +9 -0
  195. data/node_modules/govuk-frontend/core/_all.scss +6 -0
  196. data/node_modules/govuk-frontend/core/_global-styles.scss +19 -0
  197. data/node_modules/govuk-frontend/core/_links.scss +40 -0
  198. data/node_modules/govuk-frontend/core/_lists.scss +63 -0
  199. data/node_modules/govuk-frontend/core/_section-break.scss +56 -0
  200. data/node_modules/govuk-frontend/core/_template.scss +16 -0
  201. data/node_modules/govuk-frontend/core/_typography.scss +186 -0
  202. data/node_modules/govuk-frontend/helpers/_all.scss +12 -0
  203. data/node_modules/govuk-frontend/helpers/_clearfix.scss +15 -0
  204. data/node_modules/govuk-frontend/helpers/_colour.scss +51 -0
  205. data/node_modules/govuk-frontend/helpers/_device-pixels.scss +38 -0
  206. data/node_modules/govuk-frontend/helpers/_focusable.scss +34 -0
  207. data/node_modules/govuk-frontend/helpers/_font-faces.scss +67 -0
  208. data/node_modules/govuk-frontend/helpers/_grid.scss +100 -0
  209. data/node_modules/govuk-frontend/helpers/_links.scss +149 -0
  210. data/node_modules/govuk-frontend/helpers/_media-queries.scss +95 -0
  211. data/node_modules/govuk-frontend/helpers/_shape-arrow.scss +80 -0
  212. data/node_modules/govuk-frontend/helpers/_spacing.scss +152 -0
  213. data/node_modules/govuk-frontend/helpers/_typography.scss +153 -0
  214. data/node_modules/govuk-frontend/helpers/_visually-hidden.scss +76 -0
  215. data/node_modules/govuk-frontend/objects/_all.scss +4 -0
  216. data/node_modules/govuk-frontend/objects/_form-group.scss +21 -0
  217. data/node_modules/govuk-frontend/objects/_grid.scss +10 -0
  218. data/node_modules/govuk-frontend/objects/_main-wrapper.scss +37 -0
  219. data/node_modules/govuk-frontend/objects/_width-container.scss +28 -0
  220. data/node_modules/govuk-frontend/overrides/_all.scss +4 -0
  221. data/node_modules/govuk-frontend/overrides/_display.scss +14 -0
  222. data/node_modules/govuk-frontend/overrides/_spacing.scss +58 -0
  223. data/node_modules/govuk-frontend/overrides/_typography.scss +21 -0
  224. data/node_modules/govuk-frontend/overrides/_width.scss +41 -0
  225. data/node_modules/govuk-frontend/package.json +89 -0
  226. data/node_modules/govuk-frontend/settings/_all.scss +21 -0
  227. data/node_modules/govuk-frontend/settings/_assets.scss +82 -0
  228. data/node_modules/govuk-frontend/settings/_colours-applied.scss +130 -0
  229. data/node_modules/govuk-frontend/settings/_colours-organisations.scss +136 -0
  230. data/node_modules/govuk-frontend/settings/_colours-palette.scss +37 -0
  231. data/node_modules/govuk-frontend/settings/_compatibility.scss +51 -0
  232. data/node_modules/govuk-frontend/settings/_global-styles.scss +13 -0
  233. data/node_modules/govuk-frontend/settings/_ie8.scss +18 -0
  234. data/node_modules/govuk-frontend/settings/_measurements.scss +85 -0
  235. data/node_modules/govuk-frontend/settings/_media-queries.scss +23 -0
  236. data/node_modules/govuk-frontend/settings/_spacing.scss +80 -0
  237. data/node_modules/govuk-frontend/settings/_typography-font-families.scss +22 -0
  238. data/node_modules/govuk-frontend/settings/_typography-font.scss +48 -0
  239. data/node_modules/govuk-frontend/settings/_typography-responsive.scss +138 -0
  240. data/node_modules/govuk-frontend/template.njk +56 -0
  241. data/node_modules/govuk-frontend/tools/_all.scss +7 -0
  242. data/node_modules/govuk-frontend/tools/_compatibility.scss +36 -0
  243. data/node_modules/govuk-frontend/tools/_exports.scss +33 -0
  244. data/node_modules/govuk-frontend/tools/_font-url.scss +28 -0
  245. data/node_modules/govuk-frontend/tools/_ie8.scss +51 -0
  246. data/node_modules/govuk-frontend/tools/_iff.scss +15 -0
  247. data/node_modules/govuk-frontend/tools/_image-url.scss +28 -0
  248. data/node_modules/govuk-frontend/tools/_px-to-em.scss +20 -0
  249. data/node_modules/govuk-frontend/utilities/_all.scss +2 -0
  250. data/node_modules/govuk-frontend/utilities/_clearfix.scss +5 -0
  251. data/node_modules/govuk-frontend/utilities/_visually-hidden.scss +9 -0
  252. data/node_modules/govuk-frontend/vendor/_sass-mq.scss +351 -0
  253. data/node_modules/govuk-frontend/vendor/polyfills/DOMTokenList.js +272 -0
  254. data/node_modules/govuk-frontend/vendor/polyfills/Document.js +34 -0
  255. data/node_modules/govuk-frontend/vendor/polyfills/Element.js +147 -0
  256. data/node_modules/govuk-frontend/vendor/polyfills/Element/prototype/classList.js +449 -0
  257. data/node_modules/govuk-frontend/vendor/polyfills/Event.js +504 -0
  258. data/node_modules/govuk-frontend/vendor/polyfills/Function/prototype/bind.js +252 -0
  259. data/node_modules/govuk-frontend/vendor/polyfills/Object/defineProperty.js +94 -0
  260. data/node_modules/govuk-frontend/vendor/polyfills/Window.js +28 -0
  261. metadata +249 -2
@@ -0,0 +1,89 @@
1
+ {
2
+ "_args": [
3
+ [
4
+ {
5
+ "raw": "govuk-frontend@^1.0.0",
6
+ "scope": null,
7
+ "escapedName": "govuk-frontend",
8
+ "name": "govuk-frontend",
9
+ "rawSpec": "^1.0.0",
10
+ "spec": ">=1.0.0 <2.0.0",
11
+ "type": "range"
12
+ },
13
+ "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ"
14
+ ]
15
+ ],
16
+ "_from": "govuk-frontend@>=1.0.0 <2.0.0",
17
+ "_id": "govuk-frontend@1.0.0",
18
+ "_inCache": true,
19
+ "_location": "/govuk-frontend",
20
+ "_nodeVersion": "8.9.4",
21
+ "_npmOperationalInternal": {
22
+ "host": "s3://npm-registry-packages",
23
+ "tmp": "tmp/govuk-frontend_1.0.0_1529573137649_0.22691987175985462"
24
+ },
25
+ "_npmUser": {
26
+ "name": "govuk-patterns-and-tools",
27
+ "email": "design-system-pipeline@digital.cabinet-office.gov.uk"
28
+ },
29
+ "_npmVersion": "5.6.0",
30
+ "_phantomChildren": {},
31
+ "_requested": {
32
+ "raw": "govuk-frontend@^1.0.0",
33
+ "scope": null,
34
+ "escapedName": "govuk-frontend",
35
+ "name": "govuk-frontend",
36
+ "rawSpec": "^1.0.0",
37
+ "spec": ">=1.0.0 <2.0.0",
38
+ "type": "range"
39
+ },
40
+ "_requiredBy": [
41
+ "/"
42
+ ],
43
+ "_resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-1.0.0.tgz",
44
+ "_shasum": "c11ab721c4a7480169ca0b1ea040fc6b3366d057",
45
+ "_shrinkwrap": null,
46
+ "_spec": "govuk-frontend@^1.0.0",
47
+ "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
48
+ "author": {
49
+ "name": "GOV.UK Design System Team",
50
+ "email": "design-system-developers@digital.cabinet-office.gov.uk",
51
+ "url": "Government Digital Service"
52
+ },
53
+ "bugs": {
54
+ "url": "https://github.com/alphagov/govuk-frontend/issues"
55
+ },
56
+ "dependencies": {},
57
+ "description": "GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.",
58
+ "devDependencies": {},
59
+ "directories": {},
60
+ "dist": {
61
+ "integrity": "sha512-4qCRrwGEcDC0ybjb5lls3P8tDgM8/hpTy2Mesgp1wa1/HdtlXtShj0E0H41lkXNrX7ZQOoDCc4gUEoOgZD+QfA==",
62
+ "shasum": "c11ab721c4a7480169ca0b1ea040fc6b3366d057",
63
+ "tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-1.0.0.tgz",
64
+ "fileCount": 236,
65
+ "unpackedSize": 1321956,
66
+ "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbK28SCRA9TVsSAnZWagAAJFQP/iQbKl/16YTlslTjmirP\n6/ppYLLbSnVMDYVuPpBlsNPriLQHlWAMn7zmEV9NLjnHQXGCfKr758OVgIKv\nCXtRKeXMeCmz8z2JHt0Bs8l1rDqzyRxV4V6ZBuKZvWg3qPHSRAlPF3UTUAi9\n5H/6aa5EXrFB7GzRMujwxGMe/s2XYIb3wa0TYbrbDKmnLlbq6ht1ePnvxOD+\nfvDsk/A/HTBUpGpfL4qxpy+o71ru/jXTCSDLADjMHCYc21qywlA7Q162HkrO\ncGNXfskyCaST6bYHAdyLzYNnwqu9ty8+Xq3uc+KkWCsnY0kQ0gxyCES6M5ew\nr0roNW3vgurCxR5n+dlftHKQVHP2edU2vTihsDbb0hDE9hmxINY+uh8s6Io6\nF9gukjsL8Gm5YoZtVfJRZ2qp32S0QuNv5HiKXUpmGWt1Gg75oMNt/kW27IAs\nyG9jRncb+0vgn6SJZdCabZn7rgbTU2V0Cd//OfyMBEQpLXtW0fFwnlKm42Y3\nLnxqXUYoNU9N7CLNpaumqc6Npu0W5rMoZ5SP7tqfJlIwTNW+vAZN2dyp3zU3\nS1O+uSaFHtEOrl+97lUMNoVr6kJ50K+vnuXt9a2Q9bHSVzu1FL/hpLaYE25M\nOUmtUemLo9n644tuuLKdZTBKt2EqVPxGuatdQ4PqBKmJMwcor5ykrMuD5Cda\n8WcI\r\n=x36e\r\n-----END PGP SIGNATURE-----\r\n"
67
+ },
68
+ "engines": {
69
+ "node": ">=6.0"
70
+ },
71
+ "homepage": "https://github.com/alphagov/govuk-frontend#readme",
72
+ "license": "MIT",
73
+ "main": "all.js",
74
+ "maintainers": [
75
+ {
76
+ "name": "govuk-patterns-and-tools",
77
+ "email": "design-system-pipeline@digital.cabinet-office.gov.uk"
78
+ }
79
+ ],
80
+ "name": "govuk-frontend",
81
+ "optionalDependencies": {},
82
+ "readme": "ERROR: No README data found!",
83
+ "repository": {
84
+ "type": "git",
85
+ "url": "git+https://github.com/alphagov/govuk-frontend.git"
86
+ },
87
+ "sass": "all.scss",
88
+ "version": "1.0.0"
89
+ }
@@ -0,0 +1,21 @@
1
+ // The order we import settings in is important, as some settings files rely on
2
+ // others
3
+
4
+ @import "assets";
5
+
6
+ @import "compatibility";
7
+ @import "global-styles";
8
+ @import "ie8";
9
+
10
+ @import "media-queries";
11
+
12
+ @import "colours-palette";
13
+ @import "colours-organisations";
14
+ @import "colours-applied";
15
+
16
+ @import "spacing";
17
+ @import "measurements";
18
+
19
+ @import "typography-font-families";
20
+ @import "typography-font";
21
+ @import "typography-responsive";
@@ -0,0 +1,82 @@
1
+ ////
2
+ /// @group settings/assets
3
+ ////
4
+
5
+ /// Path to the assets directory, with trailing slash.
6
+ ///
7
+ /// This is the directory where the images and fonts subdirectories live. You
8
+ /// will need to make this directory available via your application – see the
9
+ /// README for details.
10
+ ///
11
+ /// @type String
12
+ /// @access public
13
+
14
+ $govuk-assets-path: "/assets/" !default;
15
+
16
+ /// Path to the images folder, with trailing slash.
17
+ ///
18
+ /// @type String
19
+ /// @access public
20
+
21
+ $govuk-images-path: "#{$govuk-assets-path}images/" !default;
22
+
23
+ /// Path to the fonts folder, with trailing slash.
24
+ ///
25
+ /// @type String
26
+ /// @access public
27
+
28
+ $govuk-fonts-path: "#{$govuk-assets-path}fonts/" !default;
29
+
30
+ /// Custom image URL function
31
+ ///
32
+ /// If the built-in image URL helper does not meet your needs, you can specify
33
+ /// the name of a custom handler – either built in or by writing your own
34
+ /// function.
35
+ ///
36
+ /// If you are writing your own handler, ensure that it returns a string wrapped
37
+ /// with `url()`
38
+ ///
39
+ /// @type String
40
+ ///
41
+ /// @example scss - Rails asset handling
42
+ /// $govuk-image-url-function: 'image-url';
43
+ ///
44
+ /// @example scss - Custom asset handling
45
+ ///
46
+ /// @function my-url-handler($filename) {
47
+ /// // Some custom URL handling
48
+ /// @return url('example.jpg');
49
+ /// }
50
+ ///
51
+ /// $govuk-image-url-function: 'my-url-handler';
52
+ ///
53
+ /// @access public
54
+
55
+ $govuk-image-url-function: false !default;
56
+
57
+ /// Custom font URL function
58
+ ///
59
+ /// If the built-in font URL helper does not meet your needs, you can specify
60
+ /// the name of a custom handler – either built in or by writing your own
61
+ /// function.
62
+ ///
63
+ /// If you are writing your own handler, ensure that it returns a string wrapped
64
+ /// with `url()`
65
+ ///
66
+ /// @type String
67
+ ///
68
+ /// @example scss - Rails asset handling
69
+ /// $govuk-font-url-function: 'font-url';
70
+ ///
71
+ /// @example scss - Custom asset handling
72
+ ///
73
+ /// @function my-url-handler($filename) {
74
+ /// // Some custom URL handling
75
+ /// @return url('example.woff');
76
+ /// }
77
+ ///
78
+ /// $govuk-font-url-function: 'my-url-handler';
79
+ ///
80
+ /// @access public
81
+
82
+ $govuk-font-url-function: false !default;
@@ -0,0 +1,130 @@
1
+ ////
2
+ /// @group settings/colours
3
+ ////
4
+
5
+ @import "../helpers/colour";
6
+
7
+
8
+
9
+ // =========================================================
10
+ // Generic
11
+ // =========================================================
12
+
13
+ /// Brand colour
14
+ ///
15
+ /// @type Colour
16
+ /// @access public
17
+
18
+ $govuk-brand-colour: govuk-colour("blue") !default;
19
+
20
+ /// Text colour
21
+ ///
22
+ /// @type Colour
23
+ /// @access public
24
+
25
+ $govuk-text-colour: govuk-colour("black") !default;
26
+
27
+ /// Canvas background colour
28
+ ///
29
+ /// Used by the footer component and template to give the illusion of a long footer.
30
+ ///
31
+ /// @type Colour
32
+ /// @access public
33
+
34
+ $govuk-canvas-background-colour: govuk-colour("grey-3") !default;
35
+
36
+ /// Body background colour
37
+ ///
38
+ /// @type Colour
39
+ /// @access public
40
+
41
+ $govuk-body-background-colour: govuk-colour("white") !default;
42
+
43
+ /// Text colour for print media
44
+ ///
45
+ /// Use 'true black' to avoid printers using colour ink to print body text
46
+ ///
47
+ /// @type Colour
48
+ /// @access public
49
+
50
+ $govuk-print-text-colour: #000000 !default;
51
+
52
+ /// Secondary text colour
53
+ ///
54
+ /// Used for 'muted' text, help text, etc.
55
+ ///
56
+ /// @type Colour
57
+ /// @access public
58
+
59
+ $govuk-secondary-text-colour: govuk-colour("grey-1") !default;
60
+
61
+ /// Focus colour
62
+ ///
63
+ /// Used for outline (and background, where appropriate) when interactive
64
+ /// elements (links, form controls) have keyboard focus.
65
+ ///
66
+ /// @type Colour
67
+ /// @access public
68
+
69
+ $govuk-focus-colour: govuk-colour("yellow") !default;
70
+
71
+ /// Error colour
72
+ ///
73
+ /// Used to highlight error messages and form controls in an error state
74
+ ///
75
+ /// @type Colour
76
+ /// @access public
77
+
78
+ $govuk-error-colour: govuk-colour("red") !default;
79
+
80
+ /// Border colour
81
+ ///
82
+ /// Used for borders, separators, rules, keylines etc.
83
+ ///
84
+ /// @type Colour
85
+ /// @access public
86
+
87
+ $govuk-border-colour: govuk-colour("grey-2") !default;
88
+
89
+ /// Input border colour
90
+ ///
91
+ /// Used for form inputs and controls
92
+ ///
93
+ /// @type Colour
94
+ /// @access public
95
+
96
+ $govuk-input-border-colour: govuk-colour("black") !default;
97
+
98
+
99
+
100
+ // =============================================================================
101
+ // Links
102
+ // =============================================================================
103
+
104
+ /// Link colour
105
+ ///
106
+ /// @type Colour
107
+ /// @access public
108
+
109
+ $govuk-link-colour: govuk-colour("blue") !default;
110
+
111
+ /// Visited link colour
112
+ ///
113
+ /// @type Colour
114
+ /// @access public
115
+
116
+ $govuk-link-visited-colour: #4c2c92 !default;
117
+
118
+ /// Link hover colour
119
+ ///
120
+ /// @type Colour
121
+ /// @access public
122
+
123
+ $govuk-link-hover-colour: govuk-colour("light-blue") !default;
124
+
125
+ /// Active link colour
126
+ ///
127
+ /// @type Colour
128
+ /// @access public
129
+
130
+ $govuk-link-active-colour: govuk-colour("light-blue") !default;
@@ -0,0 +1,136 @@
1
+ ////
2
+ /// @group settings/colours
3
+ ////
4
+
5
+ /// Organisation colours
6
+ ///
7
+ /// @type Map
8
+ ///
9
+ /// @prop $organisation.colour - Colour for the given `$organisation`
10
+ /// @prop $organisation.colour-websafe - Websafe colour for the given
11
+ /// `$organisation`. We use `websafe` to mean strong enough contrast against
12
+ /// white to be used for copy and meet the AAA (large text) and AA (smaller
13
+ /// copy) WCAG guidelines.
14
+ ///
15
+ /// @access public
16
+
17
+ $govuk-colours-organisations: (
18
+ "attorney-generals-office": (
19
+ colour: #9f1888,
20
+ colour-websafe: #a03a88
21
+ ),
22
+ "cabinet-office": (
23
+ colour: #005abb,
24
+ colour-websafe: #347da4
25
+ ),
26
+ "civil-service": (
27
+ colour: #af292e
28
+ ),
29
+ "department-for-business-innovation-skills": (
30
+ colour: #003479,
31
+ colour-websafe: #347da4
32
+ ),
33
+ "department-for-communities-and-local-government": (
34
+ colour: #00857e,
35
+ colour-websafe: #37836e
36
+ ),
37
+ "department-for-culture-media-sport": (
38
+ colour: #d40072,
39
+ colour-websafe: #a03155
40
+ ),
41
+ "department-for-education": (
42
+ colour: #003a69,
43
+ colour-websafe: #347ca9
44
+ ),
45
+ "department-for-environment-food-rural-affairs": (
46
+ colour: #00a33b,
47
+ colour-websafe: #008938
48
+ ),
49
+ "department-for-international-development": (
50
+ colour: #002878,
51
+ colour-websafe: #405e9a
52
+ ),
53
+ "department-for-international-trade": (
54
+ colour: #cf102d,
55
+ colour-websafe: #005ea5
56
+ ),
57
+ "department-for-transport": (
58
+ colour: #006c56,
59
+ colour-websafe: #398373
60
+ ),
61
+ "department-for-work-pensions": (
62
+ colour: #00beb7,
63
+ colour-websafe: #37807b
64
+ ),
65
+ "department-of-energy-climate-change": (
66
+ colour: #009ddb,
67
+ colour-websafe: #2b7cac
68
+ ),
69
+ "department-of-health": (
70
+ colour: #00ad93,
71
+ colour-websafe: #39836e
72
+ ),
73
+ "foreign-commonwealth-office": (
74
+ colour: #003e74,
75
+ colour-websafe: #406e97
76
+ ),
77
+ "government-equalities-office": (
78
+ colour: #9325b2
79
+ ),
80
+ "hm-government": (
81
+ colour: #0076c0,
82
+ colour-websafe: #347da4
83
+ ),
84
+ "hm-revenue-customs": (
85
+ colour: #009390,
86
+ colour-websafe: #008670
87
+ ),
88
+ "hm-treasury": (
89
+ colour: #af292e,
90
+ colour-websafe: #832322
91
+ ),
92
+ "home-office": (
93
+ colour: #9325b2,
94
+ colour-websafe: #9440b2
95
+ ),
96
+ "ministry-of-defence": (
97
+ colour: #4d2942,
98
+ colour-websafe: #5a5c92
99
+ ),
100
+ "ministry-of-justice": (
101
+ colour: #231f20,
102
+ colour-websafe: #5a5c92
103
+ ),
104
+ "northern-ireland-office": (
105
+ colour: #002663,
106
+ colour-websafe: #3e598c
107
+ ),
108
+ "office-of-the-advocate-general-for-scotland": (
109
+ colour: #002663,
110
+ colour-websafe: #005ea5
111
+ ),
112
+ "office-of-the-leader-of-the-house-of-commons": (
113
+ colour: #317023,
114
+ colour-websafe: #005f8f
115
+ ),
116
+ "office-of-the-leader-of-the-house-of-lords": (
117
+ colour: #9c132e,
118
+ colour-websafe: #c2395d
119
+ ),
120
+ "scotland-office": (
121
+ colour: #002663,
122
+ colour-websafe: #405c8a
123
+ ),
124
+ "uk-export-finance": (
125
+ colour: #005747,
126
+ colour-websafe: #005ea5
127
+ ),
128
+ "uk-trade-investment": (
129
+ colour: #c80651,
130
+ colour-websafe: #005ea5
131
+ ),
132
+ "wales-office": (
133
+ colour: #a33038,
134
+ colour-websafe: #7a242a
135
+ )
136
+ ) !default;