govuk_publishing_components 41.1.1 → 42.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-core.js +0 -1
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-ecommerce-tracker.js +0 -1
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-event-tracker.js +0 -1
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-link-tracker.js +0 -1
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-specialist-link-tracker.js +0 -1
- data/app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js +0 -2
- data/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js +0 -4
- data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/magna-charta.js +0 -1
- data/app/assets/javascripts/govuk_publishing_components/lib/toggle-input-class-on-focus.js +0 -1
- data/app/assets/javascripts/govuk_publishing_components/lib.js +0 -1
- data/app/assets/stylesheets/component_guide/application.scss +6 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +12 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-footer.scss +8 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +22 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +12 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_option-select.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_reorderable-list.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +6 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_single-page-notification-button.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +14 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +24 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +5 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +32 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss +34 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +25 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss +17 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +11 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_media-player.scss +6 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_grid-helper.scss +1 -1
- data/app/views/govuk_publishing_components/components/_attachment.html.erb +2 -0
- data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +6 -1
- data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +2 -5
- data/app/views/govuk_publishing_components/components/_layout_header.html.erb +4 -4
- data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_table.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/attachment/_thumbnail_external.html.erb +3 -0
- data/app/views/govuk_publishing_components/components/docs/layout_for_admin.yml +9 -0
- data/app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/layout_header/_search.html.erb +1 -1
- data/config/initializers/assets.rb +1 -8
- data/lib/govuk_publishing_components/presenters/attachment_helper.rb +4 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +4 -30
- data/app/assets/config/govuk_publishing_components_sassc-rails_manifest.js +0 -90
- data/app/assets/javascripts/govuk_publishing_components/ie.js +0 -2
- data/app/assets/javascripts/govuk_publishing_components/vendor/html5shiv-printshiv.js +0 -4
- data/app/assets/javascripts/govuk_publishing_components/vendor/json2.js +0 -487
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills/all.js +0 -1
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills/closest.js +0 -23
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills/common.js +0 -8
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills/indexOf.js +0 -9
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/DOMTokenList.js +0 -273
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Date/now.js +0 -21
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Document.js +0 -34
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Element/prototype/classList.js +0 -592
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Element/prototype/closest.js +0 -57
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Element/prototype/dataset.js +0 -303
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Element/prototype/matches.js +0 -32
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Element/prototype/nextElementSibling.js +0 -257
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Element/prototype/previousElementSibling.js +0 -257
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Element.js +0 -148
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Event.js +0 -506
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Function/prototype/bind.js +0 -253
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Object/defineProperty.js +0 -94
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/String/prototype/trim.js +0 -22
- data/app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Window.js +0 -28
@@ -5,6 +5,7 @@
|
|
5
5
|
css_filename ||= "application"
|
6
6
|
|
7
7
|
product_name ||= "Publishing"
|
8
|
+
use_type_module ||= false
|
8
9
|
%>
|
9
10
|
|
10
11
|
<!DOCTYPE html>
|
@@ -28,6 +29,10 @@
|
|
28
29
|
document.body.className += ' js-enabled' + ('noModule' in HTMLScriptElement.prototype ? ' govuk-frontend-supported' : '');
|
29
30
|
<% end -%>
|
30
31
|
<%= yield %>
|
31
|
-
|
32
|
+
<% if use_type_module %>
|
33
|
+
<%= javascript_include_tag js_filename, type: "module" %>
|
34
|
+
<% else %>
|
35
|
+
<%= javascript_include_tag js_filename %>
|
36
|
+
<% end %>
|
32
37
|
</body>
|
33
38
|
</html>
|
@@ -74,12 +74,11 @@
|
|
74
74
|
|
75
75
|
<% # Used for Google Analytics 4 debugging. Must be placed before load-analytics script. %>
|
76
76
|
<meta name="govuk:components_gem_version" content="<%= GovukPublishingComponents::VERSION %>" />
|
77
|
-
<%= javascript_include_tag "govuk_publishing_components/load-analytics" %>
|
77
|
+
<%= javascript_include_tag "govuk_publishing_components/load-analytics", type: "module" %>
|
78
78
|
|
79
79
|
<%= csrf_meta_tags %>
|
80
80
|
|
81
81
|
<%= stylesheet_link_tag "application", media: "all" %>
|
82
|
-
<!--[if lt IE 9]><%= javascript_include_tag "govuk_publishing_components/ie", integrity: true, crossorigin: "anonymous" %><![endif]-->
|
83
82
|
<link rel="icon" sizes="48x48" href="<%= asset_path 'favicon.ico' %>">
|
84
83
|
<link rel="icon" sizes="any" href="<%= asset_path 'favicon.svg' %>" type="image/svg+xml">
|
85
84
|
<link rel="mask-icon" href="<%= asset_path 'govuk-icon-mask.svg' %>" color="#0b0c0c">
|
@@ -87,8 +86,6 @@
|
|
87
86
|
|
88
87
|
<meta name="theme-color" content="#0b0c0c" />
|
89
88
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
90
|
-
<% # Ensure that older IE versions always render with the correct rendering engine %>
|
91
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
92
89
|
|
93
90
|
<% # The default og:image is added below :head so that scrapers see any custom metatags first, and this is just a fallback %>
|
94
91
|
<meta property="og:image" content="<%= asset_url("govuk-opengraph-image.png", host: Plek.website_root) %>">
|
@@ -185,7 +182,7 @@
|
|
185
182
|
meta: layout_helper.footer_meta,
|
186
183
|
} %>
|
187
184
|
<% end %>
|
188
|
-
<%= javascript_include_tag 'application' %>
|
185
|
+
<%= javascript_include_tag 'application', type: "module" %>
|
189
186
|
<% if GovukPublishingComponents::Config.use_es6_components %>
|
190
187
|
<%= javascript_include_tag 'es6-components', type: "module" %>
|
191
188
|
<% end %>
|
@@ -31,11 +31,11 @@
|
|
31
31
|
</div>
|
32
32
|
</div>
|
33
33
|
<div class="govuk-grid-row">
|
34
|
-
<div class="govuk-grid-column-full govuk-grid-column-one-third-from-desktop gem-c-layout-header__search">
|
34
|
+
<div class="govuk-grid-column-full govuk-grid-column-one-third-from-desktop gem-c-layout-header__search govuk-!-display-none-print">
|
35
35
|
<%= render "govuk_publishing_components/components/layout_header/search" %>
|
36
36
|
</div>
|
37
37
|
<% if navigation_items.any? %>
|
38
|
-
<div class="govuk-header__content gem-c-header__content govuk-grid-column-full">
|
38
|
+
<div class="govuk-header__content gem-c-header__content govuk-grid-column-full govuk-!-display-none-print">
|
39
39
|
<%= render "govuk_publishing_components/components/layout_header/navigation_items", navigation_items: navigation_items, navigation_aria_label: navigation_aria_label %>
|
40
40
|
</div>
|
41
41
|
<% end %>
|
@@ -50,12 +50,12 @@
|
|
50
50
|
} %>
|
51
51
|
</div>
|
52
52
|
<% if navigation_items.any? %>
|
53
|
-
<div class="govuk-header__content gem-c-header__content govuk-grid-column-full">
|
53
|
+
<div class="govuk-header__content gem-c-header__content govuk-grid-column-full govuk-!-display-none-print">
|
54
54
|
<%= render "govuk_publishing_components/components/layout_header/navigation_items", navigation_items: navigation_items, navigation_aria_label: navigation_aria_label %>
|
55
55
|
</div>
|
56
56
|
<% end %>
|
57
57
|
<% if search %>
|
58
|
-
<div class="govuk-grid-column-one-third gem-c-layout-header__search">
|
58
|
+
<div class="govuk-grid-column-one-third gem-c-layout-header__search govuk-!-display-none-print">
|
59
59
|
<%= render "govuk_publishing_components/components/layout_header/search" %>
|
60
60
|
</div>
|
61
61
|
<% end %>
|
data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb
CHANGED
@@ -109,7 +109,7 @@
|
|
109
109
|
</div>
|
110
110
|
<nav
|
111
111
|
aria-labelledby="super-navigation-menu-heading"
|
112
|
-
class="gem-c-layout-super-navigation-header__content"
|
112
|
+
class="gem-c-layout-super-navigation-header__content govuk-!-display-none-print"
|
113
113
|
data-module="super-navigation-mega-menu"
|
114
114
|
>
|
115
115
|
<h2 id="super-navigation-menu-heading" class="govuk-visually-hidden">
|
@@ -58,7 +58,7 @@
|
|
58
58
|
|
59
59
|
<% if filterable %>
|
60
60
|
<div data-module="table">
|
61
|
-
<div class="js-gem-c-table__filter govuk-!-display-none">
|
61
|
+
<div class="js-gem-c-table__filter govuk-!-display-none govuk-!-display-none-print">
|
62
62
|
<%= render "govuk_publishing_components/components/input", {
|
63
63
|
label: {
|
64
64
|
text: label
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg class="gem-c-attachment__thumbnail-image gem-c-attachment__thumbnail-image--external" version="1.1" viewBox="0 0 99 140" aria-hidden="true">
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M21 59H12V68H21V59ZM30 86V77H69V86H30ZM87 104H30V95H87V104ZM78 122H30V113H78V122ZM21 86H12V77H21V86ZM21 122H12V113H21V122ZM21 104H12V95H21V104ZM87 68H30V59H87V68ZM87 39V12H12V39H87ZM77.9699 29.2919H77.9202L75.2756 17H71.2279L68.5088 29.2919H68.4591L66.1249 17H62.2014L66.1746 34.8047H70.5699L73.2145 22.0409L75.9088 34.8047H80.3289L84.3021 17H80.391L77.9699 29.2919ZM53.8195 29.2919H53.8692L56.2903 17H60.2014L56.2282 34.8047H51.8081L49.1138 22.0409L46.4692 34.8047H42.0739L38.1007 17H42.0242L44.3584 29.2919H44.4081L47.1272 17H51.1749L53.8195 29.2919ZM29.7684 29.2919H29.7188L27.0742 17H23.0265L20.3074 29.2919H20.2577L17.9235 17H14L17.9732 34.8047H22.3685L25.0131 22.0409L27.7074 34.8047H32.1275L36.1007 17H32.1896L29.7684 29.2919Z"/>
|
3
|
+
</svg>
|
@@ -50,3 +50,12 @@ examples:
|
|
50
50
|
css_filename: "application"
|
51
51
|
block: |
|
52
52
|
<!-- You probably want to use the header, main & footer components here -->
|
53
|
+
with_type_module:
|
54
|
+
description: Adds 'type=module' to the javascript_include_tag. By default, use_type_module is false.
|
55
|
+
data:
|
56
|
+
environment: production
|
57
|
+
product_name: Publishing
|
58
|
+
browser_title: 'A page title'
|
59
|
+
use_type_module: true
|
60
|
+
block: |
|
61
|
+
<!-- You probably want to use the header, main & footer components here -->
|
data/app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
>
|
13
13
|
<%= t("components.layout_header.menu") %>
|
14
14
|
</button>
|
15
|
-
<ul id="navigation" class="govuk-header__navigation-list">
|
15
|
+
<ul id="navigation" class="govuk-header__navigation-list govuk-!-display-none-print">
|
16
16
|
<% navigation_items.each_with_index do |item, index| %>
|
17
17
|
<%
|
18
18
|
li_classes = %w(govuk-header__navigation-item)
|
@@ -6,14 +6,7 @@ return unless Rails.application.config.respond_to?(:assets)
|
|
6
6
|
#
|
7
7
|
# In future we may want applications to link directly to this from their
|
8
8
|
# manifest file as the use of `config.assets.precompile` is discouraged
|
9
|
-
|
10
|
-
# Rails.application.config.assets.precompile += %w[govuk_publishing_components_manifest.js]
|
11
|
-
|
12
|
-
if Gem.loaded_specs.key?("dartsass-rails")
|
13
|
-
Rails.application.config.assets.precompile += %w[govuk_publishing_components_manifest.js]
|
14
|
-
elsif Gem.loaded_specs.key?("sassc-rails")
|
15
|
-
Rails.application.config.assets.precompile += %w[govuk_publishing_components_sassc-rails_manifest.js]
|
16
|
-
end
|
9
|
+
Rails.application.config.assets.precompile += %w[govuk_publishing_components_manifest.js]
|
17
10
|
|
18
11
|
Rails.application.config.assets.paths += %W[
|
19
12
|
#{__dir__}/../../node_modules/govuk-frontend/dist/govuk/assets/images
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_publishing_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 42.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|
@@ -356,7 +356,6 @@ files:
|
|
356
356
|
- LICENCE.md
|
357
357
|
- README.md
|
358
358
|
- app/assets/config/govuk_publishing_components_manifest.js
|
359
|
-
- app/assets/config/govuk_publishing_components_sassc-rails_manifest.js
|
360
359
|
- app/assets/images/govuk_publishing_components/action-link-arrow--dark.png
|
361
360
|
- app/assets/images/govuk_publishing_components/action-link-arrow--dark.svg
|
362
361
|
- app/assets/images/govuk_publishing_components/action-link-arrow--light.png
|
@@ -460,7 +459,6 @@ files:
|
|
460
459
|
- app/assets/javascripts/govuk_publishing_components/components/tabs.js
|
461
460
|
- app/assets/javascripts/govuk_publishing_components/dependencies.js
|
462
461
|
- app/assets/javascripts/govuk_publishing_components/domain-config.js
|
463
|
-
- app/assets/javascripts/govuk_publishing_components/ie.js
|
464
462
|
- app/assets/javascripts/govuk_publishing_components/lib.js
|
465
463
|
- app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js
|
466
464
|
- app/assets/javascripts/govuk_publishing_components/lib/cookie-settings.js
|
@@ -477,30 +475,9 @@ files:
|
|
477
475
|
- app/assets/javascripts/govuk_publishing_components/modules.js
|
478
476
|
- app/assets/javascripts/govuk_publishing_components/rum-loader.js
|
479
477
|
- app/assets/javascripts/govuk_publishing_components/single-consent-functions.js
|
480
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/html5shiv-printshiv.js
|
481
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/json2.js
|
482
478
|
- app/assets/javascripts/govuk_publishing_components/vendor/lux/lux-measurer.js
|
483
479
|
- app/assets/javascripts/govuk_publishing_components/vendor/lux/lux-reporter.js
|
484
480
|
- app/assets/javascripts/govuk_publishing_components/vendor/modernizr.js
|
485
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/DOMTokenList.js
|
486
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Date/now.js
|
487
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Document.js
|
488
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Element.js
|
489
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Element/prototype/classList.js
|
490
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Element/prototype/closest.js
|
491
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Element/prototype/dataset.js
|
492
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Element/prototype/matches.js
|
493
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Element/prototype/nextElementSibling.js
|
494
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Element/prototype/previousElementSibling.js
|
495
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Event.js
|
496
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Function/prototype/bind.js
|
497
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Object/defineProperty.js
|
498
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/String/prototype/trim.js
|
499
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills-govuk-frontend-v4/Window.js
|
500
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills/all.js
|
501
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills/closest.js
|
502
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills/common.js
|
503
|
-
- app/assets/javascripts/govuk_publishing_components/vendor/polyfills/indexOf.js
|
504
481
|
- app/assets/stylesheets/component_guide/application.scss
|
505
482
|
- app/assets/stylesheets/govuk_publishing_components/_all_components.scss
|
506
483
|
- app/assets/stylesheets/govuk_publishing_components/_individual_component_support.scss
|
@@ -719,6 +696,7 @@ files:
|
|
719
696
|
- app/views/govuk_publishing_components/components/_translation_nav.html.erb
|
720
697
|
- app/views/govuk_publishing_components/components/_warning_text.html.erb
|
721
698
|
- app/views/govuk_publishing_components/components/attachment/_thumbnail_document.html.erb
|
699
|
+
- app/views/govuk_publishing_components/components/attachment/_thumbnail_external.html.erb
|
722
700
|
- app/views/govuk_publishing_components/components/attachment/_thumbnail_generic.html.erb
|
723
701
|
- app/views/govuk_publishing_components/components/attachment/_thumbnail_html.html.erb
|
724
702
|
- app/views/govuk_publishing_components/components/attachment/_thumbnail_pdf.html.erb
|
@@ -1825,11 +1803,7 @@ homepage: https://github.com/alphagov/govuk_publishing_components
|
|
1825
1803
|
licenses:
|
1826
1804
|
- MIT
|
1827
1805
|
metadata: {}
|
1828
|
-
post_install_message:
|
1829
|
-
from sassc-rails for stylesheet compilation since LibSass is deprecated. While both
|
1830
|
-
implementations are supported, it is recommended to update your application to use
|
1831
|
-
the latest implementation of Sass (dartsass-rails). You can find further details
|
1832
|
-
in the docs - https://docs.publishing.service.gov.uk/manual/migrate-to-dart-sass-from-libsass.html.
|
1806
|
+
post_install_message:
|
1833
1807
|
rdoc_options: []
|
1834
1808
|
require_paths:
|
1835
1809
|
- lib
|
@@ -1,90 +0,0 @@
|
|
1
|
-
// Pre-compile image and font assets from here and govuk-frontend
|
2
|
-
//= link_tree ../images
|
3
|
-
//= link_tree ../../../node_modules/govuk-frontend/dist/govuk/assets/images
|
4
|
-
//= link_tree ../../../node_modules/govuk-frontend/dist/govuk/assets/fonts
|
5
|
-
|
6
|
-
// Create asset files of each of the files in these directory
|
7
|
-
//= link_directory ../javascripts/component_guide
|
8
|
-
//= link_directory ../javascripts/govuk_publishing_components
|
9
|
-
|
10
|
-
// Pre-compile these specific files
|
11
|
-
//= link govuk_publishing_components/vendor/modernizr.js
|
12
|
-
//= link govuk_publishing_components/vendor/lux/lux-reporter.js
|
13
|
-
//= link govuk_publishing_components/vendor/lux/lux-measurer.js
|
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/_cross-service-header.css
|
34
|
-
//= link govuk_publishing_components/components/_date-input.css
|
35
|
-
//= link govuk_publishing_components/components/_details.css
|
36
|
-
//= link govuk_publishing_components/components/_devolved-nations.css
|
37
|
-
//= link govuk_publishing_components/components/_document-list.css
|
38
|
-
//= link govuk_publishing_components/components/_emergency-banner.css
|
39
|
-
//= link govuk_publishing_components/components/_error-alert.css
|
40
|
-
//= link govuk_publishing_components/components/_error-message.css
|
41
|
-
//= link govuk_publishing_components/components/_error-summary.css
|
42
|
-
//= link govuk_publishing_components/components/_feedback.css
|
43
|
-
//= link govuk_publishing_components/components/_fieldset.css
|
44
|
-
//= link govuk_publishing_components/components/_file-upload.css
|
45
|
-
//= link govuk_publishing_components/components/_govspeak-html-publication.css
|
46
|
-
//= link govuk_publishing_components/components/_govspeak.css
|
47
|
-
//= link govuk_publishing_components/components/_heading.css
|
48
|
-
//= link govuk_publishing_components/components/_hint.css
|
49
|
-
//= link govuk_publishing_components/components/_image-card.css
|
50
|
-
//= link govuk_publishing_components/components/_input.css
|
51
|
-
//= link govuk_publishing_components/components/_inset-text.css
|
52
|
-
//= link govuk_publishing_components/components/_intervention.css
|
53
|
-
//= link govuk_publishing_components/components/_inverse-header.css
|
54
|
-
//= link govuk_publishing_components/components/_label.css
|
55
|
-
//= link govuk_publishing_components/components/_layout-footer.css
|
56
|
-
//= link govuk_publishing_components/components/_layout-for-admin.css
|
57
|
-
//= link govuk_publishing_components/components/_layout-for-public.css
|
58
|
-
//= link govuk_publishing_components/components/_layout-header.css
|
59
|
-
//= link govuk_publishing_components/components/_layout-super-navigation-header.css
|
60
|
-
//= link govuk_publishing_components/components/_lead-paragraph.css
|
61
|
-
//= link govuk_publishing_components/components/_metadata.css
|
62
|
-
//= link govuk_publishing_components/components/_modal-dialogue.css
|
63
|
-
//= link govuk_publishing_components/components/_notice.css
|
64
|
-
//= link govuk_publishing_components/components/_option-select.css
|
65
|
-
//= link govuk_publishing_components/components/_organisation-logo.css
|
66
|
-
//= link govuk_publishing_components/components/_panel.css
|
67
|
-
//= link govuk_publishing_components/components/_phase-banner.css
|
68
|
-
//= link govuk_publishing_components/components/_previous-and-next-navigation.css
|
69
|
-
//= link govuk_publishing_components/components/_print-link.css
|
70
|
-
//= link govuk_publishing_components/components/_radio.css
|
71
|
-
//= link govuk_publishing_components/components/_related-navigation.css
|
72
|
-
//= link govuk_publishing_components/components/_reorderable-list.css
|
73
|
-
//= link govuk_publishing_components/components/_search.css
|
74
|
-
//= link govuk_publishing_components/components/_select.css
|
75
|
-
//= link govuk_publishing_components/components/_share-links.css
|
76
|
-
//= link govuk_publishing_components/components/_signup-link.css
|
77
|
-
//= link govuk_publishing_components/components/_single-page-notification-button.css
|
78
|
-
//= link govuk_publishing_components/components/_skip-link.css
|
79
|
-
//= link govuk_publishing_components/components/_step-by-step-nav-header.css
|
80
|
-
//= link govuk_publishing_components/components/_step-by-step-nav-related.css
|
81
|
-
//= link govuk_publishing_components/components/_step-by-step-nav.css
|
82
|
-
//= link govuk_publishing_components/components/_subscription-links.css
|
83
|
-
//= link govuk_publishing_components/components/_success-alert.css
|
84
|
-
//= link govuk_publishing_components/components/_summary-list.css
|
85
|
-
//= link govuk_publishing_components/components/_tabs.css
|
86
|
-
//= link govuk_publishing_components/components/_table.css
|
87
|
-
//= link govuk_publishing_components/components/_textarea.css
|
88
|
-
//= link govuk_publishing_components/components/_title.css
|
89
|
-
//= link govuk_publishing_components/components/_translation-nav.css
|
90
|
-
//= link govuk_publishing_components/components/_warning-text.css
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
|
3
|
-
*/
|
4
|
-
!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=y.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=y.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),y.elements=c+" "+a,j(b)}function f(a){var b=x[a[v]];return b||(b={},w++,a[v]=w,x[w]=b),b}function g(a,c,d){if(c||(c=b),q)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():u.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||t.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),q)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return y.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(y,b.frag)}function j(a){a||(a=b);var d=f(a);return!y.shivCSS||p||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),q||i(a,d),a}function k(a){for(var b,c=a.getElementsByTagName("*"),e=c.length,f=RegExp("^(?:"+d().join("|")+")$","i"),g=[];e--;)b=c[e],f.test(b.nodeName)&&g.push(b.applyElement(l(b)));return g}function l(a){for(var b,c=a.attributes,d=c.length,e=a.ownerDocument.createElement(A+":"+a.nodeName);d--;)b=c[d],b.specified&&e.setAttribute(b.nodeName,b.nodeValue);return e.style.cssText=a.style.cssText,e}function m(a){for(var b,c=a.split("{"),e=c.length,f=RegExp("(^|[\\s,>+~])("+d().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),g="$1"+A+"\\:$2";e--;)b=c[e]=c[e].split("}"),b[b.length-1]=b[b.length-1].replace(f,g),c[e]=b.join("}");return c.join("{")}function n(a){for(var b=a.length;b--;)a[b].removeNode()}function o(a){function b(){clearTimeout(g._removeSheetTimer),d&&d.removeNode(!0),d=null}var d,e,g=f(a),h=a.namespaces,i=a.parentWindow;return!B||a.printShived?a:("undefined"==typeof h[A]&&h.add(A),i.attachEvent("onbeforeprint",function(){b();for(var f,g,h,i=a.styleSheets,j=[],l=i.length,n=Array(l);l--;)n[l]=i[l];for(;h=n.pop();)if(!h.disabled&&z.test(h.media)){try{f=h.imports,g=f.length}catch(o){g=0}for(l=0;g>l;l++)n.push(f[l]);try{j.push(h.cssText)}catch(o){}}j=m(j.reverse().join("")),e=k(a),d=c(a,j)}),i.attachEvent("onafterprint",function(){n(e),clearTimeout(g._removeSheetTimer),g._removeSheetTimer=setTimeout(b,500)}),a.printShived=!0,a)}var p,q,r="3.7.3",s=a.html5||{},t=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,u=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,v="_html5shiv",w=0,x={};!function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",p="hidden"in a,q=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){p=!0,q=!0}}();var y={elements:s.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:r,shivCSS:s.shivCSS!==!1,supportsUnknownElements:q,shivMethods:s.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=y,j(b);var z=/^$|\b(?:all|print)\b/,A="html5shiv",B=!q&&function(){var c=b.documentElement;return!("undefined"==typeof b.namespaces||"undefined"==typeof b.parentWindow||"undefined"==typeof c.applyElement||"undefined"==typeof c.removeNode||"undefined"==typeof a.attachEvent)}();y.type+=" print",y.shivPrint=o,o(b),"object"==typeof module&&module.exports&&(module.exports=y)}("undefined"!=typeof window?window:this,document);
|