govuk_publishing_components 9.3.6 → 9.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/app/assets/stylesheets/component_guide/application.scss +10 -0
- data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/admin_styles.scss +13 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_highlight-boxes.scss +66 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-footer.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-admin.scss +1 -0
- data/app/models/govuk_publishing_components/component_doc.rb +12 -0
- data/app/views/govuk_publishing_components/component_guide/component_doc/_preview.html.erb +7 -5
- data/app/views/govuk_publishing_components/component_guide/show.html.erb +22 -0
- data/app/views/govuk_publishing_components/components/_highlight_boxes.html.erb +39 -0
- data/app/views/govuk_publishing_components/components/_layout_footer.html.erb +26 -0
- data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +10 -0
- data/app/views/govuk_publishing_components/components/docs/highlight_boxes.yml +142 -0
- data/app/views/govuk_publishing_components/components/docs/layout_footer.yml +12 -0
- data/app/views/govuk_publishing_components/components/docs/layout_for_admin.yml +28 -0
- data/app/views/govuk_publishing_components/components/docs/metadata.yml +1 -0
- data/app/views/layouts/govuk_publishing_components/application.html.erb +5 -0
- data/config/initializers/assets.rb +12 -0
- data/lib/govuk_publishing_components.rb +1 -0
- data/lib/govuk_publishing_components/presenters/highlight_boxes_helper.rb +13 -0
- data/lib/govuk_publishing_components/presenters/meta_tags.rb +1 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/govuk-frontend/README.md +96 -0
- data/node_modules/govuk-frontend/all-ie8.scss +6 -0
- data/node_modules/govuk-frontend/all.js +1720 -0
- data/node_modules/govuk-frontend/all.scss +11 -0
- data/node_modules/govuk-frontend/assets/fonts/bold-a2452cb66f-v1.woff2 +0 -0
- data/node_modules/govuk-frontend/assets/fonts/bold-f38c792ac2-v1.woff +0 -0
- data/node_modules/govuk-frontend/assets/fonts/bold-fb2676462a-v1.eot +0 -0
- data/node_modules/govuk-frontend/assets/fonts/bold-tabular-357fdfbcc3-v1.eot +0 -0
- data/node_modules/govuk-frontend/assets/fonts/bold-tabular-784c21afb8-v1.woff +0 -0
- data/node_modules/govuk-frontend/assets/fonts/bold-tabular-b89238d840-v1.woff2 +0 -0
- data/node_modules/govuk-frontend/assets/fonts/light-2c037cf7e1-v1.eot +0 -0
- data/node_modules/govuk-frontend/assets/fonts/light-458f8ea81c-v1.woff +0 -0
- data/node_modules/govuk-frontend/assets/fonts/light-f38ad40456-v1.woff2 +0 -0
- data/node_modules/govuk-frontend/assets/fonts/light-tabular-498ea8ffe2-v1.eot +0 -0
- data/node_modules/govuk-frontend/assets/fonts/light-tabular-62cc6f0a28-v1.woff +0 -0
- data/node_modules/govuk-frontend/assets/fonts/light-tabular-851b10ccdd-v1.woff2 +0 -0
- data/node_modules/govuk-frontend/assets/images/favicon.ico +0 -0
- data/node_modules/govuk-frontend/assets/images/govuk-apple-touch-icon-152x152.png +0 -0
- data/node_modules/govuk-frontend/assets/images/govuk-apple-touch-icon-167x167.png +0 -0
- data/node_modules/govuk-frontend/assets/images/govuk-apple-touch-icon-180x180.png +0 -0
- data/node_modules/govuk-frontend/assets/images/govuk-apple-touch-icon.png +0 -0
- data/node_modules/govuk-frontend/assets/images/govuk-crest-2x.png +0 -0
- data/node_modules/govuk-frontend/assets/images/govuk-crest.png +0 -0
- data/node_modules/govuk-frontend/assets/images/govuk-logotype-crown.png +0 -0
- data/node_modules/govuk-frontend/assets/images/govuk-mask-icon.svg +7 -0
- data/node_modules/govuk-frontend/assets/images/govuk-opengraph-image.png +0 -0
- data/node_modules/govuk-frontend/assets/images/icon-arrow-left.png +0 -0
- data/node_modules/govuk-frontend/assets/images/icon-important.png +0 -0
- data/node_modules/govuk-frontend/assets/images/icon-pointer-2x.png +0 -0
- data/node_modules/govuk-frontend/assets/images/icon-pointer.png +0 -0
- data/node_modules/govuk-frontend/common.js +39 -0
- data/node_modules/govuk-frontend/components/_all.scss +26 -0
- data/node_modules/govuk-frontend/components/back-link/README.md +142 -0
- data/node_modules/govuk-frontend/components/back-link/_back-link.scss +54 -0
- data/node_modules/govuk-frontend/components/back-link/back-link.njk +3 -0
- data/node_modules/govuk-frontend/components/back-link/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/back-link/template.njk +2 -0
- data/node_modules/govuk-frontend/components/breadcrumbs/README.md +335 -0
- data/node_modules/govuk-frontend/components/breadcrumbs/_breadcrumbs.scss +119 -0
- data/node_modules/govuk-frontend/components/breadcrumbs/breadcrumbs.njk +14 -0
- data/node_modules/govuk-frontend/components/breadcrumbs/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/breadcrumbs/template.njk +13 -0
- data/node_modules/govuk-frontend/components/button/README.md +319 -0
- data/node_modules/govuk-frontend/components/button/_button.scss +185 -0
- data/node_modules/govuk-frontend/components/button/button.js +548 -0
- data/node_modules/govuk-frontend/components/button/button.njk +3 -0
- data/node_modules/govuk-frontend/components/button/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/button/template.njk +35 -0
- data/node_modules/govuk-frontend/components/checkboxes/README.md +782 -0
- data/node_modules/govuk-frontend/components/checkboxes/_checkboxes.scss +151 -0
- data/node_modules/govuk-frontend/components/checkboxes/checkboxes.js +730 -0
- data/node_modules/govuk-frontend/components/checkboxes/checkboxes.njk +27 -0
- data/node_modules/govuk-frontend/components/checkboxes/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/checkboxes/template.njk +86 -0
- data/node_modules/govuk-frontend/components/date-input/README.md +640 -0
- data/node_modules/govuk-frontend/components/date-input/_date-input.scss +35 -0
- data/node_modules/govuk-frontend/components/date-input/date-input.njk +23 -0
- data/node_modules/govuk-frontend/components/date-input/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/date-input/template.njk +76 -0
- data/node_modules/govuk-frontend/components/details/README.md +237 -0
- data/node_modules/govuk-frontend/components/details/_details.scss +86 -0
- data/node_modules/govuk-frontend/components/details/details.js +836 -0
- data/node_modules/govuk-frontend/components/details/details.njk +7 -0
- data/node_modules/govuk-frontend/components/details/implementation.md +43 -0
- data/node_modules/govuk-frontend/components/details/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/details/template.njk +10 -0
- data/node_modules/govuk-frontend/components/error-message/README.md +143 -0
- data/node_modules/govuk-frontend/components/error-message/_error-message.scss +15 -0
- data/node_modules/govuk-frontend/components/error-message/error-message.njk +7 -0
- data/node_modules/govuk-frontend/components/error-message/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/error-message/template.njk +3 -0
- data/node_modules/govuk-frontend/components/error-summary/README.md +215 -0
- data/node_modules/govuk-frontend/components/error-summary/_error-summary.scss +68 -0
- data/node_modules/govuk-frontend/components/error-summary/error-summary.js +520 -0
- data/node_modules/govuk-frontend/components/error-summary/error-summary.njk +17 -0
- data/node_modules/govuk-frontend/components/error-summary/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/error-summary/template.njk +25 -0
- data/node_modules/govuk-frontend/components/fieldset/README.md +213 -0
- data/node_modules/govuk-frontend/components/fieldset/_fieldset.scss +58 -0
- data/node_modules/govuk-frontend/components/fieldset/fieldset.njk +13 -0
- data/node_modules/govuk-frontend/components/fieldset/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/fieldset/template.njk +17 -0
- data/node_modules/govuk-frontend/components/file-upload/README.md +332 -0
- data/node_modules/govuk-frontend/components/file-upload/_file-upload.scss +19 -0
- data/node_modules/govuk-frontend/components/file-upload/file-upload.njk +9 -0
- data/node_modules/govuk-frontend/components/file-upload/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/file-upload/template.njk +42 -0
- data/node_modules/govuk-frontend/components/footer/README.md +284 -0
- data/node_modules/govuk-frontend/components/footer/_footer.scss +216 -0
- data/node_modules/govuk-frontend/components/footer/footer.njk +3 -0
- data/node_modules/govuk-frontend/components/footer/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/footer/template.njk +80 -0
- data/node_modules/govuk-frontend/components/header/README.md +524 -0
- data/node_modules/govuk-frontend/components/header/_header.scss +285 -0
- data/node_modules/govuk-frontend/components/header/header.js +717 -0
- data/node_modules/govuk-frontend/components/header/header.njk +3 -0
- data/node_modules/govuk-frontend/components/header/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/header/template.njk +82 -0
- data/node_modules/govuk-frontend/components/hint/README.md +157 -0
- data/node_modules/govuk-frontend/components/hint/_hint.scss +29 -0
- data/node_modules/govuk-frontend/components/hint/hint.njk +7 -0
- data/node_modules/govuk-frontend/components/hint/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/hint/template.njk +4 -0
- data/node_modules/govuk-frontend/components/input/README.md +416 -0
- data/node_modules/govuk-frontend/components/input/_input.scss +62 -0
- data/node_modules/govuk-frontend/components/input/input.njk +9 -0
- data/node_modules/govuk-frontend/components/input/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/input/template.njk +42 -0
- data/node_modules/govuk-frontend/components/inset-text/README.md +157 -0
- data/node_modules/govuk-frontend/components/inset-text/_inset-text.scss +28 -0
- data/node_modules/govuk-frontend/components/inset-text/inset-text.njk +7 -0
- data/node_modules/govuk-frontend/components/inset-text/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/inset-text/template.njk +4 -0
- data/node_modules/govuk-frontend/components/label/README.md +193 -0
- data/node_modules/govuk-frontend/components/label/_label.scss +45 -0
- data/node_modules/govuk-frontend/components/label/label.njk +6 -0
- data/node_modules/govuk-frontend/components/label/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/label/template.njk +15 -0
- data/node_modules/govuk-frontend/components/panel/README.md +151 -0
- data/node_modules/govuk-frontend/components/panel/_panel.scss +42 -0
- data/node_modules/govuk-frontend/components/panel/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/panel/panel.njk +7 -0
- data/node_modules/govuk-frontend/components/panel/template.njk +12 -0
- data/node_modules/govuk-frontend/components/phase-banner/README.md +152 -0
- data/node_modules/govuk-frontend/components/phase-banner/_phase-banner.scss +31 -0
- data/node_modules/govuk-frontend/components/phase-banner/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/phase-banner/phase-banner.njk +7 -0
- data/node_modules/govuk-frontend/components/phase-banner/template.njk +17 -0
- data/node_modules/govuk-frontend/components/radios/README.md +686 -0
- data/node_modules/govuk-frontend/components/radios/_radios.scss +157 -0
- data/node_modules/govuk-frontend/components/radios/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/radios/radios.js +730 -0
- data/node_modules/govuk-frontend/components/radios/radios.njk +27 -0
- data/node_modules/govuk-frontend/components/radios/template.njk +85 -0
- data/node_modules/govuk-frontend/components/select/README.md +387 -0
- data/node_modules/govuk-frontend/components/select/_select.scss +35 -0
- data/node_modules/govuk-frontend/components/select/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/select/select.njk +24 -0
- data/node_modules/govuk-frontend/components/select/template.njk +44 -0
- data/node_modules/govuk-frontend/components/skip-link/README.md +142 -0
- data/node_modules/govuk-frontend/components/skip-link/_skip-link.scss +15 -0
- data/node_modules/govuk-frontend/components/skip-link/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/skip-link/skip-link.njk +3 -0
- data/node_modules/govuk-frontend/components/skip-link/template.njk +3 -0
- data/node_modules/govuk-frontend/components/table/README.md +585 -0
- data/node_modules/govuk-frontend/components/table/_table.scss +50 -0
- data/node_modules/govuk-frontend/components/table/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/table/table.njk +45 -0
- data/node_modules/govuk-frontend/components/table/template.njk +39 -0
- data/node_modules/govuk-frontend/components/tabs/README.md +375 -0
- data/node_modules/govuk-frontend/components/tabs/_tabs.scss +120 -0
- data/node_modules/govuk-frontend/components/tabs/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/tabs/tabs.js +1302 -0
- data/node_modules/govuk-frontend/components/tabs/tabs.njk +3 -0
- data/node_modules/govuk-frontend/components/tabs/template.njk +29 -0
- data/node_modules/govuk-frontend/components/tag/README.md +150 -0
- data/node_modules/govuk-frontend/components/tag/_tag.scss +23 -0
- data/node_modules/govuk-frontend/components/tag/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/tag/tag.njk +7 -0
- data/node_modules/govuk-frontend/components/tag/template.njk +3 -0
- data/node_modules/govuk-frontend/components/textarea/README.md +350 -0
- data/node_modules/govuk-frontend/components/textarea/_textarea.scss +31 -0
- data/node_modules/govuk-frontend/components/textarea/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/textarea/template.njk +41 -0
- data/node_modules/govuk-frontend/components/textarea/textarea.njk +11 -0
- data/node_modules/govuk-frontend/components/warning-text/README.md +148 -0
- data/node_modules/govuk-frontend/components/warning-text/_warning-text.scss +50 -0
- data/node_modules/govuk-frontend/components/warning-text/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/warning-text/template.njk +9 -0
- data/node_modules/govuk-frontend/components/warning-text/warning-text.njk +9 -0
- data/node_modules/govuk-frontend/core/_all.scss +6 -0
- data/node_modules/govuk-frontend/core/_global-styles.scss +19 -0
- data/node_modules/govuk-frontend/core/_links.scss +40 -0
- data/node_modules/govuk-frontend/core/_lists.scss +63 -0
- data/node_modules/govuk-frontend/core/_section-break.scss +56 -0
- data/node_modules/govuk-frontend/core/_template.scss +16 -0
- data/node_modules/govuk-frontend/core/_typography.scss +186 -0
- data/node_modules/govuk-frontend/helpers/_all.scss +12 -0
- data/node_modules/govuk-frontend/helpers/_clearfix.scss +15 -0
- data/node_modules/govuk-frontend/helpers/_colour.scss +51 -0
- data/node_modules/govuk-frontend/helpers/_device-pixels.scss +38 -0
- data/node_modules/govuk-frontend/helpers/_focusable.scss +34 -0
- data/node_modules/govuk-frontend/helpers/_font-faces.scss +67 -0
- data/node_modules/govuk-frontend/helpers/_grid.scss +100 -0
- data/node_modules/govuk-frontend/helpers/_links.scss +149 -0
- data/node_modules/govuk-frontend/helpers/_media-queries.scss +95 -0
- data/node_modules/govuk-frontend/helpers/_shape-arrow.scss +80 -0
- data/node_modules/govuk-frontend/helpers/_spacing.scss +152 -0
- data/node_modules/govuk-frontend/helpers/_typography.scss +153 -0
- data/node_modules/govuk-frontend/helpers/_visually-hidden.scss +76 -0
- data/node_modules/govuk-frontend/objects/_all.scss +4 -0
- data/node_modules/govuk-frontend/objects/_form-group.scss +21 -0
- data/node_modules/govuk-frontend/objects/_grid.scss +10 -0
- data/node_modules/govuk-frontend/objects/_main-wrapper.scss +37 -0
- data/node_modules/govuk-frontend/objects/_width-container.scss +28 -0
- data/node_modules/govuk-frontend/overrides/_all.scss +4 -0
- data/node_modules/govuk-frontend/overrides/_display.scss +14 -0
- data/node_modules/govuk-frontend/overrides/_spacing.scss +58 -0
- data/node_modules/govuk-frontend/overrides/_typography.scss +21 -0
- data/node_modules/govuk-frontend/overrides/_width.scss +41 -0
- data/node_modules/govuk-frontend/package.json +89 -0
- data/node_modules/govuk-frontend/settings/_all.scss +21 -0
- data/node_modules/govuk-frontend/settings/_assets.scss +82 -0
- data/node_modules/govuk-frontend/settings/_colours-applied.scss +130 -0
- data/node_modules/govuk-frontend/settings/_colours-organisations.scss +136 -0
- data/node_modules/govuk-frontend/settings/_colours-palette.scss +37 -0
- data/node_modules/govuk-frontend/settings/_compatibility.scss +51 -0
- data/node_modules/govuk-frontend/settings/_global-styles.scss +13 -0
- data/node_modules/govuk-frontend/settings/_ie8.scss +18 -0
- data/node_modules/govuk-frontend/settings/_measurements.scss +85 -0
- data/node_modules/govuk-frontend/settings/_media-queries.scss +23 -0
- data/node_modules/govuk-frontend/settings/_spacing.scss +80 -0
- data/node_modules/govuk-frontend/settings/_typography-font-families.scss +22 -0
- data/node_modules/govuk-frontend/settings/_typography-font.scss +48 -0
- data/node_modules/govuk-frontend/settings/_typography-responsive.scss +138 -0
- data/node_modules/govuk-frontend/template.njk +56 -0
- data/node_modules/govuk-frontend/tools/_all.scss +7 -0
- data/node_modules/govuk-frontend/tools/_compatibility.scss +36 -0
- data/node_modules/govuk-frontend/tools/_exports.scss +33 -0
- data/node_modules/govuk-frontend/tools/_font-url.scss +28 -0
- data/node_modules/govuk-frontend/tools/_ie8.scss +51 -0
- data/node_modules/govuk-frontend/tools/_iff.scss +15 -0
- data/node_modules/govuk-frontend/tools/_image-url.scss +28 -0
- data/node_modules/govuk-frontend/tools/_px-to-em.scss +20 -0
- data/node_modules/govuk-frontend/utilities/_all.scss +2 -0
- data/node_modules/govuk-frontend/utilities/_clearfix.scss +5 -0
- data/node_modules/govuk-frontend/utilities/_visually-hidden.scss +9 -0
- data/node_modules/govuk-frontend/vendor/_sass-mq.scss +351 -0
- data/node_modules/govuk-frontend/vendor/polyfills/DOMTokenList.js +272 -0
- data/node_modules/govuk-frontend/vendor/polyfills/Document.js +34 -0
- data/node_modules/govuk-frontend/vendor/polyfills/Element.js +147 -0
- data/node_modules/govuk-frontend/vendor/polyfills/Element/prototype/classList.js +449 -0
- data/node_modules/govuk-frontend/vendor/polyfills/Event.js +504 -0
- data/node_modules/govuk-frontend/vendor/polyfills/Function/prototype/bind.js +252 -0
- data/node_modules/govuk-frontend/vendor/polyfills/Object/defineProperty.js +94 -0
- data/node_modules/govuk-frontend/vendor/polyfills/Window.js +28 -0
- metadata +249 -2
@@ -0,0 +1,252 @@
|
|
1
|
+
(function (global, factory) {
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
|
3
|
+
typeof define === 'function' && define.amd ? define('GOVUKFrontend', factory) :
|
4
|
+
(factory());
|
5
|
+
}(this, (function () { 'use strict';
|
6
|
+
|
7
|
+
(function(undefined) {
|
8
|
+
|
9
|
+
// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Object/defineProperty/detect.js
|
10
|
+
var detect = (
|
11
|
+
// In IE8, defineProperty could only act on DOM elements, so full support
|
12
|
+
// for the feature requires the ability to set a property on an arbitrary object
|
13
|
+
'defineProperty' in Object && (function() {
|
14
|
+
try {
|
15
|
+
var a = {};
|
16
|
+
Object.defineProperty(a, 'test', {value:42});
|
17
|
+
return true;
|
18
|
+
} catch(e) {
|
19
|
+
return false
|
20
|
+
}
|
21
|
+
}())
|
22
|
+
);
|
23
|
+
|
24
|
+
if (detect) return
|
25
|
+
|
26
|
+
// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Object.defineProperty&flags=always
|
27
|
+
(function (nativeDefineProperty) {
|
28
|
+
|
29
|
+
var supportsAccessors = Object.prototype.hasOwnProperty('__defineGetter__');
|
30
|
+
var ERR_ACCESSORS_NOT_SUPPORTED = 'Getters & setters cannot be defined on this javascript engine';
|
31
|
+
var ERR_VALUE_ACCESSORS = 'A property cannot both have accessors and be writable or have a value';
|
32
|
+
|
33
|
+
Object.defineProperty = function defineProperty(object, property, descriptor) {
|
34
|
+
|
35
|
+
// Where native support exists, assume it
|
36
|
+
if (nativeDefineProperty && (object === window || object === document || object === Element.prototype || object instanceof Element)) {
|
37
|
+
return nativeDefineProperty(object, property, descriptor);
|
38
|
+
}
|
39
|
+
|
40
|
+
if (object === null || !(object instanceof Object || typeof object === 'object')) {
|
41
|
+
throw new TypeError('Object.defineProperty called on non-object');
|
42
|
+
}
|
43
|
+
|
44
|
+
if (!(descriptor instanceof Object)) {
|
45
|
+
throw new TypeError('Property description must be an object');
|
46
|
+
}
|
47
|
+
|
48
|
+
var propertyString = String(property);
|
49
|
+
var hasValueOrWritable = 'value' in descriptor || 'writable' in descriptor;
|
50
|
+
var getterType = 'get' in descriptor && typeof descriptor.get;
|
51
|
+
var setterType = 'set' in descriptor && typeof descriptor.set;
|
52
|
+
|
53
|
+
// handle descriptor.get
|
54
|
+
if (getterType) {
|
55
|
+
if (getterType !== 'function') {
|
56
|
+
throw new TypeError('Getter must be a function');
|
57
|
+
}
|
58
|
+
if (!supportsAccessors) {
|
59
|
+
throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);
|
60
|
+
}
|
61
|
+
if (hasValueOrWritable) {
|
62
|
+
throw new TypeError(ERR_VALUE_ACCESSORS);
|
63
|
+
}
|
64
|
+
Object.__defineGetter__.call(object, propertyString, descriptor.get);
|
65
|
+
} else {
|
66
|
+
object[propertyString] = descriptor.value;
|
67
|
+
}
|
68
|
+
|
69
|
+
// handle descriptor.set
|
70
|
+
if (setterType) {
|
71
|
+
if (setterType !== 'function') {
|
72
|
+
throw new TypeError('Setter must be a function');
|
73
|
+
}
|
74
|
+
if (!supportsAccessors) {
|
75
|
+
throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);
|
76
|
+
}
|
77
|
+
if (hasValueOrWritable) {
|
78
|
+
throw new TypeError(ERR_VALUE_ACCESSORS);
|
79
|
+
}
|
80
|
+
Object.__defineSetter__.call(object, propertyString, descriptor.set);
|
81
|
+
}
|
82
|
+
|
83
|
+
// OK to define value unconditionally - if a getter has been specified as well, an error would be thrown above
|
84
|
+
if ('value' in descriptor) {
|
85
|
+
object[propertyString] = descriptor.value;
|
86
|
+
}
|
87
|
+
|
88
|
+
return object;
|
89
|
+
};
|
90
|
+
}(Object.defineProperty));
|
91
|
+
})
|
92
|
+
.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
|
93
|
+
|
94
|
+
(function(undefined) {
|
95
|
+
// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Function/prototype/bind/detect.js
|
96
|
+
var detect = 'bind' in Function.prototype;
|
97
|
+
|
98
|
+
if (detect) return
|
99
|
+
|
100
|
+
// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Function.prototype.bind&flags=always
|
101
|
+
Object.defineProperty(Function.prototype, 'bind', {
|
102
|
+
value: function bind(that) { // .length is 1
|
103
|
+
// add necessary es5-shim utilities
|
104
|
+
var $Array = Array;
|
105
|
+
var $Object = Object;
|
106
|
+
var ObjectPrototype = $Object.prototype;
|
107
|
+
var ArrayPrototype = $Array.prototype;
|
108
|
+
var Empty = function Empty() {};
|
109
|
+
var to_string = ObjectPrototype.toString;
|
110
|
+
var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
|
111
|
+
var isCallable; /* inlined from https://npmjs.com/is-callable */ var fnToStr = Function.prototype.toString, tryFunctionObject = function tryFunctionObject(value) { try { fnToStr.call(value); return true; } catch (e) { return false; } }, fnClass = '[object Function]', genClass = '[object GeneratorFunction]'; isCallable = function isCallable(value) { if (typeof value !== 'function') { return false; } if (hasToStringTag) { return tryFunctionObject(value); } var strClass = to_string.call(value); return strClass === fnClass || strClass === genClass; };
|
112
|
+
var array_slice = ArrayPrototype.slice;
|
113
|
+
var array_concat = ArrayPrototype.concat;
|
114
|
+
var array_push = ArrayPrototype.push;
|
115
|
+
var max = Math.max;
|
116
|
+
// /add necessary es5-shim utilities
|
117
|
+
|
118
|
+
// 1. Let Target be the this value.
|
119
|
+
var target = this;
|
120
|
+
// 2. If IsCallable(Target) is false, throw a TypeError exception.
|
121
|
+
if (!isCallable(target)) {
|
122
|
+
throw new TypeError('Function.prototype.bind called on incompatible ' + target);
|
123
|
+
}
|
124
|
+
// 3. Let A be a new (possibly empty) internal list of all of the
|
125
|
+
// argument values provided after thisArg (arg1, arg2 etc), in order.
|
126
|
+
// XXX slicedArgs will stand in for "A" if used
|
127
|
+
var args = array_slice.call(arguments, 1); // for normal call
|
128
|
+
// 4. Let F be a new native ECMAScript object.
|
129
|
+
// 11. Set the [[Prototype]] internal property of F to the standard
|
130
|
+
// built-in Function prototype object as specified in 15.3.3.1.
|
131
|
+
// 12. Set the [[Call]] internal property of F as described in
|
132
|
+
// 15.3.4.5.1.
|
133
|
+
// 13. Set the [[Construct]] internal property of F as described in
|
134
|
+
// 15.3.4.5.2.
|
135
|
+
// 14. Set the [[HasInstance]] internal property of F as described in
|
136
|
+
// 15.3.4.5.3.
|
137
|
+
var bound;
|
138
|
+
var binder = function () {
|
139
|
+
|
140
|
+
if (this instanceof bound) {
|
141
|
+
// 15.3.4.5.2 [[Construct]]
|
142
|
+
// When the [[Construct]] internal method of a function object,
|
143
|
+
// F that was created using the bind function is called with a
|
144
|
+
// list of arguments ExtraArgs, the following steps are taken:
|
145
|
+
// 1. Let target be the value of F's [[TargetFunction]]
|
146
|
+
// internal property.
|
147
|
+
// 2. If target has no [[Construct]] internal method, a
|
148
|
+
// TypeError exception is thrown.
|
149
|
+
// 3. Let boundArgs be the value of F's [[BoundArgs]] internal
|
150
|
+
// property.
|
151
|
+
// 4. Let args be a new list containing the same values as the
|
152
|
+
// list boundArgs in the same order followed by the same
|
153
|
+
// values as the list ExtraArgs in the same order.
|
154
|
+
// 5. Return the result of calling the [[Construct]] internal
|
155
|
+
// method of target providing args as the arguments.
|
156
|
+
|
157
|
+
var result = target.apply(
|
158
|
+
this,
|
159
|
+
array_concat.call(args, array_slice.call(arguments))
|
160
|
+
);
|
161
|
+
if ($Object(result) === result) {
|
162
|
+
return result;
|
163
|
+
}
|
164
|
+
return this;
|
165
|
+
|
166
|
+
} else {
|
167
|
+
// 15.3.4.5.1 [[Call]]
|
168
|
+
// When the [[Call]] internal method of a function object, F,
|
169
|
+
// which was created using the bind function is called with a
|
170
|
+
// this value and a list of arguments ExtraArgs, the following
|
171
|
+
// steps are taken:
|
172
|
+
// 1. Let boundArgs be the value of F's [[BoundArgs]] internal
|
173
|
+
// property.
|
174
|
+
// 2. Let boundThis be the value of F's [[BoundThis]] internal
|
175
|
+
// property.
|
176
|
+
// 3. Let target be the value of F's [[TargetFunction]] internal
|
177
|
+
// property.
|
178
|
+
// 4. Let args be a new list containing the same values as the
|
179
|
+
// list boundArgs in the same order followed by the same
|
180
|
+
// values as the list ExtraArgs in the same order.
|
181
|
+
// 5. Return the result of calling the [[Call]] internal method
|
182
|
+
// of target providing boundThis as the this value and
|
183
|
+
// providing args as the arguments.
|
184
|
+
|
185
|
+
// equiv: target.call(this, ...boundArgs, ...args)
|
186
|
+
return target.apply(
|
187
|
+
that,
|
188
|
+
array_concat.call(args, array_slice.call(arguments))
|
189
|
+
);
|
190
|
+
|
191
|
+
}
|
192
|
+
|
193
|
+
};
|
194
|
+
|
195
|
+
// 15. If the [[Class]] internal property of Target is "Function", then
|
196
|
+
// a. Let L be the length property of Target minus the length of A.
|
197
|
+
// b. Set the length own property of F to either 0 or L, whichever is
|
198
|
+
// larger.
|
199
|
+
// 16. Else set the length own property of F to 0.
|
200
|
+
|
201
|
+
var boundLength = max(0, target.length - args.length);
|
202
|
+
|
203
|
+
// 17. Set the attributes of the length own property of F to the values
|
204
|
+
// specified in 15.3.5.1.
|
205
|
+
var boundArgs = [];
|
206
|
+
for (var i = 0; i < boundLength; i++) {
|
207
|
+
array_push.call(boundArgs, '$' + i);
|
208
|
+
}
|
209
|
+
|
210
|
+
// XXX Build a dynamic function with desired amount of arguments is the only
|
211
|
+
// way to set the length property of a function.
|
212
|
+
// In environments where Content Security Policies enabled (Chrome extensions,
|
213
|
+
// for ex.) all use of eval or Function costructor throws an exception.
|
214
|
+
// However in all of these environments Function.prototype.bind exists
|
215
|
+
// and so this code will never be executed.
|
216
|
+
bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this, arguments); }')(binder);
|
217
|
+
|
218
|
+
if (target.prototype) {
|
219
|
+
Empty.prototype = target.prototype;
|
220
|
+
bound.prototype = new Empty();
|
221
|
+
// Clean up dangling references.
|
222
|
+
Empty.prototype = null;
|
223
|
+
}
|
224
|
+
|
225
|
+
// TODO
|
226
|
+
// 18. Set the [[Extensible]] internal property of F to true.
|
227
|
+
|
228
|
+
// TODO
|
229
|
+
// 19. Let thrower be the [[ThrowTypeError]] function Object (13.2.3).
|
230
|
+
// 20. Call the [[DefineOwnProperty]] internal method of F with
|
231
|
+
// arguments "caller", PropertyDescriptor {[[Get]]: thrower, [[Set]]:
|
232
|
+
// thrower, [[Enumerable]]: false, [[Configurable]]: false}, and
|
233
|
+
// false.
|
234
|
+
// 21. Call the [[DefineOwnProperty]] internal method of F with
|
235
|
+
// arguments "arguments", PropertyDescriptor {[[Get]]: thrower,
|
236
|
+
// [[Set]]: thrower, [[Enumerable]]: false, [[Configurable]]: false},
|
237
|
+
// and false.
|
238
|
+
|
239
|
+
// TODO
|
240
|
+
// NOTE Function objects created using Function.prototype.bind do not
|
241
|
+
// have a prototype property or the [[Code]], [[FormalParameters]], and
|
242
|
+
// [[Scope]] internal properties.
|
243
|
+
// XXX can't delete prototype in pure-js.
|
244
|
+
|
245
|
+
// 22. Return F.
|
246
|
+
return bound;
|
247
|
+
}
|
248
|
+
});
|
249
|
+
})
|
250
|
+
.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
|
251
|
+
|
252
|
+
})));
|
@@ -0,0 +1,94 @@
|
|
1
|
+
(function (global, factory) {
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
|
3
|
+
typeof define === 'function' && define.amd ? define('GOVUKFrontend', factory) :
|
4
|
+
(factory());
|
5
|
+
}(this, (function () { 'use strict';
|
6
|
+
|
7
|
+
(function(undefined) {
|
8
|
+
|
9
|
+
// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Object/defineProperty/detect.js
|
10
|
+
var detect = (
|
11
|
+
// In IE8, defineProperty could only act on DOM elements, so full support
|
12
|
+
// for the feature requires the ability to set a property on an arbitrary object
|
13
|
+
'defineProperty' in Object && (function() {
|
14
|
+
try {
|
15
|
+
var a = {};
|
16
|
+
Object.defineProperty(a, 'test', {value:42});
|
17
|
+
return true;
|
18
|
+
} catch(e) {
|
19
|
+
return false
|
20
|
+
}
|
21
|
+
}())
|
22
|
+
);
|
23
|
+
|
24
|
+
if (detect) return
|
25
|
+
|
26
|
+
// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Object.defineProperty&flags=always
|
27
|
+
(function (nativeDefineProperty) {
|
28
|
+
|
29
|
+
var supportsAccessors = Object.prototype.hasOwnProperty('__defineGetter__');
|
30
|
+
var ERR_ACCESSORS_NOT_SUPPORTED = 'Getters & setters cannot be defined on this javascript engine';
|
31
|
+
var ERR_VALUE_ACCESSORS = 'A property cannot both have accessors and be writable or have a value';
|
32
|
+
|
33
|
+
Object.defineProperty = function defineProperty(object, property, descriptor) {
|
34
|
+
|
35
|
+
// Where native support exists, assume it
|
36
|
+
if (nativeDefineProperty && (object === window || object === document || object === Element.prototype || object instanceof Element)) {
|
37
|
+
return nativeDefineProperty(object, property, descriptor);
|
38
|
+
}
|
39
|
+
|
40
|
+
if (object === null || !(object instanceof Object || typeof object === 'object')) {
|
41
|
+
throw new TypeError('Object.defineProperty called on non-object');
|
42
|
+
}
|
43
|
+
|
44
|
+
if (!(descriptor instanceof Object)) {
|
45
|
+
throw new TypeError('Property description must be an object');
|
46
|
+
}
|
47
|
+
|
48
|
+
var propertyString = String(property);
|
49
|
+
var hasValueOrWritable = 'value' in descriptor || 'writable' in descriptor;
|
50
|
+
var getterType = 'get' in descriptor && typeof descriptor.get;
|
51
|
+
var setterType = 'set' in descriptor && typeof descriptor.set;
|
52
|
+
|
53
|
+
// handle descriptor.get
|
54
|
+
if (getterType) {
|
55
|
+
if (getterType !== 'function') {
|
56
|
+
throw new TypeError('Getter must be a function');
|
57
|
+
}
|
58
|
+
if (!supportsAccessors) {
|
59
|
+
throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);
|
60
|
+
}
|
61
|
+
if (hasValueOrWritable) {
|
62
|
+
throw new TypeError(ERR_VALUE_ACCESSORS);
|
63
|
+
}
|
64
|
+
Object.__defineGetter__.call(object, propertyString, descriptor.get);
|
65
|
+
} else {
|
66
|
+
object[propertyString] = descriptor.value;
|
67
|
+
}
|
68
|
+
|
69
|
+
// handle descriptor.set
|
70
|
+
if (setterType) {
|
71
|
+
if (setterType !== 'function') {
|
72
|
+
throw new TypeError('Setter must be a function');
|
73
|
+
}
|
74
|
+
if (!supportsAccessors) {
|
75
|
+
throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);
|
76
|
+
}
|
77
|
+
if (hasValueOrWritable) {
|
78
|
+
throw new TypeError(ERR_VALUE_ACCESSORS);
|
79
|
+
}
|
80
|
+
Object.__defineSetter__.call(object, propertyString, descriptor.set);
|
81
|
+
}
|
82
|
+
|
83
|
+
// OK to define value unconditionally - if a getter has been specified as well, an error would be thrown above
|
84
|
+
if ('value' in descriptor) {
|
85
|
+
object[propertyString] = descriptor.value;
|
86
|
+
}
|
87
|
+
|
88
|
+
return object;
|
89
|
+
};
|
90
|
+
}(Object.defineProperty));
|
91
|
+
})
|
92
|
+
.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
|
93
|
+
|
94
|
+
})));
|
@@ -0,0 +1,28 @@
|
|
1
|
+
(function (global, factory) {
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
|
3
|
+
typeof define === 'function' && define.amd ? define('GOVUKFrontend', factory) :
|
4
|
+
(factory());
|
5
|
+
}(this, (function () { 'use strict';
|
6
|
+
|
7
|
+
(function(undefined) {
|
8
|
+
|
9
|
+
// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Window/detect.js
|
10
|
+
var detect = ('Window' in this);
|
11
|
+
|
12
|
+
if (detect) return
|
13
|
+
|
14
|
+
// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Window&flags=always
|
15
|
+
if ((typeof WorkerGlobalScope === "undefined") && (typeof importScripts !== "function")) {
|
16
|
+
(function (global) {
|
17
|
+
if (global.constructor) {
|
18
|
+
global.Window = global.constructor;
|
19
|
+
} else {
|
20
|
+
(global.Window = global.constructor = new Function('return function Window() {}')()).prototype = this;
|
21
|
+
}
|
22
|
+
}(this));
|
23
|
+
}
|
24
|
+
|
25
|
+
})
|
26
|
+
.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
|
27
|
+
|
28
|
+
})));
|
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: 9.
|
4
|
+
version: 9.4.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: 2018-
|
11
|
+
date: 2018-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|
@@ -328,6 +328,7 @@ files:
|
|
328
328
|
- app/assets/stylesheets/component_guide/application.scss
|
329
329
|
- app/assets/stylesheets/govuk_publishing_components/_all_components.scss
|
330
330
|
- app/assets/stylesheets/govuk_publishing_components/_all_components_print.scss
|
331
|
+
- app/assets/stylesheets/govuk_publishing_components/admin_styles.scss
|
331
332
|
- app/assets/stylesheets/govuk_publishing_components/components/_back-link.scss
|
332
333
|
- app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss
|
333
334
|
- app/assets/stylesheets/govuk_publishing_components/components/_button.scss
|
@@ -339,10 +340,13 @@ files:
|
|
339
340
|
- app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss
|
340
341
|
- app/assets/stylesheets/govuk_publishing_components/components/_govspeak.scss
|
341
342
|
- app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
|
343
|
+
- app/assets/stylesheets/govuk_publishing_components/components/_highlight-boxes.scss
|
342
344
|
- app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss
|
343
345
|
- app/assets/stylesheets/govuk_publishing_components/components/_input.scss
|
344
346
|
- app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss
|
345
347
|
- app/assets/stylesheets/govuk_publishing_components/components/_label.scss
|
348
|
+
- app/assets/stylesheets/govuk_publishing_components/components/_layout-footer.scss
|
349
|
+
- app/assets/stylesheets/govuk_publishing_components/components/_layout-for-admin.scss
|
346
350
|
- app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss
|
347
351
|
- app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
|
348
352
|
- app/assets/stylesheets/govuk_publishing_components/components/_notice.scss
|
@@ -429,10 +433,13 @@ files:
|
|
429
433
|
- app/views/govuk_publishing_components/components/_govspeak.html.erb
|
430
434
|
- app/views/govuk_publishing_components/components/_govspeak_html_publication.html.erb
|
431
435
|
- app/views/govuk_publishing_components/components/_heading.html.erb
|
436
|
+
- app/views/govuk_publishing_components/components/_highlight_boxes.html.erb
|
432
437
|
- app/views/govuk_publishing_components/components/_image_card.html.erb
|
433
438
|
- app/views/govuk_publishing_components/components/_input.html.erb
|
434
439
|
- app/views/govuk_publishing_components/components/_inverse_header.html.erb
|
435
440
|
- app/views/govuk_publishing_components/components/_label.html.erb
|
441
|
+
- app/views/govuk_publishing_components/components/_layout_footer.html.erb
|
442
|
+
- app/views/govuk_publishing_components/components/_layout_for_admin.html.erb
|
436
443
|
- app/views/govuk_publishing_components/components/_lead_paragraph.html.erb
|
437
444
|
- app/views/govuk_publishing_components/components/_machine_readable_metadata.html.erb
|
438
445
|
- app/views/govuk_publishing_components/components/_meta_tags.html.erb
|
@@ -467,10 +474,13 @@ files:
|
|
467
474
|
- app/views/govuk_publishing_components/components/docs/govspeak.yml
|
468
475
|
- app/views/govuk_publishing_components/components/docs/govspeak_html_publication.yml
|
469
476
|
- app/views/govuk_publishing_components/components/docs/heading.yml
|
477
|
+
- app/views/govuk_publishing_components/components/docs/highlight_boxes.yml
|
470
478
|
- app/views/govuk_publishing_components/components/docs/image_card.yml
|
471
479
|
- app/views/govuk_publishing_components/components/docs/input.yml
|
472
480
|
- app/views/govuk_publishing_components/components/docs/inverse_header.yml
|
473
481
|
- app/views/govuk_publishing_components/components/docs/label.yml
|
482
|
+
- app/views/govuk_publishing_components/components/docs/layout_footer.yml
|
483
|
+
- app/views/govuk_publishing_components/components/docs/layout_for_admin.yml
|
474
484
|
- app/views/govuk_publishing_components/components/docs/lead_paragraph.yml
|
475
485
|
- app/views/govuk_publishing_components/components/docs/machine_readable_metadata.yml
|
476
486
|
- app/views/govuk_publishing_components/components/docs/meta_tags.yml
|
@@ -517,6 +527,7 @@ files:
|
|
517
527
|
- lib/govuk_publishing_components/presenters/contextual_navigation.rb
|
518
528
|
- lib/govuk_publishing_components/presenters/curated_taxonomy_sidebar_links.rb
|
519
529
|
- lib/govuk_publishing_components/presenters/heading_helper.rb
|
530
|
+
- lib/govuk_publishing_components/presenters/highlight_boxes_helper.rb
|
520
531
|
- lib/govuk_publishing_components/presenters/image_card_helper.rb
|
521
532
|
- lib/govuk_publishing_components/presenters/machine_readable/article_schema.rb
|
522
533
|
- lib/govuk_publishing_components/presenters/machine_readable/news_article_schema.rb
|
@@ -535,6 +546,242 @@ files:
|
|
535
546
|
- lib/govuk_publishing_components/presenters/translation_nav_helper.rb
|
536
547
|
- lib/govuk_publishing_components/version.rb
|
537
548
|
- lib/tasks/govuk_publishing_components_tasks.rake
|
549
|
+
- node_modules/govuk-frontend/README.md
|
550
|
+
- node_modules/govuk-frontend/all-ie8.scss
|
551
|
+
- node_modules/govuk-frontend/all.js
|
552
|
+
- node_modules/govuk-frontend/all.scss
|
553
|
+
- node_modules/govuk-frontend/assets/fonts/bold-a2452cb66f-v1.woff2
|
554
|
+
- node_modules/govuk-frontend/assets/fonts/bold-f38c792ac2-v1.woff
|
555
|
+
- node_modules/govuk-frontend/assets/fonts/bold-fb2676462a-v1.eot
|
556
|
+
- node_modules/govuk-frontend/assets/fonts/bold-tabular-357fdfbcc3-v1.eot
|
557
|
+
- node_modules/govuk-frontend/assets/fonts/bold-tabular-784c21afb8-v1.woff
|
558
|
+
- node_modules/govuk-frontend/assets/fonts/bold-tabular-b89238d840-v1.woff2
|
559
|
+
- node_modules/govuk-frontend/assets/fonts/light-2c037cf7e1-v1.eot
|
560
|
+
- node_modules/govuk-frontend/assets/fonts/light-458f8ea81c-v1.woff
|
561
|
+
- node_modules/govuk-frontend/assets/fonts/light-f38ad40456-v1.woff2
|
562
|
+
- node_modules/govuk-frontend/assets/fonts/light-tabular-498ea8ffe2-v1.eot
|
563
|
+
- node_modules/govuk-frontend/assets/fonts/light-tabular-62cc6f0a28-v1.woff
|
564
|
+
- node_modules/govuk-frontend/assets/fonts/light-tabular-851b10ccdd-v1.woff2
|
565
|
+
- node_modules/govuk-frontend/assets/images/favicon.ico
|
566
|
+
- node_modules/govuk-frontend/assets/images/govuk-apple-touch-icon-152x152.png
|
567
|
+
- node_modules/govuk-frontend/assets/images/govuk-apple-touch-icon-167x167.png
|
568
|
+
- node_modules/govuk-frontend/assets/images/govuk-apple-touch-icon-180x180.png
|
569
|
+
- node_modules/govuk-frontend/assets/images/govuk-apple-touch-icon.png
|
570
|
+
- node_modules/govuk-frontend/assets/images/govuk-crest-2x.png
|
571
|
+
- node_modules/govuk-frontend/assets/images/govuk-crest.png
|
572
|
+
- node_modules/govuk-frontend/assets/images/govuk-logotype-crown.png
|
573
|
+
- node_modules/govuk-frontend/assets/images/govuk-mask-icon.svg
|
574
|
+
- node_modules/govuk-frontend/assets/images/govuk-opengraph-image.png
|
575
|
+
- node_modules/govuk-frontend/assets/images/icon-arrow-left.png
|
576
|
+
- node_modules/govuk-frontend/assets/images/icon-important.png
|
577
|
+
- node_modules/govuk-frontend/assets/images/icon-pointer-2x.png
|
578
|
+
- node_modules/govuk-frontend/assets/images/icon-pointer.png
|
579
|
+
- node_modules/govuk-frontend/common.js
|
580
|
+
- node_modules/govuk-frontend/components/_all.scss
|
581
|
+
- node_modules/govuk-frontend/components/back-link/README.md
|
582
|
+
- node_modules/govuk-frontend/components/back-link/_back-link.scss
|
583
|
+
- node_modules/govuk-frontend/components/back-link/back-link.njk
|
584
|
+
- node_modules/govuk-frontend/components/back-link/macro.njk
|
585
|
+
- node_modules/govuk-frontend/components/back-link/template.njk
|
586
|
+
- node_modules/govuk-frontend/components/breadcrumbs/README.md
|
587
|
+
- node_modules/govuk-frontend/components/breadcrumbs/_breadcrumbs.scss
|
588
|
+
- node_modules/govuk-frontend/components/breadcrumbs/breadcrumbs.njk
|
589
|
+
- node_modules/govuk-frontend/components/breadcrumbs/macro.njk
|
590
|
+
- node_modules/govuk-frontend/components/breadcrumbs/template.njk
|
591
|
+
- node_modules/govuk-frontend/components/button/README.md
|
592
|
+
- node_modules/govuk-frontend/components/button/_button.scss
|
593
|
+
- node_modules/govuk-frontend/components/button/button.js
|
594
|
+
- node_modules/govuk-frontend/components/button/button.njk
|
595
|
+
- node_modules/govuk-frontend/components/button/macro.njk
|
596
|
+
- node_modules/govuk-frontend/components/button/template.njk
|
597
|
+
- node_modules/govuk-frontend/components/checkboxes/README.md
|
598
|
+
- node_modules/govuk-frontend/components/checkboxes/_checkboxes.scss
|
599
|
+
- node_modules/govuk-frontend/components/checkboxes/checkboxes.js
|
600
|
+
- node_modules/govuk-frontend/components/checkboxes/checkboxes.njk
|
601
|
+
- node_modules/govuk-frontend/components/checkboxes/macro.njk
|
602
|
+
- node_modules/govuk-frontend/components/checkboxes/template.njk
|
603
|
+
- node_modules/govuk-frontend/components/date-input/README.md
|
604
|
+
- node_modules/govuk-frontend/components/date-input/_date-input.scss
|
605
|
+
- node_modules/govuk-frontend/components/date-input/date-input.njk
|
606
|
+
- node_modules/govuk-frontend/components/date-input/macro.njk
|
607
|
+
- node_modules/govuk-frontend/components/date-input/template.njk
|
608
|
+
- node_modules/govuk-frontend/components/details/README.md
|
609
|
+
- node_modules/govuk-frontend/components/details/_details.scss
|
610
|
+
- node_modules/govuk-frontend/components/details/details.js
|
611
|
+
- node_modules/govuk-frontend/components/details/details.njk
|
612
|
+
- node_modules/govuk-frontend/components/details/implementation.md
|
613
|
+
- node_modules/govuk-frontend/components/details/macro.njk
|
614
|
+
- node_modules/govuk-frontend/components/details/template.njk
|
615
|
+
- node_modules/govuk-frontend/components/error-message/README.md
|
616
|
+
- node_modules/govuk-frontend/components/error-message/_error-message.scss
|
617
|
+
- node_modules/govuk-frontend/components/error-message/error-message.njk
|
618
|
+
- node_modules/govuk-frontend/components/error-message/macro.njk
|
619
|
+
- node_modules/govuk-frontend/components/error-message/template.njk
|
620
|
+
- node_modules/govuk-frontend/components/error-summary/README.md
|
621
|
+
- node_modules/govuk-frontend/components/error-summary/_error-summary.scss
|
622
|
+
- node_modules/govuk-frontend/components/error-summary/error-summary.js
|
623
|
+
- node_modules/govuk-frontend/components/error-summary/error-summary.njk
|
624
|
+
- node_modules/govuk-frontend/components/error-summary/macro.njk
|
625
|
+
- node_modules/govuk-frontend/components/error-summary/template.njk
|
626
|
+
- node_modules/govuk-frontend/components/fieldset/README.md
|
627
|
+
- node_modules/govuk-frontend/components/fieldset/_fieldset.scss
|
628
|
+
- node_modules/govuk-frontend/components/fieldset/fieldset.njk
|
629
|
+
- node_modules/govuk-frontend/components/fieldset/macro.njk
|
630
|
+
- node_modules/govuk-frontend/components/fieldset/template.njk
|
631
|
+
- node_modules/govuk-frontend/components/file-upload/README.md
|
632
|
+
- node_modules/govuk-frontend/components/file-upload/_file-upload.scss
|
633
|
+
- node_modules/govuk-frontend/components/file-upload/file-upload.njk
|
634
|
+
- node_modules/govuk-frontend/components/file-upload/macro.njk
|
635
|
+
- node_modules/govuk-frontend/components/file-upload/template.njk
|
636
|
+
- node_modules/govuk-frontend/components/footer/README.md
|
637
|
+
- node_modules/govuk-frontend/components/footer/_footer.scss
|
638
|
+
- node_modules/govuk-frontend/components/footer/footer.njk
|
639
|
+
- node_modules/govuk-frontend/components/footer/macro.njk
|
640
|
+
- node_modules/govuk-frontend/components/footer/template.njk
|
641
|
+
- node_modules/govuk-frontend/components/header/README.md
|
642
|
+
- node_modules/govuk-frontend/components/header/_header.scss
|
643
|
+
- node_modules/govuk-frontend/components/header/header.js
|
644
|
+
- node_modules/govuk-frontend/components/header/header.njk
|
645
|
+
- node_modules/govuk-frontend/components/header/macro.njk
|
646
|
+
- node_modules/govuk-frontend/components/header/template.njk
|
647
|
+
- node_modules/govuk-frontend/components/hint/README.md
|
648
|
+
- node_modules/govuk-frontend/components/hint/_hint.scss
|
649
|
+
- node_modules/govuk-frontend/components/hint/hint.njk
|
650
|
+
- node_modules/govuk-frontend/components/hint/macro.njk
|
651
|
+
- node_modules/govuk-frontend/components/hint/template.njk
|
652
|
+
- node_modules/govuk-frontend/components/input/README.md
|
653
|
+
- node_modules/govuk-frontend/components/input/_input.scss
|
654
|
+
- node_modules/govuk-frontend/components/input/input.njk
|
655
|
+
- node_modules/govuk-frontend/components/input/macro.njk
|
656
|
+
- node_modules/govuk-frontend/components/input/template.njk
|
657
|
+
- node_modules/govuk-frontend/components/inset-text/README.md
|
658
|
+
- node_modules/govuk-frontend/components/inset-text/_inset-text.scss
|
659
|
+
- node_modules/govuk-frontend/components/inset-text/inset-text.njk
|
660
|
+
- node_modules/govuk-frontend/components/inset-text/macro.njk
|
661
|
+
- node_modules/govuk-frontend/components/inset-text/template.njk
|
662
|
+
- node_modules/govuk-frontend/components/label/README.md
|
663
|
+
- node_modules/govuk-frontend/components/label/_label.scss
|
664
|
+
- node_modules/govuk-frontend/components/label/label.njk
|
665
|
+
- node_modules/govuk-frontend/components/label/macro.njk
|
666
|
+
- node_modules/govuk-frontend/components/label/template.njk
|
667
|
+
- node_modules/govuk-frontend/components/panel/README.md
|
668
|
+
- node_modules/govuk-frontend/components/panel/_panel.scss
|
669
|
+
- node_modules/govuk-frontend/components/panel/macro.njk
|
670
|
+
- node_modules/govuk-frontend/components/panel/panel.njk
|
671
|
+
- node_modules/govuk-frontend/components/panel/template.njk
|
672
|
+
- node_modules/govuk-frontend/components/phase-banner/README.md
|
673
|
+
- node_modules/govuk-frontend/components/phase-banner/_phase-banner.scss
|
674
|
+
- node_modules/govuk-frontend/components/phase-banner/macro.njk
|
675
|
+
- node_modules/govuk-frontend/components/phase-banner/phase-banner.njk
|
676
|
+
- node_modules/govuk-frontend/components/phase-banner/template.njk
|
677
|
+
- node_modules/govuk-frontend/components/radios/README.md
|
678
|
+
- node_modules/govuk-frontend/components/radios/_radios.scss
|
679
|
+
- node_modules/govuk-frontend/components/radios/macro.njk
|
680
|
+
- node_modules/govuk-frontend/components/radios/radios.js
|
681
|
+
- node_modules/govuk-frontend/components/radios/radios.njk
|
682
|
+
- node_modules/govuk-frontend/components/radios/template.njk
|
683
|
+
- node_modules/govuk-frontend/components/select/README.md
|
684
|
+
- node_modules/govuk-frontend/components/select/_select.scss
|
685
|
+
- node_modules/govuk-frontend/components/select/macro.njk
|
686
|
+
- node_modules/govuk-frontend/components/select/select.njk
|
687
|
+
- node_modules/govuk-frontend/components/select/template.njk
|
688
|
+
- node_modules/govuk-frontend/components/skip-link/README.md
|
689
|
+
- node_modules/govuk-frontend/components/skip-link/_skip-link.scss
|
690
|
+
- node_modules/govuk-frontend/components/skip-link/macro.njk
|
691
|
+
- node_modules/govuk-frontend/components/skip-link/skip-link.njk
|
692
|
+
- node_modules/govuk-frontend/components/skip-link/template.njk
|
693
|
+
- node_modules/govuk-frontend/components/table/README.md
|
694
|
+
- node_modules/govuk-frontend/components/table/_table.scss
|
695
|
+
- node_modules/govuk-frontend/components/table/macro.njk
|
696
|
+
- node_modules/govuk-frontend/components/table/table.njk
|
697
|
+
- node_modules/govuk-frontend/components/table/template.njk
|
698
|
+
- node_modules/govuk-frontend/components/tabs/README.md
|
699
|
+
- node_modules/govuk-frontend/components/tabs/_tabs.scss
|
700
|
+
- node_modules/govuk-frontend/components/tabs/macro.njk
|
701
|
+
- node_modules/govuk-frontend/components/tabs/tabs.js
|
702
|
+
- node_modules/govuk-frontend/components/tabs/tabs.njk
|
703
|
+
- node_modules/govuk-frontend/components/tabs/template.njk
|
704
|
+
- node_modules/govuk-frontend/components/tag/README.md
|
705
|
+
- node_modules/govuk-frontend/components/tag/_tag.scss
|
706
|
+
- node_modules/govuk-frontend/components/tag/macro.njk
|
707
|
+
- node_modules/govuk-frontend/components/tag/tag.njk
|
708
|
+
- node_modules/govuk-frontend/components/tag/template.njk
|
709
|
+
- node_modules/govuk-frontend/components/textarea/README.md
|
710
|
+
- node_modules/govuk-frontend/components/textarea/_textarea.scss
|
711
|
+
- node_modules/govuk-frontend/components/textarea/macro.njk
|
712
|
+
- node_modules/govuk-frontend/components/textarea/template.njk
|
713
|
+
- node_modules/govuk-frontend/components/textarea/textarea.njk
|
714
|
+
- node_modules/govuk-frontend/components/warning-text/README.md
|
715
|
+
- node_modules/govuk-frontend/components/warning-text/_warning-text.scss
|
716
|
+
- node_modules/govuk-frontend/components/warning-text/macro.njk
|
717
|
+
- node_modules/govuk-frontend/components/warning-text/template.njk
|
718
|
+
- node_modules/govuk-frontend/components/warning-text/warning-text.njk
|
719
|
+
- node_modules/govuk-frontend/core/_all.scss
|
720
|
+
- node_modules/govuk-frontend/core/_global-styles.scss
|
721
|
+
- node_modules/govuk-frontend/core/_links.scss
|
722
|
+
- node_modules/govuk-frontend/core/_lists.scss
|
723
|
+
- node_modules/govuk-frontend/core/_section-break.scss
|
724
|
+
- node_modules/govuk-frontend/core/_template.scss
|
725
|
+
- node_modules/govuk-frontend/core/_typography.scss
|
726
|
+
- node_modules/govuk-frontend/helpers/_all.scss
|
727
|
+
- node_modules/govuk-frontend/helpers/_clearfix.scss
|
728
|
+
- node_modules/govuk-frontend/helpers/_colour.scss
|
729
|
+
- node_modules/govuk-frontend/helpers/_device-pixels.scss
|
730
|
+
- node_modules/govuk-frontend/helpers/_focusable.scss
|
731
|
+
- node_modules/govuk-frontend/helpers/_font-faces.scss
|
732
|
+
- node_modules/govuk-frontend/helpers/_grid.scss
|
733
|
+
- node_modules/govuk-frontend/helpers/_links.scss
|
734
|
+
- node_modules/govuk-frontend/helpers/_media-queries.scss
|
735
|
+
- node_modules/govuk-frontend/helpers/_shape-arrow.scss
|
736
|
+
- node_modules/govuk-frontend/helpers/_spacing.scss
|
737
|
+
- node_modules/govuk-frontend/helpers/_typography.scss
|
738
|
+
- node_modules/govuk-frontend/helpers/_visually-hidden.scss
|
739
|
+
- node_modules/govuk-frontend/objects/_all.scss
|
740
|
+
- node_modules/govuk-frontend/objects/_form-group.scss
|
741
|
+
- node_modules/govuk-frontend/objects/_grid.scss
|
742
|
+
- node_modules/govuk-frontend/objects/_main-wrapper.scss
|
743
|
+
- node_modules/govuk-frontend/objects/_width-container.scss
|
744
|
+
- node_modules/govuk-frontend/overrides/_all.scss
|
745
|
+
- node_modules/govuk-frontend/overrides/_display.scss
|
746
|
+
- node_modules/govuk-frontend/overrides/_spacing.scss
|
747
|
+
- node_modules/govuk-frontend/overrides/_typography.scss
|
748
|
+
- node_modules/govuk-frontend/overrides/_width.scss
|
749
|
+
- node_modules/govuk-frontend/package.json
|
750
|
+
- node_modules/govuk-frontend/settings/_all.scss
|
751
|
+
- node_modules/govuk-frontend/settings/_assets.scss
|
752
|
+
- node_modules/govuk-frontend/settings/_colours-applied.scss
|
753
|
+
- node_modules/govuk-frontend/settings/_colours-organisations.scss
|
754
|
+
- node_modules/govuk-frontend/settings/_colours-palette.scss
|
755
|
+
- node_modules/govuk-frontend/settings/_compatibility.scss
|
756
|
+
- node_modules/govuk-frontend/settings/_global-styles.scss
|
757
|
+
- node_modules/govuk-frontend/settings/_ie8.scss
|
758
|
+
- node_modules/govuk-frontend/settings/_measurements.scss
|
759
|
+
- node_modules/govuk-frontend/settings/_media-queries.scss
|
760
|
+
- node_modules/govuk-frontend/settings/_spacing.scss
|
761
|
+
- node_modules/govuk-frontend/settings/_typography-font-families.scss
|
762
|
+
- node_modules/govuk-frontend/settings/_typography-font.scss
|
763
|
+
- node_modules/govuk-frontend/settings/_typography-responsive.scss
|
764
|
+
- node_modules/govuk-frontend/template.njk
|
765
|
+
- node_modules/govuk-frontend/tools/_all.scss
|
766
|
+
- node_modules/govuk-frontend/tools/_compatibility.scss
|
767
|
+
- node_modules/govuk-frontend/tools/_exports.scss
|
768
|
+
- node_modules/govuk-frontend/tools/_font-url.scss
|
769
|
+
- node_modules/govuk-frontend/tools/_ie8.scss
|
770
|
+
- node_modules/govuk-frontend/tools/_iff.scss
|
771
|
+
- node_modules/govuk-frontend/tools/_image-url.scss
|
772
|
+
- node_modules/govuk-frontend/tools/_px-to-em.scss
|
773
|
+
- node_modules/govuk-frontend/utilities/_all.scss
|
774
|
+
- node_modules/govuk-frontend/utilities/_clearfix.scss
|
775
|
+
- node_modules/govuk-frontend/utilities/_visually-hidden.scss
|
776
|
+
- node_modules/govuk-frontend/vendor/_sass-mq.scss
|
777
|
+
- node_modules/govuk-frontend/vendor/polyfills/DOMTokenList.js
|
778
|
+
- node_modules/govuk-frontend/vendor/polyfills/Document.js
|
779
|
+
- node_modules/govuk-frontend/vendor/polyfills/Element.js
|
780
|
+
- node_modules/govuk-frontend/vendor/polyfills/Element/prototype/classList.js
|
781
|
+
- node_modules/govuk-frontend/vendor/polyfills/Event.js
|
782
|
+
- node_modules/govuk-frontend/vendor/polyfills/Function/prototype/bind.js
|
783
|
+
- node_modules/govuk-frontend/vendor/polyfills/Object/defineProperty.js
|
784
|
+
- node_modules/govuk-frontend/vendor/polyfills/Window.js
|
538
785
|
homepage: https://github.com/alphagov/govuk_publishing_components
|
539
786
|
licenses:
|
540
787
|
- MIT
|