govuk_publishing_components 34.12.0 → 34.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/govuk_publishing_components_manifest.js +75 -0
  3. data/app/assets/stylesheets/govuk_publishing_components/_individual_component_support.scss +10 -0
  4. data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +1 -0
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +2 -0
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss +2 -0
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_back-link.scss +1 -0
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss +2 -0
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +1 -0
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +1 -0
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +1 -0
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_character-count.scss +1 -0
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss +1 -0
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +1 -0
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss +2 -0
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +2 -0
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +1 -0
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_date-input.scss +1 -0
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_details.scss +1 -0
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_devolved-nations.scss +2 -0
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +2 -0
  22. data/app/assets/stylesheets/govuk_publishing_components/components/_emergency-banner.scss +2 -0
  23. data/app/assets/stylesheets/govuk_publishing_components/components/_error-alert.scss +2 -0
  24. data/app/assets/stylesheets/govuk_publishing_components/components/_error-message.scss +1 -0
  25. data/app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss +1 -0
  26. data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +2 -0
  27. data/app/assets/stylesheets/govuk_publishing_components/components/_fieldset.scss +1 -0
  28. data/app/assets/stylesheets/govuk_publishing_components/components/_file-upload.scss +1 -0
  29. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +2 -0
  30. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak.scss +2 -0
  31. data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +2 -0
  32. data/app/assets/stylesheets/govuk_publishing_components/components/_hint.scss +1 -0
  33. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +2 -0
  34. data/app/assets/stylesheets/govuk_publishing_components/components/_input.scss +2 -0
  35. data/app/assets/stylesheets/govuk_publishing_components/components/_inset-text.scss +1 -0
  36. data/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss +2 -0
  37. data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +2 -0
  38. data/app/assets/stylesheets/govuk_publishing_components/components/_label.scss +1 -0
  39. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-footer.scss +1 -0
  40. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss +2 -0
  41. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +1 -0
  42. data/app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss +2 -0
  43. data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +2 -0
  44. data/app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss +2 -0
  45. data/app/assets/stylesheets/govuk_publishing_components/components/_notice.scss +1 -0
  46. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +2 -0
  47. data/app/assets/stylesheets/govuk_publishing_components/components/_panel.scss +1 -0
  48. data/app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss +1 -0
  49. data/app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss +1 -0
  50. data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +2 -0
  51. data/app/assets/stylesheets/govuk_publishing_components/components/_radio.scss +1 -0
  52. data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +2 -0
  53. data/app/assets/stylesheets/govuk_publishing_components/components/_reorderable-list.scss +2 -0
  54. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +2 -0
  55. data/app/assets/stylesheets/govuk_publishing_components/components/_select.scss +1 -0
  56. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +2 -0
  57. data/app/assets/stylesheets/govuk_publishing_components/components/_show-password.scss +2 -0
  58. data/app/assets/stylesheets/govuk_publishing_components/components/_signup-link.scss +2 -0
  59. data/app/assets/stylesheets/govuk_publishing_components/components/_single-page-notification-button.scss +2 -0
  60. data/app/assets/stylesheets/govuk_publishing_components/components/_skip-link.scss +1 -0
  61. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +2 -0
  62. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +2 -0
  63. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +2 -0
  64. data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +2 -0
  65. data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +1 -0
  66. data/app/assets/stylesheets/govuk_publishing_components/components/_summary-list.scss +1 -0
  67. data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +1 -0
  68. data/app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss +1 -0
  69. data/app/assets/stylesheets/govuk_publishing_components/components/_textarea.scss +1 -0
  70. data/app/assets/stylesheets/govuk_publishing_components/components/_title.scss +2 -0
  71. data/app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss +2 -0
  72. data/app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss +1 -0
  73. data/app/views/govuk_publishing_components/components/_accordion.html.erb +2 -0
  74. data/app/views/govuk_publishing_components/components/_action_link.html.erb +2 -0
  75. data/app/views/govuk_publishing_components/components/_attachment.html.erb +2 -0
  76. data/app/views/govuk_publishing_components/components/_attachment_link.html.erb +2 -0
  77. data/app/views/govuk_publishing_components/components/_back_link.html.erb +2 -0
  78. data/app/views/govuk_publishing_components/components/_big_number.html.erb +3 -1
  79. data/app/views/govuk_publishing_components/components/_breadcrumbs.html.erb +2 -0
  80. data/app/views/govuk_publishing_components/components/_button.html.erb +2 -0
  81. data/app/views/govuk_publishing_components/components/_cards.html.erb +2 -0
  82. data/app/views/govuk_publishing_components/components/_character_count.html.erb +2 -0
  83. data/app/views/govuk_publishing_components/components/_checkboxes.html.erb +2 -0
  84. data/app/views/govuk_publishing_components/components/_contents_list.html.erb +2 -0
  85. data/app/views/govuk_publishing_components/components/_contextual_guidance.html.erb +2 -0
  86. data/app/views/govuk_publishing_components/components/_contextual_sidebar.html.erb +2 -0
  87. data/app/views/govuk_publishing_components/components/_cookie_banner.html.erb +2 -0
  88. data/app/views/govuk_publishing_components/components/_date_input.html.erb +2 -0
  89. data/app/views/govuk_publishing_components/components/_details.html.erb +2 -0
  90. data/app/views/govuk_publishing_components/components/_devolved_nations.html.erb +2 -0
  91. data/app/views/govuk_publishing_components/components/_document_list.html.erb +2 -0
  92. data/app/views/govuk_publishing_components/components/_emergency_banner.html.erb +2 -0
  93. data/app/views/govuk_publishing_components/components/_error_alert.html.erb +2 -0
  94. data/app/views/govuk_publishing_components/components/_error_message.html.erb +2 -0
  95. data/app/views/govuk_publishing_components/components/_error_summary.html.erb +2 -0
  96. data/app/views/govuk_publishing_components/components/_feedback.html.erb +2 -0
  97. data/app/views/govuk_publishing_components/components/_fieldset.html.erb +2 -0
  98. data/app/views/govuk_publishing_components/components/_file_upload.html.erb +2 -0
  99. data/app/views/govuk_publishing_components/components/_govspeak.html.erb +1 -0
  100. data/app/views/govuk_publishing_components/components/_govspeak_html_publication.html.erb +2 -0
  101. data/app/views/govuk_publishing_components/components/_heading.html.erb +2 -0
  102. data/app/views/govuk_publishing_components/components/_hint.html.erb +2 -0
  103. data/app/views/govuk_publishing_components/components/_image_card.html.erb +5 -3
  104. data/app/views/govuk_publishing_components/components/_input.html.erb +2 -0
  105. data/app/views/govuk_publishing_components/components/_inset_text.html.erb +2 -0
  106. data/app/views/govuk_publishing_components/components/_intervention.html.erb +2 -0
  107. data/app/views/govuk_publishing_components/components/_inverse_header.html.erb +2 -0
  108. data/app/views/govuk_publishing_components/components/_label.html.erb +2 -0
  109. data/app/views/govuk_publishing_components/components/_layout_footer.html.erb +2 -0
  110. data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +5 -1
  111. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +2 -0
  112. data/app/views/govuk_publishing_components/components/_layout_header.html.erb +2 -0
  113. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +2 -0
  114. data/app/views/govuk_publishing_components/components/_lead_paragraph.html.erb +2 -0
  115. data/app/views/govuk_publishing_components/components/_metadata.html.erb +2 -0
  116. data/app/views/govuk_publishing_components/components/_modal_dialogue.html.erb +2 -0
  117. data/app/views/govuk_publishing_components/components/_notice.html.erb +2 -0
  118. data/app/views/govuk_publishing_components/components/_organisation_logo.html.erb +2 -0
  119. data/app/views/govuk_publishing_components/components/_panel.html.erb +2 -0
  120. data/app/views/govuk_publishing_components/components/_phase_banner.html.erb +2 -0
  121. data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +6 -1
  122. data/app/views/govuk_publishing_components/components/_print_link.html.erb +2 -0
  123. data/app/views/govuk_publishing_components/components/_radio.html.erb +2 -0
  124. data/app/views/govuk_publishing_components/components/_related_navigation.html.erb +4 -0
  125. data/app/views/govuk_publishing_components/components/_reorderable_list.html.erb +2 -0
  126. data/app/views/govuk_publishing_components/components/_search.html.erb +2 -0
  127. data/app/views/govuk_publishing_components/components/_select.html.erb +2 -0
  128. data/app/views/govuk_publishing_components/components/_share_links.html.erb +2 -0
  129. data/app/views/govuk_publishing_components/components/_show_password.html.erb +2 -0
  130. data/app/views/govuk_publishing_components/components/_signup_link.html.erb +2 -0
  131. data/app/views/govuk_publishing_components/components/_single_page_notification_button.html.erb +2 -0
  132. data/app/views/govuk_publishing_components/components/_skip_link.html.erb +2 -0
  133. data/app/views/govuk_publishing_components/components/_step_by_step_nav.html.erb +2 -0
  134. data/app/views/govuk_publishing_components/components/_step_by_step_nav_header.html.erb +3 -1
  135. data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +2 -0
  136. data/app/views/govuk_publishing_components/components/_subscription_links.html.erb +2 -0
  137. data/app/views/govuk_publishing_components/components/_success_alert.html.erb +2 -0
  138. data/app/views/govuk_publishing_components/components/_summary_list.html.erb +2 -0
  139. data/app/views/govuk_publishing_components/components/_table.html.erb +3 -1
  140. data/app/views/govuk_publishing_components/components/_tabs.html.erb +2 -0
  141. data/app/views/govuk_publishing_components/components/_textarea.html.erb +2 -0
  142. data/app/views/govuk_publishing_components/components/_title.html.erb +2 -0
  143. data/app/views/govuk_publishing_components/components/_translation_nav.html.erb +2 -0
  144. data/app/views/govuk_publishing_components/components/_warning_text.html.erb +2 -0
  145. data/lib/govuk_publishing_components/app_helpers/asset_helper.rb +86 -0
  146. data/lib/govuk_publishing_components/config.rb +3 -0
  147. data/lib/govuk_publishing_components/presenters/related_navigation_helper.rb +1 -1
  148. data/lib/govuk_publishing_components/railtie.rb +7 -0
  149. data/lib/govuk_publishing_components/version.rb +1 -1
  150. data/lib/govuk_publishing_components.rb +3 -0
  151. metadata +5 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd36433fa99aed8ea4144f791e7e78f72ae786e1148b7826758d65e271f98e5e
