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

feat: add new icons for ai chat #660

Merged
merged 1 commit into from
Oct 31, 2024
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
16 changes: 16 additions & 0 deletions src/components/icons/ChatFilledIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import createIcon from './createIcon'

export default createIcon(({ size, color }) => (
<svg
width={size}
viewBox="0 0 16 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6.84099 12.6227L6.69322 12.4676H6.47901H3.55556C1.88081 12.4676 0.5 11.0802 0.5 9.37656V3.59102C0.5 1.88741 1.88081 0.5 3.55556 0.5H12.4444C14.1192 0.5 15.5 1.88741 15.5 3.59102V9.37656C15.5 11.0802 14.1192 12.4676 12.4444 12.4676H11.358H10.9777L10.8762 12.8342L10.2243 15.1883L10.2241 15.1882L10.2208 15.2016C10.22 15.205 10.217 15.2148 10.2103 15.2292C10.2038 15.2433 10.1964 15.2562 10.1901 15.2657L10.1901 15.2657L10.1856 15.2727C10.097 15.4119 9.93781 15.5 9.77778 15.5C9.62956 15.5 9.48639 15.4273 9.40883 15.3229L9.39054 15.2982L9.36938 15.276L6.84099 12.6227Z"
fill={color}
stroke={color}
/>
</svg>
))
30 changes: 30 additions & 0 deletions src/components/icons/PushPinOutlineIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import createIcon from './createIcon'

export default createIcon(({ size, color }) => (
<svg
width={size}
viewBox="0 0 16 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M9.74684 3.55414L12.5933 6.40059L8.84684 10.147L8.82171 10.1722L8.80039 10.2006C8.7347 10.2882 8.66725 10.3111 8.6192 10.3141C8.5657 10.3174 8.50488 10.298 8.45394 10.247L5.60326 7.39635L9.35551 3.55258C9.46051 3.4494 9.64262 3.44992 9.74684 3.55414Z"
stroke={color}
/>
<path
d="M10.1006 0.400391L15.6006 5.90039"
stroke={color}
strokeMiterlimit="10"
/>
<path
d="M1.5 6.80078L9.2 14.5008"
stroke={color}
strokeMiterlimit="10"
/>
<path
d="M3.90039 12.1006L0.400391 15.6006"
stroke={color}
strokeMiterlimit="10"
/>
</svg>
))
17 changes: 17 additions & 0 deletions src/components/icons/ShrinkIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import createIcon from './createIcon'

