@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/index228.mjs
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { jsxs as f, jsx as e, Fragment as u } from "react/jsx-runtime";
|
|
2
|
-
import { useState as g } from "react";
|
|
3
|
-
import { ImageOff as P } from "lucide-react";
|
|
4
|
-
import a from "./index220.mjs";
|
|
5
|
-
import { ChatLightbox as y } from "./index290.mjs";
|
|
6
|
-
const x = ({
|
|
7
|
-
src: i,
|
|
8
|
-
alt: r = "Image attachment",
|
|
9
|
-
thumbnail: h,
|
|
10
|
-
onClick: o,
|
|
11
|
-
enableLightbox: n = !0,
|
|
12
|
-
className: m,
|
|
13
|
-
...s
|
|
14
|
-
}) => {
|
|
15
|
-
const [d, l] = g(!1), [p, v] = g(!1), c = () => {
|
|
16
|
-
o ? o() : n && l(!0);
|
|
17
|
-
}, I = (t) => {
|
|
18
|
-
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), c());
|
|
19
|
-
}, w = () => {
|
|
20
|
-
v(!0);
|
|
21
|
-
};
|
|
22
|
-
return p ? /* @__PURE__ */ f(
|
|
23
|
-
"div",
|
|
24
|
-
{
|
|
25
|
-
className: [a.imagePreview, a.attachmentPreview, m].filter(Boolean).join(" "),
|
|
26
|
-
...s,
|
|
27
|
-
children: [
|
|
28
|
-
/* @__PURE__ */ e("div", { className: a.attachmentPreviewIcon, children: /* @__PURE__ */ e(P, { size: 20 }) }),
|
|
29
|
-
/* @__PURE__ */ e("span", { className: a.attachmentPreviewName, children: "Image failed to load" })
|
|
30
|
-
]
|
|
31
|
-
}
|
|
32
|
-
) : /* @__PURE__ */ f(u, { children: [
|
|
33
|
-
/* @__PURE__ */ e(
|
|
34
|
-
"div",
|
|
35
|
-
{
|
|
36
|
-
className: [a.imagePreview, m].filter(Boolean).join(" "),
|
|
37
|
-
onClick: c,
|
|
38
|
-
onKeyDown: I,
|
|
39
|
-
role: "button",
|
|
40
|
-
tabIndex: 0,
|
|
41
|
-
"aria-label": r,
|
|
42
|
-
...s,
|
|
43
|
-
children: /* @__PURE__ */ e(
|
|
44
|
-
"img",
|
|
45
|
-
{
|
|
46
|
-
src: h || i,
|
|
47
|
-
alt: r,
|
|
48
|
-
className: a.imagePreviewImg,
|
|
49
|
-
onError: w,
|
|
50
|
-
loading: "lazy"
|
|
51
|
-
}
|
|
52
|
-
)
|
|
53
|
-
}
|
|
54
|
-
),
|
|
55
|
-
n && /* @__PURE__ */ e(
|
|
56
|
-
y,
|
|
57
|
-
{
|
|
58
|
-
src: i,
|
|
59
|
-
alt: r,
|
|
60
|
-
isOpen: d,
|
|
61
|
-
onClose: () => l(!1)
|
|
62
|
-
}
|
|
63
|
-
)
|
|
64
|
-
] });
|
|
65
|
-
};
|
|
66
|
-
x.displayName = "ChatImagePreview";
|
|
67
|
-
export {
|
|
68
|
-
x as ChatImagePreview
|
|
69
|
-
};
|
package/dist/index229.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),r=require("react"),P=require("lucide-react"),m=require("./index289.cjs"),l=require("./index220.cjs"),p=({src:k,duration:T,title:h,className:b,...x})=>{const[o,f]=r.useState(!1),[s,d]=r.useState(0),[a,g]=r.useState(T||0),n=r.useRef(null),j=r.useCallback(()=>{const e=n.current;e&&!isNaN(e.duration)&&isFinite(e.duration)&&g(e.duration)},[]),v=r.useCallback(()=>{const e=n.current;e&&d(e.currentTime)},[]),C=r.useCallback(()=>{f(!1),d(0)},[]),w=r.useCallback(()=>{const e=n.current;e&&(o?e.pause():e.play().catch(()=>{f(!1)}),f(!o))},[o]),N=r.useCallback(e=>{const c=n.current;if(!c||!a)return;const u=e.currentTarget.getBoundingClientRect(),y=(e.clientX-u.left)/u.width*a;c.currentTime=y,d(y)},[a]),A=r.useCallback(e=>{const c=n.current;if(!c||!a)return;const u=5;let i=s;switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),i=Math.min(s+u,a);break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),i=Math.max(s-u,0);break;case"Home":e.preventDefault(),i=0;break;case"End":e.preventDefault(),i=a;break;default:return}c.currentTime=i,d(i)},[s,a]),D=a>0?s/a*100:0;return r.useEffect(()=>()=>{const e=n.current;e&&e.pause()},[]),t.jsxs("div",{className:[l.default.audioPlayer,b].filter(Boolean).join(" "),...x,children:[t.jsx("audio",{ref:n,src:k,onLoadedMetadata:j,onTimeUpdate:v,onEnded:C,preload:"metadata"}),t.jsx("button",{className:l.default.audioPlayerButton,onClick:w,"aria-label":o?"Pause":"Play",children:o?t.jsx(P.Pause,{size:16}):t.jsx(P.Play,{size:16})}),t.jsxs("div",{className:l.default.audioPlayerProgress,children:[h&&t.jsx("span",{className:l.default.attachmentPreviewName,children:h}),t.jsx("div",{className:l.default.audioPlayerTrack,onClick:N,onKeyDown:A,role:"slider","aria-label":"Audio progress","aria-valuemin":0,"aria-valuemax":a,"aria-valuenow":s,"aria-valuetext":`${m.formatTime(s)} of ${m.formatTime(a)}`,tabIndex:0,children:t.jsx("div",{className:l.default.audioPlayerFill,style:{width:`${D}%`}})}),t.jsxs("div",{className:l.default.audioPlayerTime,children:[t.jsx("span",{children:m.formatTime(s)}),t.jsx("span",{children:m.formatTime(a)})]})]})]})};p.displayName="ChatAudioPlayer";exports.ChatAudioPlayer=p;
|
package/dist/index229.mjs
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { jsxs as p, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useState as h, useRef as M, useCallback as s, useEffect as R } from "react";
|
|
3
|
-
import { Pause as j, Play as B } from "lucide-react";
|
|
4
|
-
import { formatTime as m } from "./index289.mjs";
|
|
5
|
-
import o from "./index220.mjs";
|
|
6
|
-
const L = ({
|
|
7
|
-
src: g,
|
|
8
|
-
duration: v,
|
|
9
|
-
title: y,
|
|
10
|
-
className: w,
|
|
11
|
-
...T
|
|
12
|
-
}) => {
|
|
13
|
-
const [c, f] = h(!1), [t, u] = h(0), [a, k] = h(v || 0), n = M(null), N = s(() => {
|
|
14
|
-
const e = n.current;
|
|
15
|
-
e && !isNaN(e.duration) && isFinite(e.duration) && k(e.duration);
|
|
16
|
-
}, []), b = s(() => {
|
|
17
|
-
const e = n.current;
|
|
18
|
-
e && u(e.currentTime);
|
|
19
|
-
}, []), C = s(() => {
|
|
20
|
-
f(!1), u(0);
|
|
21
|
-
}, []), D = s(() => {
|
|
22
|
-
const e = n.current;
|
|
23
|
-
e && (c ? e.pause() : e.play().catch(() => {
|
|
24
|
-
f(!1);
|
|
25
|
-
}), f(!c));
|
|
26
|
-
}, [c]), x = s(
|
|
27
|
-
(e) => {
|
|
28
|
-
const l = n.current;
|
|
29
|
-
if (!l || !a) return;
|
|
30
|
-
const d = e.currentTarget.getBoundingClientRect(), P = (e.clientX - d.left) / d.width * a;
|
|
31
|
-
l.currentTime = P, u(P);
|
|
32
|
-
},
|
|
33
|
-
[a]
|
|
34
|
-
), A = s(
|
|
35
|
-
(e) => {
|
|
36
|
-
const l = n.current;
|
|
37
|
-
if (!l || !a) return;
|
|
38
|
-
const d = 5;
|
|
39
|
-
let i = t;
|
|
40
|
-
switch (e.key) {
|
|
41
|
-
case "ArrowRight":
|
|
42
|
-
case "ArrowUp":
|
|
43
|
-
e.preventDefault(), i = Math.min(t + d, a);
|
|
44
|
-
break;
|
|
45
|
-
case "ArrowLeft":
|
|
46
|
-
case "ArrowDown":
|
|
47
|
-
e.preventDefault(), i = Math.max(t - d, 0);
|
|
48
|
-
break;
|
|
49
|
-
case "Home":
|
|
50
|
-
e.preventDefault(), i = 0;
|
|
51
|
-
break;
|
|
52
|
-
case "End":
|
|
53
|
-
e.preventDefault(), i = a;
|
|
54
|
-
break;
|
|
55
|
-
default:
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
l.currentTime = i, u(i);
|
|
59
|
-
},
|
|
60
|
-
[t, a]
|
|
61
|
-
), E = a > 0 ? t / a * 100 : 0;
|
|
62
|
-
return R(() => () => {
|
|
63
|
-
const e = n.current;
|
|
64
|
-
e && e.pause();
|
|
65
|
-
}, []), /* @__PURE__ */ p(
|
|
66
|
-
"div",
|
|
67
|
-
{
|
|
68
|
-
className: [o.audioPlayer, w].filter(Boolean).join(" "),
|
|
69
|
-
...T,
|
|
70
|
-
children: [
|
|
71
|
-
/* @__PURE__ */ r(
|
|
72
|
-
"audio",
|
|
73
|
-
{
|
|
74
|
-
ref: n,
|
|
75
|
-
src: g,
|
|
76
|
-
onLoadedMetadata: N,
|
|
77
|
-
onTimeUpdate: b,
|
|
78
|
-
onEnded: C,
|
|
79
|
-
preload: "metadata"
|
|
80
|
-
}
|
|
81
|
-
),
|
|
82
|
-
/* @__PURE__ */ r(
|
|
83
|
-
"button",
|
|
84
|
-
{
|
|
85
|
-
className: o.audioPlayerButton,
|
|
86
|
-
onClick: D,
|
|
87
|
-
"aria-label": c ? "Pause" : "Play",
|
|
88
|
-
children: c ? /* @__PURE__ */ r(j, { size: 16 }) : /* @__PURE__ */ r(B, { size: 16 })
|
|
89
|
-
}
|
|
90
|
-
),
|
|
91
|
-
/* @__PURE__ */ p("div", { className: o.audioPlayerProgress, children: [
|
|
92
|
-
y && /* @__PURE__ */ r("span", { className: o.attachmentPreviewName, children: y }),
|
|
93
|
-
/* @__PURE__ */ r(
|
|
94
|
-
"div",
|
|
95
|
-
{
|
|
96
|
-
className: o.audioPlayerTrack,
|
|
97
|
-
onClick: x,
|
|
98
|
-
onKeyDown: A,
|
|
99
|
-
role: "slider",
|
|
100
|
-
"aria-label": "Audio progress",
|
|
101
|
-
"aria-valuemin": 0,
|
|
102
|
-
"aria-valuemax": a,
|
|
103
|
-
"aria-valuenow": t,
|
|
104
|
-
"aria-valuetext": `${m(t)} of ${m(a)}`,
|
|
105
|
-
tabIndex: 0,
|
|
106
|
-
children: /* @__PURE__ */ r(
|
|
107
|
-
"div",
|
|
108
|
-
{
|
|
109
|
-
className: o.audioPlayerFill,
|
|
110
|
-
style: { width: `${E}%` }
|
|
111
|
-
}
|
|
112
|
-
)
|
|
113
|
-
}
|
|
114
|
-
),
|
|
115
|
-
/* @__PURE__ */ p("div", { className: o.audioPlayerTime, children: [
|
|
116
|
-
/* @__PURE__ */ r("span", { children: m(t) }),
|
|
117
|
-
/* @__PURE__ */ r("span", { children: m(a) })
|
|
118
|
-
] })
|
|
119
|
-
] })
|
|
120
|
-
]
|
|
121
|
-
}
|
|
122
|
-
);
|
|
123
|
-
};
|
|
124
|
-
L.displayName = "ChatAudioPlayer";
|
|
125
|
-
export {
|
|
126
|
-
L as ChatAudioPlayer
|
|
127
|
-
};
|
package/dist/index23.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("./index194.cjs"),s=({variant:t="neutral",size:d="md",dot:l=!1,className:n,children:r,...u})=>{const o=[e.default.badge,e.default[t],e.default[d],n].filter(Boolean).join(" ");return a.jsxs("span",{className:o,...u,children:[l&&a.jsx("span",{className:e.default.dot,"aria-hidden":"true"}),r]})};s.displayName="Badge";exports.Badge=s;
|
package/dist/index23.mjs
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsxs as d, jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import a from "./index194.mjs";
|
|
3
|
-
const i = ({
|
|
4
|
-
variant: s = "neutral",
|
|
5
|
-
size: e = "md",
|
|
6
|
-
dot: r = !1,
|
|
7
|
-
className: o,
|
|
8
|
-
children: t,
|
|
9
|
-
...l
|
|
10
|
-
}) => {
|
|
11
|
-
const n = [a.badge, a[s], a[e], o].filter(Boolean).join(" ");
|
|
12
|
-
return /* @__PURE__ */ d("span", { className: n, ...l, children: [
|
|
13
|
-
r && /* @__PURE__ */ m("span", { className: a.dot, "aria-hidden": "true" }),
|
|
14
|
-
t
|
|
15
|
-
] });
|
|
16
|
-
};
|
|
17
|
-
i.displayName = "Badge";
|
|
18
|
-
export {
|
|
19
|
-
i as Badge
|
|
20
|
-
};
|
package/dist/index230.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("lucide-react"),g=require("./index106.cjs"),b=require("./index289.cjs"),r=require("./index220.cjs"),t=({onRecordingComplete:s,onCancel:u,maxDuration:f=300,className:a,...d})=>{const{isRecording:o,duration:v,audioBlob:c,error:l,startRecording:R,stopRecording:j,cancelRecording:x,reset:n,isSupported:m}=g.useVoiceRecorder({maxDuration:f,onRecordingComplete:s,onError:B=>console.error("Recording error:",B)}),h=()=>{o?j():c?(s?.(c),n()):R()},N=()=>{x(),u?.()};return m?l?e.jsxs("div",{className:[r.default.voiceRecorder,a].filter(Boolean).join(" "),...d,children:[e.jsx("div",{className:r.default.voiceRecorderInfo,children:e.jsx("span",{className:[r.default.voiceRecorderLabel,r.default.voiceRecorderError].join(" "),children:l})}),e.jsx("button",{className:r.default.inputButton,onClick:n,"aria-label":"Try again",children:e.jsx(i.X,{size:20})})]}):e.jsxs("div",{className:[r.default.voiceRecorder,a].filter(Boolean).join(" "),...d,children:[e.jsx("button",{className:[r.default.voiceRecorderButton,!o&&!c&&r.default.voiceRecorderButtonIdle].filter(Boolean).join(" "),onClick:h,"aria-label":o?"Stop recording":c?"Send recording":"Start recording",children:o?e.jsx(i.Square,{size:20}):c?e.jsx(i.Send,{size:20}):e.jsx(i.Mic,{size:20})}),e.jsxs("div",{className:r.default.voiceRecorderInfo,children:[e.jsx("span",{className:r.default.voiceRecorderDuration,children:b.formatTime(v)}),e.jsx("span",{className:r.default.voiceRecorderLabel,children:o?"Recording...":c?"Recording ready":"Click to record"})]}),o&&e.jsxs("div",{className:r.default.voiceRecorderWaveform,children:[e.jsx("div",{className:r.default.voiceRecorderBar}),e.jsx("div",{className:r.default.voiceRecorderBar}),e.jsx("div",{className:r.default.voiceRecorderBar}),e.jsx("div",{className:r.default.voiceRecorderBar}),e.jsx("div",{className:r.default.voiceRecorderBar})]}),(o||c)&&e.jsx("div",{className:r.default.voiceRecorderActions,children:e.jsx("button",{className:r.default.inputButton,onClick:N,"aria-label":"Cancel recording",children:e.jsx(i.X,{size:20})})})]}):e.jsx("div",{className:[r.default.voiceRecorder,a].filter(Boolean).join(" "),...d,children:e.jsx("div",{className:r.default.voiceRecorderInfo,children:e.jsx("span",{className:r.default.voiceRecorderLabel,children:"Voice recording is not supported in this browser"})})})};t.displayName="ChatVoiceRecorder";exports.ChatVoiceRecorder=t;
|
package/dist/index230.mjs
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { jsx as r, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import { X as t, Square as b, Send as C, Mic as j } from "lucide-react";
|
|
3
|
-
import { useVoiceRecorder as S } from "./index106.mjs";
|
|
4
|
-
import { formatTime as k } from "./index289.mjs";
|
|
5
|
-
import e from "./index220.mjs";
|
|
6
|
-
const z = ({
|
|
7
|
-
onRecordingComplete: d,
|
|
8
|
-
onCancel: v,
|
|
9
|
-
maxDuration: m = 300,
|
|
10
|
-
className: a,
|
|
11
|
-
...n
|
|
12
|
-
}) => {
|
|
13
|
-
const {
|
|
14
|
-
isRecording: o,
|
|
15
|
-
duration: R,
|
|
16
|
-
audioBlob: i,
|
|
17
|
-
error: s,
|
|
18
|
-
startRecording: h,
|
|
19
|
-
stopRecording: u,
|
|
20
|
-
cancelRecording: N,
|
|
21
|
-
reset: l,
|
|
22
|
-
isSupported: f
|
|
23
|
-
} = S({
|
|
24
|
-
maxDuration: m,
|
|
25
|
-
onRecordingComplete: d,
|
|
26
|
-
onError: (g) => console.error("Recording error:", g)
|
|
27
|
-
}), p = () => {
|
|
28
|
-
o ? u() : i ? (d?.(i), l()) : h();
|
|
29
|
-
}, B = () => {
|
|
30
|
-
N(), v?.();
|
|
31
|
-
};
|
|
32
|
-
return f ? s ? /* @__PURE__ */ c(
|
|
33
|
-
"div",
|
|
34
|
-
{
|
|
35
|
-
className: [e.voiceRecorder, a].filter(Boolean).join(" "),
|
|
36
|
-
...n,
|
|
37
|
-
children: [
|
|
38
|
-
/* @__PURE__ */ r("div", { className: e.voiceRecorderInfo, children: /* @__PURE__ */ r(
|
|
39
|
-
"span",
|
|
40
|
-
{
|
|
41
|
-
className: [
|
|
42
|
-
e.voiceRecorderLabel,
|
|
43
|
-
e.voiceRecorderError
|
|
44
|
-
].join(" "),
|
|
45
|
-
children: s
|
|
46
|
-
}
|
|
47
|
-
) }),
|
|
48
|
-
/* @__PURE__ */ r(
|
|
49
|
-
"button",
|
|
50
|
-
{
|
|
51
|
-
className: e.inputButton,
|
|
52
|
-
onClick: l,
|
|
53
|
-
"aria-label": "Try again",
|
|
54
|
-
children: /* @__PURE__ */ r(t, { size: 20 })
|
|
55
|
-
}
|
|
56
|
-
)
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
) : /* @__PURE__ */ c(
|
|
60
|
-
"div",
|
|
61
|
-
{
|
|
62
|
-
className: [e.voiceRecorder, a].filter(Boolean).join(" "),
|
|
63
|
-
...n,
|
|
64
|
-
children: [
|
|
65
|
-
/* @__PURE__ */ r(
|
|
66
|
-
"button",
|
|
67
|
-
{
|
|
68
|
-
className: [
|
|
69
|
-
e.voiceRecorderButton,
|
|
70
|
-
!o && !i && e.voiceRecorderButtonIdle
|
|
71
|
-
].filter(Boolean).join(" "),
|
|
72
|
-
onClick: p,
|
|
73
|
-
"aria-label": o ? "Stop recording" : i ? "Send recording" : "Start recording",
|
|
74
|
-
children: o ? /* @__PURE__ */ r(b, { size: 20 }) : i ? /* @__PURE__ */ r(C, { size: 20 }) : /* @__PURE__ */ r(j, { size: 20 })
|
|
75
|
-
}
|
|
76
|
-
),
|
|
77
|
-
/* @__PURE__ */ c("div", { className: e.voiceRecorderInfo, children: [
|
|
78
|
-
/* @__PURE__ */ r("span", { className: e.voiceRecorderDuration, children: k(R) }),
|
|
79
|
-
/* @__PURE__ */ r("span", { className: e.voiceRecorderLabel, children: o ? "Recording..." : i ? "Recording ready" : "Click to record" })
|
|
80
|
-
] }),
|
|
81
|
-
o && /* @__PURE__ */ c("div", { className: e.voiceRecorderWaveform, children: [
|
|
82
|
-
/* @__PURE__ */ r("div", { className: e.voiceRecorderBar }),
|
|
83
|
-
/* @__PURE__ */ r("div", { className: e.voiceRecorderBar }),
|
|
84
|
-
/* @__PURE__ */ r("div", { className: e.voiceRecorderBar }),
|
|
85
|
-
/* @__PURE__ */ r("div", { className: e.voiceRecorderBar }),
|
|
86
|
-
/* @__PURE__ */ r("div", { className: e.voiceRecorderBar })
|
|
87
|
-
] }),
|
|
88
|
-
(o || i) && /* @__PURE__ */ r("div", { className: e.voiceRecorderActions, children: /* @__PURE__ */ r(
|
|
89
|
-
"button",
|
|
90
|
-
{
|
|
91
|
-
className: e.inputButton,
|
|
92
|
-
onClick: B,
|
|
93
|
-
"aria-label": "Cancel recording",
|
|
94
|
-
children: /* @__PURE__ */ r(t, { size: 20 })
|
|
95
|
-
}
|
|
96
|
-
) })
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
|
-
) : /* @__PURE__ */ r(
|
|
100
|
-
"div",
|
|
101
|
-
{
|
|
102
|
-
className: [e.voiceRecorder, a].filter(Boolean).join(" "),
|
|
103
|
-
...n,
|
|
104
|
-
children: /* @__PURE__ */ r("div", { className: e.voiceRecorderInfo, children: /* @__PURE__ */ r("span", { className: e.voiceRecorderLabel, children: "Voice recording is not supported in this browser" }) })
|
|
105
|
-
}
|
|
106
|
-
);
|
|
107
|
-
};
|
|
108
|
-
z.displayName = "ChatVoiceRecorder";
|
|
109
|
-
export {
|
|
110
|
-
z as ChatVoiceRecorder
|
|
111
|
-
};
|
package/dist/index231.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),t=require("react"),R=require("lucide-react"),h=require("./index289.cjs"),o=require("./index220.cjs"),g=({onFilesSelected:f,accept:i=["*/*"],multiple:C=!0,maxSize:s=10*1024*1024,children:v,className:D,...k})=>{const[m,u]=t.useState(!1),c=t.useRef(null),d=t.useCallback(e=>{if(!e||e.length===0)return;const r=[];Array.from(e).forEach(l=>{if(s&&l.size>s){console.warn(`File ${l.name} exceeds max size of ${h.formatFileSize(s)}`);return}const F=i.includes("*/*"),q=i.flatMap(n=>(n.endsWith("/*"),n));if(!(F||q.some(n=>{if(n.endsWith("/*")){const N=n.split("/")[0];return l.type.startsWith(`${N}/`)}return l.type===n||l.name.endsWith(n)}))){console.warn(`File ${l.name} type not accepted`);return}r.push(l)}),r.length>0&&f?.(r)},[i,s,f]),b=t.useCallback(e=>{e.preventDefault(),e.stopPropagation(),u(!0)},[]),j=t.useCallback(e=>{e.preventDefault(),e.stopPropagation(),u(!1)},[]),y=t.useCallback(e=>{e.preventDefault(),e.stopPropagation(),u(!1);const{files:r}=e.dataTransfer;d(r)},[d]),x=t.useCallback(e=>{d(e.target.files),c.current&&(c.current.value="")},[d]),p=t.useCallback(()=>{c.current?.click()},[]),U=t.useCallback(e=>{(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),p())},[p]);return a.jsxs("div",{className:[o.default.fileUpload,m&&o.default.fileUploadDragging,D].filter(Boolean).join(" "),onDragOver:b,onDragLeave:j,onDrop:y,onClick:p,onKeyDown:U,role:"button",tabIndex:0,"aria-label":"Upload files",...k,children:[a.jsx("input",{ref:c,type:"file",accept:i.join(","),multiple:C,onChange:x,style:{display:"none"},"aria-hidden":"true"}),v||a.jsxs(a.Fragment,{children:[a.jsx("div",{className:o.default.fileUploadIcon,children:a.jsx(R.Upload,{size:32})}),a.jsxs("div",{className:o.default.fileUploadText,children:[a.jsx("strong",{children:"Click to upload"})," or drag and drop"]}),a.jsxs("div",{className:o.default.fileUploadHint,children:["Max file size: ",h.formatFileSize(s)]})]})]})};g.displayName="ChatFileUpload";exports.ChatFileUpload=g;
|
package/dist/index231.mjs
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { jsxs as d, jsx as p, Fragment as A } from "react/jsx-runtime";
|
|
2
|
-
import { useState as I, useRef as W, useCallback as a } from "react";
|
|
3
|
-
import { Upload as $ } from "lucide-react";
|
|
4
|
-
import { formatFileSize as g } from "./index289.mjs";
|
|
5
|
-
import l from "./index220.mjs";
|
|
6
|
-
const P = ({
|
|
7
|
-
onFilesSelected: h,
|
|
8
|
-
accept: s = ["*/*"],
|
|
9
|
-
multiple: m = !0,
|
|
10
|
-
maxSize: r = 10 * 1024 * 1024,
|
|
11
|
-
// 10MB default
|
|
12
|
-
children: D,
|
|
13
|
-
className: v,
|
|
14
|
-
...y
|
|
15
|
-
}) => {
|
|
16
|
-
const [U, f] = I(!1), i = W(null), c = a(
|
|
17
|
-
(e) => {
|
|
18
|
-
if (!e || e.length === 0) return;
|
|
19
|
-
const o = [];
|
|
20
|
-
Array.from(e).forEach((t) => {
|
|
21
|
-
if (r && t.size > r) {
|
|
22
|
-
console.warn(
|
|
23
|
-
`File ${t.name} exceeds max size of ${g(r)}`
|
|
24
|
-
);
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
const j = s.includes("*/*"), w = s.flatMap((n) => (n.endsWith("/*"), n));
|
|
28
|
-
if (!(j || w.some((n) => {
|
|
29
|
-
if (n.endsWith("/*")) {
|
|
30
|
-
const x = n.split("/")[0];
|
|
31
|
-
return t.type.startsWith(`${x}/`);
|
|
32
|
-
}
|
|
33
|
-
return t.type === n || t.name.endsWith(n);
|
|
34
|
-
}))) {
|
|
35
|
-
console.warn(`File ${t.name} type not accepted`);
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
o.push(t);
|
|
39
|
-
}), o.length > 0 && h?.(o);
|
|
40
|
-
},
|
|
41
|
-
[s, r, h]
|
|
42
|
-
), C = a((e) => {
|
|
43
|
-
e.preventDefault(), e.stopPropagation(), f(!0);
|
|
44
|
-
}, []), k = a((e) => {
|
|
45
|
-
e.preventDefault(), e.stopPropagation(), f(!1);
|
|
46
|
-
}, []), F = a(
|
|
47
|
-
(e) => {
|
|
48
|
-
e.preventDefault(), e.stopPropagation(), f(!1);
|
|
49
|
-
const { files: o } = e.dataTransfer;
|
|
50
|
-
c(o);
|
|
51
|
-
},
|
|
52
|
-
[c]
|
|
53
|
-
), N = a(
|
|
54
|
-
(e) => {
|
|
55
|
-
c(e.target.files), i.current && (i.current.value = "");
|
|
56
|
-
},
|
|
57
|
-
[c]
|
|
58
|
-
), u = a(() => {
|
|
59
|
-
i.current?.click();
|
|
60
|
-
}, []), b = a(
|
|
61
|
-
(e) => {
|
|
62
|
-
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), u());
|
|
63
|
-
},
|
|
64
|
-
[u]
|
|
65
|
-
);
|
|
66
|
-
return /* @__PURE__ */ d(
|
|
67
|
-
"div",
|
|
68
|
-
{
|
|
69
|
-
className: [
|
|
70
|
-
l.fileUpload,
|
|
71
|
-
U && l.fileUploadDragging,
|
|
72
|
-
v
|
|
73
|
-
].filter(Boolean).join(" "),
|
|
74
|
-
onDragOver: C,
|
|
75
|
-
onDragLeave: k,
|
|
76
|
-
onDrop: F,
|
|
77
|
-
onClick: u,
|
|
78
|
-
onKeyDown: b,
|
|
79
|
-
role: "button",
|
|
80
|
-
tabIndex: 0,
|
|
81
|
-
"aria-label": "Upload files",
|
|
82
|
-
...y,
|
|
83
|
-
children: [
|
|
84
|
-
/* @__PURE__ */ p(
|
|
85
|
-
"input",
|
|
86
|
-
{
|
|
87
|
-
ref: i,
|
|
88
|
-
type: "file",
|
|
89
|
-
accept: s.join(","),
|
|
90
|
-
multiple: m,
|
|
91
|
-
onChange: N,
|
|
92
|
-
style: { display: "none" },
|
|
93
|
-
"aria-hidden": "true"
|
|
94
|
-
}
|
|
95
|
-
),
|
|
96
|
-
D || /* @__PURE__ */ d(A, { children: [
|
|
97
|
-
/* @__PURE__ */ p("div", { className: l.fileUploadIcon, children: /* @__PURE__ */ p($, { size: 32 }) }),
|
|
98
|
-
/* @__PURE__ */ d("div", { className: l.fileUploadText, children: [
|
|
99
|
-
/* @__PURE__ */ p("strong", { children: "Click to upload" }),
|
|
100
|
-
" or drag and drop"
|
|
101
|
-
] }),
|
|
102
|
-
/* @__PURE__ */ d("div", { className: l.fileUploadHint, children: [
|
|
103
|
-
"Max file size: ",
|
|
104
|
-
g(r)
|
|
105
|
-
] })
|
|
106
|
-
] })
|
|
107
|
-
]
|
|
108
|
-
}
|
|
109
|
-
);
|
|
110
|
-
};
|
|
111
|
-
P.displayName = "ChatFileUpload";
|
|
112
|
-
export {
|
|
113
|
-
P as ChatFileUpload
|
|
114
|
-
};
|
package/dist/index232.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("lucide-react"),p=require("./index228.cjs"),P=require("./index229.cjs"),b=require("./index226.cjs"),C=require("./index289.cjs"),t=require("./index220.cjs"),w=d=>{switch(d){case"image":return e.jsx(a.Image,{size:18});case"audio":return e.jsx(a.Music,{size:18});case"code":return e.jsx(a.Code,{size:18});default:return e.jsx(a.FileText,{size:18})}},v=({attachment:d,removable:h=!1,onRemove:i,onClick:n,className:c,...o})=>{const{type:m,name:s,url:l,content:j,language:f,size:x,duration:u,thumbnail:g}=d;switch(m){case"image":if(l)return e.jsxs("div",{className:c,style:{position:"relative"},...o,children:[e.jsx(p.ChatImagePreview,{src:l,alt:s,thumbnail:g,onClick:n}),h&&i&&e.jsx("button",{className:t.default.attachmentPreviewRemove,onClick:r=>{r.stopPropagation(),i()},"aria-label":`Remove ${s}`,style:{position:"absolute",top:4,right:4,background:"var(--surface-base)"},children:e.jsx(a.X,{size:14})})]});break;case"audio":if(l)return e.jsxs("div",{className:c,style:{position:"relative"},...o,children:[e.jsx(P.ChatAudioPlayer,{src:l,duration:u,title:s}),h&&i&&e.jsx("button",{className:t.default.attachmentPreviewRemove,onClick:r=>{r.stopPropagation(),i()},"aria-label":`Remove ${s}`,children:e.jsx(a.X,{size:14})})]});break;case"code":if(j)return e.jsx(b.ChatCodeBlock,{code:j,language:f,className:c,...o});break}return e.jsxs("div",{className:[t.default.attachmentPreview,c].filter(Boolean).join(" "),onClick:n,role:n?"button":void 0,tabIndex:n?0:void 0,...o,children:[e.jsx("div",{className:t.default.attachmentPreviewIcon,children:w(m)}),e.jsxs("div",{className:t.default.attachmentPreviewInfo,children:[e.jsx("span",{className:t.default.attachmentPreviewName,children:s}),x&&e.jsxs("span",{className:t.default.attachmentPreviewMeta,children:[C.formatFileSize(x),u&&` · ${Math.floor(u/60)}:${(u%60).toString().padStart(2,"0")}`]})]}),h&&i&&e.jsx("button",{className:t.default.attachmentPreviewRemove,onClick:r=>{r.stopPropagation(),i()},"aria-label":`Remove ${s}`,children:e.jsx(a.X,{size:14})})]})};v.displayName="ChatAttachment";exports.ChatAttachment=v;
|
package/dist/index232.mjs
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
2
|
-
import { X as u, FileText as P, Code as w, Music as z, Image as y } from "lucide-react";
|
|
3
|
-
import { ChatImagePreview as C } from "./index228.mjs";
|
|
4
|
-
import { ChatAudioPlayer as N } from "./index229.mjs";
|
|
5
|
-
import { ChatCodeBlock as I } from "./index226.mjs";
|
|
6
|
-
import { formatFileSize as k } from "./index289.mjs";
|
|
7
|
-
import t from "./index220.mjs";
|
|
8
|
-
const x = (d) => {
|
|
9
|
-
switch (d) {
|
|
10
|
-
case "image":
|
|
11
|
-
return /* @__PURE__ */ e(y, { size: 18 });
|
|
12
|
-
case "audio":
|
|
13
|
-
return /* @__PURE__ */ e(z, { size: 18 });
|
|
14
|
-
case "code":
|
|
15
|
-
return /* @__PURE__ */ e(w, { size: 18 });
|
|
16
|
-
default:
|
|
17
|
-
return /* @__PURE__ */ e(P, { size: 18 });
|
|
18
|
-
}
|
|
19
|
-
}, $ = ({
|
|
20
|
-
attachment: d,
|
|
21
|
-
removable: h = !1,
|
|
22
|
-
onRemove: a,
|
|
23
|
-
onClick: n,
|
|
24
|
-
className: s,
|
|
25
|
-
...c
|
|
26
|
-
}) => {
|
|
27
|
-
const { type: p, name: i, url: l, content: v, language: b, size: f, duration: m, thumbnail: g } = d;
|
|
28
|
-
switch (p) {
|
|
29
|
-
case "image":
|
|
30
|
-
if (l)
|
|
31
|
-
return /* @__PURE__ */ o("div", { className: s, style: { position: "relative" }, ...c, children: [
|
|
32
|
-
/* @__PURE__ */ e(
|
|
33
|
-
C,
|
|
34
|
-
{
|
|
35
|
-
src: l,
|
|
36
|
-
alt: i,
|
|
37
|
-
thumbnail: g,
|
|
38
|
-
onClick: n
|
|
39
|
-
}
|
|
40
|
-
),
|
|
41
|
-
h && a && /* @__PURE__ */ e(
|
|
42
|
-
"button",
|
|
43
|
-
{
|
|
44
|
-
className: t.attachmentPreviewRemove,
|
|
45
|
-
onClick: (r) => {
|
|
46
|
-
r.stopPropagation(), a();
|
|
47
|
-
},
|
|
48
|
-
"aria-label": `Remove ${i}`,
|
|
49
|
-
style: {
|
|
50
|
-
position: "absolute",
|
|
51
|
-
top: 4,
|
|
52
|
-
right: 4,
|
|
53
|
-
background: "var(--surface-base)"
|
|
54
|
-
},
|
|
55
|
-
children: /* @__PURE__ */ e(u, { size: 14 })
|
|
56
|
-
}
|
|
57
|
-
)
|
|
58
|
-
] });
|
|
59
|
-
break;
|
|
60
|
-
case "audio":
|
|
61
|
-
if (l)
|
|
62
|
-
return /* @__PURE__ */ o("div", { className: s, style: { position: "relative" }, ...c, children: [
|
|
63
|
-
/* @__PURE__ */ e(N, { src: l, duration: m, title: i }),
|
|
64
|
-
h && a && /* @__PURE__ */ e(
|
|
65
|
-
"button",
|
|
66
|
-
{
|
|
67
|
-
className: t.attachmentPreviewRemove,
|
|
68
|
-
onClick: (r) => {
|
|
69
|
-
r.stopPropagation(), a();
|
|
70
|
-
},
|
|
71
|
-
"aria-label": `Remove ${i}`,
|
|
72
|
-
children: /* @__PURE__ */ e(u, { size: 14 })
|
|
73
|
-
}
|
|
74
|
-
)
|
|
75
|
-
] });
|
|
76
|
-
break;
|
|
77
|
-
case "code":
|
|
78
|
-
if (v)
|
|
79
|
-
return /* @__PURE__ */ e(
|
|
80
|
-
I,
|
|
81
|
-
{
|
|
82
|
-
code: v,
|
|
83
|
-
language: b,
|
|
84
|
-
className: s,
|
|
85
|
-
...c
|
|
86
|
-
}
|
|
87
|
-
);
|
|
88
|
-
break;
|
|
89
|
-
}
|
|
90
|
-
return /* @__PURE__ */ o(
|
|
91
|
-
"div",
|
|
92
|
-
{
|
|
93
|
-
className: [t.attachmentPreview, s].filter(Boolean).join(" "),
|
|
94
|
-
onClick: n,
|
|
95
|
-
role: n ? "button" : void 0,
|
|
96
|
-
tabIndex: n ? 0 : void 0,
|
|
97
|
-
...c,
|
|
98
|
-
children: [
|
|
99
|
-
/* @__PURE__ */ e("div", { className: t.attachmentPreviewIcon, children: x(p) }),
|
|
100
|
-
/* @__PURE__ */ o("div", { className: t.attachmentPreviewInfo, children: [
|
|
101
|
-
/* @__PURE__ */ e("span", { className: t.attachmentPreviewName, children: i }),
|
|
102
|
-
f && /* @__PURE__ */ o("span", { className: t.attachmentPreviewMeta, children: [
|
|
103
|
-
k(f),
|
|
104
|
-
m && ` · ${Math.floor(m / 60)}:${(m % 60).toString().padStart(2, "0")}`
|
|
105
|
-
] })
|
|
106
|
-
] }),
|
|
107
|
-
h && a && /* @__PURE__ */ e(
|
|
108
|
-
"button",
|
|
109
|
-
{
|
|
110
|
-
className: t.attachmentPreviewRemove,
|
|
111
|
-
onClick: (r) => {
|
|
112
|
-
r.stopPropagation(), a();
|
|
113
|
-
},
|
|
114
|
-
"aria-label": `Remove ${i}`,
|
|
115
|
-
children: /* @__PURE__ */ e(u, { size: 14 })
|
|
116
|
-
}
|
|
117
|
-
)
|
|
118
|
-
]
|
|
119
|
-
}
|
|
120
|
-
);
|
|
121
|
-
};
|
|
122
|
-
$.displayName = "ChatAttachment";
|
|
123
|
-
export {
|
|
124
|
-
$ as ChatAttachment
|
|
125
|
-
};
|
package/dist/index233.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),c=require("lucide-react"),t=require("./index220.cjs"),O={today:"Today",yesterday:"Yesterday",previous7:"Previous 7 days",previous30:"Previous 30 days",older:"Older"},y=["today","yesterday","previous7","previous30","older"],C=a=>{const r=new Date,u=(new Date(r.getFullYear(),r.getMonth(),r.getDate()).getTime()-new Date(a.getFullYear(),a.getMonth(),a.getDate()).getTime())/(1e3*60*60*24);return u<1?"today":u<2?"yesterday":u<7?"previous7":u<30?"previous30":"older"},P=a=>{const r=C(a);return r==="today"?new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit"}).format(a):r==="yesterday"?"Yesterday":r==="previous7"?new Intl.DateTimeFormat("en-US",{weekday:"short"}).format(a):new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(a)},z=a=>{const r=new Map;return y.forEach(n=>r.set(n,[])),a.forEach(n=>{const b=C(n.updatedAt);r.get(b)?.push(n)}),r},S=({conversations:a=[],activeConversationId:r,onSelectConversation:n,onNewConversation:b,onDeleteConversation:u,onSearch:x,header:w,footer:N,collapsed:m=!1,onCollapsedChange:f,className:I,...D})=>{const[h,T]=d.useState(""),[p,j]=d.useState(null),o=d.useRef(void 0);d.useEffect(()=>()=>{o.current&&clearTimeout(o.current)},[]);const g=d.useMemo(()=>{if(!h.trim())return a;const s=h.toLowerCase();return a.filter(l=>l.title.toLowerCase().includes(s)||l.preview?.toLowerCase().includes(s))},[a,h]),v=d.useMemo(()=>z(g),[g]),B=d.useCallback(s=>{const l=s.target.value;T(l),x?.(l)},[x]),k=d.useCallback(s=>{n?.(s),m&&f&&f(!0)},[n,m,f]),F=d.useCallback((s,l)=>{s.stopPropagation(),p===l?(u?.(l),j(null),o.current&&clearTimeout(o.current)):(j(l),o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{j(null)},3e3))},[p,u]),M=y.some(s=>(v.get(s)?.length??0)>0);return e.jsxs(e.Fragment,{children:[!m&&e.jsx("div",{className:t.default.sidebarOverlay,onClick:()=>f?.(!0),"aria-hidden":"true"}),e.jsxs("aside",{className:[t.default.sidebar,m&&t.default.sidebarCollapsed,!m&&t.default.sidebarOpen,I].filter(Boolean).join(" "),...D,children:[e.jsx("div",{className:t.default.sidebarHeader,children:w||e.jsxs(e.Fragment,{children:[e.jsx("button",{className:[t.default.inputButton,t.default.inputButtonPrimary,t.default.sidebarNewButton].filter(Boolean).join(" "),onClick:b,"aria-label":"New conversation",children:e.jsxs("span",{className:t.default.sidebarNewButtonInner,children:[e.jsx(c.Plus,{size:18}),e.jsx("span",{children:"New Chat"})]})}),e.jsx("button",{className:[t.default.inputButton,t.default.sidebarCloseButton].join(" "),onClick:()=>f?.(!0),"aria-label":"Close sidebar",children:e.jsx(c.X,{size:20})})]})}),e.jsx("div",{className:t.default.sidebarSearch,children:e.jsxs("div",{className:t.default.sidebarSearchWrapper,children:[e.jsx(c.Search,{size:16,className:t.default.sidebarSearchIcon}),e.jsx("input",{type:"search",className:[t.default.sidebarSearchInput,t.default.sidebarSearchInputWithIcon].join(" "),placeholder:"Search conversations...",value:h,onChange:B,"aria-label":"Search conversations"})]})}),e.jsx("div",{className:t.default.sidebarList,role:"list","aria-label":"Conversations",children:M?y.map(s=>{const l=v.get(s)??[];return l.length===0?null:e.jsxs("div",{children:[e.jsx("div",{className:t.default.sidebarGroupHeader,children:O[s]}),l.map(i=>e.jsxs("button",{className:[t.default.sidebarItem,i.id===r&&t.default.sidebarItemActive].filter(Boolean).join(" "),onClick:()=>k(i.id),role:"listitem","aria-selected":i.id===r,"aria-label":`Conversation: ${i.title}`,children:[e.jsx(c.MessageSquare,{size:18,className:t.default.sidebarItemIcon}),e.jsxs("div",{className:t.default.sidebarItemContent,children:[e.jsx("span",{className:t.default.sidebarItemTitle,children:i.title}),i.preview&&e.jsx("span",{className:t.default.sidebarItemPreview,children:i.preview})]}),e.jsx("span",{className:t.default.sidebarItemDate,children:P(i.updatedAt)}),u&&e.jsx("button",{className:t.default.sidebarItemDelete,onClick:q=>F(q,i.id),"aria-label":p===i.id?`Confirm delete ${i.title}`:`Delete ${i.title}`,children:p===i.id?e.jsx("span",{className:t.default.sidebarItemDeleteConfirm,children:"Delete?"}):e.jsx(c.Trash2,{size:16})})]},i.id))]},s)}):e.jsxs("div",{className:t.default.sidebarEmpty,children:[e.jsx(c.MessageSquare,{size:32,className:t.default.sidebarEmptyIcon}),e.jsx("p",{children:h?"No conversations found":"No conversations yet"})]})}),N&&e.jsx("div",{className:t.default.sidebarFooter,children:N})]})]})};S.displayName="ChatSidebar";exports.ChatSidebar=S;
|