@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.
- package/README.md +95 -0
- package/dist/{arcade-49z5mR1G.js → arcade-CadnNaba.js} +139 -137
- package/dist/assets/index.css +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +431 -213
- package/dist/components/ui/atoms/accordion.js +1 -1
- package/dist/components/ui/atoms/avatar.js +2 -2
- package/dist/components/ui/atoms/checkbox.js +1 -1
- package/dist/components/ui/atoms/collapsible.js +1 -1
- package/dist/components/ui/atoms/command.js +1 -1
- package/dist/components/ui/atoms/dialog.js +1 -1
- package/dist/components/ui/atoms/dropdown-menu.js +2 -2
- package/dist/components/ui/atoms/hover-card.js +2 -2
- package/dist/components/ui/atoms/icons/adp.d.ts +3 -0
- package/dist/components/ui/atoms/icons/adp.js +40 -0
- package/dist/components/ui/atoms/icons/aha.d.ts +3 -0
- package/dist/components/ui/atoms/icons/aha.js +28 -0
- package/dist/{assets → components/ui/atoms}/icons/airtable.js +4 -0
- package/dist/components/ui/atoms/icons/amplitude.d.ts +3 -0
- package/dist/components/ui/atoms/icons/amplitude.js +33 -0
- package/dist/{assets → components/ui/atoms}/icons/arcade.js +7 -7
- package/dist/{assets → components/ui/atoms}/icons/asana.js +1 -0
- package/dist/components/ui/atoms/icons/ashby.d.ts +3 -0
- package/dist/components/ui/atoms/icons/ashby.js +50 -0
- package/dist/{assets → components/ui/atoms}/icons/atlassian.js +14 -4
- package/dist/{assets → components/ui/atoms}/icons/auth0.js +1 -0
- package/dist/{assets → components/ui/atoms}/icons/azure.js +43 -22
- package/dist/components/ui/atoms/icons/bamboohr.d.ts +3 -0
- package/dist/components/ui/atoms/icons/bamboohr.js +31 -0
- package/dist/components/ui/atoms/icons/basecamp.d.ts +3 -0
- package/dist/components/ui/atoms/icons/basecamp.js +57 -0
- package/dist/components/ui/atoms/icons/bill.d.ts +3 -0
- package/dist/components/ui/atoms/icons/bill.js +55 -0
- package/dist/components/ui/atoms/icons/bitbucket.d.ts +3 -0
- package/dist/components/ui/atoms/icons/bitbucket.js +38 -0
- package/dist/{assets → components/ui/atoms}/icons/bluesky.js +1 -0
- package/dist/{assets → components/ui/atoms}/icons/box.js +1 -0
- package/dist/components/ui/atoms/icons/braze.d.ts +3 -0
- package/dist/components/ui/atoms/icons/braze.js +28 -0
- package/dist/components/ui/atoms/icons/brex.d.ts +3 -0
- package/dist/components/ui/atoms/icons/brex.js +29 -0
- package/dist/components/ui/atoms/icons/buffer.d.ts +3 -0
- package/dist/components/ui/atoms/icons/buffer.js +33 -0
- package/dist/components/ui/atoms/icons/calendly.js +80 -0
- package/dist/components/ui/atoms/icons/clickhouse.d.ts +3 -0
- package/dist/components/ui/atoms/icons/clickhouse.js +26 -0
- package/dist/components/ui/atoms/icons/clickup.d.ts +3 -0
- package/dist/{assets → components/ui/atoms}/icons/clickup.js +16 -4
- package/dist/components/ui/atoms/icons/closeio.d.ts +3 -0
- package/dist/components/ui/atoms/icons/closeio.js +68 -0
- package/dist/{assets → components/ui/atoms}/icons/coinbase.js +21 -8
- package/dist/{assets → components/ui/atoms}/icons/confluence.js +18 -4
- package/dist/{assets → components/ui/atoms}/icons/datadog.js +1 -0
- package/dist/components/ui/atoms/icons/digital-ocean.d.ts +3 -0
- package/dist/components/ui/atoms/icons/digital-ocean.js +22 -0
- package/dist/{assets → components/ui/atoms}/icons/discord.js +1 -0
- package/dist/{assets → components/ui/atoms}/icons/dropbox.js +1 -0
- package/dist/components/ui/atoms/icons/e2b.d.ts +3 -0
- package/dist/components/ui/atoms/icons/e2b.js +19 -0
- package/dist/{assets → components/ui/atoms}/icons/ebay.js +4 -0
- package/dist/components/ui/atoms/icons/evernote.d.ts +3 -0
- package/dist/components/ui/atoms/icons/evernote.js +29 -0
- package/dist/components/ui/atoms/icons/factorial.d.ts +3 -0
- package/dist/components/ui/atoms/icons/factorial.js +50 -0
- package/dist/{assets → components/ui/atoms}/icons/figma.js +18 -2
- package/dist/components/ui/atoms/icons/firecrawl.d.ts +3 -0
- package/dist/components/ui/atoms/icons/firecrawl.js +19 -0
- package/dist/components/ui/atoms/icons/generic.d.ts +3 -0
- package/dist/components/ui/atoms/icons/generic.js +27 -0
- package/dist/{assets → components/ui/atoms}/icons/github.js +4 -3
- package/dist/{assets → components/ui/atoms}/icons/gitlab.js +4 -0
- package/dist/{assets → components/ui/atoms}/icons/gmail.js +11 -2
- package/dist/components/ui/atoms/icons/google-calendar.js +98 -0
- package/dist/{assets → components/ui/atoms}/icons/google-contacts.js +4 -0
- package/dist/components/ui/atoms/icons/google-docs.js +328 -0
- package/dist/{assets → components/ui/atoms}/icons/google-drive.js +6 -0
- package/dist/{assets → components/ui/atoms}/icons/google-finance.js +8 -1
- package/dist/{assets → components/ui/atoms}/icons/google-flight.js +49 -20
- package/dist/components/ui/atoms/icons/google-flights.d.ts +3 -0
- package/dist/components/ui/atoms/icons/google-flights.js +109 -0
- package/dist/{assets → components/ui/atoms}/icons/google-hotels.js +10 -1
- package/dist/components/ui/atoms/icons/google-jobs.d.ts +3 -0
- package/dist/components/ui/atoms/icons/google-jobs.js +103 -0
- package/dist/{assets → components/ui/atoms}/icons/google-maps.js +5 -0
- package/dist/{assets → components/ui/atoms}/icons/google-news.js +27 -3
- package/dist/{assets → components/ui/atoms}/icons/google-sheets.js +3 -0
- package/dist/{assets → components/ui/atoms}/icons/google-shopping.js +9 -1
- package/dist/components/ui/atoms/icons/google-slides.d.ts +3 -0
- package/dist/components/ui/atoms/icons/google-slides.js +243 -0
- package/dist/{assets → components/ui/atoms}/icons/google.js +4 -0
- package/dist/{assets → components/ui/atoms}/icons/heroku.js +1 -0
- package/dist/components/ui/atoms/icons/hootsuite.d.ts +3 -0
- package/dist/components/ui/atoms/icons/hootsuite.js +43 -0
- package/dist/components/ui/atoms/icons/hubspot.d.ts +3 -0
- package/dist/{assets → components/ui/atoms}/icons/hubspot.js +2 -1
- package/dist/{assets → components/ui/atoms}/icons/index.d.ts +47 -0
- package/dist/components/ui/atoms/icons/index.js +220 -0
- package/dist/components/ui/atoms/icons/intercom.d.ts +3 -0
- package/dist/components/ui/atoms/icons/intercom.js +26 -0
- package/dist/{assets → components/ui/atoms}/icons/jira.js +15 -7
- package/dist/{assets → components/ui/atoms}/icons/linear.js +1 -0
- package/dist/components/ui/atoms/icons/linkedin.d.ts +3 -0
- package/dist/{assets → components/ui/atoms}/icons/linkedin.js +5 -4
- package/dist/components/ui/atoms/icons/mailchimp.d.ts +3 -0
- package/dist/components/ui/atoms/icons/mailchimp.js +70 -0
- package/dist/components/ui/atoms/icons/mcp.d.ts +3 -0
- package/dist/components/ui/atoms/icons/mcp.js +23 -0
- package/dist/components/ui/atoms/icons/microsoft-dynamics.d.ts +3 -0
- package/dist/components/ui/atoms/icons/microsoft-dynamics.js +172 -0
- package/dist/components/ui/atoms/icons/microsoft-sharepoint.d.ts +3 -0
- package/dist/components/ui/atoms/icons/microsoft-sharepoint.js +88 -0
- package/dist/components/ui/atoms/icons/microsoft-teams.d.ts +3 -0
- package/dist/components/ui/atoms/icons/microsoft-teams.js +119 -0
- package/dist/{assets → components/ui/atoms}/icons/microsoft.js +4 -0
- package/dist/components/ui/atoms/icons/miro.d.ts +3 -0
- package/dist/components/ui/atoms/icons/miro.js +35 -0
- package/dist/components/ui/atoms/icons/monday.d.ts +3 -0
- package/dist/components/ui/atoms/icons/monday.js +60 -0
- package/dist/components/ui/atoms/icons/netsuite.d.ts +3 -0
- package/dist/{assets → components/ui/atoms}/icons/netsuite.js +35 -26
- package/dist/{assets → components/ui/atoms}/icons/notion.js +2 -0
- package/dist/components/ui/atoms/icons/oauth.d.ts +3 -0
- package/dist/{assets → components/ui/atoms}/icons/oauth.js +66 -8
- package/dist/components/ui/atoms/icons/obsidian.d.ts +3 -0
- package/dist/components/ui/atoms/icons/obsidian.js +220 -0
- package/dist/components/ui/atoms/icons/okta.d.ts +3 -0
- package/dist/components/ui/atoms/icons/okta.js +56 -0
- package/dist/components/ui/atoms/icons/one-drive.d.ts +3 -0
- package/dist/components/ui/atoms/icons/one-drive.js +38 -0
- package/dist/{assets → components/ui/atoms}/icons/outlook-calendar.js +18 -0
- package/dist/{assets → components/ui/atoms}/icons/outlook-mail.js +4 -0
- package/dist/components/ui/atoms/icons/pinecone.d.ts +3 -0
- package/dist/components/ui/atoms/icons/pinecone.js +29 -0
- package/dist/{assets → components/ui/atoms}/icons/pinterest.js +1 -0
- package/dist/components/ui/atoms/icons/pipedrive.d.ts +3 -0
- package/dist/components/ui/atoms/icons/pipedrive.js +59 -0
- package/dist/components/ui/atoms/icons/plaid.d.ts +3 -0
- package/dist/components/ui/atoms/icons/plaid.js +37 -0
- package/dist/{assets → components/ui/atoms}/icons/postgres.js +30 -20
- package/dist/components/ui/atoms/icons/quickbooks.d.ts +3 -0
- package/dist/components/ui/atoms/icons/quickbooks.js +25 -0
- package/dist/components/ui/atoms/icons/reddit.js +315 -0
- package/dist/{assets → components/ui/atoms}/icons/salesforce.js +3 -0
- package/dist/{assets → components/ui/atoms}/icons/shopify.js +3 -0
- package/dist/components/ui/atoms/icons/singlestore.d.ts +3 -0
- package/dist/components/ui/atoms/icons/singlestore.js +284 -0
- package/dist/{assets → components/ui/atoms}/icons/slack.js +7 -1
- package/dist/components/ui/atoms/icons/snowflake.d.ts +3 -0
- package/dist/components/ui/atoms/icons/snowflake.js +26 -0
- package/dist/components/ui/atoms/icons/splunk.d.ts +3 -0
- package/dist/components/ui/atoms/icons/splunk.js +54 -0
- package/dist/{assets → components/ui/atoms}/icons/spotify.js +1 -0
- package/dist/components/ui/atoms/icons/square.d.ts +3 -0
- package/dist/components/ui/atoms/icons/square.js +41 -0
- package/dist/components/ui/atoms/icons/squarespace.d.ts +3 -0
- package/dist/components/ui/atoms/icons/squarespace.js +29 -0
- package/dist/{assets → components/ui/atoms}/icons/stripe.js +1 -0
- package/dist/{assets → components/ui/atoms}/icons/tesla.js +5 -1
- package/dist/{assets → components/ui/atoms}/icons/tiktok.js +3 -0
- package/dist/components/ui/atoms/icons/trello.d.ts +3 -0
- package/dist/components/ui/atoms/icons/trello.js +59 -0
- package/dist/{assets → components/ui/atoms}/icons/twilio.js +11 -4
- package/dist/{assets → components/ui/atoms}/icons/twitch.js +6 -1
- package/dist/components/ui/atoms/icons/utils.d.ts +56 -0
- package/dist/components/ui/atoms/icons/utils.js +41 -0
- package/dist/{assets → components/ui/atoms}/icons/vercel.js +1 -0
- package/dist/{assets → components/ui/atoms}/icons/walmart.js +2 -0
- package/dist/components/ui/atoms/icons/weaviate.d.ts +3 -0
- package/dist/components/ui/atoms/icons/weaviate.js +229 -0
- package/dist/components/ui/atoms/icons/workday.d.ts +3 -0
- package/dist/components/ui/atoms/icons/workday.js +97 -0
- package/dist/components/ui/atoms/icons/wrike.d.ts +3 -0
- package/dist/components/ui/atoms/icons/wrike.js +16 -0
- package/dist/{assets → components/ui/atoms}/icons/x.js +4 -4
- package/dist/components/ui/atoms/icons/xero.js +87 -0
- package/dist/components/ui/atoms/icons/youtube.d.ts +3 -0
- package/dist/{assets → components/ui/atoms}/icons/youtube.js +3 -1
- package/dist/components/ui/atoms/icons/zendesk.d.ts +3 -0
- package/dist/components/ui/atoms/icons/zendesk.js +27 -0
- package/dist/{assets → components/ui/atoms}/icons/zoom.js +30 -17
- package/dist/components/ui/atoms/index.d.ts +2 -0
- package/dist/components/ui/atoms/index.js +416 -198
- package/dist/components/ui/atoms/popover.js +2 -2
- package/dist/components/ui/atoms/progress.js +18 -17
- package/dist/components/ui/atoms/radio-group.js +1 -1
- package/dist/components/ui/atoms/scroll-area.js +3 -3
- package/dist/components/ui/atoms/select.js +3 -3
- package/dist/components/ui/atoms/sheet.js +1 -1
- package/dist/components/ui/atoms/sidebar.js +102 -102
- package/dist/components/ui/atoms/tabs.js +1 -1
- package/dist/components/ui/atoms/tooltip.js +2 -2
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.js +431 -213
- package/dist/components/ui/molecules/index.d.ts +1 -0
- package/dist/components/ui/molecules/index.js +1 -1
- package/dist/components/ui/molecules/requirement-badges.js +6 -5
- package/dist/components/ui/molecules/tool-card.js +18 -18
- package/dist/components/ui/molecules/toolkit-card.js +1 -1
- package/dist/components/ui/molecules/toolkit-picker-trigger.js +47 -38
- package/dist/components/ui/molecules/toolkit-selection-summary.d.ts +4 -3
- package/dist/components/ui/molecules/toolkit-selection-summary.js +32 -29
- package/dist/components/ui/organisms/index.d.ts +1 -0
- package/dist/components/ui/organisms/toolkit-picker/components/footer-summary.js +9 -9
- package/dist/components/ui/organisms/toolkit-picker/components/search-input.js +5 -4
- package/dist/components/ui/organisms/toolkit-picker/components/select-button.js +7 -6
- package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.d.ts +2 -2
- package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.js +21 -18
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-filter.test.js +14 -18
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-search.test.js +7 -7
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-selection.test.js +2 -2
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker.d.ts +12 -11
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker.js +54 -40
- package/dist/components/ui/organisms/toolkit-picker/mocks/toolkit-collection.js +195 -113
- package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.js +126 -116
- package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.test.js +3418 -4391
- package/dist/components/ui/utils/memo.test.d.ts +1 -0
- package/dist/components/ui/utils/memo.test.js +36 -0
- package/dist/{index-CtSXVDca.js → index-BDIfjxqB.js} +1 -1
- package/dist/{index-C8_QusYl.js → index-BGfrl8IX.js} +1 -1
- package/dist/{index-Ez2mlmzx.js → index-BzU0xzeS.js} +1 -1
- package/dist/index-DH9yRdVk.js +1540 -0
- package/dist/lib/arcade/arcade.d.ts +2 -2
- package/dist/lib/arcade/arcade.js +3 -2
- package/dist/lib/arcade/arcade.test.js +2 -2
- package/dist/lib/utils.test.d.ts +1 -0
- package/dist/lib/utils.test.js +43 -0
- package/dist/{magic-string.es-BQ9KnLz-.js → magic-string.es-QnVUNas7.js} +4 -3
- package/dist/main.d.ts +2 -0
- package/dist/main.js +444 -214
- package/dist/metadata/index.d.ts +3 -0
- package/dist/metadata/index.js +14 -0
- package/dist/metadata/oauth-providers.d.ts +69 -0
- package/dist/metadata/oauth-providers.js +260 -0
- package/dist/metadata/toolkits.d.ts +24 -0
- package/dist/metadata/toolkits.js +1500 -0
- package/dist/{react.esm-369wBsAv.js → react.esm-CFMQn0EI.js} +31 -31
- package/dist/{toolkit-card-GhM_oj4G.js → toolkit-card-UG1sZ0Le.js} +11 -10
- package/dist/{vi.bdSIJ99Y-CZgZQPWH.js → vi.bdSIJ99Y-CQ1FdEM8.js} +3462 -3916
- package/package.json +38 -35
- package/dist/assets/icons/calendly.js +0 -64
- package/dist/assets/icons/clickup.d.ts +0 -3
- package/dist/assets/icons/e2b.d.ts +0 -3
- package/dist/assets/icons/e2b.js +0 -9
- package/dist/assets/icons/firecrawl.d.ts +0 -5
- package/dist/assets/icons/firecrawl.js +0 -17
- package/dist/assets/icons/google-calendar.js +0 -93
- package/dist/assets/icons/google-docs.js +0 -219
- package/dist/assets/icons/hubspot.d.ts +0 -3
- package/dist/assets/icons/index.js +0 -128
- package/dist/assets/icons/linkedin.d.ts +0 -3
- package/dist/assets/icons/netsuite.d.ts +0 -3
- package/dist/assets/icons/oauth.d.ts +0 -3
- package/dist/assets/icons/reddit.js +0 -268
- package/dist/assets/icons/utils.d.ts +0 -435
- package/dist/assets/icons/utils.js +0 -439
- package/dist/assets/icons/xero.js +0 -63
- package/dist/assets/icons/youtube.d.ts +0 -3
- package/dist/components/ui/organisms/toolkit-picker/components/mobile-filter-badges.d.ts +0 -1
- package/dist/components/ui/organisms/toolkit-picker/components/mobile-filter-badges.js +0 -96
- package/dist/index-DEJd-dpa.js +0 -1537
- /package/dist/{assets → components/ui/atoms}/icons/airtable.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/arcade.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/asana.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/atlassian.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/auth0.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/azure.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/bluesky.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/box.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/calendly.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/coinbase.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/confluence.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/datadog.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/discord.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/dropbox.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/ebay.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/figma.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/github.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/gitlab.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/gmail.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/google-calendar.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/google-contacts.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/google-docs.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/google-drive.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/google-finance.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/google-flight.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/google-hotels.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/google-maps.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/google-news.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/google-sheets.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/google-shopping.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/google.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/heroku.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/jira.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/linear.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/microsoft.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/notion.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/outlook-calendar.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/outlook-mail.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/pinterest.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/postgres.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/reddit.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/salesforce.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/shopify.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/slack.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/spotify.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/stripe.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/tesla.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/tiktok.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/twilio.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/twitch.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/vercel.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/walmart.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/x.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/xero.d.ts +0 -0
- /package/dist/{assets → components/ui/atoms}/icons/zoom.d.ts +0 -0
package/README.md
CHANGED
|
@@ -115,4 +115,99 @@ The design system uses Tailwind CSS for consistent spacing, colors, typography,
|
|
|
115
115
|
- Follow the established color palette
|
|
116
116
|
- Maintain consistent spacing and typography scales
|
|
117
117
|
|
|
118
|
+
## 🔧 Contributing
|
|
119
|
+
|
|
120
|
+
### Adding Icons
|
|
121
|
+
|
|
122
|
+
To add a new icon to the design system:
|
|
123
|
+
|
|
124
|
+
1. **Add the SVG file**: Place your SVG icon in `/lib/assets/icons/`
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
# Example: adding a new "example" icon
|
|
128
|
+
cp example.svg lib/assets/icons/
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
2. **Generate the React component**: Run the icon generation script
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
pnpm generate-icons
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
3. **Use the icon**: The generated React component will be automatically available
|
|
138
|
+
|
|
139
|
+
```tsx
|
|
140
|
+
import { ExampleIcon } from '@arcadeai/design-system/components/ui/atoms/icons';
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### Adding Toolkits
|
|
144
|
+
|
|
145
|
+
To add a new toolkit to the system:
|
|
146
|
+
|
|
147
|
+
1. **Navigate to the toolkits metadata**: Open `lib/metadata/toolkits.ts`
|
|
148
|
+
|
|
149
|
+
2. **Add your toolkit entry**: Add a new entry to the `TOOLKITS` array
|
|
150
|
+
|
|
151
|
+
```typescript
|
|
152
|
+
{
|
|
153
|
+
id: 'X',
|
|
154
|
+
label: 'X',
|
|
155
|
+
isBYOC: false,
|
|
156
|
+
isPro: false,
|
|
157
|
+
publicIconUrl: `${PUBLIC_ICON_URL}/x.svg`,
|
|
158
|
+
icon: Icons.X,
|
|
159
|
+
// Other properties...
|
|
160
|
+
}
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Adding OAuth Providers
|
|
164
|
+
|
|
165
|
+
To add a new OAuth provider:
|
|
166
|
+
|
|
167
|
+
1. **Navigate to OAuth providers metadata**: Open `lib/metadata/oauth-providers.ts`
|
|
168
|
+
|
|
169
|
+
2. **Add OAuth identifiers**: Define your `OAuthId` and `OAuthProviderId`
|
|
170
|
+
|
|
171
|
+
```typescript
|
|
172
|
+
export const OAuthId = {
|
|
173
|
+
Asana: 'arcade-asana',
|
|
174
|
+
Atlassian: 'arcade-atlassian',
|
|
175
|
+
// Add to the respective id
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export const OAuthProviderId = {
|
|
179
|
+
Asana: 'asana',
|
|
180
|
+
Atlassian: 'atlassian',
|
|
181
|
+
// Add to the respective provider id
|
|
182
|
+
}
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
3. **Choose the appropriate category**:
|
|
186
|
+
- **For prebuilt OAuth providers**: Add a record to `PREBUILT_OAUTH_PROVIDERS`
|
|
187
|
+
- **For custom OAuth providers**: Add it to `OTHER_OAUTH_PROVIDERS`
|
|
188
|
+
|
|
189
|
+
```typescript
|
|
190
|
+
// Example for prebuilt provider
|
|
191
|
+
export const PREBUILT_OAUTH_PROVIDERS: OAuthCatalogue[] = [
|
|
192
|
+
{
|
|
193
|
+
id: OAuthId.Asana,
|
|
194
|
+
provider_id: OAuthProviderId.Asana,
|
|
195
|
+
name: 'Asana',
|
|
196
|
+
description: 'Authorize tools and agents with Asana',
|
|
197
|
+
publicIconUrl: `${PUBLIC_ICON_URL}/asana.svg`,
|
|
198
|
+
icon: Asana,
|
|
199
|
+
docs: '<https://docs.arcade.dev/home/auth-providers/asana>',
|
|
200
|
+
},
|
|
201
|
+
// Add to the respective array
|
|
202
|
+
]
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Development Workflow
|
|
206
|
+
|
|
207
|
+
1. Make your changes following the patterns above
|
|
208
|
+
2. Test your changes in Storybook: `pnpm dev`
|
|
209
|
+
3. Run tests: `pnpm test`
|
|
210
|
+
4. Build the project: `pnpm build`
|
|
211
|
+
5. Submit a pull request with your changes
|
|
212
|
+
|
|
118
213
|
Built with ❤️ by the Arcade team
|