Skip to content

Commit b7fc744

Browse files
committed
improvement(blocks): update luma styling and linkup field modes
1 parent c0f22d7 commit b7fc744

File tree

7 files changed

+18
-11
lines changed

7 files changed

+18
-11
lines changed

apps/docs/components/icons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3985,7 +3985,7 @@ export function LumaIcon(props: SVGProps<SVGSVGElement>) {
39853985
<svg {...props} fill='none' viewBox='0 0 133 134' xmlns='http://www.w3.org/2000/svg'>
39863986
<path
39873987
d='M133 67C96.282 67 66.5 36.994 66.5 0c0 36.994-29.782 67-66.5 67 36.718 0 66.5 30.006 66.5 67 0-36.994 29.782-67 66.5-67'
3988-
fill='currentColor'
3988+
fill='#000000'
39893989
/>
39903990
</svg>
39913991
)

apps/docs/components/ui/icon-mapping.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ import {
4242
FirecrawlIcon,
4343
FirefliesIcon,
4444
GammaIcon,
45-
GithubIcon,
4645
GitLabIcon,
46+
GithubIcon,
4747
GmailIcon,
4848
GongIcon,
4949
GoogleBigQueryIcon,
@@ -81,9 +81,9 @@ import {
8181
LinkedInIcon,
8282
LinkupIcon,
8383
LumaIcon,
84+
MailServerIcon,
8485
MailchimpIcon,
8586
MailgunIcon,
86-
MailServerIcon,
8787
Mem0Icon,
8888
MicrosoftDataverseIcon,
8989
MicrosoftExcelIcon,
@@ -116,6 +116,8 @@ import {
116116
ResendIcon,
117117
RevenueCatIcon,
118118
S3Icon,
119+
SQSIcon,
120+
STTIcon,
119121
SalesforceIcon,
120122
SearchIcon,
121123
SendgridIcon,
@@ -127,19 +129,17 @@ import {
127129
SimilarwebIcon,
128130
SlackIcon,
129131
SmtpIcon,
130-
SQSIcon,
131132
SshIcon,
132-
STTIcon,
133133
StagehandIcon,
134134
StripeIcon,
135135
SupabaseIcon,
136+
TTSIcon,
136137
TavilyIcon,
137138
TelegramIcon,
138139
TextractIcon,
139140
TinybirdIcon,
140141
TranslateIcon,
141142
TrelloIcon,
142-
TTSIcon,
143143
TwilioIcon,
144144
TypeformIcon,
145145
UpstashIcon,
@@ -150,11 +150,11 @@ import {
150150
WhatsAppIcon,
151151
WikipediaIcon,
152152
WordpressIcon,
153-
xIcon,
154153
YouTubeIcon,
155154
ZendeskIcon,
156155
ZepIcon,
157156
ZoomIcon,
157+
xIcon,
158158
} from '@/components/icons'
159159

160160
type IconComponent = ComponentType<SVGProps<SVGSVGElement>>

apps/docs/content/docs/en/tools/luma.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="luma"
10-
color="#FF5C35"
10+
color="#FFFFFF"
1111
/>
1212

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

apps/docs/content/docs/en/tools/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,4 @@
155155
"zep",
156156
"zoom"
157157
]
158-
}
158+
}

apps/sim/blocks/blocks/linkup.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,26 @@ export const LinkupBlock: BlockConfig<LinkupSearchToolResponse> = {
4545
id: 'includeImages',
4646
title: 'Include Images',
4747
type: 'switch',
48+
mode: 'advanced',
4849
},
4950
{
5051
id: 'includeInlineCitations',
5152
title: 'Include Inline Citations',
5253
type: 'switch',
54+
mode: 'advanced',
5355
},
5456
{
5557
id: 'includeSources',
5658
title: 'Include Sources',
5759
type: 'switch',
60+
mode: 'advanced',
5861
},
5962
{
6063
id: 'fromDate',
6164
title: 'From Date',
6265
type: 'short-input',
6366
placeholder: 'YYYY-MM-DD',
67+
mode: 'advanced',
6468
wandConfig: {
6569
enabled: true,
6670
prompt: `Generate a date in YYYY-MM-DD format based on the user's description.
@@ -80,6 +84,7 @@ Return ONLY the date string in YYYY-MM-DD format - no explanations, no quotes, n
8084
title: 'To Date',
8185
type: 'short-input',
8286
placeholder: 'YYYY-MM-DD',
87+
mode: 'advanced',
8388
wandConfig: {
8489
enabled: true,
8590
prompt: `Generate a date in YYYY-MM-DD format based on the user's description.
@@ -99,12 +104,14 @@ Return ONLY the date string in YYYY-MM-DD format - no explanations, no quotes, n
99104
title: 'Include Domains',
100105
type: 'long-input',
101106
placeholder: 'example.com, another.com (comma-separated)',
107+
mode: 'advanced',
102108
},
103109
{
104110
id: 'excludeDomains',
105111
title: 'Exclude Domains',
106112
type: 'long-input',
107113
placeholder: 'example.com, another.com (comma-separated)',
114+
mode: 'advanced',
108115
},
109116
{
110117
id: 'apiKey',

apps/sim/blocks/blocks/luma.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const LumaBlock: BlockConfig = {
99
'Integrate Luma into the workflow. Can create events, update events, get event details, list calendar events, get guest lists, and add guests to events.',
1010
docsLink: 'https://docs.sim.ai/tools/luma',
1111
category: 'tools',
12-
bgColor: '#FF5C35',
12+
bgColor: '#FFFFFF',
1313
icon: LumaIcon,
1414
authMode: AuthMode.ApiKey,
1515

apps/sim/components/icons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3985,7 +3985,7 @@ export function LumaIcon(props: SVGProps<SVGSVGElement>) {
39853985
<svg {...props} fill='none' viewBox='0 0 133 134' xmlns='http://www.w3.org/2000/svg'>
39863986
<path
39873987
d='M133 67C96.282 67 66.5 36.994 66.5 0c0 36.994-29.782 67-66.5 67 36.718 0 66.5 30.006 66.5 67 0-36.994 29.782-67 66.5-67'
3988-
fill='currentColor'
3988+
fill='#000000'
39893989
/>
39903990
</svg>
39913991
)

0 commit comments

Comments
 (0)