govuk_publishing_components 62.0.0 → 62.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/components/option-select.js +4 -3
  3. data/app/assets/javascripts/govuk_publishing_components/lib/filter-list.js +48 -0
  4. data/app/assets/javascripts/govuk_publishing_components/vendor/lux/lux-reporter.js +373 -245
  5. data/app/assets/stylesheets/component_guide/application.scss +1 -42
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +5 -1
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +6 -11
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_option-select.scss +2 -2
  9. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss +6 -38
  10. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +2 -3
  11. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +6 -1
  12. data/app/controllers/govuk_publishing_components/applications_page_controller.rb +50 -0
  13. data/app/models/govuk_publishing_components/applications_page.rb +64 -0
  14. data/app/views/govuk_publishing_components/applications_page/_table-content.html.erb +39 -0
  15. data/app/views/govuk_publishing_components/applications_page/show.html.erb +37 -0
  16. data/app/views/govuk_publishing_components/audit/show.html.erb +5 -1
  17. data/app/views/govuk_publishing_components/component_guide/_component_list.html.erb +14 -0
  18. data/app/views/govuk_publishing_components/component_guide/example.html.erb +3 -3
  19. data/app/views/govuk_publishing_components/component_guide/index.html.erb +50 -75
  20. data/app/views/govuk_publishing_components/component_guide/show.html.erb +7 -7
  21. data/app/views/govuk_publishing_components/components/contextual_sidebar/_ukraine_cta.html.erb +27 -25
  22. data/app/views/govuk_publishing_components/components/docs/govspeak.yml +6 -0
  23. data/app/views/govuk_publishing_components/components/docs/organisation_logo.yml +7 -1
  24. data/config/routes.rb +1 -0
  25. data/lib/govuk_publishing_components/minitest/component_guide_test.rb +1 -1
  26. data/lib/govuk_publishing_components/presenters/organisation_logo_helper.rb +7 -1
  27. data/lib/govuk_publishing_components/version.rb +1 -1
  28. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +37 -133
  29. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -1
  30. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +37 -133
  31. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -1
  32. data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
  33. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss +4 -4
  34. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss.map +1 -1
  35. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js +1 -126
  36. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js.map +1 -1
  37. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs +1 -126
  38. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs.map +1 -1
  39. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss +1 -1
  40. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss.map +1 -1
  41. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss +2 -2
  42. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss.map +1 -1
  43. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js +1 -126
  44. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js.map +1 -1
  45. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs +1 -126
  46. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs.map +1 -1
  47. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/fixtures.json +34 -29
  48. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/macro-options.json +1 -1
  49. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-default.html +23 -23
  50. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-conditional-reveal.html +21 -21
  51. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-divider-and-none.html +30 -30
  52. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-error.html +26 -26
  53. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-hint.html +25 -25
  54. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-long-text.html +23 -23
  55. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small.html +23 -23
  56. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-items.html +35 -35
  57. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-and-none.html +30 -30
  58. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-none-and-conditional-items.html +40 -40
  59. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-error-message.html +32 -32
  60. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-hint.html +25 -25
  61. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-hints-on-items.html +21 -21
  62. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-legend-as-a-page-heading.html +27 -27
  63. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-optional-form-group-classes-showing-group-error.html +36 -36
  64. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-pre-checked-values.html +35 -35
  65. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-very-long-option-text.html +25 -25
  66. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template.njk +1 -1
  67. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss +1 -1
  68. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss.map +1 -1
  69. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js +1 -126
  70. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js.map +1 -1
  71. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs +1 -126
  72. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs.map +1 -1
  73. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss +2 -1
  74. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss.map +1 -1
  75. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js +36 -132
  76. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js.map +1 -1
  77. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs +36 -132
  78. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs.map +1 -1
  79. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.mjs +35 -6
  80. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.mjs.map +1 -1
  81. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/fixtures.json +17 -0
  82. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced-multiple-files.html +10 -0
  83. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +4 -4
  84. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -1
  85. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +20 -20
  86. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +1 -1
  87. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss +7 -15
  88. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss.map +1 -1
  89. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss +2 -2
  90. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss.map +1 -1
  91. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss +4 -2
  92. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss.map +1 -1
  93. data/node_modules/govuk-frontend/dist/govuk/components/pagination/fixtures.json +1 -1
  94. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-many-pages.html +2 -2
  95. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template.njk +1 -1
  96. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +2 -2
  97. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss.map +1 -1
  98. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss +2 -2
  99. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss.map +1 -1
  100. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js +1 -126
  101. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js.map +1 -1
  102. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs +1 -126
  103. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs.map +1 -1
  104. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss +1 -1
  105. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss.map +1 -1
  106. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +1 -1
  107. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +1 -1
  108. data/node_modules/govuk-frontend/dist/govuk/components/radios/fixtures.json +36 -31
  109. data/node_modules/govuk-frontend/dist/govuk/components/radios/macro-options.json +3 -3
  110. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-default.html +17 -17
  111. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-inline.html +19 -19
  112. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-inline.html +23 -23
  113. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-a-divider.html +24 -24
  114. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-conditional-reveal.html +27 -27
  115. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-error.html +26 -26
  116. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-hint.html +25 -25
  117. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-long-text.html +23 -23
  118. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small.html +23 -23
  119. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-a-divider.html +24 -24
  120. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-item-checked.html +35 -35
  121. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items-and-pre-checked-value.html +35 -35
  122. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items.html +35 -35
  123. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-fieldset-and-error-message.html +20 -20
  124. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-hint.html +19 -19
  125. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-hints-on-items.html +23 -23
  126. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-legend-as-page-heading.html +21 -21
  127. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-optional-form-group-classes-showing-group-error.html +36 -36
  128. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-very-long-option-text.html +28 -28
  129. data/node_modules/govuk-frontend/dist/govuk/components/radios/template.njk +1 -1
  130. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss +1 -7
  131. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss.map +1 -1
  132. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +5 -5
  133. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss.map +1 -1
  134. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss +16 -16
  135. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss.map +1 -1
  136. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss +1 -1
  137. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss.map +1 -1
  138. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss +1 -1
  139. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss.map +1 -1
  140. data/node_modules/govuk-frontend/dist/govuk/components/task-list/fixtures.json +46 -0
  141. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-forced-hover-state.html +37 -0
  142. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss +1 -7
  143. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss.map +1 -1
  144. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +1 -1
  145. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss.map +1 -1
  146. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +1 -1
  147. data/node_modules/govuk-frontend/dist/govuk/core/_lists.scss +2 -2
  148. data/node_modules/govuk-frontend/dist/govuk/core/_lists.scss.map +1 -1
  149. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss +3 -3
  150. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss.map +1 -1
  151. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +2 -2
  152. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -1
  153. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -1
  154. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -1
  155. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss +34 -0
  156. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss.map +1 -1
  157. data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss +1 -1
  158. data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss.map +1 -1
  159. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss +1 -1
  160. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss.map +1 -1
  161. data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.scss +172 -33
  162. data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.scss.map +1 -1
  163. data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.scss +1 -1
  164. data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.scss.map +1 -1
  165. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +4 -4
  166. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss.map +1 -1
  167. data/node_modules/govuk-frontend/dist/govuk/i18n.mjs +1 -126
  168. data/node_modules/govuk-frontend/dist/govuk/i18n.mjs.map +1 -1
  169. data/node_modules/govuk-frontend/dist/govuk/objects/_button-group.scss +1 -1
  170. data/node_modules/govuk-frontend/dist/govuk/objects/_button-group.scss.map +1 -1
  171. data/node_modules/govuk-frontend/dist/govuk/objects/_main-wrapper.scss +1 -1
  172. data/node_modules/govuk-frontend/dist/govuk/objects/_main-wrapper.scss.map +1 -1
  173. data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss +1 -1
  174. data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss.map +1 -1
  175. data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.scss +2 -2
  176. data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.scss.map +1 -1
  177. data/node_modules/govuk-frontend/dist/govuk/overrides/_display.scss +1 -1
  178. data/node_modules/govuk-frontend/dist/govuk/overrides/_display.scss.map +1 -1
  179. data/node_modules/govuk-frontend/dist/govuk/overrides/_width.scss +5 -5
  180. data/node_modules/govuk-frontend/dist/govuk/overrides/_width.scss.map +1 -1
  181. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss +7 -0
  182. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss.map +1 -1
  183. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.scss +4 -2
  184. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.scss.map +1 -1
  185. data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +1 -1
  186. data/node_modules/govuk-frontend/package.json +9 -8
  187. metadata +9 -4
  188. data/app/assets/javascripts/component_guide/filter-components.js +0 -35
  189. data/node_modules/govuk-frontend/dist/govuk/vendor/_sass-mq.scss +0 -349
  190. data/node_modules/govuk-frontend/dist/govuk/vendor/_sass-mq.scss.map +0 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "govuk-frontend",
