@orion-ds/react 4.9.0 → 4.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ComponentShowcase.cjs +1 -0
- package/dist/ComponentShowcase.mjs +600 -0
- package/dist/blocks/index.cjs +1 -0
- package/dist/blocks/index.mjs +74 -0
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.cjs +1 -0
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.mjs +77 -0
- package/dist/blocks/sections/AgentFolder/AgentFolder.cjs +1 -0
- package/dist/blocks/sections/AgentFolder/AgentFolder.mjs +25 -0
- package/dist/blocks/sections/AppDownload/AppDownload.cjs +1 -0
- package/dist/blocks/sections/AppDownload/AppDownload.mjs +108 -0
- package/dist/blocks/sections/Blog/Blog.cjs +1 -0
- package/dist/blocks/sections/Blog/Blog.mjs +85 -0
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.cjs +1 -0
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.mjs +35 -0
- package/dist/blocks/sections/CTA/CTA.cjs +1 -0
- package/dist/blocks/sections/CTA/CTA.mjs +27 -0
- package/dist/blocks/sections/CarouselSection/CarouselCard.cjs +1 -0
- package/dist/blocks/sections/CarouselSection/CarouselCard.mjs +18 -0
- package/dist/blocks/sections/CarouselSection/CarouselSection.cjs +1 -0
- package/dist/blocks/sections/CarouselSection/CarouselSection.mjs +104 -0
- package/dist/blocks/sections/Chat/Chat.cjs +1 -0
- package/dist/blocks/sections/Chat/Chat.mjs +93 -0
- package/dist/blocks/sections/Comparison/Comparison.cjs +1 -0
- package/dist/blocks/sections/Comparison/Comparison.mjs +47 -0
- package/dist/blocks/sections/Contact/Contact.cjs +1 -0
- package/dist/blocks/sections/Contact/Contact.mjs +27 -0
- package/dist/blocks/sections/EmptyState/EmptyState.cjs +1 -0
- package/dist/blocks/sections/EmptyState/EmptyState.mjs +21 -0
- package/dist/blocks/sections/FAQ/FAQ.cjs +1 -0
- package/dist/blocks/sections/FAQ/FAQ.mjs +37 -0
- package/dist/blocks/sections/FAQ/FAQItemCard.cjs +1 -0
- package/dist/blocks/sections/FAQ/FAQItemCard.mjs +58 -0
- package/dist/blocks/sections/Features/FeatureCard.cjs +1 -0
- package/dist/blocks/sections/Features/FeatureCard.mjs +16 -0
- package/dist/blocks/sections/Features/Features.cjs +1 -0
- package/dist/blocks/sections/Features/Features.mjs +28 -0
- package/dist/blocks/sections/Footer/Footer.cjs +1 -0
- package/dist/blocks/sections/Footer/Footer.mjs +98 -0
- package/dist/blocks/sections/Gallery/Gallery.cjs +1 -0
- package/dist/blocks/sections/Gallery/Gallery.mjs +34 -0
- package/dist/blocks/sections/Hero/Hero.cjs +1 -0
- package/dist/blocks/sections/Hero/Hero.mjs +37 -0
- package/dist/blocks/sections/Hero/HeroHighlight.cjs +1 -0
- package/dist/blocks/sections/Hero/HeroHighlight.mjs +10 -0
- package/dist/blocks/sections/LogoCloud/LogoCloud.cjs +1 -0
- package/dist/blocks/sections/LogoCloud/LogoCloud.mjs +31 -0
- package/dist/blocks/sections/Newsletter/Newsletter.cjs +1 -0
- package/dist/blocks/sections/Newsletter/Newsletter.mjs +50 -0
- package/dist/blocks/sections/Pricing/Pricing.cjs +1 -0
- package/dist/blocks/sections/Pricing/Pricing.mjs +18 -0
- package/dist/blocks/sections/Pricing/PricingCard.cjs +1 -0
- package/dist/blocks/sections/Pricing/PricingCard.mjs +49 -0
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.cjs +1 -0
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.mjs +54 -0
- package/dist/blocks/sections/SocialProof/SocialProof.cjs +1 -0
- package/dist/blocks/sections/SocialProof/SocialProof.mjs +40 -0
- package/dist/blocks/sections/Stats/StatItemCard.cjs +1 -0
- package/dist/blocks/sections/Stats/StatItemCard.mjs +18 -0
- package/dist/blocks/sections/Stats/Stats.cjs +1 -0
- package/dist/blocks/sections/Stats/Stats.mjs +25 -0
- package/dist/blocks/sections/Stepper/Stepper.cjs +1 -0
- package/dist/blocks/sections/Stepper/Stepper.mjs +87 -0
- package/dist/blocks/sections/Team/Team.cjs +1 -0
- package/dist/blocks/sections/Team/Team.mjs +21 -0
- package/dist/blocks/sections/Team/TeamMemberCard.cjs +1 -0
- package/dist/blocks/sections/Team/TeamMemberCard.mjs +19 -0
- package/dist/blocks/sections/Testimonials/TestimonialCard.cjs +1 -0
- package/dist/blocks/sections/Testimonials/TestimonialCard.mjs +47 -0
- package/dist/blocks/sections/Testimonials/Testimonials.cjs +1 -0
- package/dist/blocks/sections/Testimonials/Testimonials.mjs +28 -0
- package/dist/blocks/sections/Timeline/Timeline.cjs +1 -0
- package/dist/blocks/sections/Timeline/Timeline.mjs +53 -0
- package/dist/blocks/templates/app/AgentEditor/AgentEditor.cjs +1 -0
- package/dist/blocks/templates/app/AgentEditor/AgentEditor.mjs +158 -0
- package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.cjs +1 -0
- package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.mjs +153 -0
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.cjs +1 -0
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.mjs +192 -0
- package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.cjs +1 -0
- package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.mjs +102 -0
- package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.cjs +1 -0
- package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.mjs +142 -0
- package/dist/blocks/templates/app/LoginTemplate/LoginTemplate.cjs +1 -0
- package/dist/blocks/templates/app/LoginTemplate/LoginTemplate.mjs +143 -0
- package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.cjs +1 -0
- package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.mjs +194 -0
- package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.cjs +1 -0
- package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.mjs +105 -0
- package/dist/calendar.cjs +1 -0
- package/dist/calendar.mjs +6 -0
- package/dist/chart.cjs +1 -0
- package/dist/chart.mjs +9 -0
- package/dist/client.cjs +1 -0
- package/dist/client.mjs +247 -0
- package/dist/components/Accordion/Accordion.cjs +1 -0
- package/dist/components/Accordion/Accordion.mjs +94 -0
- package/dist/components/ActivityFeed/ActivityFeed.cjs +1 -0
- package/dist/components/ActivityFeed/ActivityFeed.mjs +128 -0
- package/dist/components/AgentCard/AgentCard.cjs +1 -0
- package/dist/components/AgentCard/AgentCard.mjs +120 -0
- package/dist/components/Alert/Alert.cjs +1 -0
- package/dist/components/Alert/Alert.mjs +51 -0
- package/dist/components/AlertDialog/AlertDialog.cjs +1 -0
- package/dist/components/AlertDialog/AlertDialog.mjs +91 -0
- package/dist/components/Avatar/Avatar.cjs +1 -0
- package/dist/components/Avatar/Avatar.mjs +77 -0
- package/dist/components/Badge/Badge.cjs +1 -0
- package/dist/components/Badge/Badge.mjs +20 -0
- package/dist/components/Banner/Banner.cjs +1 -0
- package/dist/components/Banner/Banner.mjs +107 -0
- package/dist/components/Breadcrumb/Breadcrumb.cjs +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.mjs +84 -0
- package/dist/components/Button/Button.cjs +1 -0
- package/dist/components/Button/Button.mjs +71 -0
- package/dist/components/Calendar/Calendar.cjs +1 -0
- package/dist/components/Calendar/Calendar.mjs +135 -0
- package/dist/components/Card/Card.cjs +1 -0
- package/dist/components/Card/Card.mjs +106 -0
- package/dist/components/Carousel/Carousel.cjs +1 -0
- package/dist/components/Carousel/Carousel.mjs +178 -0
- package/dist/components/Carousel/CarouselCard.cjs +1 -0
- package/dist/components/Carousel/CarouselCard.mjs +38 -0
- package/dist/components/Chart/Chart.cjs +1 -0
- package/dist/components/Chart/Chart.mjs +103 -0
- package/dist/components/Chat/Chat.cjs +1 -0
- package/dist/components/Chat/Chat.mjs +56 -0
- package/dist/components/Chat/components/ChatAttachment.cjs +1 -0
- package/dist/components/Chat/components/ChatAttachment.mjs +125 -0
- package/dist/components/Chat/components/ChatAudioPlayer.cjs +1 -0
- package/dist/components/Chat/components/ChatAudioPlayer.mjs +127 -0
- package/dist/components/Chat/components/ChatCodeBlock.cjs +1 -0
- package/dist/components/Chat/components/ChatCodeBlock.mjs +93 -0
- package/dist/components/Chat/components/ChatFileUpload.cjs +1 -0
- package/dist/components/Chat/components/ChatFileUpload.mjs +114 -0
- package/dist/components/Chat/components/ChatHeader.cjs +1 -0
- package/dist/components/Chat/components/ChatHeader.mjs +36 -0
- package/dist/components/Chat/components/ChatImagePreview.cjs +1 -0
- package/dist/components/Chat/components/ChatImagePreview.mjs +69 -0
- package/dist/components/Chat/components/ChatInput.cjs +1 -0
- package/dist/components/Chat/components/ChatInput.mjs +188 -0
- package/dist/components/Chat/components/ChatLightbox.cjs +1 -0
- package/dist/components/Chat/components/ChatLightbox.mjs +57 -0
- package/dist/components/Chat/components/ChatMarkdown.cjs +1 -0
- package/dist/components/Chat/components/ChatMarkdown.mjs +55 -0
- package/dist/components/Chat/components/ChatMessage.cjs +1 -0
- package/dist/components/Chat/components/ChatMessage.mjs +173 -0
- package/dist/components/Chat/components/ChatMessages.cjs +1 -0
- package/dist/components/Chat/components/ChatMessages.mjs +46 -0
- package/dist/components/Chat/components/ChatSidebar.cjs +1 -0
- package/dist/components/Chat/components/ChatSidebar.mjs +217 -0
- package/dist/components/Chat/components/ChatTypingIndicator.cjs +1 -0
- package/dist/components/Chat/components/ChatTypingIndicator.mjs +31 -0
- package/dist/components/Chat/components/ChatVoiceRecorder.cjs +1 -0
- package/dist/components/Chat/components/ChatVoiceRecorder.mjs +111 -0
- package/dist/components/Checkbox/Checkbox.cjs +1 -0
- package/dist/components/Checkbox/Checkbox.mjs +84 -0
- package/dist/components/Chip/Chip.cjs +1 -0
- package/dist/components/Chip/Chip.mjs +86 -0
- package/dist/components/CodeEditor/CodeEditor.cjs +6 -0
- package/dist/components/CodeEditor/CodeEditor.mjs +255 -0
- package/dist/components/Collapsible/Collapsible.cjs +1 -0
- package/dist/components/Collapsible/Collapsible.mjs +114 -0
- package/dist/components/CollapsibleFolder/CollapsibleFolder.cjs +1 -0
- package/dist/components/CollapsibleFolder/CollapsibleFolder.mjs +196 -0
- package/dist/components/Combobox/Combobox.cjs +1 -0
- package/dist/components/Combobox/Combobox.mjs +271 -0
- package/dist/components/Command/Command.cjs +1 -0
- package/dist/components/Command/Command.mjs +248 -0
- package/dist/components/CommandBar/CommandBar.cjs +1 -0
- package/dist/components/CommandBar/CommandBar.mjs +193 -0
- package/dist/components/DataTable/DataTable.cjs +1 -0
- package/dist/components/DataTable/DataTable.mjs +339 -0
- package/dist/components/DatePicker/DatePicker.cjs +1 -0
- package/dist/components/DatePicker/DatePicker.mjs +104 -0
- package/dist/components/DetailPanel/DetailPanel.cjs +1 -0
- package/dist/components/DetailPanel/DetailPanel.mjs +103 -0
- package/dist/components/Divider/Divider.cjs +1 -0
- package/dist/components/Divider/Divider.mjs +48 -0
- package/dist/components/Drawer/Drawer.cjs +1 -0
- package/dist/components/Drawer/Drawer.mjs +132 -0
- package/dist/components/Dropdown/Dropdown.cjs +1 -0
- package/dist/components/Dropdown/Dropdown.mjs +176 -0
- package/dist/components/EmptyState/EmptyState.cjs +1 -0
- package/dist/components/EmptyState/EmptyState.mjs +30 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.cjs +1 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.mjs +43 -0
- package/dist/components/Field/Field.cjs +1 -0
- package/dist/components/Field/Field.mjs +107 -0
- package/dist/components/FileUploader/FileUploader.cjs +1 -0
- package/dist/components/FileUploader/FileUploader.mjs +202 -0
- package/dist/components/FilterBar/FilterBar.cjs +1 -0
- package/dist/components/FilterBar/FilterBar.mjs +164 -0
- package/dist/components/FontLoader/FontLoader.cjs +1 -0
- package/dist/components/FontLoader/FontLoader.mjs +47 -0
- package/dist/components/FormSection/FormSection.cjs +1 -0
- package/dist/components/FormSection/FormSection.mjs +84 -0
- package/dist/components/Icon/Icon.cjs +1 -0
- package/dist/components/Icon/Icon.mjs +54 -0
- package/dist/components/IconGallery/IconGallery.cjs +3 -0
- package/dist/components/IconGallery/IconGallery.mjs +205 -0
- package/dist/components/InputOTP/InputOTP.cjs +1 -0
- package/dist/components/InputOTP/InputOTP.mjs +143 -0
- package/dist/components/KanbanBoard/KanbanBoard.cjs +1 -0
- package/dist/components/KanbanBoard/KanbanBoard.mjs +190 -0
- package/dist/components/Link/Link.cjs +1 -0
- package/dist/components/Link/Link.mjs +82 -0
- package/dist/components/List/List.cjs +1 -0
- package/dist/components/List/List.mjs +95 -0
- package/dist/components/MetricCards/MetricCards.cjs +1 -0
- package/dist/components/MetricCards/MetricCards.mjs +125 -0
- package/dist/components/Modal/Modal.cjs +1 -0
- package/dist/components/Modal/Modal.mjs +72 -0
- package/dist/components/NavTree/NavTree.cjs +1 -0
- package/dist/components/NavTree/NavTree.mjs +273 -0
- package/dist/components/Navbar/Navbar.cjs +1 -0
- package/dist/components/Navbar/Navbar.mjs +129 -0
- package/dist/components/NotificationCenter/NotificationCenter.cjs +1 -0
- package/dist/components/NotificationCenter/NotificationCenter.mjs +172 -0
- package/dist/components/PageHeader/PageHeader.cjs +1 -0
- package/dist/components/PageHeader/PageHeader.mjs +105 -0
- package/dist/components/Pagination/Pagination.cjs +1 -0
- package/dist/components/Pagination/Pagination.mjs +136 -0
- package/dist/components/Popover/Popover.cjs +1 -0
- package/dist/components/Popover/Popover.mjs +191 -0
- package/dist/components/ProgressBar/ProgressBar.cjs +1 -0
- package/dist/components/ProgressBar/ProgressBar.mjs +54 -0
- package/dist/components/QuickActions/QuickActions.cjs +1 -0
- package/dist/components/QuickActions/QuickActions.mjs +148 -0
- package/dist/components/Radio/Radio.cjs +1 -0
- package/dist/components/Radio/Radio.mjs +76 -0
- package/dist/components/SearchInput/SearchInput.cjs +1 -0
- package/dist/components/SearchInput/SearchInput.mjs +87 -0
- package/dist/components/Select/Select.cjs +1 -0
- package/dist/components/Select/Select.mjs +84 -0
- package/dist/components/Sidebar/Sidebar.cjs +1 -0
- package/dist/components/Sidebar/Sidebar.mjs +153 -0
- package/dist/components/Skeleton/Skeleton.cjs +1 -0
- package/dist/components/Skeleton/Skeleton.mjs +54 -0
- package/dist/components/Slider/Slider.cjs +1 -0
- package/dist/components/Slider/Slider.mjs +109 -0
- package/dist/components/Spinner/Spinner.cjs +1 -0
- package/dist/components/Spinner/Spinner.mjs +28 -0
- package/dist/components/Stack/Stack.cjs +1 -0
- package/dist/components/Stack/Stack.mjs +31 -0
- package/dist/components/Stepper/Stepper.cjs +1 -0
- package/dist/components/Stepper/Stepper.mjs +133 -0
- package/dist/components/Switch/Switch.cjs +1 -0
- package/dist/components/Switch/Switch.mjs +80 -0
- package/dist/components/Table/Table.cjs +1 -0
- package/dist/components/Table/Table.mjs +101 -0
- package/dist/components/Tabs/Tabs.cjs +1 -0
- package/dist/components/Tabs/Tabs.mjs +97 -0
- package/dist/components/Textarea/Textarea.cjs +1 -0
- package/dist/components/Textarea/Textarea.mjs +118 -0
- package/dist/components/ThemeController/ThemeController.cjs +1 -0
- package/dist/components/ThemeController/ThemeController.mjs +389 -0
- package/dist/components/Toast/Toast.cjs +1 -0
- package/dist/components/Toast/Toast.mjs +225 -0
- package/dist/components/Toggle/Toggle.cjs +1 -0
- package/dist/components/Toggle/Toggle.mjs +48 -0
- package/dist/components/ToggleGroup/ToggleGroup.cjs +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.mjs +101 -0
- package/dist/components/Tooltip/Tooltip.cjs +1 -0
- package/dist/components/Tooltip/Tooltip.mjs +39 -0
- package/dist/components/UserMenu/UserMenu.cjs +1 -0
- package/dist/components/UserMenu/UserMenu.mjs +161 -0
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.cjs +1 -0
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.mjs +119 -0
- package/dist/contexts/ThemeContext.cjs +38 -0
- package/dist/contexts/ThemeContext.mjs +98 -0
- package/dist/dist/index19.cjs +1 -0
- package/dist/dist/index19.mjs +120 -0
- package/dist/dist/index22.cjs +1 -0
- package/dist/dist/index22.mjs +77 -0
- package/dist/dist/index23.cjs +1 -0
- package/dist/dist/index23.mjs +20 -0
- package/dist/dist/index26.cjs +1 -0
- package/dist/dist/index26.mjs +71 -0
- package/dist/dist/index28.cjs +1 -0
- package/dist/dist/index28.mjs +106 -0
- package/dist/dist/index36.cjs +1 -0
- package/dist/dist/index36.mjs +114 -0
- package/dist/dist/index37.cjs +1 -0
- package/dist/dist/index37.mjs +196 -0
- package/dist/dist/index47.cjs +1 -0
- package/dist/dist/index47.mjs +176 -0
- package/dist/dist/index50.cjs +1 -0
- package/dist/dist/index50.mjs +107 -0
- package/dist/dnd.cjs +1 -0
- package/dist/dnd.mjs +4 -0
- package/dist/editor.cjs +1 -0
- package/dist/editor.mjs +4 -0
- package/dist/examples/LandingPage.example.cjs +1 -0
- package/dist/examples/LandingPage.example.mjs +106 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +96 -96
- package/dist/rich.cjs +1 -0
- package/dist/rich.mjs +4 -0
- package/dist/sections/Container/Container.cjs +1 -0
- package/dist/sections/Container/Container.mjs +26 -0
- package/dist/sections/Section/Section.cjs +1 -0
- package/dist/sections/Section/Section.mjs +36 -0
- package/dist/sections/index.cjs +1 -0
- package/dist/sections/index.mjs +43 -0
- package/dist/templates/index.cjs +1 -0
- package/dist/templates/index.mjs +18 -0
- package/dist/tokens/index.cjs +1 -0
- package/dist/tokens/index.mjs +24 -0
- package/dist/tokens/utils.cjs +1 -0
- package/dist/tokens/utils.mjs +45 -0
- package/package.json +1 -1
- package/dist/index10.cjs +0 -1
- package/dist/index10.mjs +0 -4
- package/dist/index11.cjs +0 -1
- package/dist/index11.mjs +0 -4
- package/dist/index110.cjs +0 -1
- package/dist/index110.mjs +0 -77
- package/dist/index111.cjs +0 -1
- package/dist/index111.mjs +0 -158
- package/dist/index112.cjs +0 -1
- package/dist/index112.mjs +0 -25
- package/dist/index113.cjs +0 -1
- package/dist/index113.mjs +0 -153
- package/dist/index114.cjs +0 -1
- package/dist/index114.mjs +0 -108
- package/dist/index115.cjs +0 -1
- package/dist/index115.mjs +0 -85
- package/dist/index116.cjs +0 -1
- package/dist/index116.mjs +0 -35
- package/dist/index117.cjs +0 -1
- package/dist/index117.mjs +0 -27
- package/dist/index118.cjs +0 -1
- package/dist/index118.mjs +0 -18
- package/dist/index119.cjs +0 -1
- package/dist/index119.mjs +0 -104
- package/dist/index120.cjs +0 -1
- package/dist/index120.mjs +0 -192
- package/dist/index121.cjs +0 -1
- package/dist/index121.mjs +0 -93
- package/dist/index122.cjs +0 -1
- package/dist/index122.mjs +0 -47
- package/dist/index123.cjs +0 -1
- package/dist/index123.mjs +0 -27
- package/dist/index124.cjs +0 -1
- package/dist/index124.mjs +0 -102
- package/dist/index125.cjs +0 -1
- package/dist/index125.mjs +0 -21
- package/dist/index126.cjs +0 -1
- package/dist/index126.mjs +0 -37
- package/dist/index127.cjs +0 -1
- package/dist/index127.mjs +0 -28
- package/dist/index128.cjs +0 -1
- package/dist/index128.mjs +0 -98
- package/dist/index129.cjs +0 -1
- package/dist/index129.mjs +0 -34
- package/dist/index130.cjs +0 -1
- package/dist/index130.mjs +0 -37
- package/dist/index131.cjs +0 -1
- package/dist/index131.mjs +0 -10
- package/dist/index132.cjs +0 -1
- package/dist/index132.mjs +0 -142
- package/dist/index133.cjs +0 -1
- package/dist/index133.mjs +0 -143
- package/dist/index134.cjs +0 -1
- package/dist/index134.mjs +0 -31
- package/dist/index135.cjs +0 -1
- package/dist/index135.mjs +0 -50
- package/dist/index136.cjs +0 -1
- package/dist/index136.mjs +0 -18
- package/dist/index137.cjs +0 -1
- package/dist/index137.mjs +0 -194
- package/dist/index138.cjs +0 -1
- package/dist/index138.mjs +0 -54
- package/dist/index139.cjs +0 -1
- package/dist/index139.mjs +0 -105
- package/dist/index14.cjs +0 -1
- package/dist/index14.mjs +0 -45
- package/dist/index140.cjs +0 -1
- package/dist/index140.mjs +0 -40
- package/dist/index141.cjs +0 -1
- package/dist/index141.mjs +0 -25
- package/dist/index142.cjs +0 -1
- package/dist/index142.mjs +0 -87
- package/dist/index143.cjs +0 -1
- package/dist/index143.mjs +0 -21
- package/dist/index144.cjs +0 -1
- package/dist/index144.mjs +0 -28
- package/dist/index145.cjs +0 -1
- package/dist/index145.mjs +0 -53
- package/dist/index15.cjs +0 -1
- package/dist/index15.mjs +0 -600
- package/dist/index17.cjs +0 -1
- package/dist/index17.mjs +0 -94
- package/dist/index178.cjs +0 -1
- package/dist/index178.mjs +0 -20
- package/dist/index179.cjs +0 -1
- package/dist/index179.mjs +0 -106
- package/dist/index18.cjs +0 -1
- package/dist/index18.mjs +0 -128
- package/dist/index187.cjs +0 -1
- package/dist/index187.mjs +0 -71
- package/dist/index189.cjs +0 -1
- package/dist/index189.mjs +0 -107
- package/dist/index19.cjs +0 -1
- package/dist/index19.mjs +0 -120
- package/dist/index2.cjs +0 -1
- package/dist/index2.mjs +0 -247
- package/dist/index20.cjs +0 -1
- package/dist/index20.mjs +0 -51
- package/dist/index21.cjs +0 -1
- package/dist/index21.mjs +0 -91
- package/dist/index22.cjs +0 -1
- package/dist/index22.mjs +0 -77
- package/dist/index221.cjs +0 -1
- package/dist/index221.mjs +0 -36
- package/dist/index222.cjs +0 -1
- package/dist/index222.mjs +0 -46
- package/dist/index223.cjs +0 -1
- package/dist/index223.mjs +0 -173
- package/dist/index224.cjs +0 -1
- package/dist/index224.mjs +0 -188
- package/dist/index225.cjs +0 -1
- package/dist/index225.mjs +0 -31
- package/dist/index226.cjs +0 -1
- package/dist/index226.mjs +0 -93
- package/dist/index227.cjs +0 -1
- package/dist/index227.mjs +0 -55
- package/dist/index228.cjs +0 -1
- package/dist/index228.mjs +0 -69
- package/dist/index229.cjs +0 -1
- package/dist/index229.mjs +0 -127
- package/dist/index23.cjs +0 -1
- package/dist/index23.mjs +0 -20
- package/dist/index230.cjs +0 -1
- package/dist/index230.mjs +0 -111
- package/dist/index231.cjs +0 -1
- package/dist/index231.mjs +0 -114
- package/dist/index232.cjs +0 -1
- package/dist/index232.mjs +0 -125
- package/dist/index233.cjs +0 -1
- package/dist/index233.mjs +0 -217
- package/dist/index24.cjs +0 -1
- package/dist/index24.mjs +0 -107
- package/dist/index244.cjs +0 -1
- package/dist/index244.mjs +0 -16
- package/dist/index25.cjs +0 -1
- package/dist/index25.mjs +0 -84
- package/dist/index256.cjs +0 -1
- package/dist/index256.mjs +0 -47
- package/dist/index258.cjs +0 -1
- package/dist/index258.mjs +0 -120
- package/dist/index259.cjs +0 -1
- package/dist/index259.mjs +0 -196
- package/dist/index26.cjs +0 -1
- package/dist/index26.mjs +0 -71
- package/dist/index262.cjs +0 -1
- package/dist/index262.mjs +0 -18
- package/dist/index264.cjs +0 -1
- package/dist/index264.mjs +0 -58
- package/dist/index27.cjs +0 -1
- package/dist/index27.mjs +0 -135
- package/dist/index272.cjs +0 -1
- package/dist/index272.mjs +0 -49
- package/dist/index275.cjs +0 -1
- package/dist/index275.mjs +0 -19
- package/dist/index278.cjs +0 -1
- package/dist/index278.mjs +0 -77
- package/dist/index279.cjs +0 -1
- package/dist/index279.mjs +0 -176
- package/dist/index28.cjs +0 -1
- package/dist/index28.mjs +0 -106
- package/dist/index284.cjs +0 -1
- package/dist/index284.mjs +0 -114
- package/dist/index29.cjs +0 -1
- package/dist/index29.mjs +0 -178
- package/dist/index290.cjs +0 -1
- package/dist/index290.mjs +0 -57
- package/dist/index3.cjs +0 -1
- package/dist/index3.mjs +0 -24
- package/dist/index30.cjs +0 -1
- package/dist/index30.mjs +0 -38
- package/dist/index31.cjs +0 -1
- package/dist/index31.mjs +0 -103
- package/dist/index32.cjs +0 -1
- package/dist/index32.mjs +0 -56
- package/dist/index33.cjs +0 -1
- package/dist/index33.mjs +0 -84
- package/dist/index34.cjs +0 -1
- package/dist/index34.mjs +0 -86
- package/dist/index35.cjs +0 -6
- package/dist/index35.mjs +0 -255
- package/dist/index36.cjs +0 -1
- package/dist/index36.mjs +0 -114
- package/dist/index37.cjs +0 -1
- package/dist/index37.mjs +0 -196
- package/dist/index38.cjs +0 -1
- package/dist/index38.mjs +0 -271
- package/dist/index39.cjs +0 -1
- package/dist/index39.mjs +0 -248
- package/dist/index4.cjs +0 -1
- package/dist/index4.mjs +0 -43
- package/dist/index40.cjs +0 -1
- package/dist/index40.mjs +0 -193
- package/dist/index41.cjs +0 -1
- package/dist/index41.mjs +0 -26
- package/dist/index42.cjs +0 -1
- package/dist/index42.mjs +0 -339
- package/dist/index43.cjs +0 -1
- package/dist/index43.mjs +0 -104
- package/dist/index44.cjs +0 -1
- package/dist/index44.mjs +0 -103
- package/dist/index45.cjs +0 -1
- package/dist/index45.mjs +0 -48
- package/dist/index46.cjs +0 -1
- package/dist/index46.mjs +0 -132
- package/dist/index47.cjs +0 -1
- package/dist/index47.mjs +0 -176
- package/dist/index48.cjs +0 -1
- package/dist/index48.mjs +0 -30
- package/dist/index49.cjs +0 -1
- package/dist/index49.mjs +0 -43
- package/dist/index5.cjs +0 -1
- package/dist/index5.mjs +0 -74
- package/dist/index50.cjs +0 -1
- package/dist/index50.mjs +0 -107
- package/dist/index51.cjs +0 -1
- package/dist/index51.mjs +0 -202
- package/dist/index52.cjs +0 -1
- package/dist/index52.mjs +0 -164
- package/dist/index53.cjs +0 -1
- package/dist/index53.mjs +0 -47
- package/dist/index54.cjs +0 -1
- package/dist/index54.mjs +0 -84
- package/dist/index55.cjs +0 -1
- package/dist/index55.mjs +0 -54
- package/dist/index56.cjs +0 -3
- package/dist/index56.mjs +0 -205
- package/dist/index58.cjs +0 -1
- package/dist/index58.mjs +0 -143
- package/dist/index59.cjs +0 -1
- package/dist/index59.mjs +0 -190
- package/dist/index6.cjs +0 -1
- package/dist/index6.mjs +0 -18
- package/dist/index60.cjs +0 -1
- package/dist/index60.mjs +0 -106
- package/dist/index61.cjs +0 -1
- package/dist/index61.mjs +0 -82
- package/dist/index62.cjs +0 -1
- package/dist/index62.mjs +0 -95
- package/dist/index63.cjs +0 -1
- package/dist/index63.mjs +0 -125
- package/dist/index64.cjs +0 -1
- package/dist/index64.mjs +0 -72
- package/dist/index65.cjs +0 -1
- package/dist/index65.mjs +0 -273
- package/dist/index66.cjs +0 -1
- package/dist/index66.mjs +0 -129
- package/dist/index67.cjs +0 -1
- package/dist/index67.mjs +0 -172
- package/dist/index68.cjs +0 -1
- package/dist/index68.mjs +0 -105
- package/dist/index69.cjs +0 -1
- package/dist/index69.mjs +0 -136
- package/dist/index7.cjs +0 -1
- package/dist/index7.mjs +0 -9
- package/dist/index70.cjs +0 -1
- package/dist/index70.mjs +0 -191
- package/dist/index71.cjs +0 -1
- package/dist/index71.mjs +0 -54
- package/dist/index72.cjs +0 -1
- package/dist/index72.mjs +0 -148
- package/dist/index73.cjs +0 -1
- package/dist/index73.mjs +0 -76
- package/dist/index74.cjs +0 -1
- package/dist/index74.mjs +0 -87
- package/dist/index75.cjs +0 -1
- package/dist/index75.mjs +0 -36
- package/dist/index76.cjs +0 -1
- package/dist/index76.mjs +0 -84
- package/dist/index77.cjs +0 -1
- package/dist/index77.mjs +0 -153
- package/dist/index78.cjs +0 -1
- package/dist/index78.mjs +0 -54
- package/dist/index79.cjs +0 -1
- package/dist/index79.mjs +0 -109
- package/dist/index8.cjs +0 -1
- package/dist/index8.mjs +0 -6
- package/dist/index80.cjs +0 -1
- package/dist/index80.mjs +0 -28
- package/dist/index81.cjs +0 -1
- package/dist/index81.mjs +0 -31
- package/dist/index82.cjs +0 -1
- package/dist/index82.mjs +0 -133
- package/dist/index83.cjs +0 -1
- package/dist/index83.mjs +0 -80
- package/dist/index84.cjs +0 -1
- package/dist/index84.mjs +0 -101
- package/dist/index85.cjs +0 -1
- package/dist/index85.mjs +0 -97
- package/dist/index86.cjs +0 -1
- package/dist/index86.mjs +0 -118
- package/dist/index87.cjs +0 -1
- package/dist/index87.mjs +0 -389
- package/dist/index88.cjs +0 -38
- package/dist/index88.mjs +0 -98
- package/dist/index89.cjs +0 -1
- package/dist/index89.mjs +0 -225
- package/dist/index9.cjs +0 -1
- package/dist/index9.mjs +0 -4
- package/dist/index90.cjs +0 -1
- package/dist/index90.mjs +0 -48
- package/dist/index91.cjs +0 -1
- package/dist/index91.mjs +0 -101
- package/dist/index92.cjs +0 -1
- package/dist/index92.mjs +0 -39
- package/dist/index93.cjs +0 -1
- package/dist/index93.mjs +0 -161
- package/dist/index94.cjs +0 -1
- package/dist/index94.mjs +0 -119
- /package/dist/{index248.cjs → blocks/sections/ActivityFeed/ActivityFeed.module.css.cjs} +0 -0
- /package/dist/{index248.mjs → blocks/sections/ActivityFeed/ActivityFeed.module.css.mjs} +0 -0
- /package/dist/{index255.cjs → blocks/sections/AppDownload/AppDownload.module.css.cjs} +0 -0
- /package/dist/{index255.mjs → blocks/sections/AppDownload/AppDownload.module.css.mjs} +0 -0
- /package/dist/{index250.cjs → blocks/sections/Blog/Blog.module.css.cjs} +0 -0
- /package/dist/{index250.mjs → blocks/sections/Blog/Blog.module.css.mjs} +0 -0
- /package/dist/{index251.cjs → blocks/sections/Breadcrumbs/Breadcrumbs.module.css.cjs} +0 -0
- /package/dist/{index251.mjs → blocks/sections/Breadcrumbs/Breadcrumbs.module.css.mjs} +0 -0
- /package/dist/{index274.cjs → blocks/sections/CTA/CTA.module.css.cjs} +0 -0
- /package/dist/{index274.mjs → blocks/sections/CTA/CTA.module.css.mjs} +0 -0
- /package/dist/{index268.cjs → blocks/sections/CarouselSection/CarouselSection.module.css.cjs} +0 -0
- /package/dist/{index268.mjs → blocks/sections/CarouselSection/CarouselSection.module.css.mjs} +0 -0
- /package/dist/{index266.cjs → blocks/sections/Chat/Chat.module.css.cjs} +0 -0
- /package/dist/{index266.mjs → blocks/sections/Chat/Chat.module.css.mjs} +0 -0
- /package/dist/{index271.cjs → blocks/sections/Comparison/Comparison.module.css.cjs} +0 -0
- /package/dist/{index271.mjs → blocks/sections/Comparison/Comparison.module.css.mjs} +0 -0
- /package/dist/{index253.cjs → blocks/sections/Contact/Contact.module.css.cjs} +0 -0
- /package/dist/{index253.mjs → blocks/sections/Contact/Contact.module.css.mjs} +0 -0
- /package/dist/{index246.cjs → blocks/sections/EmptyState/EmptyState.module.css.cjs} +0 -0
- /package/dist/{index246.mjs → blocks/sections/EmptyState/EmptyState.module.css.mjs} +0 -0
- /package/dist/{index265.cjs → blocks/sections/FAQ/FAQ.module.css.cjs} +0 -0
- /package/dist/{index265.mjs → blocks/sections/FAQ/FAQ.module.css.mjs} +0 -0
- /package/dist/{index245.cjs → blocks/sections/Features/Features.module.css.cjs} +0 -0
- /package/dist/{index245.mjs → blocks/sections/Features/Features.module.css.mjs} +0 -0
- /package/dist/{index269.cjs → blocks/sections/Footer/Footer.module.css.cjs} +0 -0
- /package/dist/{index269.mjs → blocks/sections/Footer/Footer.module.css.mjs} +0 -0
- /package/dist/{index247.cjs → blocks/sections/Gallery/Gallery.module.css.cjs} +0 -0
- /package/dist/{index247.mjs → blocks/sections/Gallery/Gallery.module.css.mjs} +0 -0
- /package/dist/{index249.cjs → blocks/sections/Hero/Hero.module.css.cjs} +0 -0
- /package/dist/{index249.mjs → blocks/sections/Hero/Hero.module.css.mjs} +0 -0
- /package/dist/{index261.cjs → blocks/sections/LogoCloud/LogoCloud.module.css.cjs} +0 -0
- /package/dist/{index261.mjs → blocks/sections/LogoCloud/LogoCloud.module.css.mjs} +0 -0
- /package/dist/{index270.cjs → blocks/sections/Newsletter/Newsletter.module.css.cjs} +0 -0
- /package/dist/{index270.mjs → blocks/sections/Newsletter/Newsletter.module.css.mjs} +0 -0
- /package/dist/{index273.cjs → blocks/sections/Pricing/Pricing.module.css.cjs} +0 -0
- /package/dist/{index273.mjs → blocks/sections/Pricing/Pricing.module.css.mjs} +0 -0
- /package/dist/{index267.cjs → blocks/sections/SettingsLayout/SettingsLayout.module.css.cjs} +0 -0
- /package/dist/{index267.mjs → blocks/sections/SettingsLayout/SettingsLayout.module.css.mjs} +0 -0
- /package/dist/{index254.cjs → blocks/sections/SocialProof/SocialProof.module.css.cjs} +0 -0
- /package/dist/{index254.mjs → blocks/sections/SocialProof/SocialProof.module.css.mjs} +0 -0
- /package/dist/{index263.cjs → blocks/sections/Stats/Stats.module.css.cjs} +0 -0
- /package/dist/{index263.mjs → blocks/sections/Stats/Stats.module.css.mjs} +0 -0
- /package/dist/{index260.cjs → blocks/sections/Stepper/Stepper.module.css.cjs} +0 -0
- /package/dist/{index260.mjs → blocks/sections/Stepper/Stepper.module.css.mjs} +0 -0
- /package/dist/{index276.cjs → blocks/sections/Team/Team.module.css.cjs} +0 -0
- /package/dist/{index276.mjs → blocks/sections/Team/Team.module.css.mjs} +0 -0
- /package/dist/{index257.cjs → blocks/sections/Testimonials/Testimonials.module.css.cjs} +0 -0
- /package/dist/{index257.mjs → blocks/sections/Testimonials/Testimonials.module.css.mjs} +0 -0
- /package/dist/{index252.cjs → blocks/sections/Timeline/Timeline.module.css.cjs} +0 -0
- /package/dist/{index252.mjs → blocks/sections/Timeline/Timeline.module.css.mjs} +0 -0
- /package/dist/{index203.cjs → blocks/templates/app/AgentEditor/AgentEditor.module.css.cjs} +0 -0
- /package/dist/{index203.mjs → blocks/templates/app/AgentEditor/AgentEditor.module.css.mjs} +0 -0
- /package/dist/{index206.cjs → blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.cjs} +0 -0
- /package/dist/{index206.mjs → blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.mjs} +0 -0
- /package/dist/{index213.cjs → blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.cjs} +0 -0
- /package/dist/{index213.mjs → blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.mjs} +0 -0
- /package/dist/{index180.cjs → blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.cjs} +0 -0
- /package/dist/{index180.mjs → blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.mjs} +0 -0
- /package/dist/{index211.cjs → blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.cjs} +0 -0
- /package/dist/{index211.mjs → blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.mjs} +0 -0
- /package/dist/{index190.cjs → blocks/templates/app/LoginTemplate/LoginTemplate.module.css.cjs} +0 -0
- /package/dist/{index190.mjs → blocks/templates/app/LoginTemplate/LoginTemplate.module.css.mjs} +0 -0
- /package/dist/{index208.cjs → blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.cjs} +0 -0
- /package/dist/{index208.mjs → blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.mjs} +0 -0
- /package/dist/{index188.cjs → blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.cjs} +0 -0
- /package/dist/{index188.mjs → blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.mjs} +0 -0
- /package/dist/{index195.cjs → components/Accordion/Accordion.module.css.cjs} +0 -0
- /package/dist/{index195.mjs → components/Accordion/Accordion.module.css.mjs} +0 -0
- /package/dist/{index239.cjs → components/ActivityFeed/ActivityFeed.module.css.cjs} +0 -0
- /package/dist/{index239.mjs → components/ActivityFeed/ActivityFeed.module.css.mjs} +0 -0
- /package/dist/{index152.cjs → components/AgentCard/AgentCard.module.css.cjs} +0 -0
- /package/dist/{index152.mjs → components/AgentCard/AgentCard.module.css.mjs} +0 -0
- /package/dist/{index200.cjs → components/Alert/Alert.module.css.cjs} +0 -0
- /package/dist/{index200.mjs → components/Alert/Alert.module.css.mjs} +0 -0
- /package/dist/{index212.cjs → components/AlertDialog/AlertDialog.module.css.cjs} +0 -0
- /package/dist/{index212.mjs → components/AlertDialog/AlertDialog.module.css.mjs} +0 -0
- /package/dist/{index184.cjs → components/Avatar/Avatar.module.css.cjs} +0 -0
- /package/dist/{index184.mjs → components/Avatar/Avatar.module.css.mjs} +0 -0
- /package/dist/{index194.cjs → components/Badge/Badge.module.css.cjs} +0 -0
- /package/dist/{index194.mjs → components/Badge/Badge.module.css.mjs} +0 -0
- /package/dist/{index207.cjs → components/Banner/Banner.module.css.cjs} +0 -0
- /package/dist/{index207.mjs → components/Banner/Banner.module.css.mjs} +0 -0
- /package/dist/{index201.cjs → components/Breadcrumb/Breadcrumb.module.css.cjs} +0 -0
- /package/dist/{index201.mjs → components/Breadcrumb/Breadcrumb.module.css.mjs} +0 -0
- /package/dist/{index156.cjs → components/Button/Button.module.css.cjs} +0 -0
- /package/dist/{index156.mjs → components/Button/Button.module.css.mjs} +0 -0
- /package/dist/{index209.cjs → components/Calendar/Calendar.module.css.cjs} +0 -0
- /package/dist/{index209.mjs → components/Calendar/Calendar.module.css.mjs} +0 -0
- /package/dist/{index175.cjs → components/Card/Card.module.css.cjs} +0 -0
- /package/dist/{index175.mjs → components/Card/Card.module.css.mjs} +0 -0
- /package/dist/{index171.cjs → components/Carousel/Carousel.module.css.cjs} +0 -0
- /package/dist/{index171.mjs → components/Carousel/Carousel.module.css.mjs} +0 -0
- /package/dist/{index155.cjs → components/Chart/Chart.module.css.cjs} +0 -0
- /package/dist/{index155.mjs → components/Chart/Chart.module.css.mjs} +0 -0
- /package/dist/{index154.cjs → components/Chart/useResolvedChartColors.cjs} +0 -0
- /package/dist/{index154.mjs → components/Chart/useResolvedChartColors.mjs} +0 -0
- /package/dist/{index220.cjs → components/Chat/Chat.module.css.cjs} +0 -0
- /package/dist/{index220.mjs → components/Chat/Chat.module.css.mjs} +0 -0
- /package/dist/{index95.cjs → components/Chat/hooks/useAutoScroll.cjs} +0 -0
- /package/dist/{index95.mjs → components/Chat/hooks/useAutoScroll.mjs} +0 -0
- /package/dist/{index96.cjs → components/Chat/hooks/useChatInput.cjs} +0 -0
- /package/dist/{index96.mjs → components/Chat/hooks/useChatInput.mjs} +0 -0
- /package/dist/{index104.cjs → components/Chat/hooks/useStreamingText.cjs} +0 -0
- /package/dist/{index104.mjs → components/Chat/hooks/useStreamingText.mjs} +0 -0
- /package/dist/{index106.cjs → components/Chat/hooks/useVoiceRecorder.cjs} +0 -0
- /package/dist/{index106.mjs → components/Chat/hooks/useVoiceRecorder.mjs} +0 -0
- /package/dist/{index289.cjs → components/Chat/utils.cjs} +0 -0
- /package/dist/{index289.mjs → components/Chat/utils.mjs} +0 -0
- /package/dist/{index170.cjs → components/Checkbox/Checkbox.module.css.cjs} +0 -0
- /package/dist/{index170.mjs → components/Checkbox/Checkbox.module.css.mjs} +0 -0
- /package/dist/{index153.cjs → components/Chip/Chip.module.css.cjs} +0 -0
- /package/dist/{index153.mjs → components/Chip/Chip.module.css.mjs} +0 -0
- /package/dist/{index147.cjs → components/CodeEditor/CodeEditor.module.css.cjs} +0 -0
- /package/dist/{index147.mjs → components/CodeEditor/CodeEditor.module.css.mjs} +0 -0
- /package/dist/{index148.cjs → components/Collapsible/Collapsible.module.css.cjs} +0 -0
- /package/dist/{index148.mjs → components/Collapsible/Collapsible.module.css.mjs} +0 -0
- /package/dist/{index151.cjs → components/CollapsibleFolder/CollapsibleFolder.module.css.cjs} +0 -0
- /package/dist/{index151.mjs → components/CollapsibleFolder/CollapsibleFolder.module.css.mjs} +0 -0
- /package/dist/{index172.cjs → components/Combobox/Combobox.module.css.cjs} +0 -0
- /package/dist/{index172.mjs → components/Combobox/Combobox.module.css.mjs} +0 -0
- /package/dist/{index199.cjs → components/Command/Command.module.css.cjs} +0 -0
- /package/dist/{index199.mjs → components/Command/Command.module.css.mjs} +0 -0
- /package/dist/{index238.cjs → components/CommandBar/CommandBar.module.css.cjs} +0 -0
- /package/dist/{index238.mjs → components/CommandBar/CommandBar.module.css.mjs} +0 -0
- /package/dist/{index215.cjs → components/DataTable/DataTable.module.css.cjs} +0 -0
- /package/dist/{index215.mjs → components/DataTable/DataTable.module.css.mjs} +0 -0
- /package/dist/{index157.cjs → components/DatePicker/DatePicker.module.css.cjs} +0 -0
- /package/dist/{index157.mjs → components/DatePicker/DatePicker.module.css.mjs} +0 -0
- /package/dist/{index236.cjs → components/DetailPanel/DetailPanel.module.css.cjs} +0 -0
- /package/dist/{index236.mjs → components/DetailPanel/DetailPanel.module.css.mjs} +0 -0
- /package/dist/{index192.cjs → components/Divider/Divider.module.css.cjs} +0 -0
- /package/dist/{index192.mjs → components/Divider/Divider.module.css.mjs} +0 -0
- /package/dist/{index241.cjs → components/Drawer/Drawer.module.css.cjs} +0 -0
- /package/dist/{index241.mjs → components/Drawer/Drawer.module.css.mjs} +0 -0
- /package/dist/{index167.cjs → components/Dropdown/Dropdown.module.css.cjs} +0 -0
- /package/dist/{index167.mjs → components/Dropdown/Dropdown.module.css.mjs} +0 -0
- /package/dist/{index168.cjs → components/EmptyState/EmptyState.module.css.cjs} +0 -0
- /package/dist/{index168.mjs → components/EmptyState/EmptyState.module.css.mjs} +0 -0
- /package/dist/{index202.cjs → components/ErrorBoundary/ErrorBoundary.module.css.cjs} +0 -0
- /package/dist/{index202.mjs → components/ErrorBoundary/ErrorBoundary.module.css.mjs} +0 -0
- /package/dist/{index191.cjs → components/Field/Field.module.css.cjs} +0 -0
- /package/dist/{index191.mjs → components/Field/Field.module.css.mjs} +0 -0
- /package/dist/{index216.cjs → components/FileUploader/FileUploader.module.css.cjs} +0 -0
- /package/dist/{index216.mjs → components/FileUploader/FileUploader.module.css.mjs} +0 -0
- /package/dist/{index163.cjs → components/FilterBar/FilterBar.module.css.cjs} +0 -0
- /package/dist/{index163.mjs → components/FilterBar/FilterBar.module.css.mjs} +0 -0
- /package/dist/{index242.cjs → components/FormSection/FormSection.module.css.cjs} +0 -0
- /package/dist/{index242.mjs → components/FormSection/FormSection.module.css.mjs} +0 -0
- /package/dist/{index146.cjs → components/Icon/Icon.module.css.cjs} +0 -0
- /package/dist/{index146.mjs → components/Icon/Icon.module.css.mjs} +0 -0
- /package/dist/{index218.cjs → components/IconGallery/IconGallery.module.css.cjs} +0 -0
- /package/dist/{index218.mjs → components/IconGallery/IconGallery.module.css.mjs} +0 -0
- /package/dist/{index197.cjs → components/InputOTP/InputOTP.module.css.cjs} +0 -0
- /package/dist/{index197.mjs → components/InputOTP/InputOTP.module.css.mjs} +0 -0
- /package/dist/{index243.cjs → components/KanbanBoard/KanbanBoard.module.css.cjs} +0 -0
- /package/dist/{index243.mjs → components/KanbanBoard/KanbanBoard.module.css.mjs} +0 -0
- /package/dist/{index205.cjs → components/Link/Link.module.css.cjs} +0 -0
- /package/dist/{index205.mjs → components/Link/Link.module.css.mjs} +0 -0
- /package/dist/{index169.cjs → components/List/List.module.css.cjs} +0 -0
- /package/dist/{index169.mjs → components/List/List.module.css.mjs} +0 -0
- /package/dist/{index196.cjs → components/MetricCards/MetricCards.module.css.cjs} +0 -0
- /package/dist/{index196.mjs → components/MetricCards/MetricCards.module.css.mjs} +0 -0
- /package/dist/{index186.cjs → components/Modal/Modal.module.css.cjs} +0 -0
- /package/dist/{index186.mjs → components/Modal/Modal.module.css.mjs} +0 -0
- /package/dist/{index177.cjs → components/NavTree/NavTree.module.css.cjs} +0 -0
- /package/dist/{index177.mjs → components/NavTree/NavTree.module.css.mjs} +0 -0
- /package/dist/{index166.cjs → components/Navbar/Navbar.module.css.cjs} +0 -0
- /package/dist/{index166.mjs → components/Navbar/Navbar.module.css.mjs} +0 -0
- /package/dist/{index204.cjs → components/NotificationCenter/NotificationCenter.module.css.cjs} +0 -0
- /package/dist/{index204.mjs → components/NotificationCenter/NotificationCenter.module.css.mjs} +0 -0
- /package/dist/{index235.cjs → components/PageHeader/PageHeader.module.css.cjs} +0 -0
- /package/dist/{index235.mjs → components/PageHeader/PageHeader.module.css.mjs} +0 -0
- /package/dist/{index183.cjs → components/Pagination/Pagination.module.css.cjs} +0 -0
- /package/dist/{index183.mjs → components/Pagination/Pagination.module.css.mjs} +0 -0
- /package/dist/{index240.cjs → components/Popover/Popover.module.css.cjs} +0 -0
- /package/dist/{index240.mjs → components/Popover/Popover.module.css.mjs} +0 -0
- /package/dist/{index237.cjs → components/ProgressBar/ProgressBar.module.css.cjs} +0 -0
- /package/dist/{index237.mjs → components/ProgressBar/ProgressBar.module.css.mjs} +0 -0
- /package/dist/{index219.cjs → components/QuickActions/QuickActions.module.css.cjs} +0 -0
- /package/dist/{index219.mjs → components/QuickActions/QuickActions.module.css.mjs} +0 -0
- /package/dist/{index198.cjs → components/Radio/Radio.module.css.cjs} +0 -0
- /package/dist/{index198.mjs → components/Radio/Radio.module.css.mjs} +0 -0
- /package/dist/{index185.cjs → components/SearchInput/SearchInput.module.css.cjs} +0 -0
- /package/dist/{index185.mjs → components/SearchInput/SearchInput.module.css.mjs} +0 -0
- /package/dist/{index159.cjs → components/Select/Select.module.css.cjs} +0 -0
- /package/dist/{index159.mjs → components/Select/Select.module.css.mjs} +0 -0
- /package/dist/{index214.cjs → components/Sidebar/Sidebar.module.css.cjs} +0 -0
- /package/dist/{index214.mjs → components/Sidebar/Sidebar.module.css.mjs} +0 -0
- /package/dist/{index173.cjs → components/Skeleton/Skeleton.module.css.cjs} +0 -0
- /package/dist/{index173.mjs → components/Skeleton/Skeleton.module.css.mjs} +0 -0
- /package/dist/{index161.cjs → components/Slider/Slider.module.css.cjs} +0 -0
- /package/dist/{index161.mjs → components/Slider/Slider.module.css.mjs} +0 -0
- /package/dist/{index164.cjs → components/Spinner/Spinner.module.css.cjs} +0 -0
- /package/dist/{index164.mjs → components/Spinner/Spinner.module.css.mjs} +0 -0
- /package/dist/{index193.cjs → components/Stack/Stack.module.css.cjs} +0 -0
- /package/dist/{index193.mjs → components/Stack/Stack.module.css.mjs} +0 -0
- /package/dist/{index162.cjs → components/Stepper/Stepper.module.css.cjs} +0 -0
- /package/dist/{index162.mjs → components/Stepper/Stepper.module.css.mjs} +0 -0
- /package/dist/{index150.cjs → components/Switch/Switch.module.css.cjs} +0 -0
- /package/dist/{index150.mjs → components/Switch/Switch.module.css.mjs} +0 -0
- /package/dist/{index165.cjs → components/Table/Table.module.css.cjs} +0 -0
- /package/dist/{index165.mjs → components/Table/Table.module.css.mjs} +0 -0
- /package/dist/{index181.cjs → components/Tabs/Tabs.module.css.cjs} +0 -0
- /package/dist/{index181.mjs → components/Tabs/Tabs.module.css.mjs} +0 -0
- /package/dist/{index182.cjs → components/Textarea/Textarea.module.css.cjs} +0 -0
- /package/dist/{index182.mjs → components/Textarea/Textarea.module.css.mjs} +0 -0
- /package/dist/{index234.cjs → components/Toast/Toast.module.css.cjs} +0 -0
- /package/dist/{index234.mjs → components/Toast/Toast.module.css.mjs} +0 -0
- /package/dist/{index158.cjs → components/Toggle/Toggle.module.css.cjs} +0 -0
- /package/dist/{index158.mjs → components/Toggle/Toggle.module.css.mjs} +0 -0
- /package/dist/{index174.cjs → components/ToggleGroup/ToggleGroup.module.css.cjs} +0 -0
- /package/dist/{index174.mjs → components/ToggleGroup/ToggleGroup.module.css.mjs} +0 -0
- /package/dist/{index176.cjs → components/Tooltip/Tooltip.module.css.cjs} +0 -0
- /package/dist/{index176.mjs → components/Tooltip/Tooltip.module.css.mjs} +0 -0
- /package/dist/{index210.cjs → components/UserMenu/UserMenu.module.css.cjs} +0 -0
- /package/dist/{index210.mjs → components/UserMenu/UserMenu.module.css.mjs} +0 -0
- /package/dist/{index217.cjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.cjs} +0 -0
- /package/dist/{index217.mjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.mjs} +0 -0
- /package/dist/{index286.cjs → dist/index146.cjs} +0 -0
- /package/dist/{index286.mjs → dist/index146.mjs} +0 -0
- /package/dist/{index283.cjs → dist/index149.cjs} +0 -0
- /package/dist/{index283.mjs → dist/index149.mjs} +0 -0
- /package/dist/{index277.cjs → dist/index172.cjs} +0 -0
- /package/dist/{index277.mjs → dist/index172.mjs} +0 -0
- /package/dist/{index280.cjs → dist/index175.cjs} +0 -0
- /package/dist/{index280.mjs → dist/index175.mjs} +0 -0
- /package/dist/{index287.cjs → dist/index180.cjs} +0 -0
- /package/dist/{index287.mjs → dist/index180.mjs} +0 -0
- /package/dist/{index288.cjs → dist/index189.cjs} +0 -0
- /package/dist/{index288.mjs → dist/index189.mjs} +0 -0
- /package/dist/{index282.cjs → dist/index225.cjs} +0 -0
- /package/dist/{index282.mjs → dist/index225.mjs} +0 -0
- /package/dist/{index281.cjs → dist/index232.cjs} +0 -0
- /package/dist/{index281.mjs → dist/index232.mjs} +0 -0
- /package/dist/{index285.cjs → dist/index240.cjs} +0 -0
- /package/dist/{index285.mjs → dist/index240.mjs} +0 -0
- /package/dist/{index97.cjs → hooks/useClickOutside.cjs} +0 -0
- /package/dist/{index97.mjs → hooks/useClickOutside.mjs} +0 -0
- /package/dist/{index98.cjs → hooks/useCopyToClipboard.cjs} +0 -0
- /package/dist/{index98.mjs → hooks/useCopyToClipboard.mjs} +0 -0
- /package/dist/{index99.cjs → hooks/useDebounce.cjs} +0 -0
- /package/dist/{index99.mjs → hooks/useDebounce.mjs} +0 -0
- /package/dist/{index100.cjs → hooks/useDisclosure.cjs} +0 -0
- /package/dist/{index100.mjs → hooks/useDisclosure.mjs} +0 -0
- /package/dist/{index102.cjs → hooks/useKeyboard.cjs} +0 -0
- /package/dist/{index102.mjs → hooks/useKeyboard.mjs} +0 -0
- /package/dist/{index103.cjs → hooks/useLocalStorage.cjs} +0 -0
- /package/dist/{index103.mjs → hooks/useLocalStorage.mjs} +0 -0
- /package/dist/{index101.cjs → hooks/useMediaQuery.cjs} +0 -0
- /package/dist/{index101.mjs → hooks/useMediaQuery.mjs} +0 -0
- /package/dist/{index105.cjs → hooks/useTheme.cjs} +0 -0
- /package/dist/{index105.mjs → hooks/useTheme.mjs} +0 -0
- /package/dist/{index149.cjs → sections/Container/Container.module.css.cjs} +0 -0
- /package/dist/{index149.mjs → sections/Container/Container.module.css.mjs} +0 -0
- /package/dist/{index160.cjs → sections/Section/Section.module.css.cjs} +0 -0
- /package/dist/{index160.mjs → sections/Section/Section.module.css.mjs} +0 -0
- /package/dist/{index109.cjs → tokens/brands.cjs} +0 -0
- /package/dist/{index109.mjs → tokens/brands.mjs} +0 -0
- /package/dist/{index13.cjs → tokens/primitives.cjs} +0 -0
- /package/dist/{index13.mjs → tokens/primitives.mjs} +0 -0
- /package/dist/{index108.cjs → tokens/themes.cjs} +0 -0
- /package/dist/{index108.mjs → tokens/themes.mjs} +0 -0
- /package/dist/{index16.cjs → utils/fonts.cjs} +0 -0
- /package/dist/{index16.mjs → utils/fonts.mjs} +0 -0
- /package/dist/{index57.cjs → utils/icons.cjs} +0 -0
- /package/dist/{index57.mjs → utils/icons.mjs} +0 -0
- /package/dist/{index107.cjs → utils/validation.cjs} +0 -0
- /package/dist/{index107.mjs → utils/validation.mjs} +0 -0
package/dist/index222.mjs
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { jsxs as p, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as f } from "react";
|
|
3
|
-
import { ArrowDown as u } from "lucide-react";
|
|
4
|
-
import { useAutoScroll as g } from "./index95.mjs";
|
|
5
|
-
import e from "./index220.mjs";
|
|
6
|
-
import { Button as h } from "./index26.mjs";
|
|
7
|
-
const B = f(
|
|
8
|
-
({ children: r, autoScroll: a = !0, className: l, ...i }, o) => {
|
|
9
|
-
const { scrollRef: m, isAtBottom: n, scrollToBottom: c } = g({
|
|
10
|
-
enabled: a
|
|
11
|
-
});
|
|
12
|
-
return /* @__PURE__ */ p(
|
|
13
|
-
"div",
|
|
14
|
-
{
|
|
15
|
-
ref: (t) => {
|
|
16
|
-
m.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
|
|
17
|
-
},
|
|
18
|
-
className: [e.messages, l].filter(Boolean).join(" "),
|
|
19
|
-
role: "log",
|
|
20
|
-
"aria-live": "polite",
|
|
21
|
-
"aria-label": "Chat messages",
|
|
22
|
-
"aria-relevant": "additions",
|
|
23
|
-
...i,
|
|
24
|
-
children: [
|
|
25
|
-
/* @__PURE__ */ s("div", { className: e.messagesInner, children: r }),
|
|
26
|
-
!n && /* @__PURE__ */ s("div", { className: e.scrollToBottomWrapper, children: /* @__PURE__ */ s(
|
|
27
|
-
h,
|
|
28
|
-
{
|
|
29
|
-
variant: "secondary",
|
|
30
|
-
size: "sm",
|
|
31
|
-
iconOnly: !0,
|
|
32
|
-
icon: /* @__PURE__ */ s(u, { size: 18 }),
|
|
33
|
-
onClick: c,
|
|
34
|
-
"aria-label": "Scroll to latest messages",
|
|
35
|
-
className: e.scrollToBottomButton
|
|
36
|
-
}
|
|
37
|
-
) })
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
);
|
|
43
|
-
B.displayName = "ChatMessages";
|
|
44
|
-
export {
|
|
45
|
-
B as ChatMessages
|
|
46
|
-
};
|
package/dist/index223.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),t=require("lucide-react"),p=require("./index227.cjs"),y=require("./index232.cjs"),e=require("./index220.cjs"),R=a=>a?new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0}).format(a):"",S=a=>{switch(a){case"sending":return s.jsx(t.Clock,{size:12});case"sent":return s.jsx(t.Check,{size:12});case"error":return s.jsx(t.AlertCircle,{size:12});default:return null}},b=({role:a,content:u,timestamp:m,status:i,attachments:d,avatar:C,showAvatar:N,actions:c,isStreaming:k,onImageClick:f,onRetry:g,reaction:l,onReaction:o,children:j,className:h,...x})=>{const r=a==="user",A=a==="system",v=a==="assistant",B=N??!1;return A?s.jsx("div",{className:[e.default.message,h].filter(Boolean).join(" "),role:"listitem",...x,children:s.jsx("div",{className:e.default.messageContent,children:s.jsx("div",{className:e.default.messageBubbleSystem,children:j||u})})}):s.jsxs("div",{className:[e.default.message,r&&e.default.messageUser,v&&e.default.messageAssistant,h].filter(Boolean).join(" "),role:"listitem",...x,children:[B&&s.jsx("div",{className:[e.default.messageAvatar,r?e.default.messageAvatarUser:e.default.messageAvatarAssistant].filter(Boolean).join(" "),"aria-hidden":"true",children:C||(r?s.jsx(t.User,{size:18}):s.jsx(t.Bot,{size:18}))}),s.jsxs("div",{className:e.default.messageContent,children:[s.jsxs("div",{className:[e.default.messageBubble,r?e.default.messageBubbleUser:e.default.messageBubbleAssistant].filter(Boolean).join(" "),children:[j||s.jsx(p.ChatMarkdown,{content:u,className:r?e.default.markdownUser:void 0}),k&&s.jsx("span",{className:e.default.streamingCursor})]}),d&&d.length>0&&s.jsx("div",{className:e.default.messageAttachments,children:d.map(n=>s.jsx(y.ChatAttachment,{attachment:n,onClick:n.type==="image"&&f?()=>f(n):void 0},n.id))}),s.jsxs("div",{className:e.default.messageFooter,children:[m&&s.jsx("span",{className:e.default.messageTimestamp,children:R(m)}),i&&s.jsxs("span",{className:[e.default.messageStatus,i==="error"&&e.default.messageStatusError].filter(Boolean).join(" "),children:[S(i),i==="error"&&"Failed to send"]}),i==="error"&&g&&s.jsxs("button",{className:e.default.messageRetry,onClick:g,"aria-label":"Retry sending message",children:[s.jsx(t.RotateCcw,{size:12}),"Retry"]}),c&&s.jsx("div",{className:e.default.messageActions,children:c}),v&&o&&s.jsxs("div",{className:[e.default.messageReactions,l&&e.default.messageReactionsVisible].filter(Boolean).join(" "),children:[s.jsx("button",{className:[e.default.messageReactionButton,l==="like"&&e.default.messageReactionActive].filter(Boolean).join(" "),onClick:()=>o("like"),"aria-label":"Like this response","aria-pressed":l==="like",children:s.jsx(t.ThumbsUp,{size:14})}),s.jsx("button",{className:[e.default.messageReactionButton,l==="dislike"&&e.default.messageReactionActive].filter(Boolean).join(" "),onClick:()=>o("dislike"),"aria-label":"Dislike this response","aria-pressed":l==="dislike",children:s.jsx(t.ThumbsDown,{size:14})})]})]})]})]})};b.displayName="ChatMessage";exports.ChatMessage=b;
|
package/dist/index223.mjs
DELETED
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
import { jsx as s, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import { User as j, Bot as y, RotateCcw as z, ThumbsUp as U, ThumbsDown as w, AlertCircle as R, Check as S, Clock as T } from "lucide-react";
|
|
3
|
-
import { ChatMarkdown as x } from "./index227.mjs";
|
|
4
|
-
import { ChatAttachment as D } from "./index232.mjs";
|
|
5
|
-
import e from "./index220.mjs";
|
|
6
|
-
const F = (a) => a ? new Intl.DateTimeFormat("en-US", {
|
|
7
|
-
hour: "numeric",
|
|
8
|
-
minute: "2-digit",
|
|
9
|
-
hour12: !0
|
|
10
|
-
}).format(a) : "", M = (a) => {
|
|
11
|
-
switch (a) {
|
|
12
|
-
case "sending":
|
|
13
|
-
return /* @__PURE__ */ s(T, { size: 12 });
|
|
14
|
-
case "sent":
|
|
15
|
-
return /* @__PURE__ */ s(S, { size: 12 });
|
|
16
|
-
case "error":
|
|
17
|
-
return /* @__PURE__ */ s(R, { size: 12 });
|
|
18
|
-
default:
|
|
19
|
-
return null;
|
|
20
|
-
}
|
|
21
|
-
}, E = ({
|
|
22
|
-
role: a,
|
|
23
|
-
content: c,
|
|
24
|
-
timestamp: d,
|
|
25
|
-
status: r,
|
|
26
|
-
attachments: o,
|
|
27
|
-
avatar: b,
|
|
28
|
-
showAvatar: k,
|
|
29
|
-
actions: g,
|
|
30
|
-
isStreaming: B,
|
|
31
|
-
onImageClick: u,
|
|
32
|
-
onRetry: h,
|
|
33
|
-
reaction: l,
|
|
34
|
-
onReaction: m,
|
|
35
|
-
children: f,
|
|
36
|
-
className: v,
|
|
37
|
-
...p
|
|
38
|
-
}) => {
|
|
39
|
-
const t = a === "user", A = a === "system", N = a === "assistant", C = k ?? !1;
|
|
40
|
-
return A ? /* @__PURE__ */ s(
|
|
41
|
-
"div",
|
|
42
|
-
{
|
|
43
|
-
className: [e.message, v].filter(Boolean).join(" "),
|
|
44
|
-
role: "listitem",
|
|
45
|
-
...p,
|
|
46
|
-
children: /* @__PURE__ */ s("div", { className: e.messageContent, children: /* @__PURE__ */ s("div", { className: e.messageBubbleSystem, children: f || c }) })
|
|
47
|
-
}
|
|
48
|
-
) : /* @__PURE__ */ i(
|
|
49
|
-
"div",
|
|
50
|
-
{
|
|
51
|
-
className: [
|
|
52
|
-
e.message,
|
|
53
|
-
t && e.messageUser,
|
|
54
|
-
N && e.messageAssistant,
|
|
55
|
-
v
|
|
56
|
-
].filter(Boolean).join(" "),
|
|
57
|
-
role: "listitem",
|
|
58
|
-
...p,
|
|
59
|
-
children: [
|
|
60
|
-
C && /* @__PURE__ */ s(
|
|
61
|
-
"div",
|
|
62
|
-
{
|
|
63
|
-
className: [
|
|
64
|
-
e.messageAvatar,
|
|
65
|
-
t ? e.messageAvatarUser : e.messageAvatarAssistant
|
|
66
|
-
].filter(Boolean).join(" "),
|
|
67
|
-
"aria-hidden": "true",
|
|
68
|
-
children: b || (t ? /* @__PURE__ */ s(j, { size: 18 }) : /* @__PURE__ */ s(y, { size: 18 }))
|
|
69
|
-
}
|
|
70
|
-
),
|
|
71
|
-
/* @__PURE__ */ i("div", { className: e.messageContent, children: [
|
|
72
|
-
/* @__PURE__ */ i(
|
|
73
|
-
"div",
|
|
74
|
-
{
|
|
75
|
-
className: [
|
|
76
|
-
e.messageBubble,
|
|
77
|
-
t ? e.messageBubbleUser : e.messageBubbleAssistant
|
|
78
|
-
].filter(Boolean).join(" "),
|
|
79
|
-
children: [
|
|
80
|
-
f || /* @__PURE__ */ s(
|
|
81
|
-
x,
|
|
82
|
-
{
|
|
83
|
-
content: c,
|
|
84
|
-
className: t ? e.markdownUser : void 0
|
|
85
|
-
}
|
|
86
|
-
),
|
|
87
|
-
B && /* @__PURE__ */ s("span", { className: e.streamingCursor })
|
|
88
|
-
]
|
|
89
|
-
}
|
|
90
|
-
),
|
|
91
|
-
o && o.length > 0 && /* @__PURE__ */ s("div", { className: e.messageAttachments, children: o.map((n) => /* @__PURE__ */ s(
|
|
92
|
-
D,
|
|
93
|
-
{
|
|
94
|
-
attachment: n,
|
|
95
|
-
onClick: n.type === "image" && u ? () => u(n) : void 0
|
|
96
|
-
},
|
|
97
|
-
n.id
|
|
98
|
-
)) }),
|
|
99
|
-
/* @__PURE__ */ i("div", { className: e.messageFooter, children: [
|
|
100
|
-
d && /* @__PURE__ */ s("span", { className: e.messageTimestamp, children: F(d) }),
|
|
101
|
-
r && /* @__PURE__ */ i(
|
|
102
|
-
"span",
|
|
103
|
-
{
|
|
104
|
-
className: [
|
|
105
|
-
e.messageStatus,
|
|
106
|
-
r === "error" && e.messageStatusError
|
|
107
|
-
].filter(Boolean).join(" "),
|
|
108
|
-
children: [
|
|
109
|
-
M(r),
|
|
110
|
-
r === "error" && "Failed to send"
|
|
111
|
-
]
|
|
112
|
-
}
|
|
113
|
-
),
|
|
114
|
-
r === "error" && h && /* @__PURE__ */ i(
|
|
115
|
-
"button",
|
|
116
|
-
{
|
|
117
|
-
className: e.messageRetry,
|
|
118
|
-
onClick: h,
|
|
119
|
-
"aria-label": "Retry sending message",
|
|
120
|
-
children: [
|
|
121
|
-
/* @__PURE__ */ s(z, { size: 12 }),
|
|
122
|
-
"Retry"
|
|
123
|
-
]
|
|
124
|
-
}
|
|
125
|
-
),
|
|
126
|
-
g && /* @__PURE__ */ s("div", { className: e.messageActions, children: g }),
|
|
127
|
-
N && m && /* @__PURE__ */ i(
|
|
128
|
-
"div",
|
|
129
|
-
{
|
|
130
|
-
className: [
|
|
131
|
-
e.messageReactions,
|
|
132
|
-
l && e.messageReactionsVisible
|
|
133
|
-
].filter(Boolean).join(" "),
|
|
134
|
-
children: [
|
|
135
|
-
/* @__PURE__ */ s(
|
|
136
|
-
"button",
|
|
137
|
-
{
|
|
138
|
-
className: [
|
|
139
|
-
e.messageReactionButton,
|
|
140
|
-
l === "like" && e.messageReactionActive
|
|
141
|
-
].filter(Boolean).join(" "),
|
|
142
|
-
onClick: () => m("like"),
|
|
143
|
-
"aria-label": "Like this response",
|
|
144
|
-
"aria-pressed": l === "like",
|
|
145
|
-
children: /* @__PURE__ */ s(U, { size: 14 })
|
|
146
|
-
}
|
|
147
|
-
),
|
|
148
|
-
/* @__PURE__ */ s(
|
|
149
|
-
"button",
|
|
150
|
-
{
|
|
151
|
-
className: [
|
|
152
|
-
e.messageReactionButton,
|
|
153
|
-
l === "dislike" && e.messageReactionActive
|
|
154
|
-
].filter(Boolean).join(" "),
|
|
155
|
-
onClick: () => m("dislike"),
|
|
156
|
-
"aria-label": "Dislike this response",
|
|
157
|
-
"aria-pressed": l === "dislike",
|
|
158
|
-
children: /* @__PURE__ */ s(w, { size: 14 })
|
|
159
|
-
}
|
|
160
|
-
)
|
|
161
|
-
]
|
|
162
|
-
}
|
|
163
|
-
)
|
|
164
|
-
] })
|
|
165
|
-
] })
|
|
166
|
-
]
|
|
167
|
-
}
|
|
168
|
-
);
|
|
169
|
-
};
|
|
170
|
-
E.displayName = "ChatMessage";
|
|
171
|
-
export {
|
|
172
|
-
E as ChatMessage
|
|
173
|
-
};
|
package/dist/index224.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("react"),o=require("lucide-react"),_=require("./index96.cjs"),$=require("./index230.cjs"),E=require("./index289.cjs"),a=require("./index220.cjs"),X=m=>m.type.startsWith("image/")?e.jsx(o.Image,{size:14}):e.jsx(o.File,{size:14}),y=l.forwardRef(({onSend:m,placeholder:R="Type a message...",allowAttachments:N=!0,allowVoiceRecording:S=!0,allowAudioUpload:G=!0,disabled:i=!1,maxLength:f,acceptedFileTypes:k=["image/*","audio/*",".pdf",".doc",".docx",".txt"],isLoading:s=!1,pendingAttachments:z,onRemoveAttachment:I,className:q,...w},r)=>{const[j,h]=l.useState(!1),u=l.useRef(null),{value:x,setValue:B,attachments:D,addAttachments:c,removeAttachment:F,handleSubmit:g,handleKeyDown:V,textareaRef:C,isEmpty:P}=_.useChatInput({maxLength:f,onSend:m,disabled:i||s}),d=z||D,M=I||F,T=l.useCallback(t=>{C.current=t,typeof r=="function"?r(t):r&&(r.current=t)},[r,C]),W=l.useCallback(t=>{const n=t.target.files;n&&n.length>0&&c(Array.from(n)),u.current&&(u.current.value="")},[c]),K=l.useCallback(t=>{const n=t.clipboardData.items,p=[];for(const v of n)if(v.type.startsWith("image/")){const A=v.getAsFile();A&&p.push(A)}p.length>0&&(t.preventDefault(),c(p))},[c]),O=l.useCallback(t=>{const n=Object.assign(t,{name:`voice-${Date.now()}.webm`,lastModified:Date.now()});c([n]),h(!1)},[c]),U=l.useCallback(()=>{i||s||g()},[i,s,g]),b=!P||d.length>0;return e.jsx("div",{className:[a.default.inputContainer,q].filter(Boolean).join(" "),children:e.jsxs("div",{className:a.default.inputWrapper,children:[d.length>0&&e.jsx("div",{className:a.default.pendingAttachments,children:d.map((t,n)=>e.jsxs("div",{className:a.default.pendingAttachment,children:[X(t),e.jsx("span",{children:t.name}),e.jsxs("span",{className:a.default.pendingAttachmentSize,children:["(",E.formatFileSize(t.size),")"]}),e.jsx("button",{className:a.default.pendingAttachmentRemove,onClick:()=>M(n),"aria-label":`Remove ${t.name}`,children:e.jsx(o.X,{size:14})})]},n))}),j&&e.jsx($.ChatVoiceRecorder,{onRecordingComplete:O,onCancel:()=>h(!1)}),!j&&e.jsxs("div",{className:a.default.inputBox,children:[N&&e.jsxs("div",{className:a.default.inputActions,children:[e.jsx("input",{ref:u,type:"file",accept:k.join(","),multiple:!0,onChange:W,style:{display:"none"},"aria-hidden":"true"}),e.jsx("button",{className:a.default.inputButton,onClick:()=>u.current?.click(),disabled:i||s,"aria-label":"Attach file",title:"Attach file",children:e.jsx(o.Paperclip,{size:20})})]}),e.jsx("textarea",{ref:T,className:a.default.inputTextarea,value:x,onChange:t=>B(t.target.value),onKeyDown:V,onPaste:K,placeholder:R,disabled:i||s,maxLength:f,rows:1,"aria-label":"Message input",...w}),e.jsxs("div",{className:a.default.inputActions,children:[S&&!x&&d.length===0&&e.jsx("button",{className:a.default.inputButton,onClick:()=>h(!0),disabled:i||s,"aria-label":"Record voice message",title:"Record voice message",children:e.jsx(o.Mic,{size:20})}),e.jsx("button",{className:[a.default.inputButton,b&&a.default.inputButtonPrimary].filter(Boolean).join(" "),onClick:U,disabled:i||s||!b,"aria-label":"Send message",title:"Send message",children:s?e.jsx("span",{className:a.default.inputSpinner}):e.jsx(o.Send,{size:20})})]})]})]})})});y.displayName="ChatInput";exports.ChatInput=y;
|
package/dist/index224.mjs
DELETED
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { jsx as t, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as E, useState as O, useRef as X, useCallback as r } from "react";
|
|
3
|
-
import { X as _, Paperclip as q, Mic as G, Send as H, Image as J, File as Q } from "lucide-react";
|
|
4
|
-
import { useChatInput as Y } from "./index96.mjs";
|
|
5
|
-
import { ChatVoiceRecorder as Z } from "./index230.mjs";
|
|
6
|
-
import { formatFileSize as L } from "./index289.mjs";
|
|
7
|
-
import n from "./index220.mjs";
|
|
8
|
-
const ee = (p) => p.type.startsWith("image/") ? /* @__PURE__ */ t(J, { size: 14 }) : /* @__PURE__ */ t(Q, { size: 14 }), te = E(
|
|
9
|
-
({
|
|
10
|
-
onSend: p,
|
|
11
|
-
placeholder: S = "Type a message...",
|
|
12
|
-
allowAttachments: R = !0,
|
|
13
|
-
allowVoiceRecording: z = !0,
|
|
14
|
-
allowAudioUpload: ne = !0,
|
|
15
|
-
disabled: s = !1,
|
|
16
|
-
maxLength: f,
|
|
17
|
-
acceptedFileTypes: w = [
|
|
18
|
-
"image/*",
|
|
19
|
-
"audio/*",
|
|
20
|
-
".pdf",
|
|
21
|
-
".doc",
|
|
22
|
-
".docx",
|
|
23
|
-
".txt"
|
|
24
|
-
],
|
|
25
|
-
isLoading: i = !1,
|
|
26
|
-
pendingAttachments: x,
|
|
27
|
-
onRemoveAttachment: B,
|
|
28
|
-
className: j,
|
|
29
|
-
...k
|
|
30
|
-
}, o) => {
|
|
31
|
-
const [g, h] = O(!1), m = X(null), {
|
|
32
|
-
value: v,
|
|
33
|
-
setValue: D,
|
|
34
|
-
attachments: F,
|
|
35
|
-
addAttachments: l,
|
|
36
|
-
removeAttachment: I,
|
|
37
|
-
handleSubmit: A,
|
|
38
|
-
handleKeyDown: V,
|
|
39
|
-
textareaRef: b,
|
|
40
|
-
isEmpty: P
|
|
41
|
-
} = Y({
|
|
42
|
-
maxLength: f,
|
|
43
|
-
onSend: p,
|
|
44
|
-
disabled: s || i
|
|
45
|
-
}), u = x || F, M = B || I, W = r(
|
|
46
|
-
(e) => {
|
|
47
|
-
b.current = e, typeof o == "function" ? o(e) : o && (o.current = e);
|
|
48
|
-
},
|
|
49
|
-
[o, b]
|
|
50
|
-
), K = r(
|
|
51
|
-
(e) => {
|
|
52
|
-
const a = e.target.files;
|
|
53
|
-
a && a.length > 0 && l(Array.from(a)), m.current && (m.current.value = "");
|
|
54
|
-
},
|
|
55
|
-
[l]
|
|
56
|
-
), T = r(
|
|
57
|
-
(e) => {
|
|
58
|
-
const a = e.clipboardData.items, d = [];
|
|
59
|
-
for (const C of a)
|
|
60
|
-
if (C.type.startsWith("image/")) {
|
|
61
|
-
const N = C.getAsFile();
|
|
62
|
-
N && d.push(N);
|
|
63
|
-
}
|
|
64
|
-
d.length > 0 && (e.preventDefault(), l(d));
|
|
65
|
-
},
|
|
66
|
-
[l]
|
|
67
|
-
), U = r(
|
|
68
|
-
(e) => {
|
|
69
|
-
const a = Object.assign(e, {
|
|
70
|
-
name: `voice-${Date.now()}.webm`,
|
|
71
|
-
lastModified: Date.now()
|
|
72
|
-
});
|
|
73
|
-
l([a]), h(!1);
|
|
74
|
-
},
|
|
75
|
-
[l]
|
|
76
|
-
), $ = r(() => {
|
|
77
|
-
s || i || A();
|
|
78
|
-
}, [s, i, A]), y = !P || u.length > 0;
|
|
79
|
-
return /* @__PURE__ */ t(
|
|
80
|
-
"div",
|
|
81
|
-
{
|
|
82
|
-
className: [n.inputContainer, j].filter(Boolean).join(" "),
|
|
83
|
-
children: /* @__PURE__ */ c("div", { className: n.inputWrapper, children: [
|
|
84
|
-
u.length > 0 && /* @__PURE__ */ t("div", { className: n.pendingAttachments, children: u.map((e, a) => /* @__PURE__ */ c("div", { className: n.pendingAttachment, children: [
|
|
85
|
-
ee(e),
|
|
86
|
-
/* @__PURE__ */ t("span", { children: e.name }),
|
|
87
|
-
/* @__PURE__ */ c("span", { className: n.pendingAttachmentSize, children: [
|
|
88
|
-
"(",
|
|
89
|
-
L(e.size),
|
|
90
|
-
")"
|
|
91
|
-
] }),
|
|
92
|
-
/* @__PURE__ */ t(
|
|
93
|
-
"button",
|
|
94
|
-
{
|
|
95
|
-
className: n.pendingAttachmentRemove,
|
|
96
|
-
onClick: () => M(a),
|
|
97
|
-
"aria-label": `Remove ${e.name}`,
|
|
98
|
-
children: /* @__PURE__ */ t(_, { size: 14 })
|
|
99
|
-
}
|
|
100
|
-
)
|
|
101
|
-
] }, a)) }),
|
|
102
|
-
g && /* @__PURE__ */ t(
|
|
103
|
-
Z,
|
|
104
|
-
{
|
|
105
|
-
onRecordingComplete: U,
|
|
106
|
-
onCancel: () => h(!1)
|
|
107
|
-
}
|
|
108
|
-
),
|
|
109
|
-
!g && /* @__PURE__ */ c("div", { className: n.inputBox, children: [
|
|
110
|
-
R && /* @__PURE__ */ c("div", { className: n.inputActions, children: [
|
|
111
|
-
/* @__PURE__ */ t(
|
|
112
|
-
"input",
|
|
113
|
-
{
|
|
114
|
-
ref: m,
|
|
115
|
-
type: "file",
|
|
116
|
-
accept: w.join(","),
|
|
117
|
-
multiple: !0,
|
|
118
|
-
onChange: K,
|
|
119
|
-
style: { display: "none" },
|
|
120
|
-
"aria-hidden": "true"
|
|
121
|
-
}
|
|
122
|
-
),
|
|
123
|
-
/* @__PURE__ */ t(
|
|
124
|
-
"button",
|
|
125
|
-
{
|
|
126
|
-
className: n.inputButton,
|
|
127
|
-
onClick: () => m.current?.click(),
|
|
128
|
-
disabled: s || i,
|
|
129
|
-
"aria-label": "Attach file",
|
|
130
|
-
title: "Attach file",
|
|
131
|
-
children: /* @__PURE__ */ t(q, { size: 20 })
|
|
132
|
-
}
|
|
133
|
-
)
|
|
134
|
-
] }),
|
|
135
|
-
/* @__PURE__ */ t(
|
|
136
|
-
"textarea",
|
|
137
|
-
{
|
|
138
|
-
ref: W,
|
|
139
|
-
className: n.inputTextarea,
|
|
140
|
-
value: v,
|
|
141
|
-
onChange: (e) => D(e.target.value),
|
|
142
|
-
onKeyDown: V,
|
|
143
|
-
onPaste: T,
|
|
144
|
-
placeholder: S,
|
|
145
|
-
disabled: s || i,
|
|
146
|
-
maxLength: f,
|
|
147
|
-
rows: 1,
|
|
148
|
-
"aria-label": "Message input",
|
|
149
|
-
...k
|
|
150
|
-
}
|
|
151
|
-
),
|
|
152
|
-
/* @__PURE__ */ c("div", { className: n.inputActions, children: [
|
|
153
|
-
z && !v && u.length === 0 && /* @__PURE__ */ t(
|
|
154
|
-
"button",
|
|
155
|
-
{
|
|
156
|
-
className: n.inputButton,
|
|
157
|
-
onClick: () => h(!0),
|
|
158
|
-
disabled: s || i,
|
|
159
|
-
"aria-label": "Record voice message",
|
|
160
|
-
title: "Record voice message",
|
|
161
|
-
children: /* @__PURE__ */ t(G, { size: 20 })
|
|
162
|
-
}
|
|
163
|
-
),
|
|
164
|
-
/* @__PURE__ */ t(
|
|
165
|
-
"button",
|
|
166
|
-
{
|
|
167
|
-
className: [
|
|
168
|
-
n.inputButton,
|
|
169
|
-
y && n.inputButtonPrimary
|
|
170
|
-
].filter(Boolean).join(" "),
|
|
171
|
-
onClick: $,
|
|
172
|
-
disabled: s || i || !y,
|
|
173
|
-
"aria-label": "Send message",
|
|
174
|
-
title: "Send message",
|
|
175
|
-
children: i ? /* @__PURE__ */ t("span", { className: n.inputSpinner }) : /* @__PURE__ */ t(H, { size: 20 })
|
|
176
|
-
}
|
|
177
|
-
)
|
|
178
|
-
] })
|
|
179
|
-
] })
|
|
180
|
-
] })
|
|
181
|
-
}
|
|
182
|
-
);
|
|
183
|
-
}
|
|
184
|
-
);
|
|
185
|
-
te.displayName = "ChatInput";
|
|
186
|
-
export {
|
|
187
|
-
te as ChatInput
|
|
188
|
-
};
|
package/dist/index225.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("./index220.cjs"),s=({label:t="Generating response",className:i,...n})=>a.jsx("div",{className:[e.default.message,e.default.messageAssistant,i].filter(Boolean).join(" "),role:"status","aria-live":"polite","aria-label":t,...n,children:a.jsx("div",{className:e.default.messageContent,children:a.jsx("div",{className:[e.default.messageBubble,e.default.messageBubbleAssistant,e.default.thinkingBubble].join(" "),children:a.jsx("span",{className:e.default.thinkingSpinner})})})});s.displayName="ChatTypingIndicator";exports.ChatTypingIndicator=s;
|
package/dist/index225.mjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import e from "./index220.mjs";
|
|
3
|
-
const t = ({
|
|
4
|
-
label: a = "Generating response",
|
|
5
|
-
className: i,
|
|
6
|
-
...n
|
|
7
|
-
}) => /* @__PURE__ */ s(
|
|
8
|
-
"div",
|
|
9
|
-
{
|
|
10
|
-
className: [e.message, e.messageAssistant, i].filter(Boolean).join(" "),
|
|
11
|
-
role: "status",
|
|
12
|
-
"aria-live": "polite",
|
|
13
|
-
"aria-label": a,
|
|
14
|
-
...n,
|
|
15
|
-
children: /* @__PURE__ */ s("div", { className: e.messageContent, children: /* @__PURE__ */ s(
|
|
16
|
-
"div",
|
|
17
|
-
{
|
|
18
|
-
className: [
|
|
19
|
-
e.messageBubble,
|
|
20
|
-
e.messageBubbleAssistant,
|
|
21
|
-
e.thinkingBubble
|
|
22
|
-
].join(" "),
|
|
23
|
-
children: /* @__PURE__ */ s("span", { className: e.thinkingSpinner })
|
|
24
|
-
}
|
|
25
|
-
) })
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
t.displayName = "ChatTypingIndicator";
|
|
29
|
-
export {
|
|
30
|
-
t as ChatTypingIndicator
|
|
31
|
-
};
|
package/dist/index226.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("react"),f=require("react-syntax-highlighter"),d=require("react-syntax-highlighter/dist/esm/styles/prism"),u=require("lucide-react"),o=require("./index220.cjs"),k=require("./index88.cjs"),b=t=>t?{js:"javascript",ts:"typescript",jsx:"jsx",tsx:"tsx",py:"python",rb:"ruby",sh:"bash",shell:"bash",yml:"yaml",md:"markdown"}[t.toLowerCase()]||t.toLowerCase():"text",h=({code:t,language:s,showLineNumbers:m=!1,showCopyButton:p=!0,maxHeight:y="400px",className:C,...x})=>{const[a,r]=n.useState(!1);let c="dark";try{c=k.useThemeContext().theme}catch{}const g=n.useCallback(async()=>{try{await navigator.clipboard.writeText(t),r(!0),setTimeout(()=>r(!1),2e3)}catch(l){console.error("Failed to copy code:",l)}},[t]),i=b(s),j=c==="light"?d.oneLight:d.oneDark;return e.jsxs("div",{className:[o.default.codeBlock,C].filter(Boolean).join(" "),...x,children:[e.jsxs("div",{className:o.default.codeBlockHeader,children:[e.jsx("span",{className:o.default.codeBlockLanguage,children:i}),p&&e.jsx("button",{className:[o.default.codeBlockCopy,a&&o.default.codeBlockCopied].filter(Boolean).join(" "),onClick:g,"aria-label":a?"Copied!":"Copy code",children:a?e.jsxs(e.Fragment,{children:[e.jsx(u.Check,{size:14}),"Copied!"]}):e.jsxs(e.Fragment,{children:[e.jsx(u.Copy,{size:14}),"Copy"]})})]}),e.jsx("div",{className:o.default.codeBlockContent,style:{maxHeight:y},children:e.jsx(f.Prism,{language:i,style:j,showLineNumbers:m,customStyle:{margin:0,padding:0,background:"transparent",fontSize:"inherit",lineHeight:"inherit"},codeTagProps:{style:{fontFamily:"var(--font-mono)"}},children:t})})]})};h.displayName="ChatCodeBlock";exports.ChatCodeBlock=h;
|
package/dist/index226.mjs
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { jsxs as r, jsx as o, Fragment as d } from "react/jsx-runtime";
|
|
2
|
-
import { useState as g, useCallback as k } from "react";
|
|
3
|
-
import { Prism as x } from "react-syntax-highlighter";
|
|
4
|
-
import { oneLight as B, oneDark as b } from "react-syntax-highlighter/dist/esm/styles/prism";
|
|
5
|
-
import { Check as j, Copy as v } from "lucide-react";
|
|
6
|
-
import t from "./index220.mjs";
|
|
7
|
-
import { useThemeContext as L } from "./index88.mjs";
|
|
8
|
-
const N = (e) => e ? {
|
|
9
|
-
js: "javascript",
|
|
10
|
-
ts: "typescript",
|
|
11
|
-
jsx: "jsx",
|
|
12
|
-
tsx: "tsx",
|
|
13
|
-
py: "python",
|
|
14
|
-
rb: "ruby",
|
|
15
|
-
sh: "bash",
|
|
16
|
-
shell: "bash",
|
|
17
|
-
yml: "yaml",
|
|
18
|
-
md: "markdown"
|
|
19
|
-
}[e.toLowerCase()] || e.toLowerCase() : "text", w = ({
|
|
20
|
-
code: e,
|
|
21
|
-
language: s,
|
|
22
|
-
showLineNumbers: m = !1,
|
|
23
|
-
showCopyButton: p = !0,
|
|
24
|
-
maxHeight: h = "400px",
|
|
25
|
-
className: y,
|
|
26
|
-
...C
|
|
27
|
-
}) => {
|
|
28
|
-
const [a, i] = g(!1);
|
|
29
|
-
let l = "dark";
|
|
30
|
-
try {
|
|
31
|
-
l = L().theme;
|
|
32
|
-
} catch {
|
|
33
|
-
}
|
|
34
|
-
const u = k(async () => {
|
|
35
|
-
try {
|
|
36
|
-
await navigator.clipboard.writeText(e), i(!0), setTimeout(() => i(!1), 2e3);
|
|
37
|
-
} catch (n) {
|
|
38
|
-
console.error("Failed to copy code:", n);
|
|
39
|
-
}
|
|
40
|
-
}, [e]), c = N(s), f = l === "light" ? B : b;
|
|
41
|
-
return /* @__PURE__ */ r(
|
|
42
|
-
"div",
|
|
43
|
-
{
|
|
44
|
-
className: [t.codeBlock, y].filter(Boolean).join(" "),
|
|
45
|
-
...C,
|
|
46
|
-
children: [
|
|
47
|
-
/* @__PURE__ */ r("div", { className: t.codeBlockHeader, children: [
|
|
48
|
-
/* @__PURE__ */ o("span", { className: t.codeBlockLanguage, children: c }),
|
|
49
|
-
p && /* @__PURE__ */ o(
|
|
50
|
-
"button",
|
|
51
|
-
{
|
|
52
|
-
className: [t.codeBlockCopy, a && t.codeBlockCopied].filter(Boolean).join(" "),
|
|
53
|
-
onClick: u,
|
|
54
|
-
"aria-label": a ? "Copied!" : "Copy code",
|
|
55
|
-
children: a ? /* @__PURE__ */ r(d, { children: [
|
|
56
|
-
/* @__PURE__ */ o(j, { size: 14 }),
|
|
57
|
-
"Copied!"
|
|
58
|
-
] }) : /* @__PURE__ */ r(d, { children: [
|
|
59
|
-
/* @__PURE__ */ o(v, { size: 14 }),
|
|
60
|
-
"Copy"
|
|
61
|
-
] })
|
|
62
|
-
}
|
|
63
|
-
)
|
|
64
|
-
] }),
|
|
65
|
-
/* @__PURE__ */ o("div", { className: t.codeBlockContent, style: { maxHeight: h }, children: /* @__PURE__ */ o(
|
|
66
|
-
x,
|
|
67
|
-
{
|
|
68
|
-
language: c,
|
|
69
|
-
style: f,
|
|
70
|
-
showLineNumbers: m,
|
|
71
|
-
customStyle: {
|
|
72
|
-
margin: 0,
|
|
73
|
-
padding: 0,
|
|
74
|
-
background: "transparent",
|
|
75
|
-
fontSize: "inherit",
|
|
76
|
-
lineHeight: "inherit"
|
|
77
|
-
},
|
|
78
|
-
codeTagProps: {
|
|
79
|
-
style: {
|
|
80
|
-
fontFamily: "var(--font-mono)"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
children: e
|
|
84
|
-
}
|
|
85
|
-
) })
|
|
86
|
-
]
|
|
87
|
-
}
|
|
88
|
-
);
|
|
89
|
-
};
|
|
90
|
-
w.displayName = "ChatCodeBlock";
|
|
91
|
-
export {
|
|
92
|
-
w as ChatCodeBlock
|
|
93
|
-
};
|
package/dist/index227.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),d=require("react-markdown"),u=require("remark-gfm"),m=require("./index226.cjs"),g=require("./index220.cjs"),o=({content:s,className:c,...i})=>r.jsx("div",{className:[g.default.markdown,c].filter(Boolean).join(" "),...i,children:r.jsx(d,{remarkPlugins:[u],components:{code({className:e,children:t,...a}){const n=/language-(\w+)/.exec(e||"");if(!n)return r.jsx("code",{className:e,...a,children:t});const l=String(t).replace(/\n$/,"");return r.jsx(m.ChatCodeBlock,{code:l,language:n[1]})},pre({children:e}){return r.jsx(r.Fragment,{children:e})},a({href:e,children:t,...a}){const n=e?.startsWith("http");return r.jsx("a",{href:e,target:n?"_blank":void 0,rel:n?"noopener noreferrer":void 0,...a,children:t})}},children:s})});o.displayName="ChatMarkdown";exports.ChatMarkdown=o;
|
package/dist/index227.mjs
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { jsx as e, Fragment as c } from "react/jsx-runtime";
|
|
2
|
-
import l from "react-markdown";
|
|
3
|
-
import d from "remark-gfm";
|
|
4
|
-
import { ChatCodeBlock as p } from "./index226.mjs";
|
|
5
|
-
import g from "./index220.mjs";
|
|
6
|
-
const f = ({
|
|
7
|
-
content: a,
|
|
8
|
-
className: i,
|
|
9
|
-
...m
|
|
10
|
-
}) => /* @__PURE__ */ e(
|
|
11
|
-
"div",
|
|
12
|
-
{
|
|
13
|
-
className: [g.markdown, i].filter(Boolean).join(" "),
|
|
14
|
-
...m,
|
|
15
|
-
children: /* @__PURE__ */ e(
|
|
16
|
-
l,
|
|
17
|
-
{
|
|
18
|
-
remarkPlugins: [d],
|
|
19
|
-
components: {
|
|
20
|
-
// Custom code block rendering
|
|
21
|
-
code({ className: r, children: o, ...t }) {
|
|
22
|
-
const n = /language-(\w+)/.exec(r || "");
|
|
23
|
-
if (!n)
|
|
24
|
-
return /* @__PURE__ */ e("code", { className: r, ...t, children: o });
|
|
25
|
-
const s = String(o).replace(/\n$/, "");
|
|
26
|
-
return /* @__PURE__ */ e(p, { code: s, language: n[1] });
|
|
27
|
-
},
|
|
28
|
-
// Custom pre rendering (remove wrapper for code blocks)
|
|
29
|
-
pre({ children: r }) {
|
|
30
|
-
return /* @__PURE__ */ e(c, { children: r });
|
|
31
|
-
},
|
|
32
|
-
// Custom link rendering (open in new tab)
|
|
33
|
-
a({ href: r, children: o, ...t }) {
|
|
34
|
-
const n = r?.startsWith("http");
|
|
35
|
-
return /* @__PURE__ */ e(
|
|
36
|
-
"a",
|
|
37
|
-
{
|
|
38
|
-
href: r,
|
|
39
|
-
target: n ? "_blank" : void 0,
|
|
40
|
-
rel: n ? "noopener noreferrer" : void 0,
|
|
41
|
-
...t,
|
|
42
|
-
children: o
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
children: a
|
|
48
|
-
}
|
|
49
|
-
)
|
|
50
|
-
}
|
|
51
|
-
);
|
|
52
|
-
f.displayName = "ChatMarkdown";
|
|
53
|
-
export {
|
|
54
|
-
f as ChatMarkdown
|
|
55
|
-
};
|
package/dist/index228.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),I=require("lucide-react"),a=require("./index220.cjs"),w=require("./index290.cjs"),u=({src:i,alt:t="Image attachment",thumbnail:g,onClick:n,enableLightbox:s=!0,className:o,...l})=>{const[h,c]=d.useState(!1),[f,v]=d.useState(!1),m=()=>{n?n():s&&c(!0)},x=r=>{(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),m())},j=()=>{v(!0)};return f?e.jsxs("div",{className:[a.default.imagePreview,a.default.attachmentPreview,o].filter(Boolean).join(" "),...l,children:[e.jsx("div",{className:a.default.attachmentPreviewIcon,children:e.jsx(I.ImageOff,{size:20})}),e.jsx("span",{className:a.default.attachmentPreviewName,children:"Image failed to load"})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:[a.default.imagePreview,o].filter(Boolean).join(" "),onClick:m,onKeyDown:x,role:"button",tabIndex:0,"aria-label":t,...l,children:e.jsx("img",{src:g||i,alt:t,className:a.default.imagePreviewImg,onError:j,loading:"lazy"})}),s&&e.jsx(w.ChatLightbox,{src:i,alt:t,isOpen:h,onClose:()=>c(!1)})]})};u.displayName="ChatImagePreview";exports.ChatImagePreview=u;
|