Skip to content

Commit

Permalink
Merge pull request #748 from MifdhaM/ent
Browse files Browse the repository at this point in the history
oxd-add-question,oxd-add-star, oxd-best-match,oxd-save-pin-default,ox…
  • Loading branch information
amilaw authored Jan 5, 2024
2 parents 391db34 + 9087616 commit 62b5dce
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion components/src/core/components/Icon/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1394,6 +1394,38 @@ export const oxdOrange: icon = {
value: `<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 89.56 120"><defs><style>.cls-1{fill:#39455d;}</style></defs><path style="fill:currentColor" class="cls-1" d="M35.45,8.25c.6,8.36,2.75,12.9,8.73,18.76,3.58,3.59,9.44,6.45,13.14,6.45,2.51,0,3-.59,3.11-3.94a50.33,50.33,0,0,0-.12-6.21C60,19.6,53.5,10,48.84,6.57,45.13,3.71,37.6,0,35.69,0,35.21,0,35.21,3.71,35.45,8.25Z" transform="translate(-11.31)"/><path style="fill:currentColor" class="cls-1" d="M72.74,22.59c-5,2.27-10,7.53-10,10.4,0,2.63,9.09,2,14.22-.72,4.31-2.51,10.16-9.92,8.85-11.24S77.52,20.44,72.74,22.59Z" transform="translate(-11.31)"/><path style="fill:currentColor" class="cls-1" d="M37.36,41.71c-9.8,3.11-16.85,9.44-21.87,19.48-3.7,7.41-4.18,9.56-4.18,17.57,0,16.38,8.84,29.28,25.1,37.05C44.89,119.88,46,120,57.92,120c14.7.11,20.32-1.92,29.28-10.16,10.16-9.45,14.58-20.92,13.51-35.86-1.2-15.3-10.16-27.85-22.95-31.55-6.45-1.91-9.08-1.44-3.58.6,6.09,2.39,13,9.08,16.61,16.25,3.11,6,3.58,8.37,3.58,16-.12,7.88-.59,9.92-4.18,16.49-6.45,12.07-16.25,18.4-28.92,18.52-10.16,0-21.16-5.73-26.77-14.22-11.36-17-6.34-39.8,10-45.89,7.64-2.87,13.5-3,20.07-.24,9.92,4.18,14.35,9.8,7.53,9.8a2.08,2.08,0,0,0-2.27,2c0,3.47,8.37,14.7,10.88,14.7s5.62-6.33,6.69-14c.72-5.14.6-5.14-3-5.14-2.63,0-3.82-.72-4.42-2.39-.36-1.2-3.22-4.42-6.21-7.17C64.49,39.68,51,37.41,37.36,41.71Z" transform="translate(-11.31)"/></svg>`,
};

