@orion-ds/react 4.8.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/index153.cjs +0 -1
- package/dist/index153.mjs +0 -36
- package/dist/index154.cjs +0 -1
- package/dist/index154.mjs +0 -46
- package/dist/index155.cjs +0 -1
- package/dist/index155.mjs +0 -173
- package/dist/index156.cjs +0 -1
- package/dist/index156.mjs +0 -188
- package/dist/index157.cjs +0 -1
- package/dist/index157.mjs +0 -31
- package/dist/index158.cjs +0 -1
- package/dist/index158.mjs +0 -93
- package/dist/index159.cjs +0 -1
- package/dist/index159.mjs +0 -55
- package/dist/index160.cjs +0 -1
- package/dist/index160.mjs +0 -69
- package/dist/index161.cjs +0 -1
- package/dist/index161.mjs +0 -127
- package/dist/index162.cjs +0 -1
- package/dist/index162.mjs +0 -111
- package/dist/index163.cjs +0 -1
- package/dist/index163.mjs +0 -114
- package/dist/index164.cjs +0 -1
- package/dist/index164.mjs +0 -125
- package/dist/index165.cjs +0 -1
- package/dist/index165.mjs +0 -217
- package/dist/index17.cjs +0 -1
- package/dist/index17.mjs +0 -94
- package/dist/index18.cjs +0 -1
- package/dist/index18.mjs +0 -128
- 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/index222.cjs +0 -1
- package/dist/index222.mjs +0 -71
- package/dist/index223.cjs +0 -1
- package/dist/index223.mjs +0 -106
- package/dist/index225.cjs +0 -1
- package/dist/index225.mjs +0 -20
- package/dist/index23.cjs +0 -1
- package/dist/index23.mjs +0 -20
- package/dist/index234.cjs +0 -1
- package/dist/index234.mjs +0 -107
- package/dist/index24.cjs +0 -1
- package/dist/index24.mjs +0 -107
- package/dist/index249.cjs +0 -1
- package/dist/index249.mjs +0 -120
- package/dist/index25.cjs +0 -1
- package/dist/index25.mjs +0 -84
- package/dist/index250.cjs +0 -1
- package/dist/index250.mjs +0 -196
- package/dist/index256.cjs +0 -1
- package/dist/index256.mjs +0 -16
- package/dist/index26.cjs +0 -1
- package/dist/index26.mjs +0 -71
- package/dist/index260.cjs +0 -1
- package/dist/index260.mjs +0 -47
- package/dist/index263.cjs +0 -1
- package/dist/index263.mjs +0 -58
- package/dist/index265.cjs +0 -1
- package/dist/index265.mjs +0 -18
- package/dist/index27.cjs +0 -1
- package/dist/index27.mjs +0 -135
- package/dist/index273.cjs +0 -1
- package/dist/index273.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 -57
- package/dist/index28.cjs +0 -1
- package/dist/index28.mjs +0 -106
- package/dist/index280.cjs +0 -1
- package/dist/index280.mjs +0 -77
- package/dist/index281.cjs +0 -1
- package/dist/index281.mjs +0 -176
- package/dist/index286.cjs +0 -1
- package/dist/index286.mjs +0 -114
- package/dist/index29.cjs +0 -1
- package/dist/index29.mjs +0 -178
- 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/{index245.cjs → blocks/sections/ActivityFeed/ActivityFeed.module.css.cjs} +0 -0
- /package/dist/{index245.mjs → blocks/sections/ActivityFeed/ActivityFeed.module.css.mjs} +0 -0
- /package/dist/{index251.cjs → blocks/sections/AppDownload/AppDownload.module.css.cjs} +0 -0
- /package/dist/{index251.mjs → blocks/sections/AppDownload/AppDownload.module.css.mjs} +0 -0
- /package/dist/{index255.cjs → blocks/sections/Blog/Blog.module.css.cjs} +0 -0
- /package/dist/{index255.mjs → blocks/sections/Blog/Blog.module.css.mjs} +0 -0
- /package/dist/{index262.cjs → blocks/sections/Breadcrumbs/Breadcrumbs.module.css.cjs} +0 -0
- /package/dist/{index262.mjs → blocks/sections/Breadcrumbs/Breadcrumbs.module.css.mjs} +0 -0
- /package/dist/{index253.cjs → blocks/sections/CTA/CTA.module.css.cjs} +0 -0
- /package/dist/{index253.mjs → blocks/sections/CTA/CTA.module.css.mjs} +0 -0
- /package/dist/{index246.cjs → blocks/sections/CarouselSection/CarouselSection.module.css.cjs} +0 -0
- /package/dist/{index246.mjs → blocks/sections/CarouselSection/CarouselSection.module.css.mjs} +0 -0
- /package/dist/{index244.cjs → blocks/sections/Chat/Chat.module.css.cjs} +0 -0
- /package/dist/{index244.mjs → blocks/sections/Chat/Chat.module.css.mjs} +0 -0
- /package/dist/{index248.cjs → blocks/sections/Comparison/Comparison.module.css.cjs} +0 -0
- /package/dist/{index248.mjs → blocks/sections/Comparison/Comparison.module.css.mjs} +0 -0
- /package/dist/{index271.cjs → blocks/sections/Contact/Contact.module.css.cjs} +0 -0
- /package/dist/{index271.mjs → blocks/sections/Contact/Contact.module.css.mjs} +0 -0
- /package/dist/{index270.cjs → blocks/sections/EmptyState/EmptyState.module.css.cjs} +0 -0
- /package/dist/{index270.mjs → blocks/sections/EmptyState/EmptyState.module.css.mjs} +0 -0
- /package/dist/{index264.cjs → blocks/sections/FAQ/FAQ.module.css.cjs} +0 -0
- /package/dist/{index264.mjs → blocks/sections/FAQ/FAQ.module.css.mjs} +0 -0
- /package/dist/{index257.cjs → blocks/sections/Features/Features.module.css.cjs} +0 -0
- /package/dist/{index257.mjs → blocks/sections/Features/Features.module.css.mjs} +0 -0
- /package/dist/{index247.cjs → blocks/sections/Footer/Footer.module.css.cjs} +0 -0
- /package/dist/{index247.mjs → blocks/sections/Footer/Footer.module.css.mjs} +0 -0
- /package/dist/{index272.cjs → blocks/sections/Gallery/Gallery.module.css.cjs} +0 -0
- /package/dist/{index272.mjs → blocks/sections/Gallery/Gallery.module.css.mjs} +0 -0
- /package/dist/{index254.cjs → blocks/sections/Hero/Hero.module.css.cjs} +0 -0
- /package/dist/{index254.mjs → blocks/sections/Hero/Hero.module.css.mjs} +0 -0
- /package/dist/{index258.cjs → blocks/sections/LogoCloud/LogoCloud.module.css.cjs} +0 -0
- /package/dist/{index258.mjs → blocks/sections/LogoCloud/LogoCloud.module.css.mjs} +0 -0
- /package/dist/{index259.cjs → blocks/sections/Newsletter/Newsletter.module.css.cjs} +0 -0
- /package/dist/{index259.mjs → blocks/sections/Newsletter/Newsletter.module.css.mjs} +0 -0
- /package/dist/{index274.cjs → blocks/sections/Pricing/Pricing.module.css.cjs} +0 -0
- /package/dist/{index274.mjs → blocks/sections/Pricing/Pricing.module.css.mjs} +0 -0
- /package/dist/{index252.cjs → blocks/sections/SettingsLayout/SettingsLayout.module.css.cjs} +0 -0
- /package/dist/{index252.mjs → blocks/sections/SettingsLayout/SettingsLayout.module.css.mjs} +0 -0
- /package/dist/{index267.cjs → blocks/sections/SocialProof/SocialProof.module.css.cjs} +0 -0
- /package/dist/{index267.mjs → blocks/sections/SocialProof/SocialProof.module.css.mjs} +0 -0
- /package/dist/{index266.cjs → blocks/sections/Stats/Stats.module.css.cjs} +0 -0
- /package/dist/{index266.mjs → blocks/sections/Stats/Stats.module.css.mjs} +0 -0
- /package/dist/{index268.cjs → blocks/sections/Stepper/Stepper.module.css.cjs} +0 -0
- /package/dist/{index268.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/{index261.cjs → blocks/sections/Testimonials/Testimonials.module.css.cjs} +0 -0
- /package/dist/{index261.mjs → blocks/sections/Testimonials/Testimonials.module.css.mjs} +0 -0
- /package/dist/{index269.cjs → blocks/sections/Timeline/Timeline.module.css.cjs} +0 -0
- /package/dist/{index269.mjs → blocks/sections/Timeline/Timeline.module.css.mjs} +0 -0
- /package/dist/{index235.cjs → blocks/templates/app/AgentEditor/AgentEditor.module.css.cjs} +0 -0
- /package/dist/{index235.mjs → blocks/templates/app/AgentEditor/AgentEditor.module.css.mjs} +0 -0
- /package/dist/{index243.cjs → blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.cjs} +0 -0
- /package/dist/{index243.mjs → blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.mjs} +0 -0
- /package/dist/{index237.cjs → blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.cjs} +0 -0
- /package/dist/{index237.mjs → blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.mjs} +0 -0
- /package/dist/{index227.cjs → blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.cjs} +0 -0
- /package/dist/{index227.mjs → blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.mjs} +0 -0
- /package/dist/{index226.cjs → blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.cjs} +0 -0
- /package/dist/{index226.mjs → blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.mjs} +0 -0
- /package/dist/{index241.cjs → blocks/templates/app/LoginTemplate/LoginTemplate.module.css.cjs} +0 -0
- /package/dist/{index241.mjs → blocks/templates/app/LoginTemplate/LoginTemplate.module.css.mjs} +0 -0
- /package/dist/{index224.cjs → blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.cjs} +0 -0
- /package/dist/{index224.mjs → blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.mjs} +0 -0
- /package/dist/{index236.cjs → blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.cjs} +0 -0
- /package/dist/{index236.mjs → blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.mjs} +0 -0
- /package/dist/{index216.cjs → components/Accordion/Accordion.module.css.cjs} +0 -0
- /package/dist/{index216.mjs → components/Accordion/Accordion.module.css.mjs} +0 -0
- /package/dist/{index205.cjs → components/ActivityFeed/ActivityFeed.module.css.cjs} +0 -0
- /package/dist/{index205.mjs → components/ActivityFeed/ActivityFeed.module.css.mjs} +0 -0
- /package/dist/{index193.cjs → components/AgentCard/AgentCard.module.css.cjs} +0 -0
- /package/dist/{index193.mjs → components/AgentCard/AgentCard.module.css.mjs} +0 -0
- /package/dist/{index181.cjs → components/Alert/Alert.module.css.cjs} +0 -0
- /package/dist/{index181.mjs → components/Alert/Alert.module.css.mjs} +0 -0
- /package/dist/{index170.cjs → components/AlertDialog/AlertDialog.module.css.cjs} +0 -0
- /package/dist/{index170.mjs → components/AlertDialog/AlertDialog.module.css.mjs} +0 -0
- /package/dist/{index219.cjs → components/Avatar/Avatar.module.css.cjs} +0 -0
- /package/dist/{index219.mjs → components/Avatar/Avatar.module.css.mjs} +0 -0
- /package/dist/{index185.cjs → components/Badge/Badge.module.css.cjs} +0 -0
- /package/dist/{index185.mjs → components/Badge/Badge.module.css.mjs} +0 -0
- /package/dist/{index183.cjs → components/Banner/Banner.module.css.cjs} +0 -0
- /package/dist/{index183.mjs → components/Banner/Banner.module.css.mjs} +0 -0
- /package/dist/{index210.cjs → components/Breadcrumb/Breadcrumb.module.css.cjs} +0 -0
- /package/dist/{index210.mjs → components/Breadcrumb/Breadcrumb.module.css.mjs} +0 -0
- /package/dist/{index194.cjs → components/Button/Button.module.css.cjs} +0 -0
- /package/dist/{index194.mjs → components/Button/Button.module.css.mjs} +0 -0
- /package/dist/{index151.cjs → components/Calendar/Calendar.module.css.cjs} +0 -0
- /package/dist/{index151.mjs → components/Calendar/Calendar.module.css.mjs} +0 -0
- /package/dist/{index196.cjs → components/Card/Card.module.css.cjs} +0 -0
- /package/dist/{index196.mjs → components/Card/Card.module.css.mjs} +0 -0
- /package/dist/{index176.cjs → components/Carousel/Carousel.module.css.cjs} +0 -0
- /package/dist/{index176.mjs → components/Carousel/Carousel.module.css.mjs} +0 -0
- /package/dist/{index148.cjs → components/Chart/Chart.module.css.cjs} +0 -0
- /package/dist/{index148.mjs → components/Chart/Chart.module.css.mjs} +0 -0
- /package/dist/{index147.cjs → components/Chart/useResolvedChartColors.cjs} +0 -0
- /package/dist/{index147.mjs → components/Chart/useResolvedChartColors.mjs} +0 -0
- /package/dist/{index152.cjs → components/Chat/Chat.module.css.cjs} +0 -0
- /package/dist/{index152.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/{index277.cjs → components/Chat/utils.cjs} +0 -0
- /package/dist/{index277.mjs → components/Chat/utils.mjs} +0 -0
- /package/dist/{index215.cjs → components/Checkbox/Checkbox.module.css.cjs} +0 -0
- /package/dist/{index215.mjs → components/Checkbox/Checkbox.module.css.mjs} +0 -0
- /package/dist/{index169.cjs → components/Chip/Chip.module.css.cjs} +0 -0
- /package/dist/{index169.mjs → components/Chip/Chip.module.css.mjs} +0 -0
- /package/dist/{index149.cjs → components/CodeEditor/CodeEditor.module.css.cjs} +0 -0
- /package/dist/{index149.mjs → components/CodeEditor/CodeEditor.module.css.mjs} +0 -0
- /package/dist/{index168.cjs → components/Collapsible/Collapsible.module.css.cjs} +0 -0
- /package/dist/{index168.mjs → components/Collapsible/Collapsible.module.css.mjs} +0 -0
- /package/dist/{index190.cjs → components/CollapsibleFolder/CollapsibleFolder.module.css.cjs} +0 -0
- /package/dist/{index190.mjs → components/CollapsibleFolder/CollapsibleFolder.module.css.mjs} +0 -0
- /package/dist/{index166.cjs → components/Combobox/Combobox.module.css.cjs} +0 -0
- /package/dist/{index166.mjs → components/Combobox/Combobox.module.css.mjs} +0 -0
- /package/dist/{index174.cjs → components/Command/Command.module.css.cjs} +0 -0
- /package/dist/{index174.mjs → components/Command/Command.module.css.mjs} +0 -0
- /package/dist/{index231.cjs → components/CommandBar/CommandBar.module.css.cjs} +0 -0
- /package/dist/{index231.mjs → components/CommandBar/CommandBar.module.css.mjs} +0 -0
- /package/dist/{index242.cjs → components/DataTable/DataTable.module.css.cjs} +0 -0
- /package/dist/{index242.mjs → components/DataTable/DataTable.module.css.mjs} +0 -0
- /package/dist/{index177.cjs → components/DatePicker/DatePicker.module.css.cjs} +0 -0
- /package/dist/{index177.mjs → components/DatePicker/DatePicker.module.css.mjs} +0 -0
- /package/dist/{index198.cjs → components/DetailPanel/DetailPanel.module.css.cjs} +0 -0
- /package/dist/{index198.mjs → components/DetailPanel/DetailPanel.module.css.mjs} +0 -0
- /package/dist/{index220.cjs → components/Divider/Divider.module.css.cjs} +0 -0
- /package/dist/{index220.mjs → components/Divider/Divider.module.css.mjs} +0 -0
- /package/dist/{index209.cjs → components/Drawer/Drawer.module.css.cjs} +0 -0
- /package/dist/{index209.mjs → components/Drawer/Drawer.module.css.mjs} +0 -0
- /package/dist/{index189.cjs → components/Dropdown/Dropdown.module.css.cjs} +0 -0
- /package/dist/{index189.mjs → components/Dropdown/Dropdown.module.css.mjs} +0 -0
- /package/dist/{index233.cjs → components/EmptyState/EmptyState.module.css.cjs} +0 -0
- /package/dist/{index233.mjs → components/EmptyState/EmptyState.module.css.mjs} +0 -0
- /package/dist/{index179.cjs → components/ErrorBoundary/ErrorBoundary.module.css.cjs} +0 -0
- /package/dist/{index179.mjs → components/ErrorBoundary/ErrorBoundary.module.css.mjs} +0 -0
- /package/dist/{index182.cjs → components/Field/Field.module.css.cjs} +0 -0
- /package/dist/{index182.mjs → components/Field/Field.module.css.mjs} +0 -0
- /package/dist/{index212.cjs → components/FileUploader/FileUploader.module.css.cjs} +0 -0
- /package/dist/{index212.mjs → components/FileUploader/FileUploader.module.css.mjs} +0 -0
- /package/dist/{index207.cjs → components/FilterBar/FilterBar.module.css.cjs} +0 -0
- /package/dist/{index207.mjs → components/FilterBar/FilterBar.module.css.mjs} +0 -0
- /package/dist/{index213.cjs → components/FormSection/FormSection.module.css.cjs} +0 -0
- /package/dist/{index213.mjs → components/FormSection/FormSection.module.css.mjs} +0 -0
- /package/dist/{index173.cjs → components/Icon/Icon.module.css.cjs} +0 -0
- /package/dist/{index173.mjs → components/Icon/Icon.module.css.mjs} +0 -0
- /package/dist/{index192.cjs → components/IconGallery/IconGallery.module.css.cjs} +0 -0
- /package/dist/{index192.mjs → components/IconGallery/IconGallery.module.css.mjs} +0 -0
- /package/dist/{index187.cjs → components/InputOTP/InputOTP.module.css.cjs} +0 -0
- /package/dist/{index187.mjs → components/InputOTP/InputOTP.module.css.mjs} +0 -0
- /package/dist/{index184.cjs → components/KanbanBoard/KanbanBoard.module.css.cjs} +0 -0
- /package/dist/{index184.mjs → components/KanbanBoard/KanbanBoard.module.css.mjs} +0 -0
- /package/dist/{index202.cjs → components/Link/Link.module.css.cjs} +0 -0
- /package/dist/{index202.mjs → components/Link/Link.module.css.mjs} +0 -0
- /package/dist/{index200.cjs → components/List/List.module.css.cjs} +0 -0
- /package/dist/{index200.mjs → components/List/List.module.css.mjs} +0 -0
- /package/dist/{index206.cjs → components/MetricCards/MetricCards.module.css.cjs} +0 -0
- /package/dist/{index206.mjs → components/MetricCards/MetricCards.module.css.mjs} +0 -0
- /package/dist/{index195.cjs → components/Modal/Modal.module.css.cjs} +0 -0
- /package/dist/{index195.mjs → components/Modal/Modal.module.css.mjs} +0 -0
- /package/dist/{index232.cjs → components/NavTree/NavTree.module.css.cjs} +0 -0
- /package/dist/{index232.mjs → components/NavTree/NavTree.module.css.mjs} +0 -0
- /package/dist/{index214.cjs → components/Navbar/Navbar.module.css.cjs} +0 -0
- /package/dist/{index214.mjs → components/Navbar/Navbar.module.css.mjs} +0 -0
- /package/dist/{index217.cjs → components/NotificationCenter/NotificationCenter.module.css.cjs} +0 -0
- /package/dist/{index217.mjs → components/NotificationCenter/NotificationCenter.module.css.mjs} +0 -0
- /package/dist/{index218.cjs → components/PageHeader/PageHeader.module.css.cjs} +0 -0
- /package/dist/{index218.mjs → components/PageHeader/PageHeader.module.css.mjs} +0 -0
- /package/dist/{index188.cjs → components/Pagination/Pagination.module.css.cjs} +0 -0
- /package/dist/{index188.mjs → components/Pagination/Pagination.module.css.mjs} +0 -0
- /package/dist/{index228.cjs → components/Popover/Popover.module.css.cjs} +0 -0
- /package/dist/{index228.mjs → components/Popover/Popover.module.css.mjs} +0 -0
- /package/dist/{index221.cjs → components/ProgressBar/ProgressBar.module.css.cjs} +0 -0
- /package/dist/{index221.mjs → components/ProgressBar/ProgressBar.module.css.mjs} +0 -0
- /package/dist/{index238.cjs → components/QuickActions/QuickActions.module.css.cjs} +0 -0
- /package/dist/{index238.mjs → components/QuickActions/QuickActions.module.css.mjs} +0 -0
- /package/dist/{index178.cjs → components/Radio/Radio.module.css.cjs} +0 -0
- /package/dist/{index178.mjs → components/Radio/Radio.module.css.mjs} +0 -0
- /package/dist/{index199.cjs → components/SearchInput/SearchInput.module.css.cjs} +0 -0
- /package/dist/{index199.mjs → components/SearchInput/SearchInput.module.css.mjs} +0 -0
- /package/dist/{index208.cjs → components/Select/Select.module.css.cjs} +0 -0
- /package/dist/{index208.mjs → components/Select/Select.module.css.mjs} +0 -0
- /package/dist/{index211.cjs → components/Sidebar/Sidebar.module.css.cjs} +0 -0
- /package/dist/{index211.mjs → components/Sidebar/Sidebar.module.css.mjs} +0 -0
- /package/dist/{index171.cjs → components/Skeleton/Skeleton.module.css.cjs} +0 -0
- /package/dist/{index171.mjs → components/Skeleton/Skeleton.module.css.mjs} +0 -0
- /package/dist/{index197.cjs → components/Slider/Slider.module.css.cjs} +0 -0
- /package/dist/{index197.mjs → components/Slider/Slider.module.css.mjs} +0 -0
- /package/dist/{index201.cjs → components/Spinner/Spinner.module.css.cjs} +0 -0
- /package/dist/{index201.mjs → components/Spinner/Spinner.module.css.mjs} +0 -0
- /package/dist/{index240.cjs → components/Stack/Stack.module.css.cjs} +0 -0
- /package/dist/{index240.mjs → components/Stack/Stack.module.css.mjs} +0 -0
- /package/dist/{index239.cjs → components/Stepper/Stepper.module.css.cjs} +0 -0
- /package/dist/{index239.mjs → components/Stepper/Stepper.module.css.mjs} +0 -0
- /package/dist/{index167.cjs → components/Switch/Switch.module.css.cjs} +0 -0
- /package/dist/{index167.mjs → components/Switch/Switch.module.css.mjs} +0 -0
- /package/dist/{index204.cjs → components/Table/Table.module.css.cjs} +0 -0
- /package/dist/{index204.mjs → components/Table/Table.module.css.mjs} +0 -0
- /package/dist/{index230.cjs → components/Tabs/Tabs.module.css.cjs} +0 -0
- /package/dist/{index230.mjs → components/Tabs/Tabs.module.css.mjs} +0 -0
- /package/dist/{index172.cjs → components/Textarea/Textarea.module.css.cjs} +0 -0
- /package/dist/{index172.mjs → components/Textarea/Textarea.module.css.mjs} +0 -0
- /package/dist/{index191.cjs → components/Toast/Toast.module.css.cjs} +0 -0
- /package/dist/{index191.mjs → components/Toast/Toast.module.css.mjs} +0 -0
- /package/dist/{index186.cjs → components/Toggle/Toggle.module.css.cjs} +0 -0
- /package/dist/{index186.mjs → components/Toggle/Toggle.module.css.mjs} +0 -0
- /package/dist/{index175.cjs → components/ToggleGroup/ToggleGroup.module.css.cjs} +0 -0
- /package/dist/{index175.mjs → components/ToggleGroup/ToggleGroup.module.css.mjs} +0 -0
- /package/dist/{index180.cjs → components/Tooltip/Tooltip.module.css.cjs} +0 -0
- /package/dist/{index180.mjs → components/Tooltip/Tooltip.module.css.mjs} +0 -0
- /package/dist/{index229.cjs → components/UserMenu/UserMenu.module.css.cjs} +0 -0
- /package/dist/{index229.mjs → components/UserMenu/UserMenu.module.css.mjs} +0 -0
- /package/dist/{index203.cjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.cjs} +0 -0
- /package/dist/{index203.mjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.mjs} +0 -0
- /package/dist/{index288.cjs → dist/index146.cjs} +0 -0
- /package/dist/{index288.mjs → dist/index146.mjs} +0 -0
- /package/dist/{index285.cjs → dist/index149.cjs} +0 -0
- /package/dist/{index285.mjs → dist/index149.mjs} +0 -0
- /package/dist/{index279.cjs → dist/index172.cjs} +0 -0
- /package/dist/{index279.mjs → dist/index172.mjs} +0 -0
- /package/dist/{index282.cjs → dist/index175.cjs} +0 -0
- /package/dist/{index282.mjs → dist/index175.mjs} +0 -0
- /package/dist/{index289.cjs → dist/index180.cjs} +0 -0
- /package/dist/{index289.mjs → dist/index180.mjs} +0 -0
- /package/dist/{index290.cjs → dist/index189.cjs} +0 -0
- /package/dist/{index290.mjs → dist/index189.mjs} +0 -0
- /package/dist/{index284.cjs → dist/index225.cjs} +0 -0
- /package/dist/{index284.mjs → dist/index225.mjs} +0 -0
- /package/dist/{index283.cjs → dist/index232.cjs} +0 -0
- /package/dist/{index283.mjs → dist/index232.mjs} +0 -0
- /package/dist/{index287.cjs → dist/index240.cjs} +0 -0
- /package/dist/{index287.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/{index146.cjs → sections/Container/Container.module.css.cjs} +0 -0
- /package/dist/{index146.mjs → sections/Container/Container.module.css.mjs} +0 -0
- /package/dist/{index150.cjs → sections/Section/Section.module.css.cjs} +0 -0
- /package/dist/{index150.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,101 @@
|
|
|
1
|
+
import { jsx as w } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as A, useState as _, useRef as z, useCallback as k, createContext as B, useContext as E } from "react";
|
|
3
|
+
import u from "./ToggleGroup.module.css.mjs";
|
|
4
|
+
const C = B(null);
|
|
5
|
+
function K() {
|
|
6
|
+
const t = E(C);
|
|
7
|
+
if (!t)
|
|
8
|
+
throw new Error("ToggleGroup.Item must be used within a ToggleGroup");
|
|
9
|
+
return t;
|
|
10
|
+
}
|
|
11
|
+
const D = A(
|
|
12
|
+
({ value: t, disabled: a, className: p, children: c, ...g }, d) => {
|
|
13
|
+
const {
|
|
14
|
+
type: I,
|
|
15
|
+
value: y,
|
|
16
|
+
onItemToggle: x,
|
|
17
|
+
variant: h,
|
|
18
|
+
size: s,
|
|
19
|
+
disabled: f
|
|
20
|
+
} = K(), m = y.includes(t), b = a || f, l = [u.item, m && u.itemPressed, p].filter(Boolean).join(" ");
|
|
21
|
+
return /* @__PURE__ */ w(
|
|
22
|
+
"button",
|
|
23
|
+
{
|
|
24
|
+
ref: d,
|
|
25
|
+
type: "button",
|
|
26
|
+
className: l,
|
|
27
|
+
"aria-pressed": m,
|
|
28
|
+
disabled: b,
|
|
29
|
+
onClick: () => x(t),
|
|
30
|
+
...g,
|
|
31
|
+
children: c
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
D.displayName = "ToggleGroup.Item";
|
|
37
|
+
const N = A(
|
|
38
|
+
({
|
|
39
|
+
type: t,
|
|
40
|
+
value: a,
|
|
41
|
+
defaultValue: p,
|
|
42
|
+
onValueChange: c,
|
|
43
|
+
variant: g = "default",
|
|
44
|
+
size: d = "md",
|
|
45
|
+
disabled: I = !1,
|
|
46
|
+
className: y,
|
|
47
|
+
children: x,
|
|
48
|
+
...h
|
|
49
|
+
}, s) => {
|
|
50
|
+
const f = (e) => e === void 0 ? [] : Array.isArray(e) ? e : [e], [m, b] = _(
|
|
51
|
+
f(p)
|
|
52
|
+
), l = a !== void 0, i = l ? f(a) : m, G = z(null), v = k(
|
|
53
|
+
(e) => {
|
|
54
|
+
let o;
|
|
55
|
+
i.includes(e) ? o = i.filter((r) => r !== e) : t === "multiple" ? o = [...i, e] : o = [e], l || b(o), c?.(t === "single" ? o[0] ?? "" : o);
|
|
56
|
+
},
|
|
57
|
+
[i, t, l, c]
|
|
58
|
+
), R = k(
|
|
59
|
+
(e) => {
|
|
60
|
+
const o = G.current;
|
|
61
|
+
if (!o) return;
|
|
62
|
+
const r = Array.from(
|
|
63
|
+
o.querySelectorAll(
|
|
64
|
+
"button:not(:disabled)"
|
|
65
|
+
)
|
|
66
|
+
), T = r.indexOf(e.target);
|
|
67
|
+
if (T === -1) return;
|
|
68
|
+
let n;
|
|
69
|
+
e.key === "ArrowRight" || e.key === "ArrowDown" ? n = (T + 1) % r.length : e.key === "ArrowLeft" || e.key === "ArrowUp" ? n = (T - 1 + r.length) % r.length : e.key === "Home" ? n = 0 : e.key === "End" && (n = r.length - 1), n !== void 0 && (e.preventDefault(), r[n]?.focus());
|
|
70
|
+
},
|
|
71
|
+
[]
|
|
72
|
+
), j = [u.group, u[g], u[d], y].filter(Boolean).join(" "), P = {
|
|
73
|
+
type: t,
|
|
74
|
+
value: i,
|
|
75
|
+
onItemToggle: v,
|
|
76
|
+
variant: g,
|
|
77
|
+
size: d,
|
|
78
|
+
disabled: I
|
|
79
|
+
};
|
|
80
|
+
return /* @__PURE__ */ w(C.Provider, { value: P, children: /* @__PURE__ */ w(
|
|
81
|
+
"div",
|
|
82
|
+
{
|
|
83
|
+
ref: (e) => {
|
|
84
|
+
G.current = e, typeof s == "function" ? s(e) : s && (s.current = e);
|
|
85
|
+
},
|
|
86
|
+
role: "group",
|
|
87
|
+
className: j,
|
|
88
|
+
onKeyDown: R,
|
|
89
|
+
...h,
|
|
90
|
+
children: x
|
|
91
|
+
}
|
|
92
|
+
) });
|
|
93
|
+
}
|
|
94
|
+
);
|
|
95
|
+
N.displayName = "ToggleGroup";
|
|
96
|
+
const H = Object.assign(N, {
|
|
97
|
+
Item: D
|
|
98
|
+
});
|
|
99
|
+
export {
|
|
100
|
+
H as ToggleGroup
|
|
101
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),t=require("react"),o=require("./Tooltip.module.css.cjs"),r=({content:u,placement:a="top",delay:c=200,disabled:s=!1,children:l,className:f})=>{const[d,e]=t.useState(!1),n=t.useRef(void 0),m=()=>{s||(n.current=setTimeout(()=>{e(!0)},c))},p=()=>{n.current&&clearTimeout(n.current),e(!1)},v=()=>{s||e(!0)},T=()=>{e(!1)},j=[o.default.tooltip,o.default[a],f].filter(Boolean).join(" "),h=t.isValidElement(l)?t.cloneElement(l,{onMouseEnter:m,onMouseLeave:p,onFocus:v,onBlur:T}):l;return i.jsxs("div",{className:o.default.container,children:[h,d&&!s&&i.jsxs("div",{className:j,role:"tooltip",children:[u,i.jsx("div",{className:o.default.arrow})]})]})};r.displayName="Tooltip";exports.Tooltip=r;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsxs as l, jsx as E } from "react/jsx-runtime";
|
|
2
|
+
import { useState as M, useRef as N, isValidElement as T, cloneElement as j } from "react";
|
|
3
|
+
import o from "./Tooltip.module.css.mjs";
|
|
4
|
+
const x = ({
|
|
5
|
+
content: r,
|
|
6
|
+
placement: i = "top",
|
|
7
|
+
delay: a = 200,
|
|
8
|
+
disabled: t = !1,
|
|
9
|
+
children: s,
|
|
10
|
+
className: c
|
|
11
|
+
}) => {
|
|
12
|
+
const [u, e] = M(!1), n = N(void 0), m = () => {
|
|
13
|
+
t || (n.current = setTimeout(() => {
|
|
14
|
+
e(!0);
|
|
15
|
+
}, a));
|
|
16
|
+
}, f = () => {
|
|
17
|
+
n.current && clearTimeout(n.current), e(!1);
|
|
18
|
+
}, p = () => {
|
|
19
|
+
t || e(!0);
|
|
20
|
+
}, d = () => {
|
|
21
|
+
e(!1);
|
|
22
|
+
}, v = [o.tooltip, o[i], c].filter(Boolean).join(" "), h = T(s) ? j(s, {
|
|
23
|
+
onMouseEnter: m,
|
|
24
|
+
onMouseLeave: f,
|
|
25
|
+
onFocus: p,
|
|
26
|
+
onBlur: d
|
|
27
|
+
}) : s;
|
|
28
|
+
return /* @__PURE__ */ l("div", { className: o.container, children: [
|
|
29
|
+
h,
|
|
30
|
+
u && !t && /* @__PURE__ */ l("div", { className: v, role: "tooltip", children: [
|
|
31
|
+
r,
|
|
32
|
+
/* @__PURE__ */ E("div", { className: o.arrow })
|
|
33
|
+
] })
|
|
34
|
+
] });
|
|
35
|
+
};
|
|
36
|
+
x.displayName = "Tooltip";
|
|
37
|
+
export {
|
|
38
|
+
x as Tooltip
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),c=require("react"),S=require("lucide-react"),e=require("./UserMenu.module.css.cjs"),L={online:"var(--text-success)",away:"var(--text-warning)",busy:"var(--text-error)",offline:"var(--text-tertiary)"},x=c.forwardRef(({user:n,sections:f,open:o,onOpenChange:v,trigger:m,align:g="end",placement:N="bottom",showHeader:b=!0,compact:h=!1,fullWidth:C=!1,className:w,...y},I)=>{const[k,E]=c.useState(!1),u=c.useRef(null),i=c.useRef(null),l=o!==void 0?o:k,d=t=>{o===void 0&&E(t),v?.(t)};c.useEffect(()=>{const t=r=>{u.current&&!u.current.contains(r.target)&&i.current&&!i.current.contains(r.target)&&d(!1)};if(l)return document.addEventListener("mousedown",t),()=>document.removeEventListener("mousedown",t)},[l]),c.useEffect(()=>{const t=r=>{r.key==="Escape"&&l&&(d(!1),i.current?.focus())};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[l]);const R=t=>{t.disabled||(t.onClick?.(),d(!1))},p=t=>t.split(" ").map(r=>r[0]).join("").toUpperCase().slice(0,2),M=[e.default.userMenu,C&&e.default.userMenuFullWidth,w].filter(Boolean).join(" "),B=[e.default.trigger,h&&e.default.triggerCompact].filter(Boolean).join(" "),O=[e.default.dropdown,l&&e.default.dropdownOpen,g==="start"&&e.default.dropdownStart,N==="top"&&e.default.dropdownTop].filter(Boolean).join(" ");return a.jsxs("div",{ref:I,className:M,...y,children:[m?a.jsx("div",{onClick:()=>d(!l),children:m}):a.jsxs("button",{ref:i,type:"button",className:B,onClick:()=>d(!l),"aria-expanded":l,"aria-haspopup":"true",children:[a.jsxs("div",{className:e.default.avatar,children:[n.avatar?a.jsx("img",{src:n.avatar,alt:n.name,className:e.default.avatarImage}):a.jsx("span",{className:e.default.avatarInitials,children:n.initials||p(n.name)}),n.status&&a.jsx("span",{className:e.default.statusIndicator,style:{backgroundColor:L[n.status]}})]}),!h&&a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:e.default.triggerInfo,children:[a.jsx("span",{className:e.default.triggerName,children:n.name}),n.role&&a.jsx("span",{className:e.default.triggerRole,children:n.role})]}),a.jsx(S.ChevronDown,{size:16,className:`${e.default.chevron} ${l?e.default.chevronOpen:""}`})]})]}),a.jsxs("div",{ref:u,className:O,role:"menu",children:[b&&a.jsxs("div",{className:e.default.header,children:[a.jsx("div",{className:e.default.headerAvatar,children:n.avatar?a.jsx("img",{src:n.avatar,alt:n.name,className:e.default.avatarImage}):a.jsx("span",{className:e.default.avatarInitials,children:n.initials||p(n.name)})}),a.jsxs("div",{className:e.default.headerInfo,children:[a.jsx("span",{className:e.default.headerName,children:n.name}),n.email&&a.jsx("span",{className:e.default.headerEmail,children:n.email})]})]}),f.map((t,r)=>a.jsxs("div",{className:e.default.section,children:[t.label&&a.jsx("div",{className:e.default.sectionLabel,children:t.label}),t.items.map(s=>{const j=[e.default.item,s.danger&&e.default.itemDanger,s.disabled&&e.default.itemDisabled].filter(Boolean).join(" ");return s.href&&!s.disabled?a.jsxs("a",{href:s.href,className:j,role:"menuitem",onClick:()=>d(!1),children:[s.icon&&a.jsx("span",{className:e.default.itemIcon,children:s.icon}),a.jsx("span",{children:s.label}),s.badge!==void 0&&a.jsx("span",{className:e.default.itemBadge,children:s.badge}),s.shortcut&&a.jsx("span",{className:e.default.itemShortcut,children:s.shortcut})]},s.id):a.jsxs("button",{type:"button",className:j,role:"menuitem",disabled:s.disabled,onClick:()=>R(s),children:[s.icon&&a.jsx("span",{className:e.default.itemIcon,children:s.icon}),a.jsx("span",{children:s.label}),s.badge!==void 0&&a.jsx("span",{className:e.default.itemBadge,children:s.badge}),s.shortcut&&a.jsx("span",{className:e.default.itemShortcut,children:s.shortcut})]},s.id)}),r<f.length-1&&a.jsx("div",{className:e.default.divider})]},t.id))]})]})});x.displayName="UserMenu";exports.UserMenu=x;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { jsxs as l, jsx as n, Fragment as S } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as D, useState as U, useRef as N, useEffect as g } from "react";
|
|
3
|
+
import { ChevronDown as F } from "lucide-react";
|
|
4
|
+
import e from "./UserMenu.module.css.mjs";
|
|
5
|
+
const $ = {
|
|
6
|
+
online: "var(--text-success)",
|
|
7
|
+
away: "var(--text-warning)",
|
|
8
|
+
busy: "var(--text-error)",
|
|
9
|
+
offline: "var(--text-tertiary)"
|
|
10
|
+
}, z = D(
|
|
11
|
+
({
|
|
12
|
+
user: s,
|
|
13
|
+
sections: h,
|
|
14
|
+
open: d,
|
|
15
|
+
onOpenChange: b,
|
|
16
|
+
trigger: p,
|
|
17
|
+
align: C = "end",
|
|
18
|
+
placement: w = "bottom",
|
|
19
|
+
showHeader: I = !0,
|
|
20
|
+
compact: f = !1,
|
|
21
|
+
fullWidth: k = !1,
|
|
22
|
+
className: y,
|
|
23
|
+
...x
|
|
24
|
+
}, E) => {
|
|
25
|
+
const [j, B] = U(!1), m = N(null), o = N(null), t = d !== void 0 ? d : j, c = (r) => {
|
|
26
|
+
d === void 0 && B(r), b?.(r);
|
|
27
|
+
};
|
|
28
|
+
g(() => {
|
|
29
|
+
const r = (i) => {
|
|
30
|
+
m.current && !m.current.contains(i.target) && o.current && !o.current.contains(i.target) && c(!1);
|
|
31
|
+
};
|
|
32
|
+
if (t)
|
|
33
|
+
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
34
|
+
}, [t]), g(() => {
|
|
35
|
+
const r = (i) => {
|
|
36
|
+
i.key === "Escape" && t && (c(!1), o.current?.focus());
|
|
37
|
+
};
|
|
38
|
+
return document.addEventListener("keydown", r), () => document.removeEventListener("keydown", r);
|
|
39
|
+
}, [t]);
|
|
40
|
+
const L = (r) => {
|
|
41
|
+
r.disabled || (r.onClick?.(), c(!1));
|
|
42
|
+
}, u = (r) => r.split(" ").map((i) => i[0]).join("").toUpperCase().slice(0, 2), O = [
|
|
43
|
+
e.userMenu,
|
|
44
|
+
k && e.userMenuFullWidth,
|
|
45
|
+
y
|
|
46
|
+
].filter(Boolean).join(" "), R = [e.trigger, f && e.triggerCompact].filter(Boolean).join(" "), M = [
|
|
47
|
+
e.dropdown,
|
|
48
|
+
t && e.dropdownOpen,
|
|
49
|
+
C === "start" && e.dropdownStart,
|
|
50
|
+
w === "top" && e.dropdownTop
|
|
51
|
+
].filter(Boolean).join(" ");
|
|
52
|
+
return /* @__PURE__ */ l("div", { ref: E, className: O, ...x, children: [
|
|
53
|
+
p ? /* @__PURE__ */ n("div", { onClick: () => c(!t), children: p }) : /* @__PURE__ */ l(
|
|
54
|
+
"button",
|
|
55
|
+
{
|
|
56
|
+
ref: o,
|
|
57
|
+
type: "button",
|
|
58
|
+
className: R,
|
|
59
|
+
onClick: () => c(!t),
|
|
60
|
+
"aria-expanded": t,
|
|
61
|
+
"aria-haspopup": "true",
|
|
62
|
+
children: [
|
|
63
|
+
/* @__PURE__ */ l("div", { className: e.avatar, children: [
|
|
64
|
+
s.avatar ? /* @__PURE__ */ n(
|
|
65
|
+
"img",
|
|
66
|
+
{
|
|
67
|
+
src: s.avatar,
|
|
68
|
+
alt: s.name,
|
|
69
|
+
className: e.avatarImage
|
|
70
|
+
}
|
|
71
|
+
) : /* @__PURE__ */ n("span", { className: e.avatarInitials, children: s.initials || u(s.name) }),
|
|
72
|
+
s.status && /* @__PURE__ */ n(
|
|
73
|
+
"span",
|
|
74
|
+
{
|
|
75
|
+
className: e.statusIndicator,
|
|
76
|
+
style: { backgroundColor: $[s.status] }
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
] }),
|
|
80
|
+
!f && /* @__PURE__ */ l(S, { children: [
|
|
81
|
+
/* @__PURE__ */ l("div", { className: e.triggerInfo, children: [
|
|
82
|
+
/* @__PURE__ */ n("span", { className: e.triggerName, children: s.name }),
|
|
83
|
+
s.role && /* @__PURE__ */ n("span", { className: e.triggerRole, children: s.role })
|
|
84
|
+
] }),
|
|
85
|
+
/* @__PURE__ */ n(
|
|
86
|
+
F,
|
|
87
|
+
{
|
|
88
|
+
size: 16,
|
|
89
|
+
className: `${e.chevron} ${t ? e.chevronOpen : ""}`
|
|
90
|
+
}
|
|
91
|
+
)
|
|
92
|
+
] })
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
),
|
|
96
|
+
/* @__PURE__ */ l("div", { ref: m, className: M, role: "menu", children: [
|
|
97
|
+
I && /* @__PURE__ */ l("div", { className: e.header, children: [
|
|
98
|
+
/* @__PURE__ */ n("div", { className: e.headerAvatar, children: s.avatar ? /* @__PURE__ */ n(
|
|
99
|
+
"img",
|
|
100
|
+
{
|
|
101
|
+
src: s.avatar,
|
|
102
|
+
alt: s.name,
|
|
103
|
+
className: e.avatarImage
|
|
104
|
+
}
|
|
105
|
+
) : /* @__PURE__ */ n("span", { className: e.avatarInitials, children: s.initials || u(s.name) }) }),
|
|
106
|
+
/* @__PURE__ */ l("div", { className: e.headerInfo, children: [
|
|
107
|
+
/* @__PURE__ */ n("span", { className: e.headerName, children: s.name }),
|
|
108
|
+
s.email && /* @__PURE__ */ n("span", { className: e.headerEmail, children: s.email })
|
|
109
|
+
] })
|
|
110
|
+
] }),
|
|
111
|
+
h.map((r, i) => /* @__PURE__ */ l("div", { className: e.section, children: [
|
|
112
|
+
r.label && /* @__PURE__ */ n("div", { className: e.sectionLabel, children: r.label }),
|
|
113
|
+
r.items.map((a) => {
|
|
114
|
+
const v = [
|
|
115
|
+
e.item,
|
|
116
|
+
a.danger && e.itemDanger,
|
|
117
|
+
a.disabled && e.itemDisabled
|
|
118
|
+
].filter(Boolean).join(" ");
|
|
119
|
+
return a.href && !a.disabled ? /* @__PURE__ */ l(
|
|
120
|
+
"a",
|
|
121
|
+
{
|
|
122
|
+
href: a.href,
|
|
123
|
+
className: v,
|
|
124
|
+
role: "menuitem",
|
|
125
|
+
onClick: () => c(!1),
|
|
126
|
+
children: [
|
|
127
|
+
a.icon && /* @__PURE__ */ n("span", { className: e.itemIcon, children: a.icon }),
|
|
128
|
+
/* @__PURE__ */ n("span", { children: a.label }),
|
|
129
|
+
a.badge !== void 0 && /* @__PURE__ */ n("span", { className: e.itemBadge, children: a.badge }),
|
|
130
|
+
a.shortcut && /* @__PURE__ */ n("span", { className: e.itemShortcut, children: a.shortcut })
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
a.id
|
|
134
|
+
) : /* @__PURE__ */ l(
|
|
135
|
+
"button",
|
|
136
|
+
{
|
|
137
|
+
type: "button",
|
|
138
|
+
className: v,
|
|
139
|
+
role: "menuitem",
|
|
140
|
+
disabled: a.disabled,
|
|
141
|
+
onClick: () => L(a),
|
|
142
|
+
children: [
|
|
143
|
+
a.icon && /* @__PURE__ */ n("span", { className: e.itemIcon, children: a.icon }),
|
|
144
|
+
/* @__PURE__ */ n("span", { children: a.label }),
|
|
145
|
+
a.badge !== void 0 && /* @__PURE__ */ n("span", { className: e.itemBadge, children: a.badge }),
|
|
146
|
+
a.shortcut && /* @__PURE__ */ n("span", { className: e.itemShortcut, children: a.shortcut })
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
a.id
|
|
150
|
+
);
|
|
151
|
+
}),
|
|
152
|
+
i < h.length - 1 && /* @__PURE__ */ n("div", { className: e.divider })
|
|
153
|
+
] }, r.id))
|
|
154
|
+
] })
|
|
155
|
+
] });
|
|
156
|
+
}
|
|
157
|
+
);
|
|
158
|
+
z.displayName = "UserMenu";
|
|
159
|
+
export {
|
|
160
|
+
z as UserMenu
|
|
161
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),i=require("lucide-react"),s=require("./WorkspaceSwitcher.module.css.cjs"),n=require("../Avatar/Avatar.cjs"),B=require("../Badge/Badge.cjs"),r=require("../Button/Button.cjs"),k=require("../Divider/Divider.cjs"),q=require("../Popover/Popover.cjs"),l=c.forwardRef(({currentOrg:t,organizations:o,onSettings:d,onParticipants:u,onCreateOrganization:m,onOrgChange:j,fullWidth:v=!0,className:x,...h},f)=>{const[p,N]=c.useState(!1),g=e.jsxs("button",{className:s.default.trigger,children:[e.jsx(n.Avatar,{size:"xs",icon:e.jsx(i.Building2,{size:16})}),e.jsx("span",{className:s.default.triggerName,children:t.name}),e.jsx(i.ChevronDown,{size:16,className:`${s.default.chevron} ${p?s.default.chevronOpen:""}`})]}),z=e.jsxs("div",{className:s.default.content,children:[e.jsxs("div",{className:s.default.activeWorkspace,children:[e.jsx(n.Avatar,{size:"lg",icon:e.jsx(i.Building2,{size:20})}),e.jsx(B.Badge,{variant:"secondary",size:"sm",children:t.role}),e.jsxs("div",{children:[e.jsx("div",{className:s.default.orgName,children:t.name}),e.jsxs("div",{className:s.default.orgMeta,children:[t.memberCount," participantes"]})]})]}),e.jsxs("div",{className:s.default.actionButtons,children:[e.jsx(r.Button,{variant:"secondary",size:"sm",icon:e.jsx(i.Settings,{size:16}),onClick:d,children:"Configuración"}),e.jsx(r.Button,{variant:"secondary",size:"sm",icon:e.jsx(i.Users,{size:16}),onClick:u,children:"Participantes"})]}),e.jsx("div",{className:s.default.dividerWrapper,children:e.jsx(k.Divider,{})}),e.jsx("div",{className:s.default.sectionLabel,children:"Otras organizaciones"}),e.jsx("div",{className:s.default.orgList,children:o.map(a=>e.jsxs("div",{className:s.default.orgItem,onClick:()=>j?.(a.name),children:[e.jsx(n.Avatar,{size:"xs",initials:a.name.slice(0,2).toUpperCase()}),e.jsxs("div",{children:[e.jsx("div",{className:s.default.orgItemName,children:a.name}),e.jsx("div",{className:s.default.orgItemRole,children:a.role})]})]},a.name))}),e.jsx(r.Button,{variant:"ghost",size:"sm",icon:e.jsx(i.Plus,{size:16}),fullWidth:!0,onClick:m,children:"Nueva organización"})]});return e.jsx("div",{ref:f,className:[x].filter(Boolean).join(" ")||void 0,...h,children:e.jsx(q.Popover,{trigger:g,content:z,onOpenChange:N,placement:"bottom-start",showArrow:!1,fullWidth:v})})});l.displayName="WorkspaceSwitcher";exports.WorkspaceSwitcher=l;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as k, useState as w } from "react";
|
|
3
|
+
import { Building2 as c, ChevronDown as x, Settings as y, Users as B, Plus as W } from "lucide-react";
|
|
4
|
+
import i from "./WorkspaceSwitcher.module.css.mjs";
|
|
5
|
+
import { Avatar as n } from "../Avatar/Avatar.mjs";
|
|
6
|
+
import { Badge as b } from "../Badge/Badge.mjs";
|
|
7
|
+
import { Button as o } from "../Button/Button.mjs";
|
|
8
|
+
import { Divider as I } from "../Divider/Divider.mjs";
|
|
9
|
+
import { Popover as S } from "../Popover/Popover.mjs";
|
|
10
|
+
const j = k(
|
|
11
|
+
({
|
|
12
|
+
currentOrg: r,
|
|
13
|
+
organizations: t,
|
|
14
|
+
onSettings: l,
|
|
15
|
+
onParticipants: m,
|
|
16
|
+
onCreateOrganization: d,
|
|
17
|
+
onOrgChange: h,
|
|
18
|
+
fullWidth: p = !0,
|
|
19
|
+
className: v,
|
|
20
|
+
...N
|
|
21
|
+
}, f) => {
|
|
22
|
+
const [z, g] = w(!1), u = /* @__PURE__ */ s("button", { className: i.trigger, children: [
|
|
23
|
+
/* @__PURE__ */ e(n, { size: "xs", icon: /* @__PURE__ */ e(c, { size: 16 }) }),
|
|
24
|
+
/* @__PURE__ */ e("span", { className: i.triggerName, children: r.name }),
|
|
25
|
+
/* @__PURE__ */ e(
|
|
26
|
+
x,
|
|
27
|
+
{
|
|
28
|
+
size: 16,
|
|
29
|
+
className: `${i.chevron} ${z ? i.chevronOpen : ""}`
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
] }), C = /* @__PURE__ */ s("div", { className: i.content, children: [
|
|
33
|
+
/* @__PURE__ */ s("div", { className: i.activeWorkspace, children: [
|
|
34
|
+
/* @__PURE__ */ e(n, { size: "lg", icon: /* @__PURE__ */ e(c, { size: 20 }) }),
|
|
35
|
+
/* @__PURE__ */ e(b, { variant: "secondary", size: "sm", children: r.role }),
|
|
36
|
+
/* @__PURE__ */ s("div", { children: [
|
|
37
|
+
/* @__PURE__ */ e("div", { className: i.orgName, children: r.name }),
|
|
38
|
+
/* @__PURE__ */ s("div", { className: i.orgMeta, children: [
|
|
39
|
+
r.memberCount,
|
|
40
|
+
" participantes"
|
|
41
|
+
] })
|
|
42
|
+
] })
|
|
43
|
+
] }),
|
|
44
|
+
/* @__PURE__ */ s("div", { className: i.actionButtons, children: [
|
|
45
|
+
/* @__PURE__ */ e(
|
|
46
|
+
o,
|
|
47
|
+
{
|
|
48
|
+
variant: "secondary",
|
|
49
|
+
size: "sm",
|
|
50
|
+
icon: /* @__PURE__ */ e(y, { size: 16 }),
|
|
51
|
+
onClick: l,
|
|
52
|
+
children: "Configuración"
|
|
53
|
+
}
|
|
54
|
+
),
|
|
55
|
+
/* @__PURE__ */ e(
|
|
56
|
+
o,
|
|
57
|
+
{
|
|
58
|
+
variant: "secondary",
|
|
59
|
+
size: "sm",
|
|
60
|
+
icon: /* @__PURE__ */ e(B, { size: 16 }),
|
|
61
|
+
onClick: m,
|
|
62
|
+
children: "Participantes"
|
|
63
|
+
}
|
|
64
|
+
)
|
|
65
|
+
] }),
|
|
66
|
+
/* @__PURE__ */ e("div", { className: i.dividerWrapper, children: /* @__PURE__ */ e(I, {}) }),
|
|
67
|
+
/* @__PURE__ */ e("div", { className: i.sectionLabel, children: "Otras organizaciones" }),
|
|
68
|
+
/* @__PURE__ */ e("div", { className: i.orgList, children: t.map((a) => /* @__PURE__ */ s(
|
|
69
|
+
"div",
|
|
70
|
+
{
|
|
71
|
+
className: i.orgItem,
|
|
72
|
+
onClick: () => h?.(a.name),
|
|
73
|
+
children: [
|
|
74
|
+
/* @__PURE__ */ e(n, { size: "xs", initials: a.name.slice(0, 2).toUpperCase() }),
|
|
75
|
+
/* @__PURE__ */ s("div", { children: [
|
|
76
|
+
/* @__PURE__ */ e("div", { className: i.orgItemName, children: a.name }),
|
|
77
|
+
/* @__PURE__ */ e("div", { className: i.orgItemRole, children: a.role })
|
|
78
|
+
] })
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
a.name
|
|
82
|
+
)) }),
|
|
83
|
+
/* @__PURE__ */ e(
|
|
84
|
+
o,
|
|
85
|
+
{
|
|
86
|
+
variant: "ghost",
|
|
87
|
+
size: "sm",
|
|
88
|
+
icon: /* @__PURE__ */ e(W, { size: 16 }),
|
|
89
|
+
fullWidth: !0,
|
|
90
|
+
onClick: d,
|
|
91
|
+
children: "Nueva organización"
|
|
92
|
+
}
|
|
93
|
+
)
|
|
94
|
+
] });
|
|
95
|
+
return /* @__PURE__ */ e(
|
|
96
|
+
"div",
|
|
97
|
+
{
|
|
98
|
+
ref: f,
|
|
99
|
+
className: [v].filter(Boolean).join(" ") || void 0,
|
|
100
|
+
...N,
|
|
101
|
+
children: /* @__PURE__ */ e(
|
|
102
|
+
S,
|
|
103
|
+
{
|
|
104
|
+
trigger: u,
|
|
105
|
+
content: C,
|
|
106
|
+
onOpenChange: g,
|
|
107
|
+
placement: "bottom-start",
|
|
108
|
+
showArrow: !1,
|
|
109
|
+
fullWidth: p
|
|
110
|
+
}
|
|
111
|
+
)
|
|
112
|
+
}
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
);
|
|
116
|
+
j.displayName = "WorkspaceSwitcher";
|
|
117
|
+
export {
|
|
118
|
+
j as WorkspaceSwitcher
|
|
119
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react/jsx-runtime"),o=require("react"),g=require("../hooks/useTheme.cjs"),i=require("../utils/fonts.cjs"),S=require("../components/FontLoader/FontLoader.cjs"),h=o.createContext(void 0);function P(){return typeof window>"u"?!0:getComputedStyle(document.documentElement).getPropertyValue("--orion-react-styles-loaded").trim()==="1"}function O({children:t,defaultTheme:r,defaultBrand:d,options:p,disableFontWarnings:c=!1,disableAutoFontLoading:T=!1,disableCSSWarnings:u=!1}){const v={...p,...r!==void 0&&{defaultTheme:r},...d!==void 0&&{defaultBrand:d}},n=g.useTheme(v),a=o.useRef(new Set),m=o.useRef(!1);return o.useEffect(()=>{if(u||typeof window>"u"||!(process.env.NODE_ENV==="development"||window.location.hostname==="localhost"))return;const s=setTimeout(()=>{!m.current&&!P()&&(m.current=!0,console.warn(`[Orion] Component styles not detected!
|
|
2
|
+
|
|
3
|
+
You must import the component CSS file:
|
|
4
|
+
|
|
5
|
+
import '@orion-ds/react/styles.css'; // Single import includes all styles
|
|
6
|
+
|
|
7
|
+
Add this import in your app entry file. It includes both design tokens and component styles.
|
|
8
|
+
|
|
9
|
+
To disable this warning, set disableCSSWarnings={true} on ThemeProvider.`))},100);return()=>clearTimeout(s)},[u]),o.useEffect(()=>{if(c||typeof window>"u"||!(process.env.NODE_ENV==="development"||typeof window<"u"&&window.location.hostname==="localhost"))return;const s=setTimeout(()=>{const{brand:e}=n,l=i.getMissingFonts(e);if(l.length>0&&!a.current.has(e)){a.current.add(e);const w=i.BRAND_FONTS[e].join(", ");console.warn(`[Orion] Missing fonts for "${e}" brand: ${l.join(", ")}
|
|
10
|
+
|
|
11
|
+
The "${e}" brand requires these fonts: ${w}
|
|
12
|
+
|
|
13
|
+
To fix this, add one of the following to your app:
|
|
14
|
+
|
|
15
|
+
Option 1: Use <FontLoader /> component (recommended)
|
|
16
|
+
import { FontLoader } from '@orion-ds/react';
|
|
17
|
+
<ThemeProvider>
|
|
18
|
+
<FontLoader />
|
|
19
|
+
<App />
|
|
20
|
+
</ThemeProvider>
|
|
21
|
+
|
|
22
|
+
Option 2: Add Google Fonts to your HTML <head>
|
|
23
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
24
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
25
|
+
<link href="${i.GOOGLE_FONTS_URL}" rel="stylesheet">
|
|
26
|
+
|
|
27
|
+
To disable this warning, set disableFontWarnings={true} on ThemeProvider.`)}},1e3);return()=>clearTimeout(s)},[n.brand,c,n]),f.jsxs(h.Provider,{value:n,children:[!T&&f.jsx(S.FontLoader,{}),t]})}function x(){const t=o.useContext(h);if(t===void 0)throw new Error(`❌ useTheme() must be used inside <ThemeProvider>
|
|
28
|
+
|
|
29
|
+
Solution:
|
|
30
|
+
Wrap your app with ThemeProvider:
|
|
31
|
+
|
|
32
|
+
export default function App() {
|
|
33
|
+
return (
|
|
34
|
+
<ThemeProvider>
|
|
35
|
+
<YourComponents />
|
|
36
|
+
</ThemeProvider>
|
|
37
|
+
);
|
|
38
|
+
}`);return t}exports.ThemeProvider=O;exports.useThemeContext=x;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { jsxs as y, jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as a, useEffect as l, useContext as S, createContext as O } from "react";
|
|
3
|
+
import { useTheme as P } from "../hooks/useTheme.mjs";
|
|
4
|
+
import { getMissingFonts as x, BRAND_FONTS as C, GOOGLE_FONTS_URL as F } from "../utils/fonts.mjs";
|
|
5
|
+
import { FontLoader as b } from "../components/FontLoader/FontLoader.mjs";
|
|
6
|
+
const f = O(void 0);
|
|
7
|
+
function E() {
|
|
8
|
+
return typeof window > "u" ? !0 : getComputedStyle(document.documentElement).getPropertyValue("--orion-react-styles-loaded").trim() === "1";
|
|
9
|
+
}
|
|
10
|
+
function R({
|
|
11
|
+
children: o,
|
|
12
|
+
defaultTheme: n,
|
|
13
|
+
defaultBrand: s,
|
|
14
|
+
options: p,
|
|
15
|
+
disableFontWarnings: i = !1,
|
|
16
|
+
disableAutoFontLoading: h = !1,
|
|
17
|
+
disableCSSWarnings: d = !1
|
|
18
|
+
}) {
|
|
19
|
+
const v = {
|
|
20
|
+
...p,
|
|
21
|
+
...n !== void 0 && { defaultTheme: n },
|
|
22
|
+
...s !== void 0 && { defaultBrand: s }
|
|
23
|
+
}, t = P(v), c = a(/* @__PURE__ */ new Set()), m = a(!1);
|
|
24
|
+
return l(() => {
|
|
25
|
+
if (d || typeof window > "u" || !(process.env.NODE_ENV === "development" || window.location.hostname === "localhost")) return;
|
|
26
|
+
const r = setTimeout(() => {
|
|
27
|
+
!m.current && !E() && (m.current = !0, console.warn(
|
|
28
|
+
`[Orion] Component styles not detected!
|
|
29
|
+
|
|
30
|
+
You must import the component CSS file:
|
|
31
|
+
|
|
32
|
+
import '@orion-ds/react/styles.css'; // Single import includes all styles
|
|
33
|
+
|
|
34
|
+
Add this import in your app entry file. It includes both design tokens and component styles.
|
|
35
|
+
|
|
36
|
+
To disable this warning, set disableCSSWarnings={true} on ThemeProvider.`
|
|
37
|
+
));
|
|
38
|
+
}, 100);
|
|
39
|
+
return () => clearTimeout(r);
|
|
40
|
+
}, [d]), l(() => {
|
|
41
|
+
if (i || typeof window > "u" || !(process.env.NODE_ENV === "development" || typeof window < "u" && window.location.hostname === "localhost")) return;
|
|
42
|
+
const r = setTimeout(() => {
|
|
43
|
+
const { brand: e } = t, u = x(e);
|
|
44
|
+
if (u.length > 0 && !c.current.has(e)) {
|
|
45
|
+
c.current.add(e);
|
|
46
|
+
const w = C[e].join(", ");
|
|
47
|
+
console.warn(
|
|
48
|
+
`[Orion] Missing fonts for "${e}" brand: ${u.join(", ")}
|
|
49
|
+
|
|
50
|
+
The "${e}" brand requires these fonts: ${w}
|
|
51
|
+
|
|
52
|
+
To fix this, add one of the following to your app:
|
|
53
|
+
|
|
54
|
+
Option 1: Use <FontLoader /> component (recommended)
|
|
55
|
+
import { FontLoader } from '@orion-ds/react';
|
|
56
|
+
<ThemeProvider>
|
|
57
|
+
<FontLoader />
|
|
58
|
+
<App />
|
|
59
|
+
</ThemeProvider>
|
|
60
|
+
|
|
61
|
+
Option 2: Add Google Fonts to your HTML <head>
|
|
62
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
63
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
64
|
+
<link href="${F}" rel="stylesheet">
|
|
65
|
+
|
|
66
|
+
To disable this warning, set disableFontWarnings={true} on ThemeProvider.`
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
}, 1e3);
|
|
70
|
+
return () => clearTimeout(r);
|
|
71
|
+
}, [t.brand, i, t]), /* @__PURE__ */ y(f.Provider, { value: t, children: [
|
|
72
|
+
!h && /* @__PURE__ */ g(b, {}),
|
|
73
|
+
o
|
|
74
|
+
] });
|
|
75
|
+
}
|
|
76
|
+
function _() {
|
|
77
|
+
const o = S(f);
|
|
78
|
+
if (o === void 0)
|
|
79
|
+
throw new Error(
|
|
80
|
+
`❌ useTheme() must be used inside <ThemeProvider>
|
|
81
|
+
|
|
82
|
+
Solution:
|
|
83
|
+
Wrap your app with ThemeProvider:
|
|
84
|
+
|
|
85
|
+
export default function App() {
|
|
86
|
+
return (
|
|
87
|
+
<ThemeProvider>
|
|
88
|
+
<YourComponents />
|
|
89
|
+
</ThemeProvider>
|
|
90
|
+
);
|
|
91
|
+
}`
|
|
92
|
+
);
|
|
93
|
+
return o;
|
|
94
|
+
}
|
|
95
|
+
export {
|
|
96
|
+
R as ThemeProvider,
|
|
97
|
+
_ as useThemeContext
|
|
98
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),M=require("react"),r=require("lucide-react"),t=require("./index172.cjs"),s=require("./index28.cjs"),S=require("./index22.cjs"),E=require("./index47.cjs"),B=require("./index26.cjs"),p=({id:n,avatar:l,title:d,description:v,timestamp:g,isMultiAgent:b=!1,onClick:o,onEdit:u,onDelete:f,availableFolders:c,onMoveToFolder:m,draggable:i=!1,isDragging:C=!1,className:D,...N})=>{const q=typeof l=="string",[x,j]=M.useState(C),y=[t.default.agentCard,o&&t.default.clickable,i&&t.default.draggable,x&&t.default.dragging,D].filter(Boolean).join(" "),k=()=>{o?.()},z=a=>{i&&(j(!0),a.dataTransfer.effectAllowed="move",a.dataTransfer.setData("text/plain",n),a.dataTransfer.setData("application/json",JSON.stringify({id:n,title:d})))},A=()=>{j(!1)},T=a=>{i&&(a.preventDefault(),a.dataTransfer.dropEffect="move")},h=[...u?[{id:"edit",label:"Edit",icon:e.jsx(r.Edit,{size:16}),onClick:u}]:[],...f?[{id:"delete",label:"Delete",icon:e.jsx(r.Trash2,{size:16}),danger:!0,onClick:f}]:[],...m&&c&&c.length>0?[{id:"_move-sep",label:"",separator:!0},...c.map(a=>({id:`move-to-${a.id}`,label:a.title,icon:e.jsx(r.Folder,{size:16}),onClick:()=>m(a.id)}))]:[]];return e.jsxs(s.Card,{variant:"base",interactive:!!o,className:y,onClick:k,draggable:i,onDragStart:z,onDragEnd:A,onDragOver:T,"data-agent-id":n,"data-dragging":x,...N,children:[e.jsx(s.Card.Header,{children:e.jsxs("div",{className:t.default.headerContent,children:[q?e.jsx(S.Avatar,{src:l,alt:d,size:"lg"}):e.jsx("div",{className:t.default.iconAvatar,children:l}),e.jsxs("div",{className:t.default.headerRight,children:[b&&e.jsx("span",{className:t.default.multiBadge,children:"Multi"}),h.length>0&&e.jsx(E.Dropdown,{trigger:e.jsx(B.Button,{variant:"ghost",iconOnly:!0,size:"sm",icon:e.jsx(r.MoreVertical,{size:20}),"aria-label":"Actions",onDragStart:a=>a.stopPropagation()}),items:h,placement:"bottom-end",minWidth:140})]})]})}),e.jsxs(s.Card.Body,{children:[e.jsx("h3",{className:t.default.title,children:d}),e.jsx("p",{className:t.default.description,children:v??""})]}),g&&e.jsx(s.Card.Footer,{children:e.jsx("time",{className:t.default.timestamp,children:g})})]})};p.displayName="AgentCard";exports.AgentCard=p;
|