Skip to content

Commit

Permalink
✨ feat(component): Add a fifth RTE Icon (arrow-down for index) (#1483)
Browse files Browse the repository at this point in the history
* Create PR for #1481

* feat(icon): add arrow-down icon

* chore: format files

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Gery Hirschfeld <[email protected]>
  • Loading branch information
github-actions[bot] and hirsch88 authored Oct 22, 2024
1 parent ea803fb commit 7e920eb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/cyan-weeks-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@baloise/ds-core': minor
---

**icon**: add new arrow-down icon
1 change: 1 addition & 0 deletions packages/icons/src/assets/arrow-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/icons/src/icons.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"arrow-right-up",
"arrow-right-down",
"arrow-right-circle",
"arrow-down",
"answer",
"alert-triangle",
"account"
Expand Down
2 changes: 2 additions & 0 deletions packages/icons/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ export const balIconArrowRightDown = /*#__PURE__*/ '<svg viewBox="0 0 28 28" xml

export const balIconArrowRightCircle = /*#__PURE__*/ '<svg viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M28 14C28 11.2311 27.1789 8.5243 25.6406 6.22202C24.1022 3.91973 21.9157 2.12531 19.3576 1.06569C16.7994 0.00605891 13.9845 -0.271187 11.2687 0.269006C8.55301 0.8092 6.05844 2.14257 4.10051 4.10051C2.14257 6.05844 0.809205 8.553 0.269012 11.2687C-0.271181 13.9845 0.00606559 16.7994 1.06569 19.3576C2.12532 21.9157 3.91973 24.1022 6.22202 25.6406C8.52431 27.1789 11.2311 28 14 28C17.713 28 21.274 26.525 23.8995 23.8995C26.525 21.274 28 17.713 28 14ZM14.44 19.56C14.1591 19.2787 14.0013 18.8975 14.0013 18.5C14.0013 18.1025 14.1591 17.7212 14.44 17.44L16.44 15.44L8.00001 15.44C7.60218 15.44 7.22065 15.282 6.93934 15.0007C6.65804 14.7194 6.50001 14.3378 6.50001 13.94C6.50001 13.5422 6.65804 13.1606 6.93934 12.8793C7.22065 12.598 7.60218 12.44 8.00001 12.44L16.38 12.44L14.38 10.44C14.1869 10.1425 14.1055 9.78617 14.1502 9.43431C14.1949 9.08244 14.3628 8.7578 14.6242 8.51802C14.8855 8.27824 15.2234 8.13883 15.5778 8.12455C15.9322 8.11026 16.2802 8.22203 16.56 8.44L21.06 12.94C21.3409 13.2212 21.4987 13.6025 21.4987 14C21.4987 14.3975 21.3409 14.7787 21.06 15.06L16.56 19.56C16.2788 19.8409 15.8975 19.9987 15.5 19.9987C15.1025 19.9987 14.7213 19.8409 14.44 19.56Z"/></svg>';

export const balIconArrowDown = /*#__PURE__*/ '<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.64646 14.8536C7.84172 15.0488 8.1583 15.0488 8.35356 14.8536L11.8536 11.3536C11.9966 11.2106 12.0393 10.9955 11.9619 10.8087C11.8845 10.6218 11.7022 10.5 11.5 10.5H9.00001V2C9.00001 1.4477 8.55229 1 8.00001 1C7.44772 1 7.00001 1.4477 7.00001 2V10.5H4.50001C4.29778 10.5 4.11546 10.6218 4.03807 10.8087C3.96068 10.9955 4.00346 11.2106 4.14646 11.3536L7.64646 14.8536Z"/></svg>';

export const balIconAnswer = /*#__PURE__*/ '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M6 1.50001C6 1.29778 5.87818 1.11547 5.69134 1.03807C5.50451 0.960684 5.28945 1.00346 5.14645 1.14646L0.146447 6.14646C-0.0422768 6.33519 -0.0495031 6.63886 0.130031 6.83635L5.13003 12.3364C5.26898 12.4892 5.48763 12.5409 5.6803 12.4664C5.87297 12.3919 6 12.2066 6 12V9.50001H7C8.35568 9.50001 9.15471 9.73304 9.96303 10.2368C10.596 10.6313 11.227 11.1833 12.1126 11.958L12.1126 11.958C12.43 12.2356 12.7802 12.5419 13.1748 12.8798C13.3455 13.026 13.5927 13.0403 13.7791 12.9149C13.9655 12.7894 14.0454 12.5551 13.9743 12.3419C13.8792 12.0564 13.7823 11.7456 13.68 11.4177C13.2644 10.085 12.7605 8.46924 11.9258 7.11297C10.8583 5.37826 9.21417 4.00001 6.5 4.00001H6V1.50001Z" clip-rule="evenodd"/></svg>';

export const balIconAlertTriangle = /*#__PURE__*/ '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M7.00003 0.00585938C6.72396 0.00585938 6.45324 0.0820473 6.21769 0.226033C5.98215 0.370019 5.7909 0.576216 5.66503 0.821919L5.665 0.821908L5.66281 0.826292L0.163513 11.8249L0.163109 11.8257C0.0483198 12.0538 -0.0063228 12.3075 0.00436625 12.5627C0.0150678 12.8182 0.0908985 13.0667 0.224657 13.2846C0.358416 13.5025 0.545662 13.6826 0.768612 13.8078C0.991563 13.933 1.24282 13.9991 1.49851 13.9999L1.50003 13.9999H12.5L12.5015 13.9999C12.7572 13.9991 13.0085 13.933 13.2314 13.8078C13.4544 13.6826 13.6416 13.5025 13.7754 13.2846C13.9092 13.0667 13.985 12.8182 13.9957 12.5627C14.0064 12.3075 13.9517 12.0537 13.8369 11.8256L13.8365 11.8249L8.33724 0.826292L8.33726 0.826281L8.33503 0.821919C8.20915 0.576216 8.01791 0.370019 7.78236 0.226033C7.54681 0.0820473 7.2761 0.00585938 7.00003 0.00585938ZM7 4.37598C7.34518 4.37598 7.625 4.6558 7.625 5.00098V8.00098C7.625 8.34615 7.34518 8.62598 7 8.62598C6.65482 8.62598 6.375 8.34615 6.375 8.00098V5.00098C6.375 4.6558 6.65482 4.37598 7 4.37598ZM7 12.001C7.55228 12.001 8 11.5533 8 11.001C8 10.4487 7.55228 10.001 7 10.001C6.44772 10.001 6 10.4487 6 11.001C6 11.5533 6.44772 12.001 7 12.001Z" clip-rule="evenodd"/></svg>';
Expand Down

0 comments on commit 7e920eb

Please sign in to comment.