govuk_publishing_components 64.1.2 → 65.0.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/lib/govspeak/magna-charta.js +3 -3
  3. data/app/assets/stylesheets/component_guide/application.scss +1 -1
  4. data/app/assets/stylesheets/govuk_publishing_components/_base.scss +7 -0
  5. data/app/assets/stylesheets/govuk_publishing_components/{_all_components.scss → all-components.scss} +9 -7
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +0 -1
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +0 -2
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_add-another.scss +0 -1
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_app-promo-banner.scss +0 -2
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_attachment-link.scss +0 -2
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss +0 -2
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_back-link.scss +0 -1
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_back-to-top-link.scss +0 -2
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss +0 -2
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +0 -1
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +0 -1
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +0 -4
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_character-count.scss +0 -1
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss +0 -1
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list-with-body.scss +0 -2
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +0 -3
  22. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss +0 -2
  23. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +0 -2
  24. data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +0 -1
  25. data/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss +0 -2
  26. data/app/assets/stylesheets/govuk_publishing_components/components/_date-input.scss +0 -1
  27. data/app/assets/stylesheets/govuk_publishing_components/components/_details.scss +0 -1
  28. data/app/assets/stylesheets/govuk_publishing_components/components/_devolved-nations.scss +0 -2
  29. data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +0 -2
  30. data/app/assets/stylesheets/govuk_publishing_components/components/_emergency-banner.scss +0 -2
  31. data/app/assets/stylesheets/govuk_publishing_components/components/_error-alert.scss +0 -2
  32. data/app/assets/stylesheets/govuk_publishing_components/components/_error-message.scss +0 -1
  33. data/app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss +0 -1
  34. data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +0 -2
  35. data/app/assets/stylesheets/govuk_publishing_components/components/_fieldset.scss +0 -1
  36. data/app/assets/stylesheets/govuk_publishing_components/components/_figure.scss +0 -2
  37. data/app/assets/stylesheets/govuk_publishing_components/components/_file-upload.scss +0 -1
  38. data/app/assets/stylesheets/govuk_publishing_components/components/_glance-metric.scss +0 -2
  39. data/app/assets/stylesheets/govuk_publishing_components/components/_global-banner.scss +0 -2
  40. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +0 -2
  41. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak.scss +0 -2
  42. data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +0 -2
  43. data/app/assets/stylesheets/govuk_publishing_components/components/_hint.scss +0 -1
  44. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +0 -2
  45. data/app/assets/stylesheets/govuk_publishing_components/components/_input.scss +0 -1
  46. data/app/assets/stylesheets/govuk_publishing_components/components/_inset-text.scss +0 -1
  47. data/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss +0 -2
  48. data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +0 -2
  49. data/app/assets/stylesheets/govuk_publishing_components/components/_label.scss +0 -1
  50. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-footer.scss +0 -1
  51. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss +0 -2
  52. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +0 -1
  53. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +5 -4
  54. data/app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss +0 -2
  55. data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +0 -2
  56. data/app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss +0 -2
  57. data/app/assets/stylesheets/govuk_publishing_components/components/_notice.scss +0 -1
  58. data/app/assets/stylesheets/govuk_publishing_components/components/_option-select.scss +0 -2
  59. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +0 -2
  60. data/app/assets/stylesheets/govuk_publishing_components/components/_pagination.scss +0 -1
  61. data/app/assets/stylesheets/govuk_publishing_components/components/_panel.scss +0 -1
  62. data/app/assets/stylesheets/govuk_publishing_components/components/_password-input.scss +0 -1
  63. data/app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss +0 -1
  64. data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +0 -2
  65. data/app/assets/stylesheets/govuk_publishing_components/components/_published-dates.scss +0 -2
  66. data/app/assets/stylesheets/govuk_publishing_components/components/_radio.scss +0 -1
  67. data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +0 -2
  68. data/app/assets/stylesheets/govuk_publishing_components/components/_reorderable-list.scss +0 -2
  69. data/app/assets/stylesheets/govuk_publishing_components/components/_search-with-autocomplete.scss +0 -2
  70. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +0 -2
  71. data/app/assets/stylesheets/govuk_publishing_components/components/_secondary-navigation.scss +0 -2
  72. data/app/assets/stylesheets/govuk_publishing_components/components/_select-with-search.scss +0 -3
  73. data/app/assets/stylesheets/govuk_publishing_components/components/_select.scss +0 -1
  74. data/app/assets/stylesheets/govuk_publishing_components/components/_service-navigation.scss +0 -1
  75. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +0 -2
  76. data/app/assets/stylesheets/govuk_publishing_components/components/_signup-link.scss +0 -2
  77. data/app/assets/stylesheets/govuk_publishing_components/components/_single-page-notification-button.scss +0 -2
  78. data/app/assets/stylesheets/govuk_publishing_components/components/_skip-link.scss +0 -1
  79. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +0 -2
  80. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +0 -2
  81. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +0 -2
  82. data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +0 -3
  83. data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +0 -1
  84. data/app/assets/stylesheets/govuk_publishing_components/components/_summary-banner.scss +0 -2
  85. data/app/assets/stylesheets/govuk_publishing_components/components/_summary-card.scss +0 -1
  86. data/app/assets/stylesheets/govuk_publishing_components/components/_summary-list.scss +0 -1
  87. data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +0 -1
  88. data/app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss +0 -1
  89. data/app/assets/stylesheets/govuk_publishing_components/components/_tag.scss +0 -1
  90. data/app/assets/stylesheets/govuk_publishing_components/components/_textarea.scss +0 -1
  91. data/app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss +0 -2
  92. data/app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss +0 -1
  93. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +0 -20
  94. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +1 -1
  95. data/app/assets/stylesheets/govuk_publishing_components/{govuk_frontend_support.scss → components/helpers/_colours.scss} +0 -14
  96. data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_index.scss +4 -0
  97. data/app/assets/stylesheets/govuk_publishing_components/components/mixins/{_css3.scss → _prefixed-transform.scss} +0 -6
  98. data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_scale.scss +5 -0
  99. data/app/assets/stylesheets/govuk_publishing_components/settings/_app-font-url.scss +7 -0
  100. data/app/assets/stylesheets/govuk_publishing_components/settings/_app-image-url.scss +7 -0
  101. data/app/assets/stylesheets/govuk_publishing_components/settings/_colours.scss +5 -0
  102. data/app/assets/stylesheets/govuk_publishing_components/settings/_index.scss +4 -0
  103. data/app/assets/stylesheets/govuk_publishing_components/settings/_typography.scss +1 -0
  104. data/app/assets/stylesheets/govuk_publishing_components/specific-components.scss +11 -0
  105. data/app/controllers/govuk_publishing_components/applications_page_controller.rb +5 -2
  106. data/app/controllers/govuk_publishing_components/audit_controller.rb +3 -2
  107. data/app/models/govuk_publishing_components/applications_page.rb +39 -4
  108. data/app/models/govuk_publishing_components/audit_applications.rb +1 -1
  109. data/app/views/govuk_publishing_components/applications_page/_table-content.html.erb +9 -0
  110. data/app/views/govuk_publishing_components/applications_page/show.html.erb +1 -0
  111. data/app/views/govuk_publishing_components/components/_service_navigation.html.erb +1 -1
  112. data/app/views/govuk_publishing_components/components/docs/attachment.yml +1 -2
  113. data/app/views/govuk_publishing_components/components/docs/details.yml +1 -8
  114. data/app/views/govuk_publishing_components/components/docs/error_alert.yml +2 -4
  115. data/app/views/govuk_publishing_components/components/docs/govspeak.yml +7 -7
  116. data/app/views/govuk_publishing_components/components/docs/modal_dialogue.yml +1 -1
  117. data/app/views/govuk_publishing_components/components/docs/table.yml +2 -2
  118. data/app/views/govuk_publishing_components/components/docs/tabs.yml +2 -6
  119. data/lib/govuk_publishing_components/presenters/contents_list_helper.rb +2 -3
  120. data/lib/govuk_publishing_components/presenters/pagination_helper.rb +1 -1
  121. data/lib/govuk_publishing_components/version.rb +1 -1
  122. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +31 -3
  123. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -1
  124. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +31 -3
  125. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -1
  126. data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
  127. data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss +5 -0
  128. data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss.map +1 -1
  129. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +8 -0
  130. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -1
  131. data/node_modules/govuk-frontend/dist/govuk/components/footer/fixtures.json +95 -23
  132. data/node_modules/govuk-frontend/dist/govuk/components/footer/macro-options.json +1 -1
  133. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-default.html +22 -22
  134. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-full-gds-example.html +22 -22
  135. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-three-equal-columns.html +22 -22
  136. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-html-content-licence-and-copyright-notice.html +17 -17
  137. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-meta.html +22 -22
  138. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-text-content-licence-and-copyright-notice.html +17 -17
  139. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-one-column.html +22 -22
  140. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-two-columns.html +22 -22
  141. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta-links-and-meta-content.html +22 -22
  142. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-navigation.html +22 -22
  143. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-no-content-licence.html +16 -0
  144. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-custom-meta.html +20 -0
  145. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-meta-links.html +59 -0
  146. data/node_modules/govuk-frontend/dist/govuk/components/footer/template.njk +30 -28
  147. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +12 -0
  148. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +1 -1
  149. data/node_modules/govuk-frontend/dist/govuk/components/pagination/fixtures.json +31 -9
  150. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-default.html +3 -3
  151. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-first-page.html +3 -3
  152. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-last-page.html +3 -3
  153. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-link-and-item-text.html +3 -3
  154. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-many-pages.html +9 -9
  155. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template.njk +3 -1
  156. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +1 -1
  157. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +1 -1
  158. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/fixtures.json +18 -18
  159. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js +30 -2
  160. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js.map +1 -1
  161. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs +30 -2
  162. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs.map +1 -1
  163. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs +30 -2
  164. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs.map +1 -1
  165. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-default.html +1 -1
  166. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-inverse.html +1 -1
  167. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-a-single-navigation-item-and-collapsenavigationonmobile-set-to-true.html +1 -1
  168. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-html-navigation-items.html +1 -1
  169. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-large-navigation.html +1 -1
  170. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-navigation-with-a-current-item.html +1 -1
  171. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-non-link-navigation-items.html +1 -1
  172. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-service-name-and-navigation.html +1 -1
  173. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template.njk +1 -1
  174. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss +4 -0
  175. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss.map +1 -1
  176. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +1 -1
  177. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +2 -2
  178. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -1
  179. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -1
  180. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -1
  181. data/node_modules/govuk-frontend/dist/govuk/macros/attributes.njk +30 -14
  182. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss +1 -1
  183. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss.map +1 -1
  184. data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +1 -1
  185. data/node_modules/govuk-frontend/package.json +1 -1
  186. metadata +17 -8
  187. data/app/assets/stylesheets/govuk_publishing_components/_individual_component_support.scss +0 -8
  188. data/app/assets/stylesheets/govuk_publishing_components/component_support.scss +0 -14
  189. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_govuk-frontend-settings.scss +0 -17
  190. /data/app/assets/stylesheets/govuk_publishing_components/{components/helpers → lib}/_link.scss +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b76aa67410518b26c0c6d78c41091e672f6e365fc88b9da459cceb52839edcbb
