govuk_tech_docs 3.2.1 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/publish.yaml +1 -1
  3. data/CHANGELOG.md +26 -7
  4. data/README.md +2 -2
  5. data/lib/assets/javascripts/_modules/search.js +2 -2
  6. data/lib/govuk_tech_docs/contribution_banner.rb +1 -1
  7. data/lib/govuk_tech_docs/version.rb +1 -1
  8. data/lib/source/layouts/core.erb +1 -1
  9. data/node_modules/govuk-frontend/govuk/all.js +1548 -311
  10. data/node_modules/govuk-frontend/govuk/common/closest-attribute-value.js +70 -0
  11. data/node_modules/govuk-frontend/govuk/common/index.js +172 -0
  12. data/node_modules/govuk-frontend/govuk/common/normalise-dataset.js +373 -0
  13. data/node_modules/govuk-frontend/govuk/common.js +138 -3
  14. data/node_modules/govuk-frontend/govuk/components/_all.scss +1 -0
  15. data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +5 -6
  16. data/node_modules/govuk-frontend/govuk/components/accordion/accordion.js +754 -36
  17. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss +0 -2
  18. data/node_modules/govuk-frontend/govuk/components/button/_index.scss +29 -21
  19. data/node_modules/govuk-frontend/govuk/components/button/button.js +365 -107
  20. data/node_modules/govuk-frontend/govuk/components/character-count/_index.scss +9 -0
  21. data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js +1092 -109
  22. data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +3 -2
  23. data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js +30 -2
  24. data/node_modules/govuk-frontend/govuk/components/details/details.js +51 -33
  25. data/node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js +289 -6
  26. data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +13 -23
  27. data/node_modules/govuk-frontend/govuk/components/header/_index.scss +30 -24
  28. data/node_modules/govuk-frontend/govuk/components/header/header.js +59 -11
  29. data/node_modules/govuk-frontend/govuk/components/input/_index.scss +13 -23
  30. data/node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js +252 -2
  31. data/node_modules/govuk-frontend/govuk/components/pagination/_index.scss +247 -0
  32. data/node_modules/govuk-frontend/govuk/components/pagination/_pagination.scss +2 -0
  33. data/node_modules/govuk-frontend/govuk/components/panel/_index.scss +1 -1
  34. data/node_modules/govuk-frontend/govuk/components/radios/_index.scss +5 -12
  35. data/node_modules/govuk-frontend/govuk/components/radios/radios.js +30 -2
  36. data/node_modules/govuk-frontend/govuk/components/select/_index.scss +11 -0
  37. data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss +1 -3
  38. data/node_modules/govuk-frontend/govuk/components/skip-link/skip-link.js +10 -4
  39. data/node_modules/govuk-frontend/govuk/components/summary-list/_index.scss +45 -13
  40. data/node_modules/govuk-frontend/govuk/components/table/_index.scss +1 -1
  41. data/node_modules/govuk-frontend/govuk/components/tabs/tabs.js +28 -0
  42. data/node_modules/govuk-frontend/govuk/core/_section-break.scss +1 -1
  43. data/node_modules/govuk-frontend/govuk/helpers/_colour.scss +5 -5
  44. data/node_modules/govuk-frontend/govuk/helpers/_focused.scss +5 -0
  45. data/node_modules/govuk-frontend/govuk/helpers/_links.scss +13 -11
  46. data/node_modules/govuk-frontend/govuk/helpers/_media-queries.scss +2 -2
  47. data/node_modules/govuk-frontend/govuk/helpers/_shape-arrow.scss +1 -1
  48. data/node_modules/govuk-frontend/govuk/helpers/_spacing.scss +3 -3
  49. data/node_modules/govuk-frontend/govuk/helpers/_typography.scss +16 -9
  50. data/node_modules/govuk-frontend/govuk/i18n.js +390 -0
  51. data/node_modules/govuk-frontend/govuk/objects/_button-group.scss +10 -26
  52. data/node_modules/govuk-frontend/govuk/objects/_template.scss +1 -1
  53. data/node_modules/govuk-frontend/govuk/objects/_width-container.scss +0 -4
  54. data/node_modules/govuk-frontend/govuk/overrides/_spacing.scss +56 -12
  55. data/node_modules/govuk-frontend/govuk/settings/_all.scss +1 -0
  56. data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss +12 -0
  57. data/node_modules/govuk-frontend/govuk/settings/_compatibility.scss +26 -0
  58. data/node_modules/govuk-frontend/govuk/settings/_spacing.scss +4 -8
  59. data/node_modules/govuk-frontend/govuk/settings/_typography-font.scss +23 -0
  60. data/node_modules/govuk-frontend/govuk/settings/_typography-responsive.scss +12 -0
  61. data/node_modules/govuk-frontend/govuk/settings/_warnings.scss +53 -0
  62. data/node_modules/govuk-frontend/govuk/tools/_compatibility.scss +20 -6
  63. data/node_modules/govuk-frontend/govuk/tools/_exports.scss +1 -1
  64. data/node_modules/govuk-frontend/govuk/tools/_font-url.scss +1 -1
  65. data/node_modules/govuk-frontend/govuk/tools/_image-url.scss +1 -1
  66. data/node_modules/govuk-frontend/govuk/tools/_px-to-em.scss +2 -2
  67. data/node_modules/govuk-frontend/govuk/tools/_px-to-rem.scss +1 -1
  68. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js +21 -0
  69. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/dataset.js +300 -0
  70. data/node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js +21 -0
  71. data/node_modules/govuk-frontend/govuk-prototype-kit/init.js +7 -0
  72. data/node_modules/govuk-frontend/govuk-prototype-kit/init.scss +12 -0
  73. data/package-lock.json +12 -12
  74. data/package.json +1 -1
  75. metadata +14 -2
