@govuk-react/icons
Advanced tools
Comparing version 0.10.3 to 0.10.4
@@ -84,2 +84,8 @@ 'use strict'; | ||
var _excluded$6 = ["children", "title"]; | ||
var StyledSvg = styled__default["default"]('svg').withConfig({ | ||
displayName: "SVGBase__StyledSvg", | ||
componentId: "sc-16k4s64-0" | ||
})({ | ||
display: 'block' | ||
}); | ||
@@ -91,8 +97,5 @@ var SVG = function SVG(_ref) { | ||
return /*#__PURE__*/React__namespace["default"].createElement("svg", _extends({ | ||
return /*#__PURE__*/React__namespace["default"].createElement(StyledSvg, _extends({ | ||
version: "1.1", | ||
height: "100%", | ||
style: { | ||
display: 'block' | ||
} | ||
height: "100%" | ||
}, rest), /*#__PURE__*/React__namespace["default"].createElement("title", null, title), children); | ||
@@ -200,3 +203,5 @@ }; | ||
componentId: "sc-1f5b0zr-0" | ||
})(["animation:", " 1s infinite linear;"], fadeInOut); | ||
})(["animation:", " 1s infinite linear;animation-delay:", "ms;"], fadeInOut, function (props) { | ||
return props.animationDelay * 83; | ||
}); | ||
@@ -222,5 +227,3 @@ var Spinner = function Spinner(_ref) { | ||
ry: "2.5", | ||
style: { | ||
animationDelay: "".concat(i * 83, "ms") | ||
}, | ||
animationDelay: i, | ||
transform: "rotate(".concat(i * 30, ", 0, 2) translate(10 0)"), | ||
@@ -227,0 +230,0 @@ opacity: "0" |
@@ -84,2 +84,8 @@ 'use strict'; | ||
var _excluded$6 = ["children", "title"]; | ||
var StyledSvg = styled__default["default"]('svg').withConfig({ | ||
displayName: "SVGBase__StyledSvg", | ||
componentId: "sc-16k4s64-0" | ||
})({ | ||
display: 'block' | ||
}); | ||
@@ -91,8 +97,5 @@ var SVG = function SVG(_ref) { | ||
return /*#__PURE__*/React__namespace["default"].createElement("svg", _extends({ | ||
return /*#__PURE__*/React__namespace["default"].createElement(StyledSvg, _extends({ | ||
version: "1.1", | ||
height: "100%", | ||
style: { | ||
display: 'block' | ||
} | ||
height: "100%" | ||
}, rest), /*#__PURE__*/React__namespace["default"].createElement("title", null, title), children); | ||
@@ -200,3 +203,5 @@ }; | ||
componentId: "sc-1f5b0zr-0" | ||
})(["animation:", " 1s infinite linear;"], fadeInOut); | ||
})(["animation:", " 1s infinite linear;animation-delay:", "ms;"], fadeInOut, function (props) { | ||
return props.animationDelay * 83; | ||
}); | ||
@@ -222,5 +227,3 @@ var Spinner = function Spinner(_ref) { | ||
ry: "2.5", | ||
style: { | ||
animationDelay: "".concat(i * 83, "ms") | ||
}, | ||
animationDelay: i, | ||
transform: "rotate(".concat(i * 30, ", 0, 2) translate(10 0)"), | ||
@@ -227,0 +230,0 @@ opacity: "0" |
@@ -58,2 +58,8 @@ import * as React from 'react'; | ||
var _excluded$6 = ["children", "title"]; | ||
var StyledSvg = styled('svg').withConfig({ | ||
displayName: "SVGBase__StyledSvg", | ||
componentId: "sc-16k4s64-0" | ||
})({ | ||
display: 'block' | ||
}); | ||
@@ -65,8 +71,5 @@ var SVG = function SVG(_ref) { | ||
return /*#__PURE__*/React__default.createElement("svg", _extends({ | ||
return /*#__PURE__*/React__default.createElement(StyledSvg, _extends({ | ||
version: "1.1", | ||
height: "100%", | ||
style: { | ||
display: 'block' | ||
} | ||
height: "100%" | ||
}, rest), /*#__PURE__*/React__default.createElement("title", null, title), children); | ||
@@ -174,3 +177,5 @@ }; | ||
componentId: "sc-1f5b0zr-0" | ||
})(["animation:", " 1s infinite linear;"], fadeInOut); | ||
})(["animation:", " 1s infinite linear;animation-delay:", "ms;"], fadeInOut, function (props) { | ||
return props.animationDelay * 83; | ||
}); | ||
@@ -196,5 +201,3 @@ var Spinner = function Spinner(_ref) { | ||
ry: "2.5", | ||
style: { | ||
animationDelay: "".concat(i * 83, "ms") | ||
}, | ||
animationDelay: i, | ||
transform: "rotate(".concat(i * 30, ", 0, 2) translate(10 0)"), | ||
@@ -201,0 +204,0 @@ opacity: "0" |
{ | ||
"name": "@govuk-react/icons", | ||
"version": "0.10.3", | ||
"version": "0.10.4", | ||
"dependencies": { | ||
"@govuk-react/constants": "^0.10.3", | ||
"@govuk-react/constants": "^0.10.4", | ||
"govuk-colours": "^1.1.0" | ||
@@ -7,0 +7,0 @@ }, |
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
53673
1130