@govuk-react/icons
Advanced tools
Comparing version 0.2.7 to 0.3.0
@@ -23,6 +23,2 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
ArrowLeft.propTypes = process.env.NODE_ENV !== "production" ? { | ||
title: PropTypes.string, | ||
fill: PropTypes.string | ||
} : {}; | ||
ArrowLeft.defaultProps = { | ||
@@ -29,0 +25,0 @@ title: 'arrow left', |
@@ -23,6 +23,2 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
ArrowRight.propTypes = process.env.NODE_ENV !== "production" ? { | ||
title: PropTypes.string, | ||
fill: PropTypes.string | ||
} : {}; | ||
ArrowRight.defaultProps = { | ||
@@ -29,0 +25,0 @@ title: 'arrow right', |
@@ -26,6 +26,2 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
ButtonArrow.propTypes = process.env.NODE_ENV !== "production" ? { | ||
title: PropTypes.string, | ||
fill: PropTypes.string | ||
} : {}; | ||
ButtonArrow.defaultProps = { | ||
@@ -32,0 +28,0 @@ title: 'ButtonArrow', |
@@ -26,6 +26,2 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
IconImportant.propTypes = process.env.NODE_ENV !== "production" ? { | ||
title: PropTypes.string, | ||
fill: PropTypes.string | ||
} : {}; | ||
IconImportant.defaultProps = { | ||
@@ -32,0 +28,0 @@ title: 'icon important', |
@@ -23,6 +23,2 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
Search.propTypes = process.env.NODE_ENV !== "production" ? { | ||
title: PropTypes.string, | ||
fill: PropTypes.string | ||
} : {}; | ||
Search.defaultProps = { | ||
@@ -29,0 +25,0 @@ title: 'Search', |
@@ -13,3 +13,5 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
var animationStyles = function animationStyles() { | ||
var fadeInOut = keyframes({ | ||
var fadeInOut = | ||
/*#__PURE__*/ | ||
keyframes({ | ||
'0%': { | ||
@@ -27,3 +29,3 @@ opacity: '0.250075' | ||
} | ||
}); | ||
}, "label:fadeInOut;"); | ||
return { | ||
@@ -34,3 +36,8 @@ animation: fadeInOut + " 1s infinite linear" | ||
var Rect = styled('rect')(animationStyles); | ||
var Rect = | ||
/*#__PURE__*/ | ||
styled('rect', { | ||
target: "e1yjro7u0", | ||
label: "Rect" | ||
})(animationStyles); | ||
@@ -69,7 +76,2 @@ var Spinner = function Spinner(_ref) { | ||
Spinner.propTypes = process.env.NODE_ENV !== "production" ? { | ||
className: PropTypes.string, | ||
title: PropTypes.string, | ||
fill: PropTypes.string | ||
} : {}; | ||
Spinner.defaultProps = { | ||
@@ -76,0 +78,0 @@ className: 'icon-spinner', |
@@ -25,7 +25,2 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
SVG.propTypes = process.env.NODE_ENV !== "production" ? { | ||
children: PropTypes.node, | ||
title: PropTypes.string, | ||
fill: PropTypes.string | ||
} : {}; | ||
SVG.defaultProps = { | ||
@@ -32,0 +27,0 @@ children: undefined, |
@@ -32,6 +32,2 @@ "use strict"; | ||
ArrowLeft.propTypes = process.env.NODE_ENV !== "production" ? { | ||
title: _propTypes.default.string, | ||
fill: _propTypes.default.string | ||
} : {}; | ||
ArrowLeft.defaultProps = { | ||
@@ -38,0 +34,0 @@ title: 'arrow left', |
@@ -32,6 +32,2 @@ "use strict"; | ||
ArrowRight.propTypes = process.env.NODE_ENV !== "production" ? { | ||
title: _propTypes.default.string, | ||
fill: _propTypes.default.string | ||
} : {}; | ||
ArrowRight.defaultProps = { | ||
@@ -38,0 +34,0 @@ title: 'arrow right', |
@@ -35,6 +35,2 @@ "use strict"; | ||
ButtonArrow.propTypes = process.env.NODE_ENV !== "production" ? { | ||
title: _propTypes.default.string, | ||
fill: _propTypes.default.string | ||
} : {}; | ||
ButtonArrow.defaultProps = { | ||
@@ -41,0 +37,0 @@ title: 'ButtonArrow', |
@@ -35,6 +35,2 @@ "use strict"; | ||
IconImportant.propTypes = process.env.NODE_ENV !== "production" ? { | ||
title: _propTypes.default.string, | ||
fill: _propTypes.default.string | ||
} : {}; | ||
IconImportant.defaultProps = { | ||
@@ -41,0 +37,0 @@ title: 'icon important', |
@@ -32,6 +32,2 @@ "use strict"; | ||
Search.propTypes = process.env.NODE_ENV !== "production" ? { | ||
title: _propTypes.default.string, | ||
fill: _propTypes.default.string | ||
} : {}; | ||
Search.defaultProps = { | ||
@@ -38,0 +34,0 @@ title: 'Search', |
@@ -23,3 +23,5 @@ "use strict"; | ||
var animationStyles = function animationStyles() { | ||
var fadeInOut = (0, _emotion.keyframes)({ | ||
var fadeInOut = | ||
/*#__PURE__*/ | ||
(0, _emotion.keyframes)({ | ||
'0%': { | ||
@@ -37,3 +39,3 @@ opacity: '0.250075' | ||
} | ||
}); | ||
}, "label:fadeInOut;"); | ||
return { | ||
@@ -44,3 +46,8 @@ animation: fadeInOut + " 1s infinite linear" | ||
var Rect = (0, _reactEmotion.default)('rect')(animationStyles); | ||
var Rect = | ||
/*#__PURE__*/ | ||
(0, _reactEmotion.default)('rect', { | ||
target: "e1yjro7u0", | ||
label: "Rect" | ||
})(animationStyles); | ||
@@ -79,7 +86,2 @@ var Spinner = function Spinner(_ref) { | ||
Spinner.propTypes = process.env.NODE_ENV !== "production" ? { | ||
className: _propTypes.default.string, | ||
title: _propTypes.default.string, | ||
fill: _propTypes.default.string | ||
} : {}; | ||
Spinner.defaultProps = { | ||
@@ -86,0 +88,0 @@ className: 'icon-spinner', |
@@ -33,7 +33,2 @@ "use strict"; | ||
SVG.propTypes = process.env.NODE_ENV !== "production" ? { | ||
children: _propTypes.default.node, | ||
title: _propTypes.default.string, | ||
fill: _propTypes.default.string | ||
} : {}; | ||
SVG.defaultProps = { | ||
@@ -40,0 +35,0 @@ children: undefined, |
{ | ||
"name": "@govuk-react/icons", | ||
"version": "0.2.7", | ||
"version": "0.3.0", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "@govuk-react/constants": "^0.2.7", |
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
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
1
136450
1445