Skip to content

Commit 2ab8cec

Browse files
authored
fix(icons): fix mailgun, restore tts and smtp blocks (#2162)
* fix(icons): fix mailgun * register smtp block that was missing
1 parent bf54c88 commit 2ab8cec

File tree

5 files changed

+20
-8
lines changed

5 files changed

+20
-8
lines changed

apps/docs/components/icons.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3765,12 +3765,16 @@ export function MailgunIcon(props: SVGProps<SVGSVGElement>) {
37653765
return (
37663766
<svg
37673767
{...props}
3768-
fill='currentColor'
3768+
version='1.1'
3769+
viewBox='0 0 1000 1000'
37693770
xmlns='http://www.w3.org/2000/svg'
3771+
xmlnsXlink='http://www.w3.org/1999/xlink'
37703772
xmlSpace='preserve'
3771-
viewBox='0 0 512 512'
37723773
>
3773-
<path d='M256.5 159.5c-53.5 0-97 43.5-97 97s43.5 97 97 97 97-43.5 97-97-43.5-97-97-97m-151.1 97c0-83.4 67.7-151.1 151.1-151.1s151.1 67.7 151.1 151.1c0 5.8-.5 11-1 16.3-1 14.7 9.4 25.7 24.1 25.7 24.7 0 27.3-32 27.3-42.5 0-111.7-90.2-202-202-202S54 144.3 54 256s90.2 202 202 202c59.3 0 112.3-25.7 149.5-66.1l41.4 34.6C400.3 479 332.1 512 256 512 114.4 512 0 397.1 0 256 0 114.4 114.9 0 256 0c141.6 0 256 114.9 256 256 0 56.7-27.3 102.8-81.3 102.8-24.1 0-38.3-11-46.7-23.1-26.8 43-74 71.3-128.5 71.3-82.4.6-150.1-67.1-150.1-150.5m151.1-44.6c24.7 0 44.6 19.9 44.6 44.1 0 24.7-19.9 44.6-44.6 44.6s-44.6-19.9-44.6-44.6c.6-24.1 20-44.1 44.6-44.1' />
3774+
<path
3775+
fill='#C12126'
3776+
d='M493,305.7c-88.9,0-161,72.1-161,161c0,88.9,72.1,161,161,161c88.9,0,161-72.1,161-161 C654,377.8,582,305.7,493,305.7z M242,466.7c0-138.7,112.4-251,251-251c138.7,0,251.1,112.4,251.1,251c0,9.2-0.5,18.2-1.4,27.1 c-1.9,24.5,16.1,43.2,40.4,43.2c41.3,0,45.7-53.2,45.7-70.3c0-185.4-150.3-335.6-335.6-335.6S157.4,281.4,157.4,466.7 c0,185.4,150.3,335.6,335.6,335.6c98.4,0,187-42.4,248.4-109.9l69,57.9c-77.9,87.1-191.3,142-317.4,142 c-235.1,0-425.7-190.6-425.7-425.7S257.9,41,493,41c235.1,0,425.7,190.6,425.7,425.7c0,94.5-45,171.2-135.4,171.2 c-39.8,0-64-18.2-77.2-38.6C661.9,670.5,583,717.8,493,717.8C354.4,717.8,242,605.4,242,466.7z M493,393.1c40.7,0,73.7,33,73.7,73.7 c0,40.7-33,73.7-73.7,73.7c-40.7,0-73.7-33-73.7-73.7S452.3,393.1,493,393.1z'
3777+
/>
37743778
</svg>
37753779
)
37763780
}

apps/docs/content/docs/en/tools/mailgun.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
77

88
<BlockInfoCard
99
type="mailgun"
10-
color="#F06248"
10+
color="#E0E0E0"
1111
/>
1212

1313
{/* MANUAL-CONTENT-START:intro */}

apps/sim/blocks/blocks/mailgun.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const MailgunBlock: BlockConfig<SendMessageResult> = {
1010
'Integrate Mailgun into your workflow. Send transactional emails, manage mailing lists and members, view domain information, and track email events. Supports text and HTML emails, tags for tracking, and comprehensive list management.',
1111
docsLink: 'https://docs.sim.ai/tools/mailgun',
1212
category: 'tools',
13-
bgColor: '#F06248',
13+
bgColor: '#E0E0E0',
1414
icon: MailgunIcon,
1515

1616
subBlocks: [

apps/sim/blocks/registry.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ import { SentryBlock } from '@/blocks/blocks/sentry'
8585
import { SerperBlock } from '@/blocks/blocks/serper'
8686
import { SharepointBlock } from '@/blocks/blocks/sharepoint'
8787
import { SlackBlock } from '@/blocks/blocks/slack'
88+
import { SmtpBlock } from '@/blocks/blocks/smtp'
8889
import { StagehandBlock } from '@/blocks/blocks/stagehand'
8990
import { StagehandAgentBlock } from '@/blocks/blocks/stagehand_agent'
9091
import { StartTriggerBlock } from '@/blocks/blocks/start_trigger'
@@ -97,6 +98,7 @@ import { TelegramBlock } from '@/blocks/blocks/telegram'
9798
import { ThinkingBlock } from '@/blocks/blocks/thinking'
9899
import { TranslateBlock } from '@/blocks/blocks/translate'
99100
import { TrelloBlock } from '@/blocks/blocks/trello'
101+
import { TtsBlock } from '@/blocks/blocks/tts'
100102
import { TwilioSMSBlock } from '@/blocks/blocks/twilio'
101103
import { TwilioVoiceBlock } from '@/blocks/blocks/twilio_voice'
102104
import { TypeformBlock } from '@/blocks/blocks/typeform'
@@ -206,11 +208,13 @@ export const registry: Record<string, BlockConfig> = {
206208
serper: SerperBlock,
207209
sharepoint: SharepointBlock,
208210
slack: SlackBlock,
211+
smtp: SmtpBlock,
209212
stagehand: StagehandBlock,
210213
stagehand_agent: StagehandAgentBlock,
211214
starter: StarterBlock,
212215
start_trigger: StartTriggerBlock,
213216
stt: SttBlock,
217+
tts: TtsBlock,
214218
stripe: StripeBlock,
215219
supabase: SupabaseBlock,
216220
tavily: TavilyBlock,

apps/sim/components/icons.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3765,12 +3765,16 @@ export function MailgunIcon(props: SVGProps<SVGSVGElement>) {
37653765
return (
37663766
<svg
37673767
{...props}
3768-
fill='currentColor'
3768+
version='1.1'
3769+
viewBox='0 0 1000 1000'
37693770
xmlns='http://www.w3.org/2000/svg'
3771+
xmlnsXlink='http://www.w3.org/1999/xlink'
37703772
xmlSpace='preserve'
3771-
viewBox='0 0 512 512'
37723773
>
3773-
<path d='M256.5 159.5c-53.5 0-97 43.5-97 97s43.5 97 97 97 97-43.5 97-97-43.5-97-97-97m-151.1 97c0-83.4 67.7-151.1 151.1-151.1s151.1 67.7 151.1 151.1c0 5.8-.5 11-1 16.3-1 14.7 9.4 25.7 24.1 25.7 24.7 0 27.3-32 27.3-42.5 0-111.7-90.2-202-202-202S54 144.3 54 256s90.2 202 202 202c59.3 0 112.3-25.7 149.5-66.1l41.4 34.6C400.3 479 332.1 512 256 512 114.4 512 0 397.1 0 256 0 114.4 114.9 0 256 0c141.6 0 256 114.9 256 256 0 56.7-27.3 102.8-81.3 102.8-24.1 0-38.3-11-46.7-23.1-26.8 43-74 71.3-128.5 71.3-82.4.6-150.1-67.1-150.1-150.5m151.1-44.6c24.7 0 44.6 19.9 44.6 44.1 0 24.7-19.9 44.6-44.6 44.6s-44.6-19.9-44.6-44.6c.6-24.1 20-44.1 44.6-44.1' />
3774+
<path
3775+
fill='#C12126'
3776+
d='M493,305.7c-88.9,0-161,72.1-161,161c0,88.9,72.1,161,161,161c88.9,0,161-72.1,161-161 C654,377.8,582,305.7,493,305.7z M242,466.7c0-138.7,112.4-251,251-251c138.7,0,251.1,112.4,251.1,251c0,9.2-0.5,18.2-1.4,27.1 c-1.9,24.5,16.1,43.2,40.4,43.2c41.3,0,45.7-53.2,45.7-70.3c0-185.4-150.3-335.6-335.6-335.6S157.4,281.4,157.4,466.7 c0,185.4,150.3,335.6,335.6,335.6c98.4,0,187-42.4,248.4-109.9l69,57.9c-77.9,87.1-191.3,142-317.4,142 c-235.1,0-425.7-190.6-425.7-425.7S257.9,41,493,41c235.1,0,425.7,190.6,425.7,425.7c0,94.5-45,171.2-135.4,171.2 c-39.8,0-64-18.2-77.2-38.6C661.9,670.5,583,717.8,493,717.8C354.4,717.8,242,605.4,242,466.7z M493,393.1c40.7,0,73.7,33,73.7,73.7 c0,40.7-33,73.7-73.7,73.7c-40.7,0-73.7-33-73.7-73.7S452.3,393.1,493,393.1z'
3777+
/>
37743778
</svg>
37753779
)
37763780
}

0 commit comments

Comments
 (0)