govuk-frontend
Advanced tools
Comparing version 3.5.0 to 3.6.0
@@ -62,3 +62,3 @@ [ | ||
"required": false, | ||
"description": "Options for the errorMessage component (e.g. text).", | ||
"description": "Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.", | ||
"isComponent": true | ||
@@ -65,0 +65,0 @@ }, |
@@ -26,3 +26,3 @@ [ | ||
"required": false, | ||
"description": "Options for the errorMessage component (e.g. text).", | ||
"description": "Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.", | ||
"isComponent": true | ||
@@ -29,0 +29,0 @@ }, |
@@ -81,3 +81,3 @@ [ | ||
"required": false, | ||
"description": "Options for the error message.", | ||
"description": "Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.", | ||
"isComponent": true | ||
@@ -84,0 +84,0 @@ }, |
@@ -695,3 +695,3 @@ (function (global, factory) { | ||
// Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-service/1f3c09b402f65bf6e393f933a15ba63f1b86ef1f/packages/polyfill-library/polyfills/Element/prototype/closest/polyfill.js | ||
// Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-service/1f3c09b402f65bf6e393f933a15ba63f1b86ef1f/packages/polyfill-library/polyfills/Element/prototype/closest/polyfill.js | ||
Element.prototype.closest = function closest(selector) { | ||
@@ -698,0 +698,0 @@ var node = this; |
@@ -44,3 +44,3 @@ [ | ||
"required": false, | ||
"description": "Options for the errorMessage component.", | ||
"description": "Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.", | ||
"isComponent": true | ||
@@ -47,0 +47,0 @@ }, |
@@ -56,3 +56,3 @@ [ | ||
"required": false, | ||
"description": "Options for the errorMessage component.", | ||
"description": "Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.", | ||
"isComponent": true | ||
@@ -59,0 +59,0 @@ }, |
@@ -20,3 +20,3 @@ [ | ||
"required": false, | ||
"description": "Options for the errorMessage component (e.g. text).", | ||
"description": "Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.", | ||
"isComponent": true | ||
@@ -23,0 +23,0 @@ }, |
@@ -76,3 +76,3 @@ [ | ||
"required": false, | ||
"description": "Options for the errorMessage component (e.g. text).", | ||
"description": "Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.", | ||
"isComponent": true | ||
@@ -79,0 +79,0 @@ }, |
@@ -17,4 +17,4 @@ [ | ||
"type": "string", | ||
"required": true, | ||
"description": "The value of the skip link href attribute. Defaults to" | ||
"required": false, | ||
"description": "The value of the skip link’s `href` attribute. Defaults to `#content` if you do not provide a value." | ||
}, | ||
@@ -21,0 +21,0 @@ { |
@@ -749,5 +749,5 @@ (function (global, factory) { | ||
// Detection from https://github.com/Financial-Times/polyfill-service/pull/1062/files#diff-b09a5d2acf3314b46a6c8f8d0c31b85c | ||
// Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/nextElementSibling/detect.js | ||
var detect = ( | ||
'Element' in this && "nextElementSibling" in document.documentElement | ||
'document' in this && "nextElementSibling" in document.documentElement | ||
); | ||
@@ -757,17 +757,11 @@ | ||
// Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/nextElementSibling/polyfill.js | ||
Object.defineProperty(Element.prototype, "nextElementSibling", { | ||
get: function(){ | ||
var el = this.nextSibling; | ||
while (el && el.nodeType !== 1) { el = el.nextSibling; } | ||
return el; | ||
} | ||
}); | ||
(function (global) { | ||
// There is no polyfill in polyfill-library (https://github.com/Financial-Times/polyfill-library/issues/338) | ||
// So we source this from https://github.com/Alhadis/Snippets/blob/e09b4dfb7ffc9e250bc28319051e39ead3e5f70a/js/polyfills/IE8-child-elements.js#L28-L33 | ||
Object.defineProperty(Element.prototype, "nextElementSibling", { | ||
get: function(){ | ||
var el = this.nextSibling; | ||
while (el && el.nodeType !== 1) { el = el.nextSibling; } | ||
return el; | ||
} | ||
}); | ||
}(this)); | ||
}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {}); | ||
@@ -777,5 +771,5 @@ | ||
// Detection from https://github.com/Financial-Times/polyfill-service/pull/1062/files#diff-a162235fbc9c0dd40d4032265f44942e | ||
// Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/previousElementSibling/detect.js | ||
var detect = ( | ||
'Element' in this && 'previousElementSibling' in document.documentElement | ||
'document' in this && "previousElementSibling" in document.documentElement | ||
); | ||
@@ -785,15 +779,11 @@ | ||
(function (global) { | ||
// There is no polyfill in polyfill-library (https://github.com/Financial-Times/polyfill-library/issues/338) | ||
// So we source this from https://github.com/Alhadis/Snippets/blob/e09b4dfb7ffc9e250bc28319051e39ead3e5f70a/js/polyfills/IE8-child-elements.js#L35-L40 | ||
Object.defineProperty(Element.prototype, 'previousElementSibling', { | ||
get: function(){ | ||
var el = this.previousSibling; | ||
while (el && el.nodeType !== 1) { el = el.previousSibling; } | ||
return el; | ||
} | ||
}); | ||
// Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/previousElementSibling/polyfill.js | ||
Object.defineProperty(Element.prototype, 'previousElementSibling', { | ||
get: function(){ | ||
var el = this.previousSibling; | ||
while (el && el.nodeType !== 1) { el = el.previousSibling; } | ||
return el; | ||
} | ||
}); | ||
}(this)); | ||
}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {}); | ||
@@ -800,0 +790,0 @@ |
@@ -50,3 +50,3 @@ [ | ||
"required": false, | ||
"description": "Options for the errorMessage component (e.g. text).", | ||
"description": "Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.", | ||
"isComponent": true | ||
@@ -53,0 +53,0 @@ }, |
@@ -40,3 +40,3 @@ (function (global, factory) { | ||
// Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-service/1f3c09b402f65bf6e393f933a15ba63f1b86ef1f/packages/polyfill-library/polyfills/Element/prototype/closest/polyfill.js | ||
// Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-service/1f3c09b402f65bf6e393f933a15ba63f1b86ef1f/packages/polyfill-library/polyfills/Element/prototype/closest/polyfill.js | ||
Element.prototype.closest = function closest(selector) { | ||
@@ -43,0 +43,0 @@ var node = this; |
@@ -236,5 +236,5 @@ (function (global, factory) { | ||
// Detection from https://github.com/Financial-Times/polyfill-service/pull/1062/files#diff-b09a5d2acf3314b46a6c8f8d0c31b85c | ||
// Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/nextElementSibling/detect.js | ||
var detect = ( | ||
'Element' in this && "nextElementSibling" in document.documentElement | ||
'document' in this && "nextElementSibling" in document.documentElement | ||
); | ||
@@ -244,19 +244,13 @@ | ||
// Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/nextElementSibling/polyfill.js | ||
Object.defineProperty(Element.prototype, "nextElementSibling", { | ||
get: function(){ | ||
var el = this.nextSibling; | ||
while (el && el.nodeType !== 1) { el = el.nextSibling; } | ||
return el; | ||
} | ||
}); | ||
(function (global) { | ||
// There is no polyfill in polyfill-library (https://github.com/Financial-Times/polyfill-library/issues/338) | ||
// So we source this from https://github.com/Alhadis/Snippets/blob/e09b4dfb7ffc9e250bc28319051e39ead3e5f70a/js/polyfills/IE8-child-elements.js#L28-L33 | ||
Object.defineProperty(Element.prototype, "nextElementSibling", { | ||
get: function(){ | ||
var el = this.nextSibling; | ||
while (el && el.nodeType !== 1) { el = el.nextSibling; } | ||
return el; | ||
} | ||
}); | ||
}(this)); | ||
}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {}); | ||
}))); |
@@ -236,5 +236,5 @@ (function (global, factory) { | ||
// Detection from https://github.com/Financial-Times/polyfill-service/pull/1062/files#diff-a162235fbc9c0dd40d4032265f44942e | ||
// Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/previousElementSibling/detect.js | ||
var detect = ( | ||
'Element' in this && 'previousElementSibling' in document.documentElement | ||
'document' in this && "previousElementSibling" in document.documentElement | ||
); | ||
@@ -244,17 +244,13 @@ | ||
(function (global) { | ||
// There is no polyfill in polyfill-library (https://github.com/Financial-Times/polyfill-library/issues/338) | ||
// So we source this from https://github.com/Alhadis/Snippets/blob/e09b4dfb7ffc9e250bc28319051e39ead3e5f70a/js/polyfills/IE8-child-elements.js#L35-L40 | ||
Object.defineProperty(Element.prototype, 'previousElementSibling', { | ||
get: function(){ | ||
var el = this.previousSibling; | ||
while (el && el.nodeType !== 1) { el = el.previousSibling; } | ||
return el; | ||
} | ||
}); | ||
// Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/previousElementSibling/polyfill.js | ||
Object.defineProperty(Element.prototype, 'previousElementSibling', { | ||
get: function(){ | ||
var el = this.previousSibling; | ||
while (el && el.nodeType !== 1) { el = el.previousSibling; } | ||
return el; | ||
} | ||
}); | ||
}(this)); | ||
}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {}); | ||
}))); |
{ | ||
"name": "govuk-frontend", | ||
"description": "GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.", | ||
"version": "3.5.0", | ||
"version": "3.6.0", | ||
"main": "govuk/all.js", | ||
@@ -6,0 +6,0 @@ "sass": "govuk/all.scss", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1028962
1
13451