@arcadeai/design-system 1.3.0 → 1.4.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 (313) 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 +1 -0
  229. package/dist/main.js +431 -213
  230. package/dist/metadata/oauth-providers.d.ts +69 -0
  231. package/dist/metadata/oauth-providers.js +260 -0
  232. package/dist/metadata/toolkits.d.ts +24 -0
  233. package/dist/metadata/toolkits.js +1500 -0
  234. package/dist/{react.esm-369wBsAv.js → react.esm-CFMQn0EI.js} +31 -31
  235. package/dist/{toolkit-card-GhM_oj4G.js → toolkit-card-UG1sZ0Le.js} +11 -10
  236. package/dist/{vi.bdSIJ99Y-CZgZQPWH.js → vi.bdSIJ99Y-CQ1FdEM8.js} +3462 -3916
  237. package/package.json +38 -35
  238. package/dist/assets/icons/calendly.js +0 -64
  239. package/dist/assets/icons/clickup.d.ts +0 -3
  240. package/dist/assets/icons/e2b.d.ts +0 -3
  241. package/dist/assets/icons/e2b.js +0 -9
  242. package/dist/assets/icons/firecrawl.d.ts +0 -5
  243. package/dist/assets/icons/firecrawl.js +0 -17
  244. package/dist/assets/icons/google-calendar.js +0 -93
  245. package/dist/assets/icons/google-docs.js +0 -219
  246. package/dist/assets/icons/hubspot.d.ts +0 -3
  247. package/dist/assets/icons/index.js +0 -128
  248. package/dist/assets/icons/linkedin.d.ts +0 -3
  249. package/dist/assets/icons/netsuite.d.ts +0 -3
  250. package/dist/assets/icons/oauth.d.ts +0 -3
  251. package/dist/assets/icons/reddit.js +0 -268
  252. package/dist/assets/icons/utils.d.ts +0 -435
  253. package/dist/assets/icons/utils.js +0 -439
  254. package/dist/assets/icons/xero.js +0 -63
  255. package/dist/assets/icons/youtube.d.ts +0 -3
  256. package/dist/components/ui/organisms/toolkit-picker/components/mobile-filter-badges.d.ts +0 -1
  257. package/dist/components/ui/organisms/toolkit-picker/components/mobile-filter-badges.js +0 -96
  258. package/dist/index-DEJd-dpa.js +0 -1537
  259. /package/dist/{assets → components/ui/atoms}/icons/airtable.d.ts +0 -0
  260. /package/dist/{assets → components/ui/atoms}/icons/arcade.d.ts +0 -0
  261. /package/dist/{assets → components/ui/atoms}/icons/asana.d.ts +0 -0
  262. /package/dist/{assets → components/ui/atoms}/icons/atlassian.d.ts +0 -0
  263. /package/dist/{assets → components/ui/atoms}/icons/auth0.d.ts +0 -0
  264. /package/dist/{assets → components/ui/atoms}/icons/azure.d.ts +0 -0
  265. /package/dist/{assets → components/ui/atoms}/icons/bluesky.d.ts +0 -0
  266. /package/dist/{assets → components/ui/atoms}/icons/box.d.ts +0 -0
  267. /package/dist/{assets → components/ui/atoms}/icons/calendly.d.ts +0 -0
  268. /package/dist/{assets → components/ui/atoms}/icons/coinbase.d.ts +0 -0
  269. /package/dist/{assets → components/ui/atoms}/icons/confluence.d.ts +0 -0
  270. /package/dist/{assets → components/ui/atoms}/icons/datadog.d.ts +0 -0
  271. /package/dist/{assets → components/ui/atoms}/icons/discord.d.ts +0 -0
  272. /package/dist/{assets → components/ui/atoms}/icons/dropbox.d.ts +0 -0
  273. /package/dist/{assets → components/ui/atoms}/icons/ebay.d.ts +0 -0
  274. /package/dist/{assets → components/ui/atoms}/icons/figma.d.ts +0 -0
  275. /package/dist/{assets → components/ui/atoms}/icons/github.d.ts +0 -0
  276. /package/dist/{assets → components/ui/atoms}/icons/gitlab.d.ts +0 -0
  277. /package/dist/{assets → components/ui/atoms}/icons/gmail.d.ts +0 -0
  278. /package/dist/{assets → components/ui/atoms}/icons/google-calendar.d.ts +0 -0
  279. /package/dist/{assets → components/ui/atoms}/icons/google-contacts.d.ts +0 -0
  280. /package/dist/{assets → components/ui/atoms}/icons/google-docs.d.ts +0 -0
  281. /package/dist/{assets → components/ui/atoms}/icons/google-drive.d.ts +0 -0
  282. /package/dist/{assets → components/ui/atoms}/icons/google-finance.d.ts +0 -0
  283. /package/dist/{assets → components/ui/atoms}/icons/google-flight.d.ts +0 -0
  284. /package/dist/{assets → components/ui/atoms}/icons/google-hotels.d.ts +0 -0
  285. /package/dist/{assets → components/ui/atoms}/icons/google-maps.d.ts +0 -0
  286. /package/dist/{assets → components/ui/atoms}/icons/google-news.d.ts +0 -0
  287. /package/dist/{assets → components/ui/atoms}/icons/google-sheets.d.ts +0 -0
  288. /package/dist/{assets → components/ui/atoms}/icons/google-shopping.d.ts +0 -0
  289. /package/dist/{assets → components/ui/atoms}/icons/google.d.ts +0 -0
  290. /package/dist/{assets → components/ui/atoms}/icons/heroku.d.ts +0 -0
  291. /package/dist/{assets → components/ui/atoms}/icons/jira.d.ts +0 -0
  292. /package/dist/{assets → components/ui/atoms}/icons/linear.d.ts +0 -0
  293. /package/dist/{assets → components/ui/atoms}/icons/microsoft.d.ts +0 -0
  294. /package/dist/{assets → components/ui/atoms}/icons/notion.d.ts +0 -0
  295. /package/dist/{assets → components/ui/atoms}/icons/outlook-calendar.d.ts +0 -0
  296. /package/dist/{assets → components/ui/atoms}/icons/outlook-mail.d.ts +0 -0
  297. /package/dist/{assets → components/ui/atoms}/icons/pinterest.d.ts +0 -0
  298. /package/dist/{assets → components/ui/atoms}/icons/postgres.d.ts +0 -0
  299. /package/dist/{assets → components/ui/atoms}/icons/reddit.d.ts +0 -0
  300. /package/dist/{assets → components/ui/atoms}/icons/salesforce.d.ts +0 -0
  301. /package/dist/{assets → components/ui/atoms}/icons/shopify.d.ts +0 -0
  302. /package/dist/{assets → components/ui/atoms}/icons/slack.d.ts +0 -0
  303. /package/dist/{assets → components/ui/atoms}/icons/spotify.d.ts +0 -0
  304. /package/dist/{assets → components/ui/atoms}/icons/stripe.d.ts +0 -0
  305. /package/dist/{assets → components/ui/atoms}/icons/tesla.d.ts +0 -0
  306. /package/dist/{assets → components/ui/atoms}/icons/tiktok.d.ts +0 -0
  307. /package/dist/{assets → components/ui/atoms}/icons/twilio.d.ts +0 -0
  308. /package/dist/{assets → components/ui/atoms}/icons/twitch.d.ts +0 -0
  309. /package/dist/{assets → components/ui/atoms}/icons/vercel.d.ts +0 -0
  310. /package/dist/{assets → components/ui/atoms}/icons/walmart.d.ts +0 -0
  311. /package/dist/{assets → components/ui/atoms}/icons/x.d.ts +0 -0
  312. /package/dist/{assets → components/ui/atoms}/icons/xero.d.ts +0 -0
  313. /package/dist/{assets → components/ui/atoms}/icons/zoom.d.ts +0 -0
