@readr-media/react-election-widgets
Version:
77 lines (70 loc) • 4.26 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.AnonymousIcon = AnonymousIcon;
exports.CloseIcon = CloseIcon;
exports.ElectedIcon = ElectedIcon;
var _react = _interopRequireDefault(require("react"));
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// eslint-disable-line
function CloseIcon() {
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
width: "16",
height: "17",
viewBox: "0 0 16 17",
fill: "none",
xmlns: "http://www.w3.org/2000/svg",
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M0.441406 16.5078C0.871094 16.9277 1.57422 16.9277 1.98438 16.5176L7.99023 10.5117L13.9961 16.5176C14.416 16.9277 15.1191 16.9375 15.5391 16.5078C15.959 16.0879 15.959 15.3848 15.5488 14.9746L9.54297 8.95898L15.5488 2.95312C15.959 2.54297 15.9688 1.83008 15.5391 1.41992C15.1094 1 14.416 1 13.9961 1.41016L7.99023 7.41602L1.98438 1.41016C1.57422 1 0.861328 0.990234 0.441406 1.41016C0.0214844 1.83984 0.03125 2.55273 0.441406 2.95312L6.44727 8.95898L0.441406 14.9746C0.03125 15.375 0.0214844 16.0977 0.441406 16.5078Z",
fill: "#0F2D35"
})
});
}
function ElectedIcon() {
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
width: "20",
height: "20",
viewBox: "0 0 20 20",
fill: "none",
xmlns: "http://www.w3.org/2000/svg",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M16.364 3.63604L17.0711 2.92893L16.364 3.63604C17.1997 4.47177 17.8626 5.46392 18.3149 6.55585C18.7672 7.64778 19 8.8181 19 10C19 11.1819 18.7672 12.3522 18.3149 13.4441C17.8626 14.5361 17.1997 15.5282 16.364 16.364C15.5282 17.1997 14.5361 17.8626 13.4442 18.3149C12.3522 18.7672 11.1819 19 10 19C8.8181 19 7.64778 18.7672 6.55585 18.3149C5.46392 17.8626 4.47177 17.1997 3.63604 16.364L2.92893 17.0711L3.63604 16.364C2.80031 15.5282 2.13738 14.5361 1.68509 13.4441C1.23279 12.3522 1 11.1819 1 10C1 8.8181 1.23279 7.64778 1.68509 6.55585C2.13738 5.46392 2.80031 4.47177 3.63604 3.63604C4.47177 2.80031 5.46392 2.13738 6.55585 1.68508C7.64778 1.23279 8.8181 1 10 1C11.1819 1 12.3522 1.23279 13.4442 1.68508C14.5361 2.13738 15.5282 2.80031 16.364 3.63604Z",
stroke: "#DB4C65",
strokeWidth: "2"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("line", {
x1: "10",
y1: "1",
x2: "10",
y2: "19",
stroke: "#DB4C65",
strokeWidth: "2"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("line", {
x1: "10.3638",
y1: "9.83658",
x2: "3.04776",
y2: "14.6275",
stroke: "#DB4C65",
strokeWidth: "2"
})]
});
}
function AnonymousIcon() {
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
width: "32",
height: "32",
viewBox: "0 0 32 32",
fill: "none",
xmlns: "http://www.w3.org/2000/svg",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "16",
cy: "16",
r: "16",
fill: "#838383"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M9.50586 24.9434C8.95898 24.9434 8.5293 24.8197 8.2168 24.5723C7.9043 24.3314 7.74805 23.9928 7.74805 23.5566C7.74805 22.9382 7.93685 22.2806 8.31445 21.584C8.69857 20.8874 9.2487 20.2396 9.96484 19.6406C10.6875 19.0352 11.5566 18.5436 12.5723 18.166C13.5879 17.7819 14.7272 17.5898 15.9902 17.5898C17.2598 17.5898 18.4023 17.7819 19.418 18.166C20.4336 18.5436 21.2995 19.0352 22.0156 19.6406C22.7383 20.2396 23.2917 20.8874 23.6758 21.584C24.0599 22.2806 24.252 22.9382 24.252 23.5566C24.252 23.9928 24.0957 24.3314 23.7832 24.5723C23.4707 24.8197 23.041 24.9434 22.4941 24.9434H9.50586ZM16 15.8613C15.2904 15.8613 14.6361 15.6693 14.0371 15.2852C13.4447 14.901 12.9661 14.3835 12.6016 13.7324C12.2435 13.0814 12.0645 12.349 12.0645 11.5352C12.0645 10.7409 12.2435 10.0247 12.6016 9.38672C12.9661 8.74219 13.4479 8.23112 14.0469 7.85352C14.6458 7.47591 15.2969 7.28711 16 7.28711C16.7096 7.28711 17.3639 7.47266 17.9629 7.84375C18.5618 8.21484 19.0404 8.72266 19.3984 9.36719C19.763 10.0052 19.9453 10.7214 19.9453 11.5156C19.9453 12.3359 19.763 13.0749 19.3984 13.7324C19.0404 14.3835 18.5618 14.901 17.9629 15.2852C17.3639 15.6693 16.7096 15.8613 16 15.8613Z",
fill: "white"
})]
});
}