4
- data.tar.gz: 4ce5beffe1d098ae456534a6bb82e414092b645e96b0b342f75700c6b237a635
3
+ metadata.gz: 8110b60536780706fc5f2a95c7deeb61d68f3825c0101ece1a711787c1cf018e
4
+ data.tar.gz: '014694429a493990cb1cf5b189fde35007ef6801bfa898566e4d848e5d2e69c2'
5
5
  SHA512:
6
- metadata.gz: e7212d1dd0e31d1a87adf5463afb9b57b0751a398adabf47357f93586499ac70b2009c6032b9a4c356f9e07f63c9ef7d968041bcabc01d784a708d7703df704d
7
- data.tar.gz: e3793bc2726f8e95f930dabcaf0a0cd8bd8e3bf14077c105b757878986fce456a74a9e1cc492488ad7f5be0bd3bc14cd5f9bed9cc54e260e763ef2a820168764
6
+ metadata.gz: 6f34432ba979ccfb07bcbef0f04ef138ac738106a493868372941810c55806d05ef36897eca217a1703574a9197d5ebd34e45f87a5aac85ea2a6f5a1b0db360a
7
+ data.tar.gz: 87ffbcb2d78bbd713283c455bfed76f1eca151801bd5a475c4166322fb3e0ba2f233e56e73d9ce343faa1ebb14f6dad7eeda9be8b1767f56f72e31c213a9fe54
@@ -193,13 +193,13 @@ window.GOVUK.Modules = window.GOVUK.Modules || {};
193
193
  var toggleText = document.createElement('span')