@@ -0,0 +1,300 @@
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
+
96
+ // Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Document/detect.js
97
+ var detect = ("Document" in this);
98
+
99
+ if (detect) return
100
+
101
+ // Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Document&flags=always
102
+ if ((typeof WorkerGlobalScope === "undefined") && (typeof importScripts !== "function")) {
103
+
104
+ if (this.HTMLDocument) { // IE8
105
+
106
+ // HTMLDocument is an extension of Document. If the browser has HTMLDocument but not Document, the former will suffice as an alias for the latter.
107
+ this.Document = this.HTMLDocument;
108
+
109
+ } else {
110
+
111
+ // Create an empty function to act as the missing constructor for the document object, attach the document object as its prototype. The function needs to be anonymous else it is hoisted and causes the feature detect to prematurely pass, preventing the assignments below being made.
112
+ this.Document = this.HTMLDocument = document.constructor = (new Function('return function Document() {}')());
113
+ this.Document.prototype = document;
114
+ }
115
+ }
116
+
117
+
118
+ })
119
+ .call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
120
+
121
+ (function(undefined) {
122
+
123
+ // Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Element/detect.js
124
+ var detect = ('Element' in this && 'HTMLElement' in this);
125
+
126
+ if (detect) return
127
+
128
+ // Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Element&flags=always
129
+ (function () {
130
+
131
+ // IE8
132
+ if (window.Element && !window.HTMLElement) {
133
+ window.HTMLElement = window.Element;
134
+ return;
135
+ }
136
+
137
+ // create Element constructor
138
+ window.Element = window.HTMLElement = new Function('return function Element() {}')();
139
+
140
+ // generate sandboxed iframe
141
+ var vbody = document.appendChild(document.createElement('body'));
142
+ var frame = vbody.appendChild(document.createElement('iframe'));
143
+
144
+ // use sandboxed iframe to replicate Element functionality
145
+ var frameDocument = frame.contentWindow.document;
146
+ var prototype = Element.prototype = frameDocument.appendChild(frameDocument.createElement('*'));
147
+ var cache = {};
148
+
149
+ // polyfill Element.prototype on an element
150
+ var shiv = function (element, deep) {
151
+ var
152
+ childNodes = element.childNodes || [],
153
+ index = -1,
154
+ key, value, childNode;
155
+
156
+ if (element.nodeType === 1 && element.constructor !== Element) {
157
+ element.constructor = Element;
158
+
159
+ for (key in cache) {
160
+ value = cache[key];
161
+ element[key] = value;
162
+ }
163
+ }
164
+
165
+ while (childNode = deep && childNodes[++index]) {
166
+ shiv(childNode, deep);
167
+ }
168
+
169
+ return element;
170
+ };
171
+
172
+ var elements = document.getElementsByTagName('*');
173
+ var nativeCreateElement = document.createElement;
174
+ var interval;
175
+ var loopLimit = 100;
176
+
177
+ prototype.attachEvent('onpropertychange', function (event) {
178
+ var
179
+ propertyName = event.propertyName,
180
+ nonValue = !cache.hasOwnProperty(propertyName),
181
+ newValue = prototype[propertyName],
182
+ oldValue = cache[propertyName],
183
+ index = -1,
184
+ element;
185
+
186
+ while (element = elements[++index]) {
187
+ if (element.nodeType === 1) {
188
+ if (nonValue || element[propertyName] === oldValue) {
189
+ element[propertyName] = newValue;
190
+ }
191
+ }
192
+ }
193
+
194
+ cache[propertyName] = newValue;
195
+ });
196
+
197
+ prototype.constructor = Element;
198
+
199
+ if (!prototype.hasAttribute) {
200
+ // <Element>.hasAttribute
201
+ prototype.hasAttribute = function hasAttribute(name) {
202
+ return this.getAttribute(name) !== null;
203
+ };
204
+ }
205
+
206
+ // Apply Element prototype to the pre-existing DOM as soon as the body element appears.
207
+ function bodyCheck() {
208
+ if (!(loopLimit--)) clearTimeout(interval);
209
+ if (document.body && !document.body.prototype && /(complete|interactive)/.test(document.readyState)) {
210
+ shiv(document, true);
211
+ if (interval && document.body.prototype) clearTimeout(interval);
212
+ return (!!document.body.prototype);
213
+ }
214
+ return false;
215
+ }
216
+ if (!bodyCheck()) {
217
+ document.onreadystatechange = bodyCheck;
218
+ interval = setInterval(bodyCheck, 25);
219
+ }
220
+
221
+ // Apply to any new elements created after load
222
+ document.createElement = function createElement(nodeName) {
223
+ var element = nativeCreateElement(String(nodeName).toLowerCase());
224
+ return shiv(element);
225
+ };
226
+
227
+ // remove sandboxed iframe
228
+ document.removeChild(vbody);
229
+ }());
230
+
231
+ })
232
+ .call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
233
+
234
+ (function(undefined) {
235
+
236
+ // Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-library/13cf7c340974d128d557580b5e2dafcd1b1192d1/polyfills/Element/prototype/dataset/detect.js
237
+ var detect = (function(){
238
+ if (!document.documentElement.dataset) {
239
+ return false;
240
+ }
241
+ var el = document.createElement('div');
242
+ el.setAttribute("data-a-b", "c");
243
+ return el.dataset && el.dataset.aB == "c";
244
+ }());
245
+
246
+ if (detect) return
247
+
248
+ // Polyfill derived from https://raw.githubusercontent.com/Financial-Times/polyfill-library/13cf7c340974d128d557580b5e2dafcd1b1192d1/polyfills/Element/prototype/dataset/polyfill.js
249
+ Object.defineProperty(Element.prototype, 'dataset', {
250
+ get: function() {
251
+ var element = this;
252
+ var attributes = this.attributes;
253
+ var map = {};
254
+
255
+ for (var i = 0; i < attributes.length; i++) {
256
+ var attribute = attributes[i];
257
+
258
+ // This regex has been edited from the original polyfill, to add
259
+ // support for period (.) separators in data-* attribute names. These
260
+ // are allowed in the HTML spec, but were not covered by the original
261
+ // polyfill's regex. We use periods in our i18n implementation.
262
+ if (attribute && attribute.name && (/^data-\w[.\w-]*$/).test(attribute.name)) {
263
+ var name = attribute.name;
264
+ var value = attribute.value;
265
+
266
+ var propName = name.substr(5).replace(/-./g, function (prop) {
267
+ return prop.charAt(1).toUpperCase();
268
+ });
269
+
270
+ // If this browser supports __defineGetter__ and __defineSetter__,
271
+ // continue using defineProperty. If not (like IE 8 and below), we use
272
+ // a hacky fallback which at least gives an object in the right format
273
+ if ('__defineGetter__' in Object.prototype && '__defineSetter__' in Object.prototype) {
274
+ Object.defineProperty(map, propName, {
275
+ enumerable: true,
276
+ get: function() {
277
+ return this.value;
278
+ }.bind({value: value || ''}),
279
+ set: function setter(name, value) {
280
+ if (typeof value !== 'undefined') {
281
+ this.setAttribute(name, value);
282
+ } else {
283
+ this.removeAttribute(name);
284
+ }
285
+ }.bind(element, name)
286
+ });
287
+ } else {
288
+ map[propName] = value;
289
+ }
290
+
291
+ }
292
+ }
293
+
294
+ return map;
295
+ }
296
+ });
297
+
298
+ }).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
299
+
300
+ })));
@@ -0,0 +1,21 @@
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/mdn/content/blob/cf607d68522cd35ee7670782d3ee3a361eaef2e4/files/en-us/web/javascript/reference/global_objects/string/trim/index.md#polyfill
10
+ var detect = ('trim' in String.prototype);
11
+
12
+ if (detect) return
13
+
14
+ // Polyfill from https://github.com/mdn/content/blob/cf607d68522cd35ee7670782d3ee3a361eaef2e4/files/en-us/web/javascript/reference/global_objects/string/trim/index.md#polyfill
15
+ String.prototype.trim = function () {
16
+ return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
17
+ };
18
+
19
+ }).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
20
+
21
+ })));
@@ -0,0 +1,7 @@
1
+ if (window.GOVUKPrototypeKit &&
2
+ window.GOVUKPrototypeKit.documentReady &&
3
+ window.GOVUKPrototypeKit.majorVersion >= 13) {
4
+ window.GOVUKPrototypeKit.documentReady(function () {
5
+ window.GOVUKFrontend.initAll()
6
+ })
7
+ }
@@ -0,0 +1,12 @@
1
+ $govuk-prototype-kit-major-version: 0 !default;
2
+
3
+ $govuk-assets-path: if(
4
+ $govuk-prototype-kit-major-version > 12,
5
+ $govuk-extensions-url-context + "/govuk-frontend/govuk/assets/",
6
+ "/govuk/assets/"
7
+ ) !default;
8
+
9
+ $govuk-global-styles: true !default;
10
+ $govuk-new-link-styles: true !default;
11
+
12
+ @import "../govuk/all";
data/package-lock.json CHANGED
@@ -71,9 +71,9 @@
71
71
  }
