Skip to content

Commit

Permalink
✨ feat(icon): add whatsapp icon (#1110)
Browse files Browse the repository at this point in the history
* Create PR for #1107

* feat(icons): add new WhatsApp icon

---------

Co-authored-by: hirsch88 <[email protected]>
Co-authored-by: Gery Hirschfeld <[email protected]>
  • Loading branch information
3 people authored Nov 8, 2023
1 parent c0e14f2 commit 0613561
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/clean-ghosts-change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@baloise/design-system-components': minor
'@baloise/design-system-icons': minor
---

A new `WhatsApp` icon has been added to the icons collection.
2 changes: 2 additions & 0 deletions packages/icons/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export const balIconXing = /*#__PURE__*/ '<svg xmlns="http://www.w3.org/2000/svg

export const balIconX = /*#__PURE__*/ '<svg viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3608 1.15369C13.4169 1.2059 13.4622 1.26865 13.494 1.33837C13.5259 1.40808 13.5436 1.48339 13.5464 1.55999C13.5491 1.63659 13.5367 1.71297 13.5098 1.78477C13.483 1.85656 13.4423 1.92236 13.39 1.97841L8.64428 7.06727L13.8824 14.0198C13.9477 14.1064 13.9876 14.2095 13.9975 14.3176C14.0075 14.4256 13.9871 14.5343 13.9386 14.6313C13.8902 14.7284 13.8156 14.81 13.7233 14.8671C13.631 14.9241 13.5246 14.9542 13.4161 14.9541H10.2207C10.1303 14.9542 10.0412 14.9333 9.96026 14.893C9.87935 14.8528 9.8089 14.7943 9.75447 14.7222L6.06784 9.8299L1.46336 14.7684C1.41113 14.8245 1.34837 14.8696 1.27867 14.9014C1.20897 14.9332 1.13369 14.9509 1.05714 14.9536C0.980585 14.9563 0.904251 14.9439 0.832496 14.9171C0.760741 14.8903 0.69497 14.8496 0.63894 14.7973C0.582909 14.7451 0.537715 14.6823 0.505938 14.6126C0.474162 14.5429 0.456425 14.4677 0.45374 14.3911C0.451056 14.3146 0.463476 14.2382 0.490292 14.1665C0.517108 14.0947 0.557794 14.029 0.610028 13.9729L5.35572 8.88407L0.117626 1.93154C0.0523114 1.84497 0.0124314 1.74191 0.00246702 1.63393C-0.00749732 1.52595 0.0128489 1.41733 0.0612194 1.32027C0.10959 1.22322 0.184068 1.14157 0.276285 1.08451C0.368503 1.02746 0.474805 0.997244 0.583248 0.997273H3.7793C3.86956 0.997249 3.9586 1.01818 4.0394 1.05842C4.1202 1.09866 4.19055 1.15711 4.24492 1.22917L7.93155 6.12144L12.5354 1.18291C12.5876 1.12679 12.6504 1.08151 12.7201 1.04966C12.7898 1.01782 12.8651 1.00003 12.9417 0.997314C13.0183 0.9946 13.0947 1.00702 13.1665 1.03385C13.2383 1.06068 13.3047 1.10141 13.3608 1.15369ZM7.44036 7.40872C7.42386 7.38964 7.40861 7.36951 7.39471 7.34846L3.48836 2.16343H1.75308L10.511 13.7885H12.2463L7.43975 7.40933L7.44036 7.40872Z"/></svg>';

export const balIconWhatsApp = /*#__PURE__*/ '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" focusable="false" aria-hidden="true"><g id="whatsapp"><path id="Subtract" fill-rule="evenodd" d="M8.000205714285714 0.43359428571428565C12.12982857142857 0.4312468571428571 15.573828571428571 3.881382857142857 15.573828571428571 8.00294857142857c0 4.126651428571428 -3.4437714285714285 7.5664228571428565 -7.573828571428572 7.56368 -1.07592 -0.0006857142857142856 -2.153257142857143 -0.22742857142857142 -3.146468571428571 -0.6813714285714285l-3.7494045714285713 0.6779428571428571c-0.20238285714285711 0.03657142857142857 -0.4088182857142857 -0.0384 -0.5405359999999999 -0.19634285714285715 -0.13171771428571427 -0.15794285714285713 -0.16839428571428572 -0.3745142857142857 -0.09603542857142856 -0.5669714285714286l1.0730959999999998 -2.8550857142857144C0.8182114285714285 10.759634285714286 0.4332045714285714 9.38958857142857 0.43319771428571424 8.00294857142857 0.4331782857142857 3.8793599999999997 3.873005714285714 0.4349702857142857 8.000045714285713 0.43359428571428565h0.00015999999999999999ZM11.799885714285713 11.218137142857143c-0.84264 0.68152 -2.14616 1.3691771428571426 -3.3925942857142855 0.5690628571428571 -1.6349371428571426 -1.0495085714285715 -3.0817142857142854 -2.42984 -4.13136 -4.064685714285714 -0.6153485714285714 -0.9584342857142857 -0.036251428571428566 -2.4923314285714286 0.8300914285714286 -3.427005714285714 0.34587428571428575 -0.3731657142857142 0.9146514285714286 -0.31416 1.2904114285714285 0.02888l0.7910742857142856 0.7222057142857142c0.24060571428571426 0.21965714285714286 0.24906285714285714 0.6014399999999999 0.09906285714285713 0.8906399999999999 -0.23652571428571428 0.4560114285714285 -0.3756342857142857 1.0674285714285714 -0.08316571428571429 1.5230514285714285 0.36744 0.5724 0.8208799999999999 1.1353485714285714 1.901222857142857 1.4641485714285714 0.32681142857142853 0.09946285714285713 0.74696 0.05657142857142857 1.1029371428571428 -0.08764571428571427 0.2989942857142857 -0.12113142857142857 0.6770628571428571 -0.11972571428571428 0.8979314285714285 0.11539428571428571l0.7353028571428571 0.7827999999999999c0.40559999999999996 0.4317371428571428 0.4195428571428571 1.1106399999999998 -0.04091428571428571 1.4831542857142856Z" clip-rule="evenodd" stroke-width="1.1428571428571428"/></g></svg>';

export const balIconWeb = /*#__PURE__*/ '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5.04883 0.275541C2.32493 1.06453 0.285118 3.46373 0.0275269 6.375H3.22773C3.41606 4.22626 4.03911 2.14922 5.04883 0.275541ZM3.22773 7.625H0.0275269C0.285118 10.5363 2.32493 12.9355 5.04883 13.7245C4.0391 11.8508 3.41606 9.77374 3.22773 7.625ZM6.6522 13.9915C5.44618 12.0855 4.69968 9.90183 4.48294 7.625H9.51704C9.30031 9.90183 8.5538 12.0855 7.34777 13.9915C7.23256 13.9971 7.11661 14 7.00001 14C6.88338 14 6.76743 13.9971 6.6522 13.9915ZM8.95115 13.7245C11.6751 12.9355 13.7149 10.5363 13.9725 7.625H10.7722C10.5839 9.77375 9.96087 11.8508 8.95115 13.7245ZM10.7722 6.375H13.9725C13.7149 3.46372 11.6751 1.06451 8.95114 0.275533C9.96087 2.14921 10.5839 4.22625 10.7722 6.375ZM6.65221 0.00848953C6.76743 0.00285182 6.88339 0 7.00001 0C7.11661 0 7.23256 0.0028513 7.34777 0.008488C8.5538 1.91446 9.3003 4.09817 9.51704 6.375H4.48294C4.69968 4.09817 5.44618 1.91446 6.65221 0.00848953Z" clip-rule="evenodd"/></svg>';

export const balIconVideo = /*#__PURE__*/ '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 4C0 2.61929 1.11929 1.5 2.5 1.5H11.5C12.8807 1.5 14 2.61929 14 4V10C14 11.3807 12.8807 12.5 11.5 12.5H2.5C1.11929 12.5 0 11.3807 0 10V4ZM5.30998 5.11998V9.31998C5.30935 9.3905 5.32737 9.45993 5.36222 9.52124C5.39707 9.58255 5.4475 9.63356 5.50842 9.66909C5.56933 9.70462 5.63856 9.72342 5.70908 9.72358C5.7796 9.72374 5.84891 9.70524 5.90998 9.66998L9.50998 7.56998C9.57013 7.53469 9.62001 7.48428 9.65467 7.42377C9.68933 7.36325 9.70756 7.29472 9.70756 7.22498C9.70756 7.15524 9.68933 7.08671 9.65467 7.0262C9.62001 6.96568 9.57013 6.91527 9.50998 6.87998L5.90998 4.77998C5.85023 4.74175 5.78117 4.72055 5.71026 4.71865C5.63935 4.71675 5.56926 4.73422 5.50754 4.7692C5.44582 4.80417 5.39481 4.85532 5.36 4.91713C5.32519 4.97894 5.3079 5.04907 5.30998 5.11998Z" clip-rule="evenodd"/></svg>';
Expand Down
1 change: 1 addition & 0 deletions packages/icons/svg/whats-app.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0613561

Please sign in to comment.