@arcadeai/design-system 1.3.0 → 1.5.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 (315) hide show
  1. package/README.md +95 -0
  2. package/dist/{arcade-49z5mR1G.js → arcade-CadnNaba.js} +139 -137
  3. package/dist/assets/index.css +1 -1
  4. package/dist/components/index.d.ts +1 -0
  5. package/dist/components/index.js +431 -213
  6. package/dist/components/ui/atoms/accordion.js +1 -1
  7. package/dist/components/ui/atoms/avatar.js +2 -2
  8. package/dist/components/ui/atoms/checkbox.js +1 -1
  9. package/dist/components/ui/atoms/collapsible.js +1 -1
  10. package/dist/components/ui/atoms/command.js +1 -1
  11. package/dist/components/ui/atoms/dialog.js +1 -1
  12. package/dist/components/ui/atoms/dropdown-menu.js +2 -2
  13. package/dist/components/ui/atoms/hover-card.js +2 -2
  14. package/dist/components/ui/atoms/icons/adp.d.ts +3 -0
  15. package/dist/components/ui/atoms/icons/adp.js +40 -0
  16. package/dist/components/ui/atoms/icons/aha.d.ts +3 -0
  17. package/dist/components/ui/atoms/icons/aha.js +28 -0
  18. package/dist/{assets → components/ui/atoms}/icons/airtable.js +4 -0
  19. package/dist/components/ui/atoms/icons/amplitude.d.ts +3 -0
  20. package/dist/components/ui/atoms/icons/amplitude.js +33 -0
  21. package/dist/{assets → components/ui/atoms}/icons/arcade.js +7 -7
  22. package/dist/{assets → components/ui/atoms}/icons/asana.js +1 -0
  23. package/dist/components/ui/atoms/icons/ashby.d.ts +3 -0
  24. package/dist/components/ui/atoms/icons/ashby.js +50 -0
  25. package/dist/{assets → components/ui/atoms}/icons/atlassian.js +14 -4
  26. package/dist/{assets → components/ui/atoms}/icons/auth0.js +1 -0
  27. package/dist/{assets → components/ui/atoms}/icons/azure.js +43 -22
  28. package/dist/components/ui/atoms/icons/bamboohr.d.ts +3 -0
  29. package/dist/components/ui/atoms/icons/bamboohr.js +31 -0
  30. package/dist/components/ui/atoms/icons/basecamp.d.ts +3 -0
  31. package/dist/components/ui/atoms/icons/basecamp.js +57 -0
  32. package/dist/components/ui/atoms/icons/bill.d.ts +3 -0
  33. package/dist/components/ui/atoms/icons/bill.js +55 -0
  34. package/dist/components/ui/atoms/icons/bitbucket.d.ts +3 -0
  35. package/dist/components/ui/atoms/icons/bitbucket.js +38 -0
  36. package/dist/{assets → components/ui/atoms}/icons/bluesky.js +1 -0
  37. package/dist/{assets → components/ui/atoms}/icons/box.js +1 -0
  38. package/dist/components/ui/atoms/icons/braze.d.ts +3 -0
  39. package/dist/components/ui/atoms/icons/braze.js +28 -0
  40. package/dist/components/ui/atoms/icons/brex.d.ts +3 -0
  41. package/dist/components/ui/atoms/icons/brex.js +29 -0
  42. package/dist/components/ui/atoms/icons/buffer.d.ts +3 -0
  43. package/dist/components/ui/atoms/icons/buffer.js +33 -0
  44. package/dist/components/ui/atoms/icons/calendly.js +80 -0
  45. package/dist/components/ui/atoms/icons/clickhouse.d.ts +3 -0
  46. package/dist/components/ui/atoms/icons/clickhouse.js +26 -0
  47. package/dist/components/ui/atoms/icons/clickup.d.ts +3 -0
  48. package/dist/{assets → components/ui/atoms}/icons/clickup.js +16 -4
  49. package/dist/components/ui/atoms/icons/closeio.d.ts +3 -0
  50. package/dist/components/ui/atoms/icons/closeio.js +68 -0
  51. package/dist/{assets → components/ui/atoms}/icons/coinbase.js +21 -8
  52. package/dist/{assets → components/ui/atoms}/icons/confluence.js +18 -4
  53. package/dist/{assets → components/ui/atoms}/icons/datadog.js +1 -0
  54. package/dist/components/ui/atoms/icons/digital-ocean.d.ts +3 -0
  55. package/dist/components/ui/atoms/icons/digital-ocean.js +22 -0
  56. package/dist/{assets → components/ui/atoms}/icons/discord.js +1 -0
  57. package/dist/{assets → components/ui/atoms}/icons/dropbox.js +1 -0
  58. package/dist/components/ui/atoms/icons/e2b.d.ts +3 -0
  59. package/dist/components/ui/atoms/icons/e2b.js +19 -0
  60. package/dist/{assets → components/ui/atoms}/icons/ebay.js +4 -0
  61. package/dist/components/ui/atoms/icons/evernote.d.ts +3 -0
  62. package/dist/components/ui/atoms/icons/evernote.js +29 -0
  63. package/dist/components/ui/atoms/icons/factorial.d.ts +3 -0
  64. package/dist/components/ui/atoms/icons/factorial.js +50 -0
  65. package/dist/{assets → components/ui/atoms}/icons/figma.js +18 -2
  66. package/dist/components/ui/atoms/icons/firecrawl.d.ts +3 -0
  67. package/dist/components/ui/atoms/icons/firecrawl.js +19 -0
  68. package/dist/components/ui/atoms/icons/generic.d.ts +3 -0
  69. package/dist/components/ui/atoms/icons/generic.js +27 -0
  70. package/dist/{assets → components/ui/atoms}/icons/github.js +4 -3
  71. package/dist/{assets → components/ui/atoms}/icons/gitlab.js +4 -0
  72. package/dist/{assets → components/ui/atoms}/icons/gmail.js +11 -2
  73. package/dist/components/ui/atoms/icons/google-calendar.js +98 -0
  74. package/dist/{assets → components/ui/atoms}/icons/google-contacts.js +4 -0
  75. package/dist/components/ui/atoms/icons/google-docs.js +328 -0
  76. package/dist/{assets → components/ui/atoms}/icons/google-drive.js +6 -0
  77. package/dist/{assets → components/ui/atoms}/icons/google-finance.js +8 -1
  78. package/dist/{assets → components/ui/atoms}/icons/google-flight.js +49 -20
  79. package/dist/components/ui/atoms/icons/google-flights.d.ts +3 -0
  80. package/dist/components/ui/atoms/icons/google-flights.js +109 -0
  81. package/dist/{assets → components/ui/atoms}/icons/google-hotels.js +10 -1
  82. package/dist/components/ui/atoms/icons/google-jobs.d.ts +3 -0
  83. package/dist/components/ui/atoms/icons/google-jobs.js +103 -0
  84. package/dist/{assets → components/ui/atoms}/icons/google-maps.js +5 -0
  85. package/dist/{assets → components/ui/atoms}/icons/google-news.js +27 -3
  86. package/dist/{assets → components/ui/atoms}/icons/google-sheets.js +3 -0
  87. package/dist/{assets → components/ui/atoms}/icons/google-shopping.js +9 -1
  88. package/dist/components/ui/atoms/icons/google-slides.d.ts +3 -0
  89. package/dist/components/ui/atoms/icons/google-slides.js +243 -0
  90. package/dist/{assets → components/ui/atoms}/icons/google.js +4 -0
  91. package/dist/{assets → components/ui/atoms}/icons/heroku.js +1 -0
  92. package/dist/components/ui/atoms/icons/hootsuite.d.ts +3 -0
  93. package/dist/components/ui/atoms/icons/hootsuite.js +43 -0
  94. package/dist/components/ui/atoms/icons/hubspot.d.ts +3 -0
  95. package/dist/{assets → components/ui/atoms}/icons/hubspot.js +2 -1
  96. package/dist/{assets → components/ui/atoms}/icons/index.d.ts +47 -0
  97. package/dist/components/ui/atoms/icons/index.js +220 -0
  98. package/dist/components/ui/atoms/icons/intercom.d.ts +3 -0
  99. package/dist/components/ui/atoms/icons/intercom.js +26 -0
  100. package/dist/{assets → components/ui/atoms}/icons/jira.js +15 -7
  101. package/dist/{assets → components/ui/atoms}/icons/linear.js +1 -0
  102. package/dist/components/ui/atoms/icons/linkedin.d.ts +3 -0
  103. package/dist/{assets → components/ui/atoms}/icons/linkedin.js +5 -4
  104. package/dist/components/ui/atoms/icons/mailchimp.d.ts +3 -0
  105. package/dist/components/ui/atoms/icons/mailchimp.js +70 -0
  106. package/dist/components/ui/atoms/icons/mcp.d.ts +3 -0
  107. package/dist/components/ui/atoms/icons/mcp.js +23 -0
  108. package/dist/components/ui/atoms/icons/microsoft-dynamics.d.ts +3 -0
  109. package/dist/components/ui/atoms/icons/microsoft-dynamics.js +172 -0
  110. package/dist/components/ui/atoms/icons/microsoft-sharepoint.d.ts +3 -0
  111. package/dist/components/ui/atoms/icons/microsoft-sharepoint.js +88 -0
  112. package/dist/components/ui/atoms/icons/microsoft-teams.d.ts +3 -0
  113. package/dist/components/ui/atoms/icons/microsoft-teams.js +119 -0
  114. package/dist/{assets → components/ui/atoms}/icons/microsoft.js +4 -0
  115. package/dist/components/ui/atoms/icons/miro.d.ts +3 -0
  116. package/dist/components/ui/atoms/icons/miro.js +35 -0
  117. package/dist/components/ui/atoms/icons/monday.d.ts +3 -0
  118. package/dist/components/ui/atoms/icons/monday.js +60 -0
  119. package/dist/components/ui/atoms/icons/netsuite.d.ts +3 -0
  120. package/dist/{assets → components/ui/atoms}/icons/netsuite.js +35 -26
  121. package/dist/{assets → components/ui/atoms}/icons/notion.js +2 -0
  122. package/dist/components/ui/atoms/icons/oauth.d.ts +3 -0
  123. package/dist/{assets → components/ui/atoms}/icons/oauth.js +66 -8
  124. package/dist/components/ui/atoms/icons/obsidian.d.ts +3 -0
  125. package/dist/components/ui/atoms/icons/obsidian.js +220 -0
  126. package/dist/components/ui/atoms/icons/okta.d.ts +3 -0
  127. package/dist/components/ui/atoms/icons/okta.js +56 -0
  128. package/dist/components/ui/atoms/icons/one-drive.d.ts +3 -0
  129. package/dist/components/ui/atoms/icons/one-drive.js +38 -0
  130. package/dist/{assets → components/ui/atoms}/icons/outlook-calendar.js +18 -0
  131. package/dist/{assets → components/ui/atoms}/icons/outlook-mail.js +4 -0
  132. package/dist/components/ui/atoms/icons/pinecone.d.ts +3 -0
  133. package/dist/components/ui/atoms/icons/pinecone.js +29 -0
  134. package/dist/{assets → components/ui/atoms}/icons/pinterest.js +1 -0
  135. package/dist/components/ui/atoms/icons/pipedrive.d.ts +3 -0
  136. package/dist/components/ui/atoms/icons/pipedrive.js +59 -0
  137. package/dist/components/ui/atoms/icons/plaid.d.ts +3 -0
  138. package/dist/components/ui/atoms/icons/plaid.js +37 -0
  139. package/dist/{assets → components/ui/atoms}/icons/postgres.js +30 -20
  140. package/dist/components/ui/atoms/icons/quickbooks.d.ts +3 -0
  141. package/dist/components/ui/atoms/icons/quickbooks.js +25 -0
  142. package/dist/components/ui/atoms/icons/reddit.js +315 -0
  143. package/dist/{assets → components/ui/atoms}/icons/salesforce.js +3 -0
  144. package/dist/{assets → components/ui/atoms}/icons/shopify.js +3 -0
  145. package/dist/components/ui/atoms/icons/singlestore.d.ts +3 -0
  146. package/dist/components/ui/atoms/icons/singlestore.js +284 -0
  147. package/dist/{assets → components/ui/atoms}/icons/slack.js +7 -1
  148. package/dist/components/ui/atoms/icons/snowflake.d.ts +3 -0
  149. package/dist/components/ui/atoms/icons/snowflake.js +26 -0
  150. package/dist/components/ui/atoms/icons/splunk.d.ts +3 -0
  151. package/dist/components/ui/atoms/icons/splunk.js +54 -0
  152. package/dist/{assets → components/ui/atoms}/icons/spotify.js +1 -0
  153. package/dist/components/ui/atoms/icons/square.d.ts +3 -0
  154. package/dist/components/ui/atoms/icons/square.js +41 -0
  155. package/dist/components/ui/atoms/icons/squarespace.d.ts +3 -0
  156. package/dist/components/ui/atoms/icons/squarespace.js +29 -0
  157. package/dist/{assets → components/ui/atoms}/icons/stripe.js +1 -0
  158. package/dist/{assets → components/ui/atoms}/icons/tesla.js +5 -1
  159. package/dist/{assets → components/ui/atoms}/icons/tiktok.js +3 -0
  160. package/dist/components/ui/atoms/icons/trello.d.ts +3 -0
  161. package/dist/components/ui/atoms/icons/trello.js +59 -0
  162. package/dist/{assets → components/ui/atoms}/icons/twilio.js +11 -4
  163. package/dist/{assets → components/ui/atoms}/icons/twitch.js +6 -1
  164. package/dist/components/ui/atoms/icons/utils.d.ts +56 -0
  165. package/dist/components/ui/atoms/icons/utils.js +41 -0
  166. package/dist/{assets → components/ui/atoms}/icons/vercel.js +1 -0
  167. package/dist/{assets → components/ui/atoms}/icons/walmart.js +2 -0
  168. package/dist/components/ui/atoms/icons/weaviate.d.ts +3 -0
  169. package/dist/components/ui/atoms/icons/weaviate.js +229 -0
  170. package/dist/components/ui/atoms/icons/workday.d.ts +3 -0
  171. package/dist/components/ui/atoms/icons/workday.js +97 -0
  172. package/dist/components/ui/atoms/icons/wrike.d.ts +3 -0
  173. package/dist/components/ui/atoms/icons/wrike.js +16 -0
  174. package/dist/{assets → components/ui/atoms}/icons/x.js +4 -4
  175. package/dist/components/ui/atoms/icons/xero.js +87 -0
  176. package/dist/components/ui/atoms/icons/youtube.d.ts +3 -0
  177. package/dist/{assets → components/ui/atoms}/icons/youtube.js +3 -1
  178. package/dist/components/ui/atoms/icons/zendesk.d.ts +3 -0
  179. package/dist/components/ui/atoms/icons/zendesk.js +27 -0
  180. package/dist/{assets → components/ui/atoms}/icons/zoom.js +30 -17
  181. package/dist/components/ui/atoms/index.d.ts +2 -0
  182. package/dist/components/ui/atoms/index.js +416 -198
  183. package/dist/components/ui/atoms/popover.js +2 -2
  184. package/dist/components/ui/atoms/progress.js +18 -17
  185. package/dist/components/ui/atoms/radio-group.js +1 -1
  186. package/dist/components/ui/atoms/scroll-area.js +3 -3
  187. package/dist/components/ui/atoms/select.js +3 -3
  188. package/dist/components/ui/atoms/sheet.js +1 -1
  189. package/dist/components/ui/atoms/sidebar.js +102 -102
  190. package/dist/components/ui/atoms/tabs.js +1 -1
  191. package/dist/components/ui/atoms/tooltip.js +2 -2
  192. package/dist/components/ui/index.d.ts +1 -0
  193. package/dist/components/ui/index.js +431 -213
  194. package/dist/components/ui/molecules/index.d.ts +1 -0
  195. package/dist/components/ui/molecules/index.js +1 -1
  196. package/dist/components/ui/molecules/requirement-badges.js +6 -5
  197. package/dist/components/ui/molecules/tool-card.js +18 -18
  198. package/dist/components/ui/molecules/toolkit-card.js +1 -1
  199. package/dist/components/ui/molecules/toolkit-picker-trigger.js +47 -38
  200. package/dist/components/ui/molecules/toolkit-selection-summary.d.ts +4 -3
  201. package/dist/components/ui/molecules/toolkit-selection-summary.js +32 -29
  202. package/dist/components/ui/organisms/index.d.ts +1 -0
  203. package/dist/components/ui/organisms/toolkit-picker/components/footer-summary.js +9 -9
  204. package/dist/components/ui/organisms/toolkit-picker/components/search-input.js +5 -4
  205. package/dist/components/ui/organisms/toolkit-picker/components/select-button.js +7 -6
  206. package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.d.ts +2 -2
  207. package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.js +21 -18
  208. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-filter.test.js +14 -18
  209. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-search.test.js +7 -7
  210. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-selection.test.js +2 -2
  211. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker.d.ts +12 -11
  212. package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker.js +54 -40
  213. package/dist/components/ui/organisms/toolkit-picker/mocks/toolkit-collection.js +195 -113
  214. package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.js +126 -116
  215. package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.test.js +3418 -4391
  216. package/dist/components/ui/utils/memo.test.d.ts +1 -0
  217. package/dist/components/ui/utils/memo.test.js +36 -0
  218. package/dist/{index-CtSXVDca.js → index-BDIfjxqB.js} +1 -1
  219. package/dist/{index-C8_QusYl.js → index-BGfrl8IX.js} +1 -1
  220. package/dist/{index-Ez2mlmzx.js → index-BzU0xzeS.js} +1 -1
  221. package/dist/index-DH9yRdVk.js +1540 -0
  222. package/dist/lib/arcade/arcade.d.ts +2 -2
  223. package/dist/lib/arcade/arcade.js +3 -2
  224. package/dist/lib/arcade/arcade.test.js +2 -2
  225. package/dist/lib/utils.test.d.ts +1 -0
  226. package/dist/lib/utils.test.js +43 -0
  227. package/dist/{magic-string.es-BQ9KnLz-.js → magic-string.es-QnVUNas7.js} +4 -3
  228. package/dist/main.d.ts +2 -0
  229. package/dist/main.js +444 -214
  230. package/dist/metadata/index.d.ts +3 -0
  231. package/dist/metadata/index.js +14 -0
  232. package/dist/metadata/oauth-providers.d.ts +69 -0
  233. package/dist/metadata/oauth-providers.js +260 -0
  234. package/dist/metadata/toolkits.d.ts +24 -0
  235. package/dist/metadata/toolkits.js +1500 -0
  236. package/dist/{react.esm-369wBsAv.js → react.esm-CFMQn0EI.js} +31 -31
  237. package/dist/{toolkit-card-GhM_oj4G.js → toolkit-card-UG1sZ0Le.js} +11 -10
  238. package/dist/{vi.bdSIJ99Y-CZgZQPWH.js → vi.bdSIJ99Y-CQ1FdEM8.js} +3462 -3916
  239. package/package.json +38 -35
  240. package/dist/assets/icons/calendly.js +0 -64
  241. package/dist/assets/icons/clickup.d.ts +0 -3
  242. package/dist/assets/icons/e2b.d.ts +0 -3
  243. package/dist/assets/icons/e2b.js +0 -9
  244. package/dist/assets/icons/firecrawl.d.ts +0 -5
  245. package/dist/assets/icons/firecrawl.js +0 -17
  246. package/dist/assets/icons/google-calendar.js +0 -93
  247. package/dist/assets/icons/google-docs.js +0 -219
  248. package/dist/assets/icons/hubspot.d.ts +0 -3
  249. package/dist/assets/icons/index.js +0 -128
  250. package/dist/assets/icons/linkedin.d.ts +0 -3
  251. package/dist/assets/icons/netsuite.d.ts +0 -3
  252. package/dist/assets/icons/oauth.d.ts +0 -3
  253. package/dist/assets/icons/reddit.js +0 -268
  254. package/dist/assets/icons/utils.d.ts +0 -435
  255. package/dist/assets/icons/utils.js +0 -439
  256. package/dist/assets/icons/xero.js +0 -63
  257. package/dist/assets/icons/youtube.d.ts +0 -3
  258. package/dist/components/ui/organisms/toolkit-picker/components/mobile-filter-badges.d.ts +0 -1
  259. package/dist/components/ui/organisms/toolkit-picker/components/mobile-filter-badges.js +0 -96
  260. package/dist/index-DEJd-dpa.js +0 -1537
  261. /package/dist/{assets → components/ui/atoms}/icons/airtable.d.ts +0 -0
  262. /package/dist/{assets → components/ui/atoms}/icons/arcade.d.ts +0 -0
  263. /package/dist/{assets → components/ui/atoms}/icons/asana.d.ts +0 -0
  264. /package/dist/{assets → components/ui/atoms}/icons/atlassian.d.ts +0 -0
  265. /package/dist/{assets → components/ui/atoms}/icons/auth0.d.ts +0 -0
  266. /package/dist/{assets → components/ui/atoms}/icons/azure.d.ts +0 -0
  267. /package/dist/{assets → components/ui/atoms}/icons/bluesky.d.ts +0 -0
  268. /package/dist/{assets → components/ui/atoms}/icons/box.d.ts +0 -0
  269. /package/dist/{assets → components/ui/atoms}/icons/calendly.d.ts +0 -0
  270. /package/dist/{assets → components/ui/atoms}/icons/coinbase.d.ts +0 -0
  271. /package/dist/{assets → components/ui/atoms}/icons/confluence.d.ts +0 -0
  272. /package/dist/{assets → components/ui/atoms}/icons/datadog.d.ts +0 -0
  273. /package/dist/{assets → components/ui/atoms}/icons/discord.d.ts +0 -0
  274. /package/dist/{assets → components/ui/atoms}/icons/dropbox.d.ts +0 -0
  275. /package/dist/{assets → components/ui/atoms}/icons/ebay.d.ts +0 -0
  276. /package/dist/{assets → components/ui/atoms}/icons/figma.d.ts +0 -0
  277. /package/dist/{assets → components/ui/atoms}/icons/github.d.ts +0 -0
  278. /package/dist/{assets → components/ui/atoms}/icons/gitlab.d.ts +0 -0
  279. /package/dist/{assets → components/ui/atoms}/icons/gmail.d.ts +0 -0
  280. /package/dist/{assets → components/ui/atoms}/icons/google-calendar.d.ts +0 -0
  281. /package/dist/{assets → components/ui/atoms}/icons/google-contacts.d.ts +0 -0
  282. /package/dist/{assets → components/ui/atoms}/icons/google-docs.d.ts +0 -0
  283. /package/dist/{assets → components/ui/atoms}/icons/google-drive.d.ts +0 -0
  284. /package/dist/{assets → components/ui/atoms}/icons/google-finance.d.ts +0 -0
  285. /package/dist/{assets → components/ui/atoms}/icons/google-flight.d.ts +0 -0
  286. /package/dist/{assets → components/ui/atoms}/icons/google-hotels.d.ts +0 -0
  287. /package/dist/{assets → components/ui/atoms}/icons/google-maps.d.ts +0 -0
  288. /package/dist/{assets → components/ui/atoms}/icons/google-news.d.ts +0 -0
  289. /package/dist/{assets → components/ui/atoms}/icons/google-sheets.d.ts +0 -0
  290. /package/dist/{assets → components/ui/atoms}/icons/google-shopping.d.ts +0 -0
  291. /package/dist/{assets → components/ui/atoms}/icons/google.d.ts +0 -0
  292. /package/dist/{assets → components/ui/atoms}/icons/heroku.d.ts +0 -0
  293. /package/dist/{assets → components/ui/atoms}/icons/jira.d.ts +0 -0
  294. /package/dist/{assets → components/ui/atoms}/icons/linear.d.ts +0 -0
  295. /package/dist/{assets → components/ui/atoms}/icons/microsoft.d.ts +0 -0
  296. /package/dist/{assets → components/ui/atoms}/icons/notion.d.ts +0 -0
  297. /package/dist/{assets → components/ui/atoms}/icons/outlook-calendar.d.ts +0 -0
  298. /package/dist/{assets → components/ui/atoms}/icons/outlook-mail.d.ts +0 -0
  299. /package/dist/{assets → components/ui/atoms}/icons/pinterest.d.ts +0 -0
  300. /package/dist/{assets → components/ui/atoms}/icons/postgres.d.ts +0 -0
  301. /package/dist/{assets → components/ui/atoms}/icons/reddit.d.ts +0 -0
  302. /package/dist/{assets → components/ui/atoms}/icons/salesforce.d.ts +0 -0
  303. /package/dist/{assets → components/ui/atoms}/icons/shopify.d.ts +0 -0
  304. /package/dist/{assets → components/ui/atoms}/icons/slack.d.ts +0 -0
  305. /package/dist/{assets → components/ui/atoms}/icons/spotify.d.ts +0 -0
  306. /package/dist/{assets → components/ui/atoms}/icons/stripe.d.ts +0 -0
  307. /package/dist/{assets → components/ui/atoms}/icons/tesla.d.ts +0 -0
  308. /package/dist/{assets → components/ui/atoms}/icons/tiktok.d.ts +0 -0
  309. /package/dist/{assets → components/ui/atoms}/icons/twilio.d.ts +0 -0
  310. /package/dist/{assets → components/ui/atoms}/icons/twitch.d.ts +0 -0
  311. /package/dist/{assets → components/ui/atoms}/icons/vercel.d.ts +0 -0
  312. /package/dist/{assets → components/ui/atoms}/icons/walmart.d.ts +0 -0
  313. /package/dist/{assets → components/ui/atoms}/icons/x.d.ts +0 -0
  314. /package/dist/{assets → components/ui/atoms}/icons/xero.d.ts +0 -0
  315. /package/dist/{assets → components/ui/atoms}/icons/zoom.d.ts +0 -0
@@ -1,439 +0,0 @@
1
- import { jsx as i } from "react/jsx-runtime";
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
- const a = {
46
- Asana: "arcade-asana",
47
- Atlassian: "arcade-atlassian",
48
- Discord: "arcade-discord",
49
- Dropbox: "arcade-dropbox",
50
- Github: "arcade-github",
51
- Google: "arcade-google",
52
- Hubspot: "arcade-hubspot",
53
- Linkedin: "arcade-linkedin",
54
- Linear: "arcade-linear",
55
- Microsoft: "arcade-microsoft",
56
- Notion: "arcade-notion",
57
- OAuth2: "arcade-oauth2",
58
- Reddit: "arcade-reddit",
59
- Salesforce: "arcade-salesforce",
60
- Slack: "arcade-slack",
61
- Spotify: "arcade-spotify",
62
- Tesla: "arcade-tesla",
63
- Twitch: "arcade-twitch",
64
- X: "arcade-x",
65
- Zoom: "arcade-zoom"
66
- }, r = {
67
- Asana: "asana",
68
- Atlassian: "atlassian",
69
- Discord: "discord",
70
- Dropbox: "dropbox",
71
- Github: "github",
72
- Google: "google",
73
- Hubspot: "hubspot",
74
- Linkedin: "linkedin",
75
- Linear: "linear",
76
- Microsoft: "microsoft",
77
- Notion: "notion",
78
- OAuth2: "oauth2",
79
- Reddit: "reddit",
80
- Salesforce: "salesforce",
81
- Slack: "slack",
82
- Spotify: "spotify",
83
- Tesla: "tesla",
84
- Twitch: "twitch",
85
- X: "x",
86
- Zoom: "zoom"
87
- }, d = [
88
- {
89
- id: a.Asana,
90
- provider_id: r.Asana,
91
- name: "Asana",
92
- description: "Authorize tools and agents with Asana",
93
- icon: ({ className: o }) => /* @__PURE__ */ i(l, { className: t("size-6", o) }),
94
- docs: "https://docs.arcade.dev/home/auth-providers/asana"
95
- },
96
- {
97
- id: a.Atlassian,
98
- provider_id: r.Atlassian,
99
- name: "Atlassian",
100
- description: "Authorize tools and agents with Atlassian",
101
- icon: ({ className: o }) => /* @__PURE__ */ i(L, { className: t("size-6", o) }),
102
- docs: "https://docs.arcade.dev/home/auth-providers/atlassian"
103
- },
104
- {
105
- id: a.Discord,
106
- provider_id: r.Discord,
107
- name: "Discord",
108
- description: "Authorize tools and agents with Discord in a user's context",
109
- icon: ({ className: o }) => /* @__PURE__ */ i(x, { className: t("size-6", o) }),
110
- docs: "https://docs.arcade.dev/home/auth-providers/discord"
111
- },
112
- {
113
- id: a.Dropbox,
114
- provider_id: r.Dropbox,
115
- name: "Dropbox",
116
- description: "Authorize tools and agents with Dropbox",
117
- icon: ({ className: o }) => /* @__PURE__ */ i(m, { className: t("size-6", o) }),
118
- docs: "https://docs.arcade.dev/home/auth-providers/dropbox"
119
- },
120
- {
121
- id: a.Github,
122
- provider_id: r.Github,
123
- name: "GitHub",
124
- description: "Authorize tools and agents with GitHub, including private repositories",
125
- icon: ({ className: o }) => /* @__PURE__ */ i(p, { className: t("size-6 invert dark:invert-0", o) }),
126
- docs: "https://docs.arcade.dev/home/auth-providers/github"
127
- },
128
- {
129
- id: a.Google,
130
- provider_id: r.Google,
131
- name: "Google",
132
- description: "Authorize tools and agents with Google: Gmail, Calendar, YouTube, Drive, and more",
133
- icon: ({ className: o }) => /* @__PURE__ */ i(n, { className: t("size-6", o) }),
134
- docs: "https://docs.arcade.dev/home/auth-providers/google"
135
- },
136
- {
137
- id: a.Hubspot,
138
- provider_id: r.Hubspot,
139
- name: "HubSpot",
140
- description: "Authorize tools and agents with HubSpot",
141
- icon: ({ className: o }) => /* @__PURE__ */ i(h, { className: t("size-6", o) }),
142
- docs: "https://docs.arcade.dev/home/auth-providers/hubspot"
143
- },
144
- {
145
- id: a.Linear,
146
- provider_id: r.Linear,
147
- name: "Linear",
148
- description: "Authorize tools and agents with Linear",
149
- icon: ({ className: o }) => /* @__PURE__ */ i(u, { className: t("size-6", o) }),
150
- docs: "https://docs.arcade.dev/home/auth-providers/linear"
151
- },
152
- {
153
- id: a.Linkedin,
154
- provider_id: r.Linkedin,
155
- name: "LinkedIn",
156
- description: "Authorize tools and agents with LinkedIn",
157
- icon: ({ className: o }) => /* @__PURE__ */ i(g, { className: t("size-6", o) }),
158
- docs: "https://docs.arcade.dev/home/auth-providers/linkedin"
159
- },
160
- {
161
- id: a.Microsoft,
162
- provider_id: r.Microsoft,
163
- name: "Microsoft",
164
- description: "Authorize tools and agents with Microsoft",
165
- icon: ({ className: o }) => /* @__PURE__ */ i(b, { className: t("size-6", o) }),
166
- docs: "https://docs.arcade.dev/home/auth-providers/microsoft"
167
- },
168
- {
169
- id: a.Notion,
170
- provider_id: r.Notion,
171
- name: "Notion",
172
- description: "Authorize tools and agents with Notion",
173
- icon: ({ className: o }) => /* @__PURE__ */ i(f, { className: t("size-6", o) }),
174
- docs: "https://docs.arcade.dev/home/auth-providers/notion"
175
- },
176
- {
177
- id: a.Reddit,
178
- provider_id: r.Reddit,
179
- name: "Reddit",
180
- description: "Authorize tools and agents with Reddit",
181
- icon: ({ className: o }) => /* @__PURE__ */ i(v, { className: t("size-6", o) }),
182
- docs: "https://docs.arcade.dev/home/auth-providers/reddit"
183
- },
184
- {
185
- id: a.Slack,
186
- provider_id: r.Slack,
187
- name: "Slack",
188
- description: "Authorize tools and agents with Slack",
189
- icon: ({ className: o }) => /* @__PURE__ */ i(A, { className: t("size-6", o) }),
190
- docs: "https://docs.arcade.dev/home/auth-providers/slack"
191
- },
192
- {
193
- id: a.Spotify,
194
- provider_id: r.Spotify,
195
- name: "Spotify",
196
- description: "Authorize tools and agents with Spotify",
197
- icon: ({ className: o }) => /* @__PURE__ */ i(w, { className: t("size-6", o) }),
198
- docs: "https://docs.arcade.dev/home/auth-providers/spotify"
199
- },
200
- {
201
- id: a.Twitch,
202
- provider_id: r.Twitch,
203
- name: "Twitch",
204
- description: "Authorize tools and agents with Twitch",
205
- icon: ({ className: o }) => /* @__PURE__ */ i(G, { className: t("size-6", o) }),
206
- docs: "https://docs.arcade.dev/home/auth-providers/twitch"
207
- },
208
- {
209
- id: a.X,
210
- provider_id: r.X,
211
- name: "X (Twitter)",
212
- description: "Authorize tools and agents with X (Twitter)",
213
- icon: ({ className: o }) => /* @__PURE__ */ i(k, { className: t("size-6 invert dark:invert-0", o) }),
214
- docs: "https://docs.arcade.dev/home/auth-providers/x"
215
- },
216
- {
217
- id: a.Zoom,
218
- provider_id: r.Zoom,
219
- name: "Zoom",
220
- description: "Authorize tools and agents with Zoom",
221
- icon: ({ className: o }) => /* @__PURE__ */ i(z, { className: t("size-6", o) }),
222
- docs: "https://docs.arcade.dev/home/auth-providers/zoom"
223
- }
224
- ], eo = {
225
- id: a.OAuth2,
226
- provider_id: r.OAuth2,
227
- name: "OAuth 2.0",
228
- description: "Authorize tools and agents with any OAuth 2.0 compatible provider",
229
- icon: ({ className: o }) => /* @__PURE__ */ i(K, { className: t("size-6", o) }),
230
- docs: "https://docs.arcade.dev/home/auth-providers/oauth2"
231
- }, Ko = [
232
- ...d,
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
- asana: {
240
- icon: l,
241
- label: "Asana"
242
- },
243
- confluence: {
244
- icon: D,
245
- label: "Confluence"
246
- },
247
- firecrawl: {
248
- icon: H,
249
- label: "Firecrawl"
250
- },
251
- notiontoolkit: {
252
- icon: f,
253
- label: "Notion"
254
- },
255
- linear: {
256
- icon: u,
257
- label: "Linear"
258
- },
259
- twilio: {
260
- icon: $,
261
- label: "Twilio"
262
- },
263
- github: {
264
- icon: p,
265
- label: "Github"
266
- },
267
- dropbox: {
268
- icon: m,
269
- label: "Dropbox"
270
- },
271
- google: {
272
- icon: n,
273
- label: "Google"
274
- },
275
- gmail: {
276
- icon: R,
277
- label: "Gmail"
278
- },
279
- googlecalendar: {
280
- icon: M,
281
- label: "Google Calendar"
282
- },
283
- googlecontacts: {
284
- icon: P,
285
- label: "Google Contacts"
286
- },
287
- googledocs: {
288
- icon: I,
289
- label: "Google Docs"
290
- },
291
- googledrive: {
292
- icon: E,
293
- label: "Google Drive"
294
- },
295
- googlefinance: {
296
- icon: X,
297
- label: "Google Finance"
298
- },
299
- googleflights: {
300
- icon: Z,
301
- label: "Google Flights"
302
- },
303
- googlehotels: {
304
- icon: B,
305
- label: "Google Hotels"
306
- },
307
- googlejobs: {
308
- icon: n,
309
- label: "Google Jobs"
310
- },
311
- googlemaps: {
312
- icon: F,
313
- label: "Google Maps"
314
- },
315
- googlenews: {
316
- icon: U,
317
- label: "Google News"
318
- },
319
- googlesearch: {
320
- icon: n,
321
- label: "Google Search"
322
- },
323
- googlesheets: {
324
- icon: j,
325
- label: "Google Sheets"
326
- },
327
- googleshopping: {
328
- icon: W,
329
- label: "Google Shopping"
330
- },
331
- hubspot: {
332
- icon: h,
333
- label: "HubSpot"
334
- },
335
- jira: {
336
- icon: J,
337
- label: "Jira"
338
- },
339
- e2b: {
340
- icon: C,
341
- label: "e2b"
342
- },
343
- linkedin: {
344
- icon: g,
345
- label: "Linkedin"
346
- },
347
- microsoft: {
348
- icon: b,
349
- label: "Microsoft"
350
- },
351
- math: {
352
- icon: y,
353
- label: "Math"
354
- },
355
- outlookcalendar: {
356
- icon: V,
357
- label: "Outlook Calendar"
358
- },
359
- outlookmail: {
360
- icon: Y,
361
- label: "Outlook Mail"
362
- },
363
- salesforce: {
364
- icon: q,
365
- label: "Salesforce"
366
- },
367
- spotify: {
368
- icon: w,
369
- label: "Spotify"
370
- },
371
- slack: {
372
- icon: A,
373
- label: "Slack"
374
- },
375
- search: {
376
- icon: O,
377
- label: "Search"
378
- },
379
- web: {
380
- icon: _,
381
- label: "Web"
382
- },
383
- walmart: {
384
- icon: oo,
385
- label: "Walmart"
386
- },
387
- x: {
388
- icon: k,
389
- label: "X"
390
- },
391
- zoom: {
392
- icon: z,
393
- label: "Zoom"
394
- },
395
- reddit: {
396
- icon: v,
397
- label: "Reddit"
398
- },
399
- twitch: {
400
- icon: G,
401
- label: "Twitch"
402
- },
403
- stripe: {
404
- icon: Q,
405
- label: "Stripe"
406
- },
407
- youtube: {
408
- icon: io,
409
- label: "YouTube"
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 });
424
- };
425
- export {
426
- eo as OAUTH2_PROVIDER,
427
- Ko as OAUTH_PROVIDER_CATALOGUE,
428
- a as OAuthId,
429
- r as OAuthProviderId,
430
- d as PREBUILT_OAUTH_PROVIDERS,
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
439
- };
@@ -1,63 +0,0 @@
1
- import { jsxs as t, jsx as l } from "react/jsx-runtime";
2
- const h = (f) => /* @__PURE__ */ t(
3
- "svg",
4
- {
5
- fill: "none",
6
- height: f.height || "24",
7
- viewBox: "0 0 208.17944 208.17944",
8
- width: f.width || "24",
9
- xmlns: "http://www.w3.org/2000/svg",
10
- ...f,
11
- children: [
12
- /* @__PURE__ */ l("title", { children: "Xero" }),
13
- /* @__PURE__ */ l("g", { transform: "translate(-5.8874759,-271.69643)", children: /* @__PURE__ */ l("g", { transform: "matrix(0.35277777,0,0,-0.35277777,-39.929542,525.63751)", children: /* @__PURE__ */ l("g", { children: /* @__PURE__ */ l("g", { children: /* @__PURE__ */ t("g", { children: [
14
- /* @__PURE__ */ l(
15
- "path",
16
- {
17
- d: "m 424.933,130.843 c 162.335,0 293.932,131.597 293.932,293.933 0,162.334 -131.597,293.932 -293.932,293.932 C 262.598,718.708 131,587.11 131,424.776 131,262.44 262.598,130.843 424.933,130.843",
18
- fill: "#1ab4d7"
19
- }
20
- ),
21
- /* @__PURE__ */ l(
22
- "path",
23
- {
24
- d: "m 271.701,425.625 50.162,50.286 c 1.663,1.695 2.591,3.939 2.591,6.319 0,4.96 -4.032,8.988 -8.992,8.988 -2.416,0 -4.681,-0.947 -6.389,-2.676 -0.005,-0.01 -50.117,-50.093 -50.117,-50.093 l -50.341,50.168 c -1.701,1.677 -3.955,2.601 -6.345,2.601 -4.954,0 -8.987,-4.026 -8.987,-8.981 0,-2.417 0.965,-4.685 2.697,-6.394 l 50.155,-50.148 -50.129,-50.223 c -1.762,-1.735 -2.723,-4.008 -2.723,-6.436 0,-4.959 4.033,-8.982 8.987,-8.982 2.394,0 4.65,0.929 6.345,2.625 l 50.263,50.195 50.072,-50.012 c 1.776,-1.836 4.067,-2.814 6.512,-2.814 4.955,0 8.987,4.029 8.987,8.988 0,2.393 -0.927,4.641 -2.614,6.336 z",
25
- fill: "#fff"
26
- }
27
- ),
28
- /* @__PURE__ */ l(
29
- "path",
30
- {
31
- d: "m 569.906,425.64 c 0,-9.006 7.323,-16.332 16.34,-16.332 8.996,0 16.322,7.326 16.322,16.332 0,9.008 -7.326,16.333 -16.322,16.333 -9.017,0 -16.34,-7.325 -16.34,-16.333",
32
- fill: "#fff"
33
- }
34
- ),
35
- /* @__PURE__ */ l(
36
- "path",
37
- {
38
- d: "m 538.93,425.632 c 0,26.08 21.216,47.3 47.299,47.3 26.07,0 47.291,-21.22 47.291,-47.3 0,-26.074 -21.221,-47.285 -47.291,-47.285 -26.083,0 -47.299,21.211 -47.299,47.285 m -18.606,0 c 0,-36.334 29.565,-65.895 65.905,-65.895 36.339,0 65.919,29.561 65.919,65.895 0,36.339 -29.58,65.908 -65.919,65.908 -36.34,0 -65.905,-29.569 -65.905,-65.908",
39
- fill: "#fff"
40
- }
41
- ),
42
- /* @__PURE__ */ l(
43
- "path",
44
- {
45
- d: "m 515.646,490.413 -2.765,0.008 c -8.301,0 -16.307,-2.618 -22.994,-7.771 -0.881,4.032 -4.485,7.066 -8.778,7.066 -4.941,0 -8.9,-3.959 -8.912,-8.91 0,-0.018 0.03,-111 0.03,-111 0.013,-4.942 4.044,-8.959 8.988,-8.959 4.943,0 8.973,4.017 8.986,8.97 0,0.022 0.004,68.251 0.004,68.251 0,22.748 2.08,31.935 21.566,34.37 1.801,0.224 3.76,0.189 3.768,0.189 5.332,0.183 9.121,3.847 9.121,8.799 0,4.955 -4.045,8.987 -9.014,8.987",
46
- fill: "#fff"
47
- }
48
- ),
49
- /* @__PURE__ */ l(
50
- "path",
51
- {
52
- d: "m 343.072,436.482 c 0,0.246 0.019,0.502 0.031,0.755 5.218,20.627 23.899,35.891 46.147,35.891 22.517,0 41.369,-15.639 46.32,-36.646 z m 110.903,1.697 c -3.873,18.337 -13.912,33.399 -29.199,43.072 -22.346,14.187 -51.854,13.402 -73.438,-1.947 -17.606,-12.525 -27.769,-33.014 -27.769,-54.12 0,-5.292 0.638,-10.634 1.966,-15.892 6.648,-26.152 29.13,-45.949 55.934,-49.23 7.954,-0.963 15.696,-0.502 23.713,1.574 6.889,1.676 13.555,4.47 19.697,8.406 6.375,4.098 11.701,9.502 16.859,15.971 0.104,0.119 0.209,0.224 0.313,0.349 3.58,4.44 2.916,10.754 -1.018,13.768 -3.318,2.543 -8.888,3.574 -13.271,-2.039 -0.942,-1.342 -1.993,-2.723 -3.15,-4.104 -3.485,-3.851 -7.809,-7.582 -12.99,-10.476 -6.593,-3.522 -14.106,-5.535 -22.093,-5.58 -26.142,0.291 -40.131,18.539 -45.107,31.564 -0.869,2.432 -1.539,4.955 -2.006,7.553 -0.061,0.486 -0.106,0.955 -0.124,1.387 5.405,0 93.812,0.015 93.812,0.015 12.861,0.27 19.783,9.348 17.871,19.729",
53
- fill: "#fff"
54
- }
55
- )
56
- ] }) }) }) }) })
57
- ]
58
- }
59
- );
60
- export {
61
- h as Xero,
62
- h as default
63
- };
@@ -1,3 +0,0 @@
1
- import { SVGProps } from 'react';
2
- export declare const YouTube: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
- export default YouTube;
@@ -1 +0,0 @@
1
- export declare function MobileFilterBadges(): import("react/jsx-runtime").JSX.Element | null;
@@ -1,96 +0,0 @@
1
- import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
- import { Filter as p, X as a, Search as c } from "lucide-react";
3
- import { getToolkitIconByName as m } from "../../../../../assets/icons/utils.js";
4
- import { Badge as i } from "../../../atoms/badge.js";
5
- import "../../../atoms/mobile-tooltip.js";
6
- import "../../../atoms/chart.js";
7
- import "../../../atoms/form.js";
8
- import "../../../../../react-resizable-panels.browser-ZHjTH32c.js";
9
- import "../../../atoms/sidebar.js";
10
- import "react";
11
- import "../../../atoms/table.js";
12
- import "../../../../../toolkit-card-GhM_oj4G.js";
13
- import "../../../molecules/tool-card.js";
14
- import { useToolkitPicker as u } from "../hooks/use-toolkit-picker.js";
15
- function T() {
16
- const {
17
- state: { toolkitFilter: t, searchQuery: l },
18
- clearFilter: o,
19
- clearSearchQuery: s,
20
- setActiveTab: d
21
- } = u();
22
- return !(t || l) ? null : /* @__PURE__ */ r("div", { className: "flex flex-wrap gap-2 px-4 pb-0.5 sm:hidden", children: [
23
- t && /* @__PURE__ */ r(
24
- i,
25
- {
26
- className: "h-7 border border-purple-200 bg-purple-50 pr-1.5 pl-2 text-purple-800 shadow-sm ring-1 ring-purple-200/50 dark:border-purple-800/60 dark:bg-purple-950/40 dark:text-purple-200 dark:ring-purple-800/30",
27
- variant: "secondary",
28
- children: [
29
- /* @__PURE__ */ r("span", { className: "mr-1.5 inline-flex items-center gap-1 rounded-full bg-purple-100 px-1.5 py-0.5 text-[10px] text-purple-700 dark:bg-purple-800/60 dark:text-purple-200", children: [
30
- /* @__PURE__ */ e(p, { className: "h-2.5 w-2.5" }),
31
- "Filter"
32
- ] }),
33
- /* @__PURE__ */ r(
34
- "button",
35
- {
36
- className: "inline-flex h-full items-center gap-1.5",
37
- "data-testid": "mobile-filter-badge",
38
- onClick: () => d("toolkits"),
39
- type: "button",
40
- children: [
41
- (() => {
42
- const n = m(t);
43
- return /* @__PURE__ */ e(n, { className: "h-3 w-3" });
44
- })(),
45
- /* @__PURE__ */ e("span", { className: "font-medium text-sm", children: t })
46
- ]
47
- }
48
- ),
49
- /* @__PURE__ */ e(
50
- "button",
51
- {
52
- "aria-label": "Clear toolkit filter",
53
- className: "ml-1 inline-flex h-4 w-4 items-center justify-center rounded-full bg-purple-100 text-red-600 hover:bg-red-100 hover:text-red-700 focus-visible:ring-[3px] focus-visible:ring-red-200 dark:bg-purple-800/60 dark:text-red-400 dark:hover:bg-red-950/40 dark:hover:text-red-300",
54
- "data-testid": "mobile-clear-filter",
55
- onClick: o,
56
- type: "button",
57
- children: /* @__PURE__ */ e(a, { className: "h-3 w-3" })
58
- }
59
- )
60
- ]
61
- }
62
- ),
63
- l && /* @__PURE__ */ r(
64
- i,
65
- {
66
- className: "h-7 border border-teal-200 bg-teal-50 pr-1.5 pl-2 text-teal-800 shadow-sm ring-1 ring-teal-200/50 dark:border-teal-800/60 dark:bg-teal-950/40 dark:text-teal-200 dark:ring-teal-800/30",
67
- variant: "secondary",
68
- children: [
69
- /* @__PURE__ */ r("span", { className: "mr-1.5 inline-flex items-center gap-1 rounded-full bg-teal-100 px-1.5 py-0.5 text-[10px] text-teal-700 dark:bg-teal-800/60 dark:text-teal-200", children: [
70
- /* @__PURE__ */ e(c, { className: "h-2.5 w-2.5" }),
71
- "Search"
72
- ] }),
73
- /* @__PURE__ */ r("span", { className: "font-medium text-sm", children: [
74
- '"',
75
- l,
76
- '"'
77
- ] }),
78
- /* @__PURE__ */ e(
79
- "button",
80
- {
81
- "aria-label": "Clear search query",
82
- className: "ml-1 inline-flex h-4 w-4 items-center justify-center rounded-full bg-teal-100 text-red-600 hover:bg-red-100 hover:text-red-700 focus-visible:ring-[3px] focus-visible:ring-red-200 dark:bg-teal-800/60 dark:text-red-400 dark:hover:bg-red-950/40 dark:hover:text-red-300",
83
- "data-testid": "mobile-clear-search",
84
- onClick: s,
85
- type: "button",
86
- children: /* @__PURE__ */ e(a, { className: "h-3 w-3" })
87
- }
88
- )
89
- ]
90
- }
91
- )
92
- ] });
93
- }
94
- export {
95
- T as MobileFilterBadges
96
- };