4
- data.tar.gz: ce9e9975edbf99d74771088e9dadcd610ffacc345358afc25e85640a110d4035
3
+ metadata.gz: 21e3ffb5b58dc3b31d794d2582929eac560f6dbf9509bf79164e90718483ef18
4
+ data.tar.gz: 7c003248697419a6c54c6fdeba073fbce724390f266a54ba7e2a3149447f75d2
5
5
  SHA512:
6
- metadata.gz: bbb41c9f45ecf8ae1e4f12d80f871392b08e97bf8c7074e22a2a1d265cb67d317bc1350cb1eb855270e1a48945c1e0a0b156e8e0c50eed2ed17998cb921ad640
7
- data.tar.gz: bce8a83d09679a2e20a5bc5e05f112a207e455ed8eae2b726ad670c19c84348868a918ec82abd30119196332b6dc5a3f5443697622008eadee028f9d2ca2f974
6
+ metadata.gz: 90c9c967e09f36e6c9c8fefed7db444427ff14568e800a6b9255dfb69eab7c6e81f78e6eb939958075645822f9d9ca93875c91a1f83b38be61e4951522a584f0
7
+ data.tar.gz: 5163288eb0c08e404376545724810b3854a5f745f6e4ad0fd1fe23a3ef82fa152ac14b1c2971df6b6f8e04563b0ddac4018ec218f5e6dabe85879481cbd39f28
@@ -12,3 +12,78 @@
12
12
  //= link govuk_publishing_components/vendor/lux/lux-reporter.js