72
72
  },
73
73
  "ansi-regex": {
74
- "version": "5.0.0",
75
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
76
- "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
74
+ "version": "5.0.1",
75
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
76
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
77
77
  "dev": true
78
78
  },
79
79
  "ansi-styles": {
@@ -808,9 +808,9 @@
808
808
  }
809
809
  },
810
810
  "govuk-frontend": {
811
- "version": "4.0.0",
812
- "resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-4.0.0.tgz",
813
- "integrity": "sha512-liaJildULUNSSvEgDm36SQTivqBHiZLdrm+O7bBxnW4Q1g64asi+mJIMzW8QeOqlG4Yn8s0gSklsIyaFOuCisQ=="
811
+ "version": "4.4.1",
812
+ "resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-4.4.1.tgz",
813
+ "integrity": "sha512-Jm1LUWiH9vy47b6HSH/ksSb4ueBrtTTgyLBk+3X2qqAmmFUc1AXWLSYHid07YYu1tvn9RnodWk5Bac5Ywqk6tA=="
814
814
  },
815
815
  "graceful-fs": {
816
816
  "version": "4.2.6",
@@ -1198,9 +1198,9 @@
1198
1198
  }
1199
1199
  },
1200
1200
  "minimist": {
1201
- "version": "1.2.5",
1202
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
1203
- "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
1201
+ "version": "1.2.6",
1202
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
1203
+ "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==",
1204
1204
  "dev": true
1205
1205
  },
