@arcadeai/design-system 3.41.1 → 3.42.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/icons/cursor.js +6 -9
- package/dist/assets/icons/mcp.js +2 -5
- package/dist/assets/icons/resend.js +10 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/tokens.css +1 -1
- package/dist/assets/variables.css +1 -1
- package/dist/components/index.js +387 -379
- package/dist/components/ui/atoms/compute-flow-paths.d.ts +21 -0
- package/dist/components/ui/atoms/compute-flow-paths.d.ts.map +1 -0
- package/dist/components/ui/atoms/compute-flow-paths.js +38 -0
- package/dist/components/ui/atoms/flow-connector.d.ts +48 -0
- package/dist/components/ui/atoms/flow-connector.d.ts.map +1 -0
- package/dist/components/ui/atoms/flow-connector.js +153 -0
- package/dist/components/ui/atoms/flow-hub.d.ts +26 -0
- package/dist/components/ui/atoms/flow-hub.d.ts.map +1 -0
- package/dist/components/ui/atoms/flow-hub.js +34 -0
- package/dist/components/ui/atoms/flow-tile.d.ts +19 -0
- package/dist/components/ui/atoms/flow-tile.d.ts.map +1 -0
- package/dist/components/ui/atoms/flow-tile.js +49 -0
- package/dist/components/ui/atoms/icons/cursor.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/cursor.js +7 -7
- package/dist/components/ui/atoms/icons/index.d.ts +1 -0
- package/dist/components/ui/atoms/icons/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/index.js +88 -86
- package/dist/components/ui/atoms/icons/mcp.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/mcp.js +3 -4
- package/dist/components/ui/atoms/icons/resend.d.ts +4 -0
- package/dist/components/ui/atoms/icons/resend.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/resend.js +24 -0
- package/dist/components/ui/atoms/index.js +257 -255
- package/dist/components/ui/index.js +387 -379
- package/dist/components/ui/molecules/flow-diagram.d.ts +56 -0
- package/dist/components/ui/molecules/flow-diagram.d.ts.map +1 -0
- package/dist/components/ui/molecules/flow-diagram.js +232 -0
- package/dist/components/ui/molecules/index.d.ts +2 -0
- package/dist/components/ui/molecules/index.d.ts.map +1 -1
- package/dist/components/ui/molecules/index.js +42 -40
- package/dist/components/ui/molecules/requirement-badges.js +6 -4
- package/dist/components/ui/molecules/toolkit-card.js +1 -1
- package/dist/components/ui/templates/gateway-diagram.d.ts +28 -0
- package/dist/components/ui/templates/gateway-diagram.d.ts.map +1 -0
- package/dist/components/ui/templates/gateway-diagram.js +76 -0
- package/dist/components/ui/templates/index.d.ts +2 -0
- package/dist/components/ui/templates/index.d.ts.map +1 -1
- package/dist/components/ui/templates/index.js +31 -27
- package/dist/main.js +410 -400
- package/dist/metadata/index.d.ts +1 -0
- package/dist/metadata/index.d.ts.map +1 -1
- package/dist/metadata/index.js +25 -23
- package/dist/metadata/mcp-clients.d.ts +54 -0
- package/dist/metadata/mcp-clients.d.ts.map +1 -0
- package/dist/metadata/mcp-clients.js +23 -0
- package/dist/metadata/toolkit-icons.d.ts.map +1 -1
- package/dist/metadata/toolkit-icons.js +58 -56
- package/dist/metadata/toolkits.d.ts.map +1 -1
- package/dist/metadata/toolkits.js +13 -0
- package/dist/{toolkit-card-Dc104Z9e.js → toolkit-card-ryIR325K.js} +22 -20
- package/package.json +1 -1
package/dist/metadata/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/metadata/index.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAE9E,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/metadata/index.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAE9E,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
package/dist/metadata/index.js
CHANGED
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
import { PUBLIC_ICON_URL as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { PUBLIC_ICON_URL as T, PUBLIC_VIDEO_URL as r } from "./constants.js";
|
|
2
|
+
import { MCP_CLIENT_METADATA as e } from "./mcp-clients.js";
|
|
3
|
+
import { MCP_OAUTH2_PROVIDER as t, OAUTH2_PROVIDER as _, OAUTH_PROVIDERS as i, OAUTH_PROVIDER_CATALOGUE as A, OAuthId as R, OAuthProviderId as E, OTHER_OAUTH_PROVIDERS as U, PREBUILT_OAUTH_PROVIDERS as d } from "./oauth-providers.js";
|
|
4
|
+
import { TOOLKIT_ICON_MAP as C, getToolIconByToolkitName as f, getToolkitIcon as l, getToolkitIconByName as m } from "./toolkit-icons.js";
|
|
5
|
+
import { CATEGORIES as B, TOOLKITS as D, TOOLKIT_CATALOGUE as H } from "./toolkits.js";
|
|
6
|
+
import { findPrebuiltProviderById as p, findPrebuiltProviderByProviderId as x, findToolkitByName as N, isKnownToolkit as k, isPrebuiltProvider as u } from "./utils.js";
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
-
e as
|
|
9
|
-
|
|
8
|
+
B as CATEGORIES,
|
|
9
|
+
e as MCP_CLIENT_METADATA,
|
|
10
|
+
t as MCP_OAUTH2_PROVIDER,
|
|
11
|
+
_ as OAUTH2_PROVIDER,
|
|
10
12
|
i as OAUTH_PROVIDERS,
|
|
11
|
-
|
|
13
|
+
A as OAUTH_PROVIDER_CATALOGUE,
|
|
12
14
|
R as OAuthId,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
E as OAuthProviderId,
|
|
16
|
+
U as OTHER_OAUTH_PROVIDERS,
|
|
17
|
+
d as PREBUILT_OAUTH_PROVIDERS,
|
|
18
|
+
T as PUBLIC_ICON_URL,
|
|
19
|
+
r as PUBLIC_VIDEO_URL,
|
|
20
|
+
D as TOOLKITS,
|
|
21
|
+
H as TOOLKIT_CATALOGUE,
|
|
22
|
+
C as TOOLKIT_ICON_MAP,
|
|
23
|
+
p as findPrebuiltProviderById,
|
|
24
|
+
x as findPrebuiltProviderByProviderId,
|
|
25
|
+
N as findToolkitByName,
|
|
26
|
+
f as getToolIconByToolkitName,
|
|
25
27
|
l as getToolkitIcon,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
m as getToolkitIconByName,
|
|
29
|
+
k as isKnownToolkit,
|
|
28
30
|
u as isPrebuiltProvider
|
|
29
31
|
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Brand-asset metadata for MCP clients — label + icon component.
|
|
4
|
+
*
|
|
5
|
+
* Used by:
|
|
6
|
+
* - `GatewayDiagram` (templates) to render client tiles by id.
|
|
7
|
+
* - `@arcadeai/ui-kit/mcp-gateway-connect` to compose its richer
|
|
8
|
+
* MCP_CLIENTS registry (which adds auth types, config builders, deep
|
|
9
|
+
* links, etc.) — the brand metadata is canonicalised here so it can't
|
|
10
|
+
* drift across consumers.
|
|
11
|
+
*
|
|
12
|
+
* To add a new MCP client, add an entry here AND make sure the icon is
|
|
13
|
+
* exported from `@/components/ui/atoms/icons`.
|
|
14
|
+
*/
|
|
15
|
+
export declare const MCP_CLIENT_METADATA: {
|
|
16
|
+
readonly cursor: {
|
|
17
|
+
readonly label: "Cursor";
|
|
18
|
+
readonly Icon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
};
|
|
20
|
+
readonly vscode: {
|
|
21
|
+
readonly label: "VS Code";
|
|
22
|
+
readonly Icon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
};
|
|
24
|
+
readonly claude_code: {
|
|
25
|
+
readonly label: "Claude Code";
|
|
26
|
+
readonly Icon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
};
|
|
28
|
+
readonly claude_desktop: {
|
|
29
|
+
readonly label: "Claude Desktop";
|
|
30
|
+
readonly Icon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
};
|
|
32
|
+
readonly goose: {
|
|
33
|
+
readonly label: "Goose";
|
|
34
|
+
readonly Icon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
};
|
|
36
|
+
readonly windsurf: {
|
|
37
|
+
readonly label: "Windsurf";
|
|
38
|
+
readonly Icon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
};
|
|
40
|
+
readonly cline: {
|
|
41
|
+
readonly label: "Cline";
|
|
42
|
+
readonly Icon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
};
|
|
44
|
+
readonly gemini_cli: {
|
|
45
|
+
readonly label: "Gemini CLI";
|
|
46
|
+
readonly Icon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
};
|
|
48
|
+
readonly codex: {
|
|
49
|
+
readonly label: "Codex";
|
|
50
|
+
readonly Icon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export type McpClientId = keyof typeof MCP_CLIENT_METADATA;
|
|
54
|
+
//# sourceMappingURL=mcp-clients.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-clients.d.ts","sourceRoot":"","sources":["../../lib/metadata/mcp-clients.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGtC;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB/B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import { Claude as o } from "../components/ui/atoms/icons/claude.js";
|
|
3
|
+
import { Cline as e } from "../components/ui/atoms/icons/cline.js";
|
|
4
|
+
import { Cursor as l } from "../components/ui/atoms/icons/cursor.js";
|
|
5
|
+
import { Gemini as r } from "../components/ui/atoms/icons/gemini.js";
|
|
6
|
+
import { Goose as i } from "../components/ui/atoms/icons/goose.js";
|
|
7
|
+
import { Openai as m } from "../components/ui/atoms/icons/openai.js";
|
|
8
|
+
import { Vscode as n } from "../components/ui/atoms/icons/vscode.js";
|
|
9
|
+
import { Windsurf as c } from "../components/ui/atoms/icons/windsurf.js";
|
|
10
|
+
const b = {
|
|
11
|
+
cursor: { label: "Cursor", Icon: l },
|
|
12
|
+
vscode: { label: "VS Code", Icon: n },
|
|
13
|
+
claude_code: { label: "Claude Code", Icon: o },
|
|
14
|
+
claude_desktop: { label: "Claude Desktop", Icon: o },
|
|
15
|
+
goose: { label: "Goose", Icon: i },
|
|
16
|
+
windsurf: { label: "Windsurf", Icon: c },
|
|
17
|
+
cline: { label: "Cline", Icon: e },
|
|
18
|
+
gemini_cli: { label: "Gemini CLI", Icon: r },
|
|
19
|
+
codex: { label: "Codex", Icon: m }
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
b as MCP_CLIENT_METADATA
|
|
23
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolkit-icons.d.ts","sourceRoot":"","sources":["../../lib/metadata/toolkit-icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAItC,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,MAAM,CACnC,MAAM,EACN,CAAC,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAC,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"toolkit-icons.d.ts","sourceRoot":"","sources":["../../lib/metadata/toolkit-icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAItC,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,MAAM,CACnC,MAAM,EACN,CAAC,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAC,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO,CAgKtD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,GACzB,WAAW,MAAM,GAAG,SAAS,KAC5B,CAAC,CAAC,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAC,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO,CAYxD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAC/B,aAAa,MAAM,KAClB,CAAC,CAAC,KAAK,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,KAAK,KAAK,CAAC,YAAY,CAQxD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,GACnC,aAAa,MAAM,KAClB,CAAC,CAAC,KAAK,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,KAAK,KAAK,CAAC,YAAY,CAQxD,CAAC"}
|
|
@@ -99,36 +99,37 @@ import { Pylon as M } from "../components/ui/atoms/icons/pylon.js";
|
|
|
99
99
|
import { Quickbooks as ir } from "../components/ui/atoms/icons/quickbooks.js";
|
|
100
100
|
import { Railway as tr } from "../components/ui/atoms/icons/railway.js";
|
|
101
101
|
import { Reddit as mr } from "../components/ui/atoms/icons/reddit.js";
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
102
|
+
import { Resend as er } from "../components/ui/atoms/icons/resend.js";
|
|
103
|
+
import { Salesforce as pr } from "../components/ui/atoms/icons/salesforce.js";
|
|
104
|
+
import { Shopify as fr } from "../components/ui/atoms/icons/shopify.js";
|
|
105
|
+
import { Singlestore as ar } from "../components/ui/atoms/icons/singlestore.js";
|
|
105
106
|
import { Slack as C } from "../components/ui/atoms/icons/slack.js";
|
|
106
|
-
import { Snowflake as
|
|
107
|
-
import { Splunk as
|
|
108
|
-
import { Spotify as
|
|
107
|
+
import { Snowflake as lr } from "../components/ui/atoms/icons/snowflake.js";
|
|
108
|
+
import { Splunk as sr } from "../components/ui/atoms/icons/splunk.js";
|
|
109
|
+
import { Spotify as nr } from "../components/ui/atoms/icons/spotify.js";
|
|
109
110
|
import { Square as p } from "../components/ui/atoms/icons/square.js";
|
|
110
|
-
import { Squarespace as
|
|
111
|
-
import { Squareup as
|
|
111
|
+
import { Squarespace as cr } from "../components/ui/atoms/icons/squarespace.js";
|
|
112
|
+
import { Squareup as ur } from "../components/ui/atoms/icons/squareup.js";
|
|
112
113
|
import { Stripe as G } from "../components/ui/atoms/icons/stripe.js";
|
|
113
|
-
import { Telegram as
|
|
114
|
-
import { Ticktick as
|
|
115
|
-
import { Tiktok as
|
|
116
|
-
import { Trello as
|
|
117
|
-
import { Twilio as
|
|
118
|
-
import { Twitch as
|
|
119
|
-
import { Vercel as
|
|
120
|
-
import { Walmart as
|
|
121
|
-
import { Weaviate as
|
|
122
|
-
import { Workday as
|
|
123
|
-
import { Wrike as
|
|
124
|
-
import { X as
|
|
114
|
+
import { Telegram as gr } from "../components/ui/atoms/icons/telegram.js";
|
|
115
|
+
import { Ticktick as kr } from "../components/ui/atoms/icons/ticktick.js";
|
|
116
|
+
import { Tiktok as Ar } from "../components/ui/atoms/icons/tiktok.js";
|
|
117
|
+
import { Trello as dr } from "../components/ui/atoms/icons/trello.js";
|
|
118
|
+
import { Twilio as br } from "../components/ui/atoms/icons/twilio.js";
|
|
119
|
+
import { Twitch as hr } from "../components/ui/atoms/icons/twitch.js";
|
|
120
|
+
import { Vercel as Mr } from "../components/ui/atoms/icons/vercel.js";
|
|
121
|
+
import { Walmart as Cr } from "../components/ui/atoms/icons/walmart.js";
|
|
122
|
+
import { Weaviate as Gr } from "../components/ui/atoms/icons/weaviate.js";
|
|
123
|
+
import { Workday as yr } from "../components/ui/atoms/icons/workday.js";
|
|
124
|
+
import { Wrike as Sr } from "../components/ui/atoms/icons/wrike.js";
|
|
125
|
+
import { X as Br } from "../components/ui/atoms/icons/x.js";
|
|
125
126
|
import { Xero as y } from "../components/ui/atoms/icons/xero.js";
|
|
126
|
-
import { Youtube as
|
|
127
|
-
import { Yugabytedb as
|
|
128
|
-
import { Zendesk as
|
|
129
|
-
import { ZohoBooks as
|
|
130
|
-
import { ZohoCreator as
|
|
131
|
-
import { Zoom as
|
|
127
|
+
import { Youtube as Pr } from "../components/ui/atoms/icons/youtube.js";
|
|
128
|
+
import { Yugabytedb as Tr } from "../components/ui/atoms/icons/yugabytedb.js";
|
|
129
|
+
import { Zendesk as Dr } from "../components/ui/atoms/icons/zendesk.js";
|
|
130
|
+
import { ZohoBooks as Or } from "../components/ui/atoms/icons/zoho-books.js";
|
|
131
|
+
import { ZohoCreator as wr } from "../components/ui/atoms/icons/zoho-creator.js";
|
|
132
|
+
import { Zoom as Hr } from "../components/ui/atoms/icons/zoom.js";
|
|
132
133
|
import { findToolkitByName as P } from "./utils.js";
|
|
133
134
|
const S = {
|
|
134
135
|
ADPWorkforceNow: D,
|
|
@@ -253,41 +254,42 @@ const S = {
|
|
|
253
254
|
Quickbooks: ir,
|
|
254
255
|
Railway: tr,
|
|
255
256
|
Reddit: mr,
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
257
|
+
Resend: er,
|
|
258
|
+
Salesforce: pr,
|
|
259
|
+
Shopify: fr,
|
|
260
|
+
Singlestore: ar,
|
|
259
261
|
Slack: C,
|
|
260
262
|
SlackApi: C,
|
|
261
|
-
Snowflake:
|
|
262
|
-
Splunk:
|
|
263
|
-
Spotify:
|
|
263
|
+
Snowflake: lr,
|
|
264
|
+
Splunk: sr,
|
|
265
|
+
Spotify: nr,
|
|
264
266
|
Square: p,
|
|
265
|
-
Squareup:
|
|
267
|
+
Squareup: ur,
|
|
266
268
|
SquareupApi: p,
|
|
267
269
|
SquareUpApi: p,
|
|
268
|
-
Squarespace:
|
|
270
|
+
Squarespace: cr,
|
|
269
271
|
Stripe: G,
|
|
270
272
|
StripeApi: G,
|
|
271
|
-
Telegram:
|
|
272
|
-
Tiktok:
|
|
273
|
-
TickTickApi:
|
|
274
|
-
TrelloApi:
|
|
275
|
-
Twilio:
|
|
276
|
-
Twitch:
|
|
277
|
-
Vercel:
|
|
278
|
-
Walmart:
|
|
279
|
-
WeaviateApi:
|
|
280
|
-
Workday:
|
|
281
|
-
Wrike:
|
|
282
|
-
X:
|
|
273
|
+
Telegram: gr,
|
|
274
|
+
Tiktok: Ar,
|
|
275
|
+
TickTickApi: kr,
|
|
276
|
+
TrelloApi: dr,
|
|
277
|
+
Twilio: br,
|
|
278
|
+
Twitch: hr,
|
|
279
|
+
Vercel: Mr,
|
|
280
|
+
Walmart: Cr,
|
|
281
|
+
WeaviateApi: Gr,
|
|
282
|
+
Workday: yr,
|
|
283
|
+
Wrike: Sr,
|
|
284
|
+
X: Br,
|
|
283
285
|
Xero: y,
|
|
284
286
|
XeroApi: y,
|
|
285
|
-
YugabyteDB:
|
|
286
|
-
ZohoBooksApi:
|
|
287
|
-
ZohoCreatorApi:
|
|
288
|
-
Youtube:
|
|
289
|
-
Zendesk:
|
|
290
|
-
Zoom:
|
|
287
|
+
YugabyteDB: Tr,
|
|
288
|
+
ZohoBooksApi: Or,
|
|
289
|
+
ZohoCreatorApi: wr,
|
|
290
|
+
Youtube: Pr,
|
|
291
|
+
Zendesk: Dr,
|
|
292
|
+
Zoom: Hr
|
|
291
293
|
}, T = (r) => {
|
|
292
294
|
if (!r)
|
|
293
295
|
return n;
|
|
@@ -295,16 +297,16 @@ const S = {
|
|
|
295
297
|
(m) => m.toLowerCase() === t
|
|
296
298
|
);
|
|
297
299
|
return i ? S[i] : n;
|
|
298
|
-
},
|
|
300
|
+
}, tm = (r) => {
|
|
299
301
|
const t = P(r), i = T(t?.id);
|
|
300
302
|
return ({ className: m }) => /* @__PURE__ */ B(i, { className: m });
|
|
301
|
-
},
|
|
303
|
+
}, mm = (r) => {
|
|
302
304
|
const t = P(r), i = T(t?.id);
|
|
303
305
|
return ({ className: m }) => /* @__PURE__ */ B(i, { className: m });
|
|
304
306
|
};
|
|
305
307
|
export {
|
|
306
308
|
S as TOOLKIT_ICON_MAP,
|
|
307
|
-
|
|
309
|
+
mm as getToolIconByToolkitName,
|
|
308
310
|
T as getToolkitIcon,
|
|
309
|
-
|
|
311
|
+
tm as getToolkitIconByName
|
|
310
312
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolkits.d.ts","sourceRoot":"","sources":["../../lib/metadata/toolkits.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEjD,eAAO,MAAM,UAAU,EAAE,QAAQ,EAWhC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"toolkits.d.ts","sourceRoot":"","sources":["../../lib/metadata/toolkits.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEjD,eAAO,MAAM,UAAU,EAAE,QAAQ,EAWhC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,OAAO,EAulE7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAMrD,CAAC"}
|
|
@@ -1558,6 +1558,19 @@ const r = [
|
|
|
1558
1558
|
isComingSoon: !1,
|
|
1559
1559
|
isHidden: !1
|
|
1560
1560
|
},
|
|
1561
|
+
{
|
|
1562
|
+
id: "Resend",
|
|
1563
|
+
label: "Resend",
|
|
1564
|
+
isBYOC: !1,
|
|
1565
|
+
isPro: !1,
|
|
1566
|
+
publicIconUrl: `${e}/resend.svg`,
|
|
1567
|
+
docsLink: "https://docs.arcade.dev/en/resources/integrations/productivity/resend",
|
|
1568
|
+
relativeDocsLink: "/en/resources/integrations/productivity/resend",
|
|
1569
|
+
category: "productivity",
|
|
1570
|
+
type: "arcade",
|
|
1571
|
+
isComingSoon: !1,
|
|
1572
|
+
isHidden: !1
|
|
1573
|
+
},
|
|
1561
1574
|
{
|
|
1562
1575
|
id: "Salesforce",
|
|
1563
1576
|
label: "Salesforce",
|
|
@@ -22,6 +22,8 @@ import "./components/ui/molecules/prompt-input.js";
|
|
|
22
22
|
import "./components/ui/molecules/tool-call-accordion.js";
|
|
23
23
|
import "./components/ui/molecules/tool-card.js";
|
|
24
24
|
import { areStringArraysEqual as h, createPropsComparator as B } from "./components/ui/utils/memo.js";
|
|
25
|
+
import "./metadata/oauth-providers.js";
|
|
26
|
+
import "./metadata/toolkits.js";
|
|
25
27
|
const F = ({
|
|
26
28
|
secrets: r,
|
|
27
29
|
className: a
|
|
@@ -64,14 +66,14 @@ const F = ({
|
|
|
64
66
|
oauth: r,
|
|
65
67
|
className: a
|
|
66
68
|
}) => {
|
|
67
|
-
const s = r.providers.filter((
|
|
69
|
+
const s = r.providers.filter((o) => o.status === "active").length, t = r.providers.length - s > 0, l = /* @__PURE__ */ i("div", { className: "space-y-3", children: [
|
|
68
70
|
/* @__PURE__ */ e("div", { className: "font-medium text-gray-900 dark:text-gray-100", children: "OAuth Authorization" }),
|
|
69
|
-
r.providers.map((
|
|
70
|
-
/* @__PURE__ */ e("span", { className: "font-medium", children:
|
|
71
|
+
r.providers.map((o) => /* @__PURE__ */ i("div", { className: "text-gray-700 text-xs dark:text-gray-300", children: [
|
|
72
|
+
/* @__PURE__ */ e("span", { className: "font-medium", children: o.id }),
|
|
71
73
|
" ",
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
] },
|
|
74
|
+
o.status === "active" ? /* @__PURE__ */ e("span", { className: "text-emerald-700 dark:text-emerald-300", children: "(active)" }) : /* @__PURE__ */ e("span", { className: "text-red-700 dark:text-red-300", children: "(inactive)" }),
|
|
75
|
+
o.scopes.length > 0 && /* @__PURE__ */ e("div", { className: "mt-1 pl-3 text-gray-600 dark:text-gray-400", children: o.scopes.join(", ") })
|
|
76
|
+
] }, o.id))
|
|
75
77
|
] });
|
|
76
78
|
return /* @__PURE__ */ i(v, { children: [
|
|
77
79
|
/* @__PURE__ */ i(
|
|
@@ -132,8 +134,8 @@ const G = f.memo(F, (r, a) => r.className !== a.className ? !1 : r.secrets === a
|
|
|
132
134
|
if (s.length !== n.length)
|
|
133
135
|
return !1;
|
|
134
136
|
for (let t = 0; t < s.length; t++) {
|
|
135
|
-
const l = s[t],
|
|
136
|
-
if (!(l.id ===
|
|
137
|
+
const l = s[t], o = n[t];
|
|
138
|
+
if (!(l.id === o.id && l.status === o.status) || !h(l.scopes, o.scopes))
|
|
137
139
|
return !1;
|
|
138
140
|
}
|
|
139
141
|
return !0;
|
|
@@ -176,7 +178,7 @@ function X({
|
|
|
176
178
|
Icon: n = (p) => /* @__PURE__ */ e($, { ...p }),
|
|
177
179
|
isSelected: t = !1,
|
|
178
180
|
isPartiallySelected: l = !1,
|
|
179
|
-
selectedToolsCount:
|
|
181
|
+
selectedToolsCount: o = 0,
|
|
180
182
|
requirementsSummary: x,
|
|
181
183
|
onSelect: g,
|
|
182
184
|
onView: c,
|
|
@@ -191,9 +193,9 @@ function X({
|
|
|
191
193
|
return;
|
|
192
194
|
}
|
|
193
195
|
g?.(!(t || l));
|
|
194
|
-
}, [u, t, l, g, c]), T = (
|
|
195
|
-
const q =
|
|
196
|
-
(q || E) && (
|
|
196
|
+
}, [u, t, l, g, c]), T = (d) => {
|
|
197
|
+
const q = d.key === "Enter" || d.code === "Enter", E = d.key === " " || d.key === "Spacebar" || d.code === "Space";
|
|
198
|
+
(q || E) && (d.preventDefault(), p()), (d.key === "ArrowRight" || d.code === "ArrowRight") && c && (d.preventDefault(), c());
|
|
197
199
|
}, b = l && !t;
|
|
198
200
|
return /* @__PURE__ */ e(
|
|
199
201
|
D,
|
|
@@ -222,8 +224,8 @@ function X({
|
|
|
222
224
|
partial: l
|
|
223
225
|
})
|
|
224
226
|
),
|
|
225
|
-
onClick: (
|
|
226
|
-
|
|
227
|
+
onClick: (d) => {
|
|
228
|
+
d.target.closest('[data-slot="checkbox-wrapper"]') || p();
|
|
227
229
|
},
|
|
228
230
|
onKeyDown: T,
|
|
229
231
|
tabIndex: 0,
|
|
@@ -247,8 +249,8 @@ function X({
|
|
|
247
249
|
{
|
|
248
250
|
checked: t,
|
|
249
251
|
indeterminate: l && !t,
|
|
250
|
-
onCheckedChange: (
|
|
251
|
-
g?.(
|
|
252
|
+
onCheckedChange: (d) => {
|
|
253
|
+
g?.(d === !0);
|
|
252
254
|
},
|
|
253
255
|
tabIndex: -1
|
|
254
256
|
}
|
|
@@ -271,7 +273,7 @@ function X({
|
|
|
271
273
|
indeterminate: b,
|
|
272
274
|
name: r,
|
|
273
275
|
onClick: () => c(),
|
|
274
|
-
selectedCount:
|
|
276
|
+
selectedCount: o,
|
|
275
277
|
toolsCount: s
|
|
276
278
|
}
|
|
277
279
|
) : /* @__PURE__ */ i(
|
|
@@ -285,7 +287,7 @@ function X({
|
|
|
285
287
|
/* @__PURE__ */ e("span", { children: M(
|
|
286
288
|
l,
|
|
287
289
|
t,
|
|
288
|
-
|
|
290
|
+
o,
|
|
289
291
|
s
|
|
290
292
|
) })
|
|
291
293
|
]
|
|
@@ -319,7 +321,7 @@ const Y = B([
|
|
|
319
321
|
"isByoc",
|
|
320
322
|
"isPro",
|
|
321
323
|
"hideCheckbox"
|
|
322
|
-
]),
|
|
324
|
+
]), ye = f.memo(
|
|
323
325
|
X,
|
|
324
326
|
Y
|
|
325
327
|
);
|
|
@@ -327,5 +329,5 @@ export {
|
|
|
327
329
|
H as O,
|
|
328
330
|
J as R,
|
|
329
331
|
G as S,
|
|
330
|
-
|
|
332
|
+
ye as T
|
|
331
333
|
};
|