@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,14 +1,14 @@
1
1
  import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
- import { X as n, Package as I, Wrench as P, CheckSquare as V, FilterIcon as M, Search as Q } from "lucide-react";
3
- import { Arcade as W } from "../../../../assets/icons/arcade.js";
4
- import { getToolkitIconByName as $, getToolIconByToolkitName as E } from "../../../../assets/icons/utils.js";
5
- import { Badge as k } from "../../atoms/badge.js";
6
- import { Button as c } from "../../atoms/button.js";
7
- import { Dialog as H, DialogTrigger as L, DialogContent as O, DialogHeader as X, DialogTitle as Y, DialogDescription as G, DialogClose as v, DialogFooter as J } from "../../atoms/dialog.js";
2
+ import { X as m, Package as B, Wrench as P, CheckSquare as V, FilterIcon as M, Search as Q } from "lucide-react";
3
+ import { Badge as v } from "../../atoms/badge.js";
4
+ import { Button as p } from "../../atoms/button.js";
5
+ import { Dialog as W, DialogTrigger as $, DialogContent as E, DialogHeader as H, DialogTitle as L, DialogDescription as O, DialogClose as N, DialogFooter as X } from "../../atoms/dialog.js";
6
+ import { Arcade as Y } from "../../atoms/icons/arcade.js";
7
+ import { getToolkitIcon as G, getToolIconByToolkitName as J } from "../../atoms/icons/utils.js";
8
8
  import { MobileTooltipProvider as K } from "../../atoms/mobile-tooltip.js";
9
- import { Tabs as R, TabsList as U, TabsTrigger as N, TabsContent as y } from "../../atoms/tabs.js";
10
- import { EmptyState as w } from "../../molecules/empty-state.js";
11
- import "../../../../toolkit-card-GhM_oj4G.js";
9
+ import { Tabs as R, TabsList as U, TabsTrigger as y, TabsContent as w } from "../../atoms/tabs.js";
10
+ import { EmptyState as _ } from "../../molecules/empty-state.js";
11
+ import "../../../../toolkit-card-UG1sZ0Le.js";
12
12
  import { ToolCard as Z } from "../../molecules/tool-card.js";
13
13
  import { useToolkitPicker as ee } from "./hooks/use-toolkit-picker.js";
14
14
  import "../../atoms/chart.js";
@@ -21,49 +21,49 @@ import { FooterSummary as te } from "./components/footer-summary.js";
21
21
  import { SearchInput as ae } from "./components/search-input.js";
22
22
  import { SelectButton as le } from "./components/select-button.js";
23
23
  import { ToolkitCardWithSelection as re } from "./components/toolkit-card-with-selection.js";
