@govuk-react/icons
Advanced tools
Comparing version 0.1.22 to 0.1.23
@@ -45,15 +45,18 @@ 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); } | ||
}, rest), Array(12).fill(1).map(function (el, i) { | ||
return React.createElement(Rect, { | ||
fill: fill, | ||
width: "12", | ||
height: "5", | ||
rx: "2.5", | ||
ry: "2.5", | ||
style: { | ||
animationDelay: i * 83 + "ms" | ||
}, | ||
transform: "rotate(" + i * 30 + ", 0, 2) translate(10 0)", | ||
opacity: "0", | ||
key: i | ||
}); | ||
return ( | ||
/* eslint-disable-next-line react/no-array-index-key */ | ||
React.createElement(Rect, { | ||
fill: fill, | ||
width: "12", | ||
height: "5", | ||
rx: "2.5", | ||
ry: "2.5", | ||
style: { | ||
animationDelay: i * 83 + "ms" | ||
}, | ||
transform: "rotate(" + i * 30 + ", 0, 2) translate(10 0)", | ||
opacity: "0", | ||
key: i | ||
}) | ||
); | ||
})); | ||
@@ -60,0 +63,0 @@ }; |
@@ -57,15 +57,18 @@ "use strict"; | ||
}, rest), Array(12).fill(1).map(function (el, i) { | ||
return _react.default.createElement(Rect, { | ||
fill: fill, | ||
width: "12", | ||
height: "5", | ||
rx: "2.5", | ||
ry: "2.5", | ||
style: { | ||
animationDelay: i * 83 + "ms" | ||
}, | ||
transform: "rotate(" + i * 30 + ", 0, 2) translate(10 0)", | ||
opacity: "0", | ||
key: i | ||
}); | ||
return ( | ||
/* eslint-disable-next-line react/no-array-index-key */ | ||
_react.default.createElement(Rect, { | ||
fill: fill, | ||
width: "12", | ||
height: "5", | ||
rx: "2.5", | ||
ry: "2.5", | ||
style: { | ||
animationDelay: i * 83 + "ms" | ||
}, | ||
transform: "rotate(" + i * 30 + ", 0, 2) translate(10 0)", | ||
opacity: "0", | ||
key: i | ||
}) | ||
); | ||
})); | ||
@@ -72,0 +75,0 @@ }; |
{ | ||
"name": "@govuk-react/icons", | ||
"version": "0.1.22", | ||
"version": "0.1.23", | ||
"dependencies": { | ||
"@govuk-react/constants": "^0.1.21", | ||
"glamor": "^2.20.40", | ||
"govuk-colours": "^1.0.3" | ||
@@ -15,2 +16,3 @@ }, | ||
"@babel/cli": "^7.0.0-beta.40", | ||
"@govuk-react/button": "^0.1.23", | ||
"@storybook/addon-actions": "^3.3.14", | ||
@@ -17,0 +19,0 @@ "@storybook/react": "^3.3.14", |
@@ -25,2 +25,3 @@ // https://govuk-loader-prototype.herokuapp.com/components/loader | ||
{Array(12).fill(1).map((el, i) => | ||
/* eslint-disable-next-line react/no-array-index-key */ | ||
<Rect fill={fill} width="12" height="5" rx="2.5" ry="2.5" style={{ animationDelay: `${i * 83}ms` }} transform={`rotate(${i * 30}, 0, 2) translate(10 0)`} opacity="0" key={i} />)} | ||
@@ -27,0 +28,0 @@ </SVG> |
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
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
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
96523
1011
6
8
+ Addedglamor@^2.20.40