export default createIcon(({ size, color }) => (
<svg
width={size}
viewBox="0 0 13 14"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M0.22 1.22015C0.360625 1.0797 0.551249 1.00081 0.75 1.00081C0.948751 1.00081 1.13937 1.0797 1.28 1.22015L3.5 3.44015V1.75015C3.5 1.55124 3.57902 1.36048 3.71967 1.21982C3.86032 1.07917 4.05109 1.00015 4.25 1.00015C4.44891 1.00015 4.63968 1.07917 4.78033 1.21982C4.92098 1.36048 5 1.55124 5 1.75015V5.25015C5 5.44907 4.92098 5.63983 4.78033 5.78048C4.63968 5.92114 4.44891 6.00015 4.25 6.00015H0.75C0.551088 6.00015 0.360322 5.92114 0.21967 5.78048C0.0790175 5.63983 0 5.44907 0 5.25015C0 5.05124 0.0790175 4.86048 0.21967 4.71982C0.360322 4.57917 0.551088 4.50015 0.75 4.50015H2.44L0.22 2.28015C0.0795496 2.13953 0.000659943 1.9489 0.000659943 1.75015C0.000659943 1.5514 0.0795496 1.36078 0.22 1.22015ZM10.72 1.22015C10.7887 1.14647 10.8715 1.08736 10.9635 1.04637C11.0555 1.00538 11.1548 0.983339 11.2555 0.981562C11.3562 0.979785 11.4562 0.99831 11.5496 1.03603C11.643 1.07375 11.7278 1.1299 11.799 1.20112C11.8703 1.27233 11.9264 1.35717 11.9641 1.45056C12.0018 1.54394 12.0204 1.64397 12.0186 1.74468C12.0168 1.84538 11.9948 1.94469 11.9538 2.03669C11.9128 2.12869 11.8537 2.21149 11.78 2.28015L9.56 4.50015H11.25C11.4489 4.50015 11.6397 4.57917 11.7803 4.71982C11.921 4.86048 12 5.05124 12 5.25015C12 5.44907 11.921 5.63983 11.7803 5.78048C11.6397 5.92114 11.4489 6.00015 11.25 6.00015H7.75C7.55109 6.00015 7.36032 5.92114 7.21967 5.78048C7.07902 5.63983 7 5.44907 7 5.25015V1.75015C7 1.55124 7.07902 1.36048 7.21967 1.21982C7.36032 1.07917 7.55109 1.00015 7.75 1.00015C7.94891 1.00015 8.13968 1.07917 8.28033 1.21982C8.42098 1.36048 8.5 1.55124 8.5 1.75015V3.44015L10.72 1.22015ZM0.75 8.00015H4.25C4.44891 8.00015 4.63968 8.07917 4.78033 8.21982C4.92098 8.36048 5 8.55124 5 8.75015V12.2502C5 12.4491 4.92098 12.6398 4.78033 12.7805C4.63968 12.9211 4.44891 13.0002 4.25 13.0002C4.05109 13.0002 3.86032 12.9211 3.71967 12.7805C3.57902 12.6398 3.5 12.4491 3.5 12.2502V10.5602L1.28 12.7802C1.13783 12.9126 0.949779 12.9848 0.755477 12.9813C0.561176 12.9779 0.375791 12.8992 0.238378 12.7618C0.100965 12.6244 0.0222533 12.439 0.0188251 12.2447C0.0153968 12.0504 0.08752 11.8623 0.22 11.7202L2.44 9.50015H0.75C0.551088 9.50015 0.360322 9.42114 0.21967 9.28048C0.0790175 9.13983 0 8.94907 0 8.75015C0 8.55124 0.0790175 8.36048 0.21967 8.21982C0.360322 8.07917 0.551088 8.00015 0.75 8.00015ZM7 8.75015C7 8.55124 7.07902 8.36048 7.21967 8.21982C7.36032 8.07917 7.55109 8.00015 7.75 8.00015H11.25C11.4489 8.00015 11.6397 8.07917 11.7803 8.21982C11.921 8.36048 12 8.55124 12 8.75015C12 8.94907 11.921 9.13983 11.7803 9.28048C11.6397 9.42114 11.4489 9.50015 11.25 9.50015H9.56L11.78 11.7202C11.8537 11.7888 11.9128 11.8716 11.9538 11.9636C11.9948 12.0556 12.0168 12.1549 12.0186 12.2556C12.0204 12.3563 12.0018 12.4564 11.9641 12.5498C11.9264 12.6431 11.8703 12.728 11.799 12.7992C11.7278 12.8704 11.643 12.9266 11.5496 12.9643C11.4562 13.002 11.3562 13.0205 11.2555 13.0187C11.1548 13.017 11.0555 12.9949 10.9635 12.9539C10.8715 12.9129 10.7887 12.8538 10.72 12.7802L8.5 10.5602V12.2502C8.5 12.4491 8.42098 12.6398 8.28033 12.7805C8.13968 12.9211 7.94891 13.0002 7.75 13.0002C7.55109 13.0002 7.36032 12.9211 7.21967 12.7805C7.07902 12.6398 7 12.4491 7 12.2502V8.75015Z"
fill={color}
/>
</svg>
))
15 changes: 9 additions & 6 deletions src/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export { default as CaretLeftIcon } from './components/icons/CaretLeftIcon'
export { default as CaretRightIcon } from './components/icons/CaretRightIcon'
export { default as CaretUpIcon } from './components/icons/CaretUpIcon'
export { default as CertificateIcon } from './components/icons/CertificateIcon'
export { default as ChatIcon } from './components/icons/ChatIcon'
export { default as ChatFilledIcon } from './components/icons/ChatFilledIcon'
export { default as ChatOutlineIcon } from './components/icons/ChatOutlineIcon'
export { default as CheckedShieldIcon } from './components/icons/CheckedShieldIcon'
export { default as CheckIcon } from './components/icons/CheckIcon'
export { default as ChecklistIcon } from './components/icons/ChecklistIcon'
Expand All @@ -50,7 +51,6 @@ export { default as CompatibilityIcon } from './components/icons/CompatibilityIc
export { default as ComplianceIcon } from './components/icons/ComplianceIcon'
export { default as ComponentsIcon } from './components/icons/ComponentsIcon'
export { default as ComputerNodeIcon } from './components/icons/ComputerNodeIcon'
export { default as HomeIcon } from './components/icons/HomeIcon'
export { default as ConfettiIcon } from './components/icons/ConfettiIcon'
export { default as ConsoleIcon } from './components/icons/ConsoleIcon'
export { default as CookieIcon } from './components/icons/CookieIcon'
Expand Down Expand Up @@ -102,6 +102,7 @@ export { default as HamburgerMenuIcon } from './components/icons/HamburgerMenuIc
export { default as HeartIcon } from './components/icons/HeartIcon'
export { default as HelpIcon } from './components/icons/HelpIcon'
export { default as HistoryIcon } from './components/icons/HistoryIcon'
export { default as HomeIcon } from './components/icons/HomeIcon'
export { default as IdIcon } from './components/icons/IdIcon'
export { default as InfoIcon } from './components/icons/InfoIcon'
export { default as InfoOutlineIcon } from './components/icons/InfoOutlineIcon'
Expand Down Expand Up @@ -155,10 +156,11 @@ export { default as PrClosedIcon } from './components/icons/PrClosedIcon'
export { default as PrMergedIcon } from './components/icons/PrMergedIcon'
export { default as ProjectIcon } from './components/icons/ProjectIcon'
export { default as PrOpenIcon } from './components/icons/PrOpenIcon'
export { default as PrQueueIcon } from './components/icons/PrQueueIcon'
export { default as ProtectedClusterIcon } from './components/icons/ProtectedClusterIcon'
export { default as ProtectedManagementClusterIcon } from './components/icons/ProtectedManagementClusterIcon'
export { default as PushPinIcon } from './components/icons/PushPinIcon'
export { default as PrQueueIcon } from './components/icons/PrQueueIcon'
export { default as PushPinFilledIcon } from './components/icons/PushPinFilledIcon'
export { default as PushPinOutlineIcon } from './components/icons/PushPinOutlineIcon'
export { default as ReloadIcon } from './components/icons/ReloadIcon'
export { default as RestoreIcon } from './components/icons/RestoreIcon'
export { default as ReturnIcon } from './components/icons/ReturnIcon'
Expand All @@ -173,6 +175,7 @@ export { default as ServersIcon } from './components/icons/ServersIcon'
export { default as ShieldLockIcon } from './components/icons/ShieldLockIcon'
export { default as ShieldOutlineIcon } from './components/icons/ShieldOutlineIcon'
export { default as ShipIcon } from './components/icons/ShipIcon'
export { default as ShrinkIcon } from './components/icons/ShrinkIcon'
export { default as SirenIcon } from './components/icons/SirenIcon'
export { default as SlackLogoIcon } from './components/icons/SlackLogoIcon'
export { default as SortAscIcon } from './components/icons/SortAscIcon'
Expand All @@ -181,8 +184,8 @@ export { default as SourcererHatIcon } from './components/icons/SourcererHatIcon
export { default as SourcererIcon } from './components/icons/SourcererIcon'
export { default as SprayIcon } from './components/icons/SprayIcon'
export { default as StackIcon } from './components/icons/StackIcon'
export { default as StackRunIcon } from './components/icons/StackRunIcon'
export { default as StackRunCanceledIcon } from './components/icons/StackRunCanceledIcon'
export { default as StackRunIcon } from './components/icons/StackRunIcon'
export { default as StackRunPausedIcon } from './components/icons/StackRunPausedIcon'
export { default as StackRunPendingIcon } from './components/icons/StackRunPendingIcon'
export { default as StarIcon } from './components/icons/StarIcon'
Expand All @@ -193,9 +196,9 @@ export { default as SuccessIcon } from './components/icons/SuccessIcon'
export { default as SuitcaseIcon } from './components/icons/SuitcaseIcon'
export { default as TableIcon } from './components/icons/TableIcon'
export { default as TagIcon } from './components/icons/TagIcon'
export { default as TerraformLogoIcon } from './components/icons/TerraformLogoIcon'
export { default as TerminalIcon } from './components/icons/TerminalIcon'
export { default as TerraformIcon } from './components/icons/TerraformIcon'
export { default as TerraformLogoIcon } from './components/icons/TerraformLogoIcon'
export { default as TestTubeIcon } from './components/icons/TestTubeIcon'
export { default as ThumbsUpFilledIcon } from './components/icons/ThumbsUpFilledIcon'
export { default as ThumbsUpIcon } from './components/icons/ThumbsUpIcon'
Expand Down
Loading