@govuk-react/icons
Advanced tools
Comparing version 0.10.6 to 0.10.7
export * from "./declarations/src/index"; | ||
//# sourceMappingURL=govuk-react-icons.cjs.d.ts.map | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ292dWstcmVhY3QtaWNvbnMuY2pzLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuL2RlY2xhcmF0aW9ucy9zcmMvaW5kZXguZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSJ9 |
@@ -57,2 +57,4 @@ 'use strict'; | ||
title, | ||
fill = 'currentColor', | ||
width = '100%', | ||
...rest | ||
@@ -62,16 +64,12 @@ } = _ref; | ||
version: "1.1", | ||
height: "100%" | ||
height: "100%", | ||
fill: fill, | ||
width: width | ||
}, rest), /*#__PURE__*/React__namespace["default"].createElement("title", null, title), children); | ||
}; | ||
SVG.defaultProps = { | ||
children: undefined, | ||
title: undefined, | ||
fill: 'currentColor', | ||
width: '100%' | ||
}; | ||
const ArrowLeft = _ref => { | ||
let { | ||
fill, | ||
title, | ||
fill = 'currentColor', | ||
title = 'arrow left', | ||
...rest | ||
@@ -87,11 +85,7 @@ } = _ref; | ||
}; | ||
ArrowLeft.defaultProps = { | ||
title: 'arrow left', | ||
fill: 'currentColor' | ||
}; | ||
const ArrowRight = _ref => { | ||
let { | ||
fill, | ||
title, | ||
fill = 'currentColor', | ||
title = 'arrow right', | ||
...rest | ||
@@ -107,11 +101,7 @@ } = _ref; | ||
}; | ||
ArrowRight.defaultProps = { | ||
title: 'arrow right', | ||
fill: 'currentColor' | ||
}; | ||
const IconImportant = _ref => { | ||
let { | ||
fill, | ||
title, | ||
fill = 'currentColor', | ||
title = 'icon important', | ||
...rest | ||
@@ -130,11 +120,7 @@ } = _ref; | ||
}; | ||
IconImportant.defaultProps = { | ||
title: 'icon important', | ||
fill: 'currentColor' | ||
}; | ||
const Search = _ref => { | ||
let { | ||
fill, | ||
title, | ||
fill = 'currentColor', | ||
title = 'Search', | ||
...rest | ||
@@ -150,6 +136,2 @@ } = _ref; | ||
}; | ||
Search.defaultProps = { | ||
title: 'Search', | ||
fill: 'currentColor' | ||
}; | ||
@@ -163,5 +145,5 @@ const fadeInOut = styled.keyframes(["0%{opacity:0.250075;}0.01%{opacity:0.25;}0.03%{opacity:1;}100%{opacity:0.250075;}"]); | ||
let { | ||
className, | ||
fill, | ||
title, | ||
className = 'icon-spinner', | ||
fill = 'currentColor', | ||
title = 'Loading', | ||
...rest | ||
@@ -188,12 +170,7 @@ } = _ref; | ||
}; | ||
Spinner.defaultProps = { | ||
className: 'icon-spinner', | ||
title: 'Loading', | ||
fill: 'currentColor' | ||
}; | ||
const ButtonArrow = _ref => { | ||
let { | ||
fill, | ||
title, | ||
fill = 'currentColor', | ||
title = 'ButtonArrow', | ||
...rest | ||
@@ -212,6 +189,2 @@ } = _ref; | ||
}; | ||
ButtonArrow.defaultProps = { | ||
title: 'ButtonArrow', | ||
fill: 'currentColor' | ||
}; | ||
@@ -218,0 +191,0 @@ exports.ArrowLeft = ArrowLeft; |
@@ -57,2 +57,4 @@ 'use strict'; | ||
title, | ||
fill = 'currentColor', | ||
width = '100%', | ||
...rest | ||
@@ -62,16 +64,12 @@ } = _ref; | ||
version: "1.1", | ||
height: "100%" | ||
height: "100%", | ||
fill: fill, | ||
width: width | ||
}, rest), /*#__PURE__*/React__namespace["default"].createElement("title", null, title), children); | ||
}; | ||
SVG.defaultProps = { | ||
children: undefined, | ||
title: undefined, | ||
fill: 'currentColor', | ||
width: '100%' | ||
}; | ||
const ArrowLeft = _ref => { | ||
let { | ||
fill, | ||
title, | ||
fill = 'currentColor', | ||
title = 'arrow left', | ||
...rest | ||
@@ -87,11 +85,7 @@ } = _ref; | ||
}; | ||
ArrowLeft.defaultProps = { | ||
title: 'arrow left', | ||
fill: 'currentColor' | ||
}; | ||
const ArrowRight = _ref => { | ||
let { | ||
fill, | ||
title, | ||
fill = 'currentColor', | ||
title = 'arrow right', | ||
...rest | ||
@@ -107,11 +101,7 @@ } = _ref; | ||
}; | ||
ArrowRight.defaultProps = { | ||
title: 'arrow right', | ||
fill: 'currentColor' | ||
}; | ||
const IconImportant = _ref => { | ||
let { | ||
fill, | ||
title, | ||
fill = 'currentColor', | ||
title = 'icon important', | ||
...rest | ||
@@ -130,11 +120,7 @@ } = _ref; | ||
}; | ||
IconImportant.defaultProps = { | ||
title: 'icon important', | ||
fill: 'currentColor' | ||
}; | ||
const Search = _ref => { | ||
let { | ||
fill, | ||
title, | ||
fill = 'currentColor', | ||
title = 'Search', | ||
...rest | ||
@@ -150,6 +136,2 @@ } = _ref; | ||
}; | ||
Search.defaultProps = { | ||
title: 'Search', | ||
fill: 'currentColor' | ||
}; | ||
@@ -163,5 +145,5 @@ const fadeInOut = styled.keyframes(["0%{opacity:0.250075;}0.01%{opacity:0.25;}0.03%{opacity:1;}100%{opacity:0.250075;}"]); | ||
let { | ||
className, | ||
fill, | ||
title, | ||
className = 'icon-spinner', | ||
fill = 'currentColor', | ||
title = 'Loading', | ||
...rest | ||
@@ -188,12 +170,7 @@ } = _ref; | ||
}; | ||
Spinner.defaultProps = { | ||
className: 'icon-spinner', | ||
title: 'Loading', | ||
fill: 'currentColor' | ||
}; | ||
const ButtonArrow = _ref => { | ||
let { | ||
fill, | ||
title, | ||
fill = 'currentColor', | ||
title = 'ButtonArrow', | ||
...rest | ||
@@ -212,6 +189,2 @@ } = _ref; | ||
}; | ||
ButtonArrow.defaultProps = { | ||
title: 'ButtonArrow', | ||
fill: 'currentColor' | ||
}; | ||
@@ -218,0 +191,0 @@ exports.ArrowLeft = ArrowLeft; |
@@ -31,2 +31,4 @@ import * as React from 'react'; | ||
title, | ||
fill = 'currentColor', | ||
width = '100%', | ||
...rest | ||
@@ -36,16 +38,12 @@ } = _ref; | ||
version: "1.1", | ||
height: "100%" | ||
height: "100%", | ||
fill: fill, | ||
width: width | ||
}, rest), /*#__PURE__*/React__default.createElement("title", null, title), children); | ||
}; | ||
SVG.defaultProps = { | ||
children: undefined, | ||
title: undefined, | ||
fill: 'currentColor', | ||
width: '100%' | ||
}; | ||
const ArrowLeft = _ref => { | ||
let { | ||
fill, | ||
title, | ||
fill = 'currentColor', | ||
title = 'arrow left', | ||
...rest | ||
@@ -61,11 +59,7 @@ } = _ref; | ||
}; | ||
ArrowLeft.defaultProps = { | ||
title: 'arrow left', | ||
fill: 'currentColor' | ||
}; | ||
const ArrowRight = _ref => { | ||
let { | ||
fill, | ||
title, | ||
fill = 'currentColor', | ||
title = 'arrow right', | ||
...rest | ||
@@ -81,11 +75,7 @@ } = _ref; | ||
}; | ||
ArrowRight.defaultProps = { | ||
title: 'arrow right', | ||
fill: 'currentColor' | ||
}; | ||
const IconImportant = _ref => { | ||
let { | ||
fill, | ||
title, | ||
fill = 'currentColor', | ||
title = 'icon important', | ||
...rest | ||
@@ -104,11 +94,7 @@ } = _ref; | ||
}; | ||
IconImportant.defaultProps = { | ||
title: 'icon important', | ||
fill: 'currentColor' | ||
}; | ||
const Search = _ref => { | ||
let { | ||
fill, | ||
title, | ||
fill = 'currentColor', | ||
title = 'Search', | ||
...rest | ||
@@ -124,6 +110,2 @@ } = _ref; | ||
}; | ||
Search.defaultProps = { | ||
title: 'Search', | ||
fill: 'currentColor' | ||
}; | ||
@@ -137,5 +119,5 @@ const fadeInOut = keyframes(["0%{opacity:0.250075;}0.01%{opacity:0.25;}0.03%{opacity:1;}100%{opacity:0.250075;}"]); | ||
let { | ||
className, | ||
fill, | ||
title, | ||
className = 'icon-spinner', | ||
fill = 'currentColor', | ||
title = 'Loading', | ||
...rest | ||
@@ -162,12 +144,7 @@ } = _ref; | ||
}; | ||
Spinner.defaultProps = { | ||
className: 'icon-spinner', | ||
title: 'Loading', | ||
fill: 'currentColor' | ||
}; | ||
const ButtonArrow = _ref => { | ||
let { | ||
fill, | ||
title, | ||
fill = 'currentColor', | ||
title = 'ButtonArrow', | ||
...rest | ||
@@ -186,7 +163,3 @@ } = _ref; | ||
}; | ||
ButtonArrow.defaultProps = { | ||
title: 'ButtonArrow', | ||
fill: 'currentColor' | ||
}; | ||
export { ArrowLeft, ArrowRight, ButtonArrow, IconImportant, SVG as SVGBase, Search, Spinner }; |
{ | ||
"name": "@govuk-react/icons", | ||
"version": "0.10.6", | ||
"version": "0.10.7", | ||
"dependencies": { | ||
"@govuk-react/constants": "^0.10.6", | ||
"@govuk-react/constants": "^0.10.7", | ||
"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
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
28725
29
845