Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(ProductIcon): rename some product icons and added a new one #2884

Merged
merged 2 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .changeset/hip-sloths-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'@ultraviolet/icons': major
---

⚠️ THIS IS BREAKING CHANGES ⚠️

- ProductIcon `messaging` has been renamed to `nats`
- ProductIcon `SqsSns` has been renamed to `sqs`

---

- New ProductIcon `sns`, `video` and `rocket`
153 changes: 151 additions & 2 deletions packages/icons/src/components/ProductIcon/Icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2265,7 +2265,7 @@ export const PRODUCT_ICONS = {
</g>
</g>
),
messaging: (
nats: (
<g className="Messaging&amp;Queueing">
<g className="Messaging&amp;Queueing">
<g className=".Square">
Expand Down Expand Up @@ -2827,7 +2827,7 @@ export const PRODUCT_ICONS = {
</g>
</g>
),
SqsSns: (
sqs: (
<g className="SqsSns" clipPath="url(#a)">
<g className=".Square">
<path
Expand Down Expand Up @@ -2875,4 +2875,153 @@ export const PRODUCT_ICONS = {
</g>
</g>
),
sns: (
<g className="SNS" clipPath="url(#a)">
<g className=".Square">
<path
fill="#F1EEFC"
d="M0 16C0 7.163 7.163 0 16 0h32c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16H16C7.163 64 0 56.837 0 48V16Z"
className="fillWeak"
/>
</g>
<g className="Icon">
<g className="fill">
<path
fill="#521094"
fillRule="evenodd"
d="M18.261 23.047a2 2 0 0 1 1.95-1.56h3.337a2 2 0 0 1 1.96 1.603l.662 3.261a1 1 0 1 1-1.96.398l-.662-3.261h-3.336l-.557 2.465a2 2 0 0 1-.903 1.263l-2.497 1.537a2 2 0 0 1-1.85.129l-2.456-1.075L10 30.823l1.86 1.57a2 2 0 0 1 .711 1.528v3.133a2 2 0 0 1-.71 1.529L10 40.153l1.948 3.015 2.456-1.074a2 2 0 0 1 1.85.129l2.497 1.536a2 2 0 0 1 .903 1.263l.557 2.466h3.353l.557-2.466a2 2 0 0 1 .903-1.263l2.497-1.536a2 2 0 0 1 1.85-.13l2.4 1.051 1.637-2.953-1.905-1.608a2 2 0 0 1-.71-1.529v-3.598a1 1 0 0 1 2 0v3.598l1.905 1.608a2 2 0 0 1 .46 2.498l-1.637 2.954a2 2 0 0 1-2.55.863l-2.402-1.05-2.497 1.536-.557 2.465a2 2 0 0 1-1.95 1.56h-3.354a2 2 0 0 1-1.951-1.56l-.557-2.465-2.497-1.537-2.456 1.075a2 2 0 0 1-2.481-.747L8.32 41.24a2 2 0 0 1 .39-2.614l1.861-1.57.466.55-.466-.55V33.92l-1.86-1.57a2 2 0 0 1-.39-2.614l1.949-3.015a2 2 0 0 1 2.481-.747l2.456 1.074 2.497-1.536.557-2.466Z"
className="fill"
clipRule="evenodd"
/>
<path
fill="#521094"
fillRule="evenodd"
d="M21.682 31.845a3.643 3.643 0 1 0 0 7.285 3.643 3.643 0 0 0 0-7.285Zm-5.643 3.642a5.643 5.643 0 1 1 11.286 0 5.643 5.643 0 0 1-11.286 0Z"
className="fill"
clipRule="evenodd"
/>
</g>
<g className="fill">
<path
fill="#521094"
fillRule="evenodd"
d="M54.78 18.638a1 1 0 0 1-1 1h-7.098a1 1 0 1 1 0-2h7.099a1 1 0 0 1 1 1Z"
className="fill"
clipRule="evenodd"
/>
<path
fill="#521094"
fillRule="evenodd"
d="M56.112 18.66a1 1 0 0 1-.325.737l-3.992 3.66a1 1 0 0 1-1.352-1.474l3.189-2.923-3.189-2.923a1 1 0 0 1 1.352-1.474l3.992 3.66a1 1 0 0 1 .325.737Z"
className="fill"
clipRule="evenodd"
/>
</g>
<g className="fill">
<path
fill="#521094"
fillRule="evenodd"
d="M54.78 31.958a1 1 0 0 1-1 1h-7.098a1 1 0 1 1 0-2h7.099a1 1 0 0 1 1 1Z"
className="fill"
clipRule="evenodd"
/>
<path
fill="#521094"
fillRule="evenodd"
d="M56.112 31.98a1 1 0 0 1-.325.738l-3.992 3.66a1 1 0 0 1-1.352-1.474l3.189-2.924-3.189-2.922a1 1 0 0 1 1.352-1.475l3.992 3.66a1 1 0 0 1 .325.738Z"
className="fill"
clipRule="evenodd"
/>
</g>
<g className="fill">
<path
fill="#521094"
fillRule="evenodd"
d="M54.78 45.279a1 1 0 0 1-1 1h-7.098a1 1 0 1 1 0-2h7.099a1 1 0 0 1 1 1Z"
className="fill"
clipRule="evenodd"
/>
<path
fill="#521094"
fillRule="evenodd"
d="M56.112 45.3a1 1 0 0 1-.325.738l-3.992 3.66a1 1 0 0 1-1.352-1.474l3.189-2.923-3.189-2.923a1 1 0 0 1 1.352-1.474l3.992 3.66a1 1 0 0 1 .325.737Z"
className="fill"
clipRule="evenodd"
/>
</g>
<path
fill="#A060F6"
fillRule="evenodd"
d="M27.882 18a2 2 0 0 1 2-2h11.8a2 2 0 0 1 2 2v9.083a2 2 0 0 1-2 2h-9.486l-3.943 2.738a1 1 0 0 1-1.495-1.202l1.124-2.733V18Zm13.8 0h-11.8v9.886c0 .133-.013.266-.04.396l1.213-.841a2 2 0 0 1 1.14-.358h9.487V18Z"
className="fillStrong"
clipRule="evenodd"
/>
</g>
</g>
),
video: (
<g className="Video">
<g className=".Square">
<path
fill="#F1EEFC"
d="M0 16C0 7.163 7.163 0 16 0h32c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16H16C7.163 64 0 56.837 0 48V16Z"
className="fillWeak"
/>
</g>
<g className="Video">
<g className="icon">
<path
fill="#521094"
fillRule="evenodd"
d="M17.335 17.334c2.154-2.154 5.4-3 9.665-3h10c4.265 0 7.511.846 9.666 3 2.154 2.155 3 5.4 3 9.666v10c0 4.265-.846 7.511-3 9.665-2.155 2.155-5.4 3.002-9.666 3.002H27c-4.265 0-7.511-.847-9.665-3.002-2.155-2.154-3.002-5.4-3.002-9.665V27c0-4.265.847-7.511 3.002-9.666Zm1.414 1.415c-1.596 1.595-2.416 4.183-2.416 8.25v10c0 4.069.82 6.656 2.416 8.252 1.596 1.596 4.183 2.416 8.251 2.416h10c4.068 0 6.656-.82 8.251-2.416 1.596-1.596 2.416-4.183 2.416-8.251V27c0-4.068-.82-6.656-2.416-8.251-1.595-1.596-4.183-2.416-8.251-2.416H27c-4.068 0-6.655.82-8.251 2.416Z"
className="fill"
clipRule="evenodd"
/>
<path
fill="#A060F6"
fillRule="evenodd"
d="M29.134 27.171c-.489.28-.967.984-.967 2.362v4.934c0 1.368.477 2.073.968 2.356.491.284 1.343.345 2.532-.34l4.267-2.466c1.19-.685 1.562-1.452 1.562-2.017s-.373-1.332-1.562-2.017l-4.266-2.466c-1.191-.686-2.044-.627-2.534-.346Zm-.997-1.734c1.323-.76 2.97-.55 4.529.346l.001.001 2.133 1.234 2.132 1.232h.001c1.56.9 2.563 2.224 2.563 3.75 0 1.526-1.002 2.85-2.563 3.75l-4.267 2.467c-1.561.898-3.21 1.101-4.53.339-1.322-.763-1.97-2.29-1.97-4.09v-4.933c0-1.805.647-3.335 1.971-4.096Z"
className="fillStrong"
clipRule="evenodd"
/>
</g>
</g>
</g>
),
rocket: (
<g className="Rocket">
<g className=".Square">
<path
fill="#F1EEFC"
d="M0 16C0 7.163 7.163 0 16 0h32c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16H16C7.163 64 0 56.837 0 48V16Z"
className="fillWeak"
/>
</g>
<g className="Rocket">
<g className="icon">
<path
fill="#521094"
fillRule="evenodd"
d="M37.745 18.324c-3.605.939-7.656 2.91-10.62 5.874-3.206 3.206-5.22 6.867-5.886 10.053l7.817 7.817c3.186-.666 6.847-2.68 10.053-5.887 2.963-2.963 4.935-7.014 5.874-10.62.469-1.8.67-3.448.624-4.755-.047-1.366-.355-2.14-.66-2.446-.307-.305-1.08-.613-2.447-.66-1.307-.046-2.955.155-4.755.624ZM42.57 15.7c1.486.051 2.924.379 3.79 1.245.867.867 1.195 2.305 1.246 3.791.054 1.546-.183 3.392-.688 5.329-1.007 3.867-3.126 8.261-6.395 11.53-3.602 3.602-7.842 5.905-11.636 6.539l-.508.084-9.292-9.291.085-.508c.634-3.795 2.937-8.035 6.54-11.637 3.268-3.268 7.661-5.387 11.53-6.395 1.936-.504 3.782-.741 5.328-.687Z"
className="fill (Stroke)"
clipRule="evenodd"
/>
<path
fill="#521094"
fillRule="evenodd"
d="M24.4 26.007c-3.951-1.796-8.607.06-10.245 4.081a.882.882 0 0 0 .468 1.143l6.295 2.698 8.832 8.832 2.698 6.295c.188.44.697.65 1.143.468 4.02-1.638 5.877-6.294 4.081-10.244a1 1 0 1 1 1.821-.828c2.267 4.987-.077 10.858-5.147 12.924a2.882 2.882 0 0 1-3.737-1.532l-2.546-5.941-8.287-8.287-5.94-2.546a2.882 2.882 0 0 1-1.533-3.737c2.066-5.07 7.937-7.414 12.924-5.147a1 1 0 0 1-.828 1.82Z"
className="fill (Stroke)"
clipRule="evenodd"
/>
<path
fill="#A060F6"
fillRule="evenodd"
d="M35.73 27.007a2.158 2.158 0 1 0-3.052 3.052 2.158 2.158 0 0 0 3.051-3.052Zm-4.467-1.414a4.158 4.158 0 1 1 5.88 5.88 4.158 4.158 0 0 1-5.88-5.88ZM19.032 38.998a1 1 0 0 1 .81 1.159l-.593 3.365a1.105 1.105 0 0 0 1.28 1.28l3.365-.594a1 1 0 1 1 .348 1.97l-3.365.594c-2.123.374-3.973-1.475-3.598-3.598l.594-3.365a1 1 0 0 1 1.159-.81Z"
className="fillStrong (Stroke)"
clipRule="evenodd"
/>
</g>
</g>
</g>
),
} as const
Loading
Loading