3
3
  "description": "GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.",
4
- "version": "5.11.2",
4
+ "version": "5.13.0",
5
5
  "main": "dist/govuk/all.bundle.js",
6
6
  "module": "dist/govuk/all.mjs",
7
7
  "sass": "dist/govuk/index.scss",
@@ -33,7 +33,8 @@
33
33
  },
34
34
  "repository": {
35
35
  "type": "git",
36
- "url": "https://github.com/alphagov/govuk-frontend.git"
36
+ "url": "git+https://github.com/alphagov/govuk-frontend.git",
37
+ "directory": "packages/govuk-frontend"
37
38
  },
38
39
  "bugs": {
39
40
  "url": "https://github.com/alphagov/govuk-frontend/issues"
@@ -62,8 +63,8 @@
62
63
  "version": "echo $npm_package_version"
63
64
  },
64
65
  "devDependencies": {
65
- "@babel/core": "^7.28.0",
66
- "@babel/preset-env": "^7.28.0",
66
+ "@babel/core": "^7.28.4",
67
+ "@babel/preset-env": "^7.28.3",
67
68
  "@govuk-frontend/config": "*",
68
69
  "@govuk-frontend/helpers": "*",
69
70
  "@govuk-frontend/lib": "*",
@@ -72,18 +73,18 @@
72
73
  "@rollup/plugin-replace": "^6.0.2",
73
74
  "@rollup/plugin-terser": "^0.4.4",
74
75
  "autoprefixer": "^10.4.21",
75
- "cssnano": "^7.1.0",
76
+ "cssnano": "^7.1.1",
76
77
  "cssnano-preset-default": "^7.0.1",
77
78
  "govuk-prototype-kit": "^13.18.0",
78
79
  "gulp": "^5.0.1",
79
80
  "gulp-cli": "^3.0.0",
80
- "html-validate": "9.7.1",
81
+ "html-validate": "10.1.0",
81
82
  "nunjucks": "^3.2.4",
82
83
  "outdent": "^0.8.0",
83
84
  "postcss": "^8.5.6",
84
85
  "postcss-scss": "^4.0.9",
85
- "puppeteer": "^24.15.0",
86
- "rollup": "^4.46.2",
86
+ "puppeteer": "^24.23.0",
87
+ "rollup": "^4.52.3",
87
88
  "sass-color-helpers": "^2.1.1",
88
89
  "sass-embedded": "^1.89.2",
89
90
  "sassdoc": "^2.7.4",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_publishing_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 62.0.0
4
+ version: 62.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
@@ -460,7 +460,6 @@ files:
460
460
  - app/assets/javascripts/component_guide/accessibility-test.js
461
461
  - app/assets/javascripts/component_guide/application.js
462
462
  - app/assets/javascripts/component_guide/audit-filter.js
463
- - app/assets/javascripts/component_guide/filter-components.js
464
463
  - app/assets/javascripts/component_guide/vendor/bind-polyfill.js
465
464
  - app/assets/javascripts/component_guide/vendor/matches-polyfill.min.js
466
465
  - app/assets/javascripts/govuk_publishing_components/all_components.js
@@ -526,6 +525,7 @@ files:
526
525
  - app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js
527
526
  - app/assets/javascripts/govuk_publishing_components/lib/cookie-settings.js
528
527
  - app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
528
+ - app/assets/javascripts/govuk_publishing_components/lib/filter-list.js
529
529
  - app/assets/javascripts/govuk_publishing_components/lib/govspeak/all.js
530
530
  - app/assets/javascripts/govuk_publishing_components/lib/govspeak/barchart-enhancement.js
531
531
  - app/assets/javascripts/govuk_publishing_components/lib/govspeak/magna-charta.js
@@ -664,9 +664,11 @@ files:
664
664
  - app/assets/stylesheets/govuk_publishing_components/govuk_frontend_support.scss
665
665
  - app/assets/stylesheets/govuk_publishing_components/lib/_print_support.scss
666
666
  - app/controllers/govuk_publishing_components/application_controller.rb
667
+ - app/controllers/govuk_publishing_components/applications_page_controller.rb
667
668
  - app/controllers/govuk_publishing_components/audit_controller.rb
668
669
  - app/controllers/govuk_publishing_components/component_guide_controller.rb
669
670
  - app/helpers/govuk_publishing_components/application_helper.rb
671
+ - app/models/govuk_publishing_components/applications_page.rb
670
672
  - app/models/govuk_publishing_components/audit_applications.rb
671
673
  - app/models/govuk_publishing_components/audit_comparer.rb
672
674
  - app/models/govuk_publishing_components/audit_components.rb
@@ -675,12 +677,15 @@ files:
675
677
  - app/models/govuk_publishing_components/component_example.rb
676
678
  - app/models/govuk_publishing_components/component_wrapper_helper_options.rb
677
679
  - app/models/govuk_publishing_components/shared_accessibility_criteria.rb
680
+ - app/views/govuk_publishing_components/applications_page/_table-content.html.erb
681
+ - app/views/govuk_publishing_components/applications_page/show.html.erb
678
682
  - app/views/govuk_publishing_components/audit/_applications.html.erb
679
683
  - app/views/govuk_publishing_components/audit/_component_contents.html.erb
680
684
  - app/views/govuk_publishing_components/audit/_components.html.erb
681
685
  - app/views/govuk_publishing_components/audit/_items_in_applications.html.erb
682
686
  - app/views/govuk_publishing_components/audit/show.html.erb
683
687
  - app/views/govuk_publishing_components/component_guide/_application_stylesheet.html.erb
688
+ - app/views/govuk_publishing_components/component_guide/_component_list.html.erb
684
689
  - app/views/govuk_publishing_components/component_guide/component_doc/_call.html.erb
685
690
  - app/views/govuk_publishing_components/component_guide/component_doc/_component.html.erb
686
691
  - app/views/govuk_publishing_components/component_guide/component_doc/_component_output.html.erb
@@ -1529,6 +1534,7 @@ files:
1529
1534
  - node_modules/govuk-frontend/dist/govuk/components/file-upload/macro-options.json
1530
1535
  - node_modules/govuk-frontend/dist/govuk/components/file-upload/macro.njk
1531
1536
  - node_modules/govuk-frontend/dist/govuk/components/file-upload/template-default.html
1537
+ - node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced-multiple-files.html
1532
1538
  - node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced-with-error-message-and-hint.html
1533
1539
  - node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced.html
1534
1540
  - node_modules/govuk-frontend/dist/govuk/components/file-upload/template-translated.html
@@ -1900,6 +1906,7 @@ files:
1900
1906
  - node_modules/govuk-frontend/dist/govuk/components/task-list/macro-options.json
1901
1907
  - node_modules/govuk-frontend/dist/govuk/components/task-list/macro.njk
1902
1908
  - node_modules/govuk-frontend/dist/govuk/components/task-list/template-default.html
1909
+ - node_modules/govuk-frontend/dist/govuk/components/task-list/template-forced-hover-state.html
1903
1910
  - node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-all-possible-colours.html
1904
1911
  - node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-empty-values.html
1905
1912
  - node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-hint-text-and-additional-states.html
@@ -2073,8 +2080,6 @@ files:
2073
2080
  - node_modules/govuk-frontend/dist/govuk/utilities/_index.scss.map
2074
2081
  - node_modules/govuk-frontend/dist/govuk/utilities/_visually-hidden.scss
2075
2082
  - node_modules/govuk-frontend/dist/govuk/utilities/_visually-hidden.scss.map
2076
- - node_modules/govuk-frontend/dist/govuk/vendor/_sass-mq.scss
2077
- - node_modules/govuk-frontend/dist/govuk/vendor/_sass-mq.scss.map
2078
2083
  - node_modules/govuk-frontend/govuk-prototype-kit.config.json
2079
2084
  - node_modules/govuk-frontend/package.json
2080
2085
  - node_modules/govuk-single-consent/README.md
@@ -1,35 +0,0 @@
1
- (function () {
2
- window.GOVUK = window.GOVUK || {}
3
-
4
- window.GOVUK.FilterComponents = function filterList (searchTerm) {
5
- var itemsToFilter = document.querySelectorAll('.component-list li')
6
-
7
- for (var i = 0; i < itemsToFilter.length; i++) {
8
- var currentComponent = itemsToFilter[i]
9
- var componentText = currentComponent.innerText.toLowerCase()
10
-
11
- if (componentText.includes(searchTerm.toLowerCase())) {
12
- currentComponent.classList.remove('component-guide-hidden')
13
- } else {
14
- currentComponent.classList.add('component-guide-hidden')
15
- }
16
- }
17
- }
18
-
19
- var formElement = document.querySelector('[data-module=filter-components]')
20
-
21
- if (formElement) {
22
- var searchField = formElement.querySelector('input')
23
-
24
- // We don't want the form to submit/refresh the page on enter key
25
- formElement.addEventListener('submit', function (e) { e.preventDefault() })
26
-
27
- searchField.addEventListener('input', function (e) {
28
- var searchTerm = searchField.value
29
- window.GOVUK.FilterComponents(searchTerm)
30
- })
31
-
32
- // trigger search if search query exists in query string on page load
33
- window.GOVUK.FilterComponents(searchField.value)
34
- }
35
- })()
@@ -1,349 +0,0 @@
1
- // mq() v4.0.2
2
- // sass-mq/sass-mq
3
-
4
- @charset "UTF-8"; // Fixes an issue where Ruby locale is not set properly
5
- // See https://github.com/sass-mq/sass-mq/pull/10
6
-
7
- /// Base font size on the `<body>` element
8
- /// @type Number (unit)
9
- $mq-base-font-size: 16px !default;
10
-
11
- /// Responsive mode
12
- ///
13
- /// Set to `false` to enable support for browsers that do not support @media queries,
14
- /// (IE <= 8, Firefox <= 3, Opera <= 9)
15
- ///
16
- /// You could create a stylesheet served exclusively to older browsers,
17
- /// where @media queries are rasterized
18
- ///
19
- /// @example scss
20
- /// // old-ie.scss
21
- /// $mq-responsive: false;
22
- /// @import 'main'; // @media queries in this file will be rasterized up to $mq-static-breakpoint
23
- /// // larger breakpoints will be ignored
24
- ///
25
- /// @type Boolean
26
- /// @link https://github.com/sass-mq/sass-mq#responsive-mode-off Disabled responsive mode documentation
27
- $mq-responsive: true !default;
28
-
29
- /// Breakpoint list
30
- ///
31
- /// Name your breakpoints in a way that creates a ubiquitous language
32
- /// across team members. It will improve communication between
33
- /// stakeholders, designers, developers, and testers.
34
- ///
35
- /// @type Map
36
- /// @link https://github.com/sass-mq/sass-mq#seeing-the-currently-active-breakpoint Full documentation and examples
37
- $mq-breakpoints: (
38
- mobile: 320px,
39
- tablet: 740px,
40
- desktop: 980px,
41
- wide: 1300px
42
- ) !default;
43
-
44
- /// Static breakpoint (for fixed-width layouts)
45
- ///
46
- /// Define the breakpoint from $mq-breakpoints that should
47
- /// be used as the target width for the fixed-width layout
48
- /// (i.e. when $mq-responsive is set to 'false') in a old-ie.scss
49
- ///
50
- /// @example scss
51
- /// // tablet-only.scss
52
- /// //
53
- /// // Ignore all styles above tablet breakpoint,
54
- /// // and fix the styles (e.g. layout) at tablet width
55
- /// $mq-responsive: false;
56
- /// $mq-static-breakpoint: tablet;
57
- /// @import 'main'; // @media queries in this file will be rasterized up to tablet
58
- /// // larger breakpoints will be ignored
59
- ///
60
- /// @type String
61
- /// @link https://github.com/sass-mq/sass-mq#adding-custom-breakpoints Full documentation and examples
62
- $mq-static-breakpoint: desktop !default;
63
-
64
- /// Show breakpoints in the top right corner
65
- ///
66
- /// If you want to display the currently active breakpoint in the top
67
- /// right corner of your site during development, add the breakpoints
68
- /// to this list, ordered by width, e.g. (mobile, tablet, desktop).
69
- ///
70
- /// @type map
71
- $mq-show-breakpoints: () !default;
72
-
73
- /// Customize the media type (e.g. `@media screen` or `@media print`)
74
- /// By default sass-mq uses an "all" media type (`@media all and …`)
75
- ///
76
- /// @type String
77
- /// @link https://github.com/sass-mq/sass-mq#changing-media-type Full documentation and examples
78
- $mq-media-type: all !default;
79
-
80
- /// Convert pixels to ems
81
- ///
82
- /// @param {Number} $px - value to convert
83
- /// @param {Number} $base-font-size ($mq-base-font-size) - `<body>` font size
84
- ///
85
- /// @example scss
86
- /// $font-size-in-ems: mq-px2em(16px);
87
- /// p { font-size: mq-px2em(16px); }
88
- ///
89
- /// @requires $mq-base-font-size
90
- /// @returns {Number}
91
- @function mq-px2em($px, $base-font-size: $mq-base-font-size) {
92
- @if unitless($px) {
93
- @warn "Assuming #{$px} to be in pixels, attempting to convert it into pixels.";
94
- @return mq-px2em($px * 1px, $base-font-size);
95
- } @else if unit($px) == em {
96
- @return $px;
97
- }
98
- @return ($px / $base-font-size) * 1em;
99
- }
100
-
101
- /// Get a breakpoint's width
102
- ///
103
- /// @param {String} $name - Name of the breakpoint. One of $mq-breakpoints
104
- ///
105
- /// @example scss
106
- /// $tablet-width: mq-get-breakpoint-width(tablet);
107
- /// @media (min-width: mq-get-breakpoint-width(desktop)) {}
108
- ///
109
- /// @requires {Variable} $mq-breakpoints
110
- ///
111
- /// @returns {Number} Value in pixels
112
- @function mq-get-breakpoint-width($name, $breakpoints: $mq-breakpoints) {
113
- @if map-has-key($breakpoints, $name) {
114
- @return map-get($breakpoints, $name);
115
- } @else {
116
- @warn "Breakpoint #{$name} wasn't found in $breakpoints.";
117
- }
118
- }
119
-
120
- /// Media Query mixin
121
- ///
122
- /// @param {String | Boolean} $from (false) - One of $mq-breakpoints
123
- /// @param {String | Boolean} $until (false) - One of $mq-breakpoints
124
- /// @param {String | Boolean} $and (false) - Additional media query parameters
125
- /// @param {String} $media-type ($mq-media-type) - Media type: screen, print…
126
- ///
127
- /// @ignore Undocumented API, for advanced use only:
128
- /// @ignore @param {Map} $breakpoints ($mq-breakpoints)
129
- /// @ignore @param {String} $static-breakpoint ($mq-static-breakpoint)
130
- ///
131
- /// @content styling rules, wrapped into a @media query when $responsive is true
132
- ///
133
- /// @requires {Variable} $mq-media-type
134
- /// @requires {Variable} $mq-breakpoints
135
- /// @requires {Variable} $mq-static-breakpoint
136
- /// @requires {function} mq-px2em
137
- /// @requires {function} mq-get-breakpoint-width
138
- ///
139
- /// @link https://github.com/sass-mq/sass-mq#responsive-mode-on-default Full documentation and examples
140
- ///
141
- /// @example scss
142
- /// .element {
143
- /// @include mq($from: mobile) {
144
- /// color: red;
145
- /// }
146
- /// @include mq($until: tablet) {
147
- /// color: blue;
148
- /// }
149
- /// @include mq(mobile, tablet) {
150
- /// color: green;
151
- /// }
152
- /// @include mq($from: tablet, $and: '(orientation: landscape)') {
153
- /// color: teal;
154
- /// }
155
- /// @include mq(950px) {
156
- /// color: hotpink;
157
- /// }
158
- /// @include mq(tablet, $media-type: screen) {
159
- /// color: hotpink;
160
- /// }
161
- /// // Advanced use:
162
- /// $my-breakpoints: (L: 900px, XL: 1200px);
163
- /// @include mq(L, $breakpoints: $my-breakpoints, $static-breakpoint: L) {
164
- /// color: hotpink;
165
- /// }
166
- /// }
167
- @mixin mq(
168
- $from: false,
169
- $until: false,
170
- $and: false,
171
- $media-type: $mq-media-type,
172
- $breakpoints: $mq-breakpoints,
173
- $responsive: $mq-responsive,
174
- $static-breakpoint: $mq-static-breakpoint
175
- ) {
176
- $min-width: 0;
177
- $max-width: 0;
178
- $media-query: '';
179
-
180
- // From: this breakpoint (inclusive)
181
- @if $from {
182
- @if type-of($from) == number {
183
- $min-width: mq-px2em($from);
184
- } @else {
185
- $min-width: mq-px2em(mq-get-breakpoint-width($from, $breakpoints));
186
- }
187
- }
188
-
189
- // Until: that breakpoint (exclusive)
190
- @if $until {
191
- @if type-of($until) == number {
192
- $max-width: mq-px2em($until);
193
- } @else {
194
- $max-width: mq-px2em(mq-get-breakpoint-width($until, $breakpoints)) - .01em;
195
- }
196
- }
197
-
198
- // Responsive support is disabled, rasterize the output outside @media blocks
199
- // The browser will rely on the cascade itself.
200
- @if $responsive == false {
201
- $static-breakpoint-width: mq-get-breakpoint-width($static-breakpoint, $breakpoints);
202
- $target-width: mq-px2em($static-breakpoint-width);
203
-
204
- // Output only rules that start at or span our target width
205
- @if (
206
- $and == false
207
- and $min-width <= $target-width
208
- and (
209
- $until == false or $max-width >= $target-width
210
- )
211
- and $media-type != 'print'
212
- ) {
213
- @content;
214
- }
215
- }
216
-
217
- // Responsive support is enabled, output rules inside @media queries
218
- @else {
219
- @if $min-width != 0 { $media-query: '#{$media-query} and (min-width: #{$min-width})'; }
220
- @if $max-width != 0 { $media-query: '#{$media-query} and (max-width: #{$max-width})'; }
221
- @if $and { $media-query: '#{$media-query} and #{$and}'; }
222
-
223
- // Remove unnecessary media query prefix 'all and '
224
- @if ($media-type == 'all' and $media-query != '') {
225
- $media-type: '';
226
- $media-query: str-slice(unquote($media-query), 6);
227
- }
228
-
229
- @media #{$media-type + $media-query} {
230
- @content;
231
- }
232
- }
233
- }
234
-
235
- /// Quick sort
236
- ///
237
- /// @author Sam Richards
238
- /// @access private
239
- /// @param {List} $list - List to sort
240
- /// @returns {List} Sorted List
241
- @function _mq-quick-sort($list) {
242
- $less: ();
243
- $equal: ();
244
- $large: ();
245
-
246
- @if length($list) > 1 {
247
- $seed: nth($list, ceil(length($list) / 2));
248
-
249
- @each $item in $list {
250
- @if ($item == $seed) {
251
- $equal: append($equal, $item);
252
- } @else if ($item < $seed) {
253
- $less: append($less, $item);
254
- } @else if ($item > $seed) {
255
- $large: append($large, $item);
256
- }
257
- }
258
-
259
- @return join(join(_mq-quick-sort($less), $equal), _mq-quick-sort($large));
260
- }
261
-
262
- @return $list;
263
- }
264
-
265
- /// Sort a map by values (works with numbers only)
266
- ///
267
- /// @access private
268
- /// @param {Map} $map - Map to sort
269
- /// @returns {Map} Map sorted by value
270
- @function _mq-map-sort-by-value($map) {
271
- $map-sorted: ();
272
- $map-keys: map-keys($map);
273
- $map-values: map-values($map);
274
- $map-values-sorted: _mq-quick-sort($map-values);
275
-
276
- // Reorder key/value pairs based on key values
277
- @each $value in $map-values-sorted {
278
- $index: index($map-values, $value);
279
- $key: nth($map-keys, $index);
280
- $map-sorted: map-merge($map-sorted, ($key: $value));
281
-
282
- // Unset the value in $map-values to prevent the loop
283
- // from finding the same index twice
284
- $map-values: set-nth($map-values, $index, 0);
285
- }
286
-
287
- @return $map-sorted;
288
- }
289
-
290
- /// Add a breakpoint
291
- ///
292
- /// @param {String} $name - Name of the breakpoint
293
- /// @param {Number} $width - Width of the breakpoint
294
- ///
295
- /// @requires {Variable} $mq-breakpoints
296
- ///
297
- /// @example scss
298
- /// @include mq-add-breakpoint(tvscreen, 1920px);
299
- /// @include mq(tvscreen) {}
300
- @mixin mq-add-breakpoint($name, $width) {
301
- $new-breakpoint: ($name: $width);
302
- $mq-breakpoints: map-merge($mq-breakpoints, $new-breakpoint) !global;
303
- $mq-breakpoints: _mq-map-sort-by-value($mq-breakpoints) !global;
304
- }
305
-
306
- /// Show the active breakpoint in the top right corner of the viewport
307
- /// @link https://github.com/sass-mq/sass-mq#seeing-the-currently-active-breakpoint
308
- ///
309
- /// @param {List} $show-breakpoints ($mq-show-breakpoints) - List of breakpoints to show in the top right corner
310
- /// @param {Map} $breakpoints ($mq-breakpoints) - Breakpoint names and sizes
311
- ///
312
- /// @requires {Variable} $mq-breakpoints
313
- /// @requires {Variable} $mq-show-breakpoints
314
- ///
315
- /// @example scss
316
- /// // Show breakpoints using global settings
317
- /// @include mq-show-breakpoints;
318
- ///
319
- /// // Show breakpoints using custom settings
320
- /// @include mq-show-breakpoints((L, XL), (S: 300px, L: 800px, XL: 1200px));
321
- @mixin mq-show-breakpoints($show-breakpoints: $mq-show-breakpoints, $breakpoints: $mq-breakpoints) {
322
- body::before {
323
- background-color: #FCF8E3;
324
- border-bottom: 1px solid #FBEED5;
325
- border-left: 1px solid #FBEED5;
326
- color: #C09853;
327
- font: small-caption;
328
- padding: 3px 6px;
329
- pointer-events: none;
330
- position: fixed;
331
- right: 0;
332
- top: 0;
333
- z-index: 100;
334
-
335
- // Loop through the breakpoints that should be shown
336
- @each $show-breakpoint in $show-breakpoints {
337
- $width: mq-get-breakpoint-width($show-breakpoint, $breakpoints);
338
- @include mq($show-breakpoint, $breakpoints: $breakpoints) {
339
- content: "#{$show-breakpoint} ≥ #{$width} (#{mq-px2em($width)})";
340
- }
341
- }
342
- }
343
- }
344
-
345
- @if length($mq-show-breakpoints) > 0 {
346
- @include mq-show-breakpoints;
347
- }
348
-
349
- /*# sourceMappingURL=_sass-mq.scss.map */
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/govuk/vendor/_sass-mq.scss"],"names":[],"mappings":"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","file":"_sass-mq.scss","sourcesContent":["// mq() v4.0.2\n// sass-mq/sass-mq\n\n@charset \"UTF-8\"; // Fixes an issue where Ruby locale is not set properly\n // See https://github.com/sass-mq/sass-mq/pull/10\n\n/// Base font size on the `<body>` element\n/// @type Number (unit)\n$mq-base-font-size: 16px !default;\n\n/// Responsive mode\n///\n/// Set to `false` to enable support for browsers that do not support @media queries,\n/// (IE <= 8, Firefox <= 3, Opera <= 9)\n///\n/// You could create a stylesheet served exclusively to older browsers,\n/// where @media queries are rasterized\n///\n/// @example scss\n/// // old-ie.scss\n/// $mq-responsive: false;\n/// @import 'main'; // @media queries in this file will be rasterized up to $mq-static-breakpoint\n/// // larger breakpoints will be ignored\n///\n/// @type Boolean\n/// @link https://github.com/sass-mq/sass-mq#responsive-mode-off Disabled responsive mode documentation\n$mq-responsive: true !default;\n\n/// Breakpoint list\n///\n/// Name your breakpoints in a way that creates a ubiquitous language\n/// across team members. It will improve communication between\n/// stakeholders, designers, developers, and testers.\n///\n/// @type Map\n/// @link https://github.com/sass-mq/sass-mq#seeing-the-currently-active-breakpoint Full documentation and examples\n$mq-breakpoints: (\n mobile: 320px,\n tablet: 740px,\n desktop: 980px,\n wide: 1300px\n) !default;\n\n/// Static breakpoint (for fixed-width layouts)\n///\n/// Define the breakpoint from $mq-breakpoints that should\n/// be used as the target width for the fixed-width layout\n/// (i.e. when $mq-responsive is set to 'false') in a old-ie.scss\n///\n/// @example scss\n/// // tablet-only.scss\n/// //\n/// // Ignore all styles above tablet breakpoint,\n/// // and fix the styles (e.g. layout) at tablet width\n/// $mq-responsive: false;\n/// $mq-static-breakpoint: tablet;\n/// @import 'main'; // @media queries in this file will be rasterized up to tablet\n/// // larger breakpoints will be ignored\n///\n/// @type String\n/// @link https://github.com/sass-mq/sass-mq#adding-custom-breakpoints Full documentation and examples\n$mq-static-breakpoint: desktop !default;\n\n/// Show breakpoints in the top right corner\n///\n/// If you want to display the currently active breakpoint in the top\n/// right corner of your site during development, add the breakpoints\n/// to this list, ordered by width, e.g. (mobile, tablet, desktop).\n///\n/// @type map\n$mq-show-breakpoints: () !default;\n\n/// Customize the media type (e.g. `@media screen` or `@media print`)\n/// By default sass-mq uses an \"all\" media type (`@media all and …`)\n///\n/// @type String\n/// @link https://github.com/sass-mq/sass-mq#changing-media-type Full documentation and examples\n$mq-media-type: all !default;\n\n/// Convert pixels to ems\n///\n/// @param {Number} $px - value to convert\n/// @param {Number} $base-font-size ($mq-base-font-size) - `<body>` font size\n///\n/// @example scss\n/// $font-size-in-ems: mq-px2em(16px);\n/// p { font-size: mq-px2em(16px); }\n///\n/// @requires $mq-base-font-size\n/// @returns {Number}\n@function mq-px2em($px, $base-font-size: $mq-base-font-size) {\n @if unitless($px) {\n @warn \"Assuming #{$px} to be in pixels, attempting to convert it into pixels.\";\n @return mq-px2em($px * 1px, $base-font-size);\n } @else if unit($px) == em {\n @return $px;\n }\n @return ($px / $base-font-size) * 1em;\n}\n\n/// Get a breakpoint's width\n///\n/// @param {String} $name - Name of the breakpoint. One of $mq-breakpoints\n///\n/// @example scss\n/// $tablet-width: mq-get-breakpoint-width(tablet);\n/// @media (min-width: mq-get-breakpoint-width(desktop)) {}\n///\n/// @requires {Variable} $mq-breakpoints\n///\n/// @returns {Number} Value in pixels\n@function mq-get-breakpoint-width($name, $breakpoints: $mq-breakpoints) {\n @if map-has-key($breakpoints, $name) {\n @return map-get($breakpoints, $name);\n } @else {\n @warn \"Breakpoint #{$name} wasn't found in $breakpoints.\";\n }\n}\n\n/// Media Query mixin\n///\n/// @param {String | Boolean} $from (false) - One of $mq-breakpoints\n/// @param {String | Boolean} $until (false) - One of $mq-breakpoints\n/// @param {String | Boolean} $and (false) - Additional media query parameters\n/// @param {String} $media-type ($mq-media-type) - Media type: screen, print…\n///\n/// @ignore Undocumented API, for advanced use only:\n/// @ignore @param {Map} $breakpoints ($mq-breakpoints)\n/// @ignore @param {String} $static-breakpoint ($mq-static-breakpoint)\n///\n/// @content styling rules, wrapped into a @media query when $responsive is true\n///\n/// @requires {Variable} $mq-media-type\n/// @requires {Variable} $mq-breakpoints\n/// @requires {Variable} $mq-static-breakpoint\n/// @requires {function} mq-px2em\n/// @requires {function} mq-get-breakpoint-width\n///\n/// @link https://github.com/sass-mq/sass-mq#responsive-mode-on-default Full documentation and examples\n///\n/// @example scss\n/// .element {\n/// @include mq($from: mobile) {\n/// color: red;\n/// }\n/// @include mq($until: tablet) {\n/// color: blue;\n/// }\n/// @include mq(mobile, tablet) {\n/// color: green;\n/// }\n/// @include mq($from: tablet, $and: '(orientation: landscape)') {\n/// color: teal;\n/// }\n/// @include mq(950px) {\n/// color: hotpink;\n/// }\n/// @include mq(tablet, $media-type: screen) {\n/// color: hotpink;\n/// }\n/// // Advanced use:\n/// $my-breakpoints: (L: 900px, XL: 1200px);\n/// @include mq(L, $breakpoints: $my-breakpoints, $static-breakpoint: L) {\n/// color: hotpink;\n/// }\n/// }\n@mixin mq(\n $from: false,\n $until: false,\n $and: false,\n $media-type: $mq-media-type,\n $breakpoints: $mq-breakpoints,\n $responsive: $mq-responsive,\n $static-breakpoint: $mq-static-breakpoint\n) {\n $min-width: 0;\n $max-width: 0;\n $media-query: '';\n\n // From: this breakpoint (inclusive)\n @if $from {\n @if type-of($from) == number {\n $min-width: mq-px2em($from);\n } @else {\n $min-width: mq-px2em(mq-get-breakpoint-width($from, $breakpoints));\n }\n }\n\n // Until: that breakpoint (exclusive)\n @if $until {\n @if type-of($until) == number {\n $max-width: mq-px2em($until);\n } @else {\n $max-width: mq-px2em(mq-get-breakpoint-width($until, $breakpoints)) - .01em;\n }\n }\n\n // Responsive support is disabled, rasterize the output outside @media blocks\n // The browser will rely on the cascade itself.\n @if $responsive == false {\n $static-breakpoint-width: mq-get-breakpoint-width($static-breakpoint, $breakpoints);\n $target-width: mq-px2em($static-breakpoint-width);\n\n // Output only rules that start at or span our target width\n @if (\n $and == false\n and $min-width <= $target-width\n and (\n $until == false or $max-width >= $target-width\n )\n and $media-type != 'print'\n ) {\n @content;\n }\n }\n\n // Responsive support is enabled, output rules inside @media queries\n @else {\n @if $min-width != 0 { $media-query: '#{$media-query} and (min-width: #{$min-width})'; }\n @if $max-width != 0 { $media-query: '#{$media-query} and (max-width: #{$max-width})'; }\n @if $and { $media-query: '#{$media-query} and #{$and}'; }\n\n // Remove unnecessary media query prefix 'all and '\n @if ($media-type == 'all' and $media-query != '') {\n $media-type: '';\n $media-query: str-slice(unquote($media-query), 6);\n }\n\n @media #{$media-type + $media-query} {\n @content;\n }\n }\n}\n\n/// Quick sort\n///\n/// @author Sam Richards\n/// @access private\n/// @param {List} $list - List to sort\n/// @returns {List} Sorted List\n@function _mq-quick-sort($list) {\n $less: ();\n $equal: ();\n $large: ();\n\n @if length($list) > 1 {\n $seed: nth($list, ceil(length($list) / 2));\n\n @each $item in $list {\n @if ($item == $seed) {\n $equal: append($equal, $item);\n } @else if ($item < $seed) {\n $less: append($less, $item);\n } @else if ($item > $seed) {\n $large: append($large, $item);\n }\n }\n\n @return join(join(_mq-quick-sort($less), $equal), _mq-quick-sort($large));\n }\n\n @return $list;\n}\n\n/// Sort a map by values (works with numbers only)\n///\n/// @access private\n/// @param {Map} $map - Map to sort\n/// @returns {Map} Map sorted by value\n@function _mq-map-sort-by-value($map) {\n $map-sorted: ();\n $map-keys: map-keys($map);\n $map-values: map-values($map);\n $map-values-sorted: _mq-quick-sort($map-values);\n\n // Reorder key/value pairs based on key values\n @each $value in $map-values-sorted {\n $index: index($map-values, $value);\n $key: nth($map-keys, $index);\n $map-sorted: map-merge($map-sorted, ($key: $value));\n\n // Unset the value in $map-values to prevent the loop\n // from finding the same index twice\n $map-values: set-nth($map-values, $index, 0);\n }\n\n @return $map-sorted;\n}\n\n/// Add a breakpoint\n///\n/// @param {String} $name - Name of the breakpoint\n/// @param {Number} $width - Width of the breakpoint\n///\n/// @requires {Variable} $mq-breakpoints\n///\n/// @example scss\n/// @include mq-add-breakpoint(tvscreen, 1920px);\n/// @include mq(tvscreen) {}\n@mixin mq-add-breakpoint($name, $width) {\n $new-breakpoint: ($name: $width);\n $mq-breakpoints: map-merge($mq-breakpoints, $new-breakpoint) !global;\n $mq-breakpoints: _mq-map-sort-by-value($mq-breakpoints) !global;\n}\n\n/// Show the active breakpoint in the top right corner of the viewport\n/// @link https://github.com/sass-mq/sass-mq#seeing-the-currently-active-breakpoint\n///\n/// @param {List} $show-breakpoints ($mq-show-breakpoints) - List of breakpoints to show in the top right corner\n/// @param {Map} $breakpoints ($mq-breakpoints) - Breakpoint names and sizes\n///\n/// @requires {Variable} $mq-breakpoints\n/// @requires {Variable} $mq-show-breakpoints\n///\n/// @example scss\n/// // Show breakpoints using global settings\n/// @include mq-show-breakpoints;\n///\n/// // Show breakpoints using custom settings\n/// @include mq-show-breakpoints((L, XL), (S: 300px, L: 800px, XL: 1200px));\n@mixin mq-show-breakpoints($show-breakpoints: $mq-show-breakpoints, $breakpoints: $mq-breakpoints) {\n body::before {\n background-color: #FCF8E3;\n border-bottom: 1px solid #FBEED5;\n border-left: 1px solid #FBEED5;\n color: #C09853;\n font: small-caption;\n padding: 3px 6px;\n pointer-events: none;\n position: fixed;\n right: 0;\n top: 0;\n z-index: 100;\n\n // Loop through the breakpoints that should be shown\n @each $show-breakpoint in $show-breakpoints {\n $width: mq-get-breakpoint-width($show-breakpoint, $breakpoints);\n @include mq($show-breakpoint, $breakpoints: $breakpoints) {\n content: \"#{$show-breakpoint} ≥ #{$width} (#{mq-px2em($width)})\";\n }\n }\n }\n}\n\n@if length($mq-show-breakpoints) > 0 {\n @include mq-show-breakpoints;\n}\n"]}