@arcadeai/design-system 1.2.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.
- package/README.md +95 -0
- package/dist/arcade-CadnNaba.js +1543 -0
- package/dist/assets/index.css +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +431 -199
- package/dist/components/ui/atoms/accordion.js +2 -2
- package/dist/components/ui/atoms/alert.js +2 -2
- package/dist/components/ui/atoms/avatar.js +3 -3
- package/dist/components/ui/atoms/badge.js +2 -2
- package/dist/components/ui/atoms/breadcrumb.js +13 -15
- package/dist/components/ui/atoms/button.js +2 -2
- package/dist/components/ui/atoms/byoc-badge.js +2 -2
- package/dist/components/ui/atoms/card.js +1 -1
- package/dist/components/ui/atoms/chart.js +1 -1
- package/dist/components/ui/atoms/checkbox.js +2 -2
- package/dist/components/ui/atoms/collapsible.js +1 -1
- package/dist/components/ui/atoms/command.js +2 -2
- package/dist/components/ui/atoms/dialog.js +8 -8
- package/dist/components/ui/atoms/dropdown-menu.js +3 -3
- package/dist/components/ui/atoms/form.d.ts +1 -1
- package/dist/components/ui/atoms/form.js +8 -7
- package/dist/components/ui/atoms/hover-card.js +3 -3
- 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/components/ui/atoms/icons/arcade.d.ts +3 -0
- package/dist/components/ui/atoms/icons/arcade.js +33 -0
- 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 +48 -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 -197
- package/dist/components/ui/atoms/input.js +1 -1
- package/dist/components/ui/atoms/label.js +1 -1
- package/dist/components/ui/atoms/popover.js +3 -3
- package/dist/components/ui/atoms/pro-badge.js +2 -2
- package/dist/components/ui/atoms/progress.js +19 -18
- package/dist/components/ui/atoms/radio-group.js +2 -2
- package/dist/components/ui/atoms/resizable.js +24 -1527
- package/dist/components/ui/atoms/scroll-area.js +4 -4
- package/dist/components/ui/atoms/select.js +4 -4
- package/dist/components/ui/atoms/separator.js +1 -1
- package/dist/components/ui/atoms/sheet.js +2 -2
- package/dist/components/ui/atoms/sidebar.js +104 -104
- package/dist/components/ui/atoms/skeleton.js +1 -1
- package/dist/components/ui/atoms/slider.js +1 -1
- package/dist/components/ui/atoms/switch.js +1 -1
- package/dist/components/ui/atoms/table.js +1 -1
- package/dist/components/ui/atoms/tabs.js +2 -2
- package/dist/components/ui/atoms/textarea.js +1 -1
- package/dist/components/ui/atoms/toggle.js +2 -2
- package/dist/components/ui/atoms/tooltip.js +61 -61
- package/dist/components/ui/atoms/view-tools-control.d.ts +12 -0
- package/dist/components/ui/atoms/view-tools-control.js +53 -0
- package/dist/components/ui/index.d.ts +3 -0
- package/dist/components/ui/index.js +431 -199
- package/dist/components/ui/molecules/empty-state.d.ts +5 -0
- package/dist/components/ui/molecules/empty-state.js +25 -0
- package/dist/components/ui/molecules/index.d.ts +7 -0
- package/dist/components/ui/molecules/index.js +13 -0
- package/dist/components/ui/molecules/requirement-badges.d.ts +29 -0
- package/dist/components/ui/molecules/requirement-badges.js +25 -0
- package/dist/components/ui/molecules/tool-card.d.ts +17 -0
- package/dist/components/ui/molecules/tool-card.js +127 -0
- package/dist/components/ui/molecules/toolkit-card.d.ts +24 -0
- package/dist/components/ui/molecules/toolkit-card.js +13 -0
- package/dist/components/ui/molecules/toolkit-picker-trigger.d.ts +8 -0
- package/dist/components/ui/molecules/toolkit-picker-trigger.js +105 -0
- package/dist/components/ui/molecules/toolkit-selection-summary.d.ts +11 -0
- package/dist/components/ui/molecules/toolkit-selection-summary.js +120 -0
- package/dist/components/ui/organisms/index.d.ts +2 -0
- package/dist/components/ui/organisms/index.js +4 -0
- package/dist/components/ui/organisms/toolkit-picker/components/footer-summary.d.ts +1 -0
- package/dist/components/ui/organisms/toolkit-picker/components/footer-summary.js +36 -0
- package/dist/components/ui/organisms/toolkit-picker/components/search-input.d.ts +1 -0
- package/dist/components/ui/organisms/toolkit-picker/components/search-input.js +37 -0
- package/dist/components/ui/organisms/toolkit-picker/components/select-button.d.ts +9 -0
- package/dist/components/ui/organisms/toolkit-picker/components/select-button.js +36 -0
- package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.d.ts +9 -0
- package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.js +39 -0
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-filter.test.d.ts +1 -0
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-filter.test.js +40 -0
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-search.test.d.ts +1 -0
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-search.test.js +46 -0
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-selection.test.d.ts +1 -0
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-selection.test.js +28 -0
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker.d.ts +41 -0
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker.js +281 -0
- package/dist/components/ui/organisms/toolkit-picker/index.d.ts +14 -0
- package/dist/components/ui/organisms/toolkit-picker/index.js +16 -0
- package/dist/components/ui/organisms/toolkit-picker/mocks/toolkit-collection.d.ts +7 -0
- package/dist/components/ui/organisms/toolkit-picker/mocks/toolkit-collection.js +514 -0
- package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.d.ts +2 -0
- package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.js +405 -0
- package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.test.d.ts +0 -0
- package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.test.js +11859 -0
- package/dist/components/ui/utils/memo.d.ts +2 -0
- package/dist/components/ui/utils/memo.js +25 -0
- package/dist/components/ui/utils/memo.test.d.ts +1 -0
- package/dist/components/ui/utils/memo.test.js +36 -0
- package/dist/{index-CQhYMnjT.js → index-BDE30rcJ.js} +1 -1
- package/dist/{index-CtSXVDca.js → index-BDIfjxqB.js} +1 -1
- package/dist/{index-C8_QusYl.js → index-BGfrl8IX.js} +1 -1
- package/dist/{index-BSWzylXR.js → index-BzU0xzeS.js} +3 -3
- package/dist/index-DH9yRdVk.js +1540 -0
- package/dist/lib/arcade/arcade.d.ts +100 -0
- package/dist/lib/arcade/arcade.js +6 -0
- package/dist/lib/arcade/arcade.test.d.ts +1 -0
- package/dist/lib/arcade/arcade.test.js +299 -0
- package/dist/lib/arcade/mocks.d.ts +2 -0
- package/dist/lib/arcade/mocks.js +547 -0
- package/dist/lib/utils.d.ts +1 -0
- package/dist/lib/utils.js +3 -2
- package/dist/lib/utils.test.d.ts +1 -0
- package/dist/lib/utils.test.js +43 -0
- package/dist/magic-string.es-QnVUNas7.js +660 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +431 -199
- 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-resizable-panels.browser-ZHjTH32c.js +1509 -0
- package/dist/react.esm-CFMQn0EI.js +35565 -0
- package/dist/toolkit-card-UG1sZ0Le.js +305 -0
- package/dist/{utils-CRiPKpXj.js → utils-Db4QWi-E.js} +204 -189
- package/dist/vi.bdSIJ99Y-CQ1FdEM8.js +11542 -0
- package/package.json +71 -58
- 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 -229
- package/dist/assets/icons/hubspot.d.ts +0 -3
- package/dist/assets/icons/index.js +0 -126
- 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 -409
- package/dist/assets/icons/utils.js +0 -422
- package/dist/assets/icons/xero.js +0 -63
- package/dist/assets/icons/youtube.d.ts +0 -3
- package/dist/index-PlrlSrPo.js +0 -1537
- /package/dist/{assets → components/ui/atoms}/icons/airtable.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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as h, jsxs as j, Fragment as se } from "react/jsx-runtime";
|
|
2
2
|
import * as c from "react";
|
|
3
3
|
import { P as L } from "../../../index-CpDnqHCm.js";
|
|
4
|
-
import { P as I } from "../../../index-
|
|
4
|
+
import { P as I } from "../../../index-BGfrl8IX.js";
|
|
5
5
|
import { c as ae } from "../../../index-DFZozV_h.js";
|
|
6
6
|
import { u as T } from "../../../index-5Bhkapwi.js";
|
|
7
7
|
import { u as C } from "../../../index-0ioNhtNM.js";
|
|
@@ -9,7 +9,7 @@ import { u as ie } from "../../../index-ByaXH_ih.js";
|
|
|
9
9
|
import { u as de } from "../../../index-CCKe-Mpx.js";
|
|
10
10
|
import { c as ue } from "../../../index-rKs9bXHr.js";
|
|
11
11
|
import { c as R } from "../../../index-B695uy69.js";
|
|
12
|
-
import { c as V } from "../../../utils-
|
|
12
|
+
import { c as V } from "../../../utils-Db4QWi-E.js";
|
|
13
13
|
function fe(e, o) {
|
|
14
14
|
return c.useReducer((r, l) => o[r][l] ?? r, e);
|
|
15
15
|
}
|
|
@@ -493,10 +493,10 @@ function ce(e, o) {
|
|
|
493
493
|
var Ce = (e, o = () => {
|
|
494
494
|
}) => {
|
|
495
495
|
let r = { left: e.scrollLeft, top: e.scrollTop }, l = 0;
|
|
496
|
-
return function t() {
|
|
496
|
+
return (function t() {
|
|
497
497
|
const n = { left: e.scrollLeft, top: e.scrollTop }, s = r.left !== n.left, a = r.top !== n.top;
|
|
498
498
|
(s || a) && o(), r = n, l = window.requestAnimationFrame(t);
|
|
499
|
-
}(), () => window.cancelAnimationFrame(l);
|
|
499
|
+
})(), () => window.cancelAnimationFrame(l);
|
|
500
500
|
};
|
|
501
501
|
function Y(e, o) {
|
|
502
502
|
const r = C(e), l = c.useRef(0);
|
|
@@ -10,7 +10,7 @@ import { u as dt } from "../../../index-ByaXH_ih.js";
|
|
|
10
10
|
import { P as ut, D as pt } from "../../../index-DYHsXnnS.js";
|
|
11
11
|
import { h as ft, u as mt, R as ht, F as vt } from "../../../Combination-CmNnuUVg.js";
|
|
12
12
|
import { u as Te } from "../../../index-Cv867SGx.js";
|
|
13
|
-
import { c as Ee, R as gt, A as St, C as wt, a as xt } from "../../../index-
|
|
13
|
+
import { c as Ee, R as gt, A as St, C as wt, a as xt } from "../../../index-DH9yRdVk.js";
|
|
14
14
|
import { P as M } from "../../../index-CpDnqHCm.js";
|
|
15
15
|
import { u as Ct } from "../../../index-0ioNhtNM.js";
|
|
16
16
|
import { u as Re } from "../../../index-437EL2iq.js";
|
|
@@ -18,7 +18,7 @@ import { u as G } from "../../../index-CCKe-Mpx.js";
|
|
|
18
18
|
import { u as yt } from "../../../index-BZPx6jYI.js";
|
|
19
19
|
import { V as It } from "../../../index-DfNPZZ8M.js";
|
|
20
20
|
import { CheckIcon as bt, ChevronDownIcon as Me, ChevronUpIcon as Tt } from "lucide-react";
|
|
21
|
-
import { c as j } from "../../../utils-
|
|
21
|
+
import { c as j } from "../../../utils-Db4QWi-E.js";
|
|
22
22
|
var Pt = [" ", "Enter", "ArrowUp", "ArrowDown"], Nt = [" ", "Enter"], ee = "Select", [de, ue, Rt] = lt(ee), [ne, _o] = it(ee, [
|
|
23
23
|
Rt,
|
|
24
24
|
Ee
|
|
@@ -787,9 +787,9 @@ function st(t) {
|
|
|
787
787
|
const o = Ct(t), e = n.useRef(""), c = n.useRef(0), l = n.useCallback(
|
|
788
788
|
(r) => {
|
|
789
789
|
const a = e.current + r;
|
|
790
|
-
o(a), function i(f) {
|
|
790
|
+
o(a), (function i(f) {
|
|
791
791
|
e.current = f, window.clearTimeout(c.current), f !== "" && (c.current = window.setTimeout(() => i(""), 1e3));
|
|
792
|
-
}(a);
|
|
792
|
+
})(a);
|
|
793
793
|
},
|
|
794
794
|
[o]
|
|
795
795
|
), u = n.useCallback(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import * as p from "react";
|
|
3
3
|
import { P as d } from "../../../index-CpDnqHCm.js";
|
|
4
|
-
import { c as m } from "../../../utils-
|
|
4
|
+
import { c as m } from "../../../utils-Db4QWi-E.js";
|
|
5
5
|
var v = "Separator", n = "horizontal", f = ["horizontal", "vertical"], l = p.forwardRef((r, o) => {
|
|
6
6
|
const { decorative: t, orientation: a = n, ...s } = r, i = u(a) ? a : n, c = t ? { role: "none" } : { "aria-orientation": i === "vertical" ? i : void 0, role: "separator" };
|
|
7
7
|
return /* @__PURE__ */ e(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { R as d, T as c,
|
|
2
|
+
import { R as d, T as c, a as r, C as m, b as u, D as f, P as h, O as g } from "../../../index-BzU0xzeS.js";
|
|
3
3
|
import { XIcon as p } from "lucide-react";
|
|
4
|
-
import { c as o } from "../../../utils-
|
|
4
|
+
import { c as o } from "../../../utils-Db4QWi-E.js";
|
|
5
5
|
function v({ ...t }) {
|
|
6
6
|
return /* @__PURE__ */ e(d, { "data-slot": "sheet", ...t });
|
|
7
7
|
}
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import { S as h } from "../../../index-5Bhkapwi.js";
|
|
3
|
-
import { c as M } from "../../../index-
|
|
4
|
-
import { PanelLeftIcon as
|
|
5
|
-
import * as
|
|
6
|
-
import { Button as
|
|
7
|
-
import { Input as
|
|
3
|
+
import { c as M } from "../../../index-BDE30rcJ.js";
|
|
4
|
+
import { PanelLeftIcon as k } from "lucide-react";
|
|
5
|
+
import * as c from "react";
|
|
6
|
+
import { Button as E } from "./button.js";
|
|
7
|
+
import { Input as z } from "./input.js";
|
|
8
8
|
import { Separator as D } from "./separator.js";
|
|
9
|
-
import { Sheet as T, SheetContent as
|
|
10
|
-
import { Skeleton as
|
|
11
|
-
import { Tooltip as
|
|
12
|
-
import { useIsMobile as
|
|
13
|
-
import { c as r } from "../../../utils-
|
|
14
|
-
const
|
|
9
|
+
import { Sheet as T, SheetContent as O, SheetHeader as R, SheetTitle as A, SheetDescription as B } from "./sheet.js";
|
|
10
|
+
import { Skeleton as _ } from "./skeleton.js";
|
|
11
|
+
import { Tooltip as P, TooltipTrigger as H, TooltipContent as K, TooltipProvider as L } from "./tooltip.js";
|
|
12
|
+
import { useIsMobile as j } from "../../../hooks/use-mobile.js";
|
|
13
|
+
import { c as r } from "../../../utils-Db4QWi-E.js";
|
|
14
|
+
const G = "sidebar_state", U = 60, $ = 60, V = 24, W = 7, Y = U * $ * V * W, q = "16rem", F = "18rem", X = "3rem", J = "b", y = c.createContext(null);
|
|
15
15
|
function S() {
|
|
16
|
-
const a =
|
|
16
|
+
const a = c.useContext(y);
|
|
17
17
|
if (!a)
|
|
18
18
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
19
19
|
return a;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ue({
|
|
22
22
|
defaultOpen: a = !0,
|
|
23
23
|
open: e,
|
|
24
24
|
onOpenChange: i,
|
|
25
25
|
className: n,
|
|
26
26
|
style: o,
|
|
27
|
-
children:
|
|
28
|
-
...
|
|
27
|
+
children: l,
|
|
28
|
+
...b
|
|
29
29
|
}) {
|
|
30
|
-
const s =
|
|
30
|
+
const s = j(), [f, p] = c.useState(!1), [v, C] = c.useState(a), g = e ?? v, x = c.useCallback(
|
|
31
31
|
(d) => {
|
|
32
32
|
const u = typeof d == "function" ? d(g) : d;
|
|
33
|
-
i ? i(u) :
|
|
33
|
+
i ? i(u) : C(u), document.cookie = `${G}=${u}; path=/; max-age=${Y}`;
|
|
34
34
|
},
|
|
35
35
|
[i, g]
|
|
36
|
-
), w =
|
|
37
|
-
|
|
36
|
+
), w = c.useCallback(() => s ? p((d) => !d) : x((d) => !d), [s, x]);
|
|
37
|
+
c.useEffect(() => {
|
|
38
38
|
const d = (u) => {
|
|
39
|
-
u.key ===
|
|
39
|
+
u.key === J && (u.metaKey || u.ctrlKey) && (u.preventDefault(), w());
|
|
40
40
|
};
|
|
41
41
|
return window.addEventListener("keydown", d), () => window.removeEventListener("keydown", d);
|
|
42
42
|
}, [w]);
|
|
43
|
-
const N = g ? "expanded" : "collapsed",
|
|
43
|
+
const N = g ? "expanded" : "collapsed", I = c.useMemo(
|
|
44
44
|
() => ({
|
|
45
45
|
state: N,
|
|
46
46
|
open: g,
|
|
47
47
|
setOpen: x,
|
|
48
48
|
isMobile: s,
|
|
49
|
-
openMobile:
|
|
50
|
-
setOpenMobile:
|
|
49
|
+
openMobile: f,
|
|
50
|
+
setOpenMobile: p,
|
|
51
51
|
toggleSidebar: w
|
|
52
52
|
}),
|
|
53
|
-
[N, g, x, s,
|
|
53
|
+
[N, g, x, s, f, w]
|
|
54
54
|
);
|
|
55
|
-
return /* @__PURE__ */ t(
|
|
55
|
+
return /* @__PURE__ */ t(y.Provider, { value: I, children: /* @__PURE__ */ t(L, { delayDuration: 0, children: /* @__PURE__ */ t(
|
|
56
56
|
"div",
|
|
57
57
|
{
|
|
58
58
|
className: r(
|
|
@@ -61,24 +61,24 @@ function de({
|
|
|
61
61
|
),
|
|
62
62
|
"data-slot": "sidebar-wrapper",
|
|
63
63
|
style: {
|
|
64
|
-
"--sidebar-width":
|
|
65
|
-
"--sidebar-width-icon":
|
|
64
|
+
"--sidebar-width": q,
|
|
65
|
+
"--sidebar-width-icon": X,
|
|
66
66
|
...o
|
|
67
67
|
},
|
|
68
|
-
...
|
|
69
|
-
children:
|
|
68
|
+
...b,
|
|
69
|
+
children: l
|
|
70
70
|
}
|
|
71
71
|
) }) });
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function be({
|
|
74
74
|
side: a = "left",
|
|
75
75
|
variant: e = "sidebar",
|
|
76
76
|
collapsible: i = "offcanvas",
|
|
77
77
|
className: n,
|
|
78
78
|
children: o,
|
|
79
|
-
...
|
|
79
|
+
...l
|
|
80
80
|
}) {
|
|
81
|
-
const { isMobile:
|
|
81
|
+
const { isMobile: b, state: s, openMobile: f, setOpenMobile: p } = S();
|
|
82
82
|
return i === "none" ? /* @__PURE__ */ t(
|
|
83
83
|
"div",
|
|
84
84
|
{
|
|
@@ -87,11 +87,11 @@ function se({
|
|
|
87
87
|
n
|
|
88
88
|
),
|
|
89
89
|
"data-slot": "sidebar",
|
|
90
|
-
...
|
|
90
|
+
...l,
|
|
91
91
|
children: o
|
|
92
92
|
}
|
|
93
|
-
) :
|
|
94
|
-
|
|
93
|
+
) : b ? /* @__PURE__ */ t(T, { onOpenChange: p, open: f, ...l, children: /* @__PURE__ */ m(
|
|
94
|
+
O,
|
|
95
95
|
{
|
|
96
96
|
className: "w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",
|
|
97
97
|
"data-mobile": "true",
|
|
@@ -99,17 +99,17 @@ function se({
|
|
|
99
99
|
"data-slot": "sidebar",
|
|
100
100
|
side: a,
|
|
101
101
|
style: {
|
|
102
|
-
"--sidebar-width":
|
|
102
|
+
"--sidebar-width": F
|
|
103
103
|
},
|
|
104
104
|
children: [
|
|
105
|
-
/* @__PURE__ */
|
|
106
|
-
/* @__PURE__ */ t(
|
|
107
|
-
/* @__PURE__ */ t(
|
|
105
|
+
/* @__PURE__ */ m(R, { className: "sr-only", children: [
|
|
106
|
+
/* @__PURE__ */ t(A, { children: "Sidebar" }),
|
|
107
|
+
/* @__PURE__ */ t(B, { children: "Displays the mobile sidebar." })
|
|
108
108
|
] }),
|
|
109
109
|
/* @__PURE__ */ t("div", { className: "flex h-full w-full flex-col", children: o })
|
|
110
110
|
]
|
|
111
111
|
}
|
|
112
|
-
) }) : /* @__PURE__ */
|
|
112
|
+
) }) : /* @__PURE__ */ m(
|
|
113
113
|
"div",
|
|
114
114
|
{
|
|
115
115
|
className: "group peer hidden text-sidebar-foreground md:block",
|
|
@@ -142,7 +142,7 @@ function se({
|
|
|
142
142
|
n
|
|
143
143
|
),
|
|
144
144
|
"data-slot": "sidebar-container",
|
|
145
|
-
...
|
|
145
|
+
...l,
|
|
146
146
|
children: /* @__PURE__ */ t(
|
|
147
147
|
"div",
|
|
148
148
|
{
|
|
@@ -158,14 +158,14 @@ function se({
|
|
|
158
158
|
}
|
|
159
159
|
);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function fe({
|
|
162
162
|
className: a,
|
|
163
163
|
onClick: e,
|
|
164
164
|
...i
|
|
165
165
|
}) {
|
|
166
166
|
const { toggleSidebar: n } = S();
|
|
167
|
-
return /* @__PURE__ */
|
|
168
|
-
|
|
167
|
+
return /* @__PURE__ */ m(
|
|
168
|
+
E,
|
|
169
169
|
{
|
|
170
170
|
className: r("size-7", a),
|
|
171
171
|
"data-sidebar": "trigger",
|
|
@@ -177,13 +177,13 @@ function le({
|
|
|
177
177
|
variant: "ghost",
|
|
178
178
|
...i,
|
|
179
179
|
children: [
|
|
180
|
-
/* @__PURE__ */ t(
|
|
180
|
+
/* @__PURE__ */ t(k, {}),
|
|
181
181
|
/* @__PURE__ */ t("span", { className: "sr-only", children: "Toggle Sidebar" })
|
|
182
182
|
]
|
|
183
183
|
}
|
|
184
184
|
);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function pe({ className: a, ...e }) {
|
|
187
187
|
const { toggleSidebar: i } = S();
|
|
188
188
|
return /* @__PURE__ */ t(
|
|
189
189
|
"button",
|
|
@@ -207,7 +207,7 @@ function ce({ className: a, ...e }) {
|
|
|
207
207
|
}
|
|
208
208
|
);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function me({ className: a, ...e }) {
|
|
211
211
|
return /* @__PURE__ */ t(
|
|
212
212
|
"main",
|
|
213
213
|
{
|
|
@@ -221,12 +221,12 @@ function ue({ className: a, ...e }) {
|
|
|
221
221
|
}
|
|
222
222
|
);
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function ge({
|
|
225
225
|
className: a,
|
|
226
226
|
...e
|
|
227
227
|
}) {
|
|
228
228
|
return /* @__PURE__ */ t(
|
|
229
|
-
|
|
229
|
+
z,
|
|
230
230
|
{
|
|
231
231
|
className: r("h-8 w-full bg-background shadow-none", a),
|
|
232
232
|
"data-sidebar": "input",
|
|
@@ -235,7 +235,7 @@ function be({
|
|
|
235
235
|
}
|
|
236
236
|
);
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function he({ className: a, ...e }) {
|
|
239
239
|
return /* @__PURE__ */ t(
|
|
240
240
|
"div",
|
|
241
241
|
{
|
|
@@ -246,7 +246,7 @@ function fe({ className: a, ...e }) {
|
|
|
246
246
|
}
|
|
247
247
|
);
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function ve({ className: a, ...e }) {
|
|
250
250
|
return /* @__PURE__ */ t(
|
|
251
251
|
"div",
|
|
252
252
|
{
|
|
@@ -257,7 +257,7 @@ function pe({ className: a, ...e }) {
|
|
|
257
257
|
}
|
|
258
258
|
);
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function xe({
|
|
261
261
|
className: a,
|
|
262
262
|
...e
|
|
263
263
|
}) {
|
|
@@ -271,7 +271,7 @@ function me({
|
|
|
271
271
|
}
|
|
272
272
|
);
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function we({ className: a, ...e }) {
|
|
275
275
|
return /* @__PURE__ */ t(
|
|
276
276
|
"div",
|
|
277
277
|
{
|
|
@@ -285,7 +285,7 @@ function ge({ className: a, ...e }) {
|
|
|
285
285
|
}
|
|
286
286
|
);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Se({ className: a, ...e }) {
|
|
289
289
|
return /* @__PURE__ */ t(
|
|
290
290
|
"div",
|
|
291
291
|
{
|
|
@@ -296,7 +296,7 @@ function he({ className: a, ...e }) {
|
|
|
296
296
|
}
|
|
297
297
|
);
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function Ne({
|
|
300
300
|
className: a,
|
|
301
301
|
asChild: e = !1,
|
|
302
302
|
...i
|
|
@@ -315,7 +315,7 @@ function ve({
|
|
|
315
315
|
}
|
|
316
316
|
);
|
|
317
317
|
}
|
|
318
|
-
function
|
|
318
|
+
function _e({
|
|
319
319
|
className: a,
|
|
320
320
|
asChild: e = !1,
|
|
321
321
|
...i
|
|
@@ -336,7 +336,7 @@ function xe({
|
|
|
336
336
|
}
|
|
337
337
|
);
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function ye({
|
|
340
340
|
className: a,
|
|
341
341
|
...e
|
|
342
342
|
}) {
|
|
@@ -350,7 +350,7 @@ function we({
|
|
|
350
350
|
}
|
|
351
351
|
);
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function Ce({ className: a, ...e }) {
|
|
354
354
|
return /* @__PURE__ */ t(
|
|
355
355
|
"ul",
|
|
356
356
|
{
|
|
@@ -361,7 +361,7 @@ function Se({ className: a, ...e }) {
|
|
|
361
361
|
}
|
|
362
362
|
);
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Ie({ className: a, ...e }) {
|
|
365
365
|
return /* @__PURE__ */ t(
|
|
366
366
|
"li",
|
|
367
367
|
{
|
|
@@ -372,7 +372,7 @@ function Ne({ className: a, ...e }) {
|
|
|
372
372
|
}
|
|
373
373
|
);
|
|
374
374
|
}
|
|
375
|
-
const
|
|
375
|
+
const Q = M(
|
|
376
376
|
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sidebar-primary-foreground text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
377
377
|
{
|
|
378
378
|
variants: {
|
|
@@ -392,42 +392,42 @@ const U = M(
|
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
394
|
);
|
|
395
|
-
function
|
|
395
|
+
function Me({
|
|
396
396
|
asChild: a = !1,
|
|
397
397
|
isActive: e = !1,
|
|
398
398
|
variant: i = "default",
|
|
399
399
|
size: n = "default",
|
|
400
400
|
tooltip: o,
|
|
401
|
-
className:
|
|
402
|
-
...
|
|
401
|
+
className: l,
|
|
402
|
+
...b
|
|
403
403
|
}) {
|
|
404
|
-
const s = a ? h : "button", { isMobile:
|
|
404
|
+
const s = a ? h : "button", { isMobile: f, state: p } = S(), v = /* @__PURE__ */ t(
|
|
405
405
|
s,
|
|
406
406
|
{
|
|
407
|
-
className: r(
|
|
407
|
+
className: r(Q({ variant: i, size: n }), l),
|
|
408
408
|
"data-active": e,
|
|
409
409
|
"data-sidebar": "menu-button",
|
|
410
410
|
"data-size": n,
|
|
411
411
|
"data-slot": "sidebar-menu-button",
|
|
412
|
-
...
|
|
412
|
+
...b
|
|
413
413
|
}
|
|
414
414
|
);
|
|
415
415
|
return o ? (typeof o == "string" && (o = {
|
|
416
416
|
children: o
|
|
417
|
-
}), /* @__PURE__ */
|
|
418
|
-
/* @__PURE__ */ t(
|
|
417
|
+
}), /* @__PURE__ */ m(P, { children: [
|
|
418
|
+
/* @__PURE__ */ t(H, { asChild: !0, children: v }),
|
|
419
419
|
/* @__PURE__ */ t(
|
|
420
|
-
|
|
420
|
+
K,
|
|
421
421
|
{
|
|
422
422
|
align: "center",
|
|
423
|
-
hidden:
|
|
423
|
+
hidden: p !== "collapsed" || f,
|
|
424
424
|
side: "right",
|
|
425
425
|
...o
|
|
426
426
|
}
|
|
427
427
|
)
|
|
428
428
|
] })) : v;
|
|
429
429
|
}
|
|
430
|
-
function
|
|
430
|
+
function ke({
|
|
431
431
|
className: a,
|
|
432
432
|
asChild: e = !1,
|
|
433
433
|
showOnHover: i = !1,
|
|
@@ -453,7 +453,7 @@ function Ce({
|
|
|
453
453
|
}
|
|
454
454
|
);
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function Ee({
|
|
457
457
|
className: a,
|
|
458
458
|
...e
|
|
459
459
|
}) {
|
|
@@ -475,13 +475,13 @@ function _e({
|
|
|
475
475
|
}
|
|
476
476
|
);
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function ze({
|
|
479
479
|
className: a,
|
|
480
480
|
showIcon: e = !1,
|
|
481
481
|
...i
|
|
482
482
|
}) {
|
|
483
|
-
const n =
|
|
484
|
-
return /* @__PURE__ */
|
|
483
|
+
const n = c.useMemo(() => `${50 + Math.floor(Math.random() * 41)}%`, []);
|
|
484
|
+
return /* @__PURE__ */ m(
|
|
485
485
|
"div",
|
|
486
486
|
{
|
|
487
487
|
className: r("flex h-8 items-center gap-2 rounded-md px-2", a),
|
|
@@ -490,14 +490,14 @@ function ke({
|
|
|
490
490
|
...i,
|
|
491
491
|
children: [
|
|
492
492
|
e && /* @__PURE__ */ t(
|
|
493
|
-
|
|
493
|
+
_,
|
|
494
494
|
{
|
|
495
495
|
className: "size-4 rounded-md",
|
|
496
496
|
"data-sidebar": "menu-skeleton-icon"
|
|
497
497
|
}
|
|
498
498
|
),
|
|
499
499
|
/* @__PURE__ */ t(
|
|
500
|
-
|
|
500
|
+
_,
|
|
501
501
|
{
|
|
502
502
|
className: "h-4 max-w-(--skeleton-width) flex-1",
|
|
503
503
|
"data-sidebar": "menu-skeleton-text",
|
|
@@ -510,7 +510,7 @@ function ke({
|
|
|
510
510
|
}
|
|
511
511
|
);
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function De({ className: a, ...e }) {
|
|
514
514
|
return /* @__PURE__ */ t(
|
|
515
515
|
"ul",
|
|
516
516
|
{
|
|
@@ -525,7 +525,7 @@ function Me({ className: a, ...e }) {
|
|
|
525
525
|
}
|
|
526
526
|
);
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function Te({
|
|
529
529
|
className: a,
|
|
530
530
|
...e
|
|
531
531
|
}) {
|
|
@@ -539,7 +539,7 @@ function ze({
|
|
|
539
539
|
}
|
|
540
540
|
);
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Oe({
|
|
543
543
|
asChild: a = !1,
|
|
544
544
|
size: e = "md",
|
|
545
545
|
isActive: i = !1,
|
|
@@ -566,28 +566,28 @@ function Ie({
|
|
|
566
566
|
);
|
|
567
567
|
}
|
|
568
568
|
export {
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
569
|
+
be as Sidebar,
|
|
570
|
+
we as SidebarContent,
|
|
571
|
+
ve as SidebarFooter,
|
|
572
|
+
Se as SidebarGroup,
|
|
573
|
+
_e as SidebarGroupAction,
|
|
574
|
+
ye as SidebarGroupContent,
|
|
575
|
+
Ne as SidebarGroupLabel,
|
|
576
|
+
he as SidebarHeader,
|
|
577
|
+
ge as SidebarInput,
|
|
578
|
+
me as SidebarInset,
|
|
579
|
+
Ce as SidebarMenu,
|
|
580
|
+
ke as SidebarMenuAction,
|
|
581
|
+
Ee as SidebarMenuBadge,
|
|
582
|
+
Me as SidebarMenuButton,
|
|
583
|
+
Ie as SidebarMenuItem,
|
|
584
|
+
ze as SidebarMenuSkeleton,
|
|
585
|
+
De as SidebarMenuSub,
|
|
586
|
+
Oe as SidebarMenuSubButton,
|
|
587
|
+
Te as SidebarMenuSubItem,
|
|
588
|
+
ue as SidebarProvider,
|
|
589
|
+
pe as SidebarRail,
|
|
590
|
+
xe as SidebarSeparator,
|
|
591
|
+
fe as SidebarTrigger,
|
|
592
592
|
S as useSidebar
|
|
593
593
|
};
|
|
@@ -10,7 +10,7 @@ import { u as me } from "../../../index-BZPx6jYI.js";
|
|
|
10
10
|
import { u as pe } from "../../../index-BGQepRFJ.js";
|
|
11
11
|
import { P as B } from "../../../index-CpDnqHCm.js";
|
|
12
12
|
import { c as Se } from "../../../index-CxO14pcK.js";
|
|
13
|
-
import { c as H } from "../../../utils-
|
|
13
|
+
import { c as H } from "../../../utils-Db4QWi-E.js";
|
|
14
14
|
var G = ["PageUp", "PageDown"], W = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], q = {
|
|
15
15
|
"from-left": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
|
|
16
16
|
"from-right": ["Home", "PageDown", "ArrowDown", "ArrowRight"],
|
|
@@ -7,7 +7,7 @@ import { u as j } from "../../../index-437EL2iq.js";
|
|
|
7
7
|
import { u as z } from "../../../index-BZPx6jYI.js";
|
|
8
8
|
import { u as A } from "../../../index-BGQepRFJ.js";
|
|
9
9
|
import { P as y } from "../../../index-CpDnqHCm.js";
|
|
10
|
-
import { c as C } from "../../../utils-
|
|
10
|
+
import { c as C } from "../../../utils-Db4QWi-E.js";
|
|
11
11
|
var m = "Switch", [U, Z] = H(m), [q, L] = U(m), P = a.forwardRef(
|
|
12
12
|
(e, r) => {
|
|
13
13
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import * as s from "react";
|
|
3
|
-
import { c as o } from "../../../utils-
|
|
3
|
+
import { c as o } from "../../../utils-Db4QWi-E.js";
|
|
4
4
|
import { ScrollArea as n, ScrollBar as c } from "./scroll-area.js";
|
|
5
5
|
const d = s.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ l(n, { className: "relative w-full", viewPortClassName: "px-0", children: [
|
|
6
6
|
/* @__PURE__ */ a(
|
|
@@ -3,12 +3,12 @@ import * as f from "react";
|
|
|
3
3
|
import { c as T } from "../../../index-B695uy69.js";
|
|
4
4
|
import { c as M } from "../../../index-DFZozV_h.js";
|
|
5
5
|
import { c as h, R as k, I as E } from "../../../index-DMCYNwtg.js";
|
|
6
|
-
import { P as F } from "../../../index-
|
|
6
|
+
import { P as F } from "../../../index-BGfrl8IX.js";
|
|
7
7
|
import { P as m } from "../../../index-CpDnqHCm.js";
|
|
8
8
|
import { u as $ } from "../../../index-ByaXH_ih.js";
|
|
9
9
|
import { u as D } from "../../../index-437EL2iq.js";
|
|
10
10
|
import { u as V } from "../../../index-Cv867SGx.js";
|
|
11
|
-
import { c as p } from "../../../utils-
|
|
11
|
+
import { c as p } from "../../../utils-Db4QWi-E.js";
|
|
12
12
|
var g = "Tabs", [G, ee] = M(g, [
|
|
13
13
|
h
|
|
14
14
|
]), C = h(), [L, x] = G(g), I = f.forwardRef(
|
|
@@ -3,8 +3,8 @@ import * as u from "react";
|
|
|
3
3
|
import { c as f } from "../../../index-B695uy69.js";
|
|
4
4
|
import { u as g } from "../../../index-437EL2iq.js";
|
|
5
5
|
import { P as m } from "../../../index-CpDnqHCm.js";
|
|
6
|
-
import { c as v } from "../../../index-
|
|
7
|
-
import { c as p } from "../../../utils-
|
|
6
|
+
import { c as v } from "../../../index-BDE30rcJ.js";
|
|
7
|
+
import { c as p } from "../../../utils-Db4QWi-E.js";
|
|
8
8
|
var s = "Toggle", i = u.forwardRef((e, t) => {
|
|
9
9
|
const { pressed: r, defaultPressed: a, onPressedChange: d, ...l } = e, [o, c] = g({
|
|
10
10
|
prop: r,
|