13
13
  //= link govuk_publishing_components/vendor/lux/lux-measurer.js
14
14
  //= link component_guide/application.css
15
+
16
+ // components
17
+ //= link govuk_publishing_components/components/_accordion.css
18
+ //= link govuk_publishing_components/components/_action-link.css
19
+ //= link govuk_publishing_components/components/_attachment.css
20
+ //= link govuk_publishing_components/components/_attachment-link.css
21
+ //= link govuk_publishing_components/components/_back-link.css
22
+ //= link govuk_publishing_components/components/_big-number.css
23
+ //= link govuk_publishing_components/components/_breadcrumbs.css
24
+ //= link govuk_publishing_components/components/_button.css
25
+ //= link govuk_publishing_components/components/_cards.css
26
+ //= link govuk_publishing_components/components/_character-count.css
27
+ //= link govuk_publishing_components/components/_checkboxes.css
28
+ //= link govuk_publishing_components/components/_contents-list.css
29
+ //= link govuk_publishing_components/components/_contextual-guidance.css
30
+ //= link govuk_publishing_components/components/_contextual-sidebar.css
31
+ //= link govuk_publishing_components/components/_cookie-banner.css
32
+ //= link govuk_publishing_components/components/_copy-to-clipboard.css
33
+ //= link govuk_publishing_components/components/_date-input.css
34
+ //= link govuk_publishing_components/components/_details.css
35
+ //= link govuk_publishing_components/components/_devolved-nations.css
36
+ //= link govuk_publishing_components/components/_document-list.css
37
+ //= link govuk_publishing_components/components/_emergency-banner.css
38
+ //= link govuk_publishing_components/components/_error-alert.css
39
+ //= link govuk_publishing_components/components/_error-message.css
40
+ //= link govuk_publishing_components/components/_error-summary.css
41
+ //= link govuk_publishing_components/components/_feedback.css
42
+ //= link govuk_publishing_components/components/_fieldset.css
43
+ //= link govuk_publishing_components/components/_file-upload.css
44
+ //= link govuk_publishing_components/components/_govspeak-html-publication.css
45
+ //= link govuk_publishing_components/components/_govspeak.css
46
+ //= link govuk_publishing_components/components/_heading.css
47
+ //= link govuk_publishing_components/components/_hint.css
48
+ //= link govuk_publishing_components/components/_image-card.css
49
+ //= link govuk_publishing_components/components/_input.css
50
+ //= link govuk_publishing_components/components/_inset-text.css
51
+ //= link govuk_publishing_components/components/_intervention.css
52
+ //= link govuk_publishing_components/components/_inverse-header.css
53
+ //= link govuk_publishing_components/components/_label.css
54
+ //= link govuk_publishing_components/components/_layout-footer.css
55
+ //= link govuk_publishing_components/components/_layout-for-admin.css
56
+ //= link govuk_publishing_components/components/_layout-for-public.css
57
+ //= link govuk_publishing_components/components/_layout-header.css
58
+ //= link govuk_publishing_components/components/_layout-super-navigation-header.css
59
+ //= link govuk_publishing_components/components/_lead-paragraph.css
60
+ //= link govuk_publishing_components/components/_metadata.css
61
+ //= link govuk_publishing_components/components/_modal-dialogue.css
62
+ //= link govuk_publishing_components/components/_notice.css
63
+ //= link govuk_publishing_components/components/_organisation-logo.css
64
+ //= link govuk_publishing_components/components/_panel.css
65
+ //= link govuk_publishing_components/components/_phase-banner.css
66
+ //= link govuk_publishing_components/components/_previous-and-next-navigation.css
67
+ //= link govuk_publishing_components/components/_print-link.css
68
+ //= link govuk_publishing_components/components/_radio.css
69
+ //= link govuk_publishing_components/components/_related-navigation.css
70
+ //= link govuk_publishing_components/components/_reorderable-list.css
71
+ //= link govuk_publishing_components/components/_search.css
72
+ //= link govuk_publishing_components/components/_select.css
73
+ //= link govuk_publishing_components/components/_share-links.css
74
+ //= link govuk_publishing_components/components/_show-password.css
75
+ //= link govuk_publishing_components/components/_signup-link.css
76
+ //= link govuk_publishing_components/components/_single-page-notification-button.css
77
+ //= link govuk_publishing_components/components/_skip-link.css
78
+ //= link govuk_publishing_components/components/_step-by-step-nav-header.css
79
+ //= link govuk_publishing_components/components/_step-by-step-nav-related.css
80
+ //= link govuk_publishing_components/components/_step-by-step-nav.css
81
+ //= link govuk_publishing_components/components/_subscription-links.css
82
+ //= link govuk_publishing_components/components/_success-alert.css
83
+ //= link govuk_publishing_components/components/_summary-list.css
84
+ //= link govuk_publishing_components/components/_tabs.css
85
+ //= link govuk_publishing_components/components/_table.css
86
+ //= link govuk_publishing_components/components/_textarea.css
87
+ //= link govuk_publishing_components/components/_title.css
88
+ //= link govuk_publishing_components/components/_translation-nav.css
89
+ //= link govuk_publishing_components/components/_warning-text.css
@@ -0,0 +1,10 @@
1
+ $govuk-new-link-styles: true;
2
+
3
+ // This flag stops the font from being included in this components's
4
+ // stylesheet - the font is being served by Static across all of GOV.UK, so is
5
+ // not needed here.
6
+ $govuk-include-default-font-face: false;
7
+
8
+ // Each component needs access to the variables, functions, and mixins from
9
+ // GOVUK Frontend.
10
+ @import "govuk_frontend_support";
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "mixins/prefixed-transform";
2
3
  @import "govuk/components/accordion/accordion";