export const oxdAddQuestion: icon = {
name: 'oxd-add-question',
value: `<svg width="22" height="21" viewBox="0 0 22 21" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M17 21C16.6574 21 16.3939 20.9078 16.2095 20.7233C16.025 20.5257 15.9328 20.2556 15.9328 19.913V16.9684H13.0474C12.7181 16.9684 12.4611 16.8827 12.2767 16.7115C12.0922 16.527 12 16.2701 12 15.9407C12 15.6113 12.0922 15.361 12.2767 15.1897C12.4611 15.0053 12.7181 14.913 13.0474 14.913H15.9328V12.087C15.9328 11.7312 16.025 11.4611 16.2095 11.2767C16.3939 11.0922 16.664 11 17.0198 11C17.3623 11 17.6192 11.0922 17.7905 11.2767C17.975 11.4611 18.0672 11.7312 18.0672 12.087V14.913H20.9526C21.2951 14.913 21.552 15.0053 21.7233 15.1897C21.9078 15.361 22 15.6113 22 15.9407C22 16.2701 21.9078 16.527 21.7233 16.7115C21.552 16.8827 21.2951 16.9684 20.9526 16.9684H18.0672V19.913C18.0672 20.2556 17.975 20.5257 17.7905 20.7233C17.6192 20.9078 17.3557 21 17 21Z" style="fill:currentColor"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M18.9785 10.1456C18.501 10.0501 18.0059 10 17.5 10C13.3574 10 10 13.3578 10 17.5C10 18.0061 10.0498 18.5004 10.1455 18.9784C9.93262 18.9927 9.7168 19 9.5 19C4.25293 19 0 14.7467 0 9.5C0 4.2533 4.25293 0 9.5 0C14.7471 0 19 4.2533 19 9.5C19 9.71698 18.9932 9.93225 18.9785 10.1456ZM8.2666 11.3239V11.4346H9.68652V11.3239C9.6875 11.1868 9.69531 11.0598 9.70996 10.9427C9.72852 10.8026 9.75586 10.6768 9.79297 10.5654C9.86328 10.358 9.97168 10.1776 10.1162 10.0242C10.2236 9.91302 10.3525 9.80487 10.5029 9.69971C10.5596 9.65967 10.6201 9.62012 10.6836 9.58099C10.9443 9.42474 11.1709 9.24713 11.3604 9.04828C11.5508 8.84943 11.6973 8.62213 11.7998 8.36646C11.9053 8.11078 11.957 7.82104 11.957 7.49713C11.957 7.01703 11.8408 6.60229 11.6084 6.25287C11.3779 5.90057 11.0557 5.62927 10.6406 5.4389C10.2285 5.2486 9.75098 5.15338 9.20898 5.15338C8.71191 5.15338 8.25684 5.24432 7.84473 5.42615C7.43652 5.60797 7.10645 5.88068 6.85645 6.24432C6.60938 6.60797 6.47852 7.05963 6.46484 7.59943H7.98145C7.98828 7.47278 8.00684 7.35669 8.03613 7.2511C8.0459 7.21814 8.05664 7.18622 8.06836 7.15527C8.09766 7.07648 8.13379 7.00433 8.17773 6.9389C8.29688 6.76276 8.44629 6.63208 8.625 6.54688C8.80664 6.4588 8.99902 6.41479 9.2002 6.41479C9.41895 6.41479 9.61621 6.46021 9.79297 6.55115C9.88379 6.59735 9.96484 6.65314 10.0371 6.71844C10.1064 6.78156 10.167 6.85364 10.2188 6.93463C10.3242 7.09943 10.376 7.29401 10.376 7.51849C10.376 7.61615 10.3662 7.70935 10.3477 7.7981C10.3281 7.89008 10.2979 7.97723 10.2568 8.05963C10.1777 8.21875 10.0684 8.36365 9.92871 8.49432C9.79297 8.62213 9.6377 8.74005 9.46484 8.84802C9.21191 9.00427 8.99707 9.17615 8.82129 9.36365C8.72266 9.46631 8.6377 9.58746 8.56445 9.72705C8.50586 9.8385 8.45508 9.96167 8.41211 10.0966C8.31836 10.4006 8.26953 10.8096 8.2666 11.3239ZM8.51465 13.9543C8.55273 13.9786 8.59277 13.9998 8.63379 14.0178C8.74902 14.0684 8.87402 14.0938 9.00879 14.0938C9.09277 14.0938 9.17383 14.0837 9.25 14.0635C9.32812 14.043 9.40234 14.0118 9.47266 13.9702C9.5498 13.924 9.61914 13.8694 9.67871 13.8064C9.72949 13.7533 9.77441 13.6943 9.81348 13.6293C9.90234 13.4872 9.94629 13.3295 9.94629 13.1562C9.94629 12.9006 9.85254 12.6818 9.66504 12.5C9.48047 12.3182 9.26172 12.2273 9.00879 12.2273C8.75293 12.2273 8.53223 12.3182 8.34766 12.5C8.16309 12.6818 8.07129 12.9006 8.07129 13.1562C8.07129 13.3077 8.10156 13.4457 8.16309 13.5704C8.20801 13.661 8.26953 13.7446 8.34766 13.821C8.40039 13.8729 8.45605 13.9172 8.51465 13.9543Z" style="fill:currentColor"/>
</svg>`,
};

export const oxdAddStar: icon = {
name: 'oxd-add-star',
value: `<?xml version="1.0" ?><svg fill="none" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M9.10433 2.89923C9.47114 2.15598 10.531 2.15599 10.8978 2.89923L12.8282 6.81073L17.1448 7.43797C17.9651 7.55715 18.2926 8.56513 17.699 9.14366L17.1502 9.67863C16.3646 9.24624 15.462 9.00024 14.502 9.00024C11.4644 9.00024 9.00195 11.4627 9.00195 14.5002C9.00195 14.9975 9.06794 15.4793 9.19162 15.9374L6.14018 17.5417C5.40655 17.9274 4.54913 17.3044 4.68924 16.4875L5.4266 12.1883L2.30308 9.14366C1.70956 8.56512 2.03708 7.55715 2.8573 7.43797L7.17389 6.81073L9.10433 2.89923Z" style="fill:currentColor"/><path d="M19.002 14.5002C19.002 16.9855 16.9872 19.0002 14.502 19.0002C12.0167 19.0002 10.002 16.9855 10.002 14.5002C10.002 12.015 12.0167 10.0002 14.502 10.0002C16.9872 10.0002 19.002 12.015 19.002 14.5002ZM15.002 12.5002C15.002 12.2241 14.7781 12.0002 14.502 12.0002C14.2258 12.0002 14.002 12.2241 14.002 12.5002V14.0002H12.502C12.2258 14.0002 12.002 14.2241 12.002 14.5002C12.002 14.7764 12.2258 15.0002 12.502 15.0002H14.002V16.5002C14.002 16.7764 14.2258 17.0002 14.502 17.0002C14.7781 17.0002 15.002 16.7764 15.002 16.5002V15.0002H16.502C16.7781 15.0002 17.002 14.7764 17.002 14.5002C17.002 14.2241 16.7781 14.0002 16.502 14.0002H15.002V12.5002Z" style="fill:currentColor"/></svg>`,
};