24
- const ze = (_) => {
24
+ const ze = (T) => {
25
25
  const {
26
- description: T = "Select toolkits and tools",
27
- children: C,
28
- selectionMode: l = "multi",
29
- onSelectionChange: h
30
- } = _, {
26
+ description: C = "Select toolkits and tools",
27
+ children: S,
28
+ selectionMode: r = "multi",
29
+ onSelectionChange: u
30
+ } = T, {
31
31
  state: {
32
- selectedToolkits: u,
33
- selectedTools: r,
34
- activeTab: g,
35
- filteredToolkits: o,
36
- filteredTools: d,
37
- toolkitFilter: m,
38
- searchQuery: x
32
+ selectedToolkits: g,
33
+ selectedTools: i,
34
+ activeTab: x,
35
+ filteredToolkits: s,
36
+ filteredTools: n,
37
+ toolkitFilter: c,
38
+ searchQuery: f
39
39
  },
40
- setActiveTab: i,
41
- toggleToolkit: S,
42
- toggleTool: z,
43
- clearSelections: q,
44
- clearSearchQuery: f,
45
- clearFilter: A,
46
- selectAll: D,
47
- commitSelections: j,
48
- restoreCommittedState: F,
40
+ setActiveTab: d,
41
+ toggleToolkit: z,
42
+ toggleTool: q,
43
+ clearSelections: A,
44
+ clearSearchQuery: k,
45
+ clearFilter: D,
46
+ selectAll: j,
47
+ commitSelections: F,
48
+ restoreCommittedState: I,
49
49
  setToolkitFilter: b
50
50
  } = ee();
51
51
  return /* @__PURE__ */ e(K, { children: /* @__PURE__ */ a(
52
- H,
52
+ W,
53
53
  {
54
54
  onOpenChange: (t) => {
55
- t && (F(), f(), i("toolkits"));
55
+ t && (I(), k(), d("toolkits"));
56
56
  },
57
57
  children: [
58
- /* @__PURE__ */ e(L, { asChild: !0, children: C }),
58
+ /* @__PURE__ */ e($, { asChild: !0, children: S }),
59
59
  /* @__PURE__ */ a(
60
- O,
60
+ E,
61
61
  {
62
62
  className: "flex max-h-[80vh] min-h-80 w-[95vw] max-w-xl flex-col gap-2 p-0 sm:max-w-2xl md:max-w-3xl lg:max-w-4xl xl:max-w-5xl 2xl:max-w-7xl",
63
63
  "data-testid": "toolkit-picker-dialog",
64
64
  showCloseButton: !1,
65
65
  children: [
66
- /* @__PURE__ */ a(X, { className: "shrink-0 p-4 pb-0 sm:p-6 sm:pb-0", children: [
66
+ /* @__PURE__ */ a(H, { className: "shrink-0 p-4 pb-0 sm:p-6 sm:pb-0", children: [
67
67
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
68
68
  /* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: [
69
69
  /* @__PURE__ */ a("div", { className: "relative flex size-10 items-center justify-center overflow-hidden rounded-xl shadow-lg ring-1 ring-black/5 sm:size-12", children: [
@@ -81,21 +81,21 @@ const ze = (_) => {
81
81
  className: "pointer-events-none absolute inset-0 z-10 bg-[repeating-conic-gradient(from_0deg_at_100%_0%,rgba(0,0,0,0.25)_0deg_1deg,transparent_1deg_12deg)] opacity-30"
82
82
  }
83
83
  ),
84
- /* @__PURE__ */ e("span", { className: "relative z-20", children: /* @__PURE__ */ e(W, { className: "size-5 sm:size-7" }) })
84
+ /* @__PURE__ */ e("span", { className: "relative z-20", children: /* @__PURE__ */ e(Y, { className: "size-5 sm:size-7" }) })
85
85
  ] }),
86
86
  /* @__PURE__ */ a("div", { className: "ml-1 text-left", children: [
87
- /* @__PURE__ */ e(Y, { className: "font-bold text-lg sm:text-xl", children: "Choose Your Tools" }),
88
- /* @__PURE__ */ e(G, { className: "hidden sm:block", children: T })
87
+ /* @__PURE__ */ e(L, { className: "font-bold text-lg sm:text-xl", children: "Choose Your Tools" }),
88
+ /* @__PURE__ */ e(O, { className: "hidden sm:block", children: C })
89
89
  ] })
90
90
  ] }),
91
- /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(
92
- c,
91
+ /* @__PURE__ */ e(N, { asChild: !0, children: /* @__PURE__ */ e(
92
+ p,
93
93
  {
94
94
  className: "h-8 w-8 rounded-full p-0",
95
95
  "data-testid": "toolkit-picker-close",
96
96
  size: "sm",
97
97
  variant: "ghost",
98
- children: /* @__PURE__ */ e(n, { className: "h-4 w-4" })
98
+ children: /* @__PURE__ */ e(m, { className: "h-4 w-4" })
99
99
  }
100
100
  ) })
101
101
  ] }),
@@ -105,27 +105,27 @@ const ze = (_) => {
105
105
  R,
106
106
  {
107
107
  className: "flex min-h-0 flex-1 flex-col",
108
- onValueChange: (t) => i(t),
109
- value: g,
108
+ onValueChange: (t) => d(t),
109
+ value: x,
110
110
  children: [
111
111
  /* @__PURE__ */ a("div", { className: "shrink-0 space-y-2 px-4 sm:space-y-3 sm:px-6", children: [
112
112
  /* @__PURE__ */ a("div", { className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between", children: [
113
113
  /* @__PURE__ */ a(U, { className: "h-10 w-auto gap-1 rounded-md border border-neutral-200 bg-white/60 p-1 shadow-sm dark:border-neutral-800 dark:bg-neutral-900/60", children: [
114
114
  /* @__PURE__ */ a(
115
- N,
115
+ y,
116
116
  {
117
117
  className: "h-8 rounded-md px-3 font-medium text-neutral-600 text-sm hover:bg-black/5 data-[state=active]:bg-white data-[state=active]:text-neutral-900 dark:text-neutral-300 dark:data-[state=active]:bg-neutral-800 dark:data-[state=active]:text-white dark:hover:bg-white/10",
118
118
  "data-testid": "toolkits-tab",
119
119
  value: "toolkits",
120
120
  children: [
121
- /* @__PURE__ */ e(I, { className: "h-4 w-4" }),
121
+ /* @__PURE__ */ e(B, { className: "h-4 w-4" }),
122
122
  /* @__PURE__ */ e("span", { children: "Toolkits" }),
123
- /* @__PURE__ */ e("span", { className: "ml-1 rounded-full bg-emerald-300 px-1.5 py-0.5 text-emerald-900 text-xs dark:bg-emerald-500/25 dark:text-emerald-200", children: o.size })
123
+ /* @__PURE__ */ e("span", { className: "ml-1 rounded-full bg-emerald-300 px-1.5 py-0.5 text-emerald-900 text-xs dark:bg-emerald-500/25 dark:text-emerald-200", children: s.size })
124
124
  ]
125
125
  }
126
126
  ),
127
127
  /* @__PURE__ */ a(
128
- N,
128
+ y,
129
129
  {
130
130
  className: "h-8 rounded-md px-3 font-medium text-neutral-600 text-sm hover:bg-black/5 data-[state=active]:bg-white data-[state=active]:text-neutral-900 dark:text-neutral-300 dark:data-[state=active]:bg-neutral-800 dark:data-[state=active]:text-white dark:hover:bg-white/10",
131
131
  "data-testid": "tools-tab",
@@ -133,39 +133,39 @@ const ze = (_) => {
133
133
  children: [
134
134
  /* @__PURE__ */ e(P, { className: "h-4 w-4" }),
135
135
  /* @__PURE__ */ e("span", { children: "Tools" }),
136
- /* @__PURE__ */ e("span", { className: "ml-1 rounded-full bg-emerald-300 px-1.5 py-0.5 text-emerald-900 text-xs dark:bg-emerald-500/25 dark:text-emerald-200", children: d.size })
136
+ /* @__PURE__ */ e("span", { className: "ml-1 rounded-full bg-emerald-300 px-1.5 py-0.5 text-emerald-900 text-xs dark:bg-emerald-500/25 dark:text-emerald-200", children: n.size })
137
137
  ]
138
138
  }
139
139
  )
140
140
  ] }),
141
141
  /* @__PURE__ */ a("div", { className: "hidden items-center gap-2 sm:flex", children: [
142
- (u.size > 0 || r.size > 0) && /* @__PURE__ */ a(
143
- c,
142
+ (g.size > 0 || i.size > 0) && /* @__PURE__ */ a(
143
+ p,
144
144
  {
145
145
  className: "h-8 border-neutral-300 text-neutral-700 hover:bg-neutral-50 hover:text-neutral-900 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-900/40 dark:hover:text-neutral-100",
146
146
  "data-testid": "clear-selections",
147
- onClick: q,
147
+ onClick: A,
148
148
  size: "sm",
149
149
  variant: "outline",
150
150
  children: [
151
- /* @__PURE__ */ e(n, { className: "h-4 w-4 text-red-600 dark:text-red-400" }),
151
+ /* @__PURE__ */ e(m, { className: "h-4 w-4 text-red-600 dark:text-red-400" }),
152
152
  "Clear All"
153
153
  ]
154
154
  }
155
155
  ),
156
- l === "multi" && (() => {
157
- const t = g === "toolkits" ? Array.from(o).flatMap(
158
- (s) => s.tools.map((B) => B.fully_qualified_name)
159
- ) : Array.from(d).map(
160
- (s) => s.fully_qualified_name
156
+ r === "multi" && (() => {
157
+ const t = x === "toolkits" ? Array.from(s).flatMap(
158
+ (l) => l.tools.map((h) => h.fully_qualified_name)
159
+ ) : Array.from(n).map(
160
+ (l) => l.fully_qualified_name
161
161
  );
162
- return t.length > 0 && t.every((s) => r.has(s)) ? null : /* @__PURE__ */ a(
163
- c,
162
+ return t.length > 0 && t.every((l) => i.has(l)) ? null : /* @__PURE__ */ a(
163
+ p,
164
164
  {
165
165
  className: "h-8",
166
166
  "data-testid": "select-all",
167
167
  onClick: () => {
168
- D(t);
168
+ j(t);
169
169
  },
170
170
  size: "sm",
171
171
  variant: "outline",
@@ -179,8 +179,8 @@ const ze = (_) => {
179
179
  ] })
180
180
  ] }),
181
181
  /* @__PURE__ */ a("div", { className: "flex flex-wrap items-center gap-2", children: [
182
- m && /* @__PURE__ */ a(
183
- k,
182
+ c && /* @__PURE__ */ a(
183
+ v,
184
184
  {
185
185
  className: "h-8 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",
186
186
  variant: "secondary",
@@ -194,16 +194,19 @@ const ze = (_) => {
194
194
  {
195
195
  className: "inline-flex h-full items-center gap-1.5",
196
196
  "data-testid": "filter-badge",
197
- onClick: () => i("toolkits"),
197
+ onClick: () => d("toolkits"),
198
198
  type: "button",
199
199
  children: [
200
200
  (() => {
201
- const t = $(
202
- m
203
- );
204
- return /* @__PURE__ */ e(t, { className: "h-3.5 w-3.5" });
201
+ const t = Array.from(
202
+ s
203
+ ).find((l) => l.name === c), o = G({
204
+ metadataIcon: t?.metadata?.icon,
205
+ toolkitName: c
206
+ });
207
+ return /* @__PURE__ */ e(o, { className: "h-3.5 w-3.5" });
205
208
  })(),
206
- /* @__PURE__ */ e("span", { className: "font-medium text-xs", children: m })
209
+ /* @__PURE__ */ e("span", { className: "font-medium text-xs", children: c })
207
210
  ]
208
211
  }
209
212
  ),
@@ -213,16 +216,16 @@ const ze = (_) => {
213
216
  "aria-label": "Clear toolkit filter",
214
217
  className: "ml-1 inline-flex h-5 w-5 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",
215
218
  "data-testid": "clear-filter",
216
- onClick: A,
219
+ onClick: D,
217
220
  type: "button",
218
- children: /* @__PURE__ */ e(n, { className: "h-3.5 w-3.5" })
221
+ children: /* @__PURE__ */ e(m, { className: "h-3.5 w-3.5" })
219
222
  }
220
223
  )
221
224
  ]
222
225
  }
223
226
  ),
224
- x && /* @__PURE__ */ a(
225
- k,
227
+ f && /* @__PURE__ */ a(
228
+ v,
226
229
  {
227
230
  className: "h-8 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",
228
231
  variant: "secondary",
@@ -233,7 +236,7 @@ const ze = (_) => {
233
236
  ] }),
234
237
  /* @__PURE__ */ a("span", { className: "font-medium text-xs", children: [
235
238
  '"',
236
- x,
239
+ f,
237
240
  '"'
238
241
  ] }),
239
242
  /* @__PURE__ */ e(
@@ -242,9 +245,9 @@ const ze = (_) => {
242
245
  "aria-label": "Clear search query",
243
246
  className: "ml-1 inline-flex h-5 w-5 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",
244
247
  "data-testid": "clear-search",
245
- onClick: f,
248
+ onClick: k,
246
249
  type: "button",
247
- children: /* @__PURE__ */ e(n, { className: "h-3.5 w-3.5" })
250
+ children: /* @__PURE__ */ e(m, { className: "h-3.5 w-3.5" })
248
251
  }
249
252
  )
250
253
  ]
@@ -253,14 +256,14 @@ const ze = (_) => {
253
256
  ] })
254
257
  ] }),
255
258
  /* @__PURE__ */ e(
256
- y,
259
+ w,
257
260
  {
258
261
  className: "min-h-0 flex-1 overflow-y-auto px-4 py-2 sm:px-6",
259
262
  "data-testid": "content-area",
260
263
  value: "toolkits",
261
264
  children: /* @__PURE__ */ a("div", { className: "space-y-3", children: [
262
- o.size === 0 && /* @__PURE__ */ e(
263
- w,
265
+ s.size === 0 && /* @__PURE__ */ e(
266
+ _,
264
267
  {
265
268
  "data-testid": "empty-toolkits",
266
269
  description: "Try a different search term",
@@ -272,21 +275,21 @@ const ze = (_) => {
272
275
  {
273
276
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-3",
274
277
  "data-testid": "toolkits-grid",
275
- children: Array.from(o).map((t) => /* @__PURE__ */ e(
278
+ children: Array.from(s).map((t) => /* @__PURE__ */ e(
276
279
  re,
277
280
  {
278
281
  onSelect: () => {
279
- if (l === "single") {
280
- i("tools"), b(t.name);
282
+ if (r === "single") {
283
+ d("tools"), b(t.name);
281
284
  return;
282
285
  }
283
- S(t);
286
+ z(t);
284
287
  },
285
288
  onView: () => {
286
- b(t.name), i("tools");
289
+ b(t.name), d("tools");
287
290
  },
288
- selectedTools: new Set(r.keys()),
289
- selectionMode: l,
291
+ selectedTools: new Set(i.keys()),
292
+ selectionMode: r,
290
293
  toolkit: t
291
294
  },
292
295
  t.name
@@ -297,14 +300,14 @@ const ze = (_) => {
297
300
  }
298
301
  ),
299
302
  /* @__PURE__ */ e(
300
- y,
303
+ w,
301
304
  {
302
305
  className: "min-h-0 flex-1 overflow-y-auto px-4 py-2 sm:px-6",
303
306
  "data-testid": "content-area",
304
307
  value: "tools",
305
308
  children: /* @__PURE__ */ a("div", { className: "space-y-3", children: [
306
- d.size === 0 && /* @__PURE__ */ e(
307
- w,
309
+ n.size === 0 && /* @__PURE__ */ e(
310
+ _,
308
311
  {
309
312
  "data-testid": "empty-tools",
310
313
  description: "Try a different search term",
@@ -316,21 +319,28 @@ const ze = (_) => {
316
319
  {
317
320
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-3",
318
321
  "data-testid": "tools-grid",
319
- children: Array.from(d).map((t) => /* @__PURE__ */ e(
320
- Z,
321
- {
322
- "data-testid": `tool-card-${t.fully_qualified_name}`,
323
- description: t.description,
324
- fully_qualified_name: t.fully_qualified_name,
325
- hideCheckbox: l === "single",
326
- Icon: E(t.toolkit.name),
327
- isSelected: r.has(t.fully_qualified_name),
328
- name: t.name,
329
- onSelect: () => z(t),
330
- toolkitName: t.toolkit.name
331
- },
332
- t.fully_qualified_name
333
- ))
322
+ children: Array.from(n).map((t) => {
323
+ const l = Array.from(s).find(
324
+ (h) => h.name === t.toolkit.name
325
+ )?.metadata?.icon ?? J(t.toolkit.name);
326
+ return /* @__PURE__ */ e(
327
+ Z,
328
+ {
329
+ "data-testid": `tool-card-${t.fully_qualified_name}`,
330
+ description: t.description,
331
+ fully_qualified_name: t.fully_qualified_name,
332
+ hideCheckbox: r === "single",
333
+ Icon: l,
334
+ isSelected: i.has(
335
+ t.fully_qualified_name
336
+ ),
337
+ name: t.name,
338
+ onSelect: () => q(t),
339
+ toolkitName: t.toolkit.name
340
+ },
341
+ t.fully_qualified_name
342
+ );
343
+ })
334
344
  }
335
345
  )
336
346
  ] })
@@ -339,15 +349,15 @@ const ze = (_) => {
339
349
  ]
340
350
  }
341
351
  ),
342
- /* @__PURE__ */ e(J, { className: "shrink-0 border-t bg-white px-4 py-3 sm:px-6 sm:py-4 dark:bg-neutral-950", children: /* @__PURE__ */ a(
352
+ /* @__PURE__ */ e(X, { className: "shrink-0 border-t bg-white px-4 py-3 sm:px-6 sm:py-4 dark:bg-neutral-950", children: /* @__PURE__ */ a(
343
353
  "div",
344
354
  {
345
- className: `${l === "single" ? "sm:justify-end" : "sm:justify-between"} flex w-full flex-col gap-3 sm:flex-row sm:items-center`,
355
+ className: `${r === "single" ? "sm:justify-end" : "sm:justify-between"} flex w-full flex-col gap-3 sm:flex-row sm:items-center`,
346
356
  children: [
347
- l === "multi" && /* @__PURE__ */ e(te, {}),
357
+ r === "multi" && /* @__PURE__ */ e(te, {}),
348
358
  /* @__PURE__ */ a("div", { className: "mt-2 flex gap-2 sm:mt-0 sm:gap-2", children: [
349
- /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(
350
- c,
359
+ /* @__PURE__ */ e(N, { asChild: !0, children: /* @__PURE__ */ e(
360
+ p,
351
361
  {
352
362
  className: "flex-1 sm:flex-none",
353
363
  "data-testid": "cancel-button",
@@ -361,22 +371,22 @@ const ze = (_) => {
361
371
  {
362
372
  className: "flex-1 sm:flex-none",
363
373
  onCommit: () => {
364
- j(), h && h({
365
- selectedToolkits: Array.from(u.keys()),
366
- selectedTools: Array.from(r.keys())
374
+ F(), u && u({
375
+ selectedToolkits: Array.from(g.keys()),
376
+ selectedTools: Array.from(i.keys())
367
377
  });
368
378
  const t = document.querySelector(
369
379
  '[data-testid="toolkit-picker-dialog"]'
370
380
  );
371
381
  if (t) {
372
- const p = t.querySelector(
382
+ const o = t.querySelector(
373
383
  '[data-testid="toolkit-picker-close"]'
374
384
  );
375
- p && p.click();
385
+ o && o.click();
376
386
  }
377
387
  },
378
- selectedCount: r.size,
379
- selectionMode: l
388
+ selectedCount: i.size,
389
+ selectionMode: r
380
390
  }
381
391
  )
382
392
  ] })