@@ -1,3 +1,4 @@
1
+ /** biome-ignore-all lint/performance/noBarrelFile: Barrel files are acceptable for atomic component folders */
1
2
  export { EmptyState } from './empty-state';
2
3
  export { RequirementBadges } from './requirement-badges';
3
4
  export { ToolCard } from './tool-card';
@@ -1,5 +1,5 @@
1
1
  import { EmptyState as e } from "./empty-state.js";
2
- import { R as m, T as a } from "../../../toolkit-card-GhM_oj4G.js";
2
+ import { R as m, T as a } from "../../../toolkit-card-UG1sZ0Le.js";
3
3
  import { ToolCard as p } from "./tool-card.js";
4
4
  import { ToolkitPickerTrigger as f } from "./toolkit-picker-trigger.js";
5
5
  import { ToolkitSelectionSummary as x } from "./toolkit-selection-summary.js";
@@ -12,13 +12,14 @@ import "../../../react-resizable-panels.browser-ZHjTH32c.js";
12
12
  import "../atoms/sidebar.js";
13
13
  import "../atoms/table.js";
14
14
  import "../atoms/tooltip.js";
15
- import { O as q, R as x, S as A } from "../../../toolkit-card-GhM_oj4G.js";
15
+ import { O as x, R as A, S as b } from "../../../toolkit-card-UG1sZ0Le.js";
16
16
  import "./tool-card.js";
17
- import "../../../assets/icons/utils.js";
17
+ import "../../../metadata/oauth-providers.js";
18
+ import "../../../metadata/toolkits.js";
18
19
  import "../organisms/toolkit-picker/hooks/use-toolkit-picker.js";
19
20
  import "../utils/memo.js";
20
21
  export {
21
- q as OAuthBadge,
22
- x as RequirementBadges,
23
- A as SecretsBadge
22
+ x as OAuthBadge,
23
+ A as RequirementBadges,
24
+ b as SecretsBadge
24
25
  };
@@ -2,27 +2,27 @@ import { jsx as r, jsxs as a } from "react/jsx-runtime";
2
2
  import { Wrench as N } from "lucide-react";
3
3
  import * as t from "react";
4
4
  import { Button as E } from "../atoms/button.js";
5
- import { Card as P, CardContent as D } from "../atoms/card.js";
6
- import { Checkbox as I } from "../atoms/checkbox.js";
7
- import { Collapsible as j, CollapsibleTrigger as K, CollapsibleContent as S } from "../atoms/collapsible.js";
5
+ import { Card as D, CardContent as I } from "../atoms/card.js";
6
+ import { Checkbox as P } from "../atoms/checkbox.js";
7
+ import { Collapsible as T, CollapsibleTrigger as _, CollapsibleContent as S } from "../atoms/collapsible.js";
8
8
  import { c as m } from "../../../utils-Db4QWi-E.js";
