@guardian/src-svgs
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -9,23 +9,65 @@ 'use strict'; | ||
var SvgAlert = function SvgAlert() { | ||
return React.createElement("svg", { | ||
viewBox: "0 0 30 30", | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, React.createElement("path", { | ||
fillRule: "evenodd", | ||
clipRule: "evenodd", | ||
d: "M14.41 5L4 22.057l.668.943h20.664l.668-.943L15.59 5h-1.18zm-.063 12.178h1.306l.621-6.917-.856-.728h-.835l-.857.728.62 6.917zM15 18.452c.7 0 1.274.573 1.274 1.274 0 .7-.573 1.274-1.274 1.274-.7 0-1.274-.573-1.274-1.274 0-.7.573-1.274 1.274-1.274z" | ||
})); | ||
}; | ||
var SvgArrowDownStraight = function SvgArrowDownStraight() { | ||
return React.createElement("svg", { | ||
viewBox: "0 0 30 30", | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, React.createElement("path", { | ||
fillRule: "evenodd", | ||
clipRule: "evenodd", | ||
d: "M13.95 4v19.125l-8.975-7.5L4 16.6l10.45 10.425h1L25.9 16.6l-.975-.975-8.975 7.5V4h-2z" | ||
})); | ||
}; | ||
var SvgArrowLeftStraight = function SvgArrowLeftStraight() { | ||
return React.createElement("svg", { | ||
viewBox: "0 0 30 30", | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, React.createElement("path", { | ||
fillRule: "evenodd", | ||
clipRule: "evenodd", | ||
d: "M6.9 13.95l7.5-8.975L13.425 4 3 14.45v1L13.425 25.9l.975-.975-7.5-8.975h19.125v-2H6.9z" | ||
})); | ||
}; | ||
var SvgArrowRightStraight = function SvgArrowRightStraight() { | ||
return React.createElement("svg", { | ||
className: "svg-arrow-right-straight", | ||
xmlns: "http://www.w3.org/2000/svg", | ||
viewBox: "0 0 20 17.89", | ||
preserveAspectRatio: "xMinYMid", | ||
"aria-hidden": "true", | ||
focusable: "false" | ||
viewBox: "0 0 30 30", | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, React.createElement("path", { | ||
d: "M20 9.35l-9.08 8.54-.86-.81 6.54-7.31H0V8.12h16.6L10.06.81l.86-.81L20 8.51v.84z" | ||
fillRule: "evenodd", | ||
clipRule: "evenodd", | ||
d: "M4 15.95h19.125l-7.5 8.975.975.975 10.425-10.45v-1L16.6 4l-.975.975 7.5 8.975H4v2z" | ||
})); | ||
}; | ||
var SvgArrowUpStraight = function SvgArrowUpStraight() { | ||
return React.createElement("svg", { | ||
viewBox: "0 0 30 30", | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, React.createElement("path", { | ||
fillRule: "evenodd", | ||
clipRule: "evenodd", | ||
d: "M15.95 26.025V6.9l8.975 7.5.975-.975L15.45 3h-1L4 13.425l.975.975 8.975-7.5v19.125h2z" | ||
})); | ||
}; | ||
var SvgCheckmark = function SvgCheckmark() { | ||
return React.createElement("svg", { | ||
className: "svg-checkmark", | ||
xmlns: "http://www.w3.org/2000/svg", | ||
viewBox: "0 0 18 14", | ||
preserveAspectRatio: "xMinYMid" | ||
viewBox: "0 0 30 30", | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, React.createElement("path", { | ||
d: "M1.36 6.9l-.86.888L4.798 14h.409L17.5.865 16.64 0 5.207 10.694z" | ||
fillRule: "evenodd", | ||
clipRule: "evenodd", | ||
d: "M6 14.775l-1 1 5 7h.475l14.3-14.8-1-.975-13.3 12.05L6 14.775z" | ||
})); | ||
@@ -36,14 +78,41 @@ }; | ||
return React.createElement("svg", { | ||
className: "svg-close", | ||
xmlns: "http://www.w3.org/2000/svg", | ||
viewBox: "-2 -2 38 38", | ||
preserveAspectRatio: "xMinYMid" | ||
viewBox: "0 0 30 30", | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, React.createElement("path", { | ||
d: "M16.525 19.87L30.865 33 33 30.87 19.9 16.5 33 2.13 30.866 0l-14.34 13.13L2.133.05 0 2.18 13.15 16.5 0 30.82l2.134 2.13", | ||
fillRule: "evenodd" | ||
fillRule: "evenodd", | ||
clipRule: "evenodd", | ||
d: "M15.325 17.025l7.225 6.625 1.075-1.075-6.6-7.25 6.6-7.25L22.55 7l-7.225 6.625-7.25-6.6L7 8.1l6.625 7.225L7 22.55l1.075 1.075 7.25-6.6z" | ||
})); | ||
}; | ||
var SvgMinus = function SvgMinus() { | ||
return React.createElement("svg", { | ||
viewBox: "0 0 30 30", | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, React.createElement("path", { | ||
fillRule: "evenodd", | ||
clipRule: "evenodd", | ||
d: "M4 14v2.5h22V14H4z" | ||
})); | ||
}; | ||
var SvgPlus = function SvgPlus() { | ||
return React.createElement("svg", { | ||
viewBox: "0 0 30 30", | ||
xmlns: "http://www.w3.org/2000/svg" | ||
}, React.createElement("path", { | ||
fillRule: "evenodd", | ||
clipRule: "evenodd", | ||
d: "M13.8 16.2l.425 9.8h1.525l.45-9.8 9.8-.45v-1.525l-9.8-.425-.45-9.8h-1.525l-.425 9.8-9.8.425v1.525l9.8.45z" | ||
})); | ||
}; | ||
exports.SvgAlert = SvgAlert; | ||
exports.SvgArrowDownStraight = SvgArrowDownStraight; | ||
exports.SvgArrowLeftStraight = SvgArrowLeftStraight; | ||
exports.SvgArrowRightStraight = SvgArrowRightStraight; | ||
exports.SvgArrowUpStraight = SvgArrowUpStraight; | ||
exports.SvgCheckmark = SvgCheckmark; | ||
exports.SvgClose = SvgClose; | ||
exports.SvgMinus = SvgMinus; | ||
exports.SvgPlus = SvgPlus; |
{ | ||
"name": "@guardian/src-svgs", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"main": "dist/index.js", | ||
@@ -21,5 +21,11 @@ "module": "dist/index.esm.js", | ||
"files": [ | ||
"alert.tsx", | ||
"arrow-down-straight.tsx", | ||
"arrow-left-straight.tsx", | ||
"arrow-right-straight.tsx", | ||
"arrow-up-straight.tsx", | ||
"checkmark.tsx", | ||
"close.tsx" | ||
"close.tsx", | ||
"minus.tsx", | ||
"plus.tsx" | ||
], | ||
@@ -26,0 +32,0 @@ "peerDependencies": { |
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
7282
11
191