UNPKG

@gravityforms/components

Version:

UI components for use in Gravity Forms development. Both React and vanilla js flavors.

52 lines (46 loc) 10.7 kB
import { React, PropTypes } from '@gravityforms/libraries'; const { forwardRef } = React; /** * @module CustomSMTPFull * @description The CustomSMTPFull logo. * * @since 3.6.6 * * @param {object} props Component props. * @param {number} props.height The height of the logo. * @param {string} props.title The title of the logo. * @param {number} props.width The width of the logo. * @param {object|null} ref Ref to the component. * * @return {JSX.Element} The svg component. * @example * import CustomSMTPFull from '@gravityforms/components/react/admin/elements/Svgs/CustomSMTPFull'; * * return ( * <CustomSMTPFull height={ 19 } width={ 110 } /> * ); * */ const CustomSMTPFull = forwardRef( ( { height = 19, title = '', width = 118, }, ref ) => { return ( <svg width={ width } height={ height } viewBox="0 0 118 19" fill="none" xmlns="http://www.w3.org/2000/svg" ref={ ref }> { title !== '' && <title>{ title }</title> } <path fillRule="evenodd" clipRule="evenodd" d="M8.30695e-05 3.21343C8.30695e-05 1.4387 1.43879 0 3.21352 0H20.236C22.0108 0 23.4495 1.4387 23.4495 3.21343V4.41723C23.4496 4.42482 23.4496 4.43241 23.4495 4.43999V15.3724C23.4495 17.1471 22.0108 18.5858 20.236 18.5858H3.21352C1.43879 18.5858 8.30695e-05 17.1471 8.30695e-05 15.3724V4.44002C-2.76277e-05 4.43242 -2.7752e-05 4.42481 8.30695e-05 4.4172V3.21343ZM1.56338 5.88985V15.3724C1.56338 16.2837 2.30217 17.0225 3.21352 17.0225H20.236C21.1474 17.0225 21.8862 16.2837 21.8862 15.3724V5.88985L13.5073 11.4758C12.4279 12.1954 11.0217 12.1954 9.94228 11.4758L1.56338 5.88985ZM21.8862 4.011L12.6401 10.175C12.0858 10.5446 11.3637 10.5446 10.8094 10.175L1.56338 4.011V3.21343C1.56338 2.30209 2.30217 1.56329 3.21352 1.56329H20.236C21.1474 1.56329 21.8862 2.30209 21.8862 3.21343V4.011Z" fill="#6A6A80" /> <path d="M38.5753 7.12926H37.0241C36.9645 6.79782 36.8535 6.50615 36.6911 6.25426C36.5286 6.00237 36.3298 5.78859 36.0945 5.61293C35.8591 5.43726 35.5956 5.30469 35.304 5.2152C35.0156 5.12571 34.709 5.08097 34.3842 5.08097C33.7976 5.08097 33.2723 5.22846 32.8082 5.52344C32.3475 5.81842 31.983 6.25095 31.7145 6.82102C31.4493 7.3911 31.3168 8.08712 31.3168 8.90909C31.3168 9.73769 31.4493 10.437 31.7145 11.0071C31.983 11.5772 32.3492 12.008 32.8132 12.2997C33.2772 12.5914 33.7992 12.7372 34.3793 12.7372C34.7008 12.7372 35.0057 12.6941 35.294 12.608C35.5857 12.5185 35.8492 12.3875 36.0845 12.2152C36.3198 12.0429 36.5187 11.8324 36.6811 11.5838C36.8468 11.3319 36.9612 11.0436 37.0241 10.7188L38.5753 10.7237C38.4924 11.2242 38.3317 11.6849 38.093 12.1058C37.8577 12.5234 37.5545 12.8847 37.1832 13.1896C36.8153 13.4912 36.3944 13.7249 35.9205 13.8906C35.4465 14.0563 34.9295 14.1392 34.3693 14.1392C33.4877 14.1392 32.7022 13.9304 32.0128 13.5128C31.3234 13.0919 30.7798 12.4903 30.3821 11.7081C29.9877 10.9259 29.7905 9.9929 29.7905 8.90909C29.7905 7.82197 29.9893 6.88897 30.3871 6.11008C30.7848 5.32789 31.3284 4.72798 32.0178 4.31037C32.7071 3.88944 33.491 3.67898 34.3693 3.67898C34.9096 3.67898 35.4134 3.75687 35.8807 3.91264C36.3513 4.0651 36.7739 4.29048 37.1484 4.58878C37.523 4.88376 37.8329 5.24503 38.0781 5.67258C38.3234 6.09683 38.4891 6.58239 38.5753 7.12926ZM44.4316 10.8331V6.36364H45.923V14H44.4614V12.6776H44.3819C44.2062 13.0852 43.9245 13.425 43.5367 13.6967C43.1522 13.9652 42.6733 14.0994 42.0999 14.0994C41.6094 14.0994 41.1752 13.9917 40.7973 13.7763C40.4228 13.5575 40.1278 13.2344 39.9124 12.8068C39.7003 12.3793 39.5942 11.8506 39.5942 11.2209V6.36364H41.0807V11.0419C41.0807 11.5623 41.2249 11.9766 41.5132 12.2848C41.8016 12.593 42.1761 12.7472 42.6368 12.7472C42.9152 12.7472 43.192 12.6776 43.4671 12.5384C43.7455 12.3991 43.9758 12.1887 44.1581 11.907C44.3437 11.6252 44.4349 11.2673 44.4316 10.8331ZM52.9427 8.22798L51.5954 8.46662C51.539 8.29427 51.4496 8.13021 51.3269 7.97443C51.2076 7.81865 51.0452 7.69105 50.8397 7.59162C50.6342 7.49219 50.3773 7.44247 50.0691 7.44247C49.6482 7.44247 49.2969 7.53693 49.0151 7.72585C48.7334 7.91146 48.5925 8.15175 48.5925 8.44673C48.5925 8.70194 48.687 8.90743 48.8759 9.06321C49.0648 9.21899 49.3698 9.34659 49.7907 9.44602L51.0038 9.72443C51.7064 9.88684 52.2301 10.1371 52.5748 10.4751C52.9195 10.8132 53.0918 11.2524 53.0918 11.7926C53.0918 12.25 52.9593 12.6577 52.6941 13.0156C52.4323 13.3703 52.066 13.6487 51.5954 13.8509C51.1281 14.053 50.5862 14.1541 49.9697 14.1541C49.1146 14.1541 48.4169 13.9718 47.8766 13.6072C47.3364 13.2393 47.0049 12.7173 46.8823 12.0412L48.3191 11.8224C48.4086 12.197 48.5925 12.4804 48.871 12.6726C49.1494 12.8615 49.5123 12.956 49.9597 12.956C50.4469 12.956 50.8364 12.8549 51.1281 12.6527C51.4197 12.4472 51.5656 12.197 51.5656 11.902C51.5656 11.6634 51.4761 11.4628 51.2971 11.3004C51.1214 11.138 50.8513 11.0154 50.4867 10.9325L49.1941 10.6491C48.4815 10.4867 47.9545 10.2282 47.6131 9.87358C47.2751 9.51894 47.106 9.06984 47.106 8.52628C47.106 8.07552 47.232 7.68111 47.4839 7.34304C47.7358 7.00497 48.0838 6.74148 48.5279 6.55256C48.972 6.36032 49.4808 6.2642 50.0542 6.2642C50.8795 6.2642 51.5291 6.44318 52.0031 6.80114C52.477 7.15578 52.7902 7.63139 52.9427 8.22798ZM57.5909 6.36364V7.55682H53.4197V6.36364H57.5909ZM54.5383 4.53409H56.0248V11.7578C56.0248 12.0462 56.0679 12.2633 56.1541 12.4091C56.2403 12.5516 56.3513 12.6494 56.4872 12.7024C56.6264 12.7521 56.7772 12.777 56.9396 12.777C57.0589 12.777 57.1633 12.7687 57.2528 12.7521C57.3423 12.7356 57.4119 12.7223 57.4616 12.7124L57.7301 13.9403C57.6439 13.9735 57.5213 14.0066 57.3622 14.0398C57.2031 14.0762 57.0042 14.0961 56.7656 14.0994C56.3745 14.1061 56.0099 14.0365 55.6718 13.8906C55.3338 13.7448 55.0603 13.5194 54.8515 13.2145C54.6427 12.9096 54.5383 12.5268 54.5383 12.0661V4.53409ZM61.6698 14.1541C60.9539 14.1541 60.3291 13.9901 59.7955 13.6619C59.2619 13.3338 58.8476 12.8748 58.5526 12.2848C58.2576 11.6948 58.1102 11.0054 58.1102 10.2166C58.1102 9.42448 58.2576 8.73177 58.5526 8.13849C58.8476 7.54522 59.2619 7.08452 59.7955 6.75639C60.3291 6.42827 60.9539 6.2642 61.6698 6.2642C62.3857 6.2642 63.0105 6.42827 63.5441 6.75639C64.0777 7.08452 64.492 7.54522 64.787 8.13849C65.082 8.73177 65.2295 9.42448 65.2295 10.2166C65.2295 11.0054 65.082 11.6948 64.787 12.2848C64.492 12.8748 64.0777 13.3338 63.5441 13.6619C63.0105 13.9901 62.3857 14.1541 61.6698 14.1541ZM61.6748 12.9062C62.1388 12.9062 62.5233 12.7836 62.8282 12.5384C63.1331 12.2931 63.3585 11.9666 63.5043 11.5589C63.6535 11.1513 63.7281 10.7022 63.7281 10.2116C63.7281 9.72443 63.6535 9.27699 63.5043 8.86932C63.3585 8.45833 63.1331 8.12855 62.8282 7.87997C62.5233 7.63139 62.1388 7.5071 61.6748 7.5071C61.2075 7.5071 60.8197 7.63139 60.5114 7.87997C60.2065 8.12855 59.9795 8.45833 59.8303 8.86932C59.6845 9.27699 59.6116 9.72443 59.6116 10.2116C59.6116 10.7022 59.6845 11.1513 59.8303 11.5589C59.9795 11.9666 60.2065 12.2931 60.5114 12.5384C60.8197 12.7836 61.2075 12.9062 61.6748 12.9062ZM66.1887 14V6.36364H67.6156V7.60653H67.71C67.8691 7.18561 68.1293 6.85748 68.4906 6.62216C68.8519 6.38352 69.2844 6.2642 69.7882 6.2642C70.2986 6.2642 70.7261 6.38352 71.0708 6.62216C71.4189 6.8608 71.6757 7.18892 71.8414 7.60653H71.921C72.1033 7.19886 72.3933 6.87405 72.791 6.6321C73.1887 6.38684 73.6627 6.2642 74.2129 6.2642C74.9056 6.2642 75.4707 6.4813 75.9082 6.91548C76.349 7.34967 76.5694 8.00426 76.5694 8.87926V14H75.0829V9.01847C75.0829 8.50142 74.9421 8.12689 74.6603 7.89489C74.3786 7.66288 74.0422 7.54688 73.6511 7.54688C73.1672 7.54688 72.791 7.69602 72.5225 7.99432C72.2541 8.2893 72.1199 8.6688 72.1199 9.13281V14H70.6383V8.92401C70.6383 8.50971 70.5091 8.17661 70.2505 7.92472C69.992 7.67282 69.6556 7.54688 69.2413 7.54688C68.9596 7.54688 68.6994 7.62145 68.4608 7.7706C68.2254 7.91643 68.0349 8.12026 67.889 8.3821C67.7465 8.64394 67.6752 8.94721 67.6752 9.2919V14H66.1887ZM86.5395 6.4929C86.4864 6.02225 86.2677 5.65767 85.8832 5.39915C85.4987 5.13731 85.0148 5.00639 84.4315 5.00639C84.0139 5.00639 83.6526 5.07268 83.3477 5.20526C83.0428 5.33452 82.8058 5.51349 82.6368 5.74219C82.471 5.96757 82.3882 6.22443 82.3882 6.51278C82.3882 6.75473 82.4445 6.96354 82.5572 7.1392C82.6732 7.31487 82.824 7.46236 83.0096 7.58168C83.1985 7.69768 83.4007 7.79545 83.6162 7.875C83.8316 7.95123 84.0387 8.0142 84.2376 8.06392L85.2319 8.32244C85.5567 8.40199 85.8898 8.50971 86.2312 8.6456C86.5726 8.78149 86.8891 8.96046 87.1808 9.18253C87.4725 9.40459 87.7078 9.67969 87.8868 10.0078C88.069 10.3359 88.1602 10.7287 88.1602 11.1861C88.1602 11.7628 88.011 12.2749 87.7127 12.7223C87.4178 13.1697 86.9886 13.5227 86.4251 13.7812C85.865 14.0398 85.1872 14.169 84.3917 14.169C83.6294 14.169 82.9698 14.0481 82.413 13.8061C81.8562 13.5642 81.4204 13.2211 81.1055 12.777C80.7906 12.3295 80.6166 11.7992 80.5835 11.1861H82.1247C82.1545 11.554 82.2738 11.8606 82.4826 12.1058C82.6948 12.3478 82.9649 12.5284 83.293 12.6477C83.6244 12.7637 83.9874 12.8217 84.3818 12.8217C84.816 12.8217 85.2021 12.7538 85.5402 12.6179C85.8815 12.4787 86.15 12.2865 86.3456 12.0412C86.5411 11.7926 86.6389 11.5026 86.6389 11.1712C86.6389 10.8696 86.5527 10.6226 86.3804 10.4304C86.2113 10.2382 85.981 10.0791 85.6893 9.95312C85.401 9.82718 85.0745 9.71615 84.7099 9.62003L83.5068 9.2919C82.6914 9.06984 82.0451 8.74337 81.5679 8.3125C81.0939 7.88163 80.8569 7.31155 80.8569 6.60227C80.8569 6.01562 81.016 5.50355 81.3342 5.06605C81.6524 4.62855 82.0832 4.28883 82.6268 4.04688C83.1704 3.80161 83.7835 3.67898 84.4663 3.67898C85.1557 3.67898 85.7639 3.79995 86.2909 4.0419C86.8212 4.28385 87.2388 4.61695 87.5437 5.04119C87.8486 5.46212 88.0077 5.94602 88.021 6.4929H86.5395ZM89.296 3.81818H91.1603L94.4018 11.733H94.5211L97.7626 3.81818H99.6269V14H98.1653V6.6321H98.0708L95.068 13.9851H93.8549L90.8521 6.62713H90.7576V14H89.296V3.81818ZM100.658 5.14062V3.81818H108.538V5.14062H105.361V14H103.83V5.14062H100.658ZM109.58 14V3.81818H113.209C114.001 3.81818 114.657 3.96236 115.178 4.25071C115.698 4.53906 116.087 4.93347 116.346 5.43395C116.604 5.93111 116.734 6.49124 116.734 7.11435C116.734 7.74077 116.603 8.30421 116.341 8.80469C116.082 9.30185 115.691 9.69626 115.168 9.98793C114.647 10.2763 113.993 10.4205 113.204 10.4205H110.708V9.1179H113.065C113.565 9.1179 113.971 9.03172 114.283 8.85938C114.594 8.68371 114.823 8.44508 114.969 8.14347C115.115 7.84186 115.188 7.49882 115.188 7.11435C115.188 6.72988 115.115 6.38849 114.969 6.0902C114.823 5.7919 114.593 5.55824 114.278 5.3892C113.966 5.22017 113.555 5.13565 113.045 5.13565H111.116V14H109.58Z" fill="#6A6A80" /> </svg> ) ; } ); CustomSMTPFull.propTypes = { height: PropTypes.number, title: PropTypes.string, width: PropTypes.number, }; CustomSMTPFull.displayName = 'Svgs/CustomSMTPFull'; export default CustomSMTPFull;