1206
1206
  "mkdirp": {
@@ -1849,9 +1849,9 @@
1849
1849
  },
1850
1850
  "dependencies": {
1851
1851
  "ansi-regex": {
1852
- "version": "4.1.0",
1853
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
1854
- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
1852
+ "version": "4.1.1",
1853
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz",
1854
+ "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==",
1855
1855
  "dev": true
1856
1856
  }
1857
1857
  }
data/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "lint": "standard"
7
7
  },
8
8
  "dependencies": {
9
- "govuk-frontend": "^4.0.0"
9
+ "govuk-frontend": "^4.4.1"
10
10
  },
11
11
  "devDependencies": {
12
12
  "standard": "^14.3.4"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_tech_docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Government Digital Service
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-03 00:00:00.000000000 Z
11
+ date: 2023-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autoprefixer-rails
@@ -392,6 +392,8 @@ files:
392
392
  - lib/source/layouts/layout.erb
393
393
  - lib/source/search/index.html.erb
394
394
  - lib/source/stylesheets/manifest.css
395
+ - node_modules/govuk-frontend/govuk-prototype-kit/init.js
396
+ - node_modules/govuk-frontend/govuk-prototype-kit/init.scss
395
397
  - node_modules/govuk-frontend/govuk/_base.scss
396
398
  - node_modules/govuk-frontend/govuk/all-ie8.scss
397
399
  - node_modules/govuk-frontend/govuk/all.js
@@ -411,6 +413,9 @@ files:
411
413
  - node_modules/govuk-frontend/govuk/assets/images/govuk-mask-icon.svg
412
414
  - node_modules/govuk-frontend/govuk/assets/images/govuk-opengraph-image.png
413
415
  - node_modules/govuk-frontend/govuk/common.js
416
+ - node_modules/govuk-frontend/govuk/common/closest-attribute-value.js
417
+ - node_modules/govuk-frontend/govuk/common/index.js
418
+ - node_modules/govuk-frontend/govuk/common/normalise-dataset.js
414
419
  - node_modules/govuk-frontend/govuk/components/_all.scss
415
420
  - node_modules/govuk-frontend/govuk/components/accordion/_accordion.scss
416
421
  - node_modules/govuk-frontend/govuk/components/accordion/_index.scss
@@ -460,6 +465,8 @@ files:
460
465
  - node_modules/govuk-frontend/govuk/components/notification-banner/_index.scss
461
466
  - node_modules/govuk-frontend/govuk/components/notification-banner/_notification-banner.scss
462
467
  - node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js
468
+ - node_modules/govuk-frontend/govuk/components/pagination/_index.scss
469
+ - node_modules/govuk-frontend/govuk/components/pagination/_pagination.scss
463
470
  - node_modules/govuk-frontend/govuk/components/panel/_index.scss
464
471
  - node_modules/govuk-frontend/govuk/components/panel/_panel.scss
465
472
  - node_modules/govuk-frontend/govuk/components/phase-banner/_index.scss
@@ -504,6 +511,7 @@ files:
504
511
  - node_modules/govuk-frontend/govuk/helpers/_spacing.scss
505
512
  - node_modules/govuk-frontend/govuk/helpers/_typography.scss
506
513
  - node_modules/govuk-frontend/govuk/helpers/_visually-hidden.scss
514
+ - node_modules/govuk-frontend/govuk/i18n.js
507
515
  - node_modules/govuk-frontend/govuk/objects/_all.scss
508
516
  - node_modules/govuk-frontend/govuk/objects/_button-group.scss
509
517
  - node_modules/govuk-frontend/govuk/objects/_form-group.scss
@@ -532,6 +540,7 @@ files:
532
540
  - node_modules/govuk-frontend/govuk/settings/_typography-font-families.scss
533
541
  - node_modules/govuk-frontend/govuk/settings/_typography-font.scss
534
542
  - node_modules/govuk-frontend/govuk/settings/_typography-responsive.scss
543
+ - node_modules/govuk-frontend/govuk/settings/_warnings.scss
535
544
  - node_modules/govuk-frontend/govuk/tools/_all.scss
536
545
  - node_modules/govuk-frontend/govuk/tools/_compatibility.scss
537
546
  - node_modules/govuk-frontend/govuk/tools/_exports.scss
@@ -545,16 +554,19 @@ files:
545
554
  - node_modules/govuk-frontend/govuk/utilities/_visually-hidden.scss
546
555
  - node_modules/govuk-frontend/govuk/vendor/_sass-mq.scss
547
556
  - node_modules/govuk-frontend/govuk/vendor/polyfills/DOMTokenList.js
557
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
548
558
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Document.js
549
559
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Element.js
550
560
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/classList.js
551
561
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/closest.js
562
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/dataset.js
552
563
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/matches.js
553
564
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/nextElementSibling.js
554
565
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/previousElementSibling.js
555
566
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Event.js
556
567
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Function/prototype/bind.js
557
568
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Object/defineProperty.js
569
+ - node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js
558
570
  - node_modules/govuk-frontend/govuk/vendor/polyfills/Window.js
559
571
  - package-lock.json
560
572
  - package.json