194
194
  var toggleStatus = document.createElement('span')
195
195
 
196
- toggleText.classList.add('mc-toggle-text')
196
+ toggleText.classList.add('js-toggle-text')
197
197
  toggleText.innerHTML = chartVisibleText
198
198
 
199
199
  toggleStatus.classList.add('govuk-visually-hidden', 'mc-toggle-status')
200
200
  toggleStatus.setAttribute('role', 'alert')
201
201
 
202
- link.classList.add('govuk-body-s', 'mc-toggle-button')
202
+ link.classList.add('gem-c-button', 'govuk-button', 'govuk-button--secondary')
203
203
  link.appendChild(toggleText)
204
204
  link.appendChild(toggleStatus)
205
205
 
@@ -213,7 +213,7 @@ window.GOVUK.Modules = window.GOVUK.Modules || {};
213
213
  this.toggleLink.addEventListener('click', function (e) {
214
214
  e.preventDefault()
215
215
 
216
- var toggleText = that.toggleLink.querySelector('.mc-toggle-text')
216
+ var toggleText = that.toggleLink.querySelector('.js-toggle-text')
217
217
  var toggleStatus = that.toggleLink.querySelector('.mc-toggle-status')
218
218
 
219
219
  that.$graphContainer.classList.toggle('mc-hidden')
@@ -1,6 +1,6 @@
1
1
  // This file contains the styles for the Component Guide.
2
2
  @use "sass:color";
3
- @import "govuk_publishing_components/all_components";
3
+ @import "govuk_publishing_components/all-components";
4
4
 
5
5
  // Include required helpers
6
6
  @import "../../stylesheets/govuk_publishing_components/components/helpers/markdown-typography";
@@ -0,0 +1,7 @@
1
+ // nothing in this file should add any CSS weight
2
+ // so that it can be imported into any CSS file
3
+
4
+ @import "settings/index";
5
+ @import "govuk/base";
6
+ @import "govuk_publishing_components/components/helpers/colours";
7
+ @import "govuk_publishing_components/components/mixins/index";
@@ -1,13 +1,15 @@
1
- // This is the file that the application needs to include in order to use
2
- // the components.
1
+ @import "base";
3
2
 
4
- @import "govuk_publishing_components/govuk_frontend_support";
5
- @import "govuk_publishing_components/component_support";
3
+ @import "govuk/core/index";
4
+ @import "govuk/objects/index";
5
+ @import "govuk/utilities/index";
6
+ @import "govuk/overrides/index";
6
7
 
7
- // Include all govuk frontend components
8
- @import "govuk/components/index";
8
+ @import "govuk_publishing_components/components/helpers/brand-colours";
9
+ @import "govuk_publishing_components/components/helpers/contents-list-helper";
10
+ @import "govuk_publishing_components/lib/link";
11
+ @import "govuk_publishing_components/lib/print_support";
9
12
 
10
- // components
11
13
  @import "components/accordion";
12
14
  @import "components/action-link";
13
15
  @import "components/add-another";
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/accordion/accordion";
3
2
 
4
3
  // Prevent elements inside the button from receiving click events
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-action-link {
4
2
  display: table;
5
3
 
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/button/button";
3
2
  @import "govuk/components/fieldset/fieldset";
4
3
 
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-app-promo-banner {
4
2
  display: none;
5
3
  padding: govuk-spacing(5) 0;
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-attachment-link__abbr {
4
2
  text-decoration: none;
5
3
  cursor: help;
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  $thumbnail-width: 99px;
4
2
  $thumbnail-height: 140px;
5
3
  $thumbnail-border-width: 5px;
@@ -1,2 +1 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/back-link/back-link";
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-back-to-top-link {
4
2
  display: inline-block;
5
3
  margin-bottom: govuk-spacing(2);
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-big-number {
4
2
  margin-bottom: govuk-spacing(3);
5
3
  @include govuk-text-colour;
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/breadcrumbs/breadcrumbs";
3
2
 
4
3
  .gem-c-breadcrumbs--border-bottom {
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/button/button";
3
2
 
4
3
  // Because govuk-frontend adds a responsive bottom margin by default for each component
@@ -1,7 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
- @import "mixins/grid-helper";
3
- @import "mixins/css3";
4
-
5
1
  .gem-c-cards__heading {
6
2
  @include govuk-responsive-margin(6, "bottom");
7
3
  }
@@ -1,2 +1 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/character-count/character-count";
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/checkboxes/checkboxes";
3
2
 
4
3
  .govuk-checkboxes--nested {
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .govuk-frontend-supported .gem-c-contents-list-with-body__sticky-element {
4
2
  position: absolute;
5
3
  bottom: 0;
@@ -1,6 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
- @import "helpers/contents-list-helper";
3
-
4
1
  .gem-c-contents-list {
5
2
  // Always render the contents list above a
6
3
  // back to contents link
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-contextual-guidance {
4
2
  .govuk-grid-column-one-third {
5
3
  position: relative;
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-contextual-sidebar__related-links {
4
2
  border-top: 2px solid $govuk-brand-colour;
5
3
  }
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/cookie-banner/cookie-banner";
3
2
 
4
3
  .gem-c-cookie-banner {
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  $govuk-header-link-underline-thickness: 3px;
4
2
  $toggle-content-spacing: 8px;
5
3
  $toggle-padding: 15px;
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/date-input/date-input";
3
2
 
4
3
  // Add spacing between input items on narrow containers when they collapse under each other
@@ -1,2 +1 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/details/details";
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-devolved-nations {
4
2
  background: govuk-colour("light-grey");
5
3
  margin-bottom: govuk-spacing(3);
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-document-list {
4
2
  margin: 0;
5
3
  padding: 0;
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-emergency-banner {
4
2
  background-color: govuk-colour("mid-grey");
5
3
  color: govuk-colour("white");
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-error-alert {
4
2
  color: $govuk-text-colour;
5
3
  padding: govuk-spacing(3);
@@ -1,2 +1 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/error-message/error-message";
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/error-summary/error-summary";
3
2
 
4
3
  .gem-c-error-summary__list-item {
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  $feedback-prompt-background-colour: $govuk-blue-tint-95;
4
2
  $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
5
3
 
@@ -1,2 +1 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/fieldset/fieldset";
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  $gap: govuk-spacing(1);
4
2
 
5
3
  .gem-c-figure {
@@ -1,2 +1 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/file-upload/file-upload";
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-glance-metric {
4
2
  border-top: 1px solid $govuk-border-colour;
5
3
  border-bottom: 0;
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-global-banner {
4
2
  background-color: #d9e7f2;
5
3
  display: none;
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  // stylelint-disable max-nesting-depth
4
2
 
5
3
  // Override govspeak styles with HTML publication specific ones
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  @import "govspeak/attachment";
4
2
  @import "govspeak/button";
5
3
  @import "govspeak/call-to-action";
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-heading {
4
2
  // needs to be this specific to override govuk-heading
5
3
  .gem-c-heading__text {
@@ -1,2 +1 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/hint/hint";
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-image-card {
4
2
  position: relative;
5
3
  margin-bottom: govuk-spacing(6);
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/input/input";
3
2
 
4
3
  $search-icon-size: 40px;
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/inset-text/inset-text";
3
2
 
4
3
  @include govuk-media-query($media-type: print) {
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-intervention {
4
2
  background-color: govuk-colour("light-grey");
5
3
  border-left: 10px solid $govuk-success-colour;
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-inverse-header {
4
2
  width: 100%;
5
3
  background-color: $govuk-blue-tint-80;
@@ -1,2 +1 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/label/label";
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/footer/footer";
3
2
 
4
3
  .govuk-footer__list-item {
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-layout-for-public {
4
2
  font-family: $govuk-font-family;
5
3
  }
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/header/header";
3
2
 
4
3
  .gem-c-layout-header.gem-c-layout-header--no-bottom-border,
@@ -1,7 +1,4 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/header/header";
3
- @import "mixins/css3";
4
- @import "mixins/grid-helper";
5
2
 
6
3
  $chevron-breakpoint: 360px;
7
4
  $chevron-indent-spacing: 7px;
@@ -684,7 +681,7 @@ $search-icon-height: 20px;
684
681
  border-top: 0;
685
682
  border-bottom: 2pt solid $govuk-print-text-colour;
686
683
  margin: 0 0 5mm;
687
- background: none;
684
+ background: transparent;
688
685
 
689
686
  &:has(.gem-c-layout-super-navigation-header__header-logo .govuk-visually-hidden) {
690
687
  border: 0;
@@ -698,6 +695,10 @@ $search-icon-height: 20px;
698
695
  .govuk-width-container {
699
696
  margin: 0;
700
697
  }
698
+
699
+ .gem-c-layout-super-navigation-header__container {
700
+ background: transparent;
701
+ }
701
702
  }
702
703
 
703
704
  .gem-c-layout-super-navigation-header__header-logo {
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-lead-paragraph {
4
2
  margin-top: 0;
5
3
  // Ensure the text has a line-length of around 60 characters
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-metadata {
4
2
  @include govuk-text-colour;
5
3
  @include govuk-font(16);
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  $govuk-modal-margin: govuk-spacing(6);
4
2
  $govuk-modal-close-button-size: 44px;
5
3
  $govuk-modal-z-index: 1000;
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/notification-banner/notification-banner";
3
2
 
4
3
  .gem-c-notice {
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-option-select {
4
2
  position: relative;
5
3
  padding: 0 0 govuk-spacing(2);
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  // Default logo corresponds with the "medium stacked" Whitehall equivalent
4
2
  .gem-c-organisation-logo {
5
3
  font-weight: 400;
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/pagination/pagination";
3
2
 
4
3
  // stylelint-disable declaration-no-important
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/panel/panel";
3
2
 
4
3
  .gem-c-panel__prepend {
@@ -1,2 +1 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/password-input/password-input";
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/phase-banner/phase-banner";
3
2
 
4
3
  .gem-c-phase-banner {
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  $gem-c-print-link-background-width: 16px;
4
2
  $gem-c-print-link-background-height: 18px;
5
3
 
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-published-dates {
4
2
  direction: ltr;
5
3
  line-height: 1.45em;
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/radios/radios";
3
2
 
4
3
  .gem-c-radio__heading-text {
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-related-navigation {
4
2
  border-top: 2px solid govuk-colour("blue");
5
3
  margin-bottom: govuk-spacing(9);
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-reorderable-list {
4
2
  list-style-type: none;
5
3
  margin-bottom: govuk-spacing(6);
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  // These styles are adapted from the original Accessible Autocomplete component stylesheet, mostly
4
2
  // to remove superfluous styles that are already provided by the GOV.UK Design System, and to adapt
5
3
  // the styling to match the new GOV.UK search box designs (e.g. to remove the zebra striping on
@@ -1,6 +1,4 @@
1
1
  @use "sass:color";
2
- @import "govuk_publishing_components/individual_component_support";
3
- @import "mixins/css3";
4
2
 
5
3
  $input-size: 40px;
6
4
  $large-input-size: 50px;
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-secondary-navigation {
4
2
  @include govuk-font(19);
5
3
  @include govuk-responsive-margin(6, "bottom");
@@ -1,7 +1,5 @@
1
1
  // overload the choices.js variables
2
2
 
3
- @import "govuk_publishing_components/individual_component_support";
4
-
5
3
  $font-size: 19px;
6
4
 
7
5
  $choices-bg-color: govuk-colour("white") !default;
@@ -16,7 +14,6 @@ $choices-border-radius-item: 0 !default;
16
14
  $choices-z-index: 2 !default;
17
15
  $choices-button-dimension: 12px !default;
18
16
 
19
- @import "mixins/css3";
20
17
  @import "govuk/components/label/label";
21
18
  @import "choices.js/src/styles/choices";
22
19
 
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/select/select";
3
2
 
4
3
  // Increase height of selects that have a `multiple`
@@ -1,4 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/service-navigation/service-navigation";
3
2
 
4
3
  .gem-c-service-navigation--full-width {
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  $share-button-width: 30px;
4
2
  $share-button-height: 30px;
5
3
 
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-signup-link__link {
4
2
  @include govuk-font($size: 19);
5
3
  }
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-single-page-notification-button__submit {
4
2
  padding: govuk-spacing(2);
5
3
  margin: govuk-spacing(0);
@@ -1,2 +1 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
1
  @import "govuk/components/skip-link/skip-link";
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-step-nav-header {
4
2
  position: relative;
5
3
  padding: 10px;
@@ -1,5 +1,3 @@
1
- @import "govuk_publishing_components/individual_component_support";
2
-
3
1
  .gem-c-step-nav-related {
4
2
  border-top: 2px solid govuk-colour("blue");
5
3
  margin-bottom: govuk-spacing(6);