export const oxdBestMatch: icon = {
name: 'oxd-best-match',
value: `<svg width="30" height="26" viewBox="0 0 30 26" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M18.8429 5.44131C18.8429 8.44646 16.4672 10.8826 13.5365 10.8826C10.6059 10.8826 8.23022 8.44646 8.23022 5.44131C8.23022 2.43616 10.6059 0 13.5365 0C16.4672 0 18.8429 2.43616 18.8429 5.44131ZM16.677 5.44131C16.677 7.3285 15.2033 8.73473 13.5365 8.73473C11.8698 8.73473 10.3961 7.3285 10.3961 5.44131C10.3961 3.55412 11.8698 2.14788 13.5365 2.14788C15.2033 2.14788 16.677 3.55412 16.677 5.44131Z" style="fill:currentColor"/>
<path d="M9.35314 14.3135C11.0331 14.1399 12.2056 14.1098 13.7183 14.3098C14.3111 14.3882 14.8558 13.9751 14.9349 13.3872C15.0139 12.7993 14.5974 12.2592 14.0045 12.1808C12.2685 11.9512 10.9142 11.9927 9.12876 12.1771C6.60175 12.4382 4.3823 13.16 2.76148 14.2298C1.15112 15.2926 -0.000206317 16.8021 2.7732e-08 18.6194L8.89825e-05 19.5451C0.000224274 21.3254 1.45584 22.7676 3.2503 22.7676H12.5619C13.16 22.7676 13.6448 22.2868 13.6448 21.6936C13.6448 21.1005 13.16 20.6197 12.5619 20.6197H3.2503C2.65124 20.6197 2.16598 20.1383 2.16594 19.5449L2.16585 18.6192C2.16575 17.7846 2.69296 16.8551 3.96145 16.0179C5.21948 15.1875 7.07919 14.5483 9.35314 14.3135Z" style="fill:currentColor"/>
<path d="M13.1786 17.4965L16.8853 20.4209L15.7324 24.8182C15.506 25.6384 16.4784 26.3116 17.2691 25.849L21.4058 23.4711L25.5423 25.8485C26.311 26.2899 27.2827 25.6382 27.0791 24.8176L25.9262 20.4208L29.6334 17.4962C30.3336 16.9493 29.9722 15.8764 29.0456 15.8132L24.1857 15.4764L22.3549 11.2902C22.016 10.5118 20.8179 10.5118 20.456 11.2902L18.6253 15.4765L13.7655 15.8133C12.8394 15.8979 12.4775 16.9496 13.1786 17.4965Z" style="fill:currentColor"/>
</svg>`,
};

export const oxdSavePinDefault: icon = {
name: 'oxd-save-pin-default',
value: `<?xml version="1.0" ?><svg viewBox="0 0 384 512" xmlns="http://www.w3.org/2000/svg"><path d="M384 48V512l-192-112L0 512V48C0 21.5 21.5 0 48 0h288C362.5 0 384 21.5 384 48z"/></svg>`,
};

export const oxdStar: icon = {
name: 'oxd-star',
value: `<?xml version="1.0" ?><svg fill="none" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M9.10433 2.89874C9.47114 2.15549 10.531 2.1555 10.8978 2.89874L12.8282 6.81024L17.1448 7.43748C17.9651 7.55666 18.2926 8.56464 17.699 9.14317L14.5755 12.1878L15.3129 16.487C15.453 17.3039 14.5956 17.9269 13.8619 17.5412L10.0011 15.5114L6.14018 17.5412C5.40655 17.9269 4.54913 17.3039 4.68924 16.487L5.4266 12.1878L2.30308 9.14317C1.70956 8.56463 2.03708 7.55666 2.8573 7.43748L7.17389 6.81024L9.10433 2.89874Z" style="fill:currentColor"/></svg>`,
};

const icons: Icons = {
'oxd-likes': oxdLikes,
'oxd-birthday': oxdBirthday,
Expand Down Expand Up @@ -1548,7 +1580,11 @@ const icons: Icons = {
'oxd-window-in': oxdWindowIn,
'oxd-window-out': oxdWindowOut,
'oxd-orange': oxdOrange,

'oxd-add-question': oxdAddQuestion,
'oxd-add-star': oxdAddStar,
'oxd-best-match': oxdBestMatch,
'oxd-save-pin-default': oxdSavePinDefault,
'oxd-star': oxdStar,
};

export default icons;

0 comments on commit 62b5dce

Please sign in to comment.