3
4
 
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-action-link {
2
4
  display: table;
3
5
 
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  $thumbnail-width: 99px;
2
4
  $thumbnail-height: 140px;
3
5
  $thumbnail-border-width: 5px;
@@ -1 +1,2 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/back-link/back-link";
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-big-number {
2
4
  margin-bottom: govuk-spacing(3);
3
5
  @include govuk-text-colour;
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/breadcrumbs/breadcrumbs";
2
3
 
3
4
  .gem-c-breadcrumbs--inverse .govuk-breadcrumbs__list-item .govuk-breadcrumbs__link {
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/button/button";
2
3
 
3
4
  // Because govuk-frontend adds a responsive bottom margin by default for each component
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "mixins/grid-helper";
2
3
  @import "mixins/prefixed-transform";
3
4
 
@@ -1 +1,2 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/character-count/character-count";
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/checkboxes/checkboxes";
2
3
 
3
4
  .govuk-checkboxes--nested {
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "helpers/contents-list-helper";
2
3
 
3
4
  .gem-c-contents-list {
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-contextual-guidance {
2
4
  .govuk-grid-column-one-third {
3
5
  position: relative;
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-contextual-sidebar__related-links {
2
4
  border-top: 2px solid $govuk-brand-colour;
3
5
  }
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/cookie-banner/cookie-banner";
2
3
  $govuk-cookie-banner-background: govuk-colour("light-grey", "grey-4");
3
4
 
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/date-input/date-input";
2
3
 
3
4
  // Add spacing between input items on narrow containers when they collapse under each other
@@ -1 +1,2 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/details/details";
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-devolved-nations {
2
4
  background: govuk-colour("light-grey");
3
5
  margin-bottom: govuk-spacing(3);
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-document-list {
2
4
  @include govuk-text-colour;
3
5
  @include govuk-font(19);
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-emergency-banner {
2
4
  @include govuk-font(19);
3
5
  background-color: govuk-colour("mid-grey");
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-error-alert {
2
4
  color: $govuk-text-colour;
3
5
  padding: govuk-spacing(3);
@@ -1 +1,2 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/error-message/error-message";
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/error-summary/error-summary";
2
3
 
3
4
  .gem-c-error-summary__list-item {
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-feedback {
2
4
  background: govuk-colour("white");
3
5
  margin-top: govuk-spacing(6);
@@ -1 +1,2 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/fieldset/fieldset";
@@ -1 +1,2 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/file-upload/file-upload";
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  // stylelint-disable max-nesting-depth
2
4
 
3
5
  // Override govspeak styles with HTML publication specific ones
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  @import "govspeak/advisory";
2
4
  @import "govspeak/attachment";
3
5
  @import "govspeak/button";
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-heading {
2
4
  margin: 0;
3
5
  }
@@ -1 +1,2 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/hint/hint";
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-image-card {
2
4
  @include govuk-clearfix;
3
5
  @include govuk-text-colour;
@@ -1,4 +1,6 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/input/input";
3
+
2
4
  $search-icon-size: 40px;
3
5
 
4
6
  .gem-c-input__search-icon {
@@ -1 +1,2 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/inset-text/inset-text";
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-intervention {
2
4
  @include govuk-text-colour;
3
5
  @include govuk-responsive-padding(3);
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-inverse-header {
2
4
  width: 100%;
3
5
  background-color: govuk-colour("blue");
@@ -1 +1,2 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/label/label";
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/footer/footer";
2
3
 
3
4
  .gem-c-layout-footer--border {
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-layout-for-public {
2
4
  font-family: $govuk-font-family;
3
5
  }
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "mixins/prefixed-transform";
2
3
  @import "mixins/grid-helper";
3
4
 
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-lead-paragraph {
2
4
  @include govuk-text-colour;
3
5
  @include govuk-font(24);
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-metadata {
2
4
  @include govuk-text-colour;
3
5
  @include govuk-font(16);
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  $govuk-modal-margin: govuk-spacing(6);
2
4
  $govuk-modal-close-button-size: 44px;
3
5
  $govuk-modal-z-index: 1000;
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/notification-banner/notification-banner";
2
3
 
3
4
  .gem-c-notice {
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  // Default logo corresponds with the "medium stacked" Whitehall equivalent
2
4
  .gem-c-organisation-logo {
3
5
  font-size: 13px;
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/panel/panel";
2
3
 
3
4
  .gem-c-panel__prepend {
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/phase-banner/phase-banner";
2
3
 
3
4
  .gem-c-phase-banner {
@@ -1 +1,2 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/pagination/pagination";
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  $gem-c-print-link-background-width: 16px;
2
4
  $gem-c-print-link-background-height: 18px;
3
5
 
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/radios/radios";
2
3
 
3
4
  .gem-c-radio__heading-text {
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-related-navigation {
2
4
  @include govuk-text-colour;
3
5
  border-top: 2px solid govuk-colour("blue");
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-reorderable-list {
2
4
  @include govuk-font(19, bold);
3
5
 
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  $input-size: 40px;
2
4
  $large-input-size: 50px;
3
5
 
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/select/select";
2
3
 
3
4
  .gem-c-select__select--full-width {
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  $share-button-width: 30px;
2
4
  $share-button-height: 30px;
3
5
 
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-show-password__input-wrapper {
2
4
  display: table; // IE fallback
3
5
  display: flex;
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-signup-link__link {
2
4
  @include govuk-font($size: 19);
3
5
  }
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-single-page-notification-button__submit {
2
4
  padding: govuk-spacing(2);
3
5
  margin: govuk-spacing(0);
@@ -1 +1,2 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/skip-link/skip-link";
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-step-nav-header {
2
4
  @include govuk-font(24, $weight: bold);
3
5
  @include govuk-text-colour;
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-step-nav-related {
2
4
  @include govuk-text-colour;
3
5
  border-top: 2px solid govuk-colour("blue");
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  $stroke-width: 1px;
2
4
  $number-circle-size: 30px;
3
5
  $number-circle-size-large: 35px;
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-subscription-links {
2
4
  @include govuk-text-colour;
3
5
  @include govuk-font(19, $weight: bold);
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/notification-banner/notification-banner";
2
3
 
3
4
  .gem-c-success-alert__message {
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/summary-list/summary-list";
2
3
 
3
4
  .gem-c-summary-list {
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/table/table";
2
3
 
3
4
  $table-border-width: 1px;
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/tabs/tabs";
2
3
 
3
4
  .js-enabled {
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/textarea/textarea";
2
3
 
3
4
  .gem-c-textarea {
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-title--inverse {
2
4
  color: govuk-colour("white");
3
5
 
@@ -1,3 +1,5 @@
1
+ @import "govuk_publishing_components/individual_component_support";
2
+
1
3
  .gem-c-translation-nav {
2
4
  @include responsive-top-margin;
3
5
  @include govuk-text-colour;
@@ -1,3 +1,4 @@
1
+ @import "govuk_publishing_components/individual_component_support";
1
2
  @import "govuk/components/warning-text/warning-text";
2
3
 
3
4
  .gem-c-warning-text .govuk-warning-text__text {
@@ -1,4 +1,6 @@
1
1
  <%
2
+ add_gem_component_stylesheet("accordion")
3
+
2
4
  local_assigns[:margin_bottom] ||= 6
3
5
  shared_helper = GovukPublishingComponents::Presenters::SharedHelper.new(local_assigns)
4
6
 
@@ -1,4 +1,6 @@
1
1
  <%
2
+ add_gem_component_stylesheet("action-link")
3
+
2
4
  local_assigns[:margin_bottom] ||= 0
3
5
  shared_helper = GovukPublishingComponents::Presenters::SharedHelper.new(local_assigns)
4
6
 
@@ -1,4 +1,6 @@
1
1
  <%
2
+ add_gem_component_stylesheet("attachment")
3
+
2
4
  attachment = GovukPublishingComponents::Presenters::AttachmentHelper.new(attachment)
3
5
  target ||= "_self"
4
6
  hide_opendocument_metadata ||= false
@@ -1,4 +1,6 @@
1
1
  <%
2
+ add_gem_component_stylesheet("attachment-link")
3
+
2
4
  attachment = GovukPublishingComponents::Presenters::AttachmentHelper.new(attachment)
3
5
  target ||= nil
4
6
  data_attributes ||= {}
@@ -1,4 +1,6 @@
1
1
  <%
2
+ add_gem_component_stylesheet("back-link")
3
+
2
4
  text ||= t('components.back_link.back')
3
5
  data_attributes ||= nil
4
6
  %>
@@ -1,4 +1,6 @@
1
1
  <%
2
+ add_gem_component_stylesheet("big-number")
3
+
2
4
  shared_helper = GovukPublishingComponents::Presenters::SharedHelper.new(local_assigns)
3
5
  big_number_helper = GovukPublishingComponents::Presenters::BigNumberHelper.new(local_assigns)
4
6
 
@@ -34,7 +36,7 @@
34
36
  </span>
35
37
  <% end %>
36
38
  <% end %>
37
-
39
+
38
40
  <%= tag.div class: classes, aria: aria do %>
39
41
  <% unless href.nil? %>
40
42
  <%= link_to big_number_value, href, class: "govuk-link gem-c-big-number__link", data: data_attributes %>