@agent-native/core 0.76.2 → 0.76.4
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/corpus/core/CHANGELOG.md +14 -0
- package/corpus/core/package.json +1 -1
- package/corpus/core/src/agent/durable-background.ts +8 -7
- package/corpus/core/src/client/AgentPanel.tsx +3 -3
- package/corpus/core/src/client/AgentTaskCard.tsx +2 -1
- package/corpus/core/src/client/AppearancePicker.tsx +1 -1
- package/corpus/core/src/client/AssistantChat.tsx +3 -3
- package/corpus/core/src/client/CommandMenu.tsx +4 -4
- package/corpus/core/src/client/ErrorBoundary.tsx +1 -1
- package/corpus/core/src/client/MultiTabAssistantChat.tsx +11 -11
- package/corpus/core/src/client/NewWorkspaceAppFlow.tsx +5 -5
- package/corpus/core/src/client/components/ui/dropdown-menu.tsx +9 -9
- package/corpus/core/src/client/components/ui/sheet.tsx +1 -1
- package/corpus/core/src/client/composer/ComposerPlusMenu.tsx +6 -6
- package/corpus/core/src/client/composer/MentionPopover.tsx +4 -4
- package/corpus/core/src/client/composer/PastedTextChip.tsx +3 -3
- package/corpus/core/src/client/composer/PromptComposer.tsx +3 -3
- package/corpus/core/src/client/composer/TiptapComposer.tsx +16 -16
- package/corpus/core/src/client/guided-questions.tsx +6 -8
- package/corpus/core/src/client/i18n.tsx +2 -2
- package/corpus/core/src/client/integrations/IntegrationCard.tsx +2 -2
- package/corpus/core/src/client/integrations/IntegrationsPanel.tsx +4 -4
- package/corpus/core/src/client/notifications/NotificationsBell.tsx +3 -3
- package/corpus/core/src/client/onboarding/OnboardingBanner.tsx +3 -3
- package/corpus/core/src/client/onboarding/OnboardingPanel.tsx +17 -10
- package/corpus/core/src/client/org/OrgSwitcher.tsx +13 -11
- package/corpus/core/src/client/org/TeamPage.tsx +2 -2
- package/corpus/core/src/client/settings/AgentsSection.tsx +3 -3
- package/corpus/core/src/client/settings/AutomationsSection.tsx +3 -3
- package/corpus/core/src/client/settings/SecretsSection.tsx +2 -2
- package/corpus/core/src/client/settings/SettingsPanel.tsx +5 -7
- package/corpus/core/src/client/settings/SettingsSection.tsx +1 -1
- package/corpus/core/src/client/settings/UsageSection.tsx +3 -3
- package/corpus/core/src/client/settings/VoiceTranscriptionSection.tsx +3 -3
- package/corpus/core/src/client/sharing/ShareButton.tsx +7 -7
- package/corpus/core/src/client/sharing/ShareDialog.tsx +3 -3
- package/corpus/core/src/deploy/build.ts +2 -2
- package/corpus/core/src/styles/agent-conversation.css +10 -10
- package/corpus/core/src/styles/blocks.css +2 -2
- package/corpus/core/src/styles/rich-markdown-editor.css +2 -2
- package/corpus/templates/analytics/app/components/layout/MobileNav.tsx +1 -1
- package/corpus/templates/analytics/app/components/ui/alert-dialog.tsx +1 -1
- package/corpus/templates/analytics/app/components/ui/alert.tsx +1 -1
- package/corpus/templates/analytics/app/components/ui/breadcrumb.tsx +1 -1
- package/corpus/templates/analytics/app/components/ui/calendar.tsx +6 -6
- package/corpus/templates/analytics/app/components/ui/carousel.tsx +6 -6
- package/corpus/templates/analytics/app/components/ui/command.tsx +2 -2
- package/corpus/templates/analytics/app/components/ui/context-menu.tsx +9 -9
- package/corpus/templates/analytics/app/components/ui/date-picker.tsx +1 -1
- package/corpus/templates/analytics/app/components/ui/dialog.tsx +2 -2
- package/corpus/templates/analytics/app/components/ui/drawer.tsx +1 -1
- package/corpus/templates/analytics/app/components/ui/dropdown-menu.tsx +9 -9
- package/corpus/templates/analytics/app/components/ui/input-otp.tsx +1 -1
- package/corpus/templates/analytics/app/components/ui/menubar.tsx +9 -9
- package/corpus/templates/analytics/app/components/ui/navigation-menu.tsx +3 -3
- package/corpus/templates/analytics/app/components/ui/pagination.tsx +4 -4
- package/corpus/templates/analytics/app/components/ui/scroll-area.tsx +1 -1
- package/corpus/templates/analytics/app/components/ui/select.tsx +3 -3
- package/corpus/templates/analytics/app/components/ui/sheet.tsx +2 -2
- package/corpus/templates/analytics/app/components/ui/sidebar.tsx +6 -6
- package/corpus/templates/analytics/app/components/ui/table.tsx +2 -2
- package/corpus/templates/analytics/app/components/ui/toast.tsx +3 -3
- package/corpus/templates/assets/app/components/layout/Layout.tsx +2 -2
- package/corpus/templates/assets/app/components/layout/Sidebar.tsx +12 -12
- package/corpus/templates/assets/app/components/ui/alert-dialog.tsx +1 -1
- package/corpus/templates/assets/app/components/ui/alert.tsx +1 -1
- package/corpus/templates/assets/app/components/ui/breadcrumb.tsx +1 -1
- package/corpus/templates/assets/app/components/ui/dialog.tsx +2 -2
- package/corpus/templates/assets/app/components/ui/dropdown-menu.tsx +9 -9
- package/corpus/templates/assets/app/components/ui/pagination.tsx +4 -4
- package/corpus/templates/assets/app/components/ui/scroll-area.tsx +1 -1
- package/corpus/templates/assets/app/components/ui/select.tsx +3 -3
- package/corpus/templates/assets/app/components/ui/sheet.tsx +2 -2
- package/corpus/templates/assets/app/components/ui/table.tsx +2 -2
- package/corpus/templates/assets/app/routes/library.tsx +3 -3
- package/corpus/templates/assets/app/routes/settings.tsx +1 -1
- package/corpus/templates/brain/app/components/layout/Sidebar.tsx +5 -5
- package/corpus/templates/brain/app/components/ui/dropdown-menu.tsx +9 -9
- package/corpus/templates/brain/app/components/ui/select.tsx +3 -3
- package/corpus/templates/brain/app/components/ui/sheet.tsx +2 -2
- package/corpus/templates/brain/app/components/ui/table.tsx +2 -2
- package/corpus/templates/calendar/app/components/calendar/GoogleConnectBanner.tsx +6 -6
- package/corpus/templates/calendar/app/components/calendar/GoogleSetupWizard.tsx +3 -3
- package/corpus/templates/calendar/app/components/layout/Sidebar.tsx +11 -9
- package/corpus/templates/calendar/app/components/ui/alert-dialog.tsx +1 -1
- package/corpus/templates/calendar/app/components/ui/alert.tsx +1 -1
- package/corpus/templates/calendar/app/components/ui/breadcrumb.tsx +1 -1
- package/corpus/templates/calendar/app/components/ui/calendar.tsx +5 -5
- package/corpus/templates/calendar/app/components/ui/carousel.tsx +6 -6
- package/corpus/templates/calendar/app/components/ui/command.tsx +2 -2
- package/corpus/templates/calendar/app/components/ui/context-menu.tsx +9 -9
- package/corpus/templates/calendar/app/components/ui/dialog.tsx +2 -2
- package/corpus/templates/calendar/app/components/ui/drawer.tsx +1 -1
- package/corpus/templates/calendar/app/components/ui/dropdown-menu.tsx +9 -9
- package/corpus/templates/calendar/app/components/ui/input-otp.tsx +1 -1
- package/corpus/templates/calendar/app/components/ui/menubar.tsx +9 -9
- package/corpus/templates/calendar/app/components/ui/navigation-menu.tsx +3 -3
- package/corpus/templates/calendar/app/components/ui/pagination.tsx +4 -4
- package/corpus/templates/calendar/app/components/ui/scroll-area.tsx +1 -1
- package/corpus/templates/calendar/app/components/ui/select.tsx +3 -3
- package/corpus/templates/calendar/app/components/ui/sheet.tsx +2 -2
- package/corpus/templates/calendar/app/components/ui/sidebar.tsx +6 -6
- package/corpus/templates/calendar/app/components/ui/sonner.tsx +1 -1
- package/corpus/templates/calendar/app/components/ui/table.tsx +2 -2
- package/corpus/templates/calendar/app/components/ui/toast.tsx +3 -3
- package/corpus/templates/calendar/app/pages/Settings.tsx +5 -5
- package/corpus/templates/chat/app/components/layout/Sidebar.tsx +9 -9
- package/corpus/templates/chat/app/components/ui/alert-dialog.tsx +1 -1
- package/corpus/templates/chat/app/components/ui/alert.tsx +1 -1
- package/corpus/templates/chat/app/components/ui/breadcrumb.tsx +1 -1
- package/corpus/templates/chat/app/components/ui/calendar.tsx +5 -5
- package/corpus/templates/chat/app/components/ui/carousel.tsx +6 -6
- package/corpus/templates/chat/app/components/ui/command.tsx +2 -2
- package/corpus/templates/chat/app/components/ui/context-menu.tsx +9 -9
- package/corpus/templates/chat/app/components/ui/dialog.tsx +2 -2
- package/corpus/templates/chat/app/components/ui/drawer.tsx +1 -1
- package/corpus/templates/chat/app/components/ui/dropdown-menu.tsx +9 -9
- package/corpus/templates/chat/app/components/ui/input-otp.tsx +1 -1
- package/corpus/templates/chat/app/components/ui/menubar.tsx +9 -9
- package/corpus/templates/chat/app/components/ui/navigation-menu.tsx +3 -3
- package/corpus/templates/chat/app/components/ui/pagination.tsx +4 -4
- package/corpus/templates/chat/app/components/ui/scroll-area.tsx +1 -1
- package/corpus/templates/chat/app/components/ui/select.tsx +3 -3
- package/corpus/templates/chat/app/components/ui/sheet.tsx +2 -2
- package/corpus/templates/chat/app/components/ui/sidebar.tsx +6 -6
- package/corpus/templates/chat/app/components/ui/table.tsx +2 -2
- package/corpus/templates/chat/app/components/ui/toast.tsx +3 -3
- package/corpus/templates/clips/app/components/capture-install-options.tsx +3 -3
- package/corpus/templates/clips/app/components/editable-recording-title.tsx +1 -1
- package/corpus/templates/clips/app/components/library/bulk-action-toolbar.tsx +3 -3
- package/corpus/templates/clips/app/components/library/folder-tree.tsx +5 -5
- package/corpus/templates/clips/app/components/library/library-layout.tsx +3 -3
- package/corpus/templates/clips/app/components/library/organization-switcher.tsx +4 -4
- package/corpus/templates/clips/app/components/library/recording-card.tsx +11 -11
- package/corpus/templates/clips/app/components/library/search-bar.tsx +4 -4
- package/corpus/templates/clips/app/components/library/space-card.tsx +1 -1
- package/corpus/templates/clips/app/components/library/tag-input.tsx +1 -1
- package/corpus/templates/clips/app/components/meetings/quick-ask-sidebar.tsx +2 -2
- package/corpus/templates/clips/app/components/recorder/camera-visualizer.tsx +2 -2
- package/corpus/templates/clips/app/components/recorder/microphone-visualizer.tsx +1 -1
- package/corpus/templates/clips/app/components/recorder/pre-record-panel.tsx +4 -4
- package/corpus/templates/clips/app/components/recorder/storage-setup-card.tsx +1 -1
- package/corpus/templates/clips/app/components/sharing/share-ui.tsx +2 -2
- package/corpus/templates/clips/app/components/ui/alert-dialog.tsx +1 -1
- package/corpus/templates/clips/app/components/ui/alert.tsx +1 -1
- package/corpus/templates/clips/app/components/ui/breadcrumb.tsx +1 -1
- package/corpus/templates/clips/app/components/ui/calendar.tsx +5 -5
- package/corpus/templates/clips/app/components/ui/carousel.tsx +6 -6
- package/corpus/templates/clips/app/components/ui/command.tsx +2 -2
- package/corpus/templates/clips/app/components/ui/context-menu.tsx +9 -9
- package/corpus/templates/clips/app/components/ui/dialog.tsx +2 -2
- package/corpus/templates/clips/app/components/ui/drawer.tsx +1 -1
- package/corpus/templates/clips/app/components/ui/dropdown-menu.tsx +9 -9
- package/corpus/templates/clips/app/components/ui/input-otp.tsx +1 -1
- package/corpus/templates/clips/app/components/ui/menubar.tsx +9 -9
- package/corpus/templates/clips/app/components/ui/navigation-menu.tsx +3 -3
- package/corpus/templates/clips/app/components/ui/pagination.tsx +4 -4
- package/corpus/templates/clips/app/components/ui/scroll-area.tsx +1 -1
- package/corpus/templates/clips/app/components/ui/select.tsx +3 -3
- package/corpus/templates/clips/app/components/ui/sheet.tsx +2 -2
- package/corpus/templates/clips/app/components/ui/sidebar.tsx +6 -6
- package/corpus/templates/clips/app/components/ui/table.tsx +2 -2
- package/corpus/templates/clips/app/components/ui/toast.tsx +3 -3
- package/corpus/templates/clips/app/components/workspace/branding-editor.tsx +1 -1
- package/corpus/templates/clips/app/components/workspace/insights-hub.tsx +2 -2
- package/corpus/templates/clips/app/components/workspace/invite-dialog.tsx +2 -2
- package/corpus/templates/clips/app/components/workspace/top-creators-table.tsx +6 -6
- package/corpus/templates/clips/app/components/workspace/top-videos-table.tsx +2 -2
- package/corpus/templates/clips/app/routes/_app.dictate.tsx +4 -4
- package/corpus/templates/clips/app/routes/_app.meetings._index.tsx +7 -7
- package/corpus/templates/clips/app/routes/_app.settings._index.tsx +1 -1
- package/corpus/templates/clips/app/routes/download.tsx +2 -2
- package/corpus/templates/clips/app/routes/invite.$token.tsx +2 -2
- package/corpus/templates/clips/app/routes/r.$recordingId.tsx +3 -3
- package/corpus/templates/clips/app/routes/record.tsx +5 -5
- package/corpus/templates/clips/app/routes/share.$shareId.tsx +7 -7
- package/corpus/templates/content/app/components/EmptyState.tsx +1 -1
- package/corpus/templates/content/app/components/editor/DocumentToolbar.tsx +17 -17
- package/corpus/templates/content/app/components/layout/Layout.tsx +2 -2
- package/corpus/templates/content/app/components/sidebar/DocumentSidebar.tsx +10 -9
- package/corpus/templates/content/app/components/sidebar/DocumentTreeItem.tsx +10 -6
- package/corpus/templates/content/app/components/sidebar/NotionButton.tsx +3 -3
- package/corpus/templates/content/app/components/ui/alert-dialog.tsx +1 -1
- package/corpus/templates/content/app/components/ui/dialog.tsx +2 -2
- package/corpus/templates/content/app/components/ui/dropdown-menu.tsx +9 -9
- package/corpus/templates/content/app/components/ui/scroll-area.tsx +1 -1
- package/corpus/templates/content/app/components/ui/sheet.tsx +2 -2
- package/corpus/templates/content/app/components/ui/table.tsx +2 -2
- package/corpus/templates/content/app/components/ui/toast.tsx +3 -3
- package/corpus/templates/design/app/components/layout/Layout.tsx +3 -3
- package/corpus/templates/design/app/components/layout/Sidebar.tsx +3 -3
- package/corpus/templates/design/app/components/ui/alert-dialog.tsx +1 -1
- package/corpus/templates/design/app/components/ui/alert.tsx +1 -1
- package/corpus/templates/design/app/components/ui/breadcrumb.tsx +1 -1
- package/corpus/templates/design/app/components/ui/calendar.tsx +5 -5
- package/corpus/templates/design/app/components/ui/carousel.tsx +6 -6
- package/corpus/templates/design/app/components/ui/command.tsx +2 -2
- package/corpus/templates/design/app/components/ui/context-menu.tsx +9 -9
- package/corpus/templates/design/app/components/ui/dialog.tsx +2 -2
- package/corpus/templates/design/app/components/ui/drawer.tsx +1 -1
- package/corpus/templates/design/app/components/ui/dropdown-menu.tsx +9 -9
- package/corpus/templates/design/app/components/ui/input-otp.tsx +1 -1
- package/corpus/templates/design/app/components/ui/menubar.tsx +9 -9
- package/corpus/templates/design/app/components/ui/navigation-menu.tsx +3 -3
- package/corpus/templates/design/app/components/ui/pagination.tsx +4 -4
- package/corpus/templates/design/app/components/ui/scroll-area.tsx +1 -1
- package/corpus/templates/design/app/components/ui/select.tsx +3 -3
- package/corpus/templates/design/app/components/ui/sheet.tsx +2 -2
- package/corpus/templates/design/app/components/ui/sidebar.tsx +6 -6
- package/corpus/templates/design/app/components/ui/table.tsx +2 -2
- package/corpus/templates/design/app/components/ui/toast.tsx +3 -3
- package/corpus/templates/design/app/pages/DesignSystems.tsx +6 -8
- package/corpus/templates/design/app/pages/Index.tsx +8 -8
- package/corpus/templates/design/app/pages/NotFound.tsx +1 -1
- package/corpus/templates/design/app/pages/Templates.tsx +2 -2
- package/corpus/templates/forms/app/components/layout/Sidebar.tsx +3 -3
- package/corpus/templates/forms/app/components/ui/alert-dialog.tsx +1 -1
- package/corpus/templates/forms/app/components/ui/alert.tsx +1 -1
- package/corpus/templates/forms/app/components/ui/breadcrumb.tsx +1 -1
- package/corpus/templates/forms/app/components/ui/calendar.tsx +9 -6
- package/corpus/templates/forms/app/components/ui/carousel.tsx +6 -6
- package/corpus/templates/forms/app/components/ui/command.tsx +2 -2
- package/corpus/templates/forms/app/components/ui/context-menu.tsx +9 -9
- package/corpus/templates/forms/app/components/ui/dialog.tsx +2 -2
- package/corpus/templates/forms/app/components/ui/drawer.tsx +1 -1
- package/corpus/templates/forms/app/components/ui/dropdown-menu.tsx +9 -9
- package/corpus/templates/forms/app/components/ui/input-otp.tsx +1 -1
- package/corpus/templates/forms/app/components/ui/menubar.tsx +9 -9
- package/corpus/templates/forms/app/components/ui/navigation-menu.tsx +3 -3
- package/corpus/templates/forms/app/components/ui/pagination.tsx +4 -4
- package/corpus/templates/forms/app/components/ui/scroll-area.tsx +1 -1
- package/corpus/templates/forms/app/components/ui/select.tsx +3 -3
- package/corpus/templates/forms/app/components/ui/sheet.tsx +2 -2
- package/corpus/templates/forms/app/components/ui/sidebar.tsx +6 -6
- package/corpus/templates/forms/app/components/ui/table.tsx +2 -2
- package/corpus/templates/forms/app/components/ui/toast.tsx +3 -3
- package/corpus/templates/forms/app/pages/FormBuilderPage.tsx +18 -18
- package/corpus/templates/forms/app/pages/FormsListPage.tsx +9 -9
- package/corpus/templates/macros/app/components/layout/AppLayout.tsx +4 -4
- package/corpus/templates/macros/app/components/ui/alert-dialog.tsx +1 -1
- package/corpus/templates/macros/app/components/ui/alert.tsx +1 -1
- package/corpus/templates/macros/app/components/ui/breadcrumb.tsx +1 -1
- package/corpus/templates/macros/app/components/ui/command.tsx +2 -2
- package/corpus/templates/macros/app/components/ui/context-menu.tsx +9 -9
- package/corpus/templates/macros/app/components/ui/dialog.tsx +2 -2
- package/corpus/templates/macros/app/components/ui/drawer.tsx +1 -1
- package/corpus/templates/macros/app/components/ui/dropdown-menu.tsx +9 -9
- package/corpus/templates/macros/app/components/ui/menubar.tsx +9 -9
- package/corpus/templates/macros/app/components/ui/navigation-menu.tsx +3 -3
- package/corpus/templates/macros/app/components/ui/pagination.tsx +4 -4
- package/corpus/templates/macros/app/components/ui/scroll-area.tsx +1 -1
- package/corpus/templates/macros/app/components/ui/select.tsx +3 -3
- package/corpus/templates/macros/app/components/ui/sheet.tsx +2 -2
- package/corpus/templates/macros/app/components/ui/table.tsx +2 -2
- package/corpus/templates/macros/app/components/ui/toast.tsx +3 -3
- package/corpus/templates/macros/app/routes/_index.tsx +2 -2
- package/corpus/templates/macros/app/routes/analytics.tsx +1 -1
- package/corpus/templates/mail/app/components/GoogleConnectBanner.tsx +6 -6
- package/corpus/templates/mail/app/components/email/AttachmentStrip.tsx +2 -2
- package/corpus/templates/mail/app/components/email/EmailListItem.tsx +5 -5
- package/corpus/templates/mail/app/components/email/IntegrationsSidebar.tsx +5 -5
- package/corpus/templates/mail/app/components/email/MobileActionBar.tsx +3 -3
- package/corpus/templates/mail/app/components/layout/AppLayout.tsx +10 -10
- package/corpus/templates/mail/app/components/layout/CommandPalette.tsx +1 -1
- package/corpus/templates/mail/app/components/layout/SearchBar.tsx +3 -3
- package/corpus/templates/mail/app/components/ui/alert-dialog.tsx +1 -1
- package/corpus/templates/mail/app/components/ui/alert.tsx +1 -1
- package/corpus/templates/mail/app/components/ui/breadcrumb.tsx +1 -1
- package/corpus/templates/mail/app/components/ui/calendar.tsx +4 -4
- package/corpus/templates/mail/app/components/ui/carousel.tsx +6 -6
- package/corpus/templates/mail/app/components/ui/command.tsx +2 -2
- package/corpus/templates/mail/app/components/ui/context-menu.tsx +9 -9
- package/corpus/templates/mail/app/components/ui/dialog.tsx +2 -2
- package/corpus/templates/mail/app/components/ui/drawer.tsx +1 -1
- package/corpus/templates/mail/app/components/ui/dropdown-menu.tsx +9 -9
- package/corpus/templates/mail/app/components/ui/input-otp.tsx +1 -1
- package/corpus/templates/mail/app/components/ui/menubar.tsx +9 -9
- package/corpus/templates/mail/app/components/ui/navigation-menu.tsx +3 -3
- package/corpus/templates/mail/app/components/ui/pagination.tsx +4 -4
- package/corpus/templates/mail/app/components/ui/scroll-area.tsx +1 -1
- package/corpus/templates/mail/app/components/ui/select.tsx +3 -3
- package/corpus/templates/mail/app/components/ui/sheet.tsx +2 -2
- package/corpus/templates/mail/app/components/ui/sidebar.tsx +6 -6
- package/corpus/templates/mail/app/components/ui/sonner.tsx +2 -2
- package/corpus/templates/mail/app/components/ui/table.tsx +2 -2
- package/corpus/templates/mail/app/components/ui/toast.tsx +3 -3
- package/corpus/templates/plan/app/components/layout/Sidebar.tsx +10 -10
- package/corpus/templates/plan/app/components/ui/alert-dialog.tsx +1 -1
- package/corpus/templates/plan/app/components/ui/alert.tsx +1 -1
- package/corpus/templates/plan/app/components/ui/breadcrumb.tsx +1 -1
- package/corpus/templates/plan/app/components/ui/calendar.tsx +5 -5
- package/corpus/templates/plan/app/components/ui/carousel.tsx +6 -6
- package/corpus/templates/plan/app/components/ui/command.tsx +2 -2
- package/corpus/templates/plan/app/components/ui/context-menu.tsx +9 -9
- package/corpus/templates/plan/app/components/ui/dialog.tsx +2 -2
- package/corpus/templates/plan/app/components/ui/drawer.tsx +1 -1
- package/corpus/templates/plan/app/components/ui/dropdown-menu.tsx +9 -9
- package/corpus/templates/plan/app/components/ui/input-otp.tsx +1 -1
- package/corpus/templates/plan/app/components/ui/menubar.tsx +9 -9
- package/corpus/templates/plan/app/components/ui/navigation-menu.tsx +3 -3
- package/corpus/templates/plan/app/components/ui/pagination.tsx +4 -4
- package/corpus/templates/plan/app/components/ui/scroll-area.tsx +1 -1
- package/corpus/templates/plan/app/components/ui/select.tsx +3 -3
- package/corpus/templates/plan/app/components/ui/sheet.tsx +2 -2
- package/corpus/templates/plan/app/components/ui/sidebar.tsx +6 -6
- package/corpus/templates/plan/app/components/ui/table.tsx +2 -2
- package/corpus/templates/plan/app/components/ui/toast.tsx +3 -3
- package/corpus/templates/slides/app/components/layout/Layout.tsx +1 -1
- package/corpus/templates/slides/app/components/ui/alert-dialog.tsx +1 -1
- package/corpus/templates/slides/app/components/ui/alert.tsx +1 -1
- package/corpus/templates/slides/app/components/ui/breadcrumb.tsx +1 -1
- package/corpus/templates/slides/app/components/ui/calendar.tsx +5 -5
- package/corpus/templates/slides/app/components/ui/carousel.tsx +6 -6
- package/corpus/templates/slides/app/components/ui/command.tsx +2 -2
- package/corpus/templates/slides/app/components/ui/context-menu.tsx +9 -9
- package/corpus/templates/slides/app/components/ui/dialog.tsx +2 -2
- package/corpus/templates/slides/app/components/ui/drawer.tsx +1 -1
- package/corpus/templates/slides/app/components/ui/dropdown-menu.tsx +9 -9
- package/corpus/templates/slides/app/components/ui/input-otp.tsx +1 -1
- package/corpus/templates/slides/app/components/ui/menubar.tsx +9 -9
- package/corpus/templates/slides/app/components/ui/navigation-menu.tsx +3 -3
- package/corpus/templates/slides/app/components/ui/pagination.tsx +4 -4
- package/corpus/templates/slides/app/components/ui/scroll-area.tsx +1 -1
- package/corpus/templates/slides/app/components/ui/select.tsx +3 -3
- package/corpus/templates/slides/app/components/ui/sheet.tsx +2 -2
- package/corpus/templates/slides/app/components/ui/sidebar.tsx +6 -6
- package/corpus/templates/slides/app/components/ui/table.tsx +2 -2
- package/corpus/templates/slides/app/components/ui/toast.tsx +3 -3
- package/corpus/templates/videos/app/components/ui/alert-dialog.tsx +1 -1
- package/corpus/templates/videos/app/components/ui/alert.tsx +1 -1
- package/corpus/templates/videos/app/components/ui/breadcrumb.tsx +1 -1
- package/corpus/templates/videos/app/components/ui/calendar.tsx +5 -5
- package/corpus/templates/videos/app/components/ui/carousel.tsx +6 -6
- package/corpus/templates/videos/app/components/ui/command.tsx +2 -2
- package/corpus/templates/videos/app/components/ui/context-menu.tsx +9 -9
- package/corpus/templates/videos/app/components/ui/dialog.tsx +2 -2
- package/corpus/templates/videos/app/components/ui/drawer.tsx +1 -1
- package/corpus/templates/videos/app/components/ui/dropdown-menu.tsx +9 -9
- package/corpus/templates/videos/app/components/ui/input-otp.tsx +1 -1
- package/corpus/templates/videos/app/components/ui/menubar.tsx +9 -9
- package/corpus/templates/videos/app/components/ui/navigation-menu.tsx +3 -3
- package/corpus/templates/videos/app/components/ui/pagination.tsx +4 -4
- package/corpus/templates/videos/app/components/ui/scroll-area.tsx +1 -1
- package/corpus/templates/videos/app/components/ui/select.tsx +3 -3
- package/corpus/templates/videos/app/components/ui/sheet.tsx +2 -2
- package/corpus/templates/videos/app/components/ui/sidebar.tsx +6 -6
- package/corpus/templates/videos/app/components/ui/table.tsx +2 -2
- package/corpus/templates/videos/app/components/ui/toast.tsx +3 -3
- package/dist/agent/durable-background.d.ts +2 -2
- package/dist/agent/durable-background.d.ts.map +1 -1
- package/dist/agent/durable-background.js +8 -7
- package/dist/agent/durable-background.js.map +1 -1
- package/dist/client/AgentPanel.js +3 -3
- package/dist/client/AgentPanel.js.map +1 -1
- package/dist/client/AgentTaskCard.d.ts.map +1 -1
- package/dist/client/AgentTaskCard.js +1 -1
- package/dist/client/AgentTaskCard.js.map +1 -1
- package/dist/client/AppearancePicker.js +1 -1
- package/dist/client/AppearancePicker.js.map +1 -1
- package/dist/client/AssistantChat.js +3 -3
- package/dist/client/AssistantChat.js.map +1 -1
- package/dist/client/CommandMenu.js +4 -4
- package/dist/client/CommandMenu.js.map +1 -1
- package/dist/client/ErrorBoundary.js +1 -1
- package/dist/client/ErrorBoundary.js.map +1 -1
- package/dist/client/MultiTabAssistantChat.js +9 -9
- package/dist/client/MultiTabAssistantChat.js.map +1 -1
- package/dist/client/NewWorkspaceAppFlow.js +5 -5
- package/dist/client/NewWorkspaceAppFlow.js.map +1 -1
- package/dist/client/components/ui/dropdown-menu.js +6 -6
- package/dist/client/components/ui/dropdown-menu.js.map +1 -1
- package/dist/client/components/ui/sheet.js +1 -1
- package/dist/client/components/ui/sheet.js.map +1 -1
- package/dist/client/composer/ComposerPlusMenu.js +5 -5
- package/dist/client/composer/ComposerPlusMenu.js.map +1 -1
- package/dist/client/composer/MentionPopover.js +4 -4
- package/dist/client/composer/MentionPopover.js.map +1 -1
- package/dist/client/composer/PastedTextChip.js +2 -2
- package/dist/client/composer/PastedTextChip.js.map +1 -1
- package/dist/client/composer/PromptComposer.js +3 -3
- package/dist/client/composer/PromptComposer.js.map +1 -1
- package/dist/client/composer/TiptapComposer.js +12 -12
- package/dist/client/composer/TiptapComposer.js.map +1 -1
- package/dist/client/guided-questions.d.ts.map +1 -1
- package/dist/client/guided-questions.js +5 -5
- package/dist/client/guided-questions.js.map +1 -1
- package/dist/client/i18n.js +2 -2
- package/dist/client/i18n.js.map +1 -1
- package/dist/client/integrations/IntegrationCard.js +1 -1
- package/dist/client/integrations/IntegrationCard.js.map +1 -1
- package/dist/client/integrations/IntegrationsPanel.js +4 -4
- package/dist/client/integrations/IntegrationsPanel.js.map +1 -1
- package/dist/client/notifications/NotificationsBell.js +3 -3
- package/dist/client/notifications/NotificationsBell.js.map +1 -1
- package/dist/client/onboarding/OnboardingBanner.js +3 -3
- package/dist/client/onboarding/OnboardingBanner.js.map +1 -1
- package/dist/client/onboarding/OnboardingPanel.d.ts.map +1 -1
- package/dist/client/onboarding/OnboardingPanel.js +15 -10
- package/dist/client/onboarding/OnboardingPanel.js.map +1 -1
- package/dist/client/org/OrgSwitcher.d.ts.map +1 -1
- package/dist/client/org/OrgSwitcher.js +7 -7
- package/dist/client/org/OrgSwitcher.js.map +1 -1
- package/dist/client/org/TeamPage.js +2 -2
- package/dist/client/org/TeamPage.js.map +1 -1
- package/dist/client/settings/AgentsSection.js +3 -3
- package/dist/client/settings/AgentsSection.js.map +1 -1
- package/dist/client/settings/AutomationsSection.js +2 -2
- package/dist/client/settings/AutomationsSection.js.map +1 -1
- package/dist/client/settings/SecretsSection.js +2 -2
- package/dist/client/settings/SecretsSection.js.map +1 -1
- package/dist/client/settings/SettingsPanel.d.ts.map +1 -1
- package/dist/client/settings/SettingsPanel.js +4 -4
- package/dist/client/settings/SettingsPanel.js.map +1 -1
- package/dist/client/settings/SettingsSection.js +1 -1
- package/dist/client/settings/SettingsSection.js.map +1 -1
- package/dist/client/settings/UsageSection.js +2 -2
- package/dist/client/settings/UsageSection.js.map +1 -1
- package/dist/client/settings/VoiceTranscriptionSection.js +3 -3
- package/dist/client/settings/VoiceTranscriptionSection.js.map +1 -1
- package/dist/client/sharing/ShareButton.js +6 -6
- package/dist/client/sharing/ShareButton.js.map +1 -1
- package/dist/client/sharing/ShareDialog.js +3 -3
- package/dist/client/sharing/ShareDialog.js.map +1 -1
- package/dist/deploy/build.js +2 -2
- package/dist/deploy/build.js.map +1 -1
- package/dist/styles/agent-conversation.css +10 -10
- package/dist/styles/blocks.css +2 -2
- package/dist/styles/rich-markdown-editor.css +2 -2
- package/package.json +1 -1
|
@@ -567,7 +567,7 @@ export default function ShareRoute() {
|
|
|
567
567
|
shareId ? (
|
|
568
568
|
<Button asChild size="sm">
|
|
569
569
|
<a href={buildSignInHref(`/r/${shareId}`)} className="gap-1.5">
|
|
570
|
-
<IconLogin2 className="h-4 w-4" />
|
|
570
|
+
<IconLogin2 className="h-4 w-4 rtl:-scale-x-100" />
|
|
571
571
|
Sign in
|
|
572
572
|
</a>
|
|
573
573
|
</Button>
|
|
@@ -642,7 +642,7 @@ export default function ShareRoute() {
|
|
|
642
642
|
{message}
|
|
643
643
|
</p>
|
|
644
644
|
{isFailure && detail && canManageStorage ? (
|
|
645
|
-
<div className="mb-4 w-full max-w-xl rounded-md border border-border bg-card p-4 text-
|
|
645
|
+
<div className="mb-4 w-full max-w-xl rounded-md border border-border bg-card p-4 text-start shadow-sm">
|
|
646
646
|
<div className="mb-2 text-xs font-medium uppercase tracking-wide text-muted-foreground">
|
|
647
647
|
Details
|
|
648
648
|
</div>
|
|
@@ -675,14 +675,14 @@ export default function ShareRoute() {
|
|
|
675
675
|
{!session && isFailure ? (
|
|
676
676
|
<Button asChild size="sm">
|
|
677
677
|
<a href={signInHref} className="gap-1.5">
|
|
678
|
-
<IconLogin2 className="h-4 w-4" />
|
|
678
|
+
<IconLogin2 className="h-4 w-4 rtl:-scale-x-100" />
|
|
679
679
|
Sign in to finish
|
|
680
680
|
</a>
|
|
681
681
|
</Button>
|
|
682
682
|
) : !session && !sessionLoading && !isFailure ? (
|
|
683
683
|
<Button asChild variant="ghost" size="sm">
|
|
684
684
|
<a href={signInHref} className="gap-1.5">
|
|
685
|
-
<IconLogin2 className="h-4 w-4" />
|
|
685
|
+
<IconLogin2 className="h-4 w-4 rtl:-scale-x-100" />
|
|
686
686
|
Sign in if this is yours
|
|
687
687
|
</a>
|
|
688
688
|
</Button>
|
|
@@ -724,7 +724,7 @@ export default function ShareRoute() {
|
|
|
724
724
|
onClick={() => navigate("/")}
|
|
725
725
|
aria-label="Back to home"
|
|
726
726
|
>
|
|
727
|
-
<IconArrowLeft className="h-4 w-4" />
|
|
727
|
+
<IconArrowLeft className="h-4 w-4 rtl:-scale-x-100" />
|
|
728
728
|
</Button>
|
|
729
729
|
) : null}
|
|
730
730
|
<div className="min-w-0 flex-1">
|
|
@@ -906,7 +906,7 @@ export default function ShareRoute() {
|
|
|
906
906
|
</div>
|
|
907
907
|
</div>
|
|
908
908
|
|
|
909
|
-
<aside className="flex min-h-[420px] w-full shrink-0 flex-col border-t border-border bg-background lg:min-h-0 lg:w-[380px] lg:border-
|
|
909
|
+
<aside className="flex min-h-[420px] w-full shrink-0 flex-col border-t border-border bg-background lg:min-h-0 lg:w-[380px] lg:border-s lg:border-t-0">
|
|
910
910
|
<Tabs defaultValue="agent" className="flex h-full flex-col">
|
|
911
911
|
<TabsList className="mx-3 mt-3 grid w-auto grid-cols-4">
|
|
912
912
|
<TabsTrigger value="agent" className="text-xs">
|
|
@@ -915,7 +915,7 @@ export default function ShareRoute() {
|
|
|
915
915
|
<TabsTrigger value="comments" className="text-xs gap-1">
|
|
916
916
|
Comments
|
|
917
917
|
{comments.length > 0 ? (
|
|
918
|
-
<span className="
|
|
918
|
+
<span className="ms-0.5 rounded-full bg-accent px-1.5 text-[10px] tabular-nums">
|
|
919
919
|
{comments.length}
|
|
920
920
|
</span>
|
|
921
921
|
) : null}
|
|
@@ -507,14 +507,14 @@ export function DocumentToolbar({
|
|
|
507
507
|
|
|
508
508
|
return (
|
|
509
509
|
<>
|
|
510
|
-
<div className="absolute top-2
|
|
510
|
+
<div className="absolute top-2 end-2 z-10 flex items-center gap-0.5 rounded-xl border border-border/70 bg-background/95 p-1 shadow-sm backdrop-blur supports-[backdrop-filter]:bg-background/85 sm:top-3 sm:end-4 sm:gap-1">
|
|
511
511
|
{/* Presence — shared PresenceBar (agent + collaborator avatars) */}
|
|
512
512
|
<PresenceBar
|
|
513
513
|
activeUsers={activeUsers ?? []}
|
|
514
514
|
agentPresent={agentPresent}
|
|
515
515
|
agentActive={agentActive}
|
|
516
516
|
currentUserEmail={currentUserEmail}
|
|
517
|
-
className="
|
|
517
|
+
className="me-1"
|
|
518
518
|
/>
|
|
519
519
|
{isLocalFileDocument ? (
|
|
520
520
|
<Button
|
|
@@ -589,24 +589,24 @@ export function DocumentToolbar({
|
|
|
589
589
|
Local file
|
|
590
590
|
</DropdownMenuLabel>
|
|
591
591
|
<DropdownMenuItem disabled className="min-w-0">
|
|
592
|
-
<IconFileText className="
|
|
592
|
+
<IconFileText className="me-2 h-4 w-4 shrink-0" />
|
|
593
593
|
<span className="truncate">{source?.path}</span>
|
|
594
594
|
</DropdownMenuItem>
|
|
595
595
|
<DropdownMenuItem
|
|
596
596
|
disabled={revealLocalSource.isPending}
|
|
597
597
|
onSelect={() => void handleRevealLocalPath()}
|
|
598
598
|
>
|
|
599
|
-
<IconFolderOpen className="
|
|
599
|
+
<IconFolderOpen className="me-2 h-4 w-4" />
|
|
600
600
|
Reveal in Finder
|
|
601
601
|
</DropdownMenuItem>
|
|
602
602
|
<DropdownMenuItem onSelect={handleCopyLocalRelativePath}>
|
|
603
|
-
<IconCopy className="
|
|
603
|
+
<IconCopy className="me-2 h-4 w-4" />
|
|
604
604
|
Copy relative path
|
|
605
605
|
</DropdownMenuItem>
|
|
606
606
|
<DropdownMenuItem
|
|
607
607
|
onSelect={() => void handleCopyLocalAbsolutePath()}
|
|
608
608
|
>
|
|
609
|
-
<IconCopy className="
|
|
609
|
+
<IconCopy className="me-2 h-4 w-4" />
|
|
610
610
|
Copy absolute path
|
|
611
611
|
</DropdownMenuItem>
|
|
612
612
|
</DropdownMenuGroup>
|
|
@@ -614,7 +614,7 @@ export function DocumentToolbar({
|
|
|
614
614
|
<>
|
|
615
615
|
<DropdownMenuGroup>
|
|
616
616
|
<DropdownMenuItem onSelect={() => setHistoryOpen(true)}>
|
|
617
|
-
<IconHistory className="
|
|
617
|
+
<IconHistory className="me-2 h-4 w-4" />
|
|
618
618
|
Version history
|
|
619
619
|
</DropdownMenuItem>
|
|
620
620
|
</DropdownMenuGroup>
|
|
@@ -622,9 +622,9 @@ export function DocumentToolbar({
|
|
|
622
622
|
<DropdownMenuSub>
|
|
623
623
|
<DropdownMenuSubTrigger disabled={exportDocument.isPending}>
|
|
624
624
|
{exportDocument.isPending ? (
|
|
625
|
-
<IconLoader2 className="
|
|
625
|
+
<IconLoader2 className="me-2 h-4 w-4 animate-spin" />
|
|
626
626
|
) : (
|
|
627
|
-
<IconDownload className="
|
|
627
|
+
<IconDownload className="me-2 h-4 w-4" />
|
|
628
628
|
)}
|
|
629
629
|
Export
|
|
630
630
|
</DropdownMenuSubTrigger>
|
|
@@ -633,21 +633,21 @@ export function DocumentToolbar({
|
|
|
633
633
|
disabled={exportDocument.isPending}
|
|
634
634
|
onSelect={() => void handleExport("pdf")}
|
|
635
635
|
>
|
|
636
|
-
<IconFileTypePdf className="
|
|
636
|
+
<IconFileTypePdf className="me-2 h-4 w-4" />
|
|
637
637
|
PDF
|
|
638
638
|
</DropdownMenuItem>
|
|
639
639
|
<DropdownMenuItem
|
|
640
640
|
disabled={exportDocument.isPending}
|
|
641
641
|
onSelect={() => void handleExport("markdown")}
|
|
642
642
|
>
|
|
643
|
-
<IconMarkdown className="
|
|
643
|
+
<IconMarkdown className="me-2 h-4 w-4" />
|
|
644
644
|
Markdown
|
|
645
645
|
</DropdownMenuItem>
|
|
646
646
|
<DropdownMenuItem
|
|
647
647
|
disabled={exportDocument.isPending}
|
|
648
648
|
onSelect={() => void handleExport("html")}
|
|
649
649
|
>
|
|
650
|
-
<IconFileTypeHtml className="
|
|
650
|
+
<IconFileTypeHtml className="me-2 h-4 w-4" />
|
|
651
651
|
HTML
|
|
652
652
|
</DropdownMenuItem>
|
|
653
653
|
</DropdownMenuSubContent>
|
|
@@ -666,25 +666,25 @@ export function DocumentToolbar({
|
|
|
666
666
|
isLinked ? "text-foreground" : "text-muted-foreground",
|
|
667
667
|
)}
|
|
668
668
|
>
|
|
669
|
-
<span className="
|
|
669
|
+
<span className="me-2 flex h-4 w-4 shrink-0 items-center justify-center">
|
|
670
670
|
{hasConflict ? (
|
|
671
671
|
<span className="relative">
|
|
672
672
|
<NotionIcon className="h-4 w-4" />
|
|
673
673
|
<IconAlertTriangle
|
|
674
674
|
size={8}
|
|
675
|
-
className="absolute -
|
|
675
|
+
className="absolute -end-1 -top-1 text-amber-500"
|
|
676
676
|
/>
|
|
677
677
|
</span>
|
|
678
678
|
) : isLinked && autoSync ? (
|
|
679
679
|
<span className="relative">
|
|
680
680
|
<NotionIcon className="h-4 w-4" />
|
|
681
|
-
<span className="absolute -
|
|
681
|
+
<span className="absolute -end-0.5 -top-0.5 h-2 w-2 rounded-full bg-emerald-500" />
|
|
682
682
|
</span>
|
|
683
683
|
) : (
|
|
684
684
|
<NotionIcon className="h-4 w-4" />
|
|
685
685
|
)}
|
|
686
686
|
</span>
|
|
687
|
-
<span className="min-w-0 flex-1 truncate text-
|
|
687
|
+
<span className="min-w-0 flex-1 truncate text-start">
|
|
688
688
|
{isLinked
|
|
689
689
|
? "Notion sync"
|
|
690
690
|
: isConnected
|
|
@@ -994,7 +994,7 @@ export function DocumentToolbar({
|
|
|
994
994
|
) : null}
|
|
995
995
|
<div className="group relative">
|
|
996
996
|
<NotificationsBell className="!h-8 !w-full !justify-start !rounded-sm !px-2 !py-1.5 !text-sm hover:!bg-accent hover:!text-accent-foreground focus-visible:!ring-0" />
|
|
997
|
-
<span className="pointer-events-none absolute
|
|
997
|
+
<span className="pointer-events-none absolute start-8 top-1/2 -translate-y-1/2 text-sm text-muted-foreground group-hover:text-accent-foreground">
|
|
998
998
|
Notifications
|
|
999
999
|
</span>
|
|
1000
1000
|
</div>
|
|
@@ -129,7 +129,7 @@ export function Layout({ children }: LayoutProps) {
|
|
|
129
129
|
<button
|
|
130
130
|
type="button"
|
|
131
131
|
aria-label={t("navigation.openSidebar")}
|
|
132
|
-
className="fixed
|
|
132
|
+
className="fixed start-3 top-3 z-30 flex h-10 w-10 items-center justify-center rounded-lg border border-border bg-background text-muted-foreground shadow-sm transition-colors hover:bg-accent hover:text-foreground md:hidden"
|
|
133
133
|
onClick={() => setMobileSidebarOpen(true)}
|
|
134
134
|
>
|
|
135
135
|
<IconMenu2 size={18} />
|
|
@@ -169,7 +169,7 @@ export function Layout({ children }: LayoutProps) {
|
|
|
169
169
|
<Header sidebarTrigger={mobileSidebarTrigger} />
|
|
170
170
|
) : null}
|
|
171
171
|
<InvitationBanner
|
|
172
|
-
className={`${showHeader ? "
|
|
172
|
+
className={`${showHeader ? "ps-4" : "ps-16"} sm:ps-4 [&>div]:flex-wrap [&>div]:items-start [&>div>span]:min-w-0 [&>div>span]:flex-1`}
|
|
173
173
|
/>
|
|
174
174
|
{children}
|
|
175
175
|
</main>
|
|
@@ -588,7 +588,7 @@ export function DocumentSidebar({
|
|
|
588
588
|
onClick={() => navigate("/local-files")}
|
|
589
589
|
>
|
|
590
590
|
<IconFolderOpen size={15} className="shrink-0" />
|
|
591
|
-
<span className="min-w-0 flex-1 truncate text-
|
|
591
|
+
<span className="min-w-0 flex-1 truncate text-start">Local files</span>
|
|
592
592
|
</button>
|
|
593
593
|
);
|
|
594
594
|
|
|
@@ -603,7 +603,7 @@ export function DocumentSidebar({
|
|
|
603
603
|
onClick={() => navigate("/settings")}
|
|
604
604
|
>
|
|
605
605
|
<IconSettings size={15} className="shrink-0" />
|
|
606
|
-
<span className="min-w-0 flex-1 truncate text-
|
|
606
|
+
<span className="min-w-0 flex-1 truncate text-start">
|
|
607
607
|
{t("navigation.settings")}
|
|
608
608
|
</span>
|
|
609
609
|
</button>
|
|
@@ -622,7 +622,7 @@ export function DocumentSidebar({
|
|
|
622
622
|
<button
|
|
623
623
|
type="button"
|
|
624
624
|
aria-expanded={!collapsed}
|
|
625
|
-
className="flex w-full items-center gap-1 rounded-md px-3 py-1.5 text-
|
|
625
|
+
className="flex w-full items-center gap-1 rounded-md px-3 py-1.5 text-start text-[10px] font-semibold uppercase tracking-wider text-muted-foreground hover:bg-accent/40 hover:text-foreground"
|
|
626
626
|
onClick={() => toggleSection(id)}
|
|
627
627
|
>
|
|
628
628
|
<IconChevronRight
|
|
@@ -630,6 +630,7 @@ export function DocumentSidebar({
|
|
|
630
630
|
className={cn(
|
|
631
631
|
"shrink-0 transition-transform",
|
|
632
632
|
!collapsed && "rotate-90",
|
|
633
|
+
"rtl:-scale-x-100",
|
|
633
634
|
)}
|
|
634
635
|
/>
|
|
635
636
|
<span className="min-w-0 flex-1 truncate">{label}</span>
|
|
@@ -696,7 +697,7 @@ export function DocumentSidebar({
|
|
|
696
697
|
|
|
697
698
|
if (collapsed) {
|
|
698
699
|
return (
|
|
699
|
-
<div className="flex flex-col h-full w-12 border-
|
|
700
|
+
<div className="flex flex-col h-full w-12 border-e border-border bg-muted/30 items-center py-3 gap-1">
|
|
700
701
|
<Tooltip>
|
|
701
702
|
<TooltipTrigger asChild>
|
|
702
703
|
<button
|
|
@@ -758,7 +759,7 @@ export function DocumentSidebar({
|
|
|
758
759
|
return (
|
|
759
760
|
<div
|
|
760
761
|
className={cn(
|
|
761
|
-
"relative flex h-full min-h-0 flex-col border-
|
|
762
|
+
"relative flex h-full min-h-0 flex-col border-e border-border bg-muted/30",
|
|
762
763
|
width === undefined && "w-full",
|
|
763
764
|
)}
|
|
764
765
|
style={width === undefined ? undefined : { width, flexShrink: 0 }}
|
|
@@ -829,7 +830,7 @@ export function DocumentSidebar({
|
|
|
829
830
|
)}
|
|
830
831
|
|
|
831
832
|
<ScrollArea className="min-h-0 flex-1">
|
|
832
|
-
<div className="min-w-full w-max py-2
|
|
833
|
+
<div className="min-w-full w-max py-2 pe-2">
|
|
833
834
|
{/* Search results */}
|
|
834
835
|
{filteredDocuments ? (
|
|
835
836
|
<>
|
|
@@ -846,7 +847,7 @@ export function DocumentSidebar({
|
|
|
846
847
|
<button
|
|
847
848
|
key={doc.id}
|
|
848
849
|
className={cn(
|
|
849
|
-
"w-full flex items-center gap-2 px-3 py-[5px] text-sm text-
|
|
850
|
+
"w-full flex items-center gap-2 px-3 py-[5px] text-sm text-start rounded-md",
|
|
850
851
|
doc.id === activeDocumentId
|
|
851
852
|
? "bg-accent text-accent-foreground"
|
|
852
853
|
: "text-muted-foreground hover:bg-accent/50 hover:text-foreground",
|
|
@@ -883,7 +884,7 @@ export function DocumentSidebar({
|
|
|
883
884
|
<button
|
|
884
885
|
key={doc.id}
|
|
885
886
|
className={cn(
|
|
886
|
-
"w-full flex items-center gap-2 px-4 py-[5px] text-sm text-
|
|
887
|
+
"w-full flex items-center gap-2 px-4 py-[5px] text-sm text-start rounded-md",
|
|
887
888
|
doc.id === activeDocumentId
|
|
888
889
|
? "bg-accent text-accent-foreground"
|
|
889
890
|
: "text-muted-foreground hover:bg-accent/50 hover:text-foreground",
|
|
@@ -996,7 +997,7 @@ export function DocumentSidebar({
|
|
|
996
997
|
{onResize && (
|
|
997
998
|
<div
|
|
998
999
|
className={cn(
|
|
999
|
-
"absolute top-0
|
|
1000
|
+
"absolute top-0 end-0 w-1 h-full cursor-col-resize hover:bg-primary/20 active:bg-primary/30",
|
|
1000
1001
|
isResizing && "bg-primary/30",
|
|
1001
1002
|
)}
|
|
1002
1003
|
onMouseDown={handleMouseDown}
|
|
@@ -140,7 +140,7 @@ export function DocumentTreeItem({
|
|
|
140
140
|
{...(isLocalFileNode ? {} : listeners)}
|
|
141
141
|
aria-label={node.title || "Untitled"}
|
|
142
142
|
className={cn(
|
|
143
|
-
"group relative flex min-w-56 items-center gap-1.5 rounded-md py-[5px]
|
|
143
|
+
"group relative flex min-w-56 items-center gap-1.5 rounded-md py-[5px] pe-2 text-sm cursor-pointer select-none",
|
|
144
144
|
canEdit && !isLocalFileNode && "cursor-grab active:cursor-grabbing",
|
|
145
145
|
isDragging && "bg-accent/70 text-accent-foreground shadow-sm",
|
|
146
146
|
isActive
|
|
@@ -148,7 +148,7 @@ export function DocumentTreeItem({
|
|
|
148
148
|
: "text-muted-foreground hover:bg-accent/50 hover:text-foreground",
|
|
149
149
|
)}
|
|
150
150
|
style={{
|
|
151
|
-
|
|
151
|
+
paddingInlineStart: `${indent}px`,
|
|
152
152
|
width: rowWidth === undefined ? undefined : `${rowWidth}px`,
|
|
153
153
|
}}
|
|
154
154
|
onClick={() => {
|
|
@@ -190,7 +190,11 @@ export function DocumentTreeItem({
|
|
|
190
190
|
>
|
|
191
191
|
<IconChevronRight
|
|
192
192
|
size={14}
|
|
193
|
-
className={cn(
|
|
193
|
+
className={cn(
|
|
194
|
+
"transition-transform",
|
|
195
|
+
expanded && "rotate-90",
|
|
196
|
+
"rtl:-scale-x-100",
|
|
197
|
+
)}
|
|
194
198
|
/>
|
|
195
199
|
</button>
|
|
196
200
|
)}
|
|
@@ -201,7 +205,7 @@ export function DocumentTreeItem({
|
|
|
201
205
|
</span>
|
|
202
206
|
|
|
203
207
|
<div
|
|
204
|
-
className="absolute
|
|
208
|
+
className="absolute end-1 top-1/2 -translate-y-1/2 opacity-0 group-hover:opacity-100 flex items-center gap-0.5 flex-shrink-0 bg-inherit"
|
|
205
209
|
onPointerDown={(e) => e.stopPropagation()}
|
|
206
210
|
>
|
|
207
211
|
{hasMenuActions && (
|
|
@@ -224,7 +228,7 @@ export function DocumentTreeItem({
|
|
|
224
228
|
>
|
|
225
229
|
<IconStar
|
|
226
230
|
size={14}
|
|
227
|
-
className={cn("
|
|
231
|
+
className={cn("me-2", node.isFavorite && "fill-current")}
|
|
228
232
|
/>
|
|
229
233
|
{node.isFavorite
|
|
230
234
|
? "Remove from favorites"
|
|
@@ -240,7 +244,7 @@ export function DocumentTreeItem({
|
|
|
240
244
|
setDeleteDialogOpen(true);
|
|
241
245
|
}}
|
|
242
246
|
>
|
|
243
|
-
<IconTrash size={14} className="
|
|
247
|
+
<IconTrash size={14} className="me-2" />
|
|
244
248
|
Delete
|
|
245
249
|
</DropdownMenuItem>
|
|
246
250
|
)}
|
|
@@ -269,7 +269,7 @@ export function NotionButton() {
|
|
|
269
269
|
)}
|
|
270
270
|
>
|
|
271
271
|
<button
|
|
272
|
-
className="flex items-start gap-2 w-full text-
|
|
272
|
+
className="flex items-start gap-2 w-full text-start"
|
|
273
273
|
onClick={() => setCurrentStep(i)}
|
|
274
274
|
>
|
|
275
275
|
<span className="mt-0.5 shrink-0">
|
|
@@ -303,7 +303,7 @@ export function NotionButton() {
|
|
|
303
303
|
</button>
|
|
304
304
|
|
|
305
305
|
{active && (
|
|
306
|
-
<div className="mt-2
|
|
306
|
+
<div className="mt-2 ms-5 space-y-2">
|
|
307
307
|
<p className="text-xs text-muted-foreground leading-relaxed">
|
|
308
308
|
{step.description}
|
|
309
309
|
</p>
|
|
@@ -391,7 +391,7 @@ export function NotionButton() {
|
|
|
391
391
|
<>
|
|
392
392
|
<IconLoader2
|
|
393
393
|
size={12}
|
|
394
|
-
className="
|
|
394
|
+
className="me-1 animate-spin"
|
|
395
395
|
/>
|
|
396
396
|
Complete steps above first
|
|
397
397
|
</>
|
|
@@ -51,7 +51,7 @@ const DialogContent = React.forwardRef<
|
|
|
51
51
|
>
|
|
52
52
|
{children}
|
|
53
53
|
{!hideClose && (
|
|
54
|
-
<DialogPrimitive.Close className="absolute
|
|
54
|
+
<DialogPrimitive.Close className="absolute end-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">
|
|
55
55
|
<IconX className="h-4 w-4" />
|
|
56
56
|
<span className="sr-only">Close</span>
|
|
57
57
|
</DialogPrimitive.Close>
|
|
@@ -67,7 +67,7 @@ const DialogHeader = ({
|
|
|
67
67
|
}: React.HTMLAttributes<HTMLDivElement>) => (
|
|
68
68
|
<div
|
|
69
69
|
className={cn(
|
|
70
|
-
"flex flex-col space-y-1.5 text-center sm:text-
|
|
70
|
+
"flex flex-col space-y-1.5 text-center sm:text-start",
|
|
71
71
|
className,
|
|
72
72
|
)}
|
|
73
73
|
{...props}
|
|
@@ -30,13 +30,13 @@ const DropdownMenuSubTrigger = React.forwardRef<
|
|
|
30
30
|
ref={ref}
|
|
31
31
|
className={cn(
|
|
32
32
|
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",
|
|
33
|
-
inset && "
|
|
33
|
+
inset && "ps-8",
|
|
34
34
|
className,
|
|
35
35
|
)}
|
|
36
36
|
{...props}
|
|
37
37
|
>
|
|
38
38
|
{children}
|
|
39
|
-
<IconChevronRight className="
|
|
39
|
+
<IconChevronRight className="ms-auto h-4 w-4 rtl:-scale-x-100" />
|
|
40
40
|
</DropdownMenuPrimitive.SubTrigger>
|
|
41
41
|
));
|
|
42
42
|
DropdownMenuSubTrigger.displayName =
|
|
@@ -96,7 +96,7 @@ const DropdownMenuItem = React.forwardRef<
|
|
|
96
96
|
ref={ref}
|
|
97
97
|
className={cn(
|
|
98
98
|
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
99
|
-
inset && "
|
|
99
|
+
inset && "ps-8",
|
|
100
100
|
className,
|
|
101
101
|
)}
|
|
102
102
|
{...props}
|
|
@@ -111,13 +111,13 @@ const DropdownMenuCheckboxItem = React.forwardRef<
|
|
|
111
111
|
<DropdownMenuPrimitive.CheckboxItem
|
|
112
112
|
ref={ref}
|
|
113
113
|
className={cn(
|
|
114
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5
|
|
114
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
115
115
|
className,
|
|
116
116
|
)}
|
|
117
117
|
checked={checked}
|
|
118
118
|
{...props}
|
|
119
119
|
>
|
|
120
|
-
<span className="absolute
|
|
120
|
+
<span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
|
|
121
121
|
<DropdownMenuPrimitive.ItemIndicator>
|
|
122
122
|
<IconCheck className="h-4 w-4" />
|
|
123
123
|
</DropdownMenuPrimitive.ItemIndicator>
|
|
@@ -135,12 +135,12 @@ const DropdownMenuRadioItem = React.forwardRef<
|
|
|
135
135
|
<DropdownMenuPrimitive.RadioItem
|
|
136
136
|
ref={ref}
|
|
137
137
|
className={cn(
|
|
138
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5
|
|
138
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
139
139
|
className,
|
|
140
140
|
)}
|
|
141
141
|
{...props}
|
|
142
142
|
>
|
|
143
|
-
<span className="absolute
|
|
143
|
+
<span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
|
|
144
144
|
<DropdownMenuPrimitive.ItemIndicator>
|
|
145
145
|
<IconCircleFilled className="h-2 w-2" />
|
|
146
146
|
</DropdownMenuPrimitive.ItemIndicator>
|
|
@@ -160,7 +160,7 @@ const DropdownMenuLabel = React.forwardRef<
|
|
|
160
160
|
ref={ref}
|
|
161
161
|
className={cn(
|
|
162
162
|
"px-2 py-1.5 text-sm font-semibold",
|
|
163
|
-
inset && "
|
|
163
|
+
inset && "ps-8",
|
|
164
164
|
className,
|
|
165
165
|
)}
|
|
166
166
|
{...props}
|
|
@@ -186,7 +186,7 @@ const DropdownMenuShortcut = ({
|
|
|
186
186
|
}: React.HTMLAttributes<HTMLSpanElement>) => {
|
|
187
187
|
return (
|
|
188
188
|
<span
|
|
189
|
-
className={cn("
|
|
189
|
+
className={cn("ms-auto text-xs tracking-widest opacity-60", className)}
|
|
190
190
|
{...props}
|
|
191
191
|
/>
|
|
192
192
|
);
|
|
@@ -32,7 +32,7 @@ const ScrollBar = React.forwardRef<
|
|
|
32
32
|
className={cn(
|
|
33
33
|
"flex touch-none select-none transition-colors",
|
|
34
34
|
orientation === "vertical" &&
|
|
35
|
-
"h-full w-2.5 border-
|
|
35
|
+
"h-full w-2.5 border-s border-s-transparent p-[1px]",
|
|
36
36
|
orientation === "horizontal" &&
|
|
37
37
|
"h-2.5 flex-col border-t border-t-transparent p-[1px]",
|
|
38
38
|
className,
|
|
@@ -83,7 +83,7 @@ const SheetContent = React.forwardRef<
|
|
|
83
83
|
>
|
|
84
84
|
{children}
|
|
85
85
|
{showClose ? (
|
|
86
|
-
<SheetPrimitive.Close className="absolute
|
|
86
|
+
<SheetPrimitive.Close className="absolute end-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary">
|
|
87
87
|
<IconX className="h-4 w-4" />
|
|
88
88
|
<span className="sr-only">Close</span>
|
|
89
89
|
</SheetPrimitive.Close>
|
|
@@ -100,7 +100,7 @@ const SheetHeader = ({
|
|
|
100
100
|
}: React.HTMLAttributes<HTMLDivElement>) => (
|
|
101
101
|
<div
|
|
102
102
|
className={cn(
|
|
103
|
-
"flex flex-col space-y-2 text-center sm:text-
|
|
103
|
+
"flex flex-col space-y-2 text-center sm:text-start",
|
|
104
104
|
className,
|
|
105
105
|
)}
|
|
106
106
|
{...props}
|
|
@@ -73,7 +73,7 @@ const TableHead = React.forwardRef<
|
|
|
73
73
|
<th
|
|
74
74
|
ref={ref}
|
|
75
75
|
className={cn(
|
|
76
|
-
"h-12 px-4 text-
|
|
76
|
+
"h-12 px-4 text-start align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pe-0",
|
|
77
77
|
className,
|
|
78
78
|
)}
|
|
79
79
|
{...props}
|
|
@@ -87,7 +87,7 @@ const TableCell = React.forwardRef<
|
|
|
87
87
|
>(({ className, ...props }, ref) => (
|
|
88
88
|
<td
|
|
89
89
|
ref={ref}
|
|
90
|
-
className={cn("p-4 align-middle [&:has([role=checkbox])]:
|
|
90
|
+
className={cn("p-4 align-middle [&:has([role=checkbox])]:pe-0", className)}
|
|
91
91
|
{...props}
|
|
92
92
|
/>
|
|
93
93
|
));
|
|
@@ -14,7 +14,7 @@ const ToastViewport = React.forwardRef<
|
|
|
14
14
|
<ToastPrimitives.Viewport
|
|
15
15
|
ref={ref}
|
|
16
16
|
className={cn(
|
|
17
|
-
"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:
|
|
17
|
+
"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:end-0 sm:top-auto sm:flex-col sm:max-w-[36rem]",
|
|
18
18
|
className,
|
|
19
19
|
)}
|
|
20
20
|
{...props}
|
|
@@ -23,7 +23,7 @@ const ToastViewport = React.forwardRef<
|
|
|
23
23
|
ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
|
|
24
24
|
|
|
25
25
|
const toastVariants = cva(
|
|
26
|
-
"group pointer-events-auto relative flex w-full items-center justify-between gap-3 overflow-hidden rounded-md border p-6
|
|
26
|
+
"group pointer-events-auto relative flex w-full items-center justify-between gap-3 overflow-hidden rounded-md border p-6 pe-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
|
|
27
27
|
{
|
|
28
28
|
variants: {
|
|
29
29
|
variant: {
|
|
@@ -75,7 +75,7 @@ const ToastClose = React.forwardRef<
|
|
|
75
75
|
<ToastPrimitives.Close
|
|
76
76
|
ref={ref}
|
|
77
77
|
className={cn(
|
|
78
|
-
"absolute
|
|
78
|
+
"absolute end-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",
|
|
79
79
|
className,
|
|
80
80
|
)}
|
|
81
81
|
toast-close=""
|
|
@@ -118,10 +118,10 @@ export function Layout({ children }: LayoutProps) {
|
|
|
118
118
|
)}
|
|
119
119
|
<div
|
|
120
120
|
className={cn(
|
|
121
|
-
"fixed inset-y-0
|
|
121
|
+
"fixed inset-y-0 start-0 z-50 md:static md:z-auto",
|
|
122
122
|
mobileSidebarOpen
|
|
123
123
|
? "translate-x-0"
|
|
124
|
-
: "-translate-x-full md:translate-x-0",
|
|
124
|
+
: "-translate-x-full rtl:translate-x-full md:translate-x-0 md:rtl:translate-x-0",
|
|
125
125
|
)}
|
|
126
126
|
>
|
|
127
127
|
<Sidebar />
|
|
@@ -132,7 +132,7 @@ export function Layout({ children }: LayoutProps) {
|
|
|
132
132
|
<div className="flex h-12 shrink-0 items-center border-b border-border bg-sidebar px-4 md:hidden">
|
|
133
133
|
<button
|
|
134
134
|
onClick={openMobileSidebar}
|
|
135
|
-
className="-
|
|
135
|
+
className="-ms-1 me-3 cursor-pointer rounded-md p-2.5 hover:bg-sidebar-accent/50"
|
|
136
136
|
aria-label={t("navigation.openNavigation")}
|
|
137
137
|
>
|
|
138
138
|
<IconMenu2 className="h-5 w-5 text-foreground" />
|
|
@@ -61,7 +61,7 @@ export function Sidebar() {
|
|
|
61
61
|
return (
|
|
62
62
|
<aside
|
|
63
63
|
className={cn(
|
|
64
|
-
"flex h-full min-w-0 shrink-0 flex-col overflow-hidden border-
|
|
64
|
+
"flex h-full min-w-0 shrink-0 flex-col overflow-hidden border-e border-border bg-sidebar text-sidebar-foreground",
|
|
65
65
|
collapsed ? "w-14" : "w-56",
|
|
66
66
|
)}
|
|
67
67
|
>
|
|
@@ -102,9 +102,9 @@ export function Sidebar() {
|
|
|
102
102
|
}
|
|
103
103
|
>
|
|
104
104
|
{collapsed ? (
|
|
105
|
-
<IconLayoutSidebarLeftExpand className="h-4 w-4" />
|
|
105
|
+
<IconLayoutSidebarLeftExpand className="h-4 w-4 rtl:-scale-x-100" />
|
|
106
106
|
) : (
|
|
107
|
-
<IconLayoutSidebarLeftCollapse className="h-4 w-4" />
|
|
107
|
+
<IconLayoutSidebarLeftCollapse className="h-4 w-4 rtl:-scale-x-100" />
|
|
108
108
|
)}
|
|
109
109
|
</button>
|
|
110
110
|
</TooltipTrigger>
|
|
@@ -4,7 +4,7 @@ import { cva, type VariantProps } from "class-variance-authority";
|
|
|
4
4
|
import { cn } from "@/lib/utils";
|
|
5
5
|
|
|
6
6
|
const alertVariants = cva(
|
|
7
|
-
"relative w-full rounded-lg border p-4 [&>svg~*]:
|
|
7
|
+
"relative w-full rounded-lg border p-4 [&>svg~*]:ps-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:start-4 [&>svg]:top-4 [&>svg]:text-foreground",
|
|
8
8
|
{
|
|
9
9
|
variants: {
|
|
10
10
|
variant: {
|