@agent-native/core 0.76.3 → 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 +6 -0
- package/corpus/core/package.json +1 -1
- 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/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/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/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
|
@@ -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: {
|
|
@@ -83,7 +83,7 @@ const BreadcrumbSeparator = ({
|
|
|
83
83
|
className={cn("[&>svg]:size-3.5", className)}
|
|
84
84
|
{...props}
|
|
85
85
|
>
|
|
86
|
-
{children ?? <IconChevronRight />}
|
|
86
|
+
{children ?? <IconChevronRight className="rtl:-scale-x-100" />}
|
|
87
87
|
</li>
|
|
88
88
|
);
|
|
89
89
|
BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
|
|
@@ -27,14 +27,14 @@ function Calendar({
|
|
|
27
27
|
buttonVariants({ variant: "outline" }),
|
|
28
28
|
"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100",
|
|
29
29
|
),
|
|
30
|
-
nav_button_previous: "absolute
|
|
31
|
-
nav_button_next: "absolute
|
|
30
|
+
nav_button_previous: "absolute start-1",
|
|
31
|
+
nav_button_next: "absolute end-1",
|
|
32
32
|
table: "w-full border-collapse space-y-1",
|
|
33
33
|
head_row: "flex",
|
|
34
34
|
head_cell:
|
|
35
35
|
"text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",
|
|
36
36
|
row: "flex w-full mt-2",
|
|
37
|
-
cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-
|
|
37
|
+
cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-e-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-s-md last:[&:has([aria-selected])]:rounded-e-md focus-within:relative focus-within:z-20",
|
|
38
38
|
day: cn(
|
|
39
39
|
buttonVariants({ variant: "ghost" }),
|
|
40
40
|
"h-9 w-9 p-0 font-normal aria-selected:opacity-100",
|
|
@@ -54,9 +54,9 @@ function Calendar({
|
|
|
54
54
|
components={{
|
|
55
55
|
Chevron: (props) => {
|
|
56
56
|
if (props.orientation === "left") {
|
|
57
|
-
return <IconChevronLeft className="h-4 w-4" />;
|
|
57
|
+
return <IconChevronLeft className="h-4 w-4 rtl:-scale-x-100" />;
|
|
58
58
|
}
|
|
59
|
-
return <IconChevronRight className="h-4 w-4" />;
|
|
59
|
+
return <IconChevronRight className="h-4 w-4 rtl:-scale-x-100" />;
|
|
60
60
|
},
|
|
61
61
|
}}
|
|
62
62
|
{...props}
|
|
@@ -160,7 +160,7 @@ const CarouselContent = React.forwardRef<
|
|
|
160
160
|
ref={ref}
|
|
161
161
|
className={cn(
|
|
162
162
|
"flex",
|
|
163
|
-
orientation === "horizontal" ? "-
|
|
163
|
+
orientation === "horizontal" ? "-ms-4" : "-mt-4 flex-col",
|
|
164
164
|
className,
|
|
165
165
|
)}
|
|
166
166
|
{...props}
|
|
@@ -183,7 +183,7 @@ const CarouselItem = React.forwardRef<
|
|
|
183
183
|
aria-roledescription="slide"
|
|
184
184
|
className={cn(
|
|
185
185
|
"min-w-0 shrink-0 grow-0 basis-full",
|
|
186
|
-
orientation === "horizontal" ? "
|
|
186
|
+
orientation === "horizontal" ? "ps-4" : "pt-4",
|
|
187
187
|
className,
|
|
188
188
|
)}
|
|
189
189
|
{...props}
|
|
@@ -206,7 +206,7 @@ const CarouselPrevious = React.forwardRef<
|
|
|
206
206
|
className={cn(
|
|
207
207
|
"absolute h-8 w-8 rounded-full",
|
|
208
208
|
orientation === "horizontal"
|
|
209
|
-
? "-
|
|
209
|
+
? "-start-12 top-1/2 -translate-y-1/2"
|
|
210
210
|
: "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
211
211
|
className,
|
|
212
212
|
)}
|
|
@@ -214,7 +214,7 @@ const CarouselPrevious = React.forwardRef<
|
|
|
214
214
|
onClick={scrollPrev}
|
|
215
215
|
{...props}
|
|
216
216
|
>
|
|
217
|
-
<IconArrowLeft className="h-4 w-4" />
|
|
217
|
+
<IconArrowLeft className="h-4 w-4 rtl:-scale-x-100" />
|
|
218
218
|
<span className="sr-only">Previous slide</span>
|
|
219
219
|
</Button>
|
|
220
220
|
);
|
|
@@ -235,7 +235,7 @@ const CarouselNext = React.forwardRef<
|
|
|
235
235
|
className={cn(
|
|
236
236
|
"absolute h-8 w-8 rounded-full",
|
|
237
237
|
orientation === "horizontal"
|
|
238
|
-
? "-
|
|
238
|
+
? "-end-12 top-1/2 -translate-y-1/2"
|
|
239
239
|
: "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
240
240
|
className,
|
|
241
241
|
)}
|
|
@@ -243,7 +243,7 @@ const CarouselNext = React.forwardRef<
|
|
|
243
243
|
onClick={scrollNext}
|
|
244
244
|
{...props}
|
|
245
245
|
>
|
|
246
|
-
<IconArrowRight className="h-4 w-4" />
|
|
246
|
+
<IconArrowRight className="h-4 w-4 rtl:-scale-x-100" />
|
|
247
247
|
<span className="sr-only">Next slide</span>
|
|
248
248
|
</Button>
|
|
249
249
|
);
|
|
@@ -41,7 +41,7 @@ const CommandInput = React.forwardRef<
|
|
|
41
41
|
React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>
|
|
42
42
|
>(({ className, ...props }, ref) => (
|
|
43
43
|
<div className="flex items-center border-b px-3" cmdk-input-wrapper="">
|
|
44
|
-
<IconSearch className="
|
|
44
|
+
<IconSearch className="me-2 h-4 w-4 shrink-0 opacity-50" />
|
|
45
45
|
<CommandPrimitive.Input
|
|
46
46
|
ref={ref}
|
|
47
47
|
className={cn(
|
|
@@ -132,7 +132,7 @@ const CommandShortcut = ({
|
|
|
132
132
|
return (
|
|
133
133
|
<span
|
|
134
134
|
className={cn(
|
|
135
|
-
"
|
|
135
|
+
"ms-auto text-xs tracking-widest text-muted-foreground",
|
|
136
136
|
className,
|
|
137
137
|
)}
|
|
138
138
|
{...props}
|
|
@@ -30,13 +30,13 @@ const ContextMenuSubTrigger = 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 focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
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
|
</ContextMenuPrimitive.SubTrigger>
|
|
41
41
|
));
|
|
42
42
|
ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;
|
|
@@ -83,7 +83,7 @@ const ContextMenuItem = React.forwardRef<
|
|
|
83
83
|
ref={ref}
|
|
84
84
|
className={cn(
|
|
85
85
|
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
86
|
-
inset && "
|
|
86
|
+
inset && "ps-8",
|
|
87
87
|
className,
|
|
88
88
|
)}
|
|
89
89
|
{...props}
|
|
@@ -98,13 +98,13 @@ const ContextMenuCheckboxItem = React.forwardRef<
|
|
|
98
98
|
<ContextMenuPrimitive.CheckboxItem
|
|
99
99
|
ref={ref}
|
|
100
100
|
className={cn(
|
|
101
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5
|
|
101
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
102
102
|
className,
|
|
103
103
|
)}
|
|
104
104
|
checked={checked}
|
|
105
105
|
{...props}
|
|
106
106
|
>
|
|
107
|
-
<span className="absolute
|
|
107
|
+
<span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
|
|
108
108
|
<ContextMenuPrimitive.ItemIndicator>
|
|
109
109
|
<IconCheck className="h-4 w-4" />
|
|
110
110
|
</ContextMenuPrimitive.ItemIndicator>
|
|
@@ -122,12 +122,12 @@ const ContextMenuRadioItem = React.forwardRef<
|
|
|
122
122
|
<ContextMenuPrimitive.RadioItem
|
|
123
123
|
ref={ref}
|
|
124
124
|
className={cn(
|
|
125
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5
|
|
125
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
126
126
|
className,
|
|
127
127
|
)}
|
|
128
128
|
{...props}
|
|
129
129
|
>
|
|
130
|
-
<span className="absolute
|
|
130
|
+
<span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
|
|
131
131
|
<ContextMenuPrimitive.ItemIndicator>
|
|
132
132
|
<IconCircleFilled className="h-2 w-2" />
|
|
133
133
|
</ContextMenuPrimitive.ItemIndicator>
|
|
@@ -147,7 +147,7 @@ const ContextMenuLabel = React.forwardRef<
|
|
|
147
147
|
ref={ref}
|
|
148
148
|
className={cn(
|
|
149
149
|
"px-2 py-1.5 text-sm font-semibold text-foreground",
|
|
150
|
-
inset && "
|
|
150
|
+
inset && "ps-8",
|
|
151
151
|
className,
|
|
152
152
|
)}
|
|
153
153
|
{...props}
|
|
@@ -174,7 +174,7 @@ const ContextMenuShortcut = ({
|
|
|
174
174
|
return (
|
|
175
175
|
<span
|
|
176
176
|
className={cn(
|
|
177
|
-
"
|
|
177
|
+
"ms-auto text-xs tracking-widest text-muted-foreground",
|
|
178
178
|
className,
|
|
179
179
|
)}
|
|
180
180
|
{...props}
|
|
@@ -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}
|
|
@@ -58,7 +58,7 @@ const DrawerHeader = ({
|
|
|
58
58
|
...props
|
|
59
59
|
}: React.HTMLAttributes<HTMLDivElement>) => (
|
|
60
60
|
<div
|
|
61
|
-
className={cn("grid gap-1.5 p-4 text-center sm:text-
|
|
61
|
+
className={cn("grid gap-1.5 p-4 text-center sm:text-start", className)}
|
|
62
62
|
{...props}
|
|
63
63
|
/>
|
|
64
64
|
);
|