react-simple-calender
Version:
Simple calender component for React
33 lines (32 loc) • 7.62 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CaretUp = exports.CaretDown = exports.BackArrow = exports.ArrowDoubleRight = exports.ArrowDoubleLeft = exports.ArrowRight = exports.ArrowLeft = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
function ArrowLeft() {
return ((0, jsx_runtime_1.jsx)("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14.0301 7.47007C14.1705 7.6107 14.2494 7.80132 14.2494 8.00007C14.2494 8.19882 14.1705 8.38945 14.0301 8.53007L10.5601 12.0001L14.0301 15.4701C14.1038 15.5387 14.1629 15.6215 14.2039 15.7135C14.2448 15.8055 14.2669 15.9048 14.2687 16.0056C14.2704 16.1063 14.2519 16.2063 14.2142 16.2997C14.1765 16.3931 14.1203 16.4779 14.0491 16.5491C13.9779 16.6203 13.8931 16.6765 13.7997 16.7142C13.7063 16.7519 13.6063 16.7704 13.5056 16.7687C13.4048 16.7669 13.3055 16.7448 13.2135 16.7039C13.1215 16.6629 13.0387 16.6038 12.9701 16.5301L8.97007 12.5301C8.82962 12.3894 8.75073 12.1988 8.75073 12.0001C8.75073 11.8013 8.82962 11.6107 8.97007 11.4701L12.9701 7.47007C13.1107 7.32962 13.3013 7.25073 13.5001 7.25073C13.6988 7.25073 13.8894 7.32962 14.0301 7.47007Z", fill: "black" }) })));
}
exports.ArrowLeft = ArrowLeft;
function ArrowRight() {
return ((0, jsx_runtime_1.jsx)("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M9.96993 16.5299C9.82948 16.3893 9.75059 16.1987 9.75059 15.9999C9.75059 15.8012 9.82948 15.6106 9.96993 15.4699L13.4399 11.9999L9.96993 8.52993C9.89624 8.46127 9.83714 8.37847 9.79615 8.28647C9.75515 8.19447 9.73311 8.09515 9.73134 7.99445C9.72956 7.89375 9.74808 7.79372 9.7858 7.70033C9.82353 7.60694 9.87967 7.52211 9.95089 7.45089C10.0221 7.37967 10.1069 7.32353 10.2003 7.2858C10.2937 7.24808 10.3937 7.22956 10.4944 7.23134C10.5952 7.23311 10.6945 7.25515 10.7865 7.29615C10.8785 7.33714 10.9613 7.39624 11.0299 7.46993L15.0299 11.4699C15.1704 11.6106 15.2493 11.8012 15.2493 11.9999C15.2493 12.1987 15.1704 12.3893 15.0299 12.5299L11.0299 16.5299C10.8893 16.6704 10.6987 16.7493 10.4999 16.7493C10.3012 16.7493 10.1106 16.6704 9.96993 16.5299Z", fill: "black" }) })));
}
exports.ArrowRight = ArrowRight;
function ArrowDoubleLeft() {
return ((0, jsx_runtime_1.jsx)("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { d: "M15.885 7.19237C16.0075 7.06989 16.1736 7.00109 16.3468 7.00109C16.5201 7.00109 16.6862 7.06989 16.8087 7.19237C16.9312 7.31485 17 7.48096 17 7.65417C17 7.82738 16.9312 7.9935 16.8087 8.11598L12.9231 12L16.8076 15.8851C16.8683 15.9458 16.9164 16.0178 16.9492 16.097C16.982 16.1762 16.9989 16.2611 16.9989 16.3469C16.9989 16.4327 16.982 16.5176 16.9492 16.5968C16.9164 16.6761 16.8683 16.7481 16.8076 16.8087C16.747 16.8694 16.675 16.9175 16.5957 16.9503C16.5165 16.9831 16.4315 17 16.3458 17C16.26 17 16.175 16.9831 16.0958 16.9503C16.0166 16.9175 15.9445 16.8694 15.8839 16.8087L11.537 12.4623C11.4762 12.4018 11.428 12.3298 11.3951 12.2506C11.3622 12.1713 11.3452 12.0864 11.3452 12.0005C11.3452 11.9147 11.3622 11.8298 11.3951 11.7505C11.428 11.6713 11.4762 11.5993 11.537 11.5387L15.885 7.19237ZM12.4618 15.8851L8.57626 12L12.4624 8.11489C12.5849 7.99241 12.6537 7.8263 12.6537 7.65309C12.6537 7.47988 12.5849 7.31376 12.4624 7.19129C12.3399 7.06881 12.1737 7 12.0005 7C11.8273 7 11.6611 7.06881 11.5387 7.19129L7.19178 11.5377C7.13099 11.5982 7.08276 11.6702 7.04985 11.7494C7.01694 11.8287 7 11.9137 7 11.9995C7 12.0853 7.01694 12.1702 7.04985 12.2495C7.08276 12.3287 7.13099 12.4007 7.19178 12.4613L11.5387 16.8076C11.6611 16.9301 11.8273 16.9989 12.0005 16.9989C12.1737 16.9989 12.3399 16.9301 12.4624 16.8076C12.5849 16.6852 12.6537 16.519 12.6537 16.3458C12.6537 16.1726 12.5849 16.0065 12.4624 15.884L12.4618 15.8851Z", fill: "black" }) })));
}
exports.ArrowDoubleLeft = ArrowDoubleLeft;
function ArrowDoubleRight() {
return ((0, jsx_runtime_1.jsx)("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { d: "M8.11502 7.19237C7.99253 7.06989 7.82639 7.00109 7.65316 7.00109C7.47993 7.00109 7.3138 7.06989 7.19131 7.19237C7.06882 7.31485 7 7.48096 7 7.65417C7 7.82738 7.06882 7.9935 7.19131 8.11598L11.0769 12L7.19239 15.8851C7.13174 15.9458 7.08363 16.0178 7.05081 16.097C7.01798 16.1762 7.00109 16.2611 7.00109 16.3469C7.00109 16.4327 7.01798 16.5176 7.05081 16.5968C7.08363 16.6761 7.13174 16.7481 7.19239 16.8087C7.25305 16.8694 7.32505 16.9175 7.4043 16.9503C7.48354 16.9831 7.56847 17 7.65425 17C7.74002 17 7.82496 16.9831 7.9042 16.9503C7.98345 16.9175 8.05545 16.8694 8.1161 16.8087L12.463 12.4623C12.5238 12.4018 12.572 12.3298 12.6049 12.2506C12.6378 12.1713 12.6548 12.0864 12.6548 12.0005C12.6548 11.9147 12.6378 11.8298 12.6049 11.7505C12.572 11.6713 12.5238 11.5993 12.463 11.5387L8.11502 7.19237ZM11.5382 15.8851L15.4237 12L11.5376 8.11489C11.4151 7.99241 11.3463 7.8263 11.3463 7.65309C11.3463 7.47988 11.4151 7.31376 11.5376 7.19129C11.6601 7.06881 11.8263 7 11.9995 7C12.1727 7 12.3389 7.06881 12.4613 7.19129L16.8082 11.5377C16.869 11.5982 16.9172 11.6702 16.9502 11.7494C16.9831 11.8287 17 11.9137 17 11.9995C17 12.0853 16.9831 12.1702 16.9502 12.2495C16.9172 12.3287 16.869 12.4007 16.8082 12.4613L12.4613 16.8076C12.3389 16.9301 12.1727 16.9989 11.9995 16.9989C11.8263 16.9989 11.6601 16.9301 11.5376 16.8076C11.4151 16.6852 11.3463 16.519 11.3463 16.3458C11.3463 16.1726 11.4151 16.0065 11.5376 15.884L11.5382 15.8851Z", fill: "black" }) })));
}
exports.ArrowDoubleRight = ArrowDoubleRight;
function BackArrow() {
return ((0, jsx_runtime_1.jsx)("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { d: "M6.921 12.5L12.713 18.292L12 19L5 12L12 5L12.713 5.708L6.921 11.5H19V12.5H6.921Z", fill: "black" }) })));
}
exports.BackArrow = BackArrow;
function CaretDown() {
return ((0, jsx_runtime_1.jsx)("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { d: "M11.8401 6.57201C12.2981 5.90901 11.8271 5.00101 11.0241 5.00101H4.97505C4.17205 5.00101 3.70105 5.90901 4.15905 6.57201L6.77605 10.356C6.91268 10.5542 7.09542 10.7163 7.30855 10.8282C7.52167 10.9402 7.75881 10.9987 7.99955 10.9987C8.24029 10.9987 8.47743 10.9402 8.69055 10.8282C8.90368 10.7163 9.08642 10.5542 9.22305 10.356L11.8401 6.57201Z", fill: "black" }) })));
}
exports.CaretDown = CaretDown;
function CaretUp() {
return ((0, jsx_runtime_1.jsx)("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { d: "M4.16019 9.42823C3.70219 10.0912 4.17319 10.9992 4.97619 10.9992H11.0252C11.8282 10.9992 12.2992 10.0912 11.8412 9.42823L9.22419 5.64423C9.08757 5.44602 8.90483 5.28397 8.6917 5.17202C8.47857 5.06008 8.24143 5.00159 8.00069 5.00159C7.75995 5.00159 7.52282 5.06008 7.30969 5.17202C7.09656 5.28397 6.91382 5.44602 6.77719 5.64423L4.16019 9.42823Z", fill: "black" }) })));
}
exports.CaretUp = CaretUp;