@arcadeai/design-system 1.2.0 → 1.3.0

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.
Files changed (113) hide show
  1. package/dist/arcade-49z5mR1G.js +1541 -0
  2. package/dist/assets/icons/arcade.d.ts +3 -0
  3. package/dist/assets/icons/arcade.js +33 -0
  4. package/dist/assets/icons/google-docs.js +110 -120
  5. package/dist/assets/icons/index.d.ts +1 -0
  6. package/dist/assets/icons/index.js +124 -122
  7. package/dist/assets/icons/utils.d.ts +26 -0
  8. package/dist/assets/icons/utils.js +155 -138
  9. package/dist/components/index.js +62 -48
  10. package/dist/components/ui/atoms/accordion.js +1 -1
  11. package/dist/components/ui/atoms/alert.js +2 -2
  12. package/dist/components/ui/atoms/avatar.js +1 -1
  13. package/dist/components/ui/atoms/badge.js +2 -2
  14. package/dist/components/ui/atoms/breadcrumb.js +13 -15
  15. package/dist/components/ui/atoms/button.js +2 -2
  16. package/dist/components/ui/atoms/byoc-badge.js +2 -2
  17. package/dist/components/ui/atoms/card.js +1 -1
  18. package/dist/components/ui/atoms/chart.js +1 -1
  19. package/dist/components/ui/atoms/checkbox.js +1 -1
  20. package/dist/components/ui/atoms/command.js +2 -2
  21. package/dist/components/ui/atoms/dialog.js +8 -8
  22. package/dist/components/ui/atoms/dropdown-menu.js +2 -2
  23. package/dist/components/ui/atoms/form.d.ts +1 -1
  24. package/dist/components/ui/atoms/form.js +8 -7
  25. package/dist/components/ui/atoms/hover-card.js +2 -2
  26. package/dist/components/ui/atoms/index.js +14 -13
  27. package/dist/components/ui/atoms/input.js +1 -1
  28. package/dist/components/ui/atoms/label.js +1 -1
  29. package/dist/components/ui/atoms/popover.js +2 -2
  30. package/dist/components/ui/atoms/pro-badge.js +2 -2
  31. package/dist/components/ui/atoms/progress.js +1 -1
  32. package/dist/components/ui/atoms/radio-group.js +1 -1
  33. package/dist/components/ui/atoms/resizable.js +24 -1527
  34. package/dist/components/ui/atoms/scroll-area.js +1 -1
  35. package/dist/components/ui/atoms/select.js +2 -2
  36. package/dist/components/ui/atoms/separator.js +1 -1
  37. package/dist/components/ui/atoms/sheet.js +2 -2
  38. package/dist/components/ui/atoms/sidebar.js +3 -3
  39. package/dist/components/ui/atoms/skeleton.js +1 -1
  40. package/dist/components/ui/atoms/slider.js +1 -1
  41. package/dist/components/ui/atoms/switch.js +1 -1
  42. package/dist/components/ui/atoms/table.js +1 -1
  43. package/dist/components/ui/atoms/tabs.js +1 -1
  44. package/dist/components/ui/atoms/textarea.js +1 -1
  45. package/dist/components/ui/atoms/toggle.js +2 -2
  46. package/dist/components/ui/atoms/tooltip.js +60 -60
  47. package/dist/components/ui/atoms/view-tools-control.d.ts +12 -0
  48. package/dist/components/ui/atoms/view-tools-control.js +53 -0
  49. package/dist/components/ui/index.d.ts +2 -0
  50. package/dist/components/ui/index.js +62 -48
  51. package/dist/components/ui/molecules/empty-state.d.ts +5 -0
  52. package/dist/components/ui/molecules/empty-state.js +25 -0
  53. package/dist/components/ui/molecules/index.d.ts +6 -0
  54. package/dist/components/ui/molecules/index.js +13 -0
  55. package/dist/components/ui/molecules/requirement-badges.d.ts +29 -0
  56. package/dist/components/ui/molecules/requirement-badges.js +24 -0
  57. package/dist/components/ui/molecules/tool-card.d.ts +17 -0
  58. package/dist/components/ui/molecules/tool-card.js +127 -0
  59. package/dist/components/ui/molecules/toolkit-card.d.ts +24 -0
  60. package/dist/components/ui/molecules/toolkit-card.js +13 -0
  61. package/dist/components/ui/molecules/toolkit-picker-trigger.d.ts +8 -0
  62. package/dist/components/ui/molecules/toolkit-picker-trigger.js +96 -0
  63. package/dist/components/ui/molecules/toolkit-selection-summary.d.ts +10 -0
  64. package/dist/components/ui/molecules/toolkit-selection-summary.js +117 -0
  65. package/dist/components/ui/organisms/index.d.ts +1 -0
  66. package/dist/components/ui/organisms/index.js +4 -0
  67. package/dist/components/ui/organisms/toolkit-picker/components/footer-summary.d.ts +1 -0
  68. package/dist/components/ui/organisms/toolkit-picker/components/footer-summary.js +36 -0
  69. package/dist/components/ui/organisms/toolkit-picker/components/mobile-filter-badges.d.ts +1 -0
  70. package/dist/components/ui/organisms/toolkit-picker/components/mobile-filter-badges.js +96 -0
  71. package/dist/components/ui/organisms/toolkit-picker/components/search-input.d.ts +1 -0
  72. package/dist/components/ui/organisms/toolkit-picker/components/search-input.js +36 -0
  73. package/dist/components/ui/organisms/toolkit-picker/components/select-button.d.ts +9 -0
  74. package/dist/components/ui/organisms/toolkit-picker/components/select-button.js +35 -0
  75. package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.d.ts +9 -0
  76. package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.js +36 -0
  77. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-filter.test.d.ts +1 -0
  78. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-filter.test.js +44 -0
  79. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-search.test.d.ts +1 -0
  80. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-search.test.js +46 -0
  81. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-selection.test.d.ts +1 -0
  82. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-selection.test.js +28 -0
  83. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker.d.ts +40 -0
  84. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker.js +267 -0
  85. package/dist/components/ui/organisms/toolkit-picker/index.d.ts +14 -0
  86. package/dist/components/ui/organisms/toolkit-picker/index.js +16 -0
  87. package/dist/components/ui/organisms/toolkit-picker/mocks/toolkit-collection.d.ts +7 -0
  88. package/dist/components/ui/organisms/toolkit-picker/mocks/toolkit-collection.js +432 -0
  89. package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.d.ts +2 -0
  90. package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.js +395 -0
  91. package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.test.d.ts +0 -0
  92. package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.test.js +12832 -0
  93. package/dist/components/ui/utils/memo.d.ts +2 -0
  94. package/dist/components/ui/utils/memo.js +25 -0
  95. package/dist/{index-CQhYMnjT.js → index-BDE30rcJ.js} +1 -1
  96. package/dist/{index-PlrlSrPo.js → index-DEJd-dpa.js} +1 -1
  97. package/dist/{index-BSWzylXR.js → index-Ez2mlmzx.js} +2 -2
  98. package/dist/lib/arcade/arcade.d.ts +100 -0
  99. package/dist/lib/arcade/arcade.js +5 -0
  100. package/dist/lib/arcade/arcade.test.d.ts +1 -0
  101. package/dist/lib/arcade/arcade.test.js +299 -0
  102. package/dist/lib/arcade/mocks.d.ts +2 -0
  103. package/dist/lib/arcade/mocks.js +547 -0
  104. package/dist/lib/utils.d.ts +1 -0
  105. package/dist/lib/utils.js +3 -2
  106. package/dist/magic-string.es-BQ9KnLz-.js +659 -0
  107. package/dist/main.js +62 -48
  108. package/dist/react-resizable-panels.browser-ZHjTH32c.js +1509 -0
  109. package/dist/react.esm-369wBsAv.js +35565 -0
  110. package/dist/toolkit-card-GhM_oj4G.js +304 -0
  111. package/dist/{utils-CRiPKpXj.js → utils-Db4QWi-E.js} +204 -189
  112. package/dist/vi.bdSIJ99Y-CZgZQPWH.js +11996 -0
  113. package/package.json +49 -39
@@ -1,47 +1,47 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { Globe as z, Search as S, Calculator as k } from "lucide-react";
3
- import { Asana as c } from "./asana.js";
4
- import { Atlassian as N } from "./atlassian.js";
5
- import { Confluence as _ } from "./confluence.js";
6
- import { Discord as T } from "./discord.js";
7
- import { Dropbox as n } from "./dropbox.js";
8
- import { E2B as D } from "./e2b.js";
9
- import { Firecrawl as O } from "./firecrawl.js";
10
- import { Github as l } from "./github.js";
11
- import { Gmail as L } from "./gmail.js";
12
- import { Google as s } from "./google.js";
13
- import { GoogleCalendar as x } from "./google-calendar.js";
14
- import { GoogleContacts as y } from "./google-contacts.js";
15
- import { GoogleDocs as H } from "./google-docs.js";
16
- import { GoogleDrive as R } from "./google-drive.js";
17
- import { GoogleFinance as M } from "./google-finance.js";
18
- import { GoogleFlight as C } from "./google-flight.js";
19
- import { GoogleHotels as P } from "./google-hotels.js";
20
- import { GoogleMaps as I } from "./google-maps.js";
21
- import { GoogleNews as X } from "./google-news.js";
22
- import { GoogleSheets as Z } from "./google-sheets.js";
23
- import { GoogleShopping as E } from "./google-shopping.js";
24
- import { HubSpot as m } from "./hubspot.js";
25
- import { Jira as F } from "./jira.js";
26
- import { Linear as p } from "./linear.js";
27
- import { LinkedIn as h } from "./linkedin.js";
28
- import { Microsoft as u } from "./microsoft.js";
29
- import { Notion as g } from "./notion.js";
30
- import { OAuth as U } from "./oauth.js";
31
- import { OutlookCalendar as B } from "./outlook-calendar.js";
32
- import { OutlookMail as j } from "./outlook-mail.js";
33
- import { Reddit as b } from "./reddit.js";
34
- import { Salesforce as J } from "./salesforce.js";
35
- import { Slack as f } from "./slack.js";
36
- import { Spotify as v } from "./spotify.js";
37
- import { Stripe as V } from "./stripe.js";
38
- import { Twilio as W } from "./twilio.js";
39
- import { Twitch as A } from "./twitch.js";
40
- import { Walmart as Y } from "./walmart.js";
41
- import { X as G } from "./x.js";
42
- import { YouTube as K } from "./youtube.js";
43
- import { Zoom as w } from "./zoom.js";
44
- import { c as e } from "../../utils-CRiPKpXj.js";
2
+ import { Package as N, Wrench as T, Globe as _, Search as O, Calculator as y } from "lucide-react";
3
+ import { Asana as l } from "./asana.js";
4
+ import { Atlassian as L } from "./atlassian.js";
5
+ import { Confluence as D } from "./confluence.js";
6
+ import { Discord as x } from "./discord.js";
7
+ import { Dropbox as m } from "./dropbox.js";
8
+ import { E2B as C } from "./e2b.js";
9
+ import { Firecrawl as H } from "./firecrawl.js";
10
+ import { Github as p } from "./github.js";
11
+ import { Gmail as R } from "./gmail.js";
12
+ import { Google as n } from "./google.js";
13
+ import { GoogleCalendar as M } from "./google-calendar.js";
14
+ import { GoogleContacts as P } from "./google-contacts.js";
15
+ import { GoogleDocs as I } from "./google-docs.js";
16
+ import { GoogleDrive as E } from "./google-drive.js";
17
+ import { GoogleFinance as X } from "./google-finance.js";
18
+ import { GoogleFlight as Z } from "./google-flight.js";
19
+ import { GoogleHotels as B } from "./google-hotels.js";
20
+ import { GoogleMaps as F } from "./google-maps.js";
21
+ import { GoogleNews as U } from "./google-news.js";
22
+ import { GoogleSheets as j } from "./google-sheets.js";
23
+ import { GoogleShopping as W } from "./google-shopping.js";
24
+ import { HubSpot as h } from "./hubspot.js";
25
+ import { Jira as J } from "./jira.js";
26
+ import { Linear as u } from "./linear.js";
27
+ import { LinkedIn as g } from "./linkedin.js";
28
+ import { Microsoft as b } from "./microsoft.js";
29
+ import { Notion as f } from "./notion.js";
30
+ import { OAuth as K } from "./oauth.js";
31
+ import { OutlookCalendar as V } from "./outlook-calendar.js";
32
+ import { OutlookMail as Y } from "./outlook-mail.js";
33
+ import { Reddit as v } from "./reddit.js";
34
+ import { Salesforce as q } from "./salesforce.js";
35
+ import { Slack as A } from "./slack.js";
36
+ import { Spotify as w } from "./spotify.js";
37
+ import { Stripe as Q } from "./stripe.js";
38
+ import { Twilio as $ } from "./twilio.js";
39
+ import { Twitch as G } from "./twitch.js";
40
+ import { Walmart as oo } from "./walmart.js";
41
+ import { X as k } from "./x.js";
42
+ import { YouTube as io } from "./youtube.js";
43
+ import { Zoom as z } from "./zoom.js";
44
+ import { c as t } from "../../utils-Db4QWi-E.js";
45
45
  const a = {
46
46
  Asana: "arcade-asana",
47
47
  Atlassian: "arcade-atlassian",
@@ -63,7 +63,7 @@ const a = {
63
63
  Twitch: "arcade-twitch",
64
64
  X: "arcade-x",
65
65
  Zoom: "arcade-zoom"
66
- }, t = {
66
+ }, r = {
67
67
  Asana: "asana",
68
68
  Atlassian: "atlassian",
69
69
  Discord: "discord",
@@ -87,336 +87,353 @@ const a = {
87
87
  }, d = [
88
88
  {
89
89
  id: a.Asana,
90
- provider_id: t.Asana,
90
+ provider_id: r.Asana,
91
91
  name: "Asana",
92
92
  description: "Authorize tools and agents with Asana",
93
- icon: ({ className: o }) => /* @__PURE__ */ i(c, { className: e("size-6", o) }),
93
+ icon: ({ className: o }) => /* @__PURE__ */ i(l, { className: t("size-6", o) }),
94
94
  docs: "https://docs.arcade.dev/home/auth-providers/asana"
95
95
  },
96
96
  {
97
97
  id: a.Atlassian,
98
- provider_id: t.Atlassian,
98
+ provider_id: r.Atlassian,
99
99
  name: "Atlassian",
100
100
  description: "Authorize tools and agents with Atlassian",
101
- icon: ({ className: o }) => /* @__PURE__ */ i(N, { className: e("size-6", o) }),
101
+ icon: ({ className: o }) => /* @__PURE__ */ i(L, { className: t("size-6", o) }),
102
102
  docs: "https://docs.arcade.dev/home/auth-providers/atlassian"
103
103
  },
104
104
  {
105
105
  id: a.Discord,
106
- provider_id: t.Discord,
106
+ provider_id: r.Discord,
107
107
  name: "Discord",
108
108
  description: "Authorize tools and agents with Discord in a user's context",
109
- icon: ({ className: o }) => /* @__PURE__ */ i(T, { className: e("size-6", o) }),
109
+ icon: ({ className: o }) => /* @__PURE__ */ i(x, { className: t("size-6", o) }),
110
110
  docs: "https://docs.arcade.dev/home/auth-providers/discord"
111
111
  },
112
112
  {
113
113
  id: a.Dropbox,
114
- provider_id: t.Dropbox,
114
+ provider_id: r.Dropbox,
115
115
  name: "Dropbox",
116
116
  description: "Authorize tools and agents with Dropbox",
117
- icon: ({ className: o }) => /* @__PURE__ */ i(n, { className: e("size-6", o) }),
117
+ icon: ({ className: o }) => /* @__PURE__ */ i(m, { className: t("size-6", o) }),
118
118
  docs: "https://docs.arcade.dev/home/auth-providers/dropbox"
119
119
  },
120
120
  {
121
121
  id: a.Github,
122
- provider_id: t.Github,
122
+ provider_id: r.Github,
123
123
  name: "GitHub",
124
124
  description: "Authorize tools and agents with GitHub, including private repositories",
125
- icon: ({ className: o }) => /* @__PURE__ */ i(l, { className: e("size-6 invert dark:invert-0", o) }),
125
+ icon: ({ className: o }) => /* @__PURE__ */ i(p, { className: t("size-6 invert dark:invert-0", o) }),
126
126
  docs: "https://docs.arcade.dev/home/auth-providers/github"
127
127
  },
128
128
  {
129
129
  id: a.Google,
130
- provider_id: t.Google,
130
+ provider_id: r.Google,
131
131
  name: "Google",
132
132
  description: "Authorize tools and agents with Google: Gmail, Calendar, YouTube, Drive, and more",
133
- icon: ({ className: o }) => /* @__PURE__ */ i(s, { className: e("size-6", o) }),
133
+ icon: ({ className: o }) => /* @__PURE__ */ i(n, { className: t("size-6", o) }),
134
134
  docs: "https://docs.arcade.dev/home/auth-providers/google"
135
135
  },
136
136
  {
137
137
  id: a.Hubspot,
138
- provider_id: t.Hubspot,
138
+ provider_id: r.Hubspot,
139
139
  name: "HubSpot",
140
140
  description: "Authorize tools and agents with HubSpot",
141
- icon: ({ className: o }) => /* @__PURE__ */ i(m, { className: e("size-6", o) }),
141
+ icon: ({ className: o }) => /* @__PURE__ */ i(h, { className: t("size-6", o) }),
142
142
  docs: "https://docs.arcade.dev/home/auth-providers/hubspot"
143
143
  },
144
144
  {
145
145
  id: a.Linear,
146
- provider_id: t.Linear,
146
+ provider_id: r.Linear,
147
147
  name: "Linear",
148
148
  description: "Authorize tools and agents with Linear",
149
- icon: ({ className: o }) => /* @__PURE__ */ i(p, { className: e("size-6", o) }),
149
+ icon: ({ className: o }) => /* @__PURE__ */ i(u, { className: t("size-6", o) }),
150
150
  docs: "https://docs.arcade.dev/home/auth-providers/linear"
151
151
  },
152
152
  {
153
153
  id: a.Linkedin,
154
- provider_id: t.Linkedin,
154
+ provider_id: r.Linkedin,
155
155
  name: "LinkedIn",
156
156
  description: "Authorize tools and agents with LinkedIn",
157
- icon: ({ className: o }) => /* @__PURE__ */ i(h, { className: e("size-6", o) }),
157
+ icon: ({ className: o }) => /* @__PURE__ */ i(g, { className: t("size-6", o) }),
158
158
  docs: "https://docs.arcade.dev/home/auth-providers/linkedin"
159
159
  },
160
160
  {
161
161
  id: a.Microsoft,
162
- provider_id: t.Microsoft,
162
+ provider_id: r.Microsoft,
163
163
  name: "Microsoft",
164
164
  description: "Authorize tools and agents with Microsoft",
165
- icon: ({ className: o }) => /* @__PURE__ */ i(u, { className: e("size-6", o) }),
165
+ icon: ({ className: o }) => /* @__PURE__ */ i(b, { className: t("size-6", o) }),
166
166
  docs: "https://docs.arcade.dev/home/auth-providers/microsoft"
167
167
  },
168
168
  {
169
169
  id: a.Notion,
170
- provider_id: t.Notion,
170
+ provider_id: r.Notion,
171
171
  name: "Notion",
172
172
  description: "Authorize tools and agents with Notion",
173
- icon: ({ className: o }) => /* @__PURE__ */ i(g, { className: e("size-6", o) }),
173
+ icon: ({ className: o }) => /* @__PURE__ */ i(f, { className: t("size-6", o) }),
174
174
  docs: "https://docs.arcade.dev/home/auth-providers/notion"
175
175
  },
176
176
  {
177
177
  id: a.Reddit,
178
- provider_id: t.Reddit,
178
+ provider_id: r.Reddit,
179
179
  name: "Reddit",
180
180
  description: "Authorize tools and agents with Reddit",
181
- icon: ({ className: o }) => /* @__PURE__ */ i(b, { className: e("size-6", o) }),
181
+ icon: ({ className: o }) => /* @__PURE__ */ i(v, { className: t("size-6", o) }),
182
182
  docs: "https://docs.arcade.dev/home/auth-providers/reddit"
183
183
  },
184
184
  {
185
185
  id: a.Slack,
186
- provider_id: t.Slack,
186
+ provider_id: r.Slack,
187
187
  name: "Slack",
188
188
  description: "Authorize tools and agents with Slack",
189
- icon: ({ className: o }) => /* @__PURE__ */ i(f, { className: e("size-6", o) }),
189
+ icon: ({ className: o }) => /* @__PURE__ */ i(A, { className: t("size-6", o) }),
190
190
  docs: "https://docs.arcade.dev/home/auth-providers/slack"
191
191
  },
192
192
  {
193
193
  id: a.Spotify,
194
- provider_id: t.Spotify,
194
+ provider_id: r.Spotify,
195
195
  name: "Spotify",
196
196
  description: "Authorize tools and agents with Spotify",
197
- icon: ({ className: o }) => /* @__PURE__ */ i(v, { className: e("size-6", o) }),
197
+ icon: ({ className: o }) => /* @__PURE__ */ i(w, { className: t("size-6", o) }),
198
198
  docs: "https://docs.arcade.dev/home/auth-providers/spotify"
199
199
  },
200
200
  {
201
201
  id: a.Twitch,
202
- provider_id: t.Twitch,
202
+ provider_id: r.Twitch,
203
203
  name: "Twitch",
204
204
  description: "Authorize tools and agents with Twitch",
205
- icon: ({ className: o }) => /* @__PURE__ */ i(A, { className: e("size-6", o) }),
205
+ icon: ({ className: o }) => /* @__PURE__ */ i(G, { className: t("size-6", o) }),
206
206
  docs: "https://docs.arcade.dev/home/auth-providers/twitch"
207
207
  },
208
208
  {
209
209
  id: a.X,
210
- provider_id: t.X,
210
+ provider_id: r.X,
211
211
  name: "X (Twitter)",
212
212
  description: "Authorize tools and agents with X (Twitter)",
213
- icon: ({ className: o }) => /* @__PURE__ */ i(G, { className: e("size-6 invert dark:invert-0", o) }),
213
+ icon: ({ className: o }) => /* @__PURE__ */ i(k, { className: t("size-6 invert dark:invert-0", o) }),
214
214
  docs: "https://docs.arcade.dev/home/auth-providers/x"
215
215
  },
216
216
  {
217
217
  id: a.Zoom,
218
- provider_id: t.Zoom,
218
+ provider_id: r.Zoom,
219
219
  name: "Zoom",
220
220
  description: "Authorize tools and agents with Zoom",
221
- icon: ({ className: o }) => /* @__PURE__ */ i(w, { className: e("size-6", o) }),
221
+ icon: ({ className: o }) => /* @__PURE__ */ i(z, { className: t("size-6", o) }),
222
222
  docs: "https://docs.arcade.dev/home/auth-providers/zoom"
223
223
  }
224
- ], q = {
224
+ ], eo = {
225
225
  id: a.OAuth2,
226
- provider_id: t.OAuth2,
226
+ provider_id: r.OAuth2,
227
227
  name: "OAuth 2.0",
228
228
  description: "Authorize tools and agents with any OAuth 2.0 compatible provider",
229
- icon: ({ className: o }) => /* @__PURE__ */ i(U, { className: e("size-6", o) }),
229
+ icon: ({ className: o }) => /* @__PURE__ */ i(K, { className: t("size-6", o) }),
230
230
  docs: "https://docs.arcade.dev/home/auth-providers/oauth2"
231
- }, Uo = [
231
+ }, Ko = [
232
232
  ...d,
233
- q
234
- ], Bo = (o) => d.find(
235
- (r) => r.provider_id === o || r.id === o
236
- ), jo = (o) => d.find((r) => r.id === o), Jo = (o) => d.some(
237
- (r) => r.provider_id === o || r.id === o
238
- ), Vo = {
233
+ eo
234
+ ], Vo = (o) => d.find(
235
+ (e) => e.provider_id === o || e.id === o
236
+ ), Yo = (o) => d.find((e) => e.id === o), qo = (o) => d.some(
237
+ (e) => e.provider_id === o || e.id === o
238
+ ), c = {
239
239
  asana: {
240
- icon: c,
240
+ icon: l,
241
241
  label: "Asana"
242
242
  },
243
243
  confluence: {
244
- icon: _,
244
+ icon: D,
245
245
  label: "Confluence"
246
246
  },
247
247
  firecrawl: {
248
- icon: O,
248
+ icon: H,
249
249
  label: "Firecrawl"
250
250
  },
251
251
  notiontoolkit: {
252
- icon: g,
252
+ icon: f,
253
253
  label: "Notion"
254
254
  },
255
255
  linear: {
256
- icon: p,
256
+ icon: u,
257
257
  label: "Linear"
258
258
  },
259
259
  twilio: {
260
- icon: W,
260
+ icon: $,
261
261
  label: "Twilio"
262
262
  },
263
263
  github: {
264
- icon: l,
264
+ icon: p,
265
265
  label: "Github"
266
266
  },
267
267
  dropbox: {
268
- icon: n,
268
+ icon: m,
269
269
  label: "Dropbox"
270
270
  },
271
271
  google: {
272
- icon: s,
272
+ icon: n,
273
273
  label: "Google"
274
274
  },
275
275
  gmail: {
276
- icon: L,
276
+ icon: R,
277
277
  label: "Gmail"
278
278
  },
279
279
  googlecalendar: {
280
- icon: x,
280
+ icon: M,
281
281
  label: "Google Calendar"
282
282
  },
283
283
  googlecontacts: {
284
- icon: y,
284
+ icon: P,
285
285
  label: "Google Contacts"
286
286
  },
287
287
  googledocs: {
288
- icon: H,
288
+ icon: I,
289
289
  label: "Google Docs"
290
290
  },
291
291
  googledrive: {
292
- icon: R,
292
+ icon: E,
293
293
  label: "Google Drive"
294
294
  },
295
295
  googlefinance: {
296
- icon: M,
296
+ icon: X,
297
297
  label: "Google Finance"
298
298
  },
299
299
  googleflights: {
300
- icon: C,
300
+ icon: Z,
301
301
  label: "Google Flights"
302
302
  },
303
303
  googlehotels: {
304
- icon: P,
304
+ icon: B,
305
305
  label: "Google Hotels"
306
306
  },
307
307
  googlejobs: {
308
- icon: s,
308
+ icon: n,
309
309
  label: "Google Jobs"
310
310
  },
311
311
  googlemaps: {
312
- icon: I,
312
+ icon: F,
313
313
  label: "Google Maps"
314
314
  },
315
315
  googlenews: {
316
- icon: X,
316
+ icon: U,
317
317
  label: "Google News"
318
318
  },
319
319
  googlesearch: {
320
- icon: s,
320
+ icon: n,
321
321
  label: "Google Search"
322
322
  },
323
323
  googlesheets: {
324
- icon: Z,
324
+ icon: j,
325
325
  label: "Google Sheets"
326
326
  },
327
327
  googleshopping: {
328
- icon: E,
328
+ icon: W,
329
329
  label: "Google Shopping"
330
330
  },
331
331
  hubspot: {
332
- icon: m,
332
+ icon: h,
333
333
  label: "HubSpot"
334
334
  },
335
335
  jira: {
336
- icon: F,
336
+ icon: J,
337
337
  label: "Jira"
338
338
  },
339
339
  e2b: {
340
- icon: D,
340
+ icon: C,
341
341
  label: "e2b"
342
342
  },
343
343
  linkedin: {
344
- icon: h,
344
+ icon: g,
345
345
  label: "Linkedin"
346
346
  },
347
347
  microsoft: {
348
- icon: u,
348
+ icon: b,
349
349
  label: "Microsoft"
350
350
  },
351
351
  math: {
352
- icon: k,
352
+ icon: y,
353
353
  label: "Math"
354
354
  },
355
355
  outlookcalendar: {
356
- icon: B,
356
+ icon: V,
357
357
  label: "Outlook Calendar"
358
358
  },
359
359
  outlookmail: {
360
- icon: j,
360
+ icon: Y,
361
361
  label: "Outlook Mail"
362
362
  },
363
363
  salesforce: {
364
- icon: J,
364
+ icon: q,
365
365
  label: "Salesforce"
366
366
  },
367
367
  spotify: {
368
- icon: v,
368
+ icon: w,
369
369
  label: "Spotify"
370
370
  },
371
371
  slack: {
372
- icon: f,
372
+ icon: A,
373
373
  label: "Slack"
374
374
  },
375
375
  search: {
376
- icon: S,
376
+ icon: O,
377
377
  label: "Search"
378
378
  },
379
379
  web: {
380
- icon: z,
380
+ icon: _,
381
381
  label: "Web"
382
382
  },
383
383
  walmart: {
384
- icon: Y,
384
+ icon: oo,
385
385
  label: "Walmart"
386
386
  },
387
387
  x: {
388
- icon: G,
388
+ icon: k,
389
389
  label: "X"
390
390
  },
391
391
  zoom: {
392
- icon: w,
392
+ icon: z,
393
393
  label: "Zoom"
394
394
  },
395
395
  reddit: {
396
- icon: b,
396
+ icon: v,
397
397
  label: "Reddit"
398
398
  },
399
399
  twitch: {
400
- icon: A,
400
+ icon: G,
401
401
  label: "Twitch"
402
402
  },
403
403
  stripe: {
404
- icon: V,
404
+ icon: Q,
405
405
  label: "Stripe"
406
406
  },
407
407
  youtube: {
408
- icon: K,
408
+ icon: io,
409
409
  label: "YouTube"
410
410
  }
411
+ }, S = (o) => {
412
+ const e = Object.keys(c).find(
413
+ (s) => s.toLowerCase() === o.toLowerCase()
414
+ );
415
+ return e ? c[e] : void 0;
416
+ }, Qo = (o) => Object.keys(c).some(
417
+ (e) => e.toLowerCase() === o.toLowerCase()
418
+ ), $o = (o) => {
419
+ const e = S(o);
420
+ return e?.icon ? ({ className: s }) => /* @__PURE__ */ i(e.icon, { className: s }) : ({ className: s }) => /* @__PURE__ */ i(N, { className: s });
421
+ }, oi = (o) => {
422
+ const e = S(o);
423
+ return e?.icon ? ({ className: s }) => /* @__PURE__ */ i(e.icon, { className: s }) : ({ className: s }) => /* @__PURE__ */ i(T, { className: s });
411
424
  };
412
425
  export {
413
- q as OAUTH2_PROVIDER,
414
- Uo as OAUTH_PROVIDER_CATALOGUE,
426
+ eo as OAUTH2_PROVIDER,
427
+ Ko as OAUTH_PROVIDER_CATALOGUE,
415
428
  a as OAuthId,
416
- t as OAuthProviderId,
429
+ r as OAuthProviderId,
417
430
  d as PREBUILT_OAUTH_PROVIDERS,
418
- Vo as TOOLKIT_CATALOGUE,
419
- jo as findPrebuiltProviderById,
420
- Bo as findPrebuiltProviderByProviderId,
421
- Jo as isPrebuiltProvider
431
+ c as TOOLKIT_CATALOGUE,
432
+ Yo as findPrebuiltProviderById,
433
+ Vo as findPrebuiltProviderByProviderId,
434
+ S as findToolkitByName,
435
+ oi as getToolIconByToolkitName,
436
+ $o as getToolkitIconByName,
437
+ Qo as isKnownToolkit,
438
+ qo as isPrebuiltProvider
422
439
  };