@arcadeai/design-system 3.26.1 → 3.27.1
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 +2 -2
- package/dist/assets/images/arcade-logo.d.ts +5 -5
- package/dist/calendar-w1IATMME.js +3042 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +442 -435
- package/dist/components/ui/atoms/accordion.d.ts +3 -2
- package/dist/components/ui/atoms/accordion.d.ts.map +1 -0
- package/dist/components/ui/atoms/accordion.js +5 -5
- package/dist/components/ui/atoms/alert-dialog.d.ts +5 -4
- package/dist/components/ui/atoms/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/atoms/alert-dialog.js +12 -12
- package/dist/components/ui/atoms/alert.d.ts +5 -4
- package/dist/components/ui/atoms/alert.d.ts.map +1 -0
- package/dist/components/ui/atoms/alert.js +2 -2
- package/dist/components/ui/atoms/avatar.d.ts +3 -2
- package/dist/components/ui/atoms/avatar.d.ts.map +1 -0
- package/dist/components/ui/atoms/avatar.js +8 -8
- package/dist/components/ui/atoms/badge.d.ts +3 -2
- package/dist/components/ui/atoms/badge.d.ts.map +1 -0
- package/dist/components/ui/atoms/badge.js +6 -6
- package/dist/components/ui/atoms/breadcrumb.d.ts +9 -8
- package/dist/components/ui/atoms/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/atoms/breadcrumb.js +2 -2
- package/dist/components/ui/atoms/button.d.ts +3 -2
- package/dist/components/ui/atoms/button.d.ts.map +1 -0
- package/dist/components/ui/atoms/button.js +6 -6
- package/dist/components/ui/atoms/byoc-badge.d.ts +1 -0
- package/dist/components/ui/atoms/byoc-badge.d.ts.map +1 -0
- package/dist/components/ui/atoms/byoc-badge.js +6 -6
- package/dist/components/ui/atoms/calendar.d.ts +21 -0
- package/dist/components/ui/atoms/calendar.d.ts.map +1 -0
- package/dist/components/ui/atoms/calendar.js +10 -0
- package/dist/components/ui/atoms/card.d.ts +9 -8
- package/dist/components/ui/atoms/card.d.ts.map +1 -0
- package/dist/components/ui/atoms/card.js +1 -1
- package/dist/components/ui/atoms/chart.d.ts +7 -6
- package/dist/components/ui/atoms/chart.d.ts.map +1 -0
- package/dist/components/ui/atoms/chart.js +1 -1
- package/dist/components/ui/atoms/checkbox.d.ts +3 -2
- package/dist/components/ui/atoms/checkbox.d.ts.map +1 -0
- package/dist/components/ui/atoms/checkbox.js +15 -15
- package/dist/components/ui/atoms/collapsible.d.ts +2 -1
- package/dist/components/ui/atoms/collapsible.d.ts.map +1 -0
- package/dist/components/ui/atoms/collapsible.js +1 -1
- package/dist/components/ui/atoms/command.d.ts +4 -3
- package/dist/components/ui/atoms/command.d.ts.map +1 -0
- package/dist/components/ui/atoms/command.js +29 -29
- package/dist/components/ui/atoms/dialog.d.ts +5 -4
- package/dist/components/ui/atoms/dialog.d.ts.map +1 -0
- package/dist/components/ui/atoms/dialog.js +8 -8
- package/dist/components/ui/atoms/dropdown-menu.d.ts +5 -4
- package/dist/components/ui/atoms/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/atoms/dropdown-menu.js +9 -9
- package/dist/components/ui/atoms/form.d.ts +6 -5
- package/dist/components/ui/atoms/form.d.ts.map +1 -0
- package/dist/components/ui/atoms/form.js +9 -9
- package/dist/components/ui/atoms/hover-card.d.ts +3 -2
- package/dist/components/ui/atoms/hover-card.d.ts.map +1 -0
- package/dist/components/ui/atoms/hover-card.js +19 -19
- package/dist/components/ui/atoms/icons/adp.d.ts +1 -0
- package/dist/components/ui/atoms/icons/adp.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/aha.d.ts +1 -0
- package/dist/components/ui/atoms/icons/aha.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/airtable.d.ts +1 -0
- package/dist/components/ui/atoms/icons/airtable.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/amplitude.d.ts +1 -0
- package/dist/components/ui/atoms/icons/amplitude.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/arcade.d.ts +1 -0
- package/dist/components/ui/atoms/icons/arcade.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/asana.d.ts +1 -0
- package/dist/components/ui/atoms/icons/asana.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/ashby.d.ts +1 -0
- package/dist/components/ui/atoms/icons/ashby.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/atlassian.d.ts +1 -0
- package/dist/components/ui/atoms/icons/atlassian.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/auth0.d.ts +1 -0
- package/dist/components/ui/atoms/icons/auth0.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/azure.d.ts +1 -0
- package/dist/components/ui/atoms/icons/azure.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/bamboohr.d.ts +1 -0
- package/dist/components/ui/atoms/icons/bamboohr.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/basecamp.d.ts +1 -0
- package/dist/components/ui/atoms/icons/basecamp.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/bill.d.ts +1 -0
- package/dist/components/ui/atoms/icons/bill.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/bitbucket.d.ts +1 -0
- package/dist/components/ui/atoms/icons/bitbucket.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/bluesky.d.ts +1 -0
- package/dist/components/ui/atoms/icons/bluesky.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/box.d.ts +1 -0
- package/dist/components/ui/atoms/icons/box.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/braze.d.ts +1 -0
- package/dist/components/ui/atoms/icons/braze.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/brex.d.ts +1 -0
- package/dist/components/ui/atoms/icons/brex.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/brightdata.d.ts +1 -0
- package/dist/components/ui/atoms/icons/brightdata.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/buffer.d.ts +1 -0
- package/dist/components/ui/atoms/icons/buffer.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/calendly.d.ts +1 -0
- package/dist/components/ui/atoms/icons/calendly.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/clickhouse.d.ts +1 -0
- package/dist/components/ui/atoms/icons/clickhouse.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/clickup.d.ts +1 -0
- package/dist/components/ui/atoms/icons/clickup.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/closeio.d.ts +1 -0
- package/dist/components/ui/atoms/icons/closeio.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/codesandbox.d.ts +1 -0
- package/dist/components/ui/atoms/icons/codesandbox.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/coinbase.d.ts +1 -0
- package/dist/components/ui/atoms/icons/coinbase.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/confluence.d.ts +1 -0
- package/dist/components/ui/atoms/icons/confluence.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/cursor.d.ts +1 -0
- package/dist/components/ui/atoms/icons/cursor.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/customerio.d.ts +1 -0
- package/dist/components/ui/atoms/icons/customerio.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/datadog.d.ts +1 -0
- package/dist/components/ui/atoms/icons/datadog.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/digital-ocean.d.ts +1 -0
- package/dist/components/ui/atoms/icons/digital-ocean.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/discord.d.ts +1 -0
- package/dist/components/ui/atoms/icons/discord.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/dropbox.d.ts +1 -0
- package/dist/components/ui/atoms/icons/dropbox.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/e2b.d.ts +1 -0
- package/dist/components/ui/atoms/icons/e2b.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/ebay.d.ts +1 -0
- package/dist/components/ui/atoms/icons/ebay.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/evernote.d.ts +1 -0
- package/dist/components/ui/atoms/icons/evernote.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/exa.d.ts +1 -0
- package/dist/components/ui/atoms/icons/exa.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/factorial.d.ts +1 -0
- package/dist/components/ui/atoms/icons/factorial.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/figma.d.ts +1 -0
- package/dist/components/ui/atoms/icons/figma.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/firecrawl.d.ts +1 -0
- package/dist/components/ui/atoms/icons/firecrawl.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/freshservice.d.ts +1 -0
- package/dist/components/ui/atoms/icons/freshservice.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/generic.d.ts +1 -0
- package/dist/components/ui/atoms/icons/generic.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/github.d.ts +1 -0
- package/dist/components/ui/atoms/icons/github.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/gitlab.d.ts +1 -0
- package/dist/components/ui/atoms/icons/gitlab.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/gmail.d.ts +1 -0
- package/dist/components/ui/atoms/icons/gmail.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/google-calendar.d.ts +1 -0
- package/dist/components/ui/atoms/icons/google-calendar.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/google-contacts.d.ts +1 -0
- package/dist/components/ui/atoms/icons/google-contacts.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/google-docs.d.ts +1 -0
- package/dist/components/ui/atoms/icons/google-docs.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/google-drive.d.ts +1 -0
- package/dist/components/ui/atoms/icons/google-drive.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/google-finance.d.ts +1 -0
- package/dist/components/ui/atoms/icons/google-finance.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/google-flight.d.ts +1 -0
- package/dist/components/ui/atoms/icons/google-flight.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/google-flights.d.ts +1 -0
- package/dist/components/ui/atoms/icons/google-flights.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/google-hotels.d.ts +1 -0
- package/dist/components/ui/atoms/icons/google-hotels.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/google-jobs.d.ts +1 -0
- package/dist/components/ui/atoms/icons/google-jobs.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/google-maps.d.ts +1 -0
- package/dist/components/ui/atoms/icons/google-maps.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/google-news.d.ts +1 -0
- package/dist/components/ui/atoms/icons/google-news.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/google-sheets.d.ts +1 -0
- package/dist/components/ui/atoms/icons/google-sheets.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/google-shopping.d.ts +1 -0
- package/dist/components/ui/atoms/icons/google-shopping.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/google-slides.d.ts +1 -0
- package/dist/components/ui/atoms/icons/google-slides.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/google.d.ts +1 -0
- package/dist/components/ui/atoms/icons/google.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/heroku.d.ts +1 -0
- package/dist/components/ui/atoms/icons/heroku.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/hootsuite.d.ts +1 -0
- package/dist/components/ui/atoms/icons/hootsuite.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/hubspot.d.ts +1 -0
- package/dist/components/ui/atoms/icons/hubspot.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/imgflip.d.ts +1 -0
- package/dist/components/ui/atoms/icons/imgflip.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/index.d.ts +1 -0
- package/dist/components/ui/atoms/icons/index.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/intercom.d.ts +1 -0
- package/dist/components/ui/atoms/icons/intercom.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/jira.d.ts +1 -0
- package/dist/components/ui/atoms/icons/jira.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/linear.d.ts +1 -0
- package/dist/components/ui/atoms/icons/linear.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/linkedin.d.ts +1 -0
- package/dist/components/ui/atoms/icons/linkedin.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/luma.d.ts +1 -0
- package/dist/components/ui/atoms/icons/luma.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/mailchimp.d.ts +1 -0
- package/dist/components/ui/atoms/icons/mailchimp.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/mcp.d.ts +1 -0
- package/dist/components/ui/atoms/icons/mcp.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/microsoft-dynamics.d.ts +1 -0
- package/dist/components/ui/atoms/icons/microsoft-dynamics.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/microsoft-sharepoint.d.ts +1 -0
- package/dist/components/ui/atoms/icons/microsoft-sharepoint.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/microsoft-teams.d.ts +1 -0
- package/dist/components/ui/atoms/icons/microsoft-teams.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/microsoft.d.ts +1 -0
- package/dist/components/ui/atoms/icons/microsoft.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/miro.d.ts +1 -0
- package/dist/components/ui/atoms/icons/miro.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/monday.d.ts +1 -0
- package/dist/components/ui/atoms/icons/monday.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/mongodb.d.ts +1 -0
- package/dist/components/ui/atoms/icons/mongodb.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/netsuite.d.ts +1 -0
- package/dist/components/ui/atoms/icons/netsuite.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/notion.d.ts +1 -0
- package/dist/components/ui/atoms/icons/notion.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/oauth.d.ts +1 -0
- package/dist/components/ui/atoms/icons/oauth.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/obsidian.d.ts +1 -0
- package/dist/components/ui/atoms/icons/obsidian.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/okta.d.ts +1 -0
- package/dist/components/ui/atoms/icons/okta.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/one-drive.d.ts +1 -0
- package/dist/components/ui/atoms/icons/one-drive.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/outlook-calendar.d.ts +1 -0
- package/dist/components/ui/atoms/icons/outlook-calendar.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/outlook-mail.d.ts +1 -0
- package/dist/components/ui/atoms/icons/outlook-mail.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/pagerduty.d.ts +1 -0
- package/dist/components/ui/atoms/icons/pagerduty.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/pinecone.d.ts +1 -0
- package/dist/components/ui/atoms/icons/pinecone.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/pinterest.d.ts +1 -0
- package/dist/components/ui/atoms/icons/pinterest.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/pipedrive.d.ts +1 -0
- package/dist/components/ui/atoms/icons/pipedrive.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/plaid.d.ts +1 -0
- package/dist/components/ui/atoms/icons/plaid.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/postgres.d.ts +1 -0
- package/dist/components/ui/atoms/icons/postgres.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/posthog.d.ts +1 -0
- package/dist/components/ui/atoms/icons/posthog.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/pylon.d.ts +1 -0
- package/dist/components/ui/atoms/icons/pylon.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/quickbooks.d.ts +1 -0
- package/dist/components/ui/atoms/icons/quickbooks.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/reddit.d.ts +1 -0
- package/dist/components/ui/atoms/icons/reddit.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/salesforce.d.ts +1 -0
- package/dist/components/ui/atoms/icons/salesforce.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/shopify.d.ts +1 -0
- package/dist/components/ui/atoms/icons/shopify.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/singlestore.d.ts +1 -0
- package/dist/components/ui/atoms/icons/singlestore.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/slack.d.ts +1 -0
- package/dist/components/ui/atoms/icons/slack.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/snowflake.d.ts +1 -0
- package/dist/components/ui/atoms/icons/snowflake.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/splunk.d.ts +1 -0
- package/dist/components/ui/atoms/icons/splunk.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/spotify.d.ts +1 -0
- package/dist/components/ui/atoms/icons/spotify.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/square.d.ts +1 -0
- package/dist/components/ui/atoms/icons/square.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/squarespace.d.ts +1 -0
- package/dist/components/ui/atoms/icons/squarespace.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/squareup.d.ts +1 -0
- package/dist/components/ui/atoms/icons/squareup.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/stripe.d.ts +1 -0
- package/dist/components/ui/atoms/icons/stripe.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/tesla.d.ts +1 -0
- package/dist/components/ui/atoms/icons/tesla.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/ticktick.d.ts +1 -0
- package/dist/components/ui/atoms/icons/ticktick.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/tiktok.d.ts +1 -0
- package/dist/components/ui/atoms/icons/tiktok.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/trello.d.ts +1 -0
- package/dist/components/ui/atoms/icons/trello.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/twilio.d.ts +1 -0
- package/dist/components/ui/atoms/icons/twilio.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/twitch.d.ts +1 -0
- package/dist/components/ui/atoms/icons/twitch.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/vercel.d.ts +1 -0
- package/dist/components/ui/atoms/icons/vercel.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/walmart.d.ts +1 -0
- package/dist/components/ui/atoms/icons/walmart.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/weaviate.d.ts +1 -0
- package/dist/components/ui/atoms/icons/weaviate.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/workday.d.ts +1 -0
- package/dist/components/ui/atoms/icons/workday.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/wrike.d.ts +1 -0
- package/dist/components/ui/atoms/icons/wrike.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/x.d.ts +1 -0
- package/dist/components/ui/atoms/icons/x.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/xero.d.ts +1 -0
- package/dist/components/ui/atoms/icons/xero.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/youtube.d.ts +1 -0
- package/dist/components/ui/atoms/icons/youtube.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/zendesk.d.ts +1 -0
- package/dist/components/ui/atoms/icons/zendesk.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/zoho-books.d.ts +1 -0
- package/dist/components/ui/atoms/icons/zoho-books.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/zoho-creator.d.ts +1 -0
- package/dist/components/ui/atoms/icons/zoho-creator.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/zoho.d.ts +1 -0
- package/dist/components/ui/atoms/icons/zoho.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/zoom.d.ts +1 -0
- package/dist/components/ui/atoms/icons/zoom.d.ts.map +1 -0
- package/dist/components/ui/atoms/index.d.ts +3 -0
- package/dist/components/ui/atoms/index.d.ts.map +1 -0
- package/dist/components/ui/atoms/index.js +427 -422
- package/dist/components/ui/atoms/input.d.ts +3 -2
- package/dist/components/ui/atoms/input.d.ts.map +1 -0
- package/dist/components/ui/atoms/input.js +1 -1
- package/dist/components/ui/atoms/label.d.ts +3 -2
- package/dist/components/ui/atoms/label.d.ts.map +1 -0
- package/dist/components/ui/atoms/label.js +6 -6
- package/dist/components/ui/atoms/mobile-tooltip.d.ts +1 -0
- package/dist/components/ui/atoms/mobile-tooltip.d.ts.map +1 -0
- package/dist/components/ui/atoms/popover.d.ts +3 -2
- package/dist/components/ui/atoms/popover.d.ts.map +1 -0
- package/dist/components/ui/atoms/popover.js +24 -24
- package/dist/components/ui/atoms/pro-badge.d.ts +1 -0
- package/dist/components/ui/atoms/pro-badge.d.ts.map +1 -0
- package/dist/components/ui/atoms/pro-badge.js +6 -6
- package/dist/components/ui/atoms/progress.d.ts +3 -2
- package/dist/components/ui/atoms/progress.d.ts.map +1 -0
- package/dist/components/ui/atoms/progress.js +5 -5
- package/dist/components/ui/atoms/radio-group.d.ts +3 -2
- package/dist/components/ui/atoms/radio-group.d.ts.map +1 -0
- package/dist/components/ui/atoms/radio-group.js +13 -13
- package/dist/components/ui/atoms/resizable.d.ts +3 -2
- package/dist/components/ui/atoms/resizable.d.ts.map +1 -0
- package/dist/components/ui/atoms/resizable.js +2 -2
- package/dist/components/ui/atoms/scroll-area.d.ts +3 -2
- package/dist/components/ui/atoms/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/atoms/scroll-area.js +4 -4
- package/dist/components/ui/atoms/select.d.ts +4 -3
- package/dist/components/ui/atoms/select.d.ts.map +1 -0
- package/dist/components/ui/atoms/select.js +26 -26
- package/dist/components/ui/atoms/separator.d.ts +3 -2
- package/dist/components/ui/atoms/separator.d.ts.map +1 -0
- package/dist/components/ui/atoms/separator.js +6 -6
- package/dist/components/ui/atoms/sheet.d.ts +7 -6
- package/dist/components/ui/atoms/sheet.d.ts.map +1 -0
- package/dist/components/ui/atoms/sheet.js +2 -2
- package/dist/components/ui/atoms/sidebar.d.ts +28 -27
- package/dist/components/ui/atoms/sidebar.d.ts.map +1 -0
- package/dist/components/ui/atoms/sidebar.js +30 -30
- package/dist/components/ui/atoms/skeleton.d.ts +2 -1
- package/dist/components/ui/atoms/skeleton.d.ts.map +1 -0
- package/dist/components/ui/atoms/skeleton.js +1 -1
- package/dist/components/ui/atoms/slider.d.ts +3 -2
- package/dist/components/ui/atoms/slider.d.ts.map +1 -0
- package/dist/components/ui/atoms/slider.js +4 -4
- package/dist/components/ui/atoms/switch.d.ts +3 -2
- package/dist/components/ui/atoms/switch.d.ts.map +1 -0
- package/dist/components/ui/atoms/switch.js +3 -3
- package/dist/components/ui/atoms/table.d.ts +9 -8
- package/dist/components/ui/atoms/table.d.ts.map +1 -0
- package/dist/components/ui/atoms/table.js +1 -1
- package/dist/components/ui/atoms/tabs.d.ts +3 -2
- package/dist/components/ui/atoms/tabs.d.ts.map +1 -0
- package/dist/components/ui/atoms/tabs.js +12 -12
- package/dist/components/ui/atoms/textarea.d.ts +3 -2
- package/dist/components/ui/atoms/textarea.d.ts.map +1 -0
- package/dist/components/ui/atoms/textarea.js +1 -1
- package/dist/components/ui/atoms/toggle.d.ts +3 -2
- package/dist/components/ui/atoms/toggle.d.ts.map +1 -0
- package/dist/components/ui/atoms/toggle.js +12 -12
- package/dist/components/ui/atoms/tooltip.d.ts +3 -2
- package/dist/components/ui/atoms/tooltip.d.ts.map +1 -0
- package/dist/components/ui/atoms/tooltip.js +23 -23
- package/dist/components/ui/atoms/view-tools-control.d.ts +2 -1
- package/dist/components/ui/atoms/view-tools-control.d.ts.map +1 -0
- package/dist/components/ui/atoms/view-tools-control.js +10 -10
- package/dist/components/ui/atoms/virtualized-grid.d.ts +23 -0
- package/dist/components/ui/atoms/virtualized-grid.d.ts.map +1 -0
- package/dist/components/ui/atoms/virtualized-grid.js +682 -0
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/components/ui/index.js +442 -435
- package/dist/components/ui/molecules/date-time-picker.d.ts +12 -0
- package/dist/components/ui/molecules/date-time-picker.d.ts.map +1 -0
- package/dist/components/ui/molecules/date-time-picker.js +84 -0
- package/dist/components/ui/molecules/empty-state.d.ts +2 -1
- package/dist/components/ui/molecules/empty-state.d.ts.map +1 -0
- package/dist/components/ui/molecules/index.d.ts +2 -0
- package/dist/components/ui/molecules/index.d.ts.map +1 -0
- package/dist/components/ui/molecules/index.js +13 -11
- package/dist/components/ui/molecules/requirement-badges.d.ts +3 -2
- package/dist/components/ui/molecules/requirement-badges.d.ts.map +1 -0
- package/dist/components/ui/molecules/requirement-badges.js +7 -6
- package/dist/components/ui/molecules/tool-card.d.ts +3 -2
- package/dist/components/ui/molecules/tool-card.d.ts.map +1 -0
- package/dist/components/ui/molecules/tool-card.js +14 -14
- package/dist/components/ui/molecules/toolkit-card.d.ts +5 -4
- package/dist/components/ui/molecules/toolkit-card.d.ts.map +1 -0
- package/dist/components/ui/molecules/toolkit-card.js +5 -5
- package/dist/components/ui/molecules/toolkit-picker-trigger.d.ts +3 -2
- package/dist/components/ui/molecules/toolkit-picker-trigger.d.ts.map +1 -0
- package/dist/components/ui/molecules/toolkit-picker-trigger.js +14 -14
- package/dist/components/ui/molecules/toolkit-selection-summary.d.ts +1 -0
- package/dist/components/ui/molecules/toolkit-selection-summary.d.ts.map +1 -0
- package/dist/components/ui/molecules/toolkit-selection-summary.js +5 -4
- package/dist/components/ui/organisms/index.d.ts +1 -0
- package/dist/components/ui/organisms/index.d.ts.map +1 -0
- package/dist/components/ui/organisms/toolkit-picker/components/action-buttons.d.ts +1 -0
- package/dist/components/ui/organisms/toolkit-picker/components/action-buttons.d.ts.map +1 -0
- package/dist/components/ui/organisms/toolkit-picker/components/action-buttons.js +1 -1
- package/dist/components/ui/organisms/toolkit-picker/components/filter-badges.d.ts +1 -0
- package/dist/components/ui/organisms/toolkit-picker/components/filter-badges.d.ts.map +1 -0
- package/dist/components/ui/organisms/toolkit-picker/components/filter-badges.js +10 -10
- package/dist/components/ui/organisms/toolkit-picker/components/footer-summary.d.ts +1 -0
- package/dist/components/ui/organisms/toolkit-picker/components/footer-summary.d.ts.map +1 -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.d.ts.map +1 -0
- package/dist/components/ui/organisms/toolkit-picker/components/search-input.js +13 -12
- package/dist/components/ui/organisms/toolkit-picker/components/select-button.d.ts +1 -0
- package/dist/components/ui/organisms/toolkit-picker/components/select-button.d.ts.map +1 -0
- package/dist/components/ui/organisms/toolkit-picker/components/select-button.js +10 -9
- package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.d.ts +2 -1
- package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.d.ts.map +1 -0
- package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.js +1 -1
- package/dist/components/ui/organisms/toolkit-picker/components/toolkit-list.d.ts +4 -1
- package/dist/components/ui/organisms/toolkit-picker/components/toolkit-list.d.ts.map +1 -0
- package/dist/components/ui/organisms/toolkit-picker/components/toolkit-list.js +110 -58
- package/dist/components/ui/organisms/toolkit-picker/components/tools-list.d.ts +4 -1
- package/dist/components/ui/organisms/toolkit-picker/components/tools-list.d.ts.map +1 -0
- package/dist/components/ui/organisms/toolkit-picker/components/tools-list.js +74 -69
- package/dist/components/ui/organisms/toolkit-picker/hooks/featured-toolkits.d.ts +8 -0
- package/dist/components/ui/organisms/toolkit-picker/hooks/featured-toolkits.d.ts.map +1 -0
- package/dist/components/ui/organisms/toolkit-picker/hooks/featured-toolkits.js +11 -0
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker.d.ts +9 -6
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker.d.ts.map +1 -0
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker.js +195 -261
- package/dist/components/ui/organisms/toolkit-picker/index.d.ts +3 -2
- package/dist/components/ui/organisms/toolkit-picker/index.d.ts.map +1 -0
- package/dist/components/ui/organisms/toolkit-picker/mocks/toolkit-collection.d.ts +6 -1
- package/dist/components/ui/organisms/toolkit-picker/mocks/toolkit-collection.d.ts.map +1 -0
- package/dist/components/ui/organisms/toolkit-picker/mocks/toolkit-collection.js +154 -80
- package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.d.ts +1 -0
- package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.d.ts.map +1 -0
- package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.js +89 -75
- package/dist/components/ui/utils/memo.d.ts +1 -0
- package/dist/components/ui/utils/memo.d.ts.map +1 -0
- package/dist/global.d.ts +8 -8
- package/dist/hooks/use-columns.d.ts +6 -0
- package/dist/hooks/use-columns.d.ts.map +1 -0
- package/dist/hooks/use-columns.js +20 -0
- package/dist/hooks/use-mobile.d.ts +1 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/hooks/use-mobile.js +3 -1
- package/dist/{index-DH9yRdVk.js → index-8kzT5-zz.js} +2 -2
- package/dist/{index-BGfrl8IX.js → index-BaLuVb4t.js} +1 -1
- package/dist/{index-DfNPZZ8M.js → index-Bw62B28F.js} +1 -1
- package/dist/{index-D7PrNma3.js → index-C8tglJS9.js} +9 -9
- package/dist/{index-BvWMjxZ5.js → index-CvA4FcaC.js} +172 -169
- package/dist/{index-5Bhkapwi.js → index-D2LZVjSn.js} +1 -1
- package/dist/{index-CxO14pcK.js → index-DJQkmo5O.js} +4 -2
- package/dist/{index-CpDnqHCm.js → index-DLohNuco.js} +2 -2
- package/dist/{index-DYHsXnnS.js → index-DrFfdHac.js} +2 -2
- package/dist/{index-BDIfjxqB.js → index-DrlYGDRT.js} +3 -3
- package/dist/{index-DMCYNwtg.js → index-Dz8CQngS.js} +3 -3
- package/dist/{index-BDE30rcJ.js → index-r7CUvu2m.js} +1 -1
- package/dist/integrations/rhf/index.d.ts +1 -0
- package/dist/integrations/rhf/index.d.ts.map +1 -0
- package/dist/lib/arcade/arcade.d.ts +2 -1
- package/dist/lib/arcade/arcade.d.ts.map +1 -0
- package/dist/lib/arcade/arcade.js +1 -1
- package/dist/lib/arcade/mocks.d.ts +1 -0
- package/dist/lib/arcade/mocks.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +1 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +476 -469
- package/dist/metadata/constants.d.ts +1 -0
- package/dist/metadata/constants.d.ts.map +1 -0
- package/dist/metadata/index.d.ts +1 -0
- package/dist/metadata/index.d.ts.map +1 -0
- package/dist/metadata/oauth-providers.d.ts +1 -0
- package/dist/metadata/oauth-providers.d.ts.map +1 -0
- package/dist/metadata/toolkit-icons.d.ts +1 -0
- package/dist/metadata/toolkit-icons.d.ts.map +1 -0
- package/dist/metadata/toolkits.d.ts +1 -0
- package/dist/metadata/toolkits.d.ts.map +1 -0
- package/dist/metadata/toolkits.js +277 -264
- package/dist/metadata/types.d.ts +3 -2
- package/dist/metadata/types.d.ts.map +1 -0
- package/dist/metadata/utils.d.ts +1 -0
- package/dist/metadata/utils.d.ts.map +1 -0
- package/dist/{toolkit-card-BzIa8ZXI.js → toolkit-card-Qou74oWg.js} +18 -16
- package/dist/{utils-Db4QWi-E.js → utils-6KgZuQUR.js} +523 -490
- package/dist/vite-env.d.ts +4 -4
- package/package.json +131 -146
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-filter.test.d.ts +0 -1
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-filter.test.js +0 -40
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-search.test.d.ts +0 -1
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-search.test.js +0 -46
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-selection.test.d.ts +0 -1
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker-selection.test.js +0 -28
- 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 +0 -11922
- package/dist/components/ui/utils/memo.test.d.ts +0 -1
- package/dist/components/ui/utils/memo.test.js +0 -36
- package/dist/lib/arcade/arcade.test.d.ts +0 -1
- package/dist/lib/arcade/arcade.test.js +0 -309
- package/dist/lib/utils.test.d.ts +0 -1
- package/dist/lib/utils.test.js +0 -43
- package/dist/magic-string.es-uPKorP4O.js +0 -663
- package/dist/react.esm-DmVc5fnS.js +0 -37615
- package/dist/vi.bdSIJ99Y-C84beQ4-.js +0 -11684
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as u from "react";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { u as
|
|
4
|
-
import { P as
|
|
5
|
-
import { u as
|
|
6
|
-
import { jsx as
|
|
7
|
-
var
|
|
2
|
+
import { useState as ge } from "react";
|
|
3
|
+
import { u as ye } from "./index-D2LZVjSn.js";
|
|
4
|
+
import { P as be } from "./index-DLohNuco.js";
|
|
5
|
+
import { u as q } from "./index-0ioNhtNM.js";
|
|
6
|
+
import { jsx as Ee } from "react/jsx-runtime";
|
|
7
|
+
var _ = "focusScope.autoFocusOnMount", j = "focusScope.autoFocusOnUnmount", Q = { bubbles: !1, cancelable: !0 }, Se = "FocusScope", we = u.forwardRef((e, t) => {
|
|
8
8
|
const {
|
|
9
9
|
loop: n = !1,
|
|
10
10
|
trapped: r = !1,
|
|
11
11
|
onMountAutoFocus: c,
|
|
12
12
|
onUnmountAutoFocus: i,
|
|
13
13
|
...s
|
|
14
|
-
} = e, [a, S] = u.useState(null), b =
|
|
14
|
+
} = e, [a, S] = u.useState(null), b = q(c), g = q(i), f = u.useRef(null), v = ye(t, (o) => S(o)), h = u.useRef({
|
|
15
15
|
paused: !1,
|
|
16
16
|
pause() {
|
|
17
17
|
this.paused = !0;
|
|
@@ -25,15 +25,15 @@ var U = "focusScope.autoFocusOnMount", _ = "focusScope.autoFocusOnUnmount", Z =
|
|
|
25
25
|
let o = function(p) {
|
|
26
26
|
if (h.paused || !a) return;
|
|
27
27
|
const y = p.target;
|
|
28
|
-
a.contains(y) ? f.current = y :
|
|
28
|
+
a.contains(y) ? f.current = y : A(f.current, { select: !0 });
|
|
29
29
|
}, l = function(p) {
|
|
30
30
|
if (h.paused || !a) return;
|
|
31
31
|
const y = p.relatedTarget;
|
|
32
|
-
y !== null && (a.contains(y) ||
|
|
32
|
+
y !== null && (a.contains(y) || A(f.current, { select: !0 }));
|
|
33
33
|
}, d = function(p) {
|
|
34
34
|
if (document.activeElement === document.body)
|
|
35
35
|
for (const E of p)
|
|
36
|
-
E.removedNodes.length > 0 &&
|
|
36
|
+
E.removedNodes.length > 0 && A(a);
|
|
37
37
|
};
|
|
38
38
|
document.addEventListener("focusin", o), document.addEventListener("focusout", l);
|
|
39
39
|
const m = new MutationObserver(d);
|
|
@@ -43,16 +43,16 @@ var U = "focusScope.autoFocusOnMount", _ = "focusScope.autoFocusOnUnmount", Z =
|
|
|
43
43
|
}
|
|
44
44
|
}, [r, a, h.paused]), u.useEffect(() => {
|
|
45
45
|
if (a) {
|
|
46
|
-
|
|
46
|
+
J.add(h);
|
|
47
47
|
const o = document.activeElement;
|
|
48
48
|
if (!a.contains(o)) {
|
|
49
|
-
const d = new CustomEvent(
|
|
50
|
-
a.addEventListener(
|
|
49
|
+
const d = new CustomEvent(_, Q);
|
|
50
|
+
a.addEventListener(_, b), a.dispatchEvent(d), d.defaultPrevented || (Ce(Ne(ue(a)), { select: !0 }), document.activeElement === o && A(a));
|
|
51
51
|
}
|
|
52
52
|
return () => {
|
|
53
|
-
a.removeEventListener(
|
|
54
|
-
const d = new CustomEvent(
|
|
55
|
-
a.addEventListener(
|
|
53
|
+
a.removeEventListener(_, b), setTimeout(() => {
|
|
54
|
+
const d = new CustomEvent(j, Q);
|
|
55
|
+
a.addEventListener(j, g), a.dispatchEvent(d), d.defaultPrevented || A(o ?? document.body, { select: !0 }), a.removeEventListener(j, g), J.remove(h);
|
|
56
56
|
}, 0);
|
|
57
57
|
};
|
|
58
58
|
}
|
|
@@ -62,25 +62,25 @@ var U = "focusScope.autoFocusOnMount", _ = "focusScope.autoFocusOnUnmount", Z =
|
|
|
62
62
|
if (!n && !r || h.paused) return;
|
|
63
63
|
const l = o.key === "Tab" && !o.altKey && !o.ctrlKey && !o.metaKey, d = document.activeElement;
|
|
64
64
|
if (l && d) {
|
|
65
|
-
const m = o.currentTarget, [p, y] =
|
|
66
|
-
p && y ? !o.shiftKey && d === y ? (o.preventDefault(), n &&
|
|
65
|
+
const m = o.currentTarget, [p, y] = Re(m);
|
|
66
|
+
p && y ? !o.shiftKey && d === y ? (o.preventDefault(), n && A(p, { select: !0 })) : o.shiftKey && d === p && (o.preventDefault(), n && A(y, { select: !0 })) : d === m && o.preventDefault();
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
[n, r, h.paused]
|
|
70
70
|
);
|
|
71
|
-
return /* @__PURE__ */
|
|
71
|
+
return /* @__PURE__ */ Ee(be.div, { tabIndex: -1, ...s, ref: v, onKeyDown: w });
|
|
72
72
|
});
|
|
73
|
-
|
|
74
|
-
function
|
|
73
|
+
we.displayName = Se;
|
|
74
|
+
function Ce(e, { select: t = !1 } = {}) {
|
|
75
75
|
const n = document.activeElement;
|
|
76
76
|
for (const r of e)
|
|
77
|
-
if (
|
|
77
|
+
if (A(r, { select: t }), document.activeElement !== n) return;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
const t =
|
|
79
|
+
function Re(e) {
|
|
80
|
+
const t = ue(e), n = $(t, e), r = $(t.reverse(), e);
|
|
81
81
|
return [n, r];
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function ue(e) {
|
|
84
84
|
const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
|
|
85
85
|
acceptNode: (r) => {
|
|
86
86
|
const c = r.tagName === "INPUT" && r.type === "hidden";
|
|
@@ -90,11 +90,11 @@ function oe(e) {
|
|
|
90
90
|
for (; n.nextNode(); ) t.push(n.currentNode);
|
|
91
91
|
return t;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function $(e, t) {
|
|
94
94
|
for (const n of e)
|
|
95
|
-
if (!
|
|
95
|
+
if (!ke(n, { upTo: t })) return n;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function ke(e, { upTo: t }) {
|
|
98
98
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
99
99
|
for (; e; ) {
|
|
100
100
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -103,45 +103,45 @@ function we(e, { upTo: t }) {
|
|
|
103
103
|
}
|
|
104
104
|
return !1;
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function Ae(e) {
|
|
107
107
|
return e instanceof HTMLInputElement && "select" in e;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function A(e, { select: t = !1 } = {}) {
|
|
110
110
|
if (e && e.focus) {
|
|
111
111
|
const n = document.activeElement;
|
|
112
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
112
|
+
e.focus({ preventScroll: !0 }), e !== n && Ae(e) && t && e.select();
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
var
|
|
116
|
-
function
|
|
115
|
+
var J = Te();
|
|
116
|
+
function Te() {
|
|
117
117
|
let e = [];
|
|
118
118
|
return {
|
|
119
119
|
add(t) {
|
|
120
120
|
const n = e[0];
|
|
121
|
-
t !== n && n?.pause(), e =
|
|
121
|
+
t !== n && n?.pause(), e = ee(e, t), e.unshift(t);
|
|
122
122
|
},
|
|
123
123
|
remove(t) {
|
|
124
|
-
e =
|
|
124
|
+
e = ee(e, t), e[0]?.resume();
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function ee(e, t) {
|
|
129
129
|
const n = [...e], r = n.indexOf(t);
|
|
130
130
|
return r !== -1 && n.splice(r, 1), n;
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function Ne(e) {
|
|
133
133
|
return e.filter((t) => t.tagName !== "A");
|
|
134
134
|
}
|
|
135
|
-
var
|
|
136
|
-
function
|
|
135
|
+
var K = 0;
|
|
136
|
+
function Et() {
|
|
137
137
|
u.useEffect(() => {
|
|
138
138
|
const e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
139
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
140
|
-
|
|
139
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? te()), document.body.insertAdjacentElement("beforeend", e[1] ?? te()), K++, () => {
|
|
140
|
+
K === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), K--;
|
|
141
141
|
};
|
|
142
142
|
}, []);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function te() {
|
|
145
145
|
const e = document.createElement("span");
|
|
146
146
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
147
147
|
}
|
|
@@ -154,7 +154,7 @@ var C = function() {
|
|
|
154
154
|
return t;
|
|
155
155
|
}, C.apply(this, arguments);
|
|
156
156
|
};
|
|
157
|
-
function
|
|
157
|
+
function ie(e, t) {
|
|
158
158
|
var n = {};
|
|
159
159
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
160
160
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -162,17 +162,17 @@ function ce(e, t) {
|
|
|
162
162
|
t.indexOf(r[c]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[c]) && (n[r[c]] = e[r[c]]);
|
|
163
163
|
return n;
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function Me(e, t, n) {
|
|
166
166
|
if (n || arguments.length === 2) for (var r = 0, c = t.length, i; r < c; r++)
|
|
167
167
|
(i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
|
|
168
168
|
return e.concat(i || Array.prototype.slice.call(t));
|
|
169
169
|
}
|
|
170
|
-
var W = "right-scroll-bar-position", B = "width-before-scroll-bar",
|
|
171
|
-
function
|
|
170
|
+
var W = "right-scroll-bar-position", B = "width-before-scroll-bar", Fe = "with-scroll-bars-hidden", Pe = "--removed-body-scroll-bar-size";
|
|
171
|
+
function H(e, t) {
|
|
172
172
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
175
|
-
var n =
|
|
174
|
+
function Oe(e, t) {
|
|
175
|
+
var n = ge(function() {
|
|
176
176
|
return {
|
|
177
177
|
// value
|
|
178
178
|
value: e,
|
|
@@ -192,31 +192,31 @@ function Me(e, t) {
|
|
|
192
192
|
})[0];
|
|
193
193
|
return n.callback = t, n.facade;
|
|
194
194
|
}
|
|
195
|
-
var
|
|
196
|
-
function
|
|
197
|
-
var n =
|
|
195
|
+
var Le = typeof window < "u" ? u.useLayoutEffect : u.useEffect, ne = /* @__PURE__ */ new WeakMap();
|
|
196
|
+
function Ie(e, t) {
|
|
197
|
+
var n = Oe(null, function(r) {
|
|
198
198
|
return e.forEach(function(c) {
|
|
199
|
-
return
|
|
199
|
+
return H(c, r);
|
|
200
200
|
});
|
|
201
201
|
});
|
|
202
|
-
return
|
|
203
|
-
var r =
|
|
202
|
+
return Le(function() {
|
|
203
|
+
var r = ne.get(n);
|
|
204
204
|
if (r) {
|
|
205
205
|
var c = new Set(r), i = new Set(e), s = n.current;
|
|
206
206
|
c.forEach(function(a) {
|
|
207
|
-
i.has(a) ||
|
|
207
|
+
i.has(a) || H(a, null);
|
|
208
208
|
}), i.forEach(function(a) {
|
|
209
|
-
c.has(a) ||
|
|
209
|
+
c.has(a) || H(a, s);
|
|
210
210
|
});
|
|
211
211
|
}
|
|
212
|
-
|
|
212
|
+
ne.set(n, e);
|
|
213
213
|
}, [e]), n;
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function xe(e) {
|
|
216
216
|
return e;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
219
|
-
t === void 0 && (t =
|
|
218
|
+
function We(e, t) {
|
|
219
|
+
t === void 0 && (t = xe);
|
|
220
220
|
var n = [], r = !1, c = {
|
|
221
221
|
read: function() {
|
|
222
222
|
if (r)
|
|
@@ -270,13 +270,13 @@ function Le(e, t) {
|
|
|
270
270
|
};
|
|
271
271
|
return c;
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function Be(e) {
|
|
274
274
|
e === void 0 && (e = {});
|
|
275
|
-
var t =
|
|
275
|
+
var t = We(null);
|
|
276
276
|
return t.options = C({ async: !0, ssr: !1 }, e), t;
|
|
277
277
|
}
|
|
278
|
-
var
|
|
279
|
-
var t = e.sideCar, n =
|
|
278
|
+
var le = function(e) {
|
|
279
|
+
var t = e.sideCar, n = ie(e, ["sideCar"]);
|
|
280
280
|
if (!t)
|
|
281
281
|
throw new Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
282
282
|
var r = t.read();
|
|
@@ -284,22 +284,22 @@ var ue = function(e) {
|
|
|
284
284
|
throw new Error("Sidecar medium not found");
|
|
285
285
|
return u.createElement(r, C({}, n));
|
|
286
286
|
};
|
|
287
|
-
|
|
288
|
-
function
|
|
289
|
-
return e.useMedium(t),
|
|
287
|
+
le.isSideCarExport = !0;
|
|
288
|
+
function De(e, t) {
|
|
289
|
+
return e.useMedium(t), le;
|
|
290
290
|
}
|
|
291
|
-
var
|
|
291
|
+
var se = Be(), V = function() {
|
|
292
292
|
}, D = u.forwardRef(function(e, t) {
|
|
293
293
|
var n = u.useRef(null), r = u.useState({
|
|
294
|
-
onScrollCapture:
|
|
295
|
-
onWheelCapture:
|
|
296
|
-
onTouchMoveCapture:
|
|
297
|
-
}), c = r[0], i = r[1], s = e.forwardProps, a = e.children, S = e.className, b = e.removeScrollBar, g = e.enabled, f = e.shards, v = e.sideCar, h = e.noRelative, w = e.noIsolation, o = e.inert, l = e.allowPinchZoom, d = e.as, m = d === void 0 ? "div" : d, p = e.gapMode, y =
|
|
294
|
+
onScrollCapture: V,
|
|
295
|
+
onWheelCapture: V,
|
|
296
|
+
onTouchMoveCapture: V
|
|
297
|
+
}), c = r[0], i = r[1], s = e.forwardProps, a = e.children, S = e.className, b = e.removeScrollBar, g = e.enabled, f = e.shards, v = e.sideCar, h = e.noRelative, w = e.noIsolation, o = e.inert, l = e.allowPinchZoom, d = e.as, m = d === void 0 ? "div" : d, p = e.gapMode, y = ie(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), E = v, R = Ie([n, t]), k = C(C({}, y), c);
|
|
298
298
|
return u.createElement(
|
|
299
299
|
u.Fragment,
|
|
300
300
|
null,
|
|
301
|
-
g && u.createElement(E, { sideCar:
|
|
302
|
-
s ? u.cloneElement(u.Children.only(a), C(C({},
|
|
301
|
+
g && u.createElement(E, { sideCar: se, removeScrollBar: b, shards: f, noRelative: h, noIsolation: w, inert: o, setCallbacks: i, allowPinchZoom: !!l, lockRef: n, gapMode: p }),
|
|
302
|
+
s ? u.cloneElement(u.Children.only(a), C(C({}, k), { ref: R })) : u.createElement(m, C({}, k, { className: S, ref: R }), a)
|
|
303
303
|
);
|
|
304
304
|
});
|
|
305
305
|
D.defaultProps = {
|
|
@@ -311,37 +311,37 @@ D.classNames = {
|
|
|
311
311
|
fullWidth: B,
|
|
312
312
|
zeroRight: W
|
|
313
313
|
};
|
|
314
|
-
var
|
|
314
|
+
var Ue = function() {
|
|
315
315
|
if (typeof __webpack_nonce__ < "u")
|
|
316
316
|
return __webpack_nonce__;
|
|
317
317
|
};
|
|
318
|
-
function
|
|
318
|
+
function _e() {
|
|
319
319
|
if (!document)
|
|
320
320
|
return null;
|
|
321
321
|
var e = document.createElement("style");
|
|
322
322
|
e.type = "text/css";
|
|
323
|
-
var t =
|
|
323
|
+
var t = Ue();
|
|
324
324
|
return t && e.setAttribute("nonce", t), e;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function je(e, t) {
|
|
327
327
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function Ke(e) {
|
|
330
330
|
var t = document.head || document.getElementsByTagName("head")[0];
|
|
331
331
|
t.appendChild(e);
|
|
332
332
|
}
|
|
333
|
-
var
|
|
333
|
+
var He = function() {
|
|
334
334
|
var e = 0, t = null;
|
|
335
335
|
return {
|
|
336
336
|
add: function(n) {
|
|
337
|
-
e == 0 && (t =
|
|
337
|
+
e == 0 && (t = _e()) && (je(t, n), Ke(t)), e++;
|
|
338
338
|
},
|
|
339
339
|
remove: function() {
|
|
340
340
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
341
341
|
}
|
|
342
342
|
};
|
|
343
|
-
},
|
|
344
|
-
var e =
|
|
343
|
+
}, Ve = function() {
|
|
344
|
+
var e = He();
|
|
345
345
|
return function(t, n) {
|
|
346
346
|
u.useEffect(function() {
|
|
347
347
|
return e.add(t), function() {
|
|
@@ -349,36 +349,36 @@ var _e = function() {
|
|
|
349
349
|
};
|
|
350
350
|
}, [t && n]);
|
|
351
351
|
};
|
|
352
|
-
},
|
|
353
|
-
var e =
|
|
352
|
+
}, fe = function() {
|
|
353
|
+
var e = Ve(), t = function(n) {
|
|
354
354
|
var r = n.styles, c = n.dynamic;
|
|
355
355
|
return e(r, c), null;
|
|
356
356
|
};
|
|
357
357
|
return t;
|
|
358
|
-
},
|
|
358
|
+
}, Xe = {
|
|
359
359
|
left: 0,
|
|
360
360
|
top: 0,
|
|
361
361
|
right: 0,
|
|
362
362
|
gap: 0
|
|
363
|
-
},
|
|
363
|
+
}, X = function(e) {
|
|
364
364
|
return parseInt(e || "", 10) || 0;
|
|
365
|
-
},
|
|
365
|
+
}, Ye = function(e) {
|
|
366
366
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], c = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
367
|
-
return [
|
|
368
|
-
},
|
|
367
|
+
return [X(n), X(r), X(c)];
|
|
368
|
+
}, Ge = function(e) {
|
|
369
369
|
if (e === void 0 && (e = "margin"), typeof window > "u")
|
|
370
|
-
return
|
|
371
|
-
var t =
|
|
370
|
+
return Xe;
|
|
371
|
+
var t = Ye(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
372
372
|
return {
|
|
373
373
|
left: t[0],
|
|
374
374
|
top: t[1],
|
|
375
375
|
right: t[2],
|
|
376
376
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
377
377
|
};
|
|
378
|
-
},
|
|
378
|
+
}, ze = fe(), F = "data-scroll-locked", Ze = function(e, t, n, r) {
|
|
379
379
|
var c = e.left, i = e.top, s = e.right, a = e.gap;
|
|
380
380
|
return n === void 0 && (n = "margin"), `
|
|
381
|
-
.`.concat(
|
|
381
|
+
.`.concat(Fe, ` {
|
|
382
382
|
overflow: hidden `).concat(r, `;
|
|
383
383
|
padding-right: `).concat(a, "px ").concat(r, `;
|
|
384
384
|
}
|
|
@@ -416,93 +416,93 @@ var _e = function() {
|
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
body[`).concat(F, `] {
|
|
419
|
-
`).concat(
|
|
419
|
+
`).concat(Pe, ": ").concat(a, `px;
|
|
420
420
|
}
|
|
421
421
|
`);
|
|
422
|
-
},
|
|
422
|
+
}, re = function() {
|
|
423
423
|
var e = parseInt(document.body.getAttribute(F) || "0", 10);
|
|
424
424
|
return isFinite(e) ? e : 0;
|
|
425
|
-
},
|
|
425
|
+
}, qe = function() {
|
|
426
426
|
u.useEffect(function() {
|
|
427
|
-
return document.body.setAttribute(F, (
|
|
428
|
-
var e =
|
|
427
|
+
return document.body.setAttribute(F, (re() + 1).toString()), function() {
|
|
428
|
+
var e = re() - 1;
|
|
429
429
|
e <= 0 ? document.body.removeAttribute(F) : document.body.setAttribute(F, e.toString());
|
|
430
430
|
};
|
|
431
431
|
}, []);
|
|
432
|
-
},
|
|
432
|
+
}, Qe = function(e) {
|
|
433
433
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, c = r === void 0 ? "margin" : r;
|
|
434
|
-
|
|
434
|
+
qe();
|
|
435
435
|
var i = u.useMemo(function() {
|
|
436
|
-
return
|
|
436
|
+
return Ge(c);
|
|
437
437
|
}, [c]);
|
|
438
|
-
return u.createElement(
|
|
439
|
-
},
|
|
438
|
+
return u.createElement(ze, { styles: Ze(i, !t, c, n ? "" : "!important") });
|
|
439
|
+
}, G = !1;
|
|
440
440
|
if (typeof window < "u")
|
|
441
441
|
try {
|
|
442
442
|
var O = Object.defineProperty({}, "passive", {
|
|
443
443
|
get: function() {
|
|
444
|
-
return
|
|
444
|
+
return G = !0, !0;
|
|
445
445
|
}
|
|
446
446
|
});
|
|
447
447
|
window.addEventListener("test", O, O), window.removeEventListener("test", O, O);
|
|
448
448
|
} catch {
|
|
449
|
-
|
|
449
|
+
G = !1;
|
|
450
450
|
}
|
|
451
|
-
var T =
|
|
451
|
+
var T = G ? { passive: !1 } : !1, $e = function(e) {
|
|
452
452
|
return e.tagName === "TEXTAREA";
|
|
453
|
-
},
|
|
453
|
+
}, de = function(e, t) {
|
|
454
454
|
if (!(e instanceof Element))
|
|
455
455
|
return !1;
|
|
456
456
|
var n = window.getComputedStyle(e);
|
|
457
457
|
return (
|
|
458
458
|
// not-not-scrollable
|
|
459
459
|
n[t] !== "hidden" && // contains scroll inside self
|
|
460
|
-
!(n.overflowY === n.overflowX &&
|
|
460
|
+
!(n.overflowY === n.overflowX && !$e(e) && n[t] === "visible")
|
|
461
461
|
);
|
|
462
|
-
},
|
|
463
|
-
return
|
|
464
|
-
},
|
|
465
|
-
return
|
|
466
|
-
},
|
|
462
|
+
}, Je = function(e) {
|
|
463
|
+
return de(e, "overflowY");
|
|
464
|
+
}, et = function(e) {
|
|
465
|
+
return de(e, "overflowX");
|
|
466
|
+
}, ae = function(e, t) {
|
|
467
467
|
var n = t.ownerDocument, r = t;
|
|
468
468
|
do {
|
|
469
469
|
typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
|
|
470
|
-
var c =
|
|
470
|
+
var c = ve(e, r);
|
|
471
471
|
if (c) {
|
|
472
|
-
var i =
|
|
472
|
+
var i = he(e, r), s = i[1], a = i[2];
|
|
473
473
|
if (s > a)
|
|
474
474
|
return !0;
|
|
475
475
|
}
|
|
476
476
|
r = r.parentNode;
|
|
477
477
|
} while (r && r !== n.body);
|
|
478
478
|
return !1;
|
|
479
|
-
},
|
|
479
|
+
}, tt = function(e) {
|
|
480
480
|
var t = e.scrollTop, n = e.scrollHeight, r = e.clientHeight;
|
|
481
481
|
return [
|
|
482
482
|
t,
|
|
483
483
|
n,
|
|
484
484
|
r
|
|
485
485
|
];
|
|
486
|
-
},
|
|
486
|
+
}, nt = function(e) {
|
|
487
487
|
var t = e.scrollLeft, n = e.scrollWidth, r = e.clientWidth;
|
|
488
488
|
return [
|
|
489
489
|
t,
|
|
490
490
|
n,
|
|
491
491
|
r
|
|
492
492
|
];
|
|
493
|
-
},
|
|
494
|
-
return e === "v" ?
|
|
495
|
-
},
|
|
496
|
-
return e === "v" ?
|
|
497
|
-
},
|
|
493
|
+
}, ve = function(e, t) {
|
|
494
|
+
return e === "v" ? Je(t) : et(t);
|
|
495
|
+
}, he = function(e, t) {
|
|
496
|
+
return e === "v" ? tt(t) : nt(t);
|
|
497
|
+
}, rt = function(e, t) {
|
|
498
498
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
499
|
-
},
|
|
500
|
-
var i =
|
|
499
|
+
}, at = function(e, t, n, r, c) {
|
|
500
|
+
var i = rt(e, window.getComputedStyle(t).direction), s = i * r, a = n.target, S = t.contains(a), b = !1, g = s > 0, f = 0, v = 0;
|
|
501
501
|
do {
|
|
502
502
|
if (!a)
|
|
503
503
|
break;
|
|
504
|
-
var h =
|
|
505
|
-
(w || d) &&
|
|
504
|
+
var h = he(e, a), w = h[0], o = h[1], l = h[2], d = o - l - i * w;
|
|
505
|
+
(w || d) && ve(e, a) && (f += d, v += w);
|
|
506
506
|
var m = a.parentNode;
|
|
507
507
|
a = m && m.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? m.host : m;
|
|
508
508
|
} while (
|
|
@@ -513,26 +513,26 @@ var T = Y ? { passive: !1 } : !1, Ze = function(e) {
|
|
|
513
513
|
return (g && Math.abs(f) < 1 || !g && Math.abs(v) < 1) && (b = !0), b;
|
|
514
514
|
}, L = function(e) {
|
|
515
515
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
516
|
-
},
|
|
516
|
+
}, oe = function(e) {
|
|
517
517
|
return [e.deltaX, e.deltaY];
|
|
518
|
-
},
|
|
518
|
+
}, ce = function(e) {
|
|
519
519
|
return e && "current" in e ? e.current : e;
|
|
520
|
-
},
|
|
520
|
+
}, ot = function(e, t) {
|
|
521
521
|
return e[0] === t[0] && e[1] === t[1];
|
|
522
|
-
},
|
|
522
|
+
}, ct = function(e) {
|
|
523
523
|
return `
|
|
524
524
|
.block-interactivity-`.concat(e, ` {pointer-events: none;}
|
|
525
525
|
.allow-interactivity-`).concat(e, ` {pointer-events: all;}
|
|
526
526
|
`);
|
|
527
|
-
},
|
|
528
|
-
function
|
|
529
|
-
var t = u.useRef([]), n = u.useRef([0, 0]), r = u.useRef(), c = u.useState(
|
|
527
|
+
}, ut = 0, N = [];
|
|
528
|
+
function it(e) {
|
|
529
|
+
var t = u.useRef([]), n = u.useRef([0, 0]), r = u.useRef(), c = u.useState(ut++)[0], i = u.useState(fe)[0], s = u.useRef(e);
|
|
530
530
|
u.useEffect(function() {
|
|
531
531
|
s.current = e;
|
|
532
532
|
}, [e]), u.useEffect(function() {
|
|
533
533
|
if (e.inert) {
|
|
534
534
|
document.body.classList.add("block-interactivity-".concat(c));
|
|
535
|
-
var o =
|
|
535
|
+
var o = Me([e.lockRef.current], (e.shards || []).map(ce), !0).filter(Boolean);
|
|
536
536
|
return o.forEach(function(l) {
|
|
537
537
|
return l.classList.add("allow-interactivity-".concat(c));
|
|
538
538
|
}), function() {
|
|
@@ -545,37 +545,40 @@ function ot(e) {
|
|
|
545
545
|
var a = u.useCallback(function(o, l) {
|
|
546
546
|
if ("touches" in o && o.touches.length === 2 || o.type === "wheel" && o.ctrlKey)
|
|
547
547
|
return !s.current.allowPinchZoom;
|
|
548
|
-
var d = L(o), m = n.current, p = "deltaX" in o ? o.deltaX : m[0] - d[0], y = "deltaY" in o ? o.deltaY : m[1] - d[1], E,
|
|
549
|
-
if ("touches" in o &&
|
|
548
|
+
var d = L(o), m = n.current, p = "deltaX" in o ? o.deltaX : m[0] - d[0], y = "deltaY" in o ? o.deltaY : m[1] - d[1], E, R = o.target, k = Math.abs(p) > Math.abs(y) ? "h" : "v";
|
|
549
|
+
if ("touches" in o && k === "h" && R.type === "range")
|
|
550
|
+
return !1;
|
|
551
|
+
var z = window.getSelection(), U = z && z.anchorNode, pe = U ? U === R || U.contains(R) : !1;
|
|
552
|
+
if (pe)
|
|
550
553
|
return !1;
|
|
551
|
-
var P =
|
|
554
|
+
var P = ae(k, R);
|
|
552
555
|
if (!P)
|
|
553
556
|
return !0;
|
|
554
|
-
if (P ? E =
|
|
557
|
+
if (P ? E = k : (E = k === "v" ? "h" : "v", P = ae(k, R)), !P)
|
|
555
558
|
return !1;
|
|
556
559
|
if (!r.current && "changedTouches" in o && (p || y) && (r.current = E), !E)
|
|
557
560
|
return !0;
|
|
558
|
-
var
|
|
559
|
-
return
|
|
561
|
+
var Z = r.current || E;
|
|
562
|
+
return at(Z, l, o, Z === "h" ? p : y);
|
|
560
563
|
}, []), S = u.useCallback(function(o) {
|
|
561
564
|
var l = o;
|
|
562
565
|
if (!(!N.length || N[N.length - 1] !== i)) {
|
|
563
|
-
var d = "deltaY" in l ?
|
|
564
|
-
return E.name === l.type && (E.target === l.target || l.target === E.shadowParent) &&
|
|
566
|
+
var d = "deltaY" in l ? oe(l) : L(l), m = t.current.filter(function(E) {
|
|
567
|
+
return E.name === l.type && (E.target === l.target || l.target === E.shadowParent) && ot(E.delta, d);
|
|
565
568
|
})[0];
|
|
566
569
|
if (m && m.should) {
|
|
567
570
|
l.cancelable && l.preventDefault();
|
|
568
571
|
return;
|
|
569
572
|
}
|
|
570
573
|
if (!m) {
|
|
571
|
-
var p = (s.current.shards || []).map(
|
|
574
|
+
var p = (s.current.shards || []).map(ce).filter(Boolean).filter(function(E) {
|
|
572
575
|
return E.contains(l.target);
|
|
573
576
|
}), y = p.length > 0 ? a(l, p[0]) : !s.current.noIsolation;
|
|
574
577
|
y && l.cancelable && l.preventDefault();
|
|
575
578
|
}
|
|
576
579
|
}
|
|
577
580
|
}, []), b = u.useCallback(function(o, l, d, m) {
|
|
578
|
-
var p = { name: o, delta: l, target: d, should: m, shadowParent:
|
|
581
|
+
var p = { name: o, delta: l, target: d, should: m, shadowParent: lt(d) };
|
|
579
582
|
t.current.push(p), setTimeout(function() {
|
|
580
583
|
t.current = t.current.filter(function(y) {
|
|
581
584
|
return y !== p;
|
|
@@ -584,7 +587,7 @@ function ot(e) {
|
|
|
584
587
|
}, []), g = u.useCallback(function(o) {
|
|
585
588
|
n.current = L(o), r.current = void 0;
|
|
586
589
|
}, []), f = u.useCallback(function(o) {
|
|
587
|
-
b(o.type,
|
|
590
|
+
b(o.type, oe(o), o.target, a(o, e.lockRef.current));
|
|
588
591
|
}, []), v = u.useCallback(function(o) {
|
|
589
592
|
b(o.type, L(o), o.target, a(o, e.lockRef.current));
|
|
590
593
|
}, []);
|
|
@@ -603,38 +606,38 @@ function ot(e) {
|
|
|
603
606
|
return u.createElement(
|
|
604
607
|
u.Fragment,
|
|
605
608
|
null,
|
|
606
|
-
w ? u.createElement(i, { styles:
|
|
607
|
-
h ? u.createElement(
|
|
609
|
+
w ? u.createElement(i, { styles: ct(c) }) : null,
|
|
610
|
+
h ? u.createElement(Qe, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
|
|
608
611
|
);
|
|
609
612
|
}
|
|
610
|
-
function
|
|
613
|
+
function lt(e) {
|
|
611
614
|
for (var t = null; e !== null; )
|
|
612
615
|
e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
613
616
|
return t;
|
|
614
617
|
}
|
|
615
|
-
const
|
|
616
|
-
var
|
|
617
|
-
return u.createElement(D, C({}, e, { ref: t, sideCar:
|
|
618
|
+
const st = De(se, it);
|
|
619
|
+
var ft = u.forwardRef(function(e, t) {
|
|
620
|
+
return u.createElement(D, C({}, e, { ref: t, sideCar: st }));
|
|
618
621
|
});
|
|
619
|
-
|
|
620
|
-
var
|
|
622
|
+
ft.classNames = D.classNames;
|
|
623
|
+
var dt = function(e) {
|
|
621
624
|
if (typeof document > "u")
|
|
622
625
|
return null;
|
|
623
626
|
var t = Array.isArray(e) ? e[0] : e;
|
|
624
627
|
return t.ownerDocument.body;
|
|
625
|
-
}, M = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap(), x = {},
|
|
626
|
-
return e && (e.host ||
|
|
627
|
-
},
|
|
628
|
+
}, M = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap(), x = {}, Y = 0, me = function(e) {
|
|
629
|
+
return e && (e.host || me(e.parentNode));
|
|
630
|
+
}, vt = function(e, t) {
|
|
628
631
|
return t.map(function(n) {
|
|
629
632
|
if (e.contains(n))
|
|
630
633
|
return n;
|
|
631
|
-
var r =
|
|
634
|
+
var r = me(n);
|
|
632
635
|
return r && e.contains(r) ? r : (console.error("aria-hidden", n, "in not contained inside", e, ". Doing nothing"), null);
|
|
633
636
|
}).filter(function(n) {
|
|
634
637
|
return !!n;
|
|
635
638
|
});
|
|
636
|
-
},
|
|
637
|
-
var c =
|
|
639
|
+
}, ht = function(e, t, n, r) {
|
|
640
|
+
var c = vt(t, Array.isArray(e) ? e : [e]);
|
|
638
641
|
x[n] || (x[n] = /* @__PURE__ */ new WeakMap());
|
|
639
642
|
var i = x[n], s = [], a = /* @__PURE__ */ new Set(), S = new Set(c), b = function(f) {
|
|
640
643
|
!f || a.has(f) || (a.add(f), b(f.parentNode));
|
|
@@ -653,22 +656,22 @@ var lt = function(e) {
|
|
|
653
656
|
}
|
|
654
657
|
});
|
|
655
658
|
};
|
|
656
|
-
return g(t), a.clear(),
|
|
659
|
+
return g(t), a.clear(), Y++, function() {
|
|
657
660
|
s.forEach(function(f) {
|
|
658
661
|
var v = M.get(f) - 1, h = i.get(f) - 1;
|
|
659
662
|
M.set(f, v), i.set(f, h), v || (I.has(f) || f.removeAttribute(r), I.delete(f)), h || f.removeAttribute(n);
|
|
660
|
-
}),
|
|
663
|
+
}), Y--, Y || (M = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap(), x = {});
|
|
661
664
|
};
|
|
662
|
-
},
|
|
665
|
+
}, St = function(e, t, n) {
|
|
663
666
|
n === void 0 && (n = "data-aria-hidden");
|
|
664
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), c =
|
|
665
|
-
return c ? (r.push.apply(r, Array.from(c.querySelectorAll("[aria-live], script"))),
|
|
667
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), c = dt(e);
|
|
668
|
+
return c ? (r.push.apply(r, Array.from(c.querySelectorAll("[aria-live], script"))), ht(r, c, n, "aria-hidden")) : function() {
|
|
666
669
|
return null;
|
|
667
670
|
};
|
|
668
671
|
};
|
|
669
672
|
export {
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
673
|
+
we as F,
|
|
674
|
+
ft as R,
|
|
675
|
+
St as h,
|
|
676
|
+
Et as u
|
|
674
677
|
};
|