@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
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import { useState as j } from "react";
|
|
3
|
+
import { Edit as M, Trash2 as B, Folder as F, MoreVertical as S } from "lucide-react";
|
|
4
|
+
import t from "./index172.mjs";
|
|
5
|
+
import { Card as l } from "./index28.mjs";
|
|
6
|
+
import { Avatar as O } from "./index22.mjs";
|
|
7
|
+
import { Dropdown as w } from "./index47.mjs";
|
|
8
|
+
import { Button as H } from "./index26.mjs";
|
|
9
|
+
const J = ({
|
|
10
|
+
id: n,
|
|
11
|
+
avatar: o,
|
|
12
|
+
title: s,
|
|
13
|
+
description: u,
|
|
14
|
+
timestamp: m,
|
|
15
|
+
isMultiAgent: D = !1,
|
|
16
|
+
onClick: d,
|
|
17
|
+
onEdit: g,
|
|
18
|
+
onDelete: p,
|
|
19
|
+
availableFolders: c,
|
|
20
|
+
onMoveToFolder: f,
|
|
21
|
+
draggable: i = !1,
|
|
22
|
+
isDragging: N = !1,
|
|
23
|
+
className: C,
|
|
24
|
+
...k
|
|
25
|
+
}) => {
|
|
26
|
+
const z = typeof o == "string", [h, v] = j(N), A = [
|
|
27
|
+
t.agentCard,
|
|
28
|
+
d && t.clickable,
|
|
29
|
+
i && t.draggable,
|
|
30
|
+
h && t.dragging,
|
|
31
|
+
C
|
|
32
|
+
].filter(Boolean).join(" "), x = () => {
|
|
33
|
+
d?.();
|
|
34
|
+
}, y = (a) => {
|
|
35
|
+
i && (v(!0), a.dataTransfer.effectAllowed = "move", a.dataTransfer.setData("text/plain", n), a.dataTransfer.setData("application/json", JSON.stringify({ id: n, title: s })));
|
|
36
|
+
}, E = () => {
|
|
37
|
+
v(!1);
|
|
38
|
+
}, T = (a) => {
|
|
39
|
+
i && (a.preventDefault(), a.dataTransfer.dropEffect = "move");
|
|
40
|
+
}, b = [
|
|
41
|
+
...g ? [
|
|
42
|
+
{
|
|
43
|
+
id: "edit",
|
|
44
|
+
label: "Edit",
|
|
45
|
+
icon: /* @__PURE__ */ e(M, { size: 16 }),
|
|
46
|
+
onClick: g
|
|
47
|
+
}
|
|
48
|
+
] : [],
|
|
49
|
+
...p ? [
|
|
50
|
+
{
|
|
51
|
+
id: "delete",
|
|
52
|
+
label: "Delete",
|
|
53
|
+
icon: /* @__PURE__ */ e(B, { size: 16 }),
|
|
54
|
+
danger: !0,
|
|
55
|
+
onClick: p
|
|
56
|
+
}
|
|
57
|
+
] : [],
|
|
58
|
+
...f && c && c.length > 0 ? [
|
|
59
|
+
{ id: "_move-sep", label: "", separator: !0 },
|
|
60
|
+
...c.map((a) => ({
|
|
61
|
+
id: `move-to-${a.id}`,
|
|
62
|
+
label: a.title,
|
|
63
|
+
icon: /* @__PURE__ */ e(F, { size: 16 }),
|
|
64
|
+
onClick: () => f(a.id)
|
|
65
|
+
}))
|
|
66
|
+
] : []
|
|
67
|
+
];
|
|
68
|
+
return /* @__PURE__ */ r(
|
|
69
|
+
l,
|
|
70
|
+
{
|
|
71
|
+
variant: "base",
|
|
72
|
+
interactive: !!d,
|
|
73
|
+
className: A,
|
|
74
|
+
onClick: x,
|
|
75
|
+
draggable: i,
|
|
76
|
+
onDragStart: y,
|
|
77
|
+
onDragEnd: E,
|
|
78
|
+
onDragOver: T,
|
|
79
|
+
"data-agent-id": n,
|
|
80
|
+
"data-dragging": h,
|
|
81
|
+
...k,
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ e(l.Header, { children: /* @__PURE__ */ r("div", { className: t.headerContent, children: [
|
|
84
|
+
z ? /* @__PURE__ */ e(O, { src: o, alt: s, size: "lg" }) : /* @__PURE__ */ e("div", { className: t.iconAvatar, children: o }),
|
|
85
|
+
/* @__PURE__ */ r("div", { className: t.headerRight, children: [
|
|
86
|
+
D && /* @__PURE__ */ e("span", { className: t.multiBadge, children: "Multi" }),
|
|
87
|
+
b.length > 0 && /* @__PURE__ */ e(
|
|
88
|
+
w,
|
|
89
|
+
{
|
|
90
|
+
trigger: /* @__PURE__ */ e(
|
|
91
|
+
H,
|
|
92
|
+
{
|
|
93
|
+
variant: "ghost",
|
|
94
|
+
iconOnly: !0,
|
|
95
|
+
size: "sm",
|
|
96
|
+
icon: /* @__PURE__ */ e(S, { size: 20 }),
|
|
97
|
+
"aria-label": "Actions",
|
|
98
|
+
onDragStart: (a) => a.stopPropagation()
|
|
99
|
+
}
|
|
100
|
+
),
|
|
101
|
+
items: b,
|
|
102
|
+
placement: "bottom-end",
|
|
103
|
+
minWidth: 140
|
|
104
|
+
}
|
|
105
|
+
)
|
|
106
|
+
] })
|
|
107
|
+
] }) }),
|
|
108
|
+
/* @__PURE__ */ r(l.Body, { children: [
|
|
109
|
+
/* @__PURE__ */ e("h3", { className: t.title, children: s }),
|
|
110
|
+
/* @__PURE__ */ e("p", { className: t.description, children: u ?? "" })
|
|
111
|
+
] }),
|
|
112
|
+
m && /* @__PURE__ */ e(l.Footer, { children: /* @__PURE__ */ e("time", { className: t.timestamp, children: m }) })
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
);
|
|
116
|
+
};
|
|
117
|
+
J.displayName = "AgentCard";
|
|
118
|
+
export {
|
|
119
|
+
J as AgentCard
|
|
120
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),d=require("react"),A=require("lucide-react"),e=require("./index175.cjs"),S={xs:"xs",sm:"sm",md:"md",lg:"lg",xl:"xl","2xl":"xxl","3xl":"xxxl","4xl":"xxxxl","5xl":"xxxxxl",profile:"profile"},f=["blue","green","purple","orange","red","teal","pink"],y=t=>{if(!t)return"blue";let a=0;for(let r=0;r<t.length;r++){const i=t.charCodeAt(r);a=(a<<5)-a+i,a=a&a}const l=Math.abs(a)%f.length;return f[l]},m=({src:t,alt:a="",initials:l,icon:r,size:i="md",status:c,interactive:p=!1,color:x,className:g,...j})=>{const[N,h]=d.useState(!1),v=S[i]||i,b=d.useMemo(()=>x||(l?y(l):"blue"),[x,l]),q=[e.default.avatar,e.default[v],e.default[b],p&&e.default.interactive,g].filter(Boolean).join(" "),n=t&&!N,u=!n&&l,o=!n&&!u&&r;return s.jsxs("div",{className:q,...j,children:[n&&s.jsx("img",{src:t,alt:a,className:e.default.image,onError:()=>h(!0)}),u&&s.jsx("span",{className:e.default.initials,children:l}),o&&s.jsx("span",{className:e.default.icon,children:r}),!n&&!u&&!o&&s.jsx("span",{className:e.default.icon,children:s.jsx(A.User,{})}),c&&s.jsx("span",{className:`${e.default.statusIndicator} ${e.default[c]}`,"aria-label":`Status: ${c}`})]})};m.displayName="Avatar";exports.Avatar=m;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { jsxs as j, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useState as A, useMemo as $ } from "react";
|
|
3
|
+
import { User as z } from "lucide-react";
|
|
4
|
+
import e from "./index175.mjs";
|
|
5
|
+
const E = {
|
|
6
|
+
xs: "xs",
|
|
7
|
+
sm: "sm",
|
|
8
|
+
md: "md",
|
|
9
|
+
lg: "lg",
|
|
10
|
+
xl: "xl",
|
|
11
|
+
"2xl": "xxl",
|
|
12
|
+
"3xl": "xxxl",
|
|
13
|
+
"4xl": "xxxxl",
|
|
14
|
+
"5xl": "xxxxxl",
|
|
15
|
+
profile: "profile"
|
|
16
|
+
}, p = [
|
|
17
|
+
"blue",
|
|
18
|
+
"green",
|
|
19
|
+
"purple",
|
|
20
|
+
"orange",
|
|
21
|
+
"red",
|
|
22
|
+
"teal",
|
|
23
|
+
"pink"
|
|
24
|
+
], M = (l) => {
|
|
25
|
+
if (!l) return "blue";
|
|
26
|
+
let a = 0;
|
|
27
|
+
for (let t = 0; t < l.length; t++) {
|
|
28
|
+
const i = l.charCodeAt(t);
|
|
29
|
+
a = (a << 5) - a + i, a = a & a;
|
|
30
|
+
}
|
|
31
|
+
const s = Math.abs(a) % p.length;
|
|
32
|
+
return p[s];
|
|
33
|
+
}, S = ({
|
|
34
|
+
src: l,
|
|
35
|
+
alt: a = "",
|
|
36
|
+
initials: s,
|
|
37
|
+
icon: t,
|
|
38
|
+
size: i = "md",
|
|
39
|
+
status: o,
|
|
40
|
+
interactive: u = !1,
|
|
41
|
+
color: c,
|
|
42
|
+
className: d,
|
|
43
|
+
...f
|
|
44
|
+
}) => {
|
|
45
|
+
const [g, N] = A(!1), h = E[i] || i, v = $(() => c || (s ? M(s) : "blue"), [c, s]), b = [
|
|
46
|
+
e.avatar,
|
|
47
|
+
e[h],
|
|
48
|
+
e[v],
|
|
49
|
+
u && e.interactive,
|
|
50
|
+
d
|
|
51
|
+
].filter(Boolean).join(" "), n = l && !g, x = !n && s, m = !n && !x && t;
|
|
52
|
+
return /* @__PURE__ */ j("div", { className: b, ...f, children: [
|
|
53
|
+
n && /* @__PURE__ */ r(
|
|
54
|
+
"img",
|
|
55
|
+
{
|
|
56
|
+
src: l,
|
|
57
|
+
alt: a,
|
|
58
|
+
className: e.image,
|
|
59
|
+
onError: () => N(!0)
|
|
60
|
+
}
|
|
61
|
+
),
|
|
62
|
+
x && /* @__PURE__ */ r("span", { className: e.initials, children: s }),
|
|
63
|
+
m && /* @__PURE__ */ r("span", { className: e.icon, children: t }),
|
|
64
|
+
!n && !x && !m && /* @__PURE__ */ r("span", { className: e.icon, children: /* @__PURE__ */ r(z, {}) }),
|
|
65
|
+
o && /* @__PURE__ */ r(
|
|
66
|
+
"span",
|
|
67
|
+
{
|
|
68
|
+
className: `${e.statusIndicator} ${e[o]}`,
|
|
69
|
+
"aria-label": `Status: ${o}`
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
] });
|
|
73
|
+
};
|
|
74
|
+
S.displayName = "Avatar";
|
|
75
|
+
export {
|
|
76
|
+
S as Avatar
|
|
77
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("./index232.cjs"),t=({variant:s="neutral",size:n="md",dot:d=!1,className:i,children:l,...r})=>{const o=[e.default.badge,e.default[s],e.default[n],i].filter(Boolean).join(" ");return a.jsxs("span",{className:o,...r,children:[d&&a.jsx("span",{className:e.default.dot,"aria-hidden":"true"}),l]})};t.displayName="Badge";exports.Badge=t;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsxs as d, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import a from "./index232.mjs";
|
|
3
|
+
const m = ({
|
|
4
|
+
variant: e = "neutral",
|
|
5
|
+
size: s = "md",
|
|
6
|
+
dot: r = !1,
|
|
7
|
+
className: n,
|
|
8
|
+
children: i,
|
|
9
|
+
...o
|
|
10
|
+
}) => {
|
|
11
|
+
const t = [a.badge, a[e], a[s], n].filter(Boolean).join(" ");
|
|
12
|
+
return /* @__PURE__ */ d("span", { className: t, ...o, children: [
|
|
13
|
+
r && /* @__PURE__ */ l("span", { className: a.dot, "aria-hidden": "true" }),
|
|
14
|
+
i
|
|
15
|
+
] });
|
|
16
|
+
};
|
|
17
|
+
m.displayName = "Badge";
|
|
18
|
+
export {
|
|
19
|
+
m as Badge
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),N=require("react"),e=require("./index225.cjs"),$=d=>d.replace(/-([a-z])/g,s=>s[1]?.toUpperCase()||""),u=N.forwardRef(({variant:d="primary",size:s="md",isLoading:n=!1,loadingText:o,fullWidth:c=!1,icon:i,iconRight:r,iconOnly:t=!1,className:f,children:h,disabled:p,type:m="button",...x},g)=>{const j=e.default[$(d)],b=[e.default.button,j,e.default[s],c&&e.default.fullWidth,t&&e.default.iconOnly,n&&e.default.loading,f].filter(Boolean).join(" "),y=p||n,l=n?e.default.loadingContent:void 0;return a.jsxs("button",{ref:g,type:m,className:b,disabled:y,...x,children:[n&&a.jsx("span",{className:e.default.spinner,"aria-hidden":"true"}),i&&!t&&a.jsx("span",{className:`${e.default.icon} ${l||""}`,"aria-hidden":"true",children:i}),t&&i?a.jsx("span",{className:`${e.default.icon} ${l||""}`,"aria-hidden":"true",children:i}):a.jsx("span",{className:l,children:n&&o?o:h}),r&&!t&&a.jsx("span",{className:`${e.default.icon} ${e.default.iconRight} ${l||""}`,"aria-hidden":"true",children:r})]})});u.displayName="Button";exports.Button=u;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { jsxs as y, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as x } from "react";
|
|
3
|
+
import a from "./index225.mjs";
|
|
4
|
+
const j = (s) => s.replace(/-([a-z])/g, (r) => r[1]?.toUpperCase() || ""), v = x(
|
|
5
|
+
({
|
|
6
|
+
variant: s = "primary",
|
|
7
|
+
size: r = "md",
|
|
8
|
+
isLoading: n = !1,
|
|
9
|
+
loadingText: t,
|
|
10
|
+
fullWidth: c = !1,
|
|
11
|
+
icon: e,
|
|
12
|
+
iconRight: d,
|
|
13
|
+
iconOnly: o = !1,
|
|
14
|
+
className: p,
|
|
15
|
+
children: m,
|
|
16
|
+
disabled: h,
|
|
17
|
+
type: f = "button",
|
|
18
|
+
...u
|
|
19
|
+
}, N) => {
|
|
20
|
+
const $ = a[j(s)], g = [
|
|
21
|
+
a.button,
|
|
22
|
+
$,
|
|
23
|
+
a[r],
|
|
24
|
+
c && a.fullWidth,
|
|
25
|
+
o && a.iconOnly,
|
|
26
|
+
n && a.loading,
|
|
27
|
+
p
|
|
28
|
+
].filter(Boolean).join(" "), b = h || n, l = n ? a.loadingContent : void 0;
|
|
29
|
+
return /* @__PURE__ */ y(
|
|
30
|
+
"button",
|
|
31
|
+
{
|
|
32
|
+
ref: N,
|
|
33
|
+
type: f,
|
|
34
|
+
className: g,
|
|
35
|
+
disabled: b,
|
|
36
|
+
...u,
|
|
37
|
+
children: [
|
|
38
|
+
n && /* @__PURE__ */ i("span", { className: a.spinner, "aria-hidden": "true" }),
|
|
39
|
+
e && !o && /* @__PURE__ */ i(
|
|
40
|
+
"span",
|
|
41
|
+
{
|
|
42
|
+
className: `${a.icon} ${l || ""}`,
|
|
43
|
+
"aria-hidden": "true",
|
|
44
|
+
children: e
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
o && e ? /* @__PURE__ */ i(
|
|
48
|
+
"span",
|
|
49
|
+
{
|
|
50
|
+
className: `${a.icon} ${l || ""}`,
|
|
51
|
+
"aria-hidden": "true",
|
|
52
|
+
children: e
|
|
53
|
+
}
|
|
54
|
+
) : /* @__PURE__ */ i("span", { className: l, children: n && t ? t : m }),
|
|
55
|
+
d && !o && /* @__PURE__ */ i(
|
|
56
|
+
"span",
|
|
57
|
+
{
|
|
58
|
+
className: `${a.icon} ${a.iconRight} ${l || ""}`,
|
|
59
|
+
"aria-hidden": "true",
|
|
60
|
+
children: d
|
|
61
|
+
}
|
|
62
|
+
)
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
v.displayName = "Button";
|
|
69
|
+
export {
|
|
70
|
+
v as Button
|
|
71
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),r=require("./index149.cjs"),B=e=>({top:r.default.gradientTop,center:r.default.gradientCenter,bottom:r.default.gradientBottom})[e]||r.default.gradientBottom,n=({variant:e="base",interactive:t=!1,imageUrl:a,imagePosition:i="bottom",aspectRatio:y="16/9",className:C,children:s,style:o,...d})=>{const c=e==="outlined"?"base":e;process.env.NODE_ENV!=="production"&&e==="outlined"&&console.warn('[Orion] Card variant="outlined" is deprecated. Use variant="base" instead. It will be removed in the next major version.');const m=c==="image",u=[r.default.card,r.default[c],t&&r.default.interactive,C].filter(Boolean).join(" "),x=m?{...o,backgroundImage:a?`url(${a})`:void 0,aspectRatio:y}:o;return m?l.jsx("div",{className:u,style:x,...d,children:l.jsx("div",{className:`${r.default.imageOverlay} ${B(i)}`,children:s})}):l.jsx("div",{className:u,style:o,...d,children:s})},N=({className:e,children:t,...a})=>{const i=[r.default.header,e].filter(Boolean).join(" ");return l.jsx("div",{className:i,...a,children:t})},f=({className:e,children:t,...a})=>{const i=[r.default.body,e].filter(Boolean).join(" ");return l.jsx("div",{className:i,...a,children:t})},g=({className:e,children:t,...a})=>{const i=[r.default.footer,e].filter(Boolean).join(" ");return l.jsx("div",{className:i,...a,children:t})},j=({className:e,children:t,...a})=>{const i=[r.default.imageContent,e].filter(Boolean).join(" ");return l.jsx("div",{className:i,...a,children:t})},p=({className:e,children:t,...a})=>{const i=[r.default.imageTitle,e].filter(Boolean).join(" ");return l.jsx("h3",{className:i,...a,children:t})},h=({className:e,children:t,...a})=>{const i=[r.default.imageDescription,e].filter(Boolean).join(" ");return l.jsx("p",{className:i,...a,children:t})},v=({className:e,children:t,...a})=>{const i=[r.default.imageMeta,e].filter(Boolean).join(" ");return l.jsx("span",{className:i,...a,children:t})};n.Header=N;n.Body=f;n.Footer=g;n.ImageContent=j;n.ImageTitle=p;n.ImageDescription=h;n.ImageMeta=v;n.displayName="Card";N.displayName="Card.Header";f.displayName="Card.Body";g.displayName="Card.Footer";j.displayName="Card.ImageContent";p.displayName="Card.ImageTitle";h.displayName="Card.ImageDescription";v.displayName="Card.ImageMeta";exports.Card=n;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import o from "./index149.mjs";
|
|
3
|
+
const I = (e) => ({
|
|
4
|
+
top: o.gradientTop,
|
|
5
|
+
center: o.gradientCenter,
|
|
6
|
+
bottom: o.gradientBottom
|
|
7
|
+
})[e] || o.gradientBottom, t = ({
|
|
8
|
+
variant: e = "base",
|
|
9
|
+
interactive: i = !1,
|
|
10
|
+
imageUrl: a,
|
|
11
|
+
imagePosition: r = "bottom",
|
|
12
|
+
aspectRatio: f = "16/9",
|
|
13
|
+
className: B,
|
|
14
|
+
children: l,
|
|
15
|
+
style: s,
|
|
16
|
+
...d
|
|
17
|
+
}) => {
|
|
18
|
+
const c = e === "outlined" ? "base" : e;
|
|
19
|
+
process.env.NODE_ENV !== "production" && e === "outlined" && console.warn(
|
|
20
|
+
'[Orion] Card variant="outlined" is deprecated. Use variant="base" instead. It will be removed in the next major version.'
|
|
21
|
+
);
|
|
22
|
+
const m = c === "image", N = [
|
|
23
|
+
o.card,
|
|
24
|
+
o[c],
|
|
25
|
+
i && o.interactive,
|
|
26
|
+
B
|
|
27
|
+
].filter(Boolean).join(" "), j = m ? {
|
|
28
|
+
...s,
|
|
29
|
+
backgroundImage: a ? `url(${a})` : void 0,
|
|
30
|
+
aspectRatio: f
|
|
31
|
+
} : s;
|
|
32
|
+
return m ? /* @__PURE__ */ n("div", { className: N, style: j, ...d, children: /* @__PURE__ */ n(
|
|
33
|
+
"div",
|
|
34
|
+
{
|
|
35
|
+
className: `${o.imageOverlay} ${I(r)}`,
|
|
36
|
+
children: l
|
|
37
|
+
}
|
|
38
|
+
) }) : /* @__PURE__ */ n("div", { className: N, style: s, ...d, children: l });
|
|
39
|
+
}, p = ({
|
|
40
|
+
className: e,
|
|
41
|
+
children: i,
|
|
42
|
+
...a
|
|
43
|
+
}) => {
|
|
44
|
+
const r = [o.header, e].filter(Boolean).join(" ");
|
|
45
|
+
return /* @__PURE__ */ n("div", { className: r, ...a, children: i });
|
|
46
|
+
}, g = ({
|
|
47
|
+
className: e,
|
|
48
|
+
children: i,
|
|
49
|
+
...a
|
|
50
|
+
}) => {
|
|
51
|
+
const r = [o.body, e].filter(Boolean).join(" ");
|
|
52
|
+
return /* @__PURE__ */ n("div", { className: r, ...a, children: i });
|
|
53
|
+
}, h = ({
|
|
54
|
+
className: e,
|
|
55
|
+
children: i,
|
|
56
|
+
...a
|
|
57
|
+
}) => {
|
|
58
|
+
const r = [o.footer, e].filter(Boolean).join(" ");
|
|
59
|
+
return /* @__PURE__ */ n("div", { className: r, ...a, children: i });
|
|
60
|
+
}, v = ({
|
|
61
|
+
className: e,
|
|
62
|
+
children: i,
|
|
63
|
+
...a
|
|
64
|
+
}) => {
|
|
65
|
+
const r = [o.imageContent, e].filter(Boolean).join(" ");
|
|
66
|
+
return /* @__PURE__ */ n("div", { className: r, ...a, children: i });
|
|
67
|
+
}, u = ({
|
|
68
|
+
className: e,
|
|
69
|
+
children: i,
|
|
70
|
+
...a
|
|
71
|
+
}) => {
|
|
72
|
+
const r = [o.imageTitle, e].filter(Boolean).join(" ");
|
|
73
|
+
return /* @__PURE__ */ n("h3", { className: r, ...a, children: i });
|
|
74
|
+
}, y = ({
|
|
75
|
+
className: e,
|
|
76
|
+
children: i,
|
|
77
|
+
...a
|
|
78
|
+
}) => {
|
|
79
|
+
const r = [o.imageDescription, e].filter(Boolean).join(" ");
|
|
80
|
+
return /* @__PURE__ */ n("p", { className: r, ...a, children: i });
|
|
81
|
+
}, C = ({
|
|
82
|
+
className: e,
|
|
83
|
+
children: i,
|
|
84
|
+
...a
|
|
85
|
+
}) => {
|
|
86
|
+
const r = [o.imageMeta, e].filter(Boolean).join(" ");
|
|
87
|
+
return /* @__PURE__ */ n("span", { className: r, ...a, children: i });
|
|
88
|
+
};
|
|
89
|
+
t.Header = p;
|
|
90
|
+
t.Body = g;
|
|
91
|
+
t.Footer = h;
|
|
92
|
+
t.ImageContent = v;
|
|
93
|
+
t.ImageTitle = u;
|
|
94
|
+
t.ImageDescription = y;
|
|
95
|
+
t.ImageMeta = C;
|
|
96
|
+
t.displayName = "Card";
|
|
97
|
+
p.displayName = "Card.Header";
|
|
98
|
+
g.displayName = "Card.Body";
|
|
99
|
+
h.displayName = "Card.Footer";
|
|
100
|
+
v.displayName = "Card.ImageContent";
|
|
101
|
+
u.displayName = "Card.ImageTitle";
|
|
102
|
+
y.displayName = "Card.ImageDescription";
|
|
103
|
+
C.displayName = "Card.ImageMeta";
|
|
104
|
+
export {
|
|
105
|
+
t as Card
|
|
106
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react/jsx-runtime"),e=require("react"),f=require("./index240.cjs"),h=e.createContext(null);function j(){const n=e.useContext(h);if(!n)throw new Error("Collapsible.Trigger/Content must be used within a Collapsible");return n}const x=e.forwardRef(({asChild:n,className:c,children:l,onClick:t,...u},o)=>{const{open:r,disabled:i,toggle:s,contentId:b,triggerId:d}=j(),a=e.useCallback(C=>{s(),t?.(C)},[s,t]);if(n&&e.isValidElement(l))return e.cloneElement(l,{id:d,"aria-expanded":r,"aria-controls":b,disabled:i,onClick:a});const p=[f.default.trigger,c].filter(Boolean).join(" ");return g.jsx("button",{ref:o,id:d,type:"button",className:p,"aria-expanded":r,"aria-controls":b,disabled:i,onClick:a,...u,children:l})});x.displayName="Collapsible.Trigger";const N=e.forwardRef(({forceMount:n,className:c,children:l,...t},u)=>{const{open:o,triggerId:r,contentId:i}=j();if(!n&&!o)return null;const s=[f.default.content,o&&f.default.contentOpen,c].filter(Boolean).join(" ");return g.jsx("div",{ref:u,id:i,role:"region","aria-labelledby":r,className:s,...t,children:g.jsx("div",{className:f.default.contentInner,children:l})})});N.displayName="Collapsible.Content";const I=e.forwardRef(({open:n,defaultOpen:c=!1,onOpenChange:l,disabled:t=!1,className:u,children:o,...r},i)=>{const[s,b]=e.useState(c),d=n!==void 0,a=d?n:s,p=e.useId(),C=e.useId(),v=e.useCallback(()=>{if(t)return;const m=!a;d||b(m),l?.(m)},[a,d,t,l]),y=[f.default.collapsible,u].filter(Boolean).join(" "),w={open:a,disabled:t,toggle:v,contentId:p,triggerId:C};return g.jsx(h.Provider,{value:w,children:g.jsx("div",{ref:i,className:y,"data-state":a?"open":"closed",...r,children:o})})});I.displayName="Collapsible";const k=Object.assign(I,{Trigger:x,Content:N});exports.Collapsible=k;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as m, useState as T, useId as h, useCallback as N, isValidElement as B, cloneElement as E, createContext as z, useContext as M } from "react";
|
|
3
|
+
import p from "./index240.mjs";
|
|
4
|
+
const I = z(null);
|
|
5
|
+
function v() {
|
|
6
|
+
const e = M(I);
|
|
7
|
+
if (!e)
|
|
8
|
+
throw new Error(
|
|
9
|
+
"Collapsible.Trigger/Content must be used within a Collapsible"
|
|
10
|
+
);
|
|
11
|
+
return e;
|
|
12
|
+
}
|
|
13
|
+
const j = m(({ asChild: e, className: d, children: n, onClick: l, ...c }, t) => {
|
|
14
|
+
const { open: r, disabled: i, toggle: a, contentId: u, triggerId: s } = v(), o = N(
|
|
15
|
+
(b) => {
|
|
16
|
+
a(), l?.(b);
|
|
17
|
+
},
|
|
18
|
+
[a, l]
|
|
19
|
+
);
|
|
20
|
+
if (e && B(n))
|
|
21
|
+
return E(
|
|
22
|
+
n,
|
|
23
|
+
{
|
|
24
|
+
id: s,
|
|
25
|
+
"aria-expanded": r,
|
|
26
|
+
"aria-controls": u,
|
|
27
|
+
disabled: i,
|
|
28
|
+
onClick: o
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
const f = [p.trigger, d].filter(Boolean).join(" ");
|
|
32
|
+
return /* @__PURE__ */ g(
|
|
33
|
+
"button",
|
|
34
|
+
{
|
|
35
|
+
ref: t,
|
|
36
|
+
id: s,
|
|
37
|
+
type: "button",
|
|
38
|
+
className: f,
|
|
39
|
+
"aria-expanded": r,
|
|
40
|
+
"aria-controls": u,
|
|
41
|
+
disabled: i,
|
|
42
|
+
onClick: o,
|
|
43
|
+
...c,
|
|
44
|
+
children: n
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
});
|
|
48
|
+
j.displayName = "Collapsible.Trigger";
|
|
49
|
+
const x = m(
|
|
50
|
+
({ forceMount: e, className: d, children: n, ...l }, c) => {
|
|
51
|
+
const { open: t, triggerId: r, contentId: i } = v();
|
|
52
|
+
if (!e && !t)
|
|
53
|
+
return null;
|
|
54
|
+
const a = [
|
|
55
|
+
p.content,
|
|
56
|
+
t && p.contentOpen,
|
|
57
|
+
d
|
|
58
|
+
].filter(Boolean).join(" ");
|
|
59
|
+
return /* @__PURE__ */ g(
|
|
60
|
+
"div",
|
|
61
|
+
{
|
|
62
|
+
ref: c,
|
|
63
|
+
id: i,
|
|
64
|
+
role: "region",
|
|
65
|
+
"aria-labelledby": r,
|
|
66
|
+
className: a,
|
|
67
|
+
...l,
|
|
68
|
+
children: /* @__PURE__ */ g("div", { className: p.contentInner, children: n })
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
x.displayName = "Collapsible.Content";
|
|
74
|
+
const y = m(
|
|
75
|
+
({
|
|
76
|
+
open: e,
|
|
77
|
+
defaultOpen: d = !1,
|
|
78
|
+
onOpenChange: n,
|
|
79
|
+
disabled: l = !1,
|
|
80
|
+
className: c,
|
|
81
|
+
children: t,
|
|
82
|
+
...r
|
|
83
|
+
}, i) => {
|
|
84
|
+
const [a, u] = T(d), s = e !== void 0, o = s ? e : a, f = h(), b = h(), k = N(() => {
|
|
85
|
+
if (l) return;
|
|
86
|
+
const C = !o;
|
|
87
|
+
s || u(C), n?.(C);
|
|
88
|
+
}, [o, s, l, n]), w = [p.collapsible, c].filter(Boolean).join(" "), O = {
|
|
89
|
+
open: o,
|
|
90
|
+
disabled: l,
|
|
91
|
+
toggle: k,
|
|
92
|
+
contentId: f,
|
|
93
|
+
triggerId: b
|
|
94
|
+
};
|
|
95
|
+
return /* @__PURE__ */ g(I.Provider, { value: O, children: /* @__PURE__ */ g(
|
|
96
|
+
"div",
|
|
97
|
+
{
|
|
98
|
+
ref: i,
|
|
99
|
+
className: w,
|
|
100
|
+
"data-state": o ? "open" : "closed",
|
|
101
|
+
...r,
|
|
102
|
+
children: t
|
|
103
|
+
}
|
|
104
|
+
) });
|
|
105
|
+
}
|
|
106
|
+
);
|
|
107
|
+
y.displayName = "Collapsible";
|
|
108
|
+
const V = Object.assign(y, {
|
|
109
|
+
Trigger: j,
|
|
110
|
+
Content: x
|
|
111
|
+
});
|
|
112
|
+
export {
|
|
113
|
+
V as Collapsible
|
|
114
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("react"),le=require("@dnd-kit/core"),g=require("lucide-react"),a=require("./index146.cjs"),x=require("./index36.cjs"),ne=require("./index23.cjs"),R=require("./index47.cjs"),I=require("./index26.cjs");function w(z){const{id:u,title:B,itemCount:h,items:r,renderItem:O,itemLabel:k="Item",itemLabelPlural:E="Items",emptyText:A="No items in this folder",sortLabel:v="Sort",defaultExpanded:$=!0,sortOptions:o,selectedSort:M,onSortChange:P,onDrop:j,onFolderEdit:b,onFolderDelete:D,onFolderInvite:N,isDropTarget:H=!1,isDropCompleted:Y=!1,onDragEnter:Z,onDragLeaveFolder:C,className:G,...J}=z,[f,K]=i.useState($),[m,d]=i.useState(null),[T,p]=i.useState(!1),y=i.useRef(null),{setNodeRef:Q}=le.useDroppable({id:u}),U=t=>{if(t.preventDefault(),t.dataTransfer.dropEffect="move",T||(p(!0),Z?.()),!f||r.length===0){d(0);return}const l=y.current;if(!l)return;const n=Array.from(l.querySelectorAll("[data-item-id]")),ae=t.clientY;let q=n.length;for(let c=0;c<n.length;c++){const L=n[c];if(!L)continue;const F=L.getBoundingClientRect();if(ae<F.top+F.height/2){q=c;break}}d(q)},V=t=>{t.currentTarget.contains(t.relatedTarget)||(p(!1),d(null),C?.())},W=t=>{t.preventDefault();const l=t.dataTransfer.getData("text/plain")||t.dataTransfer.getData("itemId");if(l&&j){const n=m??r.length;j(l,u,n)}p(!1),d(null),C?.()},X=(t,l)=>{t.dataTransfer.effectAllowed="move",t.dataTransfer.setData("text/plain",l)},_=o?.map(t=>({id:t.value,label:t.label,onClick:()=>P?.(t.value)})),S=[...b?[{id:"rename",label:"Rename",onClick:b}]:[],...N?[{id:"invite",label:"Invite participants",onClick:N}]:[],...D?[{id:"delete",label:"Delete folder",danger:!0,onClick:D}]:[]],s=H||T,ee=[a.default.folder,s&&a.default.dropTarget,Y&&a.default.dropCompleted,G].filter(Boolean).join(" "),te=h===1?k:E;return e.jsx("div",{ref:Q,className:ee,"data-folder-id":u,"data-drop-active":s,onDragOver:U,onDragLeave:V,onDrop:W,...J,children:e.jsxs(x.Collapsible,{open:f,onOpenChange:K,children:[e.jsxs("div",{className:a.default.header,children:[e.jsxs(x.Collapsible.Trigger,{className:a.default.trigger,children:[e.jsx(g.ChevronDown,{size:20,className:`${a.default.chevron} ${f?a.default.expanded:""}`}),e.jsx("h2",{className:a.default.title,children:B}),e.jsxs(ne.Badge,{variant:"secondary",className:a.default.badge,children:[h,e.jsxs("span",{className:a.default.badgeLabel,children:[" ",te]})]})]}),e.jsxs("div",{className:a.default.actions,children:[o&&o.length>0&&e.jsx("div",{className:a.default.sortDropdown,children:e.jsx(R.Dropdown,{trigger:e.jsx(I.Button,{variant:"ghost",size:"sm",iconRight:e.jsx(g.ChevronDown,{size:16}),"aria-label":`Sort by ${v}`,children:o.find(t=>t.value===M)?.label||v}),items:_,placement:"bottom-end"})}),S.length>0&&e.jsx(R.Dropdown,{trigger:e.jsx(I.Button,{variant:"ghost",size:"sm",iconOnly:!0,icon:e.jsx(g.MoreHorizontal,{size:20}),"aria-label":"Folder actions"}),items:S,placement:"bottom-end"})]})]}),e.jsx(x.Collapsible.Content,{children:e.jsx("div",{className:a.default.content,children:r.length===0?s?e.jsx("div",{className:a.default.emptyDropZone,children:e.jsx("div",{className:a.default.insertionLine,role:"presentation"})}):e.jsx("div",{className:a.default.emptyState,children:e.jsx("p",{className:a.default.emptyText,children:A})}):e.jsxs("div",{className:a.default.grid,ref:y,children:[r.map((t,l)=>e.jsxs(i.Fragment,{children:[s&&m===l&&e.jsx("div",{className:a.default.insertionLine,role:"presentation"}),e.jsx("div",{"data-item-id":t.id,draggable:t.draggable,onDragStart:n=>X(n,t.id),children:O(t,l)})]},t.id)),s&&m===r.length&&e.jsx("div",{className:a.default.insertionLine,role:"presentation"})]})})})]})})}w.displayName="CollapsibleFolder";exports.CollapsibleFolder=w;
|