9
- import { createPropsComparator as T } from "../utils/memo.js";
10
- const _ = /\s+/;
9
+ import { createPropsComparator as j } from "../utils/memo.js";
10
+ const K = /\s+/, O = 220, R = 40;
11
11
  function z({
12
12
  fully_qualified_name: u,
13
13
  name: k,
14
14
  toolkitName: p,
15
15
  description: n,
16
- Icon: b = (s) => /* @__PURE__ */ r(N, { ...s }),
16
+ Icon: C = (s) => /* @__PURE__ */ r(N, { ...s }),
17
17
  isSelected: o = !1,
18
18
  onSelect: l,
19
19
  hideCheckbox: h = !1,
20
- ...C
20
+ ...b
21
21
  }) {
22
22
  const s = t.useCallback(
23
23
  () => l?.(!o),
24
24
  [o, l]
25
- ), [i, x] = t.useState(!1), w = t.useMemo(() => n ? n.length > 220 ? !0 : n.trim().split(_).length > 40 : !1, [n]), y = (e) => {
25
+ ), [i, x] = t.useState(!1), w = t.useMemo(() => n ? n.length > O ? !0 : n.trim().split(K).length > R : !1, [n]), y = (e) => {
26
26
  const c = e.key === "Enter" || e.code === "Enter", d = e.key === " " || e.key === "Spacebar" || e.code === "Space";
27
27
  (c || d) && (e.preventDefault(), s());
28
28
  }, v = t.useCallback(
@@ -35,9 +35,9 @@ function z({
35
35
  (c || d) && e.stopPropagation();
36
36
  }, []);
37
37
  return /* @__PURE__ */ r(
38
- P,
38
+ D,
39
39
  {
40
- ...C,
40
+ ...b,
41
41
  "aria-label": `Select tool ${u}`,
42
42
  className: m(
43
43
  "group relative cursor-pointer overflow-hidden rounded-lg border py-3 transition-all duration-200",
@@ -49,7 +49,7 @@ function z({
49
49
  onClick: s,
50
50
  onKeyDown: y,
51
51
  tabIndex: 0,
52
- children: /* @__PURE__ */ r(D, { className: "px-3", children: /* @__PURE__ */ a(
52
+ children: /* @__PURE__ */ r(I, { className: "px-3", children: /* @__PURE__ */ a(
53
53
  "div",
54
54
  {
55
55
  className: m(
@@ -59,7 +59,7 @@ function z({
59
59
  ),
60
60
  children: [
61
61
  !h && /* @__PURE__ */ r("div", { className: "flex items-center justify-center pt-1.5", children: /* @__PURE__ */ r(
62
- I,
62
+ P,
63
63
  {
64
64
  checked: o,
65
65
  onCheckedChange: v,
@@ -70,13 +70,13 @@ function z({
70
70
  ) }),
71
71
  /* @__PURE__ */ a("div", { className: "min-w-0 space-y-2", children: [
72
72
  /* @__PURE__ */ a("div", { className: "flex min-w-0 items-start gap-3", children: [
73
- /* @__PURE__ */ r("div", { className: "flex size-9 items-center justify-center rounded bg-gradient-to-b from-neutral-200 to-neutral-100 ring-1 ring-black/5 dark:from-neutral-800 dark:to-neutral-900 dark:ring-white/5", children: /* @__PURE__ */ r(b, { className: "size-6 text-neutral-700 dark:text-neutral-200" }) }),
73
+ /* @__PURE__ */ r("div", { className: "flex size-9 items-center justify-center rounded bg-gradient-to-b from-neutral-200 to-neutral-100 ring-1 ring-black/5 dark:from-neutral-800 dark:to-neutral-900 dark:ring-white/5", children: /* @__PURE__ */ r(C, { className: "size-6 text-neutral-700 dark:text-neutral-200" }) }),
74
74
  /* @__PURE__ */ a("div", { className: "flex h-9 min-w-0 flex-col justify-center space-y-0.5", children: [
75
75
  /* @__PURE__ */ r("h3", { className: "truncate font-semibold text-base text-neutral-900 leading-tight dark:text-neutral-100", children: k ?? u }),
76
76
  p && /* @__PURE__ */ r("span", { className: "font-medium text-neutral-500 text-xs leading-tight dark:text-neutral-400", children: p })
77
77
  ] })
78
78
  ] }),
79
- n && /* @__PURE__ */ a(j, { onOpenChange: x, open: i, children: [
79
+ n && /* @__PURE__ */ a(T, { onOpenChange: x, open: i, children: [
80
80
  /* @__PURE__ */ a("div", { className: "space-y-1", children: [
81
81
  /* @__PURE__ */ r(
82
82
  "p",
@@ -88,7 +88,7 @@ function z({
88
88
  children: n
89
89
  }
90
90
  ),
91
- w && /* @__PURE__ */ r(K, { asChild: !0, children: /* @__PURE__ */ a(
91
+ w && /* @__PURE__ */ r(_, { asChild: !0, children: /* @__PURE__ */ a(
92
92
  E,
93
93
  {
94
94
  className: "h-auto px-0",
@@ -113,7 +113,7 @@ function z({
113
113
  }
114
114
  );
115
115
  }
116
- const R = T([
116
+ const A = j([
117
117
  "fully_qualified_name",
118
118
  "name",
119
119
  "toolkitName",
@@ -121,7 +121,7 @@ const R = T([
121
121
  "isSelected",
122
122
  "Icon",
123
123
  "hideCheckbox"
124
- ]), F = t.memo(z, R);
124
+ ]), $ = t.memo(z, A);
125
125
  export {
126
- F as ToolCard
126
+ $ as ToolCard
127
127
  };
@@ -6,7 +6,7 @@ import "../atoms/card.js";
6
6
  import "../atoms/checkbox.js";
7
7
  import "../atoms/view-tools-control.js";
8
8
  import "../../../utils-Db4QWi-E.js";
9
- import { T as k } from "../../../toolkit-card-GhM_oj4G.js";
9
+ import { T as k } from "../../../toolkit-card-UG1sZ0Le.js";
10
10
  import "../utils/memo.js";
11
11
  export {
12
12
  k as ToolkitCard
@@ -1,35 +1,41 @@
1
1
  import { jsx as e, jsxs as t, Fragment as h } from "react/jsx-runtime";
2
- import { Loader2 as w, Package as v } from "lucide-react";
3
- import { getToolkitIconByName as y } from "../../../assets/icons/utils.js";
4
- import { Badge as j } from "../atoms/badge.js";
2
+ import { Loader2 as v, Package as w } from "lucide-react";
3
+ import { Badge as y } from "../atoms/badge.js";
5
4
  import { Button as z } from "../atoms/button.js";
5
+ import { getToolkitIcon as j } from "../atoms/icons/utils.js";
6
6
  import { Tooltip as C, TooltipTrigger as $, TooltipContent as L } from "../atoms/tooltip.js";
7
- import { c as k } from "../../../utils-Db4QWi-E.js";
8
- import { useToolkitPicker as B } from "../organisms/toolkit-picker/hooks/use-toolkit-picker.js";
7
+ import { c as g } from "../../../utils-Db4QWi-E.js";
8
+ import { useToolkitPicker as I } from "../organisms/toolkit-picker/hooks/use-toolkit-picker.js";
9
9
  function D({
10
- maxVisibleIcons: g = 2,
11
- className: x,
12
- countType: s = "toolkits",
13
- loading: r = !1,
14
- ...i
10
+ maxVisibleIcons: x = 2,
11
+ className: N,
12
+ countType: r = "toolkits",
13
+ loading: i = !1,
14
+ ...n
15
15
  }) {
16
16
  const {
17
- state: { committedToolkits: N, committedTools: T }
18
- } = B(), n = Array.from(N.keys()), l = n.length, f = T.size, o = n.slice(0, g).map((a) => y(a)), p = Math.max(l - o.length, 0), b = s === "tools";
19
- let c = "Toolkits", m = l;
20
- b && (c = "Tools", m = f);
21
- let d = `Select ${s === "tools" ? "Tools" : "Toolkits"}`;
22
- return r ? d = "Loading toolkits..." : l > 0 && (d = `${m} ${c.toLowerCase()} selected`), /* @__PURE__ */ e(
17
+ state: { committedToolkits: f, committedTools: T }
18
+ } = I(), o = Array.from(f.keys()), l = o.length, p = T.size, c = o.slice(0, x).map((a) => {
19
+ const s = f.get(a);
20
+ return j({
21
+ metadataIcon: s?.metadata?.icon,
22
+ toolkitName: a
23
+ });
24
+ }), k = Math.max(l - c.length, 0), b = r === "tools";
25
+ let m = "Toolkits", d = l;
26
+ b && (m = "Tools", d = p);
27
+ let u = `Select ${r === "tools" ? "Tools" : "Toolkits"}`;
28
+ return i ? u = "Loading toolkits..." : l > 0 && (u = `${d} ${m.toLowerCase()} selected`), /* @__PURE__ */ e(
23
29
  z,
24
30
  {
25
- ...i,
26
- "aria-label": d,
27
- className: k("gap-2 bg-transparent transition-colors", x),
28
- disabled: r,
29
- size: i.size ?? "sm",
30
- variant: i.variant ?? "outline",
31
- children: r ? /* @__PURE__ */ t(h, { children: [
32
- /* @__PURE__ */ e(w, { className: "h-4 w-4 animate-spin" }),
31
+ ...n,
32
+ "aria-label": u,
33
+ className: g("gap-2 bg-transparent transition-colors", N),
34
+ disabled: i,
35
+ size: n.size ?? "sm",
36
+ variant: n.variant ?? "outline",
37
+ children: i ? /* @__PURE__ */ t(h, { children: [
38
+ /* @__PURE__ */ e(v, { className: "h-4 w-4 animate-spin" }),
33
39
  /* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: [
34
40
  /* @__PURE__ */ e("div", { className: "h-4 w-16 animate-pulse rounded bg-neutral-200 dark:bg-neutral-700" }),
35
41
  /* @__PURE__ */ e("div", { className: "h-5 w-6 animate-pulse rounded-full bg-neutral-200 dark:bg-neutral-700" })
@@ -37,23 +43,26 @@ function D({
37
43
  ] }) : /* @__PURE__ */ t(h, { children: [
38
44
  l > 0 && /* @__PURE__ */ t(C, { children: [
39
45
  /* @__PURE__ */ e($, { asChild: !0, children: /* @__PURE__ */ t("span", { className: "mr-1.5 flex items-center", children: [
40
- o.map((a, u) => /* @__PURE__ */ e(
46
+ c.map((a, s) => /* @__PURE__ */ e(
41
47
  "div",
42
48
  {
43
- className: k("relative first:ml-0", u > 0 && "-ml-2"),
44
- style: { zIndex: u + 1 },
45
- children: /* @__PURE__ */ e("div", { className: "flex h-6 w-6 items-center justify-center rounded-full bg-neutral-200 p-0.5 ring-1 ring-black/15 dark:bg-neutral-800 dark:ring-white/15", children: /* @__PURE__ */ e(a, { className: "h-3.5 w-3.5" }) })
49
+ className: g(
50
+ "relative first:ml-0",
51
+ s > 0 && "-ml-1.5"
52
+ ),
53
+ style: { zIndex: s + 1 },
54
+ children: /* @__PURE__ */ e("div", { className: "flex size-5 items-center justify-center rounded-full bg-neutral-200 p-2 ring-1 ring-black/15 dark:bg-neutral-800 dark:ring-white/15", children: /* @__PURE__ */ e(a, { className: "h-2.5 w-2.5" }) })
46
55
  },
47
- `${a.name || "icon"}-${u}`
56
+ `${a.name || "icon"}-${s}`
48
57
  )),
49
- p > 0 && /* @__PURE__ */ t(
58
+ k > 0 && /* @__PURE__ */ t(
50
59
  "span",
51
60
  {
52
61
  className: "-ml-2 inline-flex h-6 w-6 items-center justify-center rounded-full bg-neutral-200 font-medium text-[10px] text-neutral-700 ring-1 ring-black/15 dark:bg-neutral-800 dark:text-neutral-200 dark:ring-white/15",
53
- style: { zIndex: o.length + 10 },
62
+ style: { zIndex: c.length + 10 },
54
63
  children: [
55
64
  "+",
56
- p
65
+ k
57
66
  ]
58
67
  }
59
68
  )
@@ -63,29 +72,29 @@ function D({
63
72
  /* @__PURE__ */ e("span", { className: "font-semibold text-neutral-800 dark:text-neutral-200", children: "Toolkits" }),
64
73
  /* @__PURE__ */ t("span", { className: "text-neutral-700 dark:text-neutral-300", children: [
65
74
  ": ",
66
- n.join(", ")
75
+ o.join(", ")
67
76
  ] })
68
77
  ] }),
69
78
  /* @__PURE__ */ t("li", { children: [
70
79
  /* @__PURE__ */ e("span", { className: "font-semibold text-neutral-800 dark:text-neutral-200", children: "Tools" }),
71
80
  /* @__PURE__ */ t("span", { className: "text-neutral-700 dark:text-neutral-300", children: [
72
81
  ": ",
73
- f,
82
+ p,
74
83
  " selected"
75
84
  ] })
76
85
  ] })
77
86
  ] }) }) })
78
87
  ] }),
79
88
  l === 0 && /* @__PURE__ */ t(h, { children: [
80
- /* @__PURE__ */ e(v, { className: "h-4 w-4" }),
89
+ /* @__PURE__ */ e(w, { className: "h-4 w-4" }),
81
90
  /* @__PURE__ */ t("span", { className: "truncate text-sm", children: [
82
91
  "Select ",
83
- s === "tools" ? "Tools" : "Toolkits"
92
+ r === "tools" ? "Tools" : "Toolkits"
84
93
  ] })
85
94
  ] }),
86
95
  l > 0 && /* @__PURE__ */ t("span", { className: "inline-flex items-center gap-2 truncate text-sm", children: [
87
- c,
88
- /* @__PURE__ */ e(j, { className: "px-1.5 py-0 text-[11px]", variant: "default", children: m })
96
+ m,
97
+ /* @__PURE__ */ e(y, { className: "px-1.5 py-0 text-[11px]", variant: "default", children: d })
89
98
  ] })
90
99
  ] })
91
100
  }
@@ -1,10 +1,11 @@
1
1
  import { SelectionMode } from '../organisms/toolkit-picker';
2
- export interface ToolkitSelectionSummaryProps {
3
- selectedToolkits: Set<string>;
2
+ import { ToolkitSelectionMap } from '../organisms/toolkit-picker/hooks/use-toolkit-picker';
3
+ export type ToolkitSelectionSummaryProps = {
4
+ selectedToolkits: ToolkitSelectionMap;
4
5
  selectedTools: Set<string>;
5
6
  onClear: () => void;
6
7
  onSelectAll?: () => void;
7
8
  allVisibleSelected?: boolean;
8
9
  selectionMode?: SelectionMode;
9
- }
10
+ };
10
11
  export declare function ToolkitSelectionSummary({ selectedToolkits, selectedTools, onClear, onSelectAll, allVisibleSelected, selectionMode, }: ToolkitSelectionSummaryProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import { Package as u, X as b, CheckSquare as y } from "lucide-react";
3
- import { getToolkitIconByName as C } from "../../../assets/icons/utils.js";
2
+ import { Package as u, X as y, CheckSquare as C } from "lucide-react";
4
3
  import { Button as x } from "../atoms/button.js";
5
4
  import { MobileTooltip as p, MobileTooltipTrigger as g, MobileTooltipContent as f } from "../atoms/mobile-tooltip.js";
6
5
  import "../atoms/chart.js";
@@ -9,60 +8,64 @@ import "../../../react-resizable-panels.browser-ZHjTH32c.js";
9
8
  import "../atoms/sidebar.js";
10
9
  import "react";
11
10
  import "../atoms/table.js";
12
- import "../../../toolkit-card-GhM_oj4G.js";
11
+ import "../../../toolkit-card-UG1sZ0Le.js";
13
12
  import "./tool-card.js";
13
+ import { getToolkitIcon as z } from "../atoms/icons/utils.js";
14
14
  import "../organisms/toolkit-picker/hooks/use-toolkit-picker.js";
15
- const z = 3;
16
- function D({
17
- selectedToolkits: r,
18
- selectedTools: n,
15
+ const I = 3;
16
+ function E({
17
+ selectedToolkits: s,
18
+ selectedTools: m,
19
19
  onClear: N,
20
- onSelectAll: m,
20
+ onSelectAll: o,
21
21
  allVisibleSelected: k,
22
22
  selectionMode: w
23
23
  }) {
24
- const s = r.size > 0 || n.size > 0, l = Array.from(r), o = n.size, i = l.length, a = l.slice(0, z), c = Math.max(i - a.length, 0);
24
+ const l = s.size > 0 || m.size > 0, i = Array.from(s.keys()), c = m.size, a = i.length, r = i.slice(0, I), d = Math.max(a - r.length, 0);
25
25
  return /* @__PURE__ */ t(
26
26
  "div",
27
27
  {
28
28
  className: "flex items-center gap-3",
29
29
  "data-testid": "toolkit-selection-summary",
30
30
  children: [
31
- !s && /* @__PURE__ */ t("div", { className: "flex items-center gap-2 text-neutral-500 text-sm dark:text-neutral-400", children: [
31
+ !l && /* @__PURE__ */ t("div", { className: "flex items-center gap-2 text-neutral-500 text-sm dark:text-neutral-400", children: [
32
32
  /* @__PURE__ */ e(u, { className: "h-4 w-4" }),
33
33
  /* @__PURE__ */ e("span", { children: "No items selected" })
34
34
  ] }),
35
- s && /* @__PURE__ */ e("div", { className: "flex w-full items-center gap-2 sm:w-auto", children: /* @__PURE__ */ t(p, { children: [
35
+ l && /* @__PURE__ */ e("div", { className: "flex w-full items-center gap-2 sm:w-auto", children: /* @__PURE__ */ t(p, { children: [
36
36
  /* @__PURE__ */ e(g, { asChild: !0, children: /* @__PURE__ */ t("div", { className: "grid min-h-8 w-full grid-cols-1 items-center gap-x-3 gap-y-1 rounded-lg bg-neutral-100 px-2 py-1.5 text-xs sm:min-h-10 sm:w-auto sm:grid-cols-[auto_auto] sm:px-3 sm:py-2 sm:text-sm dark:bg-neutral-800", children: [
37
37
  /* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: [
38
38
  /* @__PURE__ */ e(u, { className: "h-3.5 w-3.5 text-neutral-600 sm:h-4 sm:w-4 dark:text-neutral-300" }),
39
39
  /* @__PURE__ */ t("span", { className: "font-medium text-neutral-900 dark:text-neutral-100", children: [
40
- o,
40
+ c,
41
41
  " tool",
42
- o !== 1 ? "s" : "",
42
+ c !== 1 ? "s" : "",
43
43
  " selected"
44
44
  ] }),
45
45
  /* @__PURE__ */ t("div", { className: "ml-1 flex items-center sm:ml-1.5", children: [
46
- a.map((d, h) => {
47
- const v = C(d);
46
+ r.map((n, h) => {
47
+ const v = s.get(n), b = z({
48
+ metadataIcon: v?.metadata?.icon,
49
+ toolkitName: n
50
+ });
48
51
  return /* @__PURE__ */ e(
49
52
  "div",
50
53
  {
51
54
  className: `relative ${h > 0 ? "-ml-2" : ""}`,
52
55
  style: { zIndex: h + 1 },
53
- children: /* @__PURE__ */ e("div", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-neutral-200 p-0.5 ring-1 ring-black/15 sm:h-6 sm:w-6 dark:bg-neutral-700 dark:ring-white/15", children: /* @__PURE__ */ e(v, { className: "h-3 w-3 sm:h-3.5 sm:w-3.5" }) })
56
+ children: /* @__PURE__ */ e("div", { className: "flex h-5 w-5 items-center justify-center rounded-full bg-neutral-200 p-0.5 ring-1 ring-black/15 sm:h-6 sm:w-6 dark:bg-neutral-700 dark:ring-white/15", children: /* @__PURE__ */ e(b, { className: "h-3 w-3 sm:h-3.5 sm:w-3.5" }) })
54
57
  },
55
- `mini-icon-${d}`
58
+ `mini-icon-${n}`
56
59
  );
57
60
  }),
58
- c > 0 && /* @__PURE__ */ t(
61
+ d > 0 && /* @__PURE__ */ t(
59
62
  "span",
60
63
  {
61
64
  className: "-ml-2 inline-flex h-5 w-5 items-center justify-center rounded-full bg-neutral-200 font-medium text-[10px] text-neutral-700 ring-1 ring-black/15 sm:h-6 sm:w-6 dark:bg-neutral-700 dark:text-neutral-200 dark:ring-white/15",
62
- style: { zIndex: a.length + 10 },
65
+ style: { zIndex: r.length + 10 },
63
66
  children: [
64
67
  "+",
65
- c
68
+ d
66
69
  ]
67
70
  }
68
71
  )
@@ -70,15 +73,15 @@ function D({
70
73
  ] }),
71
74
  /* @__PURE__ */ t("div", { className: "text-neutral-600 text-xs dark:text-neutral-400", children: [
72
75
  "from ",
73
- i,
76
+ a,
74
77
  " toolkit",
75
- i !== 1 ? "s" : ""
78
+ a !== 1 ? "s" : ""
76
79
  ] })
77
80
  ] }) }),
78
- /* @__PURE__ */ e(f, { side: "top", sideOffset: 6, children: /* @__PURE__ */ e("div", { className: "max-w-64 text-wrap text-xs", children: l.join(", ") }) })
81
+ /* @__PURE__ */ e(f, { side: "top", sideOffset: 6, children: /* @__PURE__ */ e("div", { className: "max-w-64 text-wrap text-xs", children: i.join(", ") }) })
79
82
  ] }) }),
80
83
  /* @__PURE__ */ t("div", { className: "ml-auto flex items-center gap-2 sm:hidden", children: [
81
- s && /* @__PURE__ */ t(
84
+ l && /* @__PURE__ */ t(
82
85
  x,
83
86
  {
84
87
  className: "h-8 text-red-600 hover:text-red-700",
@@ -87,22 +90,22 @@ function D({
87
90
  size: "sm",
88
91
  variant: "ghost",
89
92
  children: [
90
- /* @__PURE__ */ e(b, { className: "mr-0.5 h-4 w-4" }),
93
+ /* @__PURE__ */ e(y, { className: "mr-0.5 h-4 w-4" }),
91
94
  "Clear All"
92
95
  ]
93
96
  }
94
97
  ),
95
- w !== "single" && m && !k && /* @__PURE__ */ t(p, { children: [
98
+ w !== "single" && o && !k && /* @__PURE__ */ t(p, { children: [
96
99
  /* @__PURE__ */ e(g, { asChild: !0, children: /* @__PURE__ */ e(
97
100
  x,
98
101
  {
99
102
  "aria-label": "Select all visible",
100
103
  className: "h-8 w-8",
101
104
  "data-testid": "footer-select-all",
102
- onClick: m,
105
+ onClick: o,
103
106
  size: "sm",
104
107
  variant: "ghost",
105
- children: /* @__PURE__ */ e(y, { className: "h-4 w-4" })
108
+ children: /* @__PURE__ */ e(C, { className: "h-4 w-4" })
106
109
  }
107
110
  ) }),
108
111
  /* @__PURE__ */ e(f, { side: "top", sideOffset: 6, children: /* @__PURE__ */ e("div", { className: "text-xs", children: "Select all visible" }) })
@@ -113,5 +116,5 @@ function D({
113
116
  );
114
117
  }
115
118
  export {
116
- D as ToolkitSelectionSummary
119
+ E as ToolkitSelectionSummary
117
120
  };
@@ -1 +1,2 @@
1
+ /** biome-ignore-all lint/performance/noBarrelFile: Barrel files are acceptable for atomic component folders */
1
2
  export { ToolkitPicker } from './toolkit-picker/index';
@@ -1,31 +1,31 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { ToolkitSelectionSummary as k } from "../../../molecules/toolkit-selection-summary.js";
3
- import { useToolkitPicker as S } from "../hooks/use-toolkit-picker.js";
2
+ import { ToolkitSelectionSummary as S } from "../../../molecules/toolkit-selection-summary.js";
3
+ import { useToolkitPicker as T } from "../hooks/use-toolkit-picker.js";
4
4
  function A() {
5
5
  const {
6
6
  state: {
7
7
  selectionMode: l,
8
8
  selectedToolkits: o,
9
9
  selectedTools: t,
10
- filteredToolkits: s,
11
- filteredTools: i,
10
+ filteredToolkits: i,
11
+ filteredTools: s,
12
12
  activeTab: a
13
13
  },
14
14
  clearSelections: c,
15
15
  selectAll: n
16
- } = S(), m = s.size === o.size && i.size === t.size, f = () => {
17
- const u = a === "toolkits" ? Array.from(s).flatMap(
16
+ } = T(), m = i.size === o.size && s.size === t.size, f = () => {
17
+ const u = a === "toolkits" ? Array.from(i).flatMap(
18
18
  (e) => e.tools.map((d) => d.fully_qualified_name)
19
- ) : Array.from(i).map((e) => e.fully_qualified_name);
19
+ ) : Array.from(s).map((e) => e.fully_qualified_name);
20
20
  n(u);
21
21
  };
22
22
  return l !== "multi" ? null : /* @__PURE__ */ r("div", { className: "w-full sm:w-auto", children: /* @__PURE__ */ r(
23
- k,
23
+ S,
24
24
  {
25
25
  allVisibleSelected: m,
26
26
  onClear: c,
27
27
  onSelectAll: f,
28
- selectedToolkits: new Set(o.keys()),
28
+ selectedToolkits: o,
29
29
  selectedTools: new Set(t.keys()),
30
30
  selectionMode: l
31
31
  }
@@ -8,11 +8,12 @@ import "../../../../../react-resizable-panels.browser-ZHjTH32c.js";
8
8
  import "../../../atoms/sidebar.js";
9
9
  import "react";
10
10
  import "../../../atoms/table.js";
11
- import "../../../../../toolkit-card-GhM_oj4G.js";
11
+ import "../../../../../toolkit-card-UG1sZ0Le.js";
12
12
  import "../../../molecules/tool-card.js";
13
- import "../../../../../assets/icons/utils.js";
13
+ import "../../../../../metadata/oauth-providers.js";
14
+ import "../../../../../metadata/toolkits.js";
14
15
  import { useToolkitPicker as p } from "../hooks/use-toolkit-picker.js";
15
- function N() {
16
+ function j() {
16
17
  const {
17
18
  state: { searchQuery: r },
18
19
  setSearchQuery: e
@@ -32,5 +33,5 @@ function N() {
32
33
  ] });
33
34
  }
34
35
  export {
35
- N as SearchInput
36
+ j as SearchInput
36
37
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import "lucide-react";
3
- import { Button as n } from "../../../atoms/button.js";
3
+ import { Button as p } from "../../../atoms/button.js";
4
4
  import "../../../atoms/mobile-tooltip.js";
5
5
  import "../../../atoms/chart.js";
6
6
  import "../../../atoms/form.js";
@@ -8,18 +8,19 @@ import "../../../../../react-resizable-panels.browser-ZHjTH32c.js";
8
8
  import "../../../atoms/sidebar.js";
9
9
  import "react";
10
10
  import "../../../atoms/table.js";
11
- import "../../../../../toolkit-card-GhM_oj4G.js";
11
+ import "../../../../../toolkit-card-UG1sZ0Le.js";
12
12
  import "../../../molecules/tool-card.js";
13
- import "../../../../../assets/icons/utils.js";
13
+ import "../../../../../metadata/oauth-providers.js";
14
+ import "../../../../../metadata/toolkits.js";
14
15
  import "../hooks/use-toolkit-picker.js";
15
- function $({
16
+ function h({
16
17
  selectionMode: t,
17
18
  selectedCount: o,
18
19
  onCommit: r,
19
20
  className: i
20
21
  }) {
21
22
  return /* @__PURE__ */ m(
22
- n,
23
+ p,
23
24
  {
24
25
  className: i,
25
26
  "data-testid": "use-tools-button",
@@ -31,5 +32,5 @@ function $({
31
32
  );
32
33
  }
33
34
  export {
34
- $ as SelectButton
35
+ h as SelectButton
35
36
  };
@@ -1,9 +1,9 @@
1
1
  import { ProcessedToolkit } from '../../../../../lib/arcade/arcade';
2
- export interface ToolkitCardWithSelectionProps {
2
+ export type ToolkitCardWithSelectionProps = {
3
3
  toolkit: ProcessedToolkit;
4
4
  selectedTools: Set<string>;
5
5
  onSelect: (checked: boolean) => void;
6
6
  onView: () => void;
7
7
  selectionMode: 'single' | 'multi';
8
- }
8
+ };
9
9
  export declare function ToolkitCardWithSelection({ toolkit, selectedTools, onSelect, onView, selectionMode, }: ToolkitCardWithSelectionProps): import("react/jsx-runtime").JSX.Element;
@@ -1,32 +1,35 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import { getToolIconByToolkitName as d } from "../../../../../assets/icons/utils.js";
3
- import { T } from "../../../../../toolkit-card-GhM_oj4G.js";
2
+ import { getToolkitIcon as c } from "../../../atoms/icons/utils.js";
3
+ import { T as d } from "../../../../../toolkit-card-UG1sZ0Le.js";
4
4
  function g({
5
5
  toolkit: e,
6
- selectedTools: s,
7
- onSelect: n,
8
- onView: t,
9
- selectionMode: r
6
+ selectedTools: o,
7
+ onSelect: t,
8
+ onView: a,
9
+ selectionMode: n
10
10
  }) {
11
- const o = e.tools.filter(
12
- (a) => s.has(a.fully_qualified_name)
13
- ).length, i = o === e.tools.length, l = o > 0 && o < e.tools.length, c = d(e.name);
11
+ const s = e.tools.filter(
12
+ (l) => o.has(l.fully_qualified_name)
13
+ ).length, i = s === e.tools.length, r = s > 0 && s < e.tools.length;
14
14
  return /* @__PURE__ */ m(
15
- T,
15
+ d,
16
16
  {
17
17
  "data-testid": `toolkit-card-${e.name}`,
18
18
  description: e.description,
19
- hideCheckbox: r === "single",
20
- Icon: c,
21
- isByoc: e.isByoc,
22
- isPartiallySelected: l,
23
- isPro: e.isPro,
19
+ hideCheckbox: n === "single",
20
+ Icon: c({
21
+ metadataIcon: e.metadata?.icon,
22
+ toolkitName: e.name
23
+ }),
24
+ isByoc: e.metadata?.isBYOC ?? !1,
25
+ isPartiallySelected: r,
26
+ isPro: e.metadata?.isPro ?? !1,
24
27
  isSelected: i,
25
28
  name: e.name,
26
- onSelect: n,
27
- onView: t,
29
+ onSelect: t,
30
+ onView: a,
28
31
  requirementsSummary: e.requirementsSummary,
29
- selectedToolsCount: o,
32
+ selectedToolsCount: s,
30
33
  toolsCount: e.tools.length
31
